@ayasofyazilim/saas 0.0.116 → 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.
@@ -76,12 +76,12 @@ jobs:
76
76
  git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
77
77
 
78
78
  - name: Update package
79
- if: startsWith(github.event.inputs.saas-name, 'All') != true
79
+ if: startsWith(github.event.inputs.service-name, 'All') != true
80
80
  run: |
81
81
  node index.mjs -u "${{ github.event.inputs.url }}" -p "${{ github.event.inputs.port }}" -f "${{ github.event.inputs.service-name }}"
82
82
 
83
83
  - name: Update package
84
- if: startsWith(github.event.inputs.saas-name, 'All') == true
84
+ if: startsWith(github.event.inputs.service-name, 'All') == true
85
85
  run: |
86
86
  node index.mjs -u "${{ github.event.inputs.url }}" -p "${{ github.event.inputs.port }}"
87
87
 
@@ -89,5 +89,5 @@ jobs:
89
89
  - name: Commit updates
90
90
  run: |
91
91
  git add .
92
- git commit -m "chore: update ${{ github.event.inputs.saas-name }} by @${{ github.actor }}"
92
+ git commit -m "chore: update ${{ github.event.inputs.service-name }} by @${{ github.actor }}"
93
93
  git push origin
@@ -7705,8 +7705,7 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
7705
7705
  },
7706
7706
  vatId: {
7707
7707
  type: 'string',
7708
- format: 'uuid',
7709
- nullable: true
7708
+ format: 'uuid'
7710
7709
  },
7711
7710
  vatPercent: {
7712
7711
  type: 'integer',
@@ -15152,7 +15151,7 @@ export const $UniRefund_SettingService_ProductGroupMerchants_CreateProductGroupM
15152
15151
  } as const;
15153
15152
 
15154
15153
  export const $UniRefund_SettingService_ProductGroupMerchants_ProductGroupMerchantRelationDto = {
15155
- required: ['isActive', 'isAssign', 'isDefault', 'productGroupName'],
15154
+ required: ['isActive', 'isAssign', 'isDefault', 'productGroupId', 'productGroupName'],
15156
15155
  type: 'object',
15157
15156
  properties: {
15158
15157
  productGroupName: {
@@ -15167,6 +15166,10 @@ export const $UniRefund_SettingService_ProductGroupMerchants_ProductGroupMerchan
15167
15166
  },
15168
15167
  isAssign: {
15169
15168
  type: 'boolean'
15169
+ },
15170
+ productGroupId: {
15171
+ type: 'string',
15172
+ format: 'uuid'
15170
15173
  }
15171
15174
  },
15172
15175
  additionalProperties: false
@@ -15203,8 +15206,7 @@ export const $UniRefund_SettingService_ProductGroups_ProductGroupDto = {
15203
15206
  },
15204
15207
  vatId: {
15205
15208
  type: 'string',
15206
- format: 'uuid',
15207
- nullable: true
15209
+ format: 'uuid'
15208
15210
  },
15209
15211
  vatPercent: {
15210
15212
  type: 'integer',
@@ -1905,7 +1905,7 @@ export type UniRefund_CRMService_Merchants_MerchantDetailDto = {
1905
1905
  name: string;
1906
1906
  unitCode: 'QNT' | 'BAG' | 'BOX';
1907
1907
  companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
1908
- vatId?: (string) | null;
1908
+ vatId?: string;
1909
1909
  vatPercent?: (number) | null;
1910
1910
  active: boolean;
1911
1911
  food: boolean;
@@ -3758,6 +3758,7 @@ export type UniRefund_SettingService_ProductGroupMerchants_ProductGroupMerchantR
3758
3758
  isDefault: boolean;
3759
3759
  isActive: boolean;
3760
3760
  isAssign: boolean;
3761
+ productGroupId: string;
3761
3762
  };
3762
3763
 
3763
3764
  export type UniRefund_SettingService_ProductGroups_CompanyTypeCode = 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
@@ -3768,7 +3769,7 @@ export type UniRefund_SettingService_ProductGroups_ProductGroupDto = {
3768
3769
  name: string;
3769
3770
  unitCode: 'QNT' | 'BAG' | 'BOX';
3770
3771
  companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
3771
- vatId?: (string) | null;
3772
+ vatId?: string;
3772
3773
  vatPercent?: (number) | null;
3773
3774
  active: boolean;
3774
3775
  food: boolean;
@@ -6555,7 +6556,7 @@ export type GetApiCrmServiceMerchantsByIdDetailResponse = ({
6555
6556
  name: string;
6556
6557
  unitCode: 'QNT' | 'BAG' | 'BOX';
6557
6558
  companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
6558
- vatId?: (string) | null;
6559
+ vatId?: string;
6559
6560
  vatPercent?: (number) | null;
6560
6561
  active: boolean;
6561
6562
  food: boolean;
@@ -7185,6 +7186,7 @@ export type GetApiCrmServiceMerchantsByIdProductGroupResponse = (Array<{
7185
7186
  isDefault: boolean;
7186
7187
  isActive: boolean;
7187
7188
  isAssign: boolean;
7189
+ productGroupId: string;
7188
7190
  }>);
7189
7191
 
7190
7192
  export type GetIntegrationApiMerchantsByIdBasicInformationData = {
@@ -7545,7 +7547,7 @@ export type GetIntegrationApiMerchantsByIdDetailResponse = ({
7545
7547
  name: string;
7546
7548
  unitCode: 'QNT' | 'BAG' | 'BOX';
7547
7549
  companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
7548
- vatId?: (string) | null;
7550
+ vatId?: string;
7549
7551
  vatPercent?: (number) | null;
7550
7552
  active: boolean;
7551
7553
  food: boolean;
@@ -7810,7 +7812,7 @@ export type GetIntegrationApiMerchantsDetailsListResponse = (Array<{
7810
7812
  name: string;
7811
7813
  unitCode: 'QNT' | 'BAG' | 'BOX';
7812
7814
  companyType: 'GOVERNMENT' | 'TAXFREE' | 'CUSTOMS' | 'REFUNDPOINT' | 'MERCHANT' | 'EXCHANGE' | 'TOURGUIDE';
7813
- vatId?: (string) | null;
7815
+ vatId?: string;
7814
7816
  vatPercent?: (number) | null;
7815
7817
  active: boolean;
7816
7818
  food: boolean;
@@ -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: ['amountPaid', 'issueDate', 'taxTotals', 'uuid', 'vatAmount'],
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
- amountPaid: {
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
- taxTotals: {
569
+ invoiceLines: {
573
570
  type: 'array',
574
571
  items: {
575
- required: ['taxableAmount', 'taxRate', 'taxTotal'],
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
- taxTotal: {
579
+ taxAmount: {
580
+ type: 'number',
581
+ format: 'double'
582
+ },
583
+ amount: {
583
584
  type: 'number',
584
585
  format: 'double'
585
586
  },
586
- taxableAmount: {
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: ['amountPaid', 'issueDate', 'taxTotals', 'uuid', 'vatAmount'],
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
- amountPaid: {
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
- taxTotals: {
781
+ invoiceLines: {
811
782
  type: 'array',
812
783
  items: {
813
- required: ['taxableAmount', 'taxRate', 'taxTotal'],
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
- taxTotal: {
791
+ taxAmount: {
792
+ type: 'number',
793
+ format: 'double'
794
+ },
795
+ amount: {
821
796
  type: 'number',
822
797
  format: 'double'
823
798
  },
824
- taxableAmount: {
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
- exportLocationId: {
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
- refund: {
1276
- type: 'object',
1277
- properties: {
1278
- id: {
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'
@@ -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?: (string) | null;
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?: (string) | null;
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?: (string) | null;
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
- amountPaid: number;
162
+ totalAmount: number;
163
163
  vatAmount: number;
164
- taxTotals: Array<{
164
+ invoiceLines: Array<{
165
165
  taxRate: number;
166
- taxTotal: number;
167
- taxableAmount: number;
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
- amountPaid: number;
218
+ totalAmount: number;
228
219
  vatAmount: number;
229
- taxTotals: Array<{
220
+ invoiceLines: Array<{
230
221
  taxRate: number;
231
- taxTotal: number;
232
- taxableAmount: number;
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
- exportLocationId?: string;
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
- refund?: {
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?: (string) | null;
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?: (string) | null;
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
- amountPaid: number;
2105
+ totalAmount: number;
2125
2106
  vatAmount: number;
2126
- taxTotals: Array<{
2107
+ invoiceLines: Array<{
2127
2108
  taxRate: number;
2128
- taxTotal: number;
2129
- taxableAmount: number;
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
- refund?: {
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?: (string) | null;
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
- exportLocationId?: string;
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?: (string) | null;
2551
+ vatId?: string;
2583
2552
  vatPercent?: (number) | null;
2584
2553
  active: boolean;
2585
2554
  food: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayasofyazilim/saas",
3
- "version": "0.0.116",
3
+ "version": "0.0.118",
4
4
  "description": "Ayasofyazılım SAAS",
5
5
  "exports": {
6
6
  "./*": "./*/index.ts"