@ayasofyazilim/saas 0.0.112 → 0.0.114
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 +287 -8
- package/TagService/types.gen.ts +114 -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'
|
|
@@ -1168,6 +1305,11 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
1168
1305
|
},
|
|
1169
1306
|
additionalProperties: false
|
|
1170
1307
|
},
|
|
1308
|
+
vatStatementHeaderId: {
|
|
1309
|
+
type: 'string',
|
|
1310
|
+
format: 'uuid',
|
|
1311
|
+
nullable: true
|
|
1312
|
+
},
|
|
1171
1313
|
invoices: {
|
|
1172
1314
|
type: 'array',
|
|
1173
1315
|
items: {
|
|
@@ -1209,8 +1351,47 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
1209
1351
|
format: 'uuid'
|
|
1210
1352
|
},
|
|
1211
1353
|
productGroup: {
|
|
1212
|
-
|
|
1213
|
-
|
|
1354
|
+
required: ['active', 'articleCode', 'companyType', 'food', 'name', 'unitCode'],
|
|
1355
|
+
type: 'object',
|
|
1356
|
+
properties: {
|
|
1357
|
+
id: {
|
|
1358
|
+
type: 'string',
|
|
1359
|
+
format: 'uuid'
|
|
1360
|
+
},
|
|
1361
|
+
articleCode: {
|
|
1362
|
+
minLength: 1,
|
|
1363
|
+
type: 'string'
|
|
1364
|
+
},
|
|
1365
|
+
name: {
|
|
1366
|
+
minLength: 1,
|
|
1367
|
+
type: 'string'
|
|
1368
|
+
},
|
|
1369
|
+
unitCode: {
|
|
1370
|
+
enum: ['QNT', 'BAG', 'BOX'],
|
|
1371
|
+
type: 'string'
|
|
1372
|
+
},
|
|
1373
|
+
companyType: {
|
|
1374
|
+
enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
|
|
1375
|
+
type: 'string'
|
|
1376
|
+
},
|
|
1377
|
+
vatId: {
|
|
1378
|
+
type: 'string',
|
|
1379
|
+
format: 'uuid',
|
|
1380
|
+
nullable: true
|
|
1381
|
+
},
|
|
1382
|
+
vatPercent: {
|
|
1383
|
+
type: 'integer',
|
|
1384
|
+
format: 'int32',
|
|
1385
|
+
nullable: true
|
|
1386
|
+
},
|
|
1387
|
+
active: {
|
|
1388
|
+
type: 'boolean'
|
|
1389
|
+
},
|
|
1390
|
+
food: {
|
|
1391
|
+
type: 'boolean'
|
|
1392
|
+
}
|
|
1393
|
+
},
|
|
1394
|
+
additionalProperties: false
|
|
1214
1395
|
},
|
|
1215
1396
|
description: {
|
|
1216
1397
|
type: 'string',
|
|
@@ -1276,6 +1457,37 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
1276
1457
|
additionalProperties: false
|
|
1277
1458
|
},
|
|
1278
1459
|
nullable: true
|
|
1460
|
+
},
|
|
1461
|
+
earnings: {
|
|
1462
|
+
type: 'array',
|
|
1463
|
+
items: {
|
|
1464
|
+
required: ['amount', 'currency', 'earningType', 'rate'],
|
|
1465
|
+
type: 'object',
|
|
1466
|
+
properties: {
|
|
1467
|
+
earningType: {
|
|
1468
|
+
enum: ['None', 'GrossComission', 'RedefinedGC', 'Rebate', 'NetComission'],
|
|
1469
|
+
type: 'string'
|
|
1470
|
+
},
|
|
1471
|
+
amount: {
|
|
1472
|
+
type: 'number',
|
|
1473
|
+
format: 'double'
|
|
1474
|
+
},
|
|
1475
|
+
description: {
|
|
1476
|
+
type: 'string',
|
|
1477
|
+
nullable: true
|
|
1478
|
+
},
|
|
1479
|
+
currency: {
|
|
1480
|
+
minLength: 1,
|
|
1481
|
+
type: 'string'
|
|
1482
|
+
},
|
|
1483
|
+
rate: {
|
|
1484
|
+
type: 'number',
|
|
1485
|
+
format: 'double'
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
additionalProperties: false
|
|
1489
|
+
},
|
|
1490
|
+
nullable: true
|
|
1279
1491
|
}
|
|
1280
1492
|
},
|
|
1281
1493
|
additionalProperties: false
|
|
@@ -1445,8 +1657,47 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
|
1445
1657
|
format: 'uuid'
|
|
1446
1658
|
},
|
|
1447
1659
|
productGroup: {
|
|
1448
|
-
|
|
1449
|
-
|
|
1660
|
+
required: ['active', 'articleCode', 'companyType', 'food', 'name', 'unitCode'],
|
|
1661
|
+
type: 'object',
|
|
1662
|
+
properties: {
|
|
1663
|
+
id: {
|
|
1664
|
+
type: 'string',
|
|
1665
|
+
format: 'uuid'
|
|
1666
|
+
},
|
|
1667
|
+
articleCode: {
|
|
1668
|
+
minLength: 1,
|
|
1669
|
+
type: 'string'
|
|
1670
|
+
},
|
|
1671
|
+
name: {
|
|
1672
|
+
minLength: 1,
|
|
1673
|
+
type: 'string'
|
|
1674
|
+
},
|
|
1675
|
+
unitCode: {
|
|
1676
|
+
enum: ['QNT', 'BAG', 'BOX'],
|
|
1677
|
+
type: 'string'
|
|
1678
|
+
},
|
|
1679
|
+
companyType: {
|
|
1680
|
+
enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
|
|
1681
|
+
type: 'string'
|
|
1682
|
+
},
|
|
1683
|
+
vatId: {
|
|
1684
|
+
type: 'string',
|
|
1685
|
+
format: 'uuid',
|
|
1686
|
+
nullable: true
|
|
1687
|
+
},
|
|
1688
|
+
vatPercent: {
|
|
1689
|
+
type: 'integer',
|
|
1690
|
+
format: 'int32',
|
|
1691
|
+
nullable: true
|
|
1692
|
+
},
|
|
1693
|
+
active: {
|
|
1694
|
+
type: 'boolean'
|
|
1695
|
+
},
|
|
1696
|
+
food: {
|
|
1697
|
+
type: 'boolean'
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
additionalProperties: false
|
|
1450
1701
|
},
|
|
1451
1702
|
description: {
|
|
1452
1703
|
type: 'string',
|
|
@@ -1630,6 +1881,34 @@ export const $UniRefund_TagService_Tags_TagDto = {
|
|
|
1630
1881
|
additionalProperties: false
|
|
1631
1882
|
} as const;
|
|
1632
1883
|
|
|
1884
|
+
export const $UniRefund_TagService_Tags_TagEarningDto = {
|
|
1885
|
+
required: ['amount', 'currency', 'earningType', 'rate'],
|
|
1886
|
+
type: 'object',
|
|
1887
|
+
properties: {
|
|
1888
|
+
earningType: {
|
|
1889
|
+
enum: ['None', 'GrossComission', 'RedefinedGC', 'Rebate', 'NetComission'],
|
|
1890
|
+
type: 'string'
|
|
1891
|
+
},
|
|
1892
|
+
amount: {
|
|
1893
|
+
type: 'number',
|
|
1894
|
+
format: 'double'
|
|
1895
|
+
},
|
|
1896
|
+
description: {
|
|
1897
|
+
type: 'string',
|
|
1898
|
+
nullable: true
|
|
1899
|
+
},
|
|
1900
|
+
currency: {
|
|
1901
|
+
minLength: 1,
|
|
1902
|
+
type: 'string'
|
|
1903
|
+
},
|
|
1904
|
+
rate: {
|
|
1905
|
+
type: 'number',
|
|
1906
|
+
format: 'double'
|
|
1907
|
+
}
|
|
1908
|
+
},
|
|
1909
|
+
additionalProperties: false
|
|
1910
|
+
} as const;
|
|
1911
|
+
|
|
1633
1912
|
export const $UniRefund_TagService_Tags_TagIdAndVATStatementHeaderIdPairDto = {
|
|
1634
1913
|
required: ['tagId', 'vatStatementHeaderId'],
|
|
1635
1914
|
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 = {
|
|
@@ -323,6 +365,7 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
323
365
|
status?: (number) | null;
|
|
324
366
|
refundMethod?: 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
|
|
325
367
|
};
|
|
368
|
+
vatStatementHeaderId?: (string) | null;
|
|
326
369
|
invoices?: Array<{
|
|
327
370
|
id?: string;
|
|
328
371
|
number?: (string) | null;
|
|
@@ -332,7 +375,17 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
332
375
|
currency?: (string) | null;
|
|
333
376
|
invoiceLines?: Array<{
|
|
334
377
|
id?: string;
|
|
335
|
-
productGroup?:
|
|
378
|
+
productGroup?: {
|
|
379
|
+
id?: string;
|
|
380
|
+
articleCode: string;
|
|
381
|
+
name: string;
|
|
382
|
+
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
383
|
+
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
384
|
+
vatId?: (string) | null;
|
|
385
|
+
vatPercent?: (number) | null;
|
|
386
|
+
active: boolean;
|
|
387
|
+
food: boolean;
|
|
388
|
+
};
|
|
336
389
|
description?: (string) | null;
|
|
337
390
|
amount: number;
|
|
338
391
|
taxRate: number;
|
|
@@ -348,6 +401,13 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
348
401
|
currency: string;
|
|
349
402
|
rate: number;
|
|
350
403
|
}> | null;
|
|
404
|
+
earnings?: Array<{
|
|
405
|
+
earningType: 'None' | 'GrossComission' | 'RedefinedGC' | 'Rebate' | 'NetComission';
|
|
406
|
+
amount: number;
|
|
407
|
+
description?: (string) | null;
|
|
408
|
+
currency: string;
|
|
409
|
+
rate: number;
|
|
410
|
+
}> | null;
|
|
351
411
|
};
|
|
352
412
|
|
|
353
413
|
export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
@@ -390,7 +450,17 @@ export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
|
390
450
|
currency?: (string) | null;
|
|
391
451
|
invoiceLines?: Array<{
|
|
392
452
|
id?: string;
|
|
393
|
-
productGroup?:
|
|
453
|
+
productGroup?: {
|
|
454
|
+
id?: string;
|
|
455
|
+
articleCode: string;
|
|
456
|
+
name: string;
|
|
457
|
+
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
458
|
+
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
459
|
+
vatId?: (string) | null;
|
|
460
|
+
vatPercent?: (number) | null;
|
|
461
|
+
active: boolean;
|
|
462
|
+
food: boolean;
|
|
463
|
+
};
|
|
394
464
|
description?: (string) | null;
|
|
395
465
|
amount: number;
|
|
396
466
|
taxRate: number;
|
|
@@ -434,6 +504,16 @@ export type UniRefund_TagService_Tags_TagDto = {
|
|
|
434
504
|
}> | null;
|
|
435
505
|
};
|
|
436
506
|
|
|
507
|
+
export type UniRefund_TagService_Tags_TagEarningDto = {
|
|
508
|
+
earningType: 'None' | 'GrossComission' | 'RedefinedGC' | 'Rebate' | 'NetComission';
|
|
509
|
+
amount: number;
|
|
510
|
+
description?: (string) | null;
|
|
511
|
+
currency: string;
|
|
512
|
+
rate: number;
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
export type earningType = 'None' | 'GrossComission' | 'RedefinedGC' | 'Rebate' | 'NetComission';
|
|
516
|
+
|
|
437
517
|
export type UniRefund_TagService_Tags_TagIdAndVATStatementHeaderIdPairDto = {
|
|
438
518
|
tagId: string;
|
|
439
519
|
vatStatementHeaderId: string;
|
|
@@ -2236,6 +2316,7 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
|
|
|
2236
2316
|
status?: (number) | null;
|
|
2237
2317
|
refundMethod?: 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
|
|
2238
2318
|
};
|
|
2319
|
+
vatStatementHeaderId?: (string) | null;
|
|
2239
2320
|
invoices?: Array<{
|
|
2240
2321
|
id?: string;
|
|
2241
2322
|
number?: (string) | null;
|
|
@@ -2245,7 +2326,17 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
|
|
|
2245
2326
|
currency?: (string) | null;
|
|
2246
2327
|
invoiceLines?: Array<{
|
|
2247
2328
|
id?: string;
|
|
2248
|
-
productGroup?:
|
|
2329
|
+
productGroup?: {
|
|
2330
|
+
id?: string;
|
|
2331
|
+
articleCode: string;
|
|
2332
|
+
name: string;
|
|
2333
|
+
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
2334
|
+
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
2335
|
+
vatId?: (string) | null;
|
|
2336
|
+
vatPercent?: (number) | null;
|
|
2337
|
+
active: boolean;
|
|
2338
|
+
food: boolean;
|
|
2339
|
+
};
|
|
2249
2340
|
description?: (string) | null;
|
|
2250
2341
|
amount: number;
|
|
2251
2342
|
taxRate: number;
|
|
@@ -2261,6 +2352,13 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
|
|
|
2261
2352
|
currency: string;
|
|
2262
2353
|
rate: number;
|
|
2263
2354
|
}> | null;
|
|
2355
|
+
earnings?: Array<{
|
|
2356
|
+
earningType: 'None' | 'GrossComission' | 'RedefinedGC' | 'Rebate' | 'NetComission';
|
|
2357
|
+
amount: number;
|
|
2358
|
+
description?: (string) | null;
|
|
2359
|
+
currency: string;
|
|
2360
|
+
rate: number;
|
|
2361
|
+
}> | null;
|
|
2264
2362
|
});
|
|
2265
2363
|
|
|
2266
2364
|
export type GetApiTagServiceTagTagsRefundData = {
|
|
@@ -2475,7 +2573,17 @@ export type GetIntegrationApiTagsDetailsListForRefundResponse = (Array<{
|
|
|
2475
2573
|
currency?: (string) | null;
|
|
2476
2574
|
invoiceLines?: Array<{
|
|
2477
2575
|
id?: string;
|
|
2478
|
-
productGroup?:
|
|
2576
|
+
productGroup?: {
|
|
2577
|
+
id?: string;
|
|
2578
|
+
articleCode: string;
|
|
2579
|
+
name: string;
|
|
2580
|
+
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
2581
|
+
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
2582
|
+
vatId?: (string) | null;
|
|
2583
|
+
vatPercent?: (number) | null;
|
|
2584
|
+
active: boolean;
|
|
2585
|
+
food: boolean;
|
|
2586
|
+
};
|
|
2479
2587
|
description?: (string) | null;
|
|
2480
2588
|
amount: number;
|
|
2481
2589
|
taxRate: number;
|