@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,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.BasePaginationQueryToJSONTyped = exports.BasePaginationQueryToJSON = exports.BasePaginationQueryFromJSONTyped = exports.BasePaginationQueryFromJSON = exports.instanceOfBasePaginationQuery = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the BasePaginationQuery interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfBasePaginationQuery(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
exports.instanceOfBasePaginationQuery = instanceOfBasePaginationQuery;
|
|
24
|
-
function BasePaginationQueryFromJSON(json) {
|
|
25
|
-
return BasePaginationQueryFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.BasePaginationQueryFromJSON = BasePaginationQueryFromJSON;
|
|
28
|
-
function BasePaginationQueryFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'offset': json['offset'] == null ? undefined : json['offset'],
|
|
34
|
-
'limit': json['limit'] == null ? undefined : json['limit'],
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
exports.BasePaginationQueryFromJSONTyped = BasePaginationQueryFromJSONTyped;
|
|
38
|
-
function BasePaginationQueryToJSON(json) {
|
|
39
|
-
return BasePaginationQueryToJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
exports.BasePaginationQueryToJSON = BasePaginationQueryToJSON;
|
|
42
|
-
function BasePaginationQueryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'offset': value['offset'],
|
|
48
|
-
'limit': value['limit'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.BasePaginationQueryToJSONTyped = BasePaginationQueryToJSONTyped;
|
|
@@ -1,36 +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 ComparisonOperator: {
|
|
17
|
-
readonly Contains: "contains";
|
|
18
|
-
readonly EndsWith: "endsWith";
|
|
19
|
-
readonly Equals: "equals";
|
|
20
|
-
readonly Gt: "gt";
|
|
21
|
-
readonly Gte: "gte";
|
|
22
|
-
readonly In: "in";
|
|
23
|
-
readonly Lt: "lt";
|
|
24
|
-
readonly Lte: "lte";
|
|
25
|
-
readonly Not: "not";
|
|
26
|
-
readonly NotIn: "notIn";
|
|
27
|
-
readonly Search: "search";
|
|
28
|
-
readonly StartsWith: "startsWith";
|
|
29
|
-
};
|
|
30
|
-
export type ComparisonOperator = typeof ComparisonOperator[keyof typeof ComparisonOperator];
|
|
31
|
-
export declare function instanceOfComparisonOperator(value: any): boolean;
|
|
32
|
-
export declare function ComparisonOperatorFromJSON(json: any): ComparisonOperator;
|
|
33
|
-
export declare function ComparisonOperatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComparisonOperator;
|
|
34
|
-
export declare function ComparisonOperatorToJSON(value?: ComparisonOperator | null): any;
|
|
35
|
-
export declare function ComparisonOperatorToJSONTyped(value: any, ignoreDiscriminator: boolean): ComparisonOperator;
|
|
36
|
-
//# sourceMappingURL=comparison-operator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"comparison-operator.d.ts","sourceRoot":"","sources":["../../../src/generated/models/comparison-operator.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;CAarB,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAG5F,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAShE;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAE3G;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,GAAG,GAAG,CAE/E;AAED,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAE1G"}
|
|
@@ -1,61 +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.ComparisonOperatorToJSONTyped = exports.ComparisonOperatorToJSON = exports.ComparisonOperatorFromJSONTyped = exports.ComparisonOperatorFromJSON = exports.instanceOfComparisonOperator = exports.ComparisonOperator = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* The operator to use when filtering
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.ComparisonOperator = {
|
|
22
|
-
Contains: 'contains',
|
|
23
|
-
EndsWith: 'endsWith',
|
|
24
|
-
Equals: 'equals',
|
|
25
|
-
Gt: 'gt',
|
|
26
|
-
Gte: 'gte',
|
|
27
|
-
In: 'in',
|
|
28
|
-
Lt: 'lt',
|
|
29
|
-
Lte: 'lte',
|
|
30
|
-
Not: 'not',
|
|
31
|
-
NotIn: 'notIn',
|
|
32
|
-
Search: 'search',
|
|
33
|
-
StartsWith: 'startsWith'
|
|
34
|
-
};
|
|
35
|
-
function instanceOfComparisonOperator(value) {
|
|
36
|
-
for (const key in exports.ComparisonOperator) {
|
|
37
|
-
if (Object.prototype.hasOwnProperty.call(exports.ComparisonOperator, key)) {
|
|
38
|
-
if (exports.ComparisonOperator[key] === value) {
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return false;
|
|
44
|
-
}
|
|
45
|
-
exports.instanceOfComparisonOperator = instanceOfComparisonOperator;
|
|
46
|
-
function ComparisonOperatorFromJSON(json) {
|
|
47
|
-
return ComparisonOperatorFromJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
exports.ComparisonOperatorFromJSON = ComparisonOperatorFromJSON;
|
|
50
|
-
function ComparisonOperatorFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
exports.ComparisonOperatorFromJSONTyped = ComparisonOperatorFromJSONTyped;
|
|
54
|
-
function ComparisonOperatorToJSON(value) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
exports.ComparisonOperatorToJSON = ComparisonOperatorToJSON;
|
|
58
|
-
function ComparisonOperatorToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
-
return value;
|
|
60
|
-
}
|
|
61
|
-
exports.ComparisonOperatorToJSONTyped = ComparisonOperatorToJSONTyped;
|
|
@@ -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
|
-
* Value to compare against
|
|
14
|
-
* @export
|
|
15
|
-
* @interface FilterItemValue
|
|
16
|
-
*/
|
|
17
|
-
export interface FilterItemValue {
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the FilterItemValue interface.
|
|
21
|
-
*/
|
|
22
|
-
export declare function instanceOfFilterItemValue(value: object): value is FilterItemValue;
|
|
23
|
-
export declare function FilterItemValueFromJSON(json: any): FilterItemValue;
|
|
24
|
-
export declare function FilterItemValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): FilterItemValue;
|
|
25
|
-
export declare function FilterItemValueToJSON(json: any): FilterItemValue;
|
|
26
|
-
export declare function FilterItemValueToJSONTyped(value?: FilterItemValue | null, ignoreDiscriminator?: boolean): any;
|
|
27
|
-
//# sourceMappingURL=filter-item-value.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filter-item-value.d.ts","sourceRoot":"","sources":["../../../src/generated/models/filter-item-value.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,eAAe;CAC/B;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAEjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAErG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAEpH"}
|
|
@@ -1,39 +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.FilterItemValueToJSONTyped = exports.FilterItemValueToJSON = exports.FilterItemValueFromJSONTyped = exports.FilterItemValueFromJSON = exports.instanceOfFilterItemValue = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the FilterItemValue interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfFilterItemValue(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
exports.instanceOfFilterItemValue = instanceOfFilterItemValue;
|
|
24
|
-
function FilterItemValueFromJSON(json) {
|
|
25
|
-
return FilterItemValueFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.FilterItemValueFromJSON = FilterItemValueFromJSON;
|
|
28
|
-
function FilterItemValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
exports.FilterItemValueFromJSONTyped = FilterItemValueFromJSONTyped;
|
|
32
|
-
function FilterItemValueToJSON(json) {
|
|
33
|
-
return FilterItemValueToJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
exports.FilterItemValueToJSON = FilterItemValueToJSON;
|
|
36
|
-
function FilterItemValueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
-
return value;
|
|
38
|
-
}
|
|
39
|
-
exports.FilterItemValueToJSONTyped = FilterItemValueToJSONTyped;
|
|
@@ -1,47 +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 { FilterOperator } from './filter-operator';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface FilterItem
|
|
18
|
-
*/
|
|
19
|
-
export interface FilterItem {
|
|
20
|
-
/**
|
|
21
|
-
* Field to filter by
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof FilterItem
|
|
24
|
-
*/
|
|
25
|
-
field: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {FilterOperator}
|
|
29
|
-
* @memberof FilterItem
|
|
30
|
-
*/
|
|
31
|
-
operator: FilterOperator;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {FilterItemValue}
|
|
35
|
-
* @memberof FilterItem
|
|
36
|
-
*/
|
|
37
|
-
value: FilterItemValue;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Check if a given object implements the FilterItem interface.
|
|
41
|
-
*/
|
|
42
|
-
export declare function instanceOfFilterItem(value: object): value is FilterItem;
|
|
43
|
-
export declare function FilterItemFromJSON(json: any): FilterItem;
|
|
44
|
-
export declare function FilterItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): FilterItem;
|
|
45
|
-
export declare function FilterItemToJSON(json: any): FilterItem;
|
|
46
|
-
export declare function FilterItemToJSONTyped(value?: FilterItem | null, ignoreDiscriminator?: boolean): any;
|
|
47
|
-
//# sourceMappingURL=filter-item.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filter-item.d.ts","sourceRoot":"","sources":["../../../src/generated/models/filter-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAO3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAQxD;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,QAAQ,EAAE,cAAc,CAAC;IACzB;;;;OAIG;IACH,KAAK,EAAE,eAAe,CAAC;CAC1B;AAID;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAKvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAU3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAEtD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW1G"}
|
|
@@ -1,61 +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.FilterItemToJSONTyped = exports.FilterItemToJSON = exports.FilterItemFromJSONTyped = exports.FilterItemFromJSON = exports.instanceOfFilterItem = void 0;
|
|
17
|
-
const filter_item_value_1 = require("./filter-item-value");
|
|
18
|
-
const filter_operator_1 = require("./filter-operator");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the FilterItem interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfFilterItem(value) {
|
|
23
|
-
if (!('field' in value) || value['field'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('operator' in value) || value['operator'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('value' in value) || value['value'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
exports.instanceOfFilterItem = instanceOfFilterItem;
|
|
32
|
-
function FilterItemFromJSON(json) {
|
|
33
|
-
return FilterItemFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
exports.FilterItemFromJSON = FilterItemFromJSON;
|
|
36
|
-
function FilterItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'field': json['field'],
|
|
42
|
-
'operator': (0, filter_operator_1.FilterOperatorFromJSON)(json['operator']),
|
|
43
|
-
'value': (0, filter_item_value_1.FilterItemValueFromJSON)(json['value']),
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
exports.FilterItemFromJSONTyped = FilterItemFromJSONTyped;
|
|
47
|
-
function FilterItemToJSON(json) {
|
|
48
|
-
return FilterItemToJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
exports.FilterItemToJSON = FilterItemToJSON;
|
|
51
|
-
function FilterItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
-
if (value == null) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'field': value['field'],
|
|
57
|
-
'operator': (0, filter_operator_1.FilterOperatorToJSON)(value['operator']),
|
|
58
|
-
'value': (0, filter_item_value_1.FilterItemValueToJSON)(value['value']),
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
exports.FilterItemToJSONTyped = FilterItemToJSONTyped;
|
|
@@ -1,36 +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 FilterOperator: {
|
|
17
|
-
readonly Contains: "contains";
|
|
18
|
-
readonly EndsWith: "endsWith";
|
|
19
|
-
readonly Equals: "equals";
|
|
20
|
-
readonly Gt: "gt";
|
|
21
|
-
readonly Gte: "gte";
|
|
22
|
-
readonly In: "in";
|
|
23
|
-
readonly Lt: "lt";
|
|
24
|
-
readonly Lte: "lte";
|
|
25
|
-
readonly Not: "not";
|
|
26
|
-
readonly NotIn: "notIn";
|
|
27
|
-
readonly Search: "search";
|
|
28
|
-
readonly StartsWith: "startsWith";
|
|
29
|
-
};
|
|
30
|
-
export type FilterOperator = typeof FilterOperator[keyof typeof FilterOperator];
|
|
31
|
-
export declare function instanceOfFilterOperator(value: any): boolean;
|
|
32
|
-
export declare function FilterOperatorFromJSON(json: any): FilterOperator;
|
|
33
|
-
export declare function FilterOperatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): FilterOperator;
|
|
34
|
-
export declare function FilterOperatorToJSON(value?: FilterOperator | null): any;
|
|
35
|
-
export declare function FilterOperatorToJSONTyped(value: any, ignoreDiscriminator: boolean): FilterOperator;
|
|
36
|
-
//# sourceMappingURL=filter-operator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filter-operator.d.ts","sourceRoot":"","sources":["../../../src/generated/models/filter-operator.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;CAajB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAGhF,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS5D;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAEnG;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,GAAG,CAEvE;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAElG"}
|
|
@@ -1,61 +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.FilterOperatorToJSONTyped = exports.FilterOperatorToJSON = exports.FilterOperatorFromJSONTyped = exports.FilterOperatorFromJSON = exports.instanceOfFilterOperator = exports.FilterOperator = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* The operator to use when filtering
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.FilterOperator = {
|
|
22
|
-
Contains: 'contains',
|
|
23
|
-
EndsWith: 'endsWith',
|
|
24
|
-
Equals: 'equals',
|
|
25
|
-
Gt: 'gt',
|
|
26
|
-
Gte: 'gte',
|
|
27
|
-
In: 'in',
|
|
28
|
-
Lt: 'lt',
|
|
29
|
-
Lte: 'lte',
|
|
30
|
-
Not: 'not',
|
|
31
|
-
NotIn: 'notIn',
|
|
32
|
-
Search: 'search',
|
|
33
|
-
StartsWith: 'startsWith'
|
|
34
|
-
};
|
|
35
|
-
function instanceOfFilterOperator(value) {
|
|
36
|
-
for (const key in exports.FilterOperator) {
|
|
37
|
-
if (Object.prototype.hasOwnProperty.call(exports.FilterOperator, key)) {
|
|
38
|
-
if (exports.FilterOperator[key] === value) {
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return false;
|
|
44
|
-
}
|
|
45
|
-
exports.instanceOfFilterOperator = instanceOfFilterOperator;
|
|
46
|
-
function FilterOperatorFromJSON(json) {
|
|
47
|
-
return FilterOperatorFromJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
exports.FilterOperatorFromJSON = FilterOperatorFromJSON;
|
|
50
|
-
function FilterOperatorFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
exports.FilterOperatorFromJSONTyped = FilterOperatorFromJSONTyped;
|
|
54
|
-
function FilterOperatorToJSON(value) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
exports.FilterOperatorToJSON = FilterOperatorToJSON;
|
|
58
|
-
function FilterOperatorToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
-
return value;
|
|
60
|
-
}
|
|
61
|
-
exports.FilterOperatorToJSONTyped = FilterOperatorToJSONTyped;
|
|
@@ -1,48 +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 { FilterItem } from './filter-item';
|
|
13
|
-
import type { BasePaginationQuery } from './base-pagination-query';
|
|
14
|
-
import type { SortOrder } from './sort-order';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface GetCustomersQuery
|
|
19
|
-
*/
|
|
20
|
-
export interface GetCustomersQuery {
|
|
21
|
-
/**
|
|
22
|
-
* The pagination metadata
|
|
23
|
-
* @type {BasePaginationQuery}
|
|
24
|
-
* @memberof GetCustomersQuery
|
|
25
|
-
*/
|
|
26
|
-
pageOptions?: BasePaginationQuery;
|
|
27
|
-
/**
|
|
28
|
-
* The sort metadata
|
|
29
|
-
* @type {SortOrder}
|
|
30
|
-
* @memberof GetCustomersQuery
|
|
31
|
-
*/
|
|
32
|
-
sort?: SortOrder;
|
|
33
|
-
/**
|
|
34
|
-
* A list of filters to search by.
|
|
35
|
-
* @type {Array<FilterItem>}
|
|
36
|
-
* @memberof GetCustomersQuery
|
|
37
|
-
*/
|
|
38
|
-
filters?: Array<FilterItem>;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Check if a given object implements the GetCustomersQuery interface.
|
|
42
|
-
*/
|
|
43
|
-
export declare function instanceOfGetCustomersQuery(value: object): value is GetCustomersQuery;
|
|
44
|
-
export declare function GetCustomersQueryFromJSON(json: any): GetCustomersQuery;
|
|
45
|
-
export declare function GetCustomersQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCustomersQuery;
|
|
46
|
-
export declare function GetCustomersQueryToJSON(json: any): GetCustomersQuery;
|
|
47
|
-
export declare function GetCustomersQueryToJSONTyped(value?: GetCustomersQuery | null, ignoreDiscriminator?: boolean): any;
|
|
48
|
-
//# sourceMappingURL=get-customers-query.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-customers-query.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-customers-query.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAOhD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAOnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQ9C;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAErF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAUzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxH"}
|
|
@@ -1,56 +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.GetCustomersQueryToJSONTyped = exports.GetCustomersQueryToJSON = exports.GetCustomersQueryFromJSONTyped = exports.GetCustomersQueryFromJSON = exports.instanceOfGetCustomersQuery = void 0;
|
|
17
|
-
const filter_item_1 = require("./filter-item");
|
|
18
|
-
const base_pagination_query_1 = require("./base-pagination-query");
|
|
19
|
-
const sort_order_1 = require("./sort-order");
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the GetCustomersQuery interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfGetCustomersQuery(value) {
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfGetCustomersQuery = instanceOfGetCustomersQuery;
|
|
27
|
-
function GetCustomersQueryFromJSON(json) {
|
|
28
|
-
return GetCustomersQueryFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.GetCustomersQueryFromJSON = GetCustomersQueryFromJSON;
|
|
31
|
-
function GetCustomersQueryFromJSONTyped(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
|
-
'filters': json['filters'] == null ? undefined : (json['filters'].map(filter_item_1.FilterItemFromJSON)),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.GetCustomersQueryFromJSONTyped = GetCustomersQueryFromJSONTyped;
|
|
42
|
-
function GetCustomersQueryToJSON(json) {
|
|
43
|
-
return GetCustomersQueryToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
exports.GetCustomersQueryToJSON = GetCustomersQueryToJSON;
|
|
46
|
-
function GetCustomersQueryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'pageOptions': (0, base_pagination_query_1.BasePaginationQueryToJSON)(value['pageOptions']),
|
|
52
|
-
'sort': (0, sort_order_1.SortOrderToJSON)(value['sort']),
|
|
53
|
-
'filters': value['filters'] == null ? undefined : (value['filters'].map(filter_item_1.FilterItemToJSON)),
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
exports.GetCustomersQueryToJSONTyped = GetCustomersQueryToJSONTyped;
|
|
@@ -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 { PageMeta } from './page-meta';
|
|
13
|
-
import type { Subscription } from './subscription';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetSubscriptionsPost200Response
|
|
18
|
-
*/
|
|
19
|
-
export interface GetSubscriptionsPost200Response {
|
|
20
|
-
/**
|
|
21
|
-
* The pagination metadata
|
|
22
|
-
* @type {PageMeta}
|
|
23
|
-
* @memberof GetSubscriptionsPost200Response
|
|
24
|
-
*/
|
|
25
|
-
pageMeta: PageMeta;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Array<Subscription>}
|
|
29
|
-
* @memberof GetSubscriptionsPost200Response
|
|
30
|
-
*/
|
|
31
|
-
results?: Array<Subscription>;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the GetSubscriptionsPost200Response interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfGetSubscriptionsPost200Response(value: object): value is GetSubscriptionsPost200Response;
|
|
37
|
-
export declare function GetSubscriptionsPost200ResponseFromJSON(json: any): GetSubscriptionsPost200Response;
|
|
38
|
-
export declare function GetSubscriptionsPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSubscriptionsPost200Response;
|
|
39
|
-
export declare function GetSubscriptionsPost200ResponseToJSON(json: any): GetSubscriptionsPost200Response;
|
|
40
|
-
export declare function GetSubscriptionsPost200ResponseToJSONTyped(value?: GetSubscriptionsPost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
-
//# sourceMappingURL=get-subscriptions-post200-response.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscriptions-post200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-subscriptions-post200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAO5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQnD;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,+BAA+B,CAGjH;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAElG;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CASrI;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAEhG;AAED,wBAAgB,0CAA0C,CAAC,KAAK,CAAC,EAAE,+BAA+B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpJ"}
|
|
@@ -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.GetSubscriptionsPost200ResponseToJSONTyped = exports.GetSubscriptionsPost200ResponseToJSON = exports.GetSubscriptionsPost200ResponseFromJSONTyped = exports.GetSubscriptionsPost200ResponseFromJSON = exports.instanceOfGetSubscriptionsPost200Response = void 0;
|
|
17
|
-
const page_meta_1 = require("./page-meta");
|
|
18
|
-
const subscription_1 = require("./subscription");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the GetSubscriptionsPost200Response interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfGetSubscriptionsPost200Response(value) {
|
|
23
|
-
if (!('pageMeta' in value) || value['pageMeta'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfGetSubscriptionsPost200Response = instanceOfGetSubscriptionsPost200Response;
|
|
28
|
-
function GetSubscriptionsPost200ResponseFromJSON(json) {
|
|
29
|
-
return GetSubscriptionsPost200ResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.GetSubscriptionsPost200ResponseFromJSON = GetSubscriptionsPost200ResponseFromJSON;
|
|
32
|
-
function GetSubscriptionsPost200ResponseFromJSONTyped(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(subscription_1.SubscriptionFromJSON)),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.GetSubscriptionsPost200ResponseFromJSONTyped = GetSubscriptionsPost200ResponseFromJSONTyped;
|
|
42
|
-
function GetSubscriptionsPost200ResponseToJSON(json) {
|
|
43
|
-
return GetSubscriptionsPost200ResponseToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
exports.GetSubscriptionsPost200ResponseToJSON = GetSubscriptionsPost200ResponseToJSON;
|
|
46
|
-
function GetSubscriptionsPost200ResponseToJSONTyped(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(subscription_1.SubscriptionToJSON)),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.GetSubscriptionsPost200ResponseToJSONTyped = GetSubscriptionsPost200ResponseToJSONTyped;
|