@ayasofyazilim/saas 0.0.111 → 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.
@@ -185,6 +185,10 @@ export const $UniRefund_ExportValidationService_ExportValidations_ExportValidati
185
185
  format: 'uuid',
186
186
  nullable: true
187
187
  },
188
+ tagNumber: {
189
+ type: 'string',
190
+ nullable: true
191
+ },
188
192
  customsId: {
189
193
  type: 'string',
190
194
  format: 'uuid'
@@ -234,6 +238,10 @@ export const $UniRefund_ExportValidationService_ExportValidations_ExportValidati
234
238
  format: 'uuid',
235
239
  nullable: true
236
240
  },
241
+ tagNumber: {
242
+ type: 'string',
243
+ nullable: true
244
+ },
237
245
  customsId: {
238
246
  type: 'string',
239
247
  format: 'uuid'
@@ -285,31 +293,60 @@ export const $UniRefund_ExportValidationService_ExportValidations_ValidationResu
285
293
  type: 'string'
286
294
  } as const;
287
295
 
288
- export const $UniRefund_TagService_Billings_BillingDto = {
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'],
289
303
  type: 'object',
290
304
  properties: {
291
305
  id: {
292
306
  type: 'string',
293
307
  format: 'uuid'
294
308
  },
295
- billingDate: {
296
- type: 'string',
297
- format: 'date-time',
298
- nullable: true
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'
299
320
  },
300
- billingNumber: {
321
+ companyType: {
322
+ enum: ['GOVERNMENT', 'TAXFREE', 'CUSTOMS', 'REFUNDPOINT', 'MERCHANT', 'EXCHANGE', 'TOURGUIDE'],
323
+ type: 'string'
324
+ },
325
+ vatId: {
301
326
  type: 'string',
327
+ format: 'uuid',
302
328
  nullable: true
303
329
  },
304
- status: {
330
+ vatPercent: {
305
331
  type: 'integer',
306
332
  format: 'int32',
307
333
  nullable: true
334
+ },
335
+ active: {
336
+ type: 'boolean'
337
+ },
338
+ food: {
339
+ type: 'boolean'
308
340
  }
309
341
  },
310
342
  additionalProperties: false
311
343
  } as const;
312
344
 
345
+ export const $UniRefund_SettingService_ProductGroups_UnitTypeCode = {
346
+ enum: ['QNT', 'BAG', 'BOX'],
347
+ type: 'string'
348
+ } as const;
349
+
313
350
  export const $UniRefund_TagService_Invoices_InvoiceDto = {
314
351
  required: ['issueDate', 'totalAmount', 'vatAmount'],
315
352
  type: 'object',
@@ -349,8 +386,47 @@ export const $UniRefund_TagService_Invoices_InvoiceDto = {
349
386
  format: 'uuid'
350
387
  },
351
388
  productGroup: {
352
- type: 'string',
353
- nullable: true
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
354
430
  },
355
431
  description: {
356
432
  type: 'string',
@@ -394,8 +470,47 @@ export const $UniRefund_TagService_Invoices_InvoiceLineDto = {
394
470
  format: 'uuid'
395
471
  },
396
472
  productGroup: {
397
- type: 'string',
398
- nullable: true
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
399
514
  },
400
515
  description: {
401
516
  type: 'string',
@@ -749,6 +864,11 @@ export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
749
864
  additionalProperties: false
750
865
  } as const;
751
866
 
867
+ export const $UniRefund_TagService_Tags_EarningType = {
868
+ enum: ['None', 'GrossComission', 'RedefinedGC', 'Rebate', 'NetComission'],
869
+ type: 'string'
870
+ } as const;
871
+
752
872
  export const $UniRefund_TagService_Tags_Enums_RefundType = {
753
873
  enum: ['Cash', 'CreditCard', 'BankTransfer', 'Wallet', 'CashViaPartner'],
754
874
  type: 'string'
@@ -1113,6 +1233,10 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
1113
1233
  format: 'uuid',
1114
1234
  nullable: true
1115
1235
  },
1236
+ tagNumber: {
1237
+ type: 'string',
1238
+ nullable: true
1239
+ },
1116
1240
  customsId: {
1117
1241
  type: 'string',
1118
1242
  format: 'uuid'
@@ -1181,30 +1305,6 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
1181
1305
  },
1182
1306
  additionalProperties: false
1183
1307
  },
1184
- billing: {
1185
- type: 'object',
1186
- properties: {
1187
- id: {
1188
- type: 'string',
1189
- format: 'uuid'
1190
- },
1191
- billingDate: {
1192
- type: 'string',
1193
- format: 'date-time',
1194
- nullable: true
1195
- },
1196
- billingNumber: {
1197
- type: 'string',
1198
- nullable: true
1199
- },
1200
- status: {
1201
- type: 'integer',
1202
- format: 'int32',
1203
- nullable: true
1204
- }
1205
- },
1206
- additionalProperties: false
1207
- },
1208
1308
  invoices: {
1209
1309
  type: 'array',
1210
1310
  items: {
@@ -1246,8 +1346,47 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
1246
1346
  format: 'uuid'
1247
1347
  },
1248
1348
  productGroup: {
1249
- type: 'string',
1250
- nullable: true
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
1251
1390
  },
1252
1391
  description: {
1253
1392
  type: 'string',
@@ -1313,6 +1452,37 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
1313
1452
  additionalProperties: false
1314
1453
  },
1315
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
1316
1486
  }
1317
1487
  },
1318
1488
  additionalProperties: false
@@ -1402,6 +1572,10 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
1402
1572
  format: 'uuid',
1403
1573
  nullable: true
1404
1574
  },
1575
+ tagNumber: {
1576
+ type: 'string',
1577
+ nullable: true
1578
+ },
1405
1579
  customsId: {
1406
1580
  type: 'string',
1407
1581
  format: 'uuid'
@@ -1437,30 +1611,6 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
1437
1611
  },
1438
1612
  additionalProperties: false
1439
1613
  },
1440
- billing: {
1441
- type: 'object',
1442
- properties: {
1443
- id: {
1444
- type: 'string',
1445
- format: 'uuid'
1446
- },
1447
- billingDate: {
1448
- type: 'string',
1449
- format: 'date-time',
1450
- nullable: true
1451
- },
1452
- billingNumber: {
1453
- type: 'string',
1454
- nullable: true
1455
- },
1456
- status: {
1457
- type: 'integer',
1458
- format: 'int32',
1459
- nullable: true
1460
- }
1461
- },
1462
- additionalProperties: false
1463
- },
1464
1614
  invoices: {
1465
1615
  type: 'array',
1466
1616
  items: {
@@ -1502,8 +1652,47 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
1502
1652
  format: 'uuid'
1503
1653
  },
1504
1654
  productGroup: {
1505
- type: 'string',
1506
- nullable: true
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
1507
1696
  },
1508
1697
  description: {
1509
1698
  type: 'string',
@@ -1687,6 +1876,34 @@ export const $UniRefund_TagService_Tags_TagDto = {
1687
1876
  additionalProperties: false
1688
1877
  } as const;
1689
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
+
1690
1907
  export const $UniRefund_TagService_Tags_TagIdAndVATStatementHeaderIdPairDto = {
1691
1908
  required: ['tagId', 'vatStatementHeaderId'],
1692
1909
  type: 'object',
@@ -45,6 +45,7 @@ export type TagListResponseDto_TagListItemDto = {
45
45
  export type UniRefund_ExportValidationService_ExportValidations_ExportValidationDetailDto = {
46
46
  id?: string;
47
47
  tagId?: (string) | null;
48
+ tagNumber?: (string) | null;
48
49
  customsId: string;
49
50
  customsName: string;
50
51
  referenceId?: (string) | null;
@@ -66,6 +67,7 @@ export type finalValidationResult = 'None' | 'Green';
66
67
  export type UniRefund_ExportValidationService_ExportValidations_ExportValidationDto = {
67
68
  id?: string;
68
69
  tagId?: (string) | null;
70
+ tagNumber?: (string) | null;
69
71
  customsId: string;
70
72
  customsName: string;
71
73
  exportDate: string;
@@ -82,13 +84,26 @@ export type UniRefund_ExportValidationService_ExportValidations_StampTypeCode =
82
84
 
83
85
  export type UniRefund_ExportValidationService_ExportValidations_ValidationResult = 'None' | 'Green';
84
86
 
85
- export type UniRefund_TagService_Billings_BillingDto = {
87
+ export type UniRefund_SettingService_ProductGroups_CompanyTypeCode = 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
88
+
89
+ export type UniRefund_SettingService_ProductGroups_ProductGroupDto = {
86
90
  id?: string;
87
- billingDate?: (string) | null;
88
- billingNumber?: (string) | null;
89
- status?: (number) | null;
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;
90
99
  };
91
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
+
92
107
  export type UniRefund_TagService_Invoices_InvoiceDto = {
93
108
  id?: string;
94
109
  number?: (string) | null;
@@ -98,7 +113,17 @@ export type UniRefund_TagService_Invoices_InvoiceDto = {
98
113
  currency?: (string) | null;
99
114
  invoiceLines?: Array<{
100
115
  id?: string;
101
- productGroup?: (string) | null;
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
+ };
102
127
  description?: (string) | null;
103
128
  amount: number;
104
129
  taxRate: number;
@@ -110,7 +135,17 @@ export type UniRefund_TagService_Invoices_InvoiceDto = {
110
135
 
111
136
  export type UniRefund_TagService_Invoices_InvoiceLineDto = {
112
137
  id?: string;
113
- productGroup?: (string) | null;
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
+ };
114
149
  description?: (string) | null;
115
150
  amount: number;
116
151
  taxRate: number;
@@ -206,6 +241,8 @@ export type UniRefund_TagService_Tags_CreateTagRequestDto = {
206
241
  };
207
242
  };
208
243
 
244
+ export type UniRefund_TagService_Tags_EarningType = 'None' | 'GrossComission' | 'RedefinedGC' | 'Rebate' | 'NetComission';
245
+
209
246
  export type UniRefund_TagService_Tags_Enums_RefundType = 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
210
247
 
211
248
  export type UniRefund_TagService_Tags_ExportValidationRequestDto = {
@@ -310,6 +347,7 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
310
347
  exportValidation?: {
311
348
  id?: string;
312
349
  tagId?: (string) | null;
350
+ tagNumber?: (string) | null;
313
351
  customsId: string;
314
352
  customsName: string;
315
353
  referenceId?: (string) | null;
@@ -327,12 +365,6 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
327
365
  status?: (number) | null;
328
366
  refundMethod?: 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
329
367
  };
330
- billing?: {
331
- id?: string;
332
- billingDate?: (string) | null;
333
- billingNumber?: (string) | null;
334
- status?: (number) | null;
335
- };
336
368
  invoices?: Array<{
337
369
  id?: string;
338
370
  number?: (string) | null;
@@ -342,7 +374,17 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
342
374
  currency?: (string) | null;
343
375
  invoiceLines?: Array<{
344
376
  id?: string;
345
- productGroup?: (string) | null;
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
+ };
346
388
  description?: (string) | null;
347
389
  amount: number;
348
390
  taxRate: number;
@@ -358,6 +400,13 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
358
400
  currency: string;
359
401
  rate: number;
360
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;
361
410
  };
362
411
 
363
412
  export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
@@ -381,6 +430,7 @@ export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
381
430
  exportValidation?: {
382
431
  id?: string;
383
432
  tagId?: (string) | null;
433
+ tagNumber?: (string) | null;
384
434
  customsId: string;
385
435
  customsName: string;
386
436
  referenceId?: (string) | null;
@@ -390,12 +440,6 @@ export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
390
440
  initialValidationResult?: 'None' | 'Green';
391
441
  finalValidationResult?: 'None' | 'Green';
392
442
  };
393
- billing?: {
394
- id?: string;
395
- billingDate?: (string) | null;
396
- billingNumber?: (string) | null;
397
- status?: (number) | null;
398
- };
399
443
  invoices?: Array<{
400
444
  id?: string;
401
445
  number?: (string) | null;
@@ -405,7 +449,17 @@ export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
405
449
  currency?: (string) | null;
406
450
  invoiceLines?: Array<{
407
451
  id?: string;
408
- productGroup?: (string) | null;
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
+ };
409
463
  description?: (string) | null;
410
464
  amount: number;
411
465
  taxRate: number;
@@ -449,6 +503,16 @@ export type UniRefund_TagService_Tags_TagDto = {
449
503
  }> | null;
450
504
  };
451
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
+
452
516
  export type UniRefund_TagService_Tags_TagIdAndVATStatementHeaderIdPairDto = {
453
517
  tagId: string;
454
518
  vatStatementHeaderId: string;
@@ -2233,6 +2297,7 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
2233
2297
  exportValidation?: {
2234
2298
  id?: string;
2235
2299
  tagId?: (string) | null;
2300
+ tagNumber?: (string) | null;
2236
2301
  customsId: string;
2237
2302
  customsName: string;
2238
2303
  referenceId?: (string) | null;
@@ -2250,12 +2315,6 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
2250
2315
  status?: (number) | null;
2251
2316
  refundMethod?: 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
2252
2317
  };
2253
- billing?: {
2254
- id?: string;
2255
- billingDate?: (string) | null;
2256
- billingNumber?: (string) | null;
2257
- status?: (number) | null;
2258
- };
2259
2318
  invoices?: Array<{
2260
2319
  id?: string;
2261
2320
  number?: (string) | null;
@@ -2265,7 +2324,17 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
2265
2324
  currency?: (string) | null;
2266
2325
  invoiceLines?: Array<{
2267
2326
  id?: string;
2268
- productGroup?: (string) | null;
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
+ };
2269
2338
  description?: (string) | null;
2270
2339
  amount: number;
2271
2340
  taxRate: number;
@@ -2281,6 +2350,13 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
2281
2350
  currency: string;
2282
2351
  rate: number;
2283
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;
2284
2360
  });
2285
2361
 
2286
2362
  export type GetApiTagServiceTagTagsRefundData = {
@@ -2368,6 +2444,7 @@ export type PutApiTagServiceTagExportValidationByIdData = {
2368
2444
  export type PutApiTagServiceTagExportValidationByIdResponse = ({
2369
2445
  id?: string;
2370
2446
  tagId?: (string) | null;
2447
+ tagNumber?: (string) | null;
2371
2448
  customsId: string;
2372
2449
  customsName: string;
2373
2450
  exportDate: string;
@@ -2475,6 +2552,7 @@ export type GetIntegrationApiTagsDetailsListForRefundResponse = (Array<{
2475
2552
  exportValidation?: {
2476
2553
  id?: string;
2477
2554
  tagId?: (string) | null;
2555
+ tagNumber?: (string) | null;
2478
2556
  customsId: string;
2479
2557
  customsName: string;
2480
2558
  referenceId?: (string) | null;
@@ -2484,12 +2562,6 @@ export type GetIntegrationApiTagsDetailsListForRefundResponse = (Array<{
2484
2562
  initialValidationResult?: 'None' | 'Green';
2485
2563
  finalValidationResult?: 'None' | 'Green';
2486
2564
  };
2487
- billing?: {
2488
- id?: string;
2489
- billingDate?: (string) | null;
2490
- billingNumber?: (string) | null;
2491
- status?: (number) | null;
2492
- };
2493
2565
  invoices?: Array<{
2494
2566
  id?: string;
2495
2567
  number?: (string) | null;
@@ -2499,7 +2571,17 @@ export type GetIntegrationApiTagsDetailsListForRefundResponse = (Array<{
2499
2571
  currency?: (string) | null;
2500
2572
  invoiceLines?: Array<{
2501
2573
  id?: string;
2502
- productGroup?: (string) | null;
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
+ };
2503
2585
  description?: (string) | null;
2504
2586
  amount: number;
2505
2587
  taxRate: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayasofyazilim/saas",
3
- "version": "0.0.111",
3
+ "version": "0.0.113",
4
4
  "description": "Ayasofyazılım SAAS",
5
5
  "exports": {
6
6
  "./*": "./*/index.ts"