@ayasofyazilim/saas 0.0.112 → 0.0.113
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/TagService/schemas.gen.ts +282 -8
- package/TagService/types.gen.ts +112 -6
- package/package.json +1 -1
|
@@ -293,6 +293,60 @@ export const $UniRefund_ExportValidationService_ExportValidations_ValidationResu
|
|
|
293
293
|
type: 'string'
|
|
294
294
|
} as const;
|
|
295
295
|
|
|
296
|
+
export const $UniRefund_SettingService_ProductGroups_CompanyTypeCode = {
|
|
297
|
+
enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
|
|
298
|
+
type: 'string'
|
|
299
|
+
} as const;
|
|
300
|
+
|
|
301
|
+
export const $UniRefund_SettingService_ProductGroups_ProductGroupDto = {
|
|
302
|
+
required: ['active', 'articleCode', 'companyType', 'food', 'name', 'unitCode'],
|
|
303
|
+
type: 'object',
|
|
304
|
+
properties: {
|
|
305
|
+
id: {
|
|
306
|
+
type: 'string',
|
|
307
|
+
format: 'uuid'
|
|
308
|
+
},
|
|
309
|
+
articleCode: {
|
|
310
|
+
minLength: 1,
|
|
311
|
+
type: 'string'
|
|
312
|
+
},
|
|
313
|
+
name: {
|
|
314
|
+
minLength: 1,
|
|
315
|
+
type: 'string'
|
|
316
|
+
},
|
|
317
|
+
unitCode: {
|
|
318
|
+
enum: ['QNT', 'BAG', 'BOX'],
|
|
319
|
+
type: 'string'
|
|
320
|
+
},
|
|
321
|
+
companyType: {
|
|
322
|
+
enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
|
|
323
|
+
type: 'string'
|
|
324
|
+
},
|
|
325
|
+
vatId: {
|
|
326
|
+
type: 'string',
|
|
327
|
+
format: 'uuid',
|
|
328
|
+
nullable: true
|
|
329
|
+
},
|
|
330
|
+
vatPercent: {
|
|
331
|
+
type: 'integer',
|
|
332
|
+
format: 'int32',
|
|
333
|
+
nullable: true
|
|
334
|
+
},
|
|
335
|
+
active: {
|
|
336
|
+
type: 'boolean'
|
|
337
|
+
},
|
|
338
|
+
food: {
|
|
339
|
+
type: 'boolean'
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
additionalProperties: false
|
|
343
|
+
} as const;
|
|
344
|
+
|
|
345
|
+
export const $UniRefund_SettingService_ProductGroups_UnitTypeCode = {
|
|
346
|
+
enum: ['QNT', 'BAG', 'BOX'],
|
|
347
|
+
type: 'string'
|
|
348
|
+
} as const;
|
|
349
|
+
|
|
296
350
|
export const $UniRefund_TagService_Invoices_InvoiceDto = {
|
|
297
351
|
required: ['issueDate', 'totalAmount', 'vatAmount'],
|
|
298
352
|
type: 'object',
|
|
@@ -332,8 +386,47 @@ export const $UniRefund_TagService_Invoices_InvoiceDto = {
|
|
|
332
386
|
format: 'uuid'
|
|
333
387
|
},
|
|
334
388
|
productGroup: {
|
|
335
|
-
|
|
336
|
-
|
|
389
|
+
required: ['active', 'articleCode', 'companyType', 'food', 'name', 'unitCode'],
|
|
390
|
+
type: 'object',
|
|
391
|
+
properties: {
|
|
392
|
+
id: {
|
|
393
|
+
type: 'string',
|
|
394
|
+
format: 'uuid'
|
|
395
|
+
},
|
|
396
|
+
articleCode: {
|
|
397
|
+
minLength: 1,
|
|
398
|
+
type: 'string'
|
|
399
|
+
},
|
|
400
|
+
name: {
|
|
401
|
+
minLength: 1,
|
|
402
|
+
type: 'string'
|
|
403
|
+
},
|
|
404
|
+
unitCode: {
|
|
405
|
+
enum: ['QNT', 'BAG', 'BOX'],
|
|
406
|
+
type: 'string'
|
|
407
|
+
},
|
|
408
|
+
companyType: {
|
|
409
|
+
enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
|
|
410
|
+
type: 'string'
|
|
411
|
+
},
|
|
412
|
+
vatId: {
|
|
413
|
+
type: 'string',
|
|
414
|
+
format: 'uuid',
|
|
415
|
+
nullable: true
|
|
416
|
+
},
|
|
417
|
+
vatPercent: {
|
|
418
|
+
type: 'integer',
|
|
419
|
+
format: 'int32',
|
|
420
|
+
nullable: true
|
|
421
|
+
},
|
|
422
|
+
active: {
|
|
423
|
+
type: 'boolean'
|
|
424
|
+
},
|
|
425
|
+
food: {
|
|
426
|
+
type: 'boolean'
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
additionalProperties: false
|
|
337
430
|
},
|
|
338
431
|
description: {
|
|
339
432
|
type: 'string',
|
|
@@ -377,8 +470,47 @@ export const $UniRefund_TagService_Invoices_InvoiceLineDto = {
|
|
|
377
470
|
format: 'uuid'
|
|
378
471
|
},
|
|
379
472
|
productGroup: {
|
|
380
|
-
|
|
381
|
-
|
|
473
|
+
required: ['active', 'articleCode', 'companyType', 'food', 'name', 'unitCode'],
|
|
474
|
+
type: 'object',
|
|
475
|
+
properties: {
|
|
476
|
+
id: {
|
|
477
|
+
type: 'string',
|
|
478
|
+
format: 'uuid'
|
|
479
|
+
},
|
|
480
|
+
articleCode: {
|
|
481
|
+
minLength: 1,
|
|
482
|
+
type: 'string'
|
|
483
|
+
},
|
|
484
|
+
name: {
|
|
485
|
+
minLength: 1,
|
|
486
|
+
type: 'string'
|
|
487
|
+
},
|
|
488
|
+
unitCode: {
|
|
489
|
+
enum: ['QNT', 'BAG', 'BOX'],
|
|
490
|
+
type: 'string'
|
|
491
|
+
},
|
|
492
|
+
companyType: {
|
|
493
|
+
enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
|
|
494
|
+
type: 'string'
|
|
495
|
+
},
|
|
496
|
+
vatId: {
|
|
497
|
+
type: 'string',
|
|
498
|
+
format: 'uuid',
|
|
499
|
+
nullable: true
|
|
500
|
+
},
|
|
501
|
+
vatPercent: {
|
|
502
|
+
type: 'integer',
|
|
503
|
+
format: 'int32',
|
|
504
|
+
nullable: true
|
|
505
|
+
},
|
|
506
|
+
active: {
|
|
507
|
+
type: 'boolean'
|
|
508
|
+
},
|
|
509
|
+
food: {
|
|
510
|
+
type: 'boolean'
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
additionalProperties: false
|
|
382
514
|
},
|
|
383
515
|
description: {
|
|
384
516
|
type: 'string',
|
|
@@ -732,6 +864,11 @@ export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
|
|
|
732
864
|
additionalProperties: false
|
|
733
865
|
} as const;
|
|
734
866
|
|
|
867
|
+
export const $UniRefund_TagService_Tags_EarningType = {
|
|
868
|
+
enum: ['None', 'GrossComission', 'RedefinedGC', 'Rebate', 'NetComission'],
|
|
869
|
+
type: 'string'
|
|
870
|
+
} as const;
|
|
871
|
+
|
|
735
872
|
export const $UniRefund_TagService_Tags_Enums_RefundType = {
|
|
736
873
|
enum: ['Cash', 'CreditCard', 'BankTransfer', 'Wallet', 'CashViaPartner'],
|
|
737
874
|
type: 'string'
|
|
@@ -1209,8 +1346,47 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
1209
1346
|
format: 'uuid'
|
|
1210
1347
|
},
|
|
1211
1348
|
productGroup: {
|
|
1212
|
-
|
|
1213
|
-
|
|
1349
|
+
required: ['active', 'articleCode', 'companyType', 'food', 'name', 'unitCode'],
|
|
1350
|
+
type: 'object',
|
|
1351
|
+
properties: {
|
|
1352
|
+
id: {
|
|
1353
|
+
type: 'string',
|
|
1354
|
+
format: 'uuid'
|
|
1355
|
+
},
|
|
1356
|
+
articleCode: {
|
|
1357
|
+
minLength: 1,
|
|
1358
|
+
type: 'string'
|
|
1359
|
+
},
|
|
1360
|
+
name: {
|
|
1361
|
+
minLength: 1,
|
|
1362
|
+
type: 'string'
|
|
1363
|
+
},
|
|
1364
|
+
unitCode: {
|
|
1365
|
+
enum: ['QNT', 'BAG', 'BOX'],
|
|
1366
|
+
type: 'string'
|
|
1367
|
+
},
|
|
1368
|
+
companyType: {
|
|
1369
|
+
enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
|
|
1370
|
+
type: 'string'
|
|
1371
|
+
},
|
|
1372
|
+
vatId: {
|
|
1373
|
+
type: 'string',
|
|
1374
|
+
format: 'uuid',
|
|
1375
|
+
nullable: true
|
|
1376
|
+
},
|
|
1377
|
+
vatPercent: {
|
|
1378
|
+
type: 'integer',
|
|
1379
|
+
format: 'int32',
|
|
1380
|
+
nullable: true
|
|
1381
|
+
},
|
|
1382
|
+
active: {
|
|
1383
|
+
type: 'boolean'
|
|
1384
|
+
},
|
|
1385
|
+
food: {
|
|
1386
|
+
type: 'boolean'
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
additionalProperties: false
|
|
1214
1390
|
},
|
|
1215
1391
|
description: {
|
|
1216
1392
|
type: 'string',
|
|
@@ -1276,6 +1452,37 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
1276
1452
|
additionalProperties: false
|
|
1277
1453
|
},
|
|
1278
1454
|
nullable: true
|
|
1455
|
+
},
|
|
1456
|
+
earnings: {
|
|
1457
|
+
type: 'array',
|
|
1458
|
+
items: {
|
|
1459
|
+
required: ['amount', 'currency', 'earningType', 'rate'],
|
|
1460
|
+
type: 'object',
|
|
1461
|
+
properties: {
|
|
1462
|
+
earningType: {
|
|
1463
|
+
enum: ['None', 'GrossComission', 'RedefinedGC', 'Rebate', 'NetComission'],
|
|
1464
|
+
type: 'string'
|
|
1465
|
+
},
|
|
1466
|
+
amount: {
|
|
1467
|
+
type: 'number',
|
|
1468
|
+
format: 'double'
|
|
1469
|
+
},
|
|
1470
|
+
description: {
|
|
1471
|
+
type: 'string',
|
|
1472
|
+
nullable: true
|
|
1473
|
+
},
|
|
1474
|
+
currency: {
|
|
1475
|
+
minLength: 1,
|
|
1476
|
+
type: 'string'
|
|
1477
|
+
},
|
|
1478
|
+
rate: {
|
|
1479
|
+
type: 'number',
|
|
1480
|
+
format: 'double'
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
additionalProperties: false
|
|
1484
|
+
},
|
|
1485
|
+
nullable: true
|
|
1279
1486
|
}
|
|
1280
1487
|
},
|
|
1281
1488
|
additionalProperties: false
|
|
@@ -1445,8 +1652,47 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
|
1445
1652
|
format: 'uuid'
|
|
1446
1653
|
},
|
|
1447
1654
|
productGroup: {
|
|
1448
|
-
|
|
1449
|
-
|
|
1655
|
+
required: ['active', 'articleCode', 'companyType', 'food', 'name', 'unitCode'],
|
|
1656
|
+
type: 'object',
|
|
1657
|
+
properties: {
|
|
1658
|
+
id: {
|
|
1659
|
+
type: 'string',
|
|
1660
|
+
format: 'uuid'
|
|
1661
|
+
},
|
|
1662
|
+
articleCode: {
|
|
1663
|
+
minLength: 1,
|
|
1664
|
+
type: 'string'
|
|
1665
|
+
},
|
|
1666
|
+
name: {
|
|
1667
|
+
minLength: 1,
|
|
1668
|
+
type: 'string'
|
|
1669
|
+
},
|
|
1670
|
+
unitCode: {
|
|
1671
|
+
enum: ['QNT', 'BAG', 'BOX'],
|
|
1672
|
+
type: 'string'
|
|
1673
|
+
},
|
|
1674
|
+
companyType: {
|
|
1675
|
+
enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
|
|
1676
|
+
type: 'string'
|
|
1677
|
+
},
|
|
1678
|
+
vatId: {
|
|
1679
|
+
type: 'string',
|
|
1680
|
+
format: 'uuid',
|
|
1681
|
+
nullable: true
|
|
1682
|
+
},
|
|
1683
|
+
vatPercent: {
|
|
1684
|
+
type: 'integer',
|
|
1685
|
+
format: 'int32',
|
|
1686
|
+
nullable: true
|
|
1687
|
+
},
|
|
1688
|
+
active: {
|
|
1689
|
+
type: 'boolean'
|
|
1690
|
+
},
|
|
1691
|
+
food: {
|
|
1692
|
+
type: 'boolean'
|
|
1693
|
+
}
|
|
1694
|
+
},
|
|
1695
|
+
additionalProperties: false
|
|
1450
1696
|
},
|
|
1451
1697
|
description: {
|
|
1452
1698
|
type: 'string',
|
|
@@ -1630,6 +1876,34 @@ export const $UniRefund_TagService_Tags_TagDto = {
|
|
|
1630
1876
|
additionalProperties: false
|
|
1631
1877
|
} as const;
|
|
1632
1878
|
|
|
1879
|
+
export const $UniRefund_TagService_Tags_TagEarningDto = {
|
|
1880
|
+
required: ['amount', 'currency', 'earningType', 'rate'],
|
|
1881
|
+
type: 'object',
|
|
1882
|
+
properties: {
|
|
1883
|
+
earningType: {
|
|
1884
|
+
enum: ['None', 'GrossComission', 'RedefinedGC', 'Rebate', 'NetComission'],
|
|
1885
|
+
type: 'string'
|
|
1886
|
+
},
|
|
1887
|
+
amount: {
|
|
1888
|
+
type: 'number',
|
|
1889
|
+
format: 'double'
|
|
1890
|
+
},
|
|
1891
|
+
description: {
|
|
1892
|
+
type: 'string',
|
|
1893
|
+
nullable: true
|
|
1894
|
+
},
|
|
1895
|
+
currency: {
|
|
1896
|
+
minLength: 1,
|
|
1897
|
+
type: 'string'
|
|
1898
|
+
},
|
|
1899
|
+
rate: {
|
|
1900
|
+
type: 'number',
|
|
1901
|
+
format: 'double'
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
additionalProperties: false
|
|
1905
|
+
} as const;
|
|
1906
|
+
|
|
1633
1907
|
export const $UniRefund_TagService_Tags_TagIdAndVATStatementHeaderIdPairDto = {
|
|
1634
1908
|
required: ['tagId', 'vatStatementHeaderId'],
|
|
1635
1909
|
type: 'object',
|
package/TagService/types.gen.ts
CHANGED
|
@@ -84,6 +84,26 @@ export type UniRefund_ExportValidationService_ExportValidations_StampTypeCode =
|
|
|
84
84
|
|
|
85
85
|
export type UniRefund_ExportValidationService_ExportValidations_ValidationResult = 'None' | 'Green';
|
|
86
86
|
|
|
87
|
+
export type UniRefund_SettingService_ProductGroups_CompanyTypeCode = 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
88
|
+
|
|
89
|
+
export type UniRefund_SettingService_ProductGroups_ProductGroupDto = {
|
|
90
|
+
id?: string;
|
|
91
|
+
articleCode: string;
|
|
92
|
+
name: string;
|
|
93
|
+
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
94
|
+
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
95
|
+
vatId?: (string) | null;
|
|
96
|
+
vatPercent?: (number) | null;
|
|
97
|
+
active: boolean;
|
|
98
|
+
food: boolean;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export type unitCode = 'QNT' | 'BAG' | 'BOX';
|
|
102
|
+
|
|
103
|
+
export type companyType = 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
104
|
+
|
|
105
|
+
export type UniRefund_SettingService_ProductGroups_UnitTypeCode = 'QNT' | 'BAG' | 'BOX';
|
|
106
|
+
|
|
87
107
|
export type UniRefund_TagService_Invoices_InvoiceDto = {
|
|
88
108
|
id?: string;
|
|
89
109
|
number?: (string) | null;
|
|
@@ -93,7 +113,17 @@ export type UniRefund_TagService_Invoices_InvoiceDto = {
|
|
|
93
113
|
currency?: (string) | null;
|
|
94
114
|
invoiceLines?: Array<{
|
|
95
115
|
id?: string;
|
|
96
|
-
productGroup?:
|
|
116
|
+
productGroup?: {
|
|
117
|
+
id?: string;
|
|
118
|
+
articleCode: string;
|
|
119
|
+
name: string;
|
|
120
|
+
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
121
|
+
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
122
|
+
vatId?: (string) | null;
|
|
123
|
+
vatPercent?: (number) | null;
|
|
124
|
+
active: boolean;
|
|
125
|
+
food: boolean;
|
|
126
|
+
};
|
|
97
127
|
description?: (string) | null;
|
|
98
128
|
amount: number;
|
|
99
129
|
taxRate: number;
|
|
@@ -105,7 +135,17 @@ export type UniRefund_TagService_Invoices_InvoiceDto = {
|
|
|
105
135
|
|
|
106
136
|
export type UniRefund_TagService_Invoices_InvoiceLineDto = {
|
|
107
137
|
id?: string;
|
|
108
|
-
productGroup?:
|
|
138
|
+
productGroup?: {
|
|
139
|
+
id?: string;
|
|
140
|
+
articleCode: string;
|
|
141
|
+
name: string;
|
|
142
|
+
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
143
|
+
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
144
|
+
vatId?: (string) | null;
|
|
145
|
+
vatPercent?: (number) | null;
|
|
146
|
+
active: boolean;
|
|
147
|
+
food: boolean;
|
|
148
|
+
};
|
|
109
149
|
description?: (string) | null;
|
|
110
150
|
amount: number;
|
|
111
151
|
taxRate: number;
|
|
@@ -201,6 +241,8 @@ export type UniRefund_TagService_Tags_CreateTagRequestDto = {
|
|
|
201
241
|
};
|
|
202
242
|
};
|
|
203
243
|
|
|
244
|
+
export type UniRefund_TagService_Tags_EarningType = 'None' | 'GrossComission' | 'RedefinedGC' | 'Rebate' | 'NetComission';
|
|
245
|
+
|
|
204
246
|
export type UniRefund_TagService_Tags_Enums_RefundType = 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
|
|
205
247
|
|
|
206
248
|
export type UniRefund_TagService_Tags_ExportValidationRequestDto = {
|
|
@@ -332,7 +374,17 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
332
374
|
currency?: (string) | null;
|
|
333
375
|
invoiceLines?: Array<{
|
|
334
376
|
id?: string;
|
|
335
|
-
productGroup?:
|
|
377
|
+
productGroup?: {
|
|
378
|
+
id?: string;
|
|
379
|
+
articleCode: string;
|
|
380
|
+
name: string;
|
|
381
|
+
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
382
|
+
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
383
|
+
vatId?: (string) | null;
|
|
384
|
+
vatPercent?: (number) | null;
|
|
385
|
+
active: boolean;
|
|
386
|
+
food: boolean;
|
|
387
|
+
};
|
|
336
388
|
description?: (string) | null;
|
|
337
389
|
amount: number;
|
|
338
390
|
taxRate: number;
|
|
@@ -348,6 +400,13 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
348
400
|
currency: string;
|
|
349
401
|
rate: number;
|
|
350
402
|
}> | null;
|
|
403
|
+
earnings?: Array<{
|
|
404
|
+
earningType: 'None' | 'GrossComission' | 'RedefinedGC' | 'Rebate' | 'NetComission';
|
|
405
|
+
amount: number;
|
|
406
|
+
description?: (string) | null;
|
|
407
|
+
currency: string;
|
|
408
|
+
rate: number;
|
|
409
|
+
}> | null;
|
|
351
410
|
};
|
|
352
411
|
|
|
353
412
|
export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
@@ -390,7 +449,17 @@ export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
|
390
449
|
currency?: (string) | null;
|
|
391
450
|
invoiceLines?: Array<{
|
|
392
451
|
id?: string;
|
|
393
|
-
productGroup?:
|
|
452
|
+
productGroup?: {
|
|
453
|
+
id?: string;
|
|
454
|
+
articleCode: string;
|
|
455
|
+
name: string;
|
|
456
|
+
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
457
|
+
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
458
|
+
vatId?: (string) | null;
|
|
459
|
+
vatPercent?: (number) | null;
|
|
460
|
+
active: boolean;
|
|
461
|
+
food: boolean;
|
|
462
|
+
};
|
|
394
463
|
description?: (string) | null;
|
|
395
464
|
amount: number;
|
|
396
465
|
taxRate: number;
|
|
@@ -434,6 +503,16 @@ export type UniRefund_TagService_Tags_TagDto = {
|
|
|
434
503
|
}> | null;
|
|
435
504
|
};
|
|
436
505
|
|
|
506
|
+
export type UniRefund_TagService_Tags_TagEarningDto = {
|
|
507
|
+
earningType: 'None' | 'GrossComission' | 'RedefinedGC' | 'Rebate' | 'NetComission';
|
|
508
|
+
amount: number;
|
|
509
|
+
description?: (string) | null;
|
|
510
|
+
currency: string;
|
|
511
|
+
rate: number;
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
export type earningType = 'None' | 'GrossComission' | 'RedefinedGC' | 'Rebate' | 'NetComission';
|
|
515
|
+
|
|
437
516
|
export type UniRefund_TagService_Tags_TagIdAndVATStatementHeaderIdPairDto = {
|
|
438
517
|
tagId: string;
|
|
439
518
|
vatStatementHeaderId: string;
|
|
@@ -2245,7 +2324,17 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
|
|
|
2245
2324
|
currency?: (string) | null;
|
|
2246
2325
|
invoiceLines?: Array<{
|
|
2247
2326
|
id?: string;
|
|
2248
|
-
productGroup?:
|
|
2327
|
+
productGroup?: {
|
|
2328
|
+
id?: string;
|
|
2329
|
+
articleCode: string;
|
|
2330
|
+
name: string;
|
|
2331
|
+
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
2332
|
+
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
2333
|
+
vatId?: (string) | null;
|
|
2334
|
+
vatPercent?: (number) | null;
|
|
2335
|
+
active: boolean;
|
|
2336
|
+
food: boolean;
|
|
2337
|
+
};
|
|
2249
2338
|
description?: (string) | null;
|
|
2250
2339
|
amount: number;
|
|
2251
2340
|
taxRate: number;
|
|
@@ -2261,6 +2350,13 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
|
|
|
2261
2350
|
currency: string;
|
|
2262
2351
|
rate: number;
|
|
2263
2352
|
}> | null;
|
|
2353
|
+
earnings?: Array<{
|
|
2354
|
+
earningType: 'None' | 'GrossComission' | 'RedefinedGC' | 'Rebate' | 'NetComission';
|
|
2355
|
+
amount: number;
|
|
2356
|
+
description?: (string) | null;
|
|
2357
|
+
currency: string;
|
|
2358
|
+
rate: number;
|
|
2359
|
+
}> | null;
|
|
2264
2360
|
});
|
|
2265
2361
|
|
|
2266
2362
|
export type GetApiTagServiceTagTagsRefundData = {
|
|
@@ -2475,7 +2571,17 @@ export type GetIntegrationApiTagsDetailsListForRefundResponse = (Array<{
|
|
|
2475
2571
|
currency?: (string) | null;
|
|
2476
2572
|
invoiceLines?: Array<{
|
|
2477
2573
|
id?: string;
|
|
2478
|
-
productGroup?:
|
|
2574
|
+
productGroup?: {
|
|
2575
|
+
id?: string;
|
|
2576
|
+
articleCode: string;
|
|
2577
|
+
name: string;
|
|
2578
|
+
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
2579
|
+
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
2580
|
+
vatId?: (string) | null;
|
|
2581
|
+
vatPercent?: (number) | null;
|
|
2582
|
+
active: boolean;
|
|
2583
|
+
food: boolean;
|
|
2584
|
+
};
|
|
2479
2585
|
description?: (string) | null;
|
|
2480
2586
|
amount: number;
|
|
2481
2587
|
taxRate: number;
|