@sp-api-sdk/external-fulfillment-shipments-api-2024-09-11 1.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 (201) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +99 -0
  3. package/dist/cjs/api-model/api/external-fulfillment-shipments-api.js +766 -0
  4. package/dist/cjs/api-model/api.js +30 -0
  5. package/dist/cjs/api-model/base.js +52 -0
  6. package/dist/cjs/api-model/common.js +108 -0
  7. package/dist/cjs/api-model/configuration.js +87 -0
  8. package/dist/cjs/api-model/index.js +32 -0
  9. package/dist/cjs/api-model/models/address.js +15 -0
  10. package/dist/cjs/api-model/models/amount.js +15 -0
  11. package/dist/cjs/api-model/models/cancellation.js +21 -0
  12. package/dist/cjs/api-model/models/charge-breakup.js +15 -0
  13. package/dist/cjs/api-model/models/charge.js +23 -0
  14. package/dist/cjs/api-model/models/compliance-attributes.js +15 -0
  15. package/dist/cjs/api-model/models/courier-supported-attributes.js +15 -0
  16. package/dist/cjs/api-model/models/custom-attribute-type.js +26 -0
  17. package/dist/cjs/api-model/models/custom-attribute.js +15 -0
  18. package/dist/cjs/api-model/models/dimension.js +20 -0
  19. package/dist/cjs/api-model/models/document-v2.js +15 -0
  20. package/dist/cjs/api-model/models/document.js +22 -0
  21. package/dist/cjs/api-model/models/error-list.js +15 -0
  22. package/dist/cjs/api-model/models/gift-attributes.js +15 -0
  23. package/dist/cjs/api-model/models/index.js +73 -0
  24. package/dist/cjs/api-model/models/invoice-info.js +15 -0
  25. package/dist/cjs/api-model/models/invoice-requirement.js +25 -0
  26. package/dist/cjs/api-model/models/invoice-response.js +15 -0
  27. package/dist/cjs/api-model/models/line-item-with-reason.js +20 -0
  28. package/dist/cjs/api-model/models/line-item.js +15 -0
  29. package/dist/cjs/api-model/models/marketplace-attributes.js +20 -0
  30. package/dist/cjs/api-model/models/model-error.js +15 -0
  31. package/dist/cjs/api-model/models/original-line-item.js +15 -0
  32. package/dist/cjs/api-model/models/package-delivery-status.js +15 -0
  33. package/dist/cjs/api-model/models/package-dimensions.js +15 -0
  34. package/dist/cjs/api-model/models/package-line-item.js +15 -0
  35. package/dist/cjs/api-model/models/package-ship-label.js +15 -0
  36. package/dist/cjs/api-model/models/package-status.js +27 -0
  37. package/dist/cjs/api-model/models/package-sub-status.js +25 -0
  38. package/dist/cjs/api-model/models/package.js +29 -0
  39. package/dist/cjs/api-model/models/packages.js +15 -0
  40. package/dist/cjs/api-model/models/packing-slip-requirement.js +24 -0
  41. package/dist/cjs/api-model/models/pagination.js +15 -0
  42. package/dist/cjs/api-model/models/party-identification-info.js +22 -0
  43. package/dist/cjs/api-model/models/piece-type.js +23 -0
  44. package/dist/cjs/api-model/models/presence-status.js +23 -0
  45. package/dist/cjs/api-model/models/priority.js +23 -0
  46. package/dist/cjs/api-model/models/recommended-package-line-item.js +15 -0
  47. package/dist/cjs/api-model/models/recommended-package.js +15 -0
  48. package/dist/cjs/api-model/models/replaced-shipment-info.js +15 -0
  49. package/dist/cjs/api-model/models/requirement-level.js +23 -0
  50. package/dist/cjs/api-model/models/ship-label-metadata.js +15 -0
  51. package/dist/cjs/api-model/models/ship-labels-input.js +15 -0
  52. package/dist/cjs/api-model/models/ship-labels-response.js +15 -0
  53. package/dist/cjs/api-model/models/shipment-acknowledgement-request.js +15 -0
  54. package/dist/cjs/api-model/models/shipment-info.js +25 -0
  55. package/dist/cjs/api-model/models/shipment-line-item.js +15 -0
  56. package/dist/cjs/api-model/models/shipment-requirements.js +15 -0
  57. package/dist/cjs/api-model/models/shipment.js +44 -0
  58. package/dist/cjs/api-model/models/shipments-response.js +15 -0
  59. package/dist/cjs/api-model/models/shipping-info.js +20 -0
  60. package/dist/cjs/api-model/models/shipping-options-response.js +15 -0
  61. package/dist/cjs/api-model/models/shipping-options.js +22 -0
  62. package/dist/cjs/api-model/models/status.js +23 -0
  63. package/dist/cjs/api-model/models/tax-registration-info.js +20 -0
  64. package/dist/cjs/api-model/models/tax.js +27 -0
  65. package/dist/cjs/api-model/models/time-window.js +20 -0
  66. package/dist/cjs/api-model/models/weight.js +20 -0
  67. package/dist/cjs/client.js +13 -0
  68. package/dist/cjs/index.js +19 -0
  69. package/dist/es/api-model/api/external-fulfillment-shipments-api.js +756 -0
  70. package/dist/es/api-model/api.js +14 -0
  71. package/dist/es/api-model/base.js +44 -0
  72. package/dist/es/api-model/common.js +96 -0
  73. package/dist/es/api-model/configuration.js +83 -0
  74. package/dist/es/api-model/index.js +16 -0
  75. package/dist/es/api-model/models/address.js +14 -0
  76. package/dist/es/api-model/models/amount.js +14 -0
  77. package/dist/es/api-model/models/cancellation.js +18 -0
  78. package/dist/es/api-model/models/charge-breakup.js +14 -0
  79. package/dist/es/api-model/models/charge.js +20 -0
  80. package/dist/es/api-model/models/compliance-attributes.js +14 -0
  81. package/dist/es/api-model/models/courier-supported-attributes.js +14 -0
  82. package/dist/es/api-model/models/custom-attribute-type.js +23 -0
  83. package/dist/es/api-model/models/custom-attribute.js +14 -0
  84. package/dist/es/api-model/models/dimension.js +17 -0
  85. package/dist/es/api-model/models/document-v2.js +14 -0
  86. package/dist/es/api-model/models/document.js +19 -0
  87. package/dist/es/api-model/models/error-list.js +14 -0
  88. package/dist/es/api-model/models/gift-attributes.js +14 -0
  89. package/dist/es/api-model/models/index.js +57 -0
  90. package/dist/es/api-model/models/invoice-info.js +14 -0
  91. package/dist/es/api-model/models/invoice-requirement.js +22 -0
  92. package/dist/es/api-model/models/invoice-response.js +14 -0
  93. package/dist/es/api-model/models/line-item-with-reason.js +17 -0
  94. package/dist/es/api-model/models/line-item.js +14 -0
  95. package/dist/es/api-model/models/marketplace-attributes.js +17 -0
  96. package/dist/es/api-model/models/model-error.js +14 -0
  97. package/dist/es/api-model/models/original-line-item.js +14 -0
  98. package/dist/es/api-model/models/package-delivery-status.js +14 -0
  99. package/dist/es/api-model/models/package-dimensions.js +14 -0
  100. package/dist/es/api-model/models/package-line-item.js +14 -0
  101. package/dist/es/api-model/models/package-ship-label.js +14 -0
  102. package/dist/es/api-model/models/package-status.js +24 -0
  103. package/dist/es/api-model/models/package-sub-status.js +22 -0
  104. package/dist/es/api-model/models/package.js +26 -0
  105. package/dist/es/api-model/models/packages.js +14 -0
  106. package/dist/es/api-model/models/packing-slip-requirement.js +21 -0
  107. package/dist/es/api-model/models/pagination.js +14 -0
  108. package/dist/es/api-model/models/party-identification-info.js +19 -0
  109. package/dist/es/api-model/models/piece-type.js +20 -0
  110. package/dist/es/api-model/models/presence-status.js +20 -0
  111. package/dist/es/api-model/models/priority.js +20 -0
  112. package/dist/es/api-model/models/recommended-package-line-item.js +14 -0
  113. package/dist/es/api-model/models/recommended-package.js +14 -0
  114. package/dist/es/api-model/models/replaced-shipment-info.js +14 -0
  115. package/dist/es/api-model/models/requirement-level.js +20 -0
  116. package/dist/es/api-model/models/ship-label-metadata.js +14 -0
  117. package/dist/es/api-model/models/ship-labels-input.js +14 -0
  118. package/dist/es/api-model/models/ship-labels-response.js +14 -0
  119. package/dist/es/api-model/models/shipment-acknowledgement-request.js +14 -0
  120. package/dist/es/api-model/models/shipment-info.js +22 -0
  121. package/dist/es/api-model/models/shipment-line-item.js +14 -0
  122. package/dist/es/api-model/models/shipment-requirements.js +14 -0
  123. package/dist/es/api-model/models/shipment.js +41 -0
  124. package/dist/es/api-model/models/shipments-response.js +14 -0
  125. package/dist/es/api-model/models/shipping-info.js +17 -0
  126. package/dist/es/api-model/models/shipping-options-response.js +14 -0
  127. package/dist/es/api-model/models/shipping-options.js +19 -0
  128. package/dist/es/api-model/models/status.js +20 -0
  129. package/dist/es/api-model/models/tax-registration-info.js +17 -0
  130. package/dist/es/api-model/models/tax.js +24 -0
  131. package/dist/es/api-model/models/time-window.js +17 -0
  132. package/dist/es/api-model/models/weight.js +17 -0
  133. package/dist/es/client.js +9 -0
  134. package/dist/es/index.js +3 -0
  135. package/dist/types/api-model/api/external-fulfillment-shipments-api.d.ts +556 -0
  136. package/dist/types/api-model/api.d.ts +12 -0
  137. package/dist/types/api-model/base.d.ts +42 -0
  138. package/dist/types/api-model/common.d.ts +28 -0
  139. package/dist/types/api-model/configuration.d.ts +74 -0
  140. package/dist/types/api-model/index.d.ts +14 -0
  141. package/dist/types/api-model/models/address.d.ts +72 -0
  142. package/dist/types/api-model/models/amount.d.ts +24 -0
  143. package/dist/types/api-model/models/cancellation.d.ts +38 -0
  144. package/dist/types/api-model/models/charge-breakup.d.ts +20 -0
  145. package/dist/types/api-model/models/charge.d.ts +37 -0
  146. package/dist/types/api-model/models/compliance-attributes.d.ts +21 -0
  147. package/dist/types/api-model/models/courier-supported-attributes.d.ts +24 -0
  148. package/dist/types/api-model/models/custom-attribute-type.d.ts +22 -0
  149. package/dist/types/api-model/models/custom-attribute.d.ts +26 -0
  150. package/dist/types/api-model/models/dimension.d.ts +29 -0
  151. package/dist/types/api-model/models/document-v2.d.ts +20 -0
  152. package/dist/types/api-model/models/document.d.ts +31 -0
  153. package/dist/types/api-model/models/error-list.d.ts +20 -0
  154. package/dist/types/api-model/models/gift-attributes.d.ts +26 -0
  155. package/dist/types/api-model/models/index.d.ts +57 -0
  156. package/dist/types/api-model/models/invoice-info.d.ts +24 -0
  157. package/dist/types/api-model/models/invoice-requirement.d.ts +35 -0
  158. package/dist/types/api-model/models/invoice-response.d.ts +18 -0
  159. package/dist/types/api-model/models/line-item-with-reason.d.ts +27 -0
  160. package/dist/types/api-model/models/line-item.d.ts +24 -0
  161. package/dist/types/api-model/models/marketplace-attributes.d.ts +37 -0
  162. package/dist/types/api-model/models/model-error.d.ts +28 -0
  163. package/dist/types/api-model/models/original-line-item.d.ts +29 -0
  164. package/dist/types/api-model/models/package-delivery-status.d.ts +24 -0
  165. package/dist/types/api-model/models/package-dimensions.d.ts +20 -0
  166. package/dist/types/api-model/models/package-line-item.d.ts +38 -0
  167. package/dist/types/api-model/models/package-ship-label.d.ts +27 -0
  168. package/dist/types/api-model/models/package-status.d.ts +23 -0
  169. package/dist/types/api-model/models/package-sub-status.d.ts +21 -0
  170. package/dist/types/api-model/models/package.d.ts +56 -0
  171. package/dist/types/api-model/models/packages.d.ts +21 -0
  172. package/dist/types/api-model/models/packing-slip-requirement.d.ts +34 -0
  173. package/dist/types/api-model/models/pagination.d.ts +20 -0
  174. package/dist/types/api-model/models/party-identification-info.d.ts +35 -0
  175. package/dist/types/api-model/models/piece-type.d.ts +19 -0
  176. package/dist/types/api-model/models/presence-status.d.ts +19 -0
  177. package/dist/types/api-model/models/priority.d.ts +19 -0
  178. package/dist/types/api-model/models/recommended-package-line-item.d.ts +20 -0
  179. package/dist/types/api-model/models/recommended-package.d.ts +25 -0
  180. package/dist/types/api-model/models/replaced-shipment-info.d.ts +31 -0
  181. package/dist/types/api-model/models/requirement-level.d.ts +19 -0
  182. package/dist/types/api-model/models/ship-label-metadata.d.ts +31 -0
  183. package/dist/types/api-model/models/ship-labels-input.d.ts +22 -0
  184. package/dist/types/api-model/models/ship-labels-response.d.ts +21 -0
  185. package/dist/types/api-model/models/shipment-acknowledgement-request.d.ts +25 -0
  186. package/dist/types/api-model/models/shipment-info.d.ts +55 -0
  187. package/dist/types/api-model/models/shipment-line-item.d.ts +75 -0
  188. package/dist/types/api-model/models/shipment-requirements.d.ts +20 -0
  189. package/dist/types/api-model/models/shipment.d.ts +104 -0
  190. package/dist/types/api-model/models/shipments-response.d.ts +23 -0
  191. package/dist/types/api-model/models/shipping-info.d.ts +40 -0
  192. package/dist/types/api-model/models/shipping-options-response.d.ts +22 -0
  193. package/dist/types/api-model/models/shipping-options.d.ts +38 -0
  194. package/dist/types/api-model/models/status.d.ts +19 -0
  195. package/dist/types/api-model/models/tax-registration-info.d.ts +35 -0
  196. package/dist/types/api-model/models/tax.d.ts +38 -0
  197. package/dist/types/api-model/models/time-window.d.ts +33 -0
  198. package/dist/types/api-model/models/weight.d.ts +29 -0
  199. package/dist/types/client.d.ts +6 -0
  200. package/dist/types/index.d.ts +3 -0
  201. package/package.json +44 -0
@@ -0,0 +1,17 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * The Selling Partner API for Amazon External Fulfillment Shipments Processing
5
+ * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
6
+ *
7
+ * The version of the OpenAPI document: 2024-09-11
8
+ * Contact: marketplaceapitest@amazon.com
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 TaxRegistrationInfoTypeEnum = {
15
+ Vat: 'VAT',
16
+ Gst: 'GST'
17
+ };
@@ -0,0 +1,24 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * The Selling Partner API for Amazon External Fulfillment Shipments Processing
5
+ * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
6
+ *
7
+ * The version of the OpenAPI document: 2024-09-11
8
+ * Contact: marketplaceapitest@amazon.com
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 TaxTypeEnum = {
15
+ Vat: 'VAT',
16
+ Cst: 'CST',
17
+ Igst: 'IGST',
18
+ Sgst: 'SGST',
19
+ Cgst: 'CGST',
20
+ Utgst: 'UTGST',
21
+ Cess: 'CESS',
22
+ Other: 'OTHER',
23
+ Total: 'TOTAL'
24
+ };
@@ -0,0 +1,17 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * The Selling Partner API for Amazon External Fulfillment Shipments Processing
5
+ * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
6
+ *
7
+ * The version of the OpenAPI document: 2024-09-11
8
+ * Contact: marketplaceapitest@amazon.com
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 TimeWindowHandoverMethodEnum = {
15
+ Pickup: 'PICKUP',
16
+ Dropoff: 'DROPOFF'
17
+ };
@@ -0,0 +1,17 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * The Selling Partner API for Amazon External Fulfillment Shipments Processing
5
+ * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
6
+ *
7
+ * The version of the OpenAPI document: 2024-09-11
8
+ * Contact: marketplaceapitest@amazon.com
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 WeightWeightUnitEnum = {
15
+ G: 'G',
16
+ Kg: 'KG'
17
+ };
@@ -0,0 +1,9 @@
1
+ import { createAxiosInstance } from '@sp-api-sdk/common';
2
+ import { Configuration, ExternalFulfillmentShipmentsApi } from './api-model';
3
+ export const clientRateLimits = [];
4
+ export class ExternalFulfillmentShipmentsApiClient extends ExternalFulfillmentShipmentsApi {
5
+ constructor(configuration) {
6
+ const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
7
+ super(new Configuration(), endpoint, axios);
8
+ }
9
+ }
@@ -0,0 +1,3 @@
1
+ export * from './client';
2
+ export * from './api-model/api';
3
+ export * from './api-model/models';
@@ -0,0 +1,556 @@
1
+ /**
2
+ * The Selling Partner API for Amazon External Fulfillment Shipments Processing
3
+ * You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
4
+ *
5
+ * The version of the OpenAPI document: 2024-09-11
6
+ * Contact: marketplaceapitest@amazon.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import globalAxios from 'axios';
15
+ import { type RequestArgs, BaseAPI } from '../base';
16
+ import type { InvoiceResponse } from '../models';
17
+ import type { Package } from '../models';
18
+ import type { PackageDeliveryStatus } from '../models';
19
+ import type { Packages } from '../models';
20
+ import type { ShipLabelsInput } from '../models';
21
+ import type { ShipLabelsResponse } from '../models';
22
+ import type { Shipment } from '../models';
23
+ import type { ShipmentAcknowledgementRequest } from '../models';
24
+ import type { ShipmentsResponse } from '../models';
25
+ import type { ShippingOptionsResponse } from '../models';
26
+ /**
27
+ * ExternalFulfillmentShipmentsApi - axios parameter creator
28
+ */
29
+ export declare const ExternalFulfillmentShipmentsApiAxiosParamCreator: (configuration?: Configuration) => {
30
+ /**
31
+ * Provide details about the packages in the specified shipment.
32
+ * @param {string} shipmentId The ID of the shipment.
33
+ * @param {Packages} body A list of packages in the shipment.
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ createPackages: (shipmentId: string, body: Packages, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ * Get invoices for the shipment you specify.
40
+ * @param {string} shipmentId The ID of the shipment whose invoice you want.
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ generateInvoice: (shipmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
+ /**
46
+ * Generate and retrieve all shipping labels for one or more packages in the shipment you specify.
47
+ * @param {string} shipmentId The ID of the shipment whose shipping labels you want to generate and retrieve.
48
+ * @param {GenerateShipLabelsOperationEnum} operation Specify whether you want to generate or regenerate a label.
49
+ * @param {string} [shippingOptionId] The ID of the shipping option whose shipping labels you want.
50
+ * @param {ShipLabelsInput} [body] Shipping details for when shipping is not done by the marketplace channel.
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ generateShipLabels: (shipmentId: string, operation: GenerateShipLabelsOperationEnum, shippingOptionId?: string, body?: ShipLabelsInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
55
+ /**
56
+ * Get a single shipment with the ID you specify.
57
+ * @param {string} shipmentId The ID of the shipment you want to retrieve.
58
+ * @param {*} [options] Override http request option.
59
+ * @throws {RequiredError}
60
+ */
61
+ getShipment: (shipmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
62
+ /**
63
+ * Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\' last update.
64
+ * @param {GetShipmentsStatusEnum} status The status of shipment you want to include in the response. To retrieve all new shipments, set this value to &#x60;ACCEPTED&#x60;.
65
+ * @param {string} [locationId] The Amazon channel location identifier for the shipments you want to retrieve.
66
+ * @param {string} [marketplaceId] The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
67
+ * @param {string} [channelName] The channel name associated with the location.
68
+ * @param {string} [lastUpdatedAfter] The response includes shipments whose latest update is after the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
69
+ * @param {string} [lastUpdatedBefore] The response includes shipments whose latest update is before the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
70
+ * @param {number} [maxResults] The maximum number of shipments to include in the response.
71
+ * @param {string} [paginationToken] A token that you use to retrieve the next page of results. The response includes &#x60;nextToken&#x60; when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ getShipments: (status: GetShipmentsStatusEnum, locationId?: string, marketplaceId?: string, channelName?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, maxResults?: number, paginationToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
76
+ /**
77
+ * Confirm or reject the specified shipment.
78
+ * @param {string} shipmentId The ID of the shipment you want to confirm or reject.
79
+ * @param {ProcessShipmentOperationEnum} operation The status of the shipment.
80
+ * @param {ShipmentAcknowledgementRequest} [body] Information about the shipment and its line items.
81
+ * @param {*} [options] Override http request option.
82
+ * @throws {RequiredError}
83
+ */
84
+ processShipment: (shipmentId: string, operation: ProcessShipmentOperationEnum, body?: ShipmentAcknowledgementRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
85
+ /**
86
+ * Retrieve invoices for the shipment you specify.
87
+ * @param {string} shipmentId The ID of the shipment whose invoice you want to retrieve.
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ retrieveInvoice: (shipmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
92
+ /**
93
+ * Get a list of shipping options for a package in a shipment given the shipment\'s marketplace and channel. If the marketplace and channel have a pre-determined shipping option, then this operation returns an empty response.
94
+ * @param {string} shipmentId The ID of the shipment to which the package belongs.
95
+ * @param {string} packageId The ID of the package for which you want to retrieve shipping options.
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ retrieveShippingOptions: (shipmentId: string, packageId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
100
+ /**
101
+ * Updates the details about the packages that will be used to fulfill the specified shipment.
102
+ * @param {string} shipmentId The ID of the shipment to which the package belongs.
103
+ * @param {string} packageId The ID of the package whose information you want to update.
104
+ * @param {Package} body The body of the request.
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ updatePackage: (shipmentId: string, packageId: string, body: Package, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
109
+ /**
110
+ * Updates the status of the packages.
111
+ * @param {string} shipmentId The ID of the shipment to which the package belongs.
112
+ * @param {string} packageId The ID of the package whose status you want to update.
113
+ * @param {UpdatePackageStatusStatusEnum} [status] **DEPRECATED**. Do not use. Package status is defined in the body parameter.
114
+ * @param {PackageDeliveryStatus} [body] The body of the request.
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ updatePackageStatus: (shipmentId: string, packageId: string, status?: UpdatePackageStatusStatusEnum, body?: PackageDeliveryStatus, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
119
+ };
120
+ /**
121
+ * ExternalFulfillmentShipmentsApi - functional programming interface
122
+ */
123
+ export declare const ExternalFulfillmentShipmentsApiFp: (configuration?: Configuration) => {
124
+ /**
125
+ * Provide details about the packages in the specified shipment.
126
+ * @param {string} shipmentId The ID of the shipment.
127
+ * @param {Packages} body A list of packages in the shipment.
128
+ * @param {*} [options] Override http request option.
129
+ * @throws {RequiredError}
130
+ */
131
+ createPackages(shipmentId: string, body: Packages, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
132
+ /**
133
+ * Get invoices for the shipment you specify.
134
+ * @param {string} shipmentId The ID of the shipment whose invoice you want.
135
+ * @param {*} [options] Override http request option.
136
+ * @throws {RequiredError}
137
+ */
138
+ generateInvoice(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoiceResponse>>;
139
+ /**
140
+ * Generate and retrieve all shipping labels for one or more packages in the shipment you specify.
141
+ * @param {string} shipmentId The ID of the shipment whose shipping labels you want to generate and retrieve.
142
+ * @param {GenerateShipLabelsOperationEnum} operation Specify whether you want to generate or regenerate a label.
143
+ * @param {string} [shippingOptionId] The ID of the shipping option whose shipping labels you want.
144
+ * @param {ShipLabelsInput} [body] Shipping details for when shipping is not done by the marketplace channel.
145
+ * @param {*} [options] Override http request option.
146
+ * @throws {RequiredError}
147
+ */
148
+ generateShipLabels(shipmentId: string, operation: GenerateShipLabelsOperationEnum, shippingOptionId?: string, body?: ShipLabelsInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipLabelsResponse>>;
149
+ /**
150
+ * Get a single shipment with the ID you specify.
151
+ * @param {string} shipmentId The ID of the shipment you want to retrieve.
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ getShipment(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Shipment>>;
156
+ /**
157
+ * Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\' last update.
158
+ * @param {GetShipmentsStatusEnum} status The status of shipment you want to include in the response. To retrieve all new shipments, set this value to &#x60;ACCEPTED&#x60;.
159
+ * @param {string} [locationId] The Amazon channel location identifier for the shipments you want to retrieve.
160
+ * @param {string} [marketplaceId] The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
161
+ * @param {string} [channelName] The channel name associated with the location.
162
+ * @param {string} [lastUpdatedAfter] The response includes shipments whose latest update is after the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
163
+ * @param {string} [lastUpdatedBefore] The response includes shipments whose latest update is before the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
164
+ * @param {number} [maxResults] The maximum number of shipments to include in the response.
165
+ * @param {string} [paginationToken] A token that you use to retrieve the next page of results. The response includes &#x60;nextToken&#x60; when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ getShipments(status: GetShipmentsStatusEnum, locationId?: string, marketplaceId?: string, channelName?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, maxResults?: number, paginationToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShipmentsResponse>>;
170
+ /**
171
+ * Confirm or reject the specified shipment.
172
+ * @param {string} shipmentId The ID of the shipment you want to confirm or reject.
173
+ * @param {ProcessShipmentOperationEnum} operation The status of the shipment.
174
+ * @param {ShipmentAcknowledgementRequest} [body] Information about the shipment and its line items.
175
+ * @param {*} [options] Override http request option.
176
+ * @throws {RequiredError}
177
+ */
178
+ processShipment(shipmentId: string, operation: ProcessShipmentOperationEnum, body?: ShipmentAcknowledgementRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
179
+ /**
180
+ * Retrieve invoices for the shipment you specify.
181
+ * @param {string} shipmentId The ID of the shipment whose invoice you want to retrieve.
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ */
185
+ retrieveInvoice(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoiceResponse>>;
186
+ /**
187
+ * Get a list of shipping options for a package in a shipment given the shipment\'s marketplace and channel. If the marketplace and channel have a pre-determined shipping option, then this operation returns an empty response.
188
+ * @param {string} shipmentId The ID of the shipment to which the package belongs.
189
+ * @param {string} packageId The ID of the package for which you want to retrieve shipping options.
190
+ * @param {*} [options] Override http request option.
191
+ * @throws {RequiredError}
192
+ */
193
+ retrieveShippingOptions(shipmentId: string, packageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingOptionsResponse>>;
194
+ /**
195
+ * Updates the details about the packages that will be used to fulfill the specified shipment.
196
+ * @param {string} shipmentId The ID of the shipment to which the package belongs.
197
+ * @param {string} packageId The ID of the package whose information you want to update.
198
+ * @param {Package} body The body of the request.
199
+ * @param {*} [options] Override http request option.
200
+ * @throws {RequiredError}
201
+ */
202
+ updatePackage(shipmentId: string, packageId: string, body: Package, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
203
+ /**
204
+ * Updates the status of the packages.
205
+ * @param {string} shipmentId The ID of the shipment to which the package belongs.
206
+ * @param {string} packageId The ID of the package whose status you want to update.
207
+ * @param {UpdatePackageStatusStatusEnum} [status] **DEPRECATED**. Do not use. Package status is defined in the body parameter.
208
+ * @param {PackageDeliveryStatus} [body] The body of the request.
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ */
212
+ updatePackageStatus(shipmentId: string, packageId: string, status?: UpdatePackageStatusStatusEnum, body?: PackageDeliveryStatus, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
213
+ };
214
+ /**
215
+ * ExternalFulfillmentShipmentsApi - factory interface
216
+ */
217
+ export declare const ExternalFulfillmentShipmentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
218
+ /**
219
+ * Provide details about the packages in the specified shipment.
220
+ * @param {ExternalFulfillmentShipmentsApiCreatePackagesRequest} requestParameters Request parameters.
221
+ * @param {*} [options] Override http request option.
222
+ * @throws {RequiredError}
223
+ */
224
+ createPackages(requestParameters: ExternalFulfillmentShipmentsApiCreatePackagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
225
+ /**
226
+ * Get invoices for the shipment you specify.
227
+ * @param {ExternalFulfillmentShipmentsApiGenerateInvoiceRequest} requestParameters Request parameters.
228
+ * @param {*} [options] Override http request option.
229
+ * @throws {RequiredError}
230
+ */
231
+ generateInvoice(requestParameters: ExternalFulfillmentShipmentsApiGenerateInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<InvoiceResponse>;
232
+ /**
233
+ * Generate and retrieve all shipping labels for one or more packages in the shipment you specify.
234
+ * @param {ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest} requestParameters Request parameters.
235
+ * @param {*} [options] Override http request option.
236
+ * @throws {RequiredError}
237
+ */
238
+ generateShipLabels(requestParameters: ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShipLabelsResponse>;
239
+ /**
240
+ * Get a single shipment with the ID you specify.
241
+ * @param {ExternalFulfillmentShipmentsApiGetShipmentRequest} requestParameters Request parameters.
242
+ * @param {*} [options] Override http request option.
243
+ * @throws {RequiredError}
244
+ */
245
+ getShipment(requestParameters: ExternalFulfillmentShipmentsApiGetShipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Shipment>;
246
+ /**
247
+ * Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\' last update.
248
+ * @param {ExternalFulfillmentShipmentsApiGetShipmentsRequest} requestParameters Request parameters.
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ getShipments(requestParameters: ExternalFulfillmentShipmentsApiGetShipmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShipmentsResponse>;
253
+ /**
254
+ * Confirm or reject the specified shipment.
255
+ * @param {ExternalFulfillmentShipmentsApiProcessShipmentRequest} requestParameters Request parameters.
256
+ * @param {*} [options] Override http request option.
257
+ * @throws {RequiredError}
258
+ */
259
+ processShipment(requestParameters: ExternalFulfillmentShipmentsApiProcessShipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
260
+ /**
261
+ * Retrieve invoices for the shipment you specify.
262
+ * @param {ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest} requestParameters Request parameters.
263
+ * @param {*} [options] Override http request option.
264
+ * @throws {RequiredError}
265
+ */
266
+ retrieveInvoice(requestParameters: ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<InvoiceResponse>;
267
+ /**
268
+ * Get a list of shipping options for a package in a shipment given the shipment\'s marketplace and channel. If the marketplace and channel have a pre-determined shipping option, then this operation returns an empty response.
269
+ * @param {ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest} requestParameters Request parameters.
270
+ * @param {*} [options] Override http request option.
271
+ * @throws {RequiredError}
272
+ */
273
+ retrieveShippingOptions(requestParameters: ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShippingOptionsResponse>;
274
+ /**
275
+ * Updates the details about the packages that will be used to fulfill the specified shipment.
276
+ * @param {ExternalFulfillmentShipmentsApiUpdatePackageRequest} requestParameters Request parameters.
277
+ * @param {*} [options] Override http request option.
278
+ * @throws {RequiredError}
279
+ */
280
+ updatePackage(requestParameters: ExternalFulfillmentShipmentsApiUpdatePackageRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
281
+ /**
282
+ * Updates the status of the packages.
283
+ * @param {ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest} requestParameters Request parameters.
284
+ * @param {*} [options] Override http request option.
285
+ * @throws {RequiredError}
286
+ */
287
+ updatePackageStatus(requestParameters: ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
288
+ };
289
+ /**
290
+ * Request parameters for createPackages operation in ExternalFulfillmentShipmentsApi.
291
+ */
292
+ export interface ExternalFulfillmentShipmentsApiCreatePackagesRequest {
293
+ /**
294
+ * The ID of the shipment.
295
+ */
296
+ readonly shipmentId: string;
297
+ /**
298
+ * A list of packages in the shipment.
299
+ */
300
+ readonly body: Packages;
301
+ }
302
+ /**
303
+ * Request parameters for generateInvoice operation in ExternalFulfillmentShipmentsApi.
304
+ */
305
+ export interface ExternalFulfillmentShipmentsApiGenerateInvoiceRequest {
306
+ /**
307
+ * The ID of the shipment whose invoice you want.
308
+ */
309
+ readonly shipmentId: string;
310
+ }
311
+ /**
312
+ * Request parameters for generateShipLabels operation in ExternalFulfillmentShipmentsApi.
313
+ */
314
+ export interface ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest {
315
+ /**
316
+ * The ID of the shipment whose shipping labels you want to generate and retrieve.
317
+ */
318
+ readonly shipmentId: string;
319
+ /**
320
+ * Specify whether you want to generate or regenerate a label.
321
+ */
322
+ readonly operation: GenerateShipLabelsOperationEnum;
323
+ /**
324
+ * The ID of the shipping option whose shipping labels you want.
325
+ */
326
+ readonly shippingOptionId?: string;
327
+ /**
328
+ * Shipping details for when shipping is not done by the marketplace channel.
329
+ */
330
+ readonly body?: ShipLabelsInput;
331
+ }
332
+ /**
333
+ * Request parameters for getShipment operation in ExternalFulfillmentShipmentsApi.
334
+ */
335
+ export interface ExternalFulfillmentShipmentsApiGetShipmentRequest {
336
+ /**
337
+ * The ID of the shipment you want to retrieve.
338
+ */
339
+ readonly shipmentId: string;
340
+ }
341
+ /**
342
+ * Request parameters for getShipments operation in ExternalFulfillmentShipmentsApi.
343
+ */
344
+ export interface ExternalFulfillmentShipmentsApiGetShipmentsRequest {
345
+ /**
346
+ * The status of shipment you want to include in the response. To retrieve all new shipments, set this value to &#x60;ACCEPTED&#x60;.
347
+ */
348
+ readonly status: GetShipmentsStatusEnum;
349
+ /**
350
+ * The Amazon channel location identifier for the shipments you want to retrieve.
351
+ */
352
+ readonly locationId?: string;
353
+ /**
354
+ * The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
355
+ */
356
+ readonly marketplaceId?: string;
357
+ /**
358
+ * The channel name associated with the location.
359
+ */
360
+ readonly channelName?: string;
361
+ /**
362
+ * The response includes shipments whose latest update is after the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
363
+ */
364
+ readonly lastUpdatedAfter?: string;
365
+ /**
366
+ * The response includes shipments whose latest update is before the specified time. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
367
+ */
368
+ readonly lastUpdatedBefore?: string;
369
+ /**
370
+ * The maximum number of shipments to include in the response.
371
+ */
372
+ readonly maxResults?: number;
373
+ /**
374
+ * A token that you use to retrieve the next page of results. The response includes &#x60;nextToken&#x60; when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
375
+ */
376
+ readonly paginationToken?: string;
377
+ }
378
+ /**
379
+ * Request parameters for processShipment operation in ExternalFulfillmentShipmentsApi.
380
+ */
381
+ export interface ExternalFulfillmentShipmentsApiProcessShipmentRequest {
382
+ /**
383
+ * The ID of the shipment you want to confirm or reject.
384
+ */
385
+ readonly shipmentId: string;
386
+ /**
387
+ * The status of the shipment.
388
+ */
389
+ readonly operation: ProcessShipmentOperationEnum;
390
+ /**
391
+ * Information about the shipment and its line items.
392
+ */
393
+ readonly body?: ShipmentAcknowledgementRequest;
394
+ }
395
+ /**
396
+ * Request parameters for retrieveInvoice operation in ExternalFulfillmentShipmentsApi.
397
+ */
398
+ export interface ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest {
399
+ /**
400
+ * The ID of the shipment whose invoice you want to retrieve.
401
+ */
402
+ readonly shipmentId: string;
403
+ }
404
+ /**
405
+ * Request parameters for retrieveShippingOptions operation in ExternalFulfillmentShipmentsApi.
406
+ */
407
+ export interface ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest {
408
+ /**
409
+ * The ID of the shipment to which the package belongs.
410
+ */
411
+ readonly shipmentId: string;
412
+ /**
413
+ * The ID of the package for which you want to retrieve shipping options.
414
+ */
415
+ readonly packageId: string;
416
+ }
417
+ /**
418
+ * Request parameters for updatePackage operation in ExternalFulfillmentShipmentsApi.
419
+ */
420
+ export interface ExternalFulfillmentShipmentsApiUpdatePackageRequest {
421
+ /**
422
+ * The ID of the shipment to which the package belongs.
423
+ */
424
+ readonly shipmentId: string;
425
+ /**
426
+ * The ID of the package whose information you want to update.
427
+ */
428
+ readonly packageId: string;
429
+ /**
430
+ * The body of the request.
431
+ */
432
+ readonly body: Package;
433
+ }
434
+ /**
435
+ * Request parameters for updatePackageStatus operation in ExternalFulfillmentShipmentsApi.
436
+ */
437
+ export interface ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest {
438
+ /**
439
+ * The ID of the shipment to which the package belongs.
440
+ */
441
+ readonly shipmentId: string;
442
+ /**
443
+ * The ID of the package whose status you want to update.
444
+ */
445
+ readonly packageId: string;
446
+ /**
447
+ * **DEPRECATED**. Do not use. Package status is defined in the body parameter.
448
+ */
449
+ readonly status?: UpdatePackageStatusStatusEnum;
450
+ /**
451
+ * The body of the request.
452
+ */
453
+ readonly body?: PackageDeliveryStatus;
454
+ }
455
+ /**
456
+ * ExternalFulfillmentShipmentsApi - object-oriented interface
457
+ */
458
+ export declare class ExternalFulfillmentShipmentsApi extends BaseAPI {
459
+ /**
460
+ * Provide details about the packages in the specified shipment.
461
+ * @param {ExternalFulfillmentShipmentsApiCreatePackagesRequest} requestParameters Request parameters.
462
+ * @param {*} [options] Override http request option.
463
+ * @throws {RequiredError}
464
+ */
465
+ createPackages(requestParameters: ExternalFulfillmentShipmentsApiCreatePackagesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
466
+ /**
467
+ * Get invoices for the shipment you specify.
468
+ * @param {ExternalFulfillmentShipmentsApiGenerateInvoiceRequest} requestParameters Request parameters.
469
+ * @param {*} [options] Override http request option.
470
+ * @throws {RequiredError}
471
+ */
472
+ generateInvoice(requestParameters: ExternalFulfillmentShipmentsApiGenerateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<InvoiceResponse, any, {}>>;
473
+ /**
474
+ * Generate and retrieve all shipping labels for one or more packages in the shipment you specify.
475
+ * @param {ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest} requestParameters Request parameters.
476
+ * @param {*} [options] Override http request option.
477
+ * @throws {RequiredError}
478
+ */
479
+ generateShipLabels(requestParameters: ExternalFulfillmentShipmentsApiGenerateShipLabelsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ShipLabelsResponse, any, {}>>;
480
+ /**
481
+ * Get a single shipment with the ID you specify.
482
+ * @param {ExternalFulfillmentShipmentsApiGetShipmentRequest} requestParameters Request parameters.
483
+ * @param {*} [options] Override http request option.
484
+ * @throws {RequiredError}
485
+ */
486
+ getShipment(requestParameters: ExternalFulfillmentShipmentsApiGetShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Shipment, any, {}>>;
487
+ /**
488
+ * Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\' last update.
489
+ * @param {ExternalFulfillmentShipmentsApiGetShipmentsRequest} requestParameters Request parameters.
490
+ * @param {*} [options] Override http request option.
491
+ * @throws {RequiredError}
492
+ */
493
+ getShipments(requestParameters: ExternalFulfillmentShipmentsApiGetShipmentsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ShipmentsResponse, any, {}>>;
494
+ /**
495
+ * Confirm or reject the specified shipment.
496
+ * @param {ExternalFulfillmentShipmentsApiProcessShipmentRequest} requestParameters Request parameters.
497
+ * @param {*} [options] Override http request option.
498
+ * @throws {RequiredError}
499
+ */
500
+ processShipment(requestParameters: ExternalFulfillmentShipmentsApiProcessShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
501
+ /**
502
+ * Retrieve invoices for the shipment you specify.
503
+ * @param {ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest} requestParameters Request parameters.
504
+ * @param {*} [options] Override http request option.
505
+ * @throws {RequiredError}
506
+ */
507
+ retrieveInvoice(requestParameters: ExternalFulfillmentShipmentsApiRetrieveInvoiceRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<InvoiceResponse, any, {}>>;
508
+ /**
509
+ * Get a list of shipping options for a package in a shipment given the shipment\'s marketplace and channel. If the marketplace and channel have a pre-determined shipping option, then this operation returns an empty response.
510
+ * @param {ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest} requestParameters Request parameters.
511
+ * @param {*} [options] Override http request option.
512
+ * @throws {RequiredError}
513
+ */
514
+ retrieveShippingOptions(requestParameters: ExternalFulfillmentShipmentsApiRetrieveShippingOptionsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ShippingOptionsResponse, any, {}>>;
515
+ /**
516
+ * Updates the details about the packages that will be used to fulfill the specified shipment.
517
+ * @param {ExternalFulfillmentShipmentsApiUpdatePackageRequest} requestParameters Request parameters.
518
+ * @param {*} [options] Override http request option.
519
+ * @throws {RequiredError}
520
+ */
521
+ updatePackage(requestParameters: ExternalFulfillmentShipmentsApiUpdatePackageRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
522
+ /**
523
+ * Updates the status of the packages.
524
+ * @param {ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest} requestParameters Request parameters.
525
+ * @param {*} [options] Override http request option.
526
+ * @throws {RequiredError}
527
+ */
528
+ updatePackageStatus(requestParameters: ExternalFulfillmentShipmentsApiUpdatePackageStatusRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
529
+ }
530
+ export declare const GenerateShipLabelsOperationEnum: {
531
+ readonly Generate: "GENERATE";
532
+ readonly Regenerate: "REGENERATE";
533
+ };
534
+ export type GenerateShipLabelsOperationEnum = typeof GenerateShipLabelsOperationEnum[keyof typeof GenerateShipLabelsOperationEnum];
535
+ export declare const GetShipmentsStatusEnum: {
536
+ readonly Created: "CREATED";
537
+ readonly Accepted: "ACCEPTED";
538
+ readonly Confirmed: "CONFIRMED";
539
+ readonly PackageCreated: "PACKAGE_CREATED";
540
+ readonly PickupSlotRetrieved: "PICKUP_SLOT_RETRIEVED";
541
+ readonly InvoiceGenerated: "INVOICE_GENERATED";
542
+ readonly ShiplabelGenerated: "SHIPLABEL_GENERATED";
543
+ readonly Cancelled: "CANCELLED";
544
+ readonly Shipped: "SHIPPED";
545
+ readonly Delivered: "DELIVERED";
546
+ };
547
+ export type GetShipmentsStatusEnum = typeof GetShipmentsStatusEnum[keyof typeof GetShipmentsStatusEnum];
548
+ export declare const ProcessShipmentOperationEnum: {
549
+ readonly Confirm: "CONFIRM";
550
+ readonly Reject: "REJECT";
551
+ };
552
+ export type ProcessShipmentOperationEnum = typeof ProcessShipmentOperationEnum[keyof typeof ProcessShipmentOperationEnum];
553
+ export declare const UpdatePackageStatusStatusEnum: {
554
+ readonly Shipped: "SHIPPED";
555
+ };
556
+ export type UpdatePackageStatusStatusEnum = typeof UpdatePackageStatusStatusEnum[keyof typeof UpdatePackageStatusStatusEnum];