@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,14 @@
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 * from './api/external-fulfillment-shipments-api';
@@ -0,0 +1,44 @@
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
+ import globalAxios from 'axios';
15
+ export const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
16
+ export const COLLECTION_FORMATS = {
17
+ csv: ",",
18
+ ssv: " ",
19
+ tsv: "\t",
20
+ pipes: "|",
21
+ };
22
+ export class BaseAPI {
23
+ basePath;
24
+ axios;
25
+ configuration;
26
+ constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
27
+ this.basePath = basePath;
28
+ this.axios = axios;
29
+ if (configuration) {
30
+ this.configuration = configuration;
31
+ this.basePath = configuration.basePath ?? basePath;
32
+ }
33
+ }
34
+ }
35
+ ;
36
+ export class RequiredError extends Error {
37
+ field;
38
+ constructor(field, msg) {
39
+ super(msg);
40
+ this.field = field;
41
+ this.name = "RequiredError";
42
+ }
43
+ }
44
+ export const operationServerMap = {};
@@ -0,0 +1,96 @@
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
+ import { RequiredError } from "./base";
15
+ export const DUMMY_BASE_URL = 'https://example.com';
16
+ /**
17
+ *
18
+ * @throws {RequiredError}
19
+ */
20
+ export const assertParamExists = function (functionName, paramName, paramValue) {
21
+ if (paramValue === null || paramValue === undefined) {
22
+ throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
23
+ }
24
+ };
25
+ export const setApiKeyToObject = async function (object, keyParamName, configuration) {
26
+ if (configuration && configuration.apiKey) {
27
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
28
+ ? await configuration.apiKey(keyParamName)
29
+ : await configuration.apiKey;
30
+ object[keyParamName] = localVarApiKeyValue;
31
+ }
32
+ };
33
+ export const setBasicAuthToObject = function (object, configuration) {
34
+ if (configuration && (configuration.username || configuration.password)) {
35
+ object["auth"] = { username: configuration.username, password: configuration.password };
36
+ }
37
+ };
38
+ export const setBearerAuthToObject = async function (object, configuration) {
39
+ if (configuration && configuration.accessToken) {
40
+ const accessToken = typeof configuration.accessToken === 'function'
41
+ ? await configuration.accessToken()
42
+ : await configuration.accessToken;
43
+ object["Authorization"] = "Bearer " + accessToken;
44
+ }
45
+ };
46
+ export const setOAuthToObject = async function (object, name, scopes, configuration) {
47
+ if (configuration && configuration.accessToken) {
48
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
49
+ ? await configuration.accessToken(name, scopes)
50
+ : await configuration.accessToken;
51
+ object["Authorization"] = "Bearer " + localVarAccessTokenValue;
52
+ }
53
+ };
54
+ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
55
+ if (parameter == null)
56
+ return;
57
+ if (typeof parameter === "object") {
58
+ if (Array.isArray(parameter)) {
59
+ parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
60
+ }
61
+ else {
62
+ Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
63
+ }
64
+ }
65
+ else {
66
+ if (urlSearchParams.has(key)) {
67
+ urlSearchParams.append(key, parameter);
68
+ }
69
+ else {
70
+ urlSearchParams.set(key, parameter);
71
+ }
72
+ }
73
+ }
74
+ export const setSearchParams = function (url, ...objects) {
75
+ const searchParams = new URLSearchParams(url.search);
76
+ setFlattenedQueryParams(searchParams, objects);
77
+ url.search = searchParams.toString();
78
+ };
79
+ export const serializeDataIfNeeded = function (value, requestOptions, configuration) {
80
+ const nonString = typeof value !== 'string';
81
+ const needsSerialization = nonString && configuration && configuration.isJsonMime
82
+ ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
83
+ : nonString;
84
+ return needsSerialization
85
+ ? JSON.stringify(value !== undefined ? value : {})
86
+ : (value || "");
87
+ };
88
+ export const toPathString = function (url) {
89
+ return url.pathname + url.search + url.hash;
90
+ };
91
+ export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
92
+ return (axios = globalAxios, basePath = BASE_PATH) => {
93
+ const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url };
94
+ return axios.request(axiosRequestArgs);
95
+ };
96
+ };
@@ -0,0 +1,83 @@
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 class Configuration {
15
+ /**
16
+ * parameter for apiKey security
17
+ * @param name security name
18
+ */
19
+ apiKey;
20
+ /**
21
+ * parameter for basic security
22
+ */
23
+ username;
24
+ /**
25
+ * parameter for basic security
26
+ */
27
+ password;
28
+ /**
29
+ * parameter for oauth2 security
30
+ * @param name security name
31
+ * @param scopes oauth2 scope
32
+ */
33
+ accessToken;
34
+ /**
35
+ * override base path
36
+ */
37
+ basePath;
38
+ /**
39
+ * override server index
40
+ */
41
+ serverIndex;
42
+ /**
43
+ * base options for axios calls
44
+ */
45
+ baseOptions;
46
+ /**
47
+ * The FormData constructor that will be used to create multipart form data
48
+ * requests. You can inject this here so that execution environments that
49
+ * do not support the FormData class can still run the generated client.
50
+ *
51
+ * @type {new () => FormData}
52
+ */
53
+ formDataCtor;
54
+ constructor(param = {}) {
55
+ this.apiKey = param.apiKey;
56
+ this.username = param.username;
57
+ this.password = param.password;
58
+ this.accessToken = param.accessToken;
59
+ this.basePath = param.basePath;
60
+ this.serverIndex = param.serverIndex;
61
+ this.baseOptions = {
62
+ ...param.baseOptions,
63
+ headers: {
64
+ ...param.baseOptions?.headers,
65
+ },
66
+ };
67
+ this.formDataCtor = param.formDataCtor;
68
+ }
69
+ /**
70
+ * Check if the given MIME is a JSON MIME.
71
+ * JSON MIME examples:
72
+ * application/json
73
+ * application/json; charset=UTF8
74
+ * APPLICATION/JSON
75
+ * application/vnd.company+json
76
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
77
+ * @return True if the given MIME is JSON, false otherwise.
78
+ */
79
+ isJsonMime(mime) {
80
+ const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
81
+ return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
82
+ }
83
+ }
@@ -0,0 +1,16 @@
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 * from "./api";
15
+ export * from "./configuration";
16
+ export * from "./models";
@@ -0,0 +1,14 @@
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 {};
@@ -0,0 +1,14 @@
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 {};
@@ -0,0 +1,18 @@
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 CancellationCancellationTypeEnum = {
15
+ SellerRejected: 'SELLER_REJECTED',
16
+ MarketplaceCancelled: 'MARKETPLACE_CANCELLED',
17
+ SystemCancelled: 'SYSTEM_CANCELLED'
18
+ };
@@ -0,0 +1,14 @@
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 {};
@@ -0,0 +1,20 @@
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 ChargeChargeTypeEnum = {
15
+ Product: 'PRODUCT',
16
+ Shipping: 'SHIPPING',
17
+ GiftWrap: 'GIFT_WRAP',
18
+ Total: 'TOTAL',
19
+ Other: 'OTHER'
20
+ };
@@ -0,0 +1,14 @@
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 {};
@@ -0,0 +1,14 @@
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 {};
@@ -0,0 +1,23 @@
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
+ /**
15
+ * The data type of the custom attribute value to aid with parsing during deserialization.
16
+ */
17
+ export const CustomAttributeType = {
18
+ String: 'STRING',
19
+ Boolean: 'BOOLEAN',
20
+ Integer: 'INTEGER',
21
+ Double: 'DOUBLE',
22
+ JsonString: 'JSON_STRING'
23
+ };
@@ -0,0 +1,14 @@
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 {};
@@ -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 DimensionDimensionUnitEnum = {
15
+ Cm: 'CM',
16
+ M: 'M'
17
+ };
@@ -0,0 +1,14 @@
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 {};
@@ -0,0 +1,19 @@
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 DocumentFormatEnum = {
15
+ Zpl: 'ZPL',
16
+ Pdf: 'PDF',
17
+ Png: 'PNG',
18
+ PlainText: 'PLAIN_TEXT'
19
+ };
@@ -0,0 +1,14 @@
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 {};
@@ -0,0 +1,14 @@
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 {};
@@ -0,0 +1,57 @@
1
+ export * from './address';
2
+ export * from './amount';
3
+ export * from './cancellation';
4
+ export * from './charge';
5
+ export * from './charge-breakup';
6
+ export * from './compliance-attributes';
7
+ export * from './courier-supported-attributes';
8
+ export * from './custom-attribute';
9
+ export * from './custom-attribute-type';
10
+ export * from './dimension';
11
+ export * from './document';
12
+ export * from './document-v2';
13
+ export * from './error-list';
14
+ export * from './gift-attributes';
15
+ export * from './invoice-info';
16
+ export * from './invoice-requirement';
17
+ export * from './invoice-response';
18
+ export * from './line-item';
19
+ export * from './line-item-with-reason';
20
+ export * from './marketplace-attributes';
21
+ export * from './model-error';
22
+ export * from './original-line-item';
23
+ export * from './package';
24
+ export * from './package-delivery-status';
25
+ export * from './package-dimensions';
26
+ export * from './package-line-item';
27
+ export * from './package-ship-label';
28
+ export * from './package-status';
29
+ export * from './package-sub-status';
30
+ export * from './packages';
31
+ export * from './packing-slip-requirement';
32
+ export * from './pagination';
33
+ export * from './party-identification-info';
34
+ export * from './piece-type';
35
+ export * from './presence-status';
36
+ export * from './priority';
37
+ export * from './recommended-package';
38
+ export * from './recommended-package-line-item';
39
+ export * from './replaced-shipment-info';
40
+ export * from './requirement-level';
41
+ export * from './ship-label-metadata';
42
+ export * from './ship-labels-input';
43
+ export * from './ship-labels-response';
44
+ export * from './shipment';
45
+ export * from './shipment-acknowledgement-request';
46
+ export * from './shipment-info';
47
+ export * from './shipment-line-item';
48
+ export * from './shipment-requirements';
49
+ export * from './shipments-response';
50
+ export * from './shipping-info';
51
+ export * from './shipping-options';
52
+ export * from './shipping-options-response';
53
+ export * from './status';
54
+ export * from './tax';
55
+ export * from './tax-registration-info';
56
+ export * from './time-window';
57
+ export * from './weight';
@@ -0,0 +1,14 @@
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 {};
@@ -0,0 +1,22 @@
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 InvoiceRequirementRequirementEnum = {
15
+ Required: 'REQUIRED',
16
+ NotRequired: 'NOT_REQUIRED'
17
+ };
18
+ export const InvoiceRequirementStatusEnum = {
19
+ Pending: 'PENDING',
20
+ Available: 'AVAILABLE',
21
+ NotAvailable: 'NOT_AVAILABLE'
22
+ };
@@ -0,0 +1,14 @@
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 {};
@@ -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 LineItemWithReasonReasonEnum = {
15
+ OutOfStock: 'OUT_OF_STOCK',
16
+ CustomerRequested: 'CUSTOMER_REQUESTED'
17
+ };
@@ -0,0 +1,14 @@
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 {};