@sp-api-sdk/vendor-direct-fulfillment-transactions-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/{vendor-transaction-api.js → vendor-direct-fulfillment-transactions-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/{vendor-transaction-api.js → vendor-direct-fulfillment-transactions-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/{vendor-transaction-api.d.ts → vendor-direct-fulfillment-transactions-api.d.ts} +18 -18
- 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.VendorDirectFulfillmentTransactionsApi = exports.VendorDirectFulfillmentTransactionsApiFactory = exports.VendorDirectFulfillmentTransactionsApiFp = exports.VendorDirectFulfillmentTransactionsApiAxiosParamCreator = 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
|
+
* VendorDirectFulfillmentTransactionsApi - axios parameter creator
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
|
-
const
|
|
30
|
+
const VendorDirectFulfillmentTransactionsApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
33
|
* Returns the status of the transaction indicated by the specified transactionId. **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,13 +59,13 @@ const VendorTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
59
59
|
},
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
|
-
exports.
|
|
62
|
+
exports.VendorDirectFulfillmentTransactionsApiAxiosParamCreator = VendorDirectFulfillmentTransactionsApiAxiosParamCreator;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* VendorDirectFulfillmentTransactionsApi - functional programming interface
|
|
65
65
|
* @export
|
|
66
66
|
*/
|
|
67
|
-
const
|
|
68
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
67
|
+
const VendorDirectFulfillmentTransactionsApiFp = function (configuration) {
|
|
68
|
+
const localVarAxiosParamCreator = (0, exports.VendorDirectFulfillmentTransactionsApiAxiosParamCreator)(configuration);
|
|
69
69
|
return {
|
|
70
70
|
/**
|
|
71
71
|
* Returns the status of the transaction indicated by the specified transactionId. **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).
|
|
@@ -76,22 +76,22 @@ const VendorTransactionApiFp = function (configuration) {
|
|
|
76
76
|
async getTransactionStatus(transactionId, options) {
|
|
77
77
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTransactionStatus(transactionId, options);
|
|
78
78
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
79
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
79
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['VendorDirectFulfillmentTransactionsApi.getTransactionStatus']?.[localVarOperationServerIndex]?.url;
|
|
80
80
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
81
81
|
},
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
|
-
exports.
|
|
84
|
+
exports.VendorDirectFulfillmentTransactionsApiFp = VendorDirectFulfillmentTransactionsApiFp;
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* VendorDirectFulfillmentTransactionsApi - factory interface
|
|
87
87
|
* @export
|
|
88
88
|
*/
|
|
89
|
-
const
|
|
90
|
-
const localVarFp = (0, exports.
|
|
89
|
+
const VendorDirectFulfillmentTransactionsApiFactory = function (configuration, basePath, axios) {
|
|
90
|
+
const localVarFp = (0, exports.VendorDirectFulfillmentTransactionsApiFp)(configuration);
|
|
91
91
|
return {
|
|
92
92
|
/**
|
|
93
93
|
* Returns the status of the transaction indicated by the specified transactionId. **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).
|
|
94
|
-
* @param {
|
|
94
|
+
* @param {VendorDirectFulfillmentTransactionsApiGetTransactionStatusRequest} requestParameters Request parameters.
|
|
95
95
|
* @param {*} [options] Override http request option.
|
|
96
96
|
* @throws {RequiredError}
|
|
97
97
|
*/
|
|
@@ -100,23 +100,23 @@ const VendorTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
100
100
|
},
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
|
-
exports.
|
|
103
|
+
exports.VendorDirectFulfillmentTransactionsApiFactory = VendorDirectFulfillmentTransactionsApiFactory;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* VendorDirectFulfillmentTransactionsApi - object-oriented interface
|
|
106
106
|
* @export
|
|
107
|
-
* @class
|
|
107
|
+
* @class VendorDirectFulfillmentTransactionsApi
|
|
108
108
|
* @extends {BaseAPI}
|
|
109
109
|
*/
|
|
110
|
-
class
|
|
110
|
+
class VendorDirectFulfillmentTransactionsApi extends base_1.BaseAPI {
|
|
111
111
|
/**
|
|
112
112
|
* Returns the status of the transaction indicated by the specified transactionId. **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).
|
|
113
|
-
* @param {
|
|
113
|
+
* @param {VendorDirectFulfillmentTransactionsApiGetTransactionStatusRequest} requestParameters Request parameters.
|
|
114
114
|
* @param {*} [options] Override http request option.
|
|
115
115
|
* @throws {RequiredError}
|
|
116
|
-
* @memberof
|
|
116
|
+
* @memberof VendorDirectFulfillmentTransactionsApi
|
|
117
117
|
*/
|
|
118
118
|
getTransactionStatus(requestParameters, options) {
|
|
119
|
-
return (0, exports.
|
|
119
|
+
return (0, exports.VendorDirectFulfillmentTransactionsApiFp)(this.configuration).getTransactionStatus(requestParameters.transactionId, options).then((request) => request(this.axios, this.basePath));
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
exports.
|
|
122
|
+
exports.VendorDirectFulfillmentTransactionsApi = VendorDirectFulfillmentTransactionsApi;
|
|
@@ -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/vendor-
|
|
30
|
+
__exportStar(require("./api/vendor-direct-fulfillment-transactions-api"), exports);
|
package/dist/cjs/client.js
CHANGED
|
@@ -12,7 +12,7 @@ exports.clientRateLimits = [
|
|
|
12
12
|
burst: 10,
|
|
13
13
|
},
|
|
14
14
|
];
|
|
15
|
-
class VendorDirectFulfillmentTransactionsApiClient extends api_model_1.
|
|
15
|
+
class VendorDirectFulfillmentTransactionsApiClient extends api_model_1.VendorDirectFulfillmentTransactionsApi {
|
|
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);
|
|
@@ -18,10 +18,10 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, toPathString, creat
|
|
|
18
18
|
// @ts-ignore
|
|
19
19
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* VendorDirectFulfillmentTransactionsApi - axios parameter creator
|
|
22
22
|
* @export
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
24
|
+
export const VendorDirectFulfillmentTransactionsApiAxiosParamCreator = function (configuration) {
|
|
25
25
|
return {
|
|
26
26
|
/**
|
|
27
27
|
* Returns the status of the transaction indicated by the specified transactionId. **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).
|
|
@@ -54,11 +54,11 @@ export const VendorTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* VendorDirectFulfillmentTransactionsApi - functional programming interface
|
|
58
58
|
* @export
|
|
59
59
|
*/
|
|
60
|
-
export const
|
|
61
|
-
const localVarAxiosParamCreator =
|
|
60
|
+
export const VendorDirectFulfillmentTransactionsApiFp = function (configuration) {
|
|
61
|
+
const localVarAxiosParamCreator = VendorDirectFulfillmentTransactionsApiAxiosParamCreator(configuration);
|
|
62
62
|
return {
|
|
63
63
|
/**
|
|
64
64
|
* Returns the status of the transaction indicated by the specified transactionId. **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).
|
|
@@ -69,21 +69,21 @@ export const VendorTransactionApiFp = function (configuration) {
|
|
|
69
69
|
async getTransactionStatus(transactionId, options) {
|
|
70
70
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTransactionStatus(transactionId, options);
|
|
71
71
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
72
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
72
|
+
const localVarOperationServerBasePath = operationServerMap['VendorDirectFulfillmentTransactionsApi.getTransactionStatus']?.[localVarOperationServerIndex]?.url;
|
|
73
73
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74
74
|
},
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* VendorDirectFulfillmentTransactionsApi - factory interface
|
|
79
79
|
* @export
|
|
80
80
|
*/
|
|
81
|
-
export const
|
|
82
|
-
const localVarFp =
|
|
81
|
+
export const VendorDirectFulfillmentTransactionsApiFactory = function (configuration, basePath, axios) {
|
|
82
|
+
const localVarFp = VendorDirectFulfillmentTransactionsApiFp(configuration);
|
|
83
83
|
return {
|
|
84
84
|
/**
|
|
85
85
|
* Returns the status of the transaction indicated by the specified transactionId. **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).
|
|
86
|
-
* @param {
|
|
86
|
+
* @param {VendorDirectFulfillmentTransactionsApiGetTransactionStatusRequest} requestParameters Request parameters.
|
|
87
87
|
* @param {*} [options] Override http request option.
|
|
88
88
|
* @throws {RequiredError}
|
|
89
89
|
*/
|
|
@@ -93,20 +93,20 @@ export const VendorTransactionApiFactory = function (configuration, basePath, ax
|
|
|
93
93
|
};
|
|
94
94
|
};
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* VendorDirectFulfillmentTransactionsApi - object-oriented interface
|
|
97
97
|
* @export
|
|
98
|
-
* @class
|
|
98
|
+
* @class VendorDirectFulfillmentTransactionsApi
|
|
99
99
|
* @extends {BaseAPI}
|
|
100
100
|
*/
|
|
101
|
-
export class
|
|
101
|
+
export class VendorDirectFulfillmentTransactionsApi extends BaseAPI {
|
|
102
102
|
/**
|
|
103
103
|
* Returns the status of the transaction indicated by the specified transactionId. **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).
|
|
104
|
-
* @param {
|
|
104
|
+
* @param {VendorDirectFulfillmentTransactionsApiGetTransactionStatusRequest} requestParameters Request parameters.
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
107
|
-
* @memberof
|
|
107
|
+
* @memberof VendorDirectFulfillmentTransactionsApi
|
|
108
108
|
*/
|
|
109
109
|
getTransactionStatus(requestParameters, options) {
|
|
110
|
-
return
|
|
110
|
+
return VendorDirectFulfillmentTransactionsApiFp(this.configuration).getTransactionStatus(requestParameters.transactionId, options).then((request) => request(this.axios, this.basePath));
|
|
111
111
|
}
|
|
112
112
|
}
|
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, VendorDirectFulfillmentTransactionsApi } from './api-model';
|
|
3
3
|
export const clientRateLimits = [
|
|
4
4
|
{
|
|
5
5
|
method: 'get',
|
|
@@ -9,7 +9,7 @@ export const clientRateLimits = [
|
|
|
9
9
|
burst: 10,
|
|
10
10
|
},
|
|
11
11
|
];
|
|
12
|
-
export class VendorDirectFulfillmentTransactionsApiClient extends
|
|
12
|
+
export class VendorDirectFulfillmentTransactionsApiClient extends VendorDirectFulfillmentTransactionsApi {
|
|
13
13
|
constructor(configuration) {
|
|
14
14
|
const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
|
|
15
15
|
super(new Configuration(), endpoint, axios);
|
|
@@ -15,10 +15,10 @@ import globalAxios from 'axios';
|
|
|
15
15
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
16
16
|
import type { GetTransactionResponse } from '../models';
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* VendorDirectFulfillmentTransactionsApi - axios parameter creator
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const VendorDirectFulfillmentTransactionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
23
|
* Returns the status of the transaction indicated by the specified transactionId. **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).
|
|
24
24
|
* @param {string} transactionId Previously returned in the response to the POST request of a specific transaction.
|
|
@@ -28,10 +28,10 @@ export declare const VendorTransactionApiAxiosParamCreator: (configuration?: Con
|
|
|
28
28
|
getTransactionStatus: (transactionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* VendorDirectFulfillmentTransactionsApi - functional programming interface
|
|
32
32
|
* @export
|
|
33
33
|
*/
|
|
34
|
-
export declare const
|
|
34
|
+
export declare const VendorDirectFulfillmentTransactionsApiFp: (configuration?: Configuration) => {
|
|
35
35
|
/**
|
|
36
36
|
* Returns the status of the transaction indicated by the specified transactionId. **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).
|
|
37
37
|
* @param {string} transactionId Previously returned in the response to the POST request of a specific transaction.
|
|
@@ -41,44 +41,44 @@ export declare const VendorTransactionApiFp: (configuration?: Configuration) =>
|
|
|
41
41
|
getTransactionStatus(transactionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTransactionResponse>>;
|
|
42
42
|
};
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* VendorDirectFulfillmentTransactionsApi - factory interface
|
|
45
45
|
* @export
|
|
46
46
|
*/
|
|
47
|
-
export declare const
|
|
47
|
+
export declare const VendorDirectFulfillmentTransactionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
48
48
|
/**
|
|
49
49
|
* Returns the status of the transaction indicated by the specified transactionId. **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).
|
|
50
|
-
* @param {
|
|
50
|
+
* @param {VendorDirectFulfillmentTransactionsApiGetTransactionStatusRequest} requestParameters Request parameters.
|
|
51
51
|
* @param {*} [options] Override http request option.
|
|
52
52
|
* @throws {RequiredError}
|
|
53
53
|
*/
|
|
54
|
-
getTransactionStatus(requestParameters:
|
|
54
|
+
getTransactionStatus(requestParameters: VendorDirectFulfillmentTransactionsApiGetTransactionStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetTransactionResponse>;
|
|
55
55
|
};
|
|
56
56
|
/**
|
|
57
|
-
* Request parameters for getTransactionStatus operation in
|
|
57
|
+
* Request parameters for getTransactionStatus operation in VendorDirectFulfillmentTransactionsApi.
|
|
58
58
|
* @export
|
|
59
|
-
* @interface
|
|
59
|
+
* @interface VendorDirectFulfillmentTransactionsApiGetTransactionStatusRequest
|
|
60
60
|
*/
|
|
61
|
-
export interface
|
|
61
|
+
export interface VendorDirectFulfillmentTransactionsApiGetTransactionStatusRequest {
|
|
62
62
|
/**
|
|
63
63
|
* Previously returned in the response to the POST request of a specific transaction.
|
|
64
64
|
* @type {string}
|
|
65
|
-
* @memberof
|
|
65
|
+
* @memberof VendorDirectFulfillmentTransactionsApiGetTransactionStatus
|
|
66
66
|
*/
|
|
67
67
|
readonly transactionId: string;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* VendorDirectFulfillmentTransactionsApi - object-oriented interface
|
|
71
71
|
* @export
|
|
72
|
-
* @class
|
|
72
|
+
* @class VendorDirectFulfillmentTransactionsApi
|
|
73
73
|
* @extends {BaseAPI}
|
|
74
74
|
*/
|
|
75
|
-
export declare class
|
|
75
|
+
export declare class VendorDirectFulfillmentTransactionsApi extends BaseAPI {
|
|
76
76
|
/**
|
|
77
77
|
* Returns the status of the transaction indicated by the specified transactionId. **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).
|
|
78
|
-
* @param {
|
|
78
|
+
* @param {VendorDirectFulfillmentTransactionsApiGetTransactionStatusRequest} requestParameters Request parameters.
|
|
79
79
|
* @param {*} [options] Override http request option.
|
|
80
80
|
* @throws {RequiredError}
|
|
81
|
-
* @memberof
|
|
81
|
+
* @memberof VendorDirectFulfillmentTransactionsApi
|
|
82
82
|
*/
|
|
83
|
-
getTransactionStatus(requestParameters:
|
|
83
|
+
getTransactionStatus(requestParameters: VendorDirectFulfillmentTransactionsApiGetTransactionStatusRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetTransactionResponse, any>>;
|
|
84
84
|
}
|
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 { VendorDirectFulfillmentTransactionsApi } from './api-model';
|
|
3
3
|
export declare const clientRateLimits: RateLimit[];
|
|
4
|
-
export declare class VendorDirectFulfillmentTransactionsApiClient extends
|
|
4
|
+
export declare class VendorDirectFulfillmentTransactionsApiClient extends VendorDirectFulfillmentTransactionsApi {
|
|
5
5
|
constructor(configuration: ClientConfiguration);
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/vendor-direct-fulfillment-transactions-api-v1",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Direct Fulfillment Transaction Status provides programmatic access to a direct fulfillment vendor's transaction status.",
|
|
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 transactions api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "773f45c3f4aab28e0bd9f6033045988800d7f258"
|
|
44
44
|
}
|