@ayasofyazilim/saas 0.0.140 → 0.0.142
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/FinanceService/schemas.gen.ts +52 -76
- package/FinanceService/types.gen.ts +12 -14
- package/TagService/schemas.gen.ts +175 -87
- package/TagService/sdk.gen.ts +7 -3
- package/TagService/types.gen.ts +35 -19
- package/package.json +1 -1
|
@@ -166,20 +166,16 @@ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHea
|
|
|
166
166
|
type: 'string',
|
|
167
167
|
format: 'uuid'
|
|
168
168
|
},
|
|
169
|
+
merchantName: {
|
|
170
|
+
type: 'string',
|
|
171
|
+
nullable: true
|
|
172
|
+
},
|
|
169
173
|
drafts: {
|
|
170
174
|
type: 'array',
|
|
171
175
|
items: {
|
|
172
|
-
required: ['contractHeaderId', 'customerNumber', '
|
|
176
|
+
required: ['contractHeaderId', 'customerNumber', 'period', 'status', 'total'],
|
|
173
177
|
type: 'object',
|
|
174
178
|
properties: {
|
|
175
|
-
merchantId: {
|
|
176
|
-
type: 'string',
|
|
177
|
-
format: 'uuid'
|
|
178
|
-
},
|
|
179
|
-
merchantName: {
|
|
180
|
-
minLength: 1,
|
|
181
|
-
type: 'string'
|
|
182
|
-
},
|
|
183
179
|
total: {
|
|
184
180
|
type: 'number',
|
|
185
181
|
format: 'double'
|
|
@@ -395,14 +391,6 @@ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHea
|
|
|
395
391
|
required: ['contractHeaderId', 'customerNumber', 'merchantId', 'merchantName', 'period', 'rebateStatementDate', 'status', 'total'],
|
|
396
392
|
type: 'object',
|
|
397
393
|
properties: {
|
|
398
|
-
merchantId: {
|
|
399
|
-
type: 'string',
|
|
400
|
-
format: 'uuid'
|
|
401
|
-
},
|
|
402
|
-
merchantName: {
|
|
403
|
-
minLength: 1,
|
|
404
|
-
type: 'string'
|
|
405
|
-
},
|
|
406
394
|
total: {
|
|
407
395
|
type: 'number',
|
|
408
396
|
format: 'double'
|
|
@@ -470,6 +458,14 @@ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHea
|
|
|
470
458
|
},
|
|
471
459
|
nullable: true
|
|
472
460
|
},
|
|
461
|
+
merchantId: {
|
|
462
|
+
type: 'string',
|
|
463
|
+
format: 'uuid'
|
|
464
|
+
},
|
|
465
|
+
merchantName: {
|
|
466
|
+
minLength: 1,
|
|
467
|
+
type: 'string'
|
|
468
|
+
},
|
|
473
469
|
rebateStatementDate: {
|
|
474
470
|
type: 'string',
|
|
475
471
|
format: 'date-time'
|
|
@@ -479,17 +475,9 @@ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHea
|
|
|
479
475
|
} as const;
|
|
480
476
|
|
|
481
477
|
export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderDraftSummaryDto = {
|
|
482
|
-
required: ['contractHeaderId', 'customerNumber', '
|
|
478
|
+
required: ['contractHeaderId', 'customerNumber', 'period', 'status', 'total'],
|
|
483
479
|
type: 'object',
|
|
484
480
|
properties: {
|
|
485
|
-
merchantId: {
|
|
486
|
-
type: 'string',
|
|
487
|
-
format: 'uuid'
|
|
488
|
-
},
|
|
489
|
-
merchantName: {
|
|
490
|
-
minLength: 1,
|
|
491
|
-
type: 'string'
|
|
492
|
-
},
|
|
493
481
|
total: {
|
|
494
482
|
type: 'number',
|
|
495
483
|
format: 'double'
|
|
@@ -565,14 +553,6 @@ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHea
|
|
|
565
553
|
required: ['contractHeaderId', 'customerNumber', 'id', 'merchantId', 'merchantName', 'number', 'period', 'rebateStatementDate', 'status', 'total'],
|
|
566
554
|
type: 'object',
|
|
567
555
|
properties: {
|
|
568
|
-
merchantId: {
|
|
569
|
-
type: 'string',
|
|
570
|
-
format: 'uuid'
|
|
571
|
-
},
|
|
572
|
-
merchantName: {
|
|
573
|
-
minLength: 1,
|
|
574
|
-
type: 'string'
|
|
575
|
-
},
|
|
576
556
|
total: {
|
|
577
557
|
type: 'number',
|
|
578
558
|
format: 'double'
|
|
@@ -640,6 +620,14 @@ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHea
|
|
|
640
620
|
},
|
|
641
621
|
nullable: true
|
|
642
622
|
},
|
|
623
|
+
merchantId: {
|
|
624
|
+
type: 'string',
|
|
625
|
+
format: 'uuid'
|
|
626
|
+
},
|
|
627
|
+
merchantName: {
|
|
628
|
+
minLength: 1,
|
|
629
|
+
type: 'string'
|
|
630
|
+
},
|
|
643
631
|
rebateStatementDate: {
|
|
644
632
|
type: 'string',
|
|
645
633
|
format: 'date-time'
|
|
@@ -895,24 +883,20 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderBul
|
|
|
895
883
|
type: 'string',
|
|
896
884
|
format: 'uuid'
|
|
897
885
|
},
|
|
886
|
+
merchantName: {
|
|
887
|
+
type: 'string',
|
|
888
|
+
nullable: true
|
|
889
|
+
},
|
|
898
890
|
drafts: {
|
|
899
891
|
type: 'array',
|
|
900
892
|
items: {
|
|
901
|
-
required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', '
|
|
893
|
+
required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid'],
|
|
902
894
|
type: 'object',
|
|
903
895
|
properties: {
|
|
904
|
-
merchantId: {
|
|
905
|
-
type: 'string',
|
|
906
|
-
format: 'uuid'
|
|
907
|
-
},
|
|
908
896
|
tagCount: {
|
|
909
897
|
type: 'integer',
|
|
910
898
|
format: 'int32'
|
|
911
899
|
},
|
|
912
|
-
merchantName: {
|
|
913
|
-
minLength: 1,
|
|
914
|
-
type: 'string'
|
|
915
|
-
},
|
|
916
900
|
total: {
|
|
917
901
|
type: 'number',
|
|
918
902
|
format: 'double'
|
|
@@ -1011,18 +995,10 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDet
|
|
|
1011
995
|
required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', 'dueDate', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid', 'vatStatementDate'],
|
|
1012
996
|
type: 'object',
|
|
1013
997
|
properties: {
|
|
1014
|
-
merchantId: {
|
|
1015
|
-
type: 'string',
|
|
1016
|
-
format: 'uuid'
|
|
1017
|
-
},
|
|
1018
998
|
tagCount: {
|
|
1019
999
|
type: 'integer',
|
|
1020
1000
|
format: 'int32'
|
|
1021
1001
|
},
|
|
1022
|
-
merchantName: {
|
|
1023
|
-
minLength: 1,
|
|
1024
|
-
type: 'string'
|
|
1025
|
-
},
|
|
1026
1002
|
total: {
|
|
1027
1003
|
type: 'number',
|
|
1028
1004
|
format: 'double'
|
|
@@ -1078,6 +1054,14 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDet
|
|
|
1078
1054
|
type: 'string',
|
|
1079
1055
|
format: 'uuid'
|
|
1080
1056
|
},
|
|
1057
|
+
merchantId: {
|
|
1058
|
+
type: 'string',
|
|
1059
|
+
format: 'uuid'
|
|
1060
|
+
},
|
|
1061
|
+
merchantName: {
|
|
1062
|
+
minLength: 1,
|
|
1063
|
+
type: 'string'
|
|
1064
|
+
},
|
|
1081
1065
|
vatStatementDate: {
|
|
1082
1066
|
type: 'string',
|
|
1083
1067
|
format: 'date-time'
|
|
@@ -1163,18 +1147,10 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDra
|
|
|
1163
1147
|
required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', 'dueDate', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid', 'vatStatementDate'],
|
|
1164
1148
|
type: 'object',
|
|
1165
1149
|
properties: {
|
|
1166
|
-
merchantId: {
|
|
1167
|
-
type: 'string',
|
|
1168
|
-
format: 'uuid'
|
|
1169
|
-
},
|
|
1170
1150
|
tagCount: {
|
|
1171
1151
|
type: 'integer',
|
|
1172
1152
|
format: 'int32'
|
|
1173
1153
|
},
|
|
1174
|
-
merchantName: {
|
|
1175
|
-
minLength: 1,
|
|
1176
|
-
type: 'string'
|
|
1177
|
-
},
|
|
1178
1154
|
total: {
|
|
1179
1155
|
type: 'number',
|
|
1180
1156
|
format: 'double'
|
|
@@ -1230,6 +1206,14 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDra
|
|
|
1230
1206
|
type: 'string',
|
|
1231
1207
|
format: 'uuid'
|
|
1232
1208
|
},
|
|
1209
|
+
merchantId: {
|
|
1210
|
+
type: 'string',
|
|
1211
|
+
format: 'uuid'
|
|
1212
|
+
},
|
|
1213
|
+
merchantName: {
|
|
1214
|
+
minLength: 1,
|
|
1215
|
+
type: 'string'
|
|
1216
|
+
},
|
|
1233
1217
|
vatStatementDate: {
|
|
1234
1218
|
type: 'string',
|
|
1235
1219
|
format: 'date-time'
|
|
@@ -1295,21 +1279,13 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDra
|
|
|
1295
1279
|
} as const;
|
|
1296
1280
|
|
|
1297
1281
|
export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDraftSummaryDto = {
|
|
1298
|
-
required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', '
|
|
1282
|
+
required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid'],
|
|
1299
1283
|
type: 'object',
|
|
1300
1284
|
properties: {
|
|
1301
|
-
merchantId: {
|
|
1302
|
-
type: 'string',
|
|
1303
|
-
format: 'uuid'
|
|
1304
|
-
},
|
|
1305
1285
|
tagCount: {
|
|
1306
1286
|
type: 'integer',
|
|
1307
1287
|
format: 'int32'
|
|
1308
1288
|
},
|
|
1309
|
-
merchantName: {
|
|
1310
|
-
minLength: 1,
|
|
1311
|
-
type: 'string'
|
|
1312
|
-
},
|
|
1313
1289
|
total: {
|
|
1314
1290
|
type: 'number',
|
|
1315
1291
|
format: 'double'
|
|
@@ -1373,18 +1349,10 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto
|
|
|
1373
1349
|
required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', 'dueDate', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid', 'vatStatementDate'],
|
|
1374
1350
|
type: 'object',
|
|
1375
1351
|
properties: {
|
|
1376
|
-
merchantId: {
|
|
1377
|
-
type: 'string',
|
|
1378
|
-
format: 'uuid'
|
|
1379
|
-
},
|
|
1380
1352
|
tagCount: {
|
|
1381
1353
|
type: 'integer',
|
|
1382
1354
|
format: 'int32'
|
|
1383
1355
|
},
|
|
1384
|
-
merchantName: {
|
|
1385
|
-
minLength: 1,
|
|
1386
|
-
type: 'string'
|
|
1387
|
-
},
|
|
1388
1356
|
total: {
|
|
1389
1357
|
type: 'number',
|
|
1390
1358
|
format: 'double'
|
|
@@ -1440,6 +1408,14 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto
|
|
|
1440
1408
|
type: 'string',
|
|
1441
1409
|
format: 'uuid'
|
|
1442
1410
|
},
|
|
1411
|
+
merchantId: {
|
|
1412
|
+
type: 'string',
|
|
1413
|
+
format: 'uuid'
|
|
1414
|
+
},
|
|
1415
|
+
merchantName: {
|
|
1416
|
+
minLength: 1,
|
|
1417
|
+
type: 'string'
|
|
1418
|
+
},
|
|
1443
1419
|
vatStatementDate: {
|
|
1444
1420
|
type: 'string',
|
|
1445
1421
|
format: 'date-time'
|
|
@@ -24,6 +24,7 @@ export type UniRefund_FinanceService_Enums_VATStatementStatus = 'Sent' | 'Paymen
|
|
|
24
24
|
|
|
25
25
|
export type UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderBulkPreviewDto = {
|
|
26
26
|
merchantId?: string;
|
|
27
|
+
merchantName?: (string) | null;
|
|
27
28
|
drafts?: Array<UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderDraftSummaryDto> | null;
|
|
28
29
|
};
|
|
29
30
|
|
|
@@ -48,20 +49,18 @@ export type UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeade
|
|
|
48
49
|
};
|
|
49
50
|
|
|
50
51
|
export type UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderDraftDto = {
|
|
51
|
-
merchantId: string;
|
|
52
|
-
merchantName: string;
|
|
53
52
|
total: number;
|
|
54
53
|
status: UniRefund_FinanceService_Enums_RebateStatementStatus;
|
|
55
54
|
period: UniRefund_ContractService_Enums_RebateStatementPeriod;
|
|
56
55
|
customerNumber: string;
|
|
57
56
|
contractHeaderId: string;
|
|
58
57
|
rebateStatementStoreDetails?: Array<UniRefund_FinanceService_RebateStatementStoreDetails_RebateStatementStoreDetailDraftDto> | null;
|
|
58
|
+
merchantId: string;
|
|
59
|
+
merchantName: string;
|
|
59
60
|
rebateStatementDate: string;
|
|
60
61
|
};
|
|
61
62
|
|
|
62
63
|
export type UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderDraftSummaryDto = {
|
|
63
|
-
merchantId: string;
|
|
64
|
-
merchantName: string;
|
|
65
64
|
total: number;
|
|
66
65
|
status: UniRefund_FinanceService_Enums_RebateStatementStatus;
|
|
67
66
|
period: UniRefund_ContractService_Enums_RebateStatementPeriod;
|
|
@@ -71,14 +70,14 @@ export type UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeade
|
|
|
71
70
|
};
|
|
72
71
|
|
|
73
72
|
export type UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderDto = {
|
|
74
|
-
merchantId: string;
|
|
75
|
-
merchantName: string;
|
|
76
73
|
total: number;
|
|
77
74
|
status: UniRefund_FinanceService_Enums_RebateStatementStatus;
|
|
78
75
|
period: UniRefund_ContractService_Enums_RebateStatementPeriod;
|
|
79
76
|
customerNumber: string;
|
|
80
77
|
contractHeaderId: string;
|
|
81
78
|
rebateStatementStoreDetails?: Array<UniRefund_FinanceService_RebateStatementStoreDetails_RebateStatementStoreDetailDraftDto> | null;
|
|
79
|
+
merchantId: string;
|
|
80
|
+
merchantName: string;
|
|
82
81
|
rebateStatementDate: string;
|
|
83
82
|
id: string;
|
|
84
83
|
number: string;
|
|
@@ -144,6 +143,7 @@ export type UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderBasic
|
|
|
144
143
|
|
|
145
144
|
export type UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderBulkPreviewDto = {
|
|
146
145
|
merchantId?: string;
|
|
146
|
+
merchantName?: (string) | null;
|
|
147
147
|
drafts?: Array<UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDraftSummaryDto> | null;
|
|
148
148
|
};
|
|
149
149
|
|
|
@@ -158,9 +158,7 @@ export type UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderCreat
|
|
|
158
158
|
};
|
|
159
159
|
|
|
160
160
|
export type UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDetailDto = {
|
|
161
|
-
merchantId: string;
|
|
162
161
|
tagCount: number;
|
|
163
|
-
merchantName: string;
|
|
164
162
|
total: number;
|
|
165
163
|
unpaid: number;
|
|
166
164
|
status: UniRefund_FinanceService_Enums_VATStatementStatus;
|
|
@@ -175,6 +173,8 @@ export type UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDetai
|
|
|
175
173
|
referenceNumber?: (string) | null;
|
|
176
174
|
yourReference?: (string) | null;
|
|
177
175
|
contractHeaderId: string;
|
|
176
|
+
merchantId: string;
|
|
177
|
+
merchantName: string;
|
|
178
178
|
vatStatementDate: string;
|
|
179
179
|
dueDate: string;
|
|
180
180
|
vatStatementTagDetails?: Array<UniRefund_FinanceService_VATStatementTagDetails_VATStatementTagDetailDto> | null;
|
|
@@ -184,9 +184,7 @@ export type UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDetai
|
|
|
184
184
|
};
|
|
185
185
|
|
|
186
186
|
export type UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDraftDto = {
|
|
187
|
-
merchantId: string;
|
|
188
187
|
tagCount: number;
|
|
189
|
-
merchantName: string;
|
|
190
188
|
total: number;
|
|
191
189
|
unpaid: number;
|
|
192
190
|
status: UniRefund_FinanceService_Enums_VATStatementStatus;
|
|
@@ -201,15 +199,15 @@ export type UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDraft
|
|
|
201
199
|
referenceNumber?: (string) | null;
|
|
202
200
|
yourReference?: (string) | null;
|
|
203
201
|
contractHeaderId: string;
|
|
202
|
+
merchantId: string;
|
|
203
|
+
merchantName: string;
|
|
204
204
|
vatStatementDate: string;
|
|
205
205
|
dueDate: string;
|
|
206
206
|
vatStatementTagDetails?: Array<UniRefund_FinanceService_VATStatementTagDetails_VATStatementTagDetailDraftDto> | null;
|
|
207
207
|
};
|
|
208
208
|
|
|
209
209
|
export type UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDraftSummaryDto = {
|
|
210
|
-
merchantId: string;
|
|
211
210
|
tagCount: number;
|
|
212
|
-
merchantName: string;
|
|
213
211
|
total: number;
|
|
214
212
|
unpaid: number;
|
|
215
213
|
status: UniRefund_FinanceService_Enums_VATStatementStatus;
|
|
@@ -227,9 +225,7 @@ export type UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDraft
|
|
|
227
225
|
};
|
|
228
226
|
|
|
229
227
|
export type UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto = {
|
|
230
|
-
merchantId: string;
|
|
231
228
|
tagCount: number;
|
|
232
|
-
merchantName: string;
|
|
233
229
|
total: number;
|
|
234
230
|
unpaid: number;
|
|
235
231
|
status: UniRefund_FinanceService_Enums_VATStatementStatus;
|
|
@@ -244,6 +240,8 @@ export type UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto =
|
|
|
244
240
|
referenceNumber?: (string) | null;
|
|
245
241
|
yourReference?: (string) | null;
|
|
246
242
|
contractHeaderId: string;
|
|
243
|
+
merchantId: string;
|
|
244
|
+
merchantName: string;
|
|
247
245
|
vatStatementDate: string;
|
|
248
246
|
dueDate: string;
|
|
249
247
|
vatStatementTagDetails?: Array<UniRefund_FinanceService_VATStatementTagDetails_VATStatementTagDetailDto> | null;
|
|
@@ -6,7 +6,7 @@ export const $PagedResultDto_TagListItemDto = {
|
|
|
6
6
|
items: {
|
|
7
7
|
type: 'array',
|
|
8
8
|
items: {
|
|
9
|
-
required: ['issueDate', 'merchantTitle', 'status', 'tagNumber', 'travellerDocumentNumber', 'travellerFullName'],
|
|
9
|
+
required: ['exportValidationExpirationDate', 'issueDate', 'merchantTitle', 'status', 'tagNumber', 'travellerDocumentNumber', 'travellerFullName'],
|
|
10
10
|
type: 'object',
|
|
11
11
|
properties: {
|
|
12
12
|
id: {
|
|
@@ -21,11 +21,19 @@ export const $PagedResultDto_TagListItemDto = {
|
|
|
21
21
|
type: 'string',
|
|
22
22
|
format: 'date-time'
|
|
23
23
|
},
|
|
24
|
-
|
|
24
|
+
exportValidationExpirationDate: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
format: 'date-time'
|
|
27
|
+
},
|
|
28
|
+
refundExpirationDate: {
|
|
25
29
|
type: 'string',
|
|
26
30
|
format: 'date-time',
|
|
27
31
|
nullable: true
|
|
28
32
|
},
|
|
33
|
+
isEarlyRefunded: {
|
|
34
|
+
type: 'boolean',
|
|
35
|
+
nullable: true
|
|
36
|
+
},
|
|
29
37
|
travellerFullName: {
|
|
30
38
|
minLength: 1,
|
|
31
39
|
type: 'string'
|
|
@@ -39,7 +47,11 @@ export const $PagedResultDto_TagListItemDto = {
|
|
|
39
47
|
type: 'string'
|
|
40
48
|
},
|
|
41
49
|
status: {
|
|
42
|
-
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
|
|
50
|
+
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut', 'EarlyPaid'],
|
|
51
|
+
type: 'string'
|
|
52
|
+
},
|
|
53
|
+
expirationReason: {
|
|
54
|
+
enum: ['ExportValidationExpirationDate', 'RefundExpirationDate', 'EarlyRefundExpirationDate'],
|
|
43
55
|
type: 'string'
|
|
44
56
|
},
|
|
45
57
|
totals: {
|
|
@@ -49,7 +61,7 @@ export const $PagedResultDto_TagListItemDto = {
|
|
|
49
61
|
type: 'object',
|
|
50
62
|
properties: {
|
|
51
63
|
totalType: {
|
|
52
|
-
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund'],
|
|
64
|
+
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund', 'EarlyRefundFee'],
|
|
53
65
|
type: 'string'
|
|
54
66
|
},
|
|
55
67
|
amount: {
|
|
@@ -92,7 +104,7 @@ export const $TagListResponseDto_TagListItemDto = {
|
|
|
92
104
|
items: {
|
|
93
105
|
type: 'array',
|
|
94
106
|
items: {
|
|
95
|
-
required: ['issueDate', 'merchantTitle', 'status', 'tagNumber', 'travellerDocumentNumber', 'travellerFullName'],
|
|
107
|
+
required: ['exportValidationExpirationDate', 'issueDate', 'merchantTitle', 'status', 'tagNumber', 'travellerDocumentNumber', 'travellerFullName'],
|
|
96
108
|
type: 'object',
|
|
97
109
|
properties: {
|
|
98
110
|
id: {
|
|
@@ -107,11 +119,19 @@ export const $TagListResponseDto_TagListItemDto = {
|
|
|
107
119
|
type: 'string',
|
|
108
120
|
format: 'date-time'
|
|
109
121
|
},
|
|
110
|
-
|
|
122
|
+
exportValidationExpirationDate: {
|
|
123
|
+
type: 'string',
|
|
124
|
+
format: 'date-time'
|
|
125
|
+
},
|
|
126
|
+
refundExpirationDate: {
|
|
111
127
|
type: 'string',
|
|
112
128
|
format: 'date-time',
|
|
113
129
|
nullable: true
|
|
114
130
|
},
|
|
131
|
+
isEarlyRefunded: {
|
|
132
|
+
type: 'boolean',
|
|
133
|
+
nullable: true
|
|
134
|
+
},
|
|
115
135
|
travellerFullName: {
|
|
116
136
|
minLength: 1,
|
|
117
137
|
type: 'string'
|
|
@@ -125,7 +145,11 @@ export const $TagListResponseDto_TagListItemDto = {
|
|
|
125
145
|
type: 'string'
|
|
126
146
|
},
|
|
127
147
|
status: {
|
|
128
|
-
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
|
|
148
|
+
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut', 'EarlyPaid'],
|
|
149
|
+
type: 'string'
|
|
150
|
+
},
|
|
151
|
+
expirationReason: {
|
|
152
|
+
enum: ['ExportValidationExpirationDate', 'RefundExpirationDate', 'EarlyRefundExpirationDate'],
|
|
129
153
|
type: 'string'
|
|
130
154
|
},
|
|
131
155
|
totals: {
|
|
@@ -135,7 +159,7 @@ export const $TagListResponseDto_TagListItemDto = {
|
|
|
135
159
|
type: 'object',
|
|
136
160
|
properties: {
|
|
137
161
|
totalType: {
|
|
138
|
-
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund'],
|
|
162
|
+
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund', 'EarlyRefundFee'],
|
|
139
163
|
type: 'string'
|
|
140
164
|
},
|
|
141
165
|
amount: {
|
|
@@ -828,7 +852,13 @@ export const $UniRefund_TagService_Tags_Enums_RefundType = {
|
|
|
828
852
|
type: 'string'
|
|
829
853
|
} as const;
|
|
830
854
|
|
|
855
|
+
export const $UniRefund_TagService_Tags_ExpirationReason = {
|
|
856
|
+
enum: ['ExportValidationExpirationDate', 'RefundExpirationDate', 'EarlyRefundExpirationDate'],
|
|
857
|
+
type: 'string'
|
|
858
|
+
} as const;
|
|
859
|
+
|
|
831
860
|
export const $UniRefund_TagService_Tags_ExportValidationRequestDto = {
|
|
861
|
+
required: ['customsId', 'referenceId', 'responseCode'],
|
|
832
862
|
type: 'object',
|
|
833
863
|
properties: {
|
|
834
864
|
exportDate: {
|
|
@@ -841,12 +871,12 @@ export const $UniRefund_TagService_Tags_ExportValidationRequestDto = {
|
|
|
841
871
|
format: 'uuid'
|
|
842
872
|
},
|
|
843
873
|
referenceId: {
|
|
844
|
-
|
|
845
|
-
|
|
874
|
+
minLength: 1,
|
|
875
|
+
type: 'string'
|
|
846
876
|
},
|
|
847
877
|
responseCode: {
|
|
848
|
-
|
|
849
|
-
|
|
878
|
+
minLength: 1,
|
|
879
|
+
type: 'string'
|
|
850
880
|
},
|
|
851
881
|
description: {
|
|
852
882
|
type: 'string',
|
|
@@ -999,6 +1029,11 @@ export const $UniRefund_TagService_Tags_SetTagRefundRequestDto = {
|
|
|
999
1029
|
agentFeeAmount: {
|
|
1000
1030
|
type: 'number',
|
|
1001
1031
|
format: 'double'
|
|
1032
|
+
},
|
|
1033
|
+
earlyRefundFeeAmount: {
|
|
1034
|
+
type: 'number',
|
|
1035
|
+
format: 'double',
|
|
1036
|
+
nullable: true
|
|
1002
1037
|
}
|
|
1003
1038
|
},
|
|
1004
1039
|
additionalProperties: false
|
|
@@ -1018,7 +1053,7 @@ export const $UniRefund_TagService_Tags_SetTagRefundRequestDto = {
|
|
|
1018
1053
|
format: 'date-time'
|
|
1019
1054
|
},
|
|
1020
1055
|
status: {
|
|
1021
|
-
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
|
|
1056
|
+
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut', 'EarlyPaid'],
|
|
1022
1057
|
type: 'string'
|
|
1023
1058
|
},
|
|
1024
1059
|
refundPointId: {
|
|
@@ -1055,6 +1090,11 @@ export const $UniRefund_TagService_Tags_SetTagRefundRequestItemDto = {
|
|
|
1055
1090
|
agentFeeAmount: {
|
|
1056
1091
|
type: 'number',
|
|
1057
1092
|
format: 'double'
|
|
1093
|
+
},
|
|
1094
|
+
earlyRefundFeeAmount: {
|
|
1095
|
+
type: 'number',
|
|
1096
|
+
format: 'double',
|
|
1097
|
+
nullable: true
|
|
1058
1098
|
}
|
|
1059
1099
|
},
|
|
1060
1100
|
additionalProperties: false
|
|
@@ -1099,7 +1139,7 @@ export const $UniRefund_TagService_Tags_SetTagVATStatementHeaderIdRequestDto = {
|
|
|
1099
1139
|
} as const;
|
|
1100
1140
|
|
|
1101
1141
|
export const $UniRefund_TagService_Tags_TagDetailDto = {
|
|
1102
|
-
required: ['issueDate', 'status', 'tagNumber'],
|
|
1142
|
+
required: ['exportValidationExpirationDate', 'issueDate', 'status', 'tagNumber'],
|
|
1103
1143
|
type: 'object',
|
|
1104
1144
|
properties: {
|
|
1105
1145
|
id: {
|
|
@@ -1111,18 +1151,30 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
1111
1151
|
type: 'string'
|
|
1112
1152
|
},
|
|
1113
1153
|
status: {
|
|
1114
|
-
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
|
|
1154
|
+
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut', 'EarlyPaid'],
|
|
1155
|
+
type: 'string'
|
|
1156
|
+
},
|
|
1157
|
+
expirationReason: {
|
|
1158
|
+
enum: ['ExportValidationExpirationDate', 'RefundExpirationDate', 'EarlyRefundExpirationDate'],
|
|
1115
1159
|
type: 'string'
|
|
1116
1160
|
},
|
|
1117
1161
|
refundType: {
|
|
1118
1162
|
enum: ['Cash', 'CreditCard', 'BankTransfer', 'Wallet', 'CashViaPartner'],
|
|
1119
1163
|
type: 'string'
|
|
1120
1164
|
},
|
|
1165
|
+
isEarlyRefunded: {
|
|
1166
|
+
type: 'boolean',
|
|
1167
|
+
nullable: true
|
|
1168
|
+
},
|
|
1121
1169
|
issueDate: {
|
|
1122
1170
|
type: 'string',
|
|
1123
1171
|
format: 'date-time'
|
|
1124
1172
|
},
|
|
1125
|
-
|
|
1173
|
+
exportValidationExpirationDate: {
|
|
1174
|
+
type: 'string',
|
|
1175
|
+
format: 'date-time'
|
|
1176
|
+
},
|
|
1177
|
+
refundExpirationDate: {
|
|
1126
1178
|
type: 'string',
|
|
1127
1179
|
format: 'date-time',
|
|
1128
1180
|
nullable: true
|
|
@@ -1388,7 +1440,7 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
1388
1440
|
type: 'object',
|
|
1389
1441
|
properties: {
|
|
1390
1442
|
totalType: {
|
|
1391
|
-
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund'],
|
|
1443
|
+
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund', 'EarlyRefundFee'],
|
|
1392
1444
|
type: 'string'
|
|
1393
1445
|
},
|
|
1394
1446
|
amount: {
|
|
@@ -1448,7 +1500,7 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
1448
1500
|
} as const;
|
|
1449
1501
|
|
|
1450
1502
|
export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
1451
|
-
required: ['issueDate', 'status', 'tagNumber'],
|
|
1503
|
+
required: ['exportValidationExpirationDate', 'issueDate', 'status', 'tagNumber'],
|
|
1452
1504
|
type: 'object',
|
|
1453
1505
|
properties: {
|
|
1454
1506
|
id: {
|
|
@@ -1460,17 +1512,16 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
|
1460
1512
|
type: 'string'
|
|
1461
1513
|
},
|
|
1462
1514
|
status: {
|
|
1463
|
-
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
|
|
1515
|
+
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut', 'EarlyPaid'],
|
|
1464
1516
|
type: 'string'
|
|
1465
1517
|
},
|
|
1466
1518
|
issueDate: {
|
|
1467
1519
|
type: 'string',
|
|
1468
1520
|
format: 'date-time'
|
|
1469
1521
|
},
|
|
1470
|
-
|
|
1522
|
+
exportValidationExpirationDate: {
|
|
1471
1523
|
type: 'string',
|
|
1472
|
-
format: 'date-time'
|
|
1473
|
-
nullable: true
|
|
1524
|
+
format: 'date-time'
|
|
1474
1525
|
},
|
|
1475
1526
|
merchant: {
|
|
1476
1527
|
type: 'object',
|
|
@@ -1693,7 +1744,7 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
|
1693
1744
|
type: 'object',
|
|
1694
1745
|
properties: {
|
|
1695
1746
|
totalType: {
|
|
1696
|
-
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund'],
|
|
1747
|
+
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund', 'EarlyRefundFee'],
|
|
1697
1748
|
type: 'string'
|
|
1698
1749
|
},
|
|
1699
1750
|
amount: {
|
|
@@ -1722,7 +1773,7 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
|
1722
1773
|
} as const;
|
|
1723
1774
|
|
|
1724
1775
|
export const $UniRefund_TagService_Tags_TagDto = {
|
|
1725
|
-
required: ['issueDate', 'status', 'tagNumber'],
|
|
1776
|
+
required: ['exportValidationExpirationDate', 'issueDate', 'status', 'tagNumber'],
|
|
1726
1777
|
type: 'object',
|
|
1727
1778
|
properties: {
|
|
1728
1779
|
id: {
|
|
@@ -1734,18 +1785,30 @@ export const $UniRefund_TagService_Tags_TagDto = {
|
|
|
1734
1785
|
type: 'string'
|
|
1735
1786
|
},
|
|
1736
1787
|
status: {
|
|
1737
|
-
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
|
|
1788
|
+
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut', 'EarlyPaid'],
|
|
1789
|
+
type: 'string'
|
|
1790
|
+
},
|
|
1791
|
+
expirationReason: {
|
|
1792
|
+
enum: ['ExportValidationExpirationDate', 'RefundExpirationDate', 'EarlyRefundExpirationDate'],
|
|
1738
1793
|
type: 'string'
|
|
1739
1794
|
},
|
|
1740
1795
|
refundType: {
|
|
1741
1796
|
enum: ['Cash', 'CreditCard', 'BankTransfer', 'Wallet', 'CashViaPartner'],
|
|
1742
1797
|
type: 'string'
|
|
1743
1798
|
},
|
|
1799
|
+
isEarlyRefunded: {
|
|
1800
|
+
type: 'boolean',
|
|
1801
|
+
nullable: true
|
|
1802
|
+
},
|
|
1744
1803
|
issueDate: {
|
|
1745
1804
|
type: 'string',
|
|
1746
1805
|
format: 'date-time'
|
|
1747
1806
|
},
|
|
1748
|
-
|
|
1807
|
+
exportValidationExpirationDate: {
|
|
1808
|
+
type: 'string',
|
|
1809
|
+
format: 'date-time'
|
|
1810
|
+
},
|
|
1811
|
+
refundExpirationDate: {
|
|
1749
1812
|
type: 'string',
|
|
1750
1813
|
format: 'date-time',
|
|
1751
1814
|
nullable: true
|
|
@@ -1806,7 +1869,7 @@ export const $UniRefund_TagService_Tags_TagDto = {
|
|
|
1806
1869
|
type: 'object',
|
|
1807
1870
|
properties: {
|
|
1808
1871
|
totalType: {
|
|
1809
|
-
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund'],
|
|
1872
|
+
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund', 'EarlyRefundFee'],
|
|
1810
1873
|
type: 'string'
|
|
1811
1874
|
},
|
|
1812
1875
|
amount: {
|
|
@@ -1879,7 +1942,7 @@ export const $UniRefund_TagService_Tags_TagIdAndVATStatementHeaderIdPairDto = {
|
|
|
1879
1942
|
} as const;
|
|
1880
1943
|
|
|
1881
1944
|
export const $UniRefund_TagService_Tags_TagListItemDto = {
|
|
1882
|
-
required: ['issueDate', 'merchantTitle', 'status', 'tagNumber', 'travellerDocumentNumber', 'travellerFullName'],
|
|
1945
|
+
required: ['exportValidationExpirationDate', 'issueDate', 'merchantTitle', 'status', 'tagNumber', 'travellerDocumentNumber', 'travellerFullName'],
|
|
1883
1946
|
type: 'object',
|
|
1884
1947
|
properties: {
|
|
1885
1948
|
id: {
|
|
@@ -1894,11 +1957,19 @@ export const $UniRefund_TagService_Tags_TagListItemDto = {
|
|
|
1894
1957
|
type: 'string',
|
|
1895
1958
|
format: 'date-time'
|
|
1896
1959
|
},
|
|
1897
|
-
|
|
1960
|
+
exportValidationExpirationDate: {
|
|
1961
|
+
type: 'string',
|
|
1962
|
+
format: 'date-time'
|
|
1963
|
+
},
|
|
1964
|
+
refundExpirationDate: {
|
|
1898
1965
|
type: 'string',
|
|
1899
1966
|
format: 'date-time',
|
|
1900
1967
|
nullable: true
|
|
1901
1968
|
},
|
|
1969
|
+
isEarlyRefunded: {
|
|
1970
|
+
type: 'boolean',
|
|
1971
|
+
nullable: true
|
|
1972
|
+
},
|
|
1902
1973
|
travellerFullName: {
|
|
1903
1974
|
minLength: 1,
|
|
1904
1975
|
type: 'string'
|
|
@@ -1912,7 +1983,11 @@ export const $UniRefund_TagService_Tags_TagListItemDto = {
|
|
|
1912
1983
|
type: 'string'
|
|
1913
1984
|
},
|
|
1914
1985
|
status: {
|
|
1915
|
-
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
|
|
1986
|
+
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut', 'EarlyPaid'],
|
|
1987
|
+
type: 'string'
|
|
1988
|
+
},
|
|
1989
|
+
expirationReason: {
|
|
1990
|
+
enum: ['ExportValidationExpirationDate', 'RefundExpirationDate', 'EarlyRefundExpirationDate'],
|
|
1916
1991
|
type: 'string'
|
|
1917
1992
|
},
|
|
1918
1993
|
totals: {
|
|
@@ -1922,7 +1997,7 @@ export const $UniRefund_TagService_Tags_TagListItemDto = {
|
|
|
1922
1997
|
type: 'object',
|
|
1923
1998
|
properties: {
|
|
1924
1999
|
totalType: {
|
|
1925
|
-
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund'],
|
|
2000
|
+
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund', 'EarlyRefundFee'],
|
|
1926
2001
|
type: 'string'
|
|
1927
2002
|
},
|
|
1928
2003
|
amount: {
|
|
@@ -1971,7 +2046,7 @@ export const $UniRefund_TagService_Tags_TagListSummaryDto = {
|
|
|
1971
2046
|
} as const;
|
|
1972
2047
|
|
|
1973
2048
|
export const $UniRefund_TagService_Tags_TagRefundFeesDto = {
|
|
1974
|
-
required: ['agentFee', 'id', 'netRefundAmount', 'touristFee'],
|
|
2049
|
+
required: ['agentFee', 'earlyRefundFee', 'id', 'netRefundAmount', 'touristFee'],
|
|
1975
2050
|
type: 'object',
|
|
1976
2051
|
properties: {
|
|
1977
2052
|
id: {
|
|
@@ -1986,6 +2061,10 @@ export const $UniRefund_TagService_Tags_TagRefundFeesDto = {
|
|
|
1986
2061
|
type: 'number',
|
|
1987
2062
|
format: 'double'
|
|
1988
2063
|
},
|
|
2064
|
+
earlyRefundFee: {
|
|
2065
|
+
type: 'number',
|
|
2066
|
+
format: 'double'
|
|
2067
|
+
},
|
|
1989
2068
|
netRefundAmount: {
|
|
1990
2069
|
type: 'number',
|
|
1991
2070
|
format: 'double'
|
|
@@ -1995,7 +2074,7 @@ export const $UniRefund_TagService_Tags_TagRefundFeesDto = {
|
|
|
1995
2074
|
} as const;
|
|
1996
2075
|
|
|
1997
2076
|
export const $UniRefund_TagService_Tags_TagStatusType = {
|
|
1998
|
-
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
|
|
2077
|
+
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut', 'EarlyPaid'],
|
|
1999
2078
|
type: 'string'
|
|
2000
2079
|
} as const;
|
|
2001
2080
|
|
|
@@ -2039,62 +2118,12 @@ export const $UniRefund_TagService_Tags_TagSumTagsForVATStatementTagDetailRespon
|
|
|
2039
2118
|
additionalProperties: false
|
|
2040
2119
|
} as const;
|
|
2041
2120
|
|
|
2042
|
-
export const $UniRefund_TagService_Tags_TagSumTagsResponseDto = {
|
|
2043
|
-
type: 'object',
|
|
2044
|
-
properties: {
|
|
2045
|
-
tagRefundFees: {
|
|
2046
|
-
type: 'array',
|
|
2047
|
-
items: {
|
|
2048
|
-
required: ['agentFee', 'id', 'netRefundAmount', 'touristFee'],
|
|
2049
|
-
type: 'object',
|
|
2050
|
-
properties: {
|
|
2051
|
-
id: {
|
|
2052
|
-
type: 'string',
|
|
2053
|
-
format: 'uuid'
|
|
2054
|
-
},
|
|
2055
|
-
touristFee: {
|
|
2056
|
-
type: 'number',
|
|
2057
|
-
format: 'double'
|
|
2058
|
-
},
|
|
2059
|
-
agentFee: {
|
|
2060
|
-
type: 'number',
|
|
2061
|
-
format: 'double'
|
|
2062
|
-
},
|
|
2063
|
-
netRefundAmount: {
|
|
2064
|
-
type: 'number',
|
|
2065
|
-
format: 'double'
|
|
2066
|
-
}
|
|
2067
|
-
},
|
|
2068
|
-
additionalProperties: false
|
|
2069
|
-
},
|
|
2070
|
-
nullable: true
|
|
2071
|
-
},
|
|
2072
|
-
travellerId: {
|
|
2073
|
-
type: 'string',
|
|
2074
|
-
format: 'uuid'
|
|
2075
|
-
},
|
|
2076
|
-
travellerDocumentNumber: {
|
|
2077
|
-
type: 'string',
|
|
2078
|
-
nullable: true
|
|
2079
|
-
},
|
|
2080
|
-
refundCurrency: {
|
|
2081
|
-
type: 'string',
|
|
2082
|
-
nullable: true
|
|
2083
|
-
},
|
|
2084
|
-
status: {
|
|
2085
|
-
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
|
|
2086
|
-
type: 'string'
|
|
2087
|
-
}
|
|
2088
|
-
},
|
|
2089
|
-
additionalProperties: false
|
|
2090
|
-
} as const;
|
|
2091
|
-
|
|
2092
2121
|
export const $UniRefund_TagService_Tags_TagTotalDto = {
|
|
2093
2122
|
required: ['amount', 'currency', 'rate', 'totalType'],
|
|
2094
2123
|
type: 'object',
|
|
2095
2124
|
properties: {
|
|
2096
2125
|
totalType: {
|
|
2097
|
-
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund'],
|
|
2126
|
+
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund', 'EarlyRefundFee'],
|
|
2098
2127
|
type: 'string'
|
|
2099
2128
|
},
|
|
2100
2129
|
amount: {
|
|
@@ -2180,8 +2209,62 @@ export const $UniRefund_TagService_Tags_TagValidForVATStatementResponseDto = {
|
|
|
2180
2209
|
additionalProperties: false
|
|
2181
2210
|
} as const;
|
|
2182
2211
|
|
|
2212
|
+
export const $UniRefund_TagService_Tags_TagsSumForRefundResponseDto = {
|
|
2213
|
+
type: 'object',
|
|
2214
|
+
properties: {
|
|
2215
|
+
tagRefundFees: {
|
|
2216
|
+
type: 'array',
|
|
2217
|
+
items: {
|
|
2218
|
+
required: ['agentFee', 'earlyRefundFee', 'id', 'netRefundAmount', 'touristFee'],
|
|
2219
|
+
type: 'object',
|
|
2220
|
+
properties: {
|
|
2221
|
+
id: {
|
|
2222
|
+
type: 'string',
|
|
2223
|
+
format: 'uuid'
|
|
2224
|
+
},
|
|
2225
|
+
touristFee: {
|
|
2226
|
+
type: 'number',
|
|
2227
|
+
format: 'double'
|
|
2228
|
+
},
|
|
2229
|
+
agentFee: {
|
|
2230
|
+
type: 'number',
|
|
2231
|
+
format: 'double'
|
|
2232
|
+
},
|
|
2233
|
+
earlyRefundFee: {
|
|
2234
|
+
type: 'number',
|
|
2235
|
+
format: 'double'
|
|
2236
|
+
},
|
|
2237
|
+
netRefundAmount: {
|
|
2238
|
+
type: 'number',
|
|
2239
|
+
format: 'double'
|
|
2240
|
+
}
|
|
2241
|
+
},
|
|
2242
|
+
additionalProperties: false
|
|
2243
|
+
},
|
|
2244
|
+
nullable: true
|
|
2245
|
+
},
|
|
2246
|
+
travellerId: {
|
|
2247
|
+
type: 'string',
|
|
2248
|
+
format: 'uuid'
|
|
2249
|
+
},
|
|
2250
|
+
travellerDocumentNumber: {
|
|
2251
|
+
type: 'string',
|
|
2252
|
+
nullable: true
|
|
2253
|
+
},
|
|
2254
|
+
refundCurrency: {
|
|
2255
|
+
type: 'string',
|
|
2256
|
+
nullable: true
|
|
2257
|
+
},
|
|
2258
|
+
status: {
|
|
2259
|
+
enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut', 'EarlyPaid'],
|
|
2260
|
+
type: 'string'
|
|
2261
|
+
}
|
|
2262
|
+
},
|
|
2263
|
+
additionalProperties: false
|
|
2264
|
+
} as const;
|
|
2265
|
+
|
|
2183
2266
|
export const $UniRefund_TagService_Tags_TotalType = {
|
|
2184
|
-
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund'],
|
|
2267
|
+
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund', 'EarlyRefundFee'],
|
|
2185
2268
|
type: 'string'
|
|
2186
2269
|
} as const;
|
|
2187
2270
|
|
|
@@ -2200,7 +2283,12 @@ export const $UniRefund_TagService_Tags_UpdateTagDto = {
|
|
|
2200
2283
|
type: 'string',
|
|
2201
2284
|
format: 'date-time'
|
|
2202
2285
|
},
|
|
2203
|
-
|
|
2286
|
+
exportValidationExpirationDate: {
|
|
2287
|
+
type: 'string',
|
|
2288
|
+
format: 'date-time',
|
|
2289
|
+
nullable: true
|
|
2290
|
+
},
|
|
2291
|
+
refundExpirationDate: {
|
|
2204
2292
|
type: 'string',
|
|
2205
2293
|
format: 'date-time',
|
|
2206
2294
|
nullable: true
|
|
@@ -2257,7 +2345,7 @@ export const $UniRefund_TagService_Tags_UpdateTagDto = {
|
|
|
2257
2345
|
type: 'object',
|
|
2258
2346
|
properties: {
|
|
2259
2347
|
totalType: {
|
|
2260
|
-
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund'],
|
|
2348
|
+
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund', 'EarlyRefundFee'],
|
|
2261
2349
|
type: 'string'
|
|
2262
2350
|
},
|
|
2263
2351
|
amount: {
|
package/TagService/sdk.gen.ts
CHANGED
|
@@ -125,6 +125,7 @@ export class TagService {
|
|
|
125
125
|
* @param data.invoiceNumber
|
|
126
126
|
* @param data.travellerFullName
|
|
127
127
|
* @param data.travellerDocumentNumber
|
|
128
|
+
* @param data.isEarlyRefunded
|
|
128
129
|
* @param data.issuedStartDate
|
|
129
130
|
* @param data.issuedEndDate
|
|
130
131
|
* @param data.exportStartDate
|
|
@@ -150,6 +151,7 @@ export class TagService {
|
|
|
150
151
|
InvoiceNumber: data.invoiceNumber,
|
|
151
152
|
TravellerFullName: data.travellerFullName,
|
|
152
153
|
TravellerDocumentNumber: data.travellerDocumentNumber,
|
|
154
|
+
IsEarlyRefunded: data.isEarlyRefunded,
|
|
153
155
|
IssuedStartDate: data.issuedStartDate,
|
|
154
156
|
IssuedEndDate: data.issuedEndDate,
|
|
155
157
|
ExportStartDate: data.exportStartDate,
|
|
@@ -292,6 +294,7 @@ export class TagService {
|
|
|
292
294
|
* @param data.invoiceNumber
|
|
293
295
|
* @param data.travellerFullName
|
|
294
296
|
* @param data.travellerDocumentNumber
|
|
297
|
+
* @param data.isEarlyRefunded
|
|
295
298
|
* @param data.issuedStartDate
|
|
296
299
|
* @param data.issuedEndDate
|
|
297
300
|
* @param data.exportStartDate
|
|
@@ -317,6 +320,7 @@ export class TagService {
|
|
|
317
320
|
InvoiceNumber: data.invoiceNumber,
|
|
318
321
|
TravellerFullName: data.travellerFullName,
|
|
319
322
|
TravellerDocumentNumber: data.travellerDocumentNumber,
|
|
323
|
+
IsEarlyRefunded: data.isEarlyRefunded,
|
|
320
324
|
IssuedStartDate: data.issuedStartDate,
|
|
321
325
|
IssuedEndDate: data.issuedEndDate,
|
|
322
326
|
ExportStartDate: data.exportStartDate,
|
|
@@ -531,9 +535,9 @@ export class TagIntegrationService {
|
|
|
531
535
|
|
|
532
536
|
/**
|
|
533
537
|
* @param data The data for the request.
|
|
534
|
-
* @param data.merchantIds
|
|
535
538
|
* @param data.year
|
|
536
539
|
* @param data.month
|
|
540
|
+
* @param data.merchantIds
|
|
537
541
|
* @returns unknown Success
|
|
538
542
|
* @throws ApiError
|
|
539
543
|
*/
|
|
@@ -542,9 +546,9 @@ export class TagIntegrationService {
|
|
|
542
546
|
method: 'GET',
|
|
543
547
|
url: '/integration-api/tags/valid-list-for-vat-statement',
|
|
544
548
|
query: {
|
|
545
|
-
merchantIds: data.merchantIds,
|
|
546
549
|
year: data.year,
|
|
547
|
-
month: data.month
|
|
550
|
+
month: data.month,
|
|
551
|
+
merchantIds: data.merchantIds
|
|
548
552
|
},
|
|
549
553
|
errors: {
|
|
550
554
|
400: 'Bad Request',
|
package/TagService/types.gen.ts
CHANGED
|
@@ -119,11 +119,13 @@ export type UniRefund_TagService_Tags_EarningType = 'None' | 'GrossComission' |
|
|
|
119
119
|
|
|
120
120
|
export type UniRefund_TagService_Tags_Enums_RefundType = 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
|
|
121
121
|
|
|
122
|
+
export type UniRefund_TagService_Tags_ExpirationReason = 'ExportValidationExpirationDate' | 'RefundExpirationDate' | 'EarlyRefundExpirationDate';
|
|
123
|
+
|
|
122
124
|
export type UniRefund_TagService_Tags_ExportValidationRequestDto = {
|
|
123
125
|
exportDate?: (string) | null;
|
|
124
|
-
customsId
|
|
125
|
-
referenceId
|
|
126
|
-
responseCode
|
|
126
|
+
customsId: string;
|
|
127
|
+
referenceId: string;
|
|
128
|
+
responseCode: string;
|
|
127
129
|
description?: (string) | null;
|
|
128
130
|
};
|
|
129
131
|
|
|
@@ -169,6 +171,7 @@ export type UniRefund_TagService_Tags_SetTagRefundRequestItemDto = {
|
|
|
169
171
|
refundRate?: number;
|
|
170
172
|
travellerFeeAmount?: number;
|
|
171
173
|
agentFeeAmount?: number;
|
|
174
|
+
earlyRefundFeeAmount?: (number) | null;
|
|
172
175
|
};
|
|
173
176
|
|
|
174
177
|
export type UniRefund_TagService_Tags_SetTagRefundResponseDto = {
|
|
@@ -183,9 +186,12 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
183
186
|
id?: string;
|
|
184
187
|
tagNumber: string;
|
|
185
188
|
status: UniRefund_TagService_Tags_TagStatusType;
|
|
189
|
+
expirationReason?: UniRefund_TagService_Tags_ExpirationReason;
|
|
186
190
|
refundType?: UniRefund_TagService_Tags_Enums_RefundType;
|
|
191
|
+
isEarlyRefunded?: (boolean) | null;
|
|
187
192
|
issueDate: string;
|
|
188
|
-
|
|
193
|
+
exportValidationExpirationDate: string;
|
|
194
|
+
refundExpirationDate?: (string) | null;
|
|
189
195
|
merchant?: UniRefund_TagService_Merchants_MerchantDetailDto;
|
|
190
196
|
traveller?: UniRefund_TagService_Travellers_TravellerDetailDto;
|
|
191
197
|
exportValidation?: UniRefund_ExportValidationService_ExportValidations_ExportValidationDetailDto;
|
|
@@ -201,7 +207,7 @@ export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
|
201
207
|
tagNumber: string;
|
|
202
208
|
status: UniRefund_TagService_Tags_TagStatusType;
|
|
203
209
|
issueDate: string;
|
|
204
|
-
|
|
210
|
+
exportValidationExpirationDate: string;
|
|
205
211
|
merchant?: UniRefund_TagService_Merchants_MerchantDetailDto;
|
|
206
212
|
exportValidation?: UniRefund_ExportValidationService_ExportValidations_ExportValidationDetailDto;
|
|
207
213
|
invoices?: Array<UniRefund_TagService_Invoices_InvoiceDto> | null;
|
|
@@ -212,9 +218,12 @@ export type UniRefund_TagService_Tags_TagDto = {
|
|
|
212
218
|
id?: string;
|
|
213
219
|
tagNumber: string;
|
|
214
220
|
status: UniRefund_TagService_Tags_TagStatusType;
|
|
221
|
+
expirationReason?: UniRefund_TagService_Tags_ExpirationReason;
|
|
215
222
|
refundType?: UniRefund_TagService_Tags_Enums_RefundType;
|
|
223
|
+
isEarlyRefunded?: (boolean) | null;
|
|
216
224
|
issueDate: string;
|
|
217
|
-
|
|
225
|
+
exportValidationExpirationDate: string;
|
|
226
|
+
refundExpirationDate?: (string) | null;
|
|
218
227
|
exportValidationId?: (string) | null;
|
|
219
228
|
refundId?: (string) | null;
|
|
220
229
|
vatStatementHeaderId?: (string) | null;
|
|
@@ -245,11 +254,14 @@ export type UniRefund_TagService_Tags_TagListItemDto = {
|
|
|
245
254
|
id?: string;
|
|
246
255
|
tagNumber: string;
|
|
247
256
|
issueDate: string;
|
|
248
|
-
|
|
257
|
+
exportValidationExpirationDate: string;
|
|
258
|
+
refundExpirationDate?: (string) | null;
|
|
259
|
+
isEarlyRefunded?: (boolean) | null;
|
|
249
260
|
travellerFullName: string;
|
|
250
261
|
travellerDocumentNumber: string;
|
|
251
262
|
merchantTitle: string;
|
|
252
263
|
status: UniRefund_TagService_Tags_TagStatusType;
|
|
264
|
+
expirationReason?: UniRefund_TagService_Tags_ExpirationReason;
|
|
253
265
|
totals?: Array<UniRefund_TagService_Tags_TagTotalDto> | null;
|
|
254
266
|
};
|
|
255
267
|
|
|
@@ -263,10 +275,19 @@ export type UniRefund_TagService_Tags_TagRefundFeesDto = {
|
|
|
263
275
|
id: string;
|
|
264
276
|
touristFee: number;
|
|
265
277
|
agentFee: number;
|
|
278
|
+
earlyRefundFee: number;
|
|
266
279
|
netRefundAmount: number;
|
|
267
280
|
};
|
|
268
281
|
|
|
269
|
-
export type
|
|
282
|
+
export type UniRefund_TagService_Tags_TagsSumForRefundResponseDto = {
|
|
283
|
+
tagRefundFees?: Array<UniRefund_TagService_Tags_TagRefundFeesDto> | null;
|
|
284
|
+
travellerId?: string;
|
|
285
|
+
travellerDocumentNumber?: (string) | null;
|
|
286
|
+
refundCurrency?: (string) | null;
|
|
287
|
+
status?: UniRefund_TagService_Tags_TagStatusType;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
export type UniRefund_TagService_Tags_TagStatusType = 'None' | 'Open' | 'PreIssued' | 'Issued' | 'WaitingGoodsValidation' | 'WaitingStampValidation' | 'Declined' | 'ExportValidated' | 'PaymentBlocked' | 'PaymentInProgress' | 'PaymentProblem' | 'Paid' | 'Cancelled' | 'Expired' | 'Correction' | 'OptedOut' | 'EarlyPaid';
|
|
270
291
|
|
|
271
292
|
export type UniRefund_TagService_Tags_TagSumTagsForVATStatementTagDetailResponseDto = {
|
|
272
293
|
tagId: string;
|
|
@@ -279,14 +300,6 @@ export type UniRefund_TagService_Tags_TagSumTagsForVATStatementTagDetailResponse
|
|
|
279
300
|
currency: string;
|
|
280
301
|
};
|
|
281
302
|
|
|
282
|
-
export type UniRefund_TagService_Tags_TagSumTagsResponseDto = {
|
|
283
|
-
tagRefundFees?: Array<UniRefund_TagService_Tags_TagRefundFeesDto> | null;
|
|
284
|
-
travellerId?: string;
|
|
285
|
-
travellerDocumentNumber?: (string) | null;
|
|
286
|
-
refundCurrency?: (string) | null;
|
|
287
|
-
status?: UniRefund_TagService_Tags_TagStatusType;
|
|
288
|
-
};
|
|
289
|
-
|
|
290
303
|
export type UniRefund_TagService_Tags_TagTotalDto = {
|
|
291
304
|
totalType: UniRefund_TagService_Tags_TotalType;
|
|
292
305
|
amount: number;
|
|
@@ -311,13 +324,14 @@ export type UniRefund_TagService_Tags_TagValidForVATStatementResponseDto = {
|
|
|
311
324
|
tenantId?: (string) | null;
|
|
312
325
|
};
|
|
313
326
|
|
|
314
|
-
export type UniRefund_TagService_Tags_TotalType = 'None' | 'SalesAmount' | 'VatAmount' | 'GrossRefund' | 'RefundFee' | 'AgentRefundFee' | 'Refund';
|
|
327
|
+
export type UniRefund_TagService_Tags_TotalType = 'None' | 'SalesAmount' | 'VatAmount' | 'GrossRefund' | 'RefundFee' | 'AgentRefundFee' | 'Refund' | 'EarlyRefundFee';
|
|
315
328
|
|
|
316
329
|
export type UniRefund_TagService_Tags_UpdateTagDto = {
|
|
317
330
|
tagNumber?: (string) | null;
|
|
318
331
|
refundType?: UniRefund_TagService_Tags_Enums_RefundType;
|
|
319
332
|
issueDate?: string;
|
|
320
|
-
|
|
333
|
+
exportValidationExpirationDate?: (string) | null;
|
|
334
|
+
refundExpirationDate?: (string) | null;
|
|
321
335
|
exportValidationId?: (string) | null;
|
|
322
336
|
refundId?: (string) | null;
|
|
323
337
|
vatStatementHeaderId?: (string) | null;
|
|
@@ -762,6 +776,7 @@ export type GetApiTagServiceTagData = {
|
|
|
762
776
|
exportEndDate?: string;
|
|
763
777
|
exportStartDate?: string;
|
|
764
778
|
invoiceNumber?: string;
|
|
779
|
+
isEarlyRefunded?: boolean;
|
|
765
780
|
issuedEndDate?: string;
|
|
766
781
|
issuedStartDate?: string;
|
|
767
782
|
maxResultCount?: number;
|
|
@@ -815,6 +830,7 @@ export type GetApiTagServiceTagSummaryData = {
|
|
|
815
830
|
exportEndDate?: string;
|
|
816
831
|
exportStartDate?: string;
|
|
817
832
|
invoiceNumber?: string;
|
|
833
|
+
isEarlyRefunded?: boolean;
|
|
818
834
|
issuedEndDate?: string;
|
|
819
835
|
issuedStartDate?: string;
|
|
820
836
|
maxResultCount?: number;
|
|
@@ -856,7 +872,7 @@ export type GetIntegrationApiTagsSumData = {
|
|
|
856
872
|
refundType: UniRefund_TagService_Tags_Enums_RefundType;
|
|
857
873
|
};
|
|
858
874
|
|
|
859
|
-
export type GetIntegrationApiTagsSumResponse = (
|
|
875
|
+
export type GetIntegrationApiTagsSumResponse = (UniRefund_TagService_Tags_TagsSumForRefundResponseDto);
|
|
860
876
|
|
|
861
877
|
export type GetIntegrationApiTagsSumForVatStatementData = {
|
|
862
878
|
tagIds?: Array<(string)>;
|