@sp-api-sdk/vendor-orders-api-v1 1.6.15
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/LICENSE +21 -0
- package/README.md +58 -0
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/src/api-model/api/vendor-orders-api.js +438 -0
- package/dist/cjs/src/api-model/api.js +17 -0
- package/dist/cjs/src/api-model/base.js +62 -0
- package/dist/cjs/src/api-model/common.js +137 -0
- package/dist/cjs/src/api-model/configuration.js +42 -0
- package/dist/cjs/src/api-model/index.js +19 -0
- package/dist/cjs/src/api-model/models/acknowledgement-status-details.js +15 -0
- package/dist/cjs/src/api-model/models/address.js +15 -0
- package/dist/cjs/src/api-model/models/get-purchase-order-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-purchase-orders-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-purchase-orders-status-response.js +15 -0
- package/dist/cjs/src/api-model/models/import-details.js +47 -0
- package/dist/cjs/src/api-model/models/index.js +31 -0
- package/dist/cjs/src/api-model/models/item-quantity.js +25 -0
- package/dist/cjs/src/api-model/models/model-error.js +15 -0
- package/dist/cjs/src/api-model/models/money.js +15 -0
- package/dist/cjs/src/api-model/models/order-acknowledgement-item.js +15 -0
- package/dist/cjs/src/api-model/models/order-acknowledgement.js +15 -0
- package/dist/cjs/src/api-model/models/order-details.js +38 -0
- package/dist/cjs/src/api-model/models/order-item-acknowledgement.js +36 -0
- package/dist/cjs/src/api-model/models/order-item-status-acknowledgement-status.js +27 -0
- package/dist/cjs/src/api-model/models/order-item-status-ordered-quantity.js +15 -0
- package/dist/cjs/src/api-model/models/order-item-status.js +15 -0
- package/dist/cjs/src/api-model/models/order-item.js +15 -0
- package/dist/cjs/src/api-model/models/order-list-status.js +15 -0
- package/dist/cjs/src/api-model/models/order-list.js +15 -0
- package/dist/cjs/src/api-model/models/order-status.js +25 -0
- package/dist/cjs/src/api-model/models/order.js +26 -0
- package/dist/cjs/src/api-model/models/ordered-quantity-details.js +15 -0
- package/dist/cjs/src/api-model/models/pagination.js +15 -0
- package/dist/cjs/src/api-model/models/party-identification.js +15 -0
- package/dist/cjs/src/api-model/models/submit-acknowledgement-request.js +15 -0
- package/dist/cjs/src/api-model/models/submit-acknowledgement-response.js +15 -0
- package/dist/cjs/src/api-model/models/tax-registration-details.js +25 -0
- package/dist/cjs/src/api-model/models/transaction-id.js +15 -0
- package/dist/cjs/src/client.js +53 -0
- package/dist/cjs/src/error.js +10 -0
- package/dist/es/index.js +3 -0
- package/dist/es/src/api-model/api/vendor-orders-api.js +430 -0
- package/dist/es/src/api-model/api.js +14 -0
- package/dist/es/src/api-model/base.js +56 -0
- package/dist/es/src/api-model/common.js +125 -0
- package/dist/es/src/api-model/configuration.js +38 -0
- package/dist/es/src/api-model/index.js +16 -0
- package/dist/es/src/api-model/models/acknowledgement-status-details.js +14 -0
- package/dist/es/src/api-model/models/address.js +14 -0
- package/dist/es/src/api-model/models/get-purchase-order-response.js +14 -0
- package/dist/es/src/api-model/models/get-purchase-orders-response.js +14 -0
- package/dist/es/src/api-model/models/get-purchase-orders-status-response.js +14 -0
- package/dist/es/src/api-model/models/import-details.js +44 -0
- package/dist/es/src/api-model/models/index.js +28 -0
- package/dist/es/src/api-model/models/item-quantity.js +22 -0
- package/dist/es/src/api-model/models/model-error.js +14 -0
- package/dist/es/src/api-model/models/money.js +14 -0
- package/dist/es/src/api-model/models/order-acknowledgement-item.js +14 -0
- package/dist/es/src/api-model/models/order-acknowledgement.js +14 -0
- package/dist/es/src/api-model/models/order-details.js +35 -0
- package/dist/es/src/api-model/models/order-item-acknowledgement.js +33 -0
- package/dist/es/src/api-model/models/order-item-status-acknowledgement-status.js +24 -0
- package/dist/es/src/api-model/models/order-item-status-ordered-quantity.js +14 -0
- package/dist/es/src/api-model/models/order-item-status.js +14 -0
- package/dist/es/src/api-model/models/order-item.js +14 -0
- package/dist/es/src/api-model/models/order-list-status.js +14 -0
- package/dist/es/src/api-model/models/order-list.js +14 -0
- package/dist/es/src/api-model/models/order-status.js +22 -0
- package/dist/es/src/api-model/models/order.js +23 -0
- package/dist/es/src/api-model/models/ordered-quantity-details.js +14 -0
- package/dist/es/src/api-model/models/pagination.js +14 -0
- package/dist/es/src/api-model/models/party-identification.js +14 -0
- package/dist/es/src/api-model/models/submit-acknowledgement-request.js +14 -0
- package/dist/es/src/api-model/models/submit-acknowledgement-response.js +14 -0
- package/dist/es/src/api-model/models/tax-registration-details.js +22 -0
- package/dist/es/src/api-model/models/transaction-id.js +14 -0
- package/dist/es/src/client.js +49 -0
- package/dist/es/src/error.js +6 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/src/api-model/api/vendor-orders-api.d.ts +411 -0
- package/dist/types/src/api-model/api.d.ts +12 -0
- package/dist/types/src/api-model/base.d.ts +55 -0
- package/dist/types/src/api-model/common.d.ts +65 -0
- package/dist/types/src/api-model/configuration.d.ts +83 -0
- package/dist/types/src/api-model/index.d.ts +14 -0
- package/dist/types/src/api-model/models/acknowledgement-status-details.d.ts +37 -0
- package/dist/types/src/api-model/models/address.d.ts +84 -0
- package/dist/types/src/api-model/models/get-purchase-order-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-purchase-orders-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-purchase-orders-status-response.d.ts +31 -0
- package/dist/types/src/api-model/models/import-details.d.ts +77 -0
- package/dist/types/src/api-model/models/index.d.ts +28 -0
- package/dist/types/src/api-model/models/item-quantity.d.ts +44 -0
- package/dist/types/src/api-model/models/model-error.d.ts +36 -0
- package/dist/types/src/api-model/models/money.d.ts +30 -0
- package/dist/types/src/api-model/models/order-acknowledgement-item.d.ts +69 -0
- package/dist/types/src/api-model/models/order-acknowledgement.d.ts +44 -0
- package/dist/types/src/api-model/models/order-details.d.ts +125 -0
- package/dist/types/src/api-model/models/order-item-acknowledgement.d.ts +67 -0
- package/dist/types/src/api-model/models/order-item-status-acknowledgement-status.d.ts +54 -0
- package/dist/types/src/api-model/models/order-item-status-ordered-quantity.d.ts +32 -0
- package/dist/types/src/api-model/models/order-item-status.d.ts +63 -0
- package/dist/types/src/api-model/models/order-item.d.ts +62 -0
- package/dist/types/src/api-model/models/order-list-status.d.ts +32 -0
- package/dist/types/src/api-model/models/order-list.d.ts +32 -0
- package/dist/types/src/api-model/models/order-status.d.ts +70 -0
- package/dist/types/src/api-model/models/order.d.ts +46 -0
- package/dist/types/src/api-model/models/ordered-quantity-details.d.ts +37 -0
- package/dist/types/src/api-model/models/pagination.d.ts +24 -0
- package/dist/types/src/api-model/models/party-identification.d.ts +38 -0
- package/dist/types/src/api-model/models/submit-acknowledgement-request.d.ts +25 -0
- package/dist/types/src/api-model/models/submit-acknowledgement-response.d.ts +31 -0
- package/dist/types/src/api-model/models/tax-registration-details.d.ts +38 -0
- package/dist/types/src/api-model/models/transaction-id.d.ts +24 -0
- package/dist/types/src/client.d.ts +13 -0
- package/dist/types/src/error.d.ts +3 -0
- package/package.json +53 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Retail Procurement Orders
|
|
6
|
+
* The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
const tslib_1 = require("tslib");
|
|
17
|
+
(0, tslib_1.__exportStar)(require("./api/vendor-orders-api"), exports);
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Retail Procurement Orders
|
|
6
|
+
* The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
17
|
+
const tslib_1 = require("tslib");
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
const axios_1 = (0, tslib_1.__importDefault)(require("axios"));
|
|
21
|
+
exports.BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.COLLECTION_FORMATS = {
|
|
27
|
+
csv: ",",
|
|
28
|
+
ssv: " ",
|
|
29
|
+
tsv: "\t",
|
|
30
|
+
pipes: "|",
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @export
|
|
35
|
+
* @class BaseAPI
|
|
36
|
+
*/
|
|
37
|
+
class BaseAPI {
|
|
38
|
+
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
39
|
+
this.basePath = basePath;
|
|
40
|
+
this.axios = axios;
|
|
41
|
+
if (configuration) {
|
|
42
|
+
this.configuration = configuration;
|
|
43
|
+
this.basePath = configuration.basePath || this.basePath;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.BaseAPI = BaseAPI;
|
|
48
|
+
;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @export
|
|
52
|
+
* @class RequiredError
|
|
53
|
+
* @extends {Error}
|
|
54
|
+
*/
|
|
55
|
+
class RequiredError extends Error {
|
|
56
|
+
constructor(field, msg) {
|
|
57
|
+
super(msg);
|
|
58
|
+
this.field = field;
|
|
59
|
+
this.name = "RequiredError";
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.RequiredError = RequiredError;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Retail Procurement Orders
|
|
6
|
+
* The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
17
|
+
const base_1 = require("./base");
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
const assertParamExists = function (functionName, paramName, paramValue) {
|
|
29
|
+
if (paramValue === null || paramValue === undefined) {
|
|
30
|
+
throw new base_1.RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.assertParamExists = assertParamExists;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
38
|
+
const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
39
|
+
if (configuration && configuration.apiKey) {
|
|
40
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
41
|
+
? await configuration.apiKey(keyParamName)
|
|
42
|
+
: await configuration.apiKey;
|
|
43
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
exports.setApiKeyToObject = setApiKeyToObject;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
const setBasicAuthToObject = function (object, configuration) {
|
|
52
|
+
if (configuration && (configuration.username || configuration.password)) {
|
|
53
|
+
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @export
|
|
60
|
+
*/
|
|
61
|
+
const setBearerAuthToObject = async function (object, configuration) {
|
|
62
|
+
if (configuration && configuration.accessToken) {
|
|
63
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
64
|
+
? await configuration.accessToken()
|
|
65
|
+
: await configuration.accessToken;
|
|
66
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @export
|
|
73
|
+
*/
|
|
74
|
+
const setOAuthToObject = async function (object, name, scopes, configuration) {
|
|
75
|
+
if (configuration && configuration.accessToken) {
|
|
76
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
77
|
+
? await configuration.accessToken(name, scopes)
|
|
78
|
+
: await configuration.accessToken;
|
|
79
|
+
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
exports.setOAuthToObject = setOAuthToObject;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @export
|
|
86
|
+
*/
|
|
87
|
+
const setSearchParams = function (url, ...objects) {
|
|
88
|
+
const searchParams = new URLSearchParams(url.search);
|
|
89
|
+
for (const object of objects) {
|
|
90
|
+
for (const key in object) {
|
|
91
|
+
if (Array.isArray(object[key])) {
|
|
92
|
+
searchParams.delete(key);
|
|
93
|
+
for (const item of object[key]) {
|
|
94
|
+
searchParams.append(key, item);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
searchParams.set(key, object[key]);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
url.search = searchParams.toString();
|
|
103
|
+
};
|
|
104
|
+
exports.setSearchParams = setSearchParams;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @export
|
|
108
|
+
*/
|
|
109
|
+
const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
110
|
+
const nonString = typeof value !== 'string';
|
|
111
|
+
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
112
|
+
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
113
|
+
: nonString;
|
|
114
|
+
return needsSerialization
|
|
115
|
+
? JSON.stringify(value !== undefined ? value : {})
|
|
116
|
+
: (value || "");
|
|
117
|
+
};
|
|
118
|
+
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @export
|
|
122
|
+
*/
|
|
123
|
+
const toPathString = function (url) {
|
|
124
|
+
return url.pathname + url.search + url.hash;
|
|
125
|
+
};
|
|
126
|
+
exports.toPathString = toPathString;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @export
|
|
130
|
+
*/
|
|
131
|
+
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
132
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
133
|
+
const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url };
|
|
134
|
+
return axios.request(axiosRequestArgs);
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
exports.createRequestFunction = createRequestFunction;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Retail Procurement Orders
|
|
6
|
+
* The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.Configuration = void 0;
|
|
17
|
+
class Configuration {
|
|
18
|
+
constructor(param = {}) {
|
|
19
|
+
this.apiKey = param.apiKey;
|
|
20
|
+
this.username = param.username;
|
|
21
|
+
this.password = param.password;
|
|
22
|
+
this.accessToken = param.accessToken;
|
|
23
|
+
this.basePath = param.basePath;
|
|
24
|
+
this.baseOptions = param.baseOptions;
|
|
25
|
+
this.formDataCtor = param.formDataCtor;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if the given MIME is a JSON MIME.
|
|
29
|
+
* JSON MIME examples:
|
|
30
|
+
* application/json
|
|
31
|
+
* application/json; charset=UTF8
|
|
32
|
+
* APPLICATION/JSON
|
|
33
|
+
* application/vnd.company+json
|
|
34
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
35
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
36
|
+
*/
|
|
37
|
+
isJsonMime(mime) {
|
|
38
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
39
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.Configuration = Configuration;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Retail Procurement Orders
|
|
6
|
+
* The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
const tslib_1 = require("tslib");
|
|
17
|
+
(0, tslib_1.__exportStar)(require("./api"), exports);
|
|
18
|
+
(0, tslib_1.__exportStar)(require("./configuration"), exports);
|
|
19
|
+
(0, tslib_1.__exportStar)(require("./models"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Retail Procurement Orders
|
|
6
|
+
* The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Retail Procurement Orders
|
|
6
|
+
* The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Retail Procurement Orders
|
|
6
|
+
* The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Retail Procurement Orders
|
|
6
|
+
* The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Retail Procurement Orders
|
|
6
|
+
* The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Retail Procurement Orders
|
|
6
|
+
* The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ImportDetailsInternationalCommercialTermsEnum = exports.ImportDetailsMethodOfPaymentEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var ImportDetailsMethodOfPaymentEnum;
|
|
22
|
+
(function (ImportDetailsMethodOfPaymentEnum) {
|
|
23
|
+
ImportDetailsMethodOfPaymentEnum["PaidByBuyer"] = "PaidByBuyer";
|
|
24
|
+
ImportDetailsMethodOfPaymentEnum["CollectOnDelivery"] = "CollectOnDelivery";
|
|
25
|
+
ImportDetailsMethodOfPaymentEnum["DefinedByBuyerAndSeller"] = "DefinedByBuyerAndSeller";
|
|
26
|
+
ImportDetailsMethodOfPaymentEnum["FobPortOfCall"] = "FOBPortOfCall";
|
|
27
|
+
ImportDetailsMethodOfPaymentEnum["PrepaidBySeller"] = "PrepaidBySeller";
|
|
28
|
+
ImportDetailsMethodOfPaymentEnum["PaidBySeller"] = "PaidBySeller";
|
|
29
|
+
})(ImportDetailsMethodOfPaymentEnum = exports.ImportDetailsMethodOfPaymentEnum || (exports.ImportDetailsMethodOfPaymentEnum = {}));
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
* @enum {string}
|
|
33
|
+
*/
|
|
34
|
+
var ImportDetailsInternationalCommercialTermsEnum;
|
|
35
|
+
(function (ImportDetailsInternationalCommercialTermsEnum) {
|
|
36
|
+
ImportDetailsInternationalCommercialTermsEnum["ExWorks"] = "ExWorks";
|
|
37
|
+
ImportDetailsInternationalCommercialTermsEnum["FreeCarrier"] = "FreeCarrier";
|
|
38
|
+
ImportDetailsInternationalCommercialTermsEnum["FreeOnBoard"] = "FreeOnBoard";
|
|
39
|
+
ImportDetailsInternationalCommercialTermsEnum["FreeAlongSideShip"] = "FreeAlongSideShip";
|
|
40
|
+
ImportDetailsInternationalCommercialTermsEnum["CarriagePaidTo"] = "CarriagePaidTo";
|
|
41
|
+
ImportDetailsInternationalCommercialTermsEnum["CostAndFreight"] = "CostAndFreight";
|
|
42
|
+
ImportDetailsInternationalCommercialTermsEnum["CarriageAndInsurancePaidTo"] = "CarriageAndInsurancePaidTo";
|
|
43
|
+
ImportDetailsInternationalCommercialTermsEnum["CostInsuranceAndFreight"] = "CostInsuranceAndFreight";
|
|
44
|
+
ImportDetailsInternationalCommercialTermsEnum["DeliveredAtTerminal"] = "DeliveredAtTerminal";
|
|
45
|
+
ImportDetailsInternationalCommercialTermsEnum["DeliveredAtPlace"] = "DeliveredAtPlace";
|
|
46
|
+
ImportDetailsInternationalCommercialTermsEnum["DeliverDutyPaid"] = "DeliverDutyPaid";
|
|
47
|
+
})(ImportDetailsInternationalCommercialTermsEnum = exports.ImportDetailsInternationalCommercialTermsEnum || (exports.ImportDetailsInternationalCommercialTermsEnum = {}));
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
(0, tslib_1.__exportStar)(require("./acknowledgement-status-details"), exports);
|
|
5
|
+
(0, tslib_1.__exportStar)(require("./address"), exports);
|
|
6
|
+
(0, tslib_1.__exportStar)(require("./get-purchase-order-response"), exports);
|
|
7
|
+
(0, tslib_1.__exportStar)(require("./get-purchase-orders-response"), exports);
|
|
8
|
+
(0, tslib_1.__exportStar)(require("./get-purchase-orders-status-response"), exports);
|
|
9
|
+
(0, tslib_1.__exportStar)(require("./import-details"), exports);
|
|
10
|
+
(0, tslib_1.__exportStar)(require("./item-quantity"), exports);
|
|
11
|
+
(0, tslib_1.__exportStar)(require("./model-error"), exports);
|
|
12
|
+
(0, tslib_1.__exportStar)(require("./money"), exports);
|
|
13
|
+
(0, tslib_1.__exportStar)(require("./order"), exports);
|
|
14
|
+
(0, tslib_1.__exportStar)(require("./order-acknowledgement"), exports);
|
|
15
|
+
(0, tslib_1.__exportStar)(require("./order-acknowledgement-item"), exports);
|
|
16
|
+
(0, tslib_1.__exportStar)(require("./order-details"), exports);
|
|
17
|
+
(0, tslib_1.__exportStar)(require("./order-item"), exports);
|
|
18
|
+
(0, tslib_1.__exportStar)(require("./order-item-acknowledgement"), exports);
|
|
19
|
+
(0, tslib_1.__exportStar)(require("./order-item-status"), exports);
|
|
20
|
+
(0, tslib_1.__exportStar)(require("./order-item-status-acknowledgement-status"), exports);
|
|
21
|
+
(0, tslib_1.__exportStar)(require("./order-item-status-ordered-quantity"), exports);
|
|
22
|
+
(0, tslib_1.__exportStar)(require("./order-list"), exports);
|
|
23
|
+
(0, tslib_1.__exportStar)(require("./order-list-status"), exports);
|
|
24
|
+
(0, tslib_1.__exportStar)(require("./order-status"), exports);
|
|
25
|
+
(0, tslib_1.__exportStar)(require("./ordered-quantity-details"), exports);
|
|
26
|
+
(0, tslib_1.__exportStar)(require("./pagination"), exports);
|
|
27
|
+
(0, tslib_1.__exportStar)(require("./party-identification"), exports);
|
|
28
|
+
(0, tslib_1.__exportStar)(require("./submit-acknowledgement-request"), exports);
|
|
29
|
+
(0, tslib_1.__exportStar)(require("./submit-acknowledgement-response"), exports);
|
|
30
|
+
(0, tslib_1.__exportStar)(require("./tax-registration-details"), exports);
|
|
31
|
+
(0, tslib_1.__exportStar)(require("./transaction-id"), exports);
|