Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sp-api-sdk/vendor-invoices-api-v1 - npm Package Compare versions

Comparing version 1.6.14 to 1.6.15

6

dist/cjs/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./src/client"), exports);
tslib_1.__exportStar(require("./src/error"), exports);
tslib_1.__exportStar(require("./src/api-model/models"), exports);
(0, tslib_1.__exportStar)(require("./src/client"), exports);
(0, tslib_1.__exportStar)(require("./src/error"), exports);
(0, tslib_1.__exportStar)(require("./src/api-model/models"), exports);

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

const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./api/vendor-payments-api"), exports);
(0, tslib_1.__exportStar)(require("./api/vendor-payments-api"), exports);

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

const tslib_1 = require("tslib");
const axios_1 = tslib_1.__importDefault(require("axios"));
const axios_1 = (0, tslib_1.__importDefault)(require("axios"));
// Some imports not used depending on template conditions

@@ -39,3 +39,3 @@ // @ts-ignore

// verify required parameter 'body' is not null or undefined
common_1.assertParamExists('submitInvoices', 'body', body);
(0, common_1.assertParamExists)('submitInvoices', 'body', body);
const localVarPath = `/vendor/payments/v1/invoices`;

@@ -52,8 +52,8 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

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

@@ -70,3 +70,3 @@ };

const VendorPaymentsApiFp = function (configuration) {
const localVarAxiosParamCreator = exports.VendorPaymentsApiAxiosParamCreator(configuration);
const localVarAxiosParamCreator = (0, exports.VendorPaymentsApiAxiosParamCreator)(configuration);
return {

@@ -81,3 +81,3 @@ /**

const localVarAxiosArgs = await localVarAxiosParamCreator.submitInvoices(body, options);
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
},

@@ -92,3 +92,3 @@ };

const VendorPaymentsApiFactory = function (configuration, basePath, axios) {
const localVarFp = exports.VendorPaymentsApiFp(configuration);
const localVarFp = (0, exports.VendorPaymentsApiFp)(configuration);
return {

@@ -122,5 +122,5 @@ /**

submitInvoices(requestParameters, options) {
return exports.VendorPaymentsApiFp(this.configuration).submitInvoices(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
return (0, exports.VendorPaymentsApiFp)(this.configuration).submitInvoices(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
}
}
exports.VendorPaymentsApi = VendorPaymentsApi;

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

// @ts-ignore
const axios_1 = tslib_1.__importDefault(require("axios"));
const axios_1 = (0, tslib_1.__importDefault)(require("axios"));
exports.BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");

@@ -23,0 +23,0 @@ /**

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

const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./api"), exports);
tslib_1.__exportStar(require("./configuration"), exports);
tslib_1.__exportStar(require("./models"), exports);
(0, tslib_1.__exportStar)(require("./api"), exports);
(0, tslib_1.__exportStar)(require("./configuration"), exports);
(0, tslib_1.__exportStar)(require("./models"), exports);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./additional-details"), exports);
tslib_1.__exportStar(require("./address"), exports);
tslib_1.__exportStar(require("./allowance-details"), exports);
tslib_1.__exportStar(require("./charge-details"), exports);
tslib_1.__exportStar(require("./credit-note-details"), exports);
tslib_1.__exportStar(require("./invoice"), exports);
tslib_1.__exportStar(require("./invoice-item"), exports);
tslib_1.__exportStar(require("./item-quantity"), exports);
tslib_1.__exportStar(require("./model-error"), exports);
tslib_1.__exportStar(require("./money"), exports);
tslib_1.__exportStar(require("./party-identification"), exports);
tslib_1.__exportStar(require("./payment-terms"), exports);
tslib_1.__exportStar(require("./submit-invoices-request"), exports);
tslib_1.__exportStar(require("./submit-invoices-response"), exports);
tslib_1.__exportStar(require("./tax-details"), exports);
tslib_1.__exportStar(require("./tax-registration-details"), exports);
tslib_1.__exportStar(require("./transaction-id"), exports);
(0, tslib_1.__exportStar)(require("./additional-details"), exports);
(0, tslib_1.__exportStar)(require("./address"), exports);
(0, tslib_1.__exportStar)(require("./allowance-details"), exports);
(0, tslib_1.__exportStar)(require("./charge-details"), exports);
(0, tslib_1.__exportStar)(require("./credit-note-details"), exports);
(0, tslib_1.__exportStar)(require("./invoice"), exports);
(0, tslib_1.__exportStar)(require("./invoice-item"), exports);
(0, tslib_1.__exportStar)(require("./item-quantity"), exports);
(0, tslib_1.__exportStar)(require("./model-error"), exports);
(0, tslib_1.__exportStar)(require("./money"), exports);
(0, tslib_1.__exportStar)(require("./party-identification"), exports);
(0, tslib_1.__exportStar)(require("./payment-terms"), exports);
(0, tslib_1.__exportStar)(require("./submit-invoices-request"), exports);
(0, tslib_1.__exportStar)(require("./submit-invoices-response"), exports);
(0, tslib_1.__exportStar)(require("./tax-details"), exports);
(0, tslib_1.__exportStar)(require("./tax-registration-details"), exports);
(0, tslib_1.__exportStar)(require("./transaction-id"), exports);

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

}
const axiosInstance = common_1.createAxiosInstance(axiosParameters);
const axiosInstance = (0, common_1.createAxiosInstance)(axiosParameters);
const configuration = new api_model_1.Configuration();

@@ -28,0 +28,0 @@ const environment = parameters.sandbox ? 'sandbox' : 'production';

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

"description": "The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data.",
"version": "1.6.14",
"version": "1.6.15",
"main": "dist/cjs/index.js",

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

"files": [
"dist"
"dist/**/*.js",
"dist/**/*.d.ts"
],

@@ -30,4 +31,4 @@ "scripts": {

"dependencies": {
"@sp-api-sdk/auth": "^1.9.0",
"@sp-api-sdk/common": "^1.7.1",
"@sp-api-sdk/auth": "^1.9.1",
"@sp-api-sdk/common": "^1.7.2",
"axios": "^0.21.1"

@@ -54,3 +55,3 @@ },

],
"gitHead": "ccc62c529fc5f4525803ade1bbabdfc5aafc561f"
"gitHead": "dc4286920dc77e99d6ad71f71bcb78ae22b9ab06"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc