@sp-api-sdk/vendor-direct-fulfillment-orders-api-v1 2.0.2 → 2.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 (114) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/src/api-model/api/update-inventory-api.js +126 -0
  3. package/dist/cjs/src/api-model/api.js +3 -3
  4. package/dist/cjs/src/api-model/base.js +2 -2
  5. package/dist/cjs/src/api-model/common.js +2 -2
  6. package/dist/cjs/src/api-model/configuration.js +2 -2
  7. package/dist/cjs/src/api-model/index.js +2 -2
  8. package/dist/cjs/src/api-model/models/index.js +5 -23
  9. package/dist/cjs/src/api-model/models/{get-orders-response.js → inventory-update.js} +2 -2
  10. package/dist/cjs/src/api-model/models/{acknowledgement-status.js → item-details.js} +2 -2
  11. package/dist/cjs/src/api-model/models/item-quantity.js +2 -6
  12. package/dist/cjs/src/api-model/models/model-error.js +2 -2
  13. package/dist/cjs/src/api-model/models/party-identification.js +2 -2
  14. package/dist/cjs/src/api-model/models/{address.js → submit-inventory-update-request.js} +2 -2
  15. package/dist/cjs/src/api-model/models/{get-order-response.js → submit-inventory-update-response.js} +2 -2
  16. package/dist/cjs/src/api-model/models/transaction-reference.js +15 -0
  17. package/dist/cjs/src/client.js +2 -16
  18. package/dist/es/src/api-model/api/update-inventory-api.js +116 -0
  19. package/dist/es/src/api-model/api.js +3 -3
  20. package/dist/es/src/api-model/base.js +2 -2
  21. package/dist/es/src/api-model/common.js +2 -2
  22. package/dist/es/src/api-model/configuration.js +2 -2
  23. package/dist/es/src/api-model/index.js +2 -2
  24. package/dist/es/src/api-model/models/index.js +5 -23
  25. package/dist/es/src/api-model/models/{acknowledgement-status.js → inventory-update.js} +2 -2
  26. package/dist/es/src/api-model/models/{address.js → item-details.js} +2 -2
  27. package/dist/es/src/api-model/models/item-quantity.js +3 -5
  28. package/dist/es/src/api-model/models/model-error.js +2 -2
  29. package/dist/es/src/api-model/models/party-identification.js +2 -2
  30. package/dist/es/src/api-model/models/{get-order-response.js → submit-inventory-update-request.js} +2 -2
  31. package/dist/es/src/api-model/models/{get-orders-response.js → submit-inventory-update-response.js} +2 -2
  32. package/dist/es/src/api-model/models/transaction-reference.js +14 -0
  33. package/dist/es/src/client.js +3 -17
  34. package/dist/types/src/api-model/api/update-inventory-api.d.ts +93 -0
  35. package/dist/types/src/api-model/api.d.ts +3 -3
  36. package/dist/types/src/api-model/base.d.ts +2 -2
  37. package/dist/types/src/api-model/common.d.ts +2 -2
  38. package/dist/types/src/api-model/configuration.d.ts +2 -2
  39. package/dist/types/src/api-model/index.d.ts +2 -2
  40. package/dist/types/src/api-model/models/index.d.ts +5 -23
  41. package/dist/types/src/api-model/models/inventory-update.d.ts +38 -0
  42. package/dist/types/src/api-model/models/item-details.d.ts +43 -0
  43. package/dist/types/src/api-model/models/item-quantity.d.ts +6 -10
  44. package/dist/types/src/api-model/models/model-error.d.ts +2 -2
  45. package/dist/types/src/api-model/models/party-identification.d.ts +3 -17
  46. package/dist/types/src/api-model/models/submit-inventory-update-request.d.ts +25 -0
  47. package/dist/types/src/api-model/models/submit-inventory-update-response.d.ts +31 -0
  48. package/dist/types/src/api-model/models/transaction-reference.d.ts +24 -0
  49. package/dist/types/src/client.d.ts +2 -2
  50. package/package.json +5 -5
  51. package/dist/cjs/src/api-model/api/vendor-orders-api.js +0 -278
  52. package/dist/cjs/src/api-model/models/gift-details.js +0 -15
  53. package/dist/cjs/src/api-model/models/money.js +0 -15
  54. package/dist/cjs/src/api-model/models/order-acknowledgement-item.js +0 -15
  55. package/dist/cjs/src/api-model/models/order-details-tax-total.js +0 -15
  56. package/dist/cjs/src/api-model/models/order-details.js +0 -22
  57. package/dist/cjs/src/api-model/models/order-item-acknowledgement.js +0 -15
  58. package/dist/cjs/src/api-model/models/order-item-tax-details.js +0 -15
  59. package/dist/cjs/src/api-model/models/order-item.js +0 -15
  60. package/dist/cjs/src/api-model/models/order-list.js +0 -15
  61. package/dist/cjs/src/api-model/models/order.js +0 -15
  62. package/dist/cjs/src/api-model/models/pagination.js +0 -15
  63. package/dist/cjs/src/api-model/models/scheduled-delivery-shipment.js +0 -15
  64. package/dist/cjs/src/api-model/models/shipment-dates.js +0 -15
  65. package/dist/cjs/src/api-model/models/shipment-details.js +0 -15
  66. package/dist/cjs/src/api-model/models/submit-acknowledgement-request.js +0 -15
  67. package/dist/cjs/src/api-model/models/submit-acknowledgement-response.js +0 -15
  68. package/dist/cjs/src/api-model/models/tax-details.js +0 -25
  69. package/dist/cjs/src/api-model/models/tax-registration-details.js +0 -20
  70. package/dist/cjs/src/api-model/models/transaction-id.js +0 -15
  71. package/dist/es/src/api-model/api/vendor-orders-api.js +0 -268
  72. package/dist/es/src/api-model/models/gift-details.js +0 -14
  73. package/dist/es/src/api-model/models/money.js +0 -14
  74. package/dist/es/src/api-model/models/order-acknowledgement-item.js +0 -14
  75. package/dist/es/src/api-model/models/order-details-tax-total.js +0 -14
  76. package/dist/es/src/api-model/models/order-details.js +0 -19
  77. package/dist/es/src/api-model/models/order-item-acknowledgement.js +0 -14
  78. package/dist/es/src/api-model/models/order-item-tax-details.js +0 -14
  79. package/dist/es/src/api-model/models/order-item.js +0 -14
  80. package/dist/es/src/api-model/models/order-list.js +0 -14
  81. package/dist/es/src/api-model/models/order.js +0 -14
  82. package/dist/es/src/api-model/models/pagination.js +0 -14
  83. package/dist/es/src/api-model/models/scheduled-delivery-shipment.js +0 -14
  84. package/dist/es/src/api-model/models/shipment-dates.js +0 -14
  85. package/dist/es/src/api-model/models/shipment-details.js +0 -14
  86. package/dist/es/src/api-model/models/submit-acknowledgement-request.js +0 -14
  87. package/dist/es/src/api-model/models/submit-acknowledgement-response.js +0 -14
  88. package/dist/es/src/api-model/models/tax-details.js +0 -22
  89. package/dist/es/src/api-model/models/tax-registration-details.js +0 -17
  90. package/dist/es/src/api-model/models/transaction-id.js +0 -14
  91. package/dist/types/src/api-model/api/vendor-orders-api.d.ts +0 -226
  92. package/dist/types/src/api-model/models/acknowledgement-status.d.ts +0 -30
  93. package/dist/types/src/api-model/models/address.d.ts +0 -90
  94. package/dist/types/src/api-model/models/get-order-response.d.ts +0 -31
  95. package/dist/types/src/api-model/models/get-orders-response.d.ts +0 -31
  96. package/dist/types/src/api-model/models/gift-details.d.ts +0 -30
  97. package/dist/types/src/api-model/models/money.d.ts +0 -30
  98. package/dist/types/src/api-model/models/order-acknowledgement-item.d.ts +0 -63
  99. package/dist/types/src/api-model/models/order-details-tax-total.d.ts +0 -25
  100. package/dist/types/src/api-model/models/order-details.d.ts +0 -90
  101. package/dist/types/src/api-model/models/order-item-acknowledgement.d.ts +0 -43
  102. package/dist/types/src/api-model/models/order-item-tax-details.d.ts +0 -25
  103. package/dist/types/src/api-model/models/order-item.d.ts +0 -83
  104. package/dist/types/src/api-model/models/order-list.d.ts +0 -32
  105. package/dist/types/src/api-model/models/order.d.ts +0 -31
  106. package/dist/types/src/api-model/models/pagination.d.ts +0 -24
  107. package/dist/types/src/api-model/models/scheduled-delivery-shipment.d.ts +0 -36
  108. package/dist/types/src/api-model/models/shipment-dates.d.ts +0 -30
  109. package/dist/types/src/api-model/models/shipment-details.d.ts +0 -61
  110. package/dist/types/src/api-model/models/submit-acknowledgement-request.d.ts +0 -25
  111. package/dist/types/src/api-model/models/submit-acknowledgement-response.d.ts +0 -31
  112. package/dist/types/src/api-model/models/tax-details.d.ts +0 -53
  113. package/dist/types/src/api-model/models/tax-registration-details.d.ts +0 -48
  114. package/dist/types/src/api-model/models/transaction-id.d.ts +0 -24
@@ -1,268 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import globalAxios from 'axios';
15
- // Some imports not used depending on template conditions
16
- // @ts-ignore
17
- import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
18
- // @ts-ignore
19
- import { BASE_PATH, BaseAPI } from '../base';
20
- /**
21
- * VendorOrdersApi - axios parameter creator
22
- * @export
23
- */
24
- export const VendorOrdersApiAxiosParamCreator = function (configuration) {
25
- return {
26
- /**
27
- * Returns purchase order information for the purchaseOrderNumber that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` 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).
28
- * @param {string} purchaseOrderNumber The order identifier for the purchase order that you want. Formatting Notes: alpha-numeric code.
29
- * @param {*} [options] Override http request option.
30
- * @throws {RequiredError}
31
- */
32
- getOrder: async (purchaseOrderNumber, options = {}) => {
33
- // verify required parameter 'purchaseOrderNumber' is not null or undefined
34
- assertParamExists('getOrder', 'purchaseOrderNumber', purchaseOrderNumber);
35
- const localVarPath = `/vendor/directFulfillment/orders/v1/purchaseOrders/{purchaseOrderNumber}`
36
- .replace(`{${"purchaseOrderNumber"}}`, encodeURIComponent(String(purchaseOrderNumber)));
37
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
38
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39
- let baseOptions;
40
- if (configuration) {
41
- baseOptions = configuration.baseOptions;
42
- }
43
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
44
- const localVarHeaderParameter = {};
45
- const localVarQueryParameter = {};
46
- setSearchParams(localVarUrlObj, localVarQueryParameter);
47
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
49
- return {
50
- url: toPathString(localVarUrlObj),
51
- options: localVarRequestOptions,
52
- };
53
- },
54
- /**
55
- * Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` 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).
56
- * @param {string} createdAfter Purchase orders that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format.
57
- * @param {string} createdBefore Purchase orders that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format.
58
- * @param {string} [shipFromPartyId] The vendor warehouse identifier for the fulfillment warehouse. If not specified, the result will contain orders for all warehouses.
59
- * @param {'NEW' | 'SHIPPED' | 'ACCEPTED' | 'CANCELLED'} [status] Returns only the purchase orders that match the specified status. If not specified, the result will contain orders that match any status.
60
- * @param {number} [limit] The limit to the number of purchase orders returned.
61
- * @param {'ASC' | 'DESC'} [sortOrder] Sort the list in ascending or descending order by order creation date.
62
- * @param {string} [nextToken] Used for pagination when there are more orders than the specified result size limit. The token value is returned in the previous API call.
63
- * @param {boolean} [includeDetails] When true, returns the complete purchase order details. Otherwise, only purchase order numbers are returned.
64
- * @param {*} [options] Override http request option.
65
- * @throws {RequiredError}
66
- */
67
- getOrders: async (createdAfter, createdBefore, shipFromPartyId, status, limit, sortOrder, nextToken, includeDetails, options = {}) => {
68
- // verify required parameter 'createdAfter' is not null or undefined
69
- assertParamExists('getOrders', 'createdAfter', createdAfter);
70
- // verify required parameter 'createdBefore' is not null or undefined
71
- assertParamExists('getOrders', 'createdBefore', createdBefore);
72
- const localVarPath = `/vendor/directFulfillment/orders/v1/purchaseOrders`;
73
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
74
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
75
- let baseOptions;
76
- if (configuration) {
77
- baseOptions = configuration.baseOptions;
78
- }
79
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
80
- const localVarHeaderParameter = {};
81
- const localVarQueryParameter = {};
82
- if (shipFromPartyId !== undefined) {
83
- localVarQueryParameter['shipFromPartyId'] = shipFromPartyId;
84
- }
85
- if (status !== undefined) {
86
- localVarQueryParameter['status'] = status;
87
- }
88
- if (limit !== undefined) {
89
- localVarQueryParameter['limit'] = limit;
90
- }
91
- if (createdAfter !== undefined) {
92
- localVarQueryParameter['createdAfter'] = (createdAfter instanceof Date) ?
93
- createdAfter.toISOString() :
94
- createdAfter;
95
- }
96
- if (createdBefore !== undefined) {
97
- localVarQueryParameter['createdBefore'] = (createdBefore instanceof Date) ?
98
- createdBefore.toISOString() :
99
- createdBefore;
100
- }
101
- if (sortOrder !== undefined) {
102
- localVarQueryParameter['sortOrder'] = sortOrder;
103
- }
104
- if (nextToken !== undefined) {
105
- localVarQueryParameter['nextToken'] = nextToken;
106
- }
107
- if (includeDetails !== undefined) {
108
- localVarQueryParameter['includeDetails'] = includeDetails;
109
- }
110
- setSearchParams(localVarUrlObj, localVarQueryParameter);
111
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
112
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
113
- return {
114
- url: toPathString(localVarUrlObj),
115
- options: localVarRequestOptions,
116
- };
117
- },
118
- /**
119
- * Submits acknowledgements for one or more purchase orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` 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).
120
- * @param {SubmitAcknowledgementRequest} body
121
- * @param {*} [options] Override http request option.
122
- * @throws {RequiredError}
123
- */
124
- submitAcknowledgement: async (body, options = {}) => {
125
- // verify required parameter 'body' is not null or undefined
126
- assertParamExists('submitAcknowledgement', 'body', body);
127
- const localVarPath = `/vendor/directFulfillment/orders/v1/acknowledgements`;
128
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
129
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
130
- let baseOptions;
131
- if (configuration) {
132
- baseOptions = configuration.baseOptions;
133
- }
134
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
135
- const localVarHeaderParameter = {};
136
- const localVarQueryParameter = {};
137
- localVarHeaderParameter['Content-Type'] = 'application/json';
138
- setSearchParams(localVarUrlObj, localVarQueryParameter);
139
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
140
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
141
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
142
- return {
143
- url: toPathString(localVarUrlObj),
144
- options: localVarRequestOptions,
145
- };
146
- },
147
- };
148
- };
149
- /**
150
- * VendorOrdersApi - functional programming interface
151
- * @export
152
- */
153
- export const VendorOrdersApiFp = function (configuration) {
154
- const localVarAxiosParamCreator = VendorOrdersApiAxiosParamCreator(configuration);
155
- return {
156
- /**
157
- * Returns purchase order information for the purchaseOrderNumber that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` 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).
158
- * @param {string} purchaseOrderNumber The order identifier for the purchase order that you want. Formatting Notes: alpha-numeric code.
159
- * @param {*} [options] Override http request option.
160
- * @throws {RequiredError}
161
- */
162
- async getOrder(purchaseOrderNumber, options) {
163
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrder(purchaseOrderNumber, options);
164
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
165
- },
166
- /**
167
- * Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` 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).
168
- * @param {string} createdAfter Purchase orders that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format.
169
- * @param {string} createdBefore Purchase orders that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format.
170
- * @param {string} [shipFromPartyId] The vendor warehouse identifier for the fulfillment warehouse. If not specified, the result will contain orders for all warehouses.
171
- * @param {'NEW' | 'SHIPPED' | 'ACCEPTED' | 'CANCELLED'} [status] Returns only the purchase orders that match the specified status. If not specified, the result will contain orders that match any status.
172
- * @param {number} [limit] The limit to the number of purchase orders returned.
173
- * @param {'ASC' | 'DESC'} [sortOrder] Sort the list in ascending or descending order by order creation date.
174
- * @param {string} [nextToken] Used for pagination when there are more orders than the specified result size limit. The token value is returned in the previous API call.
175
- * @param {boolean} [includeDetails] When true, returns the complete purchase order details. Otherwise, only purchase order numbers are returned.
176
- * @param {*} [options] Override http request option.
177
- * @throws {RequiredError}
178
- */
179
- async getOrders(createdAfter, createdBefore, shipFromPartyId, status, limit, sortOrder, nextToken, includeDetails, options) {
180
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrders(createdAfter, createdBefore, shipFromPartyId, status, limit, sortOrder, nextToken, includeDetails, options);
181
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
182
- },
183
- /**
184
- * Submits acknowledgements for one or more purchase orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` 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).
185
- * @param {SubmitAcknowledgementRequest} body
186
- * @param {*} [options] Override http request option.
187
- * @throws {RequiredError}
188
- */
189
- async submitAcknowledgement(body, options) {
190
- const localVarAxiosArgs = await localVarAxiosParamCreator.submitAcknowledgement(body, options);
191
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
192
- },
193
- };
194
- };
195
- /**
196
- * VendorOrdersApi - factory interface
197
- * @export
198
- */
199
- export const VendorOrdersApiFactory = function (configuration, basePath, axios) {
200
- const localVarFp = VendorOrdersApiFp(configuration);
201
- return {
202
- /**
203
- * Returns purchase order information for the purchaseOrderNumber that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` 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).
204
- * @param {VendorOrdersApiGetOrderRequest} requestParameters Request parameters.
205
- * @param {*} [options] Override http request option.
206
- * @throws {RequiredError}
207
- */
208
- getOrder(requestParameters, options) {
209
- return localVarFp.getOrder(requestParameters.purchaseOrderNumber, options).then((request) => request(axios, basePath));
210
- },
211
- /**
212
- * Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` 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).
213
- * @param {VendorOrdersApiGetOrdersRequest} requestParameters Request parameters.
214
- * @param {*} [options] Override http request option.
215
- * @throws {RequiredError}
216
- */
217
- getOrders(requestParameters, options) {
218
- return localVarFp.getOrders(requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipFromPartyId, requestParameters.status, requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.includeDetails, options).then((request) => request(axios, basePath));
219
- },
220
- /**
221
- * Submits acknowledgements for one or more purchase orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` 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).
222
- * @param {VendorOrdersApiSubmitAcknowledgementRequest} requestParameters Request parameters.
223
- * @param {*} [options] Override http request option.
224
- * @throws {RequiredError}
225
- */
226
- submitAcknowledgement(requestParameters, options) {
227
- return localVarFp.submitAcknowledgement(requestParameters.body, options).then((request) => request(axios, basePath));
228
- },
229
- };
230
- };
231
- /**
232
- * VendorOrdersApi - object-oriented interface
233
- * @export
234
- * @class VendorOrdersApi
235
- * @extends {BaseAPI}
236
- */
237
- export class VendorOrdersApi extends BaseAPI {
238
- /**
239
- * Returns purchase order information for the purchaseOrderNumber that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` 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).
240
- * @param {VendorOrdersApiGetOrderRequest} requestParameters Request parameters.
241
- * @param {*} [options] Override http request option.
242
- * @throws {RequiredError}
243
- * @memberof VendorOrdersApi
244
- */
245
- getOrder(requestParameters, options) {
246
- return VendorOrdersApiFp(this.configuration).getOrder(requestParameters.purchaseOrderNumber, options).then((request) => request(this.axios, this.basePath));
247
- }
248
- /**
249
- * Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` 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).
250
- * @param {VendorOrdersApiGetOrdersRequest} requestParameters Request parameters.
251
- * @param {*} [options] Override http request option.
252
- * @throws {RequiredError}
253
- * @memberof VendorOrdersApi
254
- */
255
- getOrders(requestParameters, options) {
256
- return VendorOrdersApiFp(this.configuration).getOrders(requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipFromPartyId, requestParameters.status, requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.includeDetails, options).then((request) => request(this.axios, this.basePath));
257
- }
258
- /**
259
- * Submits acknowledgements for one or more purchase orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` 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).
260
- * @param {VendorOrdersApiSubmitAcknowledgementRequest} requestParameters Request parameters.
261
- * @param {*} [options] Override http request option.
262
- * @throws {RequiredError}
263
- * @memberof VendorOrdersApi
264
- */
265
- submitAcknowledgement(requestParameters, options) {
266
- return VendorOrdersApiFp(this.configuration).submitAcknowledgement(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
267
- }
268
- }
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,19 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export const OrderDetailsOrderStatusEnum = {
15
- New: 'NEW',
16
- Shipped: 'SHIPPED',
17
- Accepted: 'ACCEPTED',
18
- Cancelled: 'CANCELLED'
19
- };
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,22 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export const TaxDetailsTypeEnum = {
15
- Consumption: 'CONSUMPTION',
16
- Gst: 'GST',
17
- MwSt: 'MwSt.',
18
- Pst: 'PST',
19
- Total: 'TOTAL',
20
- Tva: 'TVA',
21
- Vat: 'VAT'
22
- };
@@ -1,17 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export const TaxRegistrationDetailsTaxRegistrationTypeEnum = {
15
- Vat: 'VAT',
16
- Gst: 'GST'
17
- };
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};