@sp-api-sdk/vendor-shipments-api-v1 5.3.1 → 5.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.
@@ -244,7 +244,7 @@ const VendorShipmentsApiAxiosParamCreator = function (configuration) {
244
244
  };
245
245
  },
246
246
  /**
247
- * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | --- | --- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
247
+ * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
248
248
  * @summary SubmitShipmentConfirmations
249
249
  * @param {SubmitShipmentConfirmationsRequest} body A request to submit shipment confirmation.
250
250
  * @param {*} [options] Override http request option.
@@ -370,7 +370,7 @@ const VendorShipmentsApiFp = function (configuration) {
370
370
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
371
371
  },
372
372
  /**
373
- * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | --- | --- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
373
+ * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
374
374
  * @summary SubmitShipmentConfirmations
375
375
  * @param {SubmitShipmentConfirmationsRequest} body A request to submit shipment confirmation.
376
376
  * @param {*} [options] Override http request option.
@@ -424,7 +424,7 @@ const VendorShipmentsApiFactory = function (configuration, basePath, axios) {
424
424
  return localVarFp.getShipmentLabels(requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.labelCreatedAfter, requestParameters.labelCreatedBefore, requestParameters.buyerReferenceNumber, requestParameters.vendorShipmentIdentifier, requestParameters.sellerWarehouseCode, options).then((request) => request(axios, basePath));
425
425
  },
426
426
  /**
427
- * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | --- | --- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
427
+ * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
428
428
  * @summary SubmitShipmentConfirmations
429
429
  * @param {VendorShipmentsApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
430
430
  * @param {*} [options] Override http request option.
@@ -470,7 +470,7 @@ class VendorShipmentsApi extends base_1.BaseAPI {
470
470
  return (0, exports.VendorShipmentsApiFp)(this.configuration).getShipmentLabels(requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.labelCreatedAfter, requestParameters.labelCreatedBefore, requestParameters.buyerReferenceNumber, requestParameters.vendorShipmentIdentifier, requestParameters.sellerWarehouseCode, options).then((request) => request(this.axios, this.basePath));
471
471
  }
472
472
  /**
473
- * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | --- | --- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
473
+ * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
474
474
  * @summary SubmitShipmentConfirmations
475
475
  * @param {VendorShipmentsApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
476
476
  * @param {*} [options] Override http request option.
@@ -13,7 +13,13 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ItemDetailsHandlingCodeEnum = void 0;
16
+ exports.ItemDetailsHandlingCodeEnum = exports.ItemDetailsLotNumberSourceTypeEnum = void 0;
17
+ exports.ItemDetailsLotNumberSourceTypeEnum = {
18
+ Gln: 'GLN',
19
+ Ffrn: 'FFRN',
20
+ UsdaE: 'USDA_E',
21
+ Url: 'URL'
22
+ };
17
23
  exports.ItemDetailsHandlingCodeEnum = {
18
24
  Oversized: 'Oversized',
19
25
  Fragile: 'Fragile',
@@ -13,10 +13,3 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PackageItemDetailsLotNumberSourceTypeEnum = void 0;
17
- exports.PackageItemDetailsLotNumberSourceTypeEnum = {
18
- Gln: 'GLN',
19
- Ffrn: 'FFRN',
20
- UsdaE: 'USDA_E',
21
- Url: 'URL'
22
- };
@@ -4,6 +4,13 @@ exports.VendorShipmentsApiClient = exports.clientRateLimits = void 0;
4
4
  const common_1 = require("@sp-api-sdk/common");
5
5
  const api_model_1 = require("./api-model");
6
6
  exports.clientRateLimits = [
7
+ {
8
+ method: 'post',
9
+ // eslint-disable-next-line prefer-regex-literals
10
+ urlRegex: new RegExp('^/vendor/shipping/v1/shipmentConfirmations$'),
11
+ rate: 10,
12
+ burst: 10,
13
+ },
7
14
  {
8
15
  method: 'post',
9
16
  // eslint-disable-next-line prefer-regex-literals
@@ -238,7 +238,7 @@ export const VendorShipmentsApiAxiosParamCreator = function (configuration) {
238
238
  };
239
239
  },
240
240
  /**
241
- * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | --- | --- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
241
+ * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
242
242
  * @summary SubmitShipmentConfirmations
243
243
  * @param {SubmitShipmentConfirmationsRequest} body A request to submit shipment confirmation.
244
244
  * @param {*} [options] Override http request option.
@@ -363,7 +363,7 @@ export const VendorShipmentsApiFp = function (configuration) {
363
363
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
364
364
  },
365
365
  /**
366
- * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | --- | --- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
366
+ * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
367
367
  * @summary SubmitShipmentConfirmations
368
368
  * @param {SubmitShipmentConfirmationsRequest} body A request to submit shipment confirmation.
369
369
  * @param {*} [options] Override http request option.
@@ -416,7 +416,7 @@ export const VendorShipmentsApiFactory = function (configuration, basePath, axio
416
416
  return localVarFp.getShipmentLabels(requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.labelCreatedAfter, requestParameters.labelCreatedBefore, requestParameters.buyerReferenceNumber, requestParameters.vendorShipmentIdentifier, requestParameters.sellerWarehouseCode, options).then((request) => request(axios, basePath));
417
417
  },
418
418
  /**
419
- * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | --- | --- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
419
+ * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
420
420
  * @summary SubmitShipmentConfirmations
421
421
  * @param {VendorShipmentsApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
422
422
  * @param {*} [options] Override http request option.
@@ -461,7 +461,7 @@ export class VendorShipmentsApi extends BaseAPI {
461
461
  return VendorShipmentsApiFp(this.configuration).getShipmentLabels(requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.labelCreatedAfter, requestParameters.labelCreatedBefore, requestParameters.buyerReferenceNumber, requestParameters.vendorShipmentIdentifier, requestParameters.sellerWarehouseCode, options).then((request) => request(this.axios, this.basePath));
462
462
  }
463
463
  /**
464
- * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | --- | --- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
464
+ * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
465
465
  * @summary SubmitShipmentConfirmations
466
466
  * @param {VendorShipmentsApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
467
467
  * @param {*} [options] Override http request option.
@@ -11,6 +11,12 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ export const ItemDetailsLotNumberSourceTypeEnum = {
15
+ Gln: 'GLN',
16
+ Ffrn: 'FFRN',
17
+ UsdaE: 'USDA_E',
18
+ Url: 'URL'
19
+ };
14
20
  export const ItemDetailsHandlingCodeEnum = {
15
21
  Oversized: 'Oversized',
16
22
  Fragile: 'Fragile',
@@ -11,9 +11,4 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- export const PackageItemDetailsLotNumberSourceTypeEnum = {
15
- Gln: 'GLN',
16
- Ffrn: 'FFRN',
17
- UsdaE: 'USDA_E',
18
- Url: 'URL'
19
- };
14
+ export {};
package/dist/es/client.js CHANGED
@@ -1,6 +1,13 @@
1
1
  import { createAxiosInstance } from '@sp-api-sdk/common';
2
2
  import { Configuration, VendorShipmentsApi } from './api-model';
3
3
  export const clientRateLimits = [
4
+ {
5
+ method: 'post',
6
+ // eslint-disable-next-line prefer-regex-literals
7
+ urlRegex: new RegExp('^/vendor/shipping/v1/shipmentConfirmations$'),
8
+ rate: 10,
9
+ burst: 10,
10
+ },
4
11
  {
5
12
  method: 'post',
6
13
  // eslint-disable-next-line prefer-regex-literals
@@ -68,7 +68,7 @@ export declare const VendorShipmentsApiAxiosParamCreator: (configuration?: Confi
68
68
  */
69
69
  getShipmentLabels: (limit?: number, sortOrder?: GetShipmentLabelsSortOrderEnum, nextToken?: string, labelCreatedAfter?: string, labelCreatedBefore?: string, buyerReferenceNumber?: string, vendorShipmentIdentifier?: string, sellerWarehouseCode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
70
70
  /**
71
- * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | --- | --- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
71
+ * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
72
72
  * @summary SubmitShipmentConfirmations
73
73
  * @param {SubmitShipmentConfirmationsRequest} body A request to submit shipment confirmation.
74
74
  * @param {*} [options] Override http request option.
@@ -134,7 +134,7 @@ export declare const VendorShipmentsApiFp: (configuration?: Configuration) => {
134
134
  */
135
135
  getShipmentLabels(limit?: number, sortOrder?: GetShipmentLabelsSortOrderEnum, nextToken?: string, labelCreatedAfter?: string, labelCreatedBefore?: string, buyerReferenceNumber?: string, vendorShipmentIdentifier?: string, sellerWarehouseCode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetShipmentLabels>>;
136
136
  /**
137
- * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | --- | --- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
137
+ * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
138
138
  * @summary SubmitShipmentConfirmations
139
139
  * @param {SubmitShipmentConfirmationsRequest} body A request to submit shipment confirmation.
140
140
  * @param {*} [options] Override http request option.
@@ -170,7 +170,7 @@ export declare const VendorShipmentsApiFactory: (configuration?: Configuration,
170
170
  */
171
171
  getShipmentLabels(requestParameters?: VendorShipmentsApiGetShipmentLabelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetShipmentLabels>;
172
172
  /**
173
- * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | --- | --- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
173
+ * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
174
174
  * @summary SubmitShipmentConfirmations
175
175
  * @param {VendorShipmentsApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
176
176
  * @param {*} [options] Override http request option.
@@ -362,7 +362,7 @@ export declare class VendorShipmentsApi extends BaseAPI {
362
362
  */
363
363
  getShipmentLabels(requestParameters?: VendorShipmentsApiGetShipmentLabelsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetShipmentLabels, any, {}>>;
364
364
  /**
365
- * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | --- | --- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
365
+ * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
366
366
  * @summary SubmitShipmentConfirmations
367
367
  * @param {VendorShipmentsApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
368
368
  * @param {*} [options] Override http request option.
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { Expiry } from './expiry';
13
13
  import type { Money } from './money';
14
+ import type { RegulationReferences } from './regulation-references';
14
15
  /**
15
16
  * Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate.
16
17
  */
@@ -23,6 +24,19 @@ export interface ItemDetails {
23
24
  * The batch or lot number associates an item with information the manufacturer considers relevant for traceability of the trade item to which the Element String is applied. The data may refer to the trade item itself or to items contained. This field is mandatory for all perishable items.
24
25
  */
25
26
  'lotNumber'?: string;
27
+ /**
28
+ * The location identifier where the product receives a traceability lot number. Provide this field for products subject to the FDA Food Safety Modernization Act (FSMA) Section 204. When you provide `lotNumberSourceReference`, you must also specify the corresponding `lotNumberSourceType` field.
29
+ */
30
+ 'lotNumberSourceReference'?: string;
31
+ /**
32
+ * The identifier type used for the lot number source. Provide this field when you specify `lotNumberSourceReference`.
33
+ */
34
+ 'lotNumberSourceType'?: ItemDetailsLotNumberSourceTypeEnum;
35
+ /**
36
+ * The two-character country code for the country where the product was manufactured or originates. Use ISO 3166-1 alpha-2 format.
37
+ */
38
+ 'countryOfOrigin'?: string;
39
+ 'regulationReferences'?: RegulationReferences;
26
40
  'expiry'?: Expiry;
27
41
  'maximumRetailPrice'?: Money;
28
42
  /**
@@ -30,6 +44,13 @@ export interface ItemDetails {
30
44
  */
31
45
  'handlingCode'?: ItemDetailsHandlingCodeEnum;
32
46
  }
47
+ export declare const ItemDetailsLotNumberSourceTypeEnum: {
48
+ readonly Gln: "GLN";
49
+ readonly Ffrn: "FFRN";
50
+ readonly UsdaE: "USDA_E";
51
+ readonly Url: "URL";
52
+ };
53
+ export type ItemDetailsLotNumberSourceTypeEnum = typeof ItemDetailsLotNumberSourceTypeEnum[keyof typeof ItemDetailsLotNumberSourceTypeEnum];
33
54
  export declare const ItemDetailsHandlingCodeEnum: {
34
55
  readonly Oversized: "Oversized";
35
56
  readonly Fragile: "Fragile";
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Expiry } from './expiry';
13
- import type { RegulationReferences } from './regulation-references';
14
13
  /**
15
14
  * Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate.
16
15
  */
@@ -23,25 +22,5 @@ export interface PackageItemDetails {
23
22
  * The batch or lot number associates an item with information the manufacturer considers relevant for traceability of the trade item to which the Element String is applied. The data may refer to the trade item itself or to items contained. This field is mandatory for all perishable items.
24
23
  */
25
24
  'lotNumber'?: string;
26
- /**
27
- * This is a reference to the lot number source location meaning the place where the product was assigned a traceability lot number. This is mandatory for goods in scope of the FDA Food Safety Modernization Act (FSMA 204). If provided, lotNumberSourceType must also be specified.
28
- */
29
- 'lotNumberSourceReference'?: string;
30
- /**
31
- * The type of reference for the lot number source. Must be provided when lotNumberSourceReference is specified.
32
- */
33
- 'lotNumberSourceType'?: PackageItemDetailsLotNumberSourceTypeEnum;
34
- /**
35
- * The two digit country code in ISO 3166-1 alpha-2 format representing the country where the product was manufactured or originated.
36
- */
37
- 'countryOfOrigin'?: string;
38
- 'regulationReferences'?: RegulationReferences;
39
25
  'expiry'?: Expiry;
40
26
  }
41
- export declare const PackageItemDetailsLotNumberSourceTypeEnum: {
42
- readonly Gln: "GLN";
43
- readonly Ffrn: "FFRN";
44
- readonly UsdaE: "USDA_E";
45
- readonly Url: "URL";
46
- };
47
- export type PackageItemDetailsLotNumberSourceTypeEnum = typeof PackageItemDetailsLotNumberSourceTypeEnum[keyof typeof PackageItemDetailsLotNumberSourceTypeEnum];
@@ -10,23 +10,23 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Container for regulatory compliance information, for instance EU Due Diligence Regulation (EUDR) requirements. Includes reference numbers, verification codes, compliance information, and exemption codes necessary for documenting regulatory compliance for shipments.
13
+ * Regulatory requirements and compliance information for the item, including reference numbers, verification codes, and exemption codes. Use this field to specify applicable regulations such as EU Deforestation Regulation (EUDR).
14
14
  */
15
15
  export interface RegulationReferences {
16
16
  /**
17
- * The EUDR Due Diligence Reference number from vendor\'s upstream Due Dilligence Statement (DDS) submitted to EU Commison portal or provided to Onix.
17
+ * The reference number from the vendor\'s EUDR Due Diligence Statement (DDS) submitted to the EU Commission portal or provided to Amazon through ONIX feed.
18
18
  */
19
19
  'dueDiligenceReference'?: string;
20
20
  /**
21
- * The EUDR Due Diligence Verification number provided by EU Commision associated with submitted DDR.
21
+ * The EUDR Due Diligence verification number provided by the EU Commission for the submitted DDS.
22
22
  */
23
23
  'dueDiligenceVerification'?: string;
24
24
  /**
25
- * The EUDR Due Diligence Information for EUDR that was already pre-loaded in Vendor Central within Amazon compliance collection experience.
25
+ * The EUDR Due Diligence information pre-loaded in Vendor Central.
26
26
  */
27
27
  'dueDiligenceInformation'?: string;
28
28
  /**
29
- * The Due Diligence exemption code for EUDR products indicating the item is exempt from due diligence requirements.
29
+ * The exemption code for EUDR products exempt from due diligence requirements.
30
30
  */
31
31
  'dueDiligenceExemptionCode'?: string;
32
32
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/vendor-shipments-api-v1",
3
3
  "author": "Bertrand Marron <bertrand@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.",
5
- "version": "5.3.1",
5
+ "version": "5.5.0",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.1.26",
22
- "axios": "^1.13.2"
21
+ "@sp-api-sdk/common": "2.1.28",
22
+ "axios": "^1.13.5"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "vendor shipments api"
42
42
  ],
43
- "gitHead": "650fb0a15023db11b60d7de2c61a4592c2523d28"
43
+ "gitHead": "111f635ee267c031683ba5cd53937a7f381574be"
44
44
  }