@sp-api-sdk/vendor-direct-fulfillment-shipping-api-v1 3.0.4 → 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.
@@ -18,10 +18,10 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeed
18
18
  // @ts-ignore
19
19
  import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
20
20
  /**
21
- * VendorShippingApi - axios parameter creator
21
+ * VendorDirectFulfillmentShippingApi - axios parameter creator
22
22
  * @export
23
23
  */
24
- export const VendorShippingApiAxiosParamCreator = function (configuration) {
24
+ export const VendorDirectFulfillmentShippingApiAxiosParamCreator = function (configuration) {
25
25
  return {
26
26
  /**
27
27
  * Returns a customer invoice based on the purchaseOrderNumber that you specify. **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,11 +365,11 @@ export const VendorShippingApiAxiosParamCreator = function (configuration) {
365
365
  };
366
366
  };
367
367
  /**
368
- * VendorShippingApi - functional programming interface
368
+ * VendorDirectFulfillmentShippingApi - functional programming interface
369
369
  * @export
370
370
  */
371
- export const VendorShippingApiFp = function (configuration) {
372
- const localVarAxiosParamCreator = VendorShippingApiAxiosParamCreator(configuration);
371
+ export const VendorDirectFulfillmentShippingApiFp = function (configuration) {
372
+ const localVarAxiosParamCreator = VendorDirectFulfillmentShippingApiAxiosParamCreator(configuration);
373
373
  return {
374
374
  /**
375
375
  * Returns a customer invoice based on the purchaseOrderNumber that you specify. **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).
@@ -380,7 +380,7 @@ export const VendorShippingApiFp = function (configuration) {
380
380
  async getCustomerInvoice(purchaseOrderNumber, options) {
381
381
  const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerInvoice(purchaseOrderNumber, options);
382
382
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
383
- const localVarOperationServerBasePath = operationServerMap['VendorShippingApi.getCustomerInvoice']?.[localVarOperationServerIndex]?.url;
383
+ const localVarOperationServerBasePath = operationServerMap['VendorDirectFulfillmentShippingApi.getCustomerInvoice']?.[localVarOperationServerIndex]?.url;
384
384
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
385
385
  },
386
386
  /**
@@ -397,7 +397,7 @@ export const VendorShippingApiFp = function (configuration) {
397
397
  async getCustomerInvoices(createdAfter, createdBefore, shipFromPartyId, limit, sortOrder, nextToken, options) {
398
398
  const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerInvoices(createdAfter, createdBefore, shipFromPartyId, limit, sortOrder, nextToken, options);
399
399
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
400
- const localVarOperationServerBasePath = operationServerMap['VendorShippingApi.getCustomerInvoices']?.[localVarOperationServerIndex]?.url;
400
+ const localVarOperationServerBasePath = operationServerMap['VendorDirectFulfillmentShippingApi.getCustomerInvoices']?.[localVarOperationServerIndex]?.url;
401
401
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
402
402
  },
403
403
  /**
@@ -409,7 +409,7 @@ export const VendorShippingApiFp = function (configuration) {
409
409
  async getPackingSlip(purchaseOrderNumber, options) {
410
410
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPackingSlip(purchaseOrderNumber, options);
411
411
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
412
- const localVarOperationServerBasePath = operationServerMap['VendorShippingApi.getPackingSlip']?.[localVarOperationServerIndex]?.url;
412
+ const localVarOperationServerBasePath = operationServerMap['VendorDirectFulfillmentShippingApi.getPackingSlip']?.[localVarOperationServerIndex]?.url;
413
413
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
414
414
  },
415
415
  /**
@@ -426,7 +426,7 @@ export const VendorShippingApiFp = function (configuration) {
426
426
  async getPackingSlips(createdAfter, createdBefore, shipFromPartyId, limit, sortOrder, nextToken, options) {
427
427
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPackingSlips(createdAfter, createdBefore, shipFromPartyId, limit, sortOrder, nextToken, options);
428
428
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
429
- const localVarOperationServerBasePath = operationServerMap['VendorShippingApi.getPackingSlips']?.[localVarOperationServerIndex]?.url;
429
+ const localVarOperationServerBasePath = operationServerMap['VendorDirectFulfillmentShippingApi.getPackingSlips']?.[localVarOperationServerIndex]?.url;
430
430
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
431
431
  },
432
432
  /**
@@ -438,7 +438,7 @@ export const VendorShippingApiFp = function (configuration) {
438
438
  async getShippingLabel(purchaseOrderNumber, options) {
439
439
  const localVarAxiosArgs = await localVarAxiosParamCreator.getShippingLabel(purchaseOrderNumber, options);
440
440
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
441
- const localVarOperationServerBasePath = operationServerMap['VendorShippingApi.getShippingLabel']?.[localVarOperationServerIndex]?.url;
441
+ const localVarOperationServerBasePath = operationServerMap['VendorDirectFulfillmentShippingApi.getShippingLabel']?.[localVarOperationServerIndex]?.url;
442
442
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
443
443
  },
444
444
  /**
@@ -455,7 +455,7 @@ export const VendorShippingApiFp = function (configuration) {
455
455
  async getShippingLabels(createdAfter, createdBefore, shipFromPartyId, limit, sortOrder, nextToken, options) {
456
456
  const localVarAxiosArgs = await localVarAxiosParamCreator.getShippingLabels(createdAfter, createdBefore, shipFromPartyId, limit, sortOrder, nextToken, options);
457
457
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
458
- const localVarOperationServerBasePath = operationServerMap['VendorShippingApi.getShippingLabels']?.[localVarOperationServerIndex]?.url;
458
+ const localVarOperationServerBasePath = operationServerMap['VendorDirectFulfillmentShippingApi.getShippingLabels']?.[localVarOperationServerIndex]?.url;
459
459
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
460
460
  },
461
461
  /**
@@ -467,7 +467,7 @@ export const VendorShippingApiFp = function (configuration) {
467
467
  async submitShipmentConfirmations(body, options) {
468
468
  const localVarAxiosArgs = await localVarAxiosParamCreator.submitShipmentConfirmations(body, options);
469
469
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
470
- const localVarOperationServerBasePath = operationServerMap['VendorShippingApi.submitShipmentConfirmations']?.[localVarOperationServerIndex]?.url;
470
+ const localVarOperationServerBasePath = operationServerMap['VendorDirectFulfillmentShippingApi.submitShipmentConfirmations']?.[localVarOperationServerIndex]?.url;
471
471
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
472
472
  },
473
473
  /**
@@ -479,7 +479,7 @@ export const VendorShippingApiFp = function (configuration) {
479
479
  async submitShipmentStatusUpdates(body, options) {
480
480
  const localVarAxiosArgs = await localVarAxiosParamCreator.submitShipmentStatusUpdates(body, options);
481
481
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
482
- const localVarOperationServerBasePath = operationServerMap['VendorShippingApi.submitShipmentStatusUpdates']?.[localVarOperationServerIndex]?.url;
482
+ const localVarOperationServerBasePath = operationServerMap['VendorDirectFulfillmentShippingApi.submitShipmentStatusUpdates']?.[localVarOperationServerIndex]?.url;
483
483
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
484
484
  },
485
485
  /**
@@ -491,21 +491,21 @@ export const VendorShippingApiFp = function (configuration) {
491
491
  async submitShippingLabelRequest(body, options) {
492
492
  const localVarAxiosArgs = await localVarAxiosParamCreator.submitShippingLabelRequest(body, options);
493
493
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
494
- const localVarOperationServerBasePath = operationServerMap['VendorShippingApi.submitShippingLabelRequest']?.[localVarOperationServerIndex]?.url;
494
+ const localVarOperationServerBasePath = operationServerMap['VendorDirectFulfillmentShippingApi.submitShippingLabelRequest']?.[localVarOperationServerIndex]?.url;
495
495
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
496
496
  },
497
497
  };
498
498
  };
499
499
  /**
500
- * VendorShippingApi - factory interface
500
+ * VendorDirectFulfillmentShippingApi - factory interface
501
501
  * @export
502
502
  */
503
- export const VendorShippingApiFactory = function (configuration, basePath, axios) {
504
- const localVarFp = VendorShippingApiFp(configuration);
503
+ export const VendorDirectFulfillmentShippingApiFactory = function (configuration, basePath, axios) {
504
+ const localVarFp = VendorDirectFulfillmentShippingApiFp(configuration);
505
505
  return {
506
506
  /**
507
507
  * Returns a customer invoice based on the purchaseOrderNumber that you specify. **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).
508
- * @param {VendorShippingApiGetCustomerInvoiceRequest} requestParameters Request parameters.
508
+ * @param {VendorDirectFulfillmentShippingApiGetCustomerInvoiceRequest} requestParameters Request parameters.
509
509
  * @param {*} [options] Override http request option.
510
510
  * @throws {RequiredError}
511
511
  */
@@ -514,7 +514,7 @@ export const VendorShippingApiFactory = function (configuration, basePath, axios
514
514
  },
515
515
  /**
516
516
  * Returns a list of customer invoices created during a time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both of these parameters. The date range to search must be no more than 7 days. **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).
517
- * @param {VendorShippingApiGetCustomerInvoicesRequest} requestParameters Request parameters.
517
+ * @param {VendorDirectFulfillmentShippingApiGetCustomerInvoicesRequest} requestParameters Request parameters.
518
518
  * @param {*} [options] Override http request option.
519
519
  * @throws {RequiredError}
520
520
  */
@@ -523,7 +523,7 @@ export const VendorShippingApiFactory = function (configuration, basePath, axios
523
523
  },
524
524
  /**
525
525
  * Returns a packing slip based on the purchaseOrderNumber that you specify. **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).
526
- * @param {VendorShippingApiGetPackingSlipRequest} requestParameters Request parameters.
526
+ * @param {VendorDirectFulfillmentShippingApiGetPackingSlipRequest} requestParameters Request parameters.
527
527
  * @param {*} [options] Override http request option.
528
528
  * @throws {RequiredError}
529
529
  */
@@ -532,7 +532,7 @@ export const VendorShippingApiFactory = function (configuration, basePath, axios
532
532
  },
533
533
  /**
534
534
  * Returns a list of packing slips for the purchase orders that match the criteria specified. Date range to search must not be more than 7 days. **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).
535
- * @param {VendorShippingApiGetPackingSlipsRequest} requestParameters Request parameters.
535
+ * @param {VendorDirectFulfillmentShippingApiGetPackingSlipsRequest} requestParameters Request parameters.
536
536
  * @param {*} [options] Override http request option.
537
537
  * @throws {RequiredError}
538
538
  */
@@ -541,7 +541,7 @@ export const VendorShippingApiFactory = function (configuration, basePath, axios
541
541
  },
542
542
  /**
543
543
  * Returns a shipping label for the purchaseOrderNumber that you specify. **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).
544
- * @param {VendorShippingApiGetShippingLabelRequest} requestParameters Request parameters.
544
+ * @param {VendorDirectFulfillmentShippingApiGetShippingLabelRequest} requestParameters Request parameters.
545
545
  * @param {*} [options] Override http request option.
546
546
  * @throws {RequiredError}
547
547
  */
@@ -550,7 +550,7 @@ export const VendorShippingApiFactory = function (configuration, basePath, axios
550
550
  },
551
551
  /**
552
552
  * Returns a list of shipping labels created during the time frame that you specify. You define that time frame using the createdAfter and createdBefore parameters. You must use both of these parameters. The date range to search must not be more than 7 days. **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).
553
- * @param {VendorShippingApiGetShippingLabelsRequest} requestParameters Request parameters.
553
+ * @param {VendorDirectFulfillmentShippingApiGetShippingLabelsRequest} requestParameters Request parameters.
554
554
  * @param {*} [options] Override http request option.
555
555
  * @throws {RequiredError}
556
556
  */
@@ -559,7 +559,7 @@ export const VendorShippingApiFactory = function (configuration, basePath, axios
559
559
  },
560
560
  /**
561
561
  * 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).
562
- * @param {VendorShippingApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
562
+ * @param {VendorDirectFulfillmentShippingApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
563
563
  * @param {*} [options] Override http request option.
564
564
  * @throws {RequiredError}
565
565
  */
@@ -568,7 +568,7 @@ export const VendorShippingApiFactory = function (configuration, basePath, axios
568
568
  },
569
569
  /**
570
570
  * This API call is only to be used by Vendor-Own-Carrier (VOC) vendors. Calling this API will submit a shipment status update for the package that a vendor has shipped. It will provide the Amazon customer visibility on their order, when the package is outside of Amazon Network visibility. **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).
571
- * @param {VendorShippingApiSubmitShipmentStatusUpdatesRequest} requestParameters Request parameters.
571
+ * @param {VendorDirectFulfillmentShippingApiSubmitShipmentStatusUpdatesRequest} requestParameters Request parameters.
572
572
  * @param {*} [options] Override http request option.
573
573
  * @throws {RequiredError}
574
574
  */
@@ -577,7 +577,7 @@ export const VendorShippingApiFactory = function (configuration, basePath, axios
577
577
  },
578
578
  /**
579
579
  * Creates a shipping label for a purchase order and returns a transactionId for reference. **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).
580
- * @param {VendorShippingApiSubmitShippingLabelRequestRequest} requestParameters Request parameters.
580
+ * @param {VendorDirectFulfillmentShippingApiSubmitShippingLabelRequestRequest} requestParameters Request parameters.
581
581
  * @param {*} [options] Override http request option.
582
582
  * @throws {RequiredError}
583
583
  */
@@ -587,101 +587,101 @@ export const VendorShippingApiFactory = function (configuration, basePath, axios
587
587
  };
588
588
  };
589
589
  /**
590
- * VendorShippingApi - object-oriented interface
590
+ * VendorDirectFulfillmentShippingApi - object-oriented interface
591
591
  * @export
592
- * @class VendorShippingApi
592
+ * @class VendorDirectFulfillmentShippingApi
593
593
  * @extends {BaseAPI}
594
594
  */
595
- export class VendorShippingApi extends BaseAPI {
595
+ export class VendorDirectFulfillmentShippingApi extends BaseAPI {
596
596
  /**
597
597
  * Returns a customer invoice based on the purchaseOrderNumber that you specify. **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).
598
- * @param {VendorShippingApiGetCustomerInvoiceRequest} requestParameters Request parameters.
598
+ * @param {VendorDirectFulfillmentShippingApiGetCustomerInvoiceRequest} requestParameters Request parameters.
599
599
  * @param {*} [options] Override http request option.
600
600
  * @throws {RequiredError}
601
- * @memberof VendorShippingApi
601
+ * @memberof VendorDirectFulfillmentShippingApi
602
602
  */
603
603
  getCustomerInvoice(requestParameters, options) {
604
- return VendorShippingApiFp(this.configuration).getCustomerInvoice(requestParameters.purchaseOrderNumber, options).then((request) => request(this.axios, this.basePath));
604
+ return VendorDirectFulfillmentShippingApiFp(this.configuration).getCustomerInvoice(requestParameters.purchaseOrderNumber, options).then((request) => request(this.axios, this.basePath));
605
605
  }
606
606
  /**
607
607
  * Returns a list of customer invoices created during a time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both of these parameters. The date range to search must be no more than 7 days. **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).
608
- * @param {VendorShippingApiGetCustomerInvoicesRequest} requestParameters Request parameters.
608
+ * @param {VendorDirectFulfillmentShippingApiGetCustomerInvoicesRequest} requestParameters Request parameters.
609
609
  * @param {*} [options] Override http request option.
610
610
  * @throws {RequiredError}
611
- * @memberof VendorShippingApi
611
+ * @memberof VendorDirectFulfillmentShippingApi
612
612
  */
613
613
  getCustomerInvoices(requestParameters, options) {
614
- return VendorShippingApiFp(this.configuration).getCustomerInvoices(requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipFromPartyId, requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
614
+ return VendorDirectFulfillmentShippingApiFp(this.configuration).getCustomerInvoices(requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipFromPartyId, requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
615
615
  }
616
616
  /**
617
617
  * Returns a packing slip based on the purchaseOrderNumber that you specify. **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).
618
- * @param {VendorShippingApiGetPackingSlipRequest} requestParameters Request parameters.
618
+ * @param {VendorDirectFulfillmentShippingApiGetPackingSlipRequest} requestParameters Request parameters.
619
619
  * @param {*} [options] Override http request option.
620
620
  * @throws {RequiredError}
621
- * @memberof VendorShippingApi
621
+ * @memberof VendorDirectFulfillmentShippingApi
622
622
  */
623
623
  getPackingSlip(requestParameters, options) {
624
- return VendorShippingApiFp(this.configuration).getPackingSlip(requestParameters.purchaseOrderNumber, options).then((request) => request(this.axios, this.basePath));
624
+ return VendorDirectFulfillmentShippingApiFp(this.configuration).getPackingSlip(requestParameters.purchaseOrderNumber, options).then((request) => request(this.axios, this.basePath));
625
625
  }
626
626
  /**
627
627
  * Returns a list of packing slips for the purchase orders that match the criteria specified. Date range to search must not be more than 7 days. **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).
628
- * @param {VendorShippingApiGetPackingSlipsRequest} requestParameters Request parameters.
628
+ * @param {VendorDirectFulfillmentShippingApiGetPackingSlipsRequest} requestParameters Request parameters.
629
629
  * @param {*} [options] Override http request option.
630
630
  * @throws {RequiredError}
631
- * @memberof VendorShippingApi
631
+ * @memberof VendorDirectFulfillmentShippingApi
632
632
  */
633
633
  getPackingSlips(requestParameters, options) {
634
- return VendorShippingApiFp(this.configuration).getPackingSlips(requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipFromPartyId, requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
634
+ return VendorDirectFulfillmentShippingApiFp(this.configuration).getPackingSlips(requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipFromPartyId, requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
635
635
  }
636
636
  /**
637
637
  * Returns a shipping label for the purchaseOrderNumber that you specify. **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).
638
- * @param {VendorShippingApiGetShippingLabelRequest} requestParameters Request parameters.
638
+ * @param {VendorDirectFulfillmentShippingApiGetShippingLabelRequest} requestParameters Request parameters.
639
639
  * @param {*} [options] Override http request option.
640
640
  * @throws {RequiredError}
641
- * @memberof VendorShippingApi
641
+ * @memberof VendorDirectFulfillmentShippingApi
642
642
  */
643
643
  getShippingLabel(requestParameters, options) {
644
- return VendorShippingApiFp(this.configuration).getShippingLabel(requestParameters.purchaseOrderNumber, options).then((request) => request(this.axios, this.basePath));
644
+ return VendorDirectFulfillmentShippingApiFp(this.configuration).getShippingLabel(requestParameters.purchaseOrderNumber, options).then((request) => request(this.axios, this.basePath));
645
645
  }
646
646
  /**
647
647
  * Returns a list of shipping labels created during the time frame that you specify. You define that time frame using the createdAfter and createdBefore parameters. You must use both of these parameters. The date range to search must not be more than 7 days. **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).
648
- * @param {VendorShippingApiGetShippingLabelsRequest} requestParameters Request parameters.
648
+ * @param {VendorDirectFulfillmentShippingApiGetShippingLabelsRequest} requestParameters Request parameters.
649
649
  * @param {*} [options] Override http request option.
650
650
  * @throws {RequiredError}
651
- * @memberof VendorShippingApi
651
+ * @memberof VendorDirectFulfillmentShippingApi
652
652
  */
653
653
  getShippingLabels(requestParameters, options) {
654
- return VendorShippingApiFp(this.configuration).getShippingLabels(requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipFromPartyId, requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
654
+ return VendorDirectFulfillmentShippingApiFp(this.configuration).getShippingLabels(requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipFromPartyId, requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
655
655
  }
656
656
  /**
657
657
  * 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).
658
- * @param {VendorShippingApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
658
+ * @param {VendorDirectFulfillmentShippingApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
659
659
  * @param {*} [options] Override http request option.
660
660
  * @throws {RequiredError}
661
- * @memberof VendorShippingApi
661
+ * @memberof VendorDirectFulfillmentShippingApi
662
662
  */
663
663
  submitShipmentConfirmations(requestParameters, options) {
664
- return VendorShippingApiFp(this.configuration).submitShipmentConfirmations(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
664
+ return VendorDirectFulfillmentShippingApiFp(this.configuration).submitShipmentConfirmations(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
665
665
  }
666
666
  /**
667
667
  * This API call is only to be used by Vendor-Own-Carrier (VOC) vendors. Calling this API will submit a shipment status update for the package that a vendor has shipped. It will provide the Amazon customer visibility on their order, when the package is outside of Amazon Network visibility. **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).
668
- * @param {VendorShippingApiSubmitShipmentStatusUpdatesRequest} requestParameters Request parameters.
668
+ * @param {VendorDirectFulfillmentShippingApiSubmitShipmentStatusUpdatesRequest} requestParameters Request parameters.
669
669
  * @param {*} [options] Override http request option.
670
670
  * @throws {RequiredError}
671
- * @memberof VendorShippingApi
671
+ * @memberof VendorDirectFulfillmentShippingApi
672
672
  */
673
673
  submitShipmentStatusUpdates(requestParameters, options) {
674
- return VendorShippingApiFp(this.configuration).submitShipmentStatusUpdates(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
674
+ return VendorDirectFulfillmentShippingApiFp(this.configuration).submitShipmentStatusUpdates(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
675
675
  }
676
676
  /**
677
677
  * Creates a shipping label for a purchase order and returns a transactionId for reference. **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).
678
- * @param {VendorShippingApiSubmitShippingLabelRequestRequest} requestParameters Request parameters.
678
+ * @param {VendorDirectFulfillmentShippingApiSubmitShippingLabelRequestRequest} requestParameters Request parameters.
679
679
  * @param {*} [options] Override http request option.
680
680
  * @throws {RequiredError}
681
- * @memberof VendorShippingApi
681
+ * @memberof VendorDirectFulfillmentShippingApi
682
682
  */
683
683
  submitShippingLabelRequest(requestParameters, options) {
684
- return VendorShippingApiFp(this.configuration).submitShippingLabelRequest(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
684
+ return VendorDirectFulfillmentShippingApiFp(this.configuration).submitShippingLabelRequest(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
685
685
  }
686
686
  }
687
687
  /**
@@ -11,4 +11,4 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- export * from './api/vendor-shipping-api';
14
+ export * from './api/vendor-direct-fulfillment-shipping-api';
package/dist/es/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createAxiosInstance } from '@sp-api-sdk/common';
2
- import { Configuration, VendorShippingApi } from './api-model';
2
+ import { Configuration, VendorDirectFulfillmentShippingApi } from './api-model';
3
3
  export const clientRateLimits = [
4
4
  {
5
5
  method: 'get',
@@ -65,7 +65,7 @@ export const clientRateLimits = [
65
65
  burst: 10,
66
66
  },
67
67
  ];
68
- export class VendorDirectFulfillmentShippingApiClient extends VendorShippingApi {
68
+ export class VendorDirectFulfillmentShippingApiClient extends VendorDirectFulfillmentShippingApi {
69
69
  constructor(configuration) {
70
70
  const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
71
71
  super(new Configuration(), endpoint, axios);