wildberries-sdk 0.1.194 → 0.1.195
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics/apis/DefaultApi.d.ts +2 -2
- package/dist/analytics/apis/DefaultApi.js +4 -4
- package/dist/analytics/models/{CommonShippingOfficeFilters.d.ts → CommonDispatchOfficeFilters.d.ts} +8 -8
- package/dist/analytics/models/{CommonShippingOfficeFilters.js → CommonDispatchOfficeFilters.js} +13 -13
- package/dist/analytics/models/PostV2StocksReportOffices200Response.d.ts +2 -2
- package/dist/analytics/models/PostV2StocksReportOffices200Response.js +3 -3
- package/dist/analytics/models/{TableShippingOfficeItem.d.ts → TableDispatchOfficeItem.d.ts} +12 -12
- package/dist/analytics/models/{TableShippingOfficeItem.js → TableDispatchOfficeItem.js} +19 -19
- package/dist/analytics/models/{TableShippingOfficeItemOfficesInner.d.ts → TableDispatchOfficeItemOfficesInner.d.ts} +10 -10
- package/dist/analytics/models/{TableShippingOfficeItemOfficesInner.js → TableDispatchOfficeItemOfficesInner.js} +16 -16
- package/dist/analytics/models/{TableShippingOfficeMetrics.d.ts → TableDispatchOfficeMetrics.d.ts} +8 -8
- package/dist/analytics/models/{TableShippingOfficeMetrics.js → TableDispatchOfficeMetrics.js} +13 -13
- package/dist/analytics/models/{TableShippingOfficeRequest.d.ts → TableDispatchOfficeRequest.d.ts} +8 -8
- package/dist/analytics/models/{TableShippingOfficeRequest.js → TableDispatchOfficeRequest.js} +13 -13
- package/dist/analytics/models/{TableShippingOfficeResponse.d.ts → TableDispatchOfficeResponse.d.ts} +10 -10
- package/dist/analytics/models/{TableShippingOfficeResponse.js → TableDispatchOfficeResponse.js} +16 -16
- package/dist/analytics/models/index.d.ts +6 -6
- package/dist/analytics/models/index.js +6 -6
- package/dist/orders_fbs/apis/FBSApi.d.ts +8 -8
- package/dist/orders_fbs/apis/FBSApi.js +8 -8
- package/dist/orders_fbs/models/OrderNew.d.ts +1 -1
- package/dist/orders_fbs/models/OrderNew.js +2 -2
- package/dist/orders_fbs/models/Supply.d.ts +1 -1
- package/dist/orders_fbs/models/Supply.js +2 -2
- package/dist/orders_fbs/models/{SupplyShippingPoint.d.ts → SupplyDispatchPoint.d.ts} +8 -8
- package/dist/orders_fbs/models/{SupplyShippingPoint.js → SupplyDispatchPoint.js} +13 -13
- package/dist/orders_fbs/models/{SupplyShippingPointsResponse.d.ts → SupplyDispatchPointsResponse.d.ts} +10 -10
- package/dist/orders_fbs/models/{SupplyShippingPointsResponse.js → SupplyDispatchPointsResponse.js} +16 -16
- package/dist/orders_fbs/models/{UpdateSuppliesShippingMethodRequest.d.ts → UpdateSuppliesDispatchMethodRequest.d.ts} +8 -8
- package/dist/orders_fbs/models/{UpdateSuppliesShippingMethodRequest.js → UpdateSuppliesDispatchMethodRequest.js} +13 -13
- package/dist/orders_fbs/models/{UpdateSuppliesShippingMethodResponse.d.ts → UpdateSuppliesDispatchMethodResponse.d.ts} +10 -10
- package/dist/orders_fbs/models/{UpdateSuppliesShippingMethodResponse.js → UpdateSuppliesDispatchMethodResponse.js} +16 -16
- package/dist/orders_fbs/models/{UpdatedSuppliesShippingMethod.d.ts → UpdatedSuppliesDispatchMethod.d.ts} +10 -10
- package/dist/orders_fbs/models/{UpdatedSuppliesShippingMethod.js → UpdatedSuppliesDispatchMethod.js} +16 -16
- package/dist/orders_fbs/models/{UpdatedSuppliesShippingMethodError.d.ts → UpdatedSuppliesDispatchMethodError.d.ts} +8 -8
- package/dist/orders_fbs/models/{UpdatedSuppliesShippingMethodError.js → UpdatedSuppliesDispatchMethodError.js} +13 -13
- package/dist/orders_fbs/models/index.d.ts +6 -6
- package/dist/orders_fbs/models/index.js +6 -6
- package/package.json +1 -1
|
@@ -36,10 +36,10 @@ import { type PostV2StocksReportProductsSizes200Response } from '../models/PostV
|
|
|
36
36
|
import { type PostV3SalesFunnelGroupedHistory200Response } from '../models/PostV3SalesFunnelGroupedHistory200Response';
|
|
37
37
|
import { type PostV3SalesFunnelProducts200Response } from '../models/PostV3SalesFunnelProducts200Response';
|
|
38
38
|
import { type TableDetailsRequest } from '../models/TableDetailsRequest';
|
|
39
|
+
import { type TableDispatchOfficeRequest } from '../models/TableDispatchOfficeRequest';
|
|
39
40
|
import { type TableGroupRequest } from '../models/TableGroupRequest';
|
|
40
41
|
import { type TableGroupRequestSt } from '../models/TableGroupRequestSt';
|
|
41
42
|
import { type TableItemRequest } from '../models/TableItemRequest';
|
|
42
|
-
import { type TableShippingOfficeRequest } from '../models/TableShippingOfficeRequest';
|
|
43
43
|
import { type TableSizeRequest } from '../models/TableSizeRequest';
|
|
44
44
|
export interface PostV1OrderFeedRequest {
|
|
45
45
|
/**
|
|
@@ -99,7 +99,7 @@ export interface PostV2StocksReportOfficesRequest {
|
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
101
101
|
*/
|
|
102
|
-
|
|
102
|
+
tableDispatchOfficeRequest: TableDispatchOfficeRequest;
|
|
103
103
|
}
|
|
104
104
|
export interface PostV2StocksReportProductsGroupsRequest {
|
|
105
105
|
/**
|
|
@@ -92,10 +92,10 @@ var PostV2StocksReportProductsSizes200Response_1 = require("../models/PostV2Stoc
|
|
|
92
92
|
var PostV3SalesFunnelGroupedHistory200Response_1 = require("../models/PostV3SalesFunnelGroupedHistory200Response");
|
|
93
93
|
var PostV3SalesFunnelProducts200Response_1 = require("../models/PostV3SalesFunnelProducts200Response");
|
|
94
94
|
var TableDetailsRequest_1 = require("../models/TableDetailsRequest");
|
|
95
|
+
var TableDispatchOfficeRequest_1 = require("../models/TableDispatchOfficeRequest");
|
|
95
96
|
var TableGroupRequest_1 = require("../models/TableGroupRequest");
|
|
96
97
|
var TableGroupRequestSt_1 = require("../models/TableGroupRequestSt");
|
|
97
98
|
var TableItemRequest_1 = require("../models/TableItemRequest");
|
|
98
|
-
var TableShippingOfficeRequest_1 = require("../models/TableShippingOfficeRequest");
|
|
99
99
|
var TableSizeRequest_1 = require("../models/TableSizeRequest");
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
@@ -787,8 +787,8 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
787
787
|
return __generator(this, function (_c) {
|
|
788
788
|
switch (_c.label) {
|
|
789
789
|
case 0:
|
|
790
|
-
if (requestParameters['
|
|
791
|
-
throw new runtime.RequiredError('
|
|
790
|
+
if (requestParameters['tableDispatchOfficeRequest'] == null) {
|
|
791
|
+
throw new runtime.RequiredError('tableDispatchOfficeRequest', 'Required parameter "tableDispatchOfficeRequest" was null or undefined when calling postV2StocksReportOffices().');
|
|
792
792
|
}
|
|
793
793
|
queryParameters = {};
|
|
794
794
|
headerParameters = {};
|
|
@@ -807,7 +807,7 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
807
807
|
method: 'POST',
|
|
808
808
|
headers: headerParameters,
|
|
809
809
|
query: queryParameters,
|
|
810
|
-
body: (0,
|
|
810
|
+
body: (0, TableDispatchOfficeRequest_1.TableDispatchOfficeRequestToJSON)(requestParameters['tableDispatchOfficeRequest']),
|
|
811
811
|
}];
|
|
812
812
|
}
|
|
813
813
|
});
|
package/dist/analytics/models/{CommonShippingOfficeFilters.d.ts → CommonDispatchOfficeFilters.d.ts}
RENAMED
|
@@ -14,9 +14,9 @@ import type { StockType } from './StockType';
|
|
|
14
14
|
/**
|
|
15
15
|
* Общие фильтры по регионам отгрузки
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface CommonDispatchOfficeFilters
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface CommonDispatchOfficeFilters {
|
|
20
20
|
/**
|
|
21
21
|
* Список артикулов WB для фильтрации
|
|
22
22
|
*/
|
|
@@ -47,10 +47,10 @@ export interface CommonShippingOfficeFilters {
|
|
|
47
47
|
skipDeletedNm: boolean;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
* Check if a given object implements the
|
|
50
|
+
* Check if a given object implements the CommonDispatchOfficeFilters interface.
|
|
51
51
|
*/
|
|
52
|
-
export declare function
|
|
53
|
-
export declare function
|
|
54
|
-
export declare function
|
|
55
|
-
export declare function
|
|
56
|
-
export declare function
|
|
52
|
+
export declare function instanceOfCommonDispatchOfficeFilters(value: object): value is CommonDispatchOfficeFilters;
|
|
53
|
+
export declare function CommonDispatchOfficeFiltersFromJSON(json: any): CommonDispatchOfficeFilters;
|
|
54
|
+
export declare function CommonDispatchOfficeFiltersFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommonDispatchOfficeFilters;
|
|
55
|
+
export declare function CommonDispatchOfficeFiltersToJSON(json: any): CommonDispatchOfficeFilters;
|
|
56
|
+
export declare function CommonDispatchOfficeFiltersToJSONTyped(value?: CommonDispatchOfficeFilters | null, ignoreDiscriminator?: boolean): any;
|
package/dist/analytics/models/{CommonShippingOfficeFilters.js → CommonDispatchOfficeFilters.js}
RENAMED
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfCommonDispatchOfficeFilters = instanceOfCommonDispatchOfficeFilters;
|
|
17
|
+
exports.CommonDispatchOfficeFiltersFromJSON = CommonDispatchOfficeFiltersFromJSON;
|
|
18
|
+
exports.CommonDispatchOfficeFiltersFromJSONTyped = CommonDispatchOfficeFiltersFromJSONTyped;
|
|
19
|
+
exports.CommonDispatchOfficeFiltersToJSON = CommonDispatchOfficeFiltersToJSON;
|
|
20
|
+
exports.CommonDispatchOfficeFiltersToJSONTyped = CommonDispatchOfficeFiltersToJSONTyped;
|
|
21
21
|
var PeriodInv_1 = require("./PeriodInv");
|
|
22
22
|
var StockType_1 = require("./StockType");
|
|
23
23
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the CommonDispatchOfficeFilters interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfCommonDispatchOfficeFilters(value) {
|
|
27
27
|
if (!('currentPeriod' in value) || value['currentPeriod'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
if (!('stockType' in value) || value['stockType'] === undefined)
|
|
@@ -32,10 +32,10 @@ function instanceOfCommonShippingOfficeFilters(value) {
|
|
|
32
32
|
return false;
|
|
33
33
|
return true;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
return
|
|
35
|
+
function CommonDispatchOfficeFiltersFromJSON(json) {
|
|
36
|
+
return CommonDispatchOfficeFiltersFromJSONTyped(json, false);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function CommonDispatchOfficeFiltersFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
39
|
if (json == null) {
|
|
40
40
|
return json;
|
|
41
41
|
}
|
|
@@ -49,10 +49,10 @@ function CommonShippingOfficeFiltersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'skipDeletedNm': json['skipDeletedNm'],
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return
|
|
52
|
+
function CommonDispatchOfficeFiltersToJSON(json) {
|
|
53
|
+
return CommonDispatchOfficeFiltersToJSONTyped(json, false);
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function CommonDispatchOfficeFiltersToJSONTyped(value, ignoreDiscriminator) {
|
|
56
56
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
57
|
if (value == null) {
|
|
58
58
|
return value;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { TableDispatchOfficeResponse } from './TableDispatchOfficeResponse';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -19,7 +19,7 @@ export interface PostV2StocksReportOffices200Response {
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
data:
|
|
22
|
+
data: TableDispatchOfficeResponse;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the PostV2StocksReportOffices200Response interface.
|
|
@@ -18,7 +18,7 @@ exports.PostV2StocksReportOffices200ResponseFromJSON = PostV2StocksReportOffices
|
|
|
18
18
|
exports.PostV2StocksReportOffices200ResponseFromJSONTyped = PostV2StocksReportOffices200ResponseFromJSONTyped;
|
|
19
19
|
exports.PostV2StocksReportOffices200ResponseToJSON = PostV2StocksReportOffices200ResponseToJSON;
|
|
20
20
|
exports.PostV2StocksReportOffices200ResponseToJSONTyped = PostV2StocksReportOffices200ResponseToJSONTyped;
|
|
21
|
-
var
|
|
21
|
+
var TableDispatchOfficeResponse_1 = require("./TableDispatchOfficeResponse");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the PostV2StocksReportOffices200Response interface.
|
|
24
24
|
*/
|
|
@@ -35,7 +35,7 @@ function PostV2StocksReportOffices200ResponseFromJSONTyped(json, ignoreDiscrimin
|
|
|
35
35
|
return json;
|
|
36
36
|
}
|
|
37
37
|
return {
|
|
38
|
-
'data': (0,
|
|
38
|
+
'data': (0, TableDispatchOfficeResponse_1.TableDispatchOfficeResponseFromJSON)(json['data']),
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
function PostV2StocksReportOffices200ResponseToJSON(json) {
|
|
@@ -47,6 +47,6 @@ function PostV2StocksReportOffices200ResponseToJSONTyped(value, ignoreDiscrimina
|
|
|
47
47
|
return value;
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
|
-
'data': (0,
|
|
50
|
+
'data': (0, TableDispatchOfficeResponse_1.TableDispatchOfficeResponseToJSON)(value['data']),
|
|
51
51
|
};
|
|
52
52
|
}
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
12
|
+
import type { TableDispatchOfficeItemOfficesInner } from './TableDispatchOfficeItemOfficesInner';
|
|
13
|
+
import type { TableDispatchOfficeMetrics } from './TableDispatchOfficeMetrics';
|
|
14
14
|
/**
|
|
15
15
|
* Данные по региону отгрузки
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface TableDispatchOfficeItem
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface TableDispatchOfficeItem {
|
|
20
20
|
/**
|
|
21
21
|
* [Страна отгрузки](/release-notes?id=605)
|
|
22
22
|
*
|
|
@@ -25,18 +25,18 @@ export interface TableShippingOfficeItem {
|
|
|
25
25
|
/**
|
|
26
26
|
* Метрики по региону
|
|
27
27
|
*/
|
|
28
|
-
metrics:
|
|
28
|
+
metrics: TableDispatchOfficeMetrics;
|
|
29
29
|
/**
|
|
30
30
|
* [Данные по складам](/release-notes?id=605)
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
|
-
offices: Array<
|
|
33
|
+
offices: Array<TableDispatchOfficeItemOfficesInner>;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
|
-
* Check if a given object implements the
|
|
36
|
+
* Check if a given object implements the TableDispatchOfficeItem interface.
|
|
37
37
|
*/
|
|
38
|
-
export declare function
|
|
39
|
-
export declare function
|
|
40
|
-
export declare function
|
|
41
|
-
export declare function
|
|
42
|
-
export declare function
|
|
38
|
+
export declare function instanceOfTableDispatchOfficeItem(value: object): value is TableDispatchOfficeItem;
|
|
39
|
+
export declare function TableDispatchOfficeItemFromJSON(json: any): TableDispatchOfficeItem;
|
|
40
|
+
export declare function TableDispatchOfficeItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): TableDispatchOfficeItem;
|
|
41
|
+
export declare function TableDispatchOfficeItemToJSON(json: any): TableDispatchOfficeItem;
|
|
42
|
+
export declare function TableDispatchOfficeItemToJSONTyped(value?: TableDispatchOfficeItem | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
var
|
|
22
|
-
var
|
|
16
|
+
exports.instanceOfTableDispatchOfficeItem = instanceOfTableDispatchOfficeItem;
|
|
17
|
+
exports.TableDispatchOfficeItemFromJSON = TableDispatchOfficeItemFromJSON;
|
|
18
|
+
exports.TableDispatchOfficeItemFromJSONTyped = TableDispatchOfficeItemFromJSONTyped;
|
|
19
|
+
exports.TableDispatchOfficeItemToJSON = TableDispatchOfficeItemToJSON;
|
|
20
|
+
exports.TableDispatchOfficeItemToJSONTyped = TableDispatchOfficeItemToJSONTyped;
|
|
21
|
+
var TableDispatchOfficeItemOfficesInner_1 = require("./TableDispatchOfficeItemOfficesInner");
|
|
22
|
+
var TableDispatchOfficeMetrics_1 = require("./TableDispatchOfficeMetrics");
|
|
23
23
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the TableDispatchOfficeItem interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfTableDispatchOfficeItem(value) {
|
|
27
27
|
if (!('regionName' in value) || value['regionName'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
if (!('metrics' in value) || value['metrics'] === undefined)
|
|
@@ -32,30 +32,30 @@ function instanceOfTableShippingOfficeItem(value) {
|
|
|
32
32
|
return false;
|
|
33
33
|
return true;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
return
|
|
35
|
+
function TableDispatchOfficeItemFromJSON(json) {
|
|
36
|
+
return TableDispatchOfficeItemFromJSONTyped(json, false);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function TableDispatchOfficeItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
39
|
if (json == null) {
|
|
40
40
|
return json;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
43
|
'regionName': json['regionName'],
|
|
44
|
-
'metrics': (0,
|
|
45
|
-
'offices': (json['offices'].map(
|
|
44
|
+
'metrics': (0, TableDispatchOfficeMetrics_1.TableDispatchOfficeMetricsFromJSON)(json['metrics']),
|
|
45
|
+
'offices': (json['offices'].map(TableDispatchOfficeItemOfficesInner_1.TableDispatchOfficeItemOfficesInnerFromJSON)),
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return
|
|
48
|
+
function TableDispatchOfficeItemToJSON(json) {
|
|
49
|
+
return TableDispatchOfficeItemToJSONTyped(json, false);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function TableDispatchOfficeItemToJSONTyped(value, ignoreDiscriminator) {
|
|
52
52
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
53
53
|
if (value == null) {
|
|
54
54
|
return value;
|
|
55
55
|
}
|
|
56
56
|
return {
|
|
57
57
|
'regionName': value['regionName'],
|
|
58
|
-
'metrics': (0,
|
|
59
|
-
'offices': (value['offices'].map(
|
|
58
|
+
'metrics': (0, TableDispatchOfficeMetrics_1.TableDispatchOfficeMetricsToJSON)(value['metrics']),
|
|
59
|
+
'offices': (value['offices'].map(TableDispatchOfficeItemOfficesInner_1.TableDispatchOfficeItemOfficesInnerToJSON)),
|
|
60
60
|
};
|
|
61
61
|
}
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { TableDispatchOfficeMetrics } from './TableDispatchOfficeMetrics';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface TableDispatchOfficeItemOfficesInner
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface TableDispatchOfficeItemOfficesInner {
|
|
19
19
|
/**
|
|
20
20
|
* [ID склада](/release-notes?id=605)
|
|
21
21
|
*
|
|
@@ -29,13 +29,13 @@ export interface TableShippingOfficeItemOfficesInner {
|
|
|
29
29
|
/**
|
|
30
30
|
* Метрики по складу
|
|
31
31
|
*/
|
|
32
|
-
metrics:
|
|
32
|
+
metrics: TableDispatchOfficeMetrics;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
* Check if a given object implements the
|
|
35
|
+
* Check if a given object implements the TableDispatchOfficeItemOfficesInner interface.
|
|
36
36
|
*/
|
|
37
|
-
export declare function
|
|
38
|
-
export declare function
|
|
39
|
-
export declare function
|
|
40
|
-
export declare function
|
|
41
|
-
export declare function
|
|
37
|
+
export declare function instanceOfTableDispatchOfficeItemOfficesInner(value: object): value is TableDispatchOfficeItemOfficesInner;
|
|
38
|
+
export declare function TableDispatchOfficeItemOfficesInnerFromJSON(json: any): TableDispatchOfficeItemOfficesInner;
|
|
39
|
+
export declare function TableDispatchOfficeItemOfficesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): TableDispatchOfficeItemOfficesInner;
|
|
40
|
+
export declare function TableDispatchOfficeItemOfficesInnerToJSON(json: any): TableDispatchOfficeItemOfficesInner;
|
|
41
|
+
export declare function TableDispatchOfficeItemOfficesInnerToJSONTyped(value?: TableDispatchOfficeItemOfficesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
var
|
|
16
|
+
exports.instanceOfTableDispatchOfficeItemOfficesInner = instanceOfTableDispatchOfficeItemOfficesInner;
|
|
17
|
+
exports.TableDispatchOfficeItemOfficesInnerFromJSON = TableDispatchOfficeItemOfficesInnerFromJSON;
|
|
18
|
+
exports.TableDispatchOfficeItemOfficesInnerFromJSONTyped = TableDispatchOfficeItemOfficesInnerFromJSONTyped;
|
|
19
|
+
exports.TableDispatchOfficeItemOfficesInnerToJSON = TableDispatchOfficeItemOfficesInnerToJSON;
|
|
20
|
+
exports.TableDispatchOfficeItemOfficesInnerToJSONTyped = TableDispatchOfficeItemOfficesInnerToJSONTyped;
|
|
21
|
+
var TableDispatchOfficeMetrics_1 = require("./TableDispatchOfficeMetrics");
|
|
22
22
|
/**
|
|
23
|
-
* Check if a given object implements the
|
|
23
|
+
* Check if a given object implements the TableDispatchOfficeItemOfficesInner interface.
|
|
24
24
|
*/
|
|
25
|
-
function
|
|
25
|
+
function instanceOfTableDispatchOfficeItemOfficesInner(value) {
|
|
26
26
|
if (!('officeID' in value) || value['officeID'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
if (!('officeName' in value) || value['officeName'] === undefined)
|
|
@@ -31,23 +31,23 @@ function instanceOfTableShippingOfficeItemOfficesInner(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
return true;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
return
|
|
34
|
+
function TableDispatchOfficeItemOfficesInnerFromJSON(json) {
|
|
35
|
+
return TableDispatchOfficeItemOfficesInnerFromJSONTyped(json, false);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function TableDispatchOfficeItemOfficesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
38
|
if (json == null) {
|
|
39
39
|
return json;
|
|
40
40
|
}
|
|
41
41
|
return {
|
|
42
42
|
'officeID': json['officeID'],
|
|
43
43
|
'officeName': json['officeName'],
|
|
44
|
-
'metrics': (0,
|
|
44
|
+
'metrics': (0, TableDispatchOfficeMetrics_1.TableDispatchOfficeMetricsFromJSON)(json['metrics']),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return
|
|
47
|
+
function TableDispatchOfficeItemOfficesInnerToJSON(json) {
|
|
48
|
+
return TableDispatchOfficeItemOfficesInnerToJSONTyped(json, false);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function TableDispatchOfficeItemOfficesInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
51
51
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
52
|
if (value == null) {
|
|
53
53
|
return value;
|
|
@@ -55,6 +55,6 @@ function TableShippingOfficeItemOfficesInnerToJSONTyped(value, ignoreDiscriminat
|
|
|
55
55
|
return {
|
|
56
56
|
'officeID': value['officeID'],
|
|
57
57
|
'officeName': value['officeName'],
|
|
58
|
-
'metrics': (0,
|
|
58
|
+
'metrics': (0, TableDispatchOfficeMetrics_1.TableDispatchOfficeMetricsToJSON)(value['metrics']),
|
|
59
59
|
};
|
|
60
60
|
}
|
package/dist/analytics/models/{TableShippingOfficeMetrics.d.ts → TableDispatchOfficeMetrics.d.ts}
RENAMED
|
@@ -13,9 +13,9 @@ import type { TableCommonMetricsSaleRate } from './TableCommonMetricsSaleRate';
|
|
|
13
13
|
/**
|
|
14
14
|
* Общие метрики по регионам/складам отгрузки
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface TableDispatchOfficeMetrics
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface TableDispatchOfficeMetrics {
|
|
19
19
|
/**
|
|
20
20
|
* Остатки на текущий день, шт.
|
|
21
21
|
*/
|
|
@@ -38,10 +38,10 @@ export interface TableShippingOfficeMetrics {
|
|
|
38
38
|
fromClientCount: number;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* Check if a given object implements the
|
|
41
|
+
* Check if a given object implements the TableDispatchOfficeMetrics interface.
|
|
42
42
|
*/
|
|
43
|
-
export declare function
|
|
44
|
-
export declare function
|
|
45
|
-
export declare function
|
|
46
|
-
export declare function
|
|
47
|
-
export declare function
|
|
43
|
+
export declare function instanceOfTableDispatchOfficeMetrics(value: object): value is TableDispatchOfficeMetrics;
|
|
44
|
+
export declare function TableDispatchOfficeMetricsFromJSON(json: any): TableDispatchOfficeMetrics;
|
|
45
|
+
export declare function TableDispatchOfficeMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): TableDispatchOfficeMetrics;
|
|
46
|
+
export declare function TableDispatchOfficeMetricsToJSON(json: any): TableDispatchOfficeMetrics;
|
|
47
|
+
export declare function TableDispatchOfficeMetricsToJSONTyped(value?: TableDispatchOfficeMetrics | null, ignoreDiscriminator?: boolean): any;
|
package/dist/analytics/models/{TableShippingOfficeMetrics.js → TableDispatchOfficeMetrics.js}
RENAMED
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfTableDispatchOfficeMetrics = instanceOfTableDispatchOfficeMetrics;
|
|
17
|
+
exports.TableDispatchOfficeMetricsFromJSON = TableDispatchOfficeMetricsFromJSON;
|
|
18
|
+
exports.TableDispatchOfficeMetricsFromJSONTyped = TableDispatchOfficeMetricsFromJSONTyped;
|
|
19
|
+
exports.TableDispatchOfficeMetricsToJSON = TableDispatchOfficeMetricsToJSON;
|
|
20
|
+
exports.TableDispatchOfficeMetricsToJSONTyped = TableDispatchOfficeMetricsToJSONTyped;
|
|
21
21
|
var TableCommonMetricsSaleRate_1 = require("./TableCommonMetricsSaleRate");
|
|
22
22
|
/**
|
|
23
|
-
* Check if a given object implements the
|
|
23
|
+
* Check if a given object implements the TableDispatchOfficeMetrics interface.
|
|
24
24
|
*/
|
|
25
|
-
function
|
|
25
|
+
function instanceOfTableDispatchOfficeMetrics(value) {
|
|
26
26
|
if (!('stockCount' in value) || value['stockCount'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
if (!('stockSum' in value) || value['stockSum'] === undefined)
|
|
@@ -35,10 +35,10 @@ function instanceOfTableShippingOfficeMetrics(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
return true;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
return
|
|
38
|
+
function TableDispatchOfficeMetricsFromJSON(json) {
|
|
39
|
+
return TableDispatchOfficeMetricsFromJSONTyped(json, false);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function TableDispatchOfficeMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
42
|
if (json == null) {
|
|
43
43
|
return json;
|
|
44
44
|
}
|
|
@@ -50,10 +50,10 @@ function TableShippingOfficeMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
'fromClientCount': json['fromClientCount'],
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
return
|
|
53
|
+
function TableDispatchOfficeMetricsToJSON(json) {
|
|
54
|
+
return TableDispatchOfficeMetricsToJSONTyped(json, false);
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function TableDispatchOfficeMetricsToJSONTyped(value, ignoreDiscriminator) {
|
|
57
57
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
58
|
if (value == null) {
|
|
59
59
|
return value;
|
package/dist/analytics/models/{TableShippingOfficeRequest.d.ts → TableDispatchOfficeRequest.d.ts}
RENAMED
|
@@ -14,9 +14,9 @@ import type { StockType } from './StockType';
|
|
|
14
14
|
/**
|
|
15
15
|
* Параметры запроса об остатках по складам
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface TableDispatchOfficeRequest
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface TableDispatchOfficeRequest {
|
|
20
20
|
/**
|
|
21
21
|
* Список артикулов WB для фильтрации
|
|
22
22
|
*/
|
|
@@ -47,10 +47,10 @@ export interface TableShippingOfficeRequest {
|
|
|
47
47
|
skipDeletedNm: boolean;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
* Check if a given object implements the
|
|
50
|
+
* Check if a given object implements the TableDispatchOfficeRequest interface.
|
|
51
51
|
*/
|
|
52
|
-
export declare function
|
|
53
|
-
export declare function
|
|
54
|
-
export declare function
|
|
55
|
-
export declare function
|
|
56
|
-
export declare function
|
|
52
|
+
export declare function instanceOfTableDispatchOfficeRequest(value: object): value is TableDispatchOfficeRequest;
|
|
53
|
+
export declare function TableDispatchOfficeRequestFromJSON(json: any): TableDispatchOfficeRequest;
|
|
54
|
+
export declare function TableDispatchOfficeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TableDispatchOfficeRequest;
|
|
55
|
+
export declare function TableDispatchOfficeRequestToJSON(json: any): TableDispatchOfficeRequest;
|
|
56
|
+
export declare function TableDispatchOfficeRequestToJSONTyped(value?: TableDispatchOfficeRequest | null, ignoreDiscriminator?: boolean): any;
|
package/dist/analytics/models/{TableShippingOfficeRequest.js → TableDispatchOfficeRequest.js}
RENAMED
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfTableDispatchOfficeRequest = instanceOfTableDispatchOfficeRequest;
|
|
17
|
+
exports.TableDispatchOfficeRequestFromJSON = TableDispatchOfficeRequestFromJSON;
|
|
18
|
+
exports.TableDispatchOfficeRequestFromJSONTyped = TableDispatchOfficeRequestFromJSONTyped;
|
|
19
|
+
exports.TableDispatchOfficeRequestToJSON = TableDispatchOfficeRequestToJSON;
|
|
20
|
+
exports.TableDispatchOfficeRequestToJSONTyped = TableDispatchOfficeRequestToJSONTyped;
|
|
21
21
|
var PeriodInv_1 = require("./PeriodInv");
|
|
22
22
|
var StockType_1 = require("./StockType");
|
|
23
23
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the TableDispatchOfficeRequest interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfTableDispatchOfficeRequest(value) {
|
|
27
27
|
if (!('currentPeriod' in value) || value['currentPeriod'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
if (!('stockType' in value) || value['stockType'] === undefined)
|
|
@@ -32,10 +32,10 @@ function instanceOfTableShippingOfficeRequest(value) {
|
|
|
32
32
|
return false;
|
|
33
33
|
return true;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
return
|
|
35
|
+
function TableDispatchOfficeRequestFromJSON(json) {
|
|
36
|
+
return TableDispatchOfficeRequestFromJSONTyped(json, false);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function TableDispatchOfficeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
39
|
if (json == null) {
|
|
40
40
|
return json;
|
|
41
41
|
}
|
|
@@ -49,10 +49,10 @@ function TableShippingOfficeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'skipDeletedNm': json['skipDeletedNm'],
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return
|
|
52
|
+
function TableDispatchOfficeRequestToJSON(json) {
|
|
53
|
+
return TableDispatchOfficeRequestToJSONTyped(json, false);
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function TableDispatchOfficeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
56
56
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
57
|
if (value == null) {
|
|
58
58
|
return value;
|
package/dist/analytics/models/{TableShippingOfficeResponse.d.ts → TableDispatchOfficeResponse.d.ts}
RENAMED
|
@@ -9,27 +9,27 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { TableDispatchOfficeItem } from './TableDispatchOfficeItem';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface TableDispatchOfficeResponse
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface TableDispatchOfficeResponse {
|
|
19
19
|
/**
|
|
20
20
|
* Множество данных по регионам отгрузки
|
|
21
21
|
*/
|
|
22
|
-
regions: Array<
|
|
22
|
+
regions: Array<TableDispatchOfficeItem>;
|
|
23
23
|
/**
|
|
24
24
|
* Валюта отчёта
|
|
25
25
|
*/
|
|
26
26
|
currency: string;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
* Check if a given object implements the
|
|
29
|
+
* Check if a given object implements the TableDispatchOfficeResponse interface.
|
|
30
30
|
*/
|
|
31
|
-
export declare function
|
|
32
|
-
export declare function
|
|
33
|
-
export declare function
|
|
34
|
-
export declare function
|
|
35
|
-
export declare function
|
|
31
|
+
export declare function instanceOfTableDispatchOfficeResponse(value: object): value is TableDispatchOfficeResponse;
|
|
32
|
+
export declare function TableDispatchOfficeResponseFromJSON(json: any): TableDispatchOfficeResponse;
|
|
33
|
+
export declare function TableDispatchOfficeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TableDispatchOfficeResponse;
|
|
34
|
+
export declare function TableDispatchOfficeResponseToJSON(json: any): TableDispatchOfficeResponse;
|
|
35
|
+
export declare function TableDispatchOfficeResponseToJSONTyped(value?: TableDispatchOfficeResponse | null, ignoreDiscriminator?: boolean): any;
|