@equisoft/equisoft-connect-sdk-typescript 10.28.3 → 10.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/dist/models/ContactContactAdditionalInformation.d.ts +10 -10
  2. package/dist/models/ContactContactAddress.d.ts +10 -10
  3. package/dist/models/ContactContactEmail.d.ts +5 -5
  4. package/dist/models/ContactContactIdentification.d.ts +9 -9
  5. package/dist/models/ContactContactMaritalStatus.d.ts +5 -5
  6. package/dist/models/ContactContactOccupation.d.ts +6 -6
  7. package/dist/models/ContactContactPhone.d.ts +7 -7
  8. package/dist/models/ContactContactSegmentation.d.ts +7 -7
  9. package/dist/models/ContactContactWebsite.d.ts +4 -4
  10. package/dist/models/ContactsContact.d.ts +11 -11
  11. package/dist/models/ContextEquisoftConnect.d.ts +2 -2
  12. package/dist/models/ContextUserContext.d.ts +2 -2
  13. package/dist/models/EventsCreateEventPayload.d.ts +4 -4
  14. package/dist/models/EventsEvent.d.ts +19 -16
  15. package/dist/models/EventsEvent.js +8 -8
  16. package/dist/models/EventsGetEventInstancesResponse.d.ts +1 -1
  17. package/dist/models/EventsPatchEventPayload.d.ts +4 -4
  18. package/dist/models/FieldValue.d.ts +1 -1
  19. package/dist/models/GatewaysCredentials.d.ts +8 -8
  20. package/dist/models/GatewaysCredentialsWithSsn.d.ts +14 -14
  21. package/dist/models/GatewaysCredentialsWithSsn.js +2 -2
  22. package/dist/models/InternalNotesNote.d.ts +2 -2
  23. package/dist/models/InternalNotesNote.js +2 -2
  24. package/dist/models/InternalNotesNoteList.d.ts +1 -1
  25. package/dist/models/LaserAppLaserAppAnywhereError.d.ts +1 -1
  26. package/dist/models/LaserAppLaserAppAnywhereResponse.d.ts +1 -1
  27. package/dist/models/LegacyAddUpdateResponse.d.ts +6 -6
  28. package/dist/models/LegacyAddUpdateResponse.js +2 -2
  29. package/dist/models/LegacyContactContactPayloadItem.d.ts +96 -96
  30. package/dist/models/LegacyContactContactPayloadItem.js +32 -32
  31. package/dist/models/LegacyDocumentBase64FilePayloadItem.d.ts +12 -12
  32. package/dist/models/LegacyDocumentBase64FilePayloadItem.js +4 -4
  33. package/dist/models/LegacyDocumentDownloadFileResponse.d.ts +6 -6
  34. package/dist/models/LegacyDocumentDownloadFileResponse.js +2 -2
  35. package/dist/models/LegacyDocumentGetListResponse.d.ts +6 -6
  36. package/dist/models/LegacyDocumentGetListResponse.js +2 -2
  37. package/dist/models/LegacyDocumentGetResponse.d.ts +6 -6
  38. package/dist/models/LegacyDocumentGetResponse.js +2 -2
  39. package/dist/models/LegacyFinanceGetAccountStatementResponse.d.ts +6 -6
  40. package/dist/models/LegacyFinanceGetAccountStatementResponse.js +2 -2
  41. package/dist/models/LegacyFinanceGetLiabilitiesResponse.d.ts +6 -6
  42. package/dist/models/LegacyFinanceGetLiabilitiesResponse.js +2 -2
  43. package/dist/models/LegacyProvisioningGetOrganizationListResponse.d.ts +6 -6
  44. package/dist/models/LegacyProvisioningGetOrganizationListResponse.js +2 -2
  45. package/dist/models/LegacyProvisioningGetOrganizationResponse.d.ts +6 -6
  46. package/dist/models/LegacyProvisioningGetOrganizationResponse.js +2 -2
  47. package/dist/models/MovementMovement.d.ts +6 -6
  48. package/dist/models/MovementUser.d.ts +3 -3
  49. package/dist/models/MovementUser.js +2 -2
  50. package/dist/models/MxRecipient.d.ts +4 -4
  51. package/dist/models/TasksCreateTaskPayload.d.ts +3 -3
  52. package/dist/models/TasksListTaskResponse.d.ts +1 -1
  53. package/dist/models/TasksPatchTaskPayload.d.ts +3 -3
  54. package/dist/models/TasksTask.d.ts +15 -15
  55. package/dist/models/TasksTask.js +16 -16
  56. package/dist/models/Translation.d.ts +2 -2
  57. package/package.json +1 -1
  58. package/src/models/ContactContactAdditionalInformation.ts +10 -10
  59. package/src/models/ContactContactAddress.ts +10 -10
  60. package/src/models/ContactContactEmail.ts +5 -5
  61. package/src/models/ContactContactIdentification.ts +9 -9
  62. package/src/models/ContactContactMaritalStatus.ts +5 -5
  63. package/src/models/ContactContactOccupation.ts +6 -6
  64. package/src/models/ContactContactPhone.ts +7 -7
  65. package/src/models/ContactContactSegmentation.ts +7 -7
  66. package/src/models/ContactContactWebsite.ts +4 -4
  67. package/src/models/ContactsContact.ts +11 -11
  68. package/src/models/ContextEquisoftConnect.ts +2 -2
  69. package/src/models/ContextUserContext.ts +2 -2
  70. package/src/models/EventsCreateEventPayload.ts +4 -4
  71. package/src/models/EventsEvent.ts +27 -24
  72. package/src/models/EventsGetEventInstancesResponse.ts +1 -1
  73. package/src/models/EventsPatchEventPayload.ts +4 -4
  74. package/src/models/FieldValue.ts +1 -1
  75. package/src/models/GatewaysCredentials.ts +8 -8
  76. package/src/models/GatewaysCredentialsWithSsn.ts +16 -16
  77. package/src/models/InternalNotesNote.ts +4 -4
  78. package/src/models/InternalNotesNoteList.ts +1 -1
  79. package/src/models/LaserAppLaserAppAnywhereError.ts +1 -1
  80. package/src/models/LaserAppLaserAppAnywhereResponse.ts +1 -1
  81. package/src/models/LegacyAddUpdateResponse.ts +8 -8
  82. package/src/models/LegacyContactContactPayloadItem.ts +128 -128
  83. package/src/models/LegacyDocumentBase64FilePayloadItem.ts +16 -16
  84. package/src/models/LegacyDocumentDownloadFileResponse.ts +8 -8
  85. package/src/models/LegacyDocumentGetListResponse.ts +8 -8
  86. package/src/models/LegacyDocumentGetResponse.ts +8 -8
  87. package/src/models/LegacyFinanceGetAccountStatementResponse.ts +8 -8
  88. package/src/models/LegacyFinanceGetLiabilitiesResponse.ts +8 -8
  89. package/src/models/LegacyProvisioningGetOrganizationListResponse.ts +8 -8
  90. package/src/models/LegacyProvisioningGetOrganizationResponse.ts +8 -8
  91. package/src/models/MovementMovement.ts +6 -6
  92. package/src/models/MovementUser.ts +5 -5
  93. package/src/models/MxRecipient.ts +4 -4
  94. package/src/models/TasksCreateTaskPayload.ts +3 -3
  95. package/src/models/TasksListTaskResponse.ts +1 -1
  96. package/src/models/TasksPatchTaskPayload.ts +3 -3
  97. package/src/models/TasksTask.ts +31 -31
  98. package/src/models/Translation.ts +2 -2
@@ -32,6 +32,102 @@ import {
32
32
  * @interface LegacyContactContactPayloadItem
33
33
  */
34
34
  export interface LegacyContactContactPayloadItem {
35
+ /**
36
+ * Unique id
37
+ * @type {string}
38
+ * @memberof LegacyContactContactPayloadItem
39
+ */
40
+ id?: string;
41
+ /**
42
+ * Contact UUID
43
+ * @type {string}
44
+ * @memberof LegacyContactContactPayloadItem
45
+ */
46
+ uuid?: string;
47
+ /**
48
+ * type of the contact
49
+ * @type {string}
50
+ * @memberof LegacyContactContactPayloadItem
51
+ */
52
+ typeContact?: string;
53
+ /**
54
+ * type INDIVIDUAL OR ORGANIZATION
55
+ * @type {string}
56
+ * @memberof LegacyContactContactPayloadItem
57
+ */
58
+ indOrg?: string;
59
+ /**
60
+ * display name of the contact
61
+ * @type {string}
62
+ * @memberof LegacyContactContactPayloadItem
63
+ */
64
+ displayName?: string;
65
+ /**
66
+ * first name of the contact
67
+ * @type {string}
68
+ * @memberof LegacyContactContactPayloadItem
69
+ */
70
+ firstName?: string;
71
+ /**
72
+ * nickname of the contact
73
+ * @type {string}
74
+ * @memberof LegacyContactContactPayloadItem
75
+ */
76
+ nickname?: string;
77
+ /**
78
+ * middle name of the contact
79
+ * @type {string}
80
+ * @memberof LegacyContactContactPayloadItem
81
+ */
82
+ middleName?: string;
83
+ /**
84
+ * last name of the contact
85
+ * @type {string}
86
+ * @memberof LegacyContactContactPayloadItem
87
+ */
88
+ lastName?: string;
89
+ /**
90
+ * first line of corporation name (Organization)
91
+ * @type {string}
92
+ * @memberof LegacyContactContactPayloadItem
93
+ */
94
+ corporationName?: string;
95
+ /**
96
+ * second line of corporation name (Organization)
97
+ * @type {string}
98
+ * @memberof LegacyContactContactPayloadItem
99
+ */
100
+ corporationNameLine2?: string;
101
+ /**
102
+ * rank of the contact. (Industrial Alliance only)
103
+ * @type {string}
104
+ * @memberof LegacyContactContactPayloadItem
105
+ */
106
+ rank?: string;
107
+ /**
108
+ *
109
+ * @type {string}
110
+ * @memberof LegacyContactContactPayloadItem
111
+ */
112
+ facebookLink?: string;
113
+ /**
114
+ *
115
+ * @type {string}
116
+ * @memberof LegacyContactContactPayloadItem
117
+ */
118
+ twitterLink?: string;
119
+ /**
120
+ *
121
+ * @type {string}
122
+ * @memberof LegacyContactContactPayloadItem
123
+ */
124
+ linkedinLink?: string;
125
+ /**
126
+ *
127
+ * @type {number}
128
+ * @memberof LegacyContactContactPayloadItem
129
+ */
130
+ avatar?: number;
35
131
  /**
36
132
  * external key
37
133
  * @type {string}
@@ -302,102 +398,6 @@ export interface LegacyContactContactPayloadItem {
302
398
  * @memberof LegacyContactContactPayloadItem
303
399
  */
304
400
  orgEin?: string;
305
- /**
306
- * Unique id
307
- * @type {string}
308
- * @memberof LegacyContactContactPayloadItem
309
- */
310
- id?: string;
311
- /**
312
- * Contact UUID
313
- * @type {string}
314
- * @memberof LegacyContactContactPayloadItem
315
- */
316
- uuid?: string;
317
- /**
318
- * type of the contact
319
- * @type {string}
320
- * @memberof LegacyContactContactPayloadItem
321
- */
322
- typeContact?: string;
323
- /**
324
- * type INDIVIDUAL OR ORGANIZATION
325
- * @type {string}
326
- * @memberof LegacyContactContactPayloadItem
327
- */
328
- indOrg?: string;
329
- /**
330
- * display name of the contact
331
- * @type {string}
332
- * @memberof LegacyContactContactPayloadItem
333
- */
334
- displayName?: string;
335
- /**
336
- * first name of the contact
337
- * @type {string}
338
- * @memberof LegacyContactContactPayloadItem
339
- */
340
- firstName?: string;
341
- /**
342
- * nickname of the contact
343
- * @type {string}
344
- * @memberof LegacyContactContactPayloadItem
345
- */
346
- nickname?: string;
347
- /**
348
- * middle name of the contact
349
- * @type {string}
350
- * @memberof LegacyContactContactPayloadItem
351
- */
352
- middleName?: string;
353
- /**
354
- * last name of the contact
355
- * @type {string}
356
- * @memberof LegacyContactContactPayloadItem
357
- */
358
- lastName?: string;
359
- /**
360
- * first line of corporation name (Organization)
361
- * @type {string}
362
- * @memberof LegacyContactContactPayloadItem
363
- */
364
- corporationName?: string;
365
- /**
366
- * second line of corporation name (Organization)
367
- * @type {string}
368
- * @memberof LegacyContactContactPayloadItem
369
- */
370
- corporationNameLine2?: string;
371
- /**
372
- * rank of the contact. (Industrial Alliance only)
373
- * @type {string}
374
- * @memberof LegacyContactContactPayloadItem
375
- */
376
- rank?: string;
377
- /**
378
- *
379
- * @type {string}
380
- * @memberof LegacyContactContactPayloadItem
381
- */
382
- facebookLink?: string;
383
- /**
384
- *
385
- * @type {string}
386
- * @memberof LegacyContactContactPayloadItem
387
- */
388
- twitterLink?: string;
389
- /**
390
- *
391
- * @type {string}
392
- * @memberof LegacyContactContactPayloadItem
393
- */
394
- linkedinLink?: string;
395
- /**
396
- *
397
- * @type {number}
398
- * @memberof LegacyContactContactPayloadItem
399
- */
400
- avatar?: number;
401
401
  }
402
402
 
403
403
  export function LegacyContactContactPayloadItemFromJSON(json: any): LegacyContactContactPayloadItem {
@@ -410,6 +410,22 @@ export function LegacyContactContactPayloadItemFromJSONTyped(json: any, ignoreDi
410
410
  }
411
411
  return {
412
412
 
413
+ 'id': !exists(json, 'id') ? undefined : json['id'],
414
+ 'uuid': !exists(json, 'uuid') ? undefined : json['uuid'],
415
+ 'typeContact': !exists(json, 'typeContact') ? undefined : json['typeContact'],
416
+ 'indOrg': !exists(json, 'indOrg') ? undefined : json['indOrg'],
417
+ 'displayName': !exists(json, 'displayName') ? undefined : json['displayName'],
418
+ 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
419
+ 'nickname': !exists(json, 'nickname') ? undefined : json['nickname'],
420
+ 'middleName': !exists(json, 'middleName') ? undefined : json['middleName'],
421
+ 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
422
+ 'corporationName': !exists(json, 'corporationName') ? undefined : json['corporationName'],
423
+ 'corporationNameLine2': !exists(json, 'corporationNameLine2') ? undefined : json['corporationNameLine2'],
424
+ 'rank': !exists(json, 'rank') ? undefined : json['rank'],
425
+ 'facebookLink': !exists(json, 'facebookLink') ? undefined : json['facebookLink'],
426
+ 'twitterLink': !exists(json, 'twitterLink') ? undefined : json['twitterLink'],
427
+ 'linkedinLink': !exists(json, 'linkedinLink') ? undefined : json['linkedinLink'],
428
+ 'avatar': !exists(json, 'avatar') ? undefined : json['avatar'],
413
429
  'externalKey': !exists(json, 'externalKey') ? undefined : json['externalKey'],
414
430
  'externalKeyType': !exists(json, 'externalKeyType') ? undefined : json['externalKeyType'],
415
431
  'gender': !exists(json, 'gender') ? undefined : json['gender'],
@@ -455,22 +471,6 @@ export function LegacyContactContactPayloadItemFromJSONTyped(json: any, ignoreDi
455
471
  'orgProvNo': !exists(json, 'orgProvNo') ? undefined : json['orgProvNo'],
456
472
  'orgStateId': !exists(json, 'orgStateId') ? undefined : json['orgStateId'],
457
473
  'orgEin': !exists(json, 'orgEin') ? undefined : json['orgEin'],
458
- 'id': !exists(json, 'id') ? undefined : json['id'],
459
- 'uuid': !exists(json, 'uuid') ? undefined : json['uuid'],
460
- 'typeContact': !exists(json, 'typeContact') ? undefined : json['typeContact'],
461
- 'indOrg': !exists(json, 'indOrg') ? undefined : json['indOrg'],
462
- 'displayName': !exists(json, 'displayName') ? undefined : json['displayName'],
463
- 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
464
- 'nickname': !exists(json, 'nickname') ? undefined : json['nickname'],
465
- 'middleName': !exists(json, 'middleName') ? undefined : json['middleName'],
466
- 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
467
- 'corporationName': !exists(json, 'corporationName') ? undefined : json['corporationName'],
468
- 'corporationNameLine2': !exists(json, 'corporationNameLine2') ? undefined : json['corporationNameLine2'],
469
- 'rank': !exists(json, 'rank') ? undefined : json['rank'],
470
- 'facebookLink': !exists(json, 'facebookLink') ? undefined : json['facebookLink'],
471
- 'twitterLink': !exists(json, 'twitterLink') ? undefined : json['twitterLink'],
472
- 'linkedinLink': !exists(json, 'linkedinLink') ? undefined : json['linkedinLink'],
473
- 'avatar': !exists(json, 'avatar') ? undefined : json['avatar'],
474
474
  };
475
475
  }
476
476
 
@@ -483,6 +483,22 @@ export function LegacyContactContactPayloadItemToJSON(value?: LegacyContactConta
483
483
  }
484
484
  return {
485
485
 
486
+ 'id': value.id,
487
+ 'uuid': value.uuid,
488
+ 'typeContact': value.typeContact,
489
+ 'indOrg': value.indOrg,
490
+ 'displayName': value.displayName,
491
+ 'firstName': value.firstName,
492
+ 'nickname': value.nickname,
493
+ 'middleName': value.middleName,
494
+ 'lastName': value.lastName,
495
+ 'corporationName': value.corporationName,
496
+ 'corporationNameLine2': value.corporationNameLine2,
497
+ 'rank': value.rank,
498
+ 'facebookLink': value.facebookLink,
499
+ 'twitterLink': value.twitterLink,
500
+ 'linkedinLink': value.linkedinLink,
501
+ 'avatar': value.avatar,
486
502
  'externalKey': value.externalKey,
487
503
  'externalKeyType': value.externalKeyType,
488
504
  'gender': value.gender,
@@ -528,22 +544,6 @@ export function LegacyContactContactPayloadItemToJSON(value?: LegacyContactConta
528
544
  'orgProvNo': value.orgProvNo,
529
545
  'orgStateId': value.orgStateId,
530
546
  'orgEin': value.orgEin,
531
- 'id': value.id,
532
- 'uuid': value.uuid,
533
- 'typeContact': value.typeContact,
534
- 'indOrg': value.indOrg,
535
- 'displayName': value.displayName,
536
- 'firstName': value.firstName,
537
- 'nickname': value.nickname,
538
- 'middleName': value.middleName,
539
- 'lastName': value.lastName,
540
- 'corporationName': value.corporationName,
541
- 'corporationNameLine2': value.corporationNameLine2,
542
- 'rank': value.rank,
543
- 'facebookLink': value.facebookLink,
544
- 'twitterLink': value.twitterLink,
545
- 'linkedinLink': value.linkedinLink,
546
- 'avatar': value.avatar,
547
547
  };
548
548
  }
549
549
 
@@ -32,18 +32,6 @@ import {
32
32
  * @interface LegacyDocumentBase64FilePayloadItem
33
33
  */
34
34
  export interface LegacyDocumentBase64FilePayloadItem {
35
- /**
36
- * The file external key
37
- * @type {string}
38
- * @memberof LegacyDocumentBase64FilePayloadItem
39
- */
40
- externalKey?: string;
41
- /**
42
- * file data encoded in base 64
43
- * @type {string}
44
- * @memberof LegacyDocumentBase64FilePayloadItem
45
- */
46
- base64EncodedData?: string;
47
35
  /**
48
36
  * id of the file
49
37
  * @type {string}
@@ -68,6 +56,18 @@ export interface LegacyDocumentBase64FilePayloadItem {
68
56
  * @memberof LegacyDocumentBase64FilePayloadItem
69
57
  */
70
58
  sizeBytes?: string;
59
+ /**
60
+ * The file external key
61
+ * @type {string}
62
+ * @memberof LegacyDocumentBase64FilePayloadItem
63
+ */
64
+ externalKey?: string;
65
+ /**
66
+ * file data encoded in base 64
67
+ * @type {string}
68
+ * @memberof LegacyDocumentBase64FilePayloadItem
69
+ */
70
+ base64EncodedData?: string;
71
71
  }
72
72
 
73
73
  export function LegacyDocumentBase64FilePayloadItemFromJSON(json: any): LegacyDocumentBase64FilePayloadItem {
@@ -80,12 +80,12 @@ export function LegacyDocumentBase64FilePayloadItemFromJSONTyped(json: any, igno
80
80
  }
81
81
  return {
82
82
 
83
- 'externalKey': !exists(json, 'externalKey') ? undefined : json['externalKey'],
84
- 'base64EncodedData': !exists(json, 'base64EncodedData') ? undefined : json['base64EncodedData'],
85
83
  'id': !exists(json, 'id') ? undefined : json['id'],
86
84
  'fileName': !exists(json, 'fileName') ? undefined : json['fileName'],
87
85
  'mimeType': !exists(json, 'mimeType') ? undefined : json['mimeType'],
88
86
  'sizeBytes': !exists(json, 'sizeBytes') ? undefined : json['sizeBytes'],
87
+ 'externalKey': !exists(json, 'externalKey') ? undefined : json['externalKey'],
88
+ 'base64EncodedData': !exists(json, 'base64EncodedData') ? undefined : json['base64EncodedData'],
89
89
  };
90
90
  }
91
91
 
@@ -98,12 +98,12 @@ export function LegacyDocumentBase64FilePayloadItemToJSON(value?: LegacyDocument
98
98
  }
99
99
  return {
100
100
 
101
- 'externalKey': value.externalKey,
102
- 'base64EncodedData': value.base64EncodedData,
103
101
  'id': value.id,
104
102
  'fileName': value.fileName,
105
103
  'mimeType': value.mimeType,
106
104
  'sizeBytes': value.sizeBytes,
105
+ 'externalKey': value.externalKey,
106
+ 'base64EncodedData': value.base64EncodedData,
107
107
  };
108
108
  }
109
109
 
@@ -39,12 +39,6 @@ import {
39
39
  * @interface LegacyDocumentDownloadFileResponse
40
40
  */
41
41
  export interface LegacyDocumentDownloadFileResponse {
42
- /**
43
- * Array of documents
44
- * @type {Array<LegacyDocumentBase64FilePayloadItem>}
45
- * @memberof LegacyDocumentDownloadFileResponse
46
- */
47
- files: Array<LegacyDocumentBase64FilePayloadItem>;
48
42
  /**
49
43
  * Status of the request that has been made. Can be 'ok' or 'fail'
50
44
  * @type {string}
@@ -63,6 +57,12 @@ export interface LegacyDocumentDownloadFileResponse {
63
57
  * @memberof LegacyDocumentDownloadFileResponse
64
58
  */
65
59
  errorMsg?: string;
60
+ /**
61
+ * Array of documents
62
+ * @type {Array<LegacyDocumentBase64FilePayloadItem>}
63
+ * @memberof LegacyDocumentDownloadFileResponse
64
+ */
65
+ files: Array<LegacyDocumentBase64FilePayloadItem>;
66
66
  }
67
67
 
68
68
  export function LegacyDocumentDownloadFileResponseFromJSON(json: any): LegacyDocumentDownloadFileResponse {
@@ -75,10 +75,10 @@ export function LegacyDocumentDownloadFileResponseFromJSONTyped(json: any, ignor
75
75
  }
76
76
  return {
77
77
 
78
- 'files': ((json['files'] as Array<any>).map(LegacyDocumentBase64FilePayloadItemFromJSON)),
79
78
  'stat': !exists(json, 'stat') ? undefined : json['stat'],
80
79
  'errorCode': !exists(json, 'error_code') ? undefined : json['error_code'],
81
80
  'errorMsg': !exists(json, 'error_msg') ? undefined : json['error_msg'],
81
+ 'files': ((json['files'] as Array<any>).map(LegacyDocumentBase64FilePayloadItemFromJSON)),
82
82
  };
83
83
  }
84
84
 
@@ -91,10 +91,10 @@ export function LegacyDocumentDownloadFileResponseToJSON(value?: LegacyDocumentD
91
91
  }
92
92
  return {
93
93
 
94
- 'files': ((value.files as Array<any>).map(LegacyDocumentBase64FilePayloadItemToJSON)),
95
94
  'stat': value.stat,
96
95
  'error_code': value.errorCode,
97
96
  'error_msg': value.errorMsg,
97
+ 'files': ((value.files as Array<any>).map(LegacyDocumentBase64FilePayloadItemToJSON)),
98
98
  };
99
99
  }
100
100
 
@@ -41,12 +41,6 @@ import {
41
41
  * @interface LegacyDocumentGetListResponse
42
42
  */
43
43
  export interface LegacyDocumentGetListResponse {
44
- /**
45
- * Array of documents
46
- * @type {Array<LegacyDocumentDocumentListItem>}
47
- * @memberof LegacyDocumentGetListResponse
48
- */
49
- documents: Array<LegacyDocumentDocumentListItem>;
50
44
  /**
51
45
  * Status of the request that has been made. Can be 'ok' or 'fail'
52
46
  * @type {string}
@@ -65,6 +59,12 @@ export interface LegacyDocumentGetListResponse {
65
59
  * @memberof LegacyDocumentGetListResponse
66
60
  */
67
61
  errorMsg?: string;
62
+ /**
63
+ * Array of documents
64
+ * @type {Array<LegacyDocumentDocumentListItem>}
65
+ * @memberof LegacyDocumentGetListResponse
66
+ */
67
+ documents: Array<LegacyDocumentDocumentListItem>;
68
68
  }
69
69
 
70
70
  export function LegacyDocumentGetListResponseFromJSON(json: any): LegacyDocumentGetListResponse {
@@ -77,10 +77,10 @@ export function LegacyDocumentGetListResponseFromJSONTyped(json: any, ignoreDisc
77
77
  }
78
78
  return {
79
79
 
80
- 'documents': ((json['documents'] as Array<any>).map(LegacyDocumentDocumentListItemFromJSON)),
81
80
  'stat': !exists(json, 'stat') ? undefined : json['stat'],
82
81
  'errorCode': !exists(json, 'error_code') ? undefined : json['error_code'],
83
82
  'errorMsg': !exists(json, 'error_msg') ? undefined : json['error_msg'],
83
+ 'documents': ((json['documents'] as Array<any>).map(LegacyDocumentDocumentListItemFromJSON)),
84
84
  };
85
85
  }
86
86
 
@@ -93,10 +93,10 @@ export function LegacyDocumentGetListResponseToJSON(value?: LegacyDocumentGetLis
93
93
  }
94
94
  return {
95
95
 
96
- 'documents': ((value.documents as Array<any>).map(LegacyDocumentDocumentListItemToJSON)),
97
96
  'stat': value.stat,
98
97
  'error_code': value.errorCode,
99
98
  'error_msg': value.errorMsg,
99
+ 'documents': ((value.documents as Array<any>).map(LegacyDocumentDocumentListItemToJSON)),
100
100
  };
101
101
  }
102
102
 
@@ -39,12 +39,6 @@ import {
39
39
  * @interface LegacyDocumentGetResponse
40
40
  */
41
41
  export interface LegacyDocumentGetResponse {
42
- /**
43
- * Array of documents
44
- * @type {Array<LegacyDocumentDocument>}
45
- * @memberof LegacyDocumentGetResponse
46
- */
47
- documents: Array<LegacyDocumentDocument>;
48
42
  /**
49
43
  * Status of the request that has been made. Can be 'ok' or 'fail'
50
44
  * @type {string}
@@ -63,6 +57,12 @@ export interface LegacyDocumentGetResponse {
63
57
  * @memberof LegacyDocumentGetResponse
64
58
  */
65
59
  errorMsg?: string;
60
+ /**
61
+ * Array of documents
62
+ * @type {Array<LegacyDocumentDocument>}
63
+ * @memberof LegacyDocumentGetResponse
64
+ */
65
+ documents: Array<LegacyDocumentDocument>;
66
66
  }
67
67
 
68
68
  export function LegacyDocumentGetResponseFromJSON(json: any): LegacyDocumentGetResponse {
@@ -75,10 +75,10 @@ export function LegacyDocumentGetResponseFromJSONTyped(json: any, ignoreDiscrimi
75
75
  }
76
76
  return {
77
77
 
78
- 'documents': ((json['documents'] as Array<any>).map(LegacyDocumentDocumentFromJSON)),
79
78
  'stat': !exists(json, 'stat') ? undefined : json['stat'],
80
79
  'errorCode': !exists(json, 'error_code') ? undefined : json['error_code'],
81
80
  'errorMsg': !exists(json, 'error_msg') ? undefined : json['error_msg'],
81
+ 'documents': ((json['documents'] as Array<any>).map(LegacyDocumentDocumentFromJSON)),
82
82
  };
83
83
  }
84
84
 
@@ -91,10 +91,10 @@ export function LegacyDocumentGetResponseToJSON(value?: LegacyDocumentGetRespons
91
91
  }
92
92
  return {
93
93
 
94
- 'documents': ((value.documents as Array<any>).map(LegacyDocumentDocumentToJSON)),
95
94
  'stat': value.stat,
96
95
  'error_code': value.errorCode,
97
96
  'error_msg': value.errorMsg,
97
+ 'documents': ((value.documents as Array<any>).map(LegacyDocumentDocumentToJSON)),
98
98
  };
99
99
  }
100
100
 
@@ -38,12 +38,6 @@ import {
38
38
  * @interface LegacyFinanceGetAccountStatementResponse
39
39
  */
40
40
  export interface LegacyFinanceGetAccountStatementResponse {
41
- /**
42
- *
43
- * @type {LegacyFinanceAccountStatement}
44
- * @memberof LegacyFinanceGetAccountStatementResponse
45
- */
46
- accountStatement: LegacyFinanceAccountStatement;
47
41
  /**
48
42
  * Status of the request that has been made. Can be 'ok' or 'fail'
49
43
  * @type {string}
@@ -62,6 +56,12 @@ export interface LegacyFinanceGetAccountStatementResponse {
62
56
  * @memberof LegacyFinanceGetAccountStatementResponse
63
57
  */
64
58
  errorMsg?: string;
59
+ /**
60
+ *
61
+ * @type {LegacyFinanceAccountStatement}
62
+ * @memberof LegacyFinanceGetAccountStatementResponse
63
+ */
64
+ accountStatement: LegacyFinanceAccountStatement;
65
65
  }
66
66
 
67
67
  export function LegacyFinanceGetAccountStatementResponseFromJSON(json: any): LegacyFinanceGetAccountStatementResponse {
@@ -74,10 +74,10 @@ export function LegacyFinanceGetAccountStatementResponseFromJSONTyped(json: any,
74
74
  }
75
75
  return {
76
76
 
77
- 'accountStatement': LegacyFinanceAccountStatementFromJSON(json['accountStatement']),
78
77
  'stat': !exists(json, 'stat') ? undefined : json['stat'],
79
78
  'errorCode': !exists(json, 'error_code') ? undefined : json['error_code'],
80
79
  'errorMsg': !exists(json, 'error_msg') ? undefined : json['error_msg'],
80
+ 'accountStatement': LegacyFinanceAccountStatementFromJSON(json['accountStatement']),
81
81
  };
82
82
  }
83
83
 
@@ -90,10 +90,10 @@ export function LegacyFinanceGetAccountStatementResponseToJSON(value?: LegacyFin
90
90
  }
91
91
  return {
92
92
 
93
- 'accountStatement': LegacyFinanceAccountStatementToJSON(value.accountStatement),
94
93
  'stat': value.stat,
95
94
  'error_code': value.errorCode,
96
95
  'error_msg': value.errorMsg,
96
+ 'accountStatement': LegacyFinanceAccountStatementToJSON(value.accountStatement),
97
97
  };
98
98
  }
99
99
 
@@ -38,12 +38,6 @@ import {
38
38
  * @interface LegacyFinanceGetLiabilitiesResponse
39
39
  */
40
40
  export interface LegacyFinanceGetLiabilitiesResponse {
41
- /**
42
- *
43
- * @type {Array<LegacyFinanceLiability>}
44
- * @memberof LegacyFinanceGetLiabilitiesResponse
45
- */
46
- liabilities: Array<LegacyFinanceLiability>;
47
41
  /**
48
42
  * Status of the request that has been made. Can be 'ok' or 'fail'
49
43
  * @type {string}
@@ -62,6 +56,12 @@ export interface LegacyFinanceGetLiabilitiesResponse {
62
56
  * @memberof LegacyFinanceGetLiabilitiesResponse
63
57
  */
64
58
  errorMsg?: string;
59
+ /**
60
+ *
61
+ * @type {Array<LegacyFinanceLiability>}
62
+ * @memberof LegacyFinanceGetLiabilitiesResponse
63
+ */
64
+ liabilities: Array<LegacyFinanceLiability>;
65
65
  }
66
66
 
67
67
  export function LegacyFinanceGetLiabilitiesResponseFromJSON(json: any): LegacyFinanceGetLiabilitiesResponse {
@@ -74,10 +74,10 @@ export function LegacyFinanceGetLiabilitiesResponseFromJSONTyped(json: any, igno
74
74
  }
75
75
  return {
76
76
 
77
- 'liabilities': ((json['liabilities'] as Array<any>).map(LegacyFinanceLiabilityFromJSON)),
78
77
  'stat': !exists(json, 'stat') ? undefined : json['stat'],
79
78
  'errorCode': !exists(json, 'error_code') ? undefined : json['error_code'],
80
79
  'errorMsg': !exists(json, 'error_msg') ? undefined : json['error_msg'],
80
+ 'liabilities': ((json['liabilities'] as Array<any>).map(LegacyFinanceLiabilityFromJSON)),
81
81
  };
82
82
  }
83
83
 
@@ -90,10 +90,10 @@ export function LegacyFinanceGetLiabilitiesResponseToJSON(value?: LegacyFinanceG
90
90
  }
91
91
  return {
92
92
 
93
- 'liabilities': ((value.liabilities as Array<any>).map(LegacyFinanceLiabilityToJSON)),
94
93
  'stat': value.stat,
95
94
  'error_code': value.errorCode,
96
95
  'error_msg': value.errorMsg,
96
+ 'liabilities': ((value.liabilities as Array<any>).map(LegacyFinanceLiabilityToJSON)),
97
97
  };
98
98
  }
99
99
 
@@ -38,12 +38,6 @@ import {
38
38
  * @interface LegacyProvisioningGetOrganizationListResponse
39
39
  */
40
40
  export interface LegacyProvisioningGetOrganizationListResponse {
41
- /**
42
- * List of organization
43
- * @type {Array<LegacyProvisioningOrganizationItem>}
44
- * @memberof LegacyProvisioningGetOrganizationListResponse
45
- */
46
- organizations: Array<LegacyProvisioningOrganizationItem>;
47
41
  /**
48
42
  * Status of the request that has been made. Can be 'ok' or 'fail'
49
43
  * @type {string}
@@ -62,6 +56,12 @@ export interface LegacyProvisioningGetOrganizationListResponse {
62
56
  * @memberof LegacyProvisioningGetOrganizationListResponse
63
57
  */
64
58
  errorMsg?: string;
59
+ /**
60
+ * List of organization
61
+ * @type {Array<LegacyProvisioningOrganizationItem>}
62
+ * @memberof LegacyProvisioningGetOrganizationListResponse
63
+ */
64
+ organizations: Array<LegacyProvisioningOrganizationItem>;
65
65
  }
66
66
 
67
67
  export function LegacyProvisioningGetOrganizationListResponseFromJSON(json: any): LegacyProvisioningGetOrganizationListResponse {
@@ -74,10 +74,10 @@ export function LegacyProvisioningGetOrganizationListResponseFromJSONTyped(json:
74
74
  }
75
75
  return {
76
76
 
77
- 'organizations': ((json['organizations'] as Array<any>).map(LegacyProvisioningOrganizationItemFromJSON)),
78
77
  'stat': !exists(json, 'stat') ? undefined : json['stat'],
79
78
  'errorCode': !exists(json, 'error_code') ? undefined : json['error_code'],
80
79
  'errorMsg': !exists(json, 'error_msg') ? undefined : json['error_msg'],
80
+ 'organizations': ((json['organizations'] as Array<any>).map(LegacyProvisioningOrganizationItemFromJSON)),
81
81
  };
82
82
  }
83
83
 
@@ -90,10 +90,10 @@ export function LegacyProvisioningGetOrganizationListResponseToJSON(value?: Lega
90
90
  }
91
91
  return {
92
92
 
93
- 'organizations': ((value.organizations as Array<any>).map(LegacyProvisioningOrganizationItemToJSON)),
94
93
  'stat': value.stat,
95
94
  'error_code': value.errorCode,
96
95
  'error_msg': value.errorMsg,
96
+ 'organizations': ((value.organizations as Array<any>).map(LegacyProvisioningOrganizationItemToJSON)),
97
97
  };
98
98
  }
99
99