/** * Selling Partner API for Direct Fulfillment Shipping * Use the Selling Partner API for Direct Fulfillment Shipping to access a direct fulfillment vendor's shipping data. * * The version of the OpenAPI document: 2021-12-28 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ import { ApiClient } from '../ApiClient.js'; import { CreateShippingLabelsRequest } from '../model/CreateShippingLabelsRequest.js'; import { ShippingLabel } from '../model/ShippingLabel.js'; import { ShippingLabelList } from '../model/ShippingLabelList.js'; import { SubmitShippingLabelsRequest } from '../model/SubmitShippingLabelsRequest.js'; import { TransactionReference } from '../model/TransactionReference.js'; /** * VendorShippingLabels service. * @module vendordfshipping_v2021_12_28/api/VendorShippingLabelsApi * @version 2021-12-28 */ export declare class VendorShippingLabelsApi { #private; apiClient: any; /** * Constructs a new VendorShippingLabelsApi. * @alias module:vendordfshipping_v2021_12_28/api/VendorShippingLabelsApi * @class * @param {ApiClient} [apiClient] Optional API client implementation to use, * default to {@link ApiClient#instance} if unspecified. */ constructor(apiClient?: ApiClient); /** * Initialize rate limiters for API operations */ initializeDefaultRateLimiterMap(): void; /** * Get rate limiter for a specific operation * @param {String} operation name */ getRateLimiter(operation: string): any; /** * createShippingLabels * Creates shipping labels for a purchase order and returns the labels. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits). * @param {String} purchaseOrderNumber The purchase order number for which you want to return the shipping labels. It should be the same number as the `purchaseOrderNumber` in the order. * @param {CreateShippingLabelsRequest} body The request payload that contains the parameters for creating shipping labels. * @return {Promise} */ createShippingLabelsWithHttpInfo(purchaseOrderNumber: string, body: CreateShippingLabelsRequest): Promise; /** * createShippingLabels * Creates shipping labels for a purchase order and returns the labels. **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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits). * @param {String} purchaseOrderNumber The purchase order number for which you want to return the shipping labels. It should be the same number as the `purchaseOrderNumber` in the order. * @param {CreateShippingLabelsRequest} body The request payload that contains the parameters for creating shipping labels. * @return {Promise} */ createShippingLabels(purchaseOrderNumber: string, body: CreateShippingLabelsRequest): Promise; /** * getShippingLabel * 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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits). * @param {String} purchaseOrderNumber The purchase order number for which you want to return the shipping label. It should be the same `purchaseOrderNumber` that you received in the order. * @return {Promise} */ getShippingLabelWithHttpInfo(purchaseOrderNumber: string): Promise; /** * getShippingLabel * 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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits). * @param {String} purchaseOrderNumber The purchase order number for which you want to return the shipping label. It should be the same `purchaseOrderNumber` that you received in the order. * @return {Promise} */ getShippingLabel(purchaseOrderNumber: string): Promise; /** * getShippingLabels * Returns a list of shipping labels created during the time frame that you specify. Use the `createdAfter` and `createdBefore` parameters to define the time frame. You must use both of these parameters. The date range to search must not be more than seven 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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits). * @param {Date} createdAfter Shipping labels that became available after this date and time will be included in the result. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. * @param {Date} createdBefore Shipping labels that became available before this date and time will be included in the result. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. * @param {Object} [opts] Optional parameters * @param {String} [opts.shipFromPartyId] The vendor `warehouseId` for order fulfillment. If not specified, the result contains orders for all warehouses. * @param {Number} [opts.limit] The limit to the number of records returned. * @param {String} [opts.sortOrder] The sort order creation date. You can choose between ascending (`ASC`) or descending (`DESC`) sort order. (default to 'ASC') * @param {String} [opts.nextToken] Used for pagination when there are more ship labels than the specified result size limit. The token value is returned in the previous API call. * @return {Promise} */ getShippingLabelsWithHttpInfo(createdAfter: Date, createdBefore: Date, opts?: { shipFromPartyId?: string; limit?: number; sortOrder?: string; nextToken?: string; }): Promise; /** * getShippingLabels * Returns a list of shipping labels created during the time frame that you specify. Use the `createdAfter` and `createdBefore` parameters to define the time frame. You must use both of these parameters. The date range to search must not be more than seven 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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits). * @param {Date} createdAfter Shipping labels that became available after this date and time will be included in the result. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. * @param {Date} createdBefore Shipping labels that became available before this date and time will be included in the result. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. * @param {Object} [opts] Optional parameters * @param {String} [opts.shipFromPartyId] The vendor `warehouseId` for order fulfillment. If not specified, the result contains orders for all warehouses. * @param {Number} [opts.limit] The limit to the number of records returned. * @param {String} [opts.sortOrder] The sort order creation date. You can choose between ascending (`ASC`) or descending (`DESC`) sort order. (default to 'ASC') * @param {String} [opts.nextToken] Used for pagination when there are more ship labels than the specified result size limit. The token value is returned in the previous API call. * @return {Promise} */ getShippingLabels(createdAfter: Date, createdBefore: Date, opts?: { shipFromPartyId?: string; limit?: number; sortOrder?: string; nextToken?: string; }): Promise; /** * submitShippingLabelRequest * 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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits). * @param {SubmitShippingLabelsRequest} body The request body that contains the shipping labels data. * @return {Promise} */ submitShippingLabelRequestWithHttpInfo(body: SubmitShippingLabelsRequest): Promise; /** * submitShippingLabelRequest * 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 preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values then those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits). * @param {SubmitShippingLabelsRequest} body The request body that contains the shipping labels data. * @return {Promise} */ submitShippingLabelRequest(body: SubmitShippingLabelsRequest): Promise; } //# sourceMappingURL=VendorShippingLabelsApi.d.ts.map