From 7adf9bab8196b605db16e27d9889674a8ab3e485 Mon Sep 17 00:00:00 2001 From: David Ball Date: Mon, 5 Aug 2024 19:58:43 -0400 Subject: [PATCH] Convert to .mts and compile to .mjs NodeNext modules. --- package-lock.json | 4 +- package.json | 2 +- src/{ApiClient.ts => ApiClient.mts} | 2 +- src/api/{DefaultApi.ts => DefaultApi.mts} | 18 +- src/auth/{SignHelper.ts => SignHelper.mts} | 2 +- src/{index.ts => index.mts} | 182 +++++++++--------- .../{Availability.ts => Availability.mts} | 0 src/model/{BrowseNode.ts => BrowseNode.mts} | 6 +- ...NodeAncestor.ts => BrowseNodeAncestor.mts} | 2 +- ...BrowseNodeChild.ts => BrowseNodeChild.mts} | 2 +- .../{BrowseNodeInfo.ts => BrowseNodeInfo.mts} | 6 +- ...seNodesResult.ts => BrowseNodesResult.mts} | 4 +- src/model/{ByLineInfo.ts => ByLineInfo.mts} | 6 +- ...Classifications.ts => Classifications.mts} | 2 +- src/model/{Condition.ts => Condition.mts} | 0 src/model/{ContentInfo.ts => ContentInfo.mts} | 6 +- .../{ContentRating.ts => ContentRating.mts} | 2 +- src/model/{Contributor.ts => Contributor.mts} | 2 +- ...CustomerReviews.ts => CustomerReviews.mts} | 4 +- .../{DeliveryFlag.ts => DeliveryFlag.mts} | 0 ...tribute.ts => DimensionBasedAttribute.mts} | 2 +- .../{DurationPrice.ts => DurationPrice.mts} | 4 +- src/model/{ErrorData.ts => ErrorData.mts} | 2 +- src/model/{ExternalIds.ts => ExternalIds.mts} | 2 +- ...esRequest.ts => GetBrowseNodesRequest.mts} | 6 +- ...Resource.ts => GetBrowseNodesResource.mts} | 0 ...Response.ts => GetBrowseNodesResponse.mts} | 6 +- ...GetItemsRequest.ts => GetItemsRequest.mts} | 16 +- ...tItemsResource.ts => GetItemsResource.mts} | 0 ...tItemsResponse.ts => GetItemsResponse.mts} | 6 +- ...onsRequest.ts => GetVariationsRequest.mts} | 14 +- ...sResource.ts => GetVariationsResource.mts} | 0 ...sResponse.ts => GetVariationsResponse.mts} | 6 +- src/model/{ImageSize.ts => ImageSize.mts} | 2 +- src/model/{ImageType.ts => ImageType.mts} | 2 +- src/model/{Images.ts => Images.mts} | 4 +- src/model/{Item.ts => Item.mts} | 16 +- src/model/{ItemIdType.ts => ItemIdType.mts} | 0 src/model/{ItemInfo.ts => ItemInfo.mts} | 22 +-- src/model/{ItemsResult.ts => ItemsResult.mts} | 4 +- .../{LanguageType.ts => LanguageType.mts} | 2 +- src/model/{Languages.ts => Languages.mts} | 5 +- ...ManufactureInfo.ts => ManufactureInfo.mts} | 2 +- src/model/{MaxPrice.ts => MaxPrice.mts} | 0 src/model/{Merchant.ts => Merchant.mts} | 0 src/model/{MinPrice.ts => MinPrice.mts} | 0 ...nReviewsRating.ts => MinReviewsRating.mts} | 0 ...nSavingPercent.ts => MinSavingPercent.mts} | 0 ...dAttribute.ts => MultiValuedAttribute.mts} | 2 +- ...rAvailability.ts => OfferAvailability.mts} | 2 +- .../{OfferCondition.ts => OfferCondition.mts} | 6 +- ...onditionNote.ts => OfferConditionNote.mts} | 2 +- src/model/{OfferCount.ts => OfferCount.mts} | 0 ...rDeliveryInfo.ts => OfferDeliveryInfo.mts} | 4 +- .../{OfferListing.ts => OfferListing.mts} | 18 +- ...oyaltyPoints.ts => OfferLoyaltyPoints.mts} | 2 +- ...rMerchantInfo.ts => OfferMerchantInfo.mts} | 2 +- src/model/{OfferPrice.ts => OfferPrice.mts} | 6 +- ...ibility.ts => OfferProgramEligibility.mts} | 2 +- .../{OfferPromotion.ts => OfferPromotion.mts} | 2 +- .../{OfferSavings.ts => OfferSavings.mts} | 2 +- ...ppingCharge.ts => OfferShippingCharge.mts} | 2 +- ...rSubCondition.ts => OfferSubCondition.mts} | 2 +- .../{OfferSummary.ts => OfferSummary.mts} | 6 +- src/model/{Offers.ts => Offers.mts} | 6 +- src/model/{PartnerType.ts => PartnerType.mts} | 0 src/model/{Price.ts => Price.mts} | 2 +- src/model/{PriceType.ts => PriceType.mts} | 0 ... ProductAdvertisingAPIClientException.mts} | 4 +- ...ProductAdvertisingAPIServiceException.mts} | 2 +- src/model/{ProductInfo.ts => ProductInfo.mts} | 8 +- src/model/{Properties.ts => Properties.mts} | 2 +- src/model/{Rating.ts => Rating.mts} | 2 +- src/model/{Refinement.ts => Refinement.mts} | 4 +- .../{RefinementBin.ts => RefinementBin.mts} | 2 +- ...OfferListing.ts => RentalOfferListing.mts} | 12 +- .../{RentalOffers.ts => RentalOffers.mts} | 4 +- ...ItemsRequest.ts => SearchItemsRequest.mts} | 28 +-- ...emsResource.ts => SearchItemsResource.mts} | 0 ...emsResponse.ts => SearchItemsResponse.mts} | 6 +- ...chRefinements.ts => SearchRefinements.mts} | 4 +- .../{SearchResult.ts => SearchResult.mts} | 6 +- ...te.ts => SingleBooleanValuedAttribute.mts} | 2 +- ...te.ts => SingleIntegerValuedAttribute.mts} | 2 +- ...ute.ts => SingleStringValuedAttribute.mts} | 2 +- src/model/{SortBy.ts => SortBy.mts} | 0 .../{TechnicalInfo.ts => TechnicalInfo.mts} | 4 +- src/model/{TradeInInfo.ts => TradeInInfo.mts} | 4 +- .../{TradeInPrice.ts => TradeInPrice.mts} | 2 +- ...sedAttribute.ts => UnitBasedAttribute.mts} | 2 +- ...ionAttribute.ts => VariationAttribute.mts} | 2 +- ...ionDimension.ts => VariationDimension.mts} | 2 +- ...riationSummary.ts => VariationSummary.mts} | 6 +- ...riationsResult.ts => VariationsResult.mts} | 6 +- ...bsiteSalesRank.ts => WebsiteSalesRank.mts} | 2 +- tests/api/{DefaultApi.ts => DefaultApi.mts} | 2 +- 96 files changed, 282 insertions(+), 283 deletions(-) rename src/{ApiClient.ts => ApiClient.mts} (99%) rename src/api/{DefaultApi.ts => DefaultApi.mts} (97%) rename src/auth/{SignHelper.ts => SignHelper.mts} (98%) rename src/{index.ts => index.mts} (75%) rename src/model/{Availability.ts => Availability.mts} (100%) rename src/model/{BrowseNode.ts => BrowseNode.mts} (94%) rename src/model/{BrowseNodeAncestor.ts => BrowseNodeAncestor.mts} (98%) rename src/model/{BrowseNodeChild.ts => BrowseNodeChild.mts} (98%) rename src/model/{BrowseNodeInfo.ts => BrowseNodeInfo.mts} (93%) rename src/model/{BrowseNodesResult.ts => BrowseNodesResult.mts} (95%) rename src/model/{ByLineInfo.ts => ByLineInfo.mts} (95%) rename src/model/{Classifications.ts => Classifications.mts} (99%) rename src/model/{Condition.ts => Condition.mts} (100%) rename src/model/{ContentInfo.ts => ContentInfo.mts} (97%) rename src/model/{ContentRating.ts => ContentRating.mts} (99%) rename src/model/{Contributor.ts => Contributor.mts} (98%) rename src/model/{CustomerReviews.ts => CustomerReviews.mts} (96%) rename src/model/{DeliveryFlag.ts => DeliveryFlag.mts} (100%) rename src/model/{DimensionBasedAttribute.ts => DimensionBasedAttribute.mts} (97%) rename src/model/{DurationPrice.ts => DurationPrice.mts} (94%) rename src/model/{ErrorData.ts => ErrorData.mts} (97%) rename src/model/{ExternalIds.ts => ExternalIds.mts} (97%) rename src/model/{GetBrowseNodesRequest.ts => GetBrowseNodesRequest.mts} (97%) rename src/model/{GetBrowseNodesResource.ts => GetBrowseNodesResource.mts} (100%) rename src/model/{GetBrowseNodesResponse.ts => GetBrowseNodesResponse.mts} (93%) rename src/model/{GetItemsRequest.ts => GetItemsRequest.mts} (92%) rename src/model/{GetItemsResource.ts => GetItemsResource.mts} (100%) rename src/model/{GetItemsResponse.ts => GetItemsResponse.mts} (93%) rename src/model/{GetVariationsRequest.ts => GetVariationsRequest.mts} (93%) rename src/model/{GetVariationsResource.ts => GetVariationsResource.mts} (100%) rename src/model/{GetVariationsResponse.ts => GetVariationsResponse.mts} (93%) rename src/model/{ImageSize.ts => ImageSize.mts} (97%) rename src/model/{ImageType.ts => ImageType.mts} (97%) rename src/model/{Images.ts => Images.mts} (95%) rename src/model/{Item.ts => Item.mts} (91%) rename src/model/{ItemIdType.ts => ItemIdType.mts} (100%) rename src/model/{ItemInfo.ts => ItemInfo.mts} (88%) rename src/model/{ItemsResult.ts => ItemsResult.mts} (95%) rename src/model/{LanguageType.ts => LanguageType.mts} (97%) rename src/model/{Languages.ts => Languages.mts} (95%) rename src/model/{ManufactureInfo.ts => ManufactureInfo.mts} (99%) rename src/model/{MaxPrice.ts => MaxPrice.mts} (100%) rename src/model/{Merchant.ts => Merchant.mts} (100%) rename src/model/{MinPrice.ts => MinPrice.mts} (100%) rename src/model/{MinReviewsRating.ts => MinReviewsRating.mts} (100%) rename src/model/{MinSavingPercent.ts => MinSavingPercent.mts} (100%) rename src/model/{MultiValuedAttribute.ts => MultiValuedAttribute.mts} (98%) rename src/model/{OfferAvailability.ts => OfferAvailability.mts} (98%) rename src/model/{OfferCondition.ts => OfferCondition.mts} (94%) rename src/model/{OfferConditionNote.ts => OfferConditionNote.mts} (97%) rename src/model/{OfferCount.ts => OfferCount.mts} (100%) rename src/model/{OfferDeliveryInfo.ts => OfferDeliveryInfo.mts} (96%) rename src/model/{OfferListing.ts => OfferListing.mts} (90%) rename src/model/{OfferLoyaltyPoints.ts => OfferLoyaltyPoints.mts} (97%) rename src/model/{OfferMerchantInfo.ts => OfferMerchantInfo.mts} (98%) rename src/model/{OfferPrice.ts => OfferPrice.mts} (95%) rename src/model/{OfferProgramEligibility.ts => OfferProgramEligibility.mts} (97%) rename src/model/{OfferPromotion.ts => OfferPromotion.mts} (98%) rename src/model/{OfferSavings.ts => OfferSavings.mts} (98%) rename src/model/{OfferShippingCharge.ts => OfferShippingCharge.mts} (98%) rename src/model/{OfferSubCondition.ts => OfferSubCondition.mts} (98%) rename src/model/{OfferSummary.ts => OfferSummary.mts} (94%) rename src/model/{Offers.ts => Offers.mts} (93%) rename src/model/{PartnerType.ts => PartnerType.mts} (100%) rename src/model/{Price.ts => Price.mts} (97%) rename src/model/{PriceType.ts => PriceType.mts} (100%) rename src/model/{ProductAdvertisingAPIClientException.ts => ProductAdvertisingAPIClientException.mts} (95%) rename src/model/{ProductAdvertisingAPIServiceException.ts => ProductAdvertisingAPIServiceException.mts} (97%) rename src/model/{ProductInfo.ts => ProductInfo.mts} (98%) rename src/model/{Properties.ts => Properties.mts} (97%) rename src/model/{Rating.ts => Rating.mts} (97%) rename src/model/{Refinement.ts => Refinement.mts} (95%) rename src/model/{RefinementBin.ts => RefinementBin.mts} (97%) rename src/model/{RentalOfferListing.ts => RentalOfferListing.mts} (90%) rename src/model/{RentalOffers.ts => RentalOffers.mts} (94%) rename src/model/{SearchItemsRequest.ts => SearchItemsRequest.mts} (92%) rename src/model/{SearchItemsResource.ts => SearchItemsResource.mts} (100%) rename src/model/{SearchItemsResponse.ts => SearchItemsResponse.mts} (93%) rename src/model/{SearchRefinements.ts => SearchRefinements.mts} (96%) rename src/model/{SearchResult.ts => SearchResult.mts} (94%) rename src/model/{SingleBooleanValuedAttribute.ts => SingleBooleanValuedAttribute.mts} (98%) rename src/model/{SingleIntegerValuedAttribute.ts => SingleIntegerValuedAttribute.mts} (98%) rename src/model/{SingleStringValuedAttribute.ts => SingleStringValuedAttribute.mts} (98%) rename src/model/{SortBy.ts => SortBy.mts} (100%) rename src/model/{TechnicalInfo.ts => TechnicalInfo.mts} (96%) rename src/model/{TradeInInfo.ts => TradeInInfo.mts} (95%) rename src/model/{TradeInPrice.ts => TradeInPrice.mts} (97%) rename src/model/{UnitBasedAttribute.ts => UnitBasedAttribute.mts} (98%) rename src/model/{VariationAttribute.ts => VariationAttribute.mts} (97%) rename src/model/{VariationDimension.ts => VariationDimension.mts} (98%) rename src/model/{VariationSummary.ts => VariationSummary.mts} (94%) rename src/model/{VariationsResult.ts => VariationsResult.mts} (93%) rename src/model/{WebsiteSalesRank.ts => WebsiteSalesRank.mts} (98%) rename tests/api/{DefaultApi.ts => DefaultApi.mts} (99%) diff --git a/package-lock.json b/package-lock.json index 40cfcbf..cac3574 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "amazon-pa-api5-node-ts", - "version": "2.1.8", + "version": "2.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "amazon-pa-api5-node-ts", - "version": "2.1.8", + "version": "2.2.0", "license": "Apache-2.0", "dependencies": { "superagent": "^9.0.0" diff --git a/package.json b/package.json index 01eef68..b7a2e9e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "amazon-pa-api5-node-ts", - "version": "2.1.8", + "version": "2.2.0", "description": "ProductAdvertisingAPI 5.0 NodeJS SDK rewritten in TypeScript.", "license": "Apache-2.0", "main": "dist/src/index", diff --git a/src/ApiClient.ts b/src/ApiClient.mts similarity index 99% rename from src/ApiClient.ts rename to src/ApiClient.mts index 83e01e5..59b5b90 100644 --- a/src/ApiClient.ts +++ b/src/ApiClient.mts @@ -21,7 +21,7 @@ * */ - import * as awsv4 from './auth/SignHelper'; + import * as awsv4 from './auth/SignHelper.mts'; import superagent from 'superagent'; import querystring from 'querystring'; diff --git a/src/api/DefaultApi.ts b/src/api/DefaultApi.mts similarity index 97% rename from src/api/DefaultApi.ts rename to src/api/DefaultApi.mts index e92a83b..be65b1d 100644 --- a/src/api/DefaultApi.ts +++ b/src/api/DefaultApi.mts @@ -21,15 +21,15 @@ * */ - import { ApiClient } from "../ApiClient"; - import { GetBrowseNodesRequest } from "../model/GetBrowseNodesRequest"; - import { GetBrowseNodesResponse } from "../model/GetBrowseNodesResponse"; - import { GetItemsRequest } from "../model/GetItemsRequest"; - import { GetItemsResponse } from "../model/GetItemsResponse"; - import { GetVariationsRequest } from "../model/GetVariationsRequest"; - import { GetVariationsResponse } from "../model/GetVariationsResponse"; - import { SearchItemsRequest } from "../model/SearchItemsRequest"; - import { SearchItemsResponse } from "../model/SearchItemsResponse"; + import { ApiClient } from "../ApiClient.mts"; + import { GetBrowseNodesRequest } from "../model/GetBrowseNodesRequest.mts"; + import { GetBrowseNodesResponse } from "../model/GetBrowseNodesResponse.mts"; + import { GetItemsRequest } from "../model/GetItemsRequest.mts"; + import { GetItemsResponse } from "../model/GetItemsResponse.mts"; + import { GetVariationsRequest } from "../model/GetVariationsRequest.mts"; + import { GetVariationsResponse } from "../model/GetVariationsResponse.mts"; + import { SearchItemsRequest } from "../model/SearchItemsRequest.mts"; + import { SearchItemsResponse } from "../model/SearchItemsResponse.mts"; /** * Default service. diff --git a/src/auth/SignHelper.ts b/src/auth/SignHelper.mts similarity index 98% rename from src/auth/SignHelper.ts rename to src/auth/SignHelper.mts index 1bf30ea..72bf6bd 100644 --- a/src/auth/SignHelper.ts +++ b/src/auth/SignHelper.mts @@ -29,7 +29,7 @@ // sources of inspiration: // http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html -import { createHmac, createHash, BinaryLike } from 'node:crypto'; +import { createHmac, createHash, type BinaryLike } from 'node:crypto'; const SHA256 = 'sha256'; const AWS4_HMAC_SHA256 = 'AWS4-HMAC-SHA256'; diff --git a/src/index.ts b/src/index.mts similarity index 75% rename from src/index.ts rename to src/index.mts index 2a0a6ad..1c04907 100644 --- a/src/index.ts +++ b/src/index.mts @@ -21,99 +21,99 @@ * */ -import { ApiClient } from "./ApiClient"; +import { ApiClient } from "./ApiClient.mts"; -import { DefaultApi } from "./api/DefaultApi"; +import { DefaultApi } from "./api/DefaultApi.mts"; -import { Availability } from "./model/Availability"; -import { BrowseNode } from "./model/BrowseNode"; -import { BrowseNodeAncestor } from "./model/BrowseNodeAncestor"; -import { BrowseNodeChild } from "./model/BrowseNodeChild"; -import { BrowseNodeInfo } from "./model/BrowseNodeInfo"; -import { BrowseNodesResult } from "./model/BrowseNodesResult"; -import { ByLineInfo } from "./model/ByLineInfo"; -import { Classifications } from "./model/Classifications"; -import { Condition } from "./model/Condition"; -import { ContentInfo } from "./model/ContentInfo"; -import { ContentRating } from "./model/ContentRating"; -import { Contributor } from "./model/Contributor"; -import { CustomerReviews } from "./model/CustomerReviews"; -import { DeliveryFlag } from "./model/DeliveryFlag"; -import { DimensionBasedAttribute } from "./model/DimensionBasedAttribute"; -import { DurationPrice } from "./model/DurationPrice"; -import { ErrorData } from "./model/ErrorData"; -import { ExternalIds } from "./model/ExternalIds"; -import { GetBrowseNodesRequest } from "./model/GetBrowseNodesRequest"; -import { GetBrowseNodesResource } from "./model/GetBrowseNodesResource"; -import { GetBrowseNodesResponse } from "./model/GetBrowseNodesResponse"; -import { GetItemsRequest } from "./model/GetItemsRequest"; -import { GetItemsResource } from "./model/GetItemsResource"; -import { GetItemsResponse } from "./model/GetItemsResponse"; -import { GetVariationsRequest } from "./model/GetVariationsRequest"; -import { GetVariationsResource } from "./model/GetVariationsResource"; -import { GetVariationsResponse } from "./model/GetVariationsResponse"; -import { ImageSize } from "./model/ImageSize"; -import { ImageType } from "./model/ImageType"; -import { Images } from "./model/Images"; -import { Item } from "./model/Item"; -import { ItemIdType } from "./model/ItemIdType"; -import { ItemInfo } from "./model/ItemInfo"; -import { ItemsResult } from "./model/ItemsResult"; -import { Languages } from "./model/Languages"; -import { LanguageType } from "./model/LanguageType"; -import { ManufactureInfo } from "./model/ManufactureInfo"; -import { MaxPrice } from "./model/MaxPrice"; -import { Merchant } from "./model/Merchant"; -import { MinPrice } from "./model/MinPrice"; -import { MinReviewsRating } from "./model/MinReviewsRating"; -import { MinSavingPercent } from "./model/MinSavingPercent"; -import { MultiValuedAttribute } from "./model/MultiValuedAttribute"; -import { OfferAvailability } from "./model/OfferAvailability"; -import { OfferCondition } from "./model/OfferCondition"; -import { OfferConditionNote } from "./model/OfferConditionNote"; -import { OfferDeliveryInfo } from "./model/OfferDeliveryInfo"; -import { OfferCount } from "./model/OfferCount"; -import { OfferListing } from "./model/OfferListing"; -import { OfferMerchantInfo } from "./model/OfferMerchantInfo"; -import { OfferLoyaltyPoints } from "./model/OfferLoyaltyPoints"; -import { OfferPrice } from "./model/OfferPrice"; -import { OfferProgramEligibility } from "./model/OfferProgramEligibility"; -import { OfferPromotion } from "./model/OfferPromotion"; -import { OfferSavings } from "./model/OfferSavings"; -import { OfferShippingCharge } from "./model/OfferShippingCharge"; -import { OfferSubCondition } from "./model/OfferSubCondition"; -import { OfferSummary } from "./model/OfferSummary"; -import { Offers } from "./model/Offers"; -import { PartnerType } from "./model/PartnerType"; -import { Price } from "./model/Price"; -import { PriceType } from "./model/PriceType"; -import { ProductAdvertisingAPIClientException } from "./model/ProductAdvertisingAPIClientException"; -import { ProductAdvertisingAPIServiceException } from "./model/ProductAdvertisingAPIServiceException"; -import { ProductInfo } from "./model/ProductInfo"; -import { Properties } from "./model/Properties"; -import { Rating } from "./model/Rating"; -import { Refinement } from "./model/Refinement"; -import { RefinementBin } from "./model/RefinementBin"; -import { RentalOfferListing } from "./model/RentalOfferListing"; -import { RentalOffers } from "./model/RentalOffers"; -import { SearchItemsRequest } from "./model/SearchItemsRequest"; -import { SearchItemsResource } from "./model/SearchItemsResource"; -import { SearchItemsResponse } from "./model/SearchItemsResponse"; -import { SearchRefinements } from "./model/SearchRefinements"; -import { SearchResult } from "./model/SearchResult"; -import { SingleBooleanValuedAttribute } from "./model/SingleBooleanValuedAttribute"; -import { SingleIntegerValuedAttribute } from "./model/SingleIntegerValuedAttribute"; -import { SingleStringValuedAttribute } from "./model/SingleStringValuedAttribute"; -import { SortBy } from "./model/SortBy"; -import { TechnicalInfo } from "./model/TechnicalInfo"; -import { TradeInInfo } from "./model/TradeInInfo"; -import { TradeInPrice } from "./model/TradeInPrice"; -import { UnitBasedAttribute } from "./model/UnitBasedAttribute"; -import { VariationAttribute } from "./model/VariationAttribute"; -import { VariationDimension } from "./model/VariationDimension"; -import { VariationSummary } from "./model/VariationSummary"; -import { VariationsResult } from "./model/VariationsResult"; -import { WebsiteSalesRank } from "./model/WebsiteSalesRank"; +import { Availability } from "./model/Availability.mts"; +import { BrowseNode } from "./model/BrowseNode.mts"; +import { BrowseNodeAncestor } from "./model/BrowseNodeAncestor.mts"; +import { BrowseNodeChild } from "./model/BrowseNodeChild.mts"; +import { BrowseNodeInfo } from "./model/BrowseNodeInfo.mts"; +import { BrowseNodesResult } from "./model/BrowseNodesResult.mts"; +import { ByLineInfo } from "./model/ByLineInfo.mts"; +import { Classifications } from "./model/Classifications.mts"; +import { Condition } from "./model/Condition.mts"; +import { ContentInfo } from "./model/ContentInfo.mts"; +import { ContentRating } from "./model/ContentRating.mts"; +import { Contributor } from "./model/Contributor.mts"; +import { CustomerReviews } from "./model/CustomerReviews.mts"; +import { DeliveryFlag } from "./model/DeliveryFlag.mts"; +import { DimensionBasedAttribute } from "./model/DimensionBasedAttribute.mts"; +import { DurationPrice } from "./model/DurationPrice.mts"; +import { ErrorData } from "./model/ErrorData.mts"; +import { ExternalIds } from "./model/ExternalIds.mts"; +import { GetBrowseNodesRequest } from "./model/GetBrowseNodesRequest.mts"; +import { GetBrowseNodesResource } from "./model/GetBrowseNodesResource.mts"; +import { GetBrowseNodesResponse } from "./model/GetBrowseNodesResponse.mts"; +import { GetItemsRequest } from "./model/GetItemsRequest.mts"; +import { GetItemsResource } from "./model/GetItemsResource.mts"; +import { GetItemsResponse } from "./model/GetItemsResponse.mts"; +import { GetVariationsRequest } from "./model/GetVariationsRequest.mts"; +import { GetVariationsResource } from "./model/GetVariationsResource.mts"; +import { GetVariationsResponse } from "./model/GetVariationsResponse.mts"; +import { ImageSize } from "./model/ImageSize.mts"; +import { ImageType } from "./model/ImageType.mts"; +import { Images } from "./model/Images.mts"; +import { Item } from "./model/Item.mts"; +import { ItemIdType } from "./model/ItemIdType.mts"; +import { ItemInfo } from "./model/ItemInfo.mts"; +import { ItemsResult } from "./model/ItemsResult.mts"; +import { Languages } from "./model/Languages.mts"; +import { LanguageType } from "./model/LanguageType.mts"; +import { ManufactureInfo } from "./model/ManufactureInfo.mts"; +import { MaxPrice } from "./model/MaxPrice.mts"; +import { Merchant } from "./model/Merchant.mts"; +import { MinPrice } from "./model/MinPrice.mts"; +import { MinReviewsRating } from "./model/MinReviewsRating.mts"; +import { MinSavingPercent } from "./model/MinSavingPercent.mts"; +import { MultiValuedAttribute } from "./model/MultiValuedAttribute.mts"; +import { OfferAvailability } from "./model/OfferAvailability.mts"; +import { OfferCondition } from "./model/OfferCondition.mts"; +import { OfferConditionNote } from "./model/OfferConditionNote.mts"; +import { OfferDeliveryInfo } from "./model/OfferDeliveryInfo.mts"; +import { OfferCount } from "./model/OfferCount.mts"; +import { OfferListing } from "./model/OfferListing.mts"; +import { OfferMerchantInfo } from "./model/OfferMerchantInfo.mts"; +import { OfferLoyaltyPoints } from "./model/OfferLoyaltyPoints.mts"; +import { OfferPrice } from "./model/OfferPrice.mts"; +import { OfferProgramEligibility } from "./model/OfferProgramEligibility.mts"; +import { OfferPromotion } from "./model/OfferPromotion.mts"; +import { OfferSavings } from "./model/OfferSavings.mts"; +import { OfferShippingCharge } from "./model/OfferShippingCharge.mts"; +import { OfferSubCondition } from "./model/OfferSubCondition.mts"; +import { OfferSummary } from "./model/OfferSummary.mts"; +import { Offers } from "./model/Offers.mts"; +import { PartnerType } from "./model/PartnerType.mts"; +import { Price } from "./model/Price.mts"; +import { PriceType } from "./model/PriceType.mts"; +import { ProductAdvertisingAPIClientException } from "./model/ProductAdvertisingAPIClientException.mts"; +import { ProductAdvertisingAPIServiceException } from "./model/ProductAdvertisingAPIServiceException.mts"; +import { ProductInfo } from "./model/ProductInfo.mts"; +import { Properties } from "./model/Properties.mts"; +import { Rating } from "./model/Rating.mts"; +import { Refinement } from "./model/Refinement.mts"; +import { RefinementBin } from "./model/RefinementBin.mts"; +import { RentalOfferListing } from "./model/RentalOfferListing.mts"; +import { RentalOffers } from "./model/RentalOffers.mts"; +import { SearchItemsRequest } from "./model/SearchItemsRequest.mts"; +import { SearchItemsResource } from "./model/SearchItemsResource.mts"; +import { SearchItemsResponse } from "./model/SearchItemsResponse.mts"; +import { SearchRefinements } from "./model/SearchRefinements.mts"; +import { SearchResult } from "./model/SearchResult.mts"; +import { SingleBooleanValuedAttribute } from "./model/SingleBooleanValuedAttribute.mts"; +import { SingleIntegerValuedAttribute } from "./model/SingleIntegerValuedAttribute.mts"; +import { SingleStringValuedAttribute } from "./model/SingleStringValuedAttribute.mts"; +import { SortBy } from "./model/SortBy.mts"; +import { TechnicalInfo } from "./model/TechnicalInfo.mts"; +import { TradeInInfo } from "./model/TradeInInfo.mts"; +import { TradeInPrice } from "./model/TradeInPrice.mts"; +import { UnitBasedAttribute } from "./model/UnitBasedAttribute.mts"; +import { VariationAttribute } from "./model/VariationAttribute.mts"; +import { VariationDimension } from "./model/VariationDimension.mts"; +import { VariationSummary } from "./model/VariationSummary.mts"; +import { VariationsResult } from "./model/VariationsResult.mts"; +import { WebsiteSalesRank } from "./model/WebsiteSalesRank.mts"; /** * ProductAdvertisingAPI 5.0 NodeJS SDK.
diff --git a/src/model/Availability.ts b/src/model/Availability.mts similarity index 100% rename from src/model/Availability.ts rename to src/model/Availability.mts diff --git a/src/model/BrowseNode.ts b/src/model/BrowseNode.mts similarity index 94% rename from src/model/BrowseNode.ts rename to src/model/BrowseNode.mts index 4827025..887787a 100644 --- a/src/model/BrowseNode.ts +++ b/src/model/BrowseNode.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { BrowseNodeAncestor } from "./BrowseNodeAncestor"; -import { BrowseNodeChild } from "./BrowseNodeChild"; +import { ApiClient } from "../ApiClient.mts"; +import { BrowseNodeAncestor } from "./BrowseNodeAncestor.mts"; +import { BrowseNodeChild } from "./BrowseNodeChild.mts"; /** * Constructs a new BrowseNode. diff --git a/src/model/BrowseNodeAncestor.ts b/src/model/BrowseNodeAncestor.mts similarity index 98% rename from src/model/BrowseNodeAncestor.ts rename to src/model/BrowseNodeAncestor.mts index 2a3def1..72a7b67 100644 --- a/src/model/BrowseNodeAncestor.ts +++ b/src/model/BrowseNodeAncestor.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new BrowseNodeAncestor. diff --git a/src/model/BrowseNodeChild.ts b/src/model/BrowseNodeChild.mts similarity index 98% rename from src/model/BrowseNodeChild.ts rename to src/model/BrowseNodeChild.mts index f1ff633..1a49e74 100644 --- a/src/model/BrowseNodeChild.ts +++ b/src/model/BrowseNodeChild.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new BrowseNodeChild. diff --git a/src/model/BrowseNodeInfo.ts b/src/model/BrowseNodeInfo.mts similarity index 93% rename from src/model/BrowseNodeInfo.ts rename to src/model/BrowseNodeInfo.mts index 37d2d49..95a8621 100644 --- a/src/model/BrowseNodeInfo.ts +++ b/src/model/BrowseNodeInfo.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { BrowseNode } from "./BrowseNode"; -import { WebsiteSalesRank } from "./WebsiteSalesRank"; +import { ApiClient } from "../ApiClient.mts"; +import { BrowseNode } from "./BrowseNode.mts"; +import { WebsiteSalesRank } from "./WebsiteSalesRank.mts"; /** * Constructs a new BrowseNodeInfo. diff --git a/src/model/BrowseNodesResult.ts b/src/model/BrowseNodesResult.mts similarity index 95% rename from src/model/BrowseNodesResult.ts rename to src/model/BrowseNodesResult.mts index d9ae3ec..d6d0214 100644 --- a/src/model/BrowseNodesResult.ts +++ b/src/model/BrowseNodesResult.mts @@ -27,8 +27,8 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { BrowseNode } from "./BrowseNode"; +import { ApiClient } from "../ApiClient.mts"; +import { BrowseNode } from "./BrowseNode.mts"; /** * Constructs a new BrowseNodesResult. diff --git a/src/model/ByLineInfo.ts b/src/model/ByLineInfo.mts similarity index 95% rename from src/model/ByLineInfo.ts rename to src/model/ByLineInfo.mts index eaf582b..981309e 100644 --- a/src/model/ByLineInfo.ts +++ b/src/model/ByLineInfo.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from '../ApiClient'; -import { Contributor } from './Contributor'; -import { SingleStringValuedAttribute } from './SingleStringValuedAttribute'; +import { ApiClient } from '../ApiClient.mts'; +import { Contributor } from './Contributor.mts'; +import { SingleStringValuedAttribute } from './SingleStringValuedAttribute.mts'; /** * Constructs a new ByLineInfo. diff --git a/src/model/Classifications.ts b/src/model/Classifications.mts similarity index 99% rename from src/model/Classifications.ts rename to src/model/Classifications.mts index cb1c547..4f8306e 100644 --- a/src/model/Classifications.ts +++ b/src/model/Classifications.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute"; +import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute.mts"; /** * Constructs a new Classifications. diff --git a/src/model/Condition.ts b/src/model/Condition.mts similarity index 100% rename from src/model/Condition.ts rename to src/model/Condition.mts diff --git a/src/model/ContentInfo.ts b/src/model/ContentInfo.mts similarity index 97% rename from src/model/ContentInfo.ts rename to src/model/ContentInfo.mts index 478e69c..1a31e9f 100644 --- a/src/model/ContentInfo.ts +++ b/src/model/ContentInfo.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { Languages } from "./Languages"; -import { SingleIntegerValuedAttribute } from "./SingleIntegerValuedAttribute"; -import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute"; +import { Languages } from "./Languages.mts"; +import { SingleIntegerValuedAttribute } from "./SingleIntegerValuedAttribute.mts"; +import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute.mts"; /** * Constructs a new ContentInfo. diff --git a/src/model/ContentRating.ts b/src/model/ContentRating.mts similarity index 99% rename from src/model/ContentRating.ts rename to src/model/ContentRating.mts index 509d442..2e78648 100644 --- a/src/model/ContentRating.ts +++ b/src/model/ContentRating.mts @@ -15,7 +15,7 @@ * permissions and limitations under the License. */ -import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute"; +import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute.mts"; /** * ProductAdvertisingAPI diff --git a/src/model/Contributor.ts b/src/model/Contributor.mts similarity index 98% rename from src/model/Contributor.ts rename to src/model/Contributor.mts index a5d5ef2..5d7a847 100644 --- a/src/model/Contributor.ts +++ b/src/model/Contributor.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new Contributor. diff --git a/src/model/CustomerReviews.ts b/src/model/CustomerReviews.mts similarity index 96% rename from src/model/CustomerReviews.ts rename to src/model/CustomerReviews.mts index 8f6f7ff..ef15fc0 100644 --- a/src/model/CustomerReviews.ts +++ b/src/model/CustomerReviews.mts @@ -27,8 +27,8 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { Rating } from "./Rating"; +import { ApiClient } from "../ApiClient.mts"; +import { Rating } from "./Rating.mts"; /** * Constructs a new CustomerReviews. diff --git a/src/model/DeliveryFlag.ts b/src/model/DeliveryFlag.mts similarity index 100% rename from src/model/DeliveryFlag.ts rename to src/model/DeliveryFlag.mts diff --git a/src/model/DimensionBasedAttribute.ts b/src/model/DimensionBasedAttribute.mts similarity index 97% rename from src/model/DimensionBasedAttribute.ts rename to src/model/DimensionBasedAttribute.mts index 7196e32..cd4dedf 100644 --- a/src/model/DimensionBasedAttribute.ts +++ b/src/model/DimensionBasedAttribute.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { UnitBasedAttribute } from "./UnitBasedAttribute"; +import { UnitBasedAttribute } from "./UnitBasedAttribute.mts"; /** * Constructs a new DimensionBasedAttribute. diff --git a/src/model/DurationPrice.ts b/src/model/DurationPrice.mts similarity index 94% rename from src/model/DurationPrice.ts rename to src/model/DurationPrice.mts index 050d940..4f059b5 100644 --- a/src/model/DurationPrice.ts +++ b/src/model/DurationPrice.mts @@ -27,8 +27,8 @@ * @version 1.0.0 */ -import { OfferPrice } from "./OfferPrice"; -import { UnitBasedAttribute } from "./UnitBasedAttribute"; +import { OfferPrice } from "./OfferPrice.mts"; +import { UnitBasedAttribute } from "./UnitBasedAttribute.mts"; /** * Constructs a new DurationPrice. diff --git a/src/model/ErrorData.ts b/src/model/ErrorData.mts similarity index 97% rename from src/model/ErrorData.ts rename to src/model/ErrorData.mts index 751fa0f..5e91ef6 100644 --- a/src/model/ErrorData.ts +++ b/src/model/ErrorData.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new ErrorData. diff --git a/src/model/ExternalIds.ts b/src/model/ExternalIds.mts similarity index 97% rename from src/model/ExternalIds.ts rename to src/model/ExternalIds.mts index d5a85dc..f2a556b 100644 --- a/src/model/ExternalIds.ts +++ b/src/model/ExternalIds.mts @@ -21,7 +21,7 @@ * */ - import { MultiValuedAttribute } from "./MultiValuedAttribute"; + import { MultiValuedAttribute } from "./MultiValuedAttribute.mts"; /** * The ExternalIds model module. diff --git a/src/model/GetBrowseNodesRequest.ts b/src/model/GetBrowseNodesRequest.mts similarity index 97% rename from src/model/GetBrowseNodesRequest.ts rename to src/model/GetBrowseNodesRequest.mts index 8b6eeaa..cc3eb2e 100644 --- a/src/model/GetBrowseNodesRequest.ts +++ b/src/model/GetBrowseNodesRequest.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { PartnerType } from "./PartnerType"; -import { GetBrowseNodesResource } from "./GetBrowseNodesResource"; +import { ApiClient } from "../ApiClient.mts"; +import { PartnerType } from "./PartnerType.mts"; +import { GetBrowseNodesResource } from "./GetBrowseNodesResource.mts"; /** * Constructs a new GetBrowseNodesRequest. diff --git a/src/model/GetBrowseNodesResource.ts b/src/model/GetBrowseNodesResource.mts similarity index 100% rename from src/model/GetBrowseNodesResource.ts rename to src/model/GetBrowseNodesResource.mts diff --git a/src/model/GetBrowseNodesResponse.ts b/src/model/GetBrowseNodesResponse.mts similarity index 93% rename from src/model/GetBrowseNodesResponse.ts rename to src/model/GetBrowseNodesResponse.mts index c3eba98..c600cbe 100644 --- a/src/model/GetBrowseNodesResponse.ts +++ b/src/model/GetBrowseNodesResponse.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { BrowseNodesResult } from "./BrowseNodesResult"; -import { ErrorData } from "./ErrorData"; +import { ApiClient } from "../ApiClient.mts"; +import { BrowseNodesResult } from "./BrowseNodesResult.mts"; +import { ErrorData } from "./ErrorData.mts"; /** * Constructs a new GetBrowseNodesResponse. diff --git a/src/model/GetItemsRequest.ts b/src/model/GetItemsRequest.mts similarity index 92% rename from src/model/GetItemsRequest.ts rename to src/model/GetItemsRequest.mts index bba47a8..a681ce9 100644 --- a/src/model/GetItemsRequest.ts +++ b/src/model/GetItemsRequest.mts @@ -27,14 +27,14 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { Condition } from "./Condition"; -import { GetItemsResource } from "./GetItemsResource"; -import { ItemIdType } from "./ItemIdType"; -import { Merchant } from "./Merchant"; -import { OfferCount } from "./OfferCount"; -import { PartnerType } from "./PartnerType"; -import { Properties } from "./Properties"; +import { ApiClient } from "../ApiClient.mts"; +import { Condition } from "./Condition.mts"; +import { GetItemsResource } from "./GetItemsResource.mts"; +import { ItemIdType } from "./ItemIdType.mts"; +import { Merchant } from "./Merchant.mts"; +import { OfferCount } from "./OfferCount.mts"; +import { PartnerType } from "./PartnerType.mts"; +import { Properties } from "./Properties.mts"; /** * Constructs a new GetItemsRequest. diff --git a/src/model/GetItemsResource.ts b/src/model/GetItemsResource.mts similarity index 100% rename from src/model/GetItemsResource.ts rename to src/model/GetItemsResource.mts diff --git a/src/model/GetItemsResponse.ts b/src/model/GetItemsResponse.mts similarity index 93% rename from src/model/GetItemsResponse.ts rename to src/model/GetItemsResponse.mts index 0bc27b0..4d7b79c 100644 --- a/src/model/GetItemsResponse.ts +++ b/src/model/GetItemsResponse.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { ErrorData } from "./ErrorData"; -import { ItemsResult } from "./ItemsResult"; +import { ApiClient } from "../ApiClient.mts"; +import { ErrorData } from "./ErrorData.mts"; +import { ItemsResult } from "./ItemsResult.mts"; /** * Constructs a new GetItemsResponse. diff --git a/src/model/GetVariationsRequest.ts b/src/model/GetVariationsRequest.mts similarity index 93% rename from src/model/GetVariationsRequest.ts rename to src/model/GetVariationsRequest.mts index dcc9382..2e632b3 100644 --- a/src/model/GetVariationsRequest.ts +++ b/src/model/GetVariationsRequest.mts @@ -21,13 +21,13 @@ * */ -import { ApiClient } from "../ApiClient"; -import { Condition } from "./Condition"; -import { GetVariationsResource } from "./GetVariationsResource"; -import { Merchant } from "./Merchant"; -import { OfferCount } from "./OfferCount"; -import { PartnerType } from "./PartnerType"; -import { Properties } from "./Properties"; +import { ApiClient } from "../ApiClient.mts"; +import { Condition } from "./Condition.mts"; +import { GetVariationsResource } from "./GetVariationsResource.mts"; +import { Merchant } from "./Merchant.mts"; +import { OfferCount } from "./OfferCount.mts"; +import { PartnerType } from "./PartnerType.mts"; +import { Properties } from "./Properties.mts"; /** * The GetVariationsRequest model module. diff --git a/src/model/GetVariationsResource.ts b/src/model/GetVariationsResource.mts similarity index 100% rename from src/model/GetVariationsResource.ts rename to src/model/GetVariationsResource.mts diff --git a/src/model/GetVariationsResponse.ts b/src/model/GetVariationsResponse.mts similarity index 93% rename from src/model/GetVariationsResponse.ts rename to src/model/GetVariationsResponse.mts index b295ec4..5569153 100644 --- a/src/model/GetVariationsResponse.ts +++ b/src/model/GetVariationsResponse.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { ErrorData } from "./ErrorData"; -import { VariationsResult } from "./VariationsResult"; +import { ApiClient } from "../ApiClient.mts"; +import { ErrorData } from "./ErrorData.mts"; +import { VariationsResult } from "./VariationsResult.mts"; /** * Constructs a new GetVariationsResponse. diff --git a/src/model/ImageSize.ts b/src/model/ImageSize.mts similarity index 97% rename from src/model/ImageSize.ts rename to src/model/ImageSize.mts index 10bc112..c2673bf 100644 --- a/src/model/ImageSize.ts +++ b/src/model/ImageSize.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new ImageSize. diff --git a/src/model/ImageType.ts b/src/model/ImageType.mts similarity index 97% rename from src/model/ImageType.ts rename to src/model/ImageType.mts index 3e410e6..0779aee 100644 --- a/src/model/ImageType.ts +++ b/src/model/ImageType.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ImageSize } from "./ImageSize"; +import { ImageSize } from "./ImageSize.mts"; /** * Constructs a new ImageType. diff --git a/src/model/Images.ts b/src/model/Images.mts similarity index 95% rename from src/model/Images.ts rename to src/model/Images.mts index 31d3a95..bacc7e9 100644 --- a/src/model/Images.ts +++ b/src/model/Images.mts @@ -27,8 +27,8 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { ImageType } from "./ImageType"; +import { ApiClient } from "../ApiClient.mts"; +import { ImageType } from "./ImageType.mts"; /** * Constructs a new Images. diff --git a/src/model/Item.ts b/src/model/Item.mts similarity index 91% rename from src/model/Item.ts rename to src/model/Item.mts index 13f6c55..8b0b96f 100644 --- a/src/model/Item.ts +++ b/src/model/Item.mts @@ -27,14 +27,14 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { BrowseNodeInfo } from "./BrowseNodeInfo"; -import { CustomerReviews } from "./CustomerReviews"; -import { Images } from "./Images"; -import { ItemInfo } from "./ItemInfo"; -import { Offers } from "./Offers"; -import { RentalOffers } from "./RentalOffers"; -import { VariationAttribute } from "./VariationAttribute"; +import { ApiClient } from "../ApiClient.mts"; +import { BrowseNodeInfo } from "./BrowseNodeInfo.mts"; +import { CustomerReviews } from "./CustomerReviews.mts"; +import { Images } from "./Images.mts"; +import { ItemInfo } from "./ItemInfo.mts"; +import { Offers } from "./Offers.mts"; +import { RentalOffers } from "./RentalOffers.mts"; +import { VariationAttribute } from "./VariationAttribute.mts"; /** * Constructs a new Item. diff --git a/src/model/ItemIdType.ts b/src/model/ItemIdType.mts similarity index 100% rename from src/model/ItemIdType.ts rename to src/model/ItemIdType.mts diff --git a/src/model/ItemInfo.ts b/src/model/ItemInfo.mts similarity index 88% rename from src/model/ItemInfo.ts rename to src/model/ItemInfo.mts index 111f9e3..24985b8 100644 --- a/src/model/ItemInfo.ts +++ b/src/model/ItemInfo.mts @@ -27,17 +27,17 @@ * @version 1.0.0 */ -import { ByLineInfo } from "./ByLineInfo"; -import { Classifications } from "./Classifications"; -import { ContentInfo } from "./ContentInfo"; -import { ContentRating } from "./ContentRating"; -import { ExternalIds } from "./ExternalIds"; -import { ManufactureInfo } from "./ManufactureInfo"; -import { MultiValuedAttribute } from "./MultiValuedAttribute"; -import { ProductInfo } from "./ProductInfo"; -import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute"; -import { TechnicalInfo } from "./TechnicalInfo"; -import { TradeInInfo } from "./TradeInInfo"; +import { ByLineInfo } from "./ByLineInfo.mts"; +import { Classifications } from "./Classifications.mts"; +import { ContentInfo } from "./ContentInfo.mts"; +import { ContentRating } from "./ContentRating.mts"; +import { ExternalIds } from "./ExternalIds.mts"; +import { ManufactureInfo } from "./ManufactureInfo.mts"; +import { MultiValuedAttribute } from "./MultiValuedAttribute.mts"; +import { ProductInfo } from "./ProductInfo.mts"; +import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute.mts"; +import { TechnicalInfo } from "./TechnicalInfo.mts"; +import { TradeInInfo } from "./TradeInInfo.mts"; /** * Constructs a new ItemInfo. diff --git a/src/model/ItemsResult.ts b/src/model/ItemsResult.mts similarity index 95% rename from src/model/ItemsResult.ts rename to src/model/ItemsResult.mts index 65e8b65..f2cd741 100644 --- a/src/model/ItemsResult.ts +++ b/src/model/ItemsResult.mts @@ -27,8 +27,8 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { Item } from "./Item"; +import { ApiClient } from "../ApiClient.mts"; +import { Item } from "./Item.mts"; /** * Constructs a new ItemsResult. diff --git a/src/model/LanguageType.ts b/src/model/LanguageType.mts similarity index 97% rename from src/model/LanguageType.ts rename to src/model/LanguageType.mts index b80ab86..8920c0e 100644 --- a/src/model/LanguageType.ts +++ b/src/model/LanguageType.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new LanguageType. diff --git a/src/model/Languages.ts b/src/model/Languages.mts similarity index 95% rename from src/model/Languages.ts rename to src/model/Languages.mts index 2fd3e01..c2d1572 100644 --- a/src/model/Languages.ts +++ b/src/model/Languages.mts @@ -15,8 +15,6 @@ * permissions and limitations under the License. */ -import { LanguageType } from "./LanguageType"; - /** * ProductAdvertisingAPI * https://webservices.amazon.com/paapi5/documentation/index.html @@ -29,7 +27,8 @@ import { LanguageType } from "./LanguageType"; * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; +import { LanguageType } from "./LanguageType.mts"; /** * Constructs a new Languages. diff --git a/src/model/ManufactureInfo.ts b/src/model/ManufactureInfo.mts similarity index 99% rename from src/model/ManufactureInfo.ts rename to src/model/ManufactureInfo.mts index f342001..90542ac 100644 --- a/src/model/ManufactureInfo.ts +++ b/src/model/ManufactureInfo.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute"; +import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute.mts"; /** * Constructs a new ManufactureInfo. diff --git a/src/model/MaxPrice.ts b/src/model/MaxPrice.mts similarity index 100% rename from src/model/MaxPrice.ts rename to src/model/MaxPrice.mts diff --git a/src/model/Merchant.ts b/src/model/Merchant.mts similarity index 100% rename from src/model/Merchant.ts rename to src/model/Merchant.mts diff --git a/src/model/MinPrice.ts b/src/model/MinPrice.mts similarity index 100% rename from src/model/MinPrice.ts rename to src/model/MinPrice.mts diff --git a/src/model/MinReviewsRating.ts b/src/model/MinReviewsRating.mts similarity index 100% rename from src/model/MinReviewsRating.ts rename to src/model/MinReviewsRating.mts diff --git a/src/model/MinSavingPercent.ts b/src/model/MinSavingPercent.mts similarity index 100% rename from src/model/MinSavingPercent.ts rename to src/model/MinSavingPercent.mts diff --git a/src/model/MultiValuedAttribute.ts b/src/model/MultiValuedAttribute.mts similarity index 98% rename from src/model/MultiValuedAttribute.ts rename to src/model/MultiValuedAttribute.mts index 610b2f2..255abe0 100644 --- a/src/model/MultiValuedAttribute.ts +++ b/src/model/MultiValuedAttribute.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new MultiValuedAttribute. diff --git a/src/model/OfferAvailability.ts b/src/model/OfferAvailability.mts similarity index 98% rename from src/model/OfferAvailability.ts rename to src/model/OfferAvailability.mts index 0842e81..dd3a4fa 100644 --- a/src/model/OfferAvailability.ts +++ b/src/model/OfferAvailability.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new OfferAvailability. diff --git a/src/model/OfferCondition.ts b/src/model/OfferCondition.mts similarity index 94% rename from src/model/OfferCondition.ts rename to src/model/OfferCondition.mts index ae03528..7cdc546 100644 --- a/src/model/OfferCondition.ts +++ b/src/model/OfferCondition.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { OfferConditionNote } from "./OfferConditionNote"; -import { OfferSubCondition } from "./OfferSubCondition"; +import { ApiClient } from "../ApiClient.mts"; +import { OfferConditionNote } from "./OfferConditionNote.mts"; +import { OfferSubCondition } from "./OfferSubCondition.mts"; /** * Constructs a new OfferCondition. diff --git a/src/model/OfferConditionNote.ts b/src/model/OfferConditionNote.mts similarity index 97% rename from src/model/OfferConditionNote.ts rename to src/model/OfferConditionNote.mts index 086e9be..ebec92d 100644 --- a/src/model/OfferConditionNote.ts +++ b/src/model/OfferConditionNote.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new OfferConditionNote. diff --git a/src/model/OfferCount.ts b/src/model/OfferCount.mts similarity index 100% rename from src/model/OfferCount.ts rename to src/model/OfferCount.mts diff --git a/src/model/OfferDeliveryInfo.ts b/src/model/OfferDeliveryInfo.mts similarity index 96% rename from src/model/OfferDeliveryInfo.ts rename to src/model/OfferDeliveryInfo.mts index dc2de3f..bb840e0 100644 --- a/src/model/OfferDeliveryInfo.ts +++ b/src/model/OfferDeliveryInfo.mts @@ -21,8 +21,8 @@ * */ -import { ApiClient } from "../ApiClient"; -import { OfferShippingCharge } from "./OfferShippingCharge"; +import { ApiClient } from "../ApiClient.mts"; +import { OfferShippingCharge } from "./OfferShippingCharge.mts"; /** * The OfferDeliveryInfo model module. diff --git a/src/model/OfferListing.ts b/src/model/OfferListing.mts similarity index 90% rename from src/model/OfferListing.ts rename to src/model/OfferListing.mts index f5ba481..fbfc3a8 100644 --- a/src/model/OfferListing.ts +++ b/src/model/OfferListing.mts @@ -27,15 +27,15 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { OfferAvailability } from "./OfferAvailability"; -import { OfferCondition } from "./OfferCondition"; -import { OfferDeliveryInfo } from "./OfferDeliveryInfo"; -import { OfferLoyaltyPoints } from "./OfferLoyaltyPoints"; -import { OfferMerchantInfo } from "./OfferMerchantInfo"; -import { OfferPrice } from "./OfferPrice"; -import { OfferProgramEligibility } from "./OfferProgramEligibility"; -import { OfferPromotion } from "./OfferPromotion"; +import { ApiClient } from "../ApiClient.mts"; +import { OfferAvailability } from "./OfferAvailability.mts"; +import { OfferCondition } from "./OfferCondition.mts"; +import { OfferDeliveryInfo } from "./OfferDeliveryInfo.mts"; +import { OfferLoyaltyPoints } from "./OfferLoyaltyPoints.mts"; +import { OfferMerchantInfo } from "./OfferMerchantInfo.mts"; +import { OfferPrice } from "./OfferPrice.mts"; +import { OfferProgramEligibility } from "./OfferProgramEligibility.mts"; +import { OfferPromotion } from "./OfferPromotion.mts"; /** * Constructs a new OfferListing. diff --git a/src/model/OfferLoyaltyPoints.ts b/src/model/OfferLoyaltyPoints.mts similarity index 97% rename from src/model/OfferLoyaltyPoints.ts rename to src/model/OfferLoyaltyPoints.mts index 0c04b9a..167df64 100644 --- a/src/model/OfferLoyaltyPoints.ts +++ b/src/model/OfferLoyaltyPoints.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new OfferLoyaltyPoints. diff --git a/src/model/OfferMerchantInfo.ts b/src/model/OfferMerchantInfo.mts similarity index 98% rename from src/model/OfferMerchantInfo.ts rename to src/model/OfferMerchantInfo.mts index 23b3b51..d3b09db 100644 --- a/src/model/OfferMerchantInfo.ts +++ b/src/model/OfferMerchantInfo.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new OfferMerchantInfo. diff --git a/src/model/OfferPrice.ts b/src/model/OfferPrice.mts similarity index 95% rename from src/model/OfferPrice.ts rename to src/model/OfferPrice.mts index 37051e7..4c2d7ad 100644 --- a/src/model/OfferPrice.ts +++ b/src/model/OfferPrice.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from '../ApiClient'; -import { OfferSavings } from './OfferSavings'; -import { PriceType } from './PriceType'; +import { ApiClient } from '../ApiClient.mts'; +import { OfferSavings } from './OfferSavings.mts'; +import { PriceType } from './PriceType.mts'; /** * Constructs a new OfferPrice. diff --git a/src/model/OfferProgramEligibility.ts b/src/model/OfferProgramEligibility.mts similarity index 97% rename from src/model/OfferProgramEligibility.ts rename to src/model/OfferProgramEligibility.mts index a262c63..ab2ea19 100644 --- a/src/model/OfferProgramEligibility.ts +++ b/src/model/OfferProgramEligibility.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new OfferProgramEligibility. diff --git a/src/model/OfferPromotion.ts b/src/model/OfferPromotion.mts similarity index 98% rename from src/model/OfferPromotion.ts rename to src/model/OfferPromotion.mts index 22c58e9..f7abf5d 100644 --- a/src/model/OfferPromotion.ts +++ b/src/model/OfferPromotion.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new OfferPromotion. diff --git a/src/model/OfferSavings.ts b/src/model/OfferSavings.mts similarity index 98% rename from src/model/OfferSavings.ts rename to src/model/OfferSavings.mts index 8c558e6..a1f5791 100644 --- a/src/model/OfferSavings.ts +++ b/src/model/OfferSavings.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new OfferSavings. diff --git a/src/model/OfferShippingCharge.ts b/src/model/OfferShippingCharge.mts similarity index 98% rename from src/model/OfferShippingCharge.ts rename to src/model/OfferShippingCharge.mts index 749d562..e531397 100644 --- a/src/model/OfferShippingCharge.ts +++ b/src/model/OfferShippingCharge.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new OfferShippingCharge. diff --git a/src/model/OfferSubCondition.ts b/src/model/OfferSubCondition.mts similarity index 98% rename from src/model/OfferSubCondition.ts rename to src/model/OfferSubCondition.mts index 52ab923..1290e85 100644 --- a/src/model/OfferSubCondition.ts +++ b/src/model/OfferSubCondition.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new OfferSubCondition. diff --git a/src/model/OfferSummary.ts b/src/model/OfferSummary.mts similarity index 94% rename from src/model/OfferSummary.ts rename to src/model/OfferSummary.mts index e2394e8..1406284 100644 --- a/src/model/OfferSummary.ts +++ b/src/model/OfferSummary.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { OfferCondition } from "./OfferCondition"; -import { OfferPrice } from "./OfferPrice"; +import { ApiClient } from "../ApiClient.mts"; +import { OfferCondition } from "./OfferCondition.mts"; +import { OfferPrice } from "./OfferPrice.mts"; /** * Constructs a new OfferSummary. diff --git a/src/model/Offers.ts b/src/model/Offers.mts similarity index 93% rename from src/model/Offers.ts rename to src/model/Offers.mts index 6350e17..45618b4 100644 --- a/src/model/Offers.ts +++ b/src/model/Offers.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { OfferListing } from "./OfferListing"; -import { OfferSummary } from "./OfferSummary"; +import { ApiClient } from "../ApiClient.mts"; +import { OfferListing } from "./OfferListing.mts"; +import { OfferSummary } from "./OfferSummary.mts"; /** * Constructs a new Offers. diff --git a/src/model/PartnerType.ts b/src/model/PartnerType.mts similarity index 100% rename from src/model/PartnerType.ts rename to src/model/PartnerType.mts diff --git a/src/model/Price.ts b/src/model/Price.mts similarity index 97% rename from src/model/Price.ts rename to src/model/Price.mts index f53618a..1662669 100644 --- a/src/model/Price.ts +++ b/src/model/Price.mts @@ -21,7 +21,7 @@ * */ - import { OfferPrice } from "./OfferPrice"; + import { OfferPrice } from "./OfferPrice.mts"; /** * The Price model module. diff --git a/src/model/PriceType.ts b/src/model/PriceType.mts similarity index 100% rename from src/model/PriceType.ts rename to src/model/PriceType.mts diff --git a/src/model/ProductAdvertisingAPIClientException.ts b/src/model/ProductAdvertisingAPIClientException.mts similarity index 95% rename from src/model/ProductAdvertisingAPIClientException.ts rename to src/model/ProductAdvertisingAPIClientException.mts index 8e38a7b..8489412 100644 --- a/src/model/ProductAdvertisingAPIClientException.ts +++ b/src/model/ProductAdvertisingAPIClientException.mts @@ -27,8 +27,8 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { ErrorData } from "./ErrorData"; +import { ApiClient } from "../ApiClient.mts"; +import { ErrorData } from "./ErrorData.mts"; /** * Constructs a new ProductAdvertisingAPIClientException. diff --git a/src/model/ProductAdvertisingAPIServiceException.ts b/src/model/ProductAdvertisingAPIServiceException.mts similarity index 97% rename from src/model/ProductAdvertisingAPIServiceException.ts rename to src/model/ProductAdvertisingAPIServiceException.mts index 075f752..a1919bd 100644 --- a/src/model/ProductAdvertisingAPIServiceException.ts +++ b/src/model/ProductAdvertisingAPIServiceException.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new ProductAdvertisingAPIServiceException. diff --git a/src/model/ProductInfo.ts b/src/model/ProductInfo.mts similarity index 98% rename from src/model/ProductInfo.ts rename to src/model/ProductInfo.mts index ba912f1..996b1b9 100644 --- a/src/model/ProductInfo.ts +++ b/src/model/ProductInfo.mts @@ -27,10 +27,10 @@ * @version 1.0.0 */ -import { DimensionBasedAttribute } from "./DimensionBasedAttribute"; -import { SingleBooleanValuedAttribute } from "./SingleBooleanValuedAttribute"; -import { SingleIntegerValuedAttribute } from "./SingleIntegerValuedAttribute"; -import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute"; +import { DimensionBasedAttribute } from "./DimensionBasedAttribute.mts"; +import { SingleBooleanValuedAttribute } from "./SingleBooleanValuedAttribute.mts"; +import { SingleIntegerValuedAttribute } from "./SingleIntegerValuedAttribute.mts"; +import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute.mts"; /** * Constructs a new ProductInfo. diff --git a/src/model/Properties.ts b/src/model/Properties.mts similarity index 97% rename from src/model/Properties.ts rename to src/model/Properties.mts index 73004e0..5ac6964 100644 --- a/src/model/Properties.ts +++ b/src/model/Properties.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new Properties. diff --git a/src/model/Rating.ts b/src/model/Rating.mts similarity index 97% rename from src/model/Rating.ts rename to src/model/Rating.mts index 586add2..d4d2861 100644 --- a/src/model/Rating.ts +++ b/src/model/Rating.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new Rating. diff --git a/src/model/Refinement.ts b/src/model/Refinement.mts similarity index 95% rename from src/model/Refinement.ts rename to src/model/Refinement.mts index 7844b99..8fe6af7 100644 --- a/src/model/Refinement.ts +++ b/src/model/Refinement.mts @@ -27,8 +27,8 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { RefinementBin } from "./RefinementBin"; +import { ApiClient } from "../ApiClient.mts"; +import { RefinementBin } from "./RefinementBin.mts"; /** * Constructs a new Refinement. diff --git a/src/model/RefinementBin.ts b/src/model/RefinementBin.mts similarity index 97% rename from src/model/RefinementBin.ts rename to src/model/RefinementBin.mts index 916bf4c..46b53ad 100644 --- a/src/model/RefinementBin.ts +++ b/src/model/RefinementBin.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new RefinementBin. diff --git a/src/model/RentalOfferListing.ts b/src/model/RentalOfferListing.mts similarity index 90% rename from src/model/RentalOfferListing.ts rename to src/model/RentalOfferListing.mts index 653cdbb..437a78f 100644 --- a/src/model/RentalOfferListing.ts +++ b/src/model/RentalOfferListing.mts @@ -27,12 +27,12 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { DurationPrice } from "./DurationPrice"; -import { OfferAvailability } from "./OfferAvailability"; -import { OfferCondition } from "./OfferCondition"; -import { OfferDeliveryInfo } from "./OfferDeliveryInfo"; -import { OfferMerchantInfo } from "./OfferMerchantInfo"; +import { ApiClient } from "../ApiClient.mts"; +import { DurationPrice } from "./DurationPrice.mts"; +import { OfferAvailability } from "./OfferAvailability.mts"; +import { OfferCondition } from "./OfferCondition.mts"; +import { OfferDeliveryInfo } from "./OfferDeliveryInfo.mts"; +import { OfferMerchantInfo } from "./OfferMerchantInfo.mts"; /** * Constructs a new RentalOfferListing. diff --git a/src/model/RentalOffers.ts b/src/model/RentalOffers.mts similarity index 94% rename from src/model/RentalOffers.ts rename to src/model/RentalOffers.mts index 738cb06..cfbd6ec 100644 --- a/src/model/RentalOffers.ts +++ b/src/model/RentalOffers.mts @@ -27,8 +27,8 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { RentalOfferListing } from "./RentalOfferListing"; +import { ApiClient } from "../ApiClient.mts"; +import { RentalOfferListing } from "./RentalOfferListing.mts"; /** * Constructs a new RentalOffers. diff --git a/src/model/SearchItemsRequest.ts b/src/model/SearchItemsRequest.mts similarity index 92% rename from src/model/SearchItemsRequest.ts rename to src/model/SearchItemsRequest.mts index 32268e8..12f90ba 100644 --- a/src/model/SearchItemsRequest.ts +++ b/src/model/SearchItemsRequest.mts @@ -21,20 +21,20 @@ * */ -import { ApiClient } from "../ApiClient"; -import { Availability } from "./Availability"; -import { Condition } from "./Condition"; -import { DeliveryFlag } from "./DeliveryFlag"; -import { MaxPrice } from "./MaxPrice"; -import { Merchant } from "./Merchant"; -import { MinPrice } from "./MinPrice"; -import { MinReviewsRating } from "./MinReviewsRating"; -import { MinSavingPercent } from "./MinSavingPercent"; -import { OfferCount } from "./OfferCount"; -import { PartnerType } from "./PartnerType"; -import { Properties } from "./Properties"; -import { SearchItemsResource, SearchItemsResourceValues } from "./SearchItemsResource"; -import { SortBy } from "./SortBy"; +import { ApiClient } from "../ApiClient.mts"; +import { Availability } from "./Availability.mts"; +import { Condition } from "./Condition.mts"; +import { DeliveryFlag } from "./DeliveryFlag.mts"; +import { MaxPrice } from "./MaxPrice.mts"; +import { Merchant } from "./Merchant.mts"; +import { MinPrice } from "./MinPrice.mts"; +import { MinReviewsRating } from "./MinReviewsRating.mts"; +import { MinSavingPercent } from "./MinSavingPercent.mts"; +import { OfferCount } from "./OfferCount.mts"; +import { PartnerType } from "./PartnerType.mts"; +import { Properties } from "./Properties.mts"; +import { SearchItemsResource, SearchItemsResourceValues } from "./SearchItemsResource.mts"; +import { SortBy } from "./SortBy.mts"; /** * The SearchItemsRequest model module. diff --git a/src/model/SearchItemsResource.ts b/src/model/SearchItemsResource.mts similarity index 100% rename from src/model/SearchItemsResource.ts rename to src/model/SearchItemsResource.mts diff --git a/src/model/SearchItemsResponse.ts b/src/model/SearchItemsResponse.mts similarity index 93% rename from src/model/SearchItemsResponse.ts rename to src/model/SearchItemsResponse.mts index 22f3a0d..c4c54d7 100644 --- a/src/model/SearchItemsResponse.ts +++ b/src/model/SearchItemsResponse.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { ErrorData } from "./ErrorData"; -import { SearchResult } from "./SearchResult"; +import { ApiClient } from "../ApiClient.mts"; +import { ErrorData } from "./ErrorData.mts"; +import { SearchResult } from "./SearchResult.mts"; /** * Constructs a new SearchItemsResponse. diff --git a/src/model/SearchRefinements.ts b/src/model/SearchRefinements.mts similarity index 96% rename from src/model/SearchRefinements.ts rename to src/model/SearchRefinements.mts index 6b481f7..cc57534 100644 --- a/src/model/SearchRefinements.ts +++ b/src/model/SearchRefinements.mts @@ -27,8 +27,8 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { Refinement } from "./Refinement"; +import { ApiClient } from "../ApiClient.mts"; +import { Refinement } from "./Refinement.mts"; /** * Constructs a new SearchRefinements. diff --git a/src/model/SearchResult.ts b/src/model/SearchResult.mts similarity index 94% rename from src/model/SearchResult.ts rename to src/model/SearchResult.mts index b01f21e..bd184ea 100644 --- a/src/model/SearchResult.ts +++ b/src/model/SearchResult.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { Item } from "./Item"; -import { SearchRefinements } from "./SearchRefinements"; +import { ApiClient } from "../ApiClient.mts"; +import { Item } from "./Item.mts"; +import { SearchRefinements } from "./SearchRefinements.mts"; /** * Constructs a new SearchResult. diff --git a/src/model/SingleBooleanValuedAttribute.ts b/src/model/SingleBooleanValuedAttribute.mts similarity index 98% rename from src/model/SingleBooleanValuedAttribute.ts rename to src/model/SingleBooleanValuedAttribute.mts index d520195..06b61d1 100644 --- a/src/model/SingleBooleanValuedAttribute.ts +++ b/src/model/SingleBooleanValuedAttribute.mts @@ -21,7 +21,7 @@ * */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * The SingleBooleanValuedAttribute model module. diff --git a/src/model/SingleIntegerValuedAttribute.ts b/src/model/SingleIntegerValuedAttribute.mts similarity index 98% rename from src/model/SingleIntegerValuedAttribute.ts rename to src/model/SingleIntegerValuedAttribute.mts index 3900b06..398c289 100644 --- a/src/model/SingleIntegerValuedAttribute.ts +++ b/src/model/SingleIntegerValuedAttribute.mts @@ -21,7 +21,7 @@ * */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * The SingleIntegerValuedAttribute model module. diff --git a/src/model/SingleStringValuedAttribute.ts b/src/model/SingleStringValuedAttribute.mts similarity index 98% rename from src/model/SingleStringValuedAttribute.ts rename to src/model/SingleStringValuedAttribute.mts index 97644b7..7c12378 100644 --- a/src/model/SingleStringValuedAttribute.ts +++ b/src/model/SingleStringValuedAttribute.mts @@ -21,7 +21,7 @@ * */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * The SingleStringValuedAttribute model module. diff --git a/src/model/SortBy.ts b/src/model/SortBy.mts similarity index 100% rename from src/model/SortBy.ts rename to src/model/SortBy.mts diff --git a/src/model/TechnicalInfo.ts b/src/model/TechnicalInfo.mts similarity index 96% rename from src/model/TechnicalInfo.ts rename to src/model/TechnicalInfo.mts index 94220c9..8a84488 100644 --- a/src/model/TechnicalInfo.ts +++ b/src/model/TechnicalInfo.mts @@ -27,8 +27,8 @@ * @version 1.0.0 */ -import { MultiValuedAttribute } from "./MultiValuedAttribute"; -import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute"; +import { MultiValuedAttribute } from "./MultiValuedAttribute.mts"; +import { SingleStringValuedAttribute } from "./SingleStringValuedAttribute.mts"; /** * Constructs a new TechnicalInfo. diff --git a/src/model/TradeInInfo.ts b/src/model/TradeInInfo.mts similarity index 95% rename from src/model/TradeInInfo.ts rename to src/model/TradeInInfo.mts index 826dfe8..8ab55a5 100644 --- a/src/model/TradeInInfo.ts +++ b/src/model/TradeInInfo.mts @@ -27,8 +27,8 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { TradeInPrice } from "./TradeInPrice"; +import { ApiClient } from "../ApiClient.mts"; +import { TradeInPrice } from "./TradeInPrice.mts"; /** * Constructs a new TradeInInfo. diff --git a/src/model/TradeInPrice.ts b/src/model/TradeInPrice.mts similarity index 97% rename from src/model/TradeInPrice.ts rename to src/model/TradeInPrice.mts index ce71844..5307957 100644 --- a/src/model/TradeInPrice.ts +++ b/src/model/TradeInPrice.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new TradeInPrice. diff --git a/src/model/UnitBasedAttribute.ts b/src/model/UnitBasedAttribute.mts similarity index 98% rename from src/model/UnitBasedAttribute.ts rename to src/model/UnitBasedAttribute.mts index ddabbe2..f338374 100644 --- a/src/model/UnitBasedAttribute.ts +++ b/src/model/UnitBasedAttribute.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new UnitBasedAttribute. diff --git a/src/model/VariationAttribute.ts b/src/model/VariationAttribute.mts similarity index 97% rename from src/model/VariationAttribute.ts rename to src/model/VariationAttribute.mts index c4b08a9..335fe2b 100644 --- a/src/model/VariationAttribute.ts +++ b/src/model/VariationAttribute.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new VariationAttribute. diff --git a/src/model/VariationDimension.ts b/src/model/VariationDimension.mts similarity index 98% rename from src/model/VariationDimension.ts rename to src/model/VariationDimension.mts index 1339f85..b219642 100644 --- a/src/model/VariationDimension.ts +++ b/src/model/VariationDimension.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mts"; /** * Constructs a new VariationDimension. diff --git a/src/model/VariationSummary.ts b/src/model/VariationSummary.mts similarity index 94% rename from src/model/VariationSummary.ts rename to src/model/VariationSummary.mts index 6b37734..9988a61 100644 --- a/src/model/VariationSummary.ts +++ b/src/model/VariationSummary.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { Price } from "./Price"; -import { VariationDimension } from "./VariationDimension"; +import { ApiClient } from "../ApiClient.mts"; +import { Price } from "./Price.mts"; +import { VariationDimension } from "./VariationDimension.mts"; /** * Constructs a new VariationSummary. diff --git a/src/model/VariationsResult.ts b/src/model/VariationsResult.mts similarity index 93% rename from src/model/VariationsResult.ts rename to src/model/VariationsResult.mts index 84b7ea2..94da913 100644 --- a/src/model/VariationsResult.ts +++ b/src/model/VariationsResult.mts @@ -27,9 +27,9 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; -import { Item } from "./Item"; -import { VariationSummary } from "./VariationSummary"; +import { ApiClient } from "../ApiClient.mts"; +import { Item } from "./Item.mts"; +import { VariationSummary } from "./VariationSummary.mts"; /** * Constructs a new VariationsResult. diff --git a/src/model/WebsiteSalesRank.ts b/src/model/WebsiteSalesRank.mts similarity index 98% rename from src/model/WebsiteSalesRank.ts rename to src/model/WebsiteSalesRank.mts index 1312095..82768c7 100644 --- a/src/model/WebsiteSalesRank.ts +++ b/src/model/WebsiteSalesRank.mts @@ -27,7 +27,7 @@ * @version 1.0.0 */ -import { ApiClient } from "../ApiClient"; +import { ApiClient } from "../ApiClient.mjs"; /** * Constructs a new WebsiteSalesRank. diff --git a/tests/api/DefaultApi.ts b/tests/api/DefaultApi.mts similarity index 99% rename from tests/api/DefaultApi.ts rename to tests/api/DefaultApi.mts index 6d095c9..2873111 100644 --- a/tests/api/DefaultApi.ts +++ b/tests/api/DefaultApi.mts @@ -21,7 +21,7 @@ * */ -import * as ProductAdvertisingAPIv1 from '../../src/index'; +import * as ProductAdvertisingAPIv1 from '../../src/index.mts'; const DUMMY_ACCESS_KEY = 'DUMMY_ACCESS_KEY'; const DUMMY_SECRET_KEY = 'DUMMY_SECRET_KEY';