@equisoft/equisoft-connect-sdk-typescript 13.40.0 → 13.40.1-snapshot.20251215140900

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.
Files changed (108) hide show
  1. package/.openapi-generator/FILES +2 -14
  2. package/dist/apis/ContactsApi.d.ts +5 -5
  3. package/dist/apis/ContactsApi.js +2 -2
  4. package/dist/apis/index.d.ts +0 -1
  5. package/dist/apis/index.js +0 -1
  6. package/dist/esm/apis/ContactsApi.d.ts +5 -5
  7. package/dist/esm/apis/ContactsApi.js +3 -3
  8. package/dist/esm/apis/index.d.ts +0 -1
  9. package/dist/esm/apis/index.js +0 -1
  10. package/dist/esm/models/ContactsContact.d.ts +68 -54
  11. package/dist/esm/models/ContactsContact.js +37 -32
  12. package/dist/esm/models/ContactsContactRelation.d.ts +46 -0
  13. package/dist/esm/models/{ContactsLegacyContactRelation.js → ContactsContactRelation.js} +11 -11
  14. package/dist/esm/models/ContactsContactRelationParticipant.d.ts +69 -0
  15. package/dist/esm/models/{ContactsLegacyContactRelationParticipant.js → ContactsContactRelationParticipant.js} +8 -8
  16. package/dist/esm/models/ContactsListContactResponse.d.ts +3 -3
  17. package/dist/esm/models/ContactsListContactResponse.js +3 -3
  18. package/dist/esm/models/LegacyProvisioningOrganizationPayload.d.ts +0 -6
  19. package/dist/esm/models/LegacyProvisioningOrganizationPayload.js +0 -2
  20. package/dist/esm/models/index.d.ts +2 -13
  21. package/dist/esm/models/index.js +2 -13
  22. package/dist/models/ContactsContact.d.ts +68 -54
  23. package/dist/models/ContactsContact.js +37 -32
  24. package/dist/models/ContactsContactRelation.d.ts +46 -0
  25. package/dist/models/ContactsContactRelation.js +54 -0
  26. package/dist/models/ContactsContactRelationParticipant.d.ts +69 -0
  27. package/dist/models/{ContactsLegacyContactRelationParticipant.js → ContactsContactRelationParticipant.js} +13 -13
  28. package/dist/models/ContactsListContactResponse.d.ts +3 -3
  29. package/dist/models/ContactsListContactResponse.js +3 -3
  30. package/dist/models/LegacyProvisioningOrganizationPayload.d.ts +0 -6
  31. package/dist/models/LegacyProvisioningOrganizationPayload.js +0 -2
  32. package/dist/models/index.d.ts +2 -13
  33. package/dist/models/index.js +2 -13
  34. package/package.json +1 -1
  35. package/src/apis/ContactsApi.ts +6 -12
  36. package/src/apis/index.ts +0 -1
  37. package/src/models/ContactsContact.ts +150 -126
  38. package/src/models/ContactsContactRelation.ts +96 -0
  39. package/src/models/{ContactsLegacyContactRelationParticipant.ts → ContactsContactRelationParticipant.ts} +17 -17
  40. package/src/models/ContactsListContactResponse.ts +10 -10
  41. package/src/models/LegacyProvisioningOrganizationPayload.ts +0 -8
  42. package/src/models/index.ts +2 -13
  43. package/dist/apis/DSFApi.d.ts +0 -71
  44. package/dist/apis/DSFApi.js +0 -216
  45. package/dist/esm/apis/DSFApi.d.ts +0 -71
  46. package/dist/esm/apis/DSFApi.js +0 -212
  47. package/dist/esm/models/ContactContactAdditionalInformation.d.ts +0 -87
  48. package/dist/esm/models/ContactContactAdditionalInformation.js +0 -60
  49. package/dist/esm/models/ContactContactIdentification.d.ts +0 -105
  50. package/dist/esm/models/ContactContactIdentification.js +0 -66
  51. package/dist/esm/models/ContactContactSegmentation.d.ts +0 -99
  52. package/dist/esm/models/ContactContactSegmentation.js +0 -74
  53. package/dist/esm/models/ContactLink.d.ts +0 -46
  54. package/dist/esm/models/ContactLink.js +0 -47
  55. package/dist/esm/models/ContactLinkParticipant.d.ts +0 -69
  56. package/dist/esm/models/ContactLinkParticipant.js +0 -54
  57. package/dist/esm/models/ContactsLegacyContact.d.ts +0 -170
  58. package/dist/esm/models/ContactsLegacyContact.js +0 -100
  59. package/dist/esm/models/ContactsLegacyContactRelation.d.ts +0 -46
  60. package/dist/esm/models/ContactsLegacyContactRelationParticipant.d.ts +0 -69
  61. package/dist/esm/models/ContactsTemporaryContact.d.ts +0 -155
  62. package/dist/esm/models/ContactsTemporaryContact.js +0 -94
  63. package/dist/esm/models/DsfCreateOrUpdateFinancialCenterResponse.d.ts +0 -32
  64. package/dist/esm/models/DsfCreateOrUpdateFinancialCenterResponse.js +0 -43
  65. package/dist/esm/models/DsfFinancialCenter.d.ts +0 -68
  66. package/dist/esm/models/DsfFinancialCenter.js +0 -63
  67. package/dist/esm/models/DsfFinancialCenterPayload.d.ts +0 -50
  68. package/dist/esm/models/DsfFinancialCenterPayload.js +0 -53
  69. package/dist/esm/models/DsfListFinancialCenterResponse.d.ts +0 -33
  70. package/dist/esm/models/DsfListFinancialCenterResponse.js +0 -44
  71. package/dist/models/ContactContactAdditionalInformation.d.ts +0 -87
  72. package/dist/models/ContactContactAdditionalInformation.js +0 -67
  73. package/dist/models/ContactContactIdentification.d.ts +0 -105
  74. package/dist/models/ContactContactIdentification.js +0 -73
  75. package/dist/models/ContactContactSegmentation.d.ts +0 -99
  76. package/dist/models/ContactContactSegmentation.js +0 -81
  77. package/dist/models/ContactLink.d.ts +0 -46
  78. package/dist/models/ContactLink.js +0 -54
  79. package/dist/models/ContactLinkParticipant.d.ts +0 -69
  80. package/dist/models/ContactLinkParticipant.js +0 -61
  81. package/dist/models/ContactsLegacyContact.d.ts +0 -170
  82. package/dist/models/ContactsLegacyContact.js +0 -107
  83. package/dist/models/ContactsLegacyContactRelation.d.ts +0 -46
  84. package/dist/models/ContactsLegacyContactRelation.js +0 -54
  85. package/dist/models/ContactsLegacyContactRelationParticipant.d.ts +0 -69
  86. package/dist/models/ContactsTemporaryContact.d.ts +0 -155
  87. package/dist/models/ContactsTemporaryContact.js +0 -101
  88. package/dist/models/DsfCreateOrUpdateFinancialCenterResponse.d.ts +0 -32
  89. package/dist/models/DsfCreateOrUpdateFinancialCenterResponse.js +0 -50
  90. package/dist/models/DsfFinancialCenter.d.ts +0 -68
  91. package/dist/models/DsfFinancialCenter.js +0 -70
  92. package/dist/models/DsfFinancialCenterPayload.d.ts +0 -50
  93. package/dist/models/DsfFinancialCenterPayload.js +0 -60
  94. package/dist/models/DsfListFinancialCenterResponse.d.ts +0 -33
  95. package/dist/models/DsfListFinancialCenterResponse.js +0 -51
  96. package/src/apis/DSFApi.ts +0 -274
  97. package/src/models/ContactContactAdditionalInformation.ts +0 -145
  98. package/src/models/ContactContactIdentification.ts +0 -169
  99. package/src/models/ContactContactSegmentation.ts +0 -166
  100. package/src/models/ContactLink.ts +0 -96
  101. package/src/models/ContactLinkParticipant.ts +0 -121
  102. package/src/models/ContactsLegacyContact.ts +0 -315
  103. package/src/models/ContactsLegacyContactRelation.ts +0 -96
  104. package/src/models/ContactsTemporaryContact.ts +0 -284
  105. package/src/models/DsfCreateOrUpdateFinancialCenterResponse.ts +0 -66
  106. package/src/models/DsfFinancialCenter.ts +0 -118
  107. package/src/models/DsfFinancialCenterPayload.ts +0 -92
  108. package/src/models/DsfListFinancialCenterResponse.ts +0 -74
@@ -13,76 +13,83 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { ContactContactAdditionalInformation } from './ContactContactAdditionalInformation';
16
+ import type { ContactsAdditionalInformation } from './ContactsAdditionalInformation';
17
17
  import {
18
- ContactContactAdditionalInformationFromJSON,
19
- ContactContactAdditionalInformationFromJSONTyped,
20
- ContactContactAdditionalInformationToJSON,
21
- ContactContactAdditionalInformationToJSONTyped,
22
- } from './ContactContactAdditionalInformation';
23
- import type { ContactContactMaritalStatus } from './ContactContactMaritalStatus';
18
+ ContactsAdditionalInformationFromJSON,
19
+ ContactsAdditionalInformationFromJSONTyped,
20
+ ContactsAdditionalInformationToJSON,
21
+ ContactsAdditionalInformationToJSONTyped,
22
+ } from './ContactsAdditionalInformation';
23
+ import type { ContactsSegmentation } from './ContactsSegmentation';
24
24
  import {
25
- ContactContactMaritalStatusFromJSON,
26
- ContactContactMaritalStatusFromJSONTyped,
27
- ContactContactMaritalStatusToJSON,
28
- ContactContactMaritalStatusToJSONTyped,
29
- } from './ContactContactMaritalStatus';
30
- import type { ContactContactOccupation } from './ContactContactOccupation';
25
+ ContactsSegmentationFromJSON,
26
+ ContactsSegmentationFromJSONTyped,
27
+ ContactsSegmentationToJSON,
28
+ ContactsSegmentationToJSONTyped,
29
+ } from './ContactsSegmentation';
30
+ import type { ContactsPhone } from './ContactsPhone';
31
31
  import {
32
- ContactContactOccupationFromJSON,
33
- ContactContactOccupationFromJSONTyped,
34
- ContactContactOccupationToJSON,
35
- ContactContactOccupationToJSONTyped,
36
- } from './ContactContactOccupation';
37
- import type { ContactContactEmail } from './ContactContactEmail';
32
+ ContactsPhoneFromJSON,
33
+ ContactsPhoneFromJSONTyped,
34
+ ContactsPhoneToJSON,
35
+ ContactsPhoneToJSONTyped,
36
+ } from './ContactsPhone';
37
+ import type { ContactsIdentification } from './ContactsIdentification';
38
38
  import {
39
- ContactContactEmailFromJSON,
40
- ContactContactEmailFromJSONTyped,
41
- ContactContactEmailToJSON,
42
- ContactContactEmailToJSONTyped,
43
- } from './ContactContactEmail';
44
- import type { ContactContactIdentification } from './ContactContactIdentification';
39
+ ContactsIdentificationFromJSON,
40
+ ContactsIdentificationFromJSONTyped,
41
+ ContactsIdentificationToJSON,
42
+ ContactsIdentificationToJSONTyped,
43
+ } from './ContactsIdentification';
44
+ import type { ContactsCivilStatus } from './ContactsCivilStatus';
45
45
  import {
46
- ContactContactIdentificationFromJSON,
47
- ContactContactIdentificationFromJSONTyped,
48
- ContactContactIdentificationToJSON,
49
- ContactContactIdentificationToJSONTyped,
50
- } from './ContactContactIdentification';
51
- import type { ContactContactWebsite } from './ContactContactWebsite';
46
+ ContactsCivilStatusFromJSON,
47
+ ContactsCivilStatusFromJSONTyped,
48
+ ContactsCivilStatusToJSON,
49
+ ContactsCivilStatusToJSONTyped,
50
+ } from './ContactsCivilStatus';
51
+ import type { ContactsEmail } from './ContactsEmail';
52
52
  import {
53
- ContactContactWebsiteFromJSON,
54
- ContactContactWebsiteFromJSONTyped,
55
- ContactContactWebsiteToJSON,
56
- ContactContactWebsiteToJSONTyped,
57
- } from './ContactContactWebsite';
58
- import type { ContactContactSegmentation } from './ContactContactSegmentation';
53
+ ContactsEmailFromJSON,
54
+ ContactsEmailFromJSONTyped,
55
+ ContactsEmailToJSON,
56
+ ContactsEmailToJSONTyped,
57
+ } from './ContactsEmail';
58
+ import type { ContactsWebSite } from './ContactsWebSite';
59
59
  import {
60
- ContactContactSegmentationFromJSON,
61
- ContactContactSegmentationFromJSONTyped,
62
- ContactContactSegmentationToJSON,
63
- ContactContactSegmentationToJSONTyped,
64
- } from './ContactContactSegmentation';
65
- import type { ContactContactPhone } from './ContactContactPhone';
60
+ ContactsWebSiteFromJSON,
61
+ ContactsWebSiteFromJSONTyped,
62
+ ContactsWebSiteToJSON,
63
+ ContactsWebSiteToJSONTyped,
64
+ } from './ContactsWebSite';
65
+ import type { ContactsOccupation } from './ContactsOccupation';
66
66
  import {
67
- ContactContactPhoneFromJSON,
68
- ContactContactPhoneFromJSONTyped,
69
- ContactContactPhoneToJSON,
70
- ContactContactPhoneToJSONTyped,
71
- } from './ContactContactPhone';
72
- import type { ContactContactAddress } from './ContactContactAddress';
67
+ ContactsOccupationFromJSON,
68
+ ContactsOccupationFromJSONTyped,
69
+ ContactsOccupationToJSON,
70
+ ContactsOccupationToJSONTyped,
71
+ } from './ContactsOccupation';
72
+ import type { ContactsContactRelation } from './ContactsContactRelation';
73
73
  import {
74
- ContactContactAddressFromJSON,
75
- ContactContactAddressFromJSONTyped,
76
- ContactContactAddressToJSON,
77
- ContactContactAddressToJSONTyped,
78
- } from './ContactContactAddress';
79
- import type { ContactLink } from './ContactLink';
74
+ ContactsContactRelationFromJSON,
75
+ ContactsContactRelationFromJSONTyped,
76
+ ContactsContactRelationToJSON,
77
+ ContactsContactRelationToJSONTyped,
78
+ } from './ContactsContactRelation';
79
+ import type { ContactsAddress } from './ContactsAddress';
80
80
  import {
81
- ContactLinkFromJSON,
82
- ContactLinkFromJSONTyped,
83
- ContactLinkToJSON,
84
- ContactLinkToJSONTyped,
85
- } from './ContactLink';
81
+ ContactsAddressFromJSON,
82
+ ContactsAddressFromJSONTyped,
83
+ ContactsAddressToJSON,
84
+ ContactsAddressToJSONTyped,
85
+ } from './ContactsAddress';
86
+ import type { ContactsInvestorProfile } from './ContactsInvestorProfile';
87
+ import {
88
+ ContactsInvestorProfileFromJSON,
89
+ ContactsInvestorProfileFromJSONTyped,
90
+ ContactsInvestorProfileToJSON,
91
+ ContactsInvestorProfileToJSONTyped,
92
+ } from './ContactsInvestorProfile';
86
93
 
87
94
  /**
88
95
  *
@@ -91,125 +98,138 @@ import {
91
98
  */
92
99
  export interface ContactsContact {
93
100
  /**
94
- * Contact unique numeric identifier
101
+ *
95
102
  * @type {number}
96
103
  * @memberof ContactsContact
97
104
  */
98
105
  id: number;
99
106
  /**
100
- * Contact unique string identifier
107
+ *
101
108
  * @type {string}
102
109
  * @memberof ContactsContact
103
110
  */
104
111
  uuid: string;
105
112
  /**
106
- * Contact type ('CUS','OTHER')
113
+ *
107
114
  * @type {string}
108
115
  * @memberof ContactsContact
109
116
  */
110
117
  contactType: string;
111
118
  /**
112
- * Contact complete name ("[Last name] [First Name]") or company Name for 'Organization' contact
119
+ *
120
+ * @type {string}
121
+ * @memberof ContactsContact
122
+ */
123
+ indOrg?: string;
124
+ /**
125
+ *
113
126
  * @type {string}
114
127
  * @memberof ContactsContact
115
128
  */
116
129
  displayName?: string;
117
130
  /**
118
- * Contact sort name
131
+ *
119
132
  * @type {string}
120
133
  * @memberof ContactsContact
121
134
  */
122
135
  sortName?: string;
123
136
  /**
124
- * Contact notes
125
- * @type {string}
137
+ *
138
+ * @type {ContactsIdentification}
126
139
  * @memberof ContactsContact
127
140
  */
128
- notes?: string;
141
+ identification?: ContactsIdentification;
129
142
  /**
130
- * Contact additional information related to the notes
131
- * @type {string}
143
+ *
144
+ * @type {ContactsAdditionalInformation}
132
145
  * @memberof ContactsContact
133
146
  */
134
- notesAdditionalInformation?: string;
147
+ additionalInformation?: ContactsAdditionalInformation;
135
148
  /**
136
- * Creation time. As defined by date-time - RFC3339
137
- * @type {Date}
149
+ *
150
+ * @type {ContactsSegmentation}
138
151
  * @memberof ContactsContact
139
152
  */
140
- creationDate?: Date | null;
153
+ segmentation?: ContactsSegmentation;
141
154
  /**
142
- * Last update time. As defined by date-time - RFC3339
143
- * @type {Date}
155
+ *
156
+ * @type {Array<ContactsAddress>}
144
157
  * @memberof ContactsContact
145
158
  */
146
- lastUpdateDate?: Date | null;
159
+ addresses?: Array<ContactsAddress>;
147
160
  /**
148
161
  *
149
- * @type {ContactContactIdentification}
162
+ * @type {Array<ContactsPhone>}
150
163
  * @memberof ContactsContact
151
164
  */
152
- identification?: ContactContactIdentification;
165
+ phones?: Array<ContactsPhone>;
153
166
  /**
154
167
  *
155
- * @type {ContactContactAdditionalInformation}
168
+ * @type {Array<ContactsEmail>}
156
169
  * @memberof ContactsContact
157
170
  */
158
- additionalInformation?: ContactContactAdditionalInformation;
171
+ emails?: Array<ContactsEmail>;
159
172
  /**
160
173
  *
161
- * @type {ContactContactMaritalStatus}
174
+ * @type {Array<ContactsWebSite>}
175
+ * @memberof ContactsContact
176
+ */
177
+ websites?: Array<ContactsWebSite>;
178
+ /**
179
+ * Only available for getContact. Will always be empty for listContact
180
+ * @type {Array<ContactsContactRelation>}
162
181
  * @memberof ContactsContact
182
+ * @deprecated
163
183
  */
164
- currentMaritalStatus?: ContactContactMaritalStatus | null;
184
+ links?: Array<ContactsContactRelation>;
165
185
  /**
166
186
  *
167
- * @type {ContactContactMaritalStatus}
187
+ * @type {string}
168
188
  * @memberof ContactsContact
169
189
  */
170
- currentCivilStatus?: ContactContactMaritalStatus | null;
190
+ notes?: string;
171
191
  /**
172
192
  *
173
- * @type {ContactContactOccupation}
193
+ * @type {string}
174
194
  * @memberof ContactsContact
175
195
  */
176
- currentOccupation?: ContactContactOccupation | null;
196
+ notesAdditionalInformation?: string;
177
197
  /**
178
198
  *
179
- * @type {ContactContactSegmentation}
199
+ * @type {Date}
180
200
  * @memberof ContactsContact
181
201
  */
182
- segmentation?: ContactContactSegmentation;
202
+ creationDate?: Date | null;
183
203
  /**
184
- * List of contact's addresses
185
- * @type {Array<ContactContactAddress>}
204
+ *
205
+ * @type {Date}
186
206
  * @memberof ContactsContact
187
207
  */
188
- addresses?: Array<ContactContactAddress>;
208
+ lastUpdateDate?: Date | null;
189
209
  /**
190
- * List of contact's phones
191
- * @type {Array<ContactContactPhone>}
210
+ *
211
+ * @type {ContactsCivilStatus}
192
212
  * @memberof ContactsContact
193
213
  */
194
- phones?: Array<ContactContactPhone>;
214
+ currentMaritalStatus?: ContactsCivilStatus | null;
195
215
  /**
196
- * List of contact's emails
197
- * @type {Array<ContactContactEmail>}
216
+ *
217
+ * @type {ContactsCivilStatus}
198
218
  * @memberof ContactsContact
199
219
  */
200
- emails?: Array<ContactContactEmail>;
220
+ currentCivilStatus?: ContactsCivilStatus | null;
201
221
  /**
202
- * List of contact's websites
203
- * @type {Array<ContactContactWebsite>}
222
+ *
223
+ * @type {ContactsOccupation}
204
224
  * @memberof ContactsContact
205
225
  */
206
- websites?: Array<ContactContactWebsite>;
226
+ currentOccupation?: ContactsOccupation | null;
207
227
  /**
208
- * List of contact's links
209
- * @type {Array<ContactLink>}
228
+ *
229
+ * @type {ContactsInvestorProfile}
210
230
  * @memberof ContactsContact
211
231
  */
212
- links?: Array<ContactLink>;
232
+ investorProfile?: ContactsInvestorProfile | null;
213
233
  }
214
234
 
215
235
  /**
@@ -235,23 +255,25 @@ export function ContactsContactFromJSONTyped(json: any, ignoreDiscriminator: boo
235
255
  'id': json['id'],
236
256
  'uuid': json['uuid'],
237
257
  'contactType': json['contactType'],
258
+ 'indOrg': json['indOrg'] == null ? undefined : json['indOrg'],
238
259
  'displayName': json['displayName'] == null ? undefined : json['displayName'],
239
260
  'sortName': json['sortName'] == null ? undefined : json['sortName'],
261
+ 'identification': json['identification'] == null ? undefined : ContactsIdentificationFromJSON(json['identification']),
262
+ 'additionalInformation': json['additionalInformation'] == null ? undefined : ContactsAdditionalInformationFromJSON(json['additionalInformation']),
263
+ 'segmentation': json['segmentation'] == null ? undefined : ContactsSegmentationFromJSON(json['segmentation']),
264
+ 'addresses': json['addresses'] == null ? undefined : ((json['addresses'] as Array<any>).map(ContactsAddressFromJSON)),
265
+ 'phones': json['phones'] == null ? undefined : ((json['phones'] as Array<any>).map(ContactsPhoneFromJSON)),
266
+ 'emails': json['emails'] == null ? undefined : ((json['emails'] as Array<any>).map(ContactsEmailFromJSON)),
267
+ 'websites': json['websites'] == null ? undefined : ((json['websites'] as Array<any>).map(ContactsWebSiteFromJSON)),
268
+ 'links': json['links'] == null ? undefined : ((json['links'] as Array<any>).map(ContactsContactRelationFromJSON)),
240
269
  'notes': json['notes'] == null ? undefined : json['notes'],
241
270
  'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
242
271
  'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
243
272
  'lastUpdateDate': json['lastUpdateDate'] == null ? undefined : (new Date(json['lastUpdateDate'])),
244
- 'identification': json['identification'] == null ? undefined : ContactContactIdentificationFromJSON(json['identification']),
245
- 'additionalInformation': json['additionalInformation'] == null ? undefined : ContactContactAdditionalInformationFromJSON(json['additionalInformation']),
246
- 'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : ContactContactMaritalStatusFromJSON(json['currentMaritalStatus']),
247
- 'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : ContactContactMaritalStatusFromJSON(json['currentCivilStatus']),
248
- 'currentOccupation': json['currentOccupation'] == null ? undefined : ContactContactOccupationFromJSON(json['currentOccupation']),
249
- 'segmentation': json['segmentation'] == null ? undefined : ContactContactSegmentationFromJSON(json['segmentation']),
250
- 'addresses': json['addresses'] == null ? undefined : ((json['addresses'] as Array<any>).map(ContactContactAddressFromJSON)),
251
- 'phones': json['phones'] == null ? undefined : ((json['phones'] as Array<any>).map(ContactContactPhoneFromJSON)),
252
- 'emails': json['emails'] == null ? undefined : ((json['emails'] as Array<any>).map(ContactContactEmailFromJSON)),
253
- 'websites': json['websites'] == null ? undefined : ((json['websites'] as Array<any>).map(ContactContactWebsiteFromJSON)),
254
- 'links': json['links'] == null ? undefined : ((json['links'] as Array<any>).map(ContactLinkFromJSON)),
273
+ 'currentMaritalStatus': json['currentMaritalStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentMaritalStatus']),
274
+ 'currentCivilStatus': json['currentCivilStatus'] == null ? undefined : ContactsCivilStatusFromJSON(json['currentCivilStatus']),
275
+ 'currentOccupation': json['currentOccupation'] == null ? undefined : ContactsOccupationFromJSON(json['currentOccupation']),
276
+ 'investorProfile': json['investorProfile'] == null ? undefined : ContactsInvestorProfileFromJSON(json['investorProfile']),
255
277
  };
256
278
  }
257
279
 
@@ -269,23 +291,25 @@ export function ContactsContactToJSONTyped(value?: ContactsContact | null, ignor
269
291
  'id': value['id'],
270
292
  'uuid': value['uuid'],
271
293
  'contactType': value['contactType'],
294
+ 'indOrg': value['indOrg'],
272
295
  'displayName': value['displayName'],
273
296
  'sortName': value['sortName'],
297
+ 'identification': ContactsIdentificationToJSON(value['identification']),
298
+ 'additionalInformation': ContactsAdditionalInformationToJSON(value['additionalInformation']),
299
+ 'segmentation': ContactsSegmentationToJSON(value['segmentation']),
300
+ 'addresses': value['addresses'] == null ? undefined : ((value['addresses'] as Array<any>).map(ContactsAddressToJSON)),
301
+ 'phones': value['phones'] == null ? undefined : ((value['phones'] as Array<any>).map(ContactsPhoneToJSON)),
302
+ 'emails': value['emails'] == null ? undefined : ((value['emails'] as Array<any>).map(ContactsEmailToJSON)),
303
+ 'websites': value['websites'] == null ? undefined : ((value['websites'] as Array<any>).map(ContactsWebSiteToJSON)),
304
+ 'links': value['links'] == null ? undefined : ((value['links'] as Array<any>).map(ContactsContactRelationToJSON)),
274
305
  'notes': value['notes'],
275
306
  'notesAdditionalInformation': value['notesAdditionalInformation'],
276
307
  'creationDate': value['creationDate'] == null ? undefined : ((value['creationDate'] as any).toISOString()),
277
308
  'lastUpdateDate': value['lastUpdateDate'] == null ? undefined : ((value['lastUpdateDate'] as any).toISOString()),
278
- 'identification': ContactContactIdentificationToJSON(value['identification']),
279
- 'additionalInformation': ContactContactAdditionalInformationToJSON(value['additionalInformation']),
280
- 'currentMaritalStatus': ContactContactMaritalStatusToJSON(value['currentMaritalStatus']),
281
- 'currentCivilStatus': ContactContactMaritalStatusToJSON(value['currentCivilStatus']),
282
- 'currentOccupation': ContactContactOccupationToJSON(value['currentOccupation']),
283
- 'segmentation': ContactContactSegmentationToJSON(value['segmentation']),
284
- 'addresses': value['addresses'] == null ? undefined : ((value['addresses'] as Array<any>).map(ContactContactAddressToJSON)),
285
- 'phones': value['phones'] == null ? undefined : ((value['phones'] as Array<any>).map(ContactContactPhoneToJSON)),
286
- 'emails': value['emails'] == null ? undefined : ((value['emails'] as Array<any>).map(ContactContactEmailToJSON)),
287
- 'websites': value['websites'] == null ? undefined : ((value['websites'] as Array<any>).map(ContactContactWebsiteToJSON)),
288
- 'links': value['links'] == null ? undefined : ((value['links'] as Array<any>).map(ContactLinkToJSON)),
309
+ 'currentMaritalStatus': ContactsCivilStatusToJSON(value['currentMaritalStatus']),
310
+ 'currentCivilStatus': ContactsCivilStatusToJSON(value['currentCivilStatus']),
311
+ 'currentOccupation': ContactsOccupationToJSON(value['currentOccupation']),
312
+ 'investorProfile': ContactsInvestorProfileToJSON(value['investorProfile']),
289
313
  };
290
314
  }
291
315
 
@@ -0,0 +1,96 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Equisoft /connect API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: latest
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { ContactsContactFieldValue } from './ContactsContactFieldValue';
17
+ import {
18
+ ContactsContactFieldValueFromJSON,
19
+ ContactsContactFieldValueFromJSONTyped,
20
+ ContactsContactFieldValueToJSON,
21
+ ContactsContactFieldValueToJSONTyped,
22
+ } from './ContactsContactFieldValue';
23
+ import type { ContactsContactRelationParticipant } from './ContactsContactRelationParticipant';
24
+ import {
25
+ ContactsContactRelationParticipantFromJSON,
26
+ ContactsContactRelationParticipantFromJSONTyped,
27
+ ContactsContactRelationParticipantToJSON,
28
+ ContactsContactRelationParticipantToJSONTyped,
29
+ } from './ContactsContactRelationParticipant';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface ContactsContactRelation
35
+ */
36
+ export interface ContactsContactRelation {
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ContactsContactRelation
41
+ */
42
+ id?: number;
43
+ /**
44
+ *
45
+ * @type {ContactsContactFieldValue}
46
+ * @memberof ContactsContactRelation
47
+ */
48
+ linkType?: ContactsContactFieldValue | null;
49
+ /**
50
+ *
51
+ * @type {Array<ContactsContactRelationParticipant>}
52
+ * @memberof ContactsContactRelation
53
+ */
54
+ participants?: Array<ContactsContactRelationParticipant>;
55
+ }
56
+
57
+ /**
58
+ * Check if a given object implements the ContactsContactRelation interface.
59
+ */
60
+ export function instanceOfContactsContactRelation(value: object): value is ContactsContactRelation {
61
+ return true;
62
+ }
63
+
64
+ export function ContactsContactRelationFromJSON(json: any): ContactsContactRelation {
65
+ return ContactsContactRelationFromJSONTyped(json, false);
66
+ }
67
+
68
+ export function ContactsContactRelationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsContactRelation {
69
+ if (json == null) {
70
+ return json;
71
+ }
72
+ return {
73
+
74
+ 'id': json['id'] == null ? undefined : json['id'],
75
+ 'linkType': json['linkType'] == null ? undefined : ContactsContactFieldValueFromJSON(json['linkType']),
76
+ 'participants': json['participants'] == null ? undefined : ((json['participants'] as Array<any>).map(ContactsContactRelationParticipantFromJSON)),
77
+ };
78
+ }
79
+
80
+ export function ContactsContactRelationToJSON(json: any): ContactsContactRelation {
81
+ return ContactsContactRelationToJSONTyped(json, false);
82
+ }
83
+
84
+ export function ContactsContactRelationToJSONTyped(value?: ContactsContactRelation | null, ignoreDiscriminator: boolean = false): any {
85
+ if (value == null) {
86
+ return value;
87
+ }
88
+
89
+ return {
90
+
91
+ 'id': value['id'],
92
+ 'linkType': ContactsContactFieldValueToJSON(value['linkType']),
93
+ 'participants': value['participants'] == null ? undefined : ((value['participants'] as Array<any>).map(ContactsContactRelationParticipantToJSON)),
94
+ };
95
+ }
96
+
@@ -24,65 +24,65 @@ import {
24
24
  /**
25
25
  *
26
26
  * @export
27
- * @interface ContactsLegacyContactRelationParticipant
27
+ * @interface ContactsContactRelationParticipant
28
28
  */
29
- export interface ContactsLegacyContactRelationParticipant {
29
+ export interface ContactsContactRelationParticipant {
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
- * @memberof ContactsLegacyContactRelationParticipant
33
+ * @memberof ContactsContactRelationParticipant
34
34
  */
35
35
  uuid?: string;
36
36
  /**
37
37
  *
38
38
  * @type {ContactsContactFieldValue}
39
- * @memberof ContactsLegacyContactRelationParticipant
39
+ * @memberof ContactsContactRelationParticipant
40
40
  */
41
41
  linkRole?: ContactsContactFieldValue | null;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
- * @memberof ContactsLegacyContactRelationParticipant
45
+ * @memberof ContactsContactRelationParticipant
46
46
  */
47
47
  displayName?: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
- * @memberof ContactsLegacyContactRelationParticipant
51
+ * @memberof ContactsContactRelationParticipant
52
52
  */
53
53
  firstName?: string;
54
54
  /**
55
55
  *
56
56
  * @type {string}
57
- * @memberof ContactsLegacyContactRelationParticipant
57
+ * @memberof ContactsContactRelationParticipant
58
58
  */
59
59
  lastName?: string;
60
60
  /**
61
61
  *
62
62
  * @type {string}
63
- * @memberof ContactsLegacyContactRelationParticipant
63
+ * @memberof ContactsContactRelationParticipant
64
64
  */
65
65
  gender?: string;
66
66
  /**
67
67
  *
68
68
  * @type {Date}
69
- * @memberof ContactsLegacyContactRelationParticipant
69
+ * @memberof ContactsContactRelationParticipant
70
70
  */
71
71
  birthDate?: Date | null;
72
72
  }
73
73
 
74
74
  /**
75
- * Check if a given object implements the ContactsLegacyContactRelationParticipant interface.
75
+ * Check if a given object implements the ContactsContactRelationParticipant interface.
76
76
  */
77
- export function instanceOfContactsLegacyContactRelationParticipant(value: object): value is ContactsLegacyContactRelationParticipant {
77
+ export function instanceOfContactsContactRelationParticipant(value: object): value is ContactsContactRelationParticipant {
78
78
  return true;
79
79
  }
80
80
 
81
- export function ContactsLegacyContactRelationParticipantFromJSON(json: any): ContactsLegacyContactRelationParticipant {
82
- return ContactsLegacyContactRelationParticipantFromJSONTyped(json, false);
81
+ export function ContactsContactRelationParticipantFromJSON(json: any): ContactsContactRelationParticipant {
82
+ return ContactsContactRelationParticipantFromJSONTyped(json, false);
83
83
  }
84
84
 
85
- export function ContactsLegacyContactRelationParticipantFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsLegacyContactRelationParticipant {
85
+ export function ContactsContactRelationParticipantFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsContactRelationParticipant {
86
86
  if (json == null) {
87
87
  return json;
88
88
  }
@@ -98,11 +98,11 @@ export function ContactsLegacyContactRelationParticipantFromJSONTyped(json: any,
98
98
  };
99
99
  }
100
100
 
101
- export function ContactsLegacyContactRelationParticipantToJSON(json: any): ContactsLegacyContactRelationParticipant {
102
- return ContactsLegacyContactRelationParticipantToJSONTyped(json, false);
101
+ export function ContactsContactRelationParticipantToJSON(json: any): ContactsContactRelationParticipant {
102
+ return ContactsContactRelationParticipantToJSONTyped(json, false);
103
103
  }
104
104
 
105
- export function ContactsLegacyContactRelationParticipantToJSONTyped(value?: ContactsLegacyContactRelationParticipant | null, ignoreDiscriminator: boolean = false): any {
105
+ export function ContactsContactRelationParticipantToJSONTyped(value?: ContactsContactRelationParticipant | null, ignoreDiscriminator: boolean = false): any {
106
106
  if (value == null) {
107
107
  return value;
108
108
  }
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { ContactsTemporaryContact } from './ContactsTemporaryContact';
16
+ import type { ContactsContact } from './ContactsContact';
17
17
  import {
18
- ContactsTemporaryContactFromJSON,
19
- ContactsTemporaryContactFromJSONTyped,
20
- ContactsTemporaryContactToJSON,
21
- ContactsTemporaryContactToJSONTyped,
22
- } from './ContactsTemporaryContact';
18
+ ContactsContactFromJSON,
19
+ ContactsContactFromJSONTyped,
20
+ ContactsContactToJSON,
21
+ ContactsContactToJSONTyped,
22
+ } from './ContactsContact';
23
23
 
24
24
  /**
25
25
  *
@@ -41,10 +41,10 @@ export interface ContactsListContactResponse {
41
41
  count?: number | null;
42
42
  /**
43
43
  *
44
- * @type {Array<ContactsTemporaryContact>}
44
+ * @type {Array<ContactsContact>}
45
45
  * @memberof ContactsListContactResponse
46
46
  */
47
- items: Array<ContactsTemporaryContact>;
47
+ items: Array<ContactsContact>;
48
48
  }
49
49
 
50
50
  /**
@@ -67,7 +67,7 @@ export function ContactsListContactResponseFromJSONTyped(json: any, ignoreDiscri
67
67
 
68
68
  'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
69
69
  'count': json['count'] == null ? undefined : json['count'],
70
- 'items': ((json['items'] as Array<any>).map(ContactsTemporaryContactFromJSON)),
70
+ 'items': ((json['items'] as Array<any>).map(ContactsContactFromJSON)),
71
71
  };
72
72
  }
73
73
 
@@ -84,7 +84,7 @@ export function ContactsListContactResponseToJSONTyped(value?: ContactsListConta
84
84
 
85
85
  'nextPageToken': value['nextPageToken'],
86
86
  'count': value['count'],
87
- 'items': ((value['items'] as Array<any>).map(ContactsTemporaryContactToJSON)),
87
+ 'items': ((value['items'] as Array<any>).map(ContactsContactToJSON)),
88
88
  };
89
89
  }
90
90