@sp-api-sdk/vendor-direct-fulfillment-shipping-api-v1 3.0.4 → 4.0.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.
- package/dist/cjs/api-model/api/{vendor-shipping-api.js → vendor-direct-fulfillment-shipping-api.js} +61 -61
- package/dist/cjs/api-model/api.js +1 -1
- package/dist/cjs/client.js +1 -1
- package/dist/es/api-model/api/{vendor-shipping-api.js → vendor-direct-fulfillment-shipping-api.js} +56 -56
- package/dist/es/api-model/api.js +1 -1
- package/dist/es/client.js +2 -2
- package/dist/types/api-model/api/{vendor-shipping-api.d.ts → vendor-direct-fulfillment-shipping-api.d.ts} +105 -105
- package/dist/types/api-model/api.d.ts +1 -1
- package/dist/types/client.d.ts +2 -2
- package/package.json +4 -4
package/dist/cjs/api-model/api/{vendor-shipping-api.js → vendor-direct-fulfillment-shipping-api.js}
RENAMED
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.GetShippingLabelsSortOrderEnum = exports.GetPackingSlipsSortOrderEnum = exports.GetCustomerInvoicesSortOrderEnum = exports.
|
|
19
|
+
exports.GetShippingLabelsSortOrderEnum = exports.GetPackingSlipsSortOrderEnum = exports.GetCustomerInvoicesSortOrderEnum = exports.VendorDirectFulfillmentShippingApi = exports.VendorDirectFulfillmentShippingApiFactory = exports.VendorDirectFulfillmentShippingApiFp = exports.VendorDirectFulfillmentShippingApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -24,10 +24,10 @@ const common_1 = require("../common");
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
const base_1 = require("../base");
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* VendorDirectFulfillmentShippingApi - axios parameter creator
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
|
-
const
|
|
30
|
+
const VendorDirectFulfillmentShippingApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
33
|
* 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).
|
|
@@ -370,13 +370,13 @@ const VendorShippingApiAxiosParamCreator = function (configuration) {
|
|
|
370
370
|
},
|
|
371
371
|
};
|
|
372
372
|
};
|
|
373
|
-
exports.
|
|
373
|
+
exports.VendorDirectFulfillmentShippingApiAxiosParamCreator = VendorDirectFulfillmentShippingApiAxiosParamCreator;
|
|
374
374
|
/**
|
|
375
|
-
*
|
|
375
|
+
* VendorDirectFulfillmentShippingApi - functional programming interface
|
|
376
376
|
* @export
|
|
377
377
|
*/
|
|
378
|
-
const
|
|
379
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
378
|
+
const VendorDirectFulfillmentShippingApiFp = function (configuration) {
|
|
379
|
+
const localVarAxiosParamCreator = (0, exports.VendorDirectFulfillmentShippingApiAxiosParamCreator)(configuration);
|
|
380
380
|
return {
|
|
381
381
|
/**
|
|
382
382
|
* 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).
|
|
@@ -387,7 +387,7 @@ const VendorShippingApiFp = function (configuration) {
|
|
|
387
387
|
async getCustomerInvoice(purchaseOrderNumber, options) {
|
|
388
388
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerInvoice(purchaseOrderNumber, options);
|
|
389
389
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
390
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
390
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['VendorDirectFulfillmentShippingApi.getCustomerInvoice']?.[localVarOperationServerIndex]?.url;
|
|
391
391
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
392
392
|
},
|
|
393
393
|
/**
|
|
@@ -404,7 +404,7 @@ const VendorShippingApiFp = function (configuration) {
|
|
|
404
404
|
async getCustomerInvoices(createdAfter, createdBefore, shipFromPartyId, limit, sortOrder, nextToken, options) {
|
|
405
405
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerInvoices(createdAfter, createdBefore, shipFromPartyId, limit, sortOrder, nextToken, options);
|
|
406
406
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
407
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
407
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['VendorDirectFulfillmentShippingApi.getCustomerInvoices']?.[localVarOperationServerIndex]?.url;
|
|
408
408
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
409
409
|
},
|
|
410
410
|
/**
|
|
@@ -416,7 +416,7 @@ const VendorShippingApiFp = function (configuration) {
|
|
|
416
416
|
async getPackingSlip(purchaseOrderNumber, options) {
|
|
417
417
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPackingSlip(purchaseOrderNumber, options);
|
|
418
418
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
419
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
419
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['VendorDirectFulfillmentShippingApi.getPackingSlip']?.[localVarOperationServerIndex]?.url;
|
|
420
420
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
421
421
|
},
|
|
422
422
|
/**
|
|
@@ -433,7 +433,7 @@ const VendorShippingApiFp = function (configuration) {
|
|
|
433
433
|
async getPackingSlips(createdAfter, createdBefore, shipFromPartyId, limit, sortOrder, nextToken, options) {
|
|
434
434
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPackingSlips(createdAfter, createdBefore, shipFromPartyId, limit, sortOrder, nextToken, options);
|
|
435
435
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
436
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
436
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['VendorDirectFulfillmentShippingApi.getPackingSlips']?.[localVarOperationServerIndex]?.url;
|
|
437
437
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
438
438
|
},
|
|
439
439
|
/**
|
|
@@ -445,7 +445,7 @@ const VendorShippingApiFp = function (configuration) {
|
|
|
445
445
|
async getShippingLabel(purchaseOrderNumber, options) {
|
|
446
446
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getShippingLabel(purchaseOrderNumber, options);
|
|
447
447
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
448
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
448
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['VendorDirectFulfillmentShippingApi.getShippingLabel']?.[localVarOperationServerIndex]?.url;
|
|
449
449
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
450
450
|
},
|
|
451
451
|
/**
|
|
@@ -462,7 +462,7 @@ const VendorShippingApiFp = function (configuration) {
|
|
|
462
462
|
async getShippingLabels(createdAfter, createdBefore, shipFromPartyId, limit, sortOrder, nextToken, options) {
|
|
463
463
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getShippingLabels(createdAfter, createdBefore, shipFromPartyId, limit, sortOrder, nextToken, options);
|
|
464
464
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
465
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
465
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['VendorDirectFulfillmentShippingApi.getShippingLabels']?.[localVarOperationServerIndex]?.url;
|
|
466
466
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
467
467
|
},
|
|
468
468
|
/**
|
|
@@ -474,7 +474,7 @@ const VendorShippingApiFp = function (configuration) {
|
|
|
474
474
|
async submitShipmentConfirmations(body, options) {
|
|
475
475
|
const localVarAxiosArgs = await localVarAxiosParamCreator.submitShipmentConfirmations(body, options);
|
|
476
476
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
477
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
477
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['VendorDirectFulfillmentShippingApi.submitShipmentConfirmations']?.[localVarOperationServerIndex]?.url;
|
|
478
478
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
479
479
|
},
|
|
480
480
|
/**
|
|
@@ -486,7 +486,7 @@ const VendorShippingApiFp = function (configuration) {
|
|
|
486
486
|
async submitShipmentStatusUpdates(body, options) {
|
|
487
487
|
const localVarAxiosArgs = await localVarAxiosParamCreator.submitShipmentStatusUpdates(body, options);
|
|
488
488
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
489
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
489
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['VendorDirectFulfillmentShippingApi.submitShipmentStatusUpdates']?.[localVarOperationServerIndex]?.url;
|
|
490
490
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
491
491
|
},
|
|
492
492
|
/**
|
|
@@ -498,22 +498,22 @@ const VendorShippingApiFp = function (configuration) {
|
|
|
498
498
|
async submitShippingLabelRequest(body, options) {
|
|
499
499
|
const localVarAxiosArgs = await localVarAxiosParamCreator.submitShippingLabelRequest(body, options);
|
|
500
500
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
501
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
501
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['VendorDirectFulfillmentShippingApi.submitShippingLabelRequest']?.[localVarOperationServerIndex]?.url;
|
|
502
502
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
503
503
|
},
|
|
504
504
|
};
|
|
505
505
|
};
|
|
506
|
-
exports.
|
|
506
|
+
exports.VendorDirectFulfillmentShippingApiFp = VendorDirectFulfillmentShippingApiFp;
|
|
507
507
|
/**
|
|
508
|
-
*
|
|
508
|
+
* VendorDirectFulfillmentShippingApi - factory interface
|
|
509
509
|
* @export
|
|
510
510
|
*/
|
|
511
|
-
const
|
|
512
|
-
const localVarFp = (0, exports.
|
|
511
|
+
const VendorDirectFulfillmentShippingApiFactory = function (configuration, basePath, axios) {
|
|
512
|
+
const localVarFp = (0, exports.VendorDirectFulfillmentShippingApiFp)(configuration);
|
|
513
513
|
return {
|
|
514
514
|
/**
|
|
515
515
|
* 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).
|
|
516
|
-
* @param {
|
|
516
|
+
* @param {VendorDirectFulfillmentShippingApiGetCustomerInvoiceRequest} requestParameters Request parameters.
|
|
517
517
|
* @param {*} [options] Override http request option.
|
|
518
518
|
* @throws {RequiredError}
|
|
519
519
|
*/
|
|
@@ -522,7 +522,7 @@ const VendorShippingApiFactory = function (configuration, basePath, axios) {
|
|
|
522
522
|
},
|
|
523
523
|
/**
|
|
524
524
|
* 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).
|
|
525
|
-
* @param {
|
|
525
|
+
* @param {VendorDirectFulfillmentShippingApiGetCustomerInvoicesRequest} requestParameters Request parameters.
|
|
526
526
|
* @param {*} [options] Override http request option.
|
|
527
527
|
* @throws {RequiredError}
|
|
528
528
|
*/
|
|
@@ -531,7 +531,7 @@ const VendorShippingApiFactory = function (configuration, basePath, axios) {
|
|
|
531
531
|
},
|
|
532
532
|
/**
|
|
533
533
|
* 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).
|
|
534
|
-
* @param {
|
|
534
|
+
* @param {VendorDirectFulfillmentShippingApiGetPackingSlipRequest} requestParameters Request parameters.
|
|
535
535
|
* @param {*} [options] Override http request option.
|
|
536
536
|
* @throws {RequiredError}
|
|
537
537
|
*/
|
|
@@ -540,7 +540,7 @@ const VendorShippingApiFactory = function (configuration, basePath, axios) {
|
|
|
540
540
|
},
|
|
541
541
|
/**
|
|
542
542
|
* 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).
|
|
543
|
-
* @param {
|
|
543
|
+
* @param {VendorDirectFulfillmentShippingApiGetPackingSlipsRequest} requestParameters Request parameters.
|
|
544
544
|
* @param {*} [options] Override http request option.
|
|
545
545
|
* @throws {RequiredError}
|
|
546
546
|
*/
|
|
@@ -549,7 +549,7 @@ const VendorShippingApiFactory = function (configuration, basePath, axios) {
|
|
|
549
549
|
},
|
|
550
550
|
/**
|
|
551
551
|
* 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).
|
|
552
|
-
* @param {
|
|
552
|
+
* @param {VendorDirectFulfillmentShippingApiGetShippingLabelRequest} requestParameters Request parameters.
|
|
553
553
|
* @param {*} [options] Override http request option.
|
|
554
554
|
* @throws {RequiredError}
|
|
555
555
|
*/
|
|
@@ -558,7 +558,7 @@ const VendorShippingApiFactory = function (configuration, basePath, axios) {
|
|
|
558
558
|
},
|
|
559
559
|
/**
|
|
560
560
|
* 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).
|
|
561
|
-
* @param {
|
|
561
|
+
* @param {VendorDirectFulfillmentShippingApiGetShippingLabelsRequest} requestParameters Request parameters.
|
|
562
562
|
* @param {*} [options] Override http request option.
|
|
563
563
|
* @throws {RequiredError}
|
|
564
564
|
*/
|
|
@@ -567,7 +567,7 @@ const VendorShippingApiFactory = function (configuration, basePath, axios) {
|
|
|
567
567
|
},
|
|
568
568
|
/**
|
|
569
569
|
* 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).
|
|
570
|
-
* @param {
|
|
570
|
+
* @param {VendorDirectFulfillmentShippingApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
|
|
571
571
|
* @param {*} [options] Override http request option.
|
|
572
572
|
* @throws {RequiredError}
|
|
573
573
|
*/
|
|
@@ -576,7 +576,7 @@ const VendorShippingApiFactory = function (configuration, basePath, axios) {
|
|
|
576
576
|
},
|
|
577
577
|
/**
|
|
578
578
|
* 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).
|
|
579
|
-
* @param {
|
|
579
|
+
* @param {VendorDirectFulfillmentShippingApiSubmitShipmentStatusUpdatesRequest} requestParameters Request parameters.
|
|
580
580
|
* @param {*} [options] Override http request option.
|
|
581
581
|
* @throws {RequiredError}
|
|
582
582
|
*/
|
|
@@ -585,7 +585,7 @@ const VendorShippingApiFactory = function (configuration, basePath, axios) {
|
|
|
585
585
|
},
|
|
586
586
|
/**
|
|
587
587
|
* 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).
|
|
588
|
-
* @param {
|
|
588
|
+
* @param {VendorDirectFulfillmentShippingApiSubmitShippingLabelRequestRequest} requestParameters Request parameters.
|
|
589
589
|
* @param {*} [options] Override http request option.
|
|
590
590
|
* @throws {RequiredError}
|
|
591
591
|
*/
|
|
@@ -594,106 +594,106 @@ const VendorShippingApiFactory = function (configuration, basePath, axios) {
|
|
|
594
594
|
},
|
|
595
595
|
};
|
|
596
596
|
};
|
|
597
|
-
exports.
|
|
597
|
+
exports.VendorDirectFulfillmentShippingApiFactory = VendorDirectFulfillmentShippingApiFactory;
|
|
598
598
|
/**
|
|
599
|
-
*
|
|
599
|
+
* VendorDirectFulfillmentShippingApi - object-oriented interface
|
|
600
600
|
* @export
|
|
601
|
-
* @class
|
|
601
|
+
* @class VendorDirectFulfillmentShippingApi
|
|
602
602
|
* @extends {BaseAPI}
|
|
603
603
|
*/
|
|
604
|
-
class
|
|
604
|
+
class VendorDirectFulfillmentShippingApi extends base_1.BaseAPI {
|
|
605
605
|
/**
|
|
606
606
|
* 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).
|
|
607
|
-
* @param {
|
|
607
|
+
* @param {VendorDirectFulfillmentShippingApiGetCustomerInvoiceRequest} requestParameters Request parameters.
|
|
608
608
|
* @param {*} [options] Override http request option.
|
|
609
609
|
* @throws {RequiredError}
|
|
610
|
-
* @memberof
|
|
610
|
+
* @memberof VendorDirectFulfillmentShippingApi
|
|
611
611
|
*/
|
|
612
612
|
getCustomerInvoice(requestParameters, options) {
|
|
613
|
-
return (0, exports.
|
|
613
|
+
return (0, exports.VendorDirectFulfillmentShippingApiFp)(this.configuration).getCustomerInvoice(requestParameters.purchaseOrderNumber, options).then((request) => request(this.axios, this.basePath));
|
|
614
614
|
}
|
|
615
615
|
/**
|
|
616
616
|
* 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).
|
|
617
|
-
* @param {
|
|
617
|
+
* @param {VendorDirectFulfillmentShippingApiGetCustomerInvoicesRequest} requestParameters Request parameters.
|
|
618
618
|
* @param {*} [options] Override http request option.
|
|
619
619
|
* @throws {RequiredError}
|
|
620
|
-
* @memberof
|
|
620
|
+
* @memberof VendorDirectFulfillmentShippingApi
|
|
621
621
|
*/
|
|
622
622
|
getCustomerInvoices(requestParameters, options) {
|
|
623
|
-
return (0, exports.
|
|
623
|
+
return (0, exports.VendorDirectFulfillmentShippingApiFp)(this.configuration).getCustomerInvoices(requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipFromPartyId, requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
624
624
|
}
|
|
625
625
|
/**
|
|
626
626
|
* 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).
|
|
627
|
-
* @param {
|
|
627
|
+
* @param {VendorDirectFulfillmentShippingApiGetPackingSlipRequest} requestParameters Request parameters.
|
|
628
628
|
* @param {*} [options] Override http request option.
|
|
629
629
|
* @throws {RequiredError}
|
|
630
|
-
* @memberof
|
|
630
|
+
* @memberof VendorDirectFulfillmentShippingApi
|
|
631
631
|
*/
|
|
632
632
|
getPackingSlip(requestParameters, options) {
|
|
633
|
-
return (0, exports.
|
|
633
|
+
return (0, exports.VendorDirectFulfillmentShippingApiFp)(this.configuration).getPackingSlip(requestParameters.purchaseOrderNumber, options).then((request) => request(this.axios, this.basePath));
|
|
634
634
|
}
|
|
635
635
|
/**
|
|
636
636
|
* 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).
|
|
637
|
-
* @param {
|
|
637
|
+
* @param {VendorDirectFulfillmentShippingApiGetPackingSlipsRequest} requestParameters Request parameters.
|
|
638
638
|
* @param {*} [options] Override http request option.
|
|
639
639
|
* @throws {RequiredError}
|
|
640
|
-
* @memberof
|
|
640
|
+
* @memberof VendorDirectFulfillmentShippingApi
|
|
641
641
|
*/
|
|
642
642
|
getPackingSlips(requestParameters, options) {
|
|
643
|
-
return (0, exports.
|
|
643
|
+
return (0, exports.VendorDirectFulfillmentShippingApiFp)(this.configuration).getPackingSlips(requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipFromPartyId, requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
644
644
|
}
|
|
645
645
|
/**
|
|
646
646
|
* 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).
|
|
647
|
-
* @param {
|
|
647
|
+
* @param {VendorDirectFulfillmentShippingApiGetShippingLabelRequest} requestParameters Request parameters.
|
|
648
648
|
* @param {*} [options] Override http request option.
|
|
649
649
|
* @throws {RequiredError}
|
|
650
|
-
* @memberof
|
|
650
|
+
* @memberof VendorDirectFulfillmentShippingApi
|
|
651
651
|
*/
|
|
652
652
|
getShippingLabel(requestParameters, options) {
|
|
653
|
-
return (0, exports.
|
|
653
|
+
return (0, exports.VendorDirectFulfillmentShippingApiFp)(this.configuration).getShippingLabel(requestParameters.purchaseOrderNumber, options).then((request) => request(this.axios, this.basePath));
|
|
654
654
|
}
|
|
655
655
|
/**
|
|
656
656
|
* 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).
|
|
657
|
-
* @param {
|
|
657
|
+
* @param {VendorDirectFulfillmentShippingApiGetShippingLabelsRequest} requestParameters Request parameters.
|
|
658
658
|
* @param {*} [options] Override http request option.
|
|
659
659
|
* @throws {RequiredError}
|
|
660
|
-
* @memberof
|
|
660
|
+
* @memberof VendorDirectFulfillmentShippingApi
|
|
661
661
|
*/
|
|
662
662
|
getShippingLabels(requestParameters, options) {
|
|
663
|
-
return (0, exports.
|
|
663
|
+
return (0, exports.VendorDirectFulfillmentShippingApiFp)(this.configuration).getShippingLabels(requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipFromPartyId, requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
664
664
|
}
|
|
665
665
|
/**
|
|
666
666
|
* 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).
|
|
667
|
-
* @param {
|
|
667
|
+
* @param {VendorDirectFulfillmentShippingApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
|
|
668
668
|
* @param {*} [options] Override http request option.
|
|
669
669
|
* @throws {RequiredError}
|
|
670
|
-
* @memberof
|
|
670
|
+
* @memberof VendorDirectFulfillmentShippingApi
|
|
671
671
|
*/
|
|
672
672
|
submitShipmentConfirmations(requestParameters, options) {
|
|
673
|
-
return (0, exports.
|
|
673
|
+
return (0, exports.VendorDirectFulfillmentShippingApiFp)(this.configuration).submitShipmentConfirmations(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
674
674
|
}
|
|
675
675
|
/**
|
|
676
676
|
* 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).
|
|
677
|
-
* @param {
|
|
677
|
+
* @param {VendorDirectFulfillmentShippingApiSubmitShipmentStatusUpdatesRequest} requestParameters Request parameters.
|
|
678
678
|
* @param {*} [options] Override http request option.
|
|
679
679
|
* @throws {RequiredError}
|
|
680
|
-
* @memberof
|
|
680
|
+
* @memberof VendorDirectFulfillmentShippingApi
|
|
681
681
|
*/
|
|
682
682
|
submitShipmentStatusUpdates(requestParameters, options) {
|
|
683
|
-
return (0, exports.
|
|
683
|
+
return (0, exports.VendorDirectFulfillmentShippingApiFp)(this.configuration).submitShipmentStatusUpdates(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
684
684
|
}
|
|
685
685
|
/**
|
|
686
686
|
* 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).
|
|
687
|
-
* @param {
|
|
687
|
+
* @param {VendorDirectFulfillmentShippingApiSubmitShippingLabelRequestRequest} requestParameters Request parameters.
|
|
688
688
|
* @param {*} [options] Override http request option.
|
|
689
689
|
* @throws {RequiredError}
|
|
690
|
-
* @memberof
|
|
690
|
+
* @memberof VendorDirectFulfillmentShippingApi
|
|
691
691
|
*/
|
|
692
692
|
submitShippingLabelRequest(requestParameters, options) {
|
|
693
|
-
return (0, exports.
|
|
693
|
+
return (0, exports.VendorDirectFulfillmentShippingApiFp)(this.configuration).submitShippingLabelRequest(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
|
-
exports.
|
|
696
|
+
exports.VendorDirectFulfillmentShippingApi = VendorDirectFulfillmentShippingApi;
|
|
697
697
|
/**
|
|
698
698
|
* @export
|
|
699
699
|
*/
|
|
@@ -27,4 +27,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
__exportStar(require("./api/vendor-shipping-api"), exports);
|
|
30
|
+
__exportStar(require("./api/vendor-direct-fulfillment-shipping-api"), exports);
|
package/dist/cjs/client.js
CHANGED
|
@@ -68,7 +68,7 @@ exports.clientRateLimits = [
|
|
|
68
68
|
burst: 10,
|
|
69
69
|
},
|
|
70
70
|
];
|
|
71
|
-
class VendorDirectFulfillmentShippingApiClient extends api_model_1.
|
|
71
|
+
class VendorDirectFulfillmentShippingApiClient extends api_model_1.VendorDirectFulfillmentShippingApi {
|
|
72
72
|
constructor(configuration) {
|
|
73
73
|
const { axios, endpoint } = (0, common_1.createAxiosInstance)(configuration, exports.clientRateLimits);
|
|
74
74
|
super(new api_model_1.Configuration(), endpoint, axios);
|