@equisoft/equisoft-connect-sdk-typescript 13.32.1-snapshot.20250731144536 → 13.33.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/esm/models/ContactsLegacyContact.d.ts +28 -28
- package/dist/esm/models/ContactsLegacyContact.js +14 -14
- package/dist/esm/models/ContactsLegacyContactRelationParticipant.d.ts +4 -4
- package/dist/esm/models/ContactsLegacyContactRelationParticipant.js +2 -2
- package/dist/esm/models/ContactsTemporaryContact.d.ts +28 -28
- package/dist/esm/models/ContactsTemporaryContact.js +14 -14
- package/dist/models/ContactsLegacyContact.d.ts +28 -28
- package/dist/models/ContactsLegacyContact.js +14 -14
- package/dist/models/ContactsLegacyContactRelationParticipant.d.ts +4 -4
- package/dist/models/ContactsLegacyContactRelationParticipant.js +2 -2
- package/dist/models/ContactsTemporaryContact.d.ts +28 -28
- package/dist/models/ContactsTemporaryContact.js +14 -14
- package/package.json +1 -1
- package/src/models/ContactsLegacyContact.ts +42 -42
- package/src/models/ContactsLegacyContactRelationParticipant.ts +6 -6
- package/src/models/ContactsTemporaryContact.ts +42 -42
|
@@ -63,88 +63,88 @@ export interface ContactsLegacyContact {
|
|
|
63
63
|
sortName?: string;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
|
-
* @type {
|
|
66
|
+
* @type {ContactsIdentification}
|
|
67
67
|
* @memberof ContactsLegacyContact
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
identification?: ContactsIdentification;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
|
-
* @type {
|
|
72
|
+
* @type {ContactsAdditionalInformation}
|
|
73
73
|
* @memberof ContactsLegacyContact
|
|
74
74
|
*/
|
|
75
|
-
|
|
75
|
+
additionalInformation?: ContactsAdditionalInformation;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
|
-
* @type {
|
|
78
|
+
* @type {ContactsSegmentation}
|
|
79
79
|
* @memberof ContactsLegacyContact
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
segmentation?: ContactsSegmentation;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
|
-
* @type {
|
|
84
|
+
* @type {Array<ContactsAddress>}
|
|
85
85
|
* @memberof ContactsLegacyContact
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
addresses?: Array<ContactsAddress>;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
|
-
* @type {
|
|
90
|
+
* @type {Array<ContactsPhone>}
|
|
91
91
|
* @memberof ContactsLegacyContact
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
phones?: Array<ContactsPhone>;
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
|
-
* @type {
|
|
96
|
+
* @type {Array<ContactsEmail>}
|
|
97
97
|
* @memberof ContactsLegacyContact
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
emails?: Array<ContactsEmail>;
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
102
|
-
* @type {
|
|
102
|
+
* @type {Array<ContactsWebSite>}
|
|
103
103
|
* @memberof ContactsLegacyContact
|
|
104
104
|
*/
|
|
105
|
-
|
|
105
|
+
websites?: Array<ContactsWebSite>;
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
|
-
* @type {
|
|
108
|
+
* @type {string}
|
|
109
109
|
* @memberof ContactsLegacyContact
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
notes?: string;
|
|
112
112
|
/**
|
|
113
113
|
*
|
|
114
|
-
* @type {
|
|
114
|
+
* @type {string}
|
|
115
115
|
* @memberof ContactsLegacyContact
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
notesAdditionalInformation?: string;
|
|
118
118
|
/**
|
|
119
119
|
*
|
|
120
|
-
* @type {
|
|
120
|
+
* @type {Date}
|
|
121
121
|
* @memberof ContactsLegacyContact
|
|
122
122
|
*/
|
|
123
|
-
|
|
123
|
+
creationDate?: Date | null;
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
|
-
* @type {
|
|
126
|
+
* @type {Date}
|
|
127
127
|
* @memberof ContactsLegacyContact
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
lastUpdateDate?: Date | null;
|
|
130
130
|
/**
|
|
131
131
|
*
|
|
132
|
-
* @type {
|
|
132
|
+
* @type {ContactsCivilStatus}
|
|
133
133
|
* @memberof ContactsLegacyContact
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
currentMaritalStatus?: ContactsCivilStatus | null;
|
|
136
136
|
/**
|
|
137
137
|
*
|
|
138
|
-
* @type {
|
|
138
|
+
* @type {ContactsCivilStatus}
|
|
139
139
|
* @memberof ContactsLegacyContact
|
|
140
140
|
*/
|
|
141
|
-
|
|
141
|
+
currentCivilStatus?: ContactsCivilStatus | null;
|
|
142
142
|
/**
|
|
143
143
|
*
|
|
144
|
-
* @type {
|
|
144
|
+
* @type {ContactsOccupation}
|
|
145
145
|
* @memberof ContactsLegacyContact
|
|
146
146
|
*/
|
|
147
|
-
|
|
147
|
+
currentOccupation?: ContactsOccupation | null;
|
|
148
148
|
/**
|
|
149
149
|
*
|
|
150
150
|
* @type {Array<ContactsLegacyContactRelation>}
|
|
@@ -47,20 +47,20 @@ export function ContactsLegacyContactFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'indOrg': json['indOrg'] == null ? undefined : json['indOrg'],
|
|
48
48
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
49
49
|
'sortName': json['sortName'] == null ? undefined : json['sortName'],
|
|
50
|
-
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
51
|
-
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
52
|
-
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
53
|
-
'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
|
|
54
50
|
'identification': json['identification'] == null ? undefined : ContactsIdentificationFromJSON(json['identification']),
|
|
55
51
|
'additionalInformation': json['additionalInformation'] == null ? undefined : ContactsAdditionalInformationFromJSON(json['additionalInformation']),
|
|
56
|
-
'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentMaritalStatus']),
|
|
57
|
-
'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentCivilStatus']),
|
|
58
|
-
'currentOccupation': json['currentOccupation'] == null ? undefined : ContactsOccupationFromJSON(json['currentOccupation']),
|
|
59
52
|
'segmentation': json['segmentation'] == null ? undefined : ContactsSegmentationFromJSON(json['segmentation']),
|
|
60
53
|
'addresses': json['addresses'] == null ? undefined : (json['addresses'].map(ContactsAddressFromJSON)),
|
|
61
54
|
'phones': json['phones'] == null ? undefined : (json['phones'].map(ContactsPhoneFromJSON)),
|
|
62
55
|
'emails': json['emails'] == null ? undefined : (json['emails'].map(ContactsEmailFromJSON)),
|
|
63
56
|
'websites': json['websites'] == null ? undefined : (json['websites'].map(ContactsWebSiteFromJSON)),
|
|
57
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
58
|
+
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
59
|
+
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
60
|
+
'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
|
|
61
|
+
'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentMaritalStatus']),
|
|
62
|
+
'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentCivilStatus']),
|
|
63
|
+
'currentOccupation': json['currentOccupation'] == null ? undefined : ContactsOccupationFromJSON(json['currentOccupation']),
|
|
64
64
|
'links': json['links'] == null ? undefined : (json['links'].map(ContactsLegacyContactRelationFromJSON)),
|
|
65
65
|
};
|
|
66
66
|
}
|
|
@@ -78,20 +78,20 @@ export function ContactsLegacyContactToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
78
78
|
'indOrg': value['indOrg'],
|
|
79
79
|
'displayName': value['displayName'],
|
|
80
80
|
'sortName': value['sortName'],
|
|
81
|
-
'notes': value['notes'],
|
|
82
|
-
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
83
|
-
'creationDate': value['creationDate'] == null ? undefined : (value['creationDate'].toISOString()),
|
|
84
|
-
'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : (value['lastUpdateDate'].toISOString()),
|
|
85
81
|
'identification': ContactsIdentificationToJSON(value['identification']),
|
|
86
82
|
'additionalInformation': ContactsAdditionalInformationToJSON(value['additionalInformation']),
|
|
87
|
-
'currentMaritalStatus': ContactsCivilStatusToJSON(value['currentMaritalStatus']),
|
|
88
|
-
'currentCivilStatus': ContactsCivilStatusToJSON(value['currentCivilStatus']),
|
|
89
|
-
'currentOccupation': ContactsOccupationToJSON(value['currentOccupation']),
|
|
90
83
|
'segmentation': ContactsSegmentationToJSON(value['segmentation']),
|
|
91
84
|
'addresses': value['addresses'] == null ? undefined : (value['addresses'].map(ContactsAddressToJSON)),
|
|
92
85
|
'phones': value['phones'] == null ? undefined : (value['phones'].map(ContactsPhoneToJSON)),
|
|
93
86
|
'emails': value['emails'] == null ? undefined : (value['emails'].map(ContactsEmailToJSON)),
|
|
94
87
|
'websites': value['websites'] == null ? undefined : (value['websites'].map(ContactsWebSiteToJSON)),
|
|
88
|
+
'notes': value['notes'],
|
|
89
|
+
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
90
|
+
'creationDate': value['creationDate'] == null ? undefined : (value['creationDate'].toISOString()),
|
|
91
|
+
'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : (value['lastUpdateDate'].toISOString()),
|
|
92
|
+
'currentMaritalStatus': ContactsCivilStatusToJSON(value['currentMaritalStatus']),
|
|
93
|
+
'currentCivilStatus': ContactsCivilStatusToJSON(value['currentCivilStatus']),
|
|
94
|
+
'currentOccupation': ContactsOccupationToJSON(value['currentOccupation']),
|
|
95
95
|
'links': value['links'] == null ? undefined : (value['links'].map(ContactsLegacyContactRelationToJSON)),
|
|
96
96
|
};
|
|
97
97
|
}
|
|
@@ -18,16 +18,16 @@ import type { ContactsContactFieldValue } from './ContactsContactFieldValue';
|
|
|
18
18
|
export interface ContactsLegacyContactRelationParticipant {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {string}
|
|
22
22
|
* @memberof ContactsLegacyContactRelationParticipant
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
uuid?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {
|
|
27
|
+
* @type {ContactsContactFieldValue}
|
|
28
28
|
* @memberof ContactsLegacyContactRelationParticipant
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
linkRole?: ContactsContactFieldValue | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {string}
|
|
@@ -26,8 +26,8 @@ export function ContactsLegacyContactRelationParticipantFromJSONTyped(json, igno
|
|
|
26
26
|
return json;
|
|
27
27
|
}
|
|
28
28
|
return {
|
|
29
|
-
'linkRole': json['linkRole'] == null ? undefined : ContactsContactFieldValueFromJSON(json['linkRole']),
|
|
30
29
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
30
|
+
'linkRole': json['linkRole'] == null ? undefined : ContactsContactFieldValueFromJSON(json['linkRole']),
|
|
31
31
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
32
32
|
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
33
33
|
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
@@ -43,8 +43,8 @@ export function ContactsLegacyContactRelationParticipantToJSONTyped(value, ignor
|
|
|
43
43
|
return value;
|
|
44
44
|
}
|
|
45
45
|
return {
|
|
46
|
-
'linkRole': ContactsContactFieldValueToJSON(value['linkRole']),
|
|
47
46
|
'uuid': value['uuid'],
|
|
47
|
+
'linkRole': ContactsContactFieldValueToJSON(value['linkRole']),
|
|
48
48
|
'displayName': value['displayName'],
|
|
49
49
|
'firstName': value['firstName'],
|
|
50
50
|
'lastName': value['lastName'],
|
|
@@ -62,88 +62,88 @@ export interface ContactsTemporaryContact {
|
|
|
62
62
|
sortName?: string;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
|
-
* @type {
|
|
65
|
+
* @type {ContactsIdentification}
|
|
66
66
|
* @memberof ContactsTemporaryContact
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
identification?: ContactsIdentification;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
|
-
* @type {
|
|
71
|
+
* @type {ContactsAdditionalInformation}
|
|
72
72
|
* @memberof ContactsTemporaryContact
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
additionalInformation?: ContactsAdditionalInformation;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
|
-
* @type {
|
|
77
|
+
* @type {ContactsSegmentation}
|
|
78
78
|
* @memberof ContactsTemporaryContact
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
segmentation?: ContactsSegmentation;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
|
-
* @type {
|
|
83
|
+
* @type {Array<ContactsAddress>}
|
|
84
84
|
* @memberof ContactsTemporaryContact
|
|
85
85
|
*/
|
|
86
|
-
|
|
86
|
+
addresses?: Array<ContactsAddress>;
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
89
|
-
* @type {
|
|
89
|
+
* @type {Array<ContactsPhone>}
|
|
90
90
|
* @memberof ContactsTemporaryContact
|
|
91
91
|
*/
|
|
92
|
-
|
|
92
|
+
phones?: Array<ContactsPhone>;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
|
-
* @type {
|
|
95
|
+
* @type {Array<ContactsEmail>}
|
|
96
96
|
* @memberof ContactsTemporaryContact
|
|
97
97
|
*/
|
|
98
|
-
|
|
98
|
+
emails?: Array<ContactsEmail>;
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
101
|
-
* @type {
|
|
101
|
+
* @type {Array<ContactsWebSite>}
|
|
102
102
|
* @memberof ContactsTemporaryContact
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
websites?: Array<ContactsWebSite>;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
|
-
* @type {
|
|
107
|
+
* @type {string}
|
|
108
108
|
* @memberof ContactsTemporaryContact
|
|
109
109
|
*/
|
|
110
|
-
|
|
110
|
+
notes?: string;
|
|
111
111
|
/**
|
|
112
112
|
*
|
|
113
|
-
* @type {
|
|
113
|
+
* @type {string}
|
|
114
114
|
* @memberof ContactsTemporaryContact
|
|
115
115
|
*/
|
|
116
|
-
|
|
116
|
+
notesAdditionalInformation?: string;
|
|
117
117
|
/**
|
|
118
118
|
*
|
|
119
|
-
* @type {
|
|
119
|
+
* @type {Date}
|
|
120
120
|
* @memberof ContactsTemporaryContact
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
creationDate?: Date | null;
|
|
123
123
|
/**
|
|
124
124
|
*
|
|
125
|
-
* @type {
|
|
125
|
+
* @type {Date}
|
|
126
126
|
* @memberof ContactsTemporaryContact
|
|
127
127
|
*/
|
|
128
|
-
|
|
128
|
+
lastUpdateDate?: Date | null;
|
|
129
129
|
/**
|
|
130
130
|
*
|
|
131
|
-
* @type {
|
|
131
|
+
* @type {ContactsCivilStatus}
|
|
132
132
|
* @memberof ContactsTemporaryContact
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
currentMaritalStatus?: ContactsCivilStatus | null;
|
|
135
135
|
/**
|
|
136
136
|
*
|
|
137
|
-
* @type {
|
|
137
|
+
* @type {ContactsCivilStatus}
|
|
138
138
|
* @memberof ContactsTemporaryContact
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
currentCivilStatus?: ContactsCivilStatus | null;
|
|
141
141
|
/**
|
|
142
142
|
*
|
|
143
|
-
* @type {
|
|
143
|
+
* @type {ContactsOccupation}
|
|
144
144
|
* @memberof ContactsTemporaryContact
|
|
145
145
|
*/
|
|
146
|
-
|
|
146
|
+
currentOccupation?: ContactsOccupation | null;
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
149
|
* Check if a given object implements the ContactsTemporaryContact interface.
|
|
@@ -46,20 +46,20 @@ export function ContactsTemporaryContactFromJSONTyped(json, ignoreDiscriminator)
|
|
|
46
46
|
'indOrg': json['indOrg'] == null ? undefined : json['indOrg'],
|
|
47
47
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
48
48
|
'sortName': json['sortName'] == null ? undefined : json['sortName'],
|
|
49
|
-
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
50
|
-
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
51
|
-
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
52
|
-
'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
|
|
53
49
|
'identification': json['identification'] == null ? undefined : ContactsIdentificationFromJSON(json['identification']),
|
|
54
50
|
'additionalInformation': json['additionalInformation'] == null ? undefined : ContactsAdditionalInformationFromJSON(json['additionalInformation']),
|
|
55
|
-
'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentMaritalStatus']),
|
|
56
|
-
'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentCivilStatus']),
|
|
57
|
-
'currentOccupation': json['currentOccupation'] == null ? undefined : ContactsOccupationFromJSON(json['currentOccupation']),
|
|
58
51
|
'segmentation': json['segmentation'] == null ? undefined : ContactsSegmentationFromJSON(json['segmentation']),
|
|
59
52
|
'addresses': json['addresses'] == null ? undefined : (json['addresses'].map(ContactsAddressFromJSON)),
|
|
60
53
|
'phones': json['phones'] == null ? undefined : (json['phones'].map(ContactsPhoneFromJSON)),
|
|
61
54
|
'emails': json['emails'] == null ? undefined : (json['emails'].map(ContactsEmailFromJSON)),
|
|
62
55
|
'websites': json['websites'] == null ? undefined : (json['websites'].map(ContactsWebSiteFromJSON)),
|
|
56
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
57
|
+
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
58
|
+
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
59
|
+
'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
|
|
60
|
+
'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentMaritalStatus']),
|
|
61
|
+
'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentCivilStatus']),
|
|
62
|
+
'currentOccupation': json['currentOccupation'] == null ? undefined : ContactsOccupationFromJSON(json['currentOccupation']),
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
export function ContactsTemporaryContactToJSON(json) {
|
|
@@ -76,19 +76,19 @@ export function ContactsTemporaryContactToJSONTyped(value, ignoreDiscriminator =
|
|
|
76
76
|
'indOrg': value['indOrg'],
|
|
77
77
|
'displayName': value['displayName'],
|
|
78
78
|
'sortName': value['sortName'],
|
|
79
|
-
'notes': value['notes'],
|
|
80
|
-
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
81
|
-
'creationDate': value['creationDate'] == null ? undefined : (value['creationDate'].toISOString()),
|
|
82
|
-
'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : (value['lastUpdateDate'].toISOString()),
|
|
83
79
|
'identification': ContactsIdentificationToJSON(value['identification']),
|
|
84
80
|
'additionalInformation': ContactsAdditionalInformationToJSON(value['additionalInformation']),
|
|
85
|
-
'currentMaritalStatus': ContactsCivilStatusToJSON(value['currentMaritalStatus']),
|
|
86
|
-
'currentCivilStatus': ContactsCivilStatusToJSON(value['currentCivilStatus']),
|
|
87
|
-
'currentOccupation': ContactsOccupationToJSON(value['currentOccupation']),
|
|
88
81
|
'segmentation': ContactsSegmentationToJSON(value['segmentation']),
|
|
89
82
|
'addresses': value['addresses'] == null ? undefined : (value['addresses'].map(ContactsAddressToJSON)),
|
|
90
83
|
'phones': value['phones'] == null ? undefined : (value['phones'].map(ContactsPhoneToJSON)),
|
|
91
84
|
'emails': value['emails'] == null ? undefined : (value['emails'].map(ContactsEmailToJSON)),
|
|
92
85
|
'websites': value['websites'] == null ? undefined : (value['websites'].map(ContactsWebSiteToJSON)),
|
|
86
|
+
'notes': value['notes'],
|
|
87
|
+
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
88
|
+
'creationDate': value['creationDate'] == null ? undefined : (value['creationDate'].toISOString()),
|
|
89
|
+
'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : (value['lastUpdateDate'].toISOString()),
|
|
90
|
+
'currentMaritalStatus': ContactsCivilStatusToJSON(value['currentMaritalStatus']),
|
|
91
|
+
'currentCivilStatus': ContactsCivilStatusToJSON(value['currentCivilStatus']),
|
|
92
|
+
'currentOccupation': ContactsOccupationToJSON(value['currentOccupation']),
|
|
93
93
|
};
|
|
94
94
|
}
|
|
@@ -63,88 +63,88 @@ export interface ContactsLegacyContact {
|
|
|
63
63
|
sortName?: string;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
|
-
* @type {
|
|
66
|
+
* @type {ContactsIdentification}
|
|
67
67
|
* @memberof ContactsLegacyContact
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
identification?: ContactsIdentification;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
|
-
* @type {
|
|
72
|
+
* @type {ContactsAdditionalInformation}
|
|
73
73
|
* @memberof ContactsLegacyContact
|
|
74
74
|
*/
|
|
75
|
-
|
|
75
|
+
additionalInformation?: ContactsAdditionalInformation;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
|
-
* @type {
|
|
78
|
+
* @type {ContactsSegmentation}
|
|
79
79
|
* @memberof ContactsLegacyContact
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
segmentation?: ContactsSegmentation;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
|
-
* @type {
|
|
84
|
+
* @type {Array<ContactsAddress>}
|
|
85
85
|
* @memberof ContactsLegacyContact
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
addresses?: Array<ContactsAddress>;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
|
-
* @type {
|
|
90
|
+
* @type {Array<ContactsPhone>}
|
|
91
91
|
* @memberof ContactsLegacyContact
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
phones?: Array<ContactsPhone>;
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
|
-
* @type {
|
|
96
|
+
* @type {Array<ContactsEmail>}
|
|
97
97
|
* @memberof ContactsLegacyContact
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
emails?: Array<ContactsEmail>;
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
102
|
-
* @type {
|
|
102
|
+
* @type {Array<ContactsWebSite>}
|
|
103
103
|
* @memberof ContactsLegacyContact
|
|
104
104
|
*/
|
|
105
|
-
|
|
105
|
+
websites?: Array<ContactsWebSite>;
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
|
-
* @type {
|
|
108
|
+
* @type {string}
|
|
109
109
|
* @memberof ContactsLegacyContact
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
notes?: string;
|
|
112
112
|
/**
|
|
113
113
|
*
|
|
114
|
-
* @type {
|
|
114
|
+
* @type {string}
|
|
115
115
|
* @memberof ContactsLegacyContact
|
|
116
116
|
*/
|
|
117
|
-
|
|
117
|
+
notesAdditionalInformation?: string;
|
|
118
118
|
/**
|
|
119
119
|
*
|
|
120
|
-
* @type {
|
|
120
|
+
* @type {Date}
|
|
121
121
|
* @memberof ContactsLegacyContact
|
|
122
122
|
*/
|
|
123
|
-
|
|
123
|
+
creationDate?: Date | null;
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
|
-
* @type {
|
|
126
|
+
* @type {Date}
|
|
127
127
|
* @memberof ContactsLegacyContact
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
lastUpdateDate?: Date | null;
|
|
130
130
|
/**
|
|
131
131
|
*
|
|
132
|
-
* @type {
|
|
132
|
+
* @type {ContactsCivilStatus}
|
|
133
133
|
* @memberof ContactsLegacyContact
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
currentMaritalStatus?: ContactsCivilStatus | null;
|
|
136
136
|
/**
|
|
137
137
|
*
|
|
138
|
-
* @type {
|
|
138
|
+
* @type {ContactsCivilStatus}
|
|
139
139
|
* @memberof ContactsLegacyContact
|
|
140
140
|
*/
|
|
141
|
-
|
|
141
|
+
currentCivilStatus?: ContactsCivilStatus | null;
|
|
142
142
|
/**
|
|
143
143
|
*
|
|
144
|
-
* @type {
|
|
144
|
+
* @type {ContactsOccupation}
|
|
145
145
|
* @memberof ContactsLegacyContact
|
|
146
146
|
*/
|
|
147
|
-
|
|
147
|
+
currentOccupation?: ContactsOccupation | null;
|
|
148
148
|
/**
|
|
149
149
|
*
|
|
150
150
|
* @type {Array<ContactsLegacyContactRelation>}
|
|
@@ -54,20 +54,20 @@ function ContactsLegacyContactFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
'indOrg': json['indOrg'] == null ? undefined : json['indOrg'],
|
|
55
55
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
56
56
|
'sortName': json['sortName'] == null ? undefined : json['sortName'],
|
|
57
|
-
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
58
|
-
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
59
|
-
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
60
|
-
'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
|
|
61
57
|
'identification': json['identification'] == null ? undefined : (0, ContactsIdentification_1.ContactsIdentificationFromJSON)(json['identification']),
|
|
62
58
|
'additionalInformation': json['additionalInformation'] == null ? undefined : (0, ContactsAdditionalInformation_1.ContactsAdditionalInformationFromJSON)(json['additionalInformation']),
|
|
63
|
-
'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : (0, ContactsCivilStatus_1.ContactsCivilStatusFromJSON)(json['currentMaritalStatus']),
|
|
64
|
-
'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : (0, ContactsCivilStatus_1.ContactsCivilStatusFromJSON)(json['currentCivilStatus']),
|
|
65
|
-
'currentOccupation': json['currentOccupation'] == null ? undefined : (0, ContactsOccupation_1.ContactsOccupationFromJSON)(json['currentOccupation']),
|
|
66
59
|
'segmentation': json['segmentation'] == null ? undefined : (0, ContactsSegmentation_1.ContactsSegmentationFromJSON)(json['segmentation']),
|
|
67
60
|
'addresses': json['addresses'] == null ? undefined : (json['addresses'].map(ContactsAddress_1.ContactsAddressFromJSON)),
|
|
68
61
|
'phones': json['phones'] == null ? undefined : (json['phones'].map(ContactsPhone_1.ContactsPhoneFromJSON)),
|
|
69
62
|
'emails': json['emails'] == null ? undefined : (json['emails'].map(ContactsEmail_1.ContactsEmailFromJSON)),
|
|
70
63
|
'websites': json['websites'] == null ? undefined : (json['websites'].map(ContactsWebSite_1.ContactsWebSiteFromJSON)),
|
|
64
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
65
|
+
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
66
|
+
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
67
|
+
'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
|
|
68
|
+
'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : (0, ContactsCivilStatus_1.ContactsCivilStatusFromJSON)(json['currentMaritalStatus']),
|
|
69
|
+
'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : (0, ContactsCivilStatus_1.ContactsCivilStatusFromJSON)(json['currentCivilStatus']),
|
|
70
|
+
'currentOccupation': json['currentOccupation'] == null ? undefined : (0, ContactsOccupation_1.ContactsOccupationFromJSON)(json['currentOccupation']),
|
|
71
71
|
'links': json['links'] == null ? undefined : (json['links'].map(ContactsLegacyContactRelation_1.ContactsLegacyContactRelationFromJSON)),
|
|
72
72
|
};
|
|
73
73
|
}
|
|
@@ -85,20 +85,20 @@ function ContactsLegacyContactToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
85
85
|
'indOrg': value['indOrg'],
|
|
86
86
|
'displayName': value['displayName'],
|
|
87
87
|
'sortName': value['sortName'],
|
|
88
|
-
'notes': value['notes'],
|
|
89
|
-
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
90
|
-
'creationDate': value['creationDate'] == null ? undefined : (value['creationDate'].toISOString()),
|
|
91
|
-
'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : (value['lastUpdateDate'].toISOString()),
|
|
92
88
|
'identification': (0, ContactsIdentification_1.ContactsIdentificationToJSON)(value['identification']),
|
|
93
89
|
'additionalInformation': (0, ContactsAdditionalInformation_1.ContactsAdditionalInformationToJSON)(value['additionalInformation']),
|
|
94
|
-
'currentMaritalStatus': (0, ContactsCivilStatus_1.ContactsCivilStatusToJSON)(value['currentMaritalStatus']),
|
|
95
|
-
'currentCivilStatus': (0, ContactsCivilStatus_1.ContactsCivilStatusToJSON)(value['currentCivilStatus']),
|
|
96
|
-
'currentOccupation': (0, ContactsOccupation_1.ContactsOccupationToJSON)(value['currentOccupation']),
|
|
97
90
|
'segmentation': (0, ContactsSegmentation_1.ContactsSegmentationToJSON)(value['segmentation']),
|
|
98
91
|
'addresses': value['addresses'] == null ? undefined : (value['addresses'].map(ContactsAddress_1.ContactsAddressToJSON)),
|
|
99
92
|
'phones': value['phones'] == null ? undefined : (value['phones'].map(ContactsPhone_1.ContactsPhoneToJSON)),
|
|
100
93
|
'emails': value['emails'] == null ? undefined : (value['emails'].map(ContactsEmail_1.ContactsEmailToJSON)),
|
|
101
94
|
'websites': value['websites'] == null ? undefined : (value['websites'].map(ContactsWebSite_1.ContactsWebSiteToJSON)),
|
|
95
|
+
'notes': value['notes'],
|
|
96
|
+
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
97
|
+
'creationDate': value['creationDate'] == null ? undefined : (value['creationDate'].toISOString()),
|
|
98
|
+
'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : (value['lastUpdateDate'].toISOString()),
|
|
99
|
+
'currentMaritalStatus': (0, ContactsCivilStatus_1.ContactsCivilStatusToJSON)(value['currentMaritalStatus']),
|
|
100
|
+
'currentCivilStatus': (0, ContactsCivilStatus_1.ContactsCivilStatusToJSON)(value['currentCivilStatus']),
|
|
101
|
+
'currentOccupation': (0, ContactsOccupation_1.ContactsOccupationToJSON)(value['currentOccupation']),
|
|
102
102
|
'links': value['links'] == null ? undefined : (value['links'].map(ContactsLegacyContactRelation_1.ContactsLegacyContactRelationToJSON)),
|
|
103
103
|
};
|
|
104
104
|
}
|
|
@@ -18,16 +18,16 @@ import type { ContactsContactFieldValue } from './ContactsContactFieldValue';
|
|
|
18
18
|
export interface ContactsLegacyContactRelationParticipant {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {string}
|
|
22
22
|
* @memberof ContactsLegacyContactRelationParticipant
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
uuid?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {
|
|
27
|
+
* @type {ContactsContactFieldValue}
|
|
28
28
|
* @memberof ContactsLegacyContactRelationParticipant
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
linkRole?: ContactsContactFieldValue | null;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {string}
|
|
@@ -33,8 +33,8 @@ function ContactsLegacyContactRelationParticipantFromJSONTyped(json, ignoreDiscr
|
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
-
'linkRole': json['linkRole'] == null ? undefined : (0, ContactsContactFieldValue_1.ContactsContactFieldValueFromJSON)(json['linkRole']),
|
|
37
36
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
37
|
+
'linkRole': json['linkRole'] == null ? undefined : (0, ContactsContactFieldValue_1.ContactsContactFieldValueFromJSON)(json['linkRole']),
|
|
38
38
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
39
39
|
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
40
40
|
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
@@ -50,8 +50,8 @@ function ContactsLegacyContactRelationParticipantToJSONTyped(value, ignoreDiscri
|
|
|
50
50
|
return value;
|
|
51
51
|
}
|
|
52
52
|
return {
|
|
53
|
-
'linkRole': (0, ContactsContactFieldValue_1.ContactsContactFieldValueToJSON)(value['linkRole']),
|
|
54
53
|
'uuid': value['uuid'],
|
|
54
|
+
'linkRole': (0, ContactsContactFieldValue_1.ContactsContactFieldValueToJSON)(value['linkRole']),
|
|
55
55
|
'displayName': value['displayName'],
|
|
56
56
|
'firstName': value['firstName'],
|
|
57
57
|
'lastName': value['lastName'],
|
|
@@ -62,88 +62,88 @@ export interface ContactsTemporaryContact {
|
|
|
62
62
|
sortName?: string;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
|
-
* @type {
|
|
65
|
+
* @type {ContactsIdentification}
|
|
66
66
|
* @memberof ContactsTemporaryContact
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
identification?: ContactsIdentification;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
|
-
* @type {
|
|
71
|
+
* @type {ContactsAdditionalInformation}
|
|
72
72
|
* @memberof ContactsTemporaryContact
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
additionalInformation?: ContactsAdditionalInformation;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
|
-
* @type {
|
|
77
|
+
* @type {ContactsSegmentation}
|
|
78
78
|
* @memberof ContactsTemporaryContact
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
segmentation?: ContactsSegmentation;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
|
-
* @type {
|
|
83
|
+
* @type {Array<ContactsAddress>}
|
|
84
84
|
* @memberof ContactsTemporaryContact
|
|
85
85
|
*/
|
|
86
|
-
|
|
86
|
+
addresses?: Array<ContactsAddress>;
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
89
|
-
* @type {
|
|
89
|
+
* @type {Array<ContactsPhone>}
|
|
90
90
|
* @memberof ContactsTemporaryContact
|
|
91
91
|
*/
|
|
92
|
-
|
|
92
|
+
phones?: Array<ContactsPhone>;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
|
-
* @type {
|
|
95
|
+
* @type {Array<ContactsEmail>}
|
|
96
96
|
* @memberof ContactsTemporaryContact
|
|
97
97
|
*/
|
|
98
|
-
|
|
98
|
+
emails?: Array<ContactsEmail>;
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
101
|
-
* @type {
|
|
101
|
+
* @type {Array<ContactsWebSite>}
|
|
102
102
|
* @memberof ContactsTemporaryContact
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
websites?: Array<ContactsWebSite>;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
|
-
* @type {
|
|
107
|
+
* @type {string}
|
|
108
108
|
* @memberof ContactsTemporaryContact
|
|
109
109
|
*/
|
|
110
|
-
|
|
110
|
+
notes?: string;
|
|
111
111
|
/**
|
|
112
112
|
*
|
|
113
|
-
* @type {
|
|
113
|
+
* @type {string}
|
|
114
114
|
* @memberof ContactsTemporaryContact
|
|
115
115
|
*/
|
|
116
|
-
|
|
116
|
+
notesAdditionalInformation?: string;
|
|
117
117
|
/**
|
|
118
118
|
*
|
|
119
|
-
* @type {
|
|
119
|
+
* @type {Date}
|
|
120
120
|
* @memberof ContactsTemporaryContact
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
creationDate?: Date | null;
|
|
123
123
|
/**
|
|
124
124
|
*
|
|
125
|
-
* @type {
|
|
125
|
+
* @type {Date}
|
|
126
126
|
* @memberof ContactsTemporaryContact
|
|
127
127
|
*/
|
|
128
|
-
|
|
128
|
+
lastUpdateDate?: Date | null;
|
|
129
129
|
/**
|
|
130
130
|
*
|
|
131
|
-
* @type {
|
|
131
|
+
* @type {ContactsCivilStatus}
|
|
132
132
|
* @memberof ContactsTemporaryContact
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
currentMaritalStatus?: ContactsCivilStatus | null;
|
|
135
135
|
/**
|
|
136
136
|
*
|
|
137
|
-
* @type {
|
|
137
|
+
* @type {ContactsCivilStatus}
|
|
138
138
|
* @memberof ContactsTemporaryContact
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
currentCivilStatus?: ContactsCivilStatus | null;
|
|
141
141
|
/**
|
|
142
142
|
*
|
|
143
|
-
* @type {
|
|
143
|
+
* @type {ContactsOccupation}
|
|
144
144
|
* @memberof ContactsTemporaryContact
|
|
145
145
|
*/
|
|
146
|
-
|
|
146
|
+
currentOccupation?: ContactsOccupation | null;
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
149
|
* Check if a given object implements the ContactsTemporaryContact interface.
|
|
@@ -53,20 +53,20 @@ function ContactsTemporaryContactFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'indOrg': json['indOrg'] == null ? undefined : json['indOrg'],
|
|
54
54
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
55
55
|
'sortName': json['sortName'] == null ? undefined : json['sortName'],
|
|
56
|
-
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
57
|
-
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
58
|
-
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
59
|
-
'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
|
|
60
56
|
'identification': json['identification'] == null ? undefined : (0, ContactsIdentification_1.ContactsIdentificationFromJSON)(json['identification']),
|
|
61
57
|
'additionalInformation': json['additionalInformation'] == null ? undefined : (0, ContactsAdditionalInformation_1.ContactsAdditionalInformationFromJSON)(json['additionalInformation']),
|
|
62
|
-
'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : (0, ContactsCivilStatus_1.ContactsCivilStatusFromJSON)(json['currentMaritalStatus']),
|
|
63
|
-
'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : (0, ContactsCivilStatus_1.ContactsCivilStatusFromJSON)(json['currentCivilStatus']),
|
|
64
|
-
'currentOccupation': json['currentOccupation'] == null ? undefined : (0, ContactsOccupation_1.ContactsOccupationFromJSON)(json['currentOccupation']),
|
|
65
58
|
'segmentation': json['segmentation'] == null ? undefined : (0, ContactsSegmentation_1.ContactsSegmentationFromJSON)(json['segmentation']),
|
|
66
59
|
'addresses': json['addresses'] == null ? undefined : (json['addresses'].map(ContactsAddress_1.ContactsAddressFromJSON)),
|
|
67
60
|
'phones': json['phones'] == null ? undefined : (json['phones'].map(ContactsPhone_1.ContactsPhoneFromJSON)),
|
|
68
61
|
'emails': json['emails'] == null ? undefined : (json['emails'].map(ContactsEmail_1.ContactsEmailFromJSON)),
|
|
69
62
|
'websites': json['websites'] == null ? undefined : (json['websites'].map(ContactsWebSite_1.ContactsWebSiteFromJSON)),
|
|
63
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
64
|
+
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
65
|
+
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
66
|
+
'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
|
|
67
|
+
'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : (0, ContactsCivilStatus_1.ContactsCivilStatusFromJSON)(json['currentMaritalStatus']),
|
|
68
|
+
'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : (0, ContactsCivilStatus_1.ContactsCivilStatusFromJSON)(json['currentCivilStatus']),
|
|
69
|
+
'currentOccupation': json['currentOccupation'] == null ? undefined : (0, ContactsOccupation_1.ContactsOccupationFromJSON)(json['currentOccupation']),
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
function ContactsTemporaryContactToJSON(json) {
|
|
@@ -83,19 +83,19 @@ function ContactsTemporaryContactToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
83
83
|
'indOrg': value['indOrg'],
|
|
84
84
|
'displayName': value['displayName'],
|
|
85
85
|
'sortName': value['sortName'],
|
|
86
|
-
'notes': value['notes'],
|
|
87
|
-
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
88
|
-
'creationDate': value['creationDate'] == null ? undefined : (value['creationDate'].toISOString()),
|
|
89
|
-
'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : (value['lastUpdateDate'].toISOString()),
|
|
90
86
|
'identification': (0, ContactsIdentification_1.ContactsIdentificationToJSON)(value['identification']),
|
|
91
87
|
'additionalInformation': (0, ContactsAdditionalInformation_1.ContactsAdditionalInformationToJSON)(value['additionalInformation']),
|
|
92
|
-
'currentMaritalStatus': (0, ContactsCivilStatus_1.ContactsCivilStatusToJSON)(value['currentMaritalStatus']),
|
|
93
|
-
'currentCivilStatus': (0, ContactsCivilStatus_1.ContactsCivilStatusToJSON)(value['currentCivilStatus']),
|
|
94
|
-
'currentOccupation': (0, ContactsOccupation_1.ContactsOccupationToJSON)(value['currentOccupation']),
|
|
95
88
|
'segmentation': (0, ContactsSegmentation_1.ContactsSegmentationToJSON)(value['segmentation']),
|
|
96
89
|
'addresses': value['addresses'] == null ? undefined : (value['addresses'].map(ContactsAddress_1.ContactsAddressToJSON)),
|
|
97
90
|
'phones': value['phones'] == null ? undefined : (value['phones'].map(ContactsPhone_1.ContactsPhoneToJSON)),
|
|
98
91
|
'emails': value['emails'] == null ? undefined : (value['emails'].map(ContactsEmail_1.ContactsEmailToJSON)),
|
|
99
92
|
'websites': value['websites'] == null ? undefined : (value['websites'].map(ContactsWebSite_1.ContactsWebSiteToJSON)),
|
|
93
|
+
'notes': value['notes'],
|
|
94
|
+
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
95
|
+
'creationDate': value['creationDate'] == null ? undefined : (value['creationDate'].toISOString()),
|
|
96
|
+
'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : (value['lastUpdateDate'].toISOString()),
|
|
97
|
+
'currentMaritalStatus': (0, ContactsCivilStatus_1.ContactsCivilStatusToJSON)(value['currentMaritalStatus']),
|
|
98
|
+
'currentCivilStatus': (0, ContactsCivilStatus_1.ContactsCivilStatusToJSON)(value['currentCivilStatus']),
|
|
99
|
+
'currentOccupation': (0, ContactsOccupation_1.ContactsOccupationToJSON)(value['currentOccupation']),
|
|
100
100
|
};
|
|
101
101
|
}
|
package/package.json
CHANGED
|
@@ -128,88 +128,88 @@ export interface ContactsLegacyContact {
|
|
|
128
128
|
sortName?: string;
|
|
129
129
|
/**
|
|
130
130
|
*
|
|
131
|
-
* @type {
|
|
131
|
+
* @type {ContactsIdentification}
|
|
132
132
|
* @memberof ContactsLegacyContact
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
identification?: ContactsIdentification;
|
|
135
135
|
/**
|
|
136
136
|
*
|
|
137
|
-
* @type {
|
|
137
|
+
* @type {ContactsAdditionalInformation}
|
|
138
138
|
* @memberof ContactsLegacyContact
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
additionalInformation?: ContactsAdditionalInformation;
|
|
141
141
|
/**
|
|
142
142
|
*
|
|
143
|
-
* @type {
|
|
143
|
+
* @type {ContactsSegmentation}
|
|
144
144
|
* @memberof ContactsLegacyContact
|
|
145
145
|
*/
|
|
146
|
-
|
|
146
|
+
segmentation?: ContactsSegmentation;
|
|
147
147
|
/**
|
|
148
148
|
*
|
|
149
|
-
* @type {
|
|
149
|
+
* @type {Array<ContactsAddress>}
|
|
150
150
|
* @memberof ContactsLegacyContact
|
|
151
151
|
*/
|
|
152
|
-
|
|
152
|
+
addresses?: Array<ContactsAddress>;
|
|
153
153
|
/**
|
|
154
154
|
*
|
|
155
|
-
* @type {
|
|
155
|
+
* @type {Array<ContactsPhone>}
|
|
156
156
|
* @memberof ContactsLegacyContact
|
|
157
157
|
*/
|
|
158
|
-
|
|
158
|
+
phones?: Array<ContactsPhone>;
|
|
159
159
|
/**
|
|
160
160
|
*
|
|
161
|
-
* @type {
|
|
161
|
+
* @type {Array<ContactsEmail>}
|
|
162
162
|
* @memberof ContactsLegacyContact
|
|
163
163
|
*/
|
|
164
|
-
|
|
164
|
+
emails?: Array<ContactsEmail>;
|
|
165
165
|
/**
|
|
166
166
|
*
|
|
167
|
-
* @type {
|
|
167
|
+
* @type {Array<ContactsWebSite>}
|
|
168
168
|
* @memberof ContactsLegacyContact
|
|
169
169
|
*/
|
|
170
|
-
|
|
170
|
+
websites?: Array<ContactsWebSite>;
|
|
171
171
|
/**
|
|
172
172
|
*
|
|
173
|
-
* @type {
|
|
173
|
+
* @type {string}
|
|
174
174
|
* @memberof ContactsLegacyContact
|
|
175
175
|
*/
|
|
176
|
-
|
|
176
|
+
notes?: string;
|
|
177
177
|
/**
|
|
178
178
|
*
|
|
179
|
-
* @type {
|
|
179
|
+
* @type {string}
|
|
180
180
|
* @memberof ContactsLegacyContact
|
|
181
181
|
*/
|
|
182
|
-
|
|
182
|
+
notesAdditionalInformation?: string;
|
|
183
183
|
/**
|
|
184
184
|
*
|
|
185
|
-
* @type {
|
|
185
|
+
* @type {Date}
|
|
186
186
|
* @memberof ContactsLegacyContact
|
|
187
187
|
*/
|
|
188
|
-
|
|
188
|
+
creationDate?: Date | null;
|
|
189
189
|
/**
|
|
190
190
|
*
|
|
191
|
-
* @type {
|
|
191
|
+
* @type {Date}
|
|
192
192
|
* @memberof ContactsLegacyContact
|
|
193
193
|
*/
|
|
194
|
-
|
|
194
|
+
lastUpdateDate?: Date | null;
|
|
195
195
|
/**
|
|
196
196
|
*
|
|
197
|
-
* @type {
|
|
197
|
+
* @type {ContactsCivilStatus}
|
|
198
198
|
* @memberof ContactsLegacyContact
|
|
199
199
|
*/
|
|
200
|
-
|
|
200
|
+
currentMaritalStatus?: ContactsCivilStatus | null;
|
|
201
201
|
/**
|
|
202
202
|
*
|
|
203
|
-
* @type {
|
|
203
|
+
* @type {ContactsCivilStatus}
|
|
204
204
|
* @memberof ContactsLegacyContact
|
|
205
205
|
*/
|
|
206
|
-
|
|
206
|
+
currentCivilStatus?: ContactsCivilStatus | null;
|
|
207
207
|
/**
|
|
208
208
|
*
|
|
209
|
-
* @type {
|
|
209
|
+
* @type {ContactsOccupation}
|
|
210
210
|
* @memberof ContactsLegacyContact
|
|
211
211
|
*/
|
|
212
|
-
|
|
212
|
+
currentOccupation?: ContactsOccupation | null;
|
|
213
213
|
/**
|
|
214
214
|
*
|
|
215
215
|
* @type {Array<ContactsLegacyContactRelation>}
|
|
@@ -245,20 +245,20 @@ export function ContactsLegacyContactFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
245
245
|
'indOrg': json['indOrg'] == null ? undefined : json['indOrg'],
|
|
246
246
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
247
247
|
'sortName': json['sortName'] == null ? undefined : json['sortName'],
|
|
248
|
-
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
249
|
-
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
250
|
-
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
251
|
-
'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
|
|
252
248
|
'identification': json['identification'] == null ? undefined : ContactsIdentificationFromJSON(json['identification']),
|
|
253
249
|
'additionalInformation': json['additionalInformation'] == null ? undefined : ContactsAdditionalInformationFromJSON(json['additionalInformation']),
|
|
254
|
-
'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentMaritalStatus']),
|
|
255
|
-
'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentCivilStatus']),
|
|
256
|
-
'currentOccupation': json['currentOccupation'] == null ? undefined : ContactsOccupationFromJSON(json['currentOccupation']),
|
|
257
250
|
'segmentation': json['segmentation'] == null ? undefined : ContactsSegmentationFromJSON(json['segmentation']),
|
|
258
251
|
'addresses': json['addresses'] == null ? undefined : ((json['addresses'] as Array<any>).map(ContactsAddressFromJSON)),
|
|
259
252
|
'phones': json['phones'] == null ? undefined : ((json['phones'] as Array<any>).map(ContactsPhoneFromJSON)),
|
|
260
253
|
'emails': json['emails'] == null ? undefined : ((json['emails'] as Array<any>).map(ContactsEmailFromJSON)),
|
|
261
254
|
'websites': json['websites'] == null ? undefined : ((json['websites'] as Array<any>).map(ContactsWebSiteFromJSON)),
|
|
255
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
256
|
+
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
257
|
+
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
258
|
+
'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
|
|
259
|
+
'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentMaritalStatus']),
|
|
260
|
+
'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentCivilStatus']),
|
|
261
|
+
'currentOccupation': json['currentOccupation'] == null ? undefined : ContactsOccupationFromJSON(json['currentOccupation']),
|
|
262
262
|
'links': json['links'] == null ? undefined : ((json['links'] as Array<any>).map(ContactsLegacyContactRelationFromJSON)),
|
|
263
263
|
};
|
|
264
264
|
}
|
|
@@ -280,20 +280,20 @@ export function ContactsLegacyContactToJSONTyped(value?: ContactsLegacyContact |
|
|
|
280
280
|
'indOrg': value['indOrg'],
|
|
281
281
|
'displayName': value['displayName'],
|
|
282
282
|
'sortName': value['sortName'],
|
|
283
|
-
'notes': value['notes'],
|
|
284
|
-
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
285
|
-
'creationDate': value['creationDate'] == null ? undefined : ((value['creationDate'] as any).toISOString()),
|
|
286
|
-
'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : ((value['lastUpdateDate'] as any).toISOString()),
|
|
287
283
|
'identification': ContactsIdentificationToJSON(value['identification']),
|
|
288
284
|
'additionalInformation': ContactsAdditionalInformationToJSON(value['additionalInformation']),
|
|
289
|
-
'currentMaritalStatus': ContactsCivilStatusToJSON(value['currentMaritalStatus']),
|
|
290
|
-
'currentCivilStatus': ContactsCivilStatusToJSON(value['currentCivilStatus']),
|
|
291
|
-
'currentOccupation': ContactsOccupationToJSON(value['currentOccupation']),
|
|
292
285
|
'segmentation': ContactsSegmentationToJSON(value['segmentation']),
|
|
293
286
|
'addresses': value['addresses'] == null ? undefined : ((value['addresses'] as Array<any>).map(ContactsAddressToJSON)),
|
|
294
287
|
'phones': value['phones'] == null ? undefined : ((value['phones'] as Array<any>).map(ContactsPhoneToJSON)),
|
|
295
288
|
'emails': value['emails'] == null ? undefined : ((value['emails'] as Array<any>).map(ContactsEmailToJSON)),
|
|
296
289
|
'websites': value['websites'] == null ? undefined : ((value['websites'] as Array<any>).map(ContactsWebSiteToJSON)),
|
|
290
|
+
'notes': value['notes'],
|
|
291
|
+
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
292
|
+
'creationDate': value['creationDate'] == null ? undefined : ((value['creationDate'] as any).toISOString()),
|
|
293
|
+
'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : ((value['lastUpdateDate'] as any).toISOString()),
|
|
294
|
+
'currentMaritalStatus': ContactsCivilStatusToJSON(value['currentMaritalStatus']),
|
|
295
|
+
'currentCivilStatus': ContactsCivilStatusToJSON(value['currentCivilStatus']),
|
|
296
|
+
'currentOccupation': ContactsOccupationToJSON(value['currentOccupation']),
|
|
297
297
|
'links': value['links'] == null ? undefined : ((value['links'] as Array<any>).map(ContactsLegacyContactRelationToJSON)),
|
|
298
298
|
};
|
|
299
299
|
}
|
|
@@ -29,16 +29,16 @@ import {
|
|
|
29
29
|
export interface ContactsLegacyContactRelationParticipant {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {string}
|
|
33
33
|
* @memberof ContactsLegacyContactRelationParticipant
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
uuid?: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {ContactsContactFieldValue}
|
|
39
39
|
* @memberof ContactsLegacyContactRelationParticipant
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
linkRole?: ContactsContactFieldValue | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
@@ -88,8 +88,8 @@ export function ContactsLegacyContactRelationParticipantFromJSONTyped(json: any,
|
|
|
88
88
|
}
|
|
89
89
|
return {
|
|
90
90
|
|
|
91
|
-
'linkRole': json['linkRole'] == null ? undefined : ContactsContactFieldValueFromJSON(json['linkRole']),
|
|
92
91
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
92
|
+
'linkRole': json['linkRole'] == null ? undefined : ContactsContactFieldValueFromJSON(json['linkRole']),
|
|
93
93
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
94
94
|
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
95
95
|
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
@@ -109,8 +109,8 @@ export function ContactsLegacyContactRelationParticipantToJSONTyped(value?: Cont
|
|
|
109
109
|
|
|
110
110
|
return {
|
|
111
111
|
|
|
112
|
-
'linkRole': ContactsContactFieldValueToJSON(value['linkRole']),
|
|
113
112
|
'uuid': value['uuid'],
|
|
113
|
+
'linkRole': ContactsContactFieldValueToJSON(value['linkRole']),
|
|
114
114
|
'displayName': value['displayName'],
|
|
115
115
|
'firstName': value['firstName'],
|
|
116
116
|
'lastName': value['lastName'],
|
|
@@ -121,88 +121,88 @@ export interface ContactsTemporaryContact {
|
|
|
121
121
|
sortName?: string;
|
|
122
122
|
/**
|
|
123
123
|
*
|
|
124
|
-
* @type {
|
|
124
|
+
* @type {ContactsIdentification}
|
|
125
125
|
* @memberof ContactsTemporaryContact
|
|
126
126
|
*/
|
|
127
|
-
|
|
127
|
+
identification?: ContactsIdentification;
|
|
128
128
|
/**
|
|
129
129
|
*
|
|
130
|
-
* @type {
|
|
130
|
+
* @type {ContactsAdditionalInformation}
|
|
131
131
|
* @memberof ContactsTemporaryContact
|
|
132
132
|
*/
|
|
133
|
-
|
|
133
|
+
additionalInformation?: ContactsAdditionalInformation;
|
|
134
134
|
/**
|
|
135
135
|
*
|
|
136
|
-
* @type {
|
|
136
|
+
* @type {ContactsSegmentation}
|
|
137
137
|
* @memberof ContactsTemporaryContact
|
|
138
138
|
*/
|
|
139
|
-
|
|
139
|
+
segmentation?: ContactsSegmentation;
|
|
140
140
|
/**
|
|
141
141
|
*
|
|
142
|
-
* @type {
|
|
142
|
+
* @type {Array<ContactsAddress>}
|
|
143
143
|
* @memberof ContactsTemporaryContact
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
addresses?: Array<ContactsAddress>;
|
|
146
146
|
/**
|
|
147
147
|
*
|
|
148
|
-
* @type {
|
|
148
|
+
* @type {Array<ContactsPhone>}
|
|
149
149
|
* @memberof ContactsTemporaryContact
|
|
150
150
|
*/
|
|
151
|
-
|
|
151
|
+
phones?: Array<ContactsPhone>;
|
|
152
152
|
/**
|
|
153
153
|
*
|
|
154
|
-
* @type {
|
|
154
|
+
* @type {Array<ContactsEmail>}
|
|
155
155
|
* @memberof ContactsTemporaryContact
|
|
156
156
|
*/
|
|
157
|
-
|
|
157
|
+
emails?: Array<ContactsEmail>;
|
|
158
158
|
/**
|
|
159
159
|
*
|
|
160
|
-
* @type {
|
|
160
|
+
* @type {Array<ContactsWebSite>}
|
|
161
161
|
* @memberof ContactsTemporaryContact
|
|
162
162
|
*/
|
|
163
|
-
|
|
163
|
+
websites?: Array<ContactsWebSite>;
|
|
164
164
|
/**
|
|
165
165
|
*
|
|
166
|
-
* @type {
|
|
166
|
+
* @type {string}
|
|
167
167
|
* @memberof ContactsTemporaryContact
|
|
168
168
|
*/
|
|
169
|
-
|
|
169
|
+
notes?: string;
|
|
170
170
|
/**
|
|
171
171
|
*
|
|
172
|
-
* @type {
|
|
172
|
+
* @type {string}
|
|
173
173
|
* @memberof ContactsTemporaryContact
|
|
174
174
|
*/
|
|
175
|
-
|
|
175
|
+
notesAdditionalInformation?: string;
|
|
176
176
|
/**
|
|
177
177
|
*
|
|
178
|
-
* @type {
|
|
178
|
+
* @type {Date}
|
|
179
179
|
* @memberof ContactsTemporaryContact
|
|
180
180
|
*/
|
|
181
|
-
|
|
181
|
+
creationDate?: Date | null;
|
|
182
182
|
/**
|
|
183
183
|
*
|
|
184
|
-
* @type {
|
|
184
|
+
* @type {Date}
|
|
185
185
|
* @memberof ContactsTemporaryContact
|
|
186
186
|
*/
|
|
187
|
-
|
|
187
|
+
lastUpdateDate?: Date | null;
|
|
188
188
|
/**
|
|
189
189
|
*
|
|
190
|
-
* @type {
|
|
190
|
+
* @type {ContactsCivilStatus}
|
|
191
191
|
* @memberof ContactsTemporaryContact
|
|
192
192
|
*/
|
|
193
|
-
|
|
193
|
+
currentMaritalStatus?: ContactsCivilStatus | null;
|
|
194
194
|
/**
|
|
195
195
|
*
|
|
196
|
-
* @type {
|
|
196
|
+
* @type {ContactsCivilStatus}
|
|
197
197
|
* @memberof ContactsTemporaryContact
|
|
198
198
|
*/
|
|
199
|
-
|
|
199
|
+
currentCivilStatus?: ContactsCivilStatus | null;
|
|
200
200
|
/**
|
|
201
201
|
*
|
|
202
|
-
* @type {
|
|
202
|
+
* @type {ContactsOccupation}
|
|
203
203
|
* @memberof ContactsTemporaryContact
|
|
204
204
|
*/
|
|
205
|
-
|
|
205
|
+
currentOccupation?: ContactsOccupation | null;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
/**
|
|
@@ -231,20 +231,20 @@ export function ContactsTemporaryContactFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
231
231
|
'indOrg': json['indOrg'] == null ? undefined : json['indOrg'],
|
|
232
232
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
233
233
|
'sortName': json['sortName'] == null ? undefined : json['sortName'],
|
|
234
|
-
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
235
|
-
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
236
|
-
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
237
|
-
'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
|
|
238
234
|
'identification': json['identification'] == null ? undefined : ContactsIdentificationFromJSON(json['identification']),
|
|
239
235
|
'additionalInformation': json['additionalInformation'] == null ? undefined : ContactsAdditionalInformationFromJSON(json['additionalInformation']),
|
|
240
|
-
'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentMaritalStatus']),
|
|
241
|
-
'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentCivilStatus']),
|
|
242
|
-
'currentOccupation': json['currentOccupation'] == null ? undefined : ContactsOccupationFromJSON(json['currentOccupation']),
|
|
243
236
|
'segmentation': json['segmentation'] == null ? undefined : ContactsSegmentationFromJSON(json['segmentation']),
|
|
244
237
|
'addresses': json['addresses'] == null ? undefined : ((json['addresses'] as Array<any>).map(ContactsAddressFromJSON)),
|
|
245
238
|
'phones': json['phones'] == null ? undefined : ((json['phones'] as Array<any>).map(ContactsPhoneFromJSON)),
|
|
246
239
|
'emails': json['emails'] == null ? undefined : ((json['emails'] as Array<any>).map(ContactsEmailFromJSON)),
|
|
247
240
|
'websites': json['websites'] == null ? undefined : ((json['websites'] as Array<any>).map(ContactsWebSiteFromJSON)),
|
|
241
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
242
|
+
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
243
|
+
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
244
|
+
'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
|
|
245
|
+
'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentMaritalStatus']),
|
|
246
|
+
'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentCivilStatus']),
|
|
247
|
+
'currentOccupation': json['currentOccupation'] == null ? undefined : ContactsOccupationFromJSON(json['currentOccupation']),
|
|
248
248
|
};
|
|
249
249
|
}
|
|
250
250
|
|
|
@@ -265,20 +265,20 @@ export function ContactsTemporaryContactToJSONTyped(value?: ContactsTemporaryCon
|
|
|
265
265
|
'indOrg': value['indOrg'],
|
|
266
266
|
'displayName': value['displayName'],
|
|
267
267
|
'sortName': value['sortName'],
|
|
268
|
-
'notes': value['notes'],
|
|
269
|
-
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
270
|
-
'creationDate': value['creationDate'] == null ? undefined : ((value['creationDate'] as any).toISOString()),
|
|
271
|
-
'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : ((value['lastUpdateDate'] as any).toISOString()),
|
|
272
268
|
'identification': ContactsIdentificationToJSON(value['identification']),
|
|
273
269
|
'additionalInformation': ContactsAdditionalInformationToJSON(value['additionalInformation']),
|
|
274
|
-
'currentMaritalStatus': ContactsCivilStatusToJSON(value['currentMaritalStatus']),
|
|
275
|
-
'currentCivilStatus': ContactsCivilStatusToJSON(value['currentCivilStatus']),
|
|
276
|
-
'currentOccupation': ContactsOccupationToJSON(value['currentOccupation']),
|
|
277
270
|
'segmentation': ContactsSegmentationToJSON(value['segmentation']),
|
|
278
271
|
'addresses': value['addresses'] == null ? undefined : ((value['addresses'] as Array<any>).map(ContactsAddressToJSON)),
|
|
279
272
|
'phones': value['phones'] == null ? undefined : ((value['phones'] as Array<any>).map(ContactsPhoneToJSON)),
|
|
280
273
|
'emails': value['emails'] == null ? undefined : ((value['emails'] as Array<any>).map(ContactsEmailToJSON)),
|
|
281
274
|
'websites': value['websites'] == null ? undefined : ((value['websites'] as Array<any>).map(ContactsWebSiteToJSON)),
|
|
275
|
+
'notes': value['notes'],
|
|
276
|
+
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
277
|
+
'creationDate': value['creationDate'] == null ? undefined : ((value['creationDate'] as any).toISOString()),
|
|
278
|
+
'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : ((value['lastUpdateDate'] as any).toISOString()),
|
|
279
|
+
'currentMaritalStatus': ContactsCivilStatusToJSON(value['currentMaritalStatus']),
|
|
280
|
+
'currentCivilStatus': ContactsCivilStatusToJSON(value['currentCivilStatus']),
|
|
281
|
+
'currentOccupation': ContactsOccupationToJSON(value['currentOccupation']),
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
284
|
|