@equisoft/equisoft-connect-sdk-typescript 10.28.3 → 10.29.0
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/models/ContactContactAdditionalInformation.d.ts +10 -10
- package/dist/models/ContactContactAddress.d.ts +10 -10
- package/dist/models/ContactContactEmail.d.ts +5 -5
- package/dist/models/ContactContactIdentification.d.ts +9 -9
- package/dist/models/ContactContactMaritalStatus.d.ts +5 -5
- package/dist/models/ContactContactOccupation.d.ts +6 -6
- package/dist/models/ContactContactPhone.d.ts +7 -7
- package/dist/models/ContactContactSegmentation.d.ts +7 -7
- package/dist/models/ContactContactWebsite.d.ts +4 -4
- package/dist/models/ContactsContact.d.ts +11 -11
- package/dist/models/ContextEquisoftConnect.d.ts +2 -2
- package/dist/models/ContextUserContext.d.ts +2 -2
- package/dist/models/EventsCreateEventPayload.d.ts +4 -4
- package/dist/models/EventsEvent.d.ts +19 -16
- package/dist/models/EventsEvent.js +8 -8
- package/dist/models/EventsGetEventInstancesResponse.d.ts +1 -1
- package/dist/models/EventsPatchEventPayload.d.ts +4 -4
- package/dist/models/FieldValue.d.ts +1 -1
- package/dist/models/GatewaysCredentials.d.ts +8 -8
- package/dist/models/GatewaysCredentialsWithSsn.d.ts +14 -14
- package/dist/models/GatewaysCredentialsWithSsn.js +2 -2
- package/dist/models/InternalNotesNote.d.ts +2 -2
- package/dist/models/InternalNotesNote.js +2 -2
- package/dist/models/InternalNotesNoteList.d.ts +1 -1
- package/dist/models/LaserAppLaserAppAnywhereError.d.ts +1 -1
- package/dist/models/LaserAppLaserAppAnywhereResponse.d.ts +1 -1
- package/dist/models/LegacyAddUpdateResponse.d.ts +6 -6
- package/dist/models/LegacyAddUpdateResponse.js +2 -2
- package/dist/models/LegacyContactContactPayloadItem.d.ts +96 -96
- package/dist/models/LegacyContactContactPayloadItem.js +32 -32
- package/dist/models/LegacyDocumentBase64FilePayloadItem.d.ts +12 -12
- package/dist/models/LegacyDocumentBase64FilePayloadItem.js +4 -4
- package/dist/models/LegacyDocumentDownloadFileResponse.d.ts +6 -6
- package/dist/models/LegacyDocumentDownloadFileResponse.js +2 -2
- package/dist/models/LegacyDocumentGetListResponse.d.ts +6 -6
- package/dist/models/LegacyDocumentGetListResponse.js +2 -2
- package/dist/models/LegacyDocumentGetResponse.d.ts +6 -6
- package/dist/models/LegacyDocumentGetResponse.js +2 -2
- package/dist/models/LegacyFinanceGetAccountStatementResponse.d.ts +6 -6
- package/dist/models/LegacyFinanceGetAccountStatementResponse.js +2 -2
- package/dist/models/LegacyFinanceGetLiabilitiesResponse.d.ts +6 -6
- package/dist/models/LegacyFinanceGetLiabilitiesResponse.js +2 -2
- package/dist/models/LegacyProvisioningGetOrganizationListResponse.d.ts +6 -6
- package/dist/models/LegacyProvisioningGetOrganizationListResponse.js +2 -2
- package/dist/models/LegacyProvisioningGetOrganizationResponse.d.ts +6 -6
- package/dist/models/LegacyProvisioningGetOrganizationResponse.js +2 -2
- package/dist/models/MovementMovement.d.ts +6 -6
- package/dist/models/MovementUser.d.ts +3 -3
- package/dist/models/MovementUser.js +2 -2
- package/dist/models/MxRecipient.d.ts +4 -4
- package/dist/models/TasksCreateTaskPayload.d.ts +3 -3
- package/dist/models/TasksListTaskResponse.d.ts +1 -1
- package/dist/models/TasksPatchTaskPayload.d.ts +3 -3
- package/dist/models/TasksTask.d.ts +15 -15
- package/dist/models/TasksTask.js +16 -16
- package/dist/models/Translation.d.ts +2 -2
- package/package.json +1 -1
- package/src/models/ContactContactAdditionalInformation.ts +10 -10
- package/src/models/ContactContactAddress.ts +10 -10
- package/src/models/ContactContactEmail.ts +5 -5
- package/src/models/ContactContactIdentification.ts +9 -9
- package/src/models/ContactContactMaritalStatus.ts +5 -5
- package/src/models/ContactContactOccupation.ts +6 -6
- package/src/models/ContactContactPhone.ts +7 -7
- package/src/models/ContactContactSegmentation.ts +7 -7
- package/src/models/ContactContactWebsite.ts +4 -4
- package/src/models/ContactsContact.ts +11 -11
- package/src/models/ContextEquisoftConnect.ts +2 -2
- package/src/models/ContextUserContext.ts +2 -2
- package/src/models/EventsCreateEventPayload.ts +4 -4
- package/src/models/EventsEvent.ts +27 -24
- package/src/models/EventsGetEventInstancesResponse.ts +1 -1
- package/src/models/EventsPatchEventPayload.ts +4 -4
- package/src/models/FieldValue.ts +1 -1
- package/src/models/GatewaysCredentials.ts +8 -8
- package/src/models/GatewaysCredentialsWithSsn.ts +16 -16
- package/src/models/InternalNotesNote.ts +4 -4
- package/src/models/InternalNotesNoteList.ts +1 -1
- package/src/models/LaserAppLaserAppAnywhereError.ts +1 -1
- package/src/models/LaserAppLaserAppAnywhereResponse.ts +1 -1
- package/src/models/LegacyAddUpdateResponse.ts +8 -8
- package/src/models/LegacyContactContactPayloadItem.ts +128 -128
- package/src/models/LegacyDocumentBase64FilePayloadItem.ts +16 -16
- package/src/models/LegacyDocumentDownloadFileResponse.ts +8 -8
- package/src/models/LegacyDocumentGetListResponse.ts +8 -8
- package/src/models/LegacyDocumentGetResponse.ts +8 -8
- package/src/models/LegacyFinanceGetAccountStatementResponse.ts +8 -8
- package/src/models/LegacyFinanceGetLiabilitiesResponse.ts +8 -8
- package/src/models/LegacyProvisioningGetOrganizationListResponse.ts +8 -8
- package/src/models/LegacyProvisioningGetOrganizationResponse.ts +8 -8
- package/src/models/MovementMovement.ts +6 -6
- package/src/models/MovementUser.ts +5 -5
- package/src/models/MxRecipient.ts +4 -4
- package/src/models/TasksCreateTaskPayload.ts +3 -3
- package/src/models/TasksListTaskResponse.ts +1 -1
- package/src/models/TasksPatchTaskPayload.ts +3 -3
- package/src/models/TasksTask.ts +31 -31
- package/src/models/Translation.ts +2 -2
|
@@ -38,12 +38,6 @@ import {
|
|
|
38
38
|
* @interface LegacyProvisioningGetOrganizationResponse
|
|
39
39
|
*/
|
|
40
40
|
export interface LegacyProvisioningGetOrganizationResponse {
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {LegacyProvisioningOrganizationItem}
|
|
44
|
-
* @memberof LegacyProvisioningGetOrganizationResponse
|
|
45
|
-
*/
|
|
46
|
-
organization: LegacyProvisioningOrganizationItem;
|
|
47
41
|
/**
|
|
48
42
|
* Status of the request that has been made. Can be 'ok' or 'fail'
|
|
49
43
|
* @type {string}
|
|
@@ -62,6 +56,12 @@ export interface LegacyProvisioningGetOrganizationResponse {
|
|
|
62
56
|
* @memberof LegacyProvisioningGetOrganizationResponse
|
|
63
57
|
*/
|
|
64
58
|
errorMsg?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {LegacyProvisioningOrganizationItem}
|
|
62
|
+
* @memberof LegacyProvisioningGetOrganizationResponse
|
|
63
|
+
*/
|
|
64
|
+
organization: LegacyProvisioningOrganizationItem;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
export function LegacyProvisioningGetOrganizationResponseFromJSON(json: any): LegacyProvisioningGetOrganizationResponse {
|
|
@@ -74,10 +74,10 @@ export function LegacyProvisioningGetOrganizationResponseFromJSONTyped(json: any
|
|
|
74
74
|
}
|
|
75
75
|
return {
|
|
76
76
|
|
|
77
|
-
'organization': LegacyProvisioningOrganizationItemFromJSON(json['organization']),
|
|
78
77
|
'stat': !exists(json, 'stat') ? undefined : json['stat'],
|
|
79
78
|
'errorCode': !exists(json, 'error_code') ? undefined : json['error_code'],
|
|
80
79
|
'errorMsg': !exists(json, 'error_msg') ? undefined : json['error_msg'],
|
|
80
|
+
'organization': LegacyProvisioningOrganizationItemFromJSON(json['organization']),
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -90,10 +90,10 @@ export function LegacyProvisioningGetOrganizationResponseToJSON(value?: LegacyPr
|
|
|
90
90
|
}
|
|
91
91
|
return {
|
|
92
92
|
|
|
93
|
-
'organization': LegacyProvisioningOrganizationItemToJSON(value.organization),
|
|
94
93
|
'stat': value.stat,
|
|
95
94
|
'error_code': value.errorCode,
|
|
96
95
|
'error_msg': value.errorMsg,
|
|
96
|
+
'organization': LegacyProvisioningOrganizationItemToJSON(value.organization),
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -57,37 +57,37 @@ export interface MovementMovement {
|
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof MovementMovement
|
|
59
59
|
*/
|
|
60
|
-
scheduledDate?: string;
|
|
60
|
+
scheduledDate?: string | null;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @memberof MovementMovement
|
|
65
65
|
*/
|
|
66
|
-
processedDate?: string;
|
|
66
|
+
processedDate?: string | null;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @memberof MovementMovement
|
|
71
71
|
*/
|
|
72
|
-
addedDate?: string;
|
|
72
|
+
addedDate?: string | null;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {MovementUser}
|
|
76
76
|
* @memberof MovementMovement
|
|
77
77
|
*/
|
|
78
|
-
addedBy?: MovementUser;
|
|
78
|
+
addedBy?: MovementUser | null;
|
|
79
79
|
/**
|
|
80
80
|
*
|
|
81
81
|
* @type {string}
|
|
82
82
|
* @memberof MovementMovement
|
|
83
83
|
*/
|
|
84
|
-
cancelledDate?: string;
|
|
84
|
+
cancelledDate?: string | null;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @type {MovementUser}
|
|
88
88
|
* @memberof MovementMovement
|
|
89
89
|
*/
|
|
90
|
-
cancelledBy?: MovementUser;
|
|
90
|
+
cancelledBy?: MovementUser | null;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
export function MovementMovementFromJSON(json: any): MovementMovement {
|
|
@@ -24,19 +24,19 @@ export interface MovementUser {
|
|
|
24
24
|
* @type {number}
|
|
25
25
|
* @memberof MovementUser
|
|
26
26
|
*/
|
|
27
|
-
id
|
|
27
|
+
id: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof MovementUser
|
|
32
32
|
*/
|
|
33
|
-
uuid?: string;
|
|
33
|
+
uuid?: string | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof MovementUser
|
|
38
38
|
*/
|
|
39
|
-
displayName
|
|
39
|
+
displayName: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
export function MovementUserFromJSON(json: any): MovementUser {
|
|
@@ -49,9 +49,9 @@ export function MovementUserFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
51
|
|
|
52
|
-
'id':
|
|
52
|
+
'id': json['id'],
|
|
53
53
|
'uuid': !exists(json, 'uuid') ? undefined : json['uuid'],
|
|
54
|
-
'displayName':
|
|
54
|
+
'displayName': json['displayName'],
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -20,25 +20,25 @@ import { exists, mapValues } from '../runtime';
|
|
|
20
20
|
*/
|
|
21
21
|
export interface MxRecipient {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
*
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof MxRecipient
|
|
26
26
|
*/
|
|
27
27
|
id: string;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
*
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof MxRecipient
|
|
32
32
|
*/
|
|
33
33
|
contactId: string;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
*
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof MxRecipient
|
|
38
38
|
*/
|
|
39
39
|
email: string;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
*
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof MxRecipient
|
|
44
44
|
*/
|
|
@@ -69,10 +69,10 @@ export interface TasksCreateTaskPayload {
|
|
|
69
69
|
subCategoryId?: number;
|
|
70
70
|
/**
|
|
71
71
|
* Importance/Priority of an event or task. 5 is the most important.
|
|
72
|
-
* @type {
|
|
72
|
+
* @type {number}
|
|
73
73
|
* @memberof TasksCreateTaskPayload
|
|
74
74
|
*/
|
|
75
|
-
priority?:
|
|
75
|
+
priority?: number;
|
|
76
76
|
/**
|
|
77
77
|
* Confidentiality level of the Event (private or not). [NORMAL, PRIVATE]
|
|
78
78
|
* @type {string}
|
|
@@ -84,7 +84,7 @@ export interface TasksCreateTaskPayload {
|
|
|
84
84
|
* @type {Array<number>}
|
|
85
85
|
* @memberof TasksCreateTaskPayload
|
|
86
86
|
*/
|
|
87
|
-
contactIds?: Array<number
|
|
87
|
+
contactIds?: Array<number>;
|
|
88
88
|
/**
|
|
89
89
|
* Ids of the owner users of the task.
|
|
90
90
|
* @type {Array<number>}
|
|
@@ -69,10 +69,10 @@ export interface TasksPatchTaskPayload {
|
|
|
69
69
|
subCategoryId?: number;
|
|
70
70
|
/**
|
|
71
71
|
* Importance/Priority of an event or task. 5 is the most important.
|
|
72
|
-
* @type {
|
|
72
|
+
* @type {number}
|
|
73
73
|
* @memberof TasksPatchTaskPayload
|
|
74
74
|
*/
|
|
75
|
-
priority?:
|
|
75
|
+
priority?: number;
|
|
76
76
|
/**
|
|
77
77
|
* Confidentiality level of the Event (private or not). [NORMAL, PRIVATE]
|
|
78
78
|
* @type {string}
|
|
@@ -84,7 +84,7 @@ export interface TasksPatchTaskPayload {
|
|
|
84
84
|
* @type {Array<number>}
|
|
85
85
|
* @memberof TasksPatchTaskPayload
|
|
86
86
|
*/
|
|
87
|
-
contactIds?: Array<number
|
|
87
|
+
contactIds?: Array<number>;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
export function TasksPatchTaskPayloadFromJSON(json: any): TasksPatchTaskPayload {
|
package/src/models/TasksTask.ts
CHANGED
|
@@ -52,22 +52,22 @@ export interface TasksTask {
|
|
|
52
52
|
isCompleted: boolean;
|
|
53
53
|
/**
|
|
54
54
|
* Date the task is expected to be done. As defined by full-date - RFC3339
|
|
55
|
-
* @type {
|
|
55
|
+
* @type {Date}
|
|
56
56
|
* @memberof TasksTask
|
|
57
57
|
*/
|
|
58
|
-
dueDate?:
|
|
58
|
+
dueDate?: Date | null;
|
|
59
59
|
/**
|
|
60
60
|
* Date the task was initially started. As defined by full-date - RFC3339
|
|
61
|
-
* @type {
|
|
61
|
+
* @type {Date}
|
|
62
62
|
* @memberof TasksTask
|
|
63
63
|
*/
|
|
64
|
-
initialDate?:
|
|
64
|
+
initialDate?: Date | null;
|
|
65
65
|
/**
|
|
66
66
|
* Date the task was completed / done. As defined by full-date - RFC3339
|
|
67
|
-
* @type {
|
|
67
|
+
* @type {Date}
|
|
68
68
|
* @memberof TasksTask
|
|
69
69
|
*/
|
|
70
|
-
completedDate?:
|
|
70
|
+
completedDate?: Date | null;
|
|
71
71
|
/**
|
|
72
72
|
* Public description of the Event.
|
|
73
73
|
* @type {string}
|
|
@@ -81,47 +81,47 @@ export interface TasksTask {
|
|
|
81
81
|
*/
|
|
82
82
|
internalNotes?: string;
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* Event category
|
|
85
85
|
* @type {FieldValue}
|
|
86
86
|
* @memberof TasksTask
|
|
87
87
|
*/
|
|
88
|
-
category?: FieldValue;
|
|
88
|
+
category?: FieldValue | null;
|
|
89
89
|
/**
|
|
90
90
|
* Event sub category
|
|
91
|
-
* @type {
|
|
91
|
+
* @type {FieldValue}
|
|
92
92
|
* @memberof TasksTask
|
|
93
93
|
*/
|
|
94
|
-
subCategory?:
|
|
94
|
+
subCategory?: FieldValue | null;
|
|
95
95
|
/**
|
|
96
96
|
* Importance/Priority of an event or task. 5 is the most important.
|
|
97
97
|
* @type {number}
|
|
98
98
|
* @memberof TasksTask
|
|
99
99
|
*/
|
|
100
|
-
priority
|
|
100
|
+
priority: number;
|
|
101
101
|
/**
|
|
102
102
|
* Confidentiality level of the Event (private or not). [NORMAL, PRIVATE]
|
|
103
103
|
* @type {string}
|
|
104
104
|
* @memberof TasksTask
|
|
105
105
|
*/
|
|
106
|
-
visibility
|
|
106
|
+
visibility: string;
|
|
107
107
|
/**
|
|
108
108
|
* Creation time. As defined by date-time - RFC3339
|
|
109
109
|
* @type {Date}
|
|
110
110
|
* @memberof TasksTask
|
|
111
111
|
*/
|
|
112
|
-
creationTime?: Date;
|
|
112
|
+
creationTime?: Date | null;
|
|
113
113
|
/**
|
|
114
114
|
* Date time of last modification. As defined by date-time - RFC3339
|
|
115
115
|
* @type {Date}
|
|
116
116
|
* @memberof TasksTask
|
|
117
117
|
*/
|
|
118
|
-
updateTime?: Date;
|
|
118
|
+
updateTime?: Date | null;
|
|
119
119
|
/**
|
|
120
120
|
* Completion time. As defined by date-time - RFC3339
|
|
121
121
|
* @type {Date}
|
|
122
122
|
* @memberof TasksTask
|
|
123
123
|
*/
|
|
124
|
-
completionTime?: Date;
|
|
124
|
+
completionTime?: Date | null;
|
|
125
125
|
/**
|
|
126
126
|
* IDs of the contacts linked to this Task
|
|
127
127
|
* @type {Array<number>}
|
|
@@ -149,18 +149,18 @@ export function TasksTaskFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
149
149
|
'id': json['id'],
|
|
150
150
|
'subject': json['subject'],
|
|
151
151
|
'isCompleted': json['isCompleted'],
|
|
152
|
-
'dueDate': !exists(json, 'dueDate') ? undefined : json['dueDate'],
|
|
153
|
-
'initialDate': !exists(json, 'initialDate') ? undefined : json['initialDate'],
|
|
154
|
-
'completedDate': !exists(json, 'completedDate') ? undefined : json['completedDate'],
|
|
152
|
+
'dueDate': !exists(json, 'dueDate') ? undefined : (json['dueDate'] === null ? null : new Date(json['dueDate'])),
|
|
153
|
+
'initialDate': !exists(json, 'initialDate') ? undefined : (json['initialDate'] === null ? null : new Date(json['initialDate'])),
|
|
154
|
+
'completedDate': !exists(json, 'completedDate') ? undefined : (json['completedDate'] === null ? null : new Date(json['completedDate'])),
|
|
155
155
|
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
156
156
|
'internalNotes': !exists(json, 'internalNotes') ? undefined : json['internalNotes'],
|
|
157
157
|
'category': !exists(json, 'category') ? undefined : FieldValueFromJSON(json['category']),
|
|
158
|
-
'subCategory': !exists(json, 'subCategory') ? undefined : json['subCategory'],
|
|
159
|
-
'priority':
|
|
160
|
-
'visibility':
|
|
161
|
-
'creationTime': !exists(json, 'creationTime') ? undefined : (new Date(json['creationTime'])),
|
|
162
|
-
'updateTime': !exists(json, 'updateTime') ? undefined : (new Date(json['updateTime'])),
|
|
163
|
-
'completionTime': !exists(json, 'completionTime') ? undefined : (new Date(json['completionTime'])),
|
|
158
|
+
'subCategory': !exists(json, 'subCategory') ? undefined : FieldValueFromJSON(json['subCategory']),
|
|
159
|
+
'priority': json['priority'],
|
|
160
|
+
'visibility': json['visibility'],
|
|
161
|
+
'creationTime': !exists(json, 'creationTime') ? undefined : (json['creationTime'] === null ? null : new Date(json['creationTime'])),
|
|
162
|
+
'updateTime': !exists(json, 'updateTime') ? undefined : (json['updateTime'] === null ? null : new Date(json['updateTime'])),
|
|
163
|
+
'completionTime': !exists(json, 'completionTime') ? undefined : (json['completionTime'] === null ? null : new Date(json['completionTime'])),
|
|
164
164
|
'contactIds': !exists(json, 'contactIds') ? undefined : json['contactIds'],
|
|
165
165
|
'accessRights': AccessRightsFromJSON(json['accessRights']),
|
|
166
166
|
};
|
|
@@ -178,18 +178,18 @@ export function TasksTaskToJSON(value?: TasksTask | null): any {
|
|
|
178
178
|
'id': value.id,
|
|
179
179
|
'subject': value.subject,
|
|
180
180
|
'isCompleted': value.isCompleted,
|
|
181
|
-
'dueDate': value.dueDate,
|
|
182
|
-
'initialDate': value.initialDate,
|
|
183
|
-
'completedDate': value.completedDate,
|
|
181
|
+
'dueDate': value.dueDate === undefined ? undefined : (value.dueDate === null ? null : value.dueDate.toISOString().substr(0,10)),
|
|
182
|
+
'initialDate': value.initialDate === undefined ? undefined : (value.initialDate === null ? null : value.initialDate.toISOString().substr(0,10)),
|
|
183
|
+
'completedDate': value.completedDate === undefined ? undefined : (value.completedDate === null ? null : value.completedDate.toISOString().substr(0,10)),
|
|
184
184
|
'description': value.description,
|
|
185
185
|
'internalNotes': value.internalNotes,
|
|
186
186
|
'category': FieldValueToJSON(value.category),
|
|
187
|
-
'subCategory': value.subCategory,
|
|
187
|
+
'subCategory': FieldValueToJSON(value.subCategory),
|
|
188
188
|
'priority': value.priority,
|
|
189
189
|
'visibility': value.visibility,
|
|
190
|
-
'creationTime': value.creationTime === undefined ? undefined : (value.creationTime.toISOString()),
|
|
191
|
-
'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
|
|
192
|
-
'completionTime': value.completionTime === undefined ? undefined : (value.completionTime.toISOString()),
|
|
190
|
+
'creationTime': value.creationTime === undefined ? undefined : (value.creationTime === null ? null : value.creationTime.toISOString()),
|
|
191
|
+
'updateTime': value.updateTime === undefined ? undefined : (value.updateTime === null ? null : value.updateTime.toISOString()),
|
|
192
|
+
'completionTime': value.completionTime === undefined ? undefined : (value.completionTime === null ? null : value.completionTime.toISOString()),
|
|
193
193
|
'contactIds': value.contactIds,
|
|
194
194
|
'accessRights': AccessRightsToJSON(value.accessRights),
|
|
195
195
|
};
|
|
@@ -20,13 +20,13 @@ import { exists, mapValues } from '../runtime';
|
|
|
20
20
|
*/
|
|
21
21
|
export interface Translation {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Translation's locale.
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof Translation
|
|
26
26
|
*/
|
|
27
27
|
locale: string;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Translation's label in associated locale.
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof Translation
|
|
32
32
|
*/
|