@sp-api-sdk/fulfillment-inbound-api-2024-03-20 1.4.2 → 1.5.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 (70) hide show
  1. package/dist/cjs/api-model/api/fba-inbound-api.js +306 -178
  2. package/dist/cjs/api-model/models/all-owners-constraint.js +24 -0
  3. package/dist/cjs/api-model/models/index.js +9 -0
  4. package/dist/cjs/api-model/models/list-prep-details-response.js +15 -0
  5. package/dist/cjs/api-model/models/msku-prep-detail-input.js +15 -0
  6. package/dist/cjs/api-model/models/msku-prep-detail.js +15 -0
  7. package/dist/cjs/api-model/models/owner-constraint.js +26 -0
  8. package/dist/cjs/api-model/models/prep-category.js +37 -0
  9. package/dist/cjs/api-model/models/prep-owner.js +1 -1
  10. package/dist/cjs/api-model/models/prep-type.js +39 -0
  11. package/dist/cjs/api-model/models/set-prep-details-request.js +15 -0
  12. package/dist/cjs/api-model/models/set-prep-details-response.js +15 -0
  13. package/dist/cjs/client.js +15 -1
  14. package/dist/es/api-model/api/fba-inbound-api.js +306 -178
  15. package/dist/es/api-model/models/all-owners-constraint.js +21 -0
  16. package/dist/es/api-model/models/index.js +9 -0
  17. package/dist/es/api-model/models/list-prep-details-response.js +14 -0
  18. package/dist/es/api-model/models/msku-prep-detail-input.js +14 -0
  19. package/dist/es/api-model/models/msku-prep-detail.js +14 -0
  20. package/dist/es/api-model/models/owner-constraint.js +23 -0
  21. package/dist/es/api-model/models/prep-category.js +34 -0
  22. package/dist/es/api-model/models/prep-owner.js +1 -1
  23. package/dist/es/api-model/models/prep-type.js +36 -0
  24. package/dist/es/api-model/models/set-prep-details-request.js +14 -0
  25. package/dist/es/api-model/models/set-prep-details-response.js +14 -0
  26. package/dist/es/client.js +15 -1
  27. package/dist/types/api-model/api/fba-inbound-api.d.ts +276 -181
  28. package/dist/types/api-model/models/all-owners-constraint.d.ts +20 -0
  29. package/dist/types/api-model/models/content-update-preview.d.ts +1 -1
  30. package/dist/types/api-model/models/create-marketplace-item-labels-request.d.ts +2 -2
  31. package/dist/types/api-model/models/currency.d.ts +1 -1
  32. package/dist/types/api-model/models/delivery-window-option.d.ts +3 -3
  33. package/dist/types/api-model/models/document-download.d.ts +2 -2
  34. package/dist/types/api-model/models/freight-information.d.ts +1 -1
  35. package/dist/types/api-model/models/generate-placement-options-request.d.ts +1 -1
  36. package/dist/types/api-model/models/generate-self-ship-appointment-slots-request.d.ts +2 -2
  37. package/dist/types/api-model/models/inbound-plan-summary.d.ts +4 -4
  38. package/dist/types/api-model/models/inbound-plan.d.ts +5 -5
  39. package/dist/types/api-model/models/incentive.d.ts +2 -2
  40. package/dist/types/api-model/models/index.d.ts +9 -0
  41. package/dist/types/api-model/models/item-input.d.ts +3 -3
  42. package/dist/types/api-model/models/item.d.ts +2 -2
  43. package/dist/types/api-model/models/list-prep-details-response.d.ts +25 -0
  44. package/dist/types/api-model/models/msku-prep-detail-input.d.ts +38 -0
  45. package/dist/types/api-model/models/msku-prep-detail.d.ts +58 -0
  46. package/dist/types/api-model/models/msku-quantity.d.ts +1 -1
  47. package/dist/types/api-model/models/operation-problem.d.ts +1 -1
  48. package/dist/types/api-model/models/owner-constraint.d.ts +22 -0
  49. package/dist/types/api-model/models/packing-option-summary.d.ts +1 -1
  50. package/dist/types/api-model/models/packing-option.d.ts +2 -2
  51. package/dist/types/api-model/models/placement-option-summary.d.ts +1 -1
  52. package/dist/types/api-model/models/placement-option.d.ts +3 -3
  53. package/dist/types/api-model/models/prep-category.d.ts +33 -0
  54. package/dist/types/api-model/models/prep-instruction.d.ts +1 -1
  55. package/dist/types/api-model/models/prep-owner.d.ts +1 -1
  56. package/dist/types/api-model/models/prep-type.d.ts +35 -0
  57. package/dist/types/api-model/models/quote.d.ts +1 -1
  58. package/dist/types/api-model/models/self-ship-appointment-slots-availability.d.ts +2 -2
  59. package/dist/types/api-model/models/set-prep-details-request.d.ts +31 -0
  60. package/dist/types/api-model/models/set-prep-details-response.d.ts +24 -0
  61. package/dist/types/api-model/models/shipment-destination.d.ts +1 -1
  62. package/dist/types/api-model/models/shipment-source.d.ts +1 -1
  63. package/dist/types/api-model/models/shipment-summary.d.ts +1 -1
  64. package/dist/types/api-model/models/shipment.d.ts +1 -1
  65. package/dist/types/api-model/models/shipping-configuration.d.ts +2 -2
  66. package/dist/types/api-model/models/spd-tracking-item.d.ts +1 -1
  67. package/dist/types/api-model/models/tax-rate.d.ts +1 -1
  68. package/dist/types/api-model/models/transportation-option.d.ts +2 -2
  69. package/dist/types/api-model/models/window-input.d.ts +1 -1
  70. package/package.json +2 -2
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * The Selling Partner API for FBA inbound operations.
6
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
7
+ *
8
+ * The version of the OpenAPI document: 2024-03-20
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AllOwnersConstraint = void 0;
17
+ /**
18
+ * A constraint that applies to all owners. If no constraint is specified, defer to any individual owner constraints.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.AllOwnersConstraint = {
23
+ MustMatch: 'MUST_MATCH'
24
+ };
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./address"), exports);
18
18
  __exportStar(require("./address-input"), exports);
19
+ __exportStar(require("./all-owners-constraint"), exports);
19
20
  __exportStar(require("./appointment-slot"), exports);
20
21
  __exportStar(require("./appointment-slot-time"), exports);
21
22
  __exportStar(require("./box"), exports);
@@ -79,6 +80,7 @@ __exportStar(require("./list-packing-group-boxes-response"), exports);
79
80
  __exportStar(require("./list-packing-group-items-response"), exports);
80
81
  __exportStar(require("./list-packing-options-response"), exports);
81
82
  __exportStar(require("./list-placement-options-response"), exports);
83
+ __exportStar(require("./list-prep-details-response"), exports);
82
84
  __exportStar(require("./list-shipment-boxes-response"), exports);
83
85
  __exportStar(require("./list-shipment-content-update-previews-response"), exports);
84
86
  __exportStar(require("./list-shipment-items-response"), exports);
@@ -87,9 +89,12 @@ __exportStar(require("./list-transportation-options-response"), exports);
87
89
  __exportStar(require("./ltl-tracking-detail"), exports);
88
90
  __exportStar(require("./ltl-tracking-detail-input"), exports);
89
91
  __exportStar(require("./model-error"), exports);
92
+ __exportStar(require("./msku-prep-detail"), exports);
93
+ __exportStar(require("./msku-prep-detail-input"), exports);
90
94
  __exportStar(require("./msku-quantity"), exports);
91
95
  __exportStar(require("./operation-problem"), exports);
92
96
  __exportStar(require("./operation-status"), exports);
97
+ __exportStar(require("./owner-constraint"), exports);
93
98
  __exportStar(require("./package-grouping-input"), exports);
94
99
  __exportStar(require("./packing-option"), exports);
95
100
  __exportStar(require("./packing-option-summary"), exports);
@@ -98,8 +103,10 @@ __exportStar(require("./pallet"), exports);
98
103
  __exportStar(require("./pallet-input"), exports);
99
104
  __exportStar(require("./placement-option"), exports);
100
105
  __exportStar(require("./placement-option-summary"), exports);
106
+ __exportStar(require("./prep-category"), exports);
101
107
  __exportStar(require("./prep-instruction"), exports);
102
108
  __exportStar(require("./prep-owner"), exports);
109
+ __exportStar(require("./prep-type"), exports);
103
110
  __exportStar(require("./quote"), exports);
104
111
  __exportStar(require("./reason-comment"), exports);
105
112
  __exportStar(require("./region"), exports);
@@ -111,6 +118,8 @@ __exportStar(require("./self-ship-appointment-details"), exports);
111
118
  __exportStar(require("./self-ship-appointment-slots-availability"), exports);
112
119
  __exportStar(require("./set-packing-information-request"), exports);
113
120
  __exportStar(require("./set-packing-information-response"), exports);
121
+ __exportStar(require("./set-prep-details-request"), exports);
122
+ __exportStar(require("./set-prep-details-response"), exports);
114
123
  __exportStar(require("./shipment"), exports);
115
124
  __exportStar(require("./shipment-destination"), exports);
116
125
  __exportStar(require("./shipment-source"), exports);
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * The Selling Partner API for FBA inbound operations.
6
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
7
+ *
8
+ * The version of the OpenAPI document: 2024-03-20
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * The Selling Partner API for FBA inbound operations.
6
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
7
+ *
8
+ * The version of the OpenAPI document: 2024-03-20
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * The Selling Partner API for FBA inbound operations.
6
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
7
+ *
8
+ * The version of the OpenAPI document: 2024-03-20
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * The Selling Partner API for FBA inbound operations.
6
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
7
+ *
8
+ * The version of the OpenAPI document: 2024-03-20
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.OwnerConstraint = void 0;
17
+ /**
18
+ * A constraint that can apply to an individual owner. If no constraint is specified, both `AMAZON` and `SELLER` are acceptable.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.OwnerConstraint = {
23
+ AmazonOnly: 'AMAZON_ONLY',
24
+ NoneOnly: 'NONE_ONLY',
25
+ SellerOnly: 'SELLER_ONLY'
26
+ };
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * The Selling Partner API for FBA inbound operations.
6
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
7
+ *
8
+ * The version of the OpenAPI document: 2024-03-20
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PrepCategory = void 0;
17
+ /**
18
+ * The preparation category for shipping an item to Amazon\'s fulfillment network.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.PrepCategory = {
23
+ Adult: 'ADULT',
24
+ Baby: 'BABY',
25
+ FcProvided: 'FC_PROVIDED',
26
+ Fragile: 'FRAGILE',
27
+ Granular: 'GRANULAR',
28
+ Hanger: 'HANGER',
29
+ Liquid: 'LIQUID',
30
+ Perforated: 'PERFORATED',
31
+ Set: 'SET',
32
+ Sharp: 'SHARP',
33
+ Small: 'SMALL',
34
+ Textile: 'TEXTILE',
35
+ Unknown: 'UNKNOWN',
36
+ None: 'NONE'
37
+ };
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.PrepOwner = void 0;
17
17
  /**
18
- * In some situations, special preparations are required for items and this field reflects the owner of the preparations. Options include `AMAZON`, `SELLER` or `NONE`.
18
+ * The owner of the preparations, if special preparations are required.
19
19
  * @export
20
20
  * @enum {string}
21
21
  */
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * The Selling Partner API for FBA inbound operations.
6
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
7
+ *
8
+ * The version of the OpenAPI document: 2024-03-20
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PrepType = void 0;
17
+ /**
18
+ * Preparation instructions for shipping an item to Amazon\'s fulfillment network. For more information about preparing items for shipment to Amazon\'s fulfillment network, refer to [Seller Central Help for your marketplace](https://developer-docs.amazon.com/sp-api/docs/seller-central-urls).
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.PrepType = {
23
+ BlackShrinkwrap: 'ITEM_BLACK_SHRINKWRAP',
24
+ Blankstk: 'ITEM_BLANKSTK',
25
+ Boxing: 'ITEM_BOXING',
26
+ Bubblewrap: 'ITEM_BUBBLEWRAP',
27
+ CapSealing: 'ITEM_CAP_SEALING',
28
+ Debundle: 'ITEM_DEBUNDLE',
29
+ HangGarment: 'ITEM_HANG_GARMENT',
30
+ Labeling: 'ITEM_LABELING',
31
+ NoPrep: 'ITEM_NO_PREP',
32
+ Polybagging: 'ITEM_POLYBAGGING',
33
+ Rmovhang: 'ITEM_RMOVHANG',
34
+ Setcreat: 'ITEM_SETCREAT',
35
+ Setstk: 'ITEM_SETSTK',
36
+ Sioc: 'ITEM_SIOC',
37
+ Suffostk: 'ITEM_SUFFOSTK',
38
+ Taping: 'ITEM_TAPING'
39
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * The Selling Partner API for FBA inbound operations.
6
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
7
+ *
8
+ * The version of the OpenAPI document: 2024-03-20
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * The Selling Partner API for FBA inbound operations.
6
+ * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon\'s fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
7
+ *
8
+ * The version of the OpenAPI document: 2024-03-20
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -289,7 +289,7 @@ exports.clientRateLimits = [
289
289
  // eslint-disable-next-line prefer-regex-literals
290
290
  urlRegex: new RegExp('^/inbound/fba/2024-03-20/items/compliance$'),
291
291
  rate: 2,
292
- burst: 2,
292
+ burst: 6,
293
293
  },
294
294
  {
295
295
  method: 'post',
@@ -298,6 +298,20 @@ exports.clientRateLimits = [
298
298
  rate: 2,
299
299
  burst: 30,
300
300
  },
301
+ {
302
+ method: 'get',
303
+ // eslint-disable-next-line prefer-regex-literals
304
+ urlRegex: new RegExp('^/inbound/fba/2024-03-20/items/prepDetails$'),
305
+ rate: 2,
306
+ burst: 30,
307
+ },
308
+ {
309
+ method: 'post',
310
+ // eslint-disable-next-line prefer-regex-literals
311
+ urlRegex: new RegExp('^/inbound/fba/2024-03-20/items/prepDetails$'),
312
+ rate: 2,
313
+ burst: 30,
314
+ },
301
315
  {
302
316
  method: 'get',
303
317
  // eslint-disable-next-line prefer-regex-literals