@sp-api-sdk/orders-api-v0 4.0.0 → 4.1.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 (239) hide show
  1. package/README.md +4 -2
  2. package/dist/cjs/api-model/api/{orders-api.js → orders-v0-api.js} +67 -107
  3. package/dist/cjs/api-model/api.js +2 -2
  4. package/dist/cjs/api-model/base.js +1 -1
  5. package/dist/cjs/api-model/common.js +1 -1
  6. package/dist/cjs/api-model/configuration.js +2 -3
  7. package/dist/cjs/api-model/index.js +1 -1
  8. package/dist/cjs/api-model/models/address-extended-fields.js +1 -1
  9. package/dist/cjs/api-model/models/address.js +1 -1
  10. package/dist/cjs/api-model/models/amazon-programs.js +1 -1
  11. package/dist/cjs/api-model/models/associated-item.js +1 -1
  12. package/dist/cjs/api-model/models/association-type.js +1 -1
  13. package/dist/cjs/api-model/models/automated-shipping-settings.js +1 -1
  14. package/dist/cjs/api-model/models/business-hours.js +1 -1
  15. package/dist/cjs/api-model/models/buyer-customized-info-detail.js +1 -1
  16. package/dist/cjs/api-model/models/buyer-info.js +1 -1
  17. package/dist/cjs/api-model/models/buyer-requested-cancel.js +1 -1
  18. package/dist/cjs/api-model/models/buyer-tax-info.js +1 -1
  19. package/dist/cjs/api-model/models/buyer-tax-information.js +1 -1
  20. package/dist/cjs/api-model/models/confirm-shipment-error-response.js +1 -1
  21. package/dist/cjs/api-model/models/confirm-shipment-order-item.js +1 -1
  22. package/dist/cjs/api-model/models/confirm-shipment-request.js +1 -1
  23. package/dist/cjs/api-model/models/constraint-type.js +1 -1
  24. package/dist/cjs/api-model/models/delivery-preferences.js +1 -1
  25. package/dist/cjs/api-model/models/easy-ship-shipment-status.js +1 -1
  26. package/dist/cjs/api-model/models/electronic-invoice-status.js +1 -1
  27. package/dist/cjs/api-model/models/exception-dates.js +1 -1
  28. package/dist/cjs/api-model/models/export-info.js +15 -0
  29. package/dist/cjs/api-model/models/fulfillment-instruction.js +1 -1
  30. package/dist/cjs/api-model/models/get-order-address-response.js +1 -1
  31. package/dist/cjs/api-model/models/get-order-buyer-info-response.js +1 -1
  32. package/dist/cjs/api-model/models/get-order-items-buyer-info-response.js +1 -1
  33. package/dist/cjs/api-model/models/get-order-items-response.js +1 -1
  34. package/dist/cjs/api-model/models/get-order-regulated-info-response.js +1 -1
  35. package/dist/cjs/api-model/models/get-order-response.js +1 -1
  36. package/dist/cjs/api-model/models/get-orders-response.js +1 -1
  37. package/dist/cjs/api-model/models/index.js +1 -0
  38. package/dist/cjs/api-model/models/item-buyer-info.js +1 -1
  39. package/dist/cjs/api-model/models/marketplace-tax-info.js +1 -1
  40. package/dist/cjs/api-model/models/measurement.js +1 -1
  41. package/dist/cjs/api-model/models/model-error.js +1 -1
  42. package/dist/cjs/api-model/models/money.js +1 -1
  43. package/dist/cjs/api-model/models/open-interval.js +1 -1
  44. package/dist/cjs/api-model/models/open-time-interval.js +1 -1
  45. package/dist/cjs/api-model/models/order-address.js +1 -1
  46. package/dist/cjs/api-model/models/order-buyer-info.js +1 -1
  47. package/dist/cjs/api-model/models/order-item-buyer-info.js +1 -1
  48. package/dist/cjs/api-model/models/order-item.js +1 -1
  49. package/dist/cjs/api-model/models/order-items-buyer-info-list.js +1 -1
  50. package/dist/cjs/api-model/models/order-items-inner.js +1 -1
  51. package/dist/cjs/api-model/models/order-items-list.js +1 -1
  52. package/dist/cjs/api-model/models/order-regulated-info.js +1 -1
  53. package/dist/cjs/api-model/models/order.js +1 -1
  54. package/dist/cjs/api-model/models/orders-list.js +1 -1
  55. package/dist/cjs/api-model/models/other-delivery-attributes.js +1 -1
  56. package/dist/cjs/api-model/models/package-detail.js +1 -1
  57. package/dist/cjs/api-model/models/payment-execution-detail-item.js +1 -1
  58. package/dist/cjs/api-model/models/points-granted-detail.js +1 -1
  59. package/dist/cjs/api-model/models/preferred-delivery-time.js +1 -1
  60. package/dist/cjs/api-model/models/prescription-detail.js +1 -1
  61. package/dist/cjs/api-model/models/product-info-detail.js +1 -1
  62. package/dist/cjs/api-model/models/regulated-information-field.js +1 -1
  63. package/dist/cjs/api-model/models/regulated-information.js +1 -1
  64. package/dist/cjs/api-model/models/regulated-order-verification-status.js +1 -1
  65. package/dist/cjs/api-model/models/rejection-reason.js +1 -1
  66. package/dist/cjs/api-model/models/shipment-status.js +1 -1
  67. package/dist/cjs/api-model/models/shipping-constraints.js +1 -1
  68. package/dist/cjs/api-model/models/substitution-option.js +1 -1
  69. package/dist/cjs/api-model/models/substitution-preferences.js +1 -1
  70. package/dist/cjs/api-model/models/tax-classification.js +1 -1
  71. package/dist/cjs/api-model/models/tax-collection.js +1 -1
  72. package/dist/cjs/api-model/models/update-shipment-status-error-response.js +1 -1
  73. package/dist/cjs/api-model/models/update-shipment-status-request.js +1 -1
  74. package/dist/cjs/api-model/models/update-verification-status-error-response.js +1 -1
  75. package/dist/cjs/api-model/models/update-verification-status-request-body.js +1 -1
  76. package/dist/cjs/api-model/models/update-verification-status-request.js +1 -1
  77. package/dist/cjs/api-model/models/valid-verification-detail.js +1 -1
  78. package/dist/cjs/api-model/models/verification-details.js +1 -1
  79. package/dist/cjs/api-model/models/verification-status.js +1 -1
  80. package/dist/cjs/client.js +1 -1
  81. package/dist/es/api-model/api/{orders-api.js → orders-v0-api.js} +62 -102
  82. package/dist/es/api-model/api.js +2 -2
  83. package/dist/es/api-model/base.js +1 -1
  84. package/dist/es/api-model/common.js +1 -1
  85. package/dist/es/api-model/configuration.js +2 -3
  86. package/dist/es/api-model/index.js +1 -1
  87. package/dist/es/api-model/models/address-extended-fields.js +1 -1
  88. package/dist/es/api-model/models/address.js +1 -1
  89. package/dist/es/api-model/models/amazon-programs.js +1 -1
  90. package/dist/es/api-model/models/associated-item.js +1 -1
  91. package/dist/es/api-model/models/association-type.js +1 -1
  92. package/dist/es/api-model/models/automated-shipping-settings.js +1 -1
  93. package/dist/es/api-model/models/business-hours.js +1 -1
  94. package/dist/es/api-model/models/buyer-customized-info-detail.js +1 -1
  95. package/dist/es/api-model/models/buyer-info.js +1 -1
  96. package/dist/es/api-model/models/buyer-requested-cancel.js +1 -1
  97. package/dist/es/api-model/models/buyer-tax-info.js +1 -1
  98. package/dist/es/api-model/models/buyer-tax-information.js +1 -1
  99. package/dist/es/api-model/models/confirm-shipment-error-response.js +1 -1
  100. package/dist/es/api-model/models/confirm-shipment-order-item.js +1 -1
  101. package/dist/es/api-model/models/confirm-shipment-request.js +1 -1
  102. package/dist/es/api-model/models/constraint-type.js +1 -1
  103. package/dist/es/api-model/models/delivery-preferences.js +1 -1
  104. package/dist/es/api-model/models/easy-ship-shipment-status.js +1 -1
  105. package/dist/es/api-model/models/electronic-invoice-status.js +1 -1
  106. package/dist/es/api-model/models/exception-dates.js +1 -1
  107. package/dist/es/api-model/models/export-info.js +14 -0
  108. package/dist/es/api-model/models/fulfillment-instruction.js +1 -1
  109. package/dist/es/api-model/models/get-order-address-response.js +1 -1
  110. package/dist/es/api-model/models/get-order-buyer-info-response.js +1 -1
  111. package/dist/es/api-model/models/get-order-items-buyer-info-response.js +1 -1
  112. package/dist/es/api-model/models/get-order-items-response.js +1 -1
  113. package/dist/es/api-model/models/get-order-regulated-info-response.js +1 -1
  114. package/dist/es/api-model/models/get-order-response.js +1 -1
  115. package/dist/es/api-model/models/get-orders-response.js +1 -1
  116. package/dist/es/api-model/models/index.js +1 -0
  117. package/dist/es/api-model/models/item-buyer-info.js +1 -1
  118. package/dist/es/api-model/models/marketplace-tax-info.js +1 -1
  119. package/dist/es/api-model/models/measurement.js +1 -1
  120. package/dist/es/api-model/models/model-error.js +1 -1
  121. package/dist/es/api-model/models/money.js +1 -1
  122. package/dist/es/api-model/models/open-interval.js +1 -1
  123. package/dist/es/api-model/models/open-time-interval.js +1 -1
  124. package/dist/es/api-model/models/order-address.js +1 -1
  125. package/dist/es/api-model/models/order-buyer-info.js +1 -1
  126. package/dist/es/api-model/models/order-item-buyer-info.js +1 -1
  127. package/dist/es/api-model/models/order-item.js +1 -1
  128. package/dist/es/api-model/models/order-items-buyer-info-list.js +1 -1
  129. package/dist/es/api-model/models/order-items-inner.js +1 -1
  130. package/dist/es/api-model/models/order-items-list.js +1 -1
  131. package/dist/es/api-model/models/order-regulated-info.js +1 -1
  132. package/dist/es/api-model/models/order.js +1 -1
  133. package/dist/es/api-model/models/orders-list.js +1 -1
  134. package/dist/es/api-model/models/other-delivery-attributes.js +1 -1
  135. package/dist/es/api-model/models/package-detail.js +1 -1
  136. package/dist/es/api-model/models/payment-execution-detail-item.js +1 -1
  137. package/dist/es/api-model/models/points-granted-detail.js +1 -1
  138. package/dist/es/api-model/models/preferred-delivery-time.js +1 -1
  139. package/dist/es/api-model/models/prescription-detail.js +1 -1
  140. package/dist/es/api-model/models/product-info-detail.js +1 -1
  141. package/dist/es/api-model/models/regulated-information-field.js +1 -1
  142. package/dist/es/api-model/models/regulated-information.js +1 -1
  143. package/dist/es/api-model/models/regulated-order-verification-status.js +1 -1
  144. package/dist/es/api-model/models/rejection-reason.js +1 -1
  145. package/dist/es/api-model/models/shipment-status.js +1 -1
  146. package/dist/es/api-model/models/shipping-constraints.js +1 -1
  147. package/dist/es/api-model/models/substitution-option.js +1 -1
  148. package/dist/es/api-model/models/substitution-preferences.js +1 -1
  149. package/dist/es/api-model/models/tax-classification.js +1 -1
  150. package/dist/es/api-model/models/tax-collection.js +1 -1
  151. package/dist/es/api-model/models/update-shipment-status-error-response.js +1 -1
  152. package/dist/es/api-model/models/update-shipment-status-request.js +1 -1
  153. package/dist/es/api-model/models/update-verification-status-error-response.js +1 -1
  154. package/dist/es/api-model/models/update-verification-status-request-body.js +1 -1
  155. package/dist/es/api-model/models/update-verification-status-request.js +1 -1
  156. package/dist/es/api-model/models/valid-verification-detail.js +1 -1
  157. package/dist/es/api-model/models/verification-details.js +1 -1
  158. package/dist/es/api-model/models/verification-status.js +1 -1
  159. package/dist/es/client.js +2 -2
  160. package/dist/types/api-model/api/{orders-api.d.ts → orders-v0-api.d.ts} +126 -166
  161. package/dist/types/api-model/api.d.ts +2 -2
  162. package/dist/types/api-model/base.d.ts +1 -1
  163. package/dist/types/api-model/common.d.ts +2 -2
  164. package/dist/types/api-model/configuration.d.ts +1 -1
  165. package/dist/types/api-model/index.d.ts +1 -1
  166. package/dist/types/api-model/models/address-extended-fields.d.ts +1 -1
  167. package/dist/types/api-model/models/address.d.ts +1 -1
  168. package/dist/types/api-model/models/amazon-programs.d.ts +1 -1
  169. package/dist/types/api-model/models/associated-item.d.ts +1 -1
  170. package/dist/types/api-model/models/association-type.d.ts +1 -1
  171. package/dist/types/api-model/models/automated-shipping-settings.d.ts +1 -1
  172. package/dist/types/api-model/models/business-hours.d.ts +1 -1
  173. package/dist/types/api-model/models/buyer-customized-info-detail.d.ts +1 -1
  174. package/dist/types/api-model/models/buyer-info.d.ts +1 -1
  175. package/dist/types/api-model/models/buyer-requested-cancel.d.ts +1 -1
  176. package/dist/types/api-model/models/buyer-tax-info.d.ts +1 -1
  177. package/dist/types/api-model/models/buyer-tax-information.d.ts +1 -1
  178. package/dist/types/api-model/models/confirm-shipment-error-response.d.ts +1 -1
  179. package/dist/types/api-model/models/confirm-shipment-order-item.d.ts +1 -1
  180. package/dist/types/api-model/models/confirm-shipment-request.d.ts +1 -1
  181. package/dist/types/api-model/models/constraint-type.d.ts +1 -1
  182. package/dist/types/api-model/models/delivery-preferences.d.ts +1 -1
  183. package/dist/types/api-model/models/easy-ship-shipment-status.d.ts +1 -1
  184. package/dist/types/api-model/models/electronic-invoice-status.d.ts +1 -1
  185. package/dist/types/api-model/models/exception-dates.d.ts +1 -1
  186. package/dist/types/api-model/models/export-info.d.ts +31 -0
  187. package/dist/types/api-model/models/fulfillment-instruction.d.ts +1 -1
  188. package/dist/types/api-model/models/get-order-address-response.d.ts +1 -1
  189. package/dist/types/api-model/models/get-order-buyer-info-response.d.ts +1 -1
  190. package/dist/types/api-model/models/get-order-items-buyer-info-response.d.ts +1 -1
  191. package/dist/types/api-model/models/get-order-items-response.d.ts +1 -1
  192. package/dist/types/api-model/models/get-order-regulated-info-response.d.ts +1 -1
  193. package/dist/types/api-model/models/get-order-response.d.ts +1 -1
  194. package/dist/types/api-model/models/get-orders-response.d.ts +1 -1
  195. package/dist/types/api-model/models/index.d.ts +1 -0
  196. package/dist/types/api-model/models/item-buyer-info.d.ts +1 -1
  197. package/dist/types/api-model/models/marketplace-tax-info.d.ts +1 -1
  198. package/dist/types/api-model/models/measurement.d.ts +1 -1
  199. package/dist/types/api-model/models/model-error.d.ts +1 -1
  200. package/dist/types/api-model/models/money.d.ts +1 -1
  201. package/dist/types/api-model/models/open-interval.d.ts +1 -1
  202. package/dist/types/api-model/models/open-time-interval.d.ts +1 -1
  203. package/dist/types/api-model/models/order-address.d.ts +1 -1
  204. package/dist/types/api-model/models/order-buyer-info.d.ts +1 -1
  205. package/dist/types/api-model/models/order-item-buyer-info.d.ts +1 -1
  206. package/dist/types/api-model/models/order-item.d.ts +8 -1
  207. package/dist/types/api-model/models/order-items-buyer-info-list.d.ts +1 -1
  208. package/dist/types/api-model/models/order-items-inner.d.ts +1 -1
  209. package/dist/types/api-model/models/order-items-list.d.ts +1 -1
  210. package/dist/types/api-model/models/order-regulated-info.d.ts +1 -1
  211. package/dist/types/api-model/models/order.d.ts +1 -1
  212. package/dist/types/api-model/models/orders-list.d.ts +1 -1
  213. package/dist/types/api-model/models/other-delivery-attributes.d.ts +1 -1
  214. package/dist/types/api-model/models/package-detail.d.ts +1 -1
  215. package/dist/types/api-model/models/payment-execution-detail-item.d.ts +1 -1
  216. package/dist/types/api-model/models/points-granted-detail.d.ts +1 -1
  217. package/dist/types/api-model/models/preferred-delivery-time.d.ts +1 -1
  218. package/dist/types/api-model/models/prescription-detail.d.ts +1 -1
  219. package/dist/types/api-model/models/product-info-detail.d.ts +1 -1
  220. package/dist/types/api-model/models/regulated-information-field.d.ts +1 -1
  221. package/dist/types/api-model/models/regulated-information.d.ts +1 -1
  222. package/dist/types/api-model/models/regulated-order-verification-status.d.ts +1 -1
  223. package/dist/types/api-model/models/rejection-reason.d.ts +1 -1
  224. package/dist/types/api-model/models/shipment-status.d.ts +1 -1
  225. package/dist/types/api-model/models/shipping-constraints.d.ts +1 -1
  226. package/dist/types/api-model/models/substitution-option.d.ts +1 -1
  227. package/dist/types/api-model/models/substitution-preferences.d.ts +1 -1
  228. package/dist/types/api-model/models/tax-classification.d.ts +1 -1
  229. package/dist/types/api-model/models/tax-collection.d.ts +1 -1
  230. package/dist/types/api-model/models/update-shipment-status-error-response.d.ts +1 -1
  231. package/dist/types/api-model/models/update-shipment-status-request.d.ts +1 -1
  232. package/dist/types/api-model/models/update-verification-status-error-response.d.ts +1 -1
  233. package/dist/types/api-model/models/update-verification-status-request-body.d.ts +1 -1
  234. package/dist/types/api-model/models/update-verification-status-request.d.ts +1 -1
  235. package/dist/types/api-model/models/valid-verification-detail.d.ts +1 -1
  236. package/dist/types/api-model/models/verification-details.d.ts +1 -1
  237. package/dist/types/api-model/models/verification-status.d.ts +1 -1
  238. package/dist/types/client.d.ts +2 -2
  239. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders v0
4
+ * Selling Partner API for Orders
5
5
  * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
6
  *
7
7
  * The version of the OpenAPI document: v0
@@ -18,14 +18,13 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeed
18
18
  // @ts-ignore
19
19
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, operationServerMap } from '../base';
20
20
  /**
21
- * OrdersApi - axios parameter creator
21
+ * OrdersV0Api - axios parameter creator
22
22
  * @export
23
23
  */
24
- export const OrdersApiAxiosParamCreator = function (configuration) {
24
+ export const OrdersV0ApiAxiosParamCreator = function (configuration) {
25
25
  return {
26
26
  /**
27
27
  * Updates the shipment confirmation status for a specified order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
28
- * @summary confirmShipment
29
28
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
30
29
  * @param {ConfirmShipmentRequest} payload Request body of `confirmShipment`.
31
30
  * @param {*} [options] Override http request option.
@@ -59,7 +58,6 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
59
58
  },
60
59
  /**
61
60
  * Returns the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
62
- * @summary getOrder
63
61
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
64
62
  * @param {*} [options] Override http request option.
65
63
  * @throws {RequiredError}
@@ -88,7 +86,6 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
88
86
  },
89
87
  /**
90
88
  * Returns the shipping address for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
91
- * @summary getOrderAddress
92
89
  * @param {string} orderId An `orderId` is an Amazon-defined order identifier, in 3-7-7 format.
93
90
  * @param {*} [options] Override http request option.
94
91
  * @throws {RequiredError}
@@ -117,7 +114,6 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
117
114
  },
118
115
  /**
119
116
  * Returns buyer information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
120
- * @summary getOrderBuyerInfo
121
117
  * @param {string} orderId An `orderId` is an Amazon-defined order identifier, in 3-7-7 format.
122
118
  * @param {*} [options] Override http request option.
123
119
  * @throws {RequiredError}
@@ -146,7 +142,6 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
146
142
  },
147
143
  /**
148
144
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
149
- * @summary getOrderItems
150
145
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
151
146
  * @param {string} [nextToken] A string token returned in the response of your previous request.
152
147
  * @param {*} [options] Override http request option.
@@ -179,7 +174,6 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
179
174
  },
180
175
  /**
181
176
  * Returns buyer information for the order items in the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
182
- * @summary getOrderItemsBuyerInfo
183
177
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
184
178
  * @param {string} [nextToken] A string token returned in the response of your previous request.
185
179
  * @param {*} [options] Override http request option.
@@ -212,7 +206,6 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
212
206
  },
213
207
  /**
214
208
  * Returns regulated information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
215
- * @summary getOrderRegulatedInfo
216
209
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
217
210
  * @param {*} [options] Override http request option.
218
211
  * @throws {RequiredError}
@@ -241,7 +234,6 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
241
234
  },
242
235
  /**
243
236
  * Returns orders that are created or updated during the specified time period. If you want to return specific types of orders, you can apply filters to your request. `NextToken` doesn\'t affect any filters that you include in your request; it only impacts the pagination for the filtered orders response. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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.
244
- * @summary getOrders
245
237
  * @param {Array<string>} marketplaceIds A list of &#x60;MarketplaceId&#x60; values. Used to select orders that were placed in the specified marketplaces. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of &#x60;marketplaceId&#x60; values.
246
238
  * @param {string} [createdAfter] Use this date to select orders created after (or at) a specified time. Only orders placed after the specified time are returned. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: Either the &#x60;CreatedAfter&#x60; parameter or the &#x60;LastUpdatedAfter&#x60; parameter is required. Both cannot be empty. &#x60;LastUpdatedAfter&#x60; and &#x60;LastUpdatedBefore&#x60; cannot be set when &#x60;CreatedAfter&#x60; is set.
247
239
  * @param {string} [createdBefore] Use this date to select orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: &#x60;CreatedBefore&#x60; is optional when &#x60;CreatedAfter&#x60; is set. If specified, &#x60;CreatedBefore&#x60; must be equal to or after the &#x60;CreatedAfter&#x60; date and at least two minutes before current time.
@@ -356,7 +348,6 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
356
348
  },
357
349
  /**
358
350
  * Update the shipment status for an order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
359
- * @summary updateShipmentStatus
360
351
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
361
352
  * @param {UpdateShipmentStatusRequest} payload The request body for the &#x60;updateShipmentStatus&#x60; operation.
362
353
  * @param {*} [options] Override http request option.
@@ -390,7 +381,6 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
390
381
  },
391
382
  /**
392
383
  * Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
393
- * @summary updateVerificationStatus
394
384
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
395
385
  * @param {UpdateVerificationStatusRequest} payload The request body for the &#x60;updateVerificationStatus&#x60; operation.
396
386
  * @param {*} [options] Override http request option.
@@ -425,15 +415,14 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
425
415
  };
426
416
  };
427
417
  /**
428
- * OrdersApi - functional programming interface
418
+ * OrdersV0Api - functional programming interface
429
419
  * @export
430
420
  */
431
- export const OrdersApiFp = function (configuration) {
432
- const localVarAxiosParamCreator = OrdersApiAxiosParamCreator(configuration);
421
+ export const OrdersV0ApiFp = function (configuration) {
422
+ const localVarAxiosParamCreator = OrdersV0ApiAxiosParamCreator(configuration);
433
423
  return {
434
424
  /**
435
425
  * Updates the shipment confirmation status for a specified order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
436
- * @summary confirmShipment
437
426
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
438
427
  * @param {ConfirmShipmentRequest} payload Request body of &#x60;confirmShipment&#x60;.
439
428
  * @param {*} [options] Override http request option.
@@ -442,12 +431,11 @@ export const OrdersApiFp = function (configuration) {
442
431
  async confirmShipment(orderId, payload, options) {
443
432
  const localVarAxiosArgs = await localVarAxiosParamCreator.confirmShipment(orderId, payload, options);
444
433
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
445
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.confirmShipment']?.[localVarOperationServerIndex]?.url;
434
+ const localVarOperationServerBasePath = operationServerMap['OrdersV0Api.confirmShipment']?.[localVarOperationServerIndex]?.url;
446
435
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
447
436
  },
448
437
  /**
449
438
  * Returns the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
450
- * @summary getOrder
451
439
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
452
440
  * @param {*} [options] Override http request option.
453
441
  * @throws {RequiredError}
@@ -455,12 +443,11 @@ export const OrdersApiFp = function (configuration) {
455
443
  async getOrder(orderId, options) {
456
444
  const localVarAxiosArgs = await localVarAxiosParamCreator.getOrder(orderId, options);
457
445
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
458
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getOrder']?.[localVarOperationServerIndex]?.url;
446
+ const localVarOperationServerBasePath = operationServerMap['OrdersV0Api.getOrder']?.[localVarOperationServerIndex]?.url;
459
447
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
460
448
  },
461
449
  /**
462
450
  * Returns the shipping address for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
463
- * @summary getOrderAddress
464
451
  * @param {string} orderId An &#x60;orderId&#x60; is an Amazon-defined order identifier, in 3-7-7 format.
465
452
  * @param {*} [options] Override http request option.
466
453
  * @throws {RequiredError}
@@ -468,12 +455,11 @@ export const OrdersApiFp = function (configuration) {
468
455
  async getOrderAddress(orderId, options) {
469
456
  const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderAddress(orderId, options);
470
457
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
471
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getOrderAddress']?.[localVarOperationServerIndex]?.url;
458
+ const localVarOperationServerBasePath = operationServerMap['OrdersV0Api.getOrderAddress']?.[localVarOperationServerIndex]?.url;
472
459
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
473
460
  },
474
461
  /**
475
462
  * Returns buyer information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
476
- * @summary getOrderBuyerInfo
477
463
  * @param {string} orderId An &#x60;orderId&#x60; is an Amazon-defined order identifier, in 3-7-7 format.
478
464
  * @param {*} [options] Override http request option.
479
465
  * @throws {RequiredError}
@@ -481,12 +467,11 @@ export const OrdersApiFp = function (configuration) {
481
467
  async getOrderBuyerInfo(orderId, options) {
482
468
  const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderBuyerInfo(orderId, options);
483
469
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
484
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getOrderBuyerInfo']?.[localVarOperationServerIndex]?.url;
470
+ const localVarOperationServerBasePath = operationServerMap['OrdersV0Api.getOrderBuyerInfo']?.[localVarOperationServerIndex]?.url;
485
471
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
486
472
  },
487
473
  /**
488
474
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
489
- * @summary getOrderItems
490
475
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
491
476
  * @param {string} [nextToken] A string token returned in the response of your previous request.
492
477
  * @param {*} [options] Override http request option.
@@ -495,12 +480,11 @@ export const OrdersApiFp = function (configuration) {
495
480
  async getOrderItems(orderId, nextToken, options) {
496
481
  const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderItems(orderId, nextToken, options);
497
482
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
498
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getOrderItems']?.[localVarOperationServerIndex]?.url;
483
+ const localVarOperationServerBasePath = operationServerMap['OrdersV0Api.getOrderItems']?.[localVarOperationServerIndex]?.url;
499
484
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
500
485
  },
501
486
  /**
502
487
  * Returns buyer information for the order items in the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
503
- * @summary getOrderItemsBuyerInfo
504
488
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
505
489
  * @param {string} [nextToken] A string token returned in the response of your previous request.
506
490
  * @param {*} [options] Override http request option.
@@ -509,12 +493,11 @@ export const OrdersApiFp = function (configuration) {
509
493
  async getOrderItemsBuyerInfo(orderId, nextToken, options) {
510
494
  const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderItemsBuyerInfo(orderId, nextToken, options);
511
495
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
512
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getOrderItemsBuyerInfo']?.[localVarOperationServerIndex]?.url;
496
+ const localVarOperationServerBasePath = operationServerMap['OrdersV0Api.getOrderItemsBuyerInfo']?.[localVarOperationServerIndex]?.url;
513
497
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
514
498
  },
515
499
  /**
516
500
  * Returns regulated information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
517
- * @summary getOrderRegulatedInfo
518
501
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
519
502
  * @param {*} [options] Override http request option.
520
503
  * @throws {RequiredError}
@@ -522,12 +505,11 @@ export const OrdersApiFp = function (configuration) {
522
505
  async getOrderRegulatedInfo(orderId, options) {
523
506
  const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderRegulatedInfo(orderId, options);
524
507
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
525
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getOrderRegulatedInfo']?.[localVarOperationServerIndex]?.url;
508
+ const localVarOperationServerBasePath = operationServerMap['OrdersV0Api.getOrderRegulatedInfo']?.[localVarOperationServerIndex]?.url;
526
509
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
527
510
  },
528
511
  /**
529
512
  * Returns orders that are created or updated during the specified time period. If you want to return specific types of orders, you can apply filters to your request. `NextToken` doesn\'t affect any filters that you include in your request; it only impacts the pagination for the filtered orders response. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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.
530
- * @summary getOrders
531
513
  * @param {Array<string>} marketplaceIds A list of &#x60;MarketplaceId&#x60; values. Used to select orders that were placed in the specified marketplaces. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of &#x60;marketplaceId&#x60; values.
532
514
  * @param {string} [createdAfter] Use this date to select orders created after (or at) a specified time. Only orders placed after the specified time are returned. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: Either the &#x60;CreatedAfter&#x60; parameter or the &#x60;LastUpdatedAfter&#x60; parameter is required. Both cannot be empty. &#x60;LastUpdatedAfter&#x60; and &#x60;LastUpdatedBefore&#x60; cannot be set when &#x60;CreatedAfter&#x60; is set.
533
515
  * @param {string} [createdBefore] Use this date to select orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. **Note**: &#x60;CreatedBefore&#x60; is optional when &#x60;CreatedAfter&#x60; is set. If specified, &#x60;CreatedBefore&#x60; must be equal to or after the &#x60;CreatedAfter&#x60; date and at least two minutes before current time.
@@ -556,12 +538,11 @@ export const OrdersApiFp = function (configuration) {
556
538
  async getOrders(marketplaceIds, createdAfter, createdBefore, lastUpdatedAfter, lastUpdatedBefore, orderStatuses, fulfillmentChannels, paymentMethods, buyerEmail, sellerOrderId, maxResultsPerPage, easyShipShipmentStatuses, electronicInvoiceStatuses, nextToken, amazonOrderIds, actualFulfillmentSupplySourceId, isISPU, storeChainStoreId, earliestDeliveryDateBefore, earliestDeliveryDateAfter, latestDeliveryDateBefore, latestDeliveryDateAfter, options) {
557
539
  const localVarAxiosArgs = await localVarAxiosParamCreator.getOrders(marketplaceIds, createdAfter, createdBefore, lastUpdatedAfter, lastUpdatedBefore, orderStatuses, fulfillmentChannels, paymentMethods, buyerEmail, sellerOrderId, maxResultsPerPage, easyShipShipmentStatuses, electronicInvoiceStatuses, nextToken, amazonOrderIds, actualFulfillmentSupplySourceId, isISPU, storeChainStoreId, earliestDeliveryDateBefore, earliestDeliveryDateAfter, latestDeliveryDateBefore, latestDeliveryDateAfter, options);
558
540
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
559
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getOrders']?.[localVarOperationServerIndex]?.url;
541
+ const localVarOperationServerBasePath = operationServerMap['OrdersV0Api.getOrders']?.[localVarOperationServerIndex]?.url;
560
542
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
561
543
  },
562
544
  /**
563
545
  * Update the shipment status for an order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
564
- * @summary updateShipmentStatus
565
546
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
566
547
  * @param {UpdateShipmentStatusRequest} payload The request body for the &#x60;updateShipmentStatus&#x60; operation.
567
548
  * @param {*} [options] Override http request option.
@@ -570,12 +551,11 @@ export const OrdersApiFp = function (configuration) {
570
551
  async updateShipmentStatus(orderId, payload, options) {
571
552
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateShipmentStatus(orderId, payload, options);
572
553
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
573
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.updateShipmentStatus']?.[localVarOperationServerIndex]?.url;
554
+ const localVarOperationServerBasePath = operationServerMap['OrdersV0Api.updateShipmentStatus']?.[localVarOperationServerIndex]?.url;
574
555
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
575
556
  },
576
557
  /**
577
558
  * Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
578
- * @summary updateVerificationStatus
579
559
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
580
560
  * @param {UpdateVerificationStatusRequest} payload The request body for the &#x60;updateVerificationStatus&#x60; operation.
581
561
  * @param {*} [options] Override http request option.
@@ -584,22 +564,21 @@ export const OrdersApiFp = function (configuration) {
584
564
  async updateVerificationStatus(orderId, payload, options) {
585
565
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateVerificationStatus(orderId, payload, options);
586
566
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
587
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.updateVerificationStatus']?.[localVarOperationServerIndex]?.url;
567
+ const localVarOperationServerBasePath = operationServerMap['OrdersV0Api.updateVerificationStatus']?.[localVarOperationServerIndex]?.url;
588
568
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
589
569
  },
590
570
  };
591
571
  };
592
572
  /**
593
- * OrdersApi - factory interface
573
+ * OrdersV0Api - factory interface
594
574
  * @export
595
575
  */
596
- export const OrdersApiFactory = function (configuration, basePath, axios) {
597
- const localVarFp = OrdersApiFp(configuration);
576
+ export const OrdersV0ApiFactory = function (configuration, basePath, axios) {
577
+ const localVarFp = OrdersV0ApiFp(configuration);
598
578
  return {
599
579
  /**
600
580
  * Updates the shipment confirmation status for a specified order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
601
- * @summary confirmShipment
602
- * @param {OrdersApiConfirmShipmentRequest} requestParameters Request parameters.
581
+ * @param {OrdersV0ApiConfirmShipmentRequest} requestParameters Request parameters.
603
582
  * @param {*} [options] Override http request option.
604
583
  * @throws {RequiredError}
605
584
  */
@@ -608,8 +587,7 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
608
587
  },
609
588
  /**
610
589
  * Returns the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
611
- * @summary getOrder
612
- * @param {OrdersApiGetOrderRequest} requestParameters Request parameters.
590
+ * @param {OrdersV0ApiGetOrderRequest} requestParameters Request parameters.
613
591
  * @param {*} [options] Override http request option.
614
592
  * @throws {RequiredError}
615
593
  */
@@ -618,8 +596,7 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
618
596
  },
619
597
  /**
620
598
  * Returns the shipping address for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
621
- * @summary getOrderAddress
622
- * @param {OrdersApiGetOrderAddressRequest} requestParameters Request parameters.
599
+ * @param {OrdersV0ApiGetOrderAddressRequest} requestParameters Request parameters.
623
600
  * @param {*} [options] Override http request option.
624
601
  * @throws {RequiredError}
625
602
  */
@@ -628,8 +605,7 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
628
605
  },
629
606
  /**
630
607
  * Returns buyer information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
631
- * @summary getOrderBuyerInfo
632
- * @param {OrdersApiGetOrderBuyerInfoRequest} requestParameters Request parameters.
608
+ * @param {OrdersV0ApiGetOrderBuyerInfoRequest} requestParameters Request parameters.
633
609
  * @param {*} [options] Override http request option.
634
610
  * @throws {RequiredError}
635
611
  */
@@ -638,8 +614,7 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
638
614
  },
639
615
  /**
640
616
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
641
- * @summary getOrderItems
642
- * @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
617
+ * @param {OrdersV0ApiGetOrderItemsRequest} requestParameters Request parameters.
643
618
  * @param {*} [options] Override http request option.
644
619
  * @throws {RequiredError}
645
620
  */
@@ -648,8 +623,7 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
648
623
  },
649
624
  /**
650
625
  * Returns buyer information for the order items in the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
651
- * @summary getOrderItemsBuyerInfo
652
- * @param {OrdersApiGetOrderItemsBuyerInfoRequest} requestParameters Request parameters.
626
+ * @param {OrdersV0ApiGetOrderItemsBuyerInfoRequest} requestParameters Request parameters.
653
627
  * @param {*} [options] Override http request option.
654
628
  * @throws {RequiredError}
655
629
  */
@@ -658,8 +632,7 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
658
632
  },
659
633
  /**
660
634
  * Returns regulated information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
661
- * @summary getOrderRegulatedInfo
662
- * @param {OrdersApiGetOrderRegulatedInfoRequest} requestParameters Request parameters.
635
+ * @param {OrdersV0ApiGetOrderRegulatedInfoRequest} requestParameters Request parameters.
663
636
  * @param {*} [options] Override http request option.
664
637
  * @throws {RequiredError}
665
638
  */
@@ -668,8 +641,7 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
668
641
  },
669
642
  /**
670
643
  * Returns orders that are created or updated during the specified time period. If you want to return specific types of orders, you can apply filters to your request. `NextToken` doesn\'t affect any filters that you include in your request; it only impacts the pagination for the filtered orders response. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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.
671
- * @summary getOrders
672
- * @param {OrdersApiGetOrdersRequest} requestParameters Request parameters.
644
+ * @param {OrdersV0ApiGetOrdersRequest} requestParameters Request parameters.
673
645
  * @param {*} [options] Override http request option.
674
646
  * @throws {RequiredError}
675
647
  */
@@ -678,8 +650,7 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
678
650
  },
679
651
  /**
680
652
  * Update the shipment status for an order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
681
- * @summary updateShipmentStatus
682
- * @param {OrdersApiUpdateShipmentStatusRequest} requestParameters Request parameters.
653
+ * @param {OrdersV0ApiUpdateShipmentStatusRequest} requestParameters Request parameters.
683
654
  * @param {*} [options] Override http request option.
684
655
  * @throws {RequiredError}
685
656
  */
@@ -688,8 +659,7 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
688
659
  },
689
660
  /**
690
661
  * Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
691
- * @summary updateVerificationStatus
692
- * @param {OrdersApiUpdateVerificationStatusRequest} requestParameters Request parameters.
662
+ * @param {OrdersV0ApiUpdateVerificationStatusRequest} requestParameters Request parameters.
693
663
  * @param {*} [options] Override http request option.
694
664
  * @throws {RequiredError}
695
665
  */
@@ -699,120 +669,110 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
699
669
  };
700
670
  };
701
671
  /**
702
- * OrdersApi - object-oriented interface
672
+ * OrdersV0Api - object-oriented interface
703
673
  * @export
704
- * @class OrdersApi
674
+ * @class OrdersV0Api
705
675
  * @extends {BaseAPI}
706
676
  */
707
- export class OrdersApi extends BaseAPI {
677
+ export class OrdersV0Api extends BaseAPI {
708
678
  /**
709
679
  * Updates the shipment confirmation status for a specified order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
710
- * @summary confirmShipment
711
- * @param {OrdersApiConfirmShipmentRequest} requestParameters Request parameters.
680
+ * @param {OrdersV0ApiConfirmShipmentRequest} requestParameters Request parameters.
712
681
  * @param {*} [options] Override http request option.
713
682
  * @throws {RequiredError}
714
- * @memberof OrdersApi
683
+ * @memberof OrdersV0Api
715
684
  */
716
685
  confirmShipment(requestParameters, options) {
717
- return OrdersApiFp(this.configuration).confirmShipment(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
686
+ return OrdersV0ApiFp(this.configuration).confirmShipment(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
718
687
  }
719
688
  /**
720
689
  * Returns the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
721
- * @summary getOrder
722
- * @param {OrdersApiGetOrderRequest} requestParameters Request parameters.
690
+ * @param {OrdersV0ApiGetOrderRequest} requestParameters Request parameters.
723
691
  * @param {*} [options] Override http request option.
724
692
  * @throws {RequiredError}
725
- * @memberof OrdersApi
693
+ * @memberof OrdersV0Api
726
694
  */
727
695
  getOrder(requestParameters, options) {
728
- return OrdersApiFp(this.configuration).getOrder(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
696
+ return OrdersV0ApiFp(this.configuration).getOrder(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
729
697
  }
730
698
  /**
731
699
  * Returns the shipping address for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
732
- * @summary getOrderAddress
733
- * @param {OrdersApiGetOrderAddressRequest} requestParameters Request parameters.
700
+ * @param {OrdersV0ApiGetOrderAddressRequest} requestParameters Request parameters.
734
701
  * @param {*} [options] Override http request option.
735
702
  * @throws {RequiredError}
736
- * @memberof OrdersApi
703
+ * @memberof OrdersV0Api
737
704
  */
738
705
  getOrderAddress(requestParameters, options) {
739
- return OrdersApiFp(this.configuration).getOrderAddress(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
706
+ return OrdersV0ApiFp(this.configuration).getOrderAddress(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
740
707
  }
741
708
  /**
742
709
  * Returns buyer information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
743
- * @summary getOrderBuyerInfo
744
- * @param {OrdersApiGetOrderBuyerInfoRequest} requestParameters Request parameters.
710
+ * @param {OrdersV0ApiGetOrderBuyerInfoRequest} requestParameters Request parameters.
745
711
  * @param {*} [options] Override http request option.
746
712
  * @throws {RequiredError}
747
- * @memberof OrdersApi
713
+ * @memberof OrdersV0Api
748
714
  */
749
715
  getOrderBuyerInfo(requestParameters, options) {
750
- return OrdersApiFp(this.configuration).getOrderBuyerInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
716
+ return OrdersV0ApiFp(this.configuration).getOrderBuyerInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
751
717
  }
752
718
  /**
753
719
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
754
- * @summary getOrderItems
755
- * @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
720
+ * @param {OrdersV0ApiGetOrderItemsRequest} requestParameters Request parameters.
756
721
  * @param {*} [options] Override http request option.
757
722
  * @throws {RequiredError}
758
- * @memberof OrdersApi
723
+ * @memberof OrdersV0Api
759
724
  */
760
725
  getOrderItems(requestParameters, options) {
761
- return OrdersApiFp(this.configuration).getOrderItems(requestParameters.orderId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
726
+ return OrdersV0ApiFp(this.configuration).getOrderItems(requestParameters.orderId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
762
727
  }
763
728
  /**
764
729
  * Returns buyer information for the order items in the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
765
- * @summary getOrderItemsBuyerInfo
766
- * @param {OrdersApiGetOrderItemsBuyerInfoRequest} requestParameters Request parameters.
730
+ * @param {OrdersV0ApiGetOrderItemsBuyerInfoRequest} requestParameters Request parameters.
767
731
  * @param {*} [options] Override http request option.
768
732
  * @throws {RequiredError}
769
- * @memberof OrdersApi
733
+ * @memberof OrdersV0Api
770
734
  */
771
735
  getOrderItemsBuyerInfo(requestParameters, options) {
772
- return OrdersApiFp(this.configuration).getOrderItemsBuyerInfo(requestParameters.orderId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
736
+ return OrdersV0ApiFp(this.configuration).getOrderItemsBuyerInfo(requestParameters.orderId, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
773
737
  }
774
738
  /**
775
739
  * Returns regulated information for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
776
- * @summary getOrderRegulatedInfo
777
- * @param {OrdersApiGetOrderRegulatedInfoRequest} requestParameters Request parameters.
740
+ * @param {OrdersV0ApiGetOrderRegulatedInfoRequest} requestParameters Request parameters.
778
741
  * @param {*} [options] Override http request option.
779
742
  * @throws {RequiredError}
780
- * @memberof OrdersApi
743
+ * @memberof OrdersV0Api
781
744
  */
782
745
  getOrderRegulatedInfo(requestParameters, options) {
783
- return OrdersApiFp(this.configuration).getOrderRegulatedInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
746
+ return OrdersV0ApiFp(this.configuration).getOrderRegulatedInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
784
747
  }
785
748
  /**
786
749
  * Returns orders that are created or updated during the specified time period. If you want to return specific types of orders, you can apply filters to your request. `NextToken` doesn\'t affect any filters that you include in your request; it only impacts the pagination for the filtered orders response. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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.
787
- * @summary getOrders
788
- * @param {OrdersApiGetOrdersRequest} requestParameters Request parameters.
750
+ * @param {OrdersV0ApiGetOrdersRequest} requestParameters Request parameters.
789
751
  * @param {*} [options] Override http request option.
790
752
  * @throws {RequiredError}
791
- * @memberof OrdersApi
753
+ * @memberof OrdersV0Api
792
754
  */
793
755
  getOrders(requestParameters, options) {
794
- return OrdersApiFp(this.configuration).getOrders(requestParameters.marketplaceIds, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.orderStatuses, requestParameters.fulfillmentChannels, requestParameters.paymentMethods, requestParameters.buyerEmail, requestParameters.sellerOrderId, requestParameters.maxResultsPerPage, requestParameters.easyShipShipmentStatuses, requestParameters.electronicInvoiceStatuses, requestParameters.nextToken, requestParameters.amazonOrderIds, requestParameters.actualFulfillmentSupplySourceId, requestParameters.isISPU, requestParameters.storeChainStoreId, requestParameters.earliestDeliveryDateBefore, requestParameters.earliestDeliveryDateAfter, requestParameters.latestDeliveryDateBefore, requestParameters.latestDeliveryDateAfter, options).then((request) => request(this.axios, this.basePath));
756
+ return OrdersV0ApiFp(this.configuration).getOrders(requestParameters.marketplaceIds, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.orderStatuses, requestParameters.fulfillmentChannels, requestParameters.paymentMethods, requestParameters.buyerEmail, requestParameters.sellerOrderId, requestParameters.maxResultsPerPage, requestParameters.easyShipShipmentStatuses, requestParameters.electronicInvoiceStatuses, requestParameters.nextToken, requestParameters.amazonOrderIds, requestParameters.actualFulfillmentSupplySourceId, requestParameters.isISPU, requestParameters.storeChainStoreId, requestParameters.earliestDeliveryDateBefore, requestParameters.earliestDeliveryDateAfter, requestParameters.latestDeliveryDateBefore, requestParameters.latestDeliveryDateAfter, options).then((request) => request(this.axios, this.basePath));
795
757
  }
796
758
  /**
797
759
  * Update the shipment status for an order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
798
- * @summary updateShipmentStatus
799
- * @param {OrdersApiUpdateShipmentStatusRequest} requestParameters Request parameters.
760
+ * @param {OrdersV0ApiUpdateShipmentStatusRequest} requestParameters Request parameters.
800
761
  * @param {*} [options] Override http request option.
801
762
  * @throws {RequiredError}
802
- * @memberof OrdersApi
763
+ * @memberof OrdersV0Api
803
764
  */
804
765
  updateShipmentStatus(requestParameters, options) {
805
- return OrdersApiFp(this.configuration).updateShipmentStatus(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
766
+ return OrdersV0ApiFp(this.configuration).updateShipmentStatus(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
806
767
  }
807
768
  /**
808
769
  * Updates (approves or rejects) the verification status of an order containing regulated products. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
809
- * @summary updateVerificationStatus
810
- * @param {OrdersApiUpdateVerificationStatusRequest} requestParameters Request parameters.
770
+ * @param {OrdersV0ApiUpdateVerificationStatusRequest} requestParameters Request parameters.
811
771
  * @param {*} [options] Override http request option.
812
772
  * @throws {RequiredError}
813
- * @memberof OrdersApi
773
+ * @memberof OrdersV0Api
814
774
  */
815
775
  updateVerificationStatus(requestParameters, options) {
816
- return OrdersApiFp(this.configuration).updateVerificationStatus(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
776
+ return OrdersV0ApiFp(this.configuration).updateVerificationStatus(requestParameters.orderId, requestParameters.payload, options).then((request) => request(this.axios, this.basePath));
817
777
  }
818
778
  }
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders v0
4
+ * Selling Partner API for Orders
5
5
  * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
6
  *
7
7
  * The version of the OpenAPI document: v0
@@ -11,4 +11,4 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- export * from './api/orders-api';
14
+ export * from './api/orders-v0-api';
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders v0
4
+ * Selling Partner API for Orders
5
5
  * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
6
  *
7
7
  * The version of the OpenAPI document: v0
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders v0
4
+ * Selling Partner API for Orders
5
5
  * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
6
  *
7
7
  * The version of the OpenAPI document: v0
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Orders v0
4
+ * Selling Partner API for Orders
5
5
  * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
6
  *
7
7
  * The version of the OpenAPI document: v0
@@ -76,11 +76,10 @@ export class Configuration {
76
76
  this.basePath = param.basePath;
77
77
  this.serverIndex = param.serverIndex;
78
78
  this.baseOptions = {
79
+ ...param.baseOptions,
79
80
  headers: {
80
81
  ...param.baseOptions?.headers,
81
- 'User-Agent': "OpenAPI-Generator/typescript-axios"
82
82
  },
83
- ...param.baseOptions
84
83
  };
85
84
  this.formDataCtor = param.formDataCtor;
86
85
  }