@ayasofyazilim/saas 0.0.117 → 0.0.118
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 +66 -136
- package/TagService/types.gen.ts +37 -68
- package/package.json +1 -1
|
@@ -324,8 +324,7 @@ export const $UniRefund_SettingService_ProductGroups_ProductGroupDto = {
|
|
|
324
324
|
},
|
|
325
325
|
vatId: {
|
|
326
326
|
type: 'string',
|
|
327
|
-
format: 'uuid'
|
|
328
|
-
nullable: true
|
|
327
|
+
format: 'uuid'
|
|
329
328
|
},
|
|
330
329
|
vatPercent: {
|
|
331
330
|
type: 'integer',
|
|
@@ -411,8 +410,7 @@ export const $UniRefund_TagService_Invoices_InvoiceDto = {
|
|
|
411
410
|
},
|
|
412
411
|
vatId: {
|
|
413
412
|
type: 'string',
|
|
414
|
-
format: 'uuid'
|
|
415
|
-
nullable: true
|
|
413
|
+
format: 'uuid'
|
|
416
414
|
},
|
|
417
415
|
vatPercent: {
|
|
418
416
|
type: 'integer',
|
|
@@ -495,8 +493,7 @@ export const $UniRefund_TagService_Invoices_InvoiceLineDto = {
|
|
|
495
493
|
},
|
|
496
494
|
vatId: {
|
|
497
495
|
type: 'string',
|
|
498
|
-
format: 'uuid'
|
|
499
|
-
nullable: true
|
|
496
|
+
format: 'uuid'
|
|
500
497
|
},
|
|
501
498
|
vatPercent: {
|
|
502
499
|
type: 'integer',
|
|
@@ -541,7 +538,7 @@ export const $UniRefund_TagService_Invoices_InvoiceLineDto = {
|
|
|
541
538
|
} as const;
|
|
542
539
|
|
|
543
540
|
export const $UniRefund_TagService_Invoices_InvoiceRequestDto = {
|
|
544
|
-
required: ['
|
|
541
|
+
required: ['invoiceLines', 'issueDate', 'totalAmount', 'uuid', 'vatAmount'],
|
|
545
542
|
type: 'object',
|
|
546
543
|
properties: {
|
|
547
544
|
id: {
|
|
@@ -561,7 +558,7 @@ export const $UniRefund_TagService_Invoices_InvoiceRequestDto = {
|
|
|
561
558
|
type: 'string',
|
|
562
559
|
format: 'date-time'
|
|
563
560
|
},
|
|
564
|
-
|
|
561
|
+
totalAmount: {
|
|
565
562
|
type: 'number',
|
|
566
563
|
format: 'double'
|
|
567
564
|
},
|
|
@@ -569,23 +566,31 @@ export const $UniRefund_TagService_Invoices_InvoiceRequestDto = {
|
|
|
569
566
|
type: 'number',
|
|
570
567
|
format: 'double'
|
|
571
568
|
},
|
|
572
|
-
|
|
569
|
+
invoiceLines: {
|
|
573
570
|
type: 'array',
|
|
574
571
|
items: {
|
|
575
|
-
required: ['
|
|
572
|
+
required: ['amount', 'productGroupId', 'taxAmount', 'taxBase', 'taxRate'],
|
|
576
573
|
type: 'object',
|
|
577
574
|
properties: {
|
|
578
575
|
taxRate: {
|
|
579
576
|
type: 'number',
|
|
580
577
|
format: 'double'
|
|
581
578
|
},
|
|
582
|
-
|
|
579
|
+
taxAmount: {
|
|
580
|
+
type: 'number',
|
|
581
|
+
format: 'double'
|
|
582
|
+
},
|
|
583
|
+
amount: {
|
|
583
584
|
type: 'number',
|
|
584
585
|
format: 'double'
|
|
585
586
|
},
|
|
586
|
-
|
|
587
|
+
taxBase: {
|
|
587
588
|
type: 'number',
|
|
588
589
|
format: 'double'
|
|
590
|
+
},
|
|
591
|
+
productGroupId: {
|
|
592
|
+
type: 'string',
|
|
593
|
+
format: 'uuid'
|
|
589
594
|
}
|
|
590
595
|
},
|
|
591
596
|
additionalProperties: false
|
|
@@ -662,40 +667,6 @@ export const $UniRefund_TagService_Merchants_MerchantRequestDto = {
|
|
|
662
667
|
additionalProperties: false
|
|
663
668
|
} as const;
|
|
664
669
|
|
|
665
|
-
export const $UniRefund_TagService_Refunds_RefundDto = {
|
|
666
|
-
type: 'object',
|
|
667
|
-
properties: {
|
|
668
|
-
id: {
|
|
669
|
-
type: 'string',
|
|
670
|
-
format: 'uuid'
|
|
671
|
-
},
|
|
672
|
-
submissionDate: {
|
|
673
|
-
type: 'string',
|
|
674
|
-
format: 'date-time',
|
|
675
|
-
nullable: true
|
|
676
|
-
},
|
|
677
|
-
paidDate: {
|
|
678
|
-
type: 'string',
|
|
679
|
-
format: 'date-time',
|
|
680
|
-
nullable: true
|
|
681
|
-
},
|
|
682
|
-
refundLocation: {
|
|
683
|
-
type: 'string',
|
|
684
|
-
nullable: true
|
|
685
|
-
},
|
|
686
|
-
status: {
|
|
687
|
-
type: 'integer',
|
|
688
|
-
format: 'int32',
|
|
689
|
-
nullable: true
|
|
690
|
-
},
|
|
691
|
-
refundMethod: {
|
|
692
|
-
enum: ['Cash', 'CreditCard', 'BankTransfer', 'Wallet', 'CashViaPartner'],
|
|
693
|
-
type: 'string'
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
additionalProperties: false
|
|
697
|
-
} as const;
|
|
698
|
-
|
|
699
670
|
export const $UniRefund_TagService_Tags_AddressDto = {
|
|
700
671
|
type: 'object',
|
|
701
672
|
properties: {
|
|
@@ -779,7 +750,7 @@ export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
|
|
|
779
750
|
invoices: {
|
|
780
751
|
type: 'array',
|
|
781
752
|
items: {
|
|
782
|
-
required: ['
|
|
753
|
+
required: ['invoiceLines', 'issueDate', 'totalAmount', 'uuid', 'vatAmount'],
|
|
783
754
|
type: 'object',
|
|
784
755
|
properties: {
|
|
785
756
|
id: {
|
|
@@ -799,7 +770,7 @@ export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
|
|
|
799
770
|
type: 'string',
|
|
800
771
|
format: 'date-time'
|
|
801
772
|
},
|
|
802
|
-
|
|
773
|
+
totalAmount: {
|
|
803
774
|
type: 'number',
|
|
804
775
|
format: 'double'
|
|
805
776
|
},
|
|
@@ -807,23 +778,31 @@ export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
|
|
|
807
778
|
type: 'number',
|
|
808
779
|
format: 'double'
|
|
809
780
|
},
|
|
810
|
-
|
|
781
|
+
invoiceLines: {
|
|
811
782
|
type: 'array',
|
|
812
783
|
items: {
|
|
813
|
-
required: ['
|
|
784
|
+
required: ['amount', 'productGroupId', 'taxAmount', 'taxBase', 'taxRate'],
|
|
814
785
|
type: 'object',
|
|
815
786
|
properties: {
|
|
816
787
|
taxRate: {
|
|
817
788
|
type: 'number',
|
|
818
789
|
format: 'double'
|
|
819
790
|
},
|
|
820
|
-
|
|
791
|
+
taxAmount: {
|
|
792
|
+
type: 'number',
|
|
793
|
+
format: 'double'
|
|
794
|
+
},
|
|
795
|
+
amount: {
|
|
821
796
|
type: 'number',
|
|
822
797
|
format: 'double'
|
|
823
798
|
},
|
|
824
|
-
|
|
799
|
+
taxBase: {
|
|
825
800
|
type: 'number',
|
|
826
801
|
format: 'double'
|
|
802
|
+
},
|
|
803
|
+
productGroupId: {
|
|
804
|
+
type: 'string',
|
|
805
|
+
format: 'uuid'
|
|
827
806
|
}
|
|
828
807
|
},
|
|
829
808
|
additionalProperties: false
|
|
@@ -832,33 +811,6 @@ export const $UniRefund_TagService_Tags_CreateTagRequestDto = {
|
|
|
832
811
|
},
|
|
833
812
|
additionalProperties: false
|
|
834
813
|
}
|
|
835
|
-
},
|
|
836
|
-
exportValidation: {
|
|
837
|
-
type: 'object',
|
|
838
|
-
properties: {
|
|
839
|
-
exportDate: {
|
|
840
|
-
type: 'string',
|
|
841
|
-
format: 'date-time',
|
|
842
|
-
nullable: true
|
|
843
|
-
},
|
|
844
|
-
exportLocationId: {
|
|
845
|
-
type: 'string',
|
|
846
|
-
format: 'uuid'
|
|
847
|
-
},
|
|
848
|
-
referenceId: {
|
|
849
|
-
type: 'string',
|
|
850
|
-
nullable: true
|
|
851
|
-
},
|
|
852
|
-
responseCode: {
|
|
853
|
-
type: 'string',
|
|
854
|
-
nullable: true
|
|
855
|
-
},
|
|
856
|
-
description: {
|
|
857
|
-
type: 'string',
|
|
858
|
-
nullable: true
|
|
859
|
-
}
|
|
860
|
-
},
|
|
861
|
-
additionalProperties: false
|
|
862
814
|
}
|
|
863
815
|
},
|
|
864
816
|
additionalProperties: false
|
|
@@ -882,7 +834,7 @@ export const $UniRefund_TagService_Tags_ExportValidationRequestDto = {
|
|
|
882
834
|
format: 'date-time',
|
|
883
835
|
nullable: true
|
|
884
836
|
},
|
|
885
|
-
|
|
837
|
+
customsId: {
|
|
886
838
|
type: 'string',
|
|
887
839
|
format: 'uuid'
|
|
888
840
|
},
|
|
@@ -902,6 +854,34 @@ export const $UniRefund_TagService_Tags_ExportValidationRequestDto = {
|
|
|
902
854
|
additionalProperties: false
|
|
903
855
|
} as const;
|
|
904
856
|
|
|
857
|
+
export const $UniRefund_TagService_Tags_InvoiceLineRequestDto = {
|
|
858
|
+
required: ['amount', 'productGroupId', 'taxAmount', 'taxBase', 'taxRate'],
|
|
859
|
+
type: 'object',
|
|
860
|
+
properties: {
|
|
861
|
+
taxRate: {
|
|
862
|
+
type: 'number',
|
|
863
|
+
format: 'double'
|
|
864
|
+
},
|
|
865
|
+
taxAmount: {
|
|
866
|
+
type: 'number',
|
|
867
|
+
format: 'double'
|
|
868
|
+
},
|
|
869
|
+
amount: {
|
|
870
|
+
type: 'number',
|
|
871
|
+
format: 'double'
|
|
872
|
+
},
|
|
873
|
+
taxBase: {
|
|
874
|
+
type: 'number',
|
|
875
|
+
format: 'double'
|
|
876
|
+
},
|
|
877
|
+
productGroupId: {
|
|
878
|
+
type: 'string',
|
|
879
|
+
format: 'uuid'
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
additionalProperties: false
|
|
883
|
+
} as const;
|
|
884
|
+
|
|
905
885
|
export const $UniRefund_TagService_Tags_ProductGroupDto = {
|
|
906
886
|
type: 'object',
|
|
907
887
|
properties: {
|
|
@@ -1272,38 +1252,10 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
1272
1252
|
},
|
|
1273
1253
|
additionalProperties: false
|
|
1274
1254
|
},
|
|
1275
|
-
|
|
1276
|
-
type: '
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
type: 'string',
|
|
1280
|
-
format: 'uuid'
|
|
1281
|
-
},
|
|
1282
|
-
submissionDate: {
|
|
1283
|
-
type: 'string',
|
|
1284
|
-
format: 'date-time',
|
|
1285
|
-
nullable: true
|
|
1286
|
-
},
|
|
1287
|
-
paidDate: {
|
|
1288
|
-
type: 'string',
|
|
1289
|
-
format: 'date-time',
|
|
1290
|
-
nullable: true
|
|
1291
|
-
},
|
|
1292
|
-
refundLocation: {
|
|
1293
|
-
type: 'string',
|
|
1294
|
-
nullable: true
|
|
1295
|
-
},
|
|
1296
|
-
status: {
|
|
1297
|
-
type: 'integer',
|
|
1298
|
-
format: 'int32',
|
|
1299
|
-
nullable: true
|
|
1300
|
-
},
|
|
1301
|
-
refundMethod: {
|
|
1302
|
-
enum: ['Cash', 'CreditCard', 'BankTransfer', 'Wallet', 'CashViaPartner'],
|
|
1303
|
-
type: 'string'
|
|
1304
|
-
}
|
|
1305
|
-
},
|
|
1306
|
-
additionalProperties: false
|
|
1255
|
+
refundId: {
|
|
1256
|
+
type: 'string',
|
|
1257
|
+
format: 'uuid',
|
|
1258
|
+
nullable: true
|
|
1307
1259
|
},
|
|
1308
1260
|
vatStatementHeaderId: {
|
|
1309
1261
|
type: 'string',
|
|
@@ -1376,8 +1328,7 @@ export const $UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
1376
1328
|
},
|
|
1377
1329
|
vatId: {
|
|
1378
1330
|
type: 'string',
|
|
1379
|
-
format: 'uuid'
|
|
1380
|
-
nullable: true
|
|
1331
|
+
format: 'uuid'
|
|
1381
1332
|
},
|
|
1382
1333
|
vatPercent: {
|
|
1383
1334
|
type: 'integer',
|
|
@@ -1682,8 +1633,7 @@ export const $UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
|
1682
1633
|
},
|
|
1683
1634
|
vatId: {
|
|
1684
1635
|
type: 'string',
|
|
1685
|
-
format: 'uuid'
|
|
1686
|
-
nullable: true
|
|
1636
|
+
format: 'uuid'
|
|
1687
1637
|
},
|
|
1688
1638
|
vatPercent: {
|
|
1689
1639
|
type: 'integer',
|
|
@@ -2227,26 +2177,6 @@ export const $UniRefund_TagService_Tags_TagValidForVATStatementResponseDto = {
|
|
|
2227
2177
|
additionalProperties: false
|
|
2228
2178
|
} as const;
|
|
2229
2179
|
|
|
2230
|
-
export const $UniRefund_TagService_Tags_TaxTotalDto = {
|
|
2231
|
-
required: ['taxableAmount', 'taxRate', 'taxTotal'],
|
|
2232
|
-
type: 'object',
|
|
2233
|
-
properties: {
|
|
2234
|
-
taxRate: {
|
|
2235
|
-
type: 'number',
|
|
2236
|
-
format: 'double'
|
|
2237
|
-
},
|
|
2238
|
-
taxTotal: {
|
|
2239
|
-
type: 'number',
|
|
2240
|
-
format: 'double'
|
|
2241
|
-
},
|
|
2242
|
-
taxableAmount: {
|
|
2243
|
-
type: 'number',
|
|
2244
|
-
format: 'double'
|
|
2245
|
-
}
|
|
2246
|
-
},
|
|
2247
|
-
additionalProperties: false
|
|
2248
|
-
} as const;
|
|
2249
|
-
|
|
2250
2180
|
export const $UniRefund_TagService_Tags_TotalType = {
|
|
2251
2181
|
enum: ['None', 'SalesAmount', 'VatAmount', 'GrossRefund', 'RefundFee', 'AgentRefundFee', 'Refund'],
|
|
2252
2182
|
type: 'string'
|
package/TagService/types.gen.ts
CHANGED
|
@@ -92,7 +92,7 @@ export type UniRefund_SettingService_ProductGroups_ProductGroupDto = {
|
|
|
92
92
|
name: string;
|
|
93
93
|
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
94
94
|
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
95
|
-
vatId?:
|
|
95
|
+
vatId?: string;
|
|
96
96
|
vatPercent?: (number) | null;
|
|
97
97
|
active: boolean;
|
|
98
98
|
food: boolean;
|
|
@@ -119,7 +119,7 @@ export type UniRefund_TagService_Invoices_InvoiceDto = {
|
|
|
119
119
|
name: string;
|
|
120
120
|
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
121
121
|
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
122
|
-
vatId?:
|
|
122
|
+
vatId?: string;
|
|
123
123
|
vatPercent?: (number) | null;
|
|
124
124
|
active: boolean;
|
|
125
125
|
food: boolean;
|
|
@@ -141,7 +141,7 @@ export type UniRefund_TagService_Invoices_InvoiceLineDto = {
|
|
|
141
141
|
name: string;
|
|
142
142
|
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
143
143
|
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
144
|
-
vatId?:
|
|
144
|
+
vatId?: string;
|
|
145
145
|
vatPercent?: (number) | null;
|
|
146
146
|
active: boolean;
|
|
147
147
|
food: boolean;
|
|
@@ -159,12 +159,14 @@ export type UniRefund_TagService_Invoices_InvoiceRequestDto = {
|
|
|
159
159
|
uuid: string;
|
|
160
160
|
invoiceNumber?: (string) | null;
|
|
161
161
|
issueDate: string;
|
|
162
|
-
|
|
162
|
+
totalAmount: number;
|
|
163
163
|
vatAmount: number;
|
|
164
|
-
|
|
164
|
+
invoiceLines: Array<{
|
|
165
165
|
taxRate: number;
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
taxAmount: number;
|
|
167
|
+
amount: number;
|
|
168
|
+
taxBase: number;
|
|
169
|
+
productGroupId: string;
|
|
168
170
|
}>;
|
|
169
171
|
};
|
|
170
172
|
|
|
@@ -187,17 +189,6 @@ export type UniRefund_TagService_Merchants_MerchantRequestDto = {
|
|
|
187
189
|
branchId: string;
|
|
188
190
|
};
|
|
189
191
|
|
|
190
|
-
export type UniRefund_TagService_Refunds_RefundDto = {
|
|
191
|
-
id?: string;
|
|
192
|
-
submissionDate?: (string) | null;
|
|
193
|
-
paidDate?: (string) | null;
|
|
194
|
-
refundLocation?: (string) | null;
|
|
195
|
-
status?: (number) | null;
|
|
196
|
-
refundMethod?: 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
export type refundMethod = 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
|
|
200
|
-
|
|
201
192
|
export type UniRefund_TagService_Tags_AddressDto = {
|
|
202
193
|
id?: string;
|
|
203
194
|
fullText?: (string) | null;
|
|
@@ -224,21 +215,16 @@ export type UniRefund_TagService_Tags_CreateTagRequestDto = {
|
|
|
224
215
|
uuid: string;
|
|
225
216
|
invoiceNumber?: (string) | null;
|
|
226
217
|
issueDate: string;
|
|
227
|
-
|
|
218
|
+
totalAmount: number;
|
|
228
219
|
vatAmount: number;
|
|
229
|
-
|
|
220
|
+
invoiceLines: Array<{
|
|
230
221
|
taxRate: number;
|
|
231
|
-
|
|
232
|
-
|
|
222
|
+
taxAmount: number;
|
|
223
|
+
amount: number;
|
|
224
|
+
taxBase: number;
|
|
225
|
+
productGroupId: string;
|
|
233
226
|
}>;
|
|
234
227
|
}>;
|
|
235
|
-
exportValidation?: {
|
|
236
|
-
exportDate?: (string) | null;
|
|
237
|
-
exportLocationId?: string;
|
|
238
|
-
referenceId?: (string) | null;
|
|
239
|
-
responseCode?: (string) | null;
|
|
240
|
-
description?: (string) | null;
|
|
241
|
-
};
|
|
242
228
|
};
|
|
243
229
|
|
|
244
230
|
export type UniRefund_TagService_Tags_EarningType = 'None' | 'GrossComission' | 'RedefinedGC' | 'Rebate' | 'NetComission';
|
|
@@ -247,12 +233,20 @@ export type UniRefund_TagService_Tags_Enums_RefundType = 'Cash' | 'CreditCard' |
|
|
|
247
233
|
|
|
248
234
|
export type UniRefund_TagService_Tags_ExportValidationRequestDto = {
|
|
249
235
|
exportDate?: (string) | null;
|
|
250
|
-
|
|
236
|
+
customsId?: string;
|
|
251
237
|
referenceId?: (string) | null;
|
|
252
238
|
responseCode?: (string) | null;
|
|
253
239
|
description?: (string) | null;
|
|
254
240
|
};
|
|
255
241
|
|
|
242
|
+
export type UniRefund_TagService_Tags_InvoiceLineRequestDto = {
|
|
243
|
+
taxRate: number;
|
|
244
|
+
taxAmount: number;
|
|
245
|
+
amount: number;
|
|
246
|
+
taxBase: number;
|
|
247
|
+
productGroupId: string;
|
|
248
|
+
};
|
|
249
|
+
|
|
256
250
|
export type UniRefund_TagService_Tags_ProductGroupDto = {
|
|
257
251
|
id?: string;
|
|
258
252
|
description?: (string) | null;
|
|
@@ -357,14 +351,7 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
357
351
|
initialValidationResult?: 'None' | 'Green';
|
|
358
352
|
finalValidationResult?: 'None' | 'Green';
|
|
359
353
|
};
|
|
360
|
-
|
|
361
|
-
id?: string;
|
|
362
|
-
submissionDate?: (string) | null;
|
|
363
|
-
paidDate?: (string) | null;
|
|
364
|
-
refundLocation?: (string) | null;
|
|
365
|
-
status?: (number) | null;
|
|
366
|
-
refundMethod?: 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
|
|
367
|
-
};
|
|
354
|
+
refundId?: (string) | null;
|
|
368
355
|
vatStatementHeaderId?: (string) | null;
|
|
369
356
|
invoices?: Array<{
|
|
370
357
|
id?: string;
|
|
@@ -381,7 +368,7 @@ export type UniRefund_TagService_Tags_TagDetailDto = {
|
|
|
381
368
|
name: string;
|
|
382
369
|
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
383
370
|
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
384
|
-
vatId?:
|
|
371
|
+
vatId?: string;
|
|
385
372
|
vatPercent?: (number) | null;
|
|
386
373
|
active: boolean;
|
|
387
374
|
food: boolean;
|
|
@@ -456,7 +443,7 @@ export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
|
|
|
456
443
|
name: string;
|
|
457
444
|
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
458
445
|
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
459
|
-
vatId?:
|
|
446
|
+
vatId?: string;
|
|
460
447
|
vatPercent?: (number) | null;
|
|
461
448
|
active: boolean;
|
|
462
449
|
food: boolean;
|
|
@@ -602,12 +589,6 @@ export type UniRefund_TagService_Tags_TagValidForVATStatementResponseDto = {
|
|
|
602
589
|
tenantId?: (string) | null;
|
|
603
590
|
};
|
|
604
591
|
|
|
605
|
-
export type UniRefund_TagService_Tags_TaxTotalDto = {
|
|
606
|
-
taxRate: number;
|
|
607
|
-
taxTotal: number;
|
|
608
|
-
taxableAmount: number;
|
|
609
|
-
};
|
|
610
|
-
|
|
611
592
|
export type UniRefund_TagService_Tags_TotalType = 'None' | 'SalesAmount' | 'VatAmount' | 'GrossRefund' | 'RefundFee' | 'AgentRefundFee' | 'Refund';
|
|
612
593
|
|
|
613
594
|
export type UniRefund_TagService_Tags_UpdateTagDto = {
|
|
@@ -2121,21 +2102,16 @@ export type PostApiTagServiceTagData = {
|
|
|
2121
2102
|
uuid: string;
|
|
2122
2103
|
invoiceNumber?: (string) | null;
|
|
2123
2104
|
issueDate: string;
|
|
2124
|
-
|
|
2105
|
+
totalAmount: number;
|
|
2125
2106
|
vatAmount: number;
|
|
2126
|
-
|
|
2107
|
+
invoiceLines: Array<{
|
|
2127
2108
|
taxRate: number;
|
|
2128
|
-
|
|
2129
|
-
|
|
2109
|
+
taxAmount: number;
|
|
2110
|
+
amount: number;
|
|
2111
|
+
taxBase: number;
|
|
2112
|
+
productGroupId: string;
|
|
2130
2113
|
}>;
|
|
2131
2114
|
}>;
|
|
2132
|
-
exportValidation?: {
|
|
2133
|
-
exportDate?: (string) | null;
|
|
2134
|
-
exportLocationId?: string;
|
|
2135
|
-
referenceId?: (string) | null;
|
|
2136
|
-
responseCode?: (string) | null;
|
|
2137
|
-
description?: (string) | null;
|
|
2138
|
-
};
|
|
2139
2115
|
};
|
|
2140
2116
|
};
|
|
2141
2117
|
|
|
@@ -2308,14 +2284,7 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
|
|
|
2308
2284
|
initialValidationResult?: 'None' | 'Green';
|
|
2309
2285
|
finalValidationResult?: 'None' | 'Green';
|
|
2310
2286
|
};
|
|
2311
|
-
|
|
2312
|
-
id?: string;
|
|
2313
|
-
submissionDate?: (string) | null;
|
|
2314
|
-
paidDate?: (string) | null;
|
|
2315
|
-
refundLocation?: (string) | null;
|
|
2316
|
-
status?: (number) | null;
|
|
2317
|
-
refundMethod?: 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
|
|
2318
|
-
};
|
|
2287
|
+
refundId?: (string) | null;
|
|
2319
2288
|
vatStatementHeaderId?: (string) | null;
|
|
2320
2289
|
invoices?: Array<{
|
|
2321
2290
|
id?: string;
|
|
@@ -2332,7 +2301,7 @@ export type GetApiTagServiceTagByIdDetailResponse = ({
|
|
|
2332
2301
|
name: string;
|
|
2333
2302
|
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
2334
2303
|
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
2335
|
-
vatId?:
|
|
2304
|
+
vatId?: string;
|
|
2336
2305
|
vatPercent?: (number) | null;
|
|
2337
2306
|
active: boolean;
|
|
2338
2307
|
food: boolean;
|
|
@@ -2436,7 +2405,7 @@ export type PutApiTagServiceTagExportValidationByIdData = {
|
|
|
2436
2405
|
id: string;
|
|
2437
2406
|
requestBody?: {
|
|
2438
2407
|
exportDate?: (string) | null;
|
|
2439
|
-
|
|
2408
|
+
customsId?: string;
|
|
2440
2409
|
referenceId?: (string) | null;
|
|
2441
2410
|
responseCode?: (string) | null;
|
|
2442
2411
|
description?: (string) | null;
|
|
@@ -2579,7 +2548,7 @@ export type GetIntegrationApiTagsDetailsListForRefundResponse = (Array<{
|
|
|
2579
2548
|
name: string;
|
|
2580
2549
|
unitCode: 'QNT' | 'BAG' | 'BOX';
|
|
2581
2550
|
companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
|
|
2582
|
-
vatId?:
|
|
2551
|
+
vatId?: string;
|
|
2583
2552
|
vatPercent?: (number) | null;
|
|
2584
2553
|
active: boolean;
|
|
2585
2554
|
food: boolean;
|