@managespace/sdk 0.1.22 → 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 +17 -5
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/generated/apis/default-api.d.ts +36 -13
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +99 -38
- package/dist/generated/models/index.d.ts +1 -12
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +1 -12
- package/package.json +1 -1
- package/src/extensibility/functions/project/billing.ts +14 -6
- package/src/generated/.openapi-generator/FILES +1 -12
- package/src/generated/apis/default-api.ts +164 -73
- 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 -12
- 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/complex-query.d.ts +0 -48
- package/dist/generated/models/complex-query.d.ts.map +0 -1
- package/dist/generated/models/complex-query.js +0 -56
- 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-invoices-query.d.ts +0 -60
- package/dist/generated/models/get-invoices-query.d.ts.map +0 -1
- package/dist/generated/models/get-invoices-query.js +0 -60
- 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/complex-query.ts +0 -103
- 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-invoices-query.ts +0 -119
- 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
|
@@ -0,0 +1,290 @@
|
|
|
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 { Site } from './site';
|
|
17
|
+
import {
|
|
18
|
+
SiteFromJSON,
|
|
19
|
+
SiteFromJSONTyped,
|
|
20
|
+
SiteToJSON,
|
|
21
|
+
SiteToJSONTyped,
|
|
22
|
+
} from './site';
|
|
23
|
+
import type { TaskTemplate } from './task-template';
|
|
24
|
+
import {
|
|
25
|
+
TaskTemplateFromJSON,
|
|
26
|
+
TaskTemplateFromJSONTyped,
|
|
27
|
+
TaskTemplateToJSON,
|
|
28
|
+
TaskTemplateToJSONTyped,
|
|
29
|
+
} from './task-template';
|
|
30
|
+
import type { User } from './user';
|
|
31
|
+
import {
|
|
32
|
+
UserFromJSON,
|
|
33
|
+
UserFromJSONTyped,
|
|
34
|
+
UserToJSON,
|
|
35
|
+
UserToJSONTyped,
|
|
36
|
+
} from './user';
|
|
37
|
+
import type { ExtensibilityFunctionInstance } from './extensibility-function-instance';
|
|
38
|
+
import {
|
|
39
|
+
ExtensibilityFunctionInstanceFromJSON,
|
|
40
|
+
ExtensibilityFunctionInstanceFromJSONTyped,
|
|
41
|
+
ExtensibilityFunctionInstanceToJSON,
|
|
42
|
+
ExtensibilityFunctionInstanceToJSONTyped,
|
|
43
|
+
} from './extensibility-function-instance';
|
|
44
|
+
import type { Org } from './org';
|
|
45
|
+
import {
|
|
46
|
+
OrgFromJSON,
|
|
47
|
+
OrgFromJSONTyped,
|
|
48
|
+
OrgToJSON,
|
|
49
|
+
OrgToJSONTyped,
|
|
50
|
+
} from './org';
|
|
51
|
+
import type { Checklist } from './checklist';
|
|
52
|
+
import {
|
|
53
|
+
ChecklistFromJSON,
|
|
54
|
+
ChecklistFromJSONTyped,
|
|
55
|
+
ChecklistToJSON,
|
|
56
|
+
ChecklistToJSONTyped,
|
|
57
|
+
} from './checklist';
|
|
58
|
+
import type { TaskCompletionStatus } from './task-completion-status';
|
|
59
|
+
import {
|
|
60
|
+
TaskCompletionStatusFromJSON,
|
|
61
|
+
TaskCompletionStatusFromJSONTyped,
|
|
62
|
+
TaskCompletionStatusToJSON,
|
|
63
|
+
TaskCompletionStatusToJSONTyped,
|
|
64
|
+
} from './task-completion-status';
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @export
|
|
69
|
+
* @interface Task
|
|
70
|
+
*/
|
|
71
|
+
export interface Task {
|
|
72
|
+
/**
|
|
73
|
+
* Task ID
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof Task
|
|
76
|
+
*/
|
|
77
|
+
id: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Org}
|
|
81
|
+
* @memberof Task
|
|
82
|
+
*/
|
|
83
|
+
org?: Org;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof Task
|
|
88
|
+
*/
|
|
89
|
+
orgId: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Site}
|
|
93
|
+
* @memberof Task
|
|
94
|
+
*/
|
|
95
|
+
site?: Site;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof Task
|
|
100
|
+
*/
|
|
101
|
+
siteId: string;
|
|
102
|
+
/**
|
|
103
|
+
* Who created the note
|
|
104
|
+
* @type {User}
|
|
105
|
+
* @memberof Task
|
|
106
|
+
*/
|
|
107
|
+
createdBy?: User;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof Task
|
|
112
|
+
*/
|
|
113
|
+
createdById: string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {ExtensibilityFunctionInstance}
|
|
117
|
+
* @memberof Task
|
|
118
|
+
*/
|
|
119
|
+
createdByExtensibilityFunctionInstance?: ExtensibilityFunctionInstance | null;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof Task
|
|
124
|
+
*/
|
|
125
|
+
createdByExtensibilityFunctionInstanceId: string | null;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {User}
|
|
129
|
+
* @memberof Task
|
|
130
|
+
*/
|
|
131
|
+
assignedToUser?: User;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof Task
|
|
136
|
+
*/
|
|
137
|
+
assignedToUserId: string;
|
|
138
|
+
/**
|
|
139
|
+
* Name of Task
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof Task
|
|
142
|
+
*/
|
|
143
|
+
name: string;
|
|
144
|
+
/**
|
|
145
|
+
* Any relevant information for the task
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof Task
|
|
148
|
+
*/
|
|
149
|
+
description: string | null;
|
|
150
|
+
/**
|
|
151
|
+
* When the notification should be shown
|
|
152
|
+
* @type {Date}
|
|
153
|
+
* @memberof Task
|
|
154
|
+
*/
|
|
155
|
+
dueBy: Date;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {TaskCompletionStatus}
|
|
159
|
+
* @memberof Task
|
|
160
|
+
*/
|
|
161
|
+
status: TaskCompletionStatus;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {Checklist}
|
|
165
|
+
* @memberof Task
|
|
166
|
+
*/
|
|
167
|
+
checklist?: Checklist | null;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof Task
|
|
172
|
+
*/
|
|
173
|
+
checklistId: string | null;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {TaskTemplate}
|
|
177
|
+
* @memberof Task
|
|
178
|
+
*/
|
|
179
|
+
taskTemplate?: TaskTemplate | null;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @type {string}
|
|
183
|
+
* @memberof Task
|
|
184
|
+
*/
|
|
185
|
+
taskTemplateId: string | null;
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @type {User}
|
|
189
|
+
* @memberof Task
|
|
190
|
+
*/
|
|
191
|
+
user?: User | null;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @type {string}
|
|
195
|
+
* @memberof Task
|
|
196
|
+
*/
|
|
197
|
+
userId: string | null;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Check if a given object implements the Task interface.
|
|
204
|
+
*/
|
|
205
|
+
export function instanceOfTask(value: object): value is Task {
|
|
206
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
207
|
+
if (!('orgId' in value) || value['orgId'] === undefined) return false;
|
|
208
|
+
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
209
|
+
if (!('createdById' in value) || value['createdById'] === undefined) return false;
|
|
210
|
+
if (!('createdByExtensibilityFunctionInstanceId' in value) || value['createdByExtensibilityFunctionInstanceId'] === undefined) return false;
|
|
211
|
+
if (!('assignedToUserId' in value) || value['assignedToUserId'] === undefined) return false;
|
|
212
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
213
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
214
|
+
if (!('dueBy' in value) || value['dueBy'] === undefined) return false;
|
|
215
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
216
|
+
if (!('checklistId' in value) || value['checklistId'] === undefined) return false;
|
|
217
|
+
if (!('taskTemplateId' in value) || value['taskTemplateId'] === undefined) return false;
|
|
218
|
+
if (!('userId' in value) || value['userId'] === undefined) return false;
|
|
219
|
+
return true;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export function TaskFromJSON(json: any): Task {
|
|
223
|
+
return TaskFromJSONTyped(json, false);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export function TaskFromJSONTyped(json: any, ignoreDiscriminator: boolean): Task {
|
|
227
|
+
if (json == null) {
|
|
228
|
+
return json;
|
|
229
|
+
}
|
|
230
|
+
return {
|
|
231
|
+
|
|
232
|
+
'id': json['id'],
|
|
233
|
+
'org': json['org'] == null ? undefined : OrgFromJSON(json['org']),
|
|
234
|
+
'orgId': json['orgId'],
|
|
235
|
+
'site': json['site'] == null ? undefined : SiteFromJSON(json['site']),
|
|
236
|
+
'siteId': json['siteId'],
|
|
237
|
+
'createdBy': json['createdBy'] == null ? undefined : UserFromJSON(json['createdBy']),
|
|
238
|
+
'createdById': json['createdById'],
|
|
239
|
+
'createdByExtensibilityFunctionInstance': json['createdByExtensibilityFunctionInstance'] == null ? undefined : ExtensibilityFunctionInstanceFromJSON(json['createdByExtensibilityFunctionInstance']),
|
|
240
|
+
'createdByExtensibilityFunctionInstanceId': json['createdByExtensibilityFunctionInstanceId'],
|
|
241
|
+
'assignedToUser': json['assignedToUser'] == null ? undefined : UserFromJSON(json['assignedToUser']),
|
|
242
|
+
'assignedToUserId': json['assignedToUserId'],
|
|
243
|
+
'name': json['name'],
|
|
244
|
+
'description': json['description'],
|
|
245
|
+
'dueBy': (new Date(json['dueBy'])),
|
|
246
|
+
'status': TaskCompletionStatusFromJSON(json['status']),
|
|
247
|
+
'checklist': json['checklist'] == null ? undefined : ChecklistFromJSON(json['checklist']),
|
|
248
|
+
'checklistId': json['checklistId'],
|
|
249
|
+
'taskTemplate': json['taskTemplate'] == null ? undefined : TaskTemplateFromJSON(json['taskTemplate']),
|
|
250
|
+
'taskTemplateId': json['taskTemplateId'],
|
|
251
|
+
'user': json['User'] == null ? undefined : UserFromJSON(json['User']),
|
|
252
|
+
'userId': json['userId'],
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export function TaskToJSON(json: any): Task {
|
|
257
|
+
return TaskToJSONTyped(json, false);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export function TaskToJSONTyped(value?: Task | null, ignoreDiscriminator: boolean = false): any {
|
|
261
|
+
if (value == null) {
|
|
262
|
+
return value;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
return {
|
|
266
|
+
|
|
267
|
+
'id': value['id'],
|
|
268
|
+
'org': OrgToJSON(value['org']),
|
|
269
|
+
'orgId': value['orgId'],
|
|
270
|
+
'site': SiteToJSON(value['site']),
|
|
271
|
+
'siteId': value['siteId'],
|
|
272
|
+
'createdBy': UserToJSON(value['createdBy']),
|
|
273
|
+
'createdById': value['createdById'],
|
|
274
|
+
'createdByExtensibilityFunctionInstance': ExtensibilityFunctionInstanceToJSON(value['createdByExtensibilityFunctionInstance']),
|
|
275
|
+
'createdByExtensibilityFunctionInstanceId': value['createdByExtensibilityFunctionInstanceId'],
|
|
276
|
+
'assignedToUser': UserToJSON(value['assignedToUser']),
|
|
277
|
+
'assignedToUserId': value['assignedToUserId'],
|
|
278
|
+
'name': value['name'],
|
|
279
|
+
'description': value['description'],
|
|
280
|
+
'dueBy': ((value['dueBy']).toISOString()),
|
|
281
|
+
'status': TaskCompletionStatusToJSON(value['status']),
|
|
282
|
+
'checklist': ChecklistToJSON(value['checklist']),
|
|
283
|
+
'checklistId': value['checklistId'],
|
|
284
|
+
'taskTemplate': TaskTemplateToJSON(value['taskTemplate']),
|
|
285
|
+
'taskTemplateId': value['taskTemplateId'],
|
|
286
|
+
'User': UserToJSON(value['user']),
|
|
287
|
+
'userId': value['userId'],
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateChecklistTaskTemplate
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateChecklistTaskTemplate {
|
|
22
|
+
/**
|
|
23
|
+
* List of task templates to add to checklist
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateChecklistTaskTemplate
|
|
26
|
+
*/
|
|
27
|
+
templateId: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UpdateChecklistTaskTemplate interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUpdateChecklistTaskTemplate(value: object): value is UpdateChecklistTaskTemplate {
|
|
34
|
+
if (!('templateId' in value) || value['templateId'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function UpdateChecklistTaskTemplateFromJSON(json: any): UpdateChecklistTaskTemplate {
|
|
39
|
+
return UpdateChecklistTaskTemplateFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function UpdateChecklistTaskTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateChecklistTaskTemplate {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'templateId': json['templateId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function UpdateChecklistTaskTemplateToJSON(json: any): UpdateChecklistTaskTemplate {
|
|
53
|
+
return UpdateChecklistTaskTemplateToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UpdateChecklistTaskTemplateToJSONTyped(value?: UpdateChecklistTaskTemplate | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'templateId': value['templateId'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -1,39 +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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BasePaginationQuery
|
|
16
|
-
*/
|
|
17
|
-
export interface BasePaginationQuery {
|
|
18
|
-
/**
|
|
19
|
-
* The offset of the first record to return (0-indexed).
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof BasePaginationQuery
|
|
22
|
-
*/
|
|
23
|
-
offset?: number;
|
|
24
|
-
/**
|
|
25
|
-
* The maximum number of records to return per page.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof BasePaginationQuery
|
|
28
|
-
*/
|
|
29
|
-
limit?: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the BasePaginationQuery interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfBasePaginationQuery(value: object): value is BasePaginationQuery;
|
|
35
|
-
export declare function BasePaginationQueryFromJSON(json: any): BasePaginationQuery;
|
|
36
|
-
export declare function BasePaginationQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): BasePaginationQuery;
|
|
37
|
-
export declare function BasePaginationQueryToJSON(json: any): BasePaginationQuery;
|
|
38
|
-
export declare function BasePaginationQueryToJSONTyped(value?: BasePaginationQuery | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
-
//# sourceMappingURL=base-pagination-query.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-pagination-query.d.ts","sourceRoot":"","sources":["../../../src/generated/models/base-pagination-query.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAS7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5H"}
|
|
@@ -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,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 ComplexQuery
|
|
19
|
-
*/
|
|
20
|
-
export interface ComplexQuery {
|
|
21
|
-
/**
|
|
22
|
-
* The pagination metadata
|
|
23
|
-
* @type {BasePaginationQuery}
|
|
24
|
-
* @memberof ComplexQuery
|
|
25
|
-
*/
|
|
26
|
-
pageOptions?: BasePaginationQuery;
|
|
27
|
-
/**
|
|
28
|
-
* The sort metadata
|
|
29
|
-
* @type {SortOrder}
|
|
30
|
-
* @memberof ComplexQuery
|
|
31
|
-
*/
|
|
32
|
-
sort?: SortOrder;
|
|
33
|
-
/**
|
|
34
|
-
* A list of filters to search by.
|
|
35
|
-
* @type {Array<FilterItem>}
|
|
36
|
-
* @memberof ComplexQuery
|
|
37
|
-
*/
|
|
38
|
-
filters?: Array<FilterItem>;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Check if a given object implements the ComplexQuery interface.
|
|
42
|
-
*/
|
|
43
|
-
export declare function instanceOfComplexQuery(value: object): value is ComplexQuery;
|
|
44
|
-
export declare function ComplexQueryFromJSON(json: any): ComplexQuery;
|
|
45
|
-
export declare function ComplexQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComplexQuery;
|
|
46
|
-
export declare function ComplexQueryToJSON(json: any): ComplexQuery;
|
|
47
|
-
export declare function ComplexQueryToJSONTyped(value?: ComplexQuery | null, ignoreDiscriminator?: boolean): any;
|
|
48
|
-
//# sourceMappingURL=complex-query.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"complex-query.d.ts","sourceRoot":"","sources":["../../../src/generated/models/complex-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,YAAY;IACzB;;;;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,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAE3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAU/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9G"}
|
|
@@ -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.ComplexQueryToJSONTyped = exports.ComplexQueryToJSON = exports.ComplexQueryFromJSONTyped = exports.ComplexQueryFromJSON = exports.instanceOfComplexQuery = 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 ComplexQuery interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfComplexQuery(value) {
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfComplexQuery = instanceOfComplexQuery;
|
|
27
|
-
function ComplexQueryFromJSON(json) {
|
|
28
|
-
return ComplexQueryFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.ComplexQueryFromJSON = ComplexQueryFromJSON;
|
|
31
|
-
function ComplexQueryFromJSONTyped(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.ComplexQueryFromJSONTyped = ComplexQueryFromJSONTyped;
|
|
42
|
-
function ComplexQueryToJSON(json) {
|
|
43
|
-
return ComplexQueryToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
exports.ComplexQueryToJSON = ComplexQueryToJSON;
|
|
46
|
-
function ComplexQueryToJSONTyped(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.ComplexQueryToJSONTyped = ComplexQueryToJSONTyped;
|
|
@@ -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
|