Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@sp-api-sdk/shipment-invoicing-api-v0

Package Overview
Dependencies
189
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.10.4 to 1.10.5

6

dist/cjs/src/api-model/api/shipment-invoice-api.js

@@ -50,3 +50,3 @@ "use strict";

const localVarQueryParameter = {};
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};

@@ -79,3 +79,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };

const localVarQueryParameter = {};
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};

@@ -112,3 +112,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };

localVarHeaderParameter['Content-Type'] = 'application/json';
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};

@@ -115,0 +115,0 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };

@@ -22,6 +22,5 @@ "use strict";

*/
var AddressTypeEnum;
(function (AddressTypeEnum) {
AddressTypeEnum["Residential"] = "Residential";
AddressTypeEnum["Commercial"] = "Commercial";
})(AddressTypeEnum = exports.AddressTypeEnum || (exports.AddressTypeEnum = {}));
exports.AddressTypeEnum = {
Residential: 'Residential',
Commercial: 'Commercial'
};

@@ -22,8 +22,7 @@ "use strict";

*/
var ShipmentInvoiceStatus;
(function (ShipmentInvoiceStatus) {
ShipmentInvoiceStatus["Processing"] = "Processing";
ShipmentInvoiceStatus["Accepted"] = "Accepted";
ShipmentInvoiceStatus["Errored"] = "Errored";
ShipmentInvoiceStatus["NotFound"] = "NotFound";
})(ShipmentInvoiceStatus = exports.ShipmentInvoiceStatus || (exports.ShipmentInvoiceStatus = {}));
exports.ShipmentInvoiceStatus = {
Processing: 'Processing',
Accepted: 'Accepted',
Errored: 'Errored',
NotFound: 'NotFound'
};

@@ -46,3 +46,3 @@ /* tslint:disable */

const localVarQueryParameter = {};
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};

@@ -75,3 +75,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };

const localVarQueryParameter = {};
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};

@@ -108,3 +108,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };

localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};

@@ -111,0 +111,0 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };

@@ -19,6 +19,5 @@ /* tslint:disable */

*/
export var AddressTypeEnum;
(function (AddressTypeEnum) {
AddressTypeEnum["Residential"] = "Residential";
AddressTypeEnum["Commercial"] = "Commercial";
})(AddressTypeEnum || (AddressTypeEnum = {}));
export const AddressTypeEnum = {
Residential: 'Residential',
Commercial: 'Commercial'
};

@@ -19,8 +19,7 @@ /* tslint:disable */

*/
export var ShipmentInvoiceStatus;
(function (ShipmentInvoiceStatus) {
ShipmentInvoiceStatus["Processing"] = "Processing";
ShipmentInvoiceStatus["Accepted"] = "Accepted";
ShipmentInvoiceStatus["Errored"] = "Errored";
ShipmentInvoiceStatus["NotFound"] = "NotFound";
})(ShipmentInvoiceStatus || (ShipmentInvoiceStatus = {}));
export const ShipmentInvoiceStatus = {
Processing: 'Processing',
Accepted: 'Accepted',
Errored: 'Errored',
NotFound: 'NotFound'
};

@@ -12,3 +12,3 @@ /**

*/
import { AxiosPromise, AxiosInstance } from 'axios';
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
import { Configuration } from '../configuration';

@@ -31,3 +31,3 @@ import { RequestArgs, BaseAPI } from '../base';

*/
getInvoiceStatus: (shipmentId: string, options?: any) => Promise<RequestArgs>;
getInvoiceStatus: (shipmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -39,3 +39,3 @@ * Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

*/
getShipmentDetails: (shipmentId: string, options?: any) => Promise<RequestArgs>;
getShipmentDetails: (shipmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -48,3 +48,3 @@ * Submits a shipment invoice document for a given shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

*/
submitInvoice: (shipmentId: string, body: SubmitInvoiceRequest, options?: any) => Promise<RequestArgs>;
submitInvoice: (shipmentId: string, body: SubmitInvoiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};

@@ -62,3 +62,3 @@ /**

*/
getInvoiceStatus(shipmentId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetInvoiceStatusResponse>>;
getInvoiceStatus(shipmentId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetInvoiceStatusResponse>>;
/**

@@ -70,3 +70,3 @@ * Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

*/
getShipmentDetails(shipmentId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetShipmentDetailsResponse>>;
getShipmentDetails(shipmentId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetShipmentDetailsResponse>>;
/**

@@ -79,3 +79,3 @@ * Submits a shipment invoice document for a given shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

*/
submitInvoice(shipmentId: string, body: SubmitInvoiceRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SubmitInvoiceResponse>>;
submitInvoice(shipmentId: string, body: SubmitInvoiceRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SubmitInvoiceResponse>>;
};

@@ -169,3 +169,3 @@ /**

*/
getInvoiceStatus(requestParameters: ShipmentInvoiceApiGetInvoiceStatusRequest, options?: any): Promise<import("axios").AxiosResponse<GetInvoiceStatusResponse, any>>;
getInvoiceStatus(requestParameters: ShipmentInvoiceApiGetInvoiceStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInvoiceStatusResponse, any>>;
/**

@@ -178,3 +178,3 @@ * Returns the shipment details required to issue an invoice for the specified shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

*/
getShipmentDetails(requestParameters: ShipmentInvoiceApiGetShipmentDetailsRequest, options?: any): Promise<import("axios").AxiosResponse<GetShipmentDetailsResponse, any>>;
getShipmentDetails(requestParameters: ShipmentInvoiceApiGetShipmentDetailsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetShipmentDetailsResponse, any>>;
/**

@@ -187,3 +187,3 @@ * Submits a shipment invoice document for a given shipment. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1.133 | 25 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

*/
submitInvoice(requestParameters: ShipmentInvoiceApiSubmitInvoiceRequest, options?: any): Promise<import("axios").AxiosResponse<SubmitInvoiceResponse, any>>;
submitInvoice(requestParameters: ShipmentInvoiceApiSubmitInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitInvoiceResponse, any>>;
}

@@ -13,3 +13,3 @@ /**

import { Configuration } from "./configuration";
import { AxiosInstance } from 'axios';
import { AxiosInstance, AxiosRequestConfig } from 'axios';
export declare const BASE_PATH: string;

@@ -33,3 +33,3 @@ /**

url: string;
options: any;
options: AxiosRequestConfig;
}

@@ -36,0 +36,0 @@ /**

@@ -14,3 +14,3 @@ /**

import { RequestArgs } from "./base";
import { AxiosInstance } from 'axios';
import { AxiosInstance, AxiosResponse } from 'axios';
/**

@@ -66,2 +66,2 @@ *

*/
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any, any>>;
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;

@@ -17,5 +17,6 @@ /**

*/
export declare enum AddressTypeEnum {
Residential = "Residential",
Commercial = "Commercial"
}
export declare const AddressTypeEnum: {
readonly Residential: "Residential";
readonly Commercial: "Commercial";
};
export declare type AddressTypeEnum = typeof AddressTypeEnum[keyof typeof AddressTypeEnum];

@@ -24,3 +24,3 @@ /**

*/
Name?: string;
'Name'?: string;
/**

@@ -31,3 +31,3 @@ * The street address.

*/
AddressLine1?: string;
'AddressLine1'?: string;
/**

@@ -38,3 +38,3 @@ * Additional street address information, if required.

*/
AddressLine2?: string;
'AddressLine2'?: string;
/**

@@ -45,3 +45,3 @@ * Additional street address information, if required.

*/
AddressLine3?: string;
'AddressLine3'?: string;
/**

@@ -52,3 +52,3 @@ * The city.

*/
City?: string;
'City'?: string;
/**

@@ -59,3 +59,3 @@ * The county.

*/
County?: string;
'County'?: string;
/**

@@ -66,3 +66,3 @@ * The district.

*/
District?: string;
'District'?: string;
/**

@@ -73,3 +73,3 @@ * The state or region.

*/
StateOrRegion?: string;
'StateOrRegion'?: string;
/**

@@ -80,3 +80,3 @@ * The postal code.

*/
PostalCode?: string;
'PostalCode'?: string;
/**

@@ -87,3 +87,3 @@ * The country code.

*/
CountryCode?: string;
'CountryCode'?: string;
/**

@@ -94,3 +94,3 @@ * The phone number.

*/
Phone?: string;
'Phone'?: string;
/**

@@ -101,3 +101,3 @@ *

*/
AddressType?: AddressTypeEnum;
'AddressType'?: AddressTypeEnum;
}

@@ -24,3 +24,3 @@ /**

*/
CompanyLegalName?: string;
'CompanyLegalName'?: string;
/**

@@ -31,3 +31,3 @@ * The country or region imposing the tax.

*/
TaxingRegion?: string;
'TaxingRegion'?: string;
/**

@@ -38,3 +38,3 @@ * The list of tax classifications.

*/
TaxClassifications?: Array<TaxClassification>;
'TaxClassifications'?: Array<TaxClassification>;
}

@@ -24,3 +24,3 @@ /**

*/
payload?: ShipmentInvoiceStatusResponse;
'payload'?: ShipmentInvoiceStatusResponse;
/**

@@ -31,3 +31,3 @@ * A list of error responses returned when a request is unsuccessful.

*/
errors?: Array<Error>;
'errors'?: Array<Error>;
}

@@ -24,3 +24,3 @@ /**

*/
payload?: ShipmentDetail;
'payload'?: ShipmentDetail;
/**

@@ -31,3 +31,3 @@ * A list of error responses returned when a request is unsuccessful.

*/
errors?: Array<Error>;
'errors'?: Array<Error>;
}

@@ -24,3 +24,3 @@ /**

*/
CompanyLegalName?: string;
'CompanyLegalName'?: string;
/**

@@ -31,3 +31,3 @@ * The country or region imposing the tax.

*/
TaxingRegion?: string;
'TaxingRegion'?: string;
/**

@@ -38,3 +38,3 @@ * The list of tax classifications.

*/
TaxClassifications?: Array<TaxClassification>;
'TaxClassifications'?: Array<TaxClassification>;
}

@@ -23,3 +23,3 @@ /**

*/
code: string;
'code': string;
/**

@@ -30,3 +30,3 @@ * A message that describes the error condition.

*/
message: string;
'message': string;
/**

@@ -37,3 +37,3 @@ * Additional details that can help the caller understand or fix the issue.

*/
details?: string;
'details'?: string;
}

@@ -23,3 +23,3 @@ /**

*/
CurrencyCode?: string;
'CurrencyCode'?: string;
/**

@@ -30,3 +30,3 @@ * The currency amount.

*/
Amount?: string;
'Amount'?: string;
}

@@ -27,3 +27,3 @@ /**

*/
WarehouseId?: string;
'WarehouseId'?: string;
/**

@@ -34,3 +34,3 @@ * The Amazon-defined identifier for the order.

*/
AmazonOrderId?: string;
'AmazonOrderId'?: string;
/**

@@ -41,3 +41,3 @@ * The Amazon-defined identifier for the shipment.

*/
AmazonShipmentId?: string;
'AmazonShipmentId'?: string;
/**

@@ -48,3 +48,3 @@ * The date and time when the order was created.

*/
PurchaseDate?: string;
'PurchaseDate'?: string;
/**

@@ -55,3 +55,3 @@ *

*/
ShippingAddress?: Address;
'ShippingAddress'?: Address;
/**

@@ -62,3 +62,3 @@ * The list of payment method details.

*/
PaymentMethodDetails?: Array<string>;
'PaymentMethodDetails'?: Array<string>;
/**

@@ -69,3 +69,3 @@ * The identifier for the marketplace where the order was placed.

*/
MarketplaceId?: string;
'MarketplaceId'?: string;
/**

@@ -76,3 +76,3 @@ * The seller identifier.

*/
SellerId?: string;
'SellerId'?: string;
/**

@@ -83,3 +83,3 @@ * The name of the buyer.

*/
BuyerName?: string;
'BuyerName'?: string;
/**

@@ -90,3 +90,3 @@ * The county of the buyer.

*/
BuyerCounty?: string;
'BuyerCounty'?: string;
/**

@@ -97,3 +97,3 @@ *

*/
BuyerTaxInfo?: BuyerTaxInfo;
'BuyerTaxInfo'?: BuyerTaxInfo;
/**

@@ -104,3 +104,3 @@ *

*/
MarketplaceTaxInfo?: MarketplaceTaxInfo;
'MarketplaceTaxInfo'?: MarketplaceTaxInfo;
/**

@@ -111,3 +111,3 @@ * The seller’s friendly name registered in the marketplace.

*/
SellerDisplayName?: string;
'SellerDisplayName'?: string;
/**

@@ -118,3 +118,3 @@ * A list of shipment items.

*/
ShipmentItems?: Array<ShipmentItem>;
'ShipmentItems'?: Array<ShipmentItem>;
}

@@ -24,3 +24,3 @@ /**

*/
AmazonShipmentId?: string;
'AmazonShipmentId'?: string;
/**

@@ -31,3 +31,3 @@ *

*/
InvoiceStatus?: ShipmentInvoiceStatus;
'InvoiceStatus'?: ShipmentInvoiceStatus;
}

@@ -24,3 +24,3 @@ /**

*/
Shipments?: ShipmentInvoiceStatusInfo;
'Shipments'?: ShipmentInvoiceStatusInfo;
}

@@ -17,7 +17,8 @@ /**

*/
export declare enum ShipmentInvoiceStatus {
Processing = "Processing",
Accepted = "Accepted",
Errored = "Errored",
NotFound = "NotFound"
}
export declare const ShipmentInvoiceStatus: {
readonly Processing: "Processing";
readonly Accepted: "Accepted";
readonly Errored: "Errored";
readonly NotFound: "NotFound";
};
export declare type ShipmentInvoiceStatus = typeof ShipmentInvoiceStatus[keyof typeof ShipmentInvoiceStatus];

@@ -24,3 +24,3 @@ /**

*/
ASIN?: string;
'ASIN'?: string;
/**

@@ -31,3 +31,3 @@ * The seller SKU of the item.

*/
SellerSKU?: string;
'SellerSKU'?: string;
/**

@@ -38,3 +38,3 @@ * The Amazon-defined identifier for the order item.

*/
OrderItemId?: string;
'OrderItemId'?: string;
/**

@@ -45,3 +45,3 @@ * The name of the item.

*/
Title?: string;
'Title'?: string;
/**

@@ -52,3 +52,3 @@ * The number of items ordered.

*/
QuantityOrdered?: number;
'QuantityOrdered'?: number;
/**

@@ -59,3 +59,3 @@ *

*/
ItemPrice?: Money;
'ItemPrice'?: Money;
/**

@@ -66,3 +66,3 @@ *

*/
ShippingPrice?: Money;
'ShippingPrice'?: Money;
/**

@@ -73,3 +73,3 @@ *

*/
GiftWrapPrice?: Money;
'GiftWrapPrice'?: Money;
/**

@@ -80,3 +80,3 @@ *

*/
ShippingDiscount?: Money;
'ShippingDiscount'?: Money;
/**

@@ -87,3 +87,3 @@ *

*/
PromotionDiscount?: Money;
'PromotionDiscount'?: Money;
/**

@@ -94,3 +94,3 @@ * The list of serial numbers.

*/
SerialNumbers?: Array<string>;
'SerialNumbers'?: Array<string>;
}

@@ -23,3 +23,3 @@ /**

*/
InvoiceContent: string;
'InvoiceContent': string;
/**

@@ -30,3 +30,3 @@ * An Amazon marketplace identifier.

*/
MarketplaceId?: string;
'MarketplaceId'?: string;
/**

@@ -37,3 +37,3 @@ * MD5 sum for validating the invoice data. For more information about calculating this value, see [Working with Content-MD5 Checksums](https://docs.developer.amazonservices.com/en_US/dev_guide/DG_MD5.html).

*/
ContentMD5Value: string;
'ContentMD5Value': string;
}

@@ -23,3 +23,3 @@ /**

*/
errors?: Array<Error>;
'errors'?: Array<Error>;
}

@@ -23,3 +23,3 @@ /**

*/
Name?: string;
'Name'?: string;
/**

@@ -30,3 +30,3 @@ * The entity\'s tax identifier.

*/
Value?: string;
'Value'?: string;
}

@@ -5,3 +5,3 @@ {

"description": "The Selling Partner API for Shipment Invoicing helps you programmatically retrieve shipment invoice information in the Brazil marketplace for a selling partner’s Fulfillment by Amazon (FBA) orders.",
"version": "1.10.4",
"version": "1.10.5",
"main": "dist/cjs/index.js",

@@ -54,3 +54,3 @@ "module": "dist/es/index.js",

],
"gitHead": "a91680c9bce217db7412c5ad7c17aa6e918ada8e"
"gitHead": "d4f265d3c6a4e05e45025a46effa023a56a54e9c"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc