@sp-api-sdk/vendor-direct-fulfillment-inventory-api-v1 3.0.4 → 4.0.0
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.
- package/dist/cjs/api-model/api/{update-inventory-api.js → vendor-direct-fulfillment-inventory-api.js} +21 -21
- package/dist/cjs/api-model/api.js +1 -1
- package/dist/cjs/client.js +1 -1
- package/dist/es/api-model/api/{update-inventory-api.js → vendor-direct-fulfillment-inventory-api.js} +16 -16
- package/dist/es/api-model/api.js +1 -1
- package/dist/es/client.js +2 -2
- package/dist/types/api-model/api/{update-inventory-api.d.ts → vendor-direct-fulfillment-inventory-api.d.ts} +19 -19
- package/dist/types/api-model/api.d.ts +1 -1
- package/dist/types/client.d.ts +2 -2
- package/package.json +4 -4
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
19
|
+
exports.VendorDirectFulfillmentInventoryApi = exports.VendorDirectFulfillmentInventoryApiFactory = exports.VendorDirectFulfillmentInventoryApiFp = exports.VendorDirectFulfillmentInventoryApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -24,10 +24,10 @@ const common_1 = require("../common");
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
const base_1 = require("../base");
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* VendorDirectFulfillmentInventoryApi - axios parameter creator
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
|
-
const
|
|
30
|
+
const VendorDirectFulfillmentInventoryApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
33
|
* Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
@@ -64,13 +64,13 @@ const UpdateInventoryApiAxiosParamCreator = function (configuration) {
|
|
|
64
64
|
},
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
-
exports.
|
|
67
|
+
exports.VendorDirectFulfillmentInventoryApiAxiosParamCreator = VendorDirectFulfillmentInventoryApiAxiosParamCreator;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* VendorDirectFulfillmentInventoryApi - functional programming interface
|
|
70
70
|
* @export
|
|
71
71
|
*/
|
|
72
|
-
const
|
|
73
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
72
|
+
const VendorDirectFulfillmentInventoryApiFp = function (configuration) {
|
|
73
|
+
const localVarAxiosParamCreator = (0, exports.VendorDirectFulfillmentInventoryApiAxiosParamCreator)(configuration);
|
|
74
74
|
return {
|
|
75
75
|
/**
|
|
76
76
|
* Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
@@ -82,22 +82,22 @@ const UpdateInventoryApiFp = function (configuration) {
|
|
|
82
82
|
async submitInventoryUpdate(warehouseId, body, options) {
|
|
83
83
|
const localVarAxiosArgs = await localVarAxiosParamCreator.submitInventoryUpdate(warehouseId, body, options);
|
|
84
84
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
85
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
85
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['VendorDirectFulfillmentInventoryApi.submitInventoryUpdate']?.[localVarOperationServerIndex]?.url;
|
|
86
86
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
87
87
|
},
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
|
-
exports.
|
|
90
|
+
exports.VendorDirectFulfillmentInventoryApiFp = VendorDirectFulfillmentInventoryApiFp;
|
|
91
91
|
/**
|
|
92
|
-
*
|
|
92
|
+
* VendorDirectFulfillmentInventoryApi - factory interface
|
|
93
93
|
* @export
|
|
94
94
|
*/
|
|
95
|
-
const
|
|
96
|
-
const localVarFp = (0, exports.
|
|
95
|
+
const VendorDirectFulfillmentInventoryApiFactory = function (configuration, basePath, axios) {
|
|
96
|
+
const localVarFp = (0, exports.VendorDirectFulfillmentInventoryApiFp)(configuration);
|
|
97
97
|
return {
|
|
98
98
|
/**
|
|
99
99
|
* Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
100
|
-
* @param {
|
|
100
|
+
* @param {VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest} requestParameters Request parameters.
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
102
102
|
* @throws {RequiredError}
|
|
103
103
|
*/
|
|
@@ -106,23 +106,23 @@ const UpdateInventoryApiFactory = function (configuration, basePath, axios) {
|
|
|
106
106
|
},
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
|
-
exports.
|
|
109
|
+
exports.VendorDirectFulfillmentInventoryApiFactory = VendorDirectFulfillmentInventoryApiFactory;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* VendorDirectFulfillmentInventoryApi - object-oriented interface
|
|
112
112
|
* @export
|
|
113
|
-
* @class
|
|
113
|
+
* @class VendorDirectFulfillmentInventoryApi
|
|
114
114
|
* @extends {BaseAPI}
|
|
115
115
|
*/
|
|
116
|
-
class
|
|
116
|
+
class VendorDirectFulfillmentInventoryApi extends base_1.BaseAPI {
|
|
117
117
|
/**
|
|
118
118
|
* Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
119
|
-
* @param {
|
|
119
|
+
* @param {VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest} requestParameters Request parameters.
|
|
120
120
|
* @param {*} [options] Override http request option.
|
|
121
121
|
* @throws {RequiredError}
|
|
122
|
-
* @memberof
|
|
122
|
+
* @memberof VendorDirectFulfillmentInventoryApi
|
|
123
123
|
*/
|
|
124
124
|
submitInventoryUpdate(requestParameters, options) {
|
|
125
|
-
return (0, exports.
|
|
125
|
+
return (0, exports.VendorDirectFulfillmentInventoryApiFp)(this.configuration).submitInventoryUpdate(requestParameters.warehouseId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
exports.
|
|
128
|
+
exports.VendorDirectFulfillmentInventoryApi = VendorDirectFulfillmentInventoryApi;
|
|
@@ -27,4 +27,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
__exportStar(require("./api/
|
|
30
|
+
__exportStar(require("./api/vendor-direct-fulfillment-inventory-api"), exports);
|
package/dist/cjs/client.js
CHANGED
|
@@ -12,7 +12,7 @@ exports.clientRateLimits = [
|
|
|
12
12
|
burst: 10,
|
|
13
13
|
},
|
|
14
14
|
];
|
|
15
|
-
class VendorDirectFulfillmentInventoryApiClient extends api_model_1.
|
|
15
|
+
class VendorDirectFulfillmentInventoryApiClient extends api_model_1.VendorDirectFulfillmentInventoryApi {
|
|
16
16
|
constructor(configuration) {
|
|
17
17
|
const { axios, endpoint } = (0, common_1.createAxiosInstance)(configuration, exports.clientRateLimits);
|
|
18
18
|
super(new api_model_1.Configuration(), endpoint, axios);
|
package/dist/es/api-model/api/{update-inventory-api.js → vendor-direct-fulfillment-inventory-api.js}
RENAMED
|
@@ -18,10 +18,10 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeed
|
|
|
18
18
|
// @ts-ignore
|
|
19
19
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* VendorDirectFulfillmentInventoryApi - axios parameter creator
|
|
22
22
|
* @export
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
24
|
+
export const VendorDirectFulfillmentInventoryApiAxiosParamCreator = function (configuration) {
|
|
25
25
|
return {
|
|
26
26
|
/**
|
|
27
27
|
* Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
@@ -59,11 +59,11 @@ export const UpdateInventoryApiAxiosParamCreator = function (configuration) {
|
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* VendorDirectFulfillmentInventoryApi - functional programming interface
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export const
|
|
66
|
-
const localVarAxiosParamCreator =
|
|
65
|
+
export const VendorDirectFulfillmentInventoryApiFp = function (configuration) {
|
|
66
|
+
const localVarAxiosParamCreator = VendorDirectFulfillmentInventoryApiAxiosParamCreator(configuration);
|
|
67
67
|
return {
|
|
68
68
|
/**
|
|
69
69
|
* Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
@@ -75,21 +75,21 @@ export const UpdateInventoryApiFp = function (configuration) {
|
|
|
75
75
|
async submitInventoryUpdate(warehouseId, body, options) {
|
|
76
76
|
const localVarAxiosArgs = await localVarAxiosParamCreator.submitInventoryUpdate(warehouseId, body, options);
|
|
77
77
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
78
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
78
|
+
const localVarOperationServerBasePath = operationServerMap['VendorDirectFulfillmentInventoryApi.submitInventoryUpdate']?.[localVarOperationServerIndex]?.url;
|
|
79
79
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
80
80
|
},
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* VendorDirectFulfillmentInventoryApi - factory interface
|
|
85
85
|
* @export
|
|
86
86
|
*/
|
|
87
|
-
export const
|
|
88
|
-
const localVarFp =
|
|
87
|
+
export const VendorDirectFulfillmentInventoryApiFactory = function (configuration, basePath, axios) {
|
|
88
|
+
const localVarFp = VendorDirectFulfillmentInventoryApiFp(configuration);
|
|
89
89
|
return {
|
|
90
90
|
/**
|
|
91
91
|
* Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
92
|
-
* @param {
|
|
92
|
+
* @param {VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest} requestParameters Request parameters.
|
|
93
93
|
* @param {*} [options] Override http request option.
|
|
94
94
|
* @throws {RequiredError}
|
|
95
95
|
*/
|
|
@@ -99,20 +99,20 @@ export const UpdateInventoryApiFactory = function (configuration, basePath, axio
|
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* VendorDirectFulfillmentInventoryApi - object-oriented interface
|
|
103
103
|
* @export
|
|
104
|
-
* @class
|
|
104
|
+
* @class VendorDirectFulfillmentInventoryApi
|
|
105
105
|
* @extends {BaseAPI}
|
|
106
106
|
*/
|
|
107
|
-
export class
|
|
107
|
+
export class VendorDirectFulfillmentInventoryApi extends BaseAPI {
|
|
108
108
|
/**
|
|
109
109
|
* Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
110
|
-
* @param {
|
|
110
|
+
* @param {VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest} requestParameters Request parameters.
|
|
111
111
|
* @param {*} [options] Override http request option.
|
|
112
112
|
* @throws {RequiredError}
|
|
113
|
-
* @memberof
|
|
113
|
+
* @memberof VendorDirectFulfillmentInventoryApi
|
|
114
114
|
*/
|
|
115
115
|
submitInventoryUpdate(requestParameters, options) {
|
|
116
|
-
return
|
|
116
|
+
return VendorDirectFulfillmentInventoryApiFp(this.configuration).submitInventoryUpdate(requestParameters.warehouseId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
117
117
|
}
|
|
118
118
|
}
|
package/dist/es/api-model/api.js
CHANGED
package/dist/es/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createAxiosInstance } from '@sp-api-sdk/common';
|
|
2
|
-
import { Configuration,
|
|
2
|
+
import { Configuration, VendorDirectFulfillmentInventoryApi } from './api-model';
|
|
3
3
|
export const clientRateLimits = [
|
|
4
4
|
{
|
|
5
5
|
method: 'post',
|
|
@@ -9,7 +9,7 @@ export const clientRateLimits = [
|
|
|
9
9
|
burst: 10,
|
|
10
10
|
},
|
|
11
11
|
];
|
|
12
|
-
export class VendorDirectFulfillmentInventoryApiClient extends
|
|
12
|
+
export class VendorDirectFulfillmentInventoryApiClient extends VendorDirectFulfillmentInventoryApi {
|
|
13
13
|
constructor(configuration) {
|
|
14
14
|
const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
|
|
15
15
|
super(new Configuration(), endpoint, axios);
|
|
@@ -16,10 +16,10 @@ import { type RequestArgs, BaseAPI } from '../base';
|
|
|
16
16
|
import type { SubmitInventoryUpdateRequest } from '../models';
|
|
17
17
|
import type { SubmitInventoryUpdateResponse } from '../models';
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* VendorDirectFulfillmentInventoryApi - axios parameter creator
|
|
20
20
|
* @export
|
|
21
21
|
*/
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const VendorDirectFulfillmentInventoryApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
24
|
* Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
25
25
|
* @param {string} warehouseId Identifier for the warehouse for which to update inventory.
|
|
@@ -30,10 +30,10 @@ export declare const UpdateInventoryApiAxiosParamCreator: (configuration?: Confi
|
|
|
30
30
|
submitInventoryUpdate: (warehouseId: string, body: SubmitInventoryUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* VendorDirectFulfillmentInventoryApi - functional programming interface
|
|
34
34
|
* @export
|
|
35
35
|
*/
|
|
36
|
-
export declare const
|
|
36
|
+
export declare const VendorDirectFulfillmentInventoryApiFp: (configuration?: Configuration) => {
|
|
37
37
|
/**
|
|
38
38
|
* Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
39
39
|
* @param {string} warehouseId Identifier for the warehouse for which to update inventory.
|
|
@@ -44,50 +44,50 @@ export declare const UpdateInventoryApiFp: (configuration?: Configuration) => {
|
|
|
44
44
|
submitInventoryUpdate(warehouseId: string, body: SubmitInventoryUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitInventoryUpdateResponse>>;
|
|
45
45
|
};
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* VendorDirectFulfillmentInventoryApi - factory interface
|
|
48
48
|
* @export
|
|
49
49
|
*/
|
|
50
|
-
export declare const
|
|
50
|
+
export declare const VendorDirectFulfillmentInventoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
51
51
|
/**
|
|
52
52
|
* Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
53
|
-
* @param {
|
|
53
|
+
* @param {VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest} requestParameters Request parameters.
|
|
54
54
|
* @param {*} [options] Override http request option.
|
|
55
55
|
* @throws {RequiredError}
|
|
56
56
|
*/
|
|
57
|
-
submitInventoryUpdate(requestParameters:
|
|
57
|
+
submitInventoryUpdate(requestParameters: VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubmitInventoryUpdateResponse>;
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
|
-
* Request parameters for submitInventoryUpdate operation in
|
|
60
|
+
* Request parameters for submitInventoryUpdate operation in VendorDirectFulfillmentInventoryApi.
|
|
61
61
|
* @export
|
|
62
|
-
* @interface
|
|
62
|
+
* @interface VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest
|
|
63
63
|
*/
|
|
64
|
-
export interface
|
|
64
|
+
export interface VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest {
|
|
65
65
|
/**
|
|
66
66
|
* Identifier for the warehouse for which to update inventory.
|
|
67
67
|
* @type {string}
|
|
68
|
-
* @memberof
|
|
68
|
+
* @memberof VendorDirectFulfillmentInventoryApiSubmitInventoryUpdate
|
|
69
69
|
*/
|
|
70
70
|
readonly warehouseId: string;
|
|
71
71
|
/**
|
|
72
72
|
* The request body containing the inventory update data to submit.
|
|
73
73
|
* @type {SubmitInventoryUpdateRequest}
|
|
74
|
-
* @memberof
|
|
74
|
+
* @memberof VendorDirectFulfillmentInventoryApiSubmitInventoryUpdate
|
|
75
75
|
*/
|
|
76
76
|
readonly body: SubmitInventoryUpdateRequest;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* VendorDirectFulfillmentInventoryApi - object-oriented interface
|
|
80
80
|
* @export
|
|
81
|
-
* @class
|
|
81
|
+
* @class VendorDirectFulfillmentInventoryApi
|
|
82
82
|
* @extends {BaseAPI}
|
|
83
83
|
*/
|
|
84
|
-
export declare class
|
|
84
|
+
export declare class VendorDirectFulfillmentInventoryApi extends BaseAPI {
|
|
85
85
|
/**
|
|
86
86
|
* Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
87
|
-
* @param {
|
|
87
|
+
* @param {VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest} requestParameters Request parameters.
|
|
88
88
|
* @param {*} [options] Override http request option.
|
|
89
89
|
* @throws {RequiredError}
|
|
90
|
-
* @memberof
|
|
90
|
+
* @memberof VendorDirectFulfillmentInventoryApi
|
|
91
91
|
*/
|
|
92
|
-
submitInventoryUpdate(requestParameters:
|
|
92
|
+
submitInventoryUpdate(requestParameters: VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitInventoryUpdateResponse, any>>;
|
|
93
93
|
}
|
package/dist/types/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
|
|
2
|
-
import {
|
|
2
|
+
import { VendorDirectFulfillmentInventoryApi } from './api-model';
|
|
3
3
|
export declare const clientRateLimits: RateLimit[];
|
|
4
|
-
export declare class VendorDirectFulfillmentInventoryApiClient extends
|
|
4
|
+
export declare class VendorDirectFulfillmentInventoryApiClient extends VendorDirectFulfillmentInventoryApi {
|
|
5
5
|
constructor(configuration: ClientConfiguration);
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/vendor-direct-fulfillment-inventory-api-v1",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor's inventory updates.",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "4.0.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.14",
|
|
22
|
+
"axios": "^1.9.0"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"vendor direct fulfillment inventory api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "773f45c3f4aab28e0bd9f6033045988800d7f258"
|
|
44
44
|
}
|