Socket
Socket
Sign inDemoInstall

@sp-api-sdk/vendor-invoices-api-v1

Package Overview
Dependencies
190
Maintainers
2
Versions
89
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.4 to 1.8.5

2

dist/cjs/src/api-model/api/vendor-payments-api.js

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

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 : {};

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

@@ -17,11 +17,6 @@ "use strict";

exports.AdditionalDetailsTypeEnum = void 0;
/**
* @export
* @enum {string}
*/
var AdditionalDetailsTypeEnum;
(function (AdditionalDetailsTypeEnum) {
AdditionalDetailsTypeEnum["Sur"] = "SUR";
AdditionalDetailsTypeEnum["Ocr"] = "OCR";
AdditionalDetailsTypeEnum["CartonCount"] = "CartonCount";
})(AdditionalDetailsTypeEnum = exports.AdditionalDetailsTypeEnum || (exports.AdditionalDetailsTypeEnum = {}));
exports.AdditionalDetailsTypeEnum = {
Sur: 'SUR',
Ocr: 'OCR',
CartonCount: 'CartonCount'
};

@@ -17,14 +17,9 @@ "use strict";

exports.AllowanceDetailsTypeEnum = void 0;
/**
* @export
* @enum {string}
*/
var AllowanceDetailsTypeEnum;
(function (AllowanceDetailsTypeEnum) {
AllowanceDetailsTypeEnum["Discount"] = "Discount";
AllowanceDetailsTypeEnum["DiscountIncentive"] = "DiscountIncentive";
AllowanceDetailsTypeEnum["Defective"] = "Defective";
AllowanceDetailsTypeEnum["Promotional"] = "Promotional";
AllowanceDetailsTypeEnum["UnsaleableMerchandise"] = "UnsaleableMerchandise";
AllowanceDetailsTypeEnum["Special"] = "Special";
})(AllowanceDetailsTypeEnum = exports.AllowanceDetailsTypeEnum || (exports.AllowanceDetailsTypeEnum = {}));
exports.AllowanceDetailsTypeEnum = {
Discount: 'Discount',
DiscountIncentive: 'DiscountIncentive',
Defective: 'Defective',
Promotional: 'Promotional',
UnsaleableMerchandise: 'UnsaleableMerchandise',
Special: 'Special'
};

@@ -17,19 +17,14 @@ "use strict";

exports.ChargeDetailsTypeEnum = void 0;
/**
* @export
* @enum {string}
*/
var ChargeDetailsTypeEnum;
(function (ChargeDetailsTypeEnum) {
ChargeDetailsTypeEnum["Freight"] = "Freight";
ChargeDetailsTypeEnum["Packing"] = "Packing";
ChargeDetailsTypeEnum["Duty"] = "Duty";
ChargeDetailsTypeEnum["Service"] = "Service";
ChargeDetailsTypeEnum["SmallOrder"] = "SmallOrder";
ChargeDetailsTypeEnum["InsurancePlacementCost"] = "InsurancePlacementCost";
ChargeDetailsTypeEnum["InsuranceFee"] = "InsuranceFee";
ChargeDetailsTypeEnum["SpecialHandlingService"] = "SpecialHandlingService";
ChargeDetailsTypeEnum["CollectionAndRecyclingService"] = "CollectionAndRecyclingService";
ChargeDetailsTypeEnum["EnvironmentalProtectionService"] = "EnvironmentalProtectionService";
ChargeDetailsTypeEnum["TaxCollectedAtSource"] = "TaxCollectedAtSource";
})(ChargeDetailsTypeEnum = exports.ChargeDetailsTypeEnum || (exports.ChargeDetailsTypeEnum = {}));
exports.ChargeDetailsTypeEnum = {
Freight: 'Freight',
Packing: 'Packing',
Duty: 'Duty',
Service: 'Service',
SmallOrder: 'SmallOrder',
InsurancePlacementCost: 'InsurancePlacementCost',
InsuranceFee: 'InsuranceFee',
SpecialHandlingService: 'SpecialHandlingService',
CollectionAndRecyclingService: 'CollectionAndRecyclingService',
EnvironmentalProtectionService: 'EnvironmentalProtectionService',
TaxCollectedAtSource: 'TaxCollectedAtSource'
};

@@ -17,10 +17,5 @@ "use strict";

exports.InvoiceInvoiceTypeEnum = void 0;
/**
* @export
* @enum {string}
*/
var InvoiceInvoiceTypeEnum;
(function (InvoiceInvoiceTypeEnum) {
InvoiceInvoiceTypeEnum["Invoice"] = "Invoice";
InvoiceInvoiceTypeEnum["CreditNote"] = "CreditNote";
})(InvoiceInvoiceTypeEnum = exports.InvoiceInvoiceTypeEnum || (exports.InvoiceInvoiceTypeEnum = {}));
exports.InvoiceInvoiceTypeEnum = {
Invoice: 'Invoice',
CreditNote: 'CreditNote'
};

@@ -17,10 +17,5 @@ "use strict";

exports.ItemQuantityUnitOfMeasureEnum = void 0;
/**
* @export
* @enum {string}
*/
var ItemQuantityUnitOfMeasureEnum;
(function (ItemQuantityUnitOfMeasureEnum) {
ItemQuantityUnitOfMeasureEnum["Cases"] = "Cases";
ItemQuantityUnitOfMeasureEnum["Eaches"] = "Eaches";
})(ItemQuantityUnitOfMeasureEnum = exports.ItemQuantityUnitOfMeasureEnum || (exports.ItemQuantityUnitOfMeasureEnum = {}));
exports.ItemQuantityUnitOfMeasureEnum = {
Cases: 'Cases',
Eaches: 'Eaches'
};

@@ -17,14 +17,9 @@ "use strict";

exports.PaymentTermsTypeEnum = void 0;
/**
* @export
* @enum {string}
*/
var PaymentTermsTypeEnum;
(function (PaymentTermsTypeEnum) {
PaymentTermsTypeEnum["Basic"] = "Basic";
PaymentTermsTypeEnum["EndOfMonth"] = "EndOfMonth";
PaymentTermsTypeEnum["FixedDate"] = "FixedDate";
PaymentTermsTypeEnum["Proximo"] = "Proximo";
PaymentTermsTypeEnum["PaymentDueUponReceiptOfInvoice"] = "PaymentDueUponReceiptOfInvoice";
PaymentTermsTypeEnum["LetterofCredit"] = "LetterofCredit";
})(PaymentTermsTypeEnum = exports.PaymentTermsTypeEnum || (exports.PaymentTermsTypeEnum = {}));
exports.PaymentTermsTypeEnum = {
Basic: 'Basic',
EndOfMonth: 'EndOfMonth',
FixedDate: 'FixedDate',
Proximo: 'Proximo',
PaymentDueUponReceiptOfInvoice: 'PaymentDueUponReceiptOfInvoice',
LetterofCredit: 'LetterofCredit'
};

@@ -17,22 +17,17 @@ "use strict";

exports.TaxDetailsTaxTypeEnum = void 0;
/**
* @export
* @enum {string}
*/
var TaxDetailsTaxTypeEnum;
(function (TaxDetailsTaxTypeEnum) {
TaxDetailsTaxTypeEnum["Cgst"] = "CGST";
TaxDetailsTaxTypeEnum["Sgst"] = "SGST";
TaxDetailsTaxTypeEnum["Cess"] = "CESS";
TaxDetailsTaxTypeEnum["Utgst"] = "UTGST";
TaxDetailsTaxTypeEnum["Igst"] = "IGST";
TaxDetailsTaxTypeEnum["MwSt"] = "MwSt.";
TaxDetailsTaxTypeEnum["Pst"] = "PST";
TaxDetailsTaxTypeEnum["Tva"] = "TVA";
TaxDetailsTaxTypeEnum["Vat"] = "VAT";
TaxDetailsTaxTypeEnum["Gst"] = "GST";
TaxDetailsTaxTypeEnum["St"] = "ST";
TaxDetailsTaxTypeEnum["Consumption"] = "Consumption";
TaxDetailsTaxTypeEnum["MutuallyDefined"] = "MutuallyDefined";
TaxDetailsTaxTypeEnum["DomesticVat"] = "DomesticVAT";
})(TaxDetailsTaxTypeEnum = exports.TaxDetailsTaxTypeEnum || (exports.TaxDetailsTaxTypeEnum = {}));
exports.TaxDetailsTaxTypeEnum = {
Cgst: 'CGST',
Sgst: 'SGST',
Cess: 'CESS',
Utgst: 'UTGST',
Igst: 'IGST',
MwSt: 'MwSt.',
Pst: 'PST',
Tva: 'TVA',
Vat: 'VAT',
Gst: 'GST',
St: 'ST',
Consumption: 'Consumption',
MutuallyDefined: 'MutuallyDefined',
DomesticVat: 'DomesticVAT'
};

@@ -17,10 +17,5 @@ "use strict";

exports.TaxRegistrationDetailsTaxRegistrationTypeEnum = void 0;
/**
* @export
* @enum {string}
*/
var TaxRegistrationDetailsTaxRegistrationTypeEnum;
(function (TaxRegistrationDetailsTaxRegistrationTypeEnum) {
TaxRegistrationDetailsTaxRegistrationTypeEnum["Vat"] = "VAT";
TaxRegistrationDetailsTaxRegistrationTypeEnum["Gst"] = "GST";
})(TaxRegistrationDetailsTaxRegistrationTypeEnum = exports.TaxRegistrationDetailsTaxRegistrationTypeEnum || (exports.TaxRegistrationDetailsTaxRegistrationTypeEnum = {}));
exports.TaxRegistrationDetailsTaxRegistrationTypeEnum = {
Vat: 'VAT',
Gst: 'GST'
};

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

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

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

@@ -14,11 +14,6 @@ /* tslint:disable */

*/
/**
* @export
* @enum {string}
*/
export var AdditionalDetailsTypeEnum;
(function (AdditionalDetailsTypeEnum) {
AdditionalDetailsTypeEnum["Sur"] = "SUR";
AdditionalDetailsTypeEnum["Ocr"] = "OCR";
AdditionalDetailsTypeEnum["CartonCount"] = "CartonCount";
})(AdditionalDetailsTypeEnum || (AdditionalDetailsTypeEnum = {}));
export const AdditionalDetailsTypeEnum = {
Sur: 'SUR',
Ocr: 'OCR',
CartonCount: 'CartonCount'
};

@@ -14,14 +14,9 @@ /* tslint:disable */

*/
/**
* @export
* @enum {string}
*/
export var AllowanceDetailsTypeEnum;
(function (AllowanceDetailsTypeEnum) {
AllowanceDetailsTypeEnum["Discount"] = "Discount";
AllowanceDetailsTypeEnum["DiscountIncentive"] = "DiscountIncentive";
AllowanceDetailsTypeEnum["Defective"] = "Defective";
AllowanceDetailsTypeEnum["Promotional"] = "Promotional";
AllowanceDetailsTypeEnum["UnsaleableMerchandise"] = "UnsaleableMerchandise";
AllowanceDetailsTypeEnum["Special"] = "Special";
})(AllowanceDetailsTypeEnum || (AllowanceDetailsTypeEnum = {}));
export const AllowanceDetailsTypeEnum = {
Discount: 'Discount',
DiscountIncentive: 'DiscountIncentive',
Defective: 'Defective',
Promotional: 'Promotional',
UnsaleableMerchandise: 'UnsaleableMerchandise',
Special: 'Special'
};

@@ -14,19 +14,14 @@ /* tslint:disable */

*/
/**
* @export
* @enum {string}
*/
export var ChargeDetailsTypeEnum;
(function (ChargeDetailsTypeEnum) {
ChargeDetailsTypeEnum["Freight"] = "Freight";
ChargeDetailsTypeEnum["Packing"] = "Packing";
ChargeDetailsTypeEnum["Duty"] = "Duty";
ChargeDetailsTypeEnum["Service"] = "Service";
ChargeDetailsTypeEnum["SmallOrder"] = "SmallOrder";
ChargeDetailsTypeEnum["InsurancePlacementCost"] = "InsurancePlacementCost";
ChargeDetailsTypeEnum["InsuranceFee"] = "InsuranceFee";
ChargeDetailsTypeEnum["SpecialHandlingService"] = "SpecialHandlingService";
ChargeDetailsTypeEnum["CollectionAndRecyclingService"] = "CollectionAndRecyclingService";
ChargeDetailsTypeEnum["EnvironmentalProtectionService"] = "EnvironmentalProtectionService";
ChargeDetailsTypeEnum["TaxCollectedAtSource"] = "TaxCollectedAtSource";
})(ChargeDetailsTypeEnum || (ChargeDetailsTypeEnum = {}));
export const ChargeDetailsTypeEnum = {
Freight: 'Freight',
Packing: 'Packing',
Duty: 'Duty',
Service: 'Service',
SmallOrder: 'SmallOrder',
InsurancePlacementCost: 'InsurancePlacementCost',
InsuranceFee: 'InsuranceFee',
SpecialHandlingService: 'SpecialHandlingService',
CollectionAndRecyclingService: 'CollectionAndRecyclingService',
EnvironmentalProtectionService: 'EnvironmentalProtectionService',
TaxCollectedAtSource: 'TaxCollectedAtSource'
};

@@ -14,10 +14,5 @@ /* tslint:disable */

*/
/**
* @export
* @enum {string}
*/
export var InvoiceInvoiceTypeEnum;
(function (InvoiceInvoiceTypeEnum) {
InvoiceInvoiceTypeEnum["Invoice"] = "Invoice";
InvoiceInvoiceTypeEnum["CreditNote"] = "CreditNote";
})(InvoiceInvoiceTypeEnum || (InvoiceInvoiceTypeEnum = {}));
export const InvoiceInvoiceTypeEnum = {
Invoice: 'Invoice',
CreditNote: 'CreditNote'
};

@@ -14,10 +14,5 @@ /* tslint:disable */

*/
/**
* @export
* @enum {string}
*/
export var ItemQuantityUnitOfMeasureEnum;
(function (ItemQuantityUnitOfMeasureEnum) {
ItemQuantityUnitOfMeasureEnum["Cases"] = "Cases";
ItemQuantityUnitOfMeasureEnum["Eaches"] = "Eaches";
})(ItemQuantityUnitOfMeasureEnum || (ItemQuantityUnitOfMeasureEnum = {}));
export const ItemQuantityUnitOfMeasureEnum = {
Cases: 'Cases',
Eaches: 'Eaches'
};

@@ -14,14 +14,9 @@ /* tslint:disable */

*/
/**
* @export
* @enum {string}
*/
export var PaymentTermsTypeEnum;
(function (PaymentTermsTypeEnum) {
PaymentTermsTypeEnum["Basic"] = "Basic";
PaymentTermsTypeEnum["EndOfMonth"] = "EndOfMonth";
PaymentTermsTypeEnum["FixedDate"] = "FixedDate";
PaymentTermsTypeEnum["Proximo"] = "Proximo";
PaymentTermsTypeEnum["PaymentDueUponReceiptOfInvoice"] = "PaymentDueUponReceiptOfInvoice";
PaymentTermsTypeEnum["LetterofCredit"] = "LetterofCredit";
})(PaymentTermsTypeEnum || (PaymentTermsTypeEnum = {}));
export const PaymentTermsTypeEnum = {
Basic: 'Basic',
EndOfMonth: 'EndOfMonth',
FixedDate: 'FixedDate',
Proximo: 'Proximo',
PaymentDueUponReceiptOfInvoice: 'PaymentDueUponReceiptOfInvoice',
LetterofCredit: 'LetterofCredit'
};

@@ -14,22 +14,17 @@ /* tslint:disable */

*/
/**
* @export
* @enum {string}
*/
export var TaxDetailsTaxTypeEnum;
(function (TaxDetailsTaxTypeEnum) {
TaxDetailsTaxTypeEnum["Cgst"] = "CGST";
TaxDetailsTaxTypeEnum["Sgst"] = "SGST";
TaxDetailsTaxTypeEnum["Cess"] = "CESS";
TaxDetailsTaxTypeEnum["Utgst"] = "UTGST";
TaxDetailsTaxTypeEnum["Igst"] = "IGST";
TaxDetailsTaxTypeEnum["MwSt"] = "MwSt.";
TaxDetailsTaxTypeEnum["Pst"] = "PST";
TaxDetailsTaxTypeEnum["Tva"] = "TVA";
TaxDetailsTaxTypeEnum["Vat"] = "VAT";
TaxDetailsTaxTypeEnum["Gst"] = "GST";
TaxDetailsTaxTypeEnum["St"] = "ST";
TaxDetailsTaxTypeEnum["Consumption"] = "Consumption";
TaxDetailsTaxTypeEnum["MutuallyDefined"] = "MutuallyDefined";
TaxDetailsTaxTypeEnum["DomesticVat"] = "DomesticVAT";
})(TaxDetailsTaxTypeEnum || (TaxDetailsTaxTypeEnum = {}));
export const TaxDetailsTaxTypeEnum = {
Cgst: 'CGST',
Sgst: 'SGST',
Cess: 'CESS',
Utgst: 'UTGST',
Igst: 'IGST',
MwSt: 'MwSt.',
Pst: 'PST',
Tva: 'TVA',
Vat: 'VAT',
Gst: 'GST',
St: 'ST',
Consumption: 'Consumption',
MutuallyDefined: 'MutuallyDefined',
DomesticVat: 'DomesticVAT'
};

@@ -14,10 +14,5 @@ /* tslint:disable */

*/
/**
* @export
* @enum {string}
*/
export var TaxRegistrationDetailsTaxRegistrationTypeEnum;
(function (TaxRegistrationDetailsTaxRegistrationTypeEnum) {
TaxRegistrationDetailsTaxRegistrationTypeEnum["Vat"] = "VAT";
TaxRegistrationDetailsTaxRegistrationTypeEnum["Gst"] = "GST";
})(TaxRegistrationDetailsTaxRegistrationTypeEnum || (TaxRegistrationDetailsTaxRegistrationTypeEnum = {}));
export const TaxRegistrationDetailsTaxRegistrationTypeEnum = {
Vat: 'VAT',
Gst: 'GST'
};

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

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

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

*/
submitInvoices: (body: SubmitInvoicesRequest, options?: any) => Promise<RequestArgs>;
submitInvoices: (body: SubmitInvoicesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};

@@ -43,3 +43,3 @@ /**

*/
submitInvoices(body: SubmitInvoicesRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SubmitInvoicesResponse>>;
submitInvoices(body: SubmitInvoicesRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SubmitInvoicesResponse>>;
};

@@ -86,3 +86,3 @@ /**

*/
submitInvoices(requestParameters: VendorPaymentsApiSubmitInvoicesRequest, options?: any): Promise<import("axios").AxiosResponse<SubmitInvoicesResponse, any>>;
submitInvoices(requestParameters: VendorPaymentsApiSubmitInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitInvoicesResponse, 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>;

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

*/
type: AdditionalDetailsTypeEnum;
'type': AdditionalDetailsTypeEnum;
/**

@@ -30,3 +30,3 @@ * The detail of the additional information provided by the selling party.

*/
detail: string;
'detail': string;
/**

@@ -37,12 +37,9 @@ * The language code of the additional information detail.

*/
languageCode?: string;
'languageCode'?: string;
}
/**
* @export
* @enum {string}
*/
export declare enum AdditionalDetailsTypeEnum {
Sur = "SUR",
Ocr = "OCR",
CartonCount = "CartonCount"
}
export declare const AdditionalDetailsTypeEnum: {
readonly Sur: "SUR";
readonly Ocr: "OCR";
readonly CartonCount: "CartonCount";
};
export declare type AdditionalDetailsTypeEnum = typeof AdditionalDetailsTypeEnum[keyof typeof AdditionalDetailsTypeEnum];

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

*/
name: string;
'name': string;
/**

@@ -30,3 +30,3 @@ * First line of street address.

*/
addressLine1: string;
'addressLine1': string;
/**

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

*/
addressLine2?: string;
'addressLine2'?: string;
/**

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

*/
addressLine3?: string;
'addressLine3'?: string;
/**

@@ -51,3 +51,3 @@ * The city where the person, business or institution is located.

*/
city?: string;
'city'?: string;
/**

@@ -58,3 +58,3 @@ * The county where person, business or institution is located.

*/
county?: string;
'county'?: string;
/**

@@ -65,3 +65,3 @@ * The district where person, business or institution is located.

*/
district?: string;
'district'?: string;
/**

@@ -72,3 +72,3 @@ * The state or region where person, business or institution is located.

*/
stateOrRegion?: string;
'stateOrRegion'?: string;
/**

@@ -79,3 +79,3 @@ * The postal or zip code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.

*/
postalOrZipCode?: string;
'postalOrZipCode'?: string;
/**

@@ -86,3 +86,3 @@ * The two digit country code. In ISO 3166-1 alpha-2 format.

*/
countryCode: string;
'countryCode': string;
/**

@@ -93,3 +93,3 @@ * The phone number of the person, business or institution located at that address.

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

@@ -25,3 +25,3 @@ /**

*/
type: AllowanceDetailsTypeEnum;
'type': AllowanceDetailsTypeEnum;
/**

@@ -32,3 +32,3 @@ * Description of the allowance.

*/
description?: string;
'description'?: string;
/**

@@ -39,3 +39,3 @@ *

*/
allowanceAmount: Money;
'allowanceAmount': Money;
/**

@@ -46,15 +46,12 @@ * Tax amount details applied on this allowance.

*/
taxDetails?: Array<TaxDetails>;
'taxDetails'?: Array<TaxDetails>;
}
/**
* @export
* @enum {string}
*/
export declare enum AllowanceDetailsTypeEnum {
Discount = "Discount",
DiscountIncentive = "DiscountIncentive",
Defective = "Defective",
Promotional = "Promotional",
UnsaleableMerchandise = "UnsaleableMerchandise",
Special = "Special"
}
export declare const AllowanceDetailsTypeEnum: {
readonly Discount: "Discount";
readonly DiscountIncentive: "DiscountIncentive";
readonly Defective: "Defective";
readonly Promotional: "Promotional";
readonly UnsaleableMerchandise: "UnsaleableMerchandise";
readonly Special: "Special";
};
export declare type AllowanceDetailsTypeEnum = typeof AllowanceDetailsTypeEnum[keyof typeof AllowanceDetailsTypeEnum];

@@ -25,3 +25,3 @@ /**

*/
type: ChargeDetailsTypeEnum;
'type': ChargeDetailsTypeEnum;
/**

@@ -32,3 +32,3 @@ * Description of the charge.

*/
description?: string;
'description'?: string;
/**

@@ -39,3 +39,3 @@ *

*/
chargeAmount: Money;
'chargeAmount': Money;
/**

@@ -46,20 +46,17 @@ * Tax amount details applied on this charge.

*/
taxDetails?: Array<TaxDetails>;
'taxDetails'?: Array<TaxDetails>;
}
/**
* @export
* @enum {string}
*/
export declare enum ChargeDetailsTypeEnum {
Freight = "Freight",
Packing = "Packing",
Duty = "Duty",
Service = "Service",
SmallOrder = "SmallOrder",
InsurancePlacementCost = "InsurancePlacementCost",
InsuranceFee = "InsuranceFee",
SpecialHandlingService = "SpecialHandlingService",
CollectionAndRecyclingService = "CollectionAndRecyclingService",
EnvironmentalProtectionService = "EnvironmentalProtectionService",
TaxCollectedAtSource = "TaxCollectedAtSource"
}
export declare const ChargeDetailsTypeEnum: {
readonly Freight: "Freight";
readonly Packing: "Packing";
readonly Duty: "Duty";
readonly Service: "Service";
readonly SmallOrder: "SmallOrder";
readonly InsurancePlacementCost: "InsurancePlacementCost";
readonly InsuranceFee: "InsuranceFee";
readonly SpecialHandlingService: "SpecialHandlingService";
readonly CollectionAndRecyclingService: "CollectionAndRecyclingService";
readonly EnvironmentalProtectionService: "EnvironmentalProtectionService";
readonly TaxCollectedAtSource: "TaxCollectedAtSource";
};
export declare type ChargeDetailsTypeEnum = typeof ChargeDetailsTypeEnum[keyof typeof ChargeDetailsTypeEnum];

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

*/
referenceInvoiceNumber?: string;
'referenceInvoiceNumber'?: string;
/**

@@ -30,3 +30,3 @@ * Debit Note Number as generated by Amazon. Recommended for Returns and COOP Credit Notes.

*/
debitNoteNumber?: string;
'debitNoteNumber'?: string;
/**

@@ -37,3 +37,3 @@ * Identifies the Returns Notice Number. Mandatory for all Returns Credit Notes.

*/
returnsReferenceNumber?: string;
'returnsReferenceNumber'?: string;
/**

@@ -44,3 +44,3 @@ * Defines a date and time according to ISO8601.

*/
goodsReturnDate?: string;
'goodsReturnDate'?: string;
/**

@@ -51,3 +51,3 @@ * Identifies the Returned Merchandise Authorization ID, if generated.

*/
rmaId?: string;
'rmaId'?: string;
/**

@@ -58,3 +58,3 @@ * Identifies the COOP reference used for COOP agreement. Failure to provide the COOP reference number or the Debit Note number may lead to a rejection of the Credit Note.

*/
coopReferenceNumber?: string;
'coopReferenceNumber'?: string;
/**

@@ -65,3 +65,3 @@ * Identifies the consignor reference number (VRET number), if generated by Amazon.

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

@@ -29,3 +29,3 @@ /**

*/
itemSequenceNumber: number;
'itemSequenceNumber': number;
/**

@@ -36,3 +36,3 @@ * Amazon Standard Identification Number (ASIN) of an item.

*/
amazonProductIdentifier?: string;
'amazonProductIdentifier'?: string;
/**

@@ -43,3 +43,3 @@ * The vendor selected product identifier of the item. Should be the same as was provided in the purchase order.

*/
vendorProductIdentifier?: string;
'vendorProductIdentifier'?: string;
/**

@@ -50,3 +50,3 @@ *

*/
invoicedQuantity: ItemQuantity;
'invoicedQuantity': ItemQuantity;
/**

@@ -57,3 +57,3 @@ *

*/
netCost: Money;
'netCost': Money;
/**

@@ -64,3 +64,3 @@ * The Amazon purchase order number for this invoiced line item. Formatting Notes: 8-character alpha-numeric code. This value is mandatory only when invoiceType is Invoice, and is not required when invoiceType is CreditNote.

*/
purchaseOrderNumber?: string;
'purchaseOrderNumber'?: string;
/**

@@ -71,3 +71,3 @@ * HSN Tax code. The HSN number cannot contain alphabets.

*/
hsnCode?: string;
'hsnCode'?: string;
/**

@@ -78,3 +78,3 @@ *

*/
creditNoteDetails?: CreditNoteDetails;
'creditNoteDetails'?: CreditNoteDetails;
/**

@@ -85,3 +85,3 @@ * Individual tax details per line item.

*/
taxDetails?: Array<TaxDetails>;
'taxDetails'?: Array<TaxDetails>;
/**

@@ -92,3 +92,3 @@ * Individual charge details per line item.

*/
chargeDetails?: Array<ChargeDetails>;
'chargeDetails'?: Array<ChargeDetails>;
/**

@@ -99,3 +99,3 @@ * Individual allowance details per line item.

*/
allowanceDetails?: Array<AllowanceDetails>;
'allowanceDetails'?: Array<AllowanceDetails>;
}

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

*/
invoiceType: InvoiceInvoiceTypeEnum;
'invoiceType': InvoiceInvoiceTypeEnum;
/**

@@ -38,3 +38,3 @@ * Unique number relating to the charges defined in this document. This will be invoice number if the document type is Invoice or CreditNote number if the document type is Credit Note. Failure to provide this reference will result in a rejection.

*/
id: string;
'id': string;
/**

@@ -45,3 +45,3 @@ * An additional unique reference number used for regulatory or other purposes.

*/
referenceNumber?: string;
'referenceNumber'?: string;
/**

@@ -52,3 +52,3 @@ * Defines a date and time according to ISO8601.

*/
date: string;
'date': string;
/**

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

*/
remitToParty: PartyIdentification;
'remitToParty': PartyIdentification;
/**

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

*/
shipToParty?: PartyIdentification;
'shipToParty'?: PartyIdentification;
/**

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

*/
shipFromParty?: PartyIdentification;
'shipFromParty'?: PartyIdentification;
/**

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

*/
billToParty?: PartyIdentification;
'billToParty'?: PartyIdentification;
/**

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

*/
paymentTerms?: PaymentTerms;
'paymentTerms'?: PaymentTerms;
/**

@@ -94,3 +94,3 @@ *

*/
invoiceTotal: Money;
'invoiceTotal': Money;
/**

@@ -101,3 +101,3 @@ * Total tax amount details for all line items.

*/
taxDetails?: Array<TaxDetails>;
'taxDetails'?: Array<TaxDetails>;
/**

@@ -108,3 +108,3 @@ * Additional details provided by the selling party, for tax related or other purposes.

*/
additionalDetails?: Array<AdditionalDetails>;
'additionalDetails'?: Array<AdditionalDetails>;
/**

@@ -115,3 +115,3 @@ * Total charge amount details for all line items.

*/
chargeDetails?: Array<ChargeDetails>;
'chargeDetails'?: Array<ChargeDetails>;
/**

@@ -122,3 +122,3 @@ * Total allowance amount details for all line items.

*/
allowanceDetails?: Array<AllowanceDetails>;
'allowanceDetails'?: Array<AllowanceDetails>;
/**

@@ -129,11 +129,8 @@ * The list of invoice items.

*/
items?: Array<InvoiceItem>;
'items'?: Array<InvoiceItem>;
}
/**
* @export
* @enum {string}
*/
export declare enum InvoiceInvoiceTypeEnum {
Invoice = "Invoice",
CreditNote = "CreditNote"
}
export declare const InvoiceInvoiceTypeEnum: {
readonly Invoice: "Invoice";
readonly CreditNote: "CreditNote";
};
export declare type InvoiceInvoiceTypeEnum = typeof InvoiceInvoiceTypeEnum[keyof typeof InvoiceInvoiceTypeEnum];

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

*/
amount: number;
'amount': number;
/**

@@ -30,3 +30,3 @@ * Unit of measure for the quantity.

*/
unitOfMeasure: ItemQuantityUnitOfMeasureEnum;
'unitOfMeasure': ItemQuantityUnitOfMeasureEnum;
/**

@@ -37,11 +37,8 @@ * The case size, if the unit of measure value is Cases.

*/
unitSize?: number;
'unitSize'?: number;
}
/**
* @export
* @enum {string}
*/
export declare enum ItemQuantityUnitOfMeasureEnum {
Cases = "Cases",
Eaches = "Eaches"
}
export declare const ItemQuantityUnitOfMeasureEnum: {
readonly Cases: "Cases";
readonly Eaches: "Eaches";
};
export declare type ItemQuantityUnitOfMeasureEnum = typeof ItemQuantityUnitOfMeasureEnum[keyof typeof ItemQuantityUnitOfMeasureEnum];

@@ -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 @@ * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. <br>**Pattern** : `^-?(0|([1-9]\\d*))(\\.\\d+)?([eE][+-]?\\d+)?$`.

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

@@ -25,3 +25,3 @@ /**

*/
partyId: string;
'partyId': string;
/**

@@ -32,3 +32,3 @@ *

*/
address?: Address;
'address'?: Address;
/**

@@ -39,3 +39,3 @@ * Tax registration details of the party.

*/
taxRegistrationDetails?: Array<TaxRegistrationDetails>;
'taxRegistrationDetails'?: Array<TaxRegistrationDetails>;
}

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

*/
type?: PaymentTermsTypeEnum;
'type'?: PaymentTermsTypeEnum;
/**

@@ -30,3 +30,3 @@ * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. <br>**Pattern** : `^-?(0|([1-9]\\d*))(\\.\\d+)?([eE][+-]?\\d+)?$`.

*/
discountPercent?: string;
'discountPercent'?: string;
/**

@@ -37,3 +37,3 @@ * The number of calendar days from the Base date (Invoice date) until the discount is no longer valid.

*/
discountDueDays?: number;
'discountDueDays'?: number;
/**

@@ -44,15 +44,12 @@ * The number of calendar days from the base date (invoice date) until the total amount on the invoice is due.

*/
netDueDays?: number;
'netDueDays'?: number;
}
/**
* @export
* @enum {string}
*/
export declare enum PaymentTermsTypeEnum {
Basic = "Basic",
EndOfMonth = "EndOfMonth",
FixedDate = "FixedDate",
Proximo = "Proximo",
PaymentDueUponReceiptOfInvoice = "PaymentDueUponReceiptOfInvoice",
LetterofCredit = "LetterofCredit"
}
export declare const PaymentTermsTypeEnum: {
readonly Basic: "Basic";
readonly EndOfMonth: "EndOfMonth";
readonly FixedDate: "FixedDate";
readonly Proximo: "Proximo";
readonly PaymentDueUponReceiptOfInvoice: "PaymentDueUponReceiptOfInvoice";
readonly LetterofCredit: "LetterofCredit";
};
export declare type PaymentTermsTypeEnum = typeof PaymentTermsTypeEnum[keyof typeof PaymentTermsTypeEnum];

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

*/
invoices?: Array<Invoice>;
'invoices'?: Array<Invoice>;
}

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

*/
payload?: TransactionId;
'payload'?: TransactionId;
/**

@@ -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 @@ /**

*/
taxType: TaxDetailsTaxTypeEnum;
'taxType': TaxDetailsTaxTypeEnum;
/**

@@ -31,3 +31,3 @@ * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. <br>**Pattern** : `^-?(0|([1-9]\\d*))(\\.\\d+)?([eE][+-]?\\d+)?$`.

*/
taxRate?: string;
'taxRate'?: string;
/**

@@ -38,3 +38,3 @@ *

*/
taxAmount: Money;
'taxAmount': Money;
/**

@@ -45,23 +45,20 @@ *

*/
taxableAmount?: Money;
'taxableAmount'?: Money;
}
/**
* @export
* @enum {string}
*/
export declare enum TaxDetailsTaxTypeEnum {
Cgst = "CGST",
Sgst = "SGST",
Cess = "CESS",
Utgst = "UTGST",
Igst = "IGST",
MwSt = "MwSt.",
Pst = "PST",
Tva = "TVA",
Vat = "VAT",
Gst = "GST",
St = "ST",
Consumption = "Consumption",
MutuallyDefined = "MutuallyDefined",
DomesticVat = "DomesticVAT"
}
export declare const TaxDetailsTaxTypeEnum: {
readonly Cgst: "CGST";
readonly Sgst: "SGST";
readonly Cess: "CESS";
readonly Utgst: "UTGST";
readonly Igst: "IGST";
readonly MwSt: "MwSt.";
readonly Pst: "PST";
readonly Tva: "TVA";
readonly Vat: "VAT";
readonly Gst: "GST";
readonly St: "ST";
readonly Consumption: "Consumption";
readonly MutuallyDefined: "MutuallyDefined";
readonly DomesticVat: "DomesticVAT";
};
export declare type TaxDetailsTaxTypeEnum = typeof TaxDetailsTaxTypeEnum[keyof typeof TaxDetailsTaxTypeEnum];

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

*/
taxRegistrationType: TaxRegistrationDetailsTaxRegistrationTypeEnum;
'taxRegistrationType': TaxRegistrationDetailsTaxRegistrationTypeEnum;
/**

@@ -30,11 +30,8 @@ * The tax registration number for the entity. For example, VAT ID.

*/
taxRegistrationNumber: string;
'taxRegistrationNumber': string;
}
/**
* @export
* @enum {string}
*/
export declare enum TaxRegistrationDetailsTaxRegistrationTypeEnum {
Vat = "VAT",
Gst = "GST"
}
export declare const TaxRegistrationDetailsTaxRegistrationTypeEnum: {
readonly Vat: "VAT";
readonly Gst: "GST";
};
export declare type TaxRegistrationDetailsTaxRegistrationTypeEnum = typeof TaxRegistrationDetailsTaxRegistrationTypeEnum[keyof typeof TaxRegistrationDetailsTaxRegistrationTypeEnum];

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

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

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

"description": "The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data.",
"version": "1.8.4",
"version": "1.8.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