@managespace/sdk 0.1.21 → 0.1.23
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/extensibility/functions/project/billing.d.ts +11 -3
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/generated/apis/default-api.d.ts +23 -9
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +60 -22
- package/dist/generated/models/index.d.ts +1 -11
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +1 -11
- package/package.json +1 -1
- package/src/extensibility/functions/project/billing.ts +9 -4
- package/src/generated/.openapi-generator/FILES +1 -11
- package/src/generated/apis/default-api.ts +105 -44
- package/src/generated/models/change-active-site.ts +66 -0
- package/src/generated/models/create-checklist.ts +135 -0
- package/src/generated/models/create-task-template.ts +83 -0
- package/src/generated/models/create-task.ts +135 -0
- package/src/generated/models/custom-update-task-template.ts +93 -0
- package/src/generated/models/document-signed.ts +115 -0
- package/src/generated/models/{update-customer200-response.ts → get-customers200-response.ts} +12 -12
- package/src/generated/models/get-payments1200-response.ts +89 -0
- package/src/generated/models/get-task-templates200-response.ts +89 -0
- package/src/generated/models/get-tasks200-response.ts +89 -0
- package/src/generated/models/index.ts +1 -11
- package/src/generated/models/task-template.ts +187 -0
- package/src/generated/models/task.ts +290 -0
- package/src/generated/models/update-checklist-task-template.ts +66 -0
- package/dist/generated/models/base-pagination-query.d.ts +0 -39
- package/dist/generated/models/base-pagination-query.d.ts.map +0 -1
- package/dist/generated/models/base-pagination-query.js +0 -51
- package/dist/generated/models/comparison-operator.d.ts +0 -36
- package/dist/generated/models/comparison-operator.d.ts.map +0 -1
- package/dist/generated/models/comparison-operator.js +0 -61
- package/dist/generated/models/filter-item-value.d.ts +0 -27
- package/dist/generated/models/filter-item-value.d.ts.map +0 -1
- package/dist/generated/models/filter-item-value.js +0 -39
- package/dist/generated/models/filter-item.d.ts +0 -47
- package/dist/generated/models/filter-item.d.ts.map +0 -1
- package/dist/generated/models/filter-item.js +0 -61
- package/dist/generated/models/filter-operator.d.ts +0 -36
- package/dist/generated/models/filter-operator.d.ts.map +0 -1
- package/dist/generated/models/filter-operator.js +0 -61
- package/dist/generated/models/get-customers-query.d.ts +0 -48
- package/dist/generated/models/get-customers-query.d.ts.map +0 -1
- package/dist/generated/models/get-customers-query.js +0 -56
- package/dist/generated/models/get-subscriptions-post200-response.d.ts +0 -41
- package/dist/generated/models/get-subscriptions-post200-response.d.ts.map +0 -1
- package/dist/generated/models/get-subscriptions-post200-response.js +0 -55
- package/dist/generated/models/get-subscriptions-query.d.ts +0 -66
- package/dist/generated/models/get-subscriptions-query.d.ts.map +0 -1
- package/dist/generated/models/get-subscriptions-query.js +0 -62
- package/dist/generated/models/order-operator.d.ts +0 -26
- package/dist/generated/models/order-operator.d.ts.map +0 -1
- package/dist/generated/models/order-operator.js +0 -51
- package/dist/generated/models/plugin-filter-item.d.ts +0 -41
- package/dist/generated/models/plugin-filter-item.d.ts.map +0 -1
- package/dist/generated/models/plugin-filter-item.js +0 -57
- package/dist/generated/models/plugin-filter-operator.d.ts +0 -27
- package/dist/generated/models/plugin-filter-operator.d.ts.map +0 -1
- package/dist/generated/models/plugin-filter-operator.js +0 -52
- package/dist/generated/models/sort-order.d.ts +0 -40
- package/dist/generated/models/sort-order.d.ts.map +0 -1
- package/dist/generated/models/sort-order.js +0 -52
- package/dist/generated/models/update-customer200-response.d.ts +0 -41
- package/dist/generated/models/update-customer200-response.d.ts.map +0 -1
- package/dist/generated/models/update-customer200-response.js +0 -55
- package/src/generated/models/base-pagination-query.ts +0 -73
- package/src/generated/models/filter-item-value.ts +0 -46
- package/src/generated/models/filter-item.ts +0 -101
- package/src/generated/models/filter-operator.ts +0 -63
- package/src/generated/models/get-customers-query.ts +0 -103
- package/src/generated/models/get-subscriptions-query.ts +0 -127
- package/src/generated/models/order-operator.ts +0 -53
- package/src/generated/models/plugin-filter-item.ts +0 -92
- package/src/generated/models/plugin-filter-operator.ts +0 -54
- package/src/generated/models/sort-order.ts +0 -83
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
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 { BasePaginationQuery } from './base-pagination-query';
|
|
13
|
-
import type { PluginFilterItem } from './plugin-filter-item';
|
|
14
|
-
import type { SortOrder } from './sort-order';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface GetSubscriptionsQuery
|
|
19
|
-
*/
|
|
20
|
-
export interface GetSubscriptionsQuery {
|
|
21
|
-
/**
|
|
22
|
-
* The pagination metadata
|
|
23
|
-
* @type {BasePaginationQuery}
|
|
24
|
-
* @memberof GetSubscriptionsQuery
|
|
25
|
-
*/
|
|
26
|
-
pageOptions?: BasePaginationQuery;
|
|
27
|
-
/**
|
|
28
|
-
* The sort metadata
|
|
29
|
-
* @type {SortOrder}
|
|
30
|
-
* @memberof GetSubscriptionsQuery
|
|
31
|
-
*/
|
|
32
|
-
sort?: SortOrder;
|
|
33
|
-
/**
|
|
34
|
-
* Status value and operator to filter by
|
|
35
|
-
* @type {PluginFilterItem}
|
|
36
|
-
* @memberof GetSubscriptionsQuery
|
|
37
|
-
*/
|
|
38
|
-
status?: PluginFilterItem;
|
|
39
|
-
/**
|
|
40
|
-
* Asset ID value and operator to filter by
|
|
41
|
-
* @type {PluginFilterItem}
|
|
42
|
-
* @memberof GetSubscriptionsQuery
|
|
43
|
-
*/
|
|
44
|
-
assetId?: PluginFilterItem;
|
|
45
|
-
/**
|
|
46
|
-
* Customer ID value and operator to filter by
|
|
47
|
-
* @type {PluginFilterItem}
|
|
48
|
-
* @memberof GetSubscriptionsQuery
|
|
49
|
-
*/
|
|
50
|
-
customerId?: PluginFilterItem;
|
|
51
|
-
/**
|
|
52
|
-
* Site ID value and operator to filter by
|
|
53
|
-
* @type {PluginFilterItem}
|
|
54
|
-
* @memberof GetSubscriptionsQuery
|
|
55
|
-
*/
|
|
56
|
-
siteId?: PluginFilterItem;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Check if a given object implements the GetSubscriptionsQuery interface.
|
|
60
|
-
*/
|
|
61
|
-
export declare function instanceOfGetSubscriptionsQuery(value: object): value is GetSubscriptionsQuery;
|
|
62
|
-
export declare function GetSubscriptionsQueryFromJSON(json: any): GetSubscriptionsQuery;
|
|
63
|
-
export declare function GetSubscriptionsQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSubscriptionsQuery;
|
|
64
|
-
export declare function GetSubscriptionsQueryToJSON(json: any): GetSubscriptionsQuery;
|
|
65
|
-
export declare function GetSubscriptionsQueryToJSONTyped(value?: GetSubscriptionsQuery | null, ignoreDiscriminator?: boolean): any;
|
|
66
|
-
//# sourceMappingURL=get-subscriptions-query.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscriptions-query.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-subscriptions-query.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAOnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAO7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQ9C;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAajH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAchI"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace API
|
|
6
|
-
* ManageSpace API Documentation
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
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.GetSubscriptionsQueryToJSONTyped = exports.GetSubscriptionsQueryToJSON = exports.GetSubscriptionsQueryFromJSONTyped = exports.GetSubscriptionsQueryFromJSON = exports.instanceOfGetSubscriptionsQuery = void 0;
|
|
17
|
-
const base_pagination_query_1 = require("./base-pagination-query");
|
|
18
|
-
const plugin_filter_item_1 = require("./plugin-filter-item");
|
|
19
|
-
const sort_order_1 = require("./sort-order");
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the GetSubscriptionsQuery interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfGetSubscriptionsQuery(value) {
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfGetSubscriptionsQuery = instanceOfGetSubscriptionsQuery;
|
|
27
|
-
function GetSubscriptionsQueryFromJSON(json) {
|
|
28
|
-
return GetSubscriptionsQueryFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.GetSubscriptionsQueryFromJSON = GetSubscriptionsQueryFromJSON;
|
|
31
|
-
function GetSubscriptionsQueryFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'pageOptions': json['pageOptions'] == null ? undefined : (0, base_pagination_query_1.BasePaginationQueryFromJSON)(json['pageOptions']),
|
|
37
|
-
'sort': json['sort'] == null ? undefined : (0, sort_order_1.SortOrderFromJSON)(json['sort']),
|
|
38
|
-
'status': json['status'] == null ? undefined : (0, plugin_filter_item_1.PluginFilterItemFromJSON)(json['status']),
|
|
39
|
-
'assetId': json['assetId'] == null ? undefined : (0, plugin_filter_item_1.PluginFilterItemFromJSON)(json['assetId']),
|
|
40
|
-
'customerId': json['customerId'] == null ? undefined : (0, plugin_filter_item_1.PluginFilterItemFromJSON)(json['customerId']),
|
|
41
|
-
'siteId': json['siteId'] == null ? undefined : (0, plugin_filter_item_1.PluginFilterItemFromJSON)(json['siteId']),
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.GetSubscriptionsQueryFromJSONTyped = GetSubscriptionsQueryFromJSONTyped;
|
|
45
|
-
function GetSubscriptionsQueryToJSON(json) {
|
|
46
|
-
return GetSubscriptionsQueryToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
exports.GetSubscriptionsQueryToJSON = GetSubscriptionsQueryToJSON;
|
|
49
|
-
function GetSubscriptionsQueryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'pageOptions': (0, base_pagination_query_1.BasePaginationQueryToJSON)(value['pageOptions']),
|
|
55
|
-
'sort': (0, sort_order_1.SortOrderToJSON)(value['sort']),
|
|
56
|
-
'status': (0, plugin_filter_item_1.PluginFilterItemToJSON)(value['status']),
|
|
57
|
-
'assetId': (0, plugin_filter_item_1.PluginFilterItemToJSON)(value['assetId']),
|
|
58
|
-
'customerId': (0, plugin_filter_item_1.PluginFilterItemToJSON)(value['customerId']),
|
|
59
|
-
'siteId': (0, plugin_filter_item_1.PluginFilterItemToJSON)(value['siteId']),
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
exports.GetSubscriptionsQueryToJSONTyped = GetSubscriptionsQueryToJSONTyped;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
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
|
-
* The order to sort by
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const OrderOperator: {
|
|
17
|
-
readonly Asc: "asc";
|
|
18
|
-
readonly Desc: "desc";
|
|
19
|
-
};
|
|
20
|
-
export type OrderOperator = typeof OrderOperator[keyof typeof OrderOperator];
|
|
21
|
-
export declare function instanceOfOrderOperator(value: any): boolean;
|
|
22
|
-
export declare function OrderOperatorFromJSON(json: any): OrderOperator;
|
|
23
|
-
export declare function OrderOperatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderOperator;
|
|
24
|
-
export declare function OrderOperatorToJSON(value?: OrderOperator | null): any;
|
|
25
|
-
export declare function OrderOperatorToJSONTyped(value: any, ignoreDiscriminator: boolean): OrderOperator;
|
|
26
|
-
//# sourceMappingURL=order-operator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"order-operator.d.ts","sourceRoot":"","sources":["../../../src/generated/models/order-operator.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAG7E,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS3D;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAEjG;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,GAAG,GAAG,CAErE;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAEhG"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace API
|
|
6
|
-
* ManageSpace API Documentation
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
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.OrderOperatorToJSONTyped = exports.OrderOperatorToJSON = exports.OrderOperatorFromJSONTyped = exports.OrderOperatorFromJSON = exports.instanceOfOrderOperator = exports.OrderOperator = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* The order to sort by
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.OrderOperator = {
|
|
22
|
-
Asc: 'asc',
|
|
23
|
-
Desc: 'desc'
|
|
24
|
-
};
|
|
25
|
-
function instanceOfOrderOperator(value) {
|
|
26
|
-
for (const key in exports.OrderOperator) {
|
|
27
|
-
if (Object.prototype.hasOwnProperty.call(exports.OrderOperator, key)) {
|
|
28
|
-
if (exports.OrderOperator[key] === value) {
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
exports.instanceOfOrderOperator = instanceOfOrderOperator;
|
|
36
|
-
function OrderOperatorFromJSON(json) {
|
|
37
|
-
return OrderOperatorFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
exports.OrderOperatorFromJSON = OrderOperatorFromJSON;
|
|
40
|
-
function OrderOperatorFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
exports.OrderOperatorFromJSONTyped = OrderOperatorFromJSONTyped;
|
|
44
|
-
function OrderOperatorToJSON(value) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
exports.OrderOperatorToJSON = OrderOperatorToJSON;
|
|
48
|
-
function OrderOperatorToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
exports.OrderOperatorToJSONTyped = OrderOperatorToJSONTyped;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
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 { FilterItemValue } from './filter-item-value';
|
|
13
|
-
import type { PluginFilterOperator } from './plugin-filter-operator';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PluginFilterItem
|
|
18
|
-
*/
|
|
19
|
-
export interface PluginFilterItem {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {PluginFilterOperator}
|
|
23
|
-
* @memberof PluginFilterItem
|
|
24
|
-
*/
|
|
25
|
-
operator: PluginFilterOperator;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {FilterItemValue}
|
|
29
|
-
* @memberof PluginFilterItem
|
|
30
|
-
*/
|
|
31
|
-
value: FilterItemValue;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PluginFilterItem interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPluginFilterItem(value: object): value is PluginFilterItem;
|
|
37
|
-
export declare function PluginFilterItemFromJSON(json: any): PluginFilterItem;
|
|
38
|
-
export declare function PluginFilterItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): PluginFilterItem;
|
|
39
|
-
export declare function PluginFilterItemToJSON(json: any): PluginFilterItem;
|
|
40
|
-
export declare function PluginFilterItemToJSONTyped(value?: PluginFilterItem | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
-
//# sourceMappingURL=plugin-filter-item.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-filter-item.d.ts","sourceRoot":"","sources":["../../../src/generated/models/plugin-filter-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAO3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,KAAK,EAAE,eAAe,CAAC;CAC1B;AAID;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAInF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CASvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUtH"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace API
|
|
6
|
-
* ManageSpace API Documentation
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
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.PluginFilterItemToJSONTyped = exports.PluginFilterItemToJSON = exports.PluginFilterItemFromJSONTyped = exports.PluginFilterItemFromJSON = exports.instanceOfPluginFilterItem = void 0;
|
|
17
|
-
const filter_item_value_1 = require("./filter-item-value");
|
|
18
|
-
const plugin_filter_operator_1 = require("./plugin-filter-operator");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the PluginFilterItem interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfPluginFilterItem(value) {
|
|
23
|
-
if (!('operator' in value) || value['operator'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('value' in value) || value['value'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfPluginFilterItem = instanceOfPluginFilterItem;
|
|
30
|
-
function PluginFilterItemFromJSON(json) {
|
|
31
|
-
return PluginFilterItemFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.PluginFilterItemFromJSON = PluginFilterItemFromJSON;
|
|
34
|
-
function PluginFilterItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'operator': (0, plugin_filter_operator_1.PluginFilterOperatorFromJSON)(json['operator']),
|
|
40
|
-
'value': (0, filter_item_value_1.FilterItemValueFromJSON)(json['value']),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.PluginFilterItemFromJSONTyped = PluginFilterItemFromJSONTyped;
|
|
44
|
-
function PluginFilterItemToJSON(json) {
|
|
45
|
-
return PluginFilterItemToJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
exports.PluginFilterItemToJSON = PluginFilterItemToJSON;
|
|
48
|
-
function PluginFilterItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
-
if (value == null) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'operator': (0, plugin_filter_operator_1.PluginFilterOperatorToJSON)(value['operator']),
|
|
54
|
-
'value': (0, filter_item_value_1.FilterItemValueToJSON)(value['value']),
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
exports.PluginFilterItemToJSONTyped = PluginFilterItemToJSONTyped;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
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
|
-
* The operator to use when filtering
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const PluginFilterOperator: {
|
|
17
|
-
readonly Equals: "equals";
|
|
18
|
-
readonly Gt: "gt";
|
|
19
|
-
readonly Lt: "lt";
|
|
20
|
-
};
|
|
21
|
-
export type PluginFilterOperator = typeof PluginFilterOperator[keyof typeof PluginFilterOperator];
|
|
22
|
-
export declare function instanceOfPluginFilterOperator(value: any): boolean;
|
|
23
|
-
export declare function PluginFilterOperatorFromJSON(json: any): PluginFilterOperator;
|
|
24
|
-
export declare function PluginFilterOperatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): PluginFilterOperator;
|
|
25
|
-
export declare function PluginFilterOperatorToJSON(value?: PluginFilterOperator | null): any;
|
|
26
|
-
export declare function PluginFilterOperatorToJSONTyped(value: any, ignoreDiscriminator: boolean): PluginFilterOperator;
|
|
27
|
-
//# sourceMappingURL=plugin-filter-operator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-filter-operator.d.ts","sourceRoot":"","sources":["../../../src/generated/models/plugin-filter-operator.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;CAIvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAGlG,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASlE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAE/G;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,GAAG,GAAG,CAEnF;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAE9G"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace API
|
|
6
|
-
* ManageSpace API Documentation
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
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.PluginFilterOperatorToJSONTyped = exports.PluginFilterOperatorToJSON = exports.PluginFilterOperatorFromJSONTyped = exports.PluginFilterOperatorFromJSON = exports.instanceOfPluginFilterOperator = exports.PluginFilterOperator = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* The operator to use when filtering
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.PluginFilterOperator = {
|
|
22
|
-
Equals: 'equals',
|
|
23
|
-
Gt: 'gt',
|
|
24
|
-
Lt: 'lt'
|
|
25
|
-
};
|
|
26
|
-
function instanceOfPluginFilterOperator(value) {
|
|
27
|
-
for (const key in exports.PluginFilterOperator) {
|
|
28
|
-
if (Object.prototype.hasOwnProperty.call(exports.PluginFilterOperator, key)) {
|
|
29
|
-
if (exports.PluginFilterOperator[key] === value) {
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
exports.instanceOfPluginFilterOperator = instanceOfPluginFilterOperator;
|
|
37
|
-
function PluginFilterOperatorFromJSON(json) {
|
|
38
|
-
return PluginFilterOperatorFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
exports.PluginFilterOperatorFromJSON = PluginFilterOperatorFromJSON;
|
|
41
|
-
function PluginFilterOperatorFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
exports.PluginFilterOperatorFromJSONTyped = PluginFilterOperatorFromJSONTyped;
|
|
45
|
-
function PluginFilterOperatorToJSON(value) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
exports.PluginFilterOperatorToJSON = PluginFilterOperatorToJSON;
|
|
49
|
-
function PluginFilterOperatorToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
exports.PluginFilterOperatorToJSONTyped = PluginFilterOperatorToJSONTyped;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
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 { OrderOperator } from './order-operator';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SortOrder
|
|
17
|
-
*/
|
|
18
|
-
export interface SortOrder {
|
|
19
|
-
/**
|
|
20
|
-
* Field to sort by
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof SortOrder
|
|
23
|
-
*/
|
|
24
|
-
field?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {OrderOperator}
|
|
28
|
-
* @memberof SortOrder
|
|
29
|
-
*/
|
|
30
|
-
operator?: OrderOperator;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the SortOrder interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfSortOrder(value: object): value is SortOrder;
|
|
36
|
-
export declare function SortOrderFromJSON(json: any): SortOrder;
|
|
37
|
-
export declare function SortOrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): SortOrder;
|
|
38
|
-
export declare function SortOrderToJSON(json: any): SortOrder;
|
|
39
|
-
export declare function SortOrderToJSONTyped(value?: SortOrder | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
-
//# sourceMappingURL=sort-order.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sort-order.d.ts","sourceRoot":"","sources":["../../../src/generated/models/sort-order.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC5B;AAID;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAErE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CASzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEpD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxG"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace API
|
|
6
|
-
* ManageSpace API Documentation
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
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.SortOrderToJSONTyped = exports.SortOrderToJSON = exports.SortOrderFromJSONTyped = exports.SortOrderFromJSON = exports.instanceOfSortOrder = void 0;
|
|
17
|
-
const order_operator_1 = require("./order-operator");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the SortOrder interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfSortOrder(value) {
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
exports.instanceOfSortOrder = instanceOfSortOrder;
|
|
25
|
-
function SortOrderFromJSON(json) {
|
|
26
|
-
return SortOrderFromJSONTyped(json, false);
|
|
27
|
-
}
|
|
28
|
-
exports.SortOrderFromJSON = SortOrderFromJSON;
|
|
29
|
-
function SortOrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json == null) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'field': json['field'] == null ? undefined : json['field'],
|
|
35
|
-
'operator': json['operator'] == null ? undefined : (0, order_operator_1.OrderOperatorFromJSON)(json['operator']),
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.SortOrderFromJSONTyped = SortOrderFromJSONTyped;
|
|
39
|
-
function SortOrderToJSON(json) {
|
|
40
|
-
return SortOrderToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
exports.SortOrderToJSON = SortOrderToJSON;
|
|
43
|
-
function SortOrderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'field': value['field'],
|
|
49
|
-
'operator': (0, order_operator_1.OrderOperatorToJSON)(value['operator']),
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
exports.SortOrderToJSONTyped = SortOrderToJSONTyped;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
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 { Customer } from './customer';
|
|
13
|
-
import type { PageMeta } from './page-meta';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface UpdateCustomer200Response
|
|
18
|
-
*/
|
|
19
|
-
export interface UpdateCustomer200Response {
|
|
20
|
-
/**
|
|
21
|
-
* The pagination metadata
|
|
22
|
-
* @type {PageMeta}
|
|
23
|
-
* @memberof UpdateCustomer200Response
|
|
24
|
-
*/
|
|
25
|
-
pageMeta: PageMeta;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Array<Customer>}
|
|
29
|
-
* @memberof UpdateCustomer200Response
|
|
30
|
-
*/
|
|
31
|
-
results?: Array<Customer>;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the UpdateCustomer200Response interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfUpdateCustomer200Response(value: object): value is UpdateCustomer200Response;
|
|
37
|
-
export declare function UpdateCustomer200ResponseFromJSON(json: any): UpdateCustomer200Response;
|
|
38
|
-
export declare function UpdateCustomer200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCustomer200Response;
|
|
39
|
-
export declare function UpdateCustomer200ResponseToJSON(json: any): UpdateCustomer200Response;
|
|
40
|
-
export declare function UpdateCustomer200ResponseToJSONTyped(value?: UpdateCustomer200Response | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
-
//# sourceMappingURL=update-customer200-response.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/update-customer200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAO3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAQ5C;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAGrG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CASzH;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEpF;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxI"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace API
|
|
6
|
-
* ManageSpace API Documentation
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
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.UpdateCustomer200ResponseToJSONTyped = exports.UpdateCustomer200ResponseToJSON = exports.UpdateCustomer200ResponseFromJSONTyped = exports.UpdateCustomer200ResponseFromJSON = exports.instanceOfUpdateCustomer200Response = void 0;
|
|
17
|
-
const customer_1 = require("./customer");
|
|
18
|
-
const page_meta_1 = require("./page-meta");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the UpdateCustomer200Response interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfUpdateCustomer200Response(value) {
|
|
23
|
-
if (!('pageMeta' in value) || value['pageMeta'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfUpdateCustomer200Response = instanceOfUpdateCustomer200Response;
|
|
28
|
-
function UpdateCustomer200ResponseFromJSON(json) {
|
|
29
|
-
return UpdateCustomer200ResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.UpdateCustomer200ResponseFromJSON = UpdateCustomer200ResponseFromJSON;
|
|
32
|
-
function UpdateCustomer200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'pageMeta': (0, page_meta_1.PageMetaFromJSON)(json['pageMeta']),
|
|
38
|
-
'results': json['results'] == null ? undefined : (json['results'].map(customer_1.CustomerFromJSON)),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.UpdateCustomer200ResponseFromJSONTyped = UpdateCustomer200ResponseFromJSONTyped;
|
|
42
|
-
function UpdateCustomer200ResponseToJSON(json) {
|
|
43
|
-
return UpdateCustomer200ResponseToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
exports.UpdateCustomer200ResponseToJSON = UpdateCustomer200ResponseToJSON;
|
|
46
|
-
function UpdateCustomer200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'pageMeta': (0, page_meta_1.PageMetaToJSON)(value['pageMeta']),
|
|
52
|
-
'results': value['results'] == null ? undefined : (value['results'].map(customer_1.CustomerToJSON)),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.UpdateCustomer200ResponseToJSONTyped = UpdateCustomer200ResponseToJSONTyped;
|