@ayasofyazilim/saas 0.0.103 → 0.0.105

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,557 +1,583 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
-
3
- import type { CancelablePromise } from './core/CancelablePromise';
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, PutApiTagServiceTagExportValidationByIdData, PutApiTagServiceTagExportValidationByIdResponse, GetIntegrationApiTagsSumData, GetIntegrationApiTagsSumResponse, GetIntegrationApiTagsSumForVatStatementData, GetIntegrationApiTagsSumForVatStatementResponse, PutIntegrationApiTagsRefundData, PutIntegrationApiTagsRefundResponse, GetIntegrationApiTagsDetailsListForRefundData, GetIntegrationApiTagsDetailsListForRefundResponse, GetIntegrationApiTagsValidListForVatStatementData, GetIntegrationApiTagsValidListForVatStatementResponse, PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsData, PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsResponse } from './types.gen';
6
-
7
- export class AbpApiDefinitionService {
8
- constructor(public readonly httpRequest: BaseHttpRequest) { }
9
-
10
- /**
11
- * @param data The data for the request.
12
- * @param data.includeTypes
13
- * @returns Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel Success
14
- * @throws ApiError
15
- */
16
- public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
17
- return this.httpRequest.request({
18
- method: 'GET',
19
- url: '/api/abp/api-definition',
20
- query: {
21
- IncludeTypes: data.includeTypes
22
- },
23
- errors: {
24
- 400: 'Bad Request',
25
- 401: 'Unauthorized',
26
- 403: 'Forbidden',
27
- 404: 'Not Found',
28
- 500: 'Server Error',
29
- 501: 'Server Error'
30
- }
31
- });
32
- }
33
-
34
- }
35
-
36
- export class AbpApplicationConfigurationService {
37
- constructor(public readonly httpRequest: BaseHttpRequest) { }
38
-
39
- /**
40
- * @param data The data for the request.
41
- * @param data.includeLocalizationResources
42
- * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto Success
43
- * @throws ApiError
44
- */
45
- public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
46
- return this.httpRequest.request({
47
- method: 'GET',
48
- url: '/api/abp/application-configuration',
49
- query: {
50
- IncludeLocalizationResources: data.includeLocalizationResources
51
- },
52
- errors: {
53
- 400: 'Bad Request',
54
- 401: 'Unauthorized',
55
- 403: 'Forbidden',
56
- 404: 'Not Found',
57
- 500: 'Server Error',
58
- 501: 'Server Error'
59
- }
60
- });
61
- }
62
-
63
- }
64
-
65
- export class AbpApplicationLocalizationService {
66
- constructor(public readonly httpRequest: BaseHttpRequest) { }
67
-
68
- /**
69
- * @param data The data for the request.
70
- * @param data.cultureName
71
- * @param data.onlyDynamics
72
- * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto Success
73
- * @throws ApiError
74
- */
75
- public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
76
- return this.httpRequest.request({
77
- method: 'GET',
78
- url: '/api/abp/application-localization',
79
- query: {
80
- CultureName: data.cultureName,
81
- OnlyDynamics: data.onlyDynamics
82
- },
83
- errors: {
84
- 400: 'Bad Request',
85
- 401: 'Unauthorized',
86
- 403: 'Forbidden',
87
- 404: 'Not Found',
88
- 500: 'Server Error',
89
- 501: 'Server Error'
90
- }
91
- });
92
- }
93
-
94
- }
95
-
96
- export class TagService {
97
- constructor(public readonly httpRequest: BaseHttpRequest) { }
98
-
99
- /**
100
- * @param data The data for the request.
101
- * @param data.requestBody
102
- * @returns UniRefund_TagService_Tags_TagDto Success
103
- * @throws ApiError
104
- */
105
- public postApiTagServiceTag(data: PostApiTagServiceTagData = {}): CancelablePromise<PostApiTagServiceTagResponse> {
106
- return this.httpRequest.request({
107
- method: 'POST',
108
- url: '/api/tag-service/tag',
109
- body: data.requestBody,
110
- mediaType: 'application/json',
111
- errors: {
112
- 400: 'Bad Request',
113
- 401: 'Unauthorized',
114
- 403: 'Forbidden',
115
- 404: 'Not Found',
116
- 500: 'Server Error',
117
- 501: 'Server Error'
118
- }
119
- });
120
- }
121
-
122
- /**
123
- * @param data The data for the request.
124
- * @param data.tagNumber
125
- * @param data.invoiceNumber
126
- * @param data.travellerFullName
127
- * @param data.travellerDocumentNumber
128
- * @param data.issuedStartDate
129
- * @param data.issuedEndDate
130
- * @param data.exportStartDate
131
- * @param data.exportEndDate
132
- * @param data.paidStartDate
133
- * @param data.paidEndDate
134
- * @param data.travellerIds
135
- * @param data.merchantIds
136
- * @param data.statuses
137
- * @param data.refundTypes
138
- * @param data.sorting
139
- * @param data.skipCount
140
- * @param data.maxResultCount
141
- * @returns TagPagedAndSortedResultResponseDto_TagListItemDto Success
142
- * @throws ApiError
143
- */
144
- public getApiTagServiceTag(data: GetApiTagServiceTagData = {}): CancelablePromise<GetApiTagServiceTagResponse> {
145
- return this.httpRequest.request({
146
- method: 'GET',
147
- url: '/api/tag-service/tag',
148
- query: {
149
- TagNumber: data.tagNumber,
150
- InvoiceNumber: data.invoiceNumber,
151
- TravellerFullName: data.travellerFullName,
152
- TravellerDocumentNumber: data.travellerDocumentNumber,
153
- IssuedStartDate: data.issuedStartDate,
154
- IssuedEndDate: data.issuedEndDate,
155
- ExportStartDate: data.exportStartDate,
156
- ExportEndDate: data.exportEndDate,
157
- PaidStartDate: data.paidStartDate,
158
- PaidEndDate: data.paidEndDate,
159
- TravellerIds: data.travellerIds,
160
- MerchantIds: data.merchantIds,
161
- Statuses: data.statuses,
162
- RefundTypes: data.refundTypes,
163
- Sorting: data.sorting,
164
- SkipCount: data.skipCount,
165
- MaxResultCount: data.maxResultCount
166
- },
167
- errors: {
168
- 400: 'Bad Request',
169
- 401: 'Unauthorized',
170
- 403: 'Forbidden',
171
- 404: 'Not Found',
172
- 500: 'Server Error',
173
- 501: 'Server Error'
174
- }
175
- });
176
- }
177
-
178
- /**
179
- * @param data The data for the request.
180
- * @param data.id
181
- * @param data.requestBody
182
- * @returns UniRefund_TagService_Tags_TagDto Success
183
- * @throws ApiError
184
- */
185
- public putApiTagServiceTagById(data: PutApiTagServiceTagByIdData): CancelablePromise<PutApiTagServiceTagByIdResponse> {
186
- return this.httpRequest.request({
187
- method: 'PUT',
188
- url: '/api/tag-service/tag/{id}',
189
- path: {
190
- id: data.id
191
- },
192
- body: data.requestBody,
193
- mediaType: 'application/json',
194
- errors: {
195
- 400: 'Bad Request',
196
- 401: 'Unauthorized',
197
- 403: 'Forbidden',
198
- 404: 'Not Found',
199
- 500: 'Server Error',
200
- 501: 'Server Error'
201
- }
202
- });
203
- }
204
-
205
- /**
206
- * @param data The data for the request.
207
- * @param data.id
208
- * @returns unknown Success
209
- * @throws ApiError
210
- */
211
- public deleteApiTagServiceTagById(data: DeleteApiTagServiceTagByIdData): CancelablePromise<DeleteApiTagServiceTagByIdResponse> {
212
- return this.httpRequest.request({
213
- method: 'DELETE',
214
- url: '/api/tag-service/tag/{id}',
215
- path: {
216
- id: data.id
217
- },
218
- errors: {
219
- 400: 'Bad Request',
220
- 401: 'Unauthorized',
221
- 403: 'Forbidden',
222
- 404: 'Not Found',
223
- 500: 'Server Error',
224
- 501: 'Server Error'
225
- }
226
- });
227
- }
228
-
229
- /**
230
- * @param data The data for the request.
231
- * @param data.id
232
- * @returns UniRefund_TagService_Tags_TagDetailDto Success
233
- * @throws ApiError
234
- */
235
- public getApiTagServiceTagByIdDetail(data: GetApiTagServiceTagByIdDetailData): CancelablePromise<GetApiTagServiceTagByIdDetailResponse> {
236
- return this.httpRequest.request({
237
- method: 'GET',
238
- url: '/api/tag-service/tag/{id}/detail',
239
- path: {
240
- id: data.id
241
- },
242
- errors: {
243
- 400: 'Bad Request',
244
- 401: 'Unauthorized',
245
- 403: 'Forbidden',
246
- 404: 'Not Found',
247
- 500: 'Server Error',
248
- 501: 'Server Error'
249
- }
250
- });
251
- }
252
-
253
- /**
254
- * @param data The data for the request.
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
262
- * @throws ApiError
263
- */
264
- public getApiTagServiceTagTagsRefund(data: GetApiTagServiceTagTagsRefundData): CancelablePromise<GetApiTagServiceTagTagsRefundResponse> {
265
- return this.httpRequest.request({
266
- method: 'GET',
267
- url: '/api/tag-service/tag/tags-refund',
268
- query: {
269
- TravellerDocumentNumber: data.travellerDocumentNumber,
270
- IsExportValidated: data.isExportValidated,
271
- RefundType: data.refundType,
272
- RefundPointId: data.refundPointId,
273
- SkipCount: data.skipCount,
274
- MaxResultCount: data.maxResultCount
275
- },
276
- errors: {
277
- 400: 'Bad Request',
278
- 401: 'Unauthorized',
279
- 403: 'Forbidden',
280
- 404: 'Not Found',
281
- 500: 'Server Error',
282
- 501: 'Server Error'
283
- }
284
- });
285
- }
286
-
287
- /**
288
- * @param data The data for the request.
289
- * @param data.tagNumber
290
- * @param data.invoiceNumber
291
- * @param data.travellerFullName
292
- * @param data.travellerDocumentNumber
293
- * @param data.issuedStartDate
294
- * @param data.issuedEndDate
295
- * @param data.exportStartDate
296
- * @param data.exportEndDate
297
- * @param data.paidStartDate
298
- * @param data.paidEndDate
299
- * @param data.travellerIds
300
- * @param data.merchantIds
301
- * @param data.statuses
302
- * @param data.refundTypes
303
- * @param data.sorting
304
- * @param data.skipCount
305
- * @param data.maxResultCount
306
- * @returns UniRefund_TagService_Tags_TagListSummaryDto Success
307
- * @throws ApiError
308
- */
309
- public getApiTagServiceTagSummary(data: GetApiTagServiceTagSummaryData = {}): CancelablePromise<GetApiTagServiceTagSummaryResponse> {
310
- return this.httpRequest.request({
311
- method: 'GET',
312
- url: '/api/tag-service/tag/summary',
313
- query: {
314
- TagNumber: data.tagNumber,
315
- InvoiceNumber: data.invoiceNumber,
316
- TravellerFullName: data.travellerFullName,
317
- TravellerDocumentNumber: data.travellerDocumentNumber,
318
- IssuedStartDate: data.issuedStartDate,
319
- IssuedEndDate: data.issuedEndDate,
320
- ExportStartDate: data.exportStartDate,
321
- ExportEndDate: data.exportEndDate,
322
- PaidStartDate: data.paidStartDate,
323
- PaidEndDate: data.paidEndDate,
324
- TravellerIds: data.travellerIds,
325
- MerchantIds: data.merchantIds,
326
- Statuses: data.statuses,
327
- RefundTypes: data.refundTypes,
328
- Sorting: data.sorting,
329
- SkipCount: data.skipCount,
330
- MaxResultCount: data.maxResultCount
331
- },
332
- errors: {
333
- 400: 'Bad Request',
334
- 401: 'Unauthorized',
335
- 403: 'Forbidden',
336
- 404: 'Not Found',
337
- 500: 'Server Error',
338
- 501: 'Server Error'
339
- }
340
- });
341
- }
342
-
343
- /**
344
- * @param data The data for the request.
345
- * @param data.tagIds
346
- * @param data.refundPointId
347
- * @param data.refundDate
348
- * @param data.refundType
349
- * @returns UniRefund_TagService_Tags_TagRefundFeesDto Success
350
- * @throws ApiError
351
- */
352
- public getApiTagServiceTagTagsRefundFees(data: GetApiTagServiceTagTagsRefundFeesData): CancelablePromise<GetApiTagServiceTagTagsRefundFeesResponse> {
353
- return this.httpRequest.request({
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
- * @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
-
400
- }
401
-
402
- export class TagIntegrationService {
403
- constructor(public readonly httpRequest: BaseHttpRequest) { }
404
-
405
- /**
406
- * @param data The data for the request.
407
- * @param data.ids
408
- * @param data.refundPointId
409
- * @param data.refundDate
410
- * @param data.refundType
411
- * @returns UniRefund_TagService_Tags_TagSumTagsResponseDto Success
412
- * @throws ApiError
413
- */
414
- public getIntegrationApiTagsSum(data: GetIntegrationApiTagsSumData): CancelablePromise<GetIntegrationApiTagsSumResponse> {
415
- return this.httpRequest.request({
416
- method: 'GET',
417
- url: '/integration-api/tags/sum',
418
- query: {
419
- Ids: data.ids,
420
- RefundPointId: data.refundPointId,
421
- RefundDate: data.refundDate,
422
- RefundType: data.refundType
423
- },
424
- errors: {
425
- 400: 'Bad Request',
426
- 401: 'Unauthorized',
427
- 403: 'Forbidden',
428
- 404: 'Not Found',
429
- 500: 'Server Error',
430
- 501: 'Server Error'
431
- }
432
- });
433
- }
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
-
459
- /**
460
- * @param data The data for the request.
461
- * @param data.requestBody
462
- * @returns UniRefund_TagService_Tags_SetTagRefundResponseDto Success
463
- * @throws ApiError
464
- */
465
- public putIntegrationApiTagsRefund(data: PutIntegrationApiTagsRefundData = {}): CancelablePromise<PutIntegrationApiTagsRefundResponse> {
466
- return this.httpRequest.request({
467
- method: 'PUT',
468
- url: '/integration-api/tags/refund',
469
- body: data.requestBody,
470
- mediaType: 'application/json',
471
- errors: {
472
- 400: 'Bad Request',
473
- 401: 'Unauthorized',
474
- 403: 'Forbidden',
475
- 404: 'Not Found',
476
- 500: 'Server Error',
477
- 501: 'Server Error'
478
- }
479
- });
480
- }
481
-
482
- /**
483
- * @param data The data for the request.
484
- * @param data.tagIds
485
- * @returns UniRefund_TagService_Tags_TagDetailForRefundDto Success
486
- * @throws ApiError
487
- */
488
- public getIntegrationApiTagsDetailsListForRefund(data: GetIntegrationApiTagsDetailsListForRefundData = {}): CancelablePromise<GetIntegrationApiTagsDetailsListForRefundResponse> {
489
- return this.httpRequest.request({
490
- method: 'GET',
491
- url: '/integration-api/tags/details-list-for-refund',
492
- query: {
493
- tagIds: data.tagIds
494
- },
495
- errors: {
496
- 400: 'Bad Request',
497
- 401: 'Unauthorized',
498
- 403: 'Forbidden',
499
- 404: 'Not Found',
500
- 500: 'Server Error',
501
- 501: 'Server Error'
502
- }
503
- });
504
- }
505
-
506
- /**
507
- * @param data The data for the request.
508
- * @param data.merchantIds
509
- * @param data.year
510
- * @param data.month
511
- * @returns UniRefund_TagService_Tags_TagValidForVATStatementResponseDto Success
512
- * @throws ApiError
513
- */
514
- public getIntegrationApiTagsValidListForVatStatement(data: GetIntegrationApiTagsValidListForVatStatementData = {}): CancelablePromise<GetIntegrationApiTagsValidListForVatStatementResponse> {
515
- return this.httpRequest.request({
516
- method: 'GET',
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',
546
- errors: {
547
- 400: 'Bad Request',
548
- 401: 'Unauthorized',
549
- 403: 'Forbidden',
550
- 404: 'Not Found',
551
- 500: 'Server Error',
552
- 501: 'Server Error'
553
- }
554
- });
555
- }
556
-
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+
3
+ import type { CancelablePromise } from './core/CancelablePromise';
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, PutApiTagServiceTagExportValidationByIdData, PutApiTagServiceTagExportValidationByIdResponse, GetIntegrationApiTagsSumData, GetIntegrationApiTagsSumResponse, GetIntegrationApiTagsSumForVatStatementData, GetIntegrationApiTagsSumForVatStatementResponse, PutIntegrationApiTagsRefundData, PutIntegrationApiTagsRefundResponse, GetIntegrationApiTagsRebateAmountsByVatStatementData, GetIntegrationApiTagsRebateAmountsByVatStatementResponse, GetIntegrationApiTagsDetailsListForRefundData, GetIntegrationApiTagsDetailsListForRefundResponse, GetIntegrationApiTagsValidListForVatStatementData, GetIntegrationApiTagsValidListForVatStatementResponse, PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsData, PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsResponse } from './types.gen';
6
+
7
+ export class AbpApiDefinitionService {
8
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
9
+
10
+ /**
11
+ * @param data The data for the request.
12
+ * @param data.includeTypes
13
+ * @returns unknown Success
14
+ * @throws ApiError
15
+ */
16
+ public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
17
+ return this.httpRequest.request({
18
+ method: 'GET',
19
+ url: '/api/abp/api-definition',
20
+ query: {
21
+ IncludeTypes: data.includeTypes
22
+ },
23
+ errors: {
24
+ 400: 'Bad Request',
25
+ 401: 'Unauthorized',
26
+ 403: 'Forbidden',
27
+ 404: 'Not Found',
28
+ 500: 'Server Error',
29
+ 501: 'Server Error'
30
+ }
31
+ });
32
+ }
33
+
34
+ }
35
+
36
+ export class AbpApplicationConfigurationService {
37
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
38
+
39
+ /**
40
+ * @param data The data for the request.
41
+ * @param data.includeLocalizationResources
42
+ * @returns unknown Success
43
+ * @throws ApiError
44
+ */
45
+ public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
46
+ return this.httpRequest.request({
47
+ method: 'GET',
48
+ url: '/api/abp/application-configuration',
49
+ query: {
50
+ IncludeLocalizationResources: data.includeLocalizationResources
51
+ },
52
+ errors: {
53
+ 400: 'Bad Request',
54
+ 401: 'Unauthorized',
55
+ 403: 'Forbidden',
56
+ 404: 'Not Found',
57
+ 500: 'Server Error',
58
+ 501: 'Server Error'
59
+ }
60
+ });
61
+ }
62
+
63
+ }
64
+
65
+ export class AbpApplicationLocalizationService {
66
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
67
+
68
+ /**
69
+ * @param data The data for the request.
70
+ * @param data.cultureName
71
+ * @param data.onlyDynamics
72
+ * @returns unknown Success
73
+ * @throws ApiError
74
+ */
75
+ public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
76
+ return this.httpRequest.request({
77
+ method: 'GET',
78
+ url: '/api/abp/application-localization',
79
+ query: {
80
+ CultureName: data.cultureName,
81
+ OnlyDynamics: data.onlyDynamics
82
+ },
83
+ errors: {
84
+ 400: 'Bad Request',
85
+ 401: 'Unauthorized',
86
+ 403: 'Forbidden',
87
+ 404: 'Not Found',
88
+ 500: 'Server Error',
89
+ 501: 'Server Error'
90
+ }
91
+ });
92
+ }
93
+
94
+ }
95
+
96
+ export class TagService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.requestBody
102
+ * @returns unknown Success
103
+ * @throws ApiError
104
+ */
105
+ public postApiTagServiceTag(data: PostApiTagServiceTagData = {}): CancelablePromise<PostApiTagServiceTagResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'POST',
108
+ url: '/api/tag-service/tag',
109
+ body: data.requestBody,
110
+ mediaType: 'application/json',
111
+ errors: {
112
+ 400: 'Bad Request',
113
+ 401: 'Unauthorized',
114
+ 403: 'Forbidden',
115
+ 404: 'Not Found',
116
+ 500: 'Server Error',
117
+ 501: 'Server Error'
118
+ }
119
+ });
120
+ }
121
+
122
+ /**
123
+ * @param data The data for the request.
124
+ * @param data.tagNumber
125
+ * @param data.invoiceNumber
126
+ * @param data.travellerFullName
127
+ * @param data.travellerDocumentNumber
128
+ * @param data.issuedStartDate
129
+ * @param data.issuedEndDate
130
+ * @param data.exportStartDate
131
+ * @param data.exportEndDate
132
+ * @param data.paidStartDate
133
+ * @param data.paidEndDate
134
+ * @param data.travellerIds
135
+ * @param data.merchantIds
136
+ * @param data.statuses
137
+ * @param data.refundTypes
138
+ * @param data.sorting
139
+ * @param data.skipCount
140
+ * @param data.maxResultCount
141
+ * @returns unknown Success
142
+ * @throws ApiError
143
+ */
144
+ public getApiTagServiceTag(data: GetApiTagServiceTagData = {}): CancelablePromise<GetApiTagServiceTagResponse> {
145
+ return this.httpRequest.request({
146
+ method: 'GET',
147
+ url: '/api/tag-service/tag',
148
+ query: {
149
+ TagNumber: data.tagNumber,
150
+ InvoiceNumber: data.invoiceNumber,
151
+ TravellerFullName: data.travellerFullName,
152
+ TravellerDocumentNumber: data.travellerDocumentNumber,
153
+ IssuedStartDate: data.issuedStartDate,
154
+ IssuedEndDate: data.issuedEndDate,
155
+ ExportStartDate: data.exportStartDate,
156
+ ExportEndDate: data.exportEndDate,
157
+ PaidStartDate: data.paidStartDate,
158
+ PaidEndDate: data.paidEndDate,
159
+ TravellerIds: data.travellerIds,
160
+ MerchantIds: data.merchantIds,
161
+ Statuses: data.statuses,
162
+ RefundTypes: data.refundTypes,
163
+ Sorting: data.sorting,
164
+ SkipCount: data.skipCount,
165
+ MaxResultCount: data.maxResultCount
166
+ },
167
+ errors: {
168
+ 400: 'Bad Request',
169
+ 401: 'Unauthorized',
170
+ 403: 'Forbidden',
171
+ 404: 'Not Found',
172
+ 500: 'Server Error',
173
+ 501: 'Server Error'
174
+ }
175
+ });
176
+ }
177
+
178
+ /**
179
+ * @param data The data for the request.
180
+ * @param data.id
181
+ * @param data.requestBody
182
+ * @returns unknown Success
183
+ * @throws ApiError
184
+ */
185
+ public putApiTagServiceTagById(data: PutApiTagServiceTagByIdData): CancelablePromise<PutApiTagServiceTagByIdResponse> {
186
+ return this.httpRequest.request({
187
+ method: 'PUT',
188
+ url: '/api/tag-service/tag/{id}',
189
+ path: {
190
+ id: data.id
191
+ },
192
+ body: data.requestBody,
193
+ mediaType: 'application/json',
194
+ errors: {
195
+ 400: 'Bad Request',
196
+ 401: 'Unauthorized',
197
+ 403: 'Forbidden',
198
+ 404: 'Not Found',
199
+ 500: 'Server Error',
200
+ 501: 'Server Error'
201
+ }
202
+ });
203
+ }
204
+
205
+ /**
206
+ * @param data The data for the request.
207
+ * @param data.id
208
+ * @returns unknown Success
209
+ * @throws ApiError
210
+ */
211
+ public deleteApiTagServiceTagById(data: DeleteApiTagServiceTagByIdData): CancelablePromise<DeleteApiTagServiceTagByIdResponse> {
212
+ return this.httpRequest.request({
213
+ method: 'DELETE',
214
+ url: '/api/tag-service/tag/{id}',
215
+ path: {
216
+ id: data.id
217
+ },
218
+ errors: {
219
+ 400: 'Bad Request',
220
+ 401: 'Unauthorized',
221
+ 403: 'Forbidden',
222
+ 404: 'Not Found',
223
+ 500: 'Server Error',
224
+ 501: 'Server Error'
225
+ }
226
+ });
227
+ }
228
+
229
+ /**
230
+ * @param data The data for the request.
231
+ * @param data.id
232
+ * @returns unknown Success
233
+ * @throws ApiError
234
+ */
235
+ public getApiTagServiceTagByIdDetail(data: GetApiTagServiceTagByIdDetailData): CancelablePromise<GetApiTagServiceTagByIdDetailResponse> {
236
+ return this.httpRequest.request({
237
+ method: 'GET',
238
+ url: '/api/tag-service/tag/{id}/detail',
239
+ path: {
240
+ id: data.id
241
+ },
242
+ errors: {
243
+ 400: 'Bad Request',
244
+ 401: 'Unauthorized',
245
+ 403: 'Forbidden',
246
+ 404: 'Not Found',
247
+ 500: 'Server Error',
248
+ 501: 'Server Error'
249
+ }
250
+ });
251
+ }
252
+
253
+ /**
254
+ * @param data The data for the request.
255
+ * @param data.travellerDocumentNumber
256
+ * @param data.isExportValidated
257
+ * @param data.refundType
258
+ * @param data.refundPointId
259
+ * @param data.tagIds
260
+ * @param data.skipCount
261
+ * @param data.maxResultCount
262
+ * @returns unknown Success
263
+ * @throws ApiError
264
+ */
265
+ public getApiTagServiceTagTagsRefund(data: GetApiTagServiceTagTagsRefundData): CancelablePromise<GetApiTagServiceTagTagsRefundResponse> {
266
+ return this.httpRequest.request({
267
+ method: 'GET',
268
+ url: '/api/tag-service/tag/tags-refund',
269
+ query: {
270
+ TravellerDocumentNumber: data.travellerDocumentNumber,
271
+ IsExportValidated: data.isExportValidated,
272
+ RefundType: data.refundType,
273
+ RefundPointId: data.refundPointId,
274
+ TagIds: data.tagIds,
275
+ SkipCount: data.skipCount,
276
+ MaxResultCount: data.maxResultCount
277
+ },
278
+ errors: {
279
+ 400: 'Bad Request',
280
+ 401: 'Unauthorized',
281
+ 403: 'Forbidden',
282
+ 404: 'Not Found',
283
+ 500: 'Server Error',
284
+ 501: 'Server Error'
285
+ }
286
+ });
287
+ }
288
+
289
+ /**
290
+ * @param data The data for the request.
291
+ * @param data.tagNumber
292
+ * @param data.invoiceNumber
293
+ * @param data.travellerFullName
294
+ * @param data.travellerDocumentNumber
295
+ * @param data.issuedStartDate
296
+ * @param data.issuedEndDate
297
+ * @param data.exportStartDate
298
+ * @param data.exportEndDate
299
+ * @param data.paidStartDate
300
+ * @param data.paidEndDate
301
+ * @param data.travellerIds
302
+ * @param data.merchantIds
303
+ * @param data.statuses
304
+ * @param data.refundTypes
305
+ * @param data.sorting
306
+ * @param data.skipCount
307
+ * @param data.maxResultCount
308
+ * @returns unknown Success
309
+ * @throws ApiError
310
+ */
311
+ public getApiTagServiceTagSummary(data: GetApiTagServiceTagSummaryData = {}): CancelablePromise<GetApiTagServiceTagSummaryResponse> {
312
+ return this.httpRequest.request({
313
+ method: 'GET',
314
+ url: '/api/tag-service/tag/summary',
315
+ query: {
316
+ TagNumber: data.tagNumber,
317
+ InvoiceNumber: data.invoiceNumber,
318
+ TravellerFullName: data.travellerFullName,
319
+ TravellerDocumentNumber: data.travellerDocumentNumber,
320
+ IssuedStartDate: data.issuedStartDate,
321
+ IssuedEndDate: data.issuedEndDate,
322
+ ExportStartDate: data.exportStartDate,
323
+ ExportEndDate: data.exportEndDate,
324
+ PaidStartDate: data.paidStartDate,
325
+ PaidEndDate: data.paidEndDate,
326
+ TravellerIds: data.travellerIds,
327
+ MerchantIds: data.merchantIds,
328
+ Statuses: data.statuses,
329
+ RefundTypes: data.refundTypes,
330
+ Sorting: data.sorting,
331
+ SkipCount: data.skipCount,
332
+ MaxResultCount: data.maxResultCount
333
+ },
334
+ errors: {
335
+ 400: 'Bad Request',
336
+ 401: 'Unauthorized',
337
+ 403: 'Forbidden',
338
+ 404: 'Not Found',
339
+ 500: 'Server Error',
340
+ 501: 'Server Error'
341
+ }
342
+ });
343
+ }
344
+
345
+ /**
346
+ * @param data The data for the request.
347
+ * @param data.tagIds
348
+ * @param data.refundPointId
349
+ * @param data.refundDate
350
+ * @param data.refundType
351
+ * @returns unknown Success
352
+ * @throws ApiError
353
+ */
354
+ public getApiTagServiceTagTagsRefundFees(data: GetApiTagServiceTagTagsRefundFeesData): CancelablePromise<GetApiTagServiceTagTagsRefundFeesResponse> {
355
+ return this.httpRequest.request({
356
+ method: 'GET',
357
+ url: '/api/tag-service/tag/tags-refund-fees',
358
+ query: {
359
+ TagIds: data.tagIds,
360
+ RefundPointId: data.refundPointId,
361
+ RefundDate: data.refundDate,
362
+ RefundType: data.refundType
363
+ },
364
+ errors: {
365
+ 400: 'Bad Request',
366
+ 401: 'Unauthorized',
367
+ 403: 'Forbidden',
368
+ 404: 'Not Found',
369
+ 500: 'Server Error',
370
+ 501: 'Server Error'
371
+ }
372
+ });
373
+ }
374
+
375
+ /**
376
+ * @param data The data for the request.
377
+ * @param data.id
378
+ * @param data.requestBody
379
+ * @returns unknown Success
380
+ * @throws ApiError
381
+ */
382
+ public putApiTagServiceTagExportValidationById(data: PutApiTagServiceTagExportValidationByIdData): CancelablePromise<PutApiTagServiceTagExportValidationByIdResponse> {
383
+ return this.httpRequest.request({
384
+ method: 'PUT',
385
+ url: '/api/tag-service/tag/export-validation/{id}',
386
+ path: {
387
+ id: data.id
388
+ },
389
+ body: data.requestBody,
390
+ mediaType: 'application/json',
391
+ errors: {
392
+ 400: 'Bad Request',
393
+ 401: 'Unauthorized',
394
+ 403: 'Forbidden',
395
+ 404: 'Not Found',
396
+ 500: 'Server Error',
397
+ 501: 'Server Error'
398
+ }
399
+ });
400
+ }
401
+
402
+ }
403
+
404
+ export class TagIntegrationService {
405
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
406
+
407
+ /**
408
+ * @param data The data for the request.
409
+ * @param data.ids
410
+ * @param data.refundPointId
411
+ * @param data.refundDate
412
+ * @param data.refundType
413
+ * @returns unknown Success
414
+ * @throws ApiError
415
+ */
416
+ public getIntegrationApiTagsSum(data: GetIntegrationApiTagsSumData): CancelablePromise<GetIntegrationApiTagsSumResponse> {
417
+ return this.httpRequest.request({
418
+ method: 'GET',
419
+ url: '/integration-api/tags/sum',
420
+ query: {
421
+ Ids: data.ids,
422
+ RefundPointId: data.refundPointId,
423
+ RefundDate: data.refundDate,
424
+ RefundType: data.refundType
425
+ },
426
+ errors: {
427
+ 400: 'Bad Request',
428
+ 401: 'Unauthorized',
429
+ 403: 'Forbidden',
430
+ 404: 'Not Found',
431
+ 500: 'Server Error',
432
+ 501: 'Server Error'
433
+ }
434
+ });
435
+ }
436
+
437
+ /**
438
+ * @param data The data for the request.
439
+ * @param data.tagIds
440
+ * @returns unknown Success
441
+ * @throws ApiError
442
+ */
443
+ public getIntegrationApiTagsSumForVatStatement(data: GetIntegrationApiTagsSumForVatStatementData = {}): CancelablePromise<GetIntegrationApiTagsSumForVatStatementResponse> {
444
+ return this.httpRequest.request({
445
+ method: 'GET',
446
+ url: '/integration-api/tags/sum-for-vat-statement',
447
+ query: {
448
+ tagIds: data.tagIds
449
+ },
450
+ errors: {
451
+ 400: 'Bad Request',
452
+ 401: 'Unauthorized',
453
+ 403: 'Forbidden',
454
+ 404: 'Not Found',
455
+ 500: 'Server Error',
456
+ 501: 'Server Error'
457
+ }
458
+ });
459
+ }
460
+
461
+ /**
462
+ * @param data The data for the request.
463
+ * @param data.requestBody
464
+ * @returns unknown Success
465
+ * @throws ApiError
466
+ */
467
+ public putIntegrationApiTagsRefund(data: PutIntegrationApiTagsRefundData = {}): CancelablePromise<PutIntegrationApiTagsRefundResponse> {
468
+ return this.httpRequest.request({
469
+ method: 'PUT',
470
+ url: '/integration-api/tags/refund',
471
+ body: data.requestBody,
472
+ mediaType: 'application/json',
473
+ errors: {
474
+ 400: 'Bad Request',
475
+ 401: 'Unauthorized',
476
+ 403: 'Forbidden',
477
+ 404: 'Not Found',
478
+ 500: 'Server Error',
479
+ 501: 'Server Error'
480
+ }
481
+ });
482
+ }
483
+
484
+ /**
485
+ * @param data The data for the request.
486
+ * @param data.vAtStatementHeaderIds
487
+ * @returns unknown Success
488
+ * @throws ApiError
489
+ */
490
+ public getIntegrationApiTagsRebateAmountsByVatStatement(data: GetIntegrationApiTagsRebateAmountsByVatStatementData = {}): CancelablePromise<GetIntegrationApiTagsRebateAmountsByVatStatementResponse> {
491
+ return this.httpRequest.request({
492
+ method: 'GET',
493
+ url: '/integration-api/tags/rebate-amounts-by-vat-statement',
494
+ query: {
495
+ vATStatementHeaderIds: data.vAtStatementHeaderIds
496
+ },
497
+ errors: {
498
+ 400: 'Bad Request',
499
+ 401: 'Unauthorized',
500
+ 403: 'Forbidden',
501
+ 404: 'Not Found',
502
+ 500: 'Server Error',
503
+ 501: 'Server Error'
504
+ }
505
+ });
506
+ }
507
+
508
+ /**
509
+ * @param data The data for the request.
510
+ * @param data.tagIds
511
+ * @returns unknown Success
512
+ * @throws ApiError
513
+ */
514
+ public getIntegrationApiTagsDetailsListForRefund(data: GetIntegrationApiTagsDetailsListForRefundData = {}): CancelablePromise<GetIntegrationApiTagsDetailsListForRefundResponse> {
515
+ return this.httpRequest.request({
516
+ method: 'GET',
517
+ url: '/integration-api/tags/details-list-for-refund',
518
+ query: {
519
+ tagIds: data.tagIds
520
+ },
521
+ errors: {
522
+ 400: 'Bad Request',
523
+ 401: 'Unauthorized',
524
+ 403: 'Forbidden',
525
+ 404: 'Not Found',
526
+ 500: 'Server Error',
527
+ 501: 'Server Error'
528
+ }
529
+ });
530
+ }
531
+
532
+ /**
533
+ * @param data The data for the request.
534
+ * @param data.merchantIds
535
+ * @param data.year
536
+ * @param data.month
537
+ * @returns unknown Success
538
+ * @throws ApiError
539
+ */
540
+ public getIntegrationApiTagsValidListForVatStatement(data: GetIntegrationApiTagsValidListForVatStatementData = {}): CancelablePromise<GetIntegrationApiTagsValidListForVatStatementResponse> {
541
+ return this.httpRequest.request({
542
+ method: 'GET',
543
+ url: '/integration-api/tags/valid-list-for-vat-statement',
544
+ query: {
545
+ merchantIds: data.merchantIds,
546
+ year: data.year,
547
+ month: data.month
548
+ },
549
+ errors: {
550
+ 400: 'Bad Request',
551
+ 401: 'Unauthorized',
552
+ 403: 'Forbidden',
553
+ 404: 'Not Found',
554
+ 500: 'Server Error',
555
+ 501: 'Server Error'
556
+ }
557
+ });
558
+ }
559
+
560
+ /**
561
+ * @param data The data for the request.
562
+ * @param data.requestBody
563
+ * @returns unknown Success
564
+ * @throws ApiError
565
+ */
566
+ public putIntegrationApiTagsSetVatStatementHeaderIdsOfTags(data: PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsData = {}): CancelablePromise<PutIntegrationApiTagsSetVatStatementHeaderIdsOfTagsResponse> {
567
+ return this.httpRequest.request({
568
+ method: 'PUT',
569
+ url: '/integration-api/tags/set-vat-statement-header-ids-of-tags',
570
+ body: data.requestBody,
571
+ mediaType: 'application/json',
572
+ errors: {
573
+ 400: 'Bad Request',
574
+ 401: 'Unauthorized',
575
+ 403: 'Forbidden',
576
+ 404: 'Not Found',
577
+ 500: 'Server Error',
578
+ 501: 'Server Error'
579
+ }
580
+ });
581
+ }
582
+
557
583
  }