@ayasofyazilim/saas 0.0.96 → 0.0.98
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/.github/workflows/release.yaml +3 -2
- package/CRMService/CRMServiceClient.ts +3 -0
- package/CRMService/schemas.gen.ts +66 -266
- package/CRMService/services.gen.ts +168 -13
- package/CRMService/types.gen.ts +239 -25
- package/TagService/schemas.gen.ts +330 -91
- package/TagService/services.gen.ts +86 -3
- package/TagService/types.gen.ts +245 -70
- package/package.json +1 -1
|
@@ -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, GetApiTagServiceTagTagsRefundData, GetApiTagServiceTagTagsRefundResponse, GetApiTagServiceTagSummaryData, GetApiTagServiceTagSummaryResponse, GetApiTagServiceTagTagsRefundFeesData, GetApiTagServiceTagTagsRefundFeesResponse, GetIntegrationApiTagsSumData, GetIntegrationApiTagsSumResponse, PutIntegrationApiTagsRefundData, PutIntegrationApiTagsRefundResponse, GetIntegrationApiTagsDetailsListForRefundData, GetIntegrationApiTagsDetailsListForRefundResponse,
|
|
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, PutApiTagServiceTagExportValidationByIdData, PutApiTagServiceTagExportValidationByIdResponse, GetIntegrationApiTagsSumData, GetIntegrationApiTagsSumResponse, GetIntegrationApiTagsSumForVatStatementData, GetIntegrationApiTagsSumForVatStatementResponse, PutIntegrationApiTagsRefundData, PutIntegrationApiTagsRefundResponse, GetIntegrationApiTagsDetailsListForRefundData, GetIntegrationApiTagsDetailsListForRefundResponse, GetIntegrationApiTagsValidListForVatStatementData, GetIntegrationApiTagsValidListForVatStatementResponse, PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsData, PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsResponse } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export class AbpApiDefinitionService {
|
|
8
8
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
@@ -370,6 +370,33 @@ export class TagService {
|
|
|
370
370
|
});
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
+
/**
|
|
374
|
+
* @param data The data for the request.
|
|
375
|
+
* @param data.id
|
|
376
|
+
* @param data.requestBody
|
|
377
|
+
* @returns UniRefund_ExportValidationService_ExportValidations_ExportValidationDto Success
|
|
378
|
+
* @throws ApiError
|
|
379
|
+
*/
|
|
380
|
+
public putApiTagServiceTagExportValidationById(data: PutApiTagServiceTagExportValidationByIdData): CancelablePromise<PutApiTagServiceTagExportValidationByIdResponse> {
|
|
381
|
+
return this.httpRequest.request({
|
|
382
|
+
method: 'PUT',
|
|
383
|
+
url: '/api/tag-service/tag/export-validation/{id}',
|
|
384
|
+
path: {
|
|
385
|
+
id: data.id
|
|
386
|
+
},
|
|
387
|
+
body: data.requestBody,
|
|
388
|
+
mediaType: 'application/json',
|
|
389
|
+
errors: {
|
|
390
|
+
400: 'Bad Request',
|
|
391
|
+
401: 'Unauthorized',
|
|
392
|
+
403: 'Forbidden',
|
|
393
|
+
404: 'Not Found',
|
|
394
|
+
500: 'Server Error',
|
|
395
|
+
501: 'Server Error'
|
|
396
|
+
}
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
|
|
373
400
|
}
|
|
374
401
|
|
|
375
402
|
export class TagIntegrationService {
|
|
@@ -405,6 +432,30 @@ export class TagIntegrationService {
|
|
|
405
432
|
});
|
|
406
433
|
}
|
|
407
434
|
|
|
435
|
+
/**
|
|
436
|
+
* @param data The data for the request.
|
|
437
|
+
* @param data.tagIds
|
|
438
|
+
* @returns UniRefund_TagService_Tags_TagSumTagsForVATStatementTagDetailResponseDto Success
|
|
439
|
+
* @throws ApiError
|
|
440
|
+
*/
|
|
441
|
+
public getIntegrationApiTagsSumForVatStatement(data: GetIntegrationApiTagsSumForVatStatementData = {}): CancelablePromise<GetIntegrationApiTagsSumForVatStatementResponse> {
|
|
442
|
+
return this.httpRequest.request({
|
|
443
|
+
method: 'GET',
|
|
444
|
+
url: '/integration-api/tags/sum-for-vat-statement',
|
|
445
|
+
query: {
|
|
446
|
+
tagIds: data.tagIds
|
|
447
|
+
},
|
|
448
|
+
errors: {
|
|
449
|
+
400: 'Bad Request',
|
|
450
|
+
401: 'Unauthorized',
|
|
451
|
+
403: 'Forbidden',
|
|
452
|
+
404: 'Not Found',
|
|
453
|
+
500: 'Server Error',
|
|
454
|
+
501: 'Server Error'
|
|
455
|
+
}
|
|
456
|
+
});
|
|
457
|
+
}
|
|
458
|
+
|
|
408
459
|
/**
|
|
409
460
|
* @param data The data for the request.
|
|
410
461
|
* @param data.requestBody
|
|
@@ -453,13 +504,45 @@ export class TagIntegrationService {
|
|
|
453
504
|
}
|
|
454
505
|
|
|
455
506
|
/**
|
|
507
|
+
* @param data The data for the request.
|
|
508
|
+
* @param data.merchantIds
|
|
509
|
+
* @param data.year
|
|
510
|
+
* @param data.month
|
|
456
511
|
* @returns UniRefund_TagService_Tags_TagValidForVATStatementResponseDto Success
|
|
457
512
|
* @throws ApiError
|
|
458
513
|
*/
|
|
459
|
-
public
|
|
514
|
+
public getIntegrationApiTagsValidListForVatStatement(data: GetIntegrationApiTagsValidListForVatStatementData = {}): CancelablePromise<GetIntegrationApiTagsValidListForVatStatementResponse> {
|
|
460
515
|
return this.httpRequest.request({
|
|
461
516
|
method: 'GET',
|
|
462
|
-
url: '/integration-api/tags/valid-list-for-vat-statement
|
|
517
|
+
url: '/integration-api/tags/valid-list-for-vat-statement',
|
|
518
|
+
query: {
|
|
519
|
+
merchantIds: data.merchantIds,
|
|
520
|
+
year: data.year,
|
|
521
|
+
month: data.month
|
|
522
|
+
},
|
|
523
|
+
errors: {
|
|
524
|
+
400: 'Bad Request',
|
|
525
|
+
401: 'Unauthorized',
|
|
526
|
+
403: 'Forbidden',
|
|
527
|
+
404: 'Not Found',
|
|
528
|
+
500: 'Server Error',
|
|
529
|
+
501: 'Server Error'
|
|
530
|
+
}
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* @param data The data for the request.
|
|
536
|
+
* @param data.requestBody
|
|
537
|
+
* @returns unknown Success
|
|
538
|
+
* @throws ApiError
|
|
539
|
+
*/
|
|
540
|
+
public putIntegrationApiTagsSetVatStatementHeaderIdsOfTags(data: PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsData = {}): CancelablePromise<PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsResponse> {
|
|
541
|
+
return this.httpRequest.request({
|
|
542
|
+
method: 'PUT',
|
|
543
|
+
url: '/integration-api/tags/set-vat-statement-header-ids-of-tags',
|
|
544
|
+
body: data.requestBody,
|
|
545
|
+
mediaType: 'application/json',
|
|
463
546
|
errors: {
|
|
464
547
|
400: 'Bad Request',
|
|
465
548
|
401: 'Unauthorized',
|
package/TagService/types.gen.ts
CHANGED
|
@@ -10,10 +10,24 @@ export type TagPagedAndSortedResultResponseDto_TagListItemDto = {
|
|
|
10
10
|
totalCount?: number;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
+
export type UniRefund_ExportValidationService_ExportValidations_ExportValidationDto = {
|
|
14
|
+
id?: string;
|
|
15
|
+
tagId?: string | null;
|
|
16
|
+
exportLocationId?: string;
|
|
17
|
+
referenceId?: string | null;
|
|
18
|
+
exportDate?: string;
|
|
19
|
+
status?: UniRefund_ExportValidationService_ExportValidations_ExportValidationStatusCode;
|
|
20
|
+
stampType?: UniRefund_ExportValidationService_ExportValidations_StampTypeCode;
|
|
21
|
+
initialValidationResult?: UniRefund_ExportValidationService_ExportValidations_ValidationResult;
|
|
22
|
+
finalValidationResult?: UniRefund_ExportValidationService_ExportValidations_ValidationResult;
|
|
23
|
+
};
|
|
24
|
+
|
|
13
25
|
export type UniRefund_ExportValidationService_ExportValidations_ExportValidationStatusCode = 'None' | 'Waiting' | 'Approved' | 'Rejected' | 'Expired';
|
|
14
26
|
|
|
15
27
|
export type UniRefund_ExportValidationService_ExportValidations_StampTypeCode = 'None' | 'Integration' | 'DigitalStamp';
|
|
16
28
|
|
|
29
|
+
export type UniRefund_ExportValidationService_ExportValidations_ValidationResult = 'None' | 'Green';
|
|
30
|
+
|
|
17
31
|
export type UniRefund_TagService_Billings_BillingDto = {
|
|
18
32
|
id?: string;
|
|
19
33
|
billingDate?: string | null;
|
|
@@ -33,9 +47,9 @@ export type UniRefund_TagService_ExportValidations_ExportValidationDto = {
|
|
|
33
47
|
export type UniRefund_TagService_Invoices_InvoiceDto = {
|
|
34
48
|
id?: string;
|
|
35
49
|
number?: string | null;
|
|
36
|
-
issueDate
|
|
37
|
-
totalAmount
|
|
38
|
-
vatAmount
|
|
50
|
+
issueDate: string;
|
|
51
|
+
totalAmount: number;
|
|
52
|
+
vatAmount: number;
|
|
39
53
|
currency?: string | null;
|
|
40
54
|
invoiceLines?: Array<UniRefund_TagService_Invoices_InvoiceLineDto> | null;
|
|
41
55
|
};
|
|
@@ -44,21 +58,21 @@ export type UniRefund_TagService_Invoices_InvoiceLineDto = {
|
|
|
44
58
|
id?: string;
|
|
45
59
|
productGroup?: string | null;
|
|
46
60
|
description?: string | null;
|
|
47
|
-
amount
|
|
48
|
-
taxRate
|
|
49
|
-
taxAmount
|
|
50
|
-
taxBase
|
|
61
|
+
amount: number;
|
|
62
|
+
taxRate: number;
|
|
63
|
+
taxAmount: number;
|
|
64
|
+
taxBase: number;
|
|
51
65
|
currency?: string | null;
|
|
52
66
|
};
|
|
53
67
|
|
|
54
68
|
export type UniRefund_TagService_Invoices_InvoiceRequestDto = {
|
|
55
69
|
id?: string | null;
|
|
56
|
-
uuid
|
|
70
|
+
uuid: string;
|
|
57
71
|
invoiceNumber?: string | null;
|
|
58
|
-
issueDate
|
|
59
|
-
amountPaid
|
|
60
|
-
vatAmount
|
|
61
|
-
taxTotals
|
|
72
|
+
issueDate: string;
|
|
73
|
+
amountPaid: number;
|
|
74
|
+
vatAmount: number;
|
|
75
|
+
taxTotals: Array<UniRefund_TagService_Tags_TaxTotalDto>;
|
|
62
76
|
};
|
|
63
77
|
|
|
64
78
|
export type UniRefund_TagService_Merchants_MerchantDetailDto = {
|
|
@@ -80,7 +94,7 @@ export type UniRefund_TagService_Refunds_RefundDto = {
|
|
|
80
94
|
paidDate?: string | null;
|
|
81
95
|
refundLocation?: string | null;
|
|
82
96
|
status?: number | null;
|
|
83
|
-
refundMethod?:
|
|
97
|
+
refundMethod?: UniRefund_TagService_Tags_Enums_RefundType;
|
|
84
98
|
};
|
|
85
99
|
|
|
86
100
|
export type UniRefund_TagService_Tags_AddressDto = {
|
|
@@ -89,15 +103,17 @@ export type UniRefund_TagService_Tags_AddressDto = {
|
|
|
89
103
|
};
|
|
90
104
|
|
|
91
105
|
export type UniRefund_TagService_Tags_CreateTagRequestDto = {
|
|
92
|
-
merchant
|
|
93
|
-
traveller
|
|
94
|
-
invoices
|
|
106
|
+
merchant: UniRefund_TagService_Merchants_MerchantRequestDto;
|
|
107
|
+
traveller: UniRefund_TagService_Travellers_TravellerRequestDto;
|
|
108
|
+
invoices: Array<UniRefund_TagService_Invoices_InvoiceRequestDto>;
|
|
95
109
|
exportValidation?: UniRefund_TagService_Tags_ExportValidationRequestDto;
|
|
96
110
|
};
|
|
97
111
|
|
|
112
|
+
export type UniRefund_TagService_Tags_Enums_RefundType = 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
|
|
113
|
+
|
|
98
114
|
export type UniRefund_TagService_Tags_ExportValidationRequestDto = {
|
|
99
|
-
|
|
100
|
-
|
|
115
|
+
exportDate?: string | null;
|
|
116
|
+
exportLocationId?: string;
|
|
101
117
|
referenceId?: string | null;
|
|
102
118
|
responseCode?: string | null;
|
|
103
119
|
description?: string | null;
|
|
@@ -108,14 +124,13 @@ export type UniRefund_TagService_Tags_ProductGroupDto = {
|
|
|
108
124
|
description?: string | null;
|
|
109
125
|
};
|
|
110
126
|
|
|
111
|
-
export type UniRefund_TagService_Tags_RefundType = 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
|
|
112
|
-
|
|
113
127
|
export type UniRefund_TagService_Tags_SetTagRefundRequestDto = {
|
|
114
128
|
tagRefunds?: Array<UniRefund_TagService_Tags_SetTagRefundRequestItemDto> | null;
|
|
115
129
|
refundId?: string;
|
|
116
|
-
refundType?:
|
|
130
|
+
refundType?: UniRefund_TagService_Tags_Enums_RefundType;
|
|
117
131
|
refundDate?: string;
|
|
118
132
|
status?: UniRefund_TagService_Tags_TagStatusType;
|
|
133
|
+
refundPointId?: string;
|
|
119
134
|
};
|
|
120
135
|
|
|
121
136
|
export type UniRefund_TagService_Tags_SetTagRefundRequestItemDto = {
|
|
@@ -124,18 +139,23 @@ export type UniRefund_TagService_Tags_SetTagRefundRequestItemDto = {
|
|
|
124
139
|
refundCurrency?: string | null;
|
|
125
140
|
refundRate?: number;
|
|
126
141
|
travellerFeeAmount?: number;
|
|
142
|
+
agentFeeAmount?: number;
|
|
127
143
|
};
|
|
128
144
|
|
|
129
145
|
export type UniRefund_TagService_Tags_SetTagRefundResponseDto = {
|
|
130
146
|
earlyRefundExpiryDate?: string | null;
|
|
131
147
|
};
|
|
132
148
|
|
|
149
|
+
export type UniRefund_TagService_Tags_SetTagVATStatementHeaderIdRequestDto = {
|
|
150
|
+
tagIdAndVATStatementHeaderIdPairs?: Array<UniRefund_TagService_Tags_TagIdAndVATStatementHeaderIdPairDto> | null;
|
|
151
|
+
};
|
|
152
|
+
|
|
133
153
|
export type UniRefund_TagService_Tags_TagDetailDto = {
|
|
134
154
|
id?: string;
|
|
135
|
-
tagNumber
|
|
136
|
-
status
|
|
137
|
-
refundType?:
|
|
138
|
-
issueDate
|
|
155
|
+
tagNumber: string;
|
|
156
|
+
status: UniRefund_TagService_Tags_TagStatusType;
|
|
157
|
+
refundType?: UniRefund_TagService_Tags_Enums_RefundType;
|
|
158
|
+
issueDate: string;
|
|
139
159
|
expireDate?: string | null;
|
|
140
160
|
merchant?: UniRefund_TagService_Merchants_MerchantDetailDto;
|
|
141
161
|
traveller?: UniRefund_TagService_Travellers_TravellerDetailDto;
|
|
@@ -151,59 +171,77 @@ export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
|
151
171
|
tagNumber: string;
|
|
152
172
|
status: UniRefund_TagService_Tags_TagStatusType;
|
|
153
173
|
issueDate: string;
|
|
154
|
-
expireDate
|
|
155
|
-
merchant
|
|
156
|
-
exportValidation
|
|
157
|
-
billing
|
|
158
|
-
invoices
|
|
159
|
-
totals
|
|
174
|
+
expireDate?: string | null;
|
|
175
|
+
merchant?: UniRefund_TagService_Merchants_MerchantDetailDto;
|
|
176
|
+
exportValidation?: UniRefund_TagService_ExportValidations_ExportValidationDto;
|
|
177
|
+
billing?: UniRefund_TagService_Billings_BillingDto;
|
|
178
|
+
invoices?: Array<UniRefund_TagService_Invoices_InvoiceDto> | null;
|
|
179
|
+
totals?: Array<UniRefund_TagService_Tags_TagTotalDto> | null;
|
|
160
180
|
};
|
|
161
181
|
|
|
162
182
|
export type UniRefund_TagService_Tags_TagDto = {
|
|
163
183
|
id?: string;
|
|
164
|
-
tagNumber
|
|
165
|
-
status
|
|
166
|
-
refundType?:
|
|
167
|
-
issueDate
|
|
184
|
+
tagNumber: string;
|
|
185
|
+
status: UniRefund_TagService_Tags_TagStatusType;
|
|
186
|
+
refundType?: UniRefund_TagService_Tags_Enums_RefundType;
|
|
187
|
+
issueDate: string;
|
|
168
188
|
expireDate?: string | null;
|
|
169
189
|
exportValidationId?: string | null;
|
|
170
190
|
refundId?: string | null;
|
|
171
|
-
|
|
191
|
+
vatStatementHeaderId?: string | null;
|
|
172
192
|
merchantId?: string | null;
|
|
173
193
|
travellerId?: string | null;
|
|
174
194
|
travelDocumentNumber?: string | null;
|
|
175
195
|
tripId?: string | null;
|
|
176
196
|
refundTableId?: string | null;
|
|
177
197
|
rebateTableId?: string | null;
|
|
198
|
+
contractHeaderId?: string | null;
|
|
178
199
|
totals?: Array<UniRefund_TagService_Tags_TagTotalDto> | null;
|
|
179
200
|
};
|
|
180
201
|
|
|
202
|
+
export type UniRefund_TagService_Tags_TagIdAndVATStatementHeaderIdPairDto = {
|
|
203
|
+
tagId: string;
|
|
204
|
+
vatStatementHeaderId: string;
|
|
205
|
+
};
|
|
206
|
+
|
|
181
207
|
export type UniRefund_TagService_Tags_TagListItemDto = {
|
|
182
208
|
id?: string;
|
|
183
|
-
tagNumber
|
|
184
|
-
issueDate
|
|
185
|
-
expireDate?: string;
|
|
186
|
-
travellerFullName
|
|
187
|
-
travellerDocumentNumber
|
|
188
|
-
merchantTitle
|
|
189
|
-
status
|
|
209
|
+
tagNumber: string;
|
|
210
|
+
issueDate: string;
|
|
211
|
+
expireDate?: string | null;
|
|
212
|
+
travellerFullName: string;
|
|
213
|
+
travellerDocumentNumber: string;
|
|
214
|
+
merchantTitle: string;
|
|
215
|
+
status: UniRefund_TagService_Tags_TagStatusType;
|
|
190
216
|
totals?: Array<UniRefund_TagService_Tags_TagTotalDto> | null;
|
|
191
217
|
};
|
|
192
218
|
|
|
193
219
|
export type UniRefund_TagService_Tags_TagListSummaryDto = {
|
|
194
|
-
totalSalesAmount
|
|
195
|
-
totalRefundAmount
|
|
196
|
-
currency
|
|
220
|
+
totalSalesAmount: number;
|
|
221
|
+
totalRefundAmount: number;
|
|
222
|
+
currency: string;
|
|
197
223
|
};
|
|
198
224
|
|
|
199
225
|
export type UniRefund_TagService_Tags_TagRefundFeesDto = {
|
|
200
226
|
id: string;
|
|
201
227
|
touristFee: number;
|
|
228
|
+
agentFee: number;
|
|
202
229
|
netRefundAmount: number;
|
|
203
230
|
};
|
|
204
231
|
|
|
205
232
|
export type UniRefund_TagService_Tags_TagStatusType = 'None' | 'Open' | 'PreIssued' | 'Issued' | 'WaitingGoodsValidation' | 'WaitingStampValidation' | 'Declined' | 'ExportValidated' | 'PaymentBlocked' | 'PaymentInProgress' | 'PaymentProblem' | 'Paid' | 'Cancelled' | 'Expired' | 'Correction' | 'OptedOut';
|
|
206
233
|
|
|
234
|
+
export type UniRefund_TagService_Tags_TagSumTagsForVATStatementTagDetailResponseDto = {
|
|
235
|
+
tagId: string;
|
|
236
|
+
merchantId: string;
|
|
237
|
+
tagNumber: string;
|
|
238
|
+
refundDate: string;
|
|
239
|
+
grandTotal: number;
|
|
240
|
+
taxAmount: number;
|
|
241
|
+
refundAmount: number;
|
|
242
|
+
currency: string;
|
|
243
|
+
};
|
|
244
|
+
|
|
207
245
|
export type UniRefund_TagService_Tags_TagSumTagsResponseDto = {
|
|
208
246
|
tagRefundFees?: Array<UniRefund_TagService_Tags_TagRefundFeesDto> | null;
|
|
209
247
|
travellerId?: string;
|
|
@@ -213,45 +251,51 @@ export type UniRefund_TagService_Tags_TagSumTagsResponseDto = {
|
|
|
213
251
|
};
|
|
214
252
|
|
|
215
253
|
export type UniRefund_TagService_Tags_TagTotalDto = {
|
|
216
|
-
totalType
|
|
217
|
-
amount
|
|
254
|
+
totalType: UniRefund_TagService_Tags_TotalType;
|
|
255
|
+
amount: number;
|
|
218
256
|
description?: string | null;
|
|
219
|
-
currency
|
|
257
|
+
currency: string;
|
|
258
|
+
rate: number;
|
|
220
259
|
};
|
|
221
260
|
|
|
222
261
|
export type UniRefund_TagService_Tags_TagValidForVATStatementResponseDto = {
|
|
223
|
-
tagId
|
|
224
|
-
|
|
225
|
-
|
|
262
|
+
tagId: string;
|
|
263
|
+
merchantId: string;
|
|
264
|
+
contractHeaderId: string;
|
|
265
|
+
tagNumber: string;
|
|
226
266
|
invoiceId?: string | null;
|
|
227
267
|
taxRate?: number | null;
|
|
228
|
-
taxBase
|
|
229
|
-
taxAmount
|
|
230
|
-
grandTotal
|
|
268
|
+
taxBase: number;
|
|
269
|
+
taxAmount: number;
|
|
270
|
+
grandTotal: number;
|
|
271
|
+
refundDate: string;
|
|
272
|
+
refundAmount: number;
|
|
273
|
+
currency: string;
|
|
274
|
+
tenantId?: string | null;
|
|
231
275
|
};
|
|
232
276
|
|
|
233
277
|
export type UniRefund_TagService_Tags_TaxTotalDto = {
|
|
234
|
-
taxRate
|
|
235
|
-
taxTotal
|
|
236
|
-
taxableAmount
|
|
278
|
+
taxRate: number;
|
|
279
|
+
taxTotal: number;
|
|
280
|
+
taxableAmount: number;
|
|
237
281
|
};
|
|
238
282
|
|
|
239
283
|
export type UniRefund_TagService_Tags_TotalType = 'None' | 'SalesAmount' | 'VatAmount' | 'GrossRefund' | 'RefundFee' | 'AgentRefundFee' | 'Refund';
|
|
240
284
|
|
|
241
285
|
export type UniRefund_TagService_Tags_UpdateTagDto = {
|
|
242
286
|
tagNumber?: string | null;
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
issueDate?: string | null;
|
|
287
|
+
refundType?: UniRefund_TagService_Tags_Enums_RefundType;
|
|
288
|
+
issueDate?: string;
|
|
246
289
|
expireDate?: string | null;
|
|
247
290
|
exportValidationId?: string | null;
|
|
248
291
|
refundId?: string | null;
|
|
249
|
-
|
|
292
|
+
vatStatementHeaderId?: string | null;
|
|
250
293
|
merchantId?: string | null;
|
|
251
294
|
travellerId?: string | null;
|
|
252
295
|
tripId?: string | null;
|
|
253
296
|
refundTableId?: string | null;
|
|
254
297
|
rebateTableId?: string | null;
|
|
298
|
+
contractHeaderId?: string | null;
|
|
255
299
|
totals?: Array<UniRefund_TagService_Tags_TagTotalDto> | null;
|
|
256
300
|
};
|
|
257
301
|
|
|
@@ -271,7 +315,7 @@ export type UniRefund_TagService_Travellers_TravellerRequestDto = {
|
|
|
271
315
|
firstName: string;
|
|
272
316
|
lastName: string;
|
|
273
317
|
residenceCountryCode2: string;
|
|
274
|
-
expirationDate
|
|
318
|
+
expirationDate?: string | null;
|
|
275
319
|
birthDate?: string | null;
|
|
276
320
|
};
|
|
277
321
|
|
|
@@ -693,7 +737,7 @@ export type GetApiTagServiceTagData = {
|
|
|
693
737
|
merchantIds?: Array<(string)>;
|
|
694
738
|
paidEndDate?: string;
|
|
695
739
|
paidStartDate?: string;
|
|
696
|
-
refundTypes?: Array<
|
|
740
|
+
refundTypes?: Array<UniRefund_TagService_Tags_Enums_RefundType>;
|
|
697
741
|
skipCount?: number;
|
|
698
742
|
sorting?: string;
|
|
699
743
|
statuses?: Array<UniRefund_TagService_Tags_TagStatusType>;
|
|
@@ -728,7 +772,7 @@ export type GetApiTagServiceTagTagsRefundData = {
|
|
|
728
772
|
isExportValidated: boolean;
|
|
729
773
|
maxResultCount?: number;
|
|
730
774
|
refundPointId: string;
|
|
731
|
-
refundType:
|
|
775
|
+
refundType: UniRefund_TagService_Tags_Enums_RefundType;
|
|
732
776
|
skipCount?: number;
|
|
733
777
|
travellerDocumentNumber: string;
|
|
734
778
|
};
|
|
@@ -745,7 +789,7 @@ export type GetApiTagServiceTagSummaryData = {
|
|
|
745
789
|
merchantIds?: Array<(string)>;
|
|
746
790
|
paidEndDate?: string;
|
|
747
791
|
paidStartDate?: string;
|
|
748
|
-
refundTypes?: Array<
|
|
792
|
+
refundTypes?: Array<UniRefund_TagService_Tags_Enums_RefundType>;
|
|
749
793
|
skipCount?: number;
|
|
750
794
|
sorting?: string;
|
|
751
795
|
statuses?: Array<UniRefund_TagService_Tags_TagStatusType>;
|
|
@@ -760,21 +804,34 @@ export type GetApiTagServiceTagSummaryResponse = UniRefund_TagService_Tags_TagLi
|
|
|
760
804
|
export type GetApiTagServiceTagTagsRefundFeesData = {
|
|
761
805
|
refundDate: string;
|
|
762
806
|
refundPointId: string;
|
|
763
|
-
refundType:
|
|
807
|
+
refundType: UniRefund_TagService_Tags_Enums_RefundType;
|
|
764
808
|
tagIds: Array<(string)>;
|
|
765
809
|
};
|
|
766
810
|
|
|
767
811
|
export type GetApiTagServiceTagTagsRefundFeesResponse = Array<UniRefund_TagService_Tags_TagRefundFeesDto>;
|
|
768
812
|
|
|
813
|
+
export type PutApiTagServiceTagExportValidationByIdData = {
|
|
814
|
+
id: string;
|
|
815
|
+
requestBody?: UniRefund_TagService_Tags_ExportValidationRequestDto;
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
export type PutApiTagServiceTagExportValidationByIdResponse = UniRefund_ExportValidationService_ExportValidations_ExportValidationDto;
|
|
819
|
+
|
|
769
820
|
export type GetIntegrationApiTagsSumData = {
|
|
770
821
|
ids: Array<(string)>;
|
|
771
822
|
refundDate: string;
|
|
772
823
|
refundPointId: string;
|
|
773
|
-
refundType:
|
|
824
|
+
refundType: UniRefund_TagService_Tags_Enums_RefundType;
|
|
774
825
|
};
|
|
775
826
|
|
|
776
827
|
export type GetIntegrationApiTagsSumResponse = UniRefund_TagService_Tags_TagSumTagsResponseDto;
|
|
777
828
|
|
|
829
|
+
export type GetIntegrationApiTagsSumForVatStatementData = {
|
|
830
|
+
tagIds?: Array<(string)>;
|
|
831
|
+
};
|
|
832
|
+
|
|
833
|
+
export type GetIntegrationApiTagsSumForVatStatementResponse = Array<UniRefund_TagService_Tags_TagSumTagsForVATStatementTagDetailResponseDto>;
|
|
834
|
+
|
|
778
835
|
export type PutIntegrationApiTagsRefundData = {
|
|
779
836
|
requestBody?: UniRefund_TagService_Tags_SetTagRefundRequestDto;
|
|
780
837
|
};
|
|
@@ -787,7 +844,19 @@ export type GetIntegrationApiTagsDetailsListForRefundData = {
|
|
|
787
844
|
|
|
788
845
|
export type GetIntegrationApiTagsDetailsListForRefundResponse = Array<UniRefund_TagService_Tags_TagDetailForRefundDto>;
|
|
789
846
|
|
|
790
|
-
export type
|
|
847
|
+
export type GetIntegrationApiTagsValidListForVatStatementData = {
|
|
848
|
+
merchantIds?: Array<(string)>;
|
|
849
|
+
month?: number;
|
|
850
|
+
year?: number;
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
export type GetIntegrationApiTagsValidListForVatStatementResponse = Array<UniRefund_TagService_Tags_TagValidForVATStatementResponseDto>;
|
|
854
|
+
|
|
855
|
+
export type PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsData = {
|
|
856
|
+
requestBody?: UniRefund_TagService_Tags_SetTagVATStatementHeaderIdRequestDto;
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
export type PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsResponse = unknown;
|
|
791
860
|
|
|
792
861
|
export type $OpenApiTs = {
|
|
793
862
|
'/api/abp/api-definition': {
|
|
@@ -1171,6 +1240,41 @@ export type $OpenApiTs = {
|
|
|
1171
1240
|
};
|
|
1172
1241
|
};
|
|
1173
1242
|
};
|
|
1243
|
+
'/api/tag-service/tag/export-validation/{id}': {
|
|
1244
|
+
put: {
|
|
1245
|
+
req: PutApiTagServiceTagExportValidationByIdData;
|
|
1246
|
+
res: {
|
|
1247
|
+
/**
|
|
1248
|
+
* Success
|
|
1249
|
+
*/
|
|
1250
|
+
200: UniRefund_ExportValidationService_ExportValidations_ExportValidationDto;
|
|
1251
|
+
/**
|
|
1252
|
+
* Bad Request
|
|
1253
|
+
*/
|
|
1254
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1255
|
+
/**
|
|
1256
|
+
* Unauthorized
|
|
1257
|
+
*/
|
|
1258
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1259
|
+
/**
|
|
1260
|
+
* Forbidden
|
|
1261
|
+
*/
|
|
1262
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1263
|
+
/**
|
|
1264
|
+
* Not Found
|
|
1265
|
+
*/
|
|
1266
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1267
|
+
/**
|
|
1268
|
+
* Server Error
|
|
1269
|
+
*/
|
|
1270
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1271
|
+
/**
|
|
1272
|
+
* Server Error
|
|
1273
|
+
*/
|
|
1274
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1275
|
+
};
|
|
1276
|
+
};
|
|
1277
|
+
};
|
|
1174
1278
|
'/integration-api/tags/sum': {
|
|
1175
1279
|
get: {
|
|
1176
1280
|
req: GetIntegrationApiTagsSumData;
|
|
@@ -1206,6 +1310,41 @@ export type $OpenApiTs = {
|
|
|
1206
1310
|
};
|
|
1207
1311
|
};
|
|
1208
1312
|
};
|
|
1313
|
+
'/integration-api/tags/sum-for-vat-statement': {
|
|
1314
|
+
get: {
|
|
1315
|
+
req: GetIntegrationApiTagsSumForVatStatementData;
|
|
1316
|
+
res: {
|
|
1317
|
+
/**
|
|
1318
|
+
* Success
|
|
1319
|
+
*/
|
|
1320
|
+
200: Array<UniRefund_TagService_Tags_TagSumTagsForVATStatementTagDetailResponseDto>;
|
|
1321
|
+
/**
|
|
1322
|
+
* Bad Request
|
|
1323
|
+
*/
|
|
1324
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1325
|
+
/**
|
|
1326
|
+
* Unauthorized
|
|
1327
|
+
*/
|
|
1328
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1329
|
+
/**
|
|
1330
|
+
* Forbidden
|
|
1331
|
+
*/
|
|
1332
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1333
|
+
/**
|
|
1334
|
+
* Not Found
|
|
1335
|
+
*/
|
|
1336
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1337
|
+
/**
|
|
1338
|
+
* Server Error
|
|
1339
|
+
*/
|
|
1340
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1341
|
+
/**
|
|
1342
|
+
* Server Error
|
|
1343
|
+
*/
|
|
1344
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1345
|
+
};
|
|
1346
|
+
};
|
|
1347
|
+
};
|
|
1209
1348
|
'/integration-api/tags/refund': {
|
|
1210
1349
|
put: {
|
|
1211
1350
|
req: PutIntegrationApiTagsRefundData;
|
|
@@ -1276,8 +1415,9 @@ export type $OpenApiTs = {
|
|
|
1276
1415
|
};
|
|
1277
1416
|
};
|
|
1278
1417
|
};
|
|
1279
|
-
'/integration-api/tags/valid-list-for-vat-statement
|
|
1418
|
+
'/integration-api/tags/valid-list-for-vat-statement': {
|
|
1280
1419
|
get: {
|
|
1420
|
+
req: GetIntegrationApiTagsValidListForVatStatementData;
|
|
1281
1421
|
res: {
|
|
1282
1422
|
/**
|
|
1283
1423
|
* Success
|
|
@@ -1310,4 +1450,39 @@ export type $OpenApiTs = {
|
|
|
1310
1450
|
};
|
|
1311
1451
|
};
|
|
1312
1452
|
};
|
|
1453
|
+
'/integration-api/tags/set-vat-statement-header-ids-of-tags': {
|
|
1454
|
+
put: {
|
|
1455
|
+
req: PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsData;
|
|
1456
|
+
res: {
|
|
1457
|
+
/**
|
|
1458
|
+
* Success
|
|
1459
|
+
*/
|
|
1460
|
+
200: unknown;
|
|
1461
|
+
/**
|
|
1462
|
+
* Bad Request
|
|
1463
|
+
*/
|
|
1464
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1465
|
+
/**
|
|
1466
|
+
* Unauthorized
|
|
1467
|
+
*/
|
|
1468
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1469
|
+
/**
|
|
1470
|
+
* Forbidden
|
|
1471
|
+
*/
|
|
1472
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1473
|
+
/**
|
|
1474
|
+
* Not Found
|
|
1475
|
+
*/
|
|
1476
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1477
|
+
/**
|
|
1478
|
+
* Server Error
|
|
1479
|
+
*/
|
|
1480
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1481
|
+
/**
|
|
1482
|
+
* Server Error
|
|
1483
|
+
*/
|
|
1484
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
1485
|
+
};
|
|
1486
|
+
};
|
|
1487
|
+
};
|
|
1313
1488
|
};
|