@equisoft/equisoft-connect-sdk-typescript 10.20.2 → 10.20.3-snapshot.20220506020547
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/dist/apis/DatabasesApi.d.ts +12 -1
- package/dist/apis/DatabasesApi.js +38 -0
- package/dist/models/EventsCreateEventPayload.d.ts +13 -13
- package/dist/models/EventsCreateEventPayload.js +4 -4
- package/dist/models/EventsPatchEventPayload.d.ts +1 -1
- package/dist/models/GatewaysAccessesEquisoftAnalyzeAccessAllOf.d.ts +2 -2
- package/dist/models/GatewaysAccessesEquisoftAnalyzeAccessAllOf.js +3 -2
- package/dist/models/GatewaysCredentialsWithSsn.d.ts +6 -6
- package/dist/models/GatewaysCredentialsWithSsn.js +2 -2
- package/dist/models/InternalNotesNote.d.ts +6 -6
- package/dist/models/InternalNotesNote.js +6 -6
- package/dist/models/LegacyAddUpdateResponse.d.ts +7 -7
- package/dist/models/LegacyAddUpdateResponse.js +2 -2
- package/dist/models/LegacyAddUpdateResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyAddUpdateResponseAllOf.js +3 -2
- package/dist/models/LegacyContactAddress.d.ts +1 -1
- package/dist/models/LegacyContactContactPayloadItem.d.ts +96 -96
- package/dist/models/LegacyContactContactPayloadItem.js +32 -32
- package/dist/models/LegacyDocumentBase64FilePayload.d.ts +2 -1
- package/dist/models/LegacyDocumentBase64FilePayloadItem.d.ts +12 -12
- package/dist/models/LegacyDocumentBase64FilePayloadItem.js +4 -4
- package/dist/models/LegacyDocumentDocument.d.ts +38 -37
- package/dist/models/LegacyDocumentDocument.js +12 -12
- package/dist/models/LegacyDocumentDocumentListItem.d.ts +6 -6
- package/dist/models/LegacyDocumentDocumentListItem.js +2 -2
- package/dist/models/LegacyDocumentDocumentPayload.d.ts +2 -1
- package/dist/models/LegacyDocumentDocumentPayloadItem.d.ts +14 -13
- package/dist/models/LegacyDocumentDocumentPayloadItem.js +4 -4
- package/dist/models/LegacyDocumentDownloadFileResponse.d.ts +8 -7
- package/dist/models/LegacyDocumentDownloadFileResponse.js +2 -2
- package/dist/models/LegacyDocumentDownloadFileResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyDocumentDownloadFileResponseAllOf.js +3 -2
- package/dist/models/LegacyDocumentGetListResponse.d.ts +9 -6
- package/dist/models/LegacyDocumentGetListResponse.js +2 -2
- package/dist/models/LegacyDocumentGetListResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyDocumentGetListResponseAllOf.js +3 -2
- package/dist/models/LegacyDocumentGetResponse.d.ts +8 -7
- package/dist/models/LegacyDocumentGetResponse.js +2 -2
- package/dist/models/LegacyDocumentGetResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyDocumentGetResponseAllOf.js +3 -2
- package/dist/models/LegacyFinanceAccountStatement.d.ts +1 -1
- package/dist/models/LegacyFinanceGetAccountStatementResponse.d.ts +7 -7
- package/dist/models/LegacyFinanceGetAccountStatementResponse.js +2 -2
- package/dist/models/LegacyFinanceGetAccountStatementResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyFinanceGetAccountStatementResponseAllOf.js +2 -1
- package/dist/models/LegacyFinanceGetLiabilitiesResponse.d.ts +6 -6
- package/dist/models/LegacyFinanceGetLiabilitiesResponse.js +2 -2
- package/dist/models/LegacyFinanceGetLiabilitiesResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyFinanceGetLiabilitiesResponseAllOf.js +3 -2
- package/dist/models/LegacyFinanceLiability.d.ts +1 -1
- package/dist/models/LegacyProvisioningGetOrganizationListResponse.d.ts +6 -6
- package/dist/models/LegacyProvisioningGetOrganizationListResponse.js +2 -2
- package/dist/models/LegacyProvisioningGetOrganizationListResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyProvisioningGetOrganizationListResponseAllOf.js +3 -2
- package/dist/models/LegacyProvisioningGetOrganizationResponse.d.ts +6 -6
- package/dist/models/LegacyProvisioningGetOrganizationResponse.js +2 -2
- package/dist/models/LegacyProvisioningGetOrganizationResponseAllOf.d.ts +1 -1
- package/dist/models/LegacyProvisioningGetOrganizationResponseAllOf.js +2 -1
- package/dist/models/MovementClientBaseUsingDistributionListMovement.d.ts +6 -6
- package/dist/models/MovementClientBaseUsingDistributionListMovement.js +2 -2
- package/dist/models/MovementClientBaseUsingDistributionListMovementAllOf.d.ts +11 -11
- package/dist/models/MovementClientBaseUsingDistributionListMovementAllOf.js +7 -7
- package/dist/models/MovementClientBaseUsingDistributionListMovementPayload.d.ts +6 -6
- package/dist/models/MovementClientBaseUsingDistributionListMovementPayload.js +2 -2
- package/dist/models/MovementClientBaseUsingDistributionListMovementPayloadAllOf.d.ts +11 -11
- package/dist/models/MovementClientBaseUsingDistributionListMovementPayloadAllOf.js +7 -7
- package/dist/models/MovementClientBaseUsingFileMovement.d.ts +6 -6
- package/dist/models/MovementClientBaseUsingFileMovement.js +2 -2
- package/dist/models/MovementClientBaseUsingFileMovementAllOf.d.ts +10 -10
- package/dist/models/MovementClientBaseUsingFileMovementAllOf.js +6 -6
- package/dist/models/MovementClientBaseUsingFileMovementPayload.d.ts +6 -6
- package/dist/models/MovementClientBaseUsingFileMovementPayload.js +2 -2
- package/dist/models/MovementClientBaseUsingFileMovementPayloadAllOf.d.ts +8 -8
- package/dist/models/MovementClientBaseUsingFileMovementPayloadAllOf.js +6 -6
- package/dist/models/MovementCopyMovement.d.ts +6 -6
- package/dist/models/MovementCopyMovement.js +2 -2
- package/dist/models/MovementCopyMovementAllOf.d.ts +7 -7
- package/dist/models/MovementCopyMovementAllOf.js +7 -6
- package/dist/models/MovementCopyMovementPayload.d.ts +6 -6
- package/dist/models/MovementCopyMovementPayload.js +2 -2
- package/dist/models/MovementCopyMovementPayloadAllOf.d.ts +6 -6
- package/dist/models/MovementCopyMovementPayloadAllOf.js +4 -4
- package/dist/models/MovementMoveMovement.d.ts +6 -6
- package/dist/models/MovementMoveMovement.js +2 -2
- package/dist/models/MovementMoveMovementAllOf.d.ts +7 -7
- package/dist/models/MovementMoveMovementAllOf.js +7 -6
- package/dist/models/MovementMoveMovementPayload.d.ts +6 -6
- package/dist/models/MovementMoveMovementPayload.js +2 -2
- package/dist/models/MovementMoveMovementPayloadAllOf.d.ts +6 -6
- package/dist/models/MovementMoveMovementPayloadAllOf.js +6 -5
- package/dist/models/MovementReassignmentMovement.d.ts +6 -6
- package/dist/models/MovementReassignmentMovement.js +2 -2
- package/dist/models/MovementReassignmentMovementAllOf.d.ts +9 -9
- package/dist/models/MovementReassignmentMovementAllOf.js +7 -6
- package/dist/models/MovementReassignmentMovementPayload.d.ts +5 -5
- package/dist/models/MovementReassignmentMovementPayload.js +2 -2
- package/dist/models/MovementReassignmentMovementPayloadAllOf.d.ts +5 -5
- package/dist/models/MovementReassignmentMovementPayloadAllOf.js +7 -6
- package/dist/models/MxValidateRecipientsResponse.d.ts +1 -1
- package/dist/models/TasksCreateTaskPayload.d.ts +13 -13
- package/dist/models/TasksCreateTaskPayload.js +4 -4
- package/dist/models/TasksPatchTaskPayload.d.ts +1 -1
- package/dist/models/UsersRole.d.ts +23 -0
- package/dist/models/UsersRole.js +38 -0
- package/dist/models/UsersUpdateUserPayload.d.ts +27 -0
- package/dist/models/UsersUpdateUserPayload.js +41 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/apis/DatabasesApi.ts +53 -0
- package/src/models/EventsCreateEventPayload.ts +17 -17
- package/src/models/EventsPatchEventPayload.ts +1 -1
- package/src/models/GatewaysAccessesEquisoftAnalyzeAccessAllOf.ts +4 -4
- package/src/models/GatewaysCredentialsWithSsn.ts +8 -8
- package/src/models/InternalNotesNote.ts +12 -12
- package/src/models/LegacyAddUpdateResponse.ts +9 -9
- package/src/models/LegacyAddUpdateResponseAllOf.ts +3 -3
- package/src/models/LegacyContactAddress.ts +1 -1
- package/src/models/LegacyContactContactPayloadItem.ts +128 -128
- package/src/models/LegacyDocumentBase64FilePayload.ts +2 -1
- package/src/models/LegacyDocumentBase64FilePayloadItem.ts +16 -16
- package/src/models/LegacyDocumentDocument.ts +50 -49
- package/src/models/LegacyDocumentDocumentListItem.ts +8 -8
- package/src/models/LegacyDocumentDocumentPayload.ts +2 -1
- package/src/models/LegacyDocumentDocumentPayloadItem.ts +18 -17
- package/src/models/LegacyDocumentDownloadFileResponse.ts +10 -9
- package/src/models/LegacyDocumentDownloadFileResponseAllOf.ts +3 -3
- package/src/models/LegacyDocumentGetListResponse.ts +11 -8
- package/src/models/LegacyDocumentGetListResponseAllOf.ts +3 -3
- package/src/models/LegacyDocumentGetResponse.ts +10 -9
- package/src/models/LegacyDocumentGetResponseAllOf.ts +3 -3
- package/src/models/LegacyFinanceAccountStatement.ts +1 -1
- package/src/models/LegacyFinanceGetAccountStatementResponse.ts +9 -9
- package/src/models/LegacyFinanceGetAccountStatementResponseAllOf.ts +2 -2
- package/src/models/LegacyFinanceGetLiabilitiesResponse.ts +8 -8
- package/src/models/LegacyFinanceGetLiabilitiesResponseAllOf.ts +3 -3
- package/src/models/LegacyFinanceLiability.ts +1 -1
- package/src/models/LegacyProvisioningGetOrganizationListResponse.ts +8 -8
- package/src/models/LegacyProvisioningGetOrganizationListResponseAllOf.ts +3 -3
- package/src/models/LegacyProvisioningGetOrganizationResponse.ts +8 -8
- package/src/models/LegacyProvisioningGetOrganizationResponseAllOf.ts +2 -2
- package/src/models/MovementClientBaseUsingDistributionListMovement.ts +8 -8
- package/src/models/MovementClientBaseUsingDistributionListMovementAllOf.ts +18 -18
- package/src/models/MovementClientBaseUsingDistributionListMovementPayload.ts +8 -8
- package/src/models/MovementClientBaseUsingDistributionListMovementPayloadAllOf.ts +17 -17
- package/src/models/MovementClientBaseUsingFileMovement.ts +8 -8
- package/src/models/MovementClientBaseUsingFileMovementAllOf.ts +16 -16
- package/src/models/MovementClientBaseUsingFileMovementPayload.ts +8 -8
- package/src/models/MovementClientBaseUsingFileMovementPayloadAllOf.ts +14 -14
- package/src/models/MovementCopyMovement.ts +8 -8
- package/src/models/MovementCopyMovementAllOf.ts +13 -13
- package/src/models/MovementCopyMovementPayload.ts +8 -8
- package/src/models/MovementCopyMovementPayloadAllOf.ts +10 -10
- package/src/models/MovementMoveMovement.ts +8 -8
- package/src/models/MovementMoveMovementAllOf.ts +13 -13
- package/src/models/MovementMoveMovementPayload.ts +8 -8
- package/src/models/MovementMoveMovementPayloadAllOf.ts +11 -11
- package/src/models/MovementReassignmentMovement.ts +8 -8
- package/src/models/MovementReassignmentMovementAllOf.ts +15 -15
- package/src/models/MovementReassignmentMovementPayload.ts +7 -7
- package/src/models/MovementReassignmentMovementPayloadAllOf.ts +11 -11
- package/src/models/MxValidateRecipientsResponse.ts +1 -1
- package/src/models/TasksCreateTaskPayload.ts +17 -17
- package/src/models/TasksPatchTaskPayload.ts +1 -1
- package/src/models/UsersRole.ts +36 -0
- package/src/models/UsersUpdateUserPayload.ts +57 -0
- package/src/models/index.ts +2 -0
|
@@ -24,22 +24,6 @@ function LegacyContactContactPayloadItemFromJSONTyped(json, ignoreDiscriminator)
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
-
'id': !runtime_1.exists(json, 'id') ? undefined : json['id'],
|
|
28
|
-
'uuid': !runtime_1.exists(json, 'uuid') ? undefined : json['uuid'],
|
|
29
|
-
'typeContact': !runtime_1.exists(json, 'typeContact') ? undefined : json['typeContact'],
|
|
30
|
-
'indOrg': !runtime_1.exists(json, 'indOrg') ? undefined : json['indOrg'],
|
|
31
|
-
'displayName': !runtime_1.exists(json, 'displayName') ? undefined : json['displayName'],
|
|
32
|
-
'firstName': !runtime_1.exists(json, 'firstName') ? undefined : json['firstName'],
|
|
33
|
-
'nickname': !runtime_1.exists(json, 'nickname') ? undefined : json['nickname'],
|
|
34
|
-
'middleName': !runtime_1.exists(json, 'middleName') ? undefined : json['middleName'],
|
|
35
|
-
'lastName': !runtime_1.exists(json, 'lastName') ? undefined : json['lastName'],
|
|
36
|
-
'corporationName': !runtime_1.exists(json, 'corporationName') ? undefined : json['corporationName'],
|
|
37
|
-
'corporationNameLine2': !runtime_1.exists(json, 'corporationNameLine2') ? undefined : json['corporationNameLine2'],
|
|
38
|
-
'rank': !runtime_1.exists(json, 'rank') ? undefined : json['rank'],
|
|
39
|
-
'facebookLink': !runtime_1.exists(json, 'facebookLink') ? undefined : json['facebookLink'],
|
|
40
|
-
'twitterLink': !runtime_1.exists(json, 'twitterLink') ? undefined : json['twitterLink'],
|
|
41
|
-
'linkedinLink': !runtime_1.exists(json, 'linkedinLink') ? undefined : json['linkedinLink'],
|
|
42
|
-
'avatar': !runtime_1.exists(json, 'avatar') ? undefined : json['avatar'],
|
|
43
27
|
'externalKey': !runtime_1.exists(json, 'externalKey') ? undefined : json['externalKey'],
|
|
44
28
|
'externalKeyType': !runtime_1.exists(json, 'externalKeyType') ? undefined : json['externalKeyType'],
|
|
45
29
|
'gender': !runtime_1.exists(json, 'gender') ? undefined : json['gender'],
|
|
@@ -85,6 +69,22 @@ function LegacyContactContactPayloadItemFromJSONTyped(json, ignoreDiscriminator)
|
|
|
85
69
|
'orgProvNo': !runtime_1.exists(json, 'orgProvNo') ? undefined : json['orgProvNo'],
|
|
86
70
|
'orgStateId': !runtime_1.exists(json, 'orgStateId') ? undefined : json['orgStateId'],
|
|
87
71
|
'orgEin': !runtime_1.exists(json, 'orgEin') ? undefined : json['orgEin'],
|
|
72
|
+
'id': !runtime_1.exists(json, 'id') ? undefined : json['id'],
|
|
73
|
+
'uuid': !runtime_1.exists(json, 'uuid') ? undefined : json['uuid'],
|
|
74
|
+
'typeContact': !runtime_1.exists(json, 'typeContact') ? undefined : json['typeContact'],
|
|
75
|
+
'indOrg': !runtime_1.exists(json, 'indOrg') ? undefined : json['indOrg'],
|
|
76
|
+
'displayName': !runtime_1.exists(json, 'displayName') ? undefined : json['displayName'],
|
|
77
|
+
'firstName': !runtime_1.exists(json, 'firstName') ? undefined : json['firstName'],
|
|
78
|
+
'nickname': !runtime_1.exists(json, 'nickname') ? undefined : json['nickname'],
|
|
79
|
+
'middleName': !runtime_1.exists(json, 'middleName') ? undefined : json['middleName'],
|
|
80
|
+
'lastName': !runtime_1.exists(json, 'lastName') ? undefined : json['lastName'],
|
|
81
|
+
'corporationName': !runtime_1.exists(json, 'corporationName') ? undefined : json['corporationName'],
|
|
82
|
+
'corporationNameLine2': !runtime_1.exists(json, 'corporationNameLine2') ? undefined : json['corporationNameLine2'],
|
|
83
|
+
'rank': !runtime_1.exists(json, 'rank') ? undefined : json['rank'],
|
|
84
|
+
'facebookLink': !runtime_1.exists(json, 'facebookLink') ? undefined : json['facebookLink'],
|
|
85
|
+
'twitterLink': !runtime_1.exists(json, 'twitterLink') ? undefined : json['twitterLink'],
|
|
86
|
+
'linkedinLink': !runtime_1.exists(json, 'linkedinLink') ? undefined : json['linkedinLink'],
|
|
87
|
+
'avatar': !runtime_1.exists(json, 'avatar') ? undefined : json['avatar'],
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
exports.LegacyContactContactPayloadItemFromJSONTyped = LegacyContactContactPayloadItemFromJSONTyped;
|
|
@@ -96,22 +96,6 @@ function LegacyContactContactPayloadItemToJSON(value) {
|
|
|
96
96
|
return null;
|
|
97
97
|
}
|
|
98
98
|
return {
|
|
99
|
-
'id': value.id,
|
|
100
|
-
'uuid': value.uuid,
|
|
101
|
-
'typeContact': value.typeContact,
|
|
102
|
-
'indOrg': value.indOrg,
|
|
103
|
-
'displayName': value.displayName,
|
|
104
|
-
'firstName': value.firstName,
|
|
105
|
-
'nickname': value.nickname,
|
|
106
|
-
'middleName': value.middleName,
|
|
107
|
-
'lastName': value.lastName,
|
|
108
|
-
'corporationName': value.corporationName,
|
|
109
|
-
'corporationNameLine2': value.corporationNameLine2,
|
|
110
|
-
'rank': value.rank,
|
|
111
|
-
'facebookLink': value.facebookLink,
|
|
112
|
-
'twitterLink': value.twitterLink,
|
|
113
|
-
'linkedinLink': value.linkedinLink,
|
|
114
|
-
'avatar': value.avatar,
|
|
115
99
|
'externalKey': value.externalKey,
|
|
116
100
|
'externalKeyType': value.externalKeyType,
|
|
117
101
|
'gender': value.gender,
|
|
@@ -157,6 +141,22 @@ function LegacyContactContactPayloadItemToJSON(value) {
|
|
|
157
141
|
'orgProvNo': value.orgProvNo,
|
|
158
142
|
'orgStateId': value.orgStateId,
|
|
159
143
|
'orgEin': value.orgEin,
|
|
144
|
+
'id': value.id,
|
|
145
|
+
'uuid': value.uuid,
|
|
146
|
+
'typeContact': value.typeContact,
|
|
147
|
+
'indOrg': value.indOrg,
|
|
148
|
+
'displayName': value.displayName,
|
|
149
|
+
'firstName': value.firstName,
|
|
150
|
+
'nickname': value.nickname,
|
|
151
|
+
'middleName': value.middleName,
|
|
152
|
+
'lastName': value.lastName,
|
|
153
|
+
'corporationName': value.corporationName,
|
|
154
|
+
'corporationNameLine2': value.corporationNameLine2,
|
|
155
|
+
'rank': value.rank,
|
|
156
|
+
'facebookLink': value.facebookLink,
|
|
157
|
+
'twitterLink': value.twitterLink,
|
|
158
|
+
'linkedinLink': value.linkedinLink,
|
|
159
|
+
'avatar': value.avatar,
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
exports.LegacyContactContactPayloadItemToJSON = LegacyContactContactPayloadItemToJSON;
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { LegacyDocumentBase64FilePayloadItem } from './';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Payload needed by the kronos.document.uploadFile method
|
|
15
|
+
* {@example uploadFilePayload.xml} payload example
|
|
15
16
|
* @export
|
|
16
17
|
* @interface LegacyDocumentBase64FilePayload
|
|
17
18
|
*/
|
|
@@ -16,41 +16,41 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface LegacyDocumentBase64FilePayloadItem {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The file external key
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof LegacyDocumentBase64FilePayloadItem
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
externalKey?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* file data encoded in base 64
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof LegacyDocumentBase64FilePayloadItem
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
base64EncodedData?: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* id of the file
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof LegacyDocumentBase64FilePayloadItem
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
id?: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* File name
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof LegacyDocumentBase64FilePayloadItem
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
fileName?: string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Mime Type of the file
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof LegacyDocumentBase64FilePayloadItem
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
mimeType?: string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Size of the file(in bytes)
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof LegacyDocumentBase64FilePayloadItem
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
sizeBytes?: string;
|
|
54
54
|
}
|
|
55
55
|
export declare function LegacyDocumentBase64FilePayloadItemFromJSON(json: any): LegacyDocumentBase64FilePayloadItem;
|
|
56
56
|
export declare function LegacyDocumentBase64FilePayloadItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyDocumentBase64FilePayloadItem;
|
|
@@ -24,12 +24,12 @@ function LegacyDocumentBase64FilePayloadItemFromJSONTyped(json, ignoreDiscrimina
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
+
'externalKey': !runtime_1.exists(json, 'externalKey') ? undefined : json['externalKey'],
|
|
28
|
+
'base64EncodedData': !runtime_1.exists(json, 'base64EncodedData') ? undefined : json['base64EncodedData'],
|
|
27
29
|
'id': !runtime_1.exists(json, 'id') ? undefined : json['id'],
|
|
28
30
|
'fileName': !runtime_1.exists(json, 'fileName') ? undefined : json['fileName'],
|
|
29
31
|
'mimeType': !runtime_1.exists(json, 'mimeType') ? undefined : json['mimeType'],
|
|
30
32
|
'sizeBytes': !runtime_1.exists(json, 'sizeBytes') ? undefined : json['sizeBytes'],
|
|
31
|
-
'externalKey': !runtime_1.exists(json, 'externalKey') ? undefined : json['externalKey'],
|
|
32
|
-
'base64EncodedData': !runtime_1.exists(json, 'base64EncodedData') ? undefined : json['base64EncodedData'],
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
exports.LegacyDocumentBase64FilePayloadItemFromJSONTyped = LegacyDocumentBase64FilePayloadItemFromJSONTyped;
|
|
@@ -41,12 +41,12 @@ function LegacyDocumentBase64FilePayloadItemToJSON(value) {
|
|
|
41
41
|
return null;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
+
'externalKey': value.externalKey,
|
|
45
|
+
'base64EncodedData': value.base64EncodedData,
|
|
44
46
|
'id': value.id,
|
|
45
47
|
'fileName': value.fileName,
|
|
46
48
|
'mimeType': value.mimeType,
|
|
47
49
|
'sizeBytes': value.sizeBytes,
|
|
48
|
-
'externalKey': value.externalKey,
|
|
49
|
-
'base64EncodedData': value.base64EncodedData,
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
exports.LegacyDocumentBase64FilePayloadItemToJSON = LegacyDocumentBase64FilePayloadItemToJSON;
|
|
@@ -11,47 +11,12 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { LegacyContactContact, LegacyDocumentFile, LegacyUser } from './';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Payload needed by the kronos.document.add method
|
|
15
|
+
* {@example addDocumentUpload.xml} payload example
|
|
15
16
|
* @export
|
|
16
17
|
* @interface LegacyDocumentDocument
|
|
17
18
|
*/
|
|
18
19
|
export interface LegacyDocumentDocument {
|
|
19
|
-
/**
|
|
20
|
-
* Files contained inside the document
|
|
21
|
-
* @type {Array<LegacyDocumentFile>}
|
|
22
|
-
* @memberof LegacyDocumentDocument
|
|
23
|
-
*/
|
|
24
|
-
files?: Array<LegacyDocumentFile>;
|
|
25
|
-
/**
|
|
26
|
-
* List of linked contacts
|
|
27
|
-
* @type {Array<LegacyContactContact>}
|
|
28
|
-
* @memberof LegacyDocumentDocument
|
|
29
|
-
*/
|
|
30
|
-
contacts?: Array<LegacyContactContact>;
|
|
31
|
-
/**
|
|
32
|
-
* email of user who created the document
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof LegacyDocumentDocument
|
|
35
|
-
*/
|
|
36
|
-
createdBy?: string;
|
|
37
|
-
/**
|
|
38
|
-
* date of creation of the document
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof LegacyDocumentDocument
|
|
41
|
-
*/
|
|
42
|
-
createdOn?: string;
|
|
43
|
-
/**
|
|
44
|
-
* email of user who last modified the document
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof LegacyDocumentDocument
|
|
47
|
-
*/
|
|
48
|
-
modifiedBy?: string;
|
|
49
|
-
/**
|
|
50
|
-
* date of the last modification of the document
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof LegacyDocumentDocument
|
|
53
|
-
*/
|
|
54
|
-
modifiedOn?: string;
|
|
55
20
|
/**
|
|
56
21
|
* external key of the document
|
|
57
22
|
* @type {string}
|
|
@@ -118,6 +83,42 @@ export interface LegacyDocumentDocument {
|
|
|
118
83
|
* @memberof LegacyDocumentDocument
|
|
119
84
|
*/
|
|
120
85
|
name?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Files contained inside the document
|
|
88
|
+
* @type {Array<LegacyDocumentFile>}
|
|
89
|
+
* @memberof LegacyDocumentDocument
|
|
90
|
+
*/
|
|
91
|
+
files?: Array<LegacyDocumentFile>;
|
|
92
|
+
/**
|
|
93
|
+
* List of linked contacts
|
|
94
|
+
* @type {Array<LegacyContactContact>}
|
|
95
|
+
* @memberof LegacyDocumentDocument
|
|
96
|
+
*/
|
|
97
|
+
contacts?: Array<LegacyContactContact>;
|
|
98
|
+
/**
|
|
99
|
+
* email of user who created the document
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof LegacyDocumentDocument
|
|
102
|
+
*/
|
|
103
|
+
createdBy?: string;
|
|
104
|
+
/**
|
|
105
|
+
* date of creation of the document
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof LegacyDocumentDocument
|
|
108
|
+
*/
|
|
109
|
+
createdOn?: string;
|
|
110
|
+
/**
|
|
111
|
+
* email of user who last modified the document
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof LegacyDocumentDocument
|
|
114
|
+
*/
|
|
115
|
+
modifiedBy?: string;
|
|
116
|
+
/**
|
|
117
|
+
* date of the last modification of the document
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof LegacyDocumentDocument
|
|
120
|
+
*/
|
|
121
|
+
modifiedOn?: string;
|
|
121
122
|
}
|
|
122
123
|
export declare function LegacyDocumentDocumentFromJSON(json: any): LegacyDocumentDocument;
|
|
123
124
|
export declare function LegacyDocumentDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyDocumentDocument;
|
|
@@ -25,12 +25,6 @@ function LegacyDocumentDocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
-
'files': !runtime_1.exists(json, 'files') ? undefined : (json['files'].map(_1.LegacyDocumentFileFromJSON)),
|
|
29
|
-
'contacts': !runtime_1.exists(json, 'contacts') ? undefined : (json['contacts'].map(_1.LegacyContactContactFromJSON)),
|
|
30
|
-
'createdBy': !runtime_1.exists(json, 'createdBy') ? undefined : json['createdBy'],
|
|
31
|
-
'createdOn': !runtime_1.exists(json, 'createdOn') ? undefined : json['createdOn'],
|
|
32
|
-
'modifiedBy': !runtime_1.exists(json, 'modifiedBy') ? undefined : json['modifiedBy'],
|
|
33
|
-
'modifiedOn': !runtime_1.exists(json, 'modifiedOn') ? undefined : json['modifiedOn'],
|
|
34
28
|
'externalKey': !runtime_1.exists(json, 'externalKey') ? undefined : json['externalKey'],
|
|
35
29
|
'dateStart': !runtime_1.exists(json, 'dateStart') ? undefined : json['dateStart'],
|
|
36
30
|
'dateEnd': !runtime_1.exists(json, 'dateEnd') ? undefined : json['dateEnd'],
|
|
@@ -42,6 +36,12 @@ function LegacyDocumentDocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
36
|
'type': !runtime_1.exists(json, 'type') ? undefined : json['type'],
|
|
43
37
|
'subType': !runtime_1.exists(json, 'subType') ? undefined : json['subType'],
|
|
44
38
|
'name': !runtime_1.exists(json, 'name') ? undefined : json['name'],
|
|
39
|
+
'files': !runtime_1.exists(json, 'files') ? undefined : (json['files'].map(_1.LegacyDocumentFileFromJSON)),
|
|
40
|
+
'contacts': !runtime_1.exists(json, 'contacts') ? undefined : (json['contacts'].map(_1.LegacyContactContactFromJSON)),
|
|
41
|
+
'createdBy': !runtime_1.exists(json, 'createdBy') ? undefined : json['createdBy'],
|
|
42
|
+
'createdOn': !runtime_1.exists(json, 'createdOn') ? undefined : json['createdOn'],
|
|
43
|
+
'modifiedBy': !runtime_1.exists(json, 'modifiedBy') ? undefined : json['modifiedBy'],
|
|
44
|
+
'modifiedOn': !runtime_1.exists(json, 'modifiedOn') ? undefined : json['modifiedOn'],
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
exports.LegacyDocumentDocumentFromJSONTyped = LegacyDocumentDocumentFromJSONTyped;
|
|
@@ -53,12 +53,6 @@ function LegacyDocumentDocumentToJSON(value) {
|
|
|
53
53
|
return null;
|
|
54
54
|
}
|
|
55
55
|
return {
|
|
56
|
-
'files': value.files === undefined ? undefined : (value.files.map(_1.LegacyDocumentFileToJSON)),
|
|
57
|
-
'contacts': value.contacts === undefined ? undefined : (value.contacts.map(_1.LegacyContactContactToJSON)),
|
|
58
|
-
'createdBy': value.createdBy,
|
|
59
|
-
'createdOn': value.createdOn,
|
|
60
|
-
'modifiedBy': value.modifiedBy,
|
|
61
|
-
'modifiedOn': value.modifiedOn,
|
|
62
56
|
'externalKey': value.externalKey,
|
|
63
57
|
'dateStart': value.dateStart,
|
|
64
58
|
'dateEnd': value.dateEnd,
|
|
@@ -70,6 +64,12 @@ function LegacyDocumentDocumentToJSON(value) {
|
|
|
70
64
|
'type': value.type,
|
|
71
65
|
'subType': value.subType,
|
|
72
66
|
'name': value.name,
|
|
67
|
+
'files': value.files === undefined ? undefined : (value.files.map(_1.LegacyDocumentFileToJSON)),
|
|
68
|
+
'contacts': value.contacts === undefined ? undefined : (value.contacts.map(_1.LegacyContactContactToJSON)),
|
|
69
|
+
'createdBy': value.createdBy,
|
|
70
|
+
'createdOn': value.createdOn,
|
|
71
|
+
'modifiedBy': value.modifiedBy,
|
|
72
|
+
'modifiedOn': value.modifiedOn,
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
exports.LegacyDocumentDocumentToJSON = LegacyDocumentDocumentToJSON;
|
|
@@ -22,12 +22,6 @@ export interface LegacyDocumentDocumentListItem {
|
|
|
22
22
|
* @memberof LegacyDocumentDocumentListItem
|
|
23
23
|
*/
|
|
24
24
|
id?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Files contained inside the document
|
|
27
|
-
* @type {Array<LegacyDocumentFile>}
|
|
28
|
-
* @memberof LegacyDocumentDocumentListItem
|
|
29
|
-
*/
|
|
30
|
-
files?: Array<LegacyDocumentFile>;
|
|
31
25
|
/**
|
|
32
26
|
* type of the document
|
|
33
27
|
* @type {string}
|
|
@@ -46,6 +40,12 @@ export interface LegacyDocumentDocumentListItem {
|
|
|
46
40
|
* @memberof LegacyDocumentDocumentListItem
|
|
47
41
|
*/
|
|
48
42
|
name?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Files contained inside the document
|
|
45
|
+
* @type {Array<LegacyDocumentFile>}
|
|
46
|
+
* @memberof LegacyDocumentDocumentListItem
|
|
47
|
+
*/
|
|
48
|
+
files?: Array<LegacyDocumentFile>;
|
|
49
49
|
}
|
|
50
50
|
export declare function LegacyDocumentDocumentListItemFromJSON(json: any): LegacyDocumentDocumentListItem;
|
|
51
51
|
export declare function LegacyDocumentDocumentListItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyDocumentDocumentListItem;
|
|
@@ -26,10 +26,10 @@ function LegacyDocumentDocumentListItemFromJSONTyped(json, ignoreDiscriminator)
|
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
28
|
'id': !runtime_1.exists(json, 'id') ? undefined : json['id'],
|
|
29
|
-
'files': !runtime_1.exists(json, 'files') ? undefined : (json['files'].map(_1.LegacyDocumentFileFromJSON)),
|
|
30
29
|
'type': !runtime_1.exists(json, 'type') ? undefined : json['type'],
|
|
31
30
|
'subType': !runtime_1.exists(json, 'subType') ? undefined : json['subType'],
|
|
32
31
|
'name': !runtime_1.exists(json, 'name') ? undefined : json['name'],
|
|
32
|
+
'files': !runtime_1.exists(json, 'files') ? undefined : (json['files'].map(_1.LegacyDocumentFileFromJSON)),
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
exports.LegacyDocumentDocumentListItemFromJSONTyped = LegacyDocumentDocumentListItemFromJSONTyped;
|
|
@@ -42,10 +42,10 @@ function LegacyDocumentDocumentListItemToJSON(value) {
|
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
44
|
'id': value.id,
|
|
45
|
-
'files': value.files === undefined ? undefined : (value.files.map(_1.LegacyDocumentFileToJSON)),
|
|
46
45
|
'type': value.type,
|
|
47
46
|
'subType': value.subType,
|
|
48
47
|
'name': value.name,
|
|
48
|
+
'files': value.files === undefined ? undefined : (value.files.map(_1.LegacyDocumentFileToJSON)),
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
exports.LegacyDocumentDocumentListItemToJSON = LegacyDocumentDocumentListItemToJSON;
|
|
@@ -11,23 +11,12 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { LegacyContactContactPayloadItem, LegacyDocumentBase64FilePayloadItem, LegacyUser } from './';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Payload needed by the kronos.document.add method
|
|
15
|
+
* {@example addDocumentUpload.xml} payload example
|
|
15
16
|
* @export
|
|
16
17
|
* @interface LegacyDocumentDocumentPayloadItem
|
|
17
18
|
*/
|
|
18
19
|
export interface LegacyDocumentDocumentPayloadItem {
|
|
19
|
-
/**
|
|
20
|
-
* Files contained inside the document
|
|
21
|
-
* @type {Array<LegacyDocumentBase64FilePayloadItem>}
|
|
22
|
-
* @memberof LegacyDocumentDocumentPayloadItem
|
|
23
|
-
*/
|
|
24
|
-
files?: Array<LegacyDocumentBase64FilePayloadItem>;
|
|
25
|
-
/**
|
|
26
|
-
* List of linked contacts
|
|
27
|
-
* @type {Array<LegacyContactContactPayloadItem>}
|
|
28
|
-
* @memberof LegacyDocumentDocumentPayloadItem
|
|
29
|
-
*/
|
|
30
|
-
contacts?: Array<LegacyContactContactPayloadItem>;
|
|
31
20
|
/**
|
|
32
21
|
* external key of the document
|
|
33
22
|
* @type {string}
|
|
@@ -94,6 +83,18 @@ export interface LegacyDocumentDocumentPayloadItem {
|
|
|
94
83
|
* @memberof LegacyDocumentDocumentPayloadItem
|
|
95
84
|
*/
|
|
96
85
|
name?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Files contained inside the document
|
|
88
|
+
* @type {Array<LegacyDocumentBase64FilePayloadItem>}
|
|
89
|
+
* @memberof LegacyDocumentDocumentPayloadItem
|
|
90
|
+
*/
|
|
91
|
+
files?: Array<LegacyDocumentBase64FilePayloadItem>;
|
|
92
|
+
/**
|
|
93
|
+
* List of linked contacts
|
|
94
|
+
* @type {Array<LegacyContactContactPayloadItem>}
|
|
95
|
+
* @memberof LegacyDocumentDocumentPayloadItem
|
|
96
|
+
*/
|
|
97
|
+
contacts?: Array<LegacyContactContactPayloadItem>;
|
|
97
98
|
}
|
|
98
99
|
export declare function LegacyDocumentDocumentPayloadItemFromJSON(json: any): LegacyDocumentDocumentPayloadItem;
|
|
99
100
|
export declare function LegacyDocumentDocumentPayloadItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyDocumentDocumentPayloadItem;
|
|
@@ -25,8 +25,6 @@ function LegacyDocumentDocumentPayloadItemFromJSONTyped(json, ignoreDiscriminato
|
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
-
'files': !runtime_1.exists(json, 'files') ? undefined : (json['files'].map(_1.LegacyDocumentBase64FilePayloadItemFromJSON)),
|
|
29
|
-
'contacts': !runtime_1.exists(json, 'contacts') ? undefined : (json['contacts'].map(_1.LegacyContactContactPayloadItemFromJSON)),
|
|
30
28
|
'externalKey': !runtime_1.exists(json, 'externalKey') ? undefined : json['externalKey'],
|
|
31
29
|
'dateStart': !runtime_1.exists(json, 'dateStart') ? undefined : json['dateStart'],
|
|
32
30
|
'dateEnd': !runtime_1.exists(json, 'dateEnd') ? undefined : json['dateEnd'],
|
|
@@ -38,6 +36,8 @@ function LegacyDocumentDocumentPayloadItemFromJSONTyped(json, ignoreDiscriminato
|
|
|
38
36
|
'type': !runtime_1.exists(json, 'type') ? undefined : json['type'],
|
|
39
37
|
'subType': !runtime_1.exists(json, 'subType') ? undefined : json['subType'],
|
|
40
38
|
'name': !runtime_1.exists(json, 'name') ? undefined : json['name'],
|
|
39
|
+
'files': !runtime_1.exists(json, 'files') ? undefined : (json['files'].map(_1.LegacyDocumentBase64FilePayloadItemFromJSON)),
|
|
40
|
+
'contacts': !runtime_1.exists(json, 'contacts') ? undefined : (json['contacts'].map(_1.LegacyContactContactPayloadItemFromJSON)),
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
exports.LegacyDocumentDocumentPayloadItemFromJSONTyped = LegacyDocumentDocumentPayloadItemFromJSONTyped;
|
|
@@ -49,8 +49,6 @@ function LegacyDocumentDocumentPayloadItemToJSON(value) {
|
|
|
49
49
|
return null;
|
|
50
50
|
}
|
|
51
51
|
return {
|
|
52
|
-
'files': value.files === undefined ? undefined : (value.files.map(_1.LegacyDocumentBase64FilePayloadItemToJSON)),
|
|
53
|
-
'contacts': value.contacts === undefined ? undefined : (value.contacts.map(_1.LegacyContactContactPayloadItemToJSON)),
|
|
54
52
|
'externalKey': value.externalKey,
|
|
55
53
|
'dateStart': value.dateStart,
|
|
56
54
|
'dateEnd': value.dateEnd,
|
|
@@ -62,6 +60,8 @@ function LegacyDocumentDocumentPayloadItemToJSON(value) {
|
|
|
62
60
|
'type': value.type,
|
|
63
61
|
'subType': value.subType,
|
|
64
62
|
'name': value.name,
|
|
63
|
+
'files': value.files === undefined ? undefined : (value.files.map(_1.LegacyDocumentBase64FilePayloadItemToJSON)),
|
|
64
|
+
'contacts': value.contacts === undefined ? undefined : (value.contacts.map(_1.LegacyContactContactPayloadItemToJSON)),
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
exports.LegacyDocumentDocumentPayloadItemToJSON = LegacyDocumentDocumentPayloadItemToJSON;
|
|
@@ -11,11 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { LegacyDocumentBase64FilePayloadItem } from './';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Response datatype returned by the kronos.document.downloadFile method
|
|
15
|
+
* {@example downloadFileResponse.xml} response example
|
|
15
16
|
* @export
|
|
16
17
|
* @interface LegacyDocumentDownloadFileResponse
|
|
17
18
|
*/
|
|
18
19
|
export interface LegacyDocumentDownloadFileResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Array of documents
|
|
22
|
+
* @type {Array<LegacyDocumentBase64FilePayloadItem>}
|
|
23
|
+
* @memberof LegacyDocumentDownloadFileResponse
|
|
24
|
+
*/
|
|
25
|
+
files: Array<LegacyDocumentBase64FilePayloadItem>;
|
|
19
26
|
/**
|
|
20
27
|
* Status of the request that has been made. Can be 'ok' or 'fail'
|
|
21
28
|
* @type {string}
|
|
@@ -34,12 +41,6 @@ export interface LegacyDocumentDownloadFileResponse {
|
|
|
34
41
|
* @memberof LegacyDocumentDownloadFileResponse
|
|
35
42
|
*/
|
|
36
43
|
errorMsg?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Array of documents
|
|
39
|
-
* @type {Array<LegacyDocumentBase64FilePayloadItem>}
|
|
40
|
-
* @memberof LegacyDocumentDownloadFileResponse
|
|
41
|
-
*/
|
|
42
|
-
files: Array<LegacyDocumentBase64FilePayloadItem>;
|
|
43
44
|
}
|
|
44
45
|
export declare function LegacyDocumentDownloadFileResponseFromJSON(json: any): LegacyDocumentDownloadFileResponse;
|
|
45
46
|
export declare function LegacyDocumentDownloadFileResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyDocumentDownloadFileResponse;
|
|
@@ -25,10 +25,10 @@ function LegacyDocumentDownloadFileResponseFromJSONTyped(json, ignoreDiscriminat
|
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
+
'files': (json['files'].map(_1.LegacyDocumentBase64FilePayloadItemFromJSON)),
|
|
28
29
|
'stat': !runtime_1.exists(json, 'stat') ? undefined : json['stat'],
|
|
29
30
|
'errorCode': !runtime_1.exists(json, 'error_code') ? undefined : json['error_code'],
|
|
30
31
|
'errorMsg': !runtime_1.exists(json, 'error_msg') ? undefined : json['error_msg'],
|
|
31
|
-
'files': (json['files'].map(_1.LegacyDocumentBase64FilePayloadItemFromJSON)),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
exports.LegacyDocumentDownloadFileResponseFromJSONTyped = LegacyDocumentDownloadFileResponseFromJSONTyped;
|
|
@@ -40,10 +40,10 @@ function LegacyDocumentDownloadFileResponseToJSON(value) {
|
|
|
40
40
|
return null;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
+
'files': (value.files.map(_1.LegacyDocumentBase64FilePayloadItemToJSON)),
|
|
43
44
|
'stat': value.stat,
|
|
44
45
|
'error_code': value.errorCode,
|
|
45
46
|
'error_msg': value.errorMsg,
|
|
46
|
-
'files': (value.files.map(_1.LegacyDocumentBase64FilePayloadItemToJSON)),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
exports.LegacyDocumentDownloadFileResponseToJSON = LegacyDocumentDownloadFileResponseToJSON;
|
|
@@ -21,7 +21,7 @@ export interface LegacyDocumentDownloadFileResponseAllOf {
|
|
|
21
21
|
* @type {Array<LegacyDocumentBase64FilePayloadItem>}
|
|
22
22
|
* @memberof LegacyDocumentDownloadFileResponseAllOf
|
|
23
23
|
*/
|
|
24
|
-
files
|
|
24
|
+
files?: Array<LegacyDocumentBase64FilePayloadItem>;
|
|
25
25
|
}
|
|
26
26
|
export declare function LegacyDocumentDownloadFileResponseAllOfFromJSON(json: any): LegacyDocumentDownloadFileResponseAllOf;
|
|
27
27
|
export declare function LegacyDocumentDownloadFileResponseAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyDocumentDownloadFileResponseAllOf;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.LegacyDocumentDownloadFileResponseAllOfToJSON = exports.LegacyDocumentDownloadFileResponseAllOfFromJSONTyped = exports.LegacyDocumentDownloadFileResponseAllOfFromJSON = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
const _1 = require("./");
|
|
18
19
|
function LegacyDocumentDownloadFileResponseAllOfFromJSON(json) {
|
|
19
20
|
return LegacyDocumentDownloadFileResponseAllOfFromJSONTyped(json, false);
|
|
@@ -24,7 +25,7 @@ function LegacyDocumentDownloadFileResponseAllOfFromJSONTyped(json, ignoreDiscri
|
|
|
24
25
|
return json;
|
|
25
26
|
}
|
|
26
27
|
return {
|
|
27
|
-
'files': (json['files'].map(_1.LegacyDocumentBase64FilePayloadItemFromJSON)),
|
|
28
|
+
'files': !runtime_1.exists(json, 'files') ? undefined : (json['files'].map(_1.LegacyDocumentBase64FilePayloadItemFromJSON)),
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
exports.LegacyDocumentDownloadFileResponseAllOfFromJSONTyped = LegacyDocumentDownloadFileResponseAllOfFromJSONTyped;
|
|
@@ -36,7 +37,7 @@ function LegacyDocumentDownloadFileResponseAllOfToJSON(value) {
|
|
|
36
37
|
return null;
|
|
37
38
|
}
|
|
38
39
|
return {
|
|
39
|
-
'files': (value.files.map(_1.LegacyDocumentBase64FilePayloadItemToJSON)),
|
|
40
|
+
'files': value.files === undefined ? undefined : (value.files.map(_1.LegacyDocumentBase64FilePayloadItemToJSON)),
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
exports.LegacyDocumentDownloadFileResponseAllOfToJSON = LegacyDocumentDownloadFileResponseAllOfToJSON;
|
|
@@ -11,11 +11,20 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { LegacyDocumentDocumentListItem } from './';
|
|
13
13
|
/**
|
|
14
|
+
* Response datatype returned by the kronos.document.getList method
|
|
14
15
|
*
|
|
16
|
+
* Response example:
|
|
17
|
+
* {@example getListDocumentResponse.xml}
|
|
15
18
|
* @export
|
|
16
19
|
* @interface LegacyDocumentGetListResponse
|
|
17
20
|
*/
|
|
18
21
|
export interface LegacyDocumentGetListResponse {
|
|
22
|
+
/**
|
|
23
|
+
* Array of documents
|
|
24
|
+
* @type {Array<LegacyDocumentDocumentListItem>}
|
|
25
|
+
* @memberof LegacyDocumentGetListResponse
|
|
26
|
+
*/
|
|
27
|
+
documents: Array<LegacyDocumentDocumentListItem>;
|
|
19
28
|
/**
|
|
20
29
|
* Status of the request that has been made. Can be 'ok' or 'fail'
|
|
21
30
|
* @type {string}
|
|
@@ -34,12 +43,6 @@ export interface LegacyDocumentGetListResponse {
|
|
|
34
43
|
* @memberof LegacyDocumentGetListResponse
|
|
35
44
|
*/
|
|
36
45
|
errorMsg?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Array of documents
|
|
39
|
-
* @type {Array<LegacyDocumentDocumentListItem>}
|
|
40
|
-
* @memberof LegacyDocumentGetListResponse
|
|
41
|
-
*/
|
|
42
|
-
documents: Array<LegacyDocumentDocumentListItem>;
|
|
43
46
|
}
|
|
44
47
|
export declare function LegacyDocumentGetListResponseFromJSON(json: any): LegacyDocumentGetListResponse;
|
|
45
48
|
export declare function LegacyDocumentGetListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyDocumentGetListResponse;
|
|
@@ -25,10 +25,10 @@ function LegacyDocumentGetListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
+
'documents': (json['documents'].map(_1.LegacyDocumentDocumentListItemFromJSON)),
|
|
28
29
|
'stat': !runtime_1.exists(json, 'stat') ? undefined : json['stat'],
|
|
29
30
|
'errorCode': !runtime_1.exists(json, 'error_code') ? undefined : json['error_code'],
|
|
30
31
|
'errorMsg': !runtime_1.exists(json, 'error_msg') ? undefined : json['error_msg'],
|
|
31
|
-
'documents': (json['documents'].map(_1.LegacyDocumentDocumentListItemFromJSON)),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
exports.LegacyDocumentGetListResponseFromJSONTyped = LegacyDocumentGetListResponseFromJSONTyped;
|
|
@@ -40,10 +40,10 @@ function LegacyDocumentGetListResponseToJSON(value) {
|
|
|
40
40
|
return null;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
+
'documents': (value.documents.map(_1.LegacyDocumentDocumentListItemToJSON)),
|
|
43
44
|
'stat': value.stat,
|
|
44
45
|
'error_code': value.errorCode,
|
|
45
46
|
'error_msg': value.errorMsg,
|
|
46
|
-
'documents': (value.documents.map(_1.LegacyDocumentDocumentListItemToJSON)),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
exports.LegacyDocumentGetListResponseToJSON = LegacyDocumentGetListResponseToJSON;
|
|
@@ -21,7 +21,7 @@ export interface LegacyDocumentGetListResponseAllOf {
|
|
|
21
21
|
* @type {Array<LegacyDocumentDocumentListItem>}
|
|
22
22
|
* @memberof LegacyDocumentGetListResponseAllOf
|
|
23
23
|
*/
|
|
24
|
-
documents
|
|
24
|
+
documents?: Array<LegacyDocumentDocumentListItem>;
|
|
25
25
|
}
|
|
26
26
|
export declare function LegacyDocumentGetListResponseAllOfFromJSON(json: any): LegacyDocumentGetListResponseAllOf;
|
|
27
27
|
export declare function LegacyDocumentGetListResponseAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyDocumentGetListResponseAllOf;
|