@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
|
@@ -59,7 +59,7 @@ export interface EventsEvent {
|
|
|
59
59
|
* @type {string}
|
|
60
60
|
* @memberof EventsEvent
|
|
61
61
|
*/
|
|
62
|
-
initialDate?: string;
|
|
62
|
+
initialDate?: string | null;
|
|
63
63
|
/**
|
|
64
64
|
* Public description of the Event.
|
|
65
65
|
* @type {string}
|
|
@@ -85,62 +85,65 @@ export interface EventsEvent {
|
|
|
85
85
|
*/
|
|
86
86
|
type: string;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* Event category
|
|
89
89
|
* @type {FieldValue}
|
|
90
90
|
* @memberof EventsEvent
|
|
91
91
|
*/
|
|
92
|
-
category?: FieldValue;
|
|
92
|
+
category?: FieldValue | null;
|
|
93
93
|
/**
|
|
94
94
|
* Event sub category
|
|
95
|
-
* @type {
|
|
95
|
+
* @type {FieldValue}
|
|
96
96
|
* @memberof EventsEvent
|
|
97
97
|
*/
|
|
98
|
-
subCategory?:
|
|
98
|
+
subCategory?: FieldValue | null;
|
|
99
99
|
/**
|
|
100
|
-
* The recurrence rule for this event.
|
|
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).
|
|
101
102
|
* @type {string}
|
|
102
103
|
* @memberof EventsEvent
|
|
103
104
|
*/
|
|
104
|
-
recurrenceRule?: string;
|
|
105
|
+
recurrenceRule?: string | null;
|
|
105
106
|
/**
|
|
106
107
|
* For an instance of recurring event, ID of the master event.
|
|
107
108
|
* @type {string}
|
|
108
109
|
* @memberof EventsEvent
|
|
109
110
|
*/
|
|
110
|
-
recurringEventId?: string;
|
|
111
|
+
recurringEventId?: string | null;
|
|
111
112
|
/**
|
|
112
113
|
* 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.
|
|
113
115
|
* @type {string}
|
|
114
116
|
* @memberof EventsEvent
|
|
115
117
|
*/
|
|
116
|
-
originalStartDate?: string;
|
|
118
|
+
originalStartDate?: string | null;
|
|
117
119
|
/**
|
|
118
120
|
* Importance/Priority of an event or task. 5 is the most important.
|
|
119
121
|
* @type {number}
|
|
120
122
|
* @memberof EventsEvent
|
|
121
123
|
*/
|
|
122
|
-
priority
|
|
124
|
+
priority: number;
|
|
123
125
|
/**
|
|
124
126
|
* Confidentiality level of the Event (private or not). [NORMAL, PRIVATE]
|
|
125
127
|
* @type {string}
|
|
126
128
|
* @memberof EventsEvent
|
|
127
129
|
*/
|
|
128
|
-
visibility
|
|
130
|
+
visibility: string;
|
|
129
131
|
/**
|
|
130
132
|
* Creation time. As defined by date-time - RFC3339
|
|
131
133
|
* @type {Date}
|
|
132
134
|
* @memberof EventsEvent
|
|
133
135
|
*/
|
|
134
|
-
creationTime?: Date;
|
|
136
|
+
creationTime?: Date | null;
|
|
135
137
|
/**
|
|
136
138
|
* Date time of last modification. As defined by date-time - RFC3339
|
|
137
139
|
* @type {Date}
|
|
138
140
|
* @memberof EventsEvent
|
|
139
141
|
*/
|
|
140
|
-
updateTime?: Date;
|
|
142
|
+
updateTime?: Date | null;
|
|
141
143
|
/**
|
|
142
144
|
* ID of the calendar owning this Event. If owned by many users, calendarId will be
|
|
143
|
-
* - The primary ( or completed depending on state) calendar ID of the connected user if the user
|
|
145
|
+
* - The primary ( or completed depending on state) calendar ID of the connected user if the user
|
|
146
|
+
* is one of the owners.
|
|
144
147
|
* - Any primary ( or completed depending on state) completed calendar ID of one of the owners.
|
|
145
148
|
* @type {number}
|
|
146
149
|
* @memberof EventsEvent
|
|
@@ -151,13 +154,13 @@ export interface EventsEvent {
|
|
|
151
154
|
* @type {string}
|
|
152
155
|
* @memberof EventsEvent
|
|
153
156
|
*/
|
|
154
|
-
color?: string;
|
|
157
|
+
color?: string | null;
|
|
155
158
|
/**
|
|
156
159
|
* hex text color of this event
|
|
157
160
|
* @type {string}
|
|
158
161
|
* @memberof EventsEvent
|
|
159
162
|
*/
|
|
160
|
-
textColor?: string;
|
|
163
|
+
textColor?: string | null;
|
|
161
164
|
/**
|
|
162
165
|
* IDs of the contacts linked to this Event
|
|
163
166
|
* @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 : json['subCategory'],
|
|
42
|
+
'subCategory': !runtime_1.exists(json, 'subCategory') ? undefined : FieldValue_1.FieldValueFromJSON(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':
|
|
47
|
-
'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'])),
|
|
46
|
+
'priority': json['priority'],
|
|
47
|
+
'visibility': json['visibility'],
|
|
48
|
+
'creationTime': !runtime_1.exists(json, 'creationTime') ? undefined : (json['creationTime'] === null ? null : new Date(json['creationTime'])),
|
|
49
|
+
'updateTime': !runtime_1.exists(json, 'updateTime') ? undefined : (json['updateTime'] === null ? null : 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': value.subCategory,
|
|
78
|
+
'subCategory': FieldValue_1.FieldValueToJSON(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.toISOString()),
|
|
85
|
-
'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
|
|
84
|
+
'creationTime': value.creationTime === undefined ? undefined : (value.creationTime === null ? null : value.creationTime.toISOString()),
|
|
85
|
+
'updateTime': value.updateTime === undefined ? undefined : (value.updateTime === null ? null : 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 {string}
|
|
70
70
|
* @memberof EventsPatchEventPayload
|
|
71
71
|
*/
|
|
72
|
-
type?:
|
|
72
|
+
type?: string;
|
|
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 {number}
|
|
88
88
|
* @memberof EventsPatchEventPayload
|
|
89
89
|
*/
|
|
90
|
-
priority?:
|
|
90
|
+
priority?: number;
|
|
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
|
+
* User name
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof GatewaysCredentials
|
|
22
22
|
*/
|
|
23
|
-
username: string;
|
|
23
|
+
username: string | null;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Password
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof GatewaysCredentials
|
|
28
28
|
*/
|
|
29
|
-
password: string;
|
|
29
|
+
password: string | null;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Rep code
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof GatewaysCredentials
|
|
34
34
|
*/
|
|
35
|
-
repcode?: string;
|
|
35
|
+
repcode?: string | null;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Is a dealer code
|
|
38
38
|
* @type {boolean}
|
|
39
39
|
* @memberof GatewaysCredentials
|
|
40
40
|
*/
|
|
41
41
|
isADealerCode?: boolean;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Dealer system name
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof GatewaysCredentials
|
|
46
46
|
*/
|
|
@@ -16,41 +16,41 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface GatewaysCredentialsWithSsn {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<string>}
|
|
21
|
-
* @memberof GatewaysCredentialsWithSsn
|
|
22
|
-
*/
|
|
23
|
-
ssnList?: Array<string>;
|
|
24
|
-
/**
|
|
25
|
-
* | null
|
|
19
|
+
* User name
|
|
26
20
|
* @type {string}
|
|
27
21
|
* @memberof GatewaysCredentialsWithSsn
|
|
28
22
|
*/
|
|
29
|
-
username: string;
|
|
23
|
+
username: string | null;
|
|
30
24
|
/**
|
|
31
|
-
*
|
|
25
|
+
* Password
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof GatewaysCredentialsWithSsn
|
|
34
28
|
*/
|
|
35
|
-
password: string;
|
|
29
|
+
password: string | null;
|
|
36
30
|
/**
|
|
37
|
-
*
|
|
31
|
+
* Rep code
|
|
38
32
|
* @type {string}
|
|
39
33
|
* @memberof GatewaysCredentialsWithSsn
|
|
40
34
|
*/
|
|
41
|
-
repcode?: string;
|
|
35
|
+
repcode?: string | null;
|
|
42
36
|
/**
|
|
43
|
-
*
|
|
37
|
+
* Is a dealer code
|
|
44
38
|
* @type {boolean}
|
|
45
39
|
* @memberof GatewaysCredentialsWithSsn
|
|
46
40
|
*/
|
|
47
41
|
isADealerCode?: boolean;
|
|
48
42
|
/**
|
|
49
|
-
*
|
|
43
|
+
* Dealer system name
|
|
50
44
|
* @type {string}
|
|
51
45
|
* @memberof GatewaysCredentialsWithSsn
|
|
52
46
|
*/
|
|
53
47
|
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'],
|
|
28
27
|
'username': json['username'],
|
|
29
28
|
'password': json['password'],
|
|
30
29
|
'repcode': !runtime_1.exists(json, 'repcode') ? undefined : json['repcode'],
|
|
31
30
|
'isADealerCode': !runtime_1.exists(json, 'isADealerCode') ? undefined : json['isADealerCode'],
|
|
32
31
|
'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,
|
|
45
44
|
'username': value.username,
|
|
46
45
|
'password': value.password,
|
|
47
46
|
'repcode': value.repcode,
|
|
48
47
|
'isADealerCode': value.isADealerCode,
|
|
49
48
|
'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;
|
|
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>;
|
|
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']
|
|
35
|
+
'previousRevisions': !runtime_1.exists(json, 'previousRevisions') ? undefined : (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
|
|
52
|
+
'previousRevisions': value.previousRevisions === undefined ? undefined : (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 | null;
|
|
32
32
|
}
|
|
33
33
|
export declare function InternalNotesNoteListFromJSON(json: any): InternalNotesNoteList;
|
|
34
34
|
export declare function InternalNotesNoteListFromJSONTyped(json: any, ignoreDiscriminator: boolean): InternalNotesNoteList;
|
|
@@ -16,12 +16,6 @@ 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>;
|
|
25
19
|
/**
|
|
26
20
|
* Status of the request that has been made. Can be 'ok' or 'fail'
|
|
27
21
|
* @type {string}
|
|
@@ -40,6 +34,12 @@ export interface LegacyAddUpdateResponse {
|
|
|
40
34
|
* @memberof LegacyAddUpdateResponse
|
|
41
35
|
*/
|
|
42
36
|
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)),
|
|
29
28
|
'stat': !runtime_1.exists(json, 'stat') ? undefined : json['stat'],
|
|
30
29
|
'errorCode': !runtime_1.exists(json, 'error_code') ? undefined : json['error_code'],
|
|
31
30
|
'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)),
|
|
44
43
|
'stat': value.stat,
|
|
45
44
|
'error_code': value.errorCode,
|
|
46
45
|
'error_msg': value.errorMsg,
|
|
46
|
+
'items': (value.items.map(LegacyAddUpdateItem_1.LegacyAddUpdateItemToJSON)),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
exports.LegacyAddUpdateResponseToJSON = LegacyAddUpdateResponseToJSON;
|
|
@@ -15,6 +15,102 @@
|
|
|
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;
|
|
18
114
|
/**
|
|
19
115
|
* external key
|
|
20
116
|
* @type {string}
|
|
@@ -285,102 +381,6 @@ export interface LegacyContactContactPayloadItem {
|
|
|
285
381
|
* @memberof LegacyContactContactPayloadItem
|
|
286
382
|
*/
|
|
287
383
|
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;
|