@sp-api-sdk/vendor-invoices-api-v1 1.8.4 → 1.8.7

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.
Files changed (39) hide show
  1. package/dist/cjs/src/api-model/api/vendor-payments-api.js +1 -1
  2. package/dist/cjs/src/api-model/models/additional-details.js +5 -10
  3. package/dist/cjs/src/api-model/models/allowance-details.js +8 -13
  4. package/dist/cjs/src/api-model/models/charge-details.js +13 -18
  5. package/dist/cjs/src/api-model/models/invoice.js +4 -9
  6. package/dist/cjs/src/api-model/models/item-quantity.js +4 -9
  7. package/dist/cjs/src/api-model/models/payment-terms.js +8 -13
  8. package/dist/cjs/src/api-model/models/tax-details.js +16 -21
  9. package/dist/cjs/src/api-model/models/tax-registration-details.js +4 -9
  10. package/dist/es/src/api-model/api/vendor-payments-api.js +1 -1
  11. package/dist/es/src/api-model/models/additional-details.js +5 -10
  12. package/dist/es/src/api-model/models/allowance-details.js +8 -13
  13. package/dist/es/src/api-model/models/charge-details.js +13 -18
  14. package/dist/es/src/api-model/models/invoice.js +4 -9
  15. package/dist/es/src/api-model/models/item-quantity.js +4 -9
  16. package/dist/es/src/api-model/models/payment-terms.js +8 -13
  17. package/dist/es/src/api-model/models/tax-details.js +16 -21
  18. package/dist/es/src/api-model/models/tax-registration-details.js +4 -9
  19. package/dist/types/src/api-model/api/vendor-payments-api.d.ts +7 -7
  20. package/dist/types/src/api-model/base.d.ts +2 -2
  21. package/dist/types/src/api-model/common.d.ts +7 -7
  22. package/dist/types/src/api-model/models/additional-details.d.ts +9 -12
  23. package/dist/types/src/api-model/models/address.d.ts +11 -11
  24. package/dist/types/src/api-model/models/allowance-details.d.ts +13 -16
  25. package/dist/types/src/api-model/models/charge-details.d.ts +18 -21
  26. package/dist/types/src/api-model/models/credit-note-details.d.ts +7 -7
  27. package/dist/types/src/api-model/models/invoice-item.d.ts +11 -11
  28. package/dist/types/src/api-model/models/invoice.d.ts +20 -23
  29. package/dist/types/src/api-model/models/item-quantity.d.ts +8 -11
  30. package/dist/types/src/api-model/models/model-error.d.ts +3 -3
  31. package/dist/types/src/api-model/models/money.d.ts +2 -2
  32. package/dist/types/src/api-model/models/party-identification.d.ts +3 -3
  33. package/dist/types/src/api-model/models/payment-terms.d.ts +13 -16
  34. package/dist/types/src/api-model/models/submit-invoices-request.d.ts +1 -1
  35. package/dist/types/src/api-model/models/submit-invoices-response.d.ts +2 -2
  36. package/dist/types/src/api-model/models/tax-details.d.ts +21 -24
  37. package/dist/types/src/api-model/models/tax-registration-details.d.ts +7 -10
  38. package/dist/types/src/api-model/models/transaction-id.d.ts +1 -1
  39. package/package.json +4 -4
@@ -47,7 +47,7 @@ const VendorPaymentsApiAxiosParamCreator = function (configuration) {
47
47
  const localVarHeaderParameter = {};
48
48
  const localVarQueryParameter = {};
49
49
  localVarHeaderParameter['Content-Type'] = 'application/json';
50
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
50
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
51
51
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
52
52
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
53
53
  localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
@@ -14,13 +14,8 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AdditionalDetailsTypeEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var AdditionalDetailsTypeEnum;
22
- (function (AdditionalDetailsTypeEnum) {
23
- AdditionalDetailsTypeEnum["Sur"] = "SUR";
24
- AdditionalDetailsTypeEnum["Ocr"] = "OCR";
25
- AdditionalDetailsTypeEnum["CartonCount"] = "CartonCount";
26
- })(AdditionalDetailsTypeEnum = exports.AdditionalDetailsTypeEnum || (exports.AdditionalDetailsTypeEnum = {}));
17
+ exports.AdditionalDetailsTypeEnum = {
18
+ Sur: 'SUR',
19
+ Ocr: 'OCR',
20
+ CartonCount: 'CartonCount'
21
+ };
@@ -14,16 +14,11 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AllowanceDetailsTypeEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var AllowanceDetailsTypeEnum;
22
- (function (AllowanceDetailsTypeEnum) {
23
- AllowanceDetailsTypeEnum["Discount"] = "Discount";
24
- AllowanceDetailsTypeEnum["DiscountIncentive"] = "DiscountIncentive";
25
- AllowanceDetailsTypeEnum["Defective"] = "Defective";
26
- AllowanceDetailsTypeEnum["Promotional"] = "Promotional";
27
- AllowanceDetailsTypeEnum["UnsaleableMerchandise"] = "UnsaleableMerchandise";
28
- AllowanceDetailsTypeEnum["Special"] = "Special";
29
- })(AllowanceDetailsTypeEnum = exports.AllowanceDetailsTypeEnum || (exports.AllowanceDetailsTypeEnum = {}));
17
+ exports.AllowanceDetailsTypeEnum = {
18
+ Discount: 'Discount',
19
+ DiscountIncentive: 'DiscountIncentive',
20
+ Defective: 'Defective',
21
+ Promotional: 'Promotional',
22
+ UnsaleableMerchandise: 'UnsaleableMerchandise',
23
+ Special: 'Special'
24
+ };
@@ -14,21 +14,16 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ChargeDetailsTypeEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var ChargeDetailsTypeEnum;
22
- (function (ChargeDetailsTypeEnum) {
23
- ChargeDetailsTypeEnum["Freight"] = "Freight";
24
- ChargeDetailsTypeEnum["Packing"] = "Packing";
25
- ChargeDetailsTypeEnum["Duty"] = "Duty";
26
- ChargeDetailsTypeEnum["Service"] = "Service";
27
- ChargeDetailsTypeEnum["SmallOrder"] = "SmallOrder";
28
- ChargeDetailsTypeEnum["InsurancePlacementCost"] = "InsurancePlacementCost";
29
- ChargeDetailsTypeEnum["InsuranceFee"] = "InsuranceFee";
30
- ChargeDetailsTypeEnum["SpecialHandlingService"] = "SpecialHandlingService";
31
- ChargeDetailsTypeEnum["CollectionAndRecyclingService"] = "CollectionAndRecyclingService";
32
- ChargeDetailsTypeEnum["EnvironmentalProtectionService"] = "EnvironmentalProtectionService";
33
- ChargeDetailsTypeEnum["TaxCollectedAtSource"] = "TaxCollectedAtSource";
34
- })(ChargeDetailsTypeEnum = exports.ChargeDetailsTypeEnum || (exports.ChargeDetailsTypeEnum = {}));
17
+ exports.ChargeDetailsTypeEnum = {
18
+ Freight: 'Freight',
19
+ Packing: 'Packing',
20
+ Duty: 'Duty',
21
+ Service: 'Service',
22
+ SmallOrder: 'SmallOrder',
23
+ InsurancePlacementCost: 'InsurancePlacementCost',
24
+ InsuranceFee: 'InsuranceFee',
25
+ SpecialHandlingService: 'SpecialHandlingService',
26
+ CollectionAndRecyclingService: 'CollectionAndRecyclingService',
27
+ EnvironmentalProtectionService: 'EnvironmentalProtectionService',
28
+ TaxCollectedAtSource: 'TaxCollectedAtSource'
29
+ };
@@ -14,12 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.InvoiceInvoiceTypeEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var InvoiceInvoiceTypeEnum;
22
- (function (InvoiceInvoiceTypeEnum) {
23
- InvoiceInvoiceTypeEnum["Invoice"] = "Invoice";
24
- InvoiceInvoiceTypeEnum["CreditNote"] = "CreditNote";
25
- })(InvoiceInvoiceTypeEnum = exports.InvoiceInvoiceTypeEnum || (exports.InvoiceInvoiceTypeEnum = {}));
17
+ exports.InvoiceInvoiceTypeEnum = {
18
+ Invoice: 'Invoice',
19
+ CreditNote: 'CreditNote'
20
+ };
@@ -14,12 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ItemQuantityUnitOfMeasureEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var ItemQuantityUnitOfMeasureEnum;
22
- (function (ItemQuantityUnitOfMeasureEnum) {
23
- ItemQuantityUnitOfMeasureEnum["Cases"] = "Cases";
24
- ItemQuantityUnitOfMeasureEnum["Eaches"] = "Eaches";
25
- })(ItemQuantityUnitOfMeasureEnum = exports.ItemQuantityUnitOfMeasureEnum || (exports.ItemQuantityUnitOfMeasureEnum = {}));
17
+ exports.ItemQuantityUnitOfMeasureEnum = {
18
+ Cases: 'Cases',
19
+ Eaches: 'Eaches'
20
+ };
@@ -14,16 +14,11 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.PaymentTermsTypeEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var PaymentTermsTypeEnum;
22
- (function (PaymentTermsTypeEnum) {
23
- PaymentTermsTypeEnum["Basic"] = "Basic";
24
- PaymentTermsTypeEnum["EndOfMonth"] = "EndOfMonth";
25
- PaymentTermsTypeEnum["FixedDate"] = "FixedDate";
26
- PaymentTermsTypeEnum["Proximo"] = "Proximo";
27
- PaymentTermsTypeEnum["PaymentDueUponReceiptOfInvoice"] = "PaymentDueUponReceiptOfInvoice";
28
- PaymentTermsTypeEnum["LetterofCredit"] = "LetterofCredit";
29
- })(PaymentTermsTypeEnum = exports.PaymentTermsTypeEnum || (exports.PaymentTermsTypeEnum = {}));
17
+ exports.PaymentTermsTypeEnum = {
18
+ Basic: 'Basic',
19
+ EndOfMonth: 'EndOfMonth',
20
+ FixedDate: 'FixedDate',
21
+ Proximo: 'Proximo',
22
+ PaymentDueUponReceiptOfInvoice: 'PaymentDueUponReceiptOfInvoice',
23
+ LetterofCredit: 'LetterofCredit'
24
+ };
@@ -14,24 +14,19 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.TaxDetailsTaxTypeEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var TaxDetailsTaxTypeEnum;
22
- (function (TaxDetailsTaxTypeEnum) {
23
- TaxDetailsTaxTypeEnum["Cgst"] = "CGST";
24
- TaxDetailsTaxTypeEnum["Sgst"] = "SGST";
25
- TaxDetailsTaxTypeEnum["Cess"] = "CESS";
26
- TaxDetailsTaxTypeEnum["Utgst"] = "UTGST";
27
- TaxDetailsTaxTypeEnum["Igst"] = "IGST";
28
- TaxDetailsTaxTypeEnum["MwSt"] = "MwSt.";
29
- TaxDetailsTaxTypeEnum["Pst"] = "PST";
30
- TaxDetailsTaxTypeEnum["Tva"] = "TVA";
31
- TaxDetailsTaxTypeEnum["Vat"] = "VAT";
32
- TaxDetailsTaxTypeEnum["Gst"] = "GST";
33
- TaxDetailsTaxTypeEnum["St"] = "ST";
34
- TaxDetailsTaxTypeEnum["Consumption"] = "Consumption";
35
- TaxDetailsTaxTypeEnum["MutuallyDefined"] = "MutuallyDefined";
36
- TaxDetailsTaxTypeEnum["DomesticVat"] = "DomesticVAT";
37
- })(TaxDetailsTaxTypeEnum = exports.TaxDetailsTaxTypeEnum || (exports.TaxDetailsTaxTypeEnum = {}));
17
+ exports.TaxDetailsTaxTypeEnum = {
18
+ Cgst: 'CGST',
19
+ Sgst: 'SGST',
20
+ Cess: 'CESS',
21
+ Utgst: 'UTGST',
22
+ Igst: 'IGST',
23
+ MwSt: 'MwSt.',
24
+ Pst: 'PST',
25
+ Tva: 'TVA',
26
+ Vat: 'VAT',
27
+ Gst: 'GST',
28
+ St: 'ST',
29
+ Consumption: 'Consumption',
30
+ MutuallyDefined: 'MutuallyDefined',
31
+ DomesticVat: 'DomesticVAT'
32
+ };
@@ -14,12 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.TaxRegistrationDetailsTaxRegistrationTypeEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var TaxRegistrationDetailsTaxRegistrationTypeEnum;
22
- (function (TaxRegistrationDetailsTaxRegistrationTypeEnum) {
23
- TaxRegistrationDetailsTaxRegistrationTypeEnum["Vat"] = "VAT";
24
- TaxRegistrationDetailsTaxRegistrationTypeEnum["Gst"] = "GST";
25
- })(TaxRegistrationDetailsTaxRegistrationTypeEnum = exports.TaxRegistrationDetailsTaxRegistrationTypeEnum || (exports.TaxRegistrationDetailsTaxRegistrationTypeEnum = {}));
17
+ exports.TaxRegistrationDetailsTaxRegistrationTypeEnum = {
18
+ Vat: 'VAT',
19
+ Gst: 'GST'
20
+ };
@@ -43,7 +43,7 @@ export const VendorPaymentsApiAxiosParamCreator = function (configuration) {
43
43
  const localVarHeaderParameter = {};
44
44
  const localVarQueryParameter = {};
45
45
  localVarHeaderParameter['Content-Type'] = 'application/json';
46
- setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
46
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
47
47
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48
48
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
49
49
  localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
@@ -11,13 +11,8 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- * @enum {string}
17
- */
18
- export var AdditionalDetailsTypeEnum;
19
- (function (AdditionalDetailsTypeEnum) {
20
- AdditionalDetailsTypeEnum["Sur"] = "SUR";
21
- AdditionalDetailsTypeEnum["Ocr"] = "OCR";
22
- AdditionalDetailsTypeEnum["CartonCount"] = "CartonCount";
23
- })(AdditionalDetailsTypeEnum || (AdditionalDetailsTypeEnum = {}));
14
+ export const AdditionalDetailsTypeEnum = {
15
+ Sur: 'SUR',
16
+ Ocr: 'OCR',
17
+ CartonCount: 'CartonCount'
18
+ };
@@ -11,16 +11,11 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- * @enum {string}
17
- */
18
- export var AllowanceDetailsTypeEnum;
19
- (function (AllowanceDetailsTypeEnum) {
20
- AllowanceDetailsTypeEnum["Discount"] = "Discount";
21
- AllowanceDetailsTypeEnum["DiscountIncentive"] = "DiscountIncentive";
22
- AllowanceDetailsTypeEnum["Defective"] = "Defective";
23
- AllowanceDetailsTypeEnum["Promotional"] = "Promotional";
24
- AllowanceDetailsTypeEnum["UnsaleableMerchandise"] = "UnsaleableMerchandise";
25
- AllowanceDetailsTypeEnum["Special"] = "Special";
26
- })(AllowanceDetailsTypeEnum || (AllowanceDetailsTypeEnum = {}));
14
+ export const AllowanceDetailsTypeEnum = {
15
+ Discount: 'Discount',
16
+ DiscountIncentive: 'DiscountIncentive',
17
+ Defective: 'Defective',
18
+ Promotional: 'Promotional',
19
+ UnsaleableMerchandise: 'UnsaleableMerchandise',
20
+ Special: 'Special'
21
+ };
@@ -11,21 +11,16 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- * @enum {string}
17
- */
18
- export var ChargeDetailsTypeEnum;
19
- (function (ChargeDetailsTypeEnum) {
20
- ChargeDetailsTypeEnum["Freight"] = "Freight";
21
- ChargeDetailsTypeEnum["Packing"] = "Packing";
22
- ChargeDetailsTypeEnum["Duty"] = "Duty";
23
- ChargeDetailsTypeEnum["Service"] = "Service";
24
- ChargeDetailsTypeEnum["SmallOrder"] = "SmallOrder";
25
- ChargeDetailsTypeEnum["InsurancePlacementCost"] = "InsurancePlacementCost";
26
- ChargeDetailsTypeEnum["InsuranceFee"] = "InsuranceFee";
27
- ChargeDetailsTypeEnum["SpecialHandlingService"] = "SpecialHandlingService";
28
- ChargeDetailsTypeEnum["CollectionAndRecyclingService"] = "CollectionAndRecyclingService";
29
- ChargeDetailsTypeEnum["EnvironmentalProtectionService"] = "EnvironmentalProtectionService";
30
- ChargeDetailsTypeEnum["TaxCollectedAtSource"] = "TaxCollectedAtSource";
31
- })(ChargeDetailsTypeEnum || (ChargeDetailsTypeEnum = {}));
14
+ export const ChargeDetailsTypeEnum = {
15
+ Freight: 'Freight',
16
+ Packing: 'Packing',
17
+ Duty: 'Duty',
18
+ Service: 'Service',
19
+ SmallOrder: 'SmallOrder',
20
+ InsurancePlacementCost: 'InsurancePlacementCost',
21
+ InsuranceFee: 'InsuranceFee',
22
+ SpecialHandlingService: 'SpecialHandlingService',
23
+ CollectionAndRecyclingService: 'CollectionAndRecyclingService',
24
+ EnvironmentalProtectionService: 'EnvironmentalProtectionService',
25
+ TaxCollectedAtSource: 'TaxCollectedAtSource'
26
+ };
@@ -11,12 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- * @enum {string}
17
- */
18
- export var InvoiceInvoiceTypeEnum;
19
- (function (InvoiceInvoiceTypeEnum) {
20
- InvoiceInvoiceTypeEnum["Invoice"] = "Invoice";
21
- InvoiceInvoiceTypeEnum["CreditNote"] = "CreditNote";
22
- })(InvoiceInvoiceTypeEnum || (InvoiceInvoiceTypeEnum = {}));
14
+ export const InvoiceInvoiceTypeEnum = {
15
+ Invoice: 'Invoice',
16
+ CreditNote: 'CreditNote'
17
+ };
@@ -11,12 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- * @enum {string}
17
- */
18
- export var ItemQuantityUnitOfMeasureEnum;
19
- (function (ItemQuantityUnitOfMeasureEnum) {
20
- ItemQuantityUnitOfMeasureEnum["Cases"] = "Cases";
21
- ItemQuantityUnitOfMeasureEnum["Eaches"] = "Eaches";
22
- })(ItemQuantityUnitOfMeasureEnum || (ItemQuantityUnitOfMeasureEnum = {}));
14
+ export const ItemQuantityUnitOfMeasureEnum = {
15
+ Cases: 'Cases',
16
+ Eaches: 'Eaches'
17
+ };
@@ -11,16 +11,11 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- * @enum {string}
17
- */
18
- export var PaymentTermsTypeEnum;
19
- (function (PaymentTermsTypeEnum) {
20
- PaymentTermsTypeEnum["Basic"] = "Basic";
21
- PaymentTermsTypeEnum["EndOfMonth"] = "EndOfMonth";
22
- PaymentTermsTypeEnum["FixedDate"] = "FixedDate";
23
- PaymentTermsTypeEnum["Proximo"] = "Proximo";
24
- PaymentTermsTypeEnum["PaymentDueUponReceiptOfInvoice"] = "PaymentDueUponReceiptOfInvoice";
25
- PaymentTermsTypeEnum["LetterofCredit"] = "LetterofCredit";
26
- })(PaymentTermsTypeEnum || (PaymentTermsTypeEnum = {}));
14
+ export const PaymentTermsTypeEnum = {
15
+ Basic: 'Basic',
16
+ EndOfMonth: 'EndOfMonth',
17
+ FixedDate: 'FixedDate',
18
+ Proximo: 'Proximo',
19
+ PaymentDueUponReceiptOfInvoice: 'PaymentDueUponReceiptOfInvoice',
20
+ LetterofCredit: 'LetterofCredit'
21
+ };
@@ -11,24 +11,19 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- * @enum {string}
17
- */
18
- export var TaxDetailsTaxTypeEnum;
19
- (function (TaxDetailsTaxTypeEnum) {
20
- TaxDetailsTaxTypeEnum["Cgst"] = "CGST";
21
- TaxDetailsTaxTypeEnum["Sgst"] = "SGST";
22
- TaxDetailsTaxTypeEnum["Cess"] = "CESS";
23
- TaxDetailsTaxTypeEnum["Utgst"] = "UTGST";
24
- TaxDetailsTaxTypeEnum["Igst"] = "IGST";
25
- TaxDetailsTaxTypeEnum["MwSt"] = "MwSt.";
26
- TaxDetailsTaxTypeEnum["Pst"] = "PST";
27
- TaxDetailsTaxTypeEnum["Tva"] = "TVA";
28
- TaxDetailsTaxTypeEnum["Vat"] = "VAT";
29
- TaxDetailsTaxTypeEnum["Gst"] = "GST";
30
- TaxDetailsTaxTypeEnum["St"] = "ST";
31
- TaxDetailsTaxTypeEnum["Consumption"] = "Consumption";
32
- TaxDetailsTaxTypeEnum["MutuallyDefined"] = "MutuallyDefined";
33
- TaxDetailsTaxTypeEnum["DomesticVat"] = "DomesticVAT";
34
- })(TaxDetailsTaxTypeEnum || (TaxDetailsTaxTypeEnum = {}));
14
+ export const TaxDetailsTaxTypeEnum = {
15
+ Cgst: 'CGST',
16
+ Sgst: 'SGST',
17
+ Cess: 'CESS',
18
+ Utgst: 'UTGST',
19
+ Igst: 'IGST',
20
+ MwSt: 'MwSt.',
21
+ Pst: 'PST',
22
+ Tva: 'TVA',
23
+ Vat: 'VAT',
24
+ Gst: 'GST',
25
+ St: 'ST',
26
+ Consumption: 'Consumption',
27
+ MutuallyDefined: 'MutuallyDefined',
28
+ DomesticVat: 'DomesticVAT'
29
+ };
@@ -11,12 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- * @enum {string}
17
- */
18
- export var TaxRegistrationDetailsTaxRegistrationTypeEnum;
19
- (function (TaxRegistrationDetailsTaxRegistrationTypeEnum) {
20
- TaxRegistrationDetailsTaxRegistrationTypeEnum["Vat"] = "VAT";
21
- TaxRegistrationDetailsTaxRegistrationTypeEnum["Gst"] = "GST";
22
- })(TaxRegistrationDetailsTaxRegistrationTypeEnum || (TaxRegistrationDetailsTaxRegistrationTypeEnum = {}));
14
+ export const TaxRegistrationDetailsTaxRegistrationTypeEnum = {
15
+ Vat: 'VAT',
16
+ Gst: 'GST'
17
+ };
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { AxiosPromise, AxiosInstance } from 'axios';
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { SubmitInvoicesRequest } from '../models';
@@ -18,33 +18,33 @@ import { SubmitInvoicesResponse } from '../models';
18
18
  * VendorPaymentsApi - axios parameter creator
19
19
  * @export
20
20
  */
21
- export declare const VendorPaymentsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
21
+ export declare const VendorPaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
22
22
  /**
23
23
  * Submit new invoices to Amazon. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |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.
24
24
  * @param {SubmitInvoicesRequest} body
25
25
  * @param {*} [options] Override http request option.
26
26
  * @throws {RequiredError}
27
27
  */
28
- submitInvoices: (body: SubmitInvoicesRequest, options?: any) => Promise<RequestArgs>;
28
+ submitInvoices: (body: SubmitInvoicesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
29
29
  };
30
30
  /**
31
31
  * VendorPaymentsApi - functional programming interface
32
32
  * @export
33
33
  */
34
- export declare const VendorPaymentsApiFp: (configuration?: Configuration | undefined) => {
34
+ export declare const VendorPaymentsApiFp: (configuration?: Configuration) => {
35
35
  /**
36
36
  * Submit new invoices to Amazon. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |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.
37
37
  * @param {SubmitInvoicesRequest} body
38
38
  * @param {*} [options] Override http request option.
39
39
  * @throws {RequiredError}
40
40
  */
41
- submitInvoices(body: SubmitInvoicesRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SubmitInvoicesResponse>>;
41
+ submitInvoices(body: SubmitInvoicesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitInvoicesResponse>>;
42
42
  };
43
43
  /**
44
44
  * VendorPaymentsApi - factory interface
45
45
  * @export
46
46
  */
47
- export declare const VendorPaymentsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
47
+ export declare const VendorPaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
48
48
  /**
49
49
  * Submit new invoices to Amazon. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |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.
50
50
  * @param {SubmitInvoicesRequest} body
@@ -80,5 +80,5 @@ export declare class VendorPaymentsApi extends BaseAPI {
80
80
  * @throws {RequiredError}
81
81
  * @memberof VendorPaymentsApi
82
82
  */
83
- submitInvoices(requestParameters: VendorPaymentsApiSubmitInvoicesRequest, options?: any): Promise<import("axios").AxiosResponse<SubmitInvoicesResponse, any>>;
83
+ submitInvoices(requestParameters: VendorPaymentsApiSubmitInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitInvoicesResponse, any>>;
84
84
  }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { Configuration } from "./configuration";
13
- import { AxiosInstance } from 'axios';
13
+ import { AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
15
  /**
16
16
  *
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
29
29
  */
30
30
  export interface RequestArgs {
31
31
  url: string;
32
- options: any;
32
+ options: AxiosRequestConfig;
33
33
  }
34
34
  /**
35
35
  *
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { Configuration } from "./configuration";
13
13
  import { RequestArgs } from "./base";
14
- import { AxiosInstance } from 'axios';
14
+ import { AxiosInstance, AxiosResponse } from 'axios';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -27,22 +27,22 @@ export declare const assertParamExists: (functionName: string, paramName: string
27
27
  *
28
28
  * @export
29
29
  */
30
- export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration | undefined) => Promise<void>;
30
+ export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
31
  /**
32
32
  *
33
33
  * @export
34
34
  */
35
- export declare const setBasicAuthToObject: (object: any, configuration?: Configuration | undefined) => void;
35
+ export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
36
  /**
37
37
  *
38
38
  * @export
39
39
  */
40
- export declare const setBearerAuthToObject: (object: any, configuration?: Configuration | undefined) => Promise<void>;
40
+ export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
41
  /**
42
42
  *
43
43
  * @export
44
44
  */
45
- export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration | undefined) => Promise<void>;
45
+ export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
46
  /**
47
47
  *
48
48
  * @export
@@ -52,7 +52,7 @@ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
52
52
  *
53
53
  * @export
54
54
  */
55
- export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration | undefined) => any;
55
+ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
56
  /**
57
57
  *
58
58
  * @export
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any, any>>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -20,26 +20,23 @@ export interface AdditionalDetails {
20
20
  * @type {string}
21
21
  * @memberof AdditionalDetails
22
22
  */
23
- type: AdditionalDetailsTypeEnum;
23
+ 'type': AdditionalDetailsTypeEnum;
24
24
  /**
25
25
  * The detail of the additional information provided by the selling party.
26
26
  * @type {string}
27
27
  * @memberof AdditionalDetails
28
28
  */
29
- detail: string;
29
+ 'detail': string;
30
30
  /**
31
31
  * The language code of the additional information detail.
32
32
  * @type {string}
33
33
  * @memberof AdditionalDetails
34
34
  */
35
- languageCode?: string;
36
- }
37
- /**
38
- * @export
39
- * @enum {string}
40
- */
41
- export declare enum AdditionalDetailsTypeEnum {
42
- Sur = "SUR",
43
- Ocr = "OCR",
44
- CartonCount = "CartonCount"
35
+ 'languageCode'?: string;
45
36
  }
37
+ export declare const AdditionalDetailsTypeEnum: {
38
+ readonly Sur: "SUR";
39
+ readonly Ocr: "OCR";
40
+ readonly CartonCount: "CartonCount";
41
+ };
42
+ export declare type AdditionalDetailsTypeEnum = typeof AdditionalDetailsTypeEnum[keyof typeof AdditionalDetailsTypeEnum];