@managespace/sdk 0.1.21 → 0.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/extensibility/functions/project/billing.d.ts +11 -3
  2. package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
  3. package/dist/generated/apis/default-api.d.ts +23 -9
  4. package/dist/generated/apis/default-api.d.ts.map +1 -1
  5. package/dist/generated/apis/default-api.js +60 -22
  6. package/dist/generated/models/index.d.ts +1 -11
  7. package/dist/generated/models/index.d.ts.map +1 -1
  8. package/dist/generated/models/index.js +1 -11
  9. package/package.json +1 -1
  10. package/src/extensibility/functions/project/billing.ts +9 -4
  11. package/src/generated/.openapi-generator/FILES +1 -11
  12. package/src/generated/apis/default-api.ts +105 -44
  13. package/src/generated/models/change-active-site.ts +66 -0
  14. package/src/generated/models/create-checklist.ts +135 -0
  15. package/src/generated/models/create-task-template.ts +83 -0
  16. package/src/generated/models/create-task.ts +135 -0
  17. package/src/generated/models/custom-update-task-template.ts +93 -0
  18. package/src/generated/models/document-signed.ts +115 -0
  19. package/src/generated/models/{update-customer200-response.ts → get-customers200-response.ts} +12 -12
  20. package/src/generated/models/get-payments1200-response.ts +89 -0
  21. package/src/generated/models/get-task-templates200-response.ts +89 -0
  22. package/src/generated/models/get-tasks200-response.ts +89 -0
  23. package/src/generated/models/index.ts +1 -11
  24. package/src/generated/models/task-template.ts +187 -0
  25. package/src/generated/models/task.ts +290 -0
  26. package/src/generated/models/update-checklist-task-template.ts +66 -0
  27. package/dist/generated/models/base-pagination-query.d.ts +0 -39
  28. package/dist/generated/models/base-pagination-query.d.ts.map +0 -1
  29. package/dist/generated/models/base-pagination-query.js +0 -51
  30. package/dist/generated/models/comparison-operator.d.ts +0 -36
  31. package/dist/generated/models/comparison-operator.d.ts.map +0 -1
  32. package/dist/generated/models/comparison-operator.js +0 -61
  33. package/dist/generated/models/filter-item-value.d.ts +0 -27
  34. package/dist/generated/models/filter-item-value.d.ts.map +0 -1
  35. package/dist/generated/models/filter-item-value.js +0 -39
  36. package/dist/generated/models/filter-item.d.ts +0 -47
  37. package/dist/generated/models/filter-item.d.ts.map +0 -1
  38. package/dist/generated/models/filter-item.js +0 -61
  39. package/dist/generated/models/filter-operator.d.ts +0 -36
  40. package/dist/generated/models/filter-operator.d.ts.map +0 -1
  41. package/dist/generated/models/filter-operator.js +0 -61
  42. package/dist/generated/models/get-customers-query.d.ts +0 -48
  43. package/dist/generated/models/get-customers-query.d.ts.map +0 -1
  44. package/dist/generated/models/get-customers-query.js +0 -56
  45. package/dist/generated/models/get-subscriptions-post200-response.d.ts +0 -41
  46. package/dist/generated/models/get-subscriptions-post200-response.d.ts.map +0 -1
  47. package/dist/generated/models/get-subscriptions-post200-response.js +0 -55
  48. package/dist/generated/models/get-subscriptions-query.d.ts +0 -66
  49. package/dist/generated/models/get-subscriptions-query.d.ts.map +0 -1
  50. package/dist/generated/models/get-subscriptions-query.js +0 -62
  51. package/dist/generated/models/order-operator.d.ts +0 -26
  52. package/dist/generated/models/order-operator.d.ts.map +0 -1
  53. package/dist/generated/models/order-operator.js +0 -51
  54. package/dist/generated/models/plugin-filter-item.d.ts +0 -41
  55. package/dist/generated/models/plugin-filter-item.d.ts.map +0 -1
  56. package/dist/generated/models/plugin-filter-item.js +0 -57
  57. package/dist/generated/models/plugin-filter-operator.d.ts +0 -27
  58. package/dist/generated/models/plugin-filter-operator.d.ts.map +0 -1
  59. package/dist/generated/models/plugin-filter-operator.js +0 -52
  60. package/dist/generated/models/sort-order.d.ts +0 -40
  61. package/dist/generated/models/sort-order.d.ts.map +0 -1
  62. package/dist/generated/models/sort-order.js +0 -52
  63. package/dist/generated/models/update-customer200-response.d.ts +0 -41
  64. package/dist/generated/models/update-customer200-response.d.ts.map +0 -1
  65. package/dist/generated/models/update-customer200-response.js +0 -55
  66. package/src/generated/models/base-pagination-query.ts +0 -73
  67. package/src/generated/models/filter-item-value.ts +0 -46
  68. package/src/generated/models/filter-item.ts +0 -101
  69. package/src/generated/models/filter-operator.ts +0 -63
  70. package/src/generated/models/get-customers-query.ts +0 -103
  71. package/src/generated/models/get-subscriptions-query.ts +0 -127
  72. package/src/generated/models/order-operator.ts +0 -53
  73. package/src/generated/models/plugin-filter-item.ts +0 -92
  74. package/src/generated/models/plugin-filter-operator.ts +0 -54
  75. package/src/generated/models/sort-order.ts +0 -83
@@ -7,7 +7,6 @@ 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 './base-pagination-query';
11
10
  export * from './billing-run';
12
11
  export * from './billing-run-filter-condition';
13
12
  export * from './billing-run-filter-options';
@@ -81,9 +80,6 @@ export * from './field-area';
81
80
  export * from './field-preferences';
82
81
  export * from './field-type';
83
82
  export * from './file-uploaded';
84
- export * from './filter-item';
85
- export * from './filter-item-value';
86
- export * from './filter-operator';
87
83
  export * from './get-asset-categories200-response';
88
84
  export * from './get-asset-classes200-response';
89
85
  export * from './get-asset-features200-response';
@@ -97,7 +93,7 @@ export * from './get-checklists200-response';
97
93
  export * from './get-communications200-response';
98
94
  export * from './get-configuration-settings200-response';
99
95
  export * from './get-contacts200-response';
100
- export * from './get-customers-query';
96
+ export * from './get-customers200-response';
101
97
  export * from './get-documents200-response';
102
98
  export * from './get-intent';
103
99
  export * from './get-invoices200-response';
@@ -115,7 +111,6 @@ export * from './get-revenue-rules200-response';
115
111
  export * from './get-sites200-response';
116
112
  export * from './get-statements200-response';
117
113
  export * from './get-subscriptions200-response';
118
- export * from './get-subscriptions-query';
119
114
  export * from './get-task-definitions200-response';
120
115
  export * from './get-task-instances200-response';
121
116
  export * from './get-templates200-response';
@@ -135,7 +130,6 @@ export * from './note';
135
130
  export * from './notification';
136
131
  export * from './order';
137
132
  export * from './order-line-item';
138
- export * from './order-operator';
139
133
  export * from './org';
140
134
  export * from './page-meta';
141
135
  export * from './paginated';
@@ -152,8 +146,6 @@ export * from './plugin-extensibility-function-definition';
152
146
  export * from './plugin-extensibility-function-instance';
153
147
  export * from './plugin-extensibility-function-metadata';
154
148
  export * from './plugin-extensibility-status';
155
- export * from './plugin-filter-item';
156
- export * from './plugin-filter-operator';
157
149
  export * from './plugin-version';
158
150
  export * from './product-custom';
159
151
  export * from './product-tax-group';
@@ -181,7 +173,6 @@ export * from './site-type2';
181
173
  export * from './site-type3';
182
174
  export * from './site-type4';
183
175
  export * from './smart-bar-prompt';
184
- export * from './sort-order';
185
176
  export * from './statement';
186
177
  export * from './step-data';
187
178
  export * from './sub-total';
@@ -204,7 +195,6 @@ export * from './update-asset';
204
195
  export * from './update-asset-category';
205
196
  export * from './update-asset-feature';
206
197
  export * from './update-configuration-setting';
207
- export * from './update-customer200-response';
208
198
  export * from './update-map-feature';
209
199
  export * from './update-note';
210
200
  export * from './update-org';
@@ -0,0 +1,187 @@
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 { Task } from './task';
24
+ import {
25
+ TaskFromJSON,
26
+ TaskFromJSONTyped,
27
+ TaskToJSON,
28
+ TaskToJSONTyped,
29
+ } from './task';
30
+ import type { User } from './user';
31
+ import {
32
+ UserFromJSON,
33
+ UserFromJSONTyped,
34
+ UserToJSON,
35
+ UserToJSONTyped,
36
+ } from './user';
37
+ import type { Org } from './org';
38
+ import {
39
+ OrgFromJSON,
40
+ OrgFromJSONTyped,
41
+ OrgToJSON,
42
+ OrgToJSONTyped,
43
+ } from './org';
44
+ import type { Checklist } from './checklist';
45
+ import {
46
+ ChecklistFromJSON,
47
+ ChecklistFromJSONTyped,
48
+ ChecklistToJSON,
49
+ ChecklistToJSONTyped,
50
+ } from './checklist';
51
+
52
+ /**
53
+ *
54
+ * @export
55
+ * @interface TaskTemplate
56
+ */
57
+ export interface TaskTemplate {
58
+ /**
59
+ * Notification ID
60
+ * @type {string}
61
+ * @memberof TaskTemplate
62
+ */
63
+ id: string;
64
+ /**
65
+ *
66
+ * @type {Org}
67
+ * @memberof TaskTemplate
68
+ */
69
+ org?: Org;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof TaskTemplate
74
+ */
75
+ orgId: string;
76
+ /**
77
+ *
78
+ * @type {Site}
79
+ * @memberof TaskTemplate
80
+ */
81
+ site?: Site;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof TaskTemplate
86
+ */
87
+ siteId: string;
88
+ /**
89
+ * Name of task template
90
+ * @type {string}
91
+ * @memberof TaskTemplate
92
+ */
93
+ name: string;
94
+ /**
95
+ *
96
+ * @type {User}
97
+ * @memberof TaskTemplate
98
+ */
99
+ assignedToUser?: User | null;
100
+ /**
101
+ *
102
+ * @type {string}
103
+ * @memberof TaskTemplate
104
+ */
105
+ assignedToUserId: string | null;
106
+ /**
107
+ * List of tasks
108
+ * @type {object}
109
+ * @memberof TaskTemplate
110
+ */
111
+ taskList: object;
112
+ /**
113
+ *
114
+ * @type {Array<Checklist>}
115
+ * @memberof TaskTemplate
116
+ */
117
+ checklist?: Array<Checklist>;
118
+ /**
119
+ *
120
+ * @type {Array<Task>}
121
+ * @memberof TaskTemplate
122
+ */
123
+ tasks?: Array<Task>;
124
+ }
125
+
126
+ /**
127
+ * Check if a given object implements the TaskTemplate interface.
128
+ */
129
+ export function instanceOfTaskTemplate(value: object): value is TaskTemplate {
130
+ if (!('id' in value) || value['id'] === undefined) return false;
131
+ if (!('orgId' in value) || value['orgId'] === undefined) return false;
132
+ if (!('siteId' in value) || value['siteId'] === undefined) return false;
133
+ if (!('name' in value) || value['name'] === undefined) return false;
134
+ if (!('assignedToUserId' in value) || value['assignedToUserId'] === undefined) return false;
135
+ if (!('taskList' in value) || value['taskList'] === undefined) return false;
136
+ return true;
137
+ }
138
+
139
+ export function TaskTemplateFromJSON(json: any): TaskTemplate {
140
+ return TaskTemplateFromJSONTyped(json, false);
141
+ }
142
+
143
+ export function TaskTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskTemplate {
144
+ if (json == null) {
145
+ return json;
146
+ }
147
+ return {
148
+
149
+ 'id': json['id'],
150
+ 'org': json['org'] == null ? undefined : OrgFromJSON(json['org']),
151
+ 'orgId': json['orgId'],
152
+ 'site': json['site'] == null ? undefined : SiteFromJSON(json['site']),
153
+ 'siteId': json['siteId'],
154
+ 'name': json['name'],
155
+ 'assignedToUser': json['assignedToUser'] == null ? undefined : UserFromJSON(json['assignedToUser']),
156
+ 'assignedToUserId': json['assignedToUserId'],
157
+ 'taskList': json['taskList'],
158
+ 'checklist': json['checklist'] == null ? undefined : ((json['checklist'] as Array<any>).map(ChecklistFromJSON)),
159
+ 'tasks': json['tasks'] == null ? undefined : ((json['tasks'] as Array<any>).map(TaskFromJSON)),
160
+ };
161
+ }
162
+
163
+ export function TaskTemplateToJSON(json: any): TaskTemplate {
164
+ return TaskTemplateToJSONTyped(json, false);
165
+ }
166
+
167
+ export function TaskTemplateToJSONTyped(value?: TaskTemplate | null, ignoreDiscriminator: boolean = false): any {
168
+ if (value == null) {
169
+ return value;
170
+ }
171
+
172
+ return {
173
+
174
+ 'id': value['id'],
175
+ 'org': OrgToJSON(value['org']),
176
+ 'orgId': value['orgId'],
177
+ 'site': SiteToJSON(value['site']),
178
+ 'siteId': value['siteId'],
179
+ 'name': value['name'],
180
+ 'assignedToUser': UserToJSON(value['assignedToUser']),
181
+ 'assignedToUserId': value['assignedToUserId'],
182
+ 'taskList': value['taskList'],
183
+ 'checklist': value['checklist'] == null ? undefined : ((value['checklist'] as Array<any>).map(ChecklistToJSON)),
184
+ 'tasks': value['tasks'] == null ? undefined : ((value['tasks'] as Array<any>).map(TaskToJSON)),
185
+ };
186
+ }
187
+
@@ -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"}