@managespace/sdk 0.1.24 → 0.1.26
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 +6 -23
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- 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 +45 -46
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +141 -128
- 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-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/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 +13 -1
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +13 -1
- 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 +8 -18
- 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 +13 -1
- package/src/generated/apis/default-api.ts +232 -222
- 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-notes.ts +74 -0
- 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 +13 -1
- 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/dist/generated/models/change-active-site.d.ts +0 -33
- package/dist/generated/models/change-active-site.d.ts.map +0 -1
- package/dist/generated/models/change-active-site.js +0 -51
- package/dist/generated/models/create-checklist.d.ts +0 -76
- package/dist/generated/models/create-checklist.d.ts.map +0 -1
- package/dist/generated/models/create-checklist.js +0 -72
- package/dist/generated/models/create-task-template.d.ts +0 -45
- package/dist/generated/models/create-task-template.d.ts.map +0 -1
- package/dist/generated/models/create-task-template.js +0 -57
- package/dist/generated/models/create-task.d.ts +0 -76
- package/dist/generated/models/create-task.d.ts.map +0 -1
- package/dist/generated/models/create-task.js +0 -72
- package/dist/generated/models/custom-update-task-template.d.ts +0 -51
- package/dist/generated/models/custom-update-task-template.d.ts.map +0 -1
- package/dist/generated/models/custom-update-task-template.js +0 -63
- package/dist/generated/models/document-signed.d.ts +0 -69
- package/dist/generated/models/document-signed.d.ts.map +0 -1
- package/dist/generated/models/document-signed.js +0 -65
- package/dist/generated/models/get-payments1200-response.d.ts +0 -41
- package/dist/generated/models/get-payments1200-response.d.ts.map +0 -1
- package/dist/generated/models/get-payments1200-response.js +0 -55
- package/dist/generated/models/get-task-templates200-response.d.ts +0 -41
- package/dist/generated/models/get-task-templates200-response.d.ts.map +0 -1
- package/dist/generated/models/get-task-templates200-response.js +0 -55
- package/dist/generated/models/get-tasks200-response.d.ts +0 -41
- package/dist/generated/models/get-tasks200-response.d.ts.map +0 -1
- package/dist/generated/models/get-tasks200-response.js +0 -55
- package/dist/generated/models/task-template.d.ts +0 -98
- package/dist/generated/models/task-template.d.ts.map +0 -1
- package/dist/generated/models/task-template.js +0 -86
- package/dist/generated/models/task.d.ts +0 -160
- package/dist/generated/models/task.d.ts.map +0 -1
- package/dist/generated/models/task.js +0 -122
- package/dist/generated/models/update-checklist-task-template.d.ts +0 -33
- package/dist/generated/models/update-checklist-task-template.d.ts.map +0 -1
- package/dist/generated/models/update-checklist-task-template.js +0 -51
- 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,119 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ManageSpace API
|
|
5
|
+
* ManageSpace API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { BasePaginationQuery } from './base-pagination-query';
|
|
17
|
+
import {
|
|
18
|
+
BasePaginationQueryFromJSON,
|
|
19
|
+
BasePaginationQueryFromJSONTyped,
|
|
20
|
+
BasePaginationQueryToJSON,
|
|
21
|
+
BasePaginationQueryToJSONTyped,
|
|
22
|
+
} from './base-pagination-query';
|
|
23
|
+
import type { PluginFilterItem } from './plugin-filter-item';
|
|
24
|
+
import {
|
|
25
|
+
PluginFilterItemFromJSON,
|
|
26
|
+
PluginFilterItemFromJSONTyped,
|
|
27
|
+
PluginFilterItemToJSON,
|
|
28
|
+
PluginFilterItemToJSONTyped,
|
|
29
|
+
} from './plugin-filter-item';
|
|
30
|
+
import type { SortOrder } from './sort-order';
|
|
31
|
+
import {
|
|
32
|
+
SortOrderFromJSON,
|
|
33
|
+
SortOrderFromJSONTyped,
|
|
34
|
+
SortOrderToJSON,
|
|
35
|
+
SortOrderToJSONTyped,
|
|
36
|
+
} from './sort-order';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface GetInvoicesQuery
|
|
42
|
+
*/
|
|
43
|
+
export interface GetInvoicesQuery {
|
|
44
|
+
/**
|
|
45
|
+
* The pagination metadata
|
|
46
|
+
* @type {BasePaginationQuery}
|
|
47
|
+
* @memberof GetInvoicesQuery
|
|
48
|
+
*/
|
|
49
|
+
pageOptions?: BasePaginationQuery;
|
|
50
|
+
/**
|
|
51
|
+
* The sort metadata
|
|
52
|
+
* @type {SortOrder}
|
|
53
|
+
* @memberof GetInvoicesQuery
|
|
54
|
+
*/
|
|
55
|
+
sort?: SortOrder;
|
|
56
|
+
/**
|
|
57
|
+
* Status value and operator to filter by
|
|
58
|
+
* @type {PluginFilterItem}
|
|
59
|
+
* @memberof GetInvoicesQuery
|
|
60
|
+
*/
|
|
61
|
+
status?: PluginFilterItem;
|
|
62
|
+
/**
|
|
63
|
+
* External customer ID value and operator to filter by
|
|
64
|
+
* @type {PluginFilterItem}
|
|
65
|
+
* @memberof GetInvoicesQuery
|
|
66
|
+
*/
|
|
67
|
+
externalCustomerId?: PluginFilterItem;
|
|
68
|
+
/**
|
|
69
|
+
* Billing run ID value and operator to filter by
|
|
70
|
+
* @type {PluginFilterItem}
|
|
71
|
+
* @memberof GetInvoicesQuery
|
|
72
|
+
*/
|
|
73
|
+
billingRunId?: PluginFilterItem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the GetInvoicesQuery interface.
|
|
78
|
+
*/
|
|
79
|
+
export function instanceOfGetInvoicesQuery(value: object): value is GetInvoicesQuery {
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function GetInvoicesQueryFromJSON(json: any): GetInvoicesQuery {
|
|
84
|
+
return GetInvoicesQueryFromJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function GetInvoicesQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetInvoicesQuery {
|
|
88
|
+
if (json == null) {
|
|
89
|
+
return json;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'pageOptions': json['pageOptions'] == null ? undefined : BasePaginationQueryFromJSON(json['pageOptions']),
|
|
94
|
+
'sort': json['sort'] == null ? undefined : SortOrderFromJSON(json['sort']),
|
|
95
|
+
'status': json['status'] == null ? undefined : PluginFilterItemFromJSON(json['status']),
|
|
96
|
+
'externalCustomerId': json['externalCustomerId'] == null ? undefined : PluginFilterItemFromJSON(json['externalCustomerId']),
|
|
97
|
+
'billingRunId': json['billingRunId'] == null ? undefined : PluginFilterItemFromJSON(json['billingRunId']),
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function GetInvoicesQueryToJSON(json: any): GetInvoicesQuery {
|
|
102
|
+
return GetInvoicesQueryToJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function GetInvoicesQueryToJSONTyped(value?: GetInvoicesQuery | null, ignoreDiscriminator: boolean = false): any {
|
|
106
|
+
if (value == null) {
|
|
107
|
+
return value;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return {
|
|
111
|
+
|
|
112
|
+
'pageOptions': BasePaginationQueryToJSON(value['pageOptions']),
|
|
113
|
+
'sort': SortOrderToJSON(value['sort']),
|
|
114
|
+
'status': PluginFilterItemToJSON(value['status']),
|
|
115
|
+
'externalCustomerId': PluginFilterItemToJSON(value['externalCustomerId']),
|
|
116
|
+
'billingRunId': PluginFilterItemToJSON(value['billingRunId']),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ManageSpace API
|
|
5
|
+
* ManageSpace API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { BasePaginationQuery } from './base-pagination-query';
|
|
17
|
+
import {
|
|
18
|
+
BasePaginationQueryFromJSON,
|
|
19
|
+
BasePaginationQueryFromJSONTyped,
|
|
20
|
+
BasePaginationQueryToJSON,
|
|
21
|
+
BasePaginationQueryToJSONTyped,
|
|
22
|
+
} from './base-pagination-query';
|
|
23
|
+
import type { PluginFilterItem } from './plugin-filter-item';
|
|
24
|
+
import {
|
|
25
|
+
PluginFilterItemFromJSON,
|
|
26
|
+
PluginFilterItemFromJSONTyped,
|
|
27
|
+
PluginFilterItemToJSON,
|
|
28
|
+
PluginFilterItemToJSONTyped,
|
|
29
|
+
} from './plugin-filter-item';
|
|
30
|
+
import type { SortOrder } from './sort-order';
|
|
31
|
+
import {
|
|
32
|
+
SortOrderFromJSON,
|
|
33
|
+
SortOrderFromJSONTyped,
|
|
34
|
+
SortOrderToJSON,
|
|
35
|
+
SortOrderToJSONTyped,
|
|
36
|
+
} from './sort-order';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface GetSubscriptionsQuery
|
|
42
|
+
*/
|
|
43
|
+
export interface GetSubscriptionsQuery {
|
|
44
|
+
/**
|
|
45
|
+
* The pagination metadata
|
|
46
|
+
* @type {BasePaginationQuery}
|
|
47
|
+
* @memberof GetSubscriptionsQuery
|
|
48
|
+
*/
|
|
49
|
+
pageOptions?: BasePaginationQuery;
|
|
50
|
+
/**
|
|
51
|
+
* The sort metadata
|
|
52
|
+
* @type {SortOrder}
|
|
53
|
+
* @memberof GetSubscriptionsQuery
|
|
54
|
+
*/
|
|
55
|
+
sort?: SortOrder;
|
|
56
|
+
/**
|
|
57
|
+
* Status value and operator to filter by
|
|
58
|
+
* @type {PluginFilterItem}
|
|
59
|
+
* @memberof GetSubscriptionsQuery
|
|
60
|
+
*/
|
|
61
|
+
status?: PluginFilterItem;
|
|
62
|
+
/**
|
|
63
|
+
* Asset ID value and operator to filter by
|
|
64
|
+
* @type {PluginFilterItem}
|
|
65
|
+
* @memberof GetSubscriptionsQuery
|
|
66
|
+
*/
|
|
67
|
+
assetId?: PluginFilterItem;
|
|
68
|
+
/**
|
|
69
|
+
* Customer ID value and operator to filter by
|
|
70
|
+
* @type {PluginFilterItem}
|
|
71
|
+
* @memberof GetSubscriptionsQuery
|
|
72
|
+
*/
|
|
73
|
+
customerId?: PluginFilterItem;
|
|
74
|
+
/**
|
|
75
|
+
* Site ID value and operator to filter by
|
|
76
|
+
* @type {PluginFilterItem}
|
|
77
|
+
* @memberof GetSubscriptionsQuery
|
|
78
|
+
*/
|
|
79
|
+
siteId?: PluginFilterItem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the GetSubscriptionsQuery interface.
|
|
84
|
+
*/
|
|
85
|
+
export function instanceOfGetSubscriptionsQuery(value: object): value is GetSubscriptionsQuery {
|
|
86
|
+
return true;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function GetSubscriptionsQueryFromJSON(json: any): GetSubscriptionsQuery {
|
|
90
|
+
return GetSubscriptionsQueryFromJSONTyped(json, false);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function GetSubscriptionsQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSubscriptionsQuery {
|
|
94
|
+
if (json == null) {
|
|
95
|
+
return json;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
|
|
99
|
+
'pageOptions': json['pageOptions'] == null ? undefined : BasePaginationQueryFromJSON(json['pageOptions']),
|
|
100
|
+
'sort': json['sort'] == null ? undefined : SortOrderFromJSON(json['sort']),
|
|
101
|
+
'status': json['status'] == null ? undefined : PluginFilterItemFromJSON(json['status']),
|
|
102
|
+
'assetId': json['assetId'] == null ? undefined : PluginFilterItemFromJSON(json['assetId']),
|
|
103
|
+
'customerId': json['customerId'] == null ? undefined : PluginFilterItemFromJSON(json['customerId']),
|
|
104
|
+
'siteId': json['siteId'] == null ? undefined : PluginFilterItemFromJSON(json['siteId']),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function GetSubscriptionsQueryToJSON(json: any): GetSubscriptionsQuery {
|
|
109
|
+
return GetSubscriptionsQueryToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function GetSubscriptionsQueryToJSONTyped(value?: GetSubscriptionsQuery | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'pageOptions': BasePaginationQueryToJSON(value['pageOptions']),
|
|
120
|
+
'sort': SortOrderToJSON(value['sort']),
|
|
121
|
+
'status': PluginFilterItemToJSON(value['status']),
|
|
122
|
+
'assetId': PluginFilterItemToJSON(value['assetId']),
|
|
123
|
+
'customerId': PluginFilterItemToJSON(value['customerId']),
|
|
124
|
+
'siteId': PluginFilterItemToJSON(value['siteId']),
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -7,6 +7,8 @@ export * from './asset-category';
|
|
|
7
7
|
export * from './asset-class';
|
|
8
8
|
export * from './asset-details';
|
|
9
9
|
export * from './asset-feature';
|
|
10
|
+
export * from './assets';
|
|
11
|
+
export * from './base-pagination-query';
|
|
10
12
|
export * from './billing-run';
|
|
11
13
|
export * from './billing-run-filter-condition';
|
|
12
14
|
export * from './billing-run-filter-options';
|
|
@@ -19,6 +21,7 @@ export * from './checklist';
|
|
|
19
21
|
export * from './checklist-recurrence-frequency';
|
|
20
22
|
export * from './communication';
|
|
21
23
|
export * from './communication-type';
|
|
24
|
+
export * from './complex-query';
|
|
22
25
|
export * from './configuration-setting';
|
|
23
26
|
export * from './configuration-setting-type';
|
|
24
27
|
export * from './contact';
|
|
@@ -38,6 +41,7 @@ export * from './create-document';
|
|
|
38
41
|
export * from './create-instances';
|
|
39
42
|
export * from './create-map-feature';
|
|
40
43
|
export * from './create-note';
|
|
44
|
+
export * from './create-notes';
|
|
41
45
|
export * from './create-notification';
|
|
42
46
|
export * from './create-order';
|
|
43
47
|
export * from './create-org';
|
|
@@ -80,10 +84,12 @@ export * from './field-area';
|
|
|
80
84
|
export * from './field-preferences';
|
|
81
85
|
export * from './field-type';
|
|
82
86
|
export * from './file-uploaded';
|
|
87
|
+
export * from './filter-item';
|
|
88
|
+
export * from './filter-item-value';
|
|
89
|
+
export * from './filter-operator';
|
|
83
90
|
export * from './get-asset-categories200-response';
|
|
84
91
|
export * from './get-asset-classes200-response';
|
|
85
92
|
export * from './get-asset-features200-response';
|
|
86
|
-
export * from './get-assets200-response';
|
|
87
93
|
export * from './get-billing-runs200-response';
|
|
88
94
|
export * from './get-calendar-events-query';
|
|
89
95
|
export * from './get-calendars200-response';
|
|
@@ -97,6 +103,7 @@ export * from './get-customers200-response';
|
|
|
97
103
|
export * from './get-documents200-response';
|
|
98
104
|
export * from './get-intent';
|
|
99
105
|
export * from './get-invoices200-response';
|
|
106
|
+
export * from './get-invoices-query';
|
|
100
107
|
export * from './get-notes200-response';
|
|
101
108
|
export * from './get-notifications200-response';
|
|
102
109
|
export * from './get-orders200-response';
|
|
@@ -111,6 +118,7 @@ export * from './get-revenue-rules200-response';
|
|
|
111
118
|
export * from './get-sites200-response';
|
|
112
119
|
export * from './get-statements200-response';
|
|
113
120
|
export * from './get-subscriptions200-response';
|
|
121
|
+
export * from './get-subscriptions-query';
|
|
114
122
|
export * from './get-task-definitions200-response';
|
|
115
123
|
export * from './get-task-instances200-response';
|
|
116
124
|
export * from './get-templates200-response';
|
|
@@ -130,6 +138,7 @@ export * from './note';
|
|
|
130
138
|
export * from './notification';
|
|
131
139
|
export * from './order';
|
|
132
140
|
export * from './order-line-item';
|
|
141
|
+
export * from './order-operator';
|
|
133
142
|
export * from './org';
|
|
134
143
|
export * from './page-meta';
|
|
135
144
|
export * from './paginated';
|
|
@@ -146,6 +155,8 @@ export * from './plugin-extensibility-function-definition';
|
|
|
146
155
|
export * from './plugin-extensibility-function-instance';
|
|
147
156
|
export * from './plugin-extensibility-function-metadata';
|
|
148
157
|
export * from './plugin-extensibility-status';
|
|
158
|
+
export * from './plugin-filter-item';
|
|
159
|
+
export * from './plugin-filter-operator';
|
|
149
160
|
export * from './plugin-version';
|
|
150
161
|
export * from './product-custom';
|
|
151
162
|
export * from './product-tax-group';
|
|
@@ -173,6 +184,7 @@ export * from './site-type2';
|
|
|
173
184
|
export * from './site-type3';
|
|
174
185
|
export * from './site-type4';
|
|
175
186
|
export * from './smart-bar-prompt';
|
|
187
|
+
export * from './sort-order';
|
|
176
188
|
export * from './statement';
|
|
177
189
|
export * from './step-data';
|
|
178
190
|
export * from './sub-total';
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ManageSpace API
|
|
5
|
+
* ManageSpace API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The order to sort by
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const OrderOperator = {
|
|
21
|
+
Asc: 'asc',
|
|
22
|
+
Desc: 'desc'
|
|
23
|
+
} as const;
|
|
24
|
+
export type OrderOperator = typeof OrderOperator[keyof typeof OrderOperator];
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export function instanceOfOrderOperator(value: any): boolean {
|
|
28
|
+
for (const key in OrderOperator) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(OrderOperator, key)) {
|
|
30
|
+
if (OrderOperator[key as keyof typeof OrderOperator] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function OrderOperatorFromJSON(json: any): OrderOperator {
|
|
39
|
+
return OrderOperatorFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function OrderOperatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderOperator {
|
|
43
|
+
return json as OrderOperator;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function OrderOperatorToJSON(value?: OrderOperator | null): any {
|
|
47
|
+
return value as any;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function OrderOperatorToJSONTyped(value: any, ignoreDiscriminator: boolean): OrderOperator {
|
|
51
|
+
return value as OrderOperator;
|
|
52
|
+
}
|
|
53
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ManageSpace API
|
|
5
|
+
* ManageSpace API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { FilterItemValue } from './filter-item-value';
|
|
17
|
+
import {
|
|
18
|
+
FilterItemValueFromJSON,
|
|
19
|
+
FilterItemValueFromJSONTyped,
|
|
20
|
+
FilterItemValueToJSON,
|
|
21
|
+
FilterItemValueToJSONTyped,
|
|
22
|
+
} from './filter-item-value';
|
|
23
|
+
import type { PluginFilterOperator } from './plugin-filter-operator';
|
|
24
|
+
import {
|
|
25
|
+
PluginFilterOperatorFromJSON,
|
|
26
|
+
PluginFilterOperatorFromJSONTyped,
|
|
27
|
+
PluginFilterOperatorToJSON,
|
|
28
|
+
PluginFilterOperatorToJSONTyped,
|
|
29
|
+
} from './plugin-filter-operator';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface PluginFilterItem
|
|
35
|
+
*/
|
|
36
|
+
export interface PluginFilterItem {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {PluginFilterOperator}
|
|
40
|
+
* @memberof PluginFilterItem
|
|
41
|
+
*/
|
|
42
|
+
operator: PluginFilterOperator;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {FilterItemValue}
|
|
46
|
+
* @memberof PluginFilterItem
|
|
47
|
+
*/
|
|
48
|
+
value: FilterItemValue;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the PluginFilterItem interface.
|
|
55
|
+
*/
|
|
56
|
+
export function instanceOfPluginFilterItem(value: object): value is PluginFilterItem {
|
|
57
|
+
if (!('operator' in value) || value['operator'] === undefined) return false;
|
|
58
|
+
if (!('value' in value) || value['value'] === undefined) return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function PluginFilterItemFromJSON(json: any): PluginFilterItem {
|
|
63
|
+
return PluginFilterItemFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function PluginFilterItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): PluginFilterItem {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'operator': PluginFilterOperatorFromJSON(json['operator']),
|
|
73
|
+
'value': FilterItemValueFromJSON(json['value']),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function PluginFilterItemToJSON(json: any): PluginFilterItem {
|
|
78
|
+
return PluginFilterItemToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function PluginFilterItemToJSONTyped(value?: PluginFilterItem | null, ignoreDiscriminator: boolean = false): any {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return {
|
|
87
|
+
|
|
88
|
+
'operator': PluginFilterOperatorToJSON(value['operator']),
|
|
89
|
+
'value': FilterItemValueToJSON(value['value']),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ManageSpace API
|
|
5
|
+
* ManageSpace API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The operator to use when filtering
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const PluginFilterOperator = {
|
|
21
|
+
Equals: 'equals',
|
|
22
|
+
Gt: 'gt',
|
|
23
|
+
Lt: 'lt'
|
|
24
|
+
} as const;
|
|
25
|
+
export type PluginFilterOperator = typeof PluginFilterOperator[keyof typeof PluginFilterOperator];
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export function instanceOfPluginFilterOperator(value: any): boolean {
|
|
29
|
+
for (const key in PluginFilterOperator) {
|
|
30
|
+
if (Object.prototype.hasOwnProperty.call(PluginFilterOperator, key)) {
|
|
31
|
+
if (PluginFilterOperator[key as keyof typeof PluginFilterOperator] === value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function PluginFilterOperatorFromJSON(json: any): PluginFilterOperator {
|
|
40
|
+
return PluginFilterOperatorFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function PluginFilterOperatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): PluginFilterOperator {
|
|
44
|
+
return json as PluginFilterOperator;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function PluginFilterOperatorToJSON(value?: PluginFilterOperator | null): any {
|
|
48
|
+
return value as any;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function PluginFilterOperatorToJSONTyped(value: any, ignoreDiscriminator: boolean): PluginFilterOperator {
|
|
52
|
+
return value as PluginFilterOperator;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ManageSpace API
|
|
5
|
+
* ManageSpace API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { OrderOperator } from './order-operator';
|
|
17
|
+
import {
|
|
18
|
+
OrderOperatorFromJSON,
|
|
19
|
+
OrderOperatorFromJSONTyped,
|
|
20
|
+
OrderOperatorToJSON,
|
|
21
|
+
OrderOperatorToJSONTyped,
|
|
22
|
+
} from './order-operator';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface SortOrder
|
|
28
|
+
*/
|
|
29
|
+
export interface SortOrder {
|
|
30
|
+
/**
|
|
31
|
+
* Field to sort by
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SortOrder
|
|
34
|
+
*/
|
|
35
|
+
field?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {OrderOperator}
|
|
39
|
+
* @memberof SortOrder
|
|
40
|
+
*/
|
|
41
|
+
operator?: OrderOperator;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the SortOrder interface.
|
|
48
|
+
*/
|
|
49
|
+
export function instanceOfSortOrder(value: object): value is SortOrder {
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function SortOrderFromJSON(json: any): SortOrder {
|
|
54
|
+
return SortOrderFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function SortOrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): SortOrder {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'field': json['field'] == null ? undefined : json['field'],
|
|
64
|
+
'operator': json['operator'] == null ? undefined : OrderOperatorFromJSON(json['operator']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function SortOrderToJSON(json: any): SortOrder {
|
|
69
|
+
return SortOrderToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function SortOrderToJSONTyped(value?: SortOrder | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'field': value['field'],
|
|
80
|
+
'operator': OrderOperatorToJSON(value['operator']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ManageSpace API
|
|
5
|
+
* ManageSpace API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { Customer } from './customer';
|
|
17
|
+
import {
|
|
18
|
+
CustomerFromJSON,
|
|
19
|
+
CustomerFromJSONTyped,
|
|
20
|
+
CustomerToJSON,
|
|
21
|
+
CustomerToJSONTyped,
|
|
22
|
+
} from './customer';
|
|
23
|
+
import type { PageMeta } from './page-meta';
|
|
24
|
+
import {
|
|
25
|
+
PageMetaFromJSON,
|
|
26
|
+
PageMetaFromJSONTyped,
|
|
27
|
+
PageMetaToJSON,
|
|
28
|
+
PageMetaToJSONTyped,
|
|
29
|
+
} from './page-meta';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface UpdateCustomer200Response
|
|
35
|
+
*/
|
|
36
|
+
export interface UpdateCustomer200Response {
|
|
37
|
+
/**
|
|
38
|
+
* The pagination metadata
|
|
39
|
+
* @type {PageMeta}
|
|
40
|
+
* @memberof UpdateCustomer200Response
|
|
41
|
+
*/
|
|
42
|
+
pageMeta: PageMeta;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<Customer>}
|
|
46
|
+
* @memberof UpdateCustomer200Response
|
|
47
|
+
*/
|
|
48
|
+
results?: Array<Customer>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the UpdateCustomer200Response interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfUpdateCustomer200Response(value: object): value is UpdateCustomer200Response {
|
|
55
|
+
if (!('pageMeta' in value) || value['pageMeta'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function UpdateCustomer200ResponseFromJSON(json: any): UpdateCustomer200Response {
|
|
60
|
+
return UpdateCustomer200ResponseFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function UpdateCustomer200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCustomer200Response {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'pageMeta': PageMetaFromJSON(json['pageMeta']),
|
|
70
|
+
'results': json['results'] == null ? undefined : ((json['results'] as Array<any>).map(CustomerFromJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function UpdateCustomer200ResponseToJSON(json: any): UpdateCustomer200Response {
|
|
75
|
+
return UpdateCustomer200ResponseToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function UpdateCustomer200ResponseToJSONTyped(value?: UpdateCustomer200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'pageMeta': PageMetaToJSON(value['pageMeta']),
|
|
86
|
+
'results': value['results'] == null ? undefined : ((value['results'] as Array<any>).map(CustomerToJSON)),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|