@equisoft/equisoft-connect-sdk-typescript 10.20.3-snapshot.20220503151113 → 10.20.3

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 (155) hide show
  1. package/dist/models/EventsCreateEventPayload.d.ts +13 -13
  2. package/dist/models/EventsCreateEventPayload.js +4 -4
  3. package/dist/models/EventsPatchEventPayload.d.ts +1 -1
  4. package/dist/models/GatewaysAccessesEquisoftAnalyzeAccessAllOf.d.ts +2 -2
  5. package/dist/models/GatewaysAccessesEquisoftAnalyzeAccessAllOf.js +2 -3
  6. package/dist/models/GatewaysCredentialsWithSsn.d.ts +6 -6
  7. package/dist/models/GatewaysCredentialsWithSsn.js +2 -2
  8. package/dist/models/InternalNotesNote.d.ts +6 -6
  9. package/dist/models/InternalNotesNote.js +6 -6
  10. package/dist/models/LegacyAddUpdateResponse.d.ts +7 -7
  11. package/dist/models/LegacyAddUpdateResponse.js +2 -2
  12. package/dist/models/LegacyAddUpdateResponseAllOf.d.ts +1 -1
  13. package/dist/models/LegacyAddUpdateResponseAllOf.js +2 -3
  14. package/dist/models/LegacyContactAddress.d.ts +1 -1
  15. package/dist/models/LegacyContactContactPayloadItem.d.ts +96 -96
  16. package/dist/models/LegacyContactContactPayloadItem.js +32 -32
  17. package/dist/models/LegacyDocumentBase64FilePayload.d.ts +1 -2
  18. package/dist/models/LegacyDocumentBase64FilePayloadItem.d.ts +12 -12
  19. package/dist/models/LegacyDocumentBase64FilePayloadItem.js +4 -4
  20. package/dist/models/LegacyDocumentDocument.d.ts +37 -38
  21. package/dist/models/LegacyDocumentDocument.js +12 -12
  22. package/dist/models/LegacyDocumentDocumentListItem.d.ts +6 -6
  23. package/dist/models/LegacyDocumentDocumentListItem.js +2 -2
  24. package/dist/models/LegacyDocumentDocumentPayload.d.ts +1 -2
  25. package/dist/models/LegacyDocumentDocumentPayloadItem.d.ts +13 -14
  26. package/dist/models/LegacyDocumentDocumentPayloadItem.js +4 -4
  27. package/dist/models/LegacyDocumentDownloadFileResponse.d.ts +7 -8
  28. package/dist/models/LegacyDocumentDownloadFileResponse.js +2 -2
  29. package/dist/models/LegacyDocumentDownloadFileResponseAllOf.d.ts +1 -1
  30. package/dist/models/LegacyDocumentDownloadFileResponseAllOf.js +2 -3
  31. package/dist/models/LegacyDocumentGetListResponse.d.ts +6 -9
  32. package/dist/models/LegacyDocumentGetListResponse.js +2 -2
  33. package/dist/models/LegacyDocumentGetListResponseAllOf.d.ts +1 -1
  34. package/dist/models/LegacyDocumentGetListResponseAllOf.js +2 -3
  35. package/dist/models/LegacyDocumentGetResponse.d.ts +7 -8
  36. package/dist/models/LegacyDocumentGetResponse.js +2 -2
  37. package/dist/models/LegacyDocumentGetResponseAllOf.d.ts +1 -1
  38. package/dist/models/LegacyDocumentGetResponseAllOf.js +2 -3
  39. package/dist/models/LegacyFinanceAccountStatement.d.ts +1 -1
  40. package/dist/models/LegacyFinanceGetAccountStatementResponse.d.ts +7 -7
  41. package/dist/models/LegacyFinanceGetAccountStatementResponse.js +2 -2
  42. package/dist/models/LegacyFinanceGetAccountStatementResponseAllOf.d.ts +1 -1
  43. package/dist/models/LegacyFinanceGetAccountStatementResponseAllOf.js +1 -2
  44. package/dist/models/LegacyFinanceGetLiabilitiesResponse.d.ts +6 -6
  45. package/dist/models/LegacyFinanceGetLiabilitiesResponse.js +2 -2
  46. package/dist/models/LegacyFinanceGetLiabilitiesResponseAllOf.d.ts +1 -1
  47. package/dist/models/LegacyFinanceGetLiabilitiesResponseAllOf.js +2 -3
  48. package/dist/models/LegacyFinanceLiability.d.ts +1 -1
  49. package/dist/models/LegacyProvisioningGetOrganizationListResponse.d.ts +6 -6
  50. package/dist/models/LegacyProvisioningGetOrganizationListResponse.js +2 -2
  51. package/dist/models/LegacyProvisioningGetOrganizationListResponseAllOf.d.ts +1 -1
  52. package/dist/models/LegacyProvisioningGetOrganizationListResponseAllOf.js +2 -3
  53. package/dist/models/LegacyProvisioningGetOrganizationResponse.d.ts +6 -6
  54. package/dist/models/LegacyProvisioningGetOrganizationResponse.js +2 -2
  55. package/dist/models/LegacyProvisioningGetOrganizationResponseAllOf.d.ts +1 -1
  56. package/dist/models/LegacyProvisioningGetOrganizationResponseAllOf.js +1 -2
  57. package/dist/models/MovementClientBaseUsingDistributionListMovement.d.ts +6 -6
  58. package/dist/models/MovementClientBaseUsingDistributionListMovement.js +2 -2
  59. package/dist/models/MovementClientBaseUsingDistributionListMovementAllOf.d.ts +11 -11
  60. package/dist/models/MovementClientBaseUsingDistributionListMovementAllOf.js +7 -7
  61. package/dist/models/MovementClientBaseUsingDistributionListMovementPayload.d.ts +6 -6
  62. package/dist/models/MovementClientBaseUsingDistributionListMovementPayload.js +2 -2
  63. package/dist/models/MovementClientBaseUsingDistributionListMovementPayloadAllOf.d.ts +11 -11
  64. package/dist/models/MovementClientBaseUsingDistributionListMovementPayloadAllOf.js +7 -7
  65. package/dist/models/MovementClientBaseUsingFileMovement.d.ts +6 -6
  66. package/dist/models/MovementClientBaseUsingFileMovement.js +2 -2
  67. package/dist/models/MovementClientBaseUsingFileMovementAllOf.d.ts +10 -10
  68. package/dist/models/MovementClientBaseUsingFileMovementAllOf.js +6 -6
  69. package/dist/models/MovementClientBaseUsingFileMovementPayload.d.ts +6 -6
  70. package/dist/models/MovementClientBaseUsingFileMovementPayload.js +2 -2
  71. package/dist/models/MovementClientBaseUsingFileMovementPayloadAllOf.d.ts +8 -8
  72. package/dist/models/MovementClientBaseUsingFileMovementPayloadAllOf.js +6 -6
  73. package/dist/models/MovementCopyMovement.d.ts +6 -6
  74. package/dist/models/MovementCopyMovement.js +2 -2
  75. package/dist/models/MovementCopyMovementAllOf.d.ts +7 -7
  76. package/dist/models/MovementCopyMovementAllOf.js +6 -7
  77. package/dist/models/MovementCopyMovementPayload.d.ts +6 -6
  78. package/dist/models/MovementCopyMovementPayload.js +2 -2
  79. package/dist/models/MovementCopyMovementPayloadAllOf.d.ts +6 -6
  80. package/dist/models/MovementCopyMovementPayloadAllOf.js +4 -4
  81. package/dist/models/MovementMoveMovement.d.ts +6 -6
  82. package/dist/models/MovementMoveMovement.js +2 -2
  83. package/dist/models/MovementMoveMovementAllOf.d.ts +7 -7
  84. package/dist/models/MovementMoveMovementAllOf.js +6 -7
  85. package/dist/models/MovementMoveMovementPayload.d.ts +6 -6
  86. package/dist/models/MovementMoveMovementPayload.js +2 -2
  87. package/dist/models/MovementMoveMovementPayloadAllOf.d.ts +6 -6
  88. package/dist/models/MovementMoveMovementPayloadAllOf.js +5 -6
  89. package/dist/models/MovementReassignmentMovement.d.ts +6 -6
  90. package/dist/models/MovementReassignmentMovement.js +2 -2
  91. package/dist/models/MovementReassignmentMovementAllOf.d.ts +9 -9
  92. package/dist/models/MovementReassignmentMovementAllOf.js +6 -7
  93. package/dist/models/MovementReassignmentMovementPayload.d.ts +5 -5
  94. package/dist/models/MovementReassignmentMovementPayload.js +2 -2
  95. package/dist/models/MovementReassignmentMovementPayloadAllOf.d.ts +5 -5
  96. package/dist/models/MovementReassignmentMovementPayloadAllOf.js +6 -7
  97. package/dist/models/MxValidateRecipientsResponse.d.ts +1 -1
  98. package/dist/models/TasksCreateTaskPayload.d.ts +13 -13
  99. package/dist/models/TasksCreateTaskPayload.js +4 -4
  100. package/dist/models/TasksPatchTaskPayload.d.ts +1 -1
  101. package/package.json +1 -1
  102. package/src/models/EventsCreateEventPayload.ts +17 -17
  103. package/src/models/EventsPatchEventPayload.ts +1 -1
  104. package/src/models/GatewaysAccessesEquisoftAnalyzeAccessAllOf.ts +4 -4
  105. package/src/models/GatewaysCredentialsWithSsn.ts +8 -8
  106. package/src/models/InternalNotesNote.ts +12 -12
  107. package/src/models/LegacyAddUpdateResponse.ts +9 -9
  108. package/src/models/LegacyAddUpdateResponseAllOf.ts +3 -3
  109. package/src/models/LegacyContactAddress.ts +1 -1
  110. package/src/models/LegacyContactContactPayloadItem.ts +128 -128
  111. package/src/models/LegacyDocumentBase64FilePayload.ts +1 -2
  112. package/src/models/LegacyDocumentBase64FilePayloadItem.ts +16 -16
  113. package/src/models/LegacyDocumentDocument.ts +49 -50
  114. package/src/models/LegacyDocumentDocumentListItem.ts +8 -8
  115. package/src/models/LegacyDocumentDocumentPayload.ts +1 -2
  116. package/src/models/LegacyDocumentDocumentPayloadItem.ts +17 -18
  117. package/src/models/LegacyDocumentDownloadFileResponse.ts +9 -10
  118. package/src/models/LegacyDocumentDownloadFileResponseAllOf.ts +3 -3
  119. package/src/models/LegacyDocumentGetListResponse.ts +8 -11
  120. package/src/models/LegacyDocumentGetListResponseAllOf.ts +3 -3
  121. package/src/models/LegacyDocumentGetResponse.ts +9 -10
  122. package/src/models/LegacyDocumentGetResponseAllOf.ts +3 -3
  123. package/src/models/LegacyFinanceAccountStatement.ts +1 -1
  124. package/src/models/LegacyFinanceGetAccountStatementResponse.ts +9 -9
  125. package/src/models/LegacyFinanceGetAccountStatementResponseAllOf.ts +2 -2
  126. package/src/models/LegacyFinanceGetLiabilitiesResponse.ts +8 -8
  127. package/src/models/LegacyFinanceGetLiabilitiesResponseAllOf.ts +3 -3
  128. package/src/models/LegacyFinanceLiability.ts +1 -1
  129. package/src/models/LegacyProvisioningGetOrganizationListResponse.ts +8 -8
  130. package/src/models/LegacyProvisioningGetOrganizationListResponseAllOf.ts +3 -3
  131. package/src/models/LegacyProvisioningGetOrganizationResponse.ts +8 -8
  132. package/src/models/LegacyProvisioningGetOrganizationResponseAllOf.ts +2 -2
  133. package/src/models/MovementClientBaseUsingDistributionListMovement.ts +8 -8
  134. package/src/models/MovementClientBaseUsingDistributionListMovementAllOf.ts +18 -18
  135. package/src/models/MovementClientBaseUsingDistributionListMovementPayload.ts +8 -8
  136. package/src/models/MovementClientBaseUsingDistributionListMovementPayloadAllOf.ts +17 -17
  137. package/src/models/MovementClientBaseUsingFileMovement.ts +8 -8
  138. package/src/models/MovementClientBaseUsingFileMovementAllOf.ts +16 -16
  139. package/src/models/MovementClientBaseUsingFileMovementPayload.ts +8 -8
  140. package/src/models/MovementClientBaseUsingFileMovementPayloadAllOf.ts +14 -14
  141. package/src/models/MovementCopyMovement.ts +8 -8
  142. package/src/models/MovementCopyMovementAllOf.ts +13 -13
  143. package/src/models/MovementCopyMovementPayload.ts +8 -8
  144. package/src/models/MovementCopyMovementPayloadAllOf.ts +10 -10
  145. package/src/models/MovementMoveMovement.ts +8 -8
  146. package/src/models/MovementMoveMovementAllOf.ts +13 -13
  147. package/src/models/MovementMoveMovementPayload.ts +8 -8
  148. package/src/models/MovementMoveMovementPayloadAllOf.ts +11 -11
  149. package/src/models/MovementReassignmentMovement.ts +8 -8
  150. package/src/models/MovementReassignmentMovementAllOf.ts +15 -15
  151. package/src/models/MovementReassignmentMovementPayload.ts +7 -7
  152. package/src/models/MovementReassignmentMovementPayloadAllOf.ts +11 -11
  153. package/src/models/MxValidateRecipientsResponse.ts +1 -1
  154. package/src/models/TasksCreateTaskPayload.ts +17 -17
  155. package/src/models/TasksPatchTaskPayload.ts +1 -1
@@ -42,10 +42,10 @@ export interface InternalNotesNote {
42
42
  id: number | null;
43
43
  /**
44
44
  *
45
- * @type {InternalNotesAuthor}
45
+ * @type {Array<InternalNotesAuthor>}
46
46
  * @memberof InternalNotesNote
47
47
  */
48
- author: InternalNotesAuthor | null;
48
+ author: Array<InternalNotesAuthor> | null;
49
49
  /**
50
50
  *
51
51
  * @type {Date}
@@ -54,16 +54,16 @@ export interface InternalNotesNote {
54
54
  firstRevisionCreatedAt: Date | null;
55
55
  /**
56
56
  *
57
- * @type {AccessRights}
57
+ * @type {Array<AccessRights>}
58
58
  * @memberof InternalNotesNote
59
59
  */
60
- accessRights: AccessRights | null;
60
+ accessRights: Array<AccessRights> | null;
61
61
  /**
62
62
  *
63
- * @type {InternalNotesNoteRevision}
63
+ * @type {Array<InternalNotesNoteRevision>}
64
64
  * @memberof InternalNotesNote
65
65
  */
66
- currentRevision: InternalNotesNoteRevision | null;
66
+ currentRevision: Array<InternalNotesNoteRevision> | null;
67
67
  /**
68
68
  *
69
69
  * @type {Array<InternalNotesNoteRevision>}
@@ -83,10 +83,10 @@ export function InternalNotesNoteFromJSONTyped(json: any, ignoreDiscriminator: b
83
83
  return {
84
84
 
85
85
  'id': json['id'],
86
- 'author': InternalNotesAuthorFromJSON(json['author']),
86
+ 'author': (json['author'] === null ? null : (json['author'] as Array<any>).map(InternalNotesAuthorFromJSON)),
87
87
  'firstRevisionCreatedAt': (json['firstRevisionCreatedAt'] === null ? null : new Date(json['firstRevisionCreatedAt'])),
88
- 'accessRights': AccessRightsFromJSON(json['accessRights']),
89
- 'currentRevision': InternalNotesNoteRevisionFromJSON(json['currentRevision']),
88
+ 'accessRights': (json['accessRights'] === null ? null : (json['accessRights'] as Array<any>).map(AccessRightsFromJSON)),
89
+ 'currentRevision': (json['currentRevision'] === null ? null : (json['currentRevision'] as Array<any>).map(InternalNotesNoteRevisionFromJSON)),
90
90
  'previousRevisions': !exists(json, 'previousRevisions') ? undefined : (json['previousRevisions'] === null ? null : (json['previousRevisions'] as Array<any>).map(InternalNotesNoteRevisionFromJSON)),
91
91
  };
92
92
  }
@@ -101,10 +101,10 @@ export function InternalNotesNoteToJSON(value?: InternalNotesNote | null): any {
101
101
  return {
102
102
 
103
103
  'id': value.id,
104
- 'author': InternalNotesAuthorToJSON(value.author),
104
+ 'author': (value.author === null ? null : (value.author as Array<any>).map(InternalNotesAuthorToJSON)),
105
105
  'firstRevisionCreatedAt': (value.firstRevisionCreatedAt === null ? null : value.firstRevisionCreatedAt.toISOString()),
106
- 'accessRights': AccessRightsToJSON(value.accessRights),
107
- 'currentRevision': InternalNotesNoteRevisionToJSON(value.currentRevision),
106
+ 'accessRights': (value.accessRights === null ? null : (value.accessRights as Array<any>).map(AccessRightsToJSON)),
107
+ 'currentRevision': (value.currentRevision === null ? null : (value.currentRevision as Array<any>).map(InternalNotesNoteRevisionToJSON)),
108
108
  'previousRevisions': value.previousRevisions === undefined ? undefined : (value.previousRevisions === null ? null : (value.previousRevisions as Array<any>).map(InternalNotesNoteRevisionToJSON)),
109
109
  };
110
110
  }
@@ -29,17 +29,11 @@ import {
29
29
  } from './';
30
30
 
31
31
  /**
32
- * Response datatype returned by add or update methods
32
+ *
33
33
  * @export
34
34
  * @interface LegacyAddUpdateResponse
35
35
  */
36
36
  export interface LegacyAddUpdateResponse {
37
- /**
38
- * List all items status for the Add or Update operation
39
- * @type {Array<LegacyAddUpdateItem>}
40
- * @memberof LegacyAddUpdateResponse
41
- */
42
- items: Array<LegacyAddUpdateItem>;
43
37
  /**
44
38
  * Status of the request that has been made. Can be 'ok' or 'fail'
45
39
  * @type {string}
@@ -58,6 +52,12 @@ export interface LegacyAddUpdateResponse {
58
52
  * @memberof LegacyAddUpdateResponse
59
53
  */
60
54
  errorMsg?: string;
55
+ /**
56
+ * List all items status for the Add or Update operation
57
+ * @type {Array<LegacyAddUpdateItem>}
58
+ * @memberof LegacyAddUpdateResponse
59
+ */
60
+ items: Array<LegacyAddUpdateItem>;
61
61
  }
62
62
 
63
63
  export function LegacyAddUpdateResponseFromJSON(json: any): LegacyAddUpdateResponse {
@@ -70,10 +70,10 @@ export function LegacyAddUpdateResponseFromJSONTyped(json: any, ignoreDiscrimina
70
70
  }
71
71
  return {
72
72
 
73
- 'items': ((json['items'] as Array<any>).map(LegacyAddUpdateItemFromJSON)),
74
73
  'stat': !exists(json, 'stat') ? undefined : json['stat'],
75
74
  'errorCode': !exists(json, 'error_code') ? undefined : json['error_code'],
76
75
  'errorMsg': !exists(json, 'error_msg') ? undefined : json['error_msg'],
76
+ 'items': ((json['items'] as Array<any>).map(LegacyAddUpdateItemFromJSON)),
77
77
  };
78
78
  }
79
79
 
@@ -86,10 +86,10 @@ export function LegacyAddUpdateResponseToJSON(value?: LegacyAddUpdateResponse |
86
86
  }
87
87
  return {
88
88
 
89
- 'items': ((value.items as Array<any>).map(LegacyAddUpdateItemToJSON)),
90
89
  'stat': value.stat,
91
90
  'error_code': value.errorCode,
92
91
  'error_msg': value.errorMsg,
92
+ 'items': ((value.items as Array<any>).map(LegacyAddUpdateItemToJSON)),
93
93
  };
94
94
  }
95
95
 
@@ -31,7 +31,7 @@ export interface LegacyAddUpdateResponseAllOf {
31
31
  * @type {Array<LegacyAddUpdateItem>}
32
32
  * @memberof LegacyAddUpdateResponseAllOf
33
33
  */
34
- items?: Array<LegacyAddUpdateItem>;
34
+ items: Array<LegacyAddUpdateItem>;
35
35
  }
36
36
 
37
37
  export function LegacyAddUpdateResponseAllOfFromJSON(json: any): LegacyAddUpdateResponseAllOf {
@@ -44,7 +44,7 @@ export function LegacyAddUpdateResponseAllOfFromJSONTyped(json: any, ignoreDiscr
44
44
  }
45
45
  return {
46
46
 
47
- 'items': !exists(json, 'items') ? undefined : ((json['items'] as Array<any>).map(LegacyAddUpdateItemFromJSON)),
47
+ 'items': ((json['items'] as Array<any>).map(LegacyAddUpdateItemFromJSON)),
48
48
  };
49
49
  }
50
50
 
@@ -57,7 +57,7 @@ export function LegacyAddUpdateResponseAllOfToJSON(value?: LegacyAddUpdateRespon
57
57
  }
58
58
  return {
59
59
 
60
- 'items': value.items === undefined ? undefined : ((value.items as Array<any>).map(LegacyAddUpdateItemToJSON)),
60
+ 'items': ((value.items as Array<any>).map(LegacyAddUpdateItemToJSON)),
61
61
  };
62
62
  }
63
63
 
@@ -116,7 +116,7 @@ export interface LegacyContactAddress {
116
116
  */
117
117
  notes?: string;
118
118
  /**
119
- * address is locked or not (true or false)
119
+ * true or false
120
120
  * @type {string}
121
121
  * @memberof LegacyContactAddress
122
122
  */
@@ -30,6 +30,102 @@ 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;
33
129
  /**
34
130
  * external key
35
131
  * @type {string}
@@ -300,102 +396,6 @@ export interface LegacyContactContactPayloadItem {
300
396
  * @memberof LegacyContactContactPayloadItem
301
397
  */
302
398
  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,6 +408,22 @@ 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'],
411
427
  'externalKey': !exists(json, 'externalKey') ? undefined : json['externalKey'],
412
428
  'externalKeyType': !exists(json, 'externalKeyType') ? undefined : json['externalKeyType'],
413
429
  'gender': !exists(json, 'gender') ? undefined : json['gender'],
@@ -453,22 +469,6 @@ export function LegacyContactContactPayloadItemFromJSONTyped(json: any, ignoreDi
453
469
  'orgProvNo': !exists(json, 'orgProvNo') ? undefined : json['orgProvNo'],
454
470
  'orgStateId': !exists(json, 'orgStateId') ? undefined : json['orgStateId'],
455
471
  '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,6 +481,22 @@ 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,
484
500
  'externalKey': value.externalKey,
485
501
  'externalKeyType': value.externalKeyType,
486
502
  'gender': value.gender,
@@ -526,22 +542,6 @@ export function LegacyContactContactPayloadItemToJSON(value?: LegacyContactConta
526
542
  'orgProvNo': value.orgProvNo,
527
543
  'orgStateId': value.orgStateId,
528
544
  '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
 
@@ -21,8 +21,7 @@ import {
21
21
  } from './';
22
22
 
23
23
  /**
24
- * Payload needed by the kronos.document.uploadFile method
25
- * {@example uploadFilePayload.xml} payload example
24
+ *
26
25
  * @export
27
26
  * @interface LegacyDocumentBase64FilePayload
28
27
  */
@@ -30,18 +30,6 @@ import {
30
30
  * @interface LegacyDocumentBase64FilePayloadItem
31
31
  */
32
32
  export interface LegacyDocumentBase64FilePayloadItem {
33
- /**
34
- * The file external key
35
- * @type {string}
36
- * @memberof LegacyDocumentBase64FilePayloadItem
37
- */
38
- externalKey?: string;
39
- /**
40
- * file data encoded in base 64
41
- * @type {string}
42
- * @memberof LegacyDocumentBase64FilePayloadItem
43
- */
44
- base64EncodedData?: string;
45
33
  /**
46
34
  * id of the file
47
35
  * @type {string}
@@ -66,6 +54,18 @@ export interface LegacyDocumentBase64FilePayloadItem {
66
54
  * @memberof LegacyDocumentBase64FilePayloadItem
67
55
  */
68
56
  sizeBytes?: string;
57
+ /**
58
+ * The file external key
59
+ * @type {string}
60
+ * @memberof LegacyDocumentBase64FilePayloadItem
61
+ */
62
+ externalKey?: string;
63
+ /**
64
+ * file data encoded in base 64
65
+ * @type {string}
66
+ * @memberof LegacyDocumentBase64FilePayloadItem
67
+ */
68
+ base64EncodedData?: 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'],
83
81
  'id': !exists(json, 'id') ? undefined : json['id'],
84
82
  'fileName': !exists(json, 'fileName') ? undefined : json['fileName'],
85
83
  'mimeType': !exists(json, 'mimeType') ? undefined : json['mimeType'],
86
84
  '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,
101
99
  'id': value.id,
102
100
  'fileName': value.fileName,
103
101
  'mimeType': value.mimeType,
104
102
  'sizeBytes': value.sizeBytes,
103
+ 'externalKey': value.externalKey,
104
+ 'base64EncodedData': value.base64EncodedData,
105
105
  };
106
106
  }
107
107
 
@@ -29,12 +29,47 @@ import {
29
29
  } from './';
30
30
 
31
31
  /**
32
- * Payload needed by the kronos.document.add method
33
- * {@example addDocumentUpload.xml} payload example
32
+ *
34
33
  * @export
35
34
  * @interface LegacyDocumentDocument
36
35
  */
37
36
  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;
38
73
  /**
39
74
  * external key of the document
40
75
  * @type {string}
@@ -101,42 +136,6 @@ export interface LegacyDocumentDocument {
101
136
  * @memberof LegacyDocumentDocument
102
137
  */
103
138
  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;
140
139
  }
141
140
 
142
141
  export function LegacyDocumentDocumentFromJSON(json: any): LegacyDocumentDocument {
@@ -149,6 +148,12 @@ export function LegacyDocumentDocumentFromJSONTyped(json: any, ignoreDiscriminat
149
148
  }
150
149
  return {
151
150
 
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'],
152
157
  'externalKey': !exists(json, 'externalKey') ? undefined : json['externalKey'],
153
158
  'dateStart': !exists(json, 'dateStart') ? undefined : json['dateStart'],
154
159
  'dateEnd': !exists(json, 'dateEnd') ? undefined : json['dateEnd'],
@@ -160,12 +165,6 @@ export function LegacyDocumentDocumentFromJSONTyped(json: any, ignoreDiscriminat
160
165
  'type': !exists(json, 'type') ? undefined : json['type'],
161
166
  'subType': !exists(json, 'subType') ? undefined : json['subType'],
162
167
  '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'],
169
168
  };
170
169
  }
171
170
 
@@ -178,6 +177,12 @@ export function LegacyDocumentDocumentToJSON(value?: LegacyDocumentDocument | nu
178
177
  }
179
178
  return {
180
179
 
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,
181
186
  'externalKey': value.externalKey,
182
187
  'dateStart': value.dateStart,
183
188
  'dateEnd': value.dateEnd,
@@ -189,12 +194,6 @@ export function LegacyDocumentDocumentToJSON(value?: LegacyDocumentDocument | nu
189
194
  'type': value.type,
190
195
  'subType': value.subType,
191
196
  '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,
198
197
  };
199
198
  }
200
199