@equisoft/equisoft-connect-sdk-typescript 10.21.5 → 10.22.1
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/.openapi-generator/FILES +2 -0
- package/dist/apis/DatabasesApi.d.ts +12 -1
- package/dist/apis/DatabasesApi.js +37 -0
- package/dist/models/EventsCreateEventPayload.d.ts +13 -13
- package/dist/models/EventsCreateEventPayload.js +4 -4
- package/dist/models/EventsPatchEventPayload.d.ts +1 -1
- package/dist/models/GatewaysAccessesEquisoftAnalyzeAccessAllOf.d.ts +2 -2
- package/dist/models/GatewaysAccessesEquisoftAnalyzeAccessAllOf.js +3 -2
- package/dist/models/GatewaysCredentialsWithSsn.d.ts +6 -6
- package/dist/models/GatewaysCredentialsWithSsn.js +2 -2
- package/dist/models/InternalNotesNote.d.ts +6 -6
- package/dist/models/InternalNotesNote.js +6 -6
- package/dist/models/LegacyAddUpdateResponse.d.ts +7 -7
- package/dist/models/LegacyAddUpdateResponse.js +2 -2
- package/dist/models/LegacyAddUpdateResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyAddUpdateResponseAllOf.js +3 -2
- package/dist/models/LegacyContactAddress.d.ts +1 -1
- package/dist/models/LegacyContactContactPayloadItem.d.ts +96 -96
- package/dist/models/LegacyContactContactPayloadItem.js +32 -32
- package/dist/models/LegacyDocumentBase64FilePayload.d.ts +2 -1
- package/dist/models/LegacyDocumentBase64FilePayloadItem.d.ts +12 -12
- package/dist/models/LegacyDocumentBase64FilePayloadItem.js +4 -4
- package/dist/models/LegacyDocumentDocument.d.ts +38 -37
- package/dist/models/LegacyDocumentDocument.js +12 -12
- package/dist/models/LegacyDocumentDocumentListItem.d.ts +6 -6
- package/dist/models/LegacyDocumentDocumentListItem.js +2 -2
- package/dist/models/LegacyDocumentDocumentPayload.d.ts +2 -1
- package/dist/models/LegacyDocumentDocumentPayloadItem.d.ts +14 -13
- package/dist/models/LegacyDocumentDocumentPayloadItem.js +4 -4
- package/dist/models/LegacyDocumentDownloadFileResponse.d.ts +8 -7
- package/dist/models/LegacyDocumentDownloadFileResponse.js +2 -2
- package/dist/models/LegacyDocumentDownloadFileResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyDocumentDownloadFileResponseAllOf.js +3 -2
- package/dist/models/LegacyDocumentGetListResponse.d.ts +9 -6
- package/dist/models/LegacyDocumentGetListResponse.js +2 -2
- package/dist/models/LegacyDocumentGetListResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyDocumentGetListResponseAllOf.js +3 -2
- package/dist/models/LegacyDocumentGetResponse.d.ts +8 -7
- package/dist/models/LegacyDocumentGetResponse.js +2 -2
- package/dist/models/LegacyDocumentGetResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyDocumentGetResponseAllOf.js +3 -2
- package/dist/models/LegacyFinanceAccountStatement.d.ts +1 -1
- package/dist/models/LegacyFinanceGetAccountStatementResponse.d.ts +7 -7
- package/dist/models/LegacyFinanceGetAccountStatementResponse.js +2 -2
- package/dist/models/LegacyFinanceGetAccountStatementResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyFinanceGetAccountStatementResponseAllOf.js +2 -1
- package/dist/models/LegacyFinanceGetLiabilitiesResponse.d.ts +6 -6
- package/dist/models/LegacyFinanceGetLiabilitiesResponse.js +2 -2
- package/dist/models/LegacyFinanceGetLiabilitiesResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyFinanceGetLiabilitiesResponseAllOf.js +3 -2
- package/dist/models/LegacyFinanceLiability.d.ts +1 -1
- package/dist/models/LegacyProvisioningGetOrganizationListResponse.d.ts +6 -6
- package/dist/models/LegacyProvisioningGetOrganizationListResponse.js +2 -2
- package/dist/models/LegacyProvisioningGetOrganizationListResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyProvisioningGetOrganizationListResponseAllOf.js +3 -2
- package/dist/models/LegacyProvisioningGetOrganizationResponse.d.ts +6 -6
- package/dist/models/LegacyProvisioningGetOrganizationResponse.js +2 -2
- package/dist/models/LegacyProvisioningGetOrganizationResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyProvisioningGetOrganizationResponseAllOf.js +2 -1
- package/dist/models/MovementClientBaseUsingDistributionListMovement.d.ts +6 -6
- package/dist/models/MovementClientBaseUsingDistributionListMovement.js +2 -2
- package/dist/models/MovementClientBaseUsingDistributionListMovementAllOf.d.ts +11 -11
- package/dist/models/MovementClientBaseUsingDistributionListMovementAllOf.js +7 -7
- package/dist/models/MovementClientBaseUsingDistributionListMovementPayload.d.ts +6 -6
- package/dist/models/MovementClientBaseUsingDistributionListMovementPayload.js +2 -2
- package/dist/models/MovementClientBaseUsingDistributionListMovementPayloadAllOf.d.ts +11 -11
- package/dist/models/MovementClientBaseUsingDistributionListMovementPayloadAllOf.js +7 -7
- package/dist/models/MovementClientBaseUsingFileMovement.d.ts +6 -6
- package/dist/models/MovementClientBaseUsingFileMovement.js +2 -2
- package/dist/models/MovementClientBaseUsingFileMovementAllOf.d.ts +10 -10
- package/dist/models/MovementClientBaseUsingFileMovementAllOf.js +6 -6
- package/dist/models/MovementClientBaseUsingFileMovementPayload.d.ts +6 -6
- package/dist/models/MovementClientBaseUsingFileMovementPayload.js +2 -2
- package/dist/models/MovementClientBaseUsingFileMovementPayloadAllOf.d.ts +8 -8
- package/dist/models/MovementClientBaseUsingFileMovementPayloadAllOf.js +6 -6
- package/dist/models/MovementCopyMovement.d.ts +6 -6
- package/dist/models/MovementCopyMovement.js +2 -2
- package/dist/models/MovementCopyMovementAllOf.d.ts +7 -7
- package/dist/models/MovementCopyMovementAllOf.js +7 -6
- package/dist/models/MovementCopyMovementPayload.d.ts +6 -6
- package/dist/models/MovementCopyMovementPayload.js +2 -2
- package/dist/models/MovementCopyMovementPayloadAllOf.d.ts +6 -6
- package/dist/models/MovementCopyMovementPayloadAllOf.js +4 -4
- package/dist/models/MovementMoveMovement.d.ts +6 -6
- package/dist/models/MovementMoveMovement.js +2 -2
- package/dist/models/MovementMoveMovementAllOf.d.ts +7 -7
- package/dist/models/MovementMoveMovementAllOf.js +7 -6
- package/dist/models/MovementMoveMovementPayload.d.ts +6 -6
- package/dist/models/MovementMoveMovementPayload.js +2 -2
- package/dist/models/MovementMoveMovementPayloadAllOf.d.ts +6 -6
- package/dist/models/MovementMoveMovementPayloadAllOf.js +6 -5
- package/dist/models/MovementReassignmentMovement.d.ts +6 -6
- package/dist/models/MovementReassignmentMovement.js +2 -2
- package/dist/models/MovementReassignmentMovementAllOf.d.ts +9 -9
- package/dist/models/MovementReassignmentMovementAllOf.js +7 -6
- package/dist/models/MovementReassignmentMovementPayload.d.ts +5 -5
- package/dist/models/MovementReassignmentMovementPayload.js +2 -2
- package/dist/models/MovementReassignmentMovementPayloadAllOf.d.ts +5 -5
- package/dist/models/MovementReassignmentMovementPayloadAllOf.js +7 -6
- package/dist/models/MxValidateRecipientsResponse.d.ts +1 -1
- package/dist/models/TasksCreateTaskPayload.d.ts +13 -13
- package/dist/models/TasksCreateTaskPayload.js +4 -4
- package/dist/models/TasksPatchTaskPayload.d.ts +1 -1
- package/dist/models/UsersRole.d.ts +23 -0
- package/dist/models/UsersRole.js +38 -0
- package/dist/models/UsersUpdateUserPayload.d.ts +27 -0
- package/dist/models/UsersUpdateUserPayload.js +41 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/apis/DatabasesApi.ts +52 -0
- package/src/models/EventsCreateEventPayload.ts +17 -17
- package/src/models/EventsPatchEventPayload.ts +1 -1
- package/src/models/GatewaysAccessesEquisoftAnalyzeAccessAllOf.ts +4 -4
- package/src/models/GatewaysCredentialsWithSsn.ts +8 -8
- package/src/models/InternalNotesNote.ts +12 -12
- package/src/models/LegacyAddUpdateResponse.ts +9 -9
- package/src/models/LegacyAddUpdateResponseAllOf.ts +3 -3
- package/src/models/LegacyContactAddress.ts +1 -1
- package/src/models/LegacyContactContactPayloadItem.ts +128 -128
- package/src/models/LegacyDocumentBase64FilePayload.ts +2 -1
- package/src/models/LegacyDocumentBase64FilePayloadItem.ts +16 -16
- package/src/models/LegacyDocumentDocument.ts +50 -49
- package/src/models/LegacyDocumentDocumentListItem.ts +8 -8
- package/src/models/LegacyDocumentDocumentPayload.ts +2 -1
- package/src/models/LegacyDocumentDocumentPayloadItem.ts +18 -17
- package/src/models/LegacyDocumentDownloadFileResponse.ts +10 -9
- package/src/models/LegacyDocumentDownloadFileResponseAllOf.ts +3 -3
- package/src/models/LegacyDocumentGetListResponse.ts +11 -8
- package/src/models/LegacyDocumentGetListResponseAllOf.ts +3 -3
- package/src/models/LegacyDocumentGetResponse.ts +10 -9
- package/src/models/LegacyDocumentGetResponseAllOf.ts +3 -3
- package/src/models/LegacyFinanceAccountStatement.ts +1 -1
- package/src/models/LegacyFinanceGetAccountStatementResponse.ts +9 -9
- package/src/models/LegacyFinanceGetAccountStatementResponseAllOf.ts +2 -2
- package/src/models/LegacyFinanceGetLiabilitiesResponse.ts +8 -8
- package/src/models/LegacyFinanceGetLiabilitiesResponseAllOf.ts +3 -3
- package/src/models/LegacyFinanceLiability.ts +1 -1
- package/src/models/LegacyProvisioningGetOrganizationListResponse.ts +8 -8
- package/src/models/LegacyProvisioningGetOrganizationListResponseAllOf.ts +3 -3
- package/src/models/LegacyProvisioningGetOrganizationResponse.ts +8 -8
- package/src/models/LegacyProvisioningGetOrganizationResponseAllOf.ts +2 -2
- package/src/models/MovementClientBaseUsingDistributionListMovement.ts +8 -8
- package/src/models/MovementClientBaseUsingDistributionListMovementAllOf.ts +18 -18
- package/src/models/MovementClientBaseUsingDistributionListMovementPayload.ts +8 -8
- package/src/models/MovementClientBaseUsingDistributionListMovementPayloadAllOf.ts +17 -17
- package/src/models/MovementClientBaseUsingFileMovement.ts +8 -8
- package/src/models/MovementClientBaseUsingFileMovementAllOf.ts +16 -16
- package/src/models/MovementClientBaseUsingFileMovementPayload.ts +8 -8
- package/src/models/MovementClientBaseUsingFileMovementPayloadAllOf.ts +14 -14
- package/src/models/MovementCopyMovement.ts +8 -8
- package/src/models/MovementCopyMovementAllOf.ts +13 -13
- package/src/models/MovementCopyMovementPayload.ts +8 -8
- package/src/models/MovementCopyMovementPayloadAllOf.ts +10 -10
- package/src/models/MovementMoveMovement.ts +8 -8
- package/src/models/MovementMoveMovementAllOf.ts +13 -13
- package/src/models/MovementMoveMovementPayload.ts +8 -8
- package/src/models/MovementMoveMovementPayloadAllOf.ts +11 -11
- package/src/models/MovementReassignmentMovement.ts +8 -8
- package/src/models/MovementReassignmentMovementAllOf.ts +15 -15
- package/src/models/MovementReassignmentMovementPayload.ts +7 -7
- package/src/models/MovementReassignmentMovementPayloadAllOf.ts +11 -11
- package/src/models/MxValidateRecipientsResponse.ts +1 -1
- package/src/models/TasksCreateTaskPayload.ts +17 -17
- package/src/models/TasksPatchTaskPayload.ts +1 -1
- package/src/models/UsersRole.ts +36 -0
- package/src/models/UsersUpdateUserPayload.ts +57 -0
- package/src/models/index.ts +2 -0
|
@@ -30,102 +30,6 @@ import {
|
|
|
30
30
|
* @interface LegacyContactContactPayloadItem
|
|
31
31
|
*/
|
|
32
32
|
export interface LegacyContactContactPayloadItem {
|
|
33
|
-
/**
|
|
34
|
-
* Unique id
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof LegacyContactContactPayloadItem
|
|
37
|
-
*/
|
|
38
|
-
id?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Contact UUID
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof LegacyContactContactPayloadItem
|
|
43
|
-
*/
|
|
44
|
-
uuid?: string;
|
|
45
|
-
/**
|
|
46
|
-
* type of the contact
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof LegacyContactContactPayloadItem
|
|
49
|
-
*/
|
|
50
|
-
typeContact?: string;
|
|
51
|
-
/**
|
|
52
|
-
* type INDIVIDUAL OR ORGANIZATION
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof LegacyContactContactPayloadItem
|
|
55
|
-
*/
|
|
56
|
-
indOrg?: string;
|
|
57
|
-
/**
|
|
58
|
-
* display name of the contact
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof LegacyContactContactPayloadItem
|
|
61
|
-
*/
|
|
62
|
-
displayName?: string;
|
|
63
|
-
/**
|
|
64
|
-
* first name of the contact
|
|
65
|
-
* @type {string}
|
|
66
|
-
* @memberof LegacyContactContactPayloadItem
|
|
67
|
-
*/
|
|
68
|
-
firstName?: string;
|
|
69
|
-
/**
|
|
70
|
-
* nickname of the contact
|
|
71
|
-
* @type {string}
|
|
72
|
-
* @memberof LegacyContactContactPayloadItem
|
|
73
|
-
*/
|
|
74
|
-
nickname?: string;
|
|
75
|
-
/**
|
|
76
|
-
* middle name of the contact
|
|
77
|
-
* @type {string}
|
|
78
|
-
* @memberof LegacyContactContactPayloadItem
|
|
79
|
-
*/
|
|
80
|
-
middleName?: string;
|
|
81
|
-
/**
|
|
82
|
-
* last name of the contact
|
|
83
|
-
* @type {string}
|
|
84
|
-
* @memberof LegacyContactContactPayloadItem
|
|
85
|
-
*/
|
|
86
|
-
lastName?: string;
|
|
87
|
-
/**
|
|
88
|
-
* first line of corporation name (Organization)
|
|
89
|
-
* @type {string}
|
|
90
|
-
* @memberof LegacyContactContactPayloadItem
|
|
91
|
-
*/
|
|
92
|
-
corporationName?: string;
|
|
93
|
-
/**
|
|
94
|
-
* second line of corporation name (Organization)
|
|
95
|
-
* @type {string}
|
|
96
|
-
* @memberof LegacyContactContactPayloadItem
|
|
97
|
-
*/
|
|
98
|
-
corporationNameLine2?: string;
|
|
99
|
-
/**
|
|
100
|
-
* rank of the contact. (Industrial Alliance only)
|
|
101
|
-
* @type {string}
|
|
102
|
-
* @memberof LegacyContactContactPayloadItem
|
|
103
|
-
*/
|
|
104
|
-
rank?: string;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @type {string}
|
|
108
|
-
* @memberof LegacyContactContactPayloadItem
|
|
109
|
-
*/
|
|
110
|
-
facebookLink?: string;
|
|
111
|
-
/**
|
|
112
|
-
*
|
|
113
|
-
* @type {string}
|
|
114
|
-
* @memberof LegacyContactContactPayloadItem
|
|
115
|
-
*/
|
|
116
|
-
twitterLink?: string;
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @type {string}
|
|
120
|
-
* @memberof LegacyContactContactPayloadItem
|
|
121
|
-
*/
|
|
122
|
-
linkedinLink?: string;
|
|
123
|
-
/**
|
|
124
|
-
*
|
|
125
|
-
* @type {number}
|
|
126
|
-
* @memberof LegacyContactContactPayloadItem
|
|
127
|
-
*/
|
|
128
|
-
avatar?: number;
|
|
129
33
|
/**
|
|
130
34
|
* external key
|
|
131
35
|
* @type {string}
|
|
@@ -396,6 +300,102 @@ export interface LegacyContactContactPayloadItem {
|
|
|
396
300
|
* @memberof LegacyContactContactPayloadItem
|
|
397
301
|
*/
|
|
398
302
|
orgEin?: string;
|
|
303
|
+
/**
|
|
304
|
+
* Unique id
|
|
305
|
+
* @type {string}
|
|
306
|
+
* @memberof LegacyContactContactPayloadItem
|
|
307
|
+
*/
|
|
308
|
+
id?: string;
|
|
309
|
+
/**
|
|
310
|
+
* Contact UUID
|
|
311
|
+
* @type {string}
|
|
312
|
+
* @memberof LegacyContactContactPayloadItem
|
|
313
|
+
*/
|
|
314
|
+
uuid?: string;
|
|
315
|
+
/**
|
|
316
|
+
* type of the contact
|
|
317
|
+
* @type {string}
|
|
318
|
+
* @memberof LegacyContactContactPayloadItem
|
|
319
|
+
*/
|
|
320
|
+
typeContact?: string;
|
|
321
|
+
/**
|
|
322
|
+
* type INDIVIDUAL OR ORGANIZATION
|
|
323
|
+
* @type {string}
|
|
324
|
+
* @memberof LegacyContactContactPayloadItem
|
|
325
|
+
*/
|
|
326
|
+
indOrg?: string;
|
|
327
|
+
/**
|
|
328
|
+
* display name of the contact
|
|
329
|
+
* @type {string}
|
|
330
|
+
* @memberof LegacyContactContactPayloadItem
|
|
331
|
+
*/
|
|
332
|
+
displayName?: string;
|
|
333
|
+
/**
|
|
334
|
+
* first name of the contact
|
|
335
|
+
* @type {string}
|
|
336
|
+
* @memberof LegacyContactContactPayloadItem
|
|
337
|
+
*/
|
|
338
|
+
firstName?: string;
|
|
339
|
+
/**
|
|
340
|
+
* nickname of the contact
|
|
341
|
+
* @type {string}
|
|
342
|
+
* @memberof LegacyContactContactPayloadItem
|
|
343
|
+
*/
|
|
344
|
+
nickname?: string;
|
|
345
|
+
/**
|
|
346
|
+
* middle name of the contact
|
|
347
|
+
* @type {string}
|
|
348
|
+
* @memberof LegacyContactContactPayloadItem
|
|
349
|
+
*/
|
|
350
|
+
middleName?: string;
|
|
351
|
+
/**
|
|
352
|
+
* last name of the contact
|
|
353
|
+
* @type {string}
|
|
354
|
+
* @memberof LegacyContactContactPayloadItem
|
|
355
|
+
*/
|
|
356
|
+
lastName?: string;
|
|
357
|
+
/**
|
|
358
|
+
* first line of corporation name (Organization)
|
|
359
|
+
* @type {string}
|
|
360
|
+
* @memberof LegacyContactContactPayloadItem
|
|
361
|
+
*/
|
|
362
|
+
corporationName?: string;
|
|
363
|
+
/**
|
|
364
|
+
* second line of corporation name (Organization)
|
|
365
|
+
* @type {string}
|
|
366
|
+
* @memberof LegacyContactContactPayloadItem
|
|
367
|
+
*/
|
|
368
|
+
corporationNameLine2?: string;
|
|
369
|
+
/**
|
|
370
|
+
* rank of the contact. (Industrial Alliance only)
|
|
371
|
+
* @type {string}
|
|
372
|
+
* @memberof LegacyContactContactPayloadItem
|
|
373
|
+
*/
|
|
374
|
+
rank?: string;
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @type {string}
|
|
378
|
+
* @memberof LegacyContactContactPayloadItem
|
|
379
|
+
*/
|
|
380
|
+
facebookLink?: string;
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @type {string}
|
|
384
|
+
* @memberof LegacyContactContactPayloadItem
|
|
385
|
+
*/
|
|
386
|
+
twitterLink?: string;
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @type {string}
|
|
390
|
+
* @memberof LegacyContactContactPayloadItem
|
|
391
|
+
*/
|
|
392
|
+
linkedinLink?: string;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @type {number}
|
|
396
|
+
* @memberof LegacyContactContactPayloadItem
|
|
397
|
+
*/
|
|
398
|
+
avatar?: number;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
export function LegacyContactContactPayloadItemFromJSON(json: any): LegacyContactContactPayloadItem {
|
|
@@ -408,22 +408,6 @@ export function LegacyContactContactPayloadItemFromJSONTyped(json: any, ignoreDi
|
|
|
408
408
|
}
|
|
409
409
|
return {
|
|
410
410
|
|
|
411
|
-
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
412
|
-
'uuid': !exists(json, 'uuid') ? undefined : json['uuid'],
|
|
413
|
-
'typeContact': !exists(json, 'typeContact') ? undefined : json['typeContact'],
|
|
414
|
-
'indOrg': !exists(json, 'indOrg') ? undefined : json['indOrg'],
|
|
415
|
-
'displayName': !exists(json, 'displayName') ? undefined : json['displayName'],
|
|
416
|
-
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
417
|
-
'nickname': !exists(json, 'nickname') ? undefined : json['nickname'],
|
|
418
|
-
'middleName': !exists(json, 'middleName') ? undefined : json['middleName'],
|
|
419
|
-
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
420
|
-
'corporationName': !exists(json, 'corporationName') ? undefined : json['corporationName'],
|
|
421
|
-
'corporationNameLine2': !exists(json, 'corporationNameLine2') ? undefined : json['corporationNameLine2'],
|
|
422
|
-
'rank': !exists(json, 'rank') ? undefined : json['rank'],
|
|
423
|
-
'facebookLink': !exists(json, 'facebookLink') ? undefined : json['facebookLink'],
|
|
424
|
-
'twitterLink': !exists(json, 'twitterLink') ? undefined : json['twitterLink'],
|
|
425
|
-
'linkedinLink': !exists(json, 'linkedinLink') ? undefined : json['linkedinLink'],
|
|
426
|
-
'avatar': !exists(json, 'avatar') ? undefined : json['avatar'],
|
|
427
411
|
'externalKey': !exists(json, 'externalKey') ? undefined : json['externalKey'],
|
|
428
412
|
'externalKeyType': !exists(json, 'externalKeyType') ? undefined : json['externalKeyType'],
|
|
429
413
|
'gender': !exists(json, 'gender') ? undefined : json['gender'],
|
|
@@ -469,6 +453,22 @@ export function LegacyContactContactPayloadItemFromJSONTyped(json: any, ignoreDi
|
|
|
469
453
|
'orgProvNo': !exists(json, 'orgProvNo') ? undefined : json['orgProvNo'],
|
|
470
454
|
'orgStateId': !exists(json, 'orgStateId') ? undefined : json['orgStateId'],
|
|
471
455
|
'orgEin': !exists(json, 'orgEin') ? undefined : json['orgEin'],
|
|
456
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
457
|
+
'uuid': !exists(json, 'uuid') ? undefined : json['uuid'],
|
|
458
|
+
'typeContact': !exists(json, 'typeContact') ? undefined : json['typeContact'],
|
|
459
|
+
'indOrg': !exists(json, 'indOrg') ? undefined : json['indOrg'],
|
|
460
|
+
'displayName': !exists(json, 'displayName') ? undefined : json['displayName'],
|
|
461
|
+
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
462
|
+
'nickname': !exists(json, 'nickname') ? undefined : json['nickname'],
|
|
463
|
+
'middleName': !exists(json, 'middleName') ? undefined : json['middleName'],
|
|
464
|
+
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
465
|
+
'corporationName': !exists(json, 'corporationName') ? undefined : json['corporationName'],
|
|
466
|
+
'corporationNameLine2': !exists(json, 'corporationNameLine2') ? undefined : json['corporationNameLine2'],
|
|
467
|
+
'rank': !exists(json, 'rank') ? undefined : json['rank'],
|
|
468
|
+
'facebookLink': !exists(json, 'facebookLink') ? undefined : json['facebookLink'],
|
|
469
|
+
'twitterLink': !exists(json, 'twitterLink') ? undefined : json['twitterLink'],
|
|
470
|
+
'linkedinLink': !exists(json, 'linkedinLink') ? undefined : json['linkedinLink'],
|
|
471
|
+
'avatar': !exists(json, 'avatar') ? undefined : json['avatar'],
|
|
472
472
|
};
|
|
473
473
|
}
|
|
474
474
|
|
|
@@ -481,22 +481,6 @@ export function LegacyContactContactPayloadItemToJSON(value?: LegacyContactConta
|
|
|
481
481
|
}
|
|
482
482
|
return {
|
|
483
483
|
|
|
484
|
-
'id': value.id,
|
|
485
|
-
'uuid': value.uuid,
|
|
486
|
-
'typeContact': value.typeContact,
|
|
487
|
-
'indOrg': value.indOrg,
|
|
488
|
-
'displayName': value.displayName,
|
|
489
|
-
'firstName': value.firstName,
|
|
490
|
-
'nickname': value.nickname,
|
|
491
|
-
'middleName': value.middleName,
|
|
492
|
-
'lastName': value.lastName,
|
|
493
|
-
'corporationName': value.corporationName,
|
|
494
|
-
'corporationNameLine2': value.corporationNameLine2,
|
|
495
|
-
'rank': value.rank,
|
|
496
|
-
'facebookLink': value.facebookLink,
|
|
497
|
-
'twitterLink': value.twitterLink,
|
|
498
|
-
'linkedinLink': value.linkedinLink,
|
|
499
|
-
'avatar': value.avatar,
|
|
500
484
|
'externalKey': value.externalKey,
|
|
501
485
|
'externalKeyType': value.externalKeyType,
|
|
502
486
|
'gender': value.gender,
|
|
@@ -542,6 +526,22 @@ export function LegacyContactContactPayloadItemToJSON(value?: LegacyContactConta
|
|
|
542
526
|
'orgProvNo': value.orgProvNo,
|
|
543
527
|
'orgStateId': value.orgStateId,
|
|
544
528
|
'orgEin': value.orgEin,
|
|
529
|
+
'id': value.id,
|
|
530
|
+
'uuid': value.uuid,
|
|
531
|
+
'typeContact': value.typeContact,
|
|
532
|
+
'indOrg': value.indOrg,
|
|
533
|
+
'displayName': value.displayName,
|
|
534
|
+
'firstName': value.firstName,
|
|
535
|
+
'nickname': value.nickname,
|
|
536
|
+
'middleName': value.middleName,
|
|
537
|
+
'lastName': value.lastName,
|
|
538
|
+
'corporationName': value.corporationName,
|
|
539
|
+
'corporationNameLine2': value.corporationNameLine2,
|
|
540
|
+
'rank': value.rank,
|
|
541
|
+
'facebookLink': value.facebookLink,
|
|
542
|
+
'twitterLink': value.twitterLink,
|
|
543
|
+
'linkedinLink': value.linkedinLink,
|
|
544
|
+
'avatar': value.avatar,
|
|
545
545
|
};
|
|
546
546
|
}
|
|
547
547
|
|
|
@@ -31,41 +31,41 @@ import {
|
|
|
31
31
|
*/
|
|
32
32
|
export interface LegacyDocumentBase64FilePayloadItem {
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* The file external key
|
|
35
35
|
* @type {string}
|
|
36
36
|
* @memberof LegacyDocumentBase64FilePayloadItem
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
externalKey?: string;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* file data encoded in base 64
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof LegacyDocumentBase64FilePayloadItem
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
base64EncodedData?: string;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* id of the file
|
|
47
47
|
* @type {string}
|
|
48
48
|
* @memberof LegacyDocumentBase64FilePayloadItem
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
id?: string;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* File name
|
|
53
53
|
* @type {string}
|
|
54
54
|
* @memberof LegacyDocumentBase64FilePayloadItem
|
|
55
55
|
*/
|
|
56
|
-
|
|
56
|
+
fileName?: string;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Mime Type of the file
|
|
59
59
|
* @type {string}
|
|
60
60
|
* @memberof LegacyDocumentBase64FilePayloadItem
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
mimeType?: string;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* Size of the file(in bytes)
|
|
65
65
|
* @type {string}
|
|
66
66
|
* @memberof LegacyDocumentBase64FilePayloadItem
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
sizeBytes?: string;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
export function LegacyDocumentBase64FilePayloadItemFromJSON(json: any): LegacyDocumentBase64FilePayloadItem {
|
|
@@ -78,12 +78,12 @@ export function LegacyDocumentBase64FilePayloadItemFromJSONTyped(json: any, igno
|
|
|
78
78
|
}
|
|
79
79
|
return {
|
|
80
80
|
|
|
81
|
+
'externalKey': !exists(json, 'externalKey') ? undefined : json['externalKey'],
|
|
82
|
+
'base64EncodedData': !exists(json, 'base64EncodedData') ? undefined : json['base64EncodedData'],
|
|
81
83
|
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
82
84
|
'fileName': !exists(json, 'fileName') ? undefined : json['fileName'],
|
|
83
85
|
'mimeType': !exists(json, 'mimeType') ? undefined : json['mimeType'],
|
|
84
86
|
'sizeBytes': !exists(json, 'sizeBytes') ? undefined : json['sizeBytes'],
|
|
85
|
-
'externalKey': !exists(json, 'externalKey') ? undefined : json['externalKey'],
|
|
86
|
-
'base64EncodedData': !exists(json, 'base64EncodedData') ? undefined : json['base64EncodedData'],
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -96,12 +96,12 @@ export function LegacyDocumentBase64FilePayloadItemToJSON(value?: LegacyDocument
|
|
|
96
96
|
}
|
|
97
97
|
return {
|
|
98
98
|
|
|
99
|
+
'externalKey': value.externalKey,
|
|
100
|
+
'base64EncodedData': value.base64EncodedData,
|
|
99
101
|
'id': value.id,
|
|
100
102
|
'fileName': value.fileName,
|
|
101
103
|
'mimeType': value.mimeType,
|
|
102
104
|
'sizeBytes': value.sizeBytes,
|
|
103
|
-
'externalKey': value.externalKey,
|
|
104
|
-
'base64EncodedData': value.base64EncodedData,
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
107
|
|
|
@@ -29,47 +29,12 @@ import {
|
|
|
29
29
|
} from './';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Payload needed by the kronos.document.add method
|
|
33
|
+
* {@example addDocumentUpload.xml} payload example
|
|
33
34
|
* @export
|
|
34
35
|
* @interface LegacyDocumentDocument
|
|
35
36
|
*/
|
|
36
37
|
export interface LegacyDocumentDocument {
|
|
37
|
-
/**
|
|
38
|
-
* Files contained inside the document
|
|
39
|
-
* @type {Array<LegacyDocumentFile>}
|
|
40
|
-
* @memberof LegacyDocumentDocument
|
|
41
|
-
*/
|
|
42
|
-
files?: Array<LegacyDocumentFile>;
|
|
43
|
-
/**
|
|
44
|
-
* List of linked contacts
|
|
45
|
-
* @type {Array<LegacyContactContact>}
|
|
46
|
-
* @memberof LegacyDocumentDocument
|
|
47
|
-
*/
|
|
48
|
-
contacts?: Array<LegacyContactContact>;
|
|
49
|
-
/**
|
|
50
|
-
* email of user who created the document
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof LegacyDocumentDocument
|
|
53
|
-
*/
|
|
54
|
-
createdBy?: string;
|
|
55
|
-
/**
|
|
56
|
-
* date of creation of the document
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof LegacyDocumentDocument
|
|
59
|
-
*/
|
|
60
|
-
createdOn?: string;
|
|
61
|
-
/**
|
|
62
|
-
* email of user who last modified the document
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof LegacyDocumentDocument
|
|
65
|
-
*/
|
|
66
|
-
modifiedBy?: string;
|
|
67
|
-
/**
|
|
68
|
-
* date of the last modification of the document
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof LegacyDocumentDocument
|
|
71
|
-
*/
|
|
72
|
-
modifiedOn?: string;
|
|
73
38
|
/**
|
|
74
39
|
* external key of the document
|
|
75
40
|
* @type {string}
|
|
@@ -136,6 +101,42 @@ export interface LegacyDocumentDocument {
|
|
|
136
101
|
* @memberof LegacyDocumentDocument
|
|
137
102
|
*/
|
|
138
103
|
name?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Files contained inside the document
|
|
106
|
+
* @type {Array<LegacyDocumentFile>}
|
|
107
|
+
* @memberof LegacyDocumentDocument
|
|
108
|
+
*/
|
|
109
|
+
files?: Array<LegacyDocumentFile>;
|
|
110
|
+
/**
|
|
111
|
+
* List of linked contacts
|
|
112
|
+
* @type {Array<LegacyContactContact>}
|
|
113
|
+
* @memberof LegacyDocumentDocument
|
|
114
|
+
*/
|
|
115
|
+
contacts?: Array<LegacyContactContact>;
|
|
116
|
+
/**
|
|
117
|
+
* email of user who created the document
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof LegacyDocumentDocument
|
|
120
|
+
*/
|
|
121
|
+
createdBy?: string;
|
|
122
|
+
/**
|
|
123
|
+
* date of creation of the document
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof LegacyDocumentDocument
|
|
126
|
+
*/
|
|
127
|
+
createdOn?: string;
|
|
128
|
+
/**
|
|
129
|
+
* email of user who last modified the document
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof LegacyDocumentDocument
|
|
132
|
+
*/
|
|
133
|
+
modifiedBy?: string;
|
|
134
|
+
/**
|
|
135
|
+
* date of the last modification of the document
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof LegacyDocumentDocument
|
|
138
|
+
*/
|
|
139
|
+
modifiedOn?: string;
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
export function LegacyDocumentDocumentFromJSON(json: any): LegacyDocumentDocument {
|
|
@@ -148,12 +149,6 @@ export function LegacyDocumentDocumentFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
148
149
|
}
|
|
149
150
|
return {
|
|
150
151
|
|
|
151
|
-
'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(LegacyDocumentFileFromJSON)),
|
|
152
|
-
'contacts': !exists(json, 'contacts') ? undefined : ((json['contacts'] as Array<any>).map(LegacyContactContactFromJSON)),
|
|
153
|
-
'createdBy': !exists(json, 'createdBy') ? undefined : json['createdBy'],
|
|
154
|
-
'createdOn': !exists(json, 'createdOn') ? undefined : json['createdOn'],
|
|
155
|
-
'modifiedBy': !exists(json, 'modifiedBy') ? undefined : json['modifiedBy'],
|
|
156
|
-
'modifiedOn': !exists(json, 'modifiedOn') ? undefined : json['modifiedOn'],
|
|
157
152
|
'externalKey': !exists(json, 'externalKey') ? undefined : json['externalKey'],
|
|
158
153
|
'dateStart': !exists(json, 'dateStart') ? undefined : json['dateStart'],
|
|
159
154
|
'dateEnd': !exists(json, 'dateEnd') ? undefined : json['dateEnd'],
|
|
@@ -165,6 +160,12 @@ export function LegacyDocumentDocumentFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
165
160
|
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
166
161
|
'subType': !exists(json, 'subType') ? undefined : json['subType'],
|
|
167
162
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
163
|
+
'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(LegacyDocumentFileFromJSON)),
|
|
164
|
+
'contacts': !exists(json, 'contacts') ? undefined : ((json['contacts'] as Array<any>).map(LegacyContactContactFromJSON)),
|
|
165
|
+
'createdBy': !exists(json, 'createdBy') ? undefined : json['createdBy'],
|
|
166
|
+
'createdOn': !exists(json, 'createdOn') ? undefined : json['createdOn'],
|
|
167
|
+
'modifiedBy': !exists(json, 'modifiedBy') ? undefined : json['modifiedBy'],
|
|
168
|
+
'modifiedOn': !exists(json, 'modifiedOn') ? undefined : json['modifiedOn'],
|
|
168
169
|
};
|
|
169
170
|
}
|
|
170
171
|
|
|
@@ -177,12 +178,6 @@ export function LegacyDocumentDocumentToJSON(value?: LegacyDocumentDocument | nu
|
|
|
177
178
|
}
|
|
178
179
|
return {
|
|
179
180
|
|
|
180
|
-
'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(LegacyDocumentFileToJSON)),
|
|
181
|
-
'contacts': value.contacts === undefined ? undefined : ((value.contacts as Array<any>).map(LegacyContactContactToJSON)),
|
|
182
|
-
'createdBy': value.createdBy,
|
|
183
|
-
'createdOn': value.createdOn,
|
|
184
|
-
'modifiedBy': value.modifiedBy,
|
|
185
|
-
'modifiedOn': value.modifiedOn,
|
|
186
181
|
'externalKey': value.externalKey,
|
|
187
182
|
'dateStart': value.dateStart,
|
|
188
183
|
'dateEnd': value.dateEnd,
|
|
@@ -194,6 +189,12 @@ export function LegacyDocumentDocumentToJSON(value?: LegacyDocumentDocument | nu
|
|
|
194
189
|
'type': value.type,
|
|
195
190
|
'subType': value.subType,
|
|
196
191
|
'name': value.name,
|
|
192
|
+
'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(LegacyDocumentFileToJSON)),
|
|
193
|
+
'contacts': value.contacts === undefined ? undefined : ((value.contacts as Array<any>).map(LegacyContactContactToJSON)),
|
|
194
|
+
'createdBy': value.createdBy,
|
|
195
|
+
'createdOn': value.createdOn,
|
|
196
|
+
'modifiedBy': value.modifiedBy,
|
|
197
|
+
'modifiedOn': value.modifiedOn,
|
|
197
198
|
};
|
|
198
199
|
}
|
|
199
200
|
|
|
@@ -32,12 +32,6 @@ export interface LegacyDocumentDocumentListItem {
|
|
|
32
32
|
* @memberof LegacyDocumentDocumentListItem
|
|
33
33
|
*/
|
|
34
34
|
id?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Files contained inside the document
|
|
37
|
-
* @type {Array<LegacyDocumentFile>}
|
|
38
|
-
* @memberof LegacyDocumentDocumentListItem
|
|
39
|
-
*/
|
|
40
|
-
files?: Array<LegacyDocumentFile>;
|
|
41
35
|
/**
|
|
42
36
|
* type of the document
|
|
43
37
|
* @type {string}
|
|
@@ -56,6 +50,12 @@ export interface LegacyDocumentDocumentListItem {
|
|
|
56
50
|
* @memberof LegacyDocumentDocumentListItem
|
|
57
51
|
*/
|
|
58
52
|
name?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Files contained inside the document
|
|
55
|
+
* @type {Array<LegacyDocumentFile>}
|
|
56
|
+
* @memberof LegacyDocumentDocumentListItem
|
|
57
|
+
*/
|
|
58
|
+
files?: Array<LegacyDocumentFile>;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
export function LegacyDocumentDocumentListItemFromJSON(json: any): LegacyDocumentDocumentListItem {
|
|
@@ -69,10 +69,10 @@ export function LegacyDocumentDocumentListItemFromJSONTyped(json: any, ignoreDis
|
|
|
69
69
|
return {
|
|
70
70
|
|
|
71
71
|
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
72
|
-
'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(LegacyDocumentFileFromJSON)),
|
|
73
72
|
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
74
73
|
'subType': !exists(json, 'subType') ? undefined : json['subType'],
|
|
75
74
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
75
|
+
'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(LegacyDocumentFileFromJSON)),
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -86,10 +86,10 @@ export function LegacyDocumentDocumentListItemToJSON(value?: LegacyDocumentDocum
|
|
|
86
86
|
return {
|
|
87
87
|
|
|
88
88
|
'id': value.id,
|
|
89
|
-
'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(LegacyDocumentFileToJSON)),
|
|
90
89
|
'type': value.type,
|
|
91
90
|
'subType': value.subType,
|
|
92
91
|
'name': value.name,
|
|
92
|
+
'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(LegacyDocumentFileToJSON)),
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
|
|
@@ -29,23 +29,12 @@ import {
|
|
|
29
29
|
} from './';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Payload needed by the kronos.document.add method
|
|
33
|
+
* {@example addDocumentUpload.xml} payload example
|
|
33
34
|
* @export
|
|
34
35
|
* @interface LegacyDocumentDocumentPayloadItem
|
|
35
36
|
*/
|
|
36
37
|
export interface LegacyDocumentDocumentPayloadItem {
|
|
37
|
-
/**
|
|
38
|
-
* Files contained inside the document
|
|
39
|
-
* @type {Array<LegacyDocumentBase64FilePayloadItem>}
|
|
40
|
-
* @memberof LegacyDocumentDocumentPayloadItem
|
|
41
|
-
*/
|
|
42
|
-
files?: Array<LegacyDocumentBase64FilePayloadItem>;
|
|
43
|
-
/**
|
|
44
|
-
* List of linked contacts
|
|
45
|
-
* @type {Array<LegacyContactContactPayloadItem>}
|
|
46
|
-
* @memberof LegacyDocumentDocumentPayloadItem
|
|
47
|
-
*/
|
|
48
|
-
contacts?: Array<LegacyContactContactPayloadItem>;
|
|
49
38
|
/**
|
|
50
39
|
* external key of the document
|
|
51
40
|
* @type {string}
|
|
@@ -112,6 +101,18 @@ export interface LegacyDocumentDocumentPayloadItem {
|
|
|
112
101
|
* @memberof LegacyDocumentDocumentPayloadItem
|
|
113
102
|
*/
|
|
114
103
|
name?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Files contained inside the document
|
|
106
|
+
* @type {Array<LegacyDocumentBase64FilePayloadItem>}
|
|
107
|
+
* @memberof LegacyDocumentDocumentPayloadItem
|
|
108
|
+
*/
|
|
109
|
+
files?: Array<LegacyDocumentBase64FilePayloadItem>;
|
|
110
|
+
/**
|
|
111
|
+
* List of linked contacts
|
|
112
|
+
* @type {Array<LegacyContactContactPayloadItem>}
|
|
113
|
+
* @memberof LegacyDocumentDocumentPayloadItem
|
|
114
|
+
*/
|
|
115
|
+
contacts?: Array<LegacyContactContactPayloadItem>;
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
export function LegacyDocumentDocumentPayloadItemFromJSON(json: any): LegacyDocumentDocumentPayloadItem {
|
|
@@ -124,8 +125,6 @@ export function LegacyDocumentDocumentPayloadItemFromJSONTyped(json: any, ignore
|
|
|
124
125
|
}
|
|
125
126
|
return {
|
|
126
127
|
|
|
127
|
-
'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(LegacyDocumentBase64FilePayloadItemFromJSON)),
|
|
128
|
-
'contacts': !exists(json, 'contacts') ? undefined : ((json['contacts'] as Array<any>).map(LegacyContactContactPayloadItemFromJSON)),
|
|
129
128
|
'externalKey': !exists(json, 'externalKey') ? undefined : json['externalKey'],
|
|
130
129
|
'dateStart': !exists(json, 'dateStart') ? undefined : json['dateStart'],
|
|
131
130
|
'dateEnd': !exists(json, 'dateEnd') ? undefined : json['dateEnd'],
|
|
@@ -137,6 +136,8 @@ export function LegacyDocumentDocumentPayloadItemFromJSONTyped(json: any, ignore
|
|
|
137
136
|
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
138
137
|
'subType': !exists(json, 'subType') ? undefined : json['subType'],
|
|
139
138
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
139
|
+
'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(LegacyDocumentBase64FilePayloadItemFromJSON)),
|
|
140
|
+
'contacts': !exists(json, 'contacts') ? undefined : ((json['contacts'] as Array<any>).map(LegacyContactContactPayloadItemFromJSON)),
|
|
140
141
|
};
|
|
141
142
|
}
|
|
142
143
|
|
|
@@ -149,8 +150,6 @@ export function LegacyDocumentDocumentPayloadItemToJSON(value?: LegacyDocumentDo
|
|
|
149
150
|
}
|
|
150
151
|
return {
|
|
151
152
|
|
|
152
|
-
'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(LegacyDocumentBase64FilePayloadItemToJSON)),
|
|
153
|
-
'contacts': value.contacts === undefined ? undefined : ((value.contacts as Array<any>).map(LegacyContactContactPayloadItemToJSON)),
|
|
154
153
|
'externalKey': value.externalKey,
|
|
155
154
|
'dateStart': value.dateStart,
|
|
156
155
|
'dateEnd': value.dateEnd,
|
|
@@ -162,6 +161,8 @@ export function LegacyDocumentDocumentPayloadItemToJSON(value?: LegacyDocumentDo
|
|
|
162
161
|
'type': value.type,
|
|
163
162
|
'subType': value.subType,
|
|
164
163
|
'name': value.name,
|
|
164
|
+
'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(LegacyDocumentBase64FilePayloadItemToJSON)),
|
|
165
|
+
'contacts': value.contacts === undefined ? undefined : ((value.contacts as Array<any>).map(LegacyContactContactPayloadItemToJSON)),
|
|
165
166
|
};
|
|
166
167
|
}
|
|
167
168
|
|