@ayasofyazilim/saas 0.0.86 → 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.
@@ -5,12 +5,31 @@ on:
5
5
  inputs:
6
6
  saas-name:
7
7
  description: 'The name of service to update and commit, e.g. "all" or "SaaS,Tag"'
8
- default: 'all'
8
+ default: "all"
9
9
  required: true
10
- workflow_call:
10
+ type: choice
11
+ options:
12
+ - all
13
+ - Account
14
+ - Administration
15
+ - Identity
16
+ - Saas
17
+ - Setting
18
+ - CRM
19
+ - Contract
20
+ - Traveller
21
+ - Location
22
+ - Tag
23
+ - ExportValidation
24
+ - Finance
25
+ - Refund
26
+ - Project
27
+ - Fundraiser
28
+ - Backer
29
+ workflow_call:
11
30
  inputs:
12
31
  saas-name:
13
- default: 'all'
32
+ default: "all"
14
33
  type: string
15
34
  jobs:
16
35
  update:
@@ -7,6 +7,7 @@ import { AbpApiDefinitionService } from './services.gen';
7
7
  import { AbpApplicationConfigurationService } from './services.gen';
8
8
  import { AbpApplicationLocalizationService } from './services.gen';
9
9
  import { TagService } from './services.gen';
10
+ import { TagIntegrationService } from './services.gen';
10
11
 
11
12
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
12
13
 
@@ -16,6 +17,7 @@ export class TagServiceClient {
16
17
  public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
17
18
  public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
18
19
  public readonly tag: TagService;
20
+ public readonly tagIntegration: TagIntegrationService;
19
21
 
20
22
  public readonly request: BaseHttpRequest;
21
23
 
@@ -40,5 +42,6 @@ export class TagServiceClient {
40
42
  this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
41
43
  this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
42
44
  this.tag = new TagService(this.request);
45
+ this.tagIntegration = new TagIntegrationService(this.request);
43
46
  }
44
47
  }
@@ -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: {
@@ -2,7 +2,7 @@
2
2
 
3
3
  import type { CancelablePromise } from './core/CancelablePromise';
4
4
  import type { BaseHttpRequest } from './core/BaseHttpRequest';
5
- import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, PostApiTagServiceTagData, PostApiTagServiceTagResponse, GetApiTagServiceTagData, GetApiTagServiceTagResponse, PutApiTagServiceTagByIdData, PutApiTagServiceTagByIdResponse, DeleteApiTagServiceTagByIdData, DeleteApiTagServiceTagByIdResponse, GetApiTagServiceTagByIdDetailData, GetApiTagServiceTagByIdDetailResponse, GetApiTagServiceTagTagsSumData, GetApiTagServiceTagTagsSumResponse, GetApiTagServiceTagSummaryData, GetApiTagServiceTagSummaryResponse, PutApiTagServiceTagTagsRefundData, PutApiTagServiceTagTagsRefundResponse } from './types.gen';
5
+ import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, PostApiTagServiceTagData, PostApiTagServiceTagResponse, GetApiTagServiceTagData, GetApiTagServiceTagResponse, PutApiTagServiceTagByIdData, PutApiTagServiceTagByIdResponse, DeleteApiTagServiceTagByIdData, DeleteApiTagServiceTagByIdResponse, GetApiTagServiceTagByIdDetailData, GetApiTagServiceTagByIdDetailResponse, GetApiTagServiceTagTagsRefundData, GetApiTagServiceTagTagsRefundResponse, GetApiTagServiceTagSummaryData, GetApiTagServiceTagSummaryResponse, GetApiTagServiceTagTagsRefundFeesData, GetApiTagServiceTagTagsRefundFeesResponse, GetIntegrationApiTagsSumData, GetIntegrationApiTagsSumResponse, PutIntegrationApiTagsRefundData, PutIntegrationApiTagsRefundResponse, GetIntegrationApiTagsDetailsListForRefundData, GetIntegrationApiTagsDetailsListForRefundResponse, GetIntegrationApiTagsValidListForVatStatementWithTenantFilterOffResponse } from './types.gen';
6
6
 
7
7
  export class AbpApiDefinitionService {
8
8
  constructor(public readonly httpRequest: BaseHttpRequest) { }
@@ -252,16 +252,26 @@ export class TagService {
252
252
 
253
253
  /**
254
254
  * @param data The data for the request.
255
- * @param data.tagIds
256
- * @returns UniRefund_TagService_Tags_SumTagsResponseDto Success
255
+ * @param data.travellerDocumentNumber
256
+ * @param data.isExportValidated
257
+ * @param data.refundType
258
+ * @param data.refundPointId
259
+ * @param data.skipCount
260
+ * @param data.maxResultCount
261
+ * @returns PagedResultDto_TagListItemDto Success
257
262
  * @throws ApiError
258
263
  */
259
- public getApiTagServiceTagTagsSum(data: GetApiTagServiceTagTagsSumData = {}): CancelablePromise<GetApiTagServiceTagTagsSumResponse> {
264
+ public getApiTagServiceTagTagsRefund(data: GetApiTagServiceTagTagsRefundData): CancelablePromise<GetApiTagServiceTagTagsRefundResponse> {
260
265
  return this.httpRequest.request({
261
266
  method: 'GET',
262
- url: '/api/tag-service/tag/tags-sum',
267
+ url: '/api/tag-service/tag/tags-refund',
263
268
  query: {
264
- tagIds: data.tagIds
269
+ TravellerDocumentNumber: data.travellerDocumentNumber,
270
+ IsExportValidated: data.isExportValidated,
271
+ RefundType: data.refundType,
272
+ RefundPointId: data.refundPointId,
273
+ SkipCount: data.skipCount,
274
+ MaxResultCount: data.maxResultCount
265
275
  },
266
276
  errors: {
267
277
  400: 'Bad Request',
@@ -332,20 +342,79 @@ export class TagService {
332
342
 
333
343
  /**
334
344
  * @param data The data for the request.
335
- * @param data.refundId
345
+ * @param data.tagIds
346
+ * @param data.refundPointId
347
+ * @param data.refundDate
336
348
  * @param data.refundType
337
- * @param data.requestBody
338
- * @returns unknown Success
349
+ * @returns UniRefund_TagService_Tags_TagRefundFeesDto Success
339
350
  * @throws ApiError
340
351
  */
341
- public putApiTagServiceTagTagsRefund(data: PutApiTagServiceTagTagsRefundData = {}): CancelablePromise<PutApiTagServiceTagTagsRefundResponse> {
352
+ public getApiTagServiceTagTagsRefundFees(data: GetApiTagServiceTagTagsRefundFeesData): CancelablePromise<GetApiTagServiceTagTagsRefundFeesResponse> {
342
353
  return this.httpRequest.request({
343
- method: 'PUT',
344
- url: '/api/tag-service/tag/tags-refund',
354
+ method: 'GET',
355
+ url: '/api/tag-service/tag/tags-refund-fees',
356
+ query: {
357
+ TagIds: data.tagIds,
358
+ RefundPointId: data.refundPointId,
359
+ RefundDate: data.refundDate,
360
+ RefundType: data.refundType
361
+ },
362
+ errors: {
363
+ 400: 'Bad Request',
364
+ 401: 'Unauthorized',
365
+ 403: 'Forbidden',
366
+ 404: 'Not Found',
367
+ 500: 'Server Error',
368
+ 501: 'Server Error'
369
+ }
370
+ });
371
+ }
372
+
373
+ }
374
+
375
+ export class TagIntegrationService {
376
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
377
+
378
+ /**
379
+ * @param data The data for the request.
380
+ * @param data.ids
381
+ * @param data.refundPointId
382
+ * @param data.refundDate
383
+ * @param data.refundType
384
+ * @returns UniRefund_TagService_Tags_TagSumTagsResponseDto Success
385
+ * @throws ApiError
386
+ */
387
+ public getIntegrationApiTagsSum(data: GetIntegrationApiTagsSumData): CancelablePromise<GetIntegrationApiTagsSumResponse> {
388
+ return this.httpRequest.request({
389
+ method: 'GET',
390
+ url: '/integration-api/tags/sum',
345
391
  query: {
346
- refundId: data.refundId,
347
- refundType: data.refundType
392
+ Ids: data.ids,
393
+ RefundPointId: data.refundPointId,
394
+ RefundDate: data.refundDate,
395
+ RefundType: data.refundType
348
396
  },
397
+ errors: {
398
+ 400: 'Bad Request',
399
+ 401: 'Unauthorized',
400
+ 403: 'Forbidden',
401
+ 404: 'Not Found',
402
+ 500: 'Server Error',
403
+ 501: 'Server Error'
404
+ }
405
+ });
406
+ }
407
+
408
+ /**
409
+ * @param data The data for the request.
410
+ * @param data.requestBody
411
+ * @returns UniRefund_TagService_Tags_SetTagRefundResponseDto Success
412
+ * @throws ApiError
413
+ */
414
+ public putIntegrationApiTagsRefund(data: PutIntegrationApiTagsRefundData = {}): CancelablePromise<PutIntegrationApiTagsRefundResponse> {
415
+ return this.httpRequest.request({
416
+ method: 'PUT',
417
+ url: '/integration-api/tags/refund',
349
418
  body: data.requestBody,
350
419
  mediaType: 'application/json',
351
420
  errors: {
@@ -359,4 +428,47 @@ export class TagService {
359
428
  });
360
429
  }
361
430
 
431
+ /**
432
+ * @param data The data for the request.
433
+ * @param data.tagIds
434
+ * @returns UniRefund_TagService_Tags_TagDetailForRefundDto Success
435
+ * @throws ApiError
436
+ */
437
+ public getIntegrationApiTagsDetailsListForRefund(data: GetIntegrationApiTagsDetailsListForRefundData = {}): CancelablePromise<GetIntegrationApiTagsDetailsListForRefundResponse> {
438
+ return this.httpRequest.request({
439
+ method: 'GET',
440
+ url: '/integration-api/tags/details-list-for-refund',
441
+ query: {
442
+ tagIds: data.tagIds
443
+ },
444
+ errors: {
445
+ 400: 'Bad Request',
446
+ 401: 'Unauthorized',
447
+ 403: 'Forbidden',
448
+ 404: 'Not Found',
449
+ 500: 'Server Error',
450
+ 501: 'Server Error'
451
+ }
452
+ });
453
+ }
454
+
455
+ /**
456
+ * @returns UniRefund_TagService_Tags_TagValidForVATStatementResponseDto Success
457
+ * @throws ApiError
458
+ */
459
+ public getIntegrationApiTagsValidListForVatStatementWithTenantFilterOff(): CancelablePromise<GetIntegrationApiTagsValidListForVatStatementWithTenantFilterOffResponse> {
460
+ return this.httpRequest.request({
461
+ method: 'GET',
462
+ url: '/integration-api/tags/valid-list-for-vat-statement-with-tenant-filter-off',
463
+ errors: {
464
+ 400: 'Bad Request',
465
+ 401: 'Unauthorized',
466
+ 403: 'Forbidden',
467
+ 404: 'Not Found',
468
+ 500: 'Server Error',
469
+ 501: 'Server Error'
470
+ }
471
+ });
472
+ }
473
+
362
474
  }
@@ -1,5 +1,10 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
+ export type PagedResultDto_TagListItemDto = {
4
+ items?: Array<UniRefund_TagService_Tags_TagListItemDto> | null;
5
+ totalCount?: number;
6
+ };
7
+
3
8
  export type TagPagedAndSortedResultResponseDto_TagListItemDto = {
4
9
  items?: Array<UniRefund_TagService_Tags_TagListItemDto> | null;
5
10
  totalCount?: number;
@@ -105,11 +110,24 @@ export type UniRefund_TagService_Tags_ProductGroupDto = {
105
110
 
106
111
  export type UniRefund_TagService_Tags_RefundType = 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
107
112
 
108
- export type UniRefund_TagService_Tags_SumTagsResponseDto = {
109
- tagIds?: Array<(string)> | null;
110
- travellerId?: string;
113
+ export type UniRefund_TagService_Tags_SetTagRefundRequestDto = {
114
+ tagRefunds?: Array<UniRefund_TagService_Tags_SetTagRefundRequestItemDto> | null;
115
+ refundId?: string;
116
+ refundType?: UniRefund_TagService_Tags_RefundType;
117
+ refundDate?: string;
118
+ status?: UniRefund_TagService_Tags_TagStatusType;
119
+ };
120
+
121
+ export type UniRefund_TagService_Tags_SetTagRefundRequestItemDto = {
122
+ id?: string;
111
123
  refundAmount?: number;
112
124
  refundCurrency?: string | null;
125
+ refundRate?: number;
126
+ travellerFeeAmount?: number;
127
+ };
128
+
129
+ export type UniRefund_TagService_Tags_SetTagRefundResponseDto = {
130
+ earlyRefundExpiryDate?: string | null;
113
131
  };
114
132
 
115
133
  export type UniRefund_TagService_Tags_TagDetailDto = {
@@ -128,6 +146,19 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
128
146
  totals?: Array<UniRefund_TagService_Tags_TagTotalDto> | null;
129
147
  };
130
148
 
149
+ export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
150
+ id?: string;
151
+ tagNumber: string;
152
+ status: UniRefund_TagService_Tags_TagStatusType;
153
+ issueDate: string;
154
+ expireDate: string;
155
+ merchant: UniRefund_TagService_Merchants_MerchantDetailDto;
156
+ exportValidation: UniRefund_TagService_ExportValidations_ExportValidationDto;
157
+ billing: UniRefund_TagService_Billings_BillingDto;
158
+ invoices: Array<UniRefund_TagService_Invoices_InvoiceDto>;
159
+ totals: Array<UniRefund_TagService_Tags_TagTotalDto>;
160
+ };
161
+
131
162
  export type UniRefund_TagService_Tags_TagDto = {
132
163
  id?: string;
133
164
  tagNumber?: string | null;
@@ -165,8 +196,22 @@ export type UniRefund_TagService_Tags_TagListSummaryDto = {
165
196
  currency?: string | null;
166
197
  };
167
198
 
199
+ export type UniRefund_TagService_Tags_TagRefundFeesDto = {
200
+ id: string;
201
+ touristFee: number;
202
+ netRefundAmount: number;
203
+ };
204
+
168
205
  export type UniRefund_TagService_Tags_TagStatusType = 'None' | 'Open' | 'PreIssued' | 'Issued' | 'WaitingGoodsValidation' | 'WaitingStampValidation' | 'Declined' | 'ExportValidated' | 'PaymentBlocked' | 'PaymentInProgress' | 'PaymentProblem' | 'Paid' | 'Cancelled' | 'Expired' | 'Correction' | 'OptedOut';
169
206
 
207
+ export type UniRefund_TagService_Tags_TagSumTagsResponseDto = {
208
+ tagRefundFees?: Array<UniRefund_TagService_Tags_TagRefundFeesDto> | null;
209
+ travellerId?: string;
210
+ travellerDocumentNumber?: string | null;
211
+ refundCurrency?: string | null;
212
+ status?: UniRefund_TagService_Tags_TagStatusType;
213
+ };
214
+
170
215
  export type UniRefund_TagService_Tags_TagTotalDto = {
171
216
  totalType?: UniRefund_TagService_Tags_TotalType;
172
217
  amount?: number;
@@ -174,6 +219,17 @@ export type UniRefund_TagService_Tags_TagTotalDto = {
174
219
  currency?: string | null;
175
220
  };
176
221
 
222
+ export type UniRefund_TagService_Tags_TagValidForVATStatementResponseDto = {
223
+ tagId?: string;
224
+ tenantId?: string | null;
225
+ tagNumber?: string | null;
226
+ invoiceId?: string | null;
227
+ taxRate?: number | null;
228
+ taxBase?: number;
229
+ taxAmount?: number;
230
+ grandTotal?: number;
231
+ };
232
+
177
233
  export type UniRefund_TagService_Tags_TaxTotalDto = {
178
234
  taxRate?: number;
179
235
  taxTotal?: number;
@@ -668,11 +724,16 @@ export type GetApiTagServiceTagByIdDetailData = {
668
724
 
669
725
  export type GetApiTagServiceTagByIdDetailResponse = UniRefund_TagService_Tags_TagDetailDto;
670
726
 
671
- export type GetApiTagServiceTagTagsSumData = {
672
- tagIds?: Array<(string)>;
727
+ export type GetApiTagServiceTagTagsRefundData = {
728
+ isExportValidated: boolean;
729
+ maxResultCount?: number;
730
+ refundPointId: string;
731
+ refundType: UniRefund_TagService_Tags_RefundType;
732
+ skipCount?: number;
733
+ travellerDocumentNumber: string;
673
734
  };
674
735
 
675
- export type GetApiTagServiceTagTagsSumResponse = UniRefund_TagService_Tags_SumTagsResponseDto;
736
+ export type GetApiTagServiceTagTagsRefundResponse = PagedResultDto_TagListItemDto;
676
737
 
677
738
  export type GetApiTagServiceTagSummaryData = {
678
739
  exportEndDate?: string;
@@ -696,13 +757,37 @@ export type GetApiTagServiceTagSummaryData = {
696
757
 
697
758
  export type GetApiTagServiceTagSummaryResponse = UniRefund_TagService_Tags_TagListSummaryDto;
698
759
 
699
- export type PutApiTagServiceTagTagsRefundData = {
700
- refundId?: string;
701
- refundType?: UniRefund_TagService_Tags_RefundType;
702
- requestBody?: Array<(string)>;
760
+ export type GetApiTagServiceTagTagsRefundFeesData = {
761
+ refundDate: string;
762
+ refundPointId: string;
763
+ refundType: UniRefund_TagService_Tags_RefundType;
764
+ tagIds: Array<(string)>;
765
+ };
766
+
767
+ export type GetApiTagServiceTagTagsRefundFeesResponse = Array<UniRefund_TagService_Tags_TagRefundFeesDto>;
768
+
769
+ export type GetIntegrationApiTagsSumData = {
770
+ ids: Array<(string)>;
771
+ refundDate: string;
772
+ refundPointId: string;
773
+ refundType: UniRefund_TagService_Tags_RefundType;
703
774
  };
704
775
 
705
- export type PutApiTagServiceTagTagsRefundResponse = unknown;
776
+ export type GetIntegrationApiTagsSumResponse = UniRefund_TagService_Tags_TagSumTagsResponseDto;
777
+
778
+ export type PutIntegrationApiTagsRefundData = {
779
+ requestBody?: UniRefund_TagService_Tags_SetTagRefundRequestDto;
780
+ };
781
+
782
+ export type PutIntegrationApiTagsRefundResponse = UniRefund_TagService_Tags_SetTagRefundResponseDto;
783
+
784
+ export type GetIntegrationApiTagsDetailsListForRefundData = {
785
+ tagIds?: Array<(string)>;
786
+ };
787
+
788
+ export type GetIntegrationApiTagsDetailsListForRefundResponse = Array<UniRefund_TagService_Tags_TagDetailForRefundDto>;
789
+
790
+ export type GetIntegrationApiTagsValidListForVatStatementWithTenantFilterOffResponse = Array<UniRefund_TagService_Tags_TagValidForVATStatementResponseDto>;
706
791
 
707
792
  export type $OpenApiTs = {
708
793
  '/api/abp/api-definition': {
@@ -981,14 +1066,14 @@ export type $OpenApiTs = {
981
1066
  };
982
1067
  };
983
1068
  };
984
- '/api/tag-service/tag/tags-sum': {
1069
+ '/api/tag-service/tag/tags-refund': {
985
1070
  get: {
986
- req: GetApiTagServiceTagTagsSumData;
1071
+ req: GetApiTagServiceTagTagsRefundData;
987
1072
  res: {
988
1073
  /**
989
1074
  * Success
990
1075
  */
991
- 200: UniRefund_TagService_Tags_SumTagsResponseDto;
1076
+ 200: PagedResultDto_TagListItemDto;
992
1077
  /**
993
1078
  * Bad Request
994
1079
  */
@@ -1051,14 +1136,153 @@ export type $OpenApiTs = {
1051
1136
  };
1052
1137
  };
1053
1138
  };
1054
- '/api/tag-service/tag/tags-refund': {
1139
+ '/api/tag-service/tag/tags-refund-fees': {
1140
+ get: {
1141
+ req: GetApiTagServiceTagTagsRefundFeesData;
1142
+ res: {
1143
+ /**
1144
+ * Success
1145
+ */
1146
+ 200: Array<UniRefund_TagService_Tags_TagRefundFeesDto>;
1147
+ /**
1148
+ * Bad Request
1149
+ */
1150
+ 400: Volo_Abp_Http_RemoteServiceErrorResponse;
1151
+ /**
1152
+ * Unauthorized
1153
+ */
1154
+ 401: Volo_Abp_Http_RemoteServiceErrorResponse;
1155
+ /**
1156
+ * Forbidden
1157
+ */
1158
+ 403: Volo_Abp_Http_RemoteServiceErrorResponse;
1159
+ /**
1160
+ * Not Found
1161
+ */
1162
+ 404: Volo_Abp_Http_RemoteServiceErrorResponse;
1163
+ /**
1164
+ * Server Error
1165
+ */
1166
+ 500: Volo_Abp_Http_RemoteServiceErrorResponse;
1167
+ /**
1168
+ * Server Error
1169
+ */
1170
+ 501: Volo_Abp_Http_RemoteServiceErrorResponse;
1171
+ };
1172
+ };
1173
+ };
1174
+ '/integration-api/tags/sum': {
1175
+ get: {
1176
+ req: GetIntegrationApiTagsSumData;
1177
+ res: {
1178
+ /**
1179
+ * Success
1180
+ */
1181
+ 200: UniRefund_TagService_Tags_TagSumTagsResponseDto;
1182
+ /**
1183
+ * Bad Request
1184
+ */
1185
+ 400: Volo_Abp_Http_RemoteServiceErrorResponse;
1186
+ /**
1187
+ * Unauthorized
1188
+ */
1189
+ 401: Volo_Abp_Http_RemoteServiceErrorResponse;
1190
+ /**
1191
+ * Forbidden
1192
+ */
1193
+ 403: Volo_Abp_Http_RemoteServiceErrorResponse;
1194
+ /**
1195
+ * Not Found
1196
+ */
1197
+ 404: Volo_Abp_Http_RemoteServiceErrorResponse;
1198
+ /**
1199
+ * Server Error
1200
+ */
1201
+ 500: Volo_Abp_Http_RemoteServiceErrorResponse;
1202
+ /**
1203
+ * Server Error
1204
+ */
1205
+ 501: Volo_Abp_Http_RemoteServiceErrorResponse;
1206
+ };
1207
+ };
1208
+ };
1209
+ '/integration-api/tags/refund': {
1055
1210
  put: {
1056
- req: PutApiTagServiceTagTagsRefundData;
1211
+ req: PutIntegrationApiTagsRefundData;
1057
1212
  res: {
1058
1213
  /**
1059
1214
  * Success
1060
1215
  */
1061
- 200: unknown;
1216
+ 200: UniRefund_TagService_Tags_SetTagRefundResponseDto;
1217
+ /**
1218
+ * Bad Request
1219
+ */
1220
+ 400: Volo_Abp_Http_RemoteServiceErrorResponse;
1221
+ /**
1222
+ * Unauthorized
1223
+ */
1224
+ 401: Volo_Abp_Http_RemoteServiceErrorResponse;
1225
+ /**
1226
+ * Forbidden
1227
+ */
1228
+ 403: Volo_Abp_Http_RemoteServiceErrorResponse;
1229
+ /**
1230
+ * Not Found
1231
+ */
1232
+ 404: Volo_Abp_Http_RemoteServiceErrorResponse;
1233
+ /**
1234
+ * Server Error
1235
+ */
1236
+ 500: Volo_Abp_Http_RemoteServiceErrorResponse;
1237
+ /**
1238
+ * Server Error
1239
+ */
1240
+ 501: Volo_Abp_Http_RemoteServiceErrorResponse;
1241
+ };
1242
+ };
1243
+ };
1244
+ '/integration-api/tags/details-list-for-refund': {
1245
+ get: {
1246
+ req: GetIntegrationApiTagsDetailsListForRefundData;
1247
+ res: {
1248
+ /**
1249
+ * Success
1250
+ */
1251
+ 200: Array<UniRefund_TagService_Tags_TagDetailForRefundDto>;
1252
+ /**
1253
+ * Bad Request
1254
+ */
1255
+ 400: Volo_Abp_Http_RemoteServiceErrorResponse;
1256
+ /**
1257
+ * Unauthorized
1258
+ */
1259
+ 401: Volo_Abp_Http_RemoteServiceErrorResponse;
1260
+ /**
1261
+ * Forbidden
1262
+ */
1263
+ 403: Volo_Abp_Http_RemoteServiceErrorResponse;
1264
+ /**
1265
+ * Not Found
1266
+ */
1267
+ 404: Volo_Abp_Http_RemoteServiceErrorResponse;
1268
+ /**
1269
+ * Server Error
1270
+ */
1271
+ 500: Volo_Abp_Http_RemoteServiceErrorResponse;
1272
+ /**
1273
+ * Server Error
1274
+ */
1275
+ 501: Volo_Abp_Http_RemoteServiceErrorResponse;
1276
+ };
1277
+ };
1278
+ };
1279
+ '/integration-api/tags/valid-list-for-vat-statement-with-tenant-filter-off': {
1280
+ get: {
1281
+ res: {
1282
+ /**
1283
+ * Success
1284
+ */
1285
+ 200: Array<UniRefund_TagService_Tags_TagValidForVATStatementResponseDto>;
1062
1286
  /**
1063
1287
  * Bad Request
1064
1288
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayasofyazilim/saas",
3
- "version": "0.0.86",
3
+ "version": "0.0.87",
4
4
  "description": "Ayasofyazılım SAAS",
5
5
  "main": "generator.mjs",
6
6
  "bin": {