@managespace/sdk 0.0.208 → 0.0.210
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 +25 -14
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +10 -0
- package/dist/extensibility/functions/project/communication-method.d.ts +1 -1
- package/dist/extensibility/functions/project/communication-method.d.ts.map +1 -1
- package/dist/extensibility/functions/project/managespace.d.ts +6 -0
- package/dist/extensibility/functions/project/managespace.d.ts.map +1 -1
- package/dist/extensibility/functions/project/managespace.js +5 -0
- package/dist/extensibility/functions/project/topics.enum.d.ts +2 -1
- package/dist/extensibility/functions/project/topics.enum.d.ts.map +1 -1
- package/dist/extensibility/functions/project/topics.enum.js +1 -0
- package/dist/generated/apis/default-api.d.ts +77 -38
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +813 -730
- package/dist/generated/models/assets.d.ts +34 -0
- package/dist/generated/models/assets.d.ts.map +1 -0
- package/dist/generated/models/assets.js +52 -0
- package/dist/generated/models/base-pagination-query.d.ts +39 -0
- package/dist/generated/models/base-pagination-query.d.ts.map +1 -0
- package/dist/generated/models/base-pagination-query.js +51 -0
- package/dist/generated/models/complex-query.d.ts +48 -0
- package/dist/generated/models/complex-query.d.ts.map +1 -0
- package/dist/generated/models/complex-query.js +56 -0
- package/dist/generated/models/create-journal-entry.d.ts +58 -0
- package/dist/generated/models/create-journal-entry.d.ts.map +1 -0
- package/dist/generated/models/create-journal-entry.js +64 -0
- package/dist/generated/models/create-notes.d.ts +34 -0
- package/dist/generated/models/create-notes.d.ts.map +1 -0
- package/dist/generated/models/create-notes.js +52 -0
- package/dist/generated/models/create-template.d.ts +2 -2
- package/dist/generated/models/create-template.d.ts.map +1 -1
- package/dist/generated/models/create-template.js +3 -3
- package/dist/generated/models/document-complete.d.ts +2 -2
- package/dist/generated/models/document-complete.d.ts.map +1 -1
- package/dist/generated/models/document-complete.js +3 -3
- package/dist/generated/models/filter-item-value.d.ts +27 -0
- package/dist/generated/models/filter-item-value.d.ts.map +1 -0
- package/dist/generated/models/filter-item-value.js +39 -0
- package/dist/generated/models/filter-item.d.ts +47 -0
- package/dist/generated/models/filter-item.d.ts.map +1 -0
- package/dist/generated/models/filter-item.js +61 -0
- package/dist/generated/models/filter-operator.d.ts +36 -0
- package/dist/generated/models/filter-operator.d.ts.map +1 -0
- package/dist/generated/models/filter-operator.js +61 -0
- package/dist/generated/models/get-customers-query.d.ts +48 -0
- package/dist/generated/models/get-customers-query.d.ts.map +1 -0
- package/dist/generated/models/get-customers-query.js +56 -0
- package/dist/generated/models/get-invoices-query.d.ts +60 -0
- package/dist/generated/models/get-invoices-query.d.ts.map +1 -0
- package/dist/generated/models/get-invoices-query.js +60 -0
- package/dist/generated/models/get-subscriptions-query.d.ts +66 -0
- package/dist/generated/models/get-subscriptions-query.d.ts.map +1 -0
- package/dist/generated/models/get-subscriptions-query.js +62 -0
- package/dist/generated/models/index.d.ts +16 -3
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +16 -3
- package/dist/generated/models/journal-entry-entries.d.ts +75 -0
- package/dist/generated/models/journal-entry-entries.d.ts.map +1 -0
- package/dist/generated/models/journal-entry-entries.js +73 -0
- package/dist/generated/models/journal-entry.d.ts +94 -0
- package/dist/generated/models/journal-entry.d.ts.map +1 -0
- package/dist/generated/models/journal-entry.js +88 -0
- package/dist/generated/models/order-operator.d.ts +26 -0
- package/dist/generated/models/order-operator.d.ts.map +1 -0
- package/dist/generated/models/order-operator.js +51 -0
- package/dist/generated/models/plugin-filter-item.d.ts +41 -0
- package/dist/generated/models/plugin-filter-item.d.ts.map +1 -0
- package/dist/generated/models/plugin-filter-item.js +57 -0
- package/dist/generated/models/plugin-filter-operator.d.ts +27 -0
- package/dist/generated/models/plugin-filter-operator.d.ts.map +1 -0
- package/dist/generated/models/plugin-filter-operator.js +52 -0
- package/dist/generated/models/sort-order.d.ts +40 -0
- package/dist/generated/models/sort-order.d.ts.map +1 -0
- package/dist/generated/models/sort-order.js +52 -0
- package/dist/generated/models/update-customer200-response.d.ts +41 -0
- package/dist/generated/models/update-customer200-response.d.ts.map +1 -0
- package/dist/generated/models/update-customer200-response.js +55 -0
- package/package.json +1 -1
- package/src/extensibility/functions/project/billing.ts +25 -15
- package/src/extensibility/functions/project/communication-method.ts +1 -1
- package/src/extensibility/functions/project/managespace.ts +5 -0
- package/src/extensibility/functions/project/topics.enum.ts +1 -0
- package/src/generated/.openapi-generator/FILES +16 -2
- package/src/generated/apis/default-api.ts +440 -171
- package/src/generated/models/assets.ts +74 -0
- package/src/generated/models/base-pagination-query.ts +73 -0
- package/src/generated/models/complex-query.ts +103 -0
- package/src/generated/models/create-journal-entry.ts +108 -0
- package/src/generated/models/create-notes.ts +74 -0
- package/src/generated/models/create-template.ts +5 -5
- package/src/generated/models/document-complete.ts +5 -5
- package/src/generated/models/filter-item-value.ts +46 -0
- package/src/generated/models/filter-item.ts +101 -0
- package/src/generated/models/filter-operator.ts +63 -0
- package/src/generated/models/get-customers-query.ts +103 -0
- package/src/generated/models/get-invoices-query.ts +119 -0
- package/src/generated/models/get-subscriptions-query.ts +127 -0
- package/src/generated/models/index.ts +16 -2
- package/src/generated/models/journal-entry-entries.ts +126 -0
- package/src/generated/models/journal-entry.ts +162 -0
- package/src/generated/models/order-operator.ts +53 -0
- package/src/generated/models/plugin-filter-item.ts +92 -0
- package/src/generated/models/plugin-filter-operator.ts +54 -0
- package/src/generated/models/sort-order.ts +83 -0
- package/src/generated/models/update-customer200-response.ts +89 -0
- package/src/generated/models/change-active-site.ts +0 -66
- package/src/generated/models/create-checklist.ts +0 -135
- package/src/generated/models/create-task-template.ts +0 -83
- package/src/generated/models/create-task.ts +0 -135
- package/src/generated/models/custom-update-task-template.ts +0 -93
- package/src/generated/models/document-signed.ts +0 -115
- package/src/generated/models/get-payments1200-response.ts +0 -89
- package/src/generated/models/get-task-templates200-response.ts +0 -89
- package/src/generated/models/get-tasks200-response.ts +0 -89
- package/src/generated/models/task-template.ts +0 -187
- package/src/generated/models/task.ts +0 -290
- package/src/generated/models/update-checklist-task-template.ts +0 -66
|
@@ -0,0 +1,39 @@
|
|
|
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;
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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;
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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;
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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;
|
|
@@ -0,0 +1,60 @@
|
|
|
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 GetInvoicesQuery
|
|
19
|
+
*/
|
|
20
|
+
export interface GetInvoicesQuery {
|
|
21
|
+
/**
|
|
22
|
+
* The pagination metadata
|
|
23
|
+
* @type {BasePaginationQuery}
|
|
24
|
+
* @memberof GetInvoicesQuery
|
|
25
|
+
*/
|
|
26
|
+
pageOptions?: BasePaginationQuery;
|
|
27
|
+
/**
|
|
28
|
+
* The sort metadata
|
|
29
|
+
* @type {SortOrder}
|
|
30
|
+
* @memberof GetInvoicesQuery
|
|
31
|
+
*/
|
|
32
|
+
sort?: SortOrder;
|
|
33
|
+
/**
|
|
34
|
+
* Status value and operator to filter by
|
|
35
|
+
* @type {PluginFilterItem}
|
|
36
|
+
* @memberof GetInvoicesQuery
|
|
37
|
+
*/
|
|
38
|
+
status?: PluginFilterItem;
|
|
39
|
+
/**
|
|
40
|
+
* External customer ID value and operator to filter by
|
|
41
|
+
* @type {PluginFilterItem}
|
|
42
|
+
* @memberof GetInvoicesQuery
|
|
43
|
+
*/
|
|
44
|
+
externalCustomerId?: PluginFilterItem;
|
|
45
|
+
/**
|
|
46
|
+
* Billing run ID value and operator to filter by
|
|
47
|
+
* @type {PluginFilterItem}
|
|
48
|
+
* @memberof GetInvoicesQuery
|
|
49
|
+
*/
|
|
50
|
+
billingRunId?: PluginFilterItem;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the GetInvoicesQuery interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfGetInvoicesQuery(value: object): value is GetInvoicesQuery;
|
|
56
|
+
export declare function GetInvoicesQueryFromJSON(json: any): GetInvoicesQuery;
|
|
57
|
+
export declare function GetInvoicesQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetInvoicesQuery;
|
|
58
|
+
export declare function GetInvoicesQueryToJSON(json: any): GetInvoicesQuery;
|
|
59
|
+
export declare function GetInvoicesQueryToJSONTyped(value?: GetInvoicesQuery | null, ignoreDiscriminator?: boolean): any;
|
|
60
|
+
//# sourceMappingURL=get-invoices-query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-invoices-query.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-invoices-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,gBAAgB;IAC7B;;;;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,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;IACtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAYvG;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,CAatH"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.GetInvoicesQueryToJSONTyped = exports.GetInvoicesQueryToJSON = exports.GetInvoicesQueryFromJSONTyped = exports.GetInvoicesQueryFromJSON = exports.instanceOfGetInvoicesQuery = 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 GetInvoicesQuery interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfGetInvoicesQuery(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfGetInvoicesQuery = instanceOfGetInvoicesQuery;
|
|
27
|
+
function GetInvoicesQueryFromJSON(json) {
|
|
28
|
+
return GetInvoicesQueryFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.GetInvoicesQueryFromJSON = GetInvoicesQueryFromJSON;
|
|
31
|
+
function GetInvoicesQueryFromJSONTyped(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
|
+
'externalCustomerId': json['externalCustomerId'] == null ? undefined : (0, plugin_filter_item_1.PluginFilterItemFromJSON)(json['externalCustomerId']),
|
|
40
|
+
'billingRunId': json['billingRunId'] == null ? undefined : (0, plugin_filter_item_1.PluginFilterItemFromJSON)(json['billingRunId']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.GetInvoicesQueryFromJSONTyped = GetInvoicesQueryFromJSONTyped;
|
|
44
|
+
function GetInvoicesQueryToJSON(json) {
|
|
45
|
+
return GetInvoicesQueryToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
exports.GetInvoicesQueryToJSON = GetInvoicesQueryToJSON;
|
|
48
|
+
function GetInvoicesQueryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'pageOptions': (0, base_pagination_query_1.BasePaginationQueryToJSON)(value['pageOptions']),
|
|
54
|
+
'sort': (0, sort_order_1.SortOrderToJSON)(value['sort']),
|
|
55
|
+
'status': (0, plugin_filter_item_1.PluginFilterItemToJSON)(value['status']),
|
|
56
|
+
'externalCustomerId': (0, plugin_filter_item_1.PluginFilterItemToJSON)(value['externalCustomerId']),
|
|
57
|
+
'billingRunId': (0, plugin_filter_item_1.PluginFilterItemToJSON)(value['billingRunId']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
exports.GetInvoicesQueryToJSONTyped = GetInvoicesQueryToJSONTyped;
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,62 @@
|
|
|
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;
|