@amazon-sp-api-release/amazon-sp-api-sdk-js 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/README.md +2 -3
  2. package/helper/DefaultRateLimitMap.mjs +13 -1
  3. package/index.js +1 -0
  4. package/package.json +1 -1
  5. package/src/apluscontent_v2020_11_01/ApiClient.js +5 -1
  6. package/src/appintegrations_v2024_04_01/ApiClient.js +5 -1
  7. package/src/applications_v2023_11_30/ApiClient.js +5 -1
  8. package/src/awd_v2024_05_09/ApiClient.js +5 -1
  9. package/src/catalogitems_v2022_04_01/ApiClient.js +5 -1
  10. package/src/datakiosk_v2023_11_15/ApiClient.js +5 -1
  11. package/src/easyship_v2022_03_23/ApiClient.js +5 -1
  12. package/src/fbaeligibility_v1/ApiClient.js +5 -1
  13. package/src/fbainventory_v1/ApiClient.js +5 -1
  14. package/src/feeds_v2021_06_30/ApiClient.js +5 -1
  15. package/src/finances_v0/ApiClient.js +5 -1
  16. package/src/fulfillmentinbound_v0/ApiClient.js +5 -1
  17. package/src/fulfillmentinbound_v2024_03_20/ApiClient.js +5 -1
  18. package/src/fulfillmentoutbound_v2020_07_01/ApiClient.js +5 -1
  19. package/src/invoices_v2024_06_19/ApiClient.js +5 -1
  20. package/src/invoicing_v0/ApiClient.js +5 -1
  21. package/src/listingsitems_v2021_08_01/ApiClient.js +5 -1
  22. package/src/listingsitems_v2021_08_01/api/ListingsApi.js +6 -6
  23. package/src/listingsitems_v2021_08_01/model/FulfillmentAvailability.js +2 -2
  24. package/src/listingsitems_v2021_08_01/model/Issue.js +2 -2
  25. package/src/listingsitems_v2021_08_01/model/IssueExemption.js +1 -1
  26. package/src/listingsitems_v2021_08_01/model/ItemRelationship.js +1 -1
  27. package/src/listingsitems_v2021_08_01/model/ItemSearchResults.js +2 -2
  28. package/src/listingsitems_v2021_08_01/model/Pagination.js +1 -1
  29. package/src/listingsitems_v2021_08_01/model/PatchOperation.js +9 -3
  30. package/src/listingsrestrictions_v2021_08_01/ApiClient.js +5 -1
  31. package/src/merchantfulfillment_v0/ApiClient.js +5 -1
  32. package/src/messaging_v1/ApiClient.js +5 -1
  33. package/src/notifications_v1/ApiClient.js +5 -1
  34. package/src/orders_v0/ApiClient.js +5 -1
  35. package/src/orders_v0/api/OrdersV0Api.js +26 -26
  36. package/src/orders_v0/api/ShipmentApi.js +2 -2
  37. package/src/orders_v0/index.js +0 -7
  38. package/src/orders_v0/model/AmazonPrograms.js +3 -3
  39. package/src/orders_v0/model/OrderItem.js +0 -7
  40. package/src/orders_v0/model/OrdersList.js +1 -1
  41. package/src/orders_v0/model/PackageDetail.js +1 -1
  42. package/src/pricing_v0/ApiClient.js +5 -1
  43. package/src/pricing_v2022_05_01/ApiClient.js +5 -1
  44. package/src/pricing_v2022_05_01/model/CompetitiveSummaryRequest.js +2 -2
  45. package/src/pricing_v2022_05_01/model/CompetitiveSummaryResponseBody.js +2 -2
  46. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceRequest.js +3 -3
  47. package/src/pricing_v2022_05_01/model/FeaturedOfferExpectedPriceRequestParams.js +2 -2
  48. package/src/pricing_v2022_05_01/model/FeaturedOfferSegment.js +7 -1
  49. package/src/pricing_v2022_05_01/model/LowestPricedOffersInput.js +2 -2
  50. package/src/pricing_v2022_05_01/model/OfferIdentifier.js +2 -2
  51. package/src/pricing_v2022_05_01/model/ReferencePrice.js +2 -2
  52. package/src/productfees_v0/ApiClient.js +5 -1
  53. package/src/producttypedefinitions_v2020_09_01/ApiClient.js +5 -1
  54. package/src/replenishment_v2022_11_07/ApiClient.js +5 -1
  55. package/src/reports_v2021_06_30/ApiClient.js +5 -1
  56. package/src/sales_v1/ApiClient.js +5 -1
  57. package/src/sales_v1/api/SalesApi.js +4 -1
  58. package/src/sellerWallet_2024_03_01/ApiClient.js +827 -0
  59. package/src/sellerWallet_2024_03_01/api/AccountsApi.js +212 -0
  60. package/src/sellerWallet_2024_03_01/api/TransactionsApi.js +233 -0
  61. package/src/sellerWallet_2024_03_01/api/TransferPreviewApi.js +144 -0
  62. package/src/sellerWallet_2024_03_01/api/TransferScheduleApi.js +347 -0
  63. package/src/sellerWallet_2024_03_01/index.js +322 -0
  64. package/src/sellerWallet_2024_03_01/model/AccountHolderAddress.js +114 -0
  65. package/src/sellerWallet_2024_03_01/model/Balance.js +98 -0
  66. package/src/sellerWallet_2024_03_01/model/BalanceListing.js +63 -0
  67. package/src/sellerWallet_2024_03_01/model/BalanceType.js +54 -0
  68. package/src/sellerWallet_2024_03_01/model/BankAccount.js +148 -0
  69. package/src/sellerWallet_2024_03_01/model/BankAccountHolderStatus.js +54 -0
  70. package/src/sellerWallet_2024_03_01/model/BankAccountListing.js +65 -0
  71. package/src/sellerWallet_2024_03_01/model/BankAccountNumberFormat.js +42 -0
  72. package/src/sellerWallet_2024_03_01/model/BankAccountOwnershipType.js +48 -0
  73. package/src/sellerWallet_2024_03_01/model/BankNumberFormat.js +42 -0
  74. package/src/sellerWallet_2024_03_01/model/Currency.js +69 -0
  75. package/src/sellerWallet_2024_03_01/model/DeleteTransferSchedule.js +80 -0
  76. package/src/sellerWallet_2024_03_01/model/Error.js +80 -0
  77. package/src/sellerWallet_2024_03_01/model/ErrorList.js +65 -0
  78. package/src/sellerWallet_2024_03_01/model/Fee.js +91 -0
  79. package/src/sellerWallet_2024_03_01/model/FeeType.js +48 -0
  80. package/src/sellerWallet_2024_03_01/model/FxRateDetails.js +91 -0
  81. package/src/sellerWallet_2024_03_01/model/PaymentPreference.js +73 -0
  82. package/src/sellerWallet_2024_03_01/model/PaymentPreferencePaymentType.js +42 -0
  83. package/src/sellerWallet_2024_03_01/model/RateDirection.js +42 -0
  84. package/src/sellerWallet_2024_03_01/model/RecurringFrequency.js +54 -0
  85. package/src/sellerWallet_2024_03_01/model/ScheduleExpression.js +71 -0
  86. package/src/sellerWallet_2024_03_01/model/ScheduleExpressionType.js +42 -0
  87. package/src/sellerWallet_2024_03_01/model/ScheduleTransferType.js +36 -0
  88. package/src/sellerWallet_2024_03_01/model/Transaction.js +187 -0
  89. package/src/sellerWallet_2024_03_01/model/TransactionAccount.js +112 -0
  90. package/src/sellerWallet_2024_03_01/model/TransactionInitiationRequest.js +121 -0
  91. package/src/sellerWallet_2024_03_01/model/TransactionInstrumentDetails.js +73 -0
  92. package/src/sellerWallet_2024_03_01/model/TransactionListing.js +72 -0
  93. package/src/sellerWallet_2024_03_01/model/TransactionStatus.js +66 -0
  94. package/src/sellerWallet_2024_03_01/model/TransactionType.js +42 -0
  95. package/src/sellerWallet_2024_03_01/model/TransferRatePreview.js +91 -0
  96. package/src/sellerWallet_2024_03_01/model/TransferSchedule.js +123 -0
  97. package/src/sellerWallet_2024_03_01/model/TransferScheduleFailures.js +73 -0
  98. package/src/sellerWallet_2024_03_01/model/TransferScheduleInformation.js +83 -0
  99. package/src/sellerWallet_2024_03_01/model/TransferScheduleListing.js +72 -0
  100. package/src/sellerWallet_2024_03_01/model/TransferScheduleRequest.js +125 -0
  101. package/src/sellerWallet_2024_03_01/model/TransferScheduleStatus.js +54 -0
  102. package/src/sellers_v1/ApiClient.js +5 -1
  103. package/src/services_v1/ApiClient.js +5 -1
  104. package/src/shipping_v2/ApiClient.js +5 -1
  105. package/src/solicitations_v1/ApiClient.js +5 -1
  106. package/src/supplysources_v2020_07_01/ApiClient.js +5 -1
  107. package/src/tokens_v2021_03_01/ApiClient.js +5 -1
  108. package/src/transfers_v2024_06_01/ApiClient.js +5 -1
  109. package/src/uploads_v2020_11_01/ApiClient.js +5 -1
  110. package/src/vehicles_v2024_11_01/ApiClient.js +5 -1
  111. package/src/vendordfinventory_v1/ApiClient.js +5 -1
  112. package/src/vendordforders_v2021_12_28/ApiClient.js +5 -1
  113. package/src/vendordfpayments_v1/ApiClient.js +5 -1
  114. package/src/vendordfshipping_v2021_12_28/ApiClient.js +5 -1
  115. package/src/vendordftransactions_v2021_12_28/ApiClient.js +5 -1
  116. package/src/vendorinvoices_v1/ApiClient.js +5 -1
  117. package/src/vendororders_v1/ApiClient.js +5 -1
  118. package/src/vendorshipments_v1/ApiClient.js +5 -1
  119. package/src/vendorshipments_v1/api/VendorShippingApi.js +2 -2
  120. package/src/vendorshipments_v1/model/Shipment.js +3 -3
  121. package/src/vendortransactionstatus_v1/ApiClient.js +5 -1
  122. package/src/orders_v0/model/ExportInfo.js +0 -69
package/README.md CHANGED
@@ -1,10 +1,9 @@
1
1
  ## JavaScript SDK for Selling Partner API
2
2
  [![npm version](https://badge.fury.io/js/@amazon-sp-api-release%2Famazon-sp-api-sdk-js.svg)](https://www.npmjs.com/package/@amazon-sp-api-release/amazon-sp-api-sdk-js)
3
3
 
4
- <!-- youtube video is under creating -->
5
- <!-- [![Video Thumbnail](docs/video-thumbnail.png)](https://www.youtube.com/watch?v=OmYTAA80V_4)
4
+ [![Video Thumbnail](docs/video-thumbnail.png)](https://www.youtube.com/watch?v=5pRZXYhjNIQ)
6
5
 
7
- *Click on the image to watch the video.* -->
6
+ *Click on the image to watch the video.*
8
7
 
9
8
  The Selling Partner API SDK for JavaScript enables you to easily connect your JavaScript/Node.js application to Amazon's REST-based Selling Partner API.
10
9
 
@@ -280,6 +280,18 @@ export const defaultRateLimitMap = {
280
280
  "VendorShippingApi-GetShipmentDetails": [10, 10],
281
281
  "VendorShippingApi-GetShipmentLabels": [10, 10],
282
282
  "VendorTransactionApi-getTransaction": [10, 10],
283
- "VendorTransactionApi-getTransactionStatus": [10, 10]
283
+ "VendorTransactionApi-getTransactionStatus": [10, 10],
284
+ "AccountsApi-listAccounts": [1, 15, 2],
285
+ "AccountsApi-getAccount": [1, 15, 2],
286
+ "AccountsApi-listAccountBalances": [1, 15, 2],
287
+ "TransferPreviewApi-getTransferPreview": [1, 10, 2],
288
+ "TransactionsApi-listAccountTransactions": [1, 15, 2],
289
+ "TransactionsApi-createTransaction": [1, 10],
290
+ "TransactionsApi-getTransaction": [1, 10, 2],
291
+ "TransferScheduleApi-listTransferSchedules": [1, 10, 2],
292
+ "TransferScheduleApi-createTransferSchedule": [1, 10, 2],
293
+ "TransferScheduleApi-updateTransferSchedule": [1, 10, 2],
294
+ "TransferScheduleApi-getTransferSchedule": [1, 10, 2],
295
+ "TransferScheduleApi-deleteScheduleTransaction": [1, 10, 2]
284
296
  }
285
297
 
package/index.js CHANGED
@@ -27,6 +27,7 @@ export * as ProducttypedefinitionsSpApi from './src/producttypedefinitions_v2020
27
27
  export * as ReplenishmentSpApi from './src/replenishment_v2022_11_07/index.js';
28
28
  export * as ReportsSpApi from './src/reports_v2021_06_30/index.js';
29
29
  export * as SalesSpApi from './src/sales_v1/index.js';
30
+ export * as SellerWallet20240301SpApi from './src/sellerWallet_2024_03_01/index.js';
30
31
  export * as SellersSpApi from './src/sellers_v1/index.js';
31
32
  export * as ServicesSpApi from './src/services_v1/index.js';
32
33
  export * as ShippingSpApi from './src/shipping_v2/index.js';
package/package.json CHANGED
@@ -56,5 +56,5 @@
56
56
  "engines": {
57
57
  "node": ">=14.18.0"
58
58
  },
59
- "version": "1.1.0"
59
+ "version": "1.2.0"
60
60
  }
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -13,6 +13,7 @@
13
13
 
14
14
  import superagent from 'superagent'
15
15
  import querystring from 'querystring'
16
+ import { readFileSync } from 'node:fs'
16
17
  import { URL } from 'node:url'
17
18
  import { RateLimitConfiguration } from '../../helper/RateLimitConfiguration.mjs'
18
19
  import { SuperagentRateLimiter } from '../../helper/SuperagentRateLimiter.mjs'
@@ -214,13 +215,16 @@ export class ApiClient {
214
215
  this.authentications = {
215
216
  }
216
217
 
218
+ const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url)))
219
+ const version = pkg.version ? pkg.version : 'undefined'
220
+
217
221
  /**
218
222
  * The default HTTP headers to be included for all API calls.
219
223
  * @type {Array<String>}
220
224
  * @default {}
221
225
  */
222
226
  this.defaultHeaders = {
223
- 'User-Agent': 'amazon-selling-partner-api-sdk/1.0.0/JavaScript'
227
+ 'User-Agent': `amazon-selling-partner-api-sdk/${version}/JavaScript`
224
228
  }
225
229
 
226
230
  /**
@@ -139,7 +139,7 @@ export class ListingsApi {
139
139
  }
140
140
 
141
141
  /**
142
- * Returns details about a listings item for a selling partner. **Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
142
+ * Returns details about a listings item for a selling partner. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API documentation.
143
143
  * @param {String} sellerId A selling partner identifier, such as a merchant account or vendor code.
144
144
  * @param {String} sku A selling partner provided identifier for an Amazon listing.
145
145
  * @param {Array.<String>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
@@ -193,7 +193,7 @@ export class ListingsApi {
193
193
  }
194
194
 
195
195
  /**
196
- * Returns details about a listings item for a selling partner. **Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
196
+ * Returns details about a listings item for a selling partner. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API documentation.
197
197
  * @param {String} sellerId A selling partner identifier, such as a merchant account or vendor code.
198
198
  * @param {String} sku A selling partner provided identifier for an Amazon listing.
199
199
  * @param {Array.<String>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
@@ -210,7 +210,7 @@ export class ListingsApi {
210
210
  }
211
211
 
212
212
  /**
213
- * Partially update (patch) a listings item for a selling partner. Only top-level listings item attributes can be patched. Patching nested attributes is not supported. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API documentation.
213
+ * Partially update (patch) a listings item for a selling partner. Only top-level listings item attributes can be patched. Patching nested attributes is not supported. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API documentation.
214
214
  * @param {String} sellerId A selling partner identifier, such as a merchant account or vendor code.
215
215
  * @param {String} sku A selling partner provided identifier for an Amazon listing.
216
216
  * @param {Array.<String>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
@@ -272,7 +272,7 @@ export class ListingsApi {
272
272
  }
273
273
 
274
274
  /**
275
- * Partially update (patch) a listings item for a selling partner. Only top-level listings item attributes can be patched. Patching nested attributes is not supported. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can receive higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API documentation.
275
+ * Partially update (patch) a listings item for a selling partner. Only top-level listings item attributes can be patched. Patching nested attributes is not supported. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 5 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API documentation.
276
276
  * @param {String} sellerId A selling partner identifier, such as a merchant account or vendor code.
277
277
  * @param {String} sku A selling partner provided identifier for an Amazon listing.
278
278
  * @param {Array.<String>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
@@ -291,7 +291,7 @@ export class ListingsApi {
291
291
  }
292
292
 
293
293
  /**
294
- * Creates or fully updates an existing listings item for a selling partner. **Note:** This operation has a throttling rate of one request per second when &#x60;mode&#x60; is &#x60;VALIDATION_PREVIEW&#x60;. **Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
294
+ * Creates a new or fully-updates an existing listings item for a selling partner. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API documentation.
295
295
  * @param {String} sellerId A selling partner identifier, such as a merchant account or vendor code.
296
296
  * @param {String} sku A selling partner provided identifier for an Amazon listing.
297
297
  * @param {Array.<String>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
@@ -353,7 +353,7 @@ export class ListingsApi {
353
353
  }
354
354
 
355
355
  /**
356
- * Creates or fully updates an existing listings item for a selling partner. **Note:** This operation has a throttling rate of one request per second when &#x60;mode&#x60; is &#x60;VALIDATION_PREVIEW&#x60;. **Note:** The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
356
+ * Creates a new or fully-updates an existing listings item for a selling partner. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | The &#x60;x-amzn-RateLimit-Limit&#x60; response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API documentation.
357
357
  * @param {String} sellerId A selling partner identifier, such as a merchant account or vendor code.
358
358
  * @param {String} sku A selling partner provided identifier for an Amazon listing.
359
359
  * @param {Array.<String>} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request.
@@ -24,7 +24,7 @@ export class FulfillmentAvailability {
24
24
  * The fulfillment availability details for the listings item.
25
25
  * @alias module:listingsitems_v2021_08_01/model/FulfillmentAvailability
26
26
  * @class
27
- * @param fulfillmentChannelCode {String} The code of the fulfillment network that will be used.
27
+ * @param fulfillmentChannelCode {String} Designates which fulfillment network is used.
28
28
  */
29
29
  constructor (fulfillmentChannelCode) {
30
30
  this.fulfillmentChannelCode = fulfillmentChannelCode
@@ -59,7 +59,7 @@ export class FulfillmentAvailability {
59
59
  }
60
60
 
61
61
  /**
62
- * The code of the fulfillment network that will be used.
62
+ * Designates which fulfillment network is used.
63
63
  * @member {String} fulfillmentChannelCode
64
64
  */
65
65
  FulfillmentAvailability.prototype.fulfillmentChannelCode = undefined
@@ -28,7 +28,7 @@ export class Issue {
28
28
  * @param code {String} An issue code that identifies the type of issue.
29
29
  * @param message {String} A message that describes the issue.
30
30
  * @param severity {module:listingsitems_v2021_08_01/model/Issue.SeverityEnum} The severity of the issue.
31
- * @param categories {Array.<String>} List of issue categories. Possible vales: * `INVALID_ATTRIBUTE` - Indicating an invalid attribute in the listing. * `MISSING_ATTRIBUTE` - Highlighting a missing attribute in the listing. * `INVALID_IMAGE` - Signifying an invalid image in the listing. * `MISSING_IMAGE` - Noting the absence of an image in the listing. * `INVALID_PRICE` - Pertaining to issues with the listing's price-related attributes. * `MISSING_PRICE` - Pointing out the absence of a price attribute in the listing. * `DUPLICATE` - Identifying listings with potential duplicate problems, such as this ASIN potentially being a duplicate of another ASIN. * `QUALIFICATION_REQUIRED` - Indicating that the listing requires qualification-related approval.
31
+ * @param categories {Array.<String>} List of issue categories. Possible values: * 'INVALID_ATTRIBUTE' - Indicating an invalid attribute in the listing. * 'MISSING_ATTRIBUTE' - Highlighting a missing attribute in the listing. * 'INVALID_IMAGE' - Signifying an invalid image in the listing. * 'MISSING_IMAGE' - Noting the absence of an image in the listing. * 'INVALID_PRICE' - Pertaining to issues with the listing's price-related attributes. * 'MISSING_PRICE' - Pointing out the absence of a price attribute in the listing. * 'DUPLICATE' - Identifying listings with potential duplicate problems, such as this ASIN potentially being a duplicate of another ASIN. * 'QUALIFICATION_REQUIRED' - Indicating that the listing requires qualification-related approval.
32
32
  */
33
33
  constructor (code, message, severity, categories) {
34
34
  this.code = code
@@ -120,7 +120,7 @@ Issue.prototype.severity = undefined
120
120
  Issue.prototype.attributeNames = undefined
121
121
 
122
122
  /**
123
- * List of issue categories. Possible vales: * `INVALID_ATTRIBUTE` - Indicating an invalid attribute in the listing. * `MISSING_ATTRIBUTE` - Highlighting a missing attribute in the listing. * `INVALID_IMAGE` - Signifying an invalid image in the listing. * `MISSING_IMAGE` - Noting the absence of an image in the listing. * `INVALID_PRICE` - Pertaining to issues with the listing's price-related attributes. * `MISSING_PRICE` - Pointing out the absence of a price attribute in the listing. * `DUPLICATE` - Identifying listings with potential duplicate problems, such as this ASIN potentially being a duplicate of another ASIN. * `QUALIFICATION_REQUIRED` - Indicating that the listing requires qualification-related approval.
123
+ * List of issue categories. Possible values: * 'INVALID_ATTRIBUTE' - Indicating an invalid attribute in the listing. * 'MISSING_ATTRIBUTE' - Highlighting a missing attribute in the listing. * 'INVALID_IMAGE' - Signifying an invalid image in the listing. * 'MISSING_IMAGE' - Noting the absence of an image in the listing. * 'INVALID_PRICE' - Pertaining to issues with the listing's price-related attributes. * 'MISSING_PRICE' - Pointing out the absence of a price attribute in the listing. * 'DUPLICATE' - Identifying listings with potential duplicate problems, such as this ASIN potentially being a duplicate of another ASIN. * 'QUALIFICATION_REQUIRED' - Indicating that the listing requires qualification-related approval.
124
124
  * @member {Array.<String>} categories
125
125
  */
126
126
  Issue.prototype.categories = undefined
@@ -91,7 +91,7 @@ IssueExemption.StatusEnum = {
91
91
  IssueExemption.prototype.status = undefined
92
92
 
93
93
  /**
94
- * This field represents the timestamp, following the ISO 8601 format, which specifies the date when temporary exemptions, if applicable, will expire, and Amazon will begin enforcing the listed actions.
94
+ * Represents the timestamp, in ISO 8601 format, that specifies the date when the temporary exemptions expires, and Amazon begins enforcing the listed actions.
95
95
  * @member {Date} expiryDate
96
96
  */
97
97
  IssueExemption.prototype.expiryDate = undefined
@@ -22,7 +22,7 @@ import { ItemVariationTheme } from './ItemVariationTheme.js'
22
22
  export class ItemRelationship {
23
23
  /**
24
24
  * Constructs a new <code>ItemRelationship</code>.
25
- * the relationship details for a listing item.
25
+ * The relationship details for a listing item.
26
26
  * @alias module:listingsitems_v2021_08_01/model/ItemRelationship
27
27
  * @class
28
28
  * @param type {module:listingsitems_v2021_08_01/model/ItemRelationship.TypeEnum} The type of relationship.