@equisoft/equisoft-connect-sdk-typescript 10.28.3-snapshot.20220815162308 → 10.28.3
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 +16 -19
- 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 +24 -27
- 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
|
@@ -59,7 +59,7 @@ export interface EventsEvent {
|
|
|
59
59
|
* @type {string}
|
|
60
60
|
* @memberof EventsEvent
|
|
61
61
|
*/
|
|
62
|
-
initialDate?: string
|
|
62
|
+
initialDate?: string;
|
|
63
63
|
/**
|
|
64
64
|
* Public description of the Event.
|
|
65
65
|
* @type {string}
|
|
@@ -85,65 +85,62 @@ export interface EventsEvent {
|
|
|
85
85
|
*/
|
|
86
86
|
type: string;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
*
|
|
89
89
|
* @type {FieldValue}
|
|
90
90
|
* @memberof EventsEvent
|
|
91
91
|
*/
|
|
92
|
-
category?: FieldValue
|
|
92
|
+
category?: FieldValue;
|
|
93
93
|
/**
|
|
94
94
|
* Event sub category
|
|
95
|
-
* @type {
|
|
95
|
+
* @type {any}
|
|
96
96
|
* @memberof EventsEvent
|
|
97
97
|
*/
|
|
98
|
-
subCategory?:
|
|
98
|
+
subCategory?: any | null;
|
|
99
99
|
/**
|
|
100
|
-
* The recurrence rule for this event.
|
|
101
|
-
* The recurrence is a string conform to RFC 5545 (see RRULE http://tools.ietf.org/html/rfc5545#section-3.8.5.3).
|
|
100
|
+
* The recurrence rule for this event. The recurrence is a string conform to RFC 5545 (see RRULE http://tools.ietf.org/html/rfc5545#section-3.8.5.3).
|
|
102
101
|
* @type {string}
|
|
103
102
|
* @memberof EventsEvent
|
|
104
103
|
*/
|
|
105
|
-
recurrenceRule?: string
|
|
104
|
+
recurrenceRule?: string;
|
|
106
105
|
/**
|
|
107
106
|
* For an instance of recurring event, ID of the master event.
|
|
108
107
|
* @type {string}
|
|
109
108
|
* @memberof EventsEvent
|
|
110
109
|
*/
|
|
111
|
-
recurringEventId?: string
|
|
110
|
+
recurringEventId?: string;
|
|
112
111
|
/**
|
|
113
112
|
* For an instance of recurring event, original start date of the event according to the recurrence rule.
|
|
114
|
-
* This uniquely identify the occurrence and can be different from start date.
|
|
115
113
|
* @type {string}
|
|
116
114
|
* @memberof EventsEvent
|
|
117
115
|
*/
|
|
118
|
-
originalStartDate?: string
|
|
116
|
+
originalStartDate?: string;
|
|
119
117
|
/**
|
|
120
118
|
* Importance/Priority of an event or task. 5 is the most important.
|
|
121
119
|
* @type {number}
|
|
122
120
|
* @memberof EventsEvent
|
|
123
121
|
*/
|
|
124
|
-
priority
|
|
122
|
+
priority?: number;
|
|
125
123
|
/**
|
|
126
124
|
* Confidentiality level of the Event (private or not). [NORMAL, PRIVATE]
|
|
127
125
|
* @type {string}
|
|
128
126
|
* @memberof EventsEvent
|
|
129
127
|
*/
|
|
130
|
-
visibility
|
|
128
|
+
visibility?: string;
|
|
131
129
|
/**
|
|
132
130
|
* Creation time. As defined by date-time - RFC3339
|
|
133
131
|
* @type {Date}
|
|
134
132
|
* @memberof EventsEvent
|
|
135
133
|
*/
|
|
136
|
-
creationTime?: Date
|
|
134
|
+
creationTime?: Date;
|
|
137
135
|
/**
|
|
138
136
|
* Date time of last modification. As defined by date-time - RFC3339
|
|
139
137
|
* @type {Date}
|
|
140
138
|
* @memberof EventsEvent
|
|
141
139
|
*/
|
|
142
|
-
updateTime?: Date
|
|
140
|
+
updateTime?: Date;
|
|
143
141
|
/**
|
|
144
142
|
* ID of the calendar owning this Event. If owned by many users, calendarId will be
|
|
145
|
-
* - The primary ( or completed depending on state) calendar ID of the connected user if the user
|
|
146
|
-
* is one of the owners.
|
|
143
|
+
* - The primary ( or completed depending on state) calendar ID of the connected user if the user is the he is one of the owners.
|
|
147
144
|
* - Any primary ( or completed depending on state) completed calendar ID of one of the owners.
|
|
148
145
|
* @type {number}
|
|
149
146
|
* @memberof EventsEvent
|
|
@@ -154,13 +151,13 @@ export interface EventsEvent {
|
|
|
154
151
|
* @type {string}
|
|
155
152
|
* @memberof EventsEvent
|
|
156
153
|
*/
|
|
157
|
-
color?: string
|
|
154
|
+
color?: string;
|
|
158
155
|
/**
|
|
159
156
|
* hex text color of this event
|
|
160
157
|
* @type {string}
|
|
161
158
|
* @memberof EventsEvent
|
|
162
159
|
*/
|
|
163
|
-
textColor?: string
|
|
160
|
+
textColor?: string;
|
|
164
161
|
/**
|
|
165
162
|
* IDs of the contacts linked to this Event
|
|
166
163
|
* @type {Array<number>}
|
|
@@ -39,14 +39,14 @@ function EventsEventFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'location': !runtime_1.exists(json, 'location') ? undefined : json['location'],
|
|
40
40
|
'type': json['type'],
|
|
41
41
|
'category': !runtime_1.exists(json, 'category') ? undefined : FieldValue_1.FieldValueFromJSON(json['category']),
|
|
42
|
-
'subCategory': !runtime_1.exists(json, 'subCategory') ? undefined :
|
|
42
|
+
'subCategory': !runtime_1.exists(json, 'subCategory') ? undefined : json['subCategory'],
|
|
43
43
|
'recurrenceRule': !runtime_1.exists(json, 'recurrenceRule') ? undefined : json['recurrenceRule'],
|
|
44
44
|
'recurringEventId': !runtime_1.exists(json, 'recurringEventId') ? undefined : json['recurringEventId'],
|
|
45
45
|
'originalStartDate': !runtime_1.exists(json, 'originalStartDate') ? undefined : json['originalStartDate'],
|
|
46
|
-
'priority': json['priority'],
|
|
47
|
-
'visibility': json['visibility'],
|
|
48
|
-
'creationTime': !runtime_1.exists(json, 'creationTime') ? undefined : (
|
|
49
|
-
'updateTime': !runtime_1.exists(json, 'updateTime') ? undefined : (
|
|
46
|
+
'priority': !runtime_1.exists(json, 'priority') ? undefined : json['priority'],
|
|
47
|
+
'visibility': !runtime_1.exists(json, 'visibility') ? undefined : json['visibility'],
|
|
48
|
+
'creationTime': !runtime_1.exists(json, 'creationTime') ? undefined : (new Date(json['creationTime'])),
|
|
49
|
+
'updateTime': !runtime_1.exists(json, 'updateTime') ? undefined : (new Date(json['updateTime'])),
|
|
50
50
|
'calendarId': json['calendarId'],
|
|
51
51
|
'color': !runtime_1.exists(json, 'color') ? undefined : json['color'],
|
|
52
52
|
'textColor': !runtime_1.exists(json, 'textColor') ? undefined : json['textColor'],
|
|
@@ -75,14 +75,14 @@ function EventsEventToJSON(value) {
|
|
|
75
75
|
'location': value.location,
|
|
76
76
|
'type': value.type,
|
|
77
77
|
'category': FieldValue_1.FieldValueToJSON(value.category),
|
|
78
|
-
'subCategory':
|
|
78
|
+
'subCategory': value.subCategory,
|
|
79
79
|
'recurrenceRule': value.recurrenceRule,
|
|
80
80
|
'recurringEventId': value.recurringEventId,
|
|
81
81
|
'originalStartDate': value.originalStartDate,
|
|
82
82
|
'priority': value.priority,
|
|
83
83
|
'visibility': value.visibility,
|
|
84
|
-
'creationTime': value.creationTime === undefined ? undefined : (value.creationTime
|
|
85
|
-
'updateTime': value.updateTime === undefined ? undefined : (value.updateTime
|
|
84
|
+
'creationTime': value.creationTime === undefined ? undefined : (value.creationTime.toISOString()),
|
|
85
|
+
'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
|
|
86
86
|
'calendarId': value.calendarId,
|
|
87
87
|
'color': value.color,
|
|
88
88
|
'textColor': value.textColor,
|
|
@@ -66,10 +66,10 @@ export interface EventsPatchEventPayload {
|
|
|
66
66
|
location?: string;
|
|
67
67
|
/**
|
|
68
68
|
* Event type
|
|
69
|
-
* @type {
|
|
69
|
+
* @type {any}
|
|
70
70
|
* @memberof EventsPatchEventPayload
|
|
71
71
|
*/
|
|
72
|
-
type?:
|
|
72
|
+
type?: any | null;
|
|
73
73
|
/**
|
|
74
74
|
* ID of the field value to use as category.
|
|
75
75
|
* @type {number}
|
|
@@ -84,10 +84,10 @@ export interface EventsPatchEventPayload {
|
|
|
84
84
|
subCategoryId?: number;
|
|
85
85
|
/**
|
|
86
86
|
* Importance/Priority of an event or task. 5 is the most important.
|
|
87
|
-
* @type {
|
|
87
|
+
* @type {any}
|
|
88
88
|
* @memberof EventsPatchEventPayload
|
|
89
89
|
*/
|
|
90
|
-
priority?:
|
|
90
|
+
priority?: any | null;
|
|
91
91
|
/**
|
|
92
92
|
* Confidentiality level of the Event (private or not). [NORMAL, PRIVATE]
|
|
93
93
|
* @type {string}
|
|
@@ -16,31 +16,31 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface GatewaysCredentials {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* | null
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof GatewaysCredentials
|
|
22
22
|
*/
|
|
23
|
-
username: string
|
|
23
|
+
username: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* | null
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof GatewaysCredentials
|
|
28
28
|
*/
|
|
29
|
-
password: string
|
|
29
|
+
password: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* | null
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof GatewaysCredentials
|
|
34
34
|
*/
|
|
35
|
-
repcode?: string
|
|
35
|
+
repcode?: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
*
|
|
38
38
|
* @type {boolean}
|
|
39
39
|
* @memberof GatewaysCredentials
|
|
40
40
|
*/
|
|
41
41
|
isADealerCode?: boolean;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof GatewaysCredentials
|
|
46
46
|
*/
|
|
@@ -16,41 +16,41 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface GatewaysCredentialsWithSsn {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The list will contain formatted SSNs, i.e. "123 456 789"
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof GatewaysCredentialsWithSsn
|
|
22
|
+
*/
|
|
23
|
+
ssnList?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* | null
|
|
20
26
|
* @type {string}
|
|
21
27
|
* @memberof GatewaysCredentialsWithSsn
|
|
22
28
|
*/
|
|
23
|
-
username: string
|
|
29
|
+
username: string;
|
|
24
30
|
/**
|
|
25
|
-
*
|
|
31
|
+
* | null
|
|
26
32
|
* @type {string}
|
|
27
33
|
* @memberof GatewaysCredentialsWithSsn
|
|
28
34
|
*/
|
|
29
|
-
password: string
|
|
35
|
+
password: string;
|
|
30
36
|
/**
|
|
31
|
-
*
|
|
37
|
+
* | null
|
|
32
38
|
* @type {string}
|
|
33
39
|
* @memberof GatewaysCredentialsWithSsn
|
|
34
40
|
*/
|
|
35
|
-
repcode?: string
|
|
41
|
+
repcode?: string;
|
|
36
42
|
/**
|
|
37
|
-
*
|
|
43
|
+
*
|
|
38
44
|
* @type {boolean}
|
|
39
45
|
* @memberof GatewaysCredentialsWithSsn
|
|
40
46
|
*/
|
|
41
47
|
isADealerCode?: boolean;
|
|
42
48
|
/**
|
|
43
|
-
*
|
|
49
|
+
*
|
|
44
50
|
* @type {string}
|
|
45
51
|
* @memberof GatewaysCredentialsWithSsn
|
|
46
52
|
*/
|
|
47
53
|
dealerSystemName?: string;
|
|
48
|
-
/**
|
|
49
|
-
* The list will contain formatted SSNs, i.e. "123 456 789"
|
|
50
|
-
* @type {Array<string>}
|
|
51
|
-
* @memberof GatewaysCredentialsWithSsn
|
|
52
|
-
*/
|
|
53
|
-
ssnList?: Array<string>;
|
|
54
54
|
}
|
|
55
55
|
export declare function GatewaysCredentialsWithSsnFromJSON(json: any): GatewaysCredentialsWithSsn;
|
|
56
56
|
export declare function GatewaysCredentialsWithSsnFromJSONTyped(json: any, ignoreDiscriminator: boolean): GatewaysCredentialsWithSsn;
|
|
@@ -24,12 +24,12 @@ function GatewaysCredentialsWithSsnFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
+
'ssnList': !runtime_1.exists(json, 'ssnList') ? undefined : json['ssnList'],
|
|
27
28
|
'username': json['username'],
|
|
28
29
|
'password': json['password'],
|
|
29
30
|
'repcode': !runtime_1.exists(json, 'repcode') ? undefined : json['repcode'],
|
|
30
31
|
'isADealerCode': !runtime_1.exists(json, 'isADealerCode') ? undefined : json['isADealerCode'],
|
|
31
32
|
'dealerSystemName': !runtime_1.exists(json, 'dealerSystemName') ? undefined : json['dealerSystemName'],
|
|
32
|
-
'ssnList': !runtime_1.exists(json, 'ssnList') ? undefined : json['ssnList'],
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
exports.GatewaysCredentialsWithSsnFromJSONTyped = GatewaysCredentialsWithSsnFromJSONTyped;
|
|
@@ -41,12 +41,12 @@ function GatewaysCredentialsWithSsnToJSON(value) {
|
|
|
41
41
|
return null;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
+
'ssnList': value.ssnList,
|
|
44
45
|
'username': value.username,
|
|
45
46
|
'password': value.password,
|
|
46
47
|
'repcode': value.repcode,
|
|
47
48
|
'isADealerCode': value.isADealerCode,
|
|
48
49
|
'dealerSystemName': value.dealerSystemName,
|
|
49
|
-
'ssnList': value.ssnList,
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
exports.GatewaysCredentialsWithSsnToJSON = GatewaysCredentialsWithSsnToJSON;
|
|
@@ -41,7 +41,7 @@ export interface InternalNotesNote {
|
|
|
41
41
|
* @type {AccessRights}
|
|
42
42
|
* @memberof InternalNotesNote
|
|
43
43
|
*/
|
|
44
|
-
accessRights: AccessRights;
|
|
44
|
+
accessRights: AccessRights | null;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @type {InternalNotesNoteRevision}
|
|
@@ -53,7 +53,7 @@ export interface InternalNotesNote {
|
|
|
53
53
|
* @type {Array<InternalNotesNoteRevision>}
|
|
54
54
|
* @memberof InternalNotesNote
|
|
55
55
|
*/
|
|
56
|
-
previousRevisions?: Array<InternalNotesNoteRevision
|
|
56
|
+
previousRevisions?: Array<InternalNotesNoteRevision> | null;
|
|
57
57
|
}
|
|
58
58
|
export declare function InternalNotesNoteFromJSON(json: any): InternalNotesNote;
|
|
59
59
|
export declare function InternalNotesNoteFromJSONTyped(json: any, ignoreDiscriminator: boolean): InternalNotesNote;
|
|
@@ -32,7 +32,7 @@ function InternalNotesNoteFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'firstRevisionCreatedAt': (json['firstRevisionCreatedAt'] === null ? null : new Date(json['firstRevisionCreatedAt'])),
|
|
33
33
|
'accessRights': AccessRights_1.AccessRightsFromJSON(json['accessRights']),
|
|
34
34
|
'currentRevision': InternalNotesNoteRevision_1.InternalNotesNoteRevisionFromJSON(json['currentRevision']),
|
|
35
|
-
'previousRevisions': !runtime_1.exists(json, 'previousRevisions') ? undefined : (json['previousRevisions'].map(InternalNotesNoteRevision_1.InternalNotesNoteRevisionFromJSON)),
|
|
35
|
+
'previousRevisions': !runtime_1.exists(json, 'previousRevisions') ? undefined : (json['previousRevisions'] === null ? null : json['previousRevisions'].map(InternalNotesNoteRevision_1.InternalNotesNoteRevisionFromJSON)),
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
exports.InternalNotesNoteFromJSONTyped = InternalNotesNoteFromJSONTyped;
|
|
@@ -49,7 +49,7 @@ function InternalNotesNoteToJSON(value) {
|
|
|
49
49
|
'firstRevisionCreatedAt': (value.firstRevisionCreatedAt === null ? null : value.firstRevisionCreatedAt.toISOString()),
|
|
50
50
|
'accessRights': AccessRights_1.AccessRightsToJSON(value.accessRights),
|
|
51
51
|
'currentRevision': InternalNotesNoteRevision_1.InternalNotesNoteRevisionToJSON(value.currentRevision),
|
|
52
|
-
'previousRevisions': value.previousRevisions === undefined ? undefined : (value.previousRevisions.map(InternalNotesNoteRevision_1.InternalNotesNoteRevisionToJSON)),
|
|
52
|
+
'previousRevisions': value.previousRevisions === undefined ? undefined : (value.previousRevisions === null ? null : value.previousRevisions.map(InternalNotesNoteRevision_1.InternalNotesNoteRevisionToJSON)),
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
exports.InternalNotesNoteToJSON = InternalNotesNoteToJSON;
|
|
@@ -28,7 +28,7 @@ export interface InternalNotesNoteList {
|
|
|
28
28
|
* @type {InternalNotesLegacyNote}
|
|
29
29
|
* @memberof InternalNotesNoteList
|
|
30
30
|
*/
|
|
31
|
-
legacyNote?: InternalNotesLegacyNote
|
|
31
|
+
legacyNote?: InternalNotesLegacyNote;
|
|
32
32
|
}
|
|
33
33
|
export declare function InternalNotesNoteListFromJSON(json: any): InternalNotesNoteList;
|
|
34
34
|
export declare function InternalNotesNoteListFromJSONTyped(json: any, ignoreDiscriminator: boolean): InternalNotesNoteList;
|
|
@@ -16,6 +16,12 @@ import { LegacyAddUpdateItem } from './LegacyAddUpdateItem';
|
|
|
16
16
|
* @interface LegacyAddUpdateResponse
|
|
17
17
|
*/
|
|
18
18
|
export interface LegacyAddUpdateResponse {
|
|
19
|
+
/**
|
|
20
|
+
* List all items status for the Add or Update operation
|
|
21
|
+
* @type {Array<LegacyAddUpdateItem>}
|
|
22
|
+
* @memberof LegacyAddUpdateResponse
|
|
23
|
+
*/
|
|
24
|
+
items: Array<LegacyAddUpdateItem>;
|
|
19
25
|
/**
|
|
20
26
|
* Status of the request that has been made. Can be 'ok' or 'fail'
|
|
21
27
|
* @type {string}
|
|
@@ -34,12 +40,6 @@ export interface LegacyAddUpdateResponse {
|
|
|
34
40
|
* @memberof LegacyAddUpdateResponse
|
|
35
41
|
*/
|
|
36
42
|
errorMsg?: string;
|
|
37
|
-
/**
|
|
38
|
-
* List all items status for the Add or Update operation
|
|
39
|
-
* @type {Array<LegacyAddUpdateItem>}
|
|
40
|
-
* @memberof LegacyAddUpdateResponse
|
|
41
|
-
*/
|
|
42
|
-
items: Array<LegacyAddUpdateItem>;
|
|
43
43
|
}
|
|
44
44
|
export declare function LegacyAddUpdateResponseFromJSON(json: any): LegacyAddUpdateResponse;
|
|
45
45
|
export declare function LegacyAddUpdateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyAddUpdateResponse;
|
|
@@ -25,10 +25,10 @@ function LegacyAddUpdateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
+
'items': (json['items'].map(LegacyAddUpdateItem_1.LegacyAddUpdateItemFromJSON)),
|
|
28
29
|
'stat': !runtime_1.exists(json, 'stat') ? undefined : json['stat'],
|
|
29
30
|
'errorCode': !runtime_1.exists(json, 'error_code') ? undefined : json['error_code'],
|
|
30
31
|
'errorMsg': !runtime_1.exists(json, 'error_msg') ? undefined : json['error_msg'],
|
|
31
|
-
'items': (json['items'].map(LegacyAddUpdateItem_1.LegacyAddUpdateItemFromJSON)),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
exports.LegacyAddUpdateResponseFromJSONTyped = LegacyAddUpdateResponseFromJSONTyped;
|
|
@@ -40,10 +40,10 @@ function LegacyAddUpdateResponseToJSON(value) {
|
|
|
40
40
|
return null;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
+
'items': (value.items.map(LegacyAddUpdateItem_1.LegacyAddUpdateItemToJSON)),
|
|
43
44
|
'stat': value.stat,
|
|
44
45
|
'error_code': value.errorCode,
|
|
45
46
|
'error_msg': value.errorMsg,
|
|
46
|
-
'items': (value.items.map(LegacyAddUpdateItem_1.LegacyAddUpdateItemToJSON)),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
exports.LegacyAddUpdateResponseToJSON = LegacyAddUpdateResponseToJSON;
|
|
@@ -15,102 +15,6 @@
|
|
|
15
15
|
* @interface LegacyContactContactPayloadItem
|
|
16
16
|
*/
|
|
17
17
|
export interface LegacyContactContactPayloadItem {
|
|
18
|
-
/**
|
|
19
|
-
* Unique id
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof LegacyContactContactPayloadItem
|
|
22
|
-
*/
|
|
23
|
-
id?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Contact UUID
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof LegacyContactContactPayloadItem
|
|
28
|
-
*/
|
|
29
|
-
uuid?: string;
|
|
30
|
-
/**
|
|
31
|
-
* type of the contact
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof LegacyContactContactPayloadItem
|
|
34
|
-
*/
|
|
35
|
-
typeContact?: string;
|
|
36
|
-
/**
|
|
37
|
-
* type INDIVIDUAL OR ORGANIZATION
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof LegacyContactContactPayloadItem
|
|
40
|
-
*/
|
|
41
|
-
indOrg?: string;
|
|
42
|
-
/**
|
|
43
|
-
* display name of the contact
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof LegacyContactContactPayloadItem
|
|
46
|
-
*/
|
|
47
|
-
displayName?: string;
|
|
48
|
-
/**
|
|
49
|
-
* first name of the contact
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof LegacyContactContactPayloadItem
|
|
52
|
-
*/
|
|
53
|
-
firstName?: string;
|
|
54
|
-
/**
|
|
55
|
-
* nickname of the contact
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof LegacyContactContactPayloadItem
|
|
58
|
-
*/
|
|
59
|
-
nickname?: string;
|
|
60
|
-
/**
|
|
61
|
-
* middle name of the contact
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof LegacyContactContactPayloadItem
|
|
64
|
-
*/
|
|
65
|
-
middleName?: string;
|
|
66
|
-
/**
|
|
67
|
-
* last name of the contact
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof LegacyContactContactPayloadItem
|
|
70
|
-
*/
|
|
71
|
-
lastName?: string;
|
|
72
|
-
/**
|
|
73
|
-
* first line of corporation name (Organization)
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof LegacyContactContactPayloadItem
|
|
76
|
-
*/
|
|
77
|
-
corporationName?: string;
|
|
78
|
-
/**
|
|
79
|
-
* second line of corporation name (Organization)
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof LegacyContactContactPayloadItem
|
|
82
|
-
*/
|
|
83
|
-
corporationNameLine2?: string;
|
|
84
|
-
/**
|
|
85
|
-
* rank of the contact. (Industrial Alliance only)
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof LegacyContactContactPayloadItem
|
|
88
|
-
*/
|
|
89
|
-
rank?: string;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof LegacyContactContactPayloadItem
|
|
94
|
-
*/
|
|
95
|
-
facebookLink?: string;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof LegacyContactContactPayloadItem
|
|
100
|
-
*/
|
|
101
|
-
twitterLink?: string;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof LegacyContactContactPayloadItem
|
|
106
|
-
*/
|
|
107
|
-
linkedinLink?: string;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {number}
|
|
111
|
-
* @memberof LegacyContactContactPayloadItem
|
|
112
|
-
*/
|
|
113
|
-
avatar?: number;
|
|
114
18
|
/**
|
|
115
19
|
* external key
|
|
116
20
|
* @type {string}
|
|
@@ -381,6 +285,102 @@ export interface LegacyContactContactPayloadItem {
|
|
|
381
285
|
* @memberof LegacyContactContactPayloadItem
|
|
382
286
|
*/
|
|
383
287
|
orgEin?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Unique id
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof LegacyContactContactPayloadItem
|
|
292
|
+
*/
|
|
293
|
+
id?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Contact UUID
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof LegacyContactContactPayloadItem
|
|
298
|
+
*/
|
|
299
|
+
uuid?: string;
|
|
300
|
+
/**
|
|
301
|
+
* type of the contact
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @memberof LegacyContactContactPayloadItem
|
|
304
|
+
*/
|
|
305
|
+
typeContact?: string;
|
|
306
|
+
/**
|
|
307
|
+
* type INDIVIDUAL OR ORGANIZATION
|
|
308
|
+
* @type {string}
|
|
309
|
+
* @memberof LegacyContactContactPayloadItem
|
|
310
|
+
*/
|
|
311
|
+
indOrg?: string;
|
|
312
|
+
/**
|
|
313
|
+
* display name of the contact
|
|
314
|
+
* @type {string}
|
|
315
|
+
* @memberof LegacyContactContactPayloadItem
|
|
316
|
+
*/
|
|
317
|
+
displayName?: string;
|
|
318
|
+
/**
|
|
319
|
+
* first name of the contact
|
|
320
|
+
* @type {string}
|
|
321
|
+
* @memberof LegacyContactContactPayloadItem
|
|
322
|
+
*/
|
|
323
|
+
firstName?: string;
|
|
324
|
+
/**
|
|
325
|
+
* nickname of the contact
|
|
326
|
+
* @type {string}
|
|
327
|
+
* @memberof LegacyContactContactPayloadItem
|
|
328
|
+
*/
|
|
329
|
+
nickname?: string;
|
|
330
|
+
/**
|
|
331
|
+
* middle name of the contact
|
|
332
|
+
* @type {string}
|
|
333
|
+
* @memberof LegacyContactContactPayloadItem
|
|
334
|
+
*/
|
|
335
|
+
middleName?: string;
|
|
336
|
+
/**
|
|
337
|
+
* last name of the contact
|
|
338
|
+
* @type {string}
|
|
339
|
+
* @memberof LegacyContactContactPayloadItem
|
|
340
|
+
*/
|
|
341
|
+
lastName?: string;
|
|
342
|
+
/**
|
|
343
|
+
* first line of corporation name (Organization)
|
|
344
|
+
* @type {string}
|
|
345
|
+
* @memberof LegacyContactContactPayloadItem
|
|
346
|
+
*/
|
|
347
|
+
corporationName?: string;
|
|
348
|
+
/**
|
|
349
|
+
* second line of corporation name (Organization)
|
|
350
|
+
* @type {string}
|
|
351
|
+
* @memberof LegacyContactContactPayloadItem
|
|
352
|
+
*/
|
|
353
|
+
corporationNameLine2?: string;
|
|
354
|
+
/**
|
|
355
|
+
* rank of the contact. (Industrial Alliance only)
|
|
356
|
+
* @type {string}
|
|
357
|
+
* @memberof LegacyContactContactPayloadItem
|
|
358
|
+
*/
|
|
359
|
+
rank?: string;
|
|
360
|
+
/**
|
|
361
|
+
*
|
|
362
|
+
* @type {string}
|
|
363
|
+
* @memberof LegacyContactContactPayloadItem
|
|
364
|
+
*/
|
|
365
|
+
facebookLink?: string;
|
|
366
|
+
/**
|
|
367
|
+
*
|
|
368
|
+
* @type {string}
|
|
369
|
+
* @memberof LegacyContactContactPayloadItem
|
|
370
|
+
*/
|
|
371
|
+
twitterLink?: string;
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* @type {string}
|
|
375
|
+
* @memberof LegacyContactContactPayloadItem
|
|
376
|
+
*/
|
|
377
|
+
linkedinLink?: string;
|
|
378
|
+
/**
|
|
379
|
+
*
|
|
380
|
+
* @type {number}
|
|
381
|
+
* @memberof LegacyContactContactPayloadItem
|
|
382
|
+
*/
|
|
383
|
+
avatar?: number;
|
|
384
384
|
}
|
|
385
385
|
export declare function LegacyContactContactPayloadItemFromJSON(json: any): LegacyContactContactPayloadItem;
|
|
386
386
|
export declare function LegacyContactContactPayloadItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyContactContactPayloadItem;
|