@ayasofyazilim/saas 0.0.147 → 0.0.148
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/FileService/FileServiceClient.ts +3 -0
- package/FileService/schemas.gen.ts +331 -17
- package/FileService/sdk.gen.ts +147 -6
- package/FileService/types.gen.ts +130 -12
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import { Interceptors } from './core/OpenAPI';
|
|
|
4
4
|
import { FetchHttpRequest } from './core/FetchHttpRequest';
|
|
5
5
|
|
|
6
6
|
import { FileService } from './sdk.gen';
|
|
7
|
+
import { FileAiInfoService } from './sdk.gen';
|
|
7
8
|
import { FileRelationService } from './sdk.gen';
|
|
8
9
|
import { FileRelationEntityService } from './sdk.gen';
|
|
9
10
|
import { FileTypeService } from './sdk.gen';
|
|
@@ -17,6 +18,7 @@ type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
|
17
18
|
export class FileServiceClient {
|
|
18
19
|
|
|
19
20
|
public readonly file: FileService;
|
|
21
|
+
public readonly fileAiInfo: FileAiInfoService;
|
|
20
22
|
public readonly fileRelation: FileRelationService;
|
|
21
23
|
public readonly fileRelationEntity: FileRelationEntityService;
|
|
22
24
|
public readonly fileType: FileTypeService;
|
|
@@ -45,6 +47,7 @@ export class FileServiceClient {
|
|
|
45
47
|
});
|
|
46
48
|
|
|
47
49
|
this.file = new FileService(this.request);
|
|
50
|
+
this.fileAiInfo = new FileAiInfoService(this.request);
|
|
48
51
|
this.fileRelation = new FileRelationService(this.request);
|
|
49
52
|
this.fileRelationEntity = new FileRelationEntityService(this.request);
|
|
50
53
|
this.fileType = new FileTypeService(this.request);
|
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
+
export const $PagedResultDto_FileForHumanValidationDto = {
|
|
4
|
+
type: 'object',
|
|
5
|
+
properties: {
|
|
6
|
+
items: {
|
|
7
|
+
type: 'array',
|
|
8
|
+
items: {
|
|
9
|
+
required: ['fileAIValidationStatus', 'fileHumanValidationStatus', 'fileLink', 'id'],
|
|
10
|
+
type: 'object',
|
|
11
|
+
properties: {
|
|
12
|
+
id: {
|
|
13
|
+
type: 'string',
|
|
14
|
+
format: 'uuid'
|
|
15
|
+
},
|
|
16
|
+
fileLink: {
|
|
17
|
+
minLength: 1,
|
|
18
|
+
type: 'string'
|
|
19
|
+
},
|
|
20
|
+
isValidated: {
|
|
21
|
+
type: 'boolean',
|
|
22
|
+
nullable: true
|
|
23
|
+
},
|
|
24
|
+
fileAIValidationStatus: {
|
|
25
|
+
enum: ['NotRequired', 'Waiting', 'NotConfirmed', 'Confirmed'],
|
|
26
|
+
type: 'string'
|
|
27
|
+
},
|
|
28
|
+
fileHumanValidationStatus: {
|
|
29
|
+
enum: ['NotRequired', 'Waiting', 'NotConfirmed', 'Confirmed'],
|
|
30
|
+
type: 'string'
|
|
31
|
+
},
|
|
32
|
+
validatorUser: {
|
|
33
|
+
type: 'string',
|
|
34
|
+
format: 'uuid',
|
|
35
|
+
nullable: true
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
additionalProperties: false
|
|
39
|
+
},
|
|
40
|
+
nullable: true
|
|
41
|
+
},
|
|
42
|
+
totalCount: {
|
|
43
|
+
type: 'integer',
|
|
44
|
+
format: 'int64'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
additionalProperties: false
|
|
48
|
+
} as const;
|
|
49
|
+
|
|
3
50
|
export const $PagedResultDto_FileRelationEntityListDto = {
|
|
4
51
|
type: 'object',
|
|
5
52
|
properties: {
|
|
@@ -116,7 +163,7 @@ export const $PagedResultDto_FileTypeListDto = {
|
|
|
116
163
|
items: {
|
|
117
164
|
type: 'array',
|
|
118
165
|
items: {
|
|
119
|
-
required: ['containerName', 'dateRequired', 'filePath', 'fileTypeGroupID', 'fileTypeGroupName', 'id', 'isFileTypeRequired', 'isMulti', 'isPublic', 'isTenant', 'name', 'namespace', 'numberRequired', 'originatorRequired', 'providerID', 'providerType'],
|
|
166
|
+
required: ['containerName', 'dateRequired', 'filePath', 'fileTypeGroupID', 'fileTypeGroupName', 'id', 'isFileTypeRequired', 'isMulti', 'isPublic', 'isTenant', 'name', 'namespace', 'numberRequired', 'originatorRequired', 'providerID', 'providerType', 'unstract1Enabled', 'unstract2Enabled'],
|
|
120
167
|
type: 'object',
|
|
121
168
|
properties: {
|
|
122
169
|
id: {
|
|
@@ -175,6 +222,12 @@ export const $PagedResultDto_FileTypeListDto = {
|
|
|
175
222
|
},
|
|
176
223
|
isFileTypeRequired: {
|
|
177
224
|
type: 'boolean'
|
|
225
|
+
},
|
|
226
|
+
unstract1Enabled: {
|
|
227
|
+
type: 'boolean'
|
|
228
|
+
},
|
|
229
|
+
unstract2Enabled: {
|
|
230
|
+
type: 'boolean'
|
|
178
231
|
}
|
|
179
232
|
},
|
|
180
233
|
additionalProperties: false
|
|
@@ -303,11 +356,69 @@ export const $PagedResultDto_ProviderListDto = {
|
|
|
303
356
|
additionalProperties: false
|
|
304
357
|
} as const;
|
|
305
358
|
|
|
306
|
-
export const $
|
|
307
|
-
enum: ['
|
|
359
|
+
export const $UniRefund_FileService_Enums_FileValidationStatus = {
|
|
360
|
+
enum: ['NotRequired', 'Waiting', 'NotConfirmed', 'Confirmed'],
|
|
361
|
+
type: 'string'
|
|
362
|
+
} as const;
|
|
363
|
+
|
|
364
|
+
export const $UniRefund_FileService_Enums_LLMChallengeStatus = {
|
|
365
|
+
enum: ['None', 'NotResultedYet', 'Failed', 'Success'],
|
|
366
|
+
type: 'string'
|
|
367
|
+
} as const;
|
|
368
|
+
|
|
369
|
+
export const $UniRefund_FileService_Enums_UnstractStatus = {
|
|
370
|
+
enum: ['SentToQueue', 'Started', 'Completed', 'FailedWhileGettingFile', 'FailedWhileSendingFile', 'FailedInUnstract', 'SentToQueueByTriggering', 'None'],
|
|
308
371
|
type: 'string'
|
|
309
372
|
} as const;
|
|
310
373
|
|
|
374
|
+
export const $UniRefund_FileService_FileAIInfos_FileAIInfoDto = {
|
|
375
|
+
type: 'object',
|
|
376
|
+
properties: {
|
|
377
|
+
unstract1OutputJson: {
|
|
378
|
+
type: 'string',
|
|
379
|
+
nullable: true
|
|
380
|
+
},
|
|
381
|
+
unstract2OutputJson: {
|
|
382
|
+
type: 'string',
|
|
383
|
+
nullable: true
|
|
384
|
+
},
|
|
385
|
+
unstract1Status: {
|
|
386
|
+
enum: ['SentToQueue', 'Started', 'Completed', 'FailedWhileGettingFile', 'FailedWhileSendingFile', 'FailedInUnstract', 'SentToQueueByTriggering', 'None'],
|
|
387
|
+
type: 'string'
|
|
388
|
+
},
|
|
389
|
+
unstract2Status: {
|
|
390
|
+
enum: ['SentToQueue', 'Started', 'Completed', 'FailedWhileGettingFile', 'FailedWhileSendingFile', 'FailedInUnstract', 'SentToQueueByTriggering', 'None'],
|
|
391
|
+
type: 'string'
|
|
392
|
+
},
|
|
393
|
+
llmChallengeStatus: {
|
|
394
|
+
enum: ['None', 'NotResultedYet', 'Failed', 'Success'],
|
|
395
|
+
type: 'string'
|
|
396
|
+
},
|
|
397
|
+
llmChallengeAccuracy: {
|
|
398
|
+
type: 'number',
|
|
399
|
+
format: 'double',
|
|
400
|
+
nullable: true
|
|
401
|
+
},
|
|
402
|
+
unstract1ExecutionId: {
|
|
403
|
+
type: 'string',
|
|
404
|
+
format: 'uuid',
|
|
405
|
+
nullable: true
|
|
406
|
+
},
|
|
407
|
+
unstract2ExecutionId: {
|
|
408
|
+
type: 'string',
|
|
409
|
+
format: 'uuid',
|
|
410
|
+
nullable: true
|
|
411
|
+
},
|
|
412
|
+
isUnstractEverFailed: {
|
|
413
|
+
type: 'boolean'
|
|
414
|
+
},
|
|
415
|
+
isUnstractEverTriggeredManual: {
|
|
416
|
+
type: 'boolean'
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
additionalProperties: false
|
|
420
|
+
} as const;
|
|
421
|
+
|
|
311
422
|
export const $UniRefund_FileService_FileRelationEntities_FileRelationEntityCreateDto = {
|
|
312
423
|
required: ['fileTypeId', 'relatedEntityName', 'relatedEntityProperty', 'required'],
|
|
313
424
|
type: 'object',
|
|
@@ -813,9 +924,15 @@ export const $UniRefund_FileService_FileTypeMimeTypes_FileTypeMimeTypesUpdateDto
|
|
|
813
924
|
} as const;
|
|
814
925
|
|
|
815
926
|
export const $UniRefund_FileService_FileTypes_FileTypeCreateDto = {
|
|
816
|
-
required: ['containerName', 'dateRequired', 'descriptionRequired', 'filePath', 'fileTypeGroupNamespace', 'isFileTypeRequired', '
|
|
927
|
+
required: ['containerName', 'dateRequired', 'descriptionRequired', 'filePath', 'fileTypeGroupNamespace', 'isAIValidationRequired', 'isFileTypeRequired', 'isHumanValidationRequired', 'isMulti', 'isPublic', 'isTenant', 'name', 'namespace', 'numberRequired', 'originatorRequired', 'providerID', 'unstract1Enabled', 'unstract2Enabled'],
|
|
817
928
|
type: 'object',
|
|
818
929
|
properties: {
|
|
930
|
+
extraProperties: {
|
|
931
|
+
type: 'object',
|
|
932
|
+
additionalProperties: {},
|
|
933
|
+
nullable: true,
|
|
934
|
+
readOnly: true
|
|
935
|
+
},
|
|
819
936
|
fileTypeGroupNamespace: {
|
|
820
937
|
minLength: 1,
|
|
821
938
|
type: 'string'
|
|
@@ -863,7 +980,10 @@ export const $UniRefund_FileService_FileTypes_FileTypeCreateDto = {
|
|
|
863
980
|
descriptionRequired: {
|
|
864
981
|
type: 'boolean'
|
|
865
982
|
},
|
|
866
|
-
|
|
983
|
+
isAIValidationRequired: {
|
|
984
|
+
type: 'boolean'
|
|
985
|
+
},
|
|
986
|
+
isHumanValidationRequired: {
|
|
867
987
|
type: 'boolean'
|
|
868
988
|
},
|
|
869
989
|
numberRequired: {
|
|
@@ -871,13 +991,39 @@ export const $UniRefund_FileService_FileTypes_FileTypeCreateDto = {
|
|
|
871
991
|
},
|
|
872
992
|
isFileTypeRequired: {
|
|
873
993
|
type: 'boolean'
|
|
994
|
+
},
|
|
995
|
+
unstract1Enabled: {
|
|
996
|
+
type: 'boolean'
|
|
997
|
+
},
|
|
998
|
+
unstract2Enabled: {
|
|
999
|
+
type: 'boolean'
|
|
1000
|
+
},
|
|
1001
|
+
unstract1URL: {
|
|
1002
|
+
type: 'string',
|
|
1003
|
+
nullable: true
|
|
1004
|
+
},
|
|
1005
|
+
unstract2URL: {
|
|
1006
|
+
type: 'string',
|
|
1007
|
+
nullable: true
|
|
1008
|
+
},
|
|
1009
|
+
unstract1Token: {
|
|
1010
|
+
type: 'string',
|
|
1011
|
+
nullable: true
|
|
1012
|
+
},
|
|
1013
|
+
unstract2Token: {
|
|
1014
|
+
type: 'string',
|
|
1015
|
+
nullable: true
|
|
1016
|
+
},
|
|
1017
|
+
unstractJsonScheme: {
|
|
1018
|
+
type: 'string',
|
|
1019
|
+
nullable: true
|
|
874
1020
|
}
|
|
875
1021
|
},
|
|
876
1022
|
additionalProperties: false
|
|
877
1023
|
} as const;
|
|
878
1024
|
|
|
879
1025
|
export const $UniRefund_FileService_FileTypes_FileTypeDto = {
|
|
880
|
-
required: ['containerName', 'dateRequired', 'descriptionRequired', 'filePath', 'isFileTypeRequired', '
|
|
1026
|
+
required: ['containerName', 'dateRequired', 'descriptionRequired', 'filePath', 'isAIValidationRequired', 'isAnyValidationRequired', 'isFileTypeRequired', 'isHumanValidationRequired', 'isMulti', 'isPublic', 'isTenant', 'name', 'namespace', 'numberRequired', 'originatorRequired', 'providerID', 'unstract1Enabled', 'unstract2Enabled'],
|
|
881
1027
|
type: 'object',
|
|
882
1028
|
properties: {
|
|
883
1029
|
providerID: {
|
|
@@ -923,7 +1069,13 @@ export const $UniRefund_FileService_FileTypes_FileTypeDto = {
|
|
|
923
1069
|
descriptionRequired: {
|
|
924
1070
|
type: 'boolean'
|
|
925
1071
|
},
|
|
926
|
-
|
|
1072
|
+
isAnyValidationRequired: {
|
|
1073
|
+
type: 'boolean'
|
|
1074
|
+
},
|
|
1075
|
+
isAIValidationRequired: {
|
|
1076
|
+
type: 'boolean'
|
|
1077
|
+
},
|
|
1078
|
+
isHumanValidationRequired: {
|
|
927
1079
|
type: 'boolean'
|
|
928
1080
|
},
|
|
929
1081
|
numberRequired: {
|
|
@@ -931,13 +1083,39 @@ export const $UniRefund_FileService_FileTypes_FileTypeDto = {
|
|
|
931
1083
|
},
|
|
932
1084
|
isFileTypeRequired: {
|
|
933
1085
|
type: 'boolean'
|
|
1086
|
+
},
|
|
1087
|
+
unstract1Enabled: {
|
|
1088
|
+
type: 'boolean'
|
|
1089
|
+
},
|
|
1090
|
+
unstract2Enabled: {
|
|
1091
|
+
type: 'boolean'
|
|
1092
|
+
},
|
|
1093
|
+
unstract1URL: {
|
|
1094
|
+
type: 'string',
|
|
1095
|
+
nullable: true
|
|
1096
|
+
},
|
|
1097
|
+
unstract2URL: {
|
|
1098
|
+
type: 'string',
|
|
1099
|
+
nullable: true
|
|
1100
|
+
},
|
|
1101
|
+
unstract1Token: {
|
|
1102
|
+
type: 'string',
|
|
1103
|
+
nullable: true
|
|
1104
|
+
},
|
|
1105
|
+
unstract2Token: {
|
|
1106
|
+
type: 'string',
|
|
1107
|
+
nullable: true
|
|
1108
|
+
},
|
|
1109
|
+
unstractJsonScheme: {
|
|
1110
|
+
type: 'string',
|
|
1111
|
+
nullable: true
|
|
934
1112
|
}
|
|
935
1113
|
},
|
|
936
1114
|
additionalProperties: false
|
|
937
1115
|
} as const;
|
|
938
1116
|
|
|
939
1117
|
export const $UniRefund_FileService_FileTypes_FileTypeListDto = {
|
|
940
|
-
required: ['containerName', 'dateRequired', 'filePath', 'fileTypeGroupID', 'fileTypeGroupName', 'id', 'isFileTypeRequired', 'isMulti', 'isPublic', 'isTenant', 'name', 'namespace', 'numberRequired', 'originatorRequired', 'providerID', 'providerType'],
|
|
1118
|
+
required: ['containerName', 'dateRequired', 'filePath', 'fileTypeGroupID', 'fileTypeGroupName', 'id', 'isFileTypeRequired', 'isMulti', 'isPublic', 'isTenant', 'name', 'namespace', 'numberRequired', 'originatorRequired', 'providerID', 'providerType', 'unstract1Enabled', 'unstract2Enabled'],
|
|
941
1119
|
type: 'object',
|
|
942
1120
|
properties: {
|
|
943
1121
|
id: {
|
|
@@ -996,14 +1174,27 @@ export const $UniRefund_FileService_FileTypes_FileTypeListDto = {
|
|
|
996
1174
|
},
|
|
997
1175
|
isFileTypeRequired: {
|
|
998
1176
|
type: 'boolean'
|
|
1177
|
+
},
|
|
1178
|
+
unstract1Enabled: {
|
|
1179
|
+
type: 'boolean'
|
|
1180
|
+
},
|
|
1181
|
+
unstract2Enabled: {
|
|
1182
|
+
type: 'boolean'
|
|
999
1183
|
}
|
|
1000
1184
|
},
|
|
1001
1185
|
additionalProperties: false
|
|
1002
1186
|
} as const;
|
|
1003
1187
|
|
|
1004
1188
|
export const $UniRefund_FileService_FileTypes_FileTypeUpdateDto = {
|
|
1189
|
+
required: ['isAIValidationRequired', 'isHumanValidationRequired', 'unstract1Enabled', 'unstract2Enabled'],
|
|
1005
1190
|
type: 'object',
|
|
1006
1191
|
properties: {
|
|
1192
|
+
extraProperties: {
|
|
1193
|
+
type: 'object',
|
|
1194
|
+
additionalProperties: {},
|
|
1195
|
+
nullable: true,
|
|
1196
|
+
readOnly: true
|
|
1197
|
+
},
|
|
1007
1198
|
fileTypeGroupNamespace: {
|
|
1008
1199
|
type: 'string',
|
|
1009
1200
|
nullable: true
|
|
@@ -1058,13 +1249,41 @@ export const $UniRefund_FileService_FileTypes_FileTypeUpdateDto = {
|
|
|
1058
1249
|
type: 'boolean',
|
|
1059
1250
|
nullable: true
|
|
1060
1251
|
},
|
|
1061
|
-
|
|
1062
|
-
type: 'boolean'
|
|
1063
|
-
|
|
1252
|
+
isAIValidationRequired: {
|
|
1253
|
+
type: 'boolean'
|
|
1254
|
+
},
|
|
1255
|
+
isHumanValidationRequired: {
|
|
1256
|
+
type: 'boolean'
|
|
1064
1257
|
},
|
|
1065
1258
|
isFileTypeRequired: {
|
|
1066
1259
|
type: 'boolean',
|
|
1067
1260
|
nullable: true
|
|
1261
|
+
},
|
|
1262
|
+
unstract1Enabled: {
|
|
1263
|
+
type: 'boolean'
|
|
1264
|
+
},
|
|
1265
|
+
unstract2Enabled: {
|
|
1266
|
+
type: 'boolean'
|
|
1267
|
+
},
|
|
1268
|
+
unstract1URL: {
|
|
1269
|
+
type: 'string',
|
|
1270
|
+
nullable: true
|
|
1271
|
+
},
|
|
1272
|
+
unstract2URL: {
|
|
1273
|
+
type: 'string',
|
|
1274
|
+
nullable: true
|
|
1275
|
+
},
|
|
1276
|
+
unstract1Token: {
|
|
1277
|
+
type: 'string',
|
|
1278
|
+
nullable: true
|
|
1279
|
+
},
|
|
1280
|
+
unstract2Token: {
|
|
1281
|
+
type: 'string',
|
|
1282
|
+
nullable: true
|
|
1283
|
+
},
|
|
1284
|
+
unstractJsonScheme: {
|
|
1285
|
+
type: 'string',
|
|
1286
|
+
nullable: true
|
|
1068
1287
|
}
|
|
1069
1288
|
},
|
|
1070
1289
|
additionalProperties: false
|
|
@@ -1158,6 +1377,93 @@ export const $UniRefund_FileService_Files_FileCreateDto = {
|
|
|
1158
1377
|
additionalProperties: false
|
|
1159
1378
|
} as const;
|
|
1160
1379
|
|
|
1380
|
+
export const $UniRefund_FileService_Files_FileDto = {
|
|
1381
|
+
required: ['fileType', 'property', 'relatedEntity'],
|
|
1382
|
+
type: 'object',
|
|
1383
|
+
properties: {
|
|
1384
|
+
fileType: {
|
|
1385
|
+
minLength: 1,
|
|
1386
|
+
type: 'string'
|
|
1387
|
+
},
|
|
1388
|
+
isValidated: {
|
|
1389
|
+
type: 'boolean',
|
|
1390
|
+
nullable: true
|
|
1391
|
+
},
|
|
1392
|
+
fileAIValidationStatus: {
|
|
1393
|
+
enum: ['NotRequired', 'Waiting', 'NotConfirmed', 'Confirmed'],
|
|
1394
|
+
type: 'string'
|
|
1395
|
+
},
|
|
1396
|
+
fileHumanValidationStatus: {
|
|
1397
|
+
enum: ['NotRequired', 'Waiting', 'NotConfirmed', 'Confirmed'],
|
|
1398
|
+
type: 'string'
|
|
1399
|
+
},
|
|
1400
|
+
validatorUser: {
|
|
1401
|
+
type: 'string',
|
|
1402
|
+
format: 'uuid',
|
|
1403
|
+
nullable: true
|
|
1404
|
+
},
|
|
1405
|
+
relatedEntity: {
|
|
1406
|
+
minLength: 1,
|
|
1407
|
+
type: 'string'
|
|
1408
|
+
},
|
|
1409
|
+
property: {
|
|
1410
|
+
minLength: 1,
|
|
1411
|
+
type: 'string'
|
|
1412
|
+
},
|
|
1413
|
+
documentDate: {
|
|
1414
|
+
type: 'string',
|
|
1415
|
+
format: 'date-time',
|
|
1416
|
+
nullable: true
|
|
1417
|
+
},
|
|
1418
|
+
documentOriginator: {
|
|
1419
|
+
type: 'string',
|
|
1420
|
+
nullable: true
|
|
1421
|
+
},
|
|
1422
|
+
fileDescription: {
|
|
1423
|
+
type: 'string',
|
|
1424
|
+
nullable: true
|
|
1425
|
+
},
|
|
1426
|
+
documentNumber: {
|
|
1427
|
+
type: 'string',
|
|
1428
|
+
nullable: true
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1431
|
+
additionalProperties: false
|
|
1432
|
+
} as const;
|
|
1433
|
+
|
|
1434
|
+
export const $UniRefund_FileService_Files_FileForHumanValidationDto = {
|
|
1435
|
+
required: ['fileAIValidationStatus', 'fileHumanValidationStatus', 'fileLink', 'id'],
|
|
1436
|
+
type: 'object',
|
|
1437
|
+
properties: {
|
|
1438
|
+
id: {
|
|
1439
|
+
type: 'string',
|
|
1440
|
+
format: 'uuid'
|
|
1441
|
+
},
|
|
1442
|
+
fileLink: {
|
|
1443
|
+
minLength: 1,
|
|
1444
|
+
type: 'string'
|
|
1445
|
+
},
|
|
1446
|
+
isValidated: {
|
|
1447
|
+
type: 'boolean',
|
|
1448
|
+
nullable: true
|
|
1449
|
+
},
|
|
1450
|
+
fileAIValidationStatus: {
|
|
1451
|
+
enum: ['NotRequired', 'Waiting', 'NotConfirmed', 'Confirmed'],
|
|
1452
|
+
type: 'string'
|
|
1453
|
+
},
|
|
1454
|
+
fileHumanValidationStatus: {
|
|
1455
|
+
enum: ['NotRequired', 'Waiting', 'NotConfirmed', 'Confirmed'],
|
|
1456
|
+
type: 'string'
|
|
1457
|
+
},
|
|
1458
|
+
validatorUser: {
|
|
1459
|
+
type: 'string',
|
|
1460
|
+
format: 'uuid',
|
|
1461
|
+
nullable: true
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
additionalProperties: false
|
|
1465
|
+
} as const;
|
|
1466
|
+
|
|
1161
1467
|
export const $UniRefund_FileService_Files_FileResponseDto = {
|
|
1162
1468
|
required: ['fullPath'],
|
|
1163
1469
|
type: 'object',
|
|
@@ -1205,11 +1511,15 @@ export const $UniRefund_FileService_Files_FileResponseDto = {
|
|
|
1205
1511
|
type: 'boolean',
|
|
1206
1512
|
nullable: true
|
|
1207
1513
|
},
|
|
1208
|
-
|
|
1209
|
-
enum: ['
|
|
1514
|
+
fileAIValidationStatus: {
|
|
1515
|
+
enum: ['NotRequired', 'Waiting', 'NotConfirmed', 'Confirmed'],
|
|
1210
1516
|
type: 'string'
|
|
1211
1517
|
},
|
|
1212
|
-
|
|
1518
|
+
fileHumanValidationStatus: {
|
|
1519
|
+
enum: ['NotRequired', 'Waiting', 'NotConfirmed', 'Confirmed'],
|
|
1520
|
+
type: 'string'
|
|
1521
|
+
},
|
|
1522
|
+
validatorUser: {
|
|
1213
1523
|
type: 'string',
|
|
1214
1524
|
format: 'uuid',
|
|
1215
1525
|
nullable: true
|
|
@@ -1253,15 +1563,19 @@ export const $UniRefund_FileService_Files_FileResponseListDto = {
|
|
|
1253
1563
|
type: 'boolean',
|
|
1254
1564
|
nullable: true
|
|
1255
1565
|
},
|
|
1256
|
-
|
|
1257
|
-
enum: ['
|
|
1566
|
+
fileAIValidationStatus: {
|
|
1567
|
+
enum: ['NotRequired', 'Waiting', 'NotConfirmed', 'Confirmed'],
|
|
1568
|
+
type: 'string'
|
|
1569
|
+
},
|
|
1570
|
+
fileHumanValidationStatus: {
|
|
1571
|
+
enum: ['NotRequired', 'Waiting', 'NotConfirmed', 'Confirmed'],
|
|
1258
1572
|
type: 'string'
|
|
1259
1573
|
},
|
|
1260
1574
|
mimeType: {
|
|
1261
1575
|
type: 'string',
|
|
1262
1576
|
nullable: true
|
|
1263
1577
|
},
|
|
1264
|
-
|
|
1578
|
+
validatorUser: {
|
|
1265
1579
|
type: 'string',
|
|
1266
1580
|
format: 'uuid',
|
|
1267
1581
|
nullable: true
|
package/FileService/sdk.gen.ts
CHANGED
|
@@ -2,24 +2,73 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CancelablePromise } from './core/CancelablePromise';
|
|
4
4
|
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
5
|
-
import type { GetApiFileServiceFilesData, GetApiFileServiceFilesResponse, PostApiFileServiceFilesData, PostApiFileServiceFilesResponse, GetApiFileServiceFilesByIdDownloadData,
|
|
5
|
+
import type { GetApiFileServiceFilesByIdData, GetApiFileServiceFilesByIdResponse, GetApiFileServiceFilesForHumanValidationData, GetApiFileServiceFilesForHumanValidationResponse, GetApiFileServiceFilesData, GetApiFileServiceFilesResponse, PostApiFileServiceFilesData, PostApiFileServiceFilesResponse, GetApiFileServiceFilesWithRelationData, GetApiFileServiceFilesWithRelationResponse, GetApiFileServiceFilesByIdDownloadData, PutApiFileServiceFilesByIdValidateOrInvalidateData, PutApiFileServiceFilesByIdValidateOrInvalidateResponse, PutApiFileServiceFilesByIdMetaData, PutApiFileServiceFilesByIdMetaResponse, PostApiFileServiceFilesByIdTriggerAiProcessData, PostApiFileServiceFilesByIdTriggerAiProcessResponse, GetApiFileServiceFileAiInfosByFileIdData, GetApiFileServiceFileAiInfosByFileIdResponse, GetApiFileServiceFileRelationsData, GetApiFileServiceFileRelationsResponse, PostApiFileServiceFileRelationsData, PostApiFileServiceFileRelationsResponse, PutApiFileServiceFileRelationsByIdData, PutApiFileServiceFileRelationsByIdResponse, DeleteApiFileServiceFileRelationsByIdData, DeleteApiFileServiceFileRelationsByIdResponse, GetApiFileServiceFileRelationEntitiesData, GetApiFileServiceFileRelationEntitiesResponse, PostApiFileServiceFileRelationEntitiesData, PostApiFileServiceFileRelationEntitiesResponse, PutApiFileServiceFileRelationEntitiesByIdData, PutApiFileServiceFileRelationEntitiesByIdResponse, DeleteApiFileServiceFileRelationEntitiesByIdData, DeleteApiFileServiceFileRelationEntitiesByIdResponse, GetApiFileServiceFileTypesData, GetApiFileServiceFileTypesResponse, PostApiFileServiceFileTypesData, PostApiFileServiceFileTypesResponse, PutApiFileServiceFileTypesByIdData, PutApiFileServiceFileTypesByIdResponse, DeleteApiFileServiceFileTypesByIdData, DeleteApiFileServiceFileTypesByIdResponse, GetApiFileServiceFileTypeGroupsData, GetApiFileServiceFileTypeGroupsResponse, PostApiFileServiceFileTypeGroupsData, PostApiFileServiceFileTypeGroupsResponse, GetApiFileServiceFileTypeGroupsRulesetData, GetApiFileServiceFileTypeGroupsRulesetResponse, PutApiFileServiceFileTypeGroupsByIdData, PutApiFileServiceFileTypeGroupsByIdResponse, DeleteApiFileServiceFileTypeGroupsByIdData, DeleteApiFileServiceFileTypeGroupsByIdResponse, GetApiFileServiceFileTypeMimeTypesData, GetApiFileServiceFileTypeMimeTypesResponse, PostApiFileServiceFileTypeMimeTypesData, PostApiFileServiceFileTypeMimeTypesResponse, PutApiFileServiceFileTypeMimeTypesByIdData, PutApiFileServiceFileTypeMimeTypesByIdResponse, DeleteApiFileServiceFileTypeMimeTypesByIdData, DeleteApiFileServiceFileTypeMimeTypesByIdResponse, GetApiFileServiceMimeTypesData, GetApiFileServiceMimeTypesResponse, PostApiFileServiceMimeTypesData, PostApiFileServiceMimeTypesResponse, PutApiFileServiceMimeTypesByIdData, PutApiFileServiceMimeTypesByIdResponse, DeleteApiFileServiceMimeTypesByIdData, DeleteApiFileServiceMimeTypesByIdResponse, GetApiFileServiceProvidersData, GetApiFileServiceProvidersResponse, PostApiFileServiceProvidersData, PostApiFileServiceProvidersResponse, PutApiFileServiceProvidersByIdData, PutApiFileServiceProvidersByIdResponse, DeleteApiFileServiceProvidersByIdData, DeleteApiFileServiceProvidersByIdResponse } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export class FileService {
|
|
8
8
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @param data The data for the request.
|
|
12
|
-
* @param data.
|
|
13
|
-
* @
|
|
12
|
+
* @param data.id
|
|
13
|
+
* @returns unknown Success
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
public getApiFileServiceFilesById(data: GetApiFileServiceFilesByIdData): CancelablePromise<GetApiFileServiceFilesByIdResponse> {
|
|
17
|
+
return this.httpRequest.request({
|
|
18
|
+
method: 'GET',
|
|
19
|
+
url: '/api/file-service/files/{id}',
|
|
20
|
+
path: {
|
|
21
|
+
id: data.id
|
|
22
|
+
},
|
|
23
|
+
errors: {
|
|
24
|
+
400: 'Bad Request',
|
|
25
|
+
401: 'Unauthorized',
|
|
26
|
+
403: 'Forbidden',
|
|
27
|
+
404: 'Not Found',
|
|
28
|
+
500: 'Server Error',
|
|
29
|
+
501: 'Server Error'
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @param data The data for the request.
|
|
36
|
+
* @param data.fileHumanValidationStatuses
|
|
37
|
+
* @returns unknown Success
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
public getApiFileServiceFilesForHumanValidation(data: GetApiFileServiceFilesForHumanValidationData = {}): CancelablePromise<GetApiFileServiceFilesForHumanValidationResponse> {
|
|
41
|
+
return this.httpRequest.request({
|
|
42
|
+
method: 'GET',
|
|
43
|
+
url: '/api/file-service/files/for-human-validation',
|
|
44
|
+
query: {
|
|
45
|
+
fileHumanValidationStatuses: data.fileHumanValidationStatuses
|
|
46
|
+
},
|
|
47
|
+
errors: {
|
|
48
|
+
400: 'Bad Request',
|
|
49
|
+
401: 'Unauthorized',
|
|
50
|
+
403: 'Forbidden',
|
|
51
|
+
404: 'Not Found',
|
|
52
|
+
500: 'Server Error',
|
|
53
|
+
501: 'Server Error'
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @param data The data for the request.
|
|
14
60
|
* @param data.fileTypeGroup
|
|
15
61
|
* @param data.fileType
|
|
62
|
+
* @param data.relatedEntity
|
|
63
|
+
* @param data.relatedId
|
|
64
|
+
* @param data.isValidated
|
|
16
65
|
* @param data.sorting
|
|
17
66
|
* @param data.skipCount
|
|
18
67
|
* @param data.maxResultCount
|
|
19
68
|
* @returns unknown Success
|
|
20
69
|
* @throws ApiError
|
|
21
70
|
*/
|
|
22
|
-
public getApiFileServiceFiles(data: GetApiFileServiceFilesData): CancelablePromise<GetApiFileServiceFilesResponse> {
|
|
71
|
+
public getApiFileServiceFiles(data: GetApiFileServiceFilesData = {}): CancelablePromise<GetApiFileServiceFilesResponse> {
|
|
23
72
|
return this.httpRequest.request({
|
|
24
73
|
method: 'GET',
|
|
25
74
|
url: '/api/file-service/files',
|
|
@@ -28,6 +77,7 @@ export class FileService {
|
|
|
28
77
|
FileType: data.fileType,
|
|
29
78
|
RelatedEntity: data.relatedEntity,
|
|
30
79
|
RelatedID: data.relatedId,
|
|
80
|
+
IsValidated: data.isValidated,
|
|
31
81
|
Sorting: data.sorting,
|
|
32
82
|
SkipCount: data.skipCount,
|
|
33
83
|
MaxResultCount: data.maxResultCount
|
|
@@ -66,6 +116,44 @@ export class FileService {
|
|
|
66
116
|
});
|
|
67
117
|
}
|
|
68
118
|
|
|
119
|
+
/**
|
|
120
|
+
* @param data The data for the request.
|
|
121
|
+
* @param data.relatedEntity
|
|
122
|
+
* @param data.relatedId
|
|
123
|
+
* @param data.fileTypeGroup
|
|
124
|
+
* @param data.fileType
|
|
125
|
+
* @param data.isValidated
|
|
126
|
+
* @param data.sorting
|
|
127
|
+
* @param data.skipCount
|
|
128
|
+
* @param data.maxResultCount
|
|
129
|
+
* @returns unknown Success
|
|
130
|
+
* @throws ApiError
|
|
131
|
+
*/
|
|
132
|
+
public getApiFileServiceFilesWithRelation(data: GetApiFileServiceFilesWithRelationData): CancelablePromise<GetApiFileServiceFilesWithRelationResponse> {
|
|
133
|
+
return this.httpRequest.request({
|
|
134
|
+
method: 'GET',
|
|
135
|
+
url: '/api/file-service/files/with-relation',
|
|
136
|
+
query: {
|
|
137
|
+
FileTypeGroup: data.fileTypeGroup,
|
|
138
|
+
FileType: data.fileType,
|
|
139
|
+
RelatedEntity: data.relatedEntity,
|
|
140
|
+
RelatedID: data.relatedId,
|
|
141
|
+
IsValidated: data.isValidated,
|
|
142
|
+
Sorting: data.sorting,
|
|
143
|
+
SkipCount: data.skipCount,
|
|
144
|
+
MaxResultCount: data.maxResultCount
|
|
145
|
+
},
|
|
146
|
+
errors: {
|
|
147
|
+
400: 'Bad Request',
|
|
148
|
+
401: 'Unauthorized',
|
|
149
|
+
403: 'Forbidden',
|
|
150
|
+
404: 'Not Found',
|
|
151
|
+
500: 'Server Error',
|
|
152
|
+
501: 'Server Error'
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
|
|
69
157
|
/**
|
|
70
158
|
* @param data The data for the request.
|
|
71
159
|
* @param data.id
|
|
@@ -96,10 +184,10 @@ export class FileService {
|
|
|
96
184
|
* @returns unknown Success
|
|
97
185
|
* @throws ApiError
|
|
98
186
|
*/
|
|
99
|
-
public
|
|
187
|
+
public putApiFileServiceFilesByIdValidateOrInvalidate(data: PutApiFileServiceFilesByIdValidateOrInvalidateData): CancelablePromise<PutApiFileServiceFilesByIdValidateOrInvalidateResponse> {
|
|
100
188
|
return this.httpRequest.request({
|
|
101
189
|
method: 'PUT',
|
|
102
|
-
url: '/api/file-service/files/{id}/
|
|
190
|
+
url: '/api/file-service/files/{id}/validate-or-invalidate',
|
|
103
191
|
path: {
|
|
104
192
|
id: data.id
|
|
105
193
|
},
|
|
@@ -144,6 +232,59 @@ export class FileService {
|
|
|
144
232
|
});
|
|
145
233
|
}
|
|
146
234
|
|
|
235
|
+
/**
|
|
236
|
+
* @param data The data for the request.
|
|
237
|
+
* @param data.id
|
|
238
|
+
* @returns unknown Success
|
|
239
|
+
* @throws ApiError
|
|
240
|
+
*/
|
|
241
|
+
public postApiFileServiceFilesByIdTriggerAiProcess(data: PostApiFileServiceFilesByIdTriggerAiProcessData): CancelablePromise<PostApiFileServiceFilesByIdTriggerAiProcessResponse> {
|
|
242
|
+
return this.httpRequest.request({
|
|
243
|
+
method: 'POST',
|
|
244
|
+
url: '/api/file-service/files/{id}/trigger-ai-process',
|
|
245
|
+
path: {
|
|
246
|
+
id: data.id
|
|
247
|
+
},
|
|
248
|
+
errors: {
|
|
249
|
+
400: 'Bad Request',
|
|
250
|
+
401: 'Unauthorized',
|
|
251
|
+
403: 'Forbidden',
|
|
252
|
+
404: 'Not Found',
|
|
253
|
+
500: 'Server Error',
|
|
254
|
+
501: 'Server Error'
|
|
255
|
+
}
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export class FileAiInfoService {
|
|
262
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @param data The data for the request.
|
|
266
|
+
* @param data.fileId
|
|
267
|
+
* @returns unknown Success
|
|
268
|
+
* @throws ApiError
|
|
269
|
+
*/
|
|
270
|
+
public getApiFileServiceFileAiInfosByFileId(data: GetApiFileServiceFileAiInfosByFileIdData): CancelablePromise<GetApiFileServiceFileAiInfosByFileIdResponse> {
|
|
271
|
+
return this.httpRequest.request({
|
|
272
|
+
method: 'GET',
|
|
273
|
+
url: '/api/file-service/file-ai-infos/{fileId}',
|
|
274
|
+
path: {
|
|
275
|
+
fileId: data.fileId
|
|
276
|
+
},
|
|
277
|
+
errors: {
|
|
278
|
+
400: 'Bad Request',
|
|
279
|
+
401: 'Unauthorized',
|
|
280
|
+
403: 'Forbidden',
|
|
281
|
+
404: 'Not Found',
|
|
282
|
+
500: 'Server Error',
|
|
283
|
+
501: 'Server Error'
|
|
284
|
+
}
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
|
|
147
288
|
}
|
|
148
289
|
|
|
149
290
|
export class FileRelationService {
|
package/FileService/types.gen.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
+
export type PagedResultDto_FileForHumanValidationDto = {
|
|
4
|
+
items?: Array<UniRefund_FileService_Files_FileForHumanValidationDto> | null;
|
|
5
|
+
totalCount?: number;
|
|
6
|
+
};
|
|
7
|
+
|
|
3
8
|
export type PagedResultDto_FileRelationEntityListDto = {
|
|
4
9
|
items?: Array<UniRefund_FileService_FileRelationEntities_FileRelationEntityListDto> | null;
|
|
5
10
|
totalCount?: number;
|
|
@@ -35,7 +40,24 @@ export type PagedResultDto_ProviderListDto = {
|
|
|
35
40
|
totalCount?: number;
|
|
36
41
|
};
|
|
37
42
|
|
|
38
|
-
export type
|
|
43
|
+
export type UniRefund_FileService_Enums_FileValidationStatus = 'NotRequired' | 'Waiting' | 'NotConfirmed' | 'Confirmed';
|
|
44
|
+
|
|
45
|
+
export type UniRefund_FileService_Enums_LLMChallengeStatus = 'None' | 'NotResultedYet' | 'Failed' | 'Success';
|
|
46
|
+
|
|
47
|
+
export type UniRefund_FileService_Enums_UnstractStatus = 'SentToQueue' | 'Started' | 'Completed' | 'FailedWhileGettingFile' | 'FailedWhileSendingFile' | 'FailedInUnstract' | 'SentToQueueByTriggering' | 'None';
|
|
48
|
+
|
|
49
|
+
export type UniRefund_FileService_FileAIInfos_FileAIInfoDto = {
|
|
50
|
+
unstract1OutputJson?: (string) | null;
|
|
51
|
+
unstract2OutputJson?: (string) | null;
|
|
52
|
+
unstract1Status?: UniRefund_FileService_Enums_UnstractStatus;
|
|
53
|
+
unstract2Status?: UniRefund_FileService_Enums_UnstractStatus;
|
|
54
|
+
llmChallengeStatus?: UniRefund_FileService_Enums_LLMChallengeStatus;
|
|
55
|
+
llmChallengeAccuracy?: (number) | null;
|
|
56
|
+
unstract1ExecutionId?: (string) | null;
|
|
57
|
+
unstract2ExecutionId?: (string) | null;
|
|
58
|
+
isUnstractEverFailed?: boolean;
|
|
59
|
+
isUnstractEverTriggeredManual?: boolean;
|
|
60
|
+
};
|
|
39
61
|
|
|
40
62
|
export type UniRefund_FileService_FileRelationEntities_FileRelationEntityCreateDto = {
|
|
41
63
|
fileTypeId: string;
|
|
@@ -114,6 +136,29 @@ export type UniRefund_FileService_Files_FileCreateDto = {
|
|
|
114
136
|
documentNumber?: (string) | null;
|
|
115
137
|
};
|
|
116
138
|
|
|
139
|
+
export type UniRefund_FileService_Files_FileDto = {
|
|
140
|
+
fileType: string;
|
|
141
|
+
isValidated?: (boolean) | null;
|
|
142
|
+
fileAIValidationStatus?: UniRefund_FileService_Enums_FileValidationStatus;
|
|
143
|
+
fileHumanValidationStatus?: UniRefund_FileService_Enums_FileValidationStatus;
|
|
144
|
+
validatorUser?: (string) | null;
|
|
145
|
+
relatedEntity: string;
|
|
146
|
+
property: string;
|
|
147
|
+
documentDate?: (string) | null;
|
|
148
|
+
documentOriginator?: (string) | null;
|
|
149
|
+
fileDescription?: (string) | null;
|
|
150
|
+
documentNumber?: (string) | null;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
export type UniRefund_FileService_Files_FileForHumanValidationDto = {
|
|
154
|
+
id: string;
|
|
155
|
+
fileLink: string;
|
|
156
|
+
isValidated?: (boolean) | null;
|
|
157
|
+
fileAIValidationStatus: UniRefund_FileService_Enums_FileValidationStatus;
|
|
158
|
+
fileHumanValidationStatus: UniRefund_FileService_Enums_FileValidationStatus;
|
|
159
|
+
validatorUser?: (string) | null;
|
|
160
|
+
};
|
|
161
|
+
|
|
117
162
|
export type UniRefund_FileService_Files_FileResponseDto = {
|
|
118
163
|
name?: (string) | null;
|
|
119
164
|
id?: (string) | null;
|
|
@@ -125,8 +170,9 @@ export type UniRefund_FileService_Files_FileResponseDto = {
|
|
|
125
170
|
documentNumber?: (string) | null;
|
|
126
171
|
fullPath: string;
|
|
127
172
|
isValidated?: (boolean) | null;
|
|
128
|
-
|
|
129
|
-
|
|
173
|
+
fileAIValidationStatus?: UniRefund_FileService_Enums_FileValidationStatus;
|
|
174
|
+
fileHumanValidationStatus?: UniRefund_FileService_Enums_FileValidationStatus;
|
|
175
|
+
validatorUser?: (string) | null;
|
|
130
176
|
mimeType?: (string) | null;
|
|
131
177
|
};
|
|
132
178
|
|
|
@@ -138,9 +184,10 @@ export type UniRefund_FileService_Files_FileResponseListDto = {
|
|
|
138
184
|
documentOriginator?: (string) | null;
|
|
139
185
|
documentNumber?: (string) | null;
|
|
140
186
|
isValidated?: (boolean) | null;
|
|
141
|
-
|
|
187
|
+
fileAIValidationStatus?: UniRefund_FileService_Enums_FileValidationStatus;
|
|
188
|
+
fileHumanValidationStatus?: UniRefund_FileService_Enums_FileValidationStatus;
|
|
142
189
|
mimeType?: (string) | null;
|
|
143
|
-
|
|
190
|
+
validatorUser?: (string) | null;
|
|
144
191
|
};
|
|
145
192
|
|
|
146
193
|
export type UniRefund_FileService_Files_FileUpdateDto = {
|
|
@@ -223,6 +270,9 @@ export type UniRefund_FileService_FileTypeMimeTypes_FileTypeMimeTypesUpdateDto =
|
|
|
223
270
|
};
|
|
224
271
|
|
|
225
272
|
export type UniRefund_FileService_FileTypes_FileTypeCreateDto = {
|
|
273
|
+
readonly extraProperties?: {
|
|
274
|
+
[key: string]: unknown;
|
|
275
|
+
} | null;
|
|
226
276
|
fileTypeGroupNamespace: string;
|
|
227
277
|
providerID: string;
|
|
228
278
|
name: string;
|
|
@@ -236,9 +286,17 @@ export type UniRefund_FileService_FileTypes_FileTypeCreateDto = {
|
|
|
236
286
|
isTenant: boolean;
|
|
237
287
|
originatorRequired: boolean;
|
|
238
288
|
descriptionRequired: boolean;
|
|
239
|
-
|
|
289
|
+
isAIValidationRequired: boolean;
|
|
290
|
+
isHumanValidationRequired: boolean;
|
|
240
291
|
numberRequired: boolean;
|
|
241
292
|
isFileTypeRequired: boolean;
|
|
293
|
+
unstract1Enabled: boolean;
|
|
294
|
+
unstract2Enabled: boolean;
|
|
295
|
+
unstract1URL?: (string) | null;
|
|
296
|
+
unstract2URL?: (string) | null;
|
|
297
|
+
unstract1Token?: (string) | null;
|
|
298
|
+
unstract2Token?: (string) | null;
|
|
299
|
+
unstractJsonScheme?: (string) | null;
|
|
242
300
|
};
|
|
243
301
|
|
|
244
302
|
export type UniRefund_FileService_FileTypes_FileTypeDto = {
|
|
@@ -254,9 +312,18 @@ export type UniRefund_FileService_FileTypes_FileTypeDto = {
|
|
|
254
312
|
isTenant: boolean;
|
|
255
313
|
originatorRequired: boolean;
|
|
256
314
|
descriptionRequired: boolean;
|
|
257
|
-
|
|
315
|
+
isAnyValidationRequired: boolean;
|
|
316
|
+
isAIValidationRequired: boolean;
|
|
317
|
+
isHumanValidationRequired: boolean;
|
|
258
318
|
numberRequired: boolean;
|
|
259
319
|
isFileTypeRequired: boolean;
|
|
320
|
+
unstract1Enabled: boolean;
|
|
321
|
+
unstract2Enabled: boolean;
|
|
322
|
+
unstract1URL?: (string) | null;
|
|
323
|
+
unstract2URL?: (string) | null;
|
|
324
|
+
unstract1Token?: (string) | null;
|
|
325
|
+
unstract2Token?: (string) | null;
|
|
326
|
+
unstractJsonScheme?: (string) | null;
|
|
260
327
|
};
|
|
261
328
|
|
|
262
329
|
export type UniRefund_FileService_FileTypes_FileTypeListDto = {
|
|
@@ -276,9 +343,14 @@ export type UniRefund_FileService_FileTypes_FileTypeListDto = {
|
|
|
276
343
|
originatorRequired: boolean;
|
|
277
344
|
numberRequired: boolean;
|
|
278
345
|
isFileTypeRequired: boolean;
|
|
346
|
+
unstract1Enabled: boolean;
|
|
347
|
+
unstract2Enabled: boolean;
|
|
279
348
|
};
|
|
280
349
|
|
|
281
350
|
export type UniRefund_FileService_FileTypes_FileTypeUpdateDto = {
|
|
351
|
+
readonly extraProperties?: {
|
|
352
|
+
[key: string]: unknown;
|
|
353
|
+
} | null;
|
|
282
354
|
fileTypeGroupNamespace?: (string) | null;
|
|
283
355
|
providerID?: (string) | null;
|
|
284
356
|
name?: (string) | null;
|
|
@@ -292,8 +364,16 @@ export type UniRefund_FileService_FileTypes_FileTypeUpdateDto = {
|
|
|
292
364
|
isTenant?: (boolean) | null;
|
|
293
365
|
originatorRequired?: (boolean) | null;
|
|
294
366
|
numberRequired?: (boolean) | null;
|
|
295
|
-
|
|
367
|
+
isAIValidationRequired: boolean;
|
|
368
|
+
isHumanValidationRequired: boolean;
|
|
296
369
|
isFileTypeRequired?: (boolean) | null;
|
|
370
|
+
unstract1Enabled: boolean;
|
|
371
|
+
unstract2Enabled: boolean;
|
|
372
|
+
unstract1URL?: (string) | null;
|
|
373
|
+
unstract2URL?: (string) | null;
|
|
374
|
+
unstract1Token?: (string) | null;
|
|
375
|
+
unstract2Token?: (string) | null;
|
|
376
|
+
unstractJsonScheme?: (string) | null;
|
|
297
377
|
};
|
|
298
378
|
|
|
299
379
|
export type UniRefund_FileService_MimeTypes_MimeTypeCreateDto = {
|
|
@@ -731,12 +811,25 @@ export type Volo_Abp_NameValue = {
|
|
|
731
811
|
value?: (string) | null;
|
|
732
812
|
};
|
|
733
813
|
|
|
814
|
+
export type GetApiFileServiceFilesByIdData = {
|
|
815
|
+
id: string;
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
export type GetApiFileServiceFilesByIdResponse = (UniRefund_FileService_Files_FileDto);
|
|
819
|
+
|
|
820
|
+
export type GetApiFileServiceFilesForHumanValidationData = {
|
|
821
|
+
fileHumanValidationStatuses?: Array<UniRefund_FileService_Enums_FileValidationStatus>;
|
|
822
|
+
};
|
|
823
|
+
|
|
824
|
+
export type GetApiFileServiceFilesForHumanValidationResponse = (PagedResultDto_FileForHumanValidationDto);
|
|
825
|
+
|
|
734
826
|
export type GetApiFileServiceFilesData = {
|
|
735
827
|
fileType?: string;
|
|
736
828
|
fileTypeGroup?: string;
|
|
829
|
+
isValidated?: boolean;
|
|
737
830
|
maxResultCount?: number;
|
|
738
|
-
relatedEntity
|
|
739
|
-
relatedId
|
|
831
|
+
relatedEntity?: string;
|
|
832
|
+
relatedId?: string;
|
|
740
833
|
skipCount?: number;
|
|
741
834
|
sorting?: string;
|
|
742
835
|
};
|
|
@@ -758,16 +851,29 @@ export type PostApiFileServiceFilesData = {
|
|
|
758
851
|
|
|
759
852
|
export type PostApiFileServiceFilesResponse = (UniRefund_FileService_Files_FileResponseDto);
|
|
760
853
|
|
|
854
|
+
export type GetApiFileServiceFilesWithRelationData = {
|
|
855
|
+
fileType?: string;
|
|
856
|
+
fileTypeGroup?: string;
|
|
857
|
+
isValidated?: boolean;
|
|
858
|
+
maxResultCount?: number;
|
|
859
|
+
relatedEntity: string;
|
|
860
|
+
relatedId: string;
|
|
861
|
+
skipCount?: number;
|
|
862
|
+
sorting?: string;
|
|
863
|
+
};
|
|
864
|
+
|
|
865
|
+
export type GetApiFileServiceFilesWithRelationResponse = (Array<UniRefund_FileService_Files_FileResponseListDto>);
|
|
866
|
+
|
|
761
867
|
export type GetApiFileServiceFilesByIdDownloadData = {
|
|
762
868
|
id: string;
|
|
763
869
|
};
|
|
764
870
|
|
|
765
|
-
export type
|
|
871
|
+
export type PutApiFileServiceFilesByIdValidateOrInvalidateData = {
|
|
766
872
|
id: string;
|
|
767
873
|
isValidated?: boolean;
|
|
768
874
|
};
|
|
769
875
|
|
|
770
|
-
export type
|
|
876
|
+
export type PutApiFileServiceFilesByIdValidateOrInvalidateResponse = (unknown);
|
|
771
877
|
|
|
772
878
|
export type PutApiFileServiceFilesByIdMetaData = {
|
|
773
879
|
id: string;
|
|
@@ -776,6 +882,18 @@ export type PutApiFileServiceFilesByIdMetaData = {
|
|
|
776
882
|
|
|
777
883
|
export type PutApiFileServiceFilesByIdMetaResponse = (unknown);
|
|
778
884
|
|
|
885
|
+
export type PostApiFileServiceFilesByIdTriggerAiProcessData = {
|
|
886
|
+
id: string;
|
|
887
|
+
};
|
|
888
|
+
|
|
889
|
+
export type PostApiFileServiceFilesByIdTriggerAiProcessResponse = (unknown);
|
|
890
|
+
|
|
891
|
+
export type GetApiFileServiceFileAiInfosByFileIdData = {
|
|
892
|
+
fileId: string;
|
|
893
|
+
};
|
|
894
|
+
|
|
895
|
+
export type GetApiFileServiceFileAiInfosByFileIdResponse = (UniRefund_FileService_FileAIInfos_FileAIInfoDto);
|
|
896
|
+
|
|
779
897
|
export type GetApiFileServiceFileRelationsData = {
|
|
780
898
|
fileId?: string;
|
|
781
899
|
id?: string;
|