@ayasofyazilim/saas 0.0.97 → 0.0.99

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.
@@ -1,5 +1,59 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
+ export const $PagedResultDto_RebateStatementHeaderForListDto = {
4
+ type: 'object',
5
+ properties: {
6
+ items: {
7
+ type: 'array',
8
+ items: {
9
+ required: ['id', 'merchantId', 'number', 'period', 'rebateStatementDate', 'status', 'total'],
10
+ type: 'object',
11
+ properties: {
12
+ id: {
13
+ type: 'string',
14
+ format: 'uuid'
15
+ },
16
+ merchantId: {
17
+ type: 'string',
18
+ format: 'uuid'
19
+ },
20
+ merchantName: {
21
+ type: 'string',
22
+ nullable: true
23
+ },
24
+ rebateStatementDate: {
25
+ type: 'string',
26
+ format: 'date-time'
27
+ },
28
+ number: {
29
+ minLength: 1,
30
+ type: 'string'
31
+ },
32
+ total: {
33
+ type: 'number',
34
+ format: 'double'
35
+ },
36
+ status: {
37
+ enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
38
+ type: 'string'
39
+ },
40
+ period: {
41
+ enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
42
+ type: 'string'
43
+ }
44
+ },
45
+ additionalProperties: false
46
+ },
47
+ nullable: true
48
+ },
49
+ totalCount: {
50
+ type: 'integer',
51
+ format: 'int64'
52
+ }
53
+ },
54
+ additionalProperties: false
55
+ } as const;
56
+
3
57
  export const $PagedResultDto_VATStatementHeaderForListDto = {
4
58
  type: 'object',
5
59
  properties: {
@@ -46,7 +100,7 @@ export const $PagedResultDto_VATStatementHeaderForListDto = {
46
100
  format: 'double'
47
101
  },
48
102
  status: {
49
- enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
103
+ enum: ['Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
50
104
  type: 'string'
51
105
  },
52
106
  paymentStatus: {
@@ -76,90 +130,693 @@ export const $UniRefund_ContractService_Enums_InvoicingFrequency = {
76
130
  type: 'string'
77
131
  } as const;
78
132
 
133
+ export const $UniRefund_ContractService_Enums_RebateStatementPeriod = {
134
+ enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
135
+ type: 'string'
136
+ } as const;
137
+
79
138
  export const $UniRefund_FinanceService_Enums_PaymentStatus = {
80
139
  enum: ['NotPaid', 'PartlyPaid', 'Paid', 'OverPaid'],
81
140
  type: 'string'
82
141
  } as const;
83
142
 
84
- export const $UniRefund_FinanceService_Enums_VATStatementStatus = {
143
+ export const $UniRefund_FinanceService_Enums_RebateStatementStatus = {
85
144
  enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
86
145
  type: 'string'
87
146
  } as const;
88
147
 
89
- export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderCreateDto = {
90
- required: ['merchantId', 'month', 'vatStatementDate', 'year'],
148
+ export const $UniRefund_FinanceService_Enums_VATStatementStatus = {
149
+ enum: ['Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
150
+ type: 'string'
151
+ } as const;
152
+
153
+ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderCreateDto = {
154
+ required: ['rebateStatementDate', 'yearMonthPairs'],
91
155
  type: 'object',
92
156
  properties: {
93
- extraProperties: {
94
- type: 'object',
95
- additionalProperties: {},
96
- nullable: true,
157
+ rebateStatementDate: {
158
+ type: 'string',
159
+ format: 'date-time'
160
+ },
161
+ yearMonthPairs: {
162
+ type: 'array',
163
+ items: {
164
+ required: ['month', 'year'],
165
+ type: 'object',
166
+ properties: {
167
+ year: {
168
+ type: 'integer',
169
+ format: 'int32'
170
+ },
171
+ month: {
172
+ type: 'integer',
173
+ format: 'int32'
174
+ }
175
+ },
176
+ additionalProperties: false
177
+ }
178
+ }
179
+ },
180
+ additionalProperties: false
181
+ } as const;
182
+
183
+ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderDetailDto = {
184
+ required: ['customerNumber', 'id', 'merchantId', 'merchantName', 'number', 'period', 'rebateStatementDate', 'status', 'total'],
185
+ type: 'object',
186
+ properties: {
187
+ id: {
188
+ type: 'string',
189
+ format: 'uuid'
190
+ },
191
+ number: {
192
+ minLength: 1,
193
+ type: 'string',
194
+ readOnly: true
195
+ },
196
+ merchantId: {
197
+ type: 'string',
198
+ format: 'uuid'
199
+ },
200
+ merchantName: {
201
+ minLength: 1,
202
+ type: 'string'
203
+ },
204
+ rebateStatementDate: {
205
+ type: 'string',
206
+ format: 'date-time'
207
+ },
208
+ total: {
209
+ type: 'number',
210
+ format: 'double'
211
+ },
212
+ status: {
213
+ enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
214
+ type: 'string'
215
+ },
216
+ period: {
217
+ enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
218
+ type: 'string'
219
+ },
220
+ customerNumber: {
221
+ minLength: 1,
222
+ type: 'string',
97
223
  readOnly: true
98
224
  },
99
- merchantId: {
100
- type: 'string',
101
- format: 'uuid'
225
+ contractHeaderId: {
226
+ type: 'string',
227
+ format: 'uuid'
228
+ },
229
+ rebateStatementStoreDetails: {
230
+ type: 'array',
231
+ items: {
232
+ required: ['grandTotalAmount', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'rebateAmount', 'referenceDateBegin', 'tagCount', 'vatAmount', 'vatStatementHeaderId'],
233
+ type: 'object',
234
+ properties: {
235
+ merchantId: {
236
+ type: 'string',
237
+ format: 'uuid'
238
+ },
239
+ merchantName: {
240
+ minLength: 1,
241
+ type: 'string'
242
+ },
243
+ tagCount: {
244
+ type: 'integer',
245
+ format: 'int32'
246
+ },
247
+ grandTotalAmount: {
248
+ type: 'number',
249
+ format: 'double'
250
+ },
251
+ vatAmount: {
252
+ type: 'number',
253
+ format: 'double'
254
+ },
255
+ rebateAmount: {
256
+ type: 'number',
257
+ format: 'double'
258
+ },
259
+ referenceDateBegin: {
260
+ type: 'string',
261
+ format: 'date-time'
262
+ },
263
+ vatStatementHeaderId: {
264
+ type: 'string',
265
+ format: 'uuid'
266
+ },
267
+ invoiceNumber: {
268
+ minLength: 1,
269
+ type: 'string'
270
+ },
271
+ id: {
272
+ type: 'string',
273
+ format: 'uuid'
274
+ }
275
+ },
276
+ additionalProperties: false
277
+ },
278
+ nullable: true
279
+ }
280
+ },
281
+ additionalProperties: false
282
+ } as const;
283
+
284
+ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderDraftDto = {
285
+ required: ['contractHeaderId', 'customerNumber', 'merchantId', 'merchantName', 'period', 'rebateStatementDate', 'status', 'total'],
286
+ type: 'object',
287
+ properties: {
288
+ merchantId: {
289
+ type: 'string',
290
+ format: 'uuid'
291
+ },
292
+ merchantName: {
293
+ minLength: 1,
294
+ type: 'string'
295
+ },
296
+ rebateStatementDate: {
297
+ type: 'string',
298
+ format: 'date-time'
299
+ },
300
+ total: {
301
+ type: 'number',
302
+ format: 'double'
303
+ },
304
+ status: {
305
+ enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
306
+ type: 'string'
307
+ },
308
+ period: {
309
+ enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
310
+ type: 'string'
311
+ },
312
+ customerNumber: {
313
+ minLength: 1,
314
+ type: 'string'
315
+ },
316
+ contractHeaderId: {
317
+ type: 'string',
318
+ format: 'uuid'
319
+ },
320
+ rebateStatementStoreDetails: {
321
+ type: 'array',
322
+ items: {
323
+ required: ['grandTotalAmount', 'invoiceNumber', 'merchantId', 'merchantName', 'rebateAmount', 'referenceDateBegin', 'tagCount', 'vatAmount', 'vatStatementHeaderId'],
324
+ type: 'object',
325
+ properties: {
326
+ merchantId: {
327
+ type: 'string',
328
+ format: 'uuid'
329
+ },
330
+ merchantName: {
331
+ minLength: 1,
332
+ type: 'string'
333
+ },
334
+ tagCount: {
335
+ type: 'integer',
336
+ format: 'int32'
337
+ },
338
+ grandTotalAmount: {
339
+ type: 'number',
340
+ format: 'double'
341
+ },
342
+ vatAmount: {
343
+ type: 'number',
344
+ format: 'double'
345
+ },
346
+ rebateAmount: {
347
+ type: 'number',
348
+ format: 'double'
349
+ },
350
+ referenceDateBegin: {
351
+ type: 'string',
352
+ format: 'date-time'
353
+ },
354
+ vatStatementHeaderId: {
355
+ type: 'string',
356
+ format: 'uuid'
357
+ },
358
+ invoiceNumber: {
359
+ minLength: 1,
360
+ type: 'string'
361
+ }
362
+ },
363
+ additionalProperties: false
364
+ },
365
+ nullable: true
366
+ }
367
+ },
368
+ additionalProperties: false
369
+ } as const;
370
+
371
+ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderDto = {
372
+ required: ['contractHeaderId', 'customerNumber', 'id', 'merchantId', 'merchantName', 'number', 'period', 'rebateStatementDate', 'status', 'total'],
373
+ type: 'object',
374
+ properties: {
375
+ merchantId: {
376
+ type: 'string',
377
+ format: 'uuid'
378
+ },
379
+ merchantName: {
380
+ minLength: 1,
381
+ type: 'string'
382
+ },
383
+ rebateStatementDate: {
384
+ type: 'string',
385
+ format: 'date-time'
386
+ },
387
+ total: {
388
+ type: 'number',
389
+ format: 'double'
390
+ },
391
+ status: {
392
+ enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
393
+ type: 'string'
394
+ },
395
+ period: {
396
+ enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
397
+ type: 'string'
398
+ },
399
+ customerNumber: {
400
+ minLength: 1,
401
+ type: 'string'
402
+ },
403
+ contractHeaderId: {
404
+ type: 'string',
405
+ format: 'uuid'
406
+ },
407
+ rebateStatementStoreDetails: {
408
+ type: 'array',
409
+ items: {
410
+ required: ['grandTotalAmount', 'invoiceNumber', 'merchantId', 'merchantName', 'rebateAmount', 'referenceDateBegin', 'tagCount', 'vatAmount', 'vatStatementHeaderId'],
411
+ type: 'object',
412
+ properties: {
413
+ merchantId: {
414
+ type: 'string',
415
+ format: 'uuid'
416
+ },
417
+ merchantName: {
418
+ minLength: 1,
419
+ type: 'string'
420
+ },
421
+ tagCount: {
422
+ type: 'integer',
423
+ format: 'int32'
424
+ },
425
+ grandTotalAmount: {
426
+ type: 'number',
427
+ format: 'double'
428
+ },
429
+ vatAmount: {
430
+ type: 'number',
431
+ format: 'double'
432
+ },
433
+ rebateAmount: {
434
+ type: 'number',
435
+ format: 'double'
436
+ },
437
+ referenceDateBegin: {
438
+ type: 'string',
439
+ format: 'date-time'
440
+ },
441
+ vatStatementHeaderId: {
442
+ type: 'string',
443
+ format: 'uuid'
444
+ },
445
+ invoiceNumber: {
446
+ minLength: 1,
447
+ type: 'string'
448
+ }
449
+ },
450
+ additionalProperties: false
451
+ },
452
+ nullable: true
453
+ },
454
+ id: {
455
+ type: 'string',
456
+ format: 'uuid'
457
+ },
458
+ number: {
459
+ minLength: 1,
460
+ type: 'string'
461
+ }
462
+ },
463
+ additionalProperties: false
464
+ } as const;
465
+
466
+ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderForListDto = {
467
+ required: ['id', 'merchantId', 'number', 'period', 'rebateStatementDate', 'status', 'total'],
468
+ type: 'object',
469
+ properties: {
470
+ id: {
471
+ type: 'string',
472
+ format: 'uuid'
473
+ },
474
+ merchantId: {
475
+ type: 'string',
476
+ format: 'uuid'
477
+ },
478
+ merchantName: {
479
+ type: 'string',
480
+ nullable: true
481
+ },
482
+ rebateStatementDate: {
483
+ type: 'string',
484
+ format: 'date-time'
485
+ },
486
+ number: {
487
+ minLength: 1,
488
+ type: 'string'
489
+ },
490
+ total: {
491
+ type: 'number',
492
+ format: 'double'
493
+ },
494
+ status: {
495
+ enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
496
+ type: 'string'
497
+ },
498
+ period: {
499
+ enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
500
+ type: 'string'
501
+ }
502
+ },
503
+ additionalProperties: false
504
+ } as const;
505
+
506
+ export const $UniRefund_FinanceService_RebateStatementHeaders_YearMonthPairDto = {
507
+ required: ['month', 'year'],
508
+ type: 'object',
509
+ properties: {
510
+ year: {
511
+ type: 'integer',
512
+ format: 'int32'
513
+ },
514
+ month: {
515
+ type: 'integer',
516
+ format: 'int32'
517
+ }
518
+ },
519
+ additionalProperties: false
520
+ } as const;
521
+
522
+ export const $UniRefund_FinanceService_RebateStatementStoreDetails_RebateStatementStoreDetailDraftDto = {
523
+ required: ['grandTotalAmount', 'invoiceNumber', 'merchantId', 'merchantName', 'rebateAmount', 'referenceDateBegin', 'tagCount', 'vatAmount', 'vatStatementHeaderId'],
524
+ type: 'object',
525
+ properties: {
526
+ merchantId: {
527
+ type: 'string',
528
+ format: 'uuid'
529
+ },
530
+ merchantName: {
531
+ minLength: 1,
532
+ type: 'string'
533
+ },
534
+ tagCount: {
535
+ type: 'integer',
536
+ format: 'int32'
537
+ },
538
+ grandTotalAmount: {
539
+ type: 'number',
540
+ format: 'double'
541
+ },
542
+ vatAmount: {
543
+ type: 'number',
544
+ format: 'double'
545
+ },
546
+ rebateAmount: {
547
+ type: 'number',
548
+ format: 'double'
549
+ },
550
+ referenceDateBegin: {
551
+ type: 'string',
552
+ format: 'date-time'
553
+ },
554
+ vatStatementHeaderId: {
555
+ type: 'string',
556
+ format: 'uuid'
557
+ },
558
+ invoiceNumber: {
559
+ minLength: 1,
560
+ type: 'string'
561
+ }
562
+ },
563
+ additionalProperties: false
564
+ } as const;
565
+
566
+ export const $UniRefund_FinanceService_RebateStatementStoreDetails_RebateStatementStoreDetailDto = {
567
+ required: ['grandTotalAmount', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'rebateAmount', 'referenceDateBegin', 'tagCount', 'vatAmount', 'vatStatementHeaderId'],
568
+ type: 'object',
569
+ properties: {
570
+ merchantId: {
571
+ type: 'string',
572
+ format: 'uuid'
573
+ },
574
+ merchantName: {
575
+ minLength: 1,
576
+ type: 'string'
577
+ },
578
+ tagCount: {
579
+ type: 'integer',
580
+ format: 'int32'
581
+ },
582
+ grandTotalAmount: {
583
+ type: 'number',
584
+ format: 'double'
585
+ },
586
+ vatAmount: {
587
+ type: 'number',
588
+ format: 'double'
589
+ },
590
+ rebateAmount: {
591
+ type: 'number',
592
+ format: 'double'
593
+ },
594
+ referenceDateBegin: {
595
+ type: 'string',
596
+ format: 'date-time'
597
+ },
598
+ vatStatementHeaderId: {
599
+ type: 'string',
600
+ format: 'uuid'
601
+ },
602
+ invoiceNumber: {
603
+ minLength: 1,
604
+ type: 'string'
605
+ },
606
+ id: {
607
+ type: 'string',
608
+ format: 'uuid'
609
+ }
610
+ },
611
+ additionalProperties: false
612
+ } as const;
613
+
614
+ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderBasicInformationDto = {
615
+ required: ['id', 'invoiceNumber', 'status', 'vatStatementDate'],
616
+ type: 'object',
617
+ properties: {
618
+ id: {
619
+ type: 'string',
620
+ format: 'uuid'
621
+ },
622
+ vatStatementDate: {
623
+ type: 'string',
624
+ format: 'date-time'
625
+ },
626
+ invoiceNumber: {
627
+ minLength: 1,
628
+ type: 'string'
629
+ },
630
+ status: {
631
+ enum: ['Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
632
+ type: 'string'
633
+ }
634
+ },
635
+ additionalProperties: false
636
+ } as const;
637
+
638
+ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderCreateDto = {
639
+ required: ['month', 'vatStatementDate', 'year'],
640
+ type: 'object',
641
+ properties: {
642
+ extraProperties: {
643
+ type: 'object',
644
+ additionalProperties: {},
645
+ nullable: true,
646
+ readOnly: true
647
+ },
648
+ year: {
649
+ type: 'integer',
650
+ format: 'int32'
651
+ },
652
+ month: {
653
+ type: 'integer',
654
+ format: 'int32'
655
+ },
656
+ vatStatementDate: {
657
+ type: 'string',
658
+ format: 'date-time'
659
+ }
660
+ },
661
+ additionalProperties: false
662
+ } as const;
663
+
664
+ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDetailDto = {
665
+ required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', 'dueDate', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid', 'vatStatementDate'],
666
+ type: 'object',
667
+ properties: {
668
+ merchantId: {
669
+ type: 'string',
670
+ format: 'uuid'
671
+ },
672
+ tagCount: {
673
+ type: 'integer',
674
+ format: 'int32'
675
+ },
676
+ merchantName: {
677
+ minLength: 1,
678
+ type: 'string'
679
+ },
680
+ vatStatementDate: {
681
+ type: 'string',
682
+ format: 'date-time'
683
+ },
684
+ dueDate: {
685
+ type: 'string',
686
+ format: 'date-time'
687
+ },
688
+ total: {
689
+ type: 'number',
690
+ format: 'double'
691
+ },
692
+ unpaid: {
693
+ type: 'number',
694
+ format: 'double'
695
+ },
696
+ status: {
697
+ enum: ['Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
698
+ type: 'string'
699
+ },
700
+ billingPeriod: {
701
+ enum: ['OneTimePerMonth', 'TwoTimesPerMonth'],
702
+ type: 'string'
102
703
  },
103
- year: {
704
+ termOfPayment: {
104
705
  type: 'integer',
105
706
  format: 'int32'
106
707
  },
107
- month: {
108
- type: 'integer',
109
- format: 'int32'
708
+ paymentStatus: {
709
+ enum: ['NotPaid', 'PartlyPaid', 'Paid', 'OverPaid'],
710
+ type: 'string'
110
711
  },
111
- vatStatementDate: {
712
+ isFactoring: {
713
+ type: 'boolean'
714
+ },
715
+ referenceDateBegin: {
112
716
  type: 'string',
113
717
  format: 'date-time'
114
- }
115
- },
116
- additionalProperties: false
117
- } as const;
118
-
119
- export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDetailDto = {
120
- required: ['billingPeriod', 'deliveryMethod', 'dueDate', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid', 'vatStatementDate'],
121
- type: 'object',
122
- properties: {
123
- id: {
124
- type: 'string',
125
- format: 'uuid'
126
718
  },
127
- creationTime: {
719
+ referenceDateEnd: {
128
720
  type: 'string',
129
721
  format: 'date-time'
130
722
  },
131
- creatorId: {
723
+ deliveryMethod: {
724
+ enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
725
+ type: 'string'
726
+ },
727
+ customerNumber: {
132
728
  type: 'string',
133
- format: 'uuid',
134
729
  nullable: true
135
730
  },
136
- lastModificationTime: {
731
+ referenceNumber: {
137
732
  type: 'string',
138
- format: 'date-time',
139
733
  nullable: true
140
734
  },
141
- lastModifierId: {
735
+ yourReference: {
142
736
  type: 'string',
143
- format: 'uuid',
144
737
  nullable: true
145
738
  },
146
- isDeleted: {
147
- type: 'boolean'
739
+ contractHeaderId: {
740
+ type: 'string',
741
+ format: 'uuid'
148
742
  },
149
- deleterId: {
743
+ rebateStatementHeaderId: {
150
744
  type: 'string',
151
745
  format: 'uuid',
152
746
  nullable: true
153
747
  },
154
- deletionTime: {
155
- type: 'string',
156
- format: 'date-time',
748
+ vatStatementTagDetails: {
749
+ type: 'array',
750
+ items: {
751
+ required: ['currency', 'grandTotal', 'id', 'merchantId', 'merchantName', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
752
+ type: 'object',
753
+ properties: {
754
+ tagId: {
755
+ type: 'string',
756
+ format: 'uuid'
757
+ },
758
+ merchantId: {
759
+ type: 'string',
760
+ format: 'uuid'
761
+ },
762
+ merchantName: {
763
+ minLength: 1,
764
+ type: 'string'
765
+ },
766
+ tagNumber: {
767
+ minLength: 1,
768
+ type: 'string'
769
+ },
770
+ refundDate: {
771
+ type: 'string',
772
+ format: 'date-time'
773
+ },
774
+ grandTotal: {
775
+ type: 'number',
776
+ format: 'double'
777
+ },
778
+ taxAmount: {
779
+ type: 'number',
780
+ format: 'double'
781
+ },
782
+ refundAmount: {
783
+ type: 'number',
784
+ format: 'double'
785
+ },
786
+ correctedAmount: {
787
+ type: 'number',
788
+ format: 'double',
789
+ nullable: true
790
+ },
791
+ currency: {
792
+ minLength: 1,
793
+ type: 'string'
794
+ },
795
+ id: {
796
+ type: 'string',
797
+ format: 'uuid'
798
+ }
799
+ },
800
+ additionalProperties: false
801
+ },
157
802
  nullable: true
158
803
  },
804
+ id: {
805
+ type: 'string',
806
+ format: 'uuid'
807
+ },
159
808
  invoiceNumber: {
160
809
  minLength: 1,
161
810
  type: 'string'
162
- },
811
+ }
812
+ },
813
+ additionalProperties: false
814
+ } as const;
815
+
816
+ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDraftDto = {
817
+ required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', 'dueDate', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid', 'vatStatementDate'],
818
+ type: 'object',
819
+ properties: {
163
820
  merchantId: {
164
821
  type: 'string',
165
822
  format: 'uuid'
@@ -189,7 +846,7 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDet
189
846
  format: 'double'
190
847
  },
191
848
  status: {
192
- enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
849
+ enum: ['Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
193
850
  type: 'string'
194
851
  },
195
852
  billingPeriod: {
@@ -235,16 +892,29 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDet
235
892
  type: 'string',
236
893
  format: 'uuid'
237
894
  },
895
+ rebateStatementHeaderId: {
896
+ type: 'string',
897
+ format: 'uuid',
898
+ nullable: true
899
+ },
238
900
  vatStatementTagDetails: {
239
901
  type: 'array',
240
902
  items: {
241
- required: ['grandTotal', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
903
+ required: ['currency', 'grandTotal', 'merchantId', 'merchantName', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
242
904
  type: 'object',
243
905
  properties: {
244
906
  tagId: {
245
907
  type: 'string',
246
908
  format: 'uuid'
247
909
  },
910
+ merchantId: {
911
+ type: 'string',
912
+ format: 'uuid'
913
+ },
914
+ merchantName: {
915
+ minLength: 1,
916
+ type: 'string'
917
+ },
248
918
  tagNumber: {
249
919
  minLength: 1,
250
920
  type: 'string'
@@ -269,6 +939,10 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDet
269
939
  type: 'number',
270
940
  format: 'double',
271
941
  nullable: true
942
+ },
943
+ currency: {
944
+ minLength: 1,
945
+ type: 'string'
272
946
  }
273
947
  },
274
948
  additionalProperties: false
@@ -280,49 +954,9 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDet
280
954
  } as const;
281
955
 
282
956
  export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto = {
283
- required: ['billingPeriod', 'deliveryMethod', 'dueDate', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid', 'vatStatementDate'],
957
+ required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', 'dueDate', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid', 'vatStatementDate'],
284
958
  type: 'object',
285
959
  properties: {
286
- id: {
287
- type: 'string',
288
- format: 'uuid'
289
- },
290
- creationTime: {
291
- type: 'string',
292
- format: 'date-time'
293
- },
294
- creatorId: {
295
- type: 'string',
296
- format: 'uuid',
297
- nullable: true
298
- },
299
- lastModificationTime: {
300
- type: 'string',
301
- format: 'date-time',
302
- nullable: true
303
- },
304
- lastModifierId: {
305
- type: 'string',
306
- format: 'uuid',
307
- nullable: true
308
- },
309
- isDeleted: {
310
- type: 'boolean'
311
- },
312
- deleterId: {
313
- type: 'string',
314
- format: 'uuid',
315
- nullable: true
316
- },
317
- deletionTime: {
318
- type: 'string',
319
- format: 'date-time',
320
- nullable: true
321
- },
322
- invoiceNumber: {
323
- minLength: 1,
324
- type: 'string'
325
- },
326
960
  merchantId: {
327
961
  type: 'string',
328
962
  format: 'uuid'
@@ -352,7 +986,7 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto
352
986
  format: 'double'
353
987
  },
354
988
  status: {
355
- enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
989
+ enum: ['Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
356
990
  type: 'string'
357
991
  },
358
992
  billingPeriod: {
@@ -398,52 +1032,29 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto
398
1032
  type: 'string',
399
1033
  format: 'uuid'
400
1034
  },
1035
+ rebateStatementHeaderId: {
1036
+ type: 'string',
1037
+ format: 'uuid',
1038
+ nullable: true
1039
+ },
401
1040
  vatStatementTagDetails: {
402
1041
  type: 'array',
403
1042
  items: {
404
- required: ['grandTotal', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
1043
+ required: ['currency', 'grandTotal', 'id', 'merchantId', 'merchantName', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
405
1044
  type: 'object',
406
1045
  properties: {
407
- id: {
1046
+ tagId: {
408
1047
  type: 'string',
409
1048
  format: 'uuid'
410
1049
  },
411
- creationTime: {
412
- type: 'string',
413
- format: 'date-time'
414
- },
415
- creatorId: {
416
- type: 'string',
417
- format: 'uuid',
418
- nullable: true
419
- },
420
- lastModificationTime: {
421
- type: 'string',
422
- format: 'date-time',
423
- nullable: true
424
- },
425
- lastModifierId: {
426
- type: 'string',
427
- format: 'uuid',
428
- nullable: true
429
- },
430
- isDeleted: {
431
- type: 'boolean'
432
- },
433
- deleterId: {
434
- type: 'string',
435
- format: 'uuid',
436
- nullable: true
437
- },
438
- deletionTime: {
439
- type: 'string',
440
- format: 'date-time',
441
- nullable: true
442
- },
443
- tagId: {
1050
+ merchantId: {
444
1051
  type: 'string',
445
1052
  format: 'uuid'
446
1053
  },
1054
+ merchantName: {
1055
+ minLength: 1,
1056
+ type: 'string'
1057
+ },
447
1058
  tagNumber: {
448
1059
  minLength: 1,
449
1060
  type: 'string'
@@ -468,11 +1079,27 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto
468
1079
  type: 'number',
469
1080
  format: 'double',
470
1081
  nullable: true
1082
+ },
1083
+ currency: {
1084
+ minLength: 1,
1085
+ type: 'string'
1086
+ },
1087
+ id: {
1088
+ type: 'string',
1089
+ format: 'uuid'
471
1090
  }
472
1091
  },
473
1092
  additionalProperties: false
474
1093
  },
475
1094
  nullable: true
1095
+ },
1096
+ id: {
1097
+ type: 'string',
1098
+ format: 'uuid'
1099
+ },
1100
+ invoiceNumber: {
1101
+ minLength: 1,
1102
+ type: 'string'
476
1103
  }
477
1104
  },
478
1105
  additionalProperties: false
@@ -519,7 +1146,7 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderFor
519
1146
  format: 'double'
520
1147
  },
521
1148
  status: {
522
- enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
1149
+ enum: ['Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
523
1150
  type: 'string'
524
1151
  },
525
1152
  paymentStatus: {
@@ -530,50 +1157,22 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderFor
530
1157
  additionalProperties: false
531
1158
  } as const;
532
1159
 
533
- export const $UniRefund_FinanceService_VATStatementTagDetails_VATStatementTagDetailDto = {
534
- required: ['grandTotal', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
1160
+ export const $UniRefund_FinanceService_VATStatementTagDetails_VATStatementTagDetailDraftDto = {
1161
+ required: ['currency', 'grandTotal', 'merchantId', 'merchantName', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
535
1162
  type: 'object',
536
1163
  properties: {
537
- id: {
1164
+ tagId: {
538
1165
  type: 'string',
539
1166
  format: 'uuid'
540
1167
  },
541
- creationTime: {
542
- type: 'string',
543
- format: 'date-time'
544
- },
545
- creatorId: {
546
- type: 'string',
547
- format: 'uuid',
548
- nullable: true
549
- },
550
- lastModificationTime: {
551
- type: 'string',
552
- format: 'date-time',
553
- nullable: true
554
- },
555
- lastModifierId: {
556
- type: 'string',
557
- format: 'uuid',
558
- nullable: true
559
- },
560
- isDeleted: {
561
- type: 'boolean'
562
- },
563
- deleterId: {
564
- type: 'string',
565
- format: 'uuid',
566
- nullable: true
567
- },
568
- deletionTime: {
569
- type: 'string',
570
- format: 'date-time',
571
- nullable: true
572
- },
573
- tagId: {
1168
+ merchantId: {
574
1169
  type: 'string',
575
1170
  format: 'uuid'
576
1171
  },
1172
+ merchantName: {
1173
+ minLength: 1,
1174
+ type: 'string'
1175
+ },
577
1176
  tagNumber: {
578
1177
  minLength: 1,
579
1178
  type: 'string'
@@ -598,19 +1197,31 @@ export const $UniRefund_FinanceService_VATStatementTagDetails_VATStatementTagDet
598
1197
  type: 'number',
599
1198
  format: 'double',
600
1199
  nullable: true
1200
+ },
1201
+ currency: {
1202
+ minLength: 1,
1203
+ type: 'string'
601
1204
  }
602
1205
  },
603
1206
  additionalProperties: false
604
1207
  } as const;
605
1208
 
606
- export const $UniRefund_FinanceService_VATStatementTagDetails_VATStatementTagDetailWithoutAuditedDto = {
607
- required: ['grandTotal', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
1209
+ export const $UniRefund_FinanceService_VATStatementTagDetails_VATStatementTagDetailDto = {
1210
+ required: ['currency', 'grandTotal', 'id', 'merchantId', 'merchantName', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
608
1211
  type: 'object',
609
1212
  properties: {
610
1213
  tagId: {
611
1214
  type: 'string',
612
1215
  format: 'uuid'
613
1216
  },
1217
+ merchantId: {
1218
+ type: 'string',
1219
+ format: 'uuid'
1220
+ },
1221
+ merchantName: {
1222
+ minLength: 1,
1223
+ type: 'string'
1224
+ },
614
1225
  tagNumber: {
615
1226
  minLength: 1,
616
1227
  type: 'string'
@@ -635,6 +1246,14 @@ export const $UniRefund_FinanceService_VATStatementTagDetails_VATStatementTagDet
635
1246
  type: 'number',
636
1247
  format: 'double',
637
1248
  nullable: true
1249
+ },
1250
+ currency: {
1251
+ minLength: 1,
1252
+ type: 'string'
1253
+ },
1254
+ id: {
1255
+ type: 'string',
1256
+ format: 'uuid'
638
1257
  }
639
1258
  },
640
1259
  additionalProperties: false