@ayasofyazilim/saas 0.0.52 → 0.0.53

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,6 +1,87 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
- export const $UniRefund_ContractService_Contracts_ContractHeaderRefundTableHeaders_ContractHeaderRefundTableHeaderCreateDto = {
3
+ export const $UniRefund_CRMService_Individuals_IndividualIdNameDto = {
4
+ type: 'object',
5
+ properties: {
6
+ id: {
7
+ type: 'string',
8
+ format: 'uuid'
9
+ },
10
+ name: {
11
+ type: 'string',
12
+ nullable: true
13
+ }
14
+ },
15
+ additionalProperties: false
16
+ } as const;
17
+
18
+ export const $UniRefund_CRMService_Merchants_MerchantBasicInformationDto = {
19
+ type: 'object',
20
+ properties: {
21
+ id: {
22
+ type: 'string',
23
+ format: 'uuid'
24
+ },
25
+ name: {
26
+ type: 'string',
27
+ nullable: true
28
+ },
29
+ taxOffice: {
30
+ type: 'object',
31
+ properties: {
32
+ id: {
33
+ type: 'string',
34
+ format: 'uuid'
35
+ },
36
+ name: {
37
+ type: 'string',
38
+ nullable: true
39
+ }
40
+ },
41
+ additionalProperties: false
42
+ },
43
+ numberOfStores: {
44
+ type: 'integer',
45
+ format: 'int32'
46
+ },
47
+ accountManagers: {
48
+ type: 'array',
49
+ items: {
50
+ type: 'object',
51
+ properties: {
52
+ id: {
53
+ type: 'string',
54
+ format: 'uuid'
55
+ },
56
+ name: {
57
+ type: 'string',
58
+ nullable: true
59
+ }
60
+ },
61
+ additionalProperties: false
62
+ },
63
+ nullable: true
64
+ }
65
+ },
66
+ additionalProperties: false
67
+ } as const;
68
+
69
+ export const $UniRefund_CRMService_TaxOffices_TaxOfficeIdNameDto = {
70
+ type: 'object',
71
+ properties: {
72
+ id: {
73
+ type: 'string',
74
+ format: 'uuid'
75
+ },
76
+ name: {
77
+ type: 'string',
78
+ nullable: true
79
+ }
80
+ },
81
+ additionalProperties: false
82
+ } as const;
83
+
84
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaderRefundTableHeaders_ContractHeaderRefundTableHeaderCreateDto = {
4
85
  required: ['refundTableHeaderId'],
5
86
  type: 'object',
6
87
  properties: {
@@ -21,7 +102,7 @@ export const $UniRefund_ContractService_Contracts_ContractHeaderRefundTableHeade
21
102
  additionalProperties: false
22
103
  } as const;
23
104
 
24
- export const $UniRefund_ContractService_Contracts_ContractHeaderRefundTableHeaders_ContractHeaderRefundTableHeaderDto = {
105
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaderRefundTableHeaders_ContractHeaderRefundTableHeaderDto = {
25
106
  required: ['id', 'refundTableHeader'],
26
107
  type: 'object',
27
108
  properties: {
@@ -202,8 +283,7 @@ export const $UniRefund_ContractService_Contracts_ContractHeaderRefundTableHeade
202
283
  additionalProperties: false
203
284
  } as const;
204
285
 
205
- export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeaderCreateDto = {
206
- required: ['addressId', 'contractSettings', 'merchantId', 'rebateSetting'],
286
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaderRefundTableHeaders_ContractHeaderRefundTableHeaderForMerchantUpdateDto = {
207
287
  type: 'object',
208
288
  properties: {
209
289
  extraProperties: {
@@ -212,123 +292,587 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
212
292
  nullable: true,
213
293
  readOnly: true
214
294
  },
215
- merchantId: {
295
+ id: {
216
296
  type: 'string',
217
297
  format: 'uuid'
218
298
  },
219
- addressId: {
299
+ isDefault: {
300
+ type: 'boolean'
301
+ }
302
+ },
303
+ additionalProperties: false
304
+ } as const;
305
+
306
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderDetailForMerchantDto = {
307
+ required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractType', 'contractTypeIdentifier', 'id', 'merchantClassification', 'name'],
308
+ type: 'object',
309
+ properties: {
310
+ id: {
220
311
  type: 'string',
221
312
  format: 'uuid'
222
313
  },
223
- rebateSetting: {
224
- required: ['contactInformationTypeId', 'isTrustedMerchant', 'rebateStatementPeriod', 'referenceNumber'],
314
+ creationTime: {
315
+ type: 'string',
316
+ format: 'date-time'
317
+ },
318
+ creatorId: {
319
+ type: 'string',
320
+ format: 'uuid',
321
+ nullable: true
322
+ },
323
+ lastModificationTime: {
324
+ type: 'string',
325
+ format: 'date-time',
326
+ nullable: true
327
+ },
328
+ lastModifierId: {
329
+ type: 'string',
330
+ format: 'uuid',
331
+ nullable: true
332
+ },
333
+ isDeleted: {
334
+ type: 'boolean'
335
+ },
336
+ deleterId: {
337
+ type: 'string',
338
+ format: 'uuid',
339
+ nullable: true
340
+ },
341
+ deletionTime: {
342
+ type: 'string',
343
+ format: 'date-time',
344
+ nullable: true
345
+ },
346
+ name: {
347
+ minLength: 1,
348
+ type: 'string'
349
+ },
350
+ contractTypeIdentifier: {
351
+ type: 'string',
352
+ format: 'uuid'
353
+ },
354
+ webSite: {
355
+ maxLength: 1024,
356
+ minLength: 0,
357
+ type: 'string',
358
+ nullable: true
359
+ },
360
+ merchantClassification: {
361
+ enum: ['Excellent', 'Good', 'Satisfactory', 'Low'],
362
+ type: 'string'
363
+ },
364
+ merchantBasicInformationDto: {
225
365
  type: 'object',
226
366
  properties: {
227
- extraProperties: {
228
- type: 'object',
229
- additionalProperties: {},
230
- nullable: true,
231
- readOnly: true
367
+ id: {
368
+ type: 'string',
369
+ format: 'uuid'
232
370
  },
233
- referenceNumber: {
234
- type: 'number',
235
- format: 'double'
371
+ name: {
372
+ type: 'string',
373
+ nullable: true
236
374
  },
237
- isTrustedMerchant: {
238
- type: 'boolean'
375
+ taxOffice: {
376
+ type: 'object',
377
+ properties: {
378
+ id: {
379
+ type: 'string',
380
+ format: 'uuid'
381
+ },
382
+ name: {
383
+ type: 'string',
384
+ nullable: true
385
+ }
386
+ },
387
+ additionalProperties: false
239
388
  },
240
- rebateStatementPeriod: {
241
- enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
242
- type: 'string'
389
+ numberOfStores: {
390
+ type: 'integer',
391
+ format: 'int32'
243
392
  },
244
- rebateTableHeaders: {
393
+ accountManagers: {
245
394
  type: 'array',
246
395
  items: {
247
- required: ['name', 'validFrom', 'validTo'],
248
396
  type: 'object',
249
397
  properties: {
250
- extraProperties: {
251
- type: 'object',
252
- additionalProperties: {},
253
- nullable: true,
254
- readOnly: true
255
- },
256
- name: {
257
- maxLength: 255,
258
- minLength: 0,
259
- type: 'string'
260
- },
261
- calculateNetCommissionInsteadOfRefund: {
262
- type: 'boolean'
263
- },
264
- validFrom: {
398
+ id: {
265
399
  type: 'string',
266
- format: 'date-time'
400
+ format: 'uuid'
267
401
  },
268
- validTo: {
402
+ name: {
269
403
  type: 'string',
270
- format: 'date-time'
271
- },
272
- isTemplate: {
273
- type: 'boolean'
274
- },
275
- rebateTableDetails: {
276
- type: 'array',
277
- items: {
278
- required: ['fixedFeeValue', 'percentFeeValue', 'refundMethod', 'variableFee'],
279
- type: 'object',
280
- properties: {
281
- extraProperties: {
282
- type: 'object',
283
- additionalProperties: {},
284
- nullable: true,
285
- readOnly: true
286
- },
287
- fixedFeeValue: {
288
- type: 'number',
289
- format: 'double'
290
- },
291
- percentFeeValue: {
292
- type: 'number',
293
- format: 'double'
294
- },
295
- refundMethod: {
296
- enum: ['All', 'Cash', 'CreditCard', 'Alipay', 'WeChat', 'CashViaPartner', 'RefundLater'],
297
- type: 'string'
298
- },
299
- variableFee: {
300
- enum: ['PercentOfGC', 'PercentOfGcWithoutVAT', 'PercentOfVAT', 'PercentOfSIS'],
301
- type: 'string'
302
- }
303
- },
304
- additionalProperties: false
305
- },
306
- nullable: true
307
- },
308
- processingFeeDetails: {
309
- type: 'array',
310
- items: {
311
- required: ['amount', 'name'],
312
- type: 'object',
313
- properties: {
314
- extraProperties: {
315
- type: 'object',
316
- additionalProperties: {},
317
- nullable: true,
318
- readOnly: true
319
- },
320
- name: {
321
- maxLength: 255,
322
- minLength: 0,
323
- type: 'string'
324
- },
325
- amount: {
326
- type: 'number',
327
- format: 'double'
328
- }
329
- },
330
- additionalProperties: false
331
- },
404
+ nullable: true
405
+ }
406
+ },
407
+ additionalProperties: false
408
+ },
409
+ nullable: true
410
+ }
411
+ },
412
+ additionalProperties: false
413
+ },
414
+ contractType: {
415
+ enum: ['Merchant', 'RefundPoint'],
416
+ type: 'string'
417
+ },
418
+ addressCommonData: {
419
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
420
+ type: 'object',
421
+ properties: {
422
+ id: {
423
+ type: 'string',
424
+ format: 'uuid'
425
+ },
426
+ creationTime: {
427
+ type: 'string',
428
+ format: 'date-time'
429
+ },
430
+ creatorId: {
431
+ type: 'string',
432
+ format: 'uuid',
433
+ nullable: true
434
+ },
435
+ lastModificationTime: {
436
+ type: 'string',
437
+ format: 'date-time',
438
+ nullable: true
439
+ },
440
+ lastModifierId: {
441
+ type: 'string',
442
+ format: 'uuid',
443
+ nullable: true
444
+ },
445
+ isDeleted: {
446
+ type: 'boolean'
447
+ },
448
+ deleterId: {
449
+ type: 'string',
450
+ format: 'uuid',
451
+ nullable: true
452
+ },
453
+ deletionTime: {
454
+ type: 'string',
455
+ format: 'date-time',
456
+ nullable: true
457
+ },
458
+ type: {
459
+ enum: ['Home', 'Office'],
460
+ type: 'string'
461
+ },
462
+ addressLine: {
463
+ maxLength: 255,
464
+ minLength: 0,
465
+ type: 'string'
466
+ },
467
+ postalCode: {
468
+ maxLength: 255,
469
+ minLength: 0,
470
+ type: 'string'
471
+ },
472
+ fullAddress: {
473
+ maxLength: 255,
474
+ minLength: 0,
475
+ type: 'string'
476
+ },
477
+ primaryFlag: {
478
+ type: 'boolean'
479
+ },
480
+ countryId: {
481
+ type: 'string',
482
+ format: 'uuid'
483
+ },
484
+ regionId: {
485
+ type: 'string',
486
+ format: 'uuid',
487
+ nullable: true
488
+ },
489
+ cityId: {
490
+ type: 'string',
491
+ format: 'uuid'
492
+ },
493
+ districtId: {
494
+ type: 'string',
495
+ format: 'uuid'
496
+ },
497
+ neighborhoodId: {
498
+ type: 'string',
499
+ format: 'uuid',
500
+ nullable: true
501
+ }
502
+ },
503
+ additionalProperties: false
504
+ },
505
+ contractHeaderRefundTableHeaders: {
506
+ type: 'array',
507
+ items: {
508
+ required: ['id', 'refundTableHeader'],
509
+ type: 'object',
510
+ properties: {
511
+ id: {
512
+ type: 'string',
513
+ format: 'uuid'
514
+ },
515
+ creationTime: {
516
+ type: 'string',
517
+ format: 'date-time'
518
+ },
519
+ creatorId: {
520
+ type: 'string',
521
+ format: 'uuid',
522
+ nullable: true
523
+ },
524
+ lastModificationTime: {
525
+ type: 'string',
526
+ format: 'date-time',
527
+ nullable: true
528
+ },
529
+ lastModifierId: {
530
+ type: 'string',
531
+ format: 'uuid',
532
+ nullable: true
533
+ },
534
+ isDeleted: {
535
+ type: 'boolean'
536
+ },
537
+ deleterId: {
538
+ type: 'string',
539
+ format: 'uuid',
540
+ nullable: true
541
+ },
542
+ deletionTime: {
543
+ type: 'string',
544
+ format: 'date-time',
545
+ nullable: true
546
+ },
547
+ refundTableHeader: {
548
+ required: ['id', 'name'],
549
+ type: 'object',
550
+ properties: {
551
+ id: {
552
+ type: 'string',
553
+ format: 'uuid'
554
+ },
555
+ creationTime: {
556
+ type: 'string',
557
+ format: 'date-time'
558
+ },
559
+ creatorId: {
560
+ type: 'string',
561
+ format: 'uuid',
562
+ nullable: true
563
+ },
564
+ lastModificationTime: {
565
+ type: 'string',
566
+ format: 'date-time',
567
+ nullable: true
568
+ },
569
+ lastModifierId: {
570
+ type: 'string',
571
+ format: 'uuid',
572
+ nullable: true
573
+ },
574
+ isDeleted: {
575
+ type: 'boolean'
576
+ },
577
+ deleterId: {
578
+ type: 'string',
579
+ format: 'uuid',
580
+ nullable: true
581
+ },
582
+ deletionTime: {
583
+ type: 'string',
584
+ format: 'date-time',
585
+ nullable: true
586
+ },
587
+ name: {
588
+ maxLength: 255,
589
+ minLength: 0,
590
+ type: 'string'
591
+ },
592
+ isDefault: {
593
+ type: 'boolean'
594
+ },
595
+ isBundling: {
596
+ type: 'boolean'
597
+ },
598
+ validFrom: {
599
+ type: 'string',
600
+ format: 'date-time',
601
+ nullable: true
602
+ },
603
+ validTo: {
604
+ type: 'string',
605
+ format: 'date-time',
606
+ nullable: true
607
+ },
608
+ refundTableDetails: {
609
+ type: 'array',
610
+ items: {
611
+ required: ['id', 'vatRate'],
612
+ type: 'object',
613
+ properties: {
614
+ id: {
615
+ type: 'string',
616
+ format: 'uuid'
617
+ },
618
+ creationTime: {
619
+ type: 'string',
620
+ format: 'date-time'
621
+ },
622
+ creatorId: {
623
+ type: 'string',
624
+ format: 'uuid',
625
+ nullable: true
626
+ },
627
+ lastModificationTime: {
628
+ type: 'string',
629
+ format: 'date-time',
630
+ nullable: true
631
+ },
632
+ lastModifierId: {
633
+ type: 'string',
634
+ format: 'uuid',
635
+ nullable: true
636
+ },
637
+ isDeleted: {
638
+ type: 'boolean'
639
+ },
640
+ deleterId: {
641
+ type: 'string',
642
+ format: 'uuid',
643
+ nullable: true
644
+ },
645
+ deletionTime: {
646
+ type: 'string',
647
+ format: 'date-time',
648
+ nullable: true
649
+ },
650
+ vatRate: {
651
+ type: 'number',
652
+ format: 'double'
653
+ },
654
+ minValue: {
655
+ type: 'number',
656
+ format: 'double'
657
+ },
658
+ maxValue: {
659
+ type: 'number',
660
+ format: 'double'
661
+ },
662
+ refundAmount: {
663
+ type: 'number',
664
+ format: 'double'
665
+ },
666
+ refundPercent: {
667
+ type: 'number',
668
+ format: 'double'
669
+ },
670
+ isLoyalty: {
671
+ type: 'boolean'
672
+ }
673
+ },
674
+ additionalProperties: false
675
+ },
676
+ nullable: true
677
+ }
678
+ },
679
+ additionalProperties: false
680
+ },
681
+ isDefault: {
682
+ type: 'boolean'
683
+ }
684
+ },
685
+ additionalProperties: false
686
+ }
687
+ }
688
+ },
689
+ additionalProperties: false
690
+ } as const;
691
+
692
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderForMerchantCreateDto = {
693
+ required: ['addressCommonData', 'contractSettings', 'contractTypeIdentifier', 'merchantClassification', 'rebateSetting'],
694
+ type: 'object',
695
+ properties: {
696
+ extraProperties: {
697
+ type: 'object',
698
+ additionalProperties: {},
699
+ nullable: true,
700
+ readOnly: true
701
+ },
702
+ contractTypeIdentifier: {
703
+ type: 'string',
704
+ format: 'uuid'
705
+ },
706
+ webSite: {
707
+ maxLength: 1024,
708
+ minLength: 0,
709
+ type: 'string',
710
+ nullable: true
711
+ },
712
+ merchantClassification: {
713
+ enum: ['Excellent', 'Good', 'Satisfactory', 'Low'],
714
+ type: 'string'
715
+ },
716
+ addressCommonData: {
717
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
718
+ type: 'object',
719
+ properties: {
720
+ extraProperties: {
721
+ type: 'object',
722
+ additionalProperties: {},
723
+ nullable: true,
724
+ readOnly: true
725
+ },
726
+ type: {
727
+ enum: ['Home', 'Office'],
728
+ type: 'string'
729
+ },
730
+ addressLine: {
731
+ maxLength: 255,
732
+ minLength: 0,
733
+ type: 'string'
734
+ },
735
+ postalCode: {
736
+ maxLength: 255,
737
+ minLength: 0,
738
+ type: 'string'
739
+ },
740
+ primaryFlag: {
741
+ type: 'boolean'
742
+ },
743
+ countryId: {
744
+ type: 'string',
745
+ format: 'uuid'
746
+ },
747
+ regionId: {
748
+ type: 'string',
749
+ format: 'uuid',
750
+ nullable: true
751
+ },
752
+ cityId: {
753
+ type: 'string',
754
+ format: 'uuid',
755
+ nullable: true
756
+ },
757
+ districtId: {
758
+ type: 'string',
759
+ format: 'uuid',
760
+ nullable: true
761
+ },
762
+ neighborhoodId: {
763
+ type: 'string',
764
+ format: 'uuid',
765
+ nullable: true
766
+ }
767
+ },
768
+ additionalProperties: false
769
+ },
770
+ rebateSetting: {
771
+ required: ['contactInformationTypeId', 'isTrustedMerchant', 'rebateStatementPeriod', 'referenceNumber'],
772
+ type: 'object',
773
+ properties: {
774
+ extraProperties: {
775
+ type: 'object',
776
+ additionalProperties: {},
777
+ nullable: true,
778
+ readOnly: true
779
+ },
780
+ referenceNumber: {
781
+ type: 'number',
782
+ format: 'double'
783
+ },
784
+ isTrustedMerchant: {
785
+ type: 'boolean'
786
+ },
787
+ rebateStatementPeriod: {
788
+ enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
789
+ type: 'string'
790
+ },
791
+ rebateTableHeaders: {
792
+ type: 'array',
793
+ items: {
794
+ required: ['name', 'validFrom', 'validTo'],
795
+ type: 'object',
796
+ properties: {
797
+ extraProperties: {
798
+ type: 'object',
799
+ additionalProperties: {},
800
+ nullable: true,
801
+ readOnly: true
802
+ },
803
+ name: {
804
+ maxLength: 255,
805
+ minLength: 0,
806
+ type: 'string'
807
+ },
808
+ calculateNetCommissionInsteadOfRefund: {
809
+ type: 'boolean'
810
+ },
811
+ validFrom: {
812
+ type: 'string',
813
+ format: 'date-time'
814
+ },
815
+ validTo: {
816
+ type: 'string',
817
+ format: 'date-time'
818
+ },
819
+ rebateTableDetails: {
820
+ type: 'array',
821
+ items: {
822
+ required: ['fixedFeeValue', 'percentFeeValue', 'refundMethod', 'variableFee'],
823
+ type: 'object',
824
+ properties: {
825
+ extraProperties: {
826
+ type: 'object',
827
+ additionalProperties: {},
828
+ nullable: true,
829
+ readOnly: true
830
+ },
831
+ fixedFeeValue: {
832
+ type: 'number',
833
+ format: 'double'
834
+ },
835
+ percentFeeValue: {
836
+ type: 'number',
837
+ format: 'double'
838
+ },
839
+ refundMethod: {
840
+ enum: ['All', 'Cash', 'CreditCard', 'Alipay', 'WeChat', 'CashViaPartner', 'RefundLater'],
841
+ type: 'string'
842
+ },
843
+ variableFee: {
844
+ enum: ['PercentOfGC', 'PercentOfGcWithoutVAT', 'PercentOfVAT', 'PercentOfSIS'],
845
+ type: 'string'
846
+ }
847
+ },
848
+ additionalProperties: false
849
+ },
850
+ nullable: true
851
+ },
852
+ processingFeeDetails: {
853
+ type: 'array',
854
+ items: {
855
+ required: ['amount', 'name'],
856
+ type: 'object',
857
+ properties: {
858
+ extraProperties: {
859
+ type: 'object',
860
+ additionalProperties: {},
861
+ nullable: true,
862
+ readOnly: true
863
+ },
864
+ name: {
865
+ maxLength: 255,
866
+ minLength: 0,
867
+ type: 'string'
868
+ },
869
+ amount: {
870
+ type: 'number',
871
+ format: 'double'
872
+ }
873
+ },
874
+ additionalProperties: false
875
+ },
332
876
  nullable: true
333
877
  }
334
878
  },
@@ -388,7 +932,7 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
388
932
  contractSettings: {
389
933
  type: 'array',
390
934
  items: {
391
- required: ['invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
935
+ required: ['invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
392
936
  type: 'object',
393
937
  properties: {
394
938
  extraProperties: {
@@ -423,9 +967,59 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
423
967
  factoring: {
424
968
  type: 'boolean'
425
969
  },
426
- invoicingAddressId: {
427
- type: 'string',
428
- format: 'uuid'
970
+ invoicingAddressCommonData: {
971
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
972
+ type: 'object',
973
+ properties: {
974
+ extraProperties: {
975
+ type: 'object',
976
+ additionalProperties: {},
977
+ nullable: true,
978
+ readOnly: true
979
+ },
980
+ type: {
981
+ enum: ['Home', 'Office'],
982
+ type: 'string'
983
+ },
984
+ addressLine: {
985
+ maxLength: 255,
986
+ minLength: 0,
987
+ type: 'string'
988
+ },
989
+ postalCode: {
990
+ maxLength: 255,
991
+ minLength: 0,
992
+ type: 'string'
993
+ },
994
+ primaryFlag: {
995
+ type: 'boolean'
996
+ },
997
+ countryId: {
998
+ type: 'string',
999
+ format: 'uuid'
1000
+ },
1001
+ regionId: {
1002
+ type: 'string',
1003
+ format: 'uuid',
1004
+ nullable: true
1005
+ },
1006
+ cityId: {
1007
+ type: 'string',
1008
+ format: 'uuid',
1009
+ nullable: true
1010
+ },
1011
+ districtId: {
1012
+ type: 'string',
1013
+ format: 'uuid',
1014
+ nullable: true
1015
+ },
1016
+ neighborhoodId: {
1017
+ type: 'string',
1018
+ format: 'uuid',
1019
+ nullable: true
1020
+ }
1021
+ },
1022
+ additionalProperties: false
429
1023
  },
430
1024
  invoiceChannel: {
431
1025
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
@@ -452,31 +1046,6 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
452
1046
  },
453
1047
  deskoScanner: {
454
1048
  type: 'boolean'
455
- },
456
- contractStores: {
457
- type: 'array',
458
- items: {
459
- required: ['merchantId', 'receiptType'],
460
- type: 'object',
461
- properties: {
462
- extraProperties: {
463
- type: 'object',
464
- additionalProperties: {},
465
- nullable: true,
466
- readOnly: true
467
- },
468
- merchantId: {
469
- type: 'string',
470
- format: 'uuid'
471
- },
472
- receiptType: {
473
- enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
474
- type: 'string'
475
- }
476
- },
477
- additionalProperties: false
478
- },
479
- nullable: true
480
1049
  }
481
1050
  },
482
1051
  additionalProperties: false
@@ -510,8 +1079,8 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
510
1079
  additionalProperties: false
511
1080
  } as const;
512
1081
 
513
- export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeaderDto = {
514
- required: ['addressId', 'contractHeaderRefundTableHeaders', 'contractSettings', 'id', 'merchantId', 'rebateSetting'],
1082
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderForMerchantDto = {
1083
+ required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractSettings', 'contractType', 'contractTypeIdentifier', 'id', 'name', 'rebateSetting'],
515
1084
  type: 'object',
516
1085
  properties: {
517
1086
  id: {
@@ -550,16 +1119,107 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
550
1119
  format: 'date-time',
551
1120
  nullable: true
552
1121
  },
553
- merchantId: {
554
- type: 'string',
555
- format: 'uuid'
1122
+ name: {
1123
+ minLength: 1,
1124
+ type: 'string'
556
1125
  },
557
- addressId: {
1126
+ contractTypeIdentifier: {
558
1127
  type: 'string',
559
1128
  format: 'uuid'
560
1129
  },
1130
+ contractType: {
1131
+ enum: ['Merchant', 'RefundPoint'],
1132
+ type: 'string'
1133
+ },
1134
+ addressCommonData: {
1135
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
1136
+ type: 'object',
1137
+ properties: {
1138
+ id: {
1139
+ type: 'string',
1140
+ format: 'uuid'
1141
+ },
1142
+ creationTime: {
1143
+ type: 'string',
1144
+ format: 'date-time'
1145
+ },
1146
+ creatorId: {
1147
+ type: 'string',
1148
+ format: 'uuid',
1149
+ nullable: true
1150
+ },
1151
+ lastModificationTime: {
1152
+ type: 'string',
1153
+ format: 'date-time',
1154
+ nullable: true
1155
+ },
1156
+ lastModifierId: {
1157
+ type: 'string',
1158
+ format: 'uuid',
1159
+ nullable: true
1160
+ },
1161
+ isDeleted: {
1162
+ type: 'boolean'
1163
+ },
1164
+ deleterId: {
1165
+ type: 'string',
1166
+ format: 'uuid',
1167
+ nullable: true
1168
+ },
1169
+ deletionTime: {
1170
+ type: 'string',
1171
+ format: 'date-time',
1172
+ nullable: true
1173
+ },
1174
+ type: {
1175
+ enum: ['Home', 'Office'],
1176
+ type: 'string'
1177
+ },
1178
+ addressLine: {
1179
+ maxLength: 255,
1180
+ minLength: 0,
1181
+ type: 'string'
1182
+ },
1183
+ postalCode: {
1184
+ maxLength: 255,
1185
+ minLength: 0,
1186
+ type: 'string'
1187
+ },
1188
+ fullAddress: {
1189
+ maxLength: 255,
1190
+ minLength: 0,
1191
+ type: 'string'
1192
+ },
1193
+ primaryFlag: {
1194
+ type: 'boolean'
1195
+ },
1196
+ countryId: {
1197
+ type: 'string',
1198
+ format: 'uuid'
1199
+ },
1200
+ regionId: {
1201
+ type: 'string',
1202
+ format: 'uuid',
1203
+ nullable: true
1204
+ },
1205
+ cityId: {
1206
+ type: 'string',
1207
+ format: 'uuid'
1208
+ },
1209
+ districtId: {
1210
+ type: 'string',
1211
+ format: 'uuid'
1212
+ },
1213
+ neighborhoodId: {
1214
+ type: 'string',
1215
+ format: 'uuid',
1216
+ nullable: true
1217
+ }
1218
+ },
1219
+ additionalProperties: false
1220
+ },
561
1221
  rebateSetting: {
562
- required: ['contactInformationTypeId', 'contractHeaderId', 'id', 'isTrustedMerchant', 'merchantId', 'rebateStatementPeriod', 'referenceNumber'],
1222
+ required: ['contactInformationTypeId', 'contractHeaderId', 'id', 'isTrustedMerchant', 'rebateStatementPeriod', 'referenceNumber'],
563
1223
  type: 'object',
564
1224
  properties: {
565
1225
  id: {
@@ -613,10 +1273,6 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
613
1273
  type: 'string',
614
1274
  format: 'uuid'
615
1275
  },
616
- merchantId: {
617
- type: 'string',
618
- format: 'uuid'
619
- },
620
1276
  contractHeaderId: {
621
1277
  type: 'string',
622
1278
  format: 'uuid'
@@ -1114,7 +1770,7 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
1114
1770
  contractSettings: {
1115
1771
  type: 'array',
1116
1772
  items: {
1117
- required: ['id', 'invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
1773
+ required: ['id', 'invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
1118
1774
  type: 'object',
1119
1775
  properties: {
1120
1776
  id: {
@@ -1179,9 +1835,92 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
1179
1835
  factoring: {
1180
1836
  type: 'boolean'
1181
1837
  },
1182
- invoicingAddressId: {
1183
- type: 'string',
1184
- format: 'uuid'
1838
+ invoicingAddressCommonData: {
1839
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
1840
+ type: 'object',
1841
+ properties: {
1842
+ id: {
1843
+ type: 'string',
1844
+ format: 'uuid'
1845
+ },
1846
+ creationTime: {
1847
+ type: 'string',
1848
+ format: 'date-time'
1849
+ },
1850
+ creatorId: {
1851
+ type: 'string',
1852
+ format: 'uuid',
1853
+ nullable: true
1854
+ },
1855
+ lastModificationTime: {
1856
+ type: 'string',
1857
+ format: 'date-time',
1858
+ nullable: true
1859
+ },
1860
+ lastModifierId: {
1861
+ type: 'string',
1862
+ format: 'uuid',
1863
+ nullable: true
1864
+ },
1865
+ isDeleted: {
1866
+ type: 'boolean'
1867
+ },
1868
+ deleterId: {
1869
+ type: 'string',
1870
+ format: 'uuid',
1871
+ nullable: true
1872
+ },
1873
+ deletionTime: {
1874
+ type: 'string',
1875
+ format: 'date-time',
1876
+ nullable: true
1877
+ },
1878
+ type: {
1879
+ enum: ['Home', 'Office'],
1880
+ type: 'string'
1881
+ },
1882
+ addressLine: {
1883
+ maxLength: 255,
1884
+ minLength: 0,
1885
+ type: 'string'
1886
+ },
1887
+ postalCode: {
1888
+ maxLength: 255,
1889
+ minLength: 0,
1890
+ type: 'string'
1891
+ },
1892
+ fullAddress: {
1893
+ maxLength: 255,
1894
+ minLength: 0,
1895
+ type: 'string'
1896
+ },
1897
+ primaryFlag: {
1898
+ type: 'boolean'
1899
+ },
1900
+ countryId: {
1901
+ type: 'string',
1902
+ format: 'uuid'
1903
+ },
1904
+ regionId: {
1905
+ type: 'string',
1906
+ format: 'uuid',
1907
+ nullable: true
1908
+ },
1909
+ cityId: {
1910
+ type: 'string',
1911
+ format: 'uuid'
1912
+ },
1913
+ districtId: {
1914
+ type: 'string',
1915
+ format: 'uuid'
1916
+ },
1917
+ neighborhoodId: {
1918
+ type: 'string',
1919
+ format: 'uuid',
1920
+ nullable: true
1921
+ }
1922
+ },
1923
+ additionalProperties: false
1185
1924
  },
1186
1925
  invoiceChannel: {
1187
1926
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
@@ -1212,61 +1951,6 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
1212
1951
  contractHeaderId: {
1213
1952
  type: 'string',
1214
1953
  format: 'uuid'
1215
- },
1216
- contractStores: {
1217
- type: 'array',
1218
- items: {
1219
- required: ['id', 'merchantId', 'receiptType'],
1220
- type: 'object',
1221
- properties: {
1222
- id: {
1223
- type: 'string',
1224
- format: 'uuid'
1225
- },
1226
- creationTime: {
1227
- type: 'string',
1228
- format: 'date-time'
1229
- },
1230
- creatorId: {
1231
- type: 'string',
1232
- format: 'uuid',
1233
- nullable: true
1234
- },
1235
- lastModificationTime: {
1236
- type: 'string',
1237
- format: 'date-time',
1238
- nullable: true
1239
- },
1240
- lastModifierId: {
1241
- type: 'string',
1242
- format: 'uuid',
1243
- nullable: true
1244
- },
1245
- isDeleted: {
1246
- type: 'boolean'
1247
- },
1248
- deleterId: {
1249
- type: 'string',
1250
- format: 'uuid',
1251
- nullable: true
1252
- },
1253
- deletionTime: {
1254
- type: 'string',
1255
- format: 'date-time',
1256
- nullable: true
1257
- },
1258
- merchantId: {
1259
- type: 'string',
1260
- format: 'uuid'
1261
- },
1262
- receiptType: {
1263
- enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
1264
- type: 'string'
1265
- }
1266
- },
1267
- additionalProperties: false
1268
- },
1269
- nullable: true
1270
1954
  }
1271
1955
  },
1272
1956
  additionalProperties: false
@@ -1276,8 +1960,8 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
1276
1960
  additionalProperties: false
1277
1961
  } as const;
1278
1962
 
1279
- export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeaderUpdateDto = {
1280
- required: ['addressId', 'merchantId'],
1963
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderForMerchantUpdateDto = {
1964
+ required: ['merchantClassification'],
1281
1965
  type: 'object',
1282
1966
  properties: {
1283
1967
  extraProperties: {
@@ -1286,20 +1970,99 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
1286
1970
  nullable: true,
1287
1971
  readOnly: true
1288
1972
  },
1289
- merchantId: {
1973
+ webSite: {
1974
+ maxLength: 1024,
1975
+ minLength: 0,
1290
1976
  type: 'string',
1291
- format: 'uuid'
1977
+ nullable: true
1292
1978
  },
1293
- addressId: {
1294
- type: 'string',
1295
- format: 'uuid'
1979
+ merchantClassification: {
1980
+ enum: ['Excellent', 'Good', 'Satisfactory', 'Low'],
1981
+ type: 'string'
1982
+ },
1983
+ addressCommonData: {
1984
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
1985
+ type: 'object',
1986
+ properties: {
1987
+ extraProperties: {
1988
+ type: 'object',
1989
+ additionalProperties: {},
1990
+ nullable: true,
1991
+ readOnly: true
1992
+ },
1993
+ type: {
1994
+ enum: ['Home', 'Office'],
1995
+ type: 'string'
1996
+ },
1997
+ addressLine: {
1998
+ maxLength: 255,
1999
+ minLength: 0,
2000
+ type: 'string'
2001
+ },
2002
+ postalCode: {
2003
+ maxLength: 255,
2004
+ minLength: 0,
2005
+ type: 'string'
2006
+ },
2007
+ primaryFlag: {
2008
+ type: 'boolean'
2009
+ },
2010
+ countryId: {
2011
+ type: 'string',
2012
+ format: 'uuid'
2013
+ },
2014
+ regionId: {
2015
+ type: 'string',
2016
+ format: 'uuid',
2017
+ nullable: true
2018
+ },
2019
+ cityId: {
2020
+ type: 'string',
2021
+ format: 'uuid',
2022
+ nullable: true
2023
+ },
2024
+ districtId: {
2025
+ type: 'string',
2026
+ format: 'uuid',
2027
+ nullable: true
2028
+ },
2029
+ neighborhoodId: {
2030
+ type: 'string',
2031
+ format: 'uuid',
2032
+ nullable: true
2033
+ }
2034
+ },
2035
+ additionalProperties: false
2036
+ },
2037
+ contractHeaderRefundTableHeaders: {
2038
+ type: 'array',
2039
+ items: {
2040
+ type: 'object',
2041
+ properties: {
2042
+ extraProperties: {
2043
+ type: 'object',
2044
+ additionalProperties: {},
2045
+ nullable: true,
2046
+ readOnly: true
2047
+ },
2048
+ id: {
2049
+ type: 'string',
2050
+ format: 'uuid'
2051
+ },
2052
+ isDefault: {
2053
+ type: 'boolean'
2054
+ }
2055
+ },
2056
+ additionalProperties: false
2057
+ },
2058
+ nullable: true
1296
2059
  }
1297
2060
  },
1298
2061
  additionalProperties: false
1299
2062
  } as const;
1300
2063
 
1301
- export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSettingCreateDto = {
1302
- required: ['invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
2064
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingCreateDto = {
2065
+ required: ['invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
1303
2066
  type: 'object',
1304
2067
  properties: {
1305
2068
  extraProperties: {
@@ -1334,9 +2097,59 @@ export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSetti
1334
2097
  factoring: {
1335
2098
  type: 'boolean'
1336
2099
  },
1337
- invoicingAddressId: {
1338
- type: 'string',
1339
- format: 'uuid'
2100
+ invoicingAddressCommonData: {
2101
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
2102
+ type: 'object',
2103
+ properties: {
2104
+ extraProperties: {
2105
+ type: 'object',
2106
+ additionalProperties: {},
2107
+ nullable: true,
2108
+ readOnly: true
2109
+ },
2110
+ type: {
2111
+ enum: ['Home', 'Office'],
2112
+ type: 'string'
2113
+ },
2114
+ addressLine: {
2115
+ maxLength: 255,
2116
+ minLength: 0,
2117
+ type: 'string'
2118
+ },
2119
+ postalCode: {
2120
+ maxLength: 255,
2121
+ minLength: 0,
2122
+ type: 'string'
2123
+ },
2124
+ primaryFlag: {
2125
+ type: 'boolean'
2126
+ },
2127
+ countryId: {
2128
+ type: 'string',
2129
+ format: 'uuid'
2130
+ },
2131
+ regionId: {
2132
+ type: 'string',
2133
+ format: 'uuid',
2134
+ nullable: true
2135
+ },
2136
+ cityId: {
2137
+ type: 'string',
2138
+ format: 'uuid',
2139
+ nullable: true
2140
+ },
2141
+ districtId: {
2142
+ type: 'string',
2143
+ format: 'uuid',
2144
+ nullable: true
2145
+ },
2146
+ neighborhoodId: {
2147
+ type: 'string',
2148
+ format: 'uuid',
2149
+ nullable: true
2150
+ }
2151
+ },
2152
+ additionalProperties: false
1340
2153
  },
1341
2154
  invoiceChannel: {
1342
2155
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
@@ -1363,38 +2176,13 @@ export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSetti
1363
2176
  },
1364
2177
  deskoScanner: {
1365
2178
  type: 'boolean'
1366
- },
1367
- contractStores: {
1368
- type: 'array',
1369
- items: {
1370
- required: ['merchantId', 'receiptType'],
1371
- type: 'object',
1372
- properties: {
1373
- extraProperties: {
1374
- type: 'object',
1375
- additionalProperties: {},
1376
- nullable: true,
1377
- readOnly: true
1378
- },
1379
- merchantId: {
1380
- type: 'string',
1381
- format: 'uuid'
1382
- },
1383
- receiptType: {
1384
- enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
1385
- type: 'string'
1386
- }
1387
- },
1388
- additionalProperties: false
1389
- },
1390
- nullable: true
1391
2179
  }
1392
2180
  },
1393
2181
  additionalProperties: false
1394
2182
  } as const;
1395
2183
 
1396
- export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSettingDto = {
1397
- required: ['id', 'invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
2184
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingDto = {
2185
+ required: ['id', 'invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
1398
2186
  type: 'object',
1399
2187
  properties: {
1400
2188
  id: {
@@ -1459,9 +2247,92 @@ export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSetti
1459
2247
  factoring: {
1460
2248
  type: 'boolean'
1461
2249
  },
1462
- invoicingAddressId: {
1463
- type: 'string',
1464
- format: 'uuid'
2250
+ invoicingAddressCommonData: {
2251
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
2252
+ type: 'object',
2253
+ properties: {
2254
+ id: {
2255
+ type: 'string',
2256
+ format: 'uuid'
2257
+ },
2258
+ creationTime: {
2259
+ type: 'string',
2260
+ format: 'date-time'
2261
+ },
2262
+ creatorId: {
2263
+ type: 'string',
2264
+ format: 'uuid',
2265
+ nullable: true
2266
+ },
2267
+ lastModificationTime: {
2268
+ type: 'string',
2269
+ format: 'date-time',
2270
+ nullable: true
2271
+ },
2272
+ lastModifierId: {
2273
+ type: 'string',
2274
+ format: 'uuid',
2275
+ nullable: true
2276
+ },
2277
+ isDeleted: {
2278
+ type: 'boolean'
2279
+ },
2280
+ deleterId: {
2281
+ type: 'string',
2282
+ format: 'uuid',
2283
+ nullable: true
2284
+ },
2285
+ deletionTime: {
2286
+ type: 'string',
2287
+ format: 'date-time',
2288
+ nullable: true
2289
+ },
2290
+ type: {
2291
+ enum: ['Home', 'Office'],
2292
+ type: 'string'
2293
+ },
2294
+ addressLine: {
2295
+ maxLength: 255,
2296
+ minLength: 0,
2297
+ type: 'string'
2298
+ },
2299
+ postalCode: {
2300
+ maxLength: 255,
2301
+ minLength: 0,
2302
+ type: 'string'
2303
+ },
2304
+ fullAddress: {
2305
+ maxLength: 255,
2306
+ minLength: 0,
2307
+ type: 'string'
2308
+ },
2309
+ primaryFlag: {
2310
+ type: 'boolean'
2311
+ },
2312
+ countryId: {
2313
+ type: 'string',
2314
+ format: 'uuid'
2315
+ },
2316
+ regionId: {
2317
+ type: 'string',
2318
+ format: 'uuid',
2319
+ nullable: true
2320
+ },
2321
+ cityId: {
2322
+ type: 'string',
2323
+ format: 'uuid'
2324
+ },
2325
+ districtId: {
2326
+ type: 'string',
2327
+ format: 'uuid'
2328
+ },
2329
+ neighborhoodId: {
2330
+ type: 'string',
2331
+ format: 'uuid',
2332
+ nullable: true
2333
+ }
2334
+ },
2335
+ additionalProperties: false
1465
2336
  },
1466
2337
  invoiceChannel: {
1467
2338
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
@@ -1492,68 +2363,13 @@ export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSetti
1492
2363
  contractHeaderId: {
1493
2364
  type: 'string',
1494
2365
  format: 'uuid'
1495
- },
1496
- contractStores: {
1497
- type: 'array',
1498
- items: {
1499
- required: ['id', 'merchantId', 'receiptType'],
1500
- type: 'object',
1501
- properties: {
1502
- id: {
1503
- type: 'string',
1504
- format: 'uuid'
1505
- },
1506
- creationTime: {
1507
- type: 'string',
1508
- format: 'date-time'
1509
- },
1510
- creatorId: {
1511
- type: 'string',
1512
- format: 'uuid',
1513
- nullable: true
1514
- },
1515
- lastModificationTime: {
1516
- type: 'string',
1517
- format: 'date-time',
1518
- nullable: true
1519
- },
1520
- lastModifierId: {
1521
- type: 'string',
1522
- format: 'uuid',
1523
- nullable: true
1524
- },
1525
- isDeleted: {
1526
- type: 'boolean'
1527
- },
1528
- deleterId: {
1529
- type: 'string',
1530
- format: 'uuid',
1531
- nullable: true
1532
- },
1533
- deletionTime: {
1534
- type: 'string',
1535
- format: 'date-time',
1536
- nullable: true
1537
- },
1538
- merchantId: {
1539
- type: 'string',
1540
- format: 'uuid'
1541
- },
1542
- receiptType: {
1543
- enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
1544
- type: 'string'
1545
- }
1546
- },
1547
- additionalProperties: false
1548
- },
1549
- nullable: true
1550
2366
  }
1551
2367
  },
1552
2368
  additionalProperties: false
1553
2369
  } as const;
1554
2370
 
1555
- export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSettingUpdateDto = {
1556
- required: ['invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
2371
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingUpdateDto = {
2372
+ required: ['invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
1557
2373
  type: 'object',
1558
2374
  properties: {
1559
2375
  extraProperties: {
@@ -1588,9 +2404,59 @@ export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSetti
1588
2404
  factoring: {
1589
2405
  type: 'boolean'
1590
2406
  },
1591
- invoicingAddressId: {
1592
- type: 'string',
1593
- format: 'uuid'
2407
+ invoicingAddressCommonData: {
2408
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
2409
+ type: 'object',
2410
+ properties: {
2411
+ extraProperties: {
2412
+ type: 'object',
2413
+ additionalProperties: {},
2414
+ nullable: true,
2415
+ readOnly: true
2416
+ },
2417
+ type: {
2418
+ enum: ['Home', 'Office'],
2419
+ type: 'string'
2420
+ },
2421
+ addressLine: {
2422
+ maxLength: 255,
2423
+ minLength: 0,
2424
+ type: 'string'
2425
+ },
2426
+ postalCode: {
2427
+ maxLength: 255,
2428
+ minLength: 0,
2429
+ type: 'string'
2430
+ },
2431
+ primaryFlag: {
2432
+ type: 'boolean'
2433
+ },
2434
+ countryId: {
2435
+ type: 'string',
2436
+ format: 'uuid'
2437
+ },
2438
+ regionId: {
2439
+ type: 'string',
2440
+ format: 'uuid',
2441
+ nullable: true
2442
+ },
2443
+ cityId: {
2444
+ type: 'string',
2445
+ format: 'uuid',
2446
+ nullable: true
2447
+ },
2448
+ districtId: {
2449
+ type: 'string',
2450
+ format: 'uuid',
2451
+ nullable: true
2452
+ },
2453
+ neighborhoodId: {
2454
+ type: 'string',
2455
+ format: 'uuid',
2456
+ nullable: true
2457
+ }
2458
+ },
2459
+ additionalProperties: false
1594
2460
  },
1595
2461
  invoiceChannel: {
1596
2462
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
@@ -1622,8 +2488,8 @@ export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSetti
1622
2488
  additionalProperties: false
1623
2489
  } as const;
1624
2490
 
1625
- export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreCreateDto = {
1626
- required: ['merchantId', 'receiptType'],
2491
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractStores_ContractStoreCreateDto = {
2492
+ required: ['contractTypeIdentifiersSubId', 'receiptType'],
1627
2493
  type: 'object',
1628
2494
  properties: {
1629
2495
  extraProperties: {
@@ -1632,7 +2498,7 @@ export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreCr
1632
2498
  nullable: true,
1633
2499
  readOnly: true
1634
2500
  },
1635
- merchantId: {
2501
+ contractTypeIdentifiersSubId: {
1636
2502
  type: 'string',
1637
2503
  format: 'uuid'
1638
2504
  },
@@ -1644,8 +2510,8 @@ export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreCr
1644
2510
  additionalProperties: false
1645
2511
  } as const;
1646
2512
 
1647
- export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreDto = {
1648
- required: ['id', 'merchantId', 'receiptType'],
2513
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractStores_ContractStoreDto = {
2514
+ required: ['contractTypeIdentifiersSubId', 'id', 'receiptType'],
1649
2515
  type: 'object',
1650
2516
  properties: {
1651
2517
  id: {
@@ -1684,7 +2550,7 @@ export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreDt
1684
2550
  format: 'date-time',
1685
2551
  nullable: true
1686
2552
  },
1687
- merchantId: {
2553
+ contractTypeIdentifiersSubId: {
1688
2554
  type: 'string',
1689
2555
  format: 'uuid'
1690
2556
  },
@@ -1696,8 +2562,8 @@ export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreDt
1696
2562
  additionalProperties: false
1697
2563
  } as const;
1698
2564
 
1699
- export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreUpdateDto = {
1700
- required: ['merchantId', 'receiptType'],
2565
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractStores_ContractStoreUpdateDto = {
2566
+ required: ['contractSettingId', 'contractTypeIdentifiersSubId', 'receiptType'],
1701
2567
  type: 'object',
1702
2568
  properties: {
1703
2569
  extraProperties: {
@@ -1706,7 +2572,11 @@ export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreUp
1706
2572
  nullable: true,
1707
2573
  readOnly: true
1708
2574
  },
1709
- merchantId: {
2575
+ contractTypeIdentifiersSubId: {
2576
+ type: 'string',
2577
+ format: 'uuid'
2578
+ },
2579
+ contractSettingId: {
1710
2580
  type: 'string',
1711
2581
  format: 'uuid'
1712
2582
  },
@@ -1718,6 +2588,11 @@ export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreUp
1718
2588
  additionalProperties: false
1719
2589
  } as const;
1720
2590
 
2591
+ export const $UniRefund_ContractService_Enums_ContractType = {
2592
+ enum: ['Merchant', 'RefundPoint'],
2593
+ type: 'string'
2594
+ } as const;
2595
+
1721
2596
  export const $UniRefund_ContractService_Enums_FeeType = {
1722
2597
  enum: ['TouristFee', 'TouristBonusFee', 'AgentFee', 'AirportFee'],
1723
2598
  type: 'string'
@@ -1733,6 +2608,11 @@ export const $UniRefund_ContractService_Enums_InvoicingFrequency = {
1733
2608
  type: 'string'
1734
2609
  } as const;
1735
2610
 
2611
+ export const $UniRefund_ContractService_Enums_MerchantClassification = {
2612
+ enum: ['Excellent', 'Good', 'Satisfactory', 'Low'],
2613
+ type: 'string'
2614
+ } as const;
2615
+
1736
2616
  export const $UniRefund_ContractService_Enums_RebateStatementPeriod = {
1737
2617
  enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
1738
2618
  type: 'string'
@@ -2288,9 +3168,6 @@ export const $UniRefund_ContractService_Rebates_RebateSettings_RebateSettingCrea
2288
3168
  type: 'string',
2289
3169
  format: 'date-time'
2290
3170
  },
2291
- isTemplate: {
2292
- type: 'boolean'
2293
- },
2294
3171
  rebateTableDetails: {
2295
3172
  type: 'array',
2296
3173
  items: {
@@ -2406,7 +3283,7 @@ export const $UniRefund_ContractService_Rebates_RebateSettings_RebateSettingCrea
2406
3283
  } as const;
2407
3284
 
2408
3285
  export const $UniRefund_ContractService_Rebates_RebateSettings_RebateSettingDto = {
2409
- required: ['contactInformationTypeId', 'contractHeaderId', 'id', 'isTrustedMerchant', 'merchantId', 'rebateStatementPeriod', 'referenceNumber'],
3286
+ required: ['contactInformationTypeId', 'contractHeaderId', 'id', 'isTrustedMerchant', 'rebateStatementPeriod', 'referenceNumber'],
2410
3287
  type: 'object',
2411
3288
  properties: {
2412
3289
  id: {
@@ -2460,10 +3337,6 @@ export const $UniRefund_ContractService_Rebates_RebateSettings_RebateSettingDto
2460
3337
  type: 'string',
2461
3338
  format: 'uuid'
2462
3339
  },
2463
- merchantId: {
2464
- type: 'string',
2465
- format: 'uuid'
2466
- },
2467
3340
  contractHeaderId: {
2468
3341
  type: 'string',
2469
3342
  format: 'uuid'
@@ -2777,7 +3650,7 @@ export const $UniRefund_ContractService_Rebates_RebateSettings_RebateSettingDto
2777
3650
  } as const;
2778
3651
 
2779
3652
  export const $UniRefund_ContractService_Rebates_RebateSettings_RebateSettingUpdateDto = {
2780
- required: ['contactInformationTypeId', 'isTrustedMerchant', 'merchantId', 'rebateStatementPeriod', 'referenceNumber'],
3653
+ required: ['contactInformationTypeId', 'isTrustedMerchant', 'rebateStatementPeriod', 'referenceNumber'],
2781
3654
  type: 'object',
2782
3655
  properties: {
2783
3656
  extraProperties: {
@@ -2800,10 +3673,6 @@ export const $UniRefund_ContractService_Rebates_RebateSettings_RebateSettingUpda
2800
3673
  contactInformationTypeId: {
2801
3674
  type: 'string',
2802
3675
  format: 'uuid'
2803
- },
2804
- merchantId: {
2805
- type: 'string',
2806
- format: 'uuid'
2807
3676
  }
2808
3677
  },
2809
3678
  additionalProperties: false
@@ -3210,18 +4079,111 @@ export const $UniRefund_ContractService_Rebates_RebateTableHeaders_RebateTableHe
3210
4079
  format: 'uuid',
3211
4080
  nullable: true
3212
4081
  },
3213
- isDeleted: {
3214
- type: 'boolean'
4082
+ isDeleted: {
4083
+ type: 'boolean'
4084
+ },
4085
+ deleterId: {
4086
+ type: 'string',
4087
+ format: 'uuid',
4088
+ nullable: true
4089
+ },
4090
+ deletionTime: {
4091
+ type: 'string',
4092
+ format: 'date-time',
4093
+ nullable: true
4094
+ },
4095
+ name: {
4096
+ maxLength: 255,
4097
+ minLength: 0,
4098
+ type: 'string'
4099
+ },
4100
+ amount: {
4101
+ type: 'number',
4102
+ format: 'double'
4103
+ },
4104
+ rebateTableHeaderId: {
4105
+ type: 'string',
4106
+ format: 'uuid'
4107
+ }
4108
+ },
4109
+ additionalProperties: false
4110
+ },
4111
+ nullable: true
4112
+ }
4113
+ },
4114
+ additionalProperties: false
4115
+ } as const;
4116
+
4117
+ export const $UniRefund_ContractService_Rebates_RebateTableHeaders_RebateTableHeaderNotTemplateCreateDto = {
4118
+ required: ['name', 'validFrom', 'validTo'],
4119
+ type: 'object',
4120
+ properties: {
4121
+ extraProperties: {
4122
+ type: 'object',
4123
+ additionalProperties: {},
4124
+ nullable: true,
4125
+ readOnly: true
4126
+ },
4127
+ name: {
4128
+ maxLength: 255,
4129
+ minLength: 0,
4130
+ type: 'string'
4131
+ },
4132
+ calculateNetCommissionInsteadOfRefund: {
4133
+ type: 'boolean'
4134
+ },
4135
+ validFrom: {
4136
+ type: 'string',
4137
+ format: 'date-time'
4138
+ },
4139
+ validTo: {
4140
+ type: 'string',
4141
+ format: 'date-time'
4142
+ },
4143
+ rebateTableDetails: {
4144
+ type: 'array',
4145
+ items: {
4146
+ required: ['fixedFeeValue', 'percentFeeValue', 'refundMethod', 'variableFee'],
4147
+ type: 'object',
4148
+ properties: {
4149
+ extraProperties: {
4150
+ type: 'object',
4151
+ additionalProperties: {},
4152
+ nullable: true,
4153
+ readOnly: true
4154
+ },
4155
+ fixedFeeValue: {
4156
+ type: 'number',
4157
+ format: 'double'
3215
4158
  },
3216
- deleterId: {
3217
- type: 'string',
3218
- format: 'uuid',
3219
- nullable: true
4159
+ percentFeeValue: {
4160
+ type: 'number',
4161
+ format: 'double'
3220
4162
  },
3221
- deletionTime: {
3222
- type: 'string',
3223
- format: 'date-time',
3224
- nullable: true
4163
+ refundMethod: {
4164
+ enum: ['All', 'Cash', 'CreditCard', 'Alipay', 'WeChat', 'CashViaPartner', 'RefundLater'],
4165
+ type: 'string'
4166
+ },
4167
+ variableFee: {
4168
+ enum: ['PercentOfGC', 'PercentOfGcWithoutVAT', 'PercentOfVAT', 'PercentOfSIS'],
4169
+ type: 'string'
4170
+ }
4171
+ },
4172
+ additionalProperties: false
4173
+ },
4174
+ nullable: true
4175
+ },
4176
+ processingFeeDetails: {
4177
+ type: 'array',
4178
+ items: {
4179
+ required: ['amount', 'name'],
4180
+ type: 'object',
4181
+ properties: {
4182
+ extraProperties: {
4183
+ type: 'object',
4184
+ additionalProperties: {},
4185
+ nullable: true,
4186
+ readOnly: true
3225
4187
  },
3226
4188
  name: {
3227
4189
  maxLength: 255,
@@ -3231,10 +4193,6 @@ export const $UniRefund_ContractService_Rebates_RebateTableHeaders_RebateTableHe
3231
4193
  amount: {
3232
4194
  type: 'number',
3233
4195
  format: 'double'
3234
- },
3235
- rebateTableHeaderId: {
3236
- type: 'string',
3237
- format: 'uuid'
3238
4196
  }
3239
4197
  },
3240
4198
  additionalProperties: false
@@ -3928,31 +4886,346 @@ export const $UniRefund_ContractService_Refunds_RefundTableHeaders_RefundTableHe
3928
4886
  format: 'date-time',
3929
4887
  nullable: true
3930
4888
  },
3931
- name: {
4889
+ name: {
4890
+ maxLength: 255,
4891
+ minLength: 0,
4892
+ type: 'string'
4893
+ },
4894
+ isDefault: {
4895
+ type: 'boolean'
4896
+ },
4897
+ isBundling: {
4898
+ type: 'boolean'
4899
+ },
4900
+ validFrom: {
4901
+ type: 'string',
4902
+ format: 'date-time',
4903
+ nullable: true
4904
+ },
4905
+ validTo: {
4906
+ type: 'string',
4907
+ format: 'date-time',
4908
+ nullable: true
4909
+ },
4910
+ refundTableDetails: {
4911
+ type: 'array',
4912
+ items: {
4913
+ required: ['id', 'vatRate'],
4914
+ type: 'object',
4915
+ properties: {
4916
+ id: {
4917
+ type: 'string',
4918
+ format: 'uuid'
4919
+ },
4920
+ creationTime: {
4921
+ type: 'string',
4922
+ format: 'date-time'
4923
+ },
4924
+ creatorId: {
4925
+ type: 'string',
4926
+ format: 'uuid',
4927
+ nullable: true
4928
+ },
4929
+ lastModificationTime: {
4930
+ type: 'string',
4931
+ format: 'date-time',
4932
+ nullable: true
4933
+ },
4934
+ lastModifierId: {
4935
+ type: 'string',
4936
+ format: 'uuid',
4937
+ nullable: true
4938
+ },
4939
+ isDeleted: {
4940
+ type: 'boolean'
4941
+ },
4942
+ deleterId: {
4943
+ type: 'string',
4944
+ format: 'uuid',
4945
+ nullable: true
4946
+ },
4947
+ deletionTime: {
4948
+ type: 'string',
4949
+ format: 'date-time',
4950
+ nullable: true
4951
+ },
4952
+ vatRate: {
4953
+ type: 'number',
4954
+ format: 'double'
4955
+ },
4956
+ minValue: {
4957
+ type: 'number',
4958
+ format: 'double'
4959
+ },
4960
+ maxValue: {
4961
+ type: 'number',
4962
+ format: 'double'
4963
+ },
4964
+ refundAmount: {
4965
+ type: 'number',
4966
+ format: 'double'
4967
+ },
4968
+ refundPercent: {
4969
+ type: 'number',
4970
+ format: 'double'
4971
+ },
4972
+ isLoyalty: {
4973
+ type: 'boolean'
4974
+ }
4975
+ },
4976
+ additionalProperties: false
4977
+ },
4978
+ nullable: true
4979
+ }
4980
+ },
4981
+ additionalProperties: false
4982
+ } as const;
4983
+
4984
+ export const $UniRefund_ContractService_Refunds_RefundTableHeaders_RefundTableHeaderUpdateDto = {
4985
+ required: ['name'],
4986
+ type: 'object',
4987
+ properties: {
4988
+ extraProperties: {
4989
+ type: 'object',
4990
+ additionalProperties: {},
4991
+ nullable: true,
4992
+ readOnly: true
4993
+ },
4994
+ name: {
4995
+ maxLength: 255,
4996
+ minLength: 0,
4997
+ type: 'string'
4998
+ },
4999
+ isDefault: {
5000
+ type: 'boolean'
5001
+ },
5002
+ isBundling: {
5003
+ type: 'boolean'
5004
+ },
5005
+ validFrom: {
5006
+ type: 'string',
5007
+ format: 'date-time',
5008
+ nullable: true
5009
+ },
5010
+ validTo: {
5011
+ type: 'string',
5012
+ format: 'date-time',
5013
+ nullable: true
5014
+ }
5015
+ },
5016
+ additionalProperties: false
5017
+ } as const;
5018
+
5019
+ export const $UniRefund_LocationService_AddressCommonDatas_AddressCommonDataCreateDto = {
5020
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
5021
+ type: 'object',
5022
+ properties: {
5023
+ extraProperties: {
5024
+ type: 'object',
5025
+ additionalProperties: {},
5026
+ nullable: true,
5027
+ readOnly: true
5028
+ },
5029
+ type: {
5030
+ enum: ['Home', 'Office'],
5031
+ type: 'string'
5032
+ },
5033
+ addressLine: {
5034
+ maxLength: 255,
5035
+ minLength: 0,
5036
+ type: 'string'
5037
+ },
5038
+ postalCode: {
5039
+ maxLength: 255,
5040
+ minLength: 0,
5041
+ type: 'string'
5042
+ },
5043
+ primaryFlag: {
5044
+ type: 'boolean'
5045
+ },
5046
+ countryId: {
5047
+ type: 'string',
5048
+ format: 'uuid'
5049
+ },
5050
+ regionId: {
5051
+ type: 'string',
5052
+ format: 'uuid',
5053
+ nullable: true
5054
+ },
5055
+ cityId: {
5056
+ type: 'string',
5057
+ format: 'uuid',
5058
+ nullable: true
5059
+ },
5060
+ districtId: {
5061
+ type: 'string',
5062
+ format: 'uuid',
5063
+ nullable: true
5064
+ },
5065
+ neighborhoodId: {
5066
+ type: 'string',
5067
+ format: 'uuid',
5068
+ nullable: true
5069
+ }
5070
+ },
5071
+ additionalProperties: false
5072
+ } as const;
5073
+
5074
+ export const $UniRefund_LocationService_AddressCommonDatas_AddressCommonDataDto = {
5075
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
5076
+ type: 'object',
5077
+ properties: {
5078
+ id: {
5079
+ type: 'string',
5080
+ format: 'uuid'
5081
+ },
5082
+ creationTime: {
5083
+ type: 'string',
5084
+ format: 'date-time'
5085
+ },
5086
+ creatorId: {
5087
+ type: 'string',
5088
+ format: 'uuid',
5089
+ nullable: true
5090
+ },
5091
+ lastModificationTime: {
5092
+ type: 'string',
5093
+ format: 'date-time',
5094
+ nullable: true
5095
+ },
5096
+ lastModifierId: {
5097
+ type: 'string',
5098
+ format: 'uuid',
5099
+ nullable: true
5100
+ },
5101
+ isDeleted: {
5102
+ type: 'boolean'
5103
+ },
5104
+ deleterId: {
5105
+ type: 'string',
5106
+ format: 'uuid',
5107
+ nullable: true
5108
+ },
5109
+ deletionTime: {
5110
+ type: 'string',
5111
+ format: 'date-time',
5112
+ nullable: true
5113
+ },
5114
+ type: {
5115
+ enum: ['Home', 'Office'],
5116
+ type: 'string'
5117
+ },
5118
+ addressLine: {
3932
5119
  maxLength: 255,
3933
5120
  minLength: 0,
3934
5121
  type: 'string'
3935
5122
  },
3936
- isDefault: {
5123
+ postalCode: {
5124
+ maxLength: 255,
5125
+ minLength: 0,
5126
+ type: 'string'
5127
+ },
5128
+ fullAddress: {
5129
+ maxLength: 255,
5130
+ minLength: 0,
5131
+ type: 'string'
5132
+ },
5133
+ primaryFlag: {
3937
5134
  type: 'boolean'
3938
5135
  },
3939
- isBundling: {
5136
+ countryId: {
5137
+ type: 'string',
5138
+ format: 'uuid'
5139
+ },
5140
+ regionId: {
5141
+ type: 'string',
5142
+ format: 'uuid',
5143
+ nullable: true
5144
+ },
5145
+ cityId: {
5146
+ type: 'string',
5147
+ format: 'uuid'
5148
+ },
5149
+ districtId: {
5150
+ type: 'string',
5151
+ format: 'uuid'
5152
+ },
5153
+ neighborhoodId: {
5154
+ type: 'string',
5155
+ format: 'uuid',
5156
+ nullable: true
5157
+ }
5158
+ },
5159
+ additionalProperties: false
5160
+ } as const;
5161
+
5162
+ export const $UniRefund_LocationService_AddressCommonDatas_AddressCommonDataUpdateDto = {
5163
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
5164
+ type: 'object',
5165
+ properties: {
5166
+ extraProperties: {
5167
+ type: 'object',
5168
+ additionalProperties: {},
5169
+ nullable: true,
5170
+ readOnly: true
5171
+ },
5172
+ type: {
5173
+ enum: ['Home', 'Office'],
5174
+ type: 'string'
5175
+ },
5176
+ addressLine: {
5177
+ maxLength: 255,
5178
+ minLength: 0,
5179
+ type: 'string'
5180
+ },
5181
+ postalCode: {
5182
+ maxLength: 255,
5183
+ minLength: 0,
5184
+ type: 'string'
5185
+ },
5186
+ primaryFlag: {
3940
5187
  type: 'boolean'
3941
5188
  },
3942
- validFrom: {
5189
+ countryId: {
3943
5190
  type: 'string',
3944
- format: 'date-time',
5191
+ format: 'uuid'
5192
+ },
5193
+ regionId: {
5194
+ type: 'string',
5195
+ format: 'uuid',
3945
5196
  nullable: true
3946
5197
  },
3947
- validTo: {
5198
+ cityId: {
3948
5199
  type: 'string',
3949
- format: 'date-time',
5200
+ format: 'uuid',
3950
5201
  nullable: true
3951
5202
  },
3952
- refundTableDetails: {
5203
+ districtId: {
5204
+ type: 'string',
5205
+ format: 'uuid',
5206
+ nullable: true
5207
+ },
5208
+ neighborhoodId: {
5209
+ type: 'string',
5210
+ format: 'uuid',
5211
+ nullable: true
5212
+ }
5213
+ },
5214
+ additionalProperties: false
5215
+ } as const;
5216
+
5217
+ export const $UniRefund_LocationService_Enums_AddressType = {
5218
+ enum: ['Home', 'Office'],
5219
+ type: 'string'
5220
+ } as const;
5221
+
5222
+ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderDetailForMerchantDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
5223
+ type: 'object',
5224
+ properties: {
5225
+ items: {
3953
5226
  type: 'array',
3954
5227
  items: {
3955
- required: ['id', 'vatRate'],
5228
+ required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractType', 'contractTypeIdentifier', 'id', 'merchantClassification', 'name'],
3956
5229
  type: 'object',
3957
5230
  properties: {
3958
5231
  id: {
@@ -3991,80 +5264,368 @@ export const $UniRefund_ContractService_Refunds_RefundTableHeaders_RefundTableHe
3991
5264
  format: 'date-time',
3992
5265
  nullable: true
3993
5266
  },
3994
- vatRate: {
3995
- type: 'number',
3996
- format: 'double'
5267
+ name: {
5268
+ minLength: 1,
5269
+ type: 'string'
3997
5270
  },
3998
- minValue: {
3999
- type: 'number',
4000
- format: 'double'
5271
+ contractTypeIdentifier: {
5272
+ type: 'string',
5273
+ format: 'uuid'
4001
5274
  },
4002
- maxValue: {
4003
- type: 'number',
4004
- format: 'double'
5275
+ webSite: {
5276
+ maxLength: 1024,
5277
+ minLength: 0,
5278
+ type: 'string',
5279
+ nullable: true
4005
5280
  },
4006
- refundAmount: {
4007
- type: 'number',
4008
- format: 'double'
5281
+ merchantClassification: {
5282
+ enum: ['Excellent', 'Good', 'Satisfactory', 'Low'],
5283
+ type: 'string'
4009
5284
  },
4010
- refundPercent: {
4011
- type: 'number',
4012
- format: 'double'
5285
+ merchantBasicInformationDto: {
5286
+ type: 'object',
5287
+ properties: {
5288
+ id: {
5289
+ type: 'string',
5290
+ format: 'uuid'
5291
+ },
5292
+ name: {
5293
+ type: 'string',
5294
+ nullable: true
5295
+ },
5296
+ taxOffice: {
5297
+ type: 'object',
5298
+ properties: {
5299
+ id: {
5300
+ type: 'string',
5301
+ format: 'uuid'
5302
+ },
5303
+ name: {
5304
+ type: 'string',
5305
+ nullable: true
5306
+ }
5307
+ },
5308
+ additionalProperties: false
5309
+ },
5310
+ numberOfStores: {
5311
+ type: 'integer',
5312
+ format: 'int32'
5313
+ },
5314
+ accountManagers: {
5315
+ type: 'array',
5316
+ items: {
5317
+ type: 'object',
5318
+ properties: {
5319
+ id: {
5320
+ type: 'string',
5321
+ format: 'uuid'
5322
+ },
5323
+ name: {
5324
+ type: 'string',
5325
+ nullable: true
5326
+ }
5327
+ },
5328
+ additionalProperties: false
5329
+ },
5330
+ nullable: true
5331
+ }
5332
+ },
5333
+ additionalProperties: false
4013
5334
  },
4014
- isLoyalty: {
4015
- type: 'boolean'
5335
+ contractType: {
5336
+ enum: ['Merchant', 'RefundPoint'],
5337
+ type: 'string'
5338
+ },
5339
+ addressCommonData: {
5340
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
5341
+ type: 'object',
5342
+ properties: {
5343
+ id: {
5344
+ type: 'string',
5345
+ format: 'uuid'
5346
+ },
5347
+ creationTime: {
5348
+ type: 'string',
5349
+ format: 'date-time'
5350
+ },
5351
+ creatorId: {
5352
+ type: 'string',
5353
+ format: 'uuid',
5354
+ nullable: true
5355
+ },
5356
+ lastModificationTime: {
5357
+ type: 'string',
5358
+ format: 'date-time',
5359
+ nullable: true
5360
+ },
5361
+ lastModifierId: {
5362
+ type: 'string',
5363
+ format: 'uuid',
5364
+ nullable: true
5365
+ },
5366
+ isDeleted: {
5367
+ type: 'boolean'
5368
+ },
5369
+ deleterId: {
5370
+ type: 'string',
5371
+ format: 'uuid',
5372
+ nullable: true
5373
+ },
5374
+ deletionTime: {
5375
+ type: 'string',
5376
+ format: 'date-time',
5377
+ nullable: true
5378
+ },
5379
+ type: {
5380
+ enum: ['Home', 'Office'],
5381
+ type: 'string'
5382
+ },
5383
+ addressLine: {
5384
+ maxLength: 255,
5385
+ minLength: 0,
5386
+ type: 'string'
5387
+ },
5388
+ postalCode: {
5389
+ maxLength: 255,
5390
+ minLength: 0,
5391
+ type: 'string'
5392
+ },
5393
+ fullAddress: {
5394
+ maxLength: 255,
5395
+ minLength: 0,
5396
+ type: 'string'
5397
+ },
5398
+ primaryFlag: {
5399
+ type: 'boolean'
5400
+ },
5401
+ countryId: {
5402
+ type: 'string',
5403
+ format: 'uuid'
5404
+ },
5405
+ regionId: {
5406
+ type: 'string',
5407
+ format: 'uuid',
5408
+ nullable: true
5409
+ },
5410
+ cityId: {
5411
+ type: 'string',
5412
+ format: 'uuid'
5413
+ },
5414
+ districtId: {
5415
+ type: 'string',
5416
+ format: 'uuid'
5417
+ },
5418
+ neighborhoodId: {
5419
+ type: 'string',
5420
+ format: 'uuid',
5421
+ nullable: true
5422
+ }
5423
+ },
5424
+ additionalProperties: false
5425
+ },
5426
+ contractHeaderRefundTableHeaders: {
5427
+ type: 'array',
5428
+ items: {
5429
+ required: ['id', 'refundTableHeader'],
5430
+ type: 'object',
5431
+ properties: {
5432
+ id: {
5433
+ type: 'string',
5434
+ format: 'uuid'
5435
+ },
5436
+ creationTime: {
5437
+ type: 'string',
5438
+ format: 'date-time'
5439
+ },
5440
+ creatorId: {
5441
+ type: 'string',
5442
+ format: 'uuid',
5443
+ nullable: true
5444
+ },
5445
+ lastModificationTime: {
5446
+ type: 'string',
5447
+ format: 'date-time',
5448
+ nullable: true
5449
+ },
5450
+ lastModifierId: {
5451
+ type: 'string',
5452
+ format: 'uuid',
5453
+ nullable: true
5454
+ },
5455
+ isDeleted: {
5456
+ type: 'boolean'
5457
+ },
5458
+ deleterId: {
5459
+ type: 'string',
5460
+ format: 'uuid',
5461
+ nullable: true
5462
+ },
5463
+ deletionTime: {
5464
+ type: 'string',
5465
+ format: 'date-time',
5466
+ nullable: true
5467
+ },
5468
+ refundTableHeader: {
5469
+ required: ['id', 'name'],
5470
+ type: 'object',
5471
+ properties: {
5472
+ id: {
5473
+ type: 'string',
5474
+ format: 'uuid'
5475
+ },
5476
+ creationTime: {
5477
+ type: 'string',
5478
+ format: 'date-time'
5479
+ },
5480
+ creatorId: {
5481
+ type: 'string',
5482
+ format: 'uuid',
5483
+ nullable: true
5484
+ },
5485
+ lastModificationTime: {
5486
+ type: 'string',
5487
+ format: 'date-time',
5488
+ nullable: true
5489
+ },
5490
+ lastModifierId: {
5491
+ type: 'string',
5492
+ format: 'uuid',
5493
+ nullable: true
5494
+ },
5495
+ isDeleted: {
5496
+ type: 'boolean'
5497
+ },
5498
+ deleterId: {
5499
+ type: 'string',
5500
+ format: 'uuid',
5501
+ nullable: true
5502
+ },
5503
+ deletionTime: {
5504
+ type: 'string',
5505
+ format: 'date-time',
5506
+ nullable: true
5507
+ },
5508
+ name: {
5509
+ maxLength: 255,
5510
+ minLength: 0,
5511
+ type: 'string'
5512
+ },
5513
+ isDefault: {
5514
+ type: 'boolean'
5515
+ },
5516
+ isBundling: {
5517
+ type: 'boolean'
5518
+ },
5519
+ validFrom: {
5520
+ type: 'string',
5521
+ format: 'date-time',
5522
+ nullable: true
5523
+ },
5524
+ validTo: {
5525
+ type: 'string',
5526
+ format: 'date-time',
5527
+ nullable: true
5528
+ },
5529
+ refundTableDetails: {
5530
+ type: 'array',
5531
+ items: {
5532
+ required: ['id', 'vatRate'],
5533
+ type: 'object',
5534
+ properties: {
5535
+ id: {
5536
+ type: 'string',
5537
+ format: 'uuid'
5538
+ },
5539
+ creationTime: {
5540
+ type: 'string',
5541
+ format: 'date-time'
5542
+ },
5543
+ creatorId: {
5544
+ type: 'string',
5545
+ format: 'uuid',
5546
+ nullable: true
5547
+ },
5548
+ lastModificationTime: {
5549
+ type: 'string',
5550
+ format: 'date-time',
5551
+ nullable: true
5552
+ },
5553
+ lastModifierId: {
5554
+ type: 'string',
5555
+ format: 'uuid',
5556
+ nullable: true
5557
+ },
5558
+ isDeleted: {
5559
+ type: 'boolean'
5560
+ },
5561
+ deleterId: {
5562
+ type: 'string',
5563
+ format: 'uuid',
5564
+ nullable: true
5565
+ },
5566
+ deletionTime: {
5567
+ type: 'string',
5568
+ format: 'date-time',
5569
+ nullable: true
5570
+ },
5571
+ vatRate: {
5572
+ type: 'number',
5573
+ format: 'double'
5574
+ },
5575
+ minValue: {
5576
+ type: 'number',
5577
+ format: 'double'
5578
+ },
5579
+ maxValue: {
5580
+ type: 'number',
5581
+ format: 'double'
5582
+ },
5583
+ refundAmount: {
5584
+ type: 'number',
5585
+ format: 'double'
5586
+ },
5587
+ refundPercent: {
5588
+ type: 'number',
5589
+ format: 'double'
5590
+ },
5591
+ isLoyalty: {
5592
+ type: 'boolean'
5593
+ }
5594
+ },
5595
+ additionalProperties: false
5596
+ },
5597
+ nullable: true
5598
+ }
5599
+ },
5600
+ additionalProperties: false
5601
+ },
5602
+ isDefault: {
5603
+ type: 'boolean'
5604
+ }
5605
+ },
5606
+ additionalProperties: false
5607
+ }
4016
5608
  }
4017
5609
  },
4018
5610
  additionalProperties: false
4019
5611
  },
4020
5612
  nullable: true
4021
- }
4022
- },
4023
- additionalProperties: false
4024
- } as const;
4025
-
4026
- export const $UniRefund_ContractService_Refunds_RefundTableHeaders_RefundTableHeaderUpdateDto = {
4027
- required: ['name'],
4028
- type: 'object',
4029
- properties: {
4030
- extraProperties: {
4031
- type: 'object',
4032
- additionalProperties: {},
4033
- nullable: true,
4034
- readOnly: true
4035
- },
4036
- name: {
4037
- maxLength: 255,
4038
- minLength: 0,
4039
- type: 'string'
4040
- },
4041
- isDefault: {
4042
- type: 'boolean'
4043
- },
4044
- isBundling: {
4045
- type: 'boolean'
4046
- },
4047
- validFrom: {
4048
- type: 'string',
4049
- format: 'date-time',
4050
- nullable: true
4051
5613
  },
4052
- validTo: {
4053
- type: 'string',
4054
- format: 'date-time',
4055
- nullable: true
5614
+ totalCount: {
5615
+ type: 'integer',
5616
+ format: 'int64'
4056
5617
  }
4057
5618
  },
4058
5619
  additionalProperties: false
4059
5620
  } as const;
4060
5621
 
4061
- export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_Contracts_ContractHeaders_ContractHeaderDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
5622
+ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderForMerchantDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
4062
5623
  type: 'object',
4063
5624
  properties: {
4064
5625
  items: {
4065
5626
  type: 'array',
4066
5627
  items: {
4067
- required: ['addressId', 'contractHeaderRefundTableHeaders', 'contractSettings', 'id', 'merchantId', 'rebateSetting'],
5628
+ required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractSettings', 'contractType', 'contractTypeIdentifier', 'id', 'name', 'rebateSetting'],
4068
5629
  type: 'object',
4069
5630
  properties: {
4070
5631
  id: {
@@ -4103,16 +5664,107 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4103
5664
  format: 'date-time',
4104
5665
  nullable: true
4105
5666
  },
4106
- merchantId: {
4107
- type: 'string',
4108
- format: 'uuid'
5667
+ name: {
5668
+ minLength: 1,
5669
+ type: 'string'
4109
5670
  },
4110
- addressId: {
5671
+ contractTypeIdentifier: {
4111
5672
  type: 'string',
4112
5673
  format: 'uuid'
4113
5674
  },
5675
+ contractType: {
5676
+ enum: ['Merchant', 'RefundPoint'],
5677
+ type: 'string'
5678
+ },
5679
+ addressCommonData: {
5680
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
5681
+ type: 'object',
5682
+ properties: {
5683
+ id: {
5684
+ type: 'string',
5685
+ format: 'uuid'
5686
+ },
5687
+ creationTime: {
5688
+ type: 'string',
5689
+ format: 'date-time'
5690
+ },
5691
+ creatorId: {
5692
+ type: 'string',
5693
+ format: 'uuid',
5694
+ nullable: true
5695
+ },
5696
+ lastModificationTime: {
5697
+ type: 'string',
5698
+ format: 'date-time',
5699
+ nullable: true
5700
+ },
5701
+ lastModifierId: {
5702
+ type: 'string',
5703
+ format: 'uuid',
5704
+ nullable: true
5705
+ },
5706
+ isDeleted: {
5707
+ type: 'boolean'
5708
+ },
5709
+ deleterId: {
5710
+ type: 'string',
5711
+ format: 'uuid',
5712
+ nullable: true
5713
+ },
5714
+ deletionTime: {
5715
+ type: 'string',
5716
+ format: 'date-time',
5717
+ nullable: true
5718
+ },
5719
+ type: {
5720
+ enum: ['Home', 'Office'],
5721
+ type: 'string'
5722
+ },
5723
+ addressLine: {
5724
+ maxLength: 255,
5725
+ minLength: 0,
5726
+ type: 'string'
5727
+ },
5728
+ postalCode: {
5729
+ maxLength: 255,
5730
+ minLength: 0,
5731
+ type: 'string'
5732
+ },
5733
+ fullAddress: {
5734
+ maxLength: 255,
5735
+ minLength: 0,
5736
+ type: 'string'
5737
+ },
5738
+ primaryFlag: {
5739
+ type: 'boolean'
5740
+ },
5741
+ countryId: {
5742
+ type: 'string',
5743
+ format: 'uuid'
5744
+ },
5745
+ regionId: {
5746
+ type: 'string',
5747
+ format: 'uuid',
5748
+ nullable: true
5749
+ },
5750
+ cityId: {
5751
+ type: 'string',
5752
+ format: 'uuid'
5753
+ },
5754
+ districtId: {
5755
+ type: 'string',
5756
+ format: 'uuid'
5757
+ },
5758
+ neighborhoodId: {
5759
+ type: 'string',
5760
+ format: 'uuid',
5761
+ nullable: true
5762
+ }
5763
+ },
5764
+ additionalProperties: false
5765
+ },
4114
5766
  rebateSetting: {
4115
- required: ['contactInformationTypeId', 'contractHeaderId', 'id', 'isTrustedMerchant', 'merchantId', 'rebateStatementPeriod', 'referenceNumber'],
5767
+ required: ['contactInformationTypeId', 'contractHeaderId', 'id', 'isTrustedMerchant', 'rebateStatementPeriod', 'referenceNumber'],
4116
5768
  type: 'object',
4117
5769
  properties: {
4118
5770
  id: {
@@ -4166,10 +5818,6 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4166
5818
  type: 'string',
4167
5819
  format: 'uuid'
4168
5820
  },
4169
- merchantId: {
4170
- type: 'string',
4171
- format: 'uuid'
4172
- },
4173
5821
  contractHeaderId: {
4174
5822
  type: 'string',
4175
5823
  format: 'uuid'
@@ -4667,7 +6315,7 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4667
6315
  contractSettings: {
4668
6316
  type: 'array',
4669
6317
  items: {
4670
- required: ['id', 'invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
6318
+ required: ['id', 'invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
4671
6319
  type: 'object',
4672
6320
  properties: {
4673
6321
  id: {
@@ -4732,9 +6380,92 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4732
6380
  factoring: {
4733
6381
  type: 'boolean'
4734
6382
  },
4735
- invoicingAddressId: {
4736
- type: 'string',
4737
- format: 'uuid'
6383
+ invoicingAddressCommonData: {
6384
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
6385
+ type: 'object',
6386
+ properties: {
6387
+ id: {
6388
+ type: 'string',
6389
+ format: 'uuid'
6390
+ },
6391
+ creationTime: {
6392
+ type: 'string',
6393
+ format: 'date-time'
6394
+ },
6395
+ creatorId: {
6396
+ type: 'string',
6397
+ format: 'uuid',
6398
+ nullable: true
6399
+ },
6400
+ lastModificationTime: {
6401
+ type: 'string',
6402
+ format: 'date-time',
6403
+ nullable: true
6404
+ },
6405
+ lastModifierId: {
6406
+ type: 'string',
6407
+ format: 'uuid',
6408
+ nullable: true
6409
+ },
6410
+ isDeleted: {
6411
+ type: 'boolean'
6412
+ },
6413
+ deleterId: {
6414
+ type: 'string',
6415
+ format: 'uuid',
6416
+ nullable: true
6417
+ },
6418
+ deletionTime: {
6419
+ type: 'string',
6420
+ format: 'date-time',
6421
+ nullable: true
6422
+ },
6423
+ type: {
6424
+ enum: ['Home', 'Office'],
6425
+ type: 'string'
6426
+ },
6427
+ addressLine: {
6428
+ maxLength: 255,
6429
+ minLength: 0,
6430
+ type: 'string'
6431
+ },
6432
+ postalCode: {
6433
+ maxLength: 255,
6434
+ minLength: 0,
6435
+ type: 'string'
6436
+ },
6437
+ fullAddress: {
6438
+ maxLength: 255,
6439
+ minLength: 0,
6440
+ type: 'string'
6441
+ },
6442
+ primaryFlag: {
6443
+ type: 'boolean'
6444
+ },
6445
+ countryId: {
6446
+ type: 'string',
6447
+ format: 'uuid'
6448
+ },
6449
+ regionId: {
6450
+ type: 'string',
6451
+ format: 'uuid',
6452
+ nullable: true
6453
+ },
6454
+ cityId: {
6455
+ type: 'string',
6456
+ format: 'uuid'
6457
+ },
6458
+ districtId: {
6459
+ type: 'string',
6460
+ format: 'uuid'
6461
+ },
6462
+ neighborhoodId: {
6463
+ type: 'string',
6464
+ format: 'uuid',
6465
+ nullable: true
6466
+ }
6467
+ },
6468
+ additionalProperties: false
4738
6469
  },
4739
6470
  invoiceChannel: {
4740
6471
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
@@ -4765,61 +6496,6 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4765
6496
  contractHeaderId: {
4766
6497
  type: 'string',
4767
6498
  format: 'uuid'
4768
- },
4769
- contractStores: {
4770
- type: 'array',
4771
- items: {
4772
- required: ['id', 'merchantId', 'receiptType'],
4773
- type: 'object',
4774
- properties: {
4775
- id: {
4776
- type: 'string',
4777
- format: 'uuid'
4778
- },
4779
- creationTime: {
4780
- type: 'string',
4781
- format: 'date-time'
4782
- },
4783
- creatorId: {
4784
- type: 'string',
4785
- format: 'uuid',
4786
- nullable: true
4787
- },
4788
- lastModificationTime: {
4789
- type: 'string',
4790
- format: 'date-time',
4791
- nullable: true
4792
- },
4793
- lastModifierId: {
4794
- type: 'string',
4795
- format: 'uuid',
4796
- nullable: true
4797
- },
4798
- isDeleted: {
4799
- type: 'boolean'
4800
- },
4801
- deleterId: {
4802
- type: 'string',
4803
- format: 'uuid',
4804
- nullable: true
4805
- },
4806
- deletionTime: {
4807
- type: 'string',
4808
- format: 'date-time',
4809
- nullable: true
4810
- },
4811
- merchantId: {
4812
- type: 'string',
4813
- format: 'uuid'
4814
- },
4815
- receiptType: {
4816
- enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
4817
- type: 'string'
4818
- }
4819
- },
4820
- additionalProperties: false
4821
- },
4822
- nullable: true
4823
6499
  }
4824
6500
  },
4825
6501
  additionalProperties: false
@@ -4838,13 +6514,13 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4838
6514
  additionalProperties: false
4839
6515
  } as const;
4840
6516
 
4841
- export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_Contracts_ContractSettings_ContractSettingDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
6517
+ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
4842
6518
  type: 'object',
4843
6519
  properties: {
4844
6520
  items: {
4845
6521
  type: 'array',
4846
6522
  items: {
4847
- required: ['id', 'invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
6523
+ required: ['id', 'invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
4848
6524
  type: 'object',
4849
6525
  properties: {
4850
6526
  id: {
@@ -4909,9 +6585,92 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4909
6585
  factoring: {
4910
6586
  type: 'boolean'
4911
6587
  },
4912
- invoicingAddressId: {
4913
- type: 'string',
4914
- format: 'uuid'
6588
+ invoicingAddressCommonData: {
6589
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
6590
+ type: 'object',
6591
+ properties: {
6592
+ id: {
6593
+ type: 'string',
6594
+ format: 'uuid'
6595
+ },
6596
+ creationTime: {
6597
+ type: 'string',
6598
+ format: 'date-time'
6599
+ },
6600
+ creatorId: {
6601
+ type: 'string',
6602
+ format: 'uuid',
6603
+ nullable: true
6604
+ },
6605
+ lastModificationTime: {
6606
+ type: 'string',
6607
+ format: 'date-time',
6608
+ nullable: true
6609
+ },
6610
+ lastModifierId: {
6611
+ type: 'string',
6612
+ format: 'uuid',
6613
+ nullable: true
6614
+ },
6615
+ isDeleted: {
6616
+ type: 'boolean'
6617
+ },
6618
+ deleterId: {
6619
+ type: 'string',
6620
+ format: 'uuid',
6621
+ nullable: true
6622
+ },
6623
+ deletionTime: {
6624
+ type: 'string',
6625
+ format: 'date-time',
6626
+ nullable: true
6627
+ },
6628
+ type: {
6629
+ enum: ['Home', 'Office'],
6630
+ type: 'string'
6631
+ },
6632
+ addressLine: {
6633
+ maxLength: 255,
6634
+ minLength: 0,
6635
+ type: 'string'
6636
+ },
6637
+ postalCode: {
6638
+ maxLength: 255,
6639
+ minLength: 0,
6640
+ type: 'string'
6641
+ },
6642
+ fullAddress: {
6643
+ maxLength: 255,
6644
+ minLength: 0,
6645
+ type: 'string'
6646
+ },
6647
+ primaryFlag: {
6648
+ type: 'boolean'
6649
+ },
6650
+ countryId: {
6651
+ type: 'string',
6652
+ format: 'uuid'
6653
+ },
6654
+ regionId: {
6655
+ type: 'string',
6656
+ format: 'uuid',
6657
+ nullable: true
6658
+ },
6659
+ cityId: {
6660
+ type: 'string',
6661
+ format: 'uuid'
6662
+ },
6663
+ districtId: {
6664
+ type: 'string',
6665
+ format: 'uuid'
6666
+ },
6667
+ neighborhoodId: {
6668
+ type: 'string',
6669
+ format: 'uuid',
6670
+ nullable: true
6671
+ }
6672
+ },
6673
+ additionalProperties: false
4915
6674
  },
4916
6675
  invoiceChannel: {
4917
6676
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
@@ -4942,61 +6701,6 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4942
6701
  contractHeaderId: {
4943
6702
  type: 'string',
4944
6703
  format: 'uuid'
4945
- },
4946
- contractStores: {
4947
- type: 'array',
4948
- items: {
4949
- required: ['id', 'merchantId', 'receiptType'],
4950
- type: 'object',
4951
- properties: {
4952
- id: {
4953
- type: 'string',
4954
- format: 'uuid'
4955
- },
4956
- creationTime: {
4957
- type: 'string',
4958
- format: 'date-time'
4959
- },
4960
- creatorId: {
4961
- type: 'string',
4962
- format: 'uuid',
4963
- nullable: true
4964
- },
4965
- lastModificationTime: {
4966
- type: 'string',
4967
- format: 'date-time',
4968
- nullable: true
4969
- },
4970
- lastModifierId: {
4971
- type: 'string',
4972
- format: 'uuid',
4973
- nullable: true
4974
- },
4975
- isDeleted: {
4976
- type: 'boolean'
4977
- },
4978
- deleterId: {
4979
- type: 'string',
4980
- format: 'uuid',
4981
- nullable: true
4982
- },
4983
- deletionTime: {
4984
- type: 'string',
4985
- format: 'date-time',
4986
- nullable: true
4987
- },
4988
- merchantId: {
4989
- type: 'string',
4990
- format: 'uuid'
4991
- },
4992
- receiptType: {
4993
- enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
4994
- type: 'string'
4995
- }
4996
- },
4997
- additionalProperties: false
4998
- },
4999
- nullable: true
5000
6704
  }
5001
6705
  },
5002
6706
  additionalProperties: false
@@ -5011,13 +6715,13 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
5011
6715
  additionalProperties: false
5012
6716
  } as const;
5013
6717
 
5014
- export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_Contracts_ContractStores_ContractStoreDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
6718
+ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_ContractsForMerchant_ContractStores_ContractStoreDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
5015
6719
  type: 'object',
5016
6720
  properties: {
5017
6721
  items: {
5018
6722
  type: 'array',
5019
6723
  items: {
5020
- required: ['id', 'merchantId', 'receiptType'],
6724
+ required: ['contractTypeIdentifiersSubId', 'id', 'receiptType'],
5021
6725
  type: 'object',
5022
6726
  properties: {
5023
6727
  id: {
@@ -5056,7 +6760,7 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
5056
6760
  format: 'date-time',
5057
6761
  nullable: true
5058
6762
  },
5059
- merchantId: {
6763
+ contractTypeIdentifiersSubId: {
5060
6764
  type: 'string',
5061
6765
  format: 'uuid'
5062
6766
  },