@sp-api-sdk/merchant-fulfillment-api-v0 3.1.12 → 4.0.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 (212) hide show
  1. package/README.md +4 -4
  2. package/dist/index.cjs +775 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +2022 -0
  5. package/dist/index.d.ts +2022 -0
  6. package/dist/index.js +716 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +23 -12
  9. package/dist/cjs/api-model/api/merchant-fulfillment-api.js +0 -355
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/additional-inputs.js +0 -15
  16. package/dist/cjs/api-model/models/additional-seller-input.js +0 -15
  17. package/dist/cjs/api-model/models/additional-seller-inputs.js +0 -15
  18. package/dist/cjs/api-model/models/address.js +0 -15
  19. package/dist/cjs/api-model/models/available-carrier-will-pick-up-option.js +0 -15
  20. package/dist/cjs/api-model/models/available-delivery-experience-option.js +0 -15
  21. package/dist/cjs/api-model/models/available-shipping-service-options.js +0 -15
  22. package/dist/cjs/api-model/models/benefits.js +0 -15
  23. package/dist/cjs/api-model/models/cancel-shipment-response.js +0 -15
  24. package/dist/cjs/api-model/models/carrier-will-pick-up-option.js +0 -24
  25. package/dist/cjs/api-model/models/constraint.js +0 -15
  26. package/dist/cjs/api-model/models/create-shipment-request.js +0 -15
  27. package/dist/cjs/api-model/models/create-shipment-response.js +0 -15
  28. package/dist/cjs/api-model/models/currency-amount.js +0 -15
  29. package/dist/cjs/api-model/models/dangerous-goods-details.js +0 -36
  30. package/dist/cjs/api-model/models/delivery-experience-option.js +0 -26
  31. package/dist/cjs/api-model/models/delivery-experience-type.js +0 -25
  32. package/dist/cjs/api-model/models/excluded-benefit.js +0 -15
  33. package/dist/cjs/api-model/models/file-contents.js +0 -15
  34. package/dist/cjs/api-model/models/file-type.js +0 -24
  35. package/dist/cjs/api-model/models/get-additional-seller-inputs-request.js +0 -15
  36. package/dist/cjs/api-model/models/get-additional-seller-inputs-response.js +0 -15
  37. package/dist/cjs/api-model/models/get-additional-seller-inputs-result.js +0 -15
  38. package/dist/cjs/api-model/models/get-eligible-shipment-services-request.js +0 -15
  39. package/dist/cjs/api-model/models/get-eligible-shipment-services-response.js +0 -15
  40. package/dist/cjs/api-model/models/get-eligible-shipment-services-result.js +0 -15
  41. package/dist/cjs/api-model/models/get-shipment-response.js +0 -15
  42. package/dist/cjs/api-model/models/hazmat-type.js +0 -23
  43. package/dist/cjs/api-model/models/index.js +0 -75
  44. package/dist/cjs/api-model/models/input-target-type.js +0 -23
  45. package/dist/cjs/api-model/models/item-level-fields.js +0 -15
  46. package/dist/cjs/api-model/models/item.js +0 -15
  47. package/dist/cjs/api-model/models/label-customization.js +0 -15
  48. package/dist/cjs/api-model/models/label-dimensions.js +0 -15
  49. package/dist/cjs/api-model/models/label-format-option-request.js +0 -15
  50. package/dist/cjs/api-model/models/label-format-option.js +0 -15
  51. package/dist/cjs/api-model/models/label-format.js +0 -26
  52. package/dist/cjs/api-model/models/label.js +0 -15
  53. package/dist/cjs/api-model/models/length.js +0 -15
  54. package/dist/cjs/api-model/models/liquid-volume.js +0 -25
  55. package/dist/cjs/api-model/models/model-error.js +0 -15
  56. package/dist/cjs/api-model/models/package-dimensions.js +0 -15
  57. package/dist/cjs/api-model/models/predefined-package-dimensions.js +0 -71
  58. package/dist/cjs/api-model/models/rate-item-id.js +0 -22
  59. package/dist/cjs/api-model/models/rate-item-type.js +0 -22
  60. package/dist/cjs/api-model/models/rate-item.js +0 -15
  61. package/dist/cjs/api-model/models/rejected-shipping-service.js +0 -15
  62. package/dist/cjs/api-model/models/seller-input-definition.js +0 -15
  63. package/dist/cjs/api-model/models/shipment-request-details.js +0 -15
  64. package/dist/cjs/api-model/models/shipment-status.js +0 -25
  65. package/dist/cjs/api-model/models/shipment.js +0 -15
  66. package/dist/cjs/api-model/models/shipping-offering-filter.js +0 -15
  67. package/dist/cjs/api-model/models/shipping-service-options.js +0 -15
  68. package/dist/cjs/api-model/models/shipping-service.js +0 -15
  69. package/dist/cjs/api-model/models/standard-id-for-label.js +0 -22
  70. package/dist/cjs/api-model/models/temporarily-unavailable-carrier.js +0 -15
  71. package/dist/cjs/api-model/models/terms-and-conditions-not-accepted-carrier.js +0 -15
  72. package/dist/cjs/api-model/models/unit-of-length.js +0 -23
  73. package/dist/cjs/api-model/models/unit-of-weight.js +0 -23
  74. package/dist/cjs/api-model/models/weight.js +0 -15
  75. package/dist/cjs/client.js +0 -49
  76. package/dist/cjs/index.js +0 -19
  77. package/dist/es/api-model/api/merchant-fulfillment-api.js +0 -345
  78. package/dist/es/api-model/api.js +0 -14
  79. package/dist/es/api-model/base.js +0 -44
  80. package/dist/es/api-model/common.js +0 -110
  81. package/dist/es/api-model/configuration.js +0 -94
  82. package/dist/es/api-model/index.js +0 -16
  83. package/dist/es/api-model/models/additional-inputs.js +0 -14
  84. package/dist/es/api-model/models/additional-seller-input.js +0 -14
  85. package/dist/es/api-model/models/additional-seller-inputs.js +0 -14
  86. package/dist/es/api-model/models/address.js +0 -14
  87. package/dist/es/api-model/models/available-carrier-will-pick-up-option.js +0 -14
  88. package/dist/es/api-model/models/available-delivery-experience-option.js +0 -14
  89. package/dist/es/api-model/models/available-shipping-service-options.js +0 -14
  90. package/dist/es/api-model/models/benefits.js +0 -14
  91. package/dist/es/api-model/models/cancel-shipment-response.js +0 -14
  92. package/dist/es/api-model/models/carrier-will-pick-up-option.js +0 -21
  93. package/dist/es/api-model/models/constraint.js +0 -14
  94. package/dist/es/api-model/models/create-shipment-request.js +0 -14
  95. package/dist/es/api-model/models/create-shipment-response.js +0 -14
  96. package/dist/es/api-model/models/currency-amount.js +0 -14
  97. package/dist/es/api-model/models/dangerous-goods-details.js +0 -33
  98. package/dist/es/api-model/models/delivery-experience-option.js +0 -23
  99. package/dist/es/api-model/models/delivery-experience-type.js +0 -22
  100. package/dist/es/api-model/models/excluded-benefit.js +0 -14
  101. package/dist/es/api-model/models/file-contents.js +0 -14
  102. package/dist/es/api-model/models/file-type.js +0 -21
  103. package/dist/es/api-model/models/get-additional-seller-inputs-request.js +0 -14
  104. package/dist/es/api-model/models/get-additional-seller-inputs-response.js +0 -14
  105. package/dist/es/api-model/models/get-additional-seller-inputs-result.js +0 -14
  106. package/dist/es/api-model/models/get-eligible-shipment-services-request.js +0 -14
  107. package/dist/es/api-model/models/get-eligible-shipment-services-response.js +0 -14
  108. package/dist/es/api-model/models/get-eligible-shipment-services-result.js +0 -14
  109. package/dist/es/api-model/models/get-shipment-response.js +0 -14
  110. package/dist/es/api-model/models/hazmat-type.js +0 -20
  111. package/dist/es/api-model/models/index.js +0 -59
  112. package/dist/es/api-model/models/input-target-type.js +0 -20
  113. package/dist/es/api-model/models/item-level-fields.js +0 -14
  114. package/dist/es/api-model/models/item.js +0 -14
  115. package/dist/es/api-model/models/label-customization.js +0 -14
  116. package/dist/es/api-model/models/label-dimensions.js +0 -14
  117. package/dist/es/api-model/models/label-format-option-request.js +0 -14
  118. package/dist/es/api-model/models/label-format-option.js +0 -14
  119. package/dist/es/api-model/models/label-format.js +0 -23
  120. package/dist/es/api-model/models/label.js +0 -14
  121. package/dist/es/api-model/models/length.js +0 -14
  122. package/dist/es/api-model/models/liquid-volume.js +0 -22
  123. package/dist/es/api-model/models/model-error.js +0 -14
  124. package/dist/es/api-model/models/package-dimensions.js +0 -14
  125. package/dist/es/api-model/models/predefined-package-dimensions.js +0 -68
  126. package/dist/es/api-model/models/rate-item-id.js +0 -19
  127. package/dist/es/api-model/models/rate-item-type.js +0 -19
  128. package/dist/es/api-model/models/rate-item.js +0 -14
  129. package/dist/es/api-model/models/rejected-shipping-service.js +0 -14
  130. package/dist/es/api-model/models/seller-input-definition.js +0 -14
  131. package/dist/es/api-model/models/shipment-request-details.js +0 -14
  132. package/dist/es/api-model/models/shipment-status.js +0 -22
  133. package/dist/es/api-model/models/shipment.js +0 -14
  134. package/dist/es/api-model/models/shipping-offering-filter.js +0 -14
  135. package/dist/es/api-model/models/shipping-service-options.js +0 -14
  136. package/dist/es/api-model/models/shipping-service.js +0 -14
  137. package/dist/es/api-model/models/standard-id-for-label.js +0 -19
  138. package/dist/es/api-model/models/temporarily-unavailable-carrier.js +0 -14
  139. package/dist/es/api-model/models/terms-and-conditions-not-accepted-carrier.js +0 -14
  140. package/dist/es/api-model/models/unit-of-length.js +0 -20
  141. package/dist/es/api-model/models/unit-of-weight.js +0 -20
  142. package/dist/es/api-model/models/weight.js +0 -14
  143. package/dist/es/client.js +0 -45
  144. package/dist/es/index.js +0 -3
  145. package/dist/types/api-model/api/merchant-fulfillment-api.d.ts +0 -228
  146. package/dist/types/api-model/api.d.ts +0 -12
  147. package/dist/types/api-model/base.d.ts +0 -42
  148. package/dist/types/api-model/common.d.ts +0 -34
  149. package/dist/types/api-model/configuration.d.ts +0 -98
  150. package/dist/types/api-model/index.d.ts +0 -14
  151. package/dist/types/api-model/models/additional-inputs.d.ts +0 -22
  152. package/dist/types/api-model/models/additional-seller-input.d.ts +0 -44
  153. package/dist/types/api-model/models/additional-seller-inputs.d.ts +0 -22
  154. package/dist/types/api-model/models/address.d.ts +0 -60
  155. package/dist/types/api-model/models/available-carrier-will-pick-up-option.d.ts +0 -20
  156. package/dist/types/api-model/models/available-delivery-experience-option.d.ts +0 -20
  157. package/dist/types/api-model/models/available-shipping-service-options.d.ts +0 -26
  158. package/dist/types/api-model/models/benefits.d.ts +0 -25
  159. package/dist/types/api-model/models/cancel-shipment-response.d.ts +0 -22
  160. package/dist/types/api-model/models/carrier-will-pick-up-option.d.ts +0 -20
  161. package/dist/types/api-model/models/constraint.d.ts +0 -24
  162. package/dist/types/api-model/models/create-shipment-request.d.ts +0 -35
  163. package/dist/types/api-model/models/create-shipment-response.d.ts +0 -22
  164. package/dist/types/api-model/models/currency-amount.d.ts +0 -24
  165. package/dist/types/api-model/models/dangerous-goods-details.d.ts +0 -54
  166. package/dist/types/api-model/models/delivery-experience-option.d.ts +0 -22
  167. package/dist/types/api-model/models/delivery-experience-type.d.ts +0 -21
  168. package/dist/types/api-model/models/excluded-benefit.d.ts +0 -24
  169. package/dist/types/api-model/models/file-contents.d.ts +0 -26
  170. package/dist/types/api-model/models/file-type.d.ts +0 -20
  171. package/dist/types/api-model/models/get-additional-seller-inputs-request.d.ts +0 -26
  172. package/dist/types/api-model/models/get-additional-seller-inputs-response.d.ts +0 -22
  173. package/dist/types/api-model/models/get-additional-seller-inputs-result.d.ts +0 -26
  174. package/dist/types/api-model/models/get-eligible-shipment-services-request.d.ts +0 -20
  175. package/dist/types/api-model/models/get-eligible-shipment-services-response.d.ts +0 -22
  176. package/dist/types/api-model/models/get-eligible-shipment-services-result.d.ts +0 -36
  177. package/dist/types/api-model/models/get-shipment-response.d.ts +0 -22
  178. package/dist/types/api-model/models/hazmat-type.d.ts +0 -19
  179. package/dist/types/api-model/models/index.d.ts +0 -59
  180. package/dist/types/api-model/models/input-target-type.d.ts +0 -19
  181. package/dist/types/api-model/models/item-level-fields.d.ts +0 -25
  182. package/dist/types/api-model/models/item.d.ts +0 -47
  183. package/dist/types/api-model/models/label-customization.d.ts +0 -22
  184. package/dist/types/api-model/models/label-dimensions.d.ts +0 -26
  185. package/dist/types/api-model/models/label-format-option-request.d.ts +0 -20
  186. package/dist/types/api-model/models/label-format-option.d.ts +0 -22
  187. package/dist/types/api-model/models/label-format.d.ts +0 -22
  188. package/dist/types/api-model/models/label.d.ts +0 -28
  189. package/dist/types/api-model/models/length.d.ts +0 -22
  190. package/dist/types/api-model/models/liquid-volume.d.ts +0 -34
  191. package/dist/types/api-model/models/model-error.d.ts +0 -28
  192. package/dist/types/api-model/models/package-dimensions.d.ts +0 -32
  193. package/dist/types/api-model/models/predefined-package-dimensions.d.ts +0 -67
  194. package/dist/types/api-model/models/rate-item-id.d.ts +0 -18
  195. package/dist/types/api-model/models/rate-item-type.d.ts +0 -18
  196. package/dist/types/api-model/models/rate-item.d.ts +0 -26
  197. package/dist/types/api-model/models/rejected-shipping-service.d.ts +0 -36
  198. package/dist/types/api-model/models/seller-input-definition.d.ts +0 -41
  199. package/dist/types/api-model/models/shipment-request-details.d.ts +0 -47
  200. package/dist/types/api-model/models/shipment-status.d.ts +0 -21
  201. package/dist/types/api-model/models/shipment.d.ts +0 -60
  202. package/dist/types/api-model/models/shipping-offering-filter.d.ts +0 -28
  203. package/dist/types/api-model/models/shipping-service-options.d.ts +0 -28
  204. package/dist/types/api-model/models/shipping-service.d.ts +0 -72
  205. package/dist/types/api-model/models/standard-id-for-label.d.ts +0 -18
  206. package/dist/types/api-model/models/temporarily-unavailable-carrier.d.ts +0 -20
  207. package/dist/types/api-model/models/terms-and-conditions-not-accepted-carrier.d.ts +0 -20
  208. package/dist/types/api-model/models/unit-of-length.d.ts +0 -19
  209. package/dist/types/api-model/models/unit-of-weight.d.ts +0 -19
  210. package/dist/types/api-model/models/weight.d.ts +0 -22
  211. package/dist/types/client.d.ts +0 -6
  212. package/dist/types/index.d.ts +0 -3
@@ -1,228 +0,0 @@
1
- /**
2
- * Selling Partner API for Merchant Fulfillment
3
- * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
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 { CancelShipmentResponse } from '../models';
17
- import type { CreateShipmentRequest } from '../models';
18
- import type { CreateShipmentResponse } from '../models';
19
- import type { GetAdditionalSellerInputsRequest } from '../models';
20
- import type { GetAdditionalSellerInputsResponse } from '../models';
21
- import type { GetEligibleShipmentServicesRequest } from '../models';
22
- import type { GetEligibleShipmentServicesResponse } from '../models';
23
- import type { GetShipmentResponse } from '../models';
24
- /**
25
- * MerchantFulfillmentApi - axios parameter creator
26
- */
27
- export declare const MerchantFulfillmentApiAxiosParamCreator: (configuration?: Configuration) => {
28
- /**
29
- * Cancel the shipment indicated by the specified shipment identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
30
- * @param {string} shipmentId The Amazon-defined shipment identifier for the shipment to cancel.
31
- * @param {*} [options] Override http request option.
32
- * @throws {RequiredError}
33
- */
34
- cancelShipment: (shipmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35
- /**
36
- * Create a shipment with the information provided. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
37
- * @param {CreateShipmentRequest} body The request schema for the &#x60;CreateShipment&#x60; operation.
38
- * @param {*} [options] Override http request option.
39
- * @throws {RequiredError}
40
- */
41
- createShipment: (body: CreateShipmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
42
- /**
43
- * Gets a list of additional seller inputs required for a ship method. This is generally used for international shipping. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
44
- * @param {GetAdditionalSellerInputsRequest} body The request schema for the &#x60;GetAdditionalSellerInputs&#x60; operation.
45
- * @param {*} [options] Override http request option.
46
- * @throws {RequiredError}
47
- */
48
- getAdditionalSellerInputs: (body: GetAdditionalSellerInputsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49
- /**
50
- * Returns a list of shipping service offers that satisfy the specified shipment request details. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 6 | 12 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
51
- * @param {GetEligibleShipmentServicesRequest} body The request schema for the &#x60;GetEligibleShipmentServices&#x60; operation.
52
- * @param {*} [options] Override http request option.
53
- * @throws {RequiredError}
54
- */
55
- getEligibleShipmentServices: (body: GetEligibleShipmentServicesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
56
- /**
57
- * Returns the shipment information for an existing shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
58
- * @param {string} shipmentId The Amazon-defined shipment identifier for the shipment.
59
- * @param {*} [options] Override http request option.
60
- * @throws {RequiredError}
61
- */
62
- getShipment: (shipmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
63
- };
64
- /**
65
- * MerchantFulfillmentApi - functional programming interface
66
- */
67
- export declare const MerchantFulfillmentApiFp: (configuration?: Configuration) => {
68
- /**
69
- * Cancel the shipment indicated by the specified shipment identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
70
- * @param {string} shipmentId The Amazon-defined shipment identifier for the shipment to cancel.
71
- * @param {*} [options] Override http request option.
72
- * @throws {RequiredError}
73
- */
74
- cancelShipment(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelShipmentResponse>>;
75
- /**
76
- * Create a shipment with the information provided. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
77
- * @param {CreateShipmentRequest} body The request schema for the &#x60;CreateShipment&#x60; operation.
78
- * @param {*} [options] Override http request option.
79
- * @throws {RequiredError}
80
- */
81
- createShipment(body: CreateShipmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateShipmentResponse>>;
82
- /**
83
- * Gets a list of additional seller inputs required for a ship method. This is generally used for international shipping. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
84
- * @param {GetAdditionalSellerInputsRequest} body The request schema for the &#x60;GetAdditionalSellerInputs&#x60; operation.
85
- * @param {*} [options] Override http request option.
86
- * @throws {RequiredError}
87
- */
88
- getAdditionalSellerInputs(body: GetAdditionalSellerInputsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAdditionalSellerInputsResponse>>;
89
- /**
90
- * Returns a list of shipping service offers that satisfy the specified shipment request details. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 6 | 12 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
91
- * @param {GetEligibleShipmentServicesRequest} body The request schema for the &#x60;GetEligibleShipmentServices&#x60; operation.
92
- * @param {*} [options] Override http request option.
93
- * @throws {RequiredError}
94
- */
95
- getEligibleShipmentServices(body: GetEligibleShipmentServicesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEligibleShipmentServicesResponse>>;
96
- /**
97
- * Returns the shipment information for an existing shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
98
- * @param {string} shipmentId The Amazon-defined shipment identifier for the shipment.
99
- * @param {*} [options] Override http request option.
100
- * @throws {RequiredError}
101
- */
102
- getShipment(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetShipmentResponse>>;
103
- };
104
- /**
105
- * MerchantFulfillmentApi - factory interface
106
- */
107
- export declare const MerchantFulfillmentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
108
- /**
109
- * Cancel the shipment indicated by the specified shipment identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
110
- * @param {MerchantFulfillmentApiCancelShipmentRequest} requestParameters Request parameters.
111
- * @param {*} [options] Override http request option.
112
- * @throws {RequiredError}
113
- */
114
- cancelShipment(requestParameters: MerchantFulfillmentApiCancelShipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelShipmentResponse>;
115
- /**
116
- * Create a shipment with the information provided. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
117
- * @param {MerchantFulfillmentApiCreateShipmentRequest} requestParameters Request parameters.
118
- * @param {*} [options] Override http request option.
119
- * @throws {RequiredError}
120
- */
121
- createShipment(requestParameters: MerchantFulfillmentApiCreateShipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateShipmentResponse>;
122
- /**
123
- * Gets a list of additional seller inputs required for a ship method. This is generally used for international shipping. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
124
- * @param {MerchantFulfillmentApiGetAdditionalSellerInputsRequest} requestParameters Request parameters.
125
- * @param {*} [options] Override http request option.
126
- * @throws {RequiredError}
127
- */
128
- getAdditionalSellerInputs(requestParameters: MerchantFulfillmentApiGetAdditionalSellerInputsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAdditionalSellerInputsResponse>;
129
- /**
130
- * Returns a list of shipping service offers that satisfy the specified shipment request details. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 6 | 12 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
131
- * @param {MerchantFulfillmentApiGetEligibleShipmentServicesRequest} requestParameters Request parameters.
132
- * @param {*} [options] Override http request option.
133
- * @throws {RequiredError}
134
- */
135
- getEligibleShipmentServices(requestParameters: MerchantFulfillmentApiGetEligibleShipmentServicesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEligibleShipmentServicesResponse>;
136
- /**
137
- * Returns the shipment information for an existing shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
138
- * @param {MerchantFulfillmentApiGetShipmentRequest} requestParameters Request parameters.
139
- * @param {*} [options] Override http request option.
140
- * @throws {RequiredError}
141
- */
142
- getShipment(requestParameters: MerchantFulfillmentApiGetShipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetShipmentResponse>;
143
- };
144
- /**
145
- * Request parameters for cancelShipment operation in MerchantFulfillmentApi.
146
- */
147
- export interface MerchantFulfillmentApiCancelShipmentRequest {
148
- /**
149
- * The Amazon-defined shipment identifier for the shipment to cancel.
150
- */
151
- readonly shipmentId: string;
152
- }
153
- /**
154
- * Request parameters for createShipment operation in MerchantFulfillmentApi.
155
- */
156
- export interface MerchantFulfillmentApiCreateShipmentRequest {
157
- /**
158
- * The request schema for the &#x60;CreateShipment&#x60; operation.
159
- */
160
- readonly body: CreateShipmentRequest;
161
- }
162
- /**
163
- * Request parameters for getAdditionalSellerInputs operation in MerchantFulfillmentApi.
164
- */
165
- export interface MerchantFulfillmentApiGetAdditionalSellerInputsRequest {
166
- /**
167
- * The request schema for the &#x60;GetAdditionalSellerInputs&#x60; operation.
168
- */
169
- readonly body: GetAdditionalSellerInputsRequest;
170
- }
171
- /**
172
- * Request parameters for getEligibleShipmentServices operation in MerchantFulfillmentApi.
173
- */
174
- export interface MerchantFulfillmentApiGetEligibleShipmentServicesRequest {
175
- /**
176
- * The request schema for the &#x60;GetEligibleShipmentServices&#x60; operation.
177
- */
178
- readonly body: GetEligibleShipmentServicesRequest;
179
- }
180
- /**
181
- * Request parameters for getShipment operation in MerchantFulfillmentApi.
182
- */
183
- export interface MerchantFulfillmentApiGetShipmentRequest {
184
- /**
185
- * The Amazon-defined shipment identifier for the shipment.
186
- */
187
- readonly shipmentId: string;
188
- }
189
- /**
190
- * MerchantFulfillmentApi - object-oriented interface
191
- */
192
- export declare class MerchantFulfillmentApi extends BaseAPI {
193
- /**
194
- * Cancel the shipment indicated by the specified shipment identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
195
- * @param {MerchantFulfillmentApiCancelShipmentRequest} requestParameters Request parameters.
196
- * @param {*} [options] Override http request option.
197
- * @throws {RequiredError}
198
- */
199
- cancelShipment(requestParameters: MerchantFulfillmentApiCancelShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelShipmentResponse, any, {}>>;
200
- /**
201
- * Create a shipment with the information provided. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
202
- * @param {MerchantFulfillmentApiCreateShipmentRequest} requestParameters Request parameters.
203
- * @param {*} [options] Override http request option.
204
- * @throws {RequiredError}
205
- */
206
- createShipment(requestParameters: MerchantFulfillmentApiCreateShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateShipmentResponse, any, {}>>;
207
- /**
208
- * Gets a list of additional seller inputs required for a ship method. This is generally used for international shipping. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
209
- * @param {MerchantFulfillmentApiGetAdditionalSellerInputsRequest} requestParameters Request parameters.
210
- * @param {*} [options] Override http request option.
211
- * @throws {RequiredError}
212
- */
213
- getAdditionalSellerInputs(requestParameters: MerchantFulfillmentApiGetAdditionalSellerInputsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetAdditionalSellerInputsResponse, any, {}>>;
214
- /**
215
- * Returns a list of shipping service offers that satisfy the specified shipment request details. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 6 | 12 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
216
- * @param {MerchantFulfillmentApiGetEligibleShipmentServicesRequest} requestParameters Request parameters.
217
- * @param {*} [options] Override http request option.
218
- * @throws {RequiredError}
219
- */
220
- getEligibleShipmentServices(requestParameters: MerchantFulfillmentApiGetEligibleShipmentServicesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetEligibleShipmentServicesResponse, any, {}>>;
221
- /**
222
- * Returns the shipment information for an existing shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the SP-API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
223
- * @param {MerchantFulfillmentApiGetShipmentRequest} requestParameters Request parameters.
224
- * @param {*} [options] Override http request option.
225
- * @throws {RequiredError}
226
- */
227
- getShipment(requestParameters: MerchantFulfillmentApiGetShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetShipmentResponse, any, {}>>;
228
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * Selling Partner API for Merchant Fulfillment
3
- * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
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
- export * from './api/merchant-fulfillment-api';
@@ -1,42 +0,0 @@
1
- /**
2
- * Selling Partner API for Merchant Fulfillment
3
- * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
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 { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- export declare const BASE_PATH: string;
15
- export declare const COLLECTION_FORMATS: {
16
- csv: string;
17
- ssv: string;
18
- tsv: string;
19
- pipes: string;
20
- };
21
- export interface RequestArgs {
22
- url: string;
23
- options: RawAxiosRequestConfig;
24
- }
25
- export declare class BaseAPI {
26
- protected basePath: string;
27
- protected axios: AxiosInstance;
28
- protected configuration: Configuration | undefined;
29
- constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
30
- }
31
- export declare class RequiredError extends Error {
32
- field: string;
33
- constructor(field: string, msg?: string);
34
- }
35
- interface ServerMap {
36
- [key: string]: {
37
- url: string;
38
- description: string;
39
- }[];
40
- }
41
- export declare const operationServerMap: ServerMap;
42
- export {};
@@ -1,34 +0,0 @@
1
- /**
2
- * Selling Partner API for Merchant Fulfillment
3
- * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
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 { RequestArgs } from "./base";
14
- import type { AxiosInstance, AxiosResponse } from 'axios';
15
- export declare const DUMMY_BASE_URL = "https://example.com";
16
- /**
17
- *
18
- * @throws {RequiredError}
19
- */
20
- export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
21
- export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
22
- export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
23
- export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
24
- export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
25
- export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
26
- /**
27
- * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
28
- * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
- * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
30
- */
31
- export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
32
- export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
33
- export declare const toPathString: (url: URL) => string;
34
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -1,98 +0,0 @@
1
- /**
2
- * Selling Partner API for Merchant Fulfillment
3
- * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
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
- interface AWSv4Configuration {
13
- options?: {
14
- region?: string;
15
- service?: string;
16
- };
17
- credentials?: {
18
- accessKeyId?: string;
19
- secretAccessKey?: string;
20
- sessionToken?: string;
21
- };
22
- }
23
- export interface ConfigurationParameters {
24
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
25
- username?: string;
26
- password?: string;
27
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
- awsv4?: AWSv4Configuration;
29
- basePath?: string;
30
- serverIndex?: number;
31
- baseOptions?: any;
32
- formDataCtor?: new () => any;
33
- }
34
- export declare class Configuration {
35
- /**
36
- * parameter for apiKey security
37
- * @param name security name
38
- */
39
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
40
- /**
41
- * parameter for basic security
42
- */
43
- username?: string;
44
- /**
45
- * parameter for basic security
46
- */
47
- password?: string;
48
- /**
49
- * parameter for oauth2 security
50
- * @param name security name
51
- * @param scopes oauth2 scope
52
- */
53
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
54
- /**
55
- * parameter for aws4 signature security
56
- * @param {Object} AWS4Signature - AWS4 Signature security
57
- * @param {string} options.region - aws region
58
- * @param {string} options.service - name of the service.
59
- * @param {string} credentials.accessKeyId - aws access key id
60
- * @param {string} credentials.secretAccessKey - aws access key
61
- * @param {string} credentials.sessionToken - aws session token
62
- * @memberof Configuration
63
- */
64
- awsv4?: AWSv4Configuration;
65
- /**
66
- * override base path
67
- */
68
- basePath?: string;
69
- /**
70
- * override server index
71
- */
72
- serverIndex?: number;
73
- /**
74
- * base options for axios calls
75
- */
76
- baseOptions?: any;
77
- /**
78
- * The FormData constructor that will be used to create multipart form data
79
- * requests. You can inject this here so that execution environments that
80
- * do not support the FormData class can still run the generated client.
81
- *
82
- * @type {new () => FormData}
83
- */
84
- formDataCtor?: new () => any;
85
- constructor(param?: ConfigurationParameters);
86
- /**
87
- * Check if the given MIME is a JSON MIME.
88
- * JSON MIME examples:
89
- * application/json
90
- * application/json; charset=UTF8
91
- * APPLICATION/JSON
92
- * application/vnd.company+json
93
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
94
- * @return True if the given MIME is JSON, false otherwise.
95
- */
96
- isJsonMime(mime: string): boolean;
97
- }
98
- export {};
@@ -1,14 +0,0 @@
1
- /**
2
- * Selling Partner API for Merchant Fulfillment
3
- * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
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
- export * from "./api";
13
- export * from "./configuration";
14
- export * from "./models";
@@ -1,22 +0,0 @@
1
- /**
2
- * Selling Partner API for Merchant Fulfillment
3
- * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
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 { SellerInputDefinition } from './seller-input-definition';
13
- /**
14
- * Maps the additional seller input to the definition. The key to the map is the field name.
15
- */
16
- export interface AdditionalInputs {
17
- /**
18
- * The field name.
19
- */
20
- 'AdditionalInputFieldName'?: string;
21
- 'SellerInputDefinition'?: SellerInputDefinition;
22
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * Selling Partner API for Merchant Fulfillment
3
- * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
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 { Address } from './address';
13
- import type { CurrencyAmount } from './currency-amount';
14
- import type { Length } from './length';
15
- import type { Weight } from './weight';
16
- /**
17
- * Additional information required to purchase shipping.
18
- */
19
- export interface AdditionalSellerInput {
20
- /**
21
- * The data type of the additional information.
22
- */
23
- 'DataType'?: string;
24
- /**
25
- * The value when the data type is string.
26
- */
27
- 'ValueAsString'?: string;
28
- /**
29
- * The value when the data type is boolean.
30
- */
31
- 'ValueAsBoolean'?: boolean;
32
- /**
33
- * The value when the data type is integer.
34
- */
35
- 'ValueAsInteger'?: number;
36
- /**
37
- * Date-time formatted timestamp.
38
- */
39
- 'ValueAsTimestamp'?: string;
40
- 'ValueAsAddress'?: Address;
41
- 'ValueAsWeight'?: Weight;
42
- 'ValueAsDimension'?: Length;
43
- 'ValueAsCurrency'?: CurrencyAmount;
44
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * Selling Partner API for Merchant Fulfillment
3
- * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
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 { AdditionalSellerInput } from './additional-seller-input';
13
- /**
14
- * An additional set of seller inputs required to purchase shipping.
15
- */
16
- export interface AdditionalSellerInputs {
17
- /**
18
- * The name of the additional input field.
19
- */
20
- 'AdditionalInputFieldName': string;
21
- 'AdditionalSellerInput': AdditionalSellerInput;
22
- }
@@ -1,60 +0,0 @@
1
- /**
2
- * Selling Partner API for Merchant Fulfillment
3
- * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
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
- /**
13
- * The postal address information.
14
- */
15
- export interface Address {
16
- /**
17
- * The name of the addressee, or business name.
18
- */
19
- 'Name': string;
20
- /**
21
- * The street address information.
22
- */
23
- 'AddressLine1': string;
24
- /**
25
- * Additional street address information.
26
- */
27
- 'AddressLine2'?: string;
28
- /**
29
- * Additional street address information.
30
- */
31
- 'AddressLine3'?: string;
32
- /**
33
- * The district or county.
34
- */
35
- 'DistrictOrCounty'?: string;
36
- /**
37
- * The email address.
38
- */
39
- 'Email': string;
40
- /**
41
- * The city.
42
- */
43
- 'City': string;
44
- /**
45
- * The state or province code. This is a required field in Canada, US, and UK marketplaces, and for shipments that originate in China.
46
- */
47
- 'StateOrProvinceCode'?: string;
48
- /**
49
- * The zip code or postal code.
50
- */
51
- 'PostalCode': string;
52
- /**
53
- * The two-letter country code in [ISO 3166-1 alpha-2](https://www.iban.com/country-codes) format.
54
- */
55
- 'CountryCode': string;
56
- /**
57
- * The phone number.
58
- */
59
- 'Phone': string;
60
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for Merchant Fulfillment
3
- * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
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 { CarrierWillPickUpOption } from './carrier-will-pick-up-option';
13
- import type { CurrencyAmount } from './currency-amount';
14
- /**
15
- * Indicates whether the carrier will pick up the package, and what fee is charged, if any.
16
- */
17
- export interface AvailableCarrierWillPickUpOption {
18
- 'CarrierWillPickUpOption': CarrierWillPickUpOption;
19
- 'Charge': CurrencyAmount;
20
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for Merchant Fulfillment
3
- * With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
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 { CurrencyAmount } from './currency-amount';
13
- import type { DeliveryExperienceOption } from './delivery-experience-option';
14
- /**
15
- * The available delivery confirmation options, and the fee charged, if any.
16
- */
17
- export interface AvailableDeliveryExperienceOption {
18
- 'DeliveryExperienceOption': DeliveryExperienceOption;
19
- 'Charge': CurrencyAmount;
20
- }