@ayasofyazilim/saas 0.0.97 → 0.0.99

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.
@@ -6,6 +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
10
  type: 'object',
10
11
  properties: {
11
12
  id: {
@@ -13,8 +14,8 @@ export const $PagedResultDto_TagListItemDto = {
13
14
  format: 'uuid'
14
15
  },
15
16
  tagNumber: {
16
- type: 'string',
17
- nullable: true
17
+ minLength: 1,
18
+ type: 'string'
18
19
  },
19
20
  issueDate: {
20
21
  type: 'string',
@@ -22,19 +23,20 @@ export const $PagedResultDto_TagListItemDto = {
22
23
  },
23
24
  expireDate: {
24
25
  type: 'string',
25
- format: 'date-time'
26
+ format: 'date-time',
27
+ nullable: true
26
28
  },
27
29
  travellerFullName: {
28
- type: 'string',
29
- nullable: true
30
+ minLength: 1,
31
+ type: 'string'
30
32
  },
31
33
  travellerDocumentNumber: {
32
- type: 'string',
33
- nullable: true
34
+ minLength: 1,
35
+ type: 'string'
34
36
  },
35
37
  merchantTitle: {
36
- type: 'string',
37
- nullable: true
38
+ minLength: 1,
39
+ type: 'string'
38
40
  },
39
41
  status: {
40
42
  enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
@@ -43,6 +45,7 @@ export const $PagedResultDto_TagListItemDto = {
43
45
  totals: {
44
46
  type: 'array',
45
47
  items: {
48
+ required: ['amount', 'currency', 'rate', 'totalType'],
46
49
  type: 'object',
47
50
  properties: {
48
51
  totalType: {
@@ -58,8 +61,12 @@ export const $PagedResultDto_TagListItemDto = {
58
61
  nullable: true
59
62
  },
60
63
  currency: {
61
- type: 'string',
62
- nullable: true
64
+ minLength: 1,
65
+ type: 'string'
66
+ },
67
+ rate: {
68
+ type: 'number',
69
+ format: 'double'
63
70
  }
64
71
  },
65
72
  additionalProperties: false
@@ -85,6 +92,7 @@ export const $TagPagedAndSortedResultResponseDto_TagListItemDto = {
85
92
  items: {
86
93
  type: 'array',
87
94
  items: {
95
+ required: ['issueDate', 'merchantTitle', 'status', 'tagNumber', 'travellerDocumentNumber', 'travellerFullName'],
88
96
  type: 'object',
89
97
  properties: {
90
98
  id: {
@@ -92,8 +100,8 @@ export const $TagPagedAndSortedResultResponseDto_TagListItemDto = {
92
100
  format: 'uuid'
93
101
  },
94
102
  tagNumber: {
95
- type: 'string',
96
- nullable: true
103
+ minLength: 1,
104
+ type: 'string'
97
105
  },
98
106
  issueDate: {
99
107
  type: 'string',
@@ -101,19 +109,20 @@ export const $TagPagedAndSortedResultResponseDto_TagListItemDto = {
101
109
  },
102
110
  expireDate: {
103
111
  type: 'string',
104
- format: 'date-time'
112
+ format: 'date-time',
113
+ nullable: true
105
114
  },
106
115
  travellerFullName: {
107
- type: 'string',
108
- nullable: true
116
+ minLength: 1,
117
+ type: 'string'
109
118
  },
110
119
  travellerDocumentNumber: {
111
- type: 'string',
112
- nullable: true
120
+ minLength: 1,
121
+ type: 'string'
113
122
  },
114
123
  merchantTitle: {
115
- type: 'string',
116
- nullable: true
124
+ minLength: 1,
125
+ type: 'string'
117
126
  },
118
127
  status: {
119
128
  enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
@@ -122,6 +131,7 @@ export const $TagPagedAndSortedResultResponseDto_TagListItemDto = {
122
131
  totals: {
123
132
  type: 'array',
124
133
  items: {
134
+ required: ['amount', 'currency', 'rate', 'totalType'],
125
135
  type: 'object',
126
136
  properties: {
127
137
  totalType: {
@@ -137,8 +147,12 @@ export const $TagPagedAndSortedResultResponseDto_TagListItemDto = {
137
147
  nullable: true
138
148
  },
139
149
  currency: {
140
- type: 'string',
141
- nullable: true
150
+ minLength: 1,
151
+ type: 'string'
152
+ },
153
+ rate: {
154
+ type: 'number',
155
+ format: 'double'
142
156
  }
143
157
  },
144
158
  additionalProperties: false
@@ -158,6 +172,50 @@ export const $TagPagedAndSortedResultResponseDto_TagListItemDto = {
158
172
  additionalProperties: false
159
173
  } as const;
160
174
 
175
+ export const $UniRefund_ExportValidationService_ExportValidations_ExportValidationDto = {
176
+ type: 'object',
177
+ properties: {
178
+ id: {
179
+ type: 'string',
180
+ format: 'uuid'
181
+ },
182
+ tagId: {
183
+ type: 'string',
184
+ format: 'uuid',
185
+ nullable: true
186
+ },
187
+ exportLocationId: {
188
+ type: 'string',
189
+ format: 'uuid'
190
+ },
191
+ referenceId: {
192
+ type: 'string',
193
+ nullable: true
194
+ },
195
+ exportDate: {
196
+ type: 'string',
197
+ format: 'date-time'
198
+ },
199
+ status: {
200
+ enum: ['None', 'Waiting', 'Approved', 'Rejected', 'Expired'],
201
+ type: 'string'
202
+ },
203
+ stampType: {
204
+ enum: ['None', 'Integration', 'DigitalStamp'],
205
+ type: 'string'
206
+ },
207
+ initialValidationResult: {
208
+ enum: ['None', 'Green'],
209
+ type: 'string'
210
+ },
211
+ finalValidationResult: {
212
+ enum: ['None', 'Green'],
213
+ type: 'string'
214
+ }
215
+ },
216
+ additionalProperties: false
217
+ } as const;
218
+
161
219
  export const $UniRefund_ExportValidationService_ExportValidations_ExportValidationStatusCode = {
162
220
  enum: ['None', 'Waiting', 'Approved', 'Rejected', 'Expired'],
163
221
  type: 'string'
@@ -168,6 +226,11 @@ export const $UniRefund_ExportValidationService_ExportValidations_StampTypeCode
168
226
  type: 'string'
169
227
  } as const;
170
228
 
229
+ export const $UniRefund_ExportValidationService_ExportValidations_ValidationResult = {
230
+ enum: ['None', 'Green'],
231
+ type: 'string'
232
+ } as const;
233
+
171
234
  export const $UniRefund_TagService_Billings_BillingDto = {
172
235
  type: 'object',
173
236
  properties: {
@@ -227,6 +290,7 @@ export const $UniRefund_TagService_ExportValidations_ExportValidationDto = {
227
290
  } as const;
228
291
 
229
292
  export const $UniRefund_TagService_Invoices_InvoiceDto = {
293
+ required: ['issueDate', 'totalAmount', 'vatAmount'],
230
294
  type: 'object',
231
295
  properties: {
232
296
  id: {
@@ -256,6 +320,7 @@ export const $UniRefund_TagService_Invoices_InvoiceDto = {
256
320
  invoiceLines: {
257
321
  type: 'array',
258
322
  items: {
323
+ required: ['amount', 'taxAmount', 'taxBase', 'taxRate'],
259
324
  type: 'object',
260
325
  properties: {
261
326
  id: {
@@ -300,6 +365,7 @@ export const $UniRefund_TagService_Invoices_InvoiceDto = {
300
365
  } as const;
301
366
 
302
367
  export const $UniRefund_TagService_Invoices_InvoiceLineDto = {
368
+ required: ['amount', 'taxAmount', 'taxBase', 'taxRate'],
303
369
  type: 'object',
304
370
  properties: {
305
371
  id: {
@@ -339,6 +405,7 @@ export const $UniRefund_TagService_Invoices_InvoiceLineDto = {
339
405
  } as const;
340
406
 
341
407
  export const $UniRefund_TagService_Invoices_InvoiceRequestDto = {
408
+ required: ['amountPaid', 'issueDate', 'taxTotals', 'uuid', 'vatAmount'],
342
409
  type: 'object',
343
410
  properties: {
344
411
  id: {
@@ -369,6 +436,7 @@ export const $UniRefund_TagService_Invoices_InvoiceRequestDto = {
369
436
  taxTotals: {
370
437
  type: 'array',
371
438
  items: {
439
+ required: ['taxableAmount', 'taxRate', 'taxTotal'],
372
440
  type: 'object',
373
441
  properties: {
374
442
  taxRate: {
@@ -385,8 +453,7 @@ export const $UniRefund_TagService_Invoices_InvoiceRequestDto = {
385
453
  }
386
454
  },
387
455
  additionalProperties: false
388
- },
389
- nullable: true
456
+ }
390
457
  }
391
458
  },
392
459
  additionalProperties: false
@@ -509,6 +576,7 @@ export const $UniRefund_TagService_Tags_AddressDto = {
509
576
  } as const;
510
577
 
511
578
  export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
579
+ required: ['invoices', 'merchant', 'traveller'],
512
580
  type: 'object',
513
581
  properties: {
514
582
  merchant: {
@@ -531,7 +599,7 @@ export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
531
599
  additionalProperties: false
532
600
  },
533
601
  traveller: {
534
- required: ['expirationDate', 'firstName', 'lastName', 'nationalityCountryCode2', 'residenceCountryCode2', 'travelDocumentNumber'],
602
+ required: ['firstName', 'lastName', 'nationalityCountryCode2', 'residenceCountryCode2', 'travelDocumentNumber'],
535
603
  type: 'object',
536
604
  properties: {
537
605
  id: {
@@ -561,7 +629,8 @@ export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
561
629
  },
562
630
  expirationDate: {
563
631
  type: 'string',
564
- format: 'date-time'
632
+ format: 'date-time',
633
+ nullable: true
565
634
  },
566
635
  birthDate: {
567
636
  type: 'string',
@@ -574,6 +643,7 @@ export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
574
643
  invoices: {
575
644
  type: 'array',
576
645
  items: {
646
+ required: ['amountPaid', 'issueDate', 'taxTotals', 'uuid', 'vatAmount'],
577
647
  type: 'object',
578
648
  properties: {
579
649
  id: {
@@ -604,6 +674,7 @@ export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
604
674
  taxTotals: {
605
675
  type: 'array',
606
676
  items: {
677
+ required: ['taxableAmount', 'taxRate', 'taxTotal'],
607
678
  type: 'object',
608
679
  properties: {
609
680
  taxRate: {
@@ -620,23 +691,21 @@ export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
620
691
  }
621
692
  },
622
693
  additionalProperties: false
623
- },
624
- nullable: true
694
+ }
625
695
  }
626
696
  },
627
697
  additionalProperties: false
628
- },
629
- nullable: true
698
+ }
630
699
  },
631
700
  exportValidation: {
632
701
  type: 'object',
633
702
  properties: {
634
- dateTime: {
703
+ exportDate: {
635
704
  type: 'string',
636
705
  format: 'date-time',
637
706
  nullable: true
638
707
  },
639
- endpoint: {
708
+ exportLocationId: {
640
709
  type: 'string',
641
710
  format: 'uuid'
642
711
  },
@@ -659,15 +728,20 @@ export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
659
728
  additionalProperties: false
660
729
  } as const;
661
730
 
731
+ export const $UniRefund_TagService_Tags_Enums_RefundType = {
732
+ enum: ['Cash', 'CreditCard', 'BankTransfer', 'Wallet', 'CashViaPartner'],
733
+ type: 'string'
734
+ } as const;
735
+
662
736
  export const $UniRefund_TagService_Tags_ExportValidationRequestDto = {
663
737
  type: 'object',
664
738
  properties: {
665
- dateTime: {
739
+ exportDate: {
666
740
  type: 'string',
667
741
  format: 'date-time',
668
742
  nullable: true
669
743
  },
670
- endpoint: {
744
+ exportLocationId: {
671
745
  type: 'string',
672
746
  format: 'uuid'
673
747
  },
@@ -702,11 +776,6 @@ export const $UniRefund_TagService_Tags_ProductGroupDto = {
702
776
  additionalProperties: false
703
777
  } as const;
704
778
 
705
- export const $UniRefund_TagService_Tags_RefundType = {
706
- enum: ['Cash', 'CreditCard', 'BankTransfer', 'Wallet', 'CashViaPartner'],
707
- type: 'string'
708
- } as const;
709
-
710
779
  export const $UniRefund_TagService_Tags_SetTagRefundRequestDto = {
711
780
  type: 'object',
712
781
  properties: {
@@ -734,6 +803,10 @@ export const $UniRefund_TagService_Tags_SetTagRefundRequestDto = {
734
803
  travellerFeeAmount: {
735
804
  type: 'number',
736
805
  format: 'double'
806
+ },
807
+ agentFeeAmount: {
808
+ type: 'number',
809
+ format: 'double'
737
810
  }
738
811
  },
739
812
  additionalProperties: false
@@ -755,6 +828,10 @@ export const $UniRefund_TagService_Tags_SetTagRefundRequestDto = {
755
828
  status: {
756
829
  enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
757
830
  type: 'string'
831
+ },
832
+ refundPointId: {
833
+ type: 'string',
834
+ format: 'uuid'
758
835
  }
759
836
  },
760
837
  additionalProperties: false
@@ -782,6 +859,10 @@ export const $UniRefund_TagService_Tags_SetTagRefundRequestItemDto = {
782
859
  travellerFeeAmount: {
783
860
  type: 'number',
784
861
  format: 'double'
862
+ },
863
+ agentFeeAmount: {
864
+ type: 'number',
865
+ format: 'double'
785
866
  }
786
867
  },
787
868
  additionalProperties: false
@@ -799,7 +880,34 @@ export const $UniRefund_TagService_Tags_SetTagRefundResponseDto = {
799
880
  additionalProperties: false
800
881
  } as const;
801
882
 
883
+ export const $UniRefund_TagService_Tags_SetTagVATStatementHeaderIdRequestDto = {
884
+ type: 'object',
885
+ properties: {
886
+ tagIdAndVATStatementHeaderIdPairs: {
887
+ type: 'array',
888
+ items: {
889
+ required: ['tagId', 'vatStatementHeaderId'],
890
+ type: 'object',
891
+ properties: {
892
+ tagId: {
893
+ type: 'string',
894
+ format: 'uuid'
895
+ },
896
+ vatStatementHeaderId: {
897
+ type: 'string',
898
+ format: 'uuid'
899
+ }
900
+ },
901
+ additionalProperties: false
902
+ },
903
+ nullable: true
904
+ }
905
+ },
906
+ additionalProperties: false
907
+ } as const;
908
+
802
909
  export const $UniRefund_TagService_Tags_TagDetailDto = {
910
+ required: ['issueDate', 'status', 'tagNumber'],
803
911
  type: 'object',
804
912
  properties: {
805
913
  id: {
@@ -807,8 +915,8 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
807
915
  format: 'uuid'
808
916
  },
809
917
  tagNumber: {
810
- type: 'string',
811
- nullable: true
918
+ minLength: 1,
919
+ type: 'string'
812
920
  },
813
921
  status: {
814
922
  enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
@@ -820,8 +928,7 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
820
928
  },
821
929
  issueDate: {
822
930
  type: 'string',
823
- format: 'date-time',
824
- nullable: true
931
+ format: 'date-time'
825
932
  },
826
933
  expireDate: {
827
934
  type: 'string',
@@ -996,6 +1103,7 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
996
1103
  invoices: {
997
1104
  type: 'array',
998
1105
  items: {
1106
+ required: ['issueDate', 'totalAmount', 'vatAmount'],
999
1107
  type: 'object',
1000
1108
  properties: {
1001
1109
  id: {
@@ -1025,6 +1133,7 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
1025
1133
  invoiceLines: {
1026
1134
  type: 'array',
1027
1135
  items: {
1136
+ required: ['amount', 'taxAmount', 'taxBase', 'taxRate'],
1028
1137
  type: 'object',
1029
1138
  properties: {
1030
1139
  id: {
@@ -1072,6 +1181,7 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
1072
1181
  totals: {
1073
1182
  type: 'array',
1074
1183
  items: {
1184
+ required: ['amount', 'currency', 'rate', 'totalType'],
1075
1185
  type: 'object',
1076
1186
  properties: {
1077
1187
  totalType: {
@@ -1087,8 +1197,12 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
1087
1197
  nullable: true
1088
1198
  },
1089
1199
  currency: {
1090
- type: 'string',
1091
- nullable: true
1200
+ minLength: 1,
1201
+ type: 'string'
1202
+ },
1203
+ rate: {
1204
+ type: 'number',
1205
+ format: 'double'
1092
1206
  }
1093
1207
  },
1094
1208
  additionalProperties: false
@@ -1100,7 +1214,7 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
1100
1214
  } as const;
1101
1215
 
1102
1216
  export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
1103
- required: ['billing', 'expireDate', 'exportValidation', 'invoices', 'issueDate', 'merchant', 'status', 'tagNumber', 'totals'],
1217
+ required: ['issueDate', 'status', 'tagNumber'],
1104
1218
  type: 'object',
1105
1219
  properties: {
1106
1220
  id: {
@@ -1121,7 +1235,8 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
1121
1235
  },
1122
1236
  expireDate: {
1123
1237
  type: 'string',
1124
- format: 'date-time'
1238
+ format: 'date-time',
1239
+ nullable: true
1125
1240
  },
1126
1241
  merchant: {
1127
1242
  type: 'object',
@@ -1228,6 +1343,7 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
1228
1343
  invoices: {
1229
1344
  type: 'array',
1230
1345
  items: {
1346
+ required: ['issueDate', 'totalAmount', 'vatAmount'],
1231
1347
  type: 'object',
1232
1348
  properties: {
1233
1349
  id: {
@@ -1257,6 +1373,7 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
1257
1373
  invoiceLines: {
1258
1374
  type: 'array',
1259
1375
  items: {
1376
+ required: ['amount', 'taxAmount', 'taxBase', 'taxRate'],
1260
1377
  type: 'object',
1261
1378
  properties: {
1262
1379
  id: {
@@ -1298,11 +1415,13 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
1298
1415
  }
1299
1416
  },
1300
1417
  additionalProperties: false
1301
- }
1418
+ },
1419
+ nullable: true
1302
1420
  },
1303
1421
  totals: {
1304
1422
  type: 'array',
1305
1423
  items: {
1424
+ required: ['amount', 'currency', 'rate', 'totalType'],
1306
1425
  type: 'object',
1307
1426
  properties: {
1308
1427
  totalType: {
@@ -1318,18 +1437,24 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
1318
1437
  nullable: true
1319
1438
  },
1320
1439
  currency: {
1321
- type: 'string',
1322
- nullable: true
1440
+ minLength: 1,
1441
+ type: 'string'
1442
+ },
1443
+ rate: {
1444
+ type: 'number',
1445
+ format: 'double'
1323
1446
  }
1324
1447
  },
1325
1448
  additionalProperties: false
1326
- }
1449
+ },
1450
+ nullable: true
1327
1451
  }
1328
1452
  },
1329
1453
  additionalProperties: false
1330
1454
  } as const;
1331
1455
 
1332
1456
  export const $UniRefund_TagService_Tags_TagDto = {
1457
+ required: ['issueDate', 'status', 'tagNumber'],
1333
1458
  type: 'object',
1334
1459
  properties: {
1335
1460
  id: {
@@ -1337,8 +1462,8 @@ export const $UniRefund_TagService_Tags_TagDto = {
1337
1462
  format: 'uuid'
1338
1463
  },
1339
1464
  tagNumber: {
1340
- type: 'string',
1341
- nullable: true
1465
+ minLength: 1,
1466
+ type: 'string'
1342
1467
  },
1343
1468
  status: {
1344
1469
  enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
@@ -1350,8 +1475,7 @@ export const $UniRefund_TagService_Tags_TagDto = {
1350
1475
  },
1351
1476
  issueDate: {
1352
1477
  type: 'string',
1353
- format: 'date-time',
1354
- nullable: true
1478
+ format: 'date-time'
1355
1479
  },
1356
1480
  expireDate: {
1357
1481
  type: 'string',
@@ -1368,7 +1492,7 @@ export const $UniRefund_TagService_Tags_TagDto = {
1368
1492
  format: 'uuid',
1369
1493
  nullable: true
1370
1494
  },
1371
- billingId: {
1495
+ vatStatementHeaderId: {
1372
1496
  type: 'string',
1373
1497
  format: 'uuid',
1374
1498
  nullable: true
@@ -1402,9 +1526,15 @@ export const $UniRefund_TagService_Tags_TagDto = {
1402
1526
  format: 'uuid',
1403
1527
  nullable: true
1404
1528
  },
1529
+ contractHeaderId: {
1530
+ type: 'string',
1531
+ format: 'uuid',
1532
+ nullable: true
1533
+ },
1405
1534
  totals: {
1406
1535
  type: 'array',
1407
1536
  items: {
1537
+ required: ['amount', 'currency', 'rate', 'totalType'],
1408
1538
  type: 'object',
1409
1539
  properties: {
1410
1540
  totalType: {
@@ -1420,8 +1550,12 @@ export const $UniRefund_TagService_Tags_TagDto = {
1420
1550
  nullable: true
1421
1551
  },
1422
1552
  currency: {
1423
- type: 'string',
1424
- nullable: true
1553
+ minLength: 1,
1554
+ type: 'string'
1555
+ },
1556
+ rate: {
1557
+ type: 'number',
1558
+ format: 'double'
1425
1559
  }
1426
1560
  },
1427
1561
  additionalProperties: false
@@ -1432,7 +1566,24 @@ export const $UniRefund_TagService_Tags_TagDto = {
1432
1566
  additionalProperties: false
1433
1567
  } as const;
1434
1568
 
1569
+ export const $UniRefund_TagService_Tags_TagIdAndVATStatementHeaderIdPairDto = {
1570
+ required: ['tagId', 'vatStatementHeaderId'],
1571
+ type: 'object',
1572
+ properties: {
1573
+ tagId: {
1574
+ type: 'string',
1575
+ format: 'uuid'
1576
+ },
1577
+ vatStatementHeaderId: {
1578
+ type: 'string',
1579
+ format: 'uuid'
1580
+ }
1581
+ },
1582
+ additionalProperties: false
1583
+ } as const;
1584
+
1435
1585
  export const $UniRefund_TagService_Tags_TagListItemDto = {
1586
+ required: ['issueDate', 'merchantTitle', 'status', 'tagNumber', 'travellerDocumentNumber', 'travellerFullName'],
1436
1587
  type: 'object',
1437
1588
  properties: {
1438
1589
  id: {
@@ -1440,8 +1591,8 @@ export const $UniRefund_TagService_Tags_TagListItemDto = {
1440
1591
  format: 'uuid'
1441
1592
  },
1442
1593
  tagNumber: {
1443
- type: 'string',
1444
- nullable: true
1594
+ minLength: 1,
1595
+ type: 'string'
1445
1596
  },
1446
1597
  issueDate: {
1447
1598
  type: 'string',
@@ -1449,19 +1600,20 @@ export const $UniRefund_TagService_Tags_TagListItemDto = {
1449
1600
  },
1450
1601
  expireDate: {
1451
1602
  type: 'string',
1452
- format: 'date-time'
1603
+ format: 'date-time',
1604
+ nullable: true
1453
1605
  },
1454
1606
  travellerFullName: {
1455
- type: 'string',
1456
- nullable: true
1607
+ minLength: 1,
1608
+ type: 'string'
1457
1609
  },
1458
1610
  travellerDocumentNumber: {
1459
- type: 'string',
1460
- nullable: true
1611
+ minLength: 1,
1612
+ type: 'string'
1461
1613
  },
1462
1614
  merchantTitle: {
1463
- type: 'string',
1464
- nullable: true
1615
+ minLength: 1,
1616
+ type: 'string'
1465
1617
  },
1466
1618
  status: {
1467
1619
  enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
@@ -1470,6 +1622,7 @@ export const $UniRefund_TagService_Tags_TagListItemDto = {
1470
1622
  totals: {
1471
1623
  type: 'array',
1472
1624
  items: {
1625
+ required: ['amount', 'currency', 'rate', 'totalType'],
1473
1626
  type: 'object',
1474
1627
  properties: {
1475
1628
  totalType: {
@@ -1485,8 +1638,12 @@ export const $UniRefund_TagService_Tags_TagListItemDto = {
1485
1638
  nullable: true
1486
1639
  },
1487
1640
  currency: {
1488
- type: 'string',
1489
- nullable: true
1641
+ minLength: 1,
1642
+ type: 'string'
1643
+ },
1644
+ rate: {
1645
+ type: 'number',
1646
+ format: 'double'
1490
1647
  }
1491
1648
  },
1492
1649
  additionalProperties: false
@@ -1498,6 +1655,7 @@ export const $UniRefund_TagService_Tags_TagListItemDto = {
1498
1655
  } as const;
1499
1656
 
1500
1657
  export const $UniRefund_TagService_Tags_TagListSummaryDto = {
1658
+ required: ['currency', 'totalRefundAmount', 'totalSalesAmount'],
1501
1659
  type: 'object',
1502
1660
  properties: {
1503
1661
  totalSalesAmount: {
@@ -1509,15 +1667,15 @@ export const $UniRefund_TagService_Tags_TagListSummaryDto = {
1509
1667
  format: 'double'
1510
1668
  },
1511
1669
  currency: {
1512
- type: 'string',
1513
- nullable: true
1670
+ minLength: 1,
1671
+ type: 'string'
1514
1672
  }
1515
1673
  },
1516
1674
  additionalProperties: false
1517
1675
  } as const;
1518
1676
 
1519
1677
  export const $UniRefund_TagService_Tags_TagRefundFeesDto = {
1520
- required: ['id', 'netRefundAmount', 'touristFee'],
1678
+ required: ['agentFee', 'id', 'netRefundAmount', 'touristFee'],
1521
1679
  type: 'object',
1522
1680
  properties: {
1523
1681
  id: {
@@ -1528,6 +1686,10 @@ export const $UniRefund_TagService_Tags_TagRefundFeesDto = {
1528
1686
  type: 'number',
1529
1687
  format: 'double'
1530
1688
  },
1689
+ agentFee: {
1690
+ type: 'number',
1691
+ format: 'double'
1692
+ },
1531
1693
  netRefundAmount: {
1532
1694
  type: 'number',
1533
1695
  format: 'double'
@@ -1541,13 +1703,53 @@ export const $UniRefund_TagService_Tags_TagStatusType = {
1541
1703
  type: 'string'
1542
1704
  } as const;
1543
1705
 
1706
+ export const $UniRefund_TagService_Tags_TagSumTagsForVATStatementTagDetailResponseDto = {
1707
+ required: ['currency', 'grandTotal', 'merchantId', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
1708
+ type: 'object',
1709
+ properties: {
1710
+ tagId: {
1711
+ type: 'string',
1712
+ format: 'uuid'
1713
+ },
1714
+ merchantId: {
1715
+ type: 'string',
1716
+ format: 'uuid'
1717
+ },
1718
+ tagNumber: {
1719
+ minLength: 1,
1720
+ type: 'string'
1721
+ },
1722
+ refundDate: {
1723
+ type: 'string',
1724
+ format: 'date-time'
1725
+ },
1726
+ grandTotal: {
1727
+ type: 'number',
1728
+ format: 'double'
1729
+ },
1730
+ taxAmount: {
1731
+ type: 'number',
1732
+ format: 'double'
1733
+ },
1734
+ refundAmount: {
1735
+ type: 'number',
1736
+ format: 'double'
1737
+ },
1738
+ currency: {
1739
+ minLength: 1,
1740
+ type: 'string'
1741
+ }
1742
+ },
1743
+ additionalProperties: false
1744
+ } as const;
1745
+
1544
1746
  export const $UniRefund_TagService_Tags_TagSumTagsResponseDto = {
1545
1747
  type: 'object',
1546
1748
  properties: {
1547
1749
  tagRefundFees: {
1548
1750
  type: 'array',
1549
1751
  items: {
1550
- required: ['id', 'netRefundAmount', 'touristFee'],
1752
+ required: ['agentFee', 'id', 'netRefundAmount', 'touristFee'],
1551
1753
  type: 'object',
1552
1754
  properties: {
1553
1755
  id: {
@@ -1558,6 +1760,10 @@ export const $UniRefund_TagService_Tags_TagSumTagsResponseDto = {
1558
1760
  type: 'number',
1559
1761
  format: 'double'
1560
1762
  },
1763
+ agentFee: {
1764
+ type: 'number',
1765
+ format: 'double'
1766
+ },
1561
1767
  netRefundAmount: {
1562
1768
  type: 'number',
1563
1769
  format: 'double'
@@ -1588,6 +1794,7 @@ export const $UniRefund_TagService_Tags_TagSumTagsResponseDto = {
1588
1794
  } as const;
1589
1795
 
1590
1796
  export const $UniRefund_TagService_Tags_TagTotalDto = {
1797
+ required: ['amount', 'currency', 'rate', 'totalType'],
1591
1798
  type: 'object',
1592
1799
  properties: {
1593
1800
  totalType: {
@@ -1603,28 +1810,36 @@ export const $UniRefund_TagService_Tags_TagTotalDto = {
1603
1810
  nullable: true
1604
1811
  },
1605
1812
  currency: {
1606
- type: 'string',
1607
- nullable: true
1813
+ minLength: 1,
1814
+ type: 'string'
1815
+ },
1816
+ rate: {
1817
+ type: 'number',
1818
+ format: 'double'
1608
1819
  }
1609
1820
  },
1610
1821
  additionalProperties: false
1611
1822
  } as const;
1612
1823
 
1613
1824
  export const $UniRefund_TagService_Tags_TagValidForVATStatementResponseDto = {
1825
+ required: ['contractHeaderId', 'currency', 'grandTotal', 'merchantId', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount', 'taxBase'],
1614
1826
  type: 'object',
1615
1827
  properties: {
1616
1828
  tagId: {
1617
1829
  type: 'string',
1618
1830
  format: 'uuid'
1619
1831
  },
1620
- tenantId: {
1832
+ merchantId: {
1621
1833
  type: 'string',
1622
- format: 'uuid',
1623
- nullable: true
1834
+ format: 'uuid'
1624
1835
  },
1625
- tagNumber: {
1836
+ contractHeaderId: {
1626
1837
  type: 'string',
1627
- nullable: true
1838
+ format: 'uuid'
1839
+ },
1840
+ tagNumber: {
1841
+ minLength: 1,
1842
+ type: 'string'
1628
1843
  },
1629
1844
  invoiceId: {
1630
1845
  type: 'string',
@@ -1647,12 +1862,30 @@ export const $UniRefund_TagService_Tags_TagValidForVATStatementResponseDto = {
1647
1862
  grandTotal: {
1648
1863
  type: 'number',
1649
1864
  format: 'double'
1865
+ },
1866
+ refundDate: {
1867
+ type: 'string',
1868
+ format: 'date-time'
1869
+ },
1870
+ refundAmount: {
1871
+ type: 'number',
1872
+ format: 'double'
1873
+ },
1874
+ currency: {
1875
+ minLength: 1,
1876
+ type: 'string'
1877
+ },
1878
+ tenantId: {
1879
+ type: 'string',
1880
+ format: 'uuid',
1881
+ nullable: true
1650
1882
  }
1651
1883
  },
1652
1884
  additionalProperties: false
1653
1885
  } as const;
1654
1886
 
1655
1887
  export const $UniRefund_TagService_Tags_TaxTotalDto = {
1888
+ required: ['taxableAmount', 'taxRate', 'taxTotal'],
1656
1889
  type: 'object',
1657
1890
  properties: {
1658
1891
  taxRate: {
@@ -1683,18 +1916,13 @@ export const $UniRefund_TagService_Tags_UpdateTagDto = {
1683
1916
  type: 'string',
1684
1917
  nullable: true
1685
1918
  },
1686
- status: {
1687
- enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
1688
- type: 'string'
1689
- },
1690
1919
  refundType: {
1691
1920
  enum: ['Cash', 'CreditCard', 'BankTransfer', 'Wallet', 'CashViaPartner'],
1692
1921
  type: 'string'
1693
1922
  },
1694
1923
  issueDate: {
1695
1924
  type: 'string',
1696
- format: 'date-time',
1697
- nullable: true
1925
+ format: 'date-time'
1698
1926
  },
1699
1927
  expireDate: {
1700
1928
  type: 'string',
@@ -1711,7 +1939,7 @@ export const $UniRefund_TagService_Tags_UpdateTagDto = {
1711
1939
  format: 'uuid',
1712
1940
  nullable: true
1713
1941
  },
1714
- billingId: {
1942
+ vatStatementHeaderId: {
1715
1943
  type: 'string',
1716
1944
  format: 'uuid',
1717
1945
  nullable: true
@@ -1741,9 +1969,15 @@ export const $UniRefund_TagService_Tags_UpdateTagDto = {
1741
1969
  format: 'uuid',
1742
1970
  nullable: true
1743
1971
  },
1972
+ contractHeaderId: {
1973
+ type: 'string',
1974
+ format: 'uuid',
1975
+ nullable: true
1976
+ },
1744
1977
  totals: {
1745
1978
  type: 'array',
1746
1979
  items: {
1980
+ required: ['amount', 'currency', 'rate', 'totalType'],
1747
1981
  type: 'object',
1748
1982
  properties: {
1749
1983
  totalType: {
@@ -1759,8 +1993,12 @@ export const $UniRefund_TagService_Tags_UpdateTagDto = {
1759
1993
  nullable: true
1760
1994
  },
1761
1995
  currency: {
1762
- type: 'string',
1763
- nullable: true
1996
+ minLength: 1,
1997
+ type: 'string'
1998
+ },
1999
+ rate: {
2000
+ type: 'number',
2001
+ format: 'double'
1764
2002
  }
1765
2003
  },
1766
2004
  additionalProperties: false
@@ -1803,7 +2041,7 @@ export const $UniRefund_TagService_Travellers_TravellerDetailDto = {
1803
2041
  } as const;
1804
2042
 
1805
2043
  export const $UniRefund_TagService_Travellers_TravellerRequestDto = {
1806
- required: ['expirationDate', 'firstName', 'lastName', 'nationalityCountryCode2', 'residenceCountryCode2', 'travelDocumentNumber'],
2044
+ required: ['firstName', 'lastName', 'nationalityCountryCode2', 'residenceCountryCode2', 'travelDocumentNumber'],
1807
2045
  type: 'object',
1808
2046
  properties: {
1809
2047
  id: {
@@ -1833,7 +2071,8 @@ export const $UniRefund_TagService_Travellers_TravellerRequestDto = {
1833
2071
  },
1834
2072
  expirationDate: {
1835
2073
  type: 'string',
1836
- format: 'date-time'
2074
+ format: 'date-time',
2075
+ nullable: true
1837
2076
  },
1838
2077
  birthDate: {
1839
2078
  type: 'string',