wildberries-sdk 0.1.34 → 0.1.35
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/README.md +1 -0
- package/dist/orders_dbs/apis/DBSApi.d.ts +20 -3
- package/dist/orders_dbs/apis/DBSApi.js +75 -2
- package/dist/orders_dbs/models/ApiB2bClientInfo.d.ts +44 -0
- package/dist/orders_dbs/models/ApiB2bClientInfo.js +53 -0
- package/dist/orders_dbs/models/ApiB2bClientInfoResponse.d.ts +52 -0
- package/dist/orders_dbs/models/ApiB2bClientInfoResponse.js +61 -0
- package/dist/orders_dbs/models/ApiB2bClientInfoResponseErrorsInner.d.ts +38 -0
- package/dist/orders_dbs/models/ApiB2bClientInfoResponseErrorsInner.js +51 -0
- package/dist/orders_dbs/models/ApiB2bClientInfoResponses.d.ts +39 -0
- package/dist/orders_dbs/models/ApiB2bClientInfoResponses.js +54 -0
- package/dist/orders_dbs/models/index.d.ts +4 -0
- package/dist/orders_dbs/models/index.js +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -149,6 +149,7 @@ main().catch(console.error);
|
|
|
149
149
|
- `orders_dbw.DBWApi.apiV3DbwOrdersStickersPost` — Получить стикеры сборочных заданий
|
|
150
150
|
|
|
151
151
|
### orders_dbs (`orders_dbs`)
|
|
152
|
+
- `orders_dbs.DBSApi.apiMarketplaceV3DbsOrdersB2bInfoPost` — Информация о покупателе B2B
|
|
152
153
|
- `orders_dbs.DBSApi.apiMarketplaceV3DbsOrdersMetaCustomsDeclarationPost` — Закрепить за сборочными заданиями номер ГТД
|
|
153
154
|
- `orders_dbs.DBSApi.apiMarketplaceV3DbsOrdersMetaDeletePost` — Удалить метаданные сборочных заданий
|
|
154
155
|
- `orders_dbs.DBSApi.apiMarketplaceV3DbsOrdersMetaGtinPost` — Закрепить GTIN за сборочными заданиями
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApiMarketplaceV3DbsOrdersMetaCustomsDeclarationPostRequest, ApiOrderGroupInner, ApiOrderGroupsRequest, ApiOrderStatusesV2, ApiOrdersCodeRequest, ApiOrdersGTINSetRequest, ApiOrdersIMEISetRequest, ApiOrdersMetaDeleteRequest, ApiOrdersMetaResponse, ApiOrdersRequestV2, ApiOrdersSGTINsSetRequest, ApiOrdersUINSetRequest, ApiStatusSetResponses, ApiV3DbsOrdersGet200Response, ApiV3DbsOrdersNewGet200Response, ApiV3DbsOrdersOrderIdMetaGet200Response, ApiV3DbsOrdersOrderIdMetaGtinPutRequest, ApiV3DbsOrdersOrderIdMetaImeiPutRequest, ApiV3DbsOrdersOrderIdMetaSgtinPutRequest, ApiV3DbsOrdersOrderIdMetaUinPutRequest, ApiV3DbsOrdersStatusPost200Response, ApiV3DbsOrdersStatusPostRequest, Code, DbsOnlyClientInfoResp, DeliveryDatesInfoResp, DeliveryDatesRequest, OrdersRequestAPI } from '../models/index';
|
|
13
|
+
import type { ApiB2bClientInfoResponses, ApiMarketplaceV3DbsOrdersMetaCustomsDeclarationPostRequest, ApiOrderGroupInner, ApiOrderGroupsRequest, ApiOrderStatusesV2, ApiOrdersCodeRequest, ApiOrdersGTINSetRequest, ApiOrdersIMEISetRequest, ApiOrdersMetaDeleteRequest, ApiOrdersMetaResponse, ApiOrdersRequestV2, ApiOrdersSGTINsSetRequest, ApiOrdersUINSetRequest, ApiStatusSetResponses, ApiV3DbsOrdersGet200Response, ApiV3DbsOrdersNewGet200Response, ApiV3DbsOrdersOrderIdMetaGet200Response, ApiV3DbsOrdersOrderIdMetaGtinPutRequest, ApiV3DbsOrdersOrderIdMetaImeiPutRequest, ApiV3DbsOrdersOrderIdMetaSgtinPutRequest, ApiV3DbsOrdersOrderIdMetaUinPutRequest, ApiV3DbsOrdersStatusPost200Response, ApiV3DbsOrdersStatusPostRequest, Code, DbsOnlyClientInfoResp, DeliveryDatesInfoResp, DeliveryDatesRequest, OrdersRequestAPI } from '../models/index';
|
|
14
|
+
export interface ApiMarketplaceV3DbsOrdersB2bInfoPostRequest {
|
|
15
|
+
apiOrdersRequestV2: ApiOrdersRequestV2;
|
|
16
|
+
}
|
|
14
17
|
export interface ApiMarketplaceV3DbsOrdersMetaCustomsDeclarationPostOperationRequest {
|
|
15
18
|
apiMarketplaceV3DbsOrdersMetaCustomsDeclarationPostRequest?: ApiMarketplaceV3DbsOrdersMetaCustomsDeclarationPostRequest;
|
|
16
19
|
}
|
|
@@ -112,17 +115,31 @@ export interface ApiV3DbsOrdersStatusPostOperationRequest {
|
|
|
112
115
|
*
|
|
113
116
|
*/
|
|
114
117
|
export declare class DBSApi extends runtime.BaseAPI {
|
|
118
|
+
/**
|
|
119
|
+
* Creates request options for apiMarketplaceV3DbsOrdersB2bInfoPost without sending the request
|
|
120
|
+
*/
|
|
121
|
+
apiMarketplaceV3DbsOrdersB2bInfoPostRequestOpts(requestParameters: ApiMarketplaceV3DbsOrdersB2bInfoPostRequest): Promise<runtime.RequestOpts>;
|
|
122
|
+
/**
|
|
123
|
+
* Метод возвращает данные B2B-покупателей по ID сборочных заданий: - ИНН - КПП - Наименование организации <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
|
|
124
|
+
* Информация о покупателе B2B
|
|
125
|
+
*/
|
|
126
|
+
apiMarketplaceV3DbsOrdersB2bInfoPostRaw(requestParameters: ApiMarketplaceV3DbsOrdersB2bInfoPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiB2bClientInfoResponses>>;
|
|
127
|
+
/**
|
|
128
|
+
* Метод возвращает данные B2B-покупателей по ID сборочных заданий: - ИНН - КПП - Наименование организации <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
|
|
129
|
+
* Информация о покупателе B2B
|
|
130
|
+
*/
|
|
131
|
+
apiMarketplaceV3DbsOrdersB2bInfoPost(requestParameters: ApiMarketplaceV3DbsOrdersB2bInfoPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiB2bClientInfoResponses>;
|
|
115
132
|
/**
|
|
116
133
|
* Creates request options for apiMarketplaceV3DbsOrdersMetaCustomsDeclarationPost without sending the request
|
|
117
134
|
*/
|
|
118
135
|
apiMarketplaceV3DbsOrdersMetaCustomsDeclarationPostRequestOpts(requestParameters: ApiMarketplaceV3DbsOrdersMetaCustomsDeclarationPostOperationRequest): Promise<runtime.RequestOpts>;
|
|
119
136
|
/**
|
|
120
|
-
* Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `
|
|
137
|
+
* Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `deliver`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 мин | 500 запросов | 120 мс | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
121
138
|
* Закрепить за сборочными заданиями номер ГТД
|
|
122
139
|
*/
|
|
123
140
|
apiMarketplaceV3DbsOrdersMetaCustomsDeclarationPostRaw(requestParameters: ApiMarketplaceV3DbsOrdersMetaCustomsDeclarationPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
124
141
|
/**
|
|
125
|
-
* Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `
|
|
142
|
+
* Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `deliver`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 мин | 500 запросов | 120 мс | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
126
143
|
* Закрепить за сборочными заданиями номер ГТД
|
|
127
144
|
*/
|
|
128
145
|
apiMarketplaceV3DbsOrdersMetaCustomsDeclarationPost(requestParameters?: ApiMarketplaceV3DbsOrdersMetaCustomsDeclarationPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -75,6 +75,79 @@ var DBSApi = /** @class */ (function (_super) {
|
|
|
75
75
|
function DBSApi() {
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* Creates request options for apiMarketplaceV3DbsOrdersB2bInfoPost without sending the request
|
|
80
|
+
*/
|
|
81
|
+
DBSApi.prototype.apiMarketplaceV3DbsOrdersB2bInfoPostRequestOpts = function (requestParameters) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, _a, _b, urlPath;
|
|
84
|
+
return __generator(this, function (_c) {
|
|
85
|
+
switch (_c.label) {
|
|
86
|
+
case 0:
|
|
87
|
+
if (requestParameters['apiOrdersRequestV2'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('apiOrdersRequestV2', 'Required parameter "apiOrdersRequestV2" was null or undefined when calling apiMarketplaceV3DbsOrdersB2bInfoPost().');
|
|
89
|
+
}
|
|
90
|
+
queryParameters = {};
|
|
91
|
+
headerParameters = {};
|
|
92
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
93
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
94
|
+
_a = headerParameters;
|
|
95
|
+
_b = "Authorization";
|
|
96
|
+
return [4 /*yield*/, this.configuration.apiKey("Authorization")];
|
|
97
|
+
case 1:
|
|
98
|
+
_a[_b] = _c.sent(); // HeaderApiKey authentication
|
|
99
|
+
_c.label = 2;
|
|
100
|
+
case 2:
|
|
101
|
+
urlPath = "/api/marketplace/v3/dbs/orders/b2b/info";
|
|
102
|
+
return [2 /*return*/, {
|
|
103
|
+
path: urlPath,
|
|
104
|
+
method: 'POST',
|
|
105
|
+
headers: headerParameters,
|
|
106
|
+
query: queryParameters,
|
|
107
|
+
body: (0, index_1.ApiOrdersRequestV2ToJSON)(requestParameters['apiOrdersRequestV2']),
|
|
108
|
+
}];
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Метод возвращает данные B2B-покупателей по ID сборочных заданий: - ИНН - КПП - Наименование организации <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
|
|
115
|
+
* Информация о покупателе B2B
|
|
116
|
+
*/
|
|
117
|
+
DBSApi.prototype.apiMarketplaceV3DbsOrdersB2bInfoPostRaw = function (requestParameters, initOverrides) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
119
|
+
var requestOptions, response;
|
|
120
|
+
return __generator(this, function (_a) {
|
|
121
|
+
switch (_a.label) {
|
|
122
|
+
case 0: return [4 /*yield*/, this.apiMarketplaceV3DbsOrdersB2bInfoPostRequestOpts(requestParameters)];
|
|
123
|
+
case 1:
|
|
124
|
+
requestOptions = _a.sent();
|
|
125
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
126
|
+
case 2:
|
|
127
|
+
response = _a.sent();
|
|
128
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ApiB2bClientInfoResponsesFromJSON)(jsonValue); })];
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Метод возвращает данные B2B-покупателей по ID сборочных заданий: - ИНН - КПП - Наименование организации <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
|
|
135
|
+
* Информация о покупателе B2B
|
|
136
|
+
*/
|
|
137
|
+
DBSApi.prototype.apiMarketplaceV3DbsOrdersB2bInfoPost = function (requestParameters, initOverrides) {
|
|
138
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
139
|
+
var response;
|
|
140
|
+
return __generator(this, function (_a) {
|
|
141
|
+
switch (_a.label) {
|
|
142
|
+
case 0: return [4 /*yield*/, this.apiMarketplaceV3DbsOrdersB2bInfoPostRaw(requestParameters, initOverrides)];
|
|
143
|
+
case 1:
|
|
144
|
+
response = _a.sent();
|
|
145
|
+
return [4 /*yield*/, response.value()];
|
|
146
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
});
|
|
150
|
+
};
|
|
78
151
|
/**
|
|
79
152
|
* Creates request options for apiMarketplaceV3DbsOrdersMetaCustomsDeclarationPost without sending the request
|
|
80
153
|
*/
|
|
@@ -108,7 +181,7 @@ var DBSApi = /** @class */ (function (_super) {
|
|
|
108
181
|
});
|
|
109
182
|
};
|
|
110
183
|
/**
|
|
111
|
-
* Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `
|
|
184
|
+
* Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `deliver`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 мин | 500 запросов | 120 мс | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
112
185
|
* Закрепить за сборочными заданиями номер ГТД
|
|
113
186
|
*/
|
|
114
187
|
DBSApi.prototype.apiMarketplaceV3DbsOrdersMetaCustomsDeclarationPostRaw = function (requestParameters, initOverrides) {
|
|
@@ -128,7 +201,7 @@ var DBSApi = /** @class */ (function (_super) {
|
|
|
128
201
|
});
|
|
129
202
|
};
|
|
130
203
|
/**
|
|
131
|
-
* Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `
|
|
204
|
+
* Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `deliver`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 мин | 500 запросов | 120 мс | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
132
205
|
* Закрепить за сборочными заданиями номер ГТД
|
|
133
206
|
*/
|
|
134
207
|
DBSApi.prototype.apiMarketplaceV3DbsOrdersMetaCustomsDeclarationPost = function () {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Заказы DBS
|
|
3
|
+
* <div class=\"description_important\"> Узнать больше о заказах DBS можно в <a href=\"https://seller.wildberries.ru/instructions/category/6572e024-7428-4db1-86a8-a4c7dbebbfcf?goBackOption=prevRoute&categoryId=5a8e1202-0865-45b7-acae-5d0afc7add56\">справочном центре</a> </div> Управление [сборочными заданиями](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) и [метаданными](/openapi/orders-dbs#tag/Metadannye-DBS) заказов DBS (Delivery by Seller).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: order
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Данные покупателя B2B
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiB2bClientInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiB2bClientInfo {
|
|
18
|
+
/**
|
|
19
|
+
* Индивидуальный номер налогоплательщика (ИНН)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiB2bClientInfo
|
|
22
|
+
*/
|
|
23
|
+
inn?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Код причины постановки на учёт (КПП)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiB2bClientInfo
|
|
28
|
+
*/
|
|
29
|
+
kpp?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Наименование организации
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiB2bClientInfo
|
|
34
|
+
*/
|
|
35
|
+
orgName?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApiB2bClientInfo interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApiB2bClientInfo(value: object): value is ApiB2bClientInfo;
|
|
41
|
+
export declare function ApiB2bClientInfoFromJSON(json: any): ApiB2bClientInfo;
|
|
42
|
+
export declare function ApiB2bClientInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiB2bClientInfo;
|
|
43
|
+
export declare function ApiB2bClientInfoToJSON(json: any): ApiB2bClientInfo;
|
|
44
|
+
export declare function ApiB2bClientInfoToJSONTyped(value?: ApiB2bClientInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Заказы DBS
|
|
6
|
+
* <div class=\"description_important\"> Узнать больше о заказах DBS можно в <a href=\"https://seller.wildberries.ru/instructions/category/6572e024-7428-4db1-86a8-a4c7dbebbfcf?goBackOption=prevRoute&categoryId=5a8e1202-0865-45b7-acae-5d0afc7add56\">справочном центре</a> </div> Управление [сборочными заданиями](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) и [метаданными](/openapi/orders-dbs#tag/Metadannye-DBS) заказов DBS (Delivery by Seller).
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: order
|
|
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.instanceOfApiB2bClientInfo = instanceOfApiB2bClientInfo;
|
|
17
|
+
exports.ApiB2bClientInfoFromJSON = ApiB2bClientInfoFromJSON;
|
|
18
|
+
exports.ApiB2bClientInfoFromJSONTyped = ApiB2bClientInfoFromJSONTyped;
|
|
19
|
+
exports.ApiB2bClientInfoToJSON = ApiB2bClientInfoToJSON;
|
|
20
|
+
exports.ApiB2bClientInfoToJSONTyped = ApiB2bClientInfoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiB2bClientInfo interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiB2bClientInfo(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ApiB2bClientInfoFromJSON(json) {
|
|
28
|
+
return ApiB2bClientInfoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ApiB2bClientInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'inn': json['inn'] == null ? undefined : json['inn'],
|
|
36
|
+
'kpp': json['kpp'] == null ? undefined : json['kpp'],
|
|
37
|
+
'orgName': json['orgName'] == null ? undefined : json['orgName'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ApiB2bClientInfoToJSON(json) {
|
|
41
|
+
return ApiB2bClientInfoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ApiB2bClientInfoToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'inn': value['inn'],
|
|
50
|
+
'kpp': value['kpp'],
|
|
51
|
+
'orgName': value['orgName'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Заказы DBS
|
|
3
|
+
* <div class=\"description_important\"> Узнать больше о заказах DBS можно в <a href=\"https://seller.wildberries.ru/instructions/category/6572e024-7428-4db1-86a8-a4c7dbebbfcf?goBackOption=prevRoute&categoryId=5a8e1202-0865-45b7-acae-5d0afc7add56\">справочном центре</a> </div> Управление [сборочными заданиями](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) и [метаданными](/openapi/orders-dbs#tag/Metadannye-DBS) заказов DBS (Delivery by Seller).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: order
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiB2bClientInfo } from './ApiB2bClientInfo';
|
|
13
|
+
import type { ApiB2bClientInfoResponseErrorsInner } from './ApiB2bClientInfoResponseErrorsInner';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ApiB2bClientInfoResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface ApiB2bClientInfoResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ApiB2bClientInfo}
|
|
23
|
+
* @memberof ApiB2bClientInfoResponse
|
|
24
|
+
*/
|
|
25
|
+
data?: ApiB2bClientInfo;
|
|
26
|
+
/**
|
|
27
|
+
* Детали ошибки
|
|
28
|
+
* @type {Array<ApiB2bClientInfoResponseErrorsInner>}
|
|
29
|
+
* @memberof ApiB2bClientInfoResponse
|
|
30
|
+
*/
|
|
31
|
+
errors?: Array<ApiB2bClientInfoResponseErrorsInner>;
|
|
32
|
+
/**
|
|
33
|
+
* Есть ли ошибки
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof ApiB2bClientInfoResponse
|
|
36
|
+
*/
|
|
37
|
+
isError: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* ID сборочного задания
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof ApiB2bClientInfoResponse
|
|
42
|
+
*/
|
|
43
|
+
orderId: number;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the ApiB2bClientInfoResponse interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfApiB2bClientInfoResponse(value: object): value is ApiB2bClientInfoResponse;
|
|
49
|
+
export declare function ApiB2bClientInfoResponseFromJSON(json: any): ApiB2bClientInfoResponse;
|
|
50
|
+
export declare function ApiB2bClientInfoResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiB2bClientInfoResponse;
|
|
51
|
+
export declare function ApiB2bClientInfoResponseToJSON(json: any): ApiB2bClientInfoResponse;
|
|
52
|
+
export declare function ApiB2bClientInfoResponseToJSONTyped(value?: ApiB2bClientInfoResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Заказы DBS
|
|
6
|
+
* <div class=\"description_important\"> Узнать больше о заказах DBS можно в <a href=\"https://seller.wildberries.ru/instructions/category/6572e024-7428-4db1-86a8-a4c7dbebbfcf?goBackOption=prevRoute&categoryId=5a8e1202-0865-45b7-acae-5d0afc7add56\">справочном центре</a> </div> Управление [сборочными заданиями](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) и [метаданными](/openapi/orders-dbs#tag/Metadannye-DBS) заказов DBS (Delivery by Seller).
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: order
|
|
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.instanceOfApiB2bClientInfoResponse = instanceOfApiB2bClientInfoResponse;
|
|
17
|
+
exports.ApiB2bClientInfoResponseFromJSON = ApiB2bClientInfoResponseFromJSON;
|
|
18
|
+
exports.ApiB2bClientInfoResponseFromJSONTyped = ApiB2bClientInfoResponseFromJSONTyped;
|
|
19
|
+
exports.ApiB2bClientInfoResponseToJSON = ApiB2bClientInfoResponseToJSON;
|
|
20
|
+
exports.ApiB2bClientInfoResponseToJSONTyped = ApiB2bClientInfoResponseToJSONTyped;
|
|
21
|
+
var ApiB2bClientInfo_1 = require("./ApiB2bClientInfo");
|
|
22
|
+
var ApiB2bClientInfoResponseErrorsInner_1 = require("./ApiB2bClientInfoResponseErrorsInner");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ApiB2bClientInfoResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfApiB2bClientInfoResponse(value) {
|
|
27
|
+
if (!('isError' in value) || value['isError'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('orderId' in value) || value['orderId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ApiB2bClientInfoResponseFromJSON(json) {
|
|
34
|
+
return ApiB2bClientInfoResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ApiB2bClientInfoResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': json['data'] == null ? undefined : (0, ApiB2bClientInfo_1.ApiB2bClientInfoFromJSON)(json['data']),
|
|
42
|
+
'errors': json['errors'] == null ? undefined : (json['errors'].map(ApiB2bClientInfoResponseErrorsInner_1.ApiB2bClientInfoResponseErrorsInnerFromJSON)),
|
|
43
|
+
'isError': json['isError'],
|
|
44
|
+
'orderId': json['orderId'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function ApiB2bClientInfoResponseToJSON(json) {
|
|
48
|
+
return ApiB2bClientInfoResponseToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function ApiB2bClientInfoResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'data': (0, ApiB2bClientInfo_1.ApiB2bClientInfoToJSON)(value['data']),
|
|
57
|
+
'errors': value['errors'] == null ? undefined : (value['errors'].map(ApiB2bClientInfoResponseErrorsInner_1.ApiB2bClientInfoResponseErrorsInnerToJSON)),
|
|
58
|
+
'isError': value['isError'],
|
|
59
|
+
'orderId': value['orderId'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Заказы DBS
|
|
3
|
+
* <div class=\"description_important\"> Узнать больше о заказах DBS можно в <a href=\"https://seller.wildberries.ru/instructions/category/6572e024-7428-4db1-86a8-a4c7dbebbfcf?goBackOption=prevRoute&categoryId=5a8e1202-0865-45b7-acae-5d0afc7add56\">справочном центре</a> </div> Управление [сборочными заданиями](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) и [метаданными](/openapi/orders-dbs#tag/Metadannye-DBS) заказов DBS (Delivery by Seller).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: order
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiB2bClientInfoResponseErrorsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiB2bClientInfoResponseErrorsInner {
|
|
18
|
+
/**
|
|
19
|
+
* Код ошибки
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ApiB2bClientInfoResponseErrorsInner
|
|
22
|
+
*/
|
|
23
|
+
code?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Описание ошибки
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiB2bClientInfoResponseErrorsInner
|
|
28
|
+
*/
|
|
29
|
+
detail?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiB2bClientInfoResponseErrorsInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiB2bClientInfoResponseErrorsInner(value: object): value is ApiB2bClientInfoResponseErrorsInner;
|
|
35
|
+
export declare function ApiB2bClientInfoResponseErrorsInnerFromJSON(json: any): ApiB2bClientInfoResponseErrorsInner;
|
|
36
|
+
export declare function ApiB2bClientInfoResponseErrorsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiB2bClientInfoResponseErrorsInner;
|
|
37
|
+
export declare function ApiB2bClientInfoResponseErrorsInnerToJSON(json: any): ApiB2bClientInfoResponseErrorsInner;
|
|
38
|
+
export declare function ApiB2bClientInfoResponseErrorsInnerToJSONTyped(value?: ApiB2bClientInfoResponseErrorsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Заказы DBS
|
|
6
|
+
* <div class=\"description_important\"> Узнать больше о заказах DBS можно в <a href=\"https://seller.wildberries.ru/instructions/category/6572e024-7428-4db1-86a8-a4c7dbebbfcf?goBackOption=prevRoute&categoryId=5a8e1202-0865-45b7-acae-5d0afc7add56\">справочном центре</a> </div> Управление [сборочными заданиями](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) и [метаданными](/openapi/orders-dbs#tag/Metadannye-DBS) заказов DBS (Delivery by Seller).
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: order
|
|
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.instanceOfApiB2bClientInfoResponseErrorsInner = instanceOfApiB2bClientInfoResponseErrorsInner;
|
|
17
|
+
exports.ApiB2bClientInfoResponseErrorsInnerFromJSON = ApiB2bClientInfoResponseErrorsInnerFromJSON;
|
|
18
|
+
exports.ApiB2bClientInfoResponseErrorsInnerFromJSONTyped = ApiB2bClientInfoResponseErrorsInnerFromJSONTyped;
|
|
19
|
+
exports.ApiB2bClientInfoResponseErrorsInnerToJSON = ApiB2bClientInfoResponseErrorsInnerToJSON;
|
|
20
|
+
exports.ApiB2bClientInfoResponseErrorsInnerToJSONTyped = ApiB2bClientInfoResponseErrorsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiB2bClientInfoResponseErrorsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiB2bClientInfoResponseErrorsInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ApiB2bClientInfoResponseErrorsInnerFromJSON(json) {
|
|
28
|
+
return ApiB2bClientInfoResponseErrorsInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ApiB2bClientInfoResponseErrorsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
36
|
+
'detail': json['detail'] == null ? undefined : json['detail'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ApiB2bClientInfoResponseErrorsInnerToJSON(json) {
|
|
40
|
+
return ApiB2bClientInfoResponseErrorsInnerToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ApiB2bClientInfoResponseErrorsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'code': value['code'],
|
|
49
|
+
'detail': value['detail'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Заказы DBS
|
|
3
|
+
* <div class=\"description_important\"> Узнать больше о заказах DBS можно в <a href=\"https://seller.wildberries.ru/instructions/category/6572e024-7428-4db1-86a8-a4c7dbebbfcf?goBackOption=prevRoute&categoryId=5a8e1202-0865-45b7-acae-5d0afc7add56\">справочном центре</a> </div> Управление [сборочными заданиями](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) и [метаданными](/openapi/orders-dbs#tag/Metadannye-DBS) заказов DBS (Delivery by Seller).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: order
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiB2bClientInfoResponse } from './ApiB2bClientInfoResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiB2bClientInfoResponses
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiB2bClientInfoResponses {
|
|
19
|
+
/**
|
|
20
|
+
* Уникальный ID запроса
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ApiB2bClientInfoResponses
|
|
23
|
+
*/
|
|
24
|
+
requestId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<ApiB2bClientInfoResponse>}
|
|
28
|
+
* @memberof ApiB2bClientInfoResponses
|
|
29
|
+
*/
|
|
30
|
+
results?: Array<ApiB2bClientInfoResponse>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ApiB2bClientInfoResponses interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfApiB2bClientInfoResponses(value: object): value is ApiB2bClientInfoResponses;
|
|
36
|
+
export declare function ApiB2bClientInfoResponsesFromJSON(json: any): ApiB2bClientInfoResponses;
|
|
37
|
+
export declare function ApiB2bClientInfoResponsesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiB2bClientInfoResponses;
|
|
38
|
+
export declare function ApiB2bClientInfoResponsesToJSON(json: any): ApiB2bClientInfoResponses;
|
|
39
|
+
export declare function ApiB2bClientInfoResponsesToJSONTyped(value?: ApiB2bClientInfoResponses | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Заказы DBS
|
|
6
|
+
* <div class=\"description_important\"> Узнать больше о заказах DBS можно в <a href=\"https://seller.wildberries.ru/instructions/category/6572e024-7428-4db1-86a8-a4c7dbebbfcf?goBackOption=prevRoute&categoryId=5a8e1202-0865-45b7-acae-5d0afc7add56\">справочном центре</a> </div> Управление [сборочными заданиями](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) и [метаданными](/openapi/orders-dbs#tag/Metadannye-DBS) заказов DBS (Delivery by Seller).
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: order
|
|
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.instanceOfApiB2bClientInfoResponses = instanceOfApiB2bClientInfoResponses;
|
|
17
|
+
exports.ApiB2bClientInfoResponsesFromJSON = ApiB2bClientInfoResponsesFromJSON;
|
|
18
|
+
exports.ApiB2bClientInfoResponsesFromJSONTyped = ApiB2bClientInfoResponsesFromJSONTyped;
|
|
19
|
+
exports.ApiB2bClientInfoResponsesToJSON = ApiB2bClientInfoResponsesToJSON;
|
|
20
|
+
exports.ApiB2bClientInfoResponsesToJSONTyped = ApiB2bClientInfoResponsesToJSONTyped;
|
|
21
|
+
var ApiB2bClientInfoResponse_1 = require("./ApiB2bClientInfoResponse");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApiB2bClientInfoResponses interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfApiB2bClientInfoResponses(value) {
|
|
26
|
+
if (!('requestId' in value) || value['requestId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ApiB2bClientInfoResponsesFromJSON(json) {
|
|
31
|
+
return ApiB2bClientInfoResponsesFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ApiB2bClientInfoResponsesFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'requestId': json['requestId'],
|
|
39
|
+
'results': json['results'] == null ? undefined : (json['results'].map(ApiB2bClientInfoResponse_1.ApiB2bClientInfoResponseFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function ApiB2bClientInfoResponsesToJSON(json) {
|
|
43
|
+
return ApiB2bClientInfoResponsesToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ApiB2bClientInfoResponsesToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'requestId': value['requestId'],
|
|
52
|
+
'results': value['results'] == null ? undefined : (value['results'].map(ApiB2bClientInfoResponse_1.ApiB2bClientInfoResponseToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export * from './ApiB2bClientInfo';
|
|
2
|
+
export * from './ApiB2bClientInfoResponse';
|
|
3
|
+
export * from './ApiB2bClientInfoResponseErrorsInner';
|
|
4
|
+
export * from './ApiB2bClientInfoResponses';
|
|
1
5
|
export * from './ApiBatchError';
|
|
2
6
|
export * from './ApiBatchErrorResponse';
|
|
3
7
|
export * from './ApiError';
|
|
@@ -16,6 +16,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./ApiB2bClientInfo"), exports);
|
|
20
|
+
__exportStar(require("./ApiB2bClientInfoResponse"), exports);
|
|
21
|
+
__exportStar(require("./ApiB2bClientInfoResponseErrorsInner"), exports);
|
|
22
|
+
__exportStar(require("./ApiB2bClientInfoResponses"), exports);
|
|
19
23
|
__exportStar(require("./ApiBatchError"), exports);
|
|
20
24
|
__exportStar(require("./ApiBatchErrorResponse"), exports);
|
|
21
25
|
__exportStar(require("./ApiError"), exports);
|