@sp-api-sdk/supply-sources-api-2020-07-01 1.1.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/LICENSE +21 -0
- package/README.md +97 -0
- package/dist/cjs/index.js +18 -0
- package/dist/cjs/src/api-model/api/supply-sources-api.js +419 -0
- package/dist/cjs/src/api-model/api.js +30 -0
- package/dist/cjs/src/api-model/base.js +66 -0
- package/dist/cjs/src/api-model/common.js +145 -0
- package/dist/cjs/src/api-model/configuration.js +91 -0
- package/dist/cjs/src/api-model/index.js +32 -0
- package/dist/cjs/src/api-model/models/address-with-contact.js +15 -0
- package/dist/cjs/src/api-model/models/address.js +15 -0
- package/dist/cjs/src/api-model/models/contact-details-primary.js +15 -0
- package/dist/cjs/src/api-model/models/contact-details.js +15 -0
- package/dist/cjs/src/api-model/models/create-supply-source-request.js +15 -0
- package/dist/cjs/src/api-model/models/create-supply-source-response.js +15 -0
- package/dist/cjs/src/api-model/models/curbside-pickup-configuration.js +15 -0
- package/dist/cjs/src/api-model/models/delivery-channel.js +15 -0
- package/dist/cjs/src/api-model/models/duration.js +15 -0
- package/dist/cjs/src/api-model/models/error-list.js +15 -0
- package/dist/cjs/src/api-model/models/get-supply-sources-response.js +15 -0
- package/dist/cjs/src/api-model/models/in-store-pickup-configuration.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +53 -0
- package/dist/cjs/src/api-model/models/model-error.js +15 -0
- package/dist/cjs/src/api-model/models/operating-hour.js +15 -0
- package/dist/cjs/src/api-model/models/operating-hours-by-day.js +15 -0
- package/dist/cjs/src/api-model/models/operational-configuration.js +15 -0
- package/dist/cjs/src/api-model/models/outbound-capability.js +15 -0
- package/dist/cjs/src/api-model/models/parking-configuration.js +15 -0
- package/dist/cjs/src/api-model/models/parking-cost-type.js +25 -0
- package/dist/cjs/src/api-model/models/parking-spot-identification-type.js +25 -0
- package/dist/cjs/src/api-model/models/parking-with-address-configuration-all-of.js +15 -0
- package/dist/cjs/src/api-model/models/parking-with-address-configuration.js +15 -0
- package/dist/cjs/src/api-model/models/pickup-channel.js +15 -0
- package/dist/cjs/src/api-model/models/return-location.js +15 -0
- package/dist/cjs/src/api-model/models/services-capability.js +15 -0
- package/dist/cjs/src/api-model/models/supply-source-capabilities.js +15 -0
- package/dist/cjs/src/api-model/models/supply-source-configuration.js +15 -0
- package/dist/cjs/src/api-model/models/supply-source-list-inner.js +15 -0
- package/dist/cjs/src/api-model/models/supply-source-status-read-only.js +26 -0
- package/dist/cjs/src/api-model/models/supply-source-status.js +25 -0
- package/dist/cjs/src/api-model/models/supply-source.js +15 -0
- package/dist/cjs/src/api-model/models/throughput-cap.js +15 -0
- package/dist/cjs/src/api-model/models/throughput-config.js +15 -0
- package/dist/cjs/src/api-model/models/throughput-unit.js +24 -0
- package/dist/cjs/src/api-model/models/time-unit.js +26 -0
- package/dist/cjs/src/api-model/models/update-supply-source-request.js +15 -0
- package/dist/cjs/src/api-model/models/update-supply-source-status-request.js +15 -0
- package/dist/cjs/src/client.js +13 -0
- package/dist/es/index.js +2 -0
- package/dist/es/src/api-model/api/supply-sources-api.js +409 -0
- package/dist/es/src/api-model/api.js +14 -0
- package/dist/es/src/api-model/base.js +58 -0
- package/dist/es/src/api-model/common.js +133 -0
- package/dist/es/src/api-model/configuration.js +87 -0
- package/dist/es/src/api-model/index.js +16 -0
- package/dist/es/src/api-model/models/address-with-contact.js +14 -0
- package/dist/es/src/api-model/models/address.js +14 -0
- package/dist/es/src/api-model/models/contact-details-primary.js +14 -0
- package/dist/es/src/api-model/models/contact-details.js +14 -0
- package/dist/es/src/api-model/models/create-supply-source-request.js +14 -0
- package/dist/es/src/api-model/models/create-supply-source-response.js +14 -0
- package/dist/es/src/api-model/models/curbside-pickup-configuration.js +14 -0
- package/dist/es/src/api-model/models/delivery-channel.js +14 -0
- package/dist/es/src/api-model/models/duration.js +14 -0
- package/dist/es/src/api-model/models/error-list.js +14 -0
- package/dist/es/src/api-model/models/get-supply-sources-response.js +14 -0
- package/dist/es/src/api-model/models/in-store-pickup-configuration.js +14 -0
- package/dist/es/src/api-model/models/index.js +37 -0
- package/dist/es/src/api-model/models/model-error.js +14 -0
- package/dist/es/src/api-model/models/operating-hour.js +14 -0
- package/dist/es/src/api-model/models/operating-hours-by-day.js +14 -0
- package/dist/es/src/api-model/models/operational-configuration.js +14 -0
- package/dist/es/src/api-model/models/outbound-capability.js +14 -0
- package/dist/es/src/api-model/models/parking-configuration.js +14 -0
- package/dist/es/src/api-model/models/parking-cost-type.js +22 -0
- package/dist/es/src/api-model/models/parking-spot-identification-type.js +22 -0
- package/dist/es/src/api-model/models/parking-with-address-configuration-all-of.js +14 -0
- package/dist/es/src/api-model/models/parking-with-address-configuration.js +14 -0
- package/dist/es/src/api-model/models/pickup-channel.js +14 -0
- package/dist/es/src/api-model/models/return-location.js +14 -0
- package/dist/es/src/api-model/models/services-capability.js +14 -0
- package/dist/es/src/api-model/models/supply-source-capabilities.js +14 -0
- package/dist/es/src/api-model/models/supply-source-configuration.js +14 -0
- package/dist/es/src/api-model/models/supply-source-list-inner.js +14 -0
- package/dist/es/src/api-model/models/supply-source-status-read-only.js +23 -0
- package/dist/es/src/api-model/models/supply-source-status.js +22 -0
- package/dist/es/src/api-model/models/supply-source.js +14 -0
- package/dist/es/src/api-model/models/throughput-cap.js +14 -0
- package/dist/es/src/api-model/models/throughput-config.js +14 -0
- package/dist/es/src/api-model/models/throughput-unit.js +21 -0
- package/dist/es/src/api-model/models/time-unit.js +23 -0
- package/dist/es/src/api-model/models/update-supply-source-request.js +14 -0
- package/dist/es/src/api-model/models/update-supply-source-status-request.js +14 -0
- package/dist/es/src/client.js +9 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/src/api-model/api/supply-sources-api.d.ts +323 -0
- package/dist/types/src/api-model/api.d.ts +12 -0
- package/dist/types/src/api-model/base.d.ts +54 -0
- package/dist/types/src/api-model/common.d.ts +66 -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/address-with-contact.d.ts +32 -0
- package/dist/types/src/api-model/models/address.d.ts +84 -0
- package/dist/types/src/api-model/models/contact-details-primary.d.ts +30 -0
- package/dist/types/src/api-model/models/contact-details.d.ts +25 -0
- package/dist/types/src/api-model/models/create-supply-source-request.d.ts +37 -0
- package/dist/types/src/api-model/models/create-supply-source-response.d.ts +30 -0
- package/dist/types/src/api-model/models/curbside-pickup-configuration.d.ts +38 -0
- package/dist/types/src/api-model/models/delivery-channel.d.ts +31 -0
- package/dist/types/src/api-model/models/duration.d.ts +31 -0
- package/dist/types/src/api-model/models/error-list.d.ts +24 -0
- package/dist/types/src/api-model/models/get-supply-sources-response.d.ts +31 -0
- package/dist/types/src/api-model/models/in-store-pickup-configuration.d.ts +31 -0
- package/dist/types/src/api-model/models/index.d.ts +37 -0
- package/dist/types/src/api-model/models/model-error.d.ts +36 -0
- package/dist/types/src/api-model/models/operating-hour.d.ts +30 -0
- package/dist/types/src/api-model/models/operating-hours-by-day.d.ts +61 -0
- package/dist/types/src/api-model/models/operational-configuration.d.ts +46 -0
- package/dist/types/src/api-model/models/outbound-capability.d.ts +52 -0
- package/dist/types/src/api-model/models/parking-configuration.d.ts +38 -0
- package/dist/types/src/api-model/models/parking-cost-type.d.ts +21 -0
- package/dist/types/src/api-model/models/parking-spot-identification-type.d.ts +21 -0
- package/dist/types/src/api-model/models/parking-with-address-configuration-all-of.d.ts +25 -0
- package/dist/types/src/api-model/models/parking-with-address-configuration.d.ts +19 -0
- package/dist/types/src/api-model/models/pickup-channel.d.ts +52 -0
- package/dist/types/src/api-model/models/return-location.d.ts +31 -0
- package/dist/types/src/api-model/models/services-capability.d.ts +31 -0
- package/dist/types/src/api-model/models/supply-source-capabilities.d.ts +32 -0
- package/dist/types/src/api-model/models/supply-source-configuration.d.ts +31 -0
- package/dist/types/src/api-model/models/supply-source-list-inner.d.ts +43 -0
- package/dist/types/src/api-model/models/supply-source-status-read-only.d.ts +22 -0
- package/dist/types/src/api-model/models/supply-source-status.d.ts +21 -0
- package/dist/types/src/api-model/models/supply-source.d.ts +76 -0
- package/dist/types/src/api-model/models/throughput-cap.d.ts +31 -0
- package/dist/types/src/api-model/models/throughput-config.d.ts +32 -0
- package/dist/types/src/api-model/models/throughput-unit.d.ts +20 -0
- package/dist/types/src/api-model/models/time-unit.d.ts +22 -0
- package/dist/types/src/api-model/models/update-supply-source-request.d.ts +38 -0
- package/dist/types/src/api-model/models/update-supply-source-status-request.d.ts +25 -0
- package/dist/types/src/client.d.ts +6 -0
- package/package.json +44 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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
|
+
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
84
|
+
if (parameter == null)
|
|
85
|
+
return;
|
|
86
|
+
if (typeof parameter === "object") {
|
|
87
|
+
if (Array.isArray(parameter)) {
|
|
88
|
+
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
if (urlSearchParams.has(key)) {
|
|
96
|
+
urlSearchParams.append(key, parameter);
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
urlSearchParams.set(key, parameter);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @export
|
|
106
|
+
*/
|
|
107
|
+
const setSearchParams = function (url, ...objects) {
|
|
108
|
+
const searchParams = new URLSearchParams(url.search);
|
|
109
|
+
setFlattenedQueryParams(searchParams, objects);
|
|
110
|
+
url.search = searchParams.toString();
|
|
111
|
+
};
|
|
112
|
+
exports.setSearchParams = setSearchParams;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @export
|
|
116
|
+
*/
|
|
117
|
+
const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
118
|
+
const nonString = typeof value !== 'string';
|
|
119
|
+
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
120
|
+
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
121
|
+
: nonString;
|
|
122
|
+
return needsSerialization
|
|
123
|
+
? JSON.stringify(value !== undefined ? value : {})
|
|
124
|
+
: (value || "");
|
|
125
|
+
};
|
|
126
|
+
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @export
|
|
130
|
+
*/
|
|
131
|
+
const toPathString = function (url) {
|
|
132
|
+
return url.pathname + url.search + url.hash;
|
|
133
|
+
};
|
|
134
|
+
exports.toPathString = toPathString;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @export
|
|
138
|
+
*/
|
|
139
|
+
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
140
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
141
|
+
const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url };
|
|
142
|
+
return axios.request(axiosRequestArgs);
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
exports.createRequestFunction = createRequestFunction;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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
|
+
/**
|
|
19
|
+
* parameter for apiKey security
|
|
20
|
+
* @param name security name
|
|
21
|
+
* @memberof Configuration
|
|
22
|
+
*/
|
|
23
|
+
apiKey;
|
|
24
|
+
/**
|
|
25
|
+
* parameter for basic security
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Configuration
|
|
29
|
+
*/
|
|
30
|
+
username;
|
|
31
|
+
/**
|
|
32
|
+
* parameter for basic security
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof Configuration
|
|
36
|
+
*/
|
|
37
|
+
password;
|
|
38
|
+
/**
|
|
39
|
+
* parameter for oauth2 security
|
|
40
|
+
* @param name security name
|
|
41
|
+
* @param scopes oauth2 scope
|
|
42
|
+
* @memberof Configuration
|
|
43
|
+
*/
|
|
44
|
+
accessToken;
|
|
45
|
+
/**
|
|
46
|
+
* override base path
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof Configuration
|
|
50
|
+
*/
|
|
51
|
+
basePath;
|
|
52
|
+
/**
|
|
53
|
+
* base options for axios calls
|
|
54
|
+
*
|
|
55
|
+
* @type {any}
|
|
56
|
+
* @memberof Configuration
|
|
57
|
+
*/
|
|
58
|
+
baseOptions;
|
|
59
|
+
/**
|
|
60
|
+
* The FormData constructor that will be used to create multipart form data
|
|
61
|
+
* requests. You can inject this here so that execution environments that
|
|
62
|
+
* do not support the FormData class can still run the generated client.
|
|
63
|
+
*
|
|
64
|
+
* @type {new () => FormData}
|
|
65
|
+
*/
|
|
66
|
+
formDataCtor;
|
|
67
|
+
constructor(param = {}) {
|
|
68
|
+
this.apiKey = param.apiKey;
|
|
69
|
+
this.username = param.username;
|
|
70
|
+
this.password = param.password;
|
|
71
|
+
this.accessToken = param.accessToken;
|
|
72
|
+
this.basePath = param.basePath;
|
|
73
|
+
this.baseOptions = param.baseOptions;
|
|
74
|
+
this.formDataCtor = param.formDataCtor;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Check if the given MIME is a JSON MIME.
|
|
78
|
+
* JSON MIME examples:
|
|
79
|
+
* application/json
|
|
80
|
+
* application/json; charset=UTF8
|
|
81
|
+
* APPLICATION/JSON
|
|
82
|
+
* application/vnd.company+json
|
|
83
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
84
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
85
|
+
*/
|
|
86
|
+
isJsonMime(mime) {
|
|
87
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
88
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.Configuration = Configuration;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
__exportStar(require("./api"), exports);
|
|
31
|
+
__exportStar(require("./configuration"), exports);
|
|
32
|
+
__exportStar(require("./models"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./address"), exports);
|
|
18
|
+
__exportStar(require("./address-with-contact"), exports);
|
|
19
|
+
__exportStar(require("./contact-details"), exports);
|
|
20
|
+
__exportStar(require("./contact-details-primary"), exports);
|
|
21
|
+
__exportStar(require("./create-supply-source-request"), exports);
|
|
22
|
+
__exportStar(require("./create-supply-source-response"), exports);
|
|
23
|
+
__exportStar(require("./curbside-pickup-configuration"), exports);
|
|
24
|
+
__exportStar(require("./delivery-channel"), exports);
|
|
25
|
+
__exportStar(require("./duration"), exports);
|
|
26
|
+
__exportStar(require("./error-list"), exports);
|
|
27
|
+
__exportStar(require("./get-supply-sources-response"), exports);
|
|
28
|
+
__exportStar(require("./in-store-pickup-configuration"), exports);
|
|
29
|
+
__exportStar(require("./model-error"), exports);
|
|
30
|
+
__exportStar(require("./operating-hour"), exports);
|
|
31
|
+
__exportStar(require("./operating-hours-by-day"), exports);
|
|
32
|
+
__exportStar(require("./operational-configuration"), exports);
|
|
33
|
+
__exportStar(require("./outbound-capability"), exports);
|
|
34
|
+
__exportStar(require("./parking-configuration"), exports);
|
|
35
|
+
__exportStar(require("./parking-cost-type"), exports);
|
|
36
|
+
__exportStar(require("./parking-spot-identification-type"), exports);
|
|
37
|
+
__exportStar(require("./parking-with-address-configuration"), exports);
|
|
38
|
+
__exportStar(require("./parking-with-address-configuration-all-of"), exports);
|
|
39
|
+
__exportStar(require("./pickup-channel"), exports);
|
|
40
|
+
__exportStar(require("./return-location"), exports);
|
|
41
|
+
__exportStar(require("./services-capability"), exports);
|
|
42
|
+
__exportStar(require("./supply-source"), exports);
|
|
43
|
+
__exportStar(require("./supply-source-capabilities"), exports);
|
|
44
|
+
__exportStar(require("./supply-source-configuration"), exports);
|
|
45
|
+
__exportStar(require("./supply-source-list-inner"), exports);
|
|
46
|
+
__exportStar(require("./supply-source-status"), exports);
|
|
47
|
+
__exportStar(require("./supply-source-status-read-only"), exports);
|
|
48
|
+
__exportStar(require("./throughput-cap"), exports);
|
|
49
|
+
__exportStar(require("./throughput-config"), exports);
|
|
50
|
+
__exportStar(require("./throughput-unit"), exports);
|
|
51
|
+
__exportStar(require("./time-unit"), exports);
|
|
52
|
+
__exportStar(require("./update-supply-source-request"), exports);
|
|
53
|
+
__exportStar(require("./update-supply-source-status-request"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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.ParkingCostType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The parking cost type.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.ParkingCostType = {
|
|
23
|
+
Free: 'Free',
|
|
24
|
+
Other: 'Other'
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Supply Sources
|
|
6
|
+
* Manage configurations and capabilities of seller supply sources.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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.ParkingSpotIdentificationType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The type of parking spot identification.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.ParkingSpotIdentificationType = {
|
|
23
|
+
Numbered: 'Numbered',
|
|
24
|
+
Other: 'Other'
|
|
25
|
+
};
|