@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.0.2 → 4.1.1

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 (50) hide show
  1. package/dist/cjs/api-model/api/fulfillment-outbound-api.js +93 -31
  2. package/dist/cjs/api-model/models/delivery-offering.js +15 -0
  3. package/dist/cjs/api-model/models/delivery-quantity.js +19 -0
  4. package/dist/cjs/api-model/models/fulfillment-policy.js +1 -1
  5. package/dist/cjs/api-model/models/get-delivery-offerings-request.js +15 -0
  6. package/dist/cjs/api-model/models/get-delivery-offerings-response.js +15 -0
  7. package/dist/cjs/api-model/models/get-delivery-offerings-result.js +15 -0
  8. package/dist/cjs/api-model/models/index.js +5 -0
  9. package/dist/cjs/client.js +7 -0
  10. package/dist/es/api-model/api/fulfillment-outbound-api.js +93 -31
  11. package/dist/es/api-model/models/delivery-offering.js +14 -0
  12. package/dist/es/api-model/models/delivery-quantity.js +16 -0
  13. package/dist/es/api-model/models/fulfillment-policy.js +1 -1
  14. package/dist/es/api-model/models/get-delivery-offerings-request.js +14 -0
  15. package/dist/es/api-model/models/get-delivery-offerings-response.js +14 -0
  16. package/dist/es/api-model/models/get-delivery-offerings-result.js +14 -0
  17. package/dist/es/api-model/models/index.js +5 -0
  18. package/dist/es/client.js +7 -0
  19. package/dist/types/api-model/api/fulfillment-outbound-api.d.ts +79 -34
  20. package/dist/types/api-model/models/create-fulfillment-order-item.d.ts +1 -1
  21. package/dist/types/api-model/models/create-fulfillment-order-request.d.ts +2 -2
  22. package/dist/types/api-model/models/create-fulfillment-return-request.d.ts +1 -1
  23. package/dist/types/api-model/models/create-fulfillment-return-result.d.ts +1 -1
  24. package/dist/types/api-model/models/create-return-item.d.ts +1 -1
  25. package/dist/types/api-model/models/delivery-message.d.ts +1 -1
  26. package/dist/types/api-model/models/delivery-offering.d.ts +24 -0
  27. package/dist/types/api-model/models/delivery-quantity.d.ts +28 -0
  28. package/dist/types/api-model/models/feature-settings.d.ts +1 -1
  29. package/dist/types/api-model/models/fulfillment-policy.d.ts +1 -1
  30. package/dist/types/api-model/models/fulfillment-shipment-package.d.ts +4 -0
  31. package/dist/types/api-model/models/fulfillment-shipment.d.ts +2 -2
  32. package/dist/types/api-model/models/get-delivery-offerings-request.d.ts +28 -0
  33. package/dist/types/api-model/models/get-delivery-offerings-response.d.ts +22 -0
  34. package/dist/types/api-model/models/get-delivery-offerings-result.d.ts +21 -0
  35. package/dist/types/api-model/models/get-delivery-offers-request.d.ts +1 -1
  36. package/dist/types/api-model/models/get-delivery-offers-response.d.ts +1 -1
  37. package/dist/types/api-model/models/get-feature-inventory-result.d.ts +1 -1
  38. package/dist/types/api-model/models/get-feature-sku-result.d.ts +1 -1
  39. package/dist/types/api-model/models/get-fulfillment-order-result.d.ts +1 -1
  40. package/dist/types/api-model/models/get-fulfillment-preview-request.d.ts +2 -2
  41. package/dist/types/api-model/models/index.d.ts +5 -0
  42. package/dist/types/api-model/models/invalid-return-item.d.ts +1 -1
  43. package/dist/types/api-model/models/list-all-fulfillment-orders-result.d.ts +1 -1
  44. package/dist/types/api-model/models/list-return-reason-codes-result.d.ts +1 -1
  45. package/dist/types/api-model/models/package-tracking-details.d.ts +1 -1
  46. package/dist/types/api-model/models/reason-code-details.d.ts +1 -1
  47. package/dist/types/api-model/models/return-authorization.d.ts +1 -1
  48. package/dist/types/api-model/models/return-item.d.ts +1 -1
  49. package/dist/types/api-model/models/update-fulfillment-order-item.d.ts +1 -1
  50. package/package.json +3 -3
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { FeatureSku } from './feature-sku';
13
13
  /**
14
- * The payload for the `getEligibileInventory` operation.
14
+ * The payload for the `getEligibleInventory` operation.
15
15
  */
16
16
  export interface GetFeatureInventoryResult {
17
17
  /**
@@ -27,7 +27,7 @@ export interface GetFeatureSkuResult {
27
27
  */
28
28
  'isEligible': boolean;
29
29
  /**
30
- * A list of one or more reasons that the seller SKU is ineligibile for the feature. Possible values: * `MERCHANT_NOT_ENROLLED` - The merchant isn\'t enrolled for the feature. * `SKU_NOT_ELIGIBLE` - The SKU doesn\'t reside in a warehouse that supports the feature. * `INVALID_SKU` - There is an issue with the SKU provided.
30
+ * A list of one or more reasons that the seller SKU is ineligible for the feature. Possible values: * `MERCHANT_NOT_ENROLLED`: The merchant isn\'t enrolled for the feature. * `SKU_NOT_ELIGIBLE`: The SKU doesn\'t reside in a warehouse that supports the feature. * `INVALID_SKU`: There is an issue with the SKU provided.
31
31
  */
32
32
  'ineligibleReasons'?: Array<string>;
33
33
  'skuInfo'?: FeatureSku;
@@ -16,7 +16,7 @@ import type { PaymentInformation } from './payment-information';
16
16
  import type { ReturnAuthorization } from './return-authorization';
17
17
  import type { ReturnItem } from './return-item';
18
18
  /**
19
- * The request for the getFulfillmentOrder operation.
19
+ * The request for the `getFulfillmentOrder` operation.
20
20
  */
21
21
  export interface GetFulfillmentOrderResult {
22
22
  'fulfillmentOrder': FulfillmentOrder;
@@ -27,7 +27,7 @@ export interface GetFulfillmentPreviewRequest {
27
27
  */
28
28
  'items': Array<GetFulfillmentPreviewItem>;
29
29
  /**
30
- * ShippingSpeedCategory List
30
+ * List of shipping speed categories.
31
31
  */
32
32
  'shippingSpeedCategories'?: Array<ShippingSpeedCategory>;
33
33
  /**
@@ -35,7 +35,7 @@ export interface GetFulfillmentPreviewRequest {
35
35
  */
36
36
  'includeCODFulfillmentPreview'?: boolean;
37
37
  /**
38
- * When true, returns the `ScheduledDeliveryInfo` response object, which contains the available delivery windows for a Scheduled Delivery. The `ScheduledDeliveryInfo` response object can only be returned for fulfillment order previews with `ShippingSpeedCategories` = `ScheduledDelivery`.
38
+ * When true, returns the `ScheduledDeliveryInfo` response object, which contains the available delivery windows for a Scheduled Delivery. The `ScheduledDeliveryInfo` response object can only be returned for fulfillment order previews with `ShippingSpeedCategories` equal to `ScheduledDelivery`.
39
39
  */
40
40
  'includeDeliveryWindows'?: boolean;
41
41
  /**
@@ -16,8 +16,10 @@ export * from './delivery-document';
16
16
  export * from './delivery-information';
17
17
  export * from './delivery-message';
18
18
  export * from './delivery-offer';
19
+ export * from './delivery-offering';
19
20
  export * from './delivery-policy';
20
21
  export * from './delivery-preferences';
22
+ export * from './delivery-quantity';
21
23
  export * from './delivery-window';
22
24
  export * from './destination';
23
25
  export * from './drop-off-location';
@@ -38,6 +40,9 @@ export * from './fulfillment-return-item-status';
38
40
  export * from './fulfillment-shipment';
39
41
  export * from './fulfillment-shipment-item';
40
42
  export * from './fulfillment-shipment-package';
43
+ export * from './get-delivery-offerings-request';
44
+ export * from './get-delivery-offerings-response';
45
+ export * from './get-delivery-offerings-result';
41
46
  export * from './get-delivery-offers-product';
42
47
  export * from './get-delivery-offers-request';
43
48
  export * from './get-delivery-offers-response';
@@ -15,7 +15,7 @@ import type { InvalidItemReason } from './invalid-item-reason';
15
15
  */
16
16
  export interface InvalidReturnItem {
17
17
  /**
18
- * An identifier assigned by the seller to the return item.
18
+ * An identifier the seller assigns to the return item.
19
19
  */
20
20
  'sellerReturnItemId': string;
21
21
  /**
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { FulfillmentOrder } from './fulfillment-order';
13
13
  /**
14
- * The request for the listAllFulfillmentOrders operation.
14
+ * The request for the `listAllFulfillmentOrders` operation.
15
15
  */
16
16
  export interface ListAllFulfillmentOrdersResult {
17
17
  /**
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { ReasonCodeDetails } from './reason-code-details';
13
13
  /**
14
- * The request for the listReturnReasonCodes operation.
14
+ * The request for the `listReturnReasonCodes` operation.
15
15
  */
16
16
  export interface ListReturnReasonCodesResult {
17
17
  /**
@@ -53,7 +53,7 @@ export interface PackageTrackingDetails {
53
53
  'shipToAddress'?: TrackingAddress;
54
54
  'currentStatus'?: CurrentStatus;
55
55
  /**
56
- * Description corresponding to the CurrentStatus value.
56
+ * Description corresponding to the `CurrentStatus` value.
57
57
  */
58
58
  'currentStatusDescription'?: string;
59
59
  'deliveryWindow'?: DateRange;
@@ -22,7 +22,7 @@ export interface ReasonCodeDetails {
22
22
  */
23
23
  'description': string;
24
24
  /**
25
- * A translation of the description. The translation is in the language specified in the Language request parameter.
25
+ * A translation of the description. The translation is in the language specified in the `language` request parameter.
26
26
  */
27
27
  'translatedDescription'?: string;
28
28
  }
@@ -19,7 +19,7 @@ export interface ReturnAuthorization {
19
19
  */
20
20
  'returnAuthorizationId': string;
21
21
  /**
22
- * An identifier for the Amazon fulfillment center that the return items should be sent to.
22
+ * An identifier for the Amazon fulfillment center to which the return items should be sent.
23
23
  */
24
24
  'fulfillmentCenterId': string;
25
25
  'returnToAddress': Address;
@@ -16,7 +16,7 @@ import type { ReturnItemDisposition } from './return-item-disposition';
16
16
  */
17
17
  export interface ReturnItem {
18
18
  /**
19
- * An identifier assigned by the seller to the return item.
19
+ * An identifier the seller assigns to the return item.
20
20
  */
21
21
  'sellerReturnItemId': string;
22
22
  /**
@@ -19,7 +19,7 @@ export interface UpdateFulfillmentOrderItem {
19
19
  */
20
20
  'sellerSku'?: string;
21
21
  /**
22
- * Identifies the fulfillment order item to update. Created with a previous call to the createFulfillmentOrder operation.
22
+ * Identifies the fulfillment order item to update. Created with a previous call to the `createFulfillmentOrder` operation.
23
23
  */
24
24
  'sellerFulfillmentOrderItemId': string;
25
25
  /**
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/fulfillment-outbound-api-2020-07-01",
3
3
  "author": "Bertrand Marron <bertrand@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orders.",
5
- "version": "4.0.2",
5
+ "version": "4.1.1",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.1.16",
21
+ "@sp-api-sdk/common": "2.1.18",
22
22
  "axios": "^1.11.0"
23
23
  },
24
24
  "repository": {
@@ -61,5 +61,5 @@
61
61
  "printWidth": 100,
62
62
  "jsxSingleQuote": true
63
63
  },
64
- "gitHead": "fc1b46f3bc172469e2fbbc2e0155f6fa7ce3edde"
64
+ "gitHead": "4c9d1270205ee00090d635b31eeabb323860546d"
65
65
  }