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

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 +3 -2
  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 +3 -2
  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 +2 -1
  18. package/dist/models/LegacyDocumentBase64FilePayloadItem.d.ts +12 -12
  19. package/dist/models/LegacyDocumentBase64FilePayloadItem.js +4 -4
  20. package/dist/models/LegacyDocumentDocument.d.ts +38 -37
  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 +2 -1
  25. package/dist/models/LegacyDocumentDocumentPayloadItem.d.ts +14 -13
  26. package/dist/models/LegacyDocumentDocumentPayloadItem.js +4 -4
  27. package/dist/models/LegacyDocumentDownloadFileResponse.d.ts +8 -7
  28. package/dist/models/LegacyDocumentDownloadFileResponse.js +2 -2
  29. package/dist/models/LegacyDocumentDownloadFileResponseAllOf.d.ts +1 -1
  30. package/dist/models/LegacyDocumentDownloadFileResponseAllOf.js +3 -2
  31. package/dist/models/LegacyDocumentGetListResponse.d.ts +9 -6
  32. package/dist/models/LegacyDocumentGetListResponse.js +2 -2
  33. package/dist/models/LegacyDocumentGetListResponseAllOf.d.ts +1 -1
  34. package/dist/models/LegacyDocumentGetListResponseAllOf.js +3 -2
  35. package/dist/models/LegacyDocumentGetResponse.d.ts +8 -7
  36. package/dist/models/LegacyDocumentGetResponse.js +2 -2
  37. package/dist/models/LegacyDocumentGetResponseAllOf.d.ts +1 -1
  38. package/dist/models/LegacyDocumentGetResponseAllOf.js +3 -2
  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 +2 -1
  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 +3 -2
  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 +3 -2
  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 +2 -1
  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 +7 -6
  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 +7 -6
  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 +6 -5
  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 +7 -6
  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 +7 -6
  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 +2 -1
  112. package/src/models/LegacyDocumentBase64FilePayloadItem.ts +16 -16
  113. package/src/models/LegacyDocumentDocument.ts +50 -49
  114. package/src/models/LegacyDocumentDocumentListItem.ts +8 -8
  115. package/src/models/LegacyDocumentDocumentPayload.ts +2 -1
  116. package/src/models/LegacyDocumentDocumentPayloadItem.ts +18 -17
  117. package/src/models/LegacyDocumentDownloadFileResponse.ts +10 -9
  118. package/src/models/LegacyDocumentDownloadFileResponseAllOf.ts +3 -3
  119. package/src/models/LegacyDocumentGetListResponse.ts +11 -8
  120. package/src/models/LegacyDocumentGetListResponseAllOf.ts +3 -3
  121. package/src/models/LegacyDocumentGetResponse.ts +10 -9
  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 {Array<InternalNotesAuthor>}
45
+ * @type {InternalNotesAuthor}
46
46
  * @memberof InternalNotesNote
47
47
  */
48
- author: Array<InternalNotesAuthor> | null;
48
+ author: 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 {Array<AccessRights>}
57
+ * @type {AccessRights}
58
58
  * @memberof InternalNotesNote
59
59
  */
60
- accessRights: Array<AccessRights> | null;
60
+ accessRights: AccessRights | null;
61
61
  /**
62
62
  *
63
- * @type {Array<InternalNotesNoteRevision>}
63
+ * @type {InternalNotesNoteRevision}
64
64
  * @memberof InternalNotesNote
65
65
  */
66
- currentRevision: Array<InternalNotesNoteRevision> | null;
66
+ currentRevision: 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': (json['author'] === null ? null : (json['author'] as Array<any>).map(InternalNotesAuthorFromJSON)),
86
+ 'author': InternalNotesAuthorFromJSON(json['author']),
87
87
  'firstRevisionCreatedAt': (json['firstRevisionCreatedAt'] === null ? null : new Date(json['firstRevisionCreatedAt'])),
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)),
88
+ 'accessRights': AccessRightsFromJSON(json['accessRights']),
89
+ 'currentRevision': InternalNotesNoteRevisionFromJSON(json['currentRevision']),
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': (value.author === null ? null : (value.author as Array<any>).map(InternalNotesAuthorToJSON)),
104
+ 'author': InternalNotesAuthorToJSON(value.author),
105
105
  'firstRevisionCreatedAt': (value.firstRevisionCreatedAt === null ? null : value.firstRevisionCreatedAt.toISOString()),
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)),
106
+ 'accessRights': AccessRightsToJSON(value.accessRights),
107
+ 'currentRevision': InternalNotesNoteRevisionToJSON(value.currentRevision),
108
108
  'previousRevisions': value.previousRevisions === undefined ? undefined : (value.previousRevisions === null ? null : (value.previousRevisions as Array<any>).map(InternalNotesNoteRevisionToJSON)),
109
109
  };
110
110
  }
@@ -29,11 +29,17 @@ import {
29
29
  } from './';
30
30
 
31
31
  /**
32
- *
32
+ * Response datatype returned by add or update methods
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>;
37
43
  /**
38
44
  * Status of the request that has been made. Can be 'ok' or 'fail'
39
45
  * @type {string}
@@ -52,12 +58,6 @@ export interface LegacyAddUpdateResponse {
52
58
  * @memberof LegacyAddUpdateResponse
53
59
  */
54
60
  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)),
73
74
  'stat': !exists(json, 'stat') ? undefined : json['stat'],
74
75
  'errorCode': !exists(json, 'error_code') ? undefined : json['error_code'],
75
76
  '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)),
89
90
  'stat': value.stat,
90
91
  'error_code': value.errorCode,
91
92
  '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': ((json['items'] as Array<any>).map(LegacyAddUpdateItemFromJSON)),
47
+ 'items': !exists(json, 'items') ? undefined : ((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 as Array<any>).map(LegacyAddUpdateItemToJSON)),
60
+ 'items': value.items === undefined ? undefined : ((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
- * true or false
119
+ * address is locked or not (true or false)
120
120
  * @type {string}
121
121
  * @memberof LegacyContactAddress
122
122
  */
@@ -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
 
@@ -21,7 +21,8 @@ import {
21
21
  } from './';
22
22
 
23
23
  /**
24
- *
24
+ * Payload needed by the kronos.document.uploadFile method
25
+ * {@example uploadFilePayload.xml} payload example
25
26
  * @export
26
27
  * @interface LegacyDocumentBase64FilePayload
27
28
  */
@@ -31,41 +31,41 @@ import {
31
31
  */
32
32
  export interface LegacyDocumentBase64FilePayloadItem {
33
33
  /**
34
- * id of the file
34
+ * The file external key
35
35
  * @type {string}
36
36
  * @memberof LegacyDocumentBase64FilePayloadItem
37
37
  */
38
- id?: string;
38
+ externalKey?: string;
39
39
  /**
40
- * File name
40
+ * file data encoded in base 64
41
41
  * @type {string}
42
42
  * @memberof LegacyDocumentBase64FilePayloadItem
43
43
  */
44
- fileName?: string;
44
+ base64EncodedData?: string;
45
45
  /**
46
- * Mime Type of the file
46
+ * id of the file
47
47
  * @type {string}
48
48
  * @memberof LegacyDocumentBase64FilePayloadItem
49
49
  */
50
- mimeType?: string;
50
+ id?: string;
51
51
  /**
52
- * Size of the file(in bytes)
52
+ * File name
53
53
  * @type {string}
54
54
  * @memberof LegacyDocumentBase64FilePayloadItem
55
55
  */
56
- sizeBytes?: string;
56
+ fileName?: string;
57
57
  /**
58
- * The file external key
58
+ * Mime Type of the file
59
59
  * @type {string}
60
60
  * @memberof LegacyDocumentBase64FilePayloadItem
61
61
  */
62
- externalKey?: string;
62
+ mimeType?: string;
63
63
  /**
64
- * file data encoded in base 64
64
+ * Size of the file(in bytes)
65
65
  * @type {string}
66
66
  * @memberof LegacyDocumentBase64FilePayloadItem
67
67
  */
68
- base64EncodedData?: string;
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