@ayasofyazilim/saas 0.0.85 → 0.0.87

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.
@@ -1,5 +1,84 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
+ export const $PagedResultDto_TagListItemDto = {
4
+ type: 'object',
5
+ properties: {
6
+ items: {
7
+ type: 'array',
8
+ items: {
9
+ type: 'object',
10
+ properties: {
11
+ id: {
12
+ type: 'string',
13
+ format: 'uuid'
14
+ },
15
+ tagNumber: {
16
+ type: 'string',
17
+ nullable: true
18
+ },
19
+ issueDate: {
20
+ type: 'string',
21
+ format: 'date-time'
22
+ },
23
+ expireDate: {
24
+ type: 'string',
25
+ format: 'date-time'
26
+ },
27
+ travellerFullName: {
28
+ type: 'string',
29
+ nullable: true
30
+ },
31
+ travellerDocumentNumber: {
32
+ type: 'string',
33
+ nullable: true
34
+ },
35
+ merchantTitle: {
36
+ type: 'string',
37
+ nullable: true
38
+ },
39
+ status: {
40
+ enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
41
+ type: 'string'
42
+ },
43
+ totals: {
44
+ type: 'array',
45
+ items: {
46
+ type: 'object',
47
+ properties: {
48
+ totalType: {
49
+ enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund'],
50
+ type: 'string'
51
+ },
52
+ amount: {
53
+ type: 'number',
54
+ format: 'double'
55
+ },
56
+ description: {
57
+ type: 'string',
58
+ nullable: true
59
+ },
60
+ currency: {
61
+ type: 'string',
62
+ nullable: true
63
+ }
64
+ },
65
+ additionalProperties: false
66
+ },
67
+ nullable: true
68
+ }
69
+ },
70
+ additionalProperties: false
71
+ },
72
+ nullable: true
73
+ },
74
+ totalCount: {
75
+ type: 'integer',
76
+ format: 'int64'
77
+ }
78
+ },
79
+ additionalProperties: false
80
+ } as const;
81
+
3
82
  export const $TagPagedAndSortedResultResponseDto_TagListItemDto = {
4
83
  type: 'object',
5
84
  properties: {
@@ -628,18 +707,63 @@ export const $UniRefund_TagService_Tags_RefundType = {
628
707
  type: 'string'
629
708
  } as const;
630
709
 
631
- export const $UniRefund_TagService_Tags_SumTagsResponseDto = {
710
+ export const $UniRefund_TagService_Tags_SetTagRefundRequestDto = {
632
711
  type: 'object',
633
712
  properties: {
634
- tagIds: {
713
+ tagRefunds: {
635
714
  type: 'array',
636
715
  items: {
637
- type: 'string',
638
- format: 'uuid'
716
+ type: 'object',
717
+ properties: {
718
+ id: {
719
+ type: 'string',
720
+ format: 'uuid'
721
+ },
722
+ refundAmount: {
723
+ type: 'number',
724
+ format: 'double'
725
+ },
726
+ refundCurrency: {
727
+ type: 'string',
728
+ nullable: true
729
+ },
730
+ refundRate: {
731
+ type: 'number',
732
+ format: 'double'
733
+ },
734
+ travellerFeeAmount: {
735
+ type: 'number',
736
+ format: 'double'
737
+ }
738
+ },
739
+ additionalProperties: false
639
740
  },
640
741
  nullable: true
641
742
  },
642
- travellerId: {
743
+ refundId: {
744
+ type: 'string',
745
+ format: 'uuid'
746
+ },
747
+ refundType: {
748
+ enum: ['Cash', 'CreditCard', 'BankTransfer', 'Wallet', 'CashViaPartner'],
749
+ type: 'string'
750
+ },
751
+ refundDate: {
752
+ type: 'string',
753
+ format: 'date-time'
754
+ },
755
+ status: {
756
+ enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
757
+ type: 'string'
758
+ }
759
+ },
760
+ additionalProperties: false
761
+ } as const;
762
+
763
+ export const $UniRefund_TagService_Tags_SetTagRefundRequestItemDto = {
764
+ type: 'object',
765
+ properties: {
766
+ id: {
643
767
  type: 'string',
644
768
  format: 'uuid'
645
769
  },
@@ -650,6 +774,26 @@ export const $UniRefund_TagService_Tags_SumTagsResponseDto = {
650
774
  refundCurrency: {
651
775
  type: 'string',
652
776
  nullable: true
777
+ },
778
+ refundRate: {
779
+ type: 'number',
780
+ format: 'double'
781
+ },
782
+ travellerFeeAmount: {
783
+ type: 'number',
784
+ format: 'double'
785
+ }
786
+ },
787
+ additionalProperties: false
788
+ } as const;
789
+
790
+ export const $UniRefund_TagService_Tags_SetTagRefundResponseDto = {
791
+ type: 'object',
792
+ properties: {
793
+ earlyRefundExpiryDate: {
794
+ type: 'string',
795
+ format: 'date-time',
796
+ nullable: true
653
797
  }
654
798
  },
655
799
  additionalProperties: false
@@ -955,6 +1099,236 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
955
1099
  additionalProperties: false
956
1100
  } as const;
957
1101
 
1102
+ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
1103
+ required: ['billing', 'expireDate', 'exportValidation', 'invoices', 'issueDate', 'merchant', 'status', 'tagNumber', 'totals'],
1104
+ type: 'object',
1105
+ properties: {
1106
+ id: {
1107
+ type: 'string',
1108
+ format: 'uuid'
1109
+ },
1110
+ tagNumber: {
1111
+ minLength: 1,
1112
+ type: 'string'
1113
+ },
1114
+ status: {
1115
+ enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
1116
+ type: 'string'
1117
+ },
1118
+ issueDate: {
1119
+ type: 'string',
1120
+ format: 'date-time'
1121
+ },
1122
+ expireDate: {
1123
+ type: 'string',
1124
+ format: 'date-time'
1125
+ },
1126
+ merchant: {
1127
+ type: 'object',
1128
+ properties: {
1129
+ id: {
1130
+ type: 'string',
1131
+ format: 'uuid'
1132
+ },
1133
+ name: {
1134
+ type: 'string',
1135
+ nullable: true
1136
+ },
1137
+ address: {
1138
+ type: 'object',
1139
+ properties: {
1140
+ id: {
1141
+ type: 'string',
1142
+ format: 'uuid'
1143
+ },
1144
+ fullText: {
1145
+ type: 'string',
1146
+ nullable: true
1147
+ }
1148
+ },
1149
+ additionalProperties: false
1150
+ },
1151
+ productGroups: {
1152
+ type: 'array',
1153
+ items: {
1154
+ type: 'object',
1155
+ properties: {
1156
+ id: {
1157
+ type: 'string',
1158
+ format: 'uuid'
1159
+ },
1160
+ description: {
1161
+ type: 'string',
1162
+ nullable: true
1163
+ }
1164
+ },
1165
+ additionalProperties: false
1166
+ },
1167
+ nullable: true
1168
+ }
1169
+ },
1170
+ additionalProperties: false
1171
+ },
1172
+ exportValidation: {
1173
+ type: 'object',
1174
+ properties: {
1175
+ id: {
1176
+ type: 'string',
1177
+ format: 'uuid'
1178
+ },
1179
+ endpointId: {
1180
+ type: 'string',
1181
+ format: 'uuid',
1182
+ nullable: true
1183
+ },
1184
+ referenceId: {
1185
+ type: 'string',
1186
+ nullable: true
1187
+ },
1188
+ date: {
1189
+ type: 'string',
1190
+ format: 'date-time',
1191
+ nullable: true
1192
+ },
1193
+ status: {
1194
+ enum: ['None', 'Waiting', 'Approved', 'Rejected', 'Expired'],
1195
+ type: 'string'
1196
+ },
1197
+ stampType: {
1198
+ enum: ['None', 'Integration', 'DigitalStamp'],
1199
+ type: 'string'
1200
+ }
1201
+ },
1202
+ additionalProperties: false
1203
+ },
1204
+ billing: {
1205
+ type: 'object',
1206
+ properties: {
1207
+ id: {
1208
+ type: 'string',
1209
+ format: 'uuid'
1210
+ },
1211
+ billingDate: {
1212
+ type: 'string',
1213
+ format: 'date-time',
1214
+ nullable: true
1215
+ },
1216
+ billingNumber: {
1217
+ type: 'string',
1218
+ nullable: true
1219
+ },
1220
+ status: {
1221
+ type: 'integer',
1222
+ format: 'int32',
1223
+ nullable: true
1224
+ }
1225
+ },
1226
+ additionalProperties: false
1227
+ },
1228
+ invoices: {
1229
+ type: 'array',
1230
+ items: {
1231
+ type: 'object',
1232
+ properties: {
1233
+ id: {
1234
+ type: 'string',
1235
+ format: 'uuid'
1236
+ },
1237
+ number: {
1238
+ type: 'string',
1239
+ nullable: true
1240
+ },
1241
+ issueDate: {
1242
+ type: 'string',
1243
+ format: 'date-time'
1244
+ },
1245
+ totalAmount: {
1246
+ type: 'number',
1247
+ format: 'double'
1248
+ },
1249
+ vatAmount: {
1250
+ type: 'number',
1251
+ format: 'double'
1252
+ },
1253
+ currency: {
1254
+ type: 'string',
1255
+ nullable: true
1256
+ },
1257
+ invoiceLines: {
1258
+ type: 'array',
1259
+ items: {
1260
+ type: 'object',
1261
+ properties: {
1262
+ id: {
1263
+ type: 'string',
1264
+ format: 'uuid'
1265
+ },
1266
+ productGroup: {
1267
+ type: 'string',
1268
+ nullable: true
1269
+ },
1270
+ description: {
1271
+ type: 'string',
1272
+ nullable: true
1273
+ },
1274
+ amount: {
1275
+ type: 'number',
1276
+ format: 'double'
1277
+ },
1278
+ taxRate: {
1279
+ type: 'number',
1280
+ format: 'double'
1281
+ },
1282
+ taxAmount: {
1283
+ type: 'number',
1284
+ format: 'double'
1285
+ },
1286
+ taxBase: {
1287
+ type: 'number',
1288
+ format: 'double'
1289
+ },
1290
+ currency: {
1291
+ type: 'string',
1292
+ nullable: true
1293
+ }
1294
+ },
1295
+ additionalProperties: false
1296
+ },
1297
+ nullable: true
1298
+ }
1299
+ },
1300
+ additionalProperties: false
1301
+ }
1302
+ },
1303
+ totals: {
1304
+ type: 'array',
1305
+ items: {
1306
+ type: 'object',
1307
+ properties: {
1308
+ totalType: {
1309
+ enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund'],
1310
+ type: 'string'
1311
+ },
1312
+ amount: {
1313
+ type: 'number',
1314
+ format: 'double'
1315
+ },
1316
+ description: {
1317
+ type: 'string',
1318
+ nullable: true
1319
+ },
1320
+ currency: {
1321
+ type: 'string',
1322
+ nullable: true
1323
+ }
1324
+ },
1325
+ additionalProperties: false
1326
+ }
1327
+ }
1328
+ },
1329
+ additionalProperties: false
1330
+ } as const;
1331
+
958
1332
  export const $UniRefund_TagService_Tags_TagDto = {
959
1333
  type: 'object',
960
1334
  properties: {
@@ -1142,11 +1516,77 @@ export const $UniRefund_TagService_Tags_TagListSummaryDto = {
1142
1516
  additionalProperties: false
1143
1517
  } as const;
1144
1518
 
1519
+ export const $UniRefund_TagService_Tags_TagRefundFeesDto = {
1520
+ required: ['id', 'netRefundAmount', 'touristFee'],
1521
+ type: 'object',
1522
+ properties: {
1523
+ id: {
1524
+ type: 'string',
1525
+ format: 'uuid'
1526
+ },
1527
+ touristFee: {
1528
+ type: 'number',
1529
+ format: 'double'
1530
+ },
1531
+ netRefundAmount: {
1532
+ type: 'number',
1533
+ format: 'double'
1534
+ }
1535
+ },
1536
+ additionalProperties: false
1537
+ } as const;
1538
+
1145
1539
  export const $UniRefund_TagService_Tags_TagStatusType = {
1146
1540
  enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
1147
1541
  type: 'string'
1148
1542
  } as const;
1149
1543
 
1544
+ export const $UniRefund_TagService_Tags_TagSumTagsResponseDto = {
1545
+ type: 'object',
1546
+ properties: {
1547
+ tagRefundFees: {
1548
+ type: 'array',
1549
+ items: {
1550
+ required: ['id', 'netRefundAmount', 'touristFee'],
1551
+ type: 'object',
1552
+ properties: {
1553
+ id: {
1554
+ type: 'string',
1555
+ format: 'uuid'
1556
+ },
1557
+ touristFee: {
1558
+ type: 'number',
1559
+ format: 'double'
1560
+ },
1561
+ netRefundAmount: {
1562
+ type: 'number',
1563
+ format: 'double'
1564
+ }
1565
+ },
1566
+ additionalProperties: false
1567
+ },
1568
+ nullable: true
1569
+ },
1570
+ travellerId: {
1571
+ type: 'string',
1572
+ format: 'uuid'
1573
+ },
1574
+ travellerDocumentNumber: {
1575
+ type: 'string',
1576
+ nullable: true
1577
+ },
1578
+ refundCurrency: {
1579
+ type: 'string',
1580
+ nullable: true
1581
+ },
1582
+ status: {
1583
+ enum: ['None', 'Open', 'PreIssued', 'Issued', 'WaitingGoodsValidation', 'WaitingStampValidation', 'Declined', 'ExportValidated', 'PaymentBlocked', 'PaymentInProgress', 'PaymentProblem', 'Paid', 'Cancelled', 'Expired', 'Correction', 'OptedOut'],
1584
+ type: 'string'
1585
+ }
1586
+ },
1587
+ additionalProperties: false
1588
+ } as const;
1589
+
1150
1590
  export const $UniRefund_TagService_Tags_TagTotalDto = {
1151
1591
  type: 'object',
1152
1592
  properties: {
@@ -1170,6 +1610,48 @@ export const $UniRefund_TagService_Tags_TagTotalDto = {
1170
1610
  additionalProperties: false
1171
1611
  } as const;
1172
1612
 
1613
+ export const $UniRefund_TagService_Tags_TagValidForVATStatementResponseDto = {
1614
+ type: 'object',
1615
+ properties: {
1616
+ tagId: {
1617
+ type: 'string',
1618
+ format: 'uuid'
1619
+ },
1620
+ tenantId: {
1621
+ type: 'string',
1622
+ format: 'uuid',
1623
+ nullable: true
1624
+ },
1625
+ tagNumber: {
1626
+ type: 'string',
1627
+ nullable: true
1628
+ },
1629
+ invoiceId: {
1630
+ type: 'string',
1631
+ format: 'uuid',
1632
+ nullable: true
1633
+ },
1634
+ taxRate: {
1635
+ type: 'number',
1636
+ format: 'double',
1637
+ nullable: true
1638
+ },
1639
+ taxBase: {
1640
+ type: 'number',
1641
+ format: 'double'
1642
+ },
1643
+ taxAmount: {
1644
+ type: 'number',
1645
+ format: 'double'
1646
+ },
1647
+ grandTotal: {
1648
+ type: 'number',
1649
+ format: 'double'
1650
+ }
1651
+ },
1652
+ additionalProperties: false
1653
+ } as const;
1654
+
1173
1655
  export const $UniRefund_TagService_Tags_TaxTotalDto = {
1174
1656
  type: 'object',
1175
1657
  properties: {