@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,135 @@
|
|
|
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 { ChecklistRecurrenceFrequency } from './checklist-recurrence-frequency';
|
|
17
|
+
import {
|
|
18
|
+
ChecklistRecurrenceFrequencyFromJSON,
|
|
19
|
+
ChecklistRecurrenceFrequencyFromJSONTyped,
|
|
20
|
+
ChecklistRecurrenceFrequencyToJSON,
|
|
21
|
+
ChecklistRecurrenceFrequencyToJSONTyped,
|
|
22
|
+
} from './checklist-recurrence-frequency';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface CreateChecklist
|
|
28
|
+
*/
|
|
29
|
+
export interface CreateChecklist {
|
|
30
|
+
/**
|
|
31
|
+
* Name of checklist
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateChecklist
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {ChecklistRecurrenceFrequency}
|
|
39
|
+
* @memberof CreateChecklist
|
|
40
|
+
*/
|
|
41
|
+
recurrence: ChecklistRecurrenceFrequency;
|
|
42
|
+
/**
|
|
43
|
+
* Interval of frequency (1st of the month)
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CreateChecklist
|
|
46
|
+
*/
|
|
47
|
+
interval: number;
|
|
48
|
+
/**
|
|
49
|
+
* Which day to repeat checklist
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateChecklist
|
|
52
|
+
*/
|
|
53
|
+
byDay?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* Which month to repeat checklsit
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof CreateChecklist
|
|
58
|
+
*/
|
|
59
|
+
byMonth?: number | null;
|
|
60
|
+
/**
|
|
61
|
+
* Which day of the month to repeat checklist
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof CreateChecklist
|
|
64
|
+
*/
|
|
65
|
+
byMonthDay?: number | null;
|
|
66
|
+
/**
|
|
67
|
+
* What day the checklist started
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof CreateChecklist
|
|
70
|
+
*/
|
|
71
|
+
startDate: Date;
|
|
72
|
+
/**
|
|
73
|
+
* When to repeat the checklist
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof CreateChecklist
|
|
76
|
+
*/
|
|
77
|
+
executeBy?: Date | null;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the CreateChecklist interface.
|
|
84
|
+
*/
|
|
85
|
+
export function instanceOfCreateChecklist(value: object): value is CreateChecklist {
|
|
86
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
87
|
+
if (!('recurrence' in value) || value['recurrence'] === undefined) return false;
|
|
88
|
+
if (!('interval' in value) || value['interval'] === undefined) return false;
|
|
89
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
90
|
+
return true;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function CreateChecklistFromJSON(json: any): CreateChecklist {
|
|
94
|
+
return CreateChecklistFromJSONTyped(json, false);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function CreateChecklistFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateChecklist {
|
|
98
|
+
if (json == null) {
|
|
99
|
+
return json;
|
|
100
|
+
}
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'name': json['name'],
|
|
104
|
+
'recurrence': ChecklistRecurrenceFrequencyFromJSON(json['recurrence']),
|
|
105
|
+
'interval': json['interval'],
|
|
106
|
+
'byDay': json['byDay'] == null ? undefined : json['byDay'],
|
|
107
|
+
'byMonth': json['byMonth'] == null ? undefined : json['byMonth'],
|
|
108
|
+
'byMonthDay': json['byMonthDay'] == null ? undefined : json['byMonthDay'],
|
|
109
|
+
'startDate': (new Date(json['startDate'])),
|
|
110
|
+
'executeBy': json['executeBy'] == null ? undefined : (new Date(json['executeBy'])),
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function CreateChecklistToJSON(json: any): CreateChecklist {
|
|
115
|
+
return CreateChecklistToJSONTyped(json, false);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export function CreateChecklistToJSONTyped(value?: CreateChecklist | null, ignoreDiscriminator: boolean = false): any {
|
|
119
|
+
if (value == null) {
|
|
120
|
+
return value;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
return {
|
|
124
|
+
|
|
125
|
+
'name': value['name'],
|
|
126
|
+
'recurrence': ChecklistRecurrenceFrequencyToJSON(value['recurrence']),
|
|
127
|
+
'interval': value['interval'],
|
|
128
|
+
'byDay': value['byDay'],
|
|
129
|
+
'byMonth': value['byMonth'],
|
|
130
|
+
'byMonthDay': value['byMonthDay'],
|
|
131
|
+
'startDate': ((value['startDate']).toISOString()),
|
|
132
|
+
'executeBy': value['executeBy'] == null ? undefined : ((value['executeBy'] as any).toISOString()),
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
|
|
@@ -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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CreateTaskTemplate
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateTaskTemplate {
|
|
22
|
+
/**
|
|
23
|
+
* Name of task template
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateTaskTemplate
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateTaskTemplate
|
|
32
|
+
*/
|
|
33
|
+
assignedToUserId?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* List of tasks
|
|
36
|
+
* @type {object}
|
|
37
|
+
* @memberof CreateTaskTemplate
|
|
38
|
+
*/
|
|
39
|
+
taskList: object;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the CreateTaskTemplate interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfCreateTaskTemplate(value: object): value is CreateTaskTemplate {
|
|
46
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
|
+
if (!('taskList' in value) || value['taskList'] === undefined) return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function CreateTaskTemplateFromJSON(json: any): CreateTaskTemplate {
|
|
52
|
+
return CreateTaskTemplateFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function CreateTaskTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTaskTemplate {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'name': json['name'],
|
|
62
|
+
'assignedToUserId': json['assignedToUserId'] == null ? undefined : json['assignedToUserId'],
|
|
63
|
+
'taskList': json['taskList'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function CreateTaskTemplateToJSON(json: any): CreateTaskTemplate {
|
|
68
|
+
return CreateTaskTemplateToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function CreateTaskTemplateToJSONTyped(value?: CreateTaskTemplate | null, ignoreDiscriminator: boolean = false): any {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'name': value['name'],
|
|
79
|
+
'assignedToUserId': value['assignedToUserId'],
|
|
80
|
+
'taskList': value['taskList'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,135 @@
|
|
|
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 { TaskCompletionStatus } from './task-completion-status';
|
|
17
|
+
import {
|
|
18
|
+
TaskCompletionStatusFromJSON,
|
|
19
|
+
TaskCompletionStatusFromJSONTyped,
|
|
20
|
+
TaskCompletionStatusToJSON,
|
|
21
|
+
TaskCompletionStatusToJSONTyped,
|
|
22
|
+
} from './task-completion-status';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface CreateTask
|
|
28
|
+
*/
|
|
29
|
+
export interface CreateTask {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateTask
|
|
34
|
+
*/
|
|
35
|
+
createdByExtensibilityFunctionInstanceId?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateTask
|
|
40
|
+
*/
|
|
41
|
+
assignedToUserId: string;
|
|
42
|
+
/**
|
|
43
|
+
* Name of Task
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateTask
|
|
46
|
+
*/
|
|
47
|
+
name: string;
|
|
48
|
+
/**
|
|
49
|
+
* Any relevant information for the task
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateTask
|
|
52
|
+
*/
|
|
53
|
+
description?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* When the notification should be shown
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof CreateTask
|
|
58
|
+
*/
|
|
59
|
+
dueBy: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {TaskCompletionStatus}
|
|
63
|
+
* @memberof CreateTask
|
|
64
|
+
*/
|
|
65
|
+
status: TaskCompletionStatus;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreateTask
|
|
70
|
+
*/
|
|
71
|
+
checklistId?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreateTask
|
|
76
|
+
*/
|
|
77
|
+
taskTemplateId?: string | null;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the CreateTask interface.
|
|
84
|
+
*/
|
|
85
|
+
export function instanceOfCreateTask(value: object): value is CreateTask {
|
|
86
|
+
if (!('assignedToUserId' in value) || value['assignedToUserId'] === undefined) return false;
|
|
87
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
88
|
+
if (!('dueBy' in value) || value['dueBy'] === undefined) return false;
|
|
89
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
90
|
+
return true;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function CreateTaskFromJSON(json: any): CreateTask {
|
|
94
|
+
return CreateTaskFromJSONTyped(json, false);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function CreateTaskFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTask {
|
|
98
|
+
if (json == null) {
|
|
99
|
+
return json;
|
|
100
|
+
}
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'createdByExtensibilityFunctionInstanceId': json['createdByExtensibilityFunctionInstanceId'] == null ? undefined : json['createdByExtensibilityFunctionInstanceId'],
|
|
104
|
+
'assignedToUserId': json['assignedToUserId'],
|
|
105
|
+
'name': json['name'],
|
|
106
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
107
|
+
'dueBy': (new Date(json['dueBy'])),
|
|
108
|
+
'status': TaskCompletionStatusFromJSON(json['status']),
|
|
109
|
+
'checklistId': json['checklistId'] == null ? undefined : json['checklistId'],
|
|
110
|
+
'taskTemplateId': json['taskTemplateId'] == null ? undefined : json['taskTemplateId'],
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function CreateTaskToJSON(json: any): CreateTask {
|
|
115
|
+
return CreateTaskToJSONTyped(json, false);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export function CreateTaskToJSONTyped(value?: CreateTask | null, ignoreDiscriminator: boolean = false): any {
|
|
119
|
+
if (value == null) {
|
|
120
|
+
return value;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
return {
|
|
124
|
+
|
|
125
|
+
'createdByExtensibilityFunctionInstanceId': value['createdByExtensibilityFunctionInstanceId'],
|
|
126
|
+
'assignedToUserId': value['assignedToUserId'],
|
|
127
|
+
'name': value['name'],
|
|
128
|
+
'description': value['description'],
|
|
129
|
+
'dueBy': ((value['dueBy']).toISOString()),
|
|
130
|
+
'status': TaskCompletionStatusToJSON(value['status']),
|
|
131
|
+
'checklistId': value['checklistId'],
|
|
132
|
+
'taskTemplateId': value['taskTemplateId'],
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
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 CustomUpdateTaskTemplate
|
|
20
|
+
*/
|
|
21
|
+
export interface CustomUpdateTaskTemplate {
|
|
22
|
+
/**
|
|
23
|
+
* Created by user id
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CustomUpdateTaskTemplate
|
|
26
|
+
*/
|
|
27
|
+
createdByUserId: string;
|
|
28
|
+
/**
|
|
29
|
+
* Created by user id
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CustomUpdateTaskTemplate
|
|
32
|
+
*/
|
|
33
|
+
assignedToUserId: string;
|
|
34
|
+
/**
|
|
35
|
+
* Checklist Id
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CustomUpdateTaskTemplate
|
|
38
|
+
*/
|
|
39
|
+
checklistId: string;
|
|
40
|
+
/**
|
|
41
|
+
* Task due by date
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof CustomUpdateTaskTemplate
|
|
44
|
+
*/
|
|
45
|
+
dueBy: Date;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the CustomUpdateTaskTemplate interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfCustomUpdateTaskTemplate(value: object): value is CustomUpdateTaskTemplate {
|
|
52
|
+
if (!('createdByUserId' in value) || value['createdByUserId'] === undefined) return false;
|
|
53
|
+
if (!('assignedToUserId' in value) || value['assignedToUserId'] === undefined) return false;
|
|
54
|
+
if (!('checklistId' in value) || value['checklistId'] === undefined) return false;
|
|
55
|
+
if (!('dueBy' in value) || value['dueBy'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function CustomUpdateTaskTemplateFromJSON(json: any): CustomUpdateTaskTemplate {
|
|
60
|
+
return CustomUpdateTaskTemplateFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function CustomUpdateTaskTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomUpdateTaskTemplate {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'createdByUserId': json['createdByUserId'],
|
|
70
|
+
'assignedToUserId': json['assignedToUserId'],
|
|
71
|
+
'checklistId': json['checklistId'],
|
|
72
|
+
'dueBy': (new Date(json['dueBy'])),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function CustomUpdateTaskTemplateToJSON(json: any): CustomUpdateTaskTemplate {
|
|
77
|
+
return CustomUpdateTaskTemplateToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function CustomUpdateTaskTemplateToJSONTyped(value?: CustomUpdateTaskTemplate | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'createdByUserId': value['createdByUserId'],
|
|
88
|
+
'assignedToUserId': value['assignedToUserId'],
|
|
89
|
+
'checklistId': value['checklistId'],
|
|
90
|
+
'dueBy': ((value['dueBy']).toISOString()),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,115 @@
|
|
|
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 DocumentSigned
|
|
20
|
+
*/
|
|
21
|
+
export interface DocumentSigned {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the workflow that triggered the document creation.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof DocumentSigned
|
|
26
|
+
*/
|
|
27
|
+
workflowId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The ID of the workflow step that created the document.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof DocumentSigned
|
|
32
|
+
*/
|
|
33
|
+
workflowStepId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The ID of the customer who signed the document.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof DocumentSigned
|
|
38
|
+
*/
|
|
39
|
+
customerId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The ID of the contact who signed the document.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof DocumentSigned
|
|
44
|
+
*/
|
|
45
|
+
contactId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the user who signed the document.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof DocumentSigned
|
|
50
|
+
*/
|
|
51
|
+
userId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Whether all signatures have been gathered or not.
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof DocumentSigned
|
|
56
|
+
*/
|
|
57
|
+
allSignaturesGathered: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Base64 encoded signed document
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof DocumentSigned
|
|
62
|
+
*/
|
|
63
|
+
file: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the DocumentSigned interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfDocumentSigned(value: object): value is DocumentSigned {
|
|
70
|
+
if (!('allSignaturesGathered' in value) || value['allSignaturesGathered'] === undefined) return false;
|
|
71
|
+
if (!('file' in value) || value['file'] === undefined) return false;
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function DocumentSignedFromJSON(json: any): DocumentSigned {
|
|
76
|
+
return DocumentSignedFromJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function DocumentSignedFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentSigned {
|
|
80
|
+
if (json == null) {
|
|
81
|
+
return json;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'workflowId': json['workflowId'] == null ? undefined : json['workflowId'],
|
|
86
|
+
'workflowStepId': json['workflowStepId'] == null ? undefined : json['workflowStepId'],
|
|
87
|
+
'customerId': json['customerId'] == null ? undefined : json['customerId'],
|
|
88
|
+
'contactId': json['contactId'] == null ? undefined : json['contactId'],
|
|
89
|
+
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
90
|
+
'allSignaturesGathered': json['allSignaturesGathered'],
|
|
91
|
+
'file': json['file'],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function DocumentSignedToJSON(json: any): DocumentSigned {
|
|
96
|
+
return DocumentSignedToJSONTyped(json, false);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function DocumentSignedToJSONTyped(value?: DocumentSigned | null, ignoreDiscriminator: boolean = false): any {
|
|
100
|
+
if (value == null) {
|
|
101
|
+
return value;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
return {
|
|
105
|
+
|
|
106
|
+
'workflowId': value['workflowId'],
|
|
107
|
+
'workflowStepId': value['workflowStepId'],
|
|
108
|
+
'customerId': value['customerId'],
|
|
109
|
+
'contactId': value['contactId'],
|
|
110
|
+
'userId': value['userId'],
|
|
111
|
+
'allSignaturesGathered': value['allSignaturesGathered'],
|
|
112
|
+
'file': value['file'],
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
package/src/generated/models/{update-customer200-response.ts → get-customers200-response.ts}
RENAMED
|
@@ -31,36 +31,36 @@ import {
|
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @export
|
|
34
|
-
* @interface
|
|
34
|
+
* @interface GetCustomers200Response
|
|
35
35
|
*/
|
|
36
|
-
export interface
|
|
36
|
+
export interface GetCustomers200Response {
|
|
37
37
|
/**
|
|
38
38
|
* The pagination metadata
|
|
39
39
|
* @type {PageMeta}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof GetCustomers200Response
|
|
41
41
|
*/
|
|
42
42
|
pageMeta: PageMeta;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {Array<Customer>}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof GetCustomers200Response
|
|
47
47
|
*/
|
|
48
48
|
results?: Array<Customer>;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Check if a given object implements the
|
|
52
|
+
* Check if a given object implements the GetCustomers200Response interface.
|
|
53
53
|
*/
|
|
54
|
-
export function
|
|
54
|
+
export function instanceOfGetCustomers200Response(value: object): value is GetCustomers200Response {
|
|
55
55
|
if (!('pageMeta' in value) || value['pageMeta'] === undefined) return false;
|
|
56
56
|
return true;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export function
|
|
60
|
-
return
|
|
59
|
+
export function GetCustomers200ResponseFromJSON(json: any): GetCustomers200Response {
|
|
60
|
+
return GetCustomers200ResponseFromJSONTyped(json, false);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export function
|
|
63
|
+
export function GetCustomers200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCustomers200Response {
|
|
64
64
|
if (json == null) {
|
|
65
65
|
return json;
|
|
66
66
|
}
|
|
@@ -71,11 +71,11 @@ export function UpdateCustomer200ResponseFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
export function
|
|
75
|
-
return
|
|
74
|
+
export function GetCustomers200ResponseToJSON(json: any): GetCustomers200Response {
|
|
75
|
+
return GetCustomers200ResponseToJSONTyped(json, false);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
export function
|
|
78
|
+
export function GetCustomers200ResponseToJSONTyped(value?: GetCustomers200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
79
79
|
if (value == null) {
|
|
80
80
|
return value;
|
|
81
81
|
}
|