@ayasofyazilim/saas 0.0.89 → 0.0.91

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,56 +1,56 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
- export const $PagedResultDto_BillingDto = {
3
+ export const $PagedResultDto_VATStatementHeaderForListDto = {
4
4
  type: 'object',
5
5
  properties: {
6
6
  items: {
7
7
  type: 'array',
8
8
  items: {
9
- required: ['date', 'dueDate', 'merchantId', 'number', 'paymentStatus', 'period', 'status', 'total', 'unpaid'],
9
+ required: ['dueDate', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'status', 'tagCount', 'total', 'unpaid', 'vatStatementDate'],
10
10
  type: 'object',
11
11
  properties: {
12
12
  id: {
13
13
  type: 'string',
14
14
  format: 'uuid'
15
15
  },
16
+ invoiceNumber: {
17
+ minLength: 1,
18
+ type: 'string'
19
+ },
16
20
  merchantId: {
17
21
  type: 'string',
18
22
  format: 'uuid'
19
23
  },
24
+ tagCount: {
25
+ type: 'integer',
26
+ format: 'int32'
27
+ },
20
28
  merchantName: {
21
- type: 'string',
22
- nullable: true
29
+ minLength: 1,
30
+ type: 'string'
23
31
  },
24
- date: {
32
+ vatStatementDate: {
25
33
  type: 'string',
26
34
  format: 'date-time'
27
35
  },
28
- number: {
29
- type: 'integer',
30
- format: 'int32'
31
- },
32
36
  dueDate: {
33
37
  type: 'string',
34
38
  format: 'date-time'
35
39
  },
36
40
  total: {
37
41
  type: 'number',
38
- format: 'float'
42
+ format: 'double'
39
43
  },
40
44
  unpaid: {
41
45
  type: 'number',
42
- format: 'float'
46
+ format: 'double'
43
47
  },
44
48
  status: {
45
- enum: ['PAID', 'CREDITNOTE', 'CANCELLED', 'UNFINISHED', 'SENT'],
46
- type: 'string'
47
- },
48
- period: {
49
- enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
49
+ enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
50
50
  type: 'string'
51
51
  },
52
52
  paymentStatus: {
53
- enum: ['PAID', 'NOTPAID', 'PARTIALLYPAID'],
53
+ enum: ['NotPaid', 'PartlyPaid', 'Paid', 'OverPaid'],
54
54
  type: 'string'
55
55
  }
56
56
  },
@@ -66,159 +66,578 @@ export const $PagedResultDto_BillingDto = {
66
66
  additionalProperties: false
67
67
  } as const;
68
68
 
69
- export const $UniRefund_FinanceService_Billings_BillingDto = {
70
- required: ['date', 'dueDate', 'merchantId', 'number', 'paymentStatus', 'period', 'status', 'total', 'unpaid'],
69
+ export const $UniRefund_ContractService_Enums_InvoiceChannel = {
70
+ enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
71
+ type: 'string'
72
+ } as const;
73
+
74
+ export const $UniRefund_ContractService_Enums_InvoicingFrequency = {
75
+ enum: ['OneTimePerMonth', 'TwoTimesPerMonth'],
76
+ type: 'string'
77
+ } as const;
78
+
79
+ export const $UniRefund_FinanceService_Enums_PaymentStatus = {
80
+ enum: ['NotPaid', 'PartlyPaid', 'Paid', 'OverPaid'],
81
+ type: 'string'
82
+ } as const;
83
+
84
+ export const $UniRefund_FinanceService_Enums_VATStatementStatus = {
85
+ enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
86
+ type: 'string'
87
+ } as const;
88
+
89
+ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderCreateDto = {
90
+ required: ['merchantId', 'month', 'vatStatementDate', 'year'],
71
91
  type: 'object',
72
92
  properties: {
73
- id: {
93
+ extraProperties: {
94
+ type: 'object',
95
+ additionalProperties: {},
96
+ nullable: true,
97
+ readOnly: true
98
+ },
99
+ merchantId: {
74
100
  type: 'string',
75
101
  format: 'uuid'
76
102
  },
77
- merchantId: {
103
+ year: {
104
+ type: 'integer',
105
+ format: 'int32'
106
+ },
107
+ month: {
108
+ type: 'integer',
109
+ format: 'int32'
110
+ },
111
+ vatStatementDate: {
112
+ type: 'string',
113
+ 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: {
78
124
  type: 'string',
79
125
  format: 'uuid'
80
126
  },
81
- merchantName: {
127
+ creationTime: {
82
128
  type: 'string',
129
+ format: 'date-time'
130
+ },
131
+ creatorId: {
132
+ type: 'string',
133
+ format: 'uuid',
83
134
  nullable: true
84
135
  },
85
- date: {
136
+ lastModificationTime: {
86
137
  type: 'string',
87
- format: 'date-time'
138
+ format: 'date-time',
139
+ nullable: true
140
+ },
141
+ lastModifierId: {
142
+ type: 'string',
143
+ format: 'uuid',
144
+ nullable: true
145
+ },
146
+ isDeleted: {
147
+ type: 'boolean'
88
148
  },
89
- number: {
149
+ deleterId: {
150
+ type: 'string',
151
+ format: 'uuid',
152
+ nullable: true
153
+ },
154
+ deletionTime: {
155
+ type: 'string',
156
+ format: 'date-time',
157
+ nullable: true
158
+ },
159
+ invoiceNumber: {
160
+ minLength: 1,
161
+ type: 'string'
162
+ },
163
+ merchantId: {
164
+ type: 'string',
165
+ format: 'uuid'
166
+ },
167
+ tagCount: {
90
168
  type: 'integer',
91
169
  format: 'int32'
92
170
  },
171
+ merchantName: {
172
+ minLength: 1,
173
+ type: 'string'
174
+ },
175
+ vatStatementDate: {
176
+ type: 'string',
177
+ format: 'date-time'
178
+ },
93
179
  dueDate: {
94
180
  type: 'string',
95
181
  format: 'date-time'
96
182
  },
97
183
  total: {
98
184
  type: 'number',
99
- format: 'float'
185
+ format: 'double'
100
186
  },
101
187
  unpaid: {
102
188
  type: 'number',
103
- format: 'float'
189
+ format: 'double'
104
190
  },
105
191
  status: {
106
- enum: ['PAID', 'CREDITNOTE', 'CANCELLED', 'UNFINISHED', 'SENT'],
192
+ enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
107
193
  type: 'string'
108
194
  },
109
- period: {
110
- enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
195
+ billingPeriod: {
196
+ enum: ['OneTimePerMonth', 'TwoTimesPerMonth'],
111
197
  type: 'string'
112
198
  },
199
+ termOfPayment: {
200
+ type: 'integer',
201
+ format: 'int32'
202
+ },
113
203
  paymentStatus: {
114
- enum: ['PAID', 'NOTPAID', 'PARTIALLYPAID'],
204
+ enum: ['NotPaid', 'PartlyPaid', 'Paid', 'OverPaid'],
115
205
  type: 'string'
206
+ },
207
+ isFactoring: {
208
+ type: 'boolean'
209
+ },
210
+ referenceDateBegin: {
211
+ type: 'string',
212
+ format: 'date-time'
213
+ },
214
+ referenceDateEnd: {
215
+ type: 'string',
216
+ format: 'date-time'
217
+ },
218
+ deliveryMethod: {
219
+ enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
220
+ type: 'string'
221
+ },
222
+ customerNumber: {
223
+ type: 'string',
224
+ nullable: true
225
+ },
226
+ referenceNumber: {
227
+ type: 'string',
228
+ nullable: true
229
+ },
230
+ yourReference: {
231
+ type: 'string',
232
+ nullable: true
233
+ },
234
+ contractHeaderId: {
235
+ type: 'string',
236
+ format: 'uuid'
237
+ },
238
+ vatStatementTagDetails: {
239
+ type: 'array',
240
+ items: {
241
+ required: ['grandTotal', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
242
+ type: 'object',
243
+ properties: {
244
+ tagId: {
245
+ type: 'string',
246
+ format: 'uuid'
247
+ },
248
+ tagNumber: {
249
+ minLength: 1,
250
+ type: 'string'
251
+ },
252
+ refundDate: {
253
+ type: 'string',
254
+ format: 'date-time'
255
+ },
256
+ grandTotal: {
257
+ type: 'number',
258
+ format: 'double'
259
+ },
260
+ taxAmount: {
261
+ type: 'number',
262
+ format: 'double'
263
+ },
264
+ refundAmount: {
265
+ type: 'number',
266
+ format: 'double'
267
+ },
268
+ correctedAmount: {
269
+ type: 'number',
270
+ format: 'double',
271
+ nullable: true
272
+ }
273
+ },
274
+ additionalProperties: false
275
+ },
276
+ nullable: true
116
277
  }
117
278
  },
118
279
  additionalProperties: false
119
280
  } as const;
120
281
 
121
- export const $UniRefund_FinanceService_Billings_CreateBillingDto = {
122
- required: ['date', 'dueDate', 'merchantId', 'number', 'paymentStatus', 'period', 'status', 'total', 'unpaid'],
282
+ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto = {
283
+ required: ['billingPeriod', 'deliveryMethod', 'dueDate', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid', 'vatStatementDate'],
123
284
  type: 'object',
124
285
  properties: {
125
- merchantId: {
286
+ id: {
126
287
  type: 'string',
127
288
  format: 'uuid'
128
289
  },
129
- date: {
290
+ creationTime: {
130
291
  type: 'string',
131
292
  format: 'date-time'
132
293
  },
133
- number: {
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
+ merchantId: {
327
+ type: 'string',
328
+ format: 'uuid'
329
+ },
330
+ tagCount: {
134
331
  type: 'integer',
135
332
  format: 'int32'
136
333
  },
334
+ merchantName: {
335
+ minLength: 1,
336
+ type: 'string'
337
+ },
338
+ vatStatementDate: {
339
+ type: 'string',
340
+ format: 'date-time'
341
+ },
137
342
  dueDate: {
138
343
  type: 'string',
139
344
  format: 'date-time'
140
345
  },
141
346
  total: {
142
347
  type: 'number',
143
- format: 'float'
348
+ format: 'double'
144
349
  },
145
350
  unpaid: {
146
351
  type: 'number',
147
- format: 'float'
352
+ format: 'double'
148
353
  },
149
354
  status: {
150
- enum: ['PAID', 'CREDITNOTE', 'CANCELLED', 'UNFINISHED', 'SENT'],
355
+ enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
151
356
  type: 'string'
152
357
  },
153
- period: {
154
- enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
358
+ billingPeriod: {
359
+ enum: ['OneTimePerMonth', 'TwoTimesPerMonth'],
155
360
  type: 'string'
156
361
  },
362
+ termOfPayment: {
363
+ type: 'integer',
364
+ format: 'int32'
365
+ },
157
366
  paymentStatus: {
158
- enum: ['PAID', 'NOTPAID', 'PARTIALLYPAID'],
367
+ enum: ['NotPaid', 'PartlyPaid', 'Paid', 'OverPaid'],
159
368
  type: 'string'
369
+ },
370
+ isFactoring: {
371
+ type: 'boolean'
372
+ },
373
+ referenceDateBegin: {
374
+ type: 'string',
375
+ format: 'date-time'
376
+ },
377
+ referenceDateEnd: {
378
+ type: 'string',
379
+ format: 'date-time'
380
+ },
381
+ deliveryMethod: {
382
+ enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
383
+ type: 'string'
384
+ },
385
+ customerNumber: {
386
+ type: 'string',
387
+ nullable: true
388
+ },
389
+ referenceNumber: {
390
+ type: 'string',
391
+ nullable: true
392
+ },
393
+ yourReference: {
394
+ type: 'string',
395
+ nullable: true
396
+ },
397
+ contractHeaderId: {
398
+ type: 'string',
399
+ format: 'uuid'
400
+ },
401
+ vatStatementTagDetails: {
402
+ type: 'array',
403
+ items: {
404
+ required: ['grandTotal', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
405
+ type: 'object',
406
+ properties: {
407
+ id: {
408
+ type: 'string',
409
+ format: 'uuid'
410
+ },
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: {
444
+ type: 'string',
445
+ format: 'uuid'
446
+ },
447
+ tagNumber: {
448
+ minLength: 1,
449
+ type: 'string'
450
+ },
451
+ refundDate: {
452
+ type: 'string',
453
+ format: 'date-time'
454
+ },
455
+ grandTotal: {
456
+ type: 'number',
457
+ format: 'double'
458
+ },
459
+ taxAmount: {
460
+ type: 'number',
461
+ format: 'double'
462
+ },
463
+ refundAmount: {
464
+ type: 'number',
465
+ format: 'double'
466
+ },
467
+ correctedAmount: {
468
+ type: 'number',
469
+ format: 'double',
470
+ nullable: true
471
+ }
472
+ },
473
+ additionalProperties: false
474
+ },
475
+ nullable: true
160
476
  }
161
477
  },
162
478
  additionalProperties: false
163
479
  } as const;
164
480
 
165
- export const $UniRefund_FinanceService_Billings_UpdateBillingDto = {
166
- required: ['date', 'dueDate', 'merchantId', 'number', 'paymentStatus', 'period', 'total', 'unpaid'],
481
+ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderForListDto = {
482
+ required: ['dueDate', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'status', 'tagCount', 'total', 'unpaid', 'vatStatementDate'],
167
483
  type: 'object',
168
484
  properties: {
169
- merchantId: {
485
+ id: {
170
486
  type: 'string',
171
487
  format: 'uuid'
172
488
  },
173
- date: {
489
+ invoiceNumber: {
490
+ minLength: 1,
491
+ type: 'string'
492
+ },
493
+ merchantId: {
174
494
  type: 'string',
175
- format: 'date-time'
495
+ format: 'uuid'
176
496
  },
177
- number: {
497
+ tagCount: {
178
498
  type: 'integer',
179
499
  format: 'int32'
180
500
  },
501
+ merchantName: {
502
+ minLength: 1,
503
+ type: 'string'
504
+ },
505
+ vatStatementDate: {
506
+ type: 'string',
507
+ format: 'date-time'
508
+ },
181
509
  dueDate: {
182
510
  type: 'string',
183
511
  format: 'date-time'
184
512
  },
185
513
  total: {
186
514
  type: 'number',
187
- format: 'float'
515
+ format: 'double'
188
516
  },
189
517
  unpaid: {
190
518
  type: 'number',
191
- format: 'float'
519
+ format: 'double'
192
520
  },
193
521
  status: {
194
- enum: ['PAID', 'CREDITNOTE', 'CANCELLED', 'UNFINISHED', 'SENT'],
195
- type: 'string'
196
- },
197
- period: {
198
- enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
522
+ enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
199
523
  type: 'string'
200
524
  },
201
525
  paymentStatus: {
202
- enum: ['PAID', 'NOTPAID', 'PARTIALLYPAID'],
526
+ enum: ['NotPaid', 'PartlyPaid', 'Paid', 'OverPaid'],
203
527
  type: 'string'
204
528
  }
205
529
  },
206
530
  additionalProperties: false
207
531
  } as const;
208
532
 
209
- export const $UniRefund_FinanceService_Enums_BillingPaymentStatusCode = {
210
- enum: ['PAID', 'NOTPAID', 'PARTIALLYPAID'],
211
- type: 'string'
212
- } as const;
213
-
214
- export const $UniRefund_FinanceService_Enums_BillingPeriodCode = {
215
- enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
216
- type: 'string'
533
+ export const $UniRefund_FinanceService_VATStatementTagDetails_VATStatementTagDetailDto = {
534
+ required: ['grandTotal', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
535
+ type: 'object',
536
+ properties: {
537
+ id: {
538
+ type: 'string',
539
+ format: 'uuid'
540
+ },
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: {
574
+ type: 'string',
575
+ format: 'uuid'
576
+ },
577
+ tagNumber: {
578
+ minLength: 1,
579
+ type: 'string'
580
+ },
581
+ refundDate: {
582
+ type: 'string',
583
+ format: 'date-time'
584
+ },
585
+ grandTotal: {
586
+ type: 'number',
587
+ format: 'double'
588
+ },
589
+ taxAmount: {
590
+ type: 'number',
591
+ format: 'double'
592
+ },
593
+ refundAmount: {
594
+ type: 'number',
595
+ format: 'double'
596
+ },
597
+ correctedAmount: {
598
+ type: 'number',
599
+ format: 'double',
600
+ nullable: true
601
+ }
602
+ },
603
+ additionalProperties: false
217
604
  } as const;
218
605
 
219
- export const $UniRefund_FinanceService_Enums_BillingStatusCode = {
220
- enum: ['PAID', 'CREDITNOTE', 'CANCELLED', 'UNFINISHED', 'SENT'],
221
- type: 'string'
606
+ export const $UniRefund_FinanceService_VATStatementTagDetails_VATStatementTagDetailWithoutAuditedDto = {
607
+ required: ['grandTotal', 'refundAmount', 'refundDate', 'tagId', 'tagNumber', 'taxAmount'],
608
+ type: 'object',
609
+ properties: {
610
+ tagId: {
611
+ type: 'string',
612
+ format: 'uuid'
613
+ },
614
+ tagNumber: {
615
+ minLength: 1,
616
+ type: 'string'
617
+ },
618
+ refundDate: {
619
+ type: 'string',
620
+ format: 'date-time'
621
+ },
622
+ grandTotal: {
623
+ type: 'number',
624
+ format: 'double'
625
+ },
626
+ taxAmount: {
627
+ type: 'number',
628
+ format: 'double'
629
+ },
630
+ refundAmount: {
631
+ type: 'number',
632
+ format: 'double'
633
+ },
634
+ correctedAmount: {
635
+ type: 'number',
636
+ format: 'double',
637
+ nullable: true
638
+ }
639
+ },
640
+ additionalProperties: false
222
641
  } as const;
223
642
 
224
643
  export const $Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto = {