@ayasofyazilim/saas 0.0.95 → 0.0.97

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.
@@ -54,12 +54,17 @@ export const $PagedResultDto_AffiliationCodeDto = {
54
54
  },
55
55
  roleId: {
56
56
  type: 'string',
57
- format: 'uuid'
57
+ format: 'uuid',
58
+ nullable: true
58
59
  },
59
60
  status: {
60
61
  enum: ['Waiting', 'Approved', 'Rejected'],
61
62
  type: 'string'
62
63
  },
64
+ entityPartyTypeCode: {
65
+ enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
66
+ type: 'string'
67
+ },
63
68
  language: {
64
69
  type: 'string',
65
70
  nullable: true
@@ -77,76 +82,46 @@ export const $PagedResultDto_AffiliationCodeDto = {
77
82
  additionalProperties: false
78
83
  } as const;
79
84
 
80
- export const $PagedResultDto_AffiliationTypeDto = {
85
+ export const $PagedResultDto_AffiliationTypeDetailDto = {
81
86
  type: 'object',
82
87
  properties: {
83
88
  items: {
84
89
  type: 'array',
85
90
  items: {
91
+ required: ['codeId', 'codeName', 'email', 'entityInformationTypeCode', 'name', 'telephone'],
86
92
  type: 'object',
87
93
  properties: {
88
94
  id: {
89
95
  type: 'string',
90
96
  format: 'uuid'
91
97
  },
92
- creationTime: {
93
- type: 'string',
94
- format: 'date-time'
95
- },
96
- creatorId: {
97
- type: 'string',
98
- format: 'uuid',
99
- nullable: true
100
- },
101
- lastModificationTime: {
102
- type: 'string',
103
- format: 'date-time',
104
- nullable: true
105
- },
106
- lastModifierId: {
107
- type: 'string',
108
- format: 'uuid',
109
- nullable: true
110
- },
111
- isDeleted: {
112
- type: 'boolean'
113
- },
114
- deleterId: {
115
- type: 'string',
116
- format: 'uuid',
117
- nullable: true
118
- },
119
- deletionTime: {
120
- type: 'string',
121
- format: 'date-time',
122
- nullable: true
123
- },
124
98
  name: {
125
- type: 'string',
126
- nullable: true
99
+ minLength: 1,
100
+ type: 'string'
127
101
  },
128
- description: {
129
- type: 'string',
130
- nullable: true
102
+ codeId: {
103
+ type: 'integer',
104
+ format: 'int32'
131
105
  },
132
- partyId: {
133
- type: 'string',
134
- format: 'uuid'
106
+ codeName: {
107
+ minLength: 1,
108
+ type: 'string'
135
109
  },
136
- approvedUserId: {
137
- type: 'string',
138
- format: 'uuid',
139
- nullable: true
110
+ entityInformationTypeCode: {
111
+ enum: ['INDIVIDUAL', 'ORGANIZATION'],
112
+ type: 'string'
140
113
  },
141
- approvedDate: {
142
- type: 'string',
143
- format: 'date-time',
114
+ isAbpUser: {
115
+ type: 'boolean',
144
116
  nullable: true
145
117
  },
146
- merchantId: {
147
- type: 'string',
148
- format: 'uuid',
149
- nullable: true
118
+ email: {
119
+ minLength: 1,
120
+ type: 'string'
121
+ },
122
+ telephone: {
123
+ minLength: 1,
124
+ type: 'string'
150
125
  }
151
126
  },
152
127
  additionalProperties: false
@@ -269,22 +244,23 @@ export const $PagedResultDto_IndividualProfileDto = {
269
244
  },
270
245
  roleId: {
271
246
  type: 'string',
272
- format: 'uuid'
247
+ format: 'uuid',
248
+ nullable: true
273
249
  },
274
250
  status: {
275
251
  enum: ['Waiting', 'Approved', 'Rejected'],
276
252
  type: 'string'
277
253
  },
254
+ entityPartyTypeCode: {
255
+ enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
256
+ type: 'string'
257
+ },
278
258
  language: {
279
259
  type: 'string',
280
260
  nullable: true
281
261
  }
282
262
  },
283
263
  additionalProperties: false
284
- },
285
- affiliationParentTypeCode: {
286
- enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
287
- type: 'string'
288
264
  }
289
265
  },
290
266
  additionalProperties: false
@@ -426,22 +402,23 @@ export const $PagedResultDto_OrganizationProfileDto = {
426
402
  },
427
403
  roleId: {
428
404
  type: 'string',
429
- format: 'uuid'
405
+ format: 'uuid',
406
+ nullable: true
430
407
  },
431
408
  status: {
432
409
  enum: ['Waiting', 'Approved', 'Rejected'],
433
410
  type: 'string'
434
411
  },
412
+ entityPartyTypeCode: {
413
+ enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
414
+ type: 'string'
415
+ },
435
416
  language: {
436
417
  type: 'string',
437
418
  nullable: true
438
419
  }
439
420
  },
440
421
  additionalProperties: false
441
- },
442
- affiliationParentTypeCode: {
443
- enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
444
- type: 'string'
445
422
  }
446
423
  },
447
424
  additionalProperties: false
@@ -608,36 +585,6 @@ export const $PagedResultDto_TaxOfficeProfileDto = {
608
585
  additionalProperties: false
609
586
  } as const;
610
587
 
611
- export const $PagedResultDto_UserDeviceNameDto = {
612
- type: 'object',
613
- properties: {
614
- items: {
615
- type: 'array',
616
- items: {
617
- required: ['id', 'name'],
618
- type: 'object',
619
- properties: {
620
- id: {
621
- type: 'string',
622
- format: 'uuid'
623
- },
624
- name: {
625
- minLength: 1,
626
- type: 'string'
627
- }
628
- },
629
- additionalProperties: false
630
- },
631
- nullable: true
632
- },
633
- totalCount: {
634
- type: 'integer',
635
- format: 'int64'
636
- }
637
- },
638
- additionalProperties: false
639
- } as const;
640
-
641
588
  export const $UniRefund_CRMService_AddressTypes_AddressTypeDto = {
642
589
  type: 'object',
643
590
  properties: {
@@ -702,12 +649,17 @@ export const $UniRefund_CRMService_AffiliationCodes_AffiliationCodeDto = {
702
649
  },
703
650
  roleId: {
704
651
  type: 'string',
705
- format: 'uuid'
652
+ format: 'uuid',
653
+ nullable: true
706
654
  },
707
655
  status: {
708
656
  enum: ['Waiting', 'Approved', 'Rejected'],
709
657
  type: 'string'
710
658
  },
659
+ entityPartyTypeCode: {
660
+ enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
661
+ type: 'string'
662
+ },
711
663
  language: {
712
664
  type: 'string',
713
665
  nullable: true
@@ -722,11 +674,12 @@ export const $UniRefund_CRMService_AffiliationCodes_AffiliationCodeStatus = {
722
674
  } as const;
723
675
 
724
676
  export const $UniRefund_CRMService_AffiliationCodes_CreateAffiliationCodeDto = {
677
+ required: ['entityPartyTypeCode', 'name', 'status'],
725
678
  type: 'object',
726
679
  properties: {
727
680
  name: {
728
- type: 'string',
729
- nullable: true
681
+ minLength: 1,
682
+ type: 'string'
730
683
  },
731
684
  description: {
732
685
  type: 'string',
@@ -734,11 +687,16 @@ export const $UniRefund_CRMService_AffiliationCodes_CreateAffiliationCodeDto = {
734
687
  },
735
688
  roleId: {
736
689
  type: 'string',
737
- format: 'uuid'
690
+ format: 'uuid',
691
+ nullable: true
738
692
  },
739
693
  status: {
740
694
  enum: ['Waiting', 'Approved', 'Rejected'],
741
695
  type: 'string'
696
+ },
697
+ entityPartyTypeCode: {
698
+ enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
699
+ type: 'string'
742
700
  }
743
701
  },
744
702
  additionalProperties: false
@@ -761,11 +719,12 @@ export const $UniRefund_CRMService_AffiliationCodes_CreateUpdateAffiliationCodeT
761
719
  } as const;
762
720
 
763
721
  export const $UniRefund_CRMService_AffiliationCodes_UpdateAffiliationCodeDto = {
722
+ required: ['entityPartyTypeCode', 'name', 'status'],
764
723
  type: 'object',
765
724
  properties: {
766
725
  name: {
767
- type: 'string',
768
- nullable: true
726
+ minLength: 1,
727
+ type: 'string'
769
728
  },
770
729
  description: {
771
730
  type: 'string',
@@ -773,17 +732,63 @@ export const $UniRefund_CRMService_AffiliationCodes_UpdateAffiliationCodeDto = {
773
732
  },
774
733
  roleId: {
775
734
  type: 'string',
776
- format: 'uuid'
735
+ format: 'uuid',
736
+ nullable: true
777
737
  },
778
738
  status: {
779
739
  enum: ['Waiting', 'Approved', 'Rejected'],
780
740
  type: 'string'
741
+ },
742
+ entityPartyTypeCode: {
743
+ enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
744
+ type: 'string'
745
+ }
746
+ },
747
+ additionalProperties: false
748
+ } as const;
749
+
750
+ export const $UniRefund_CRMService_AffiliationTypes_AffiliationTypeDetailDto = {
751
+ required: ['codeId', 'codeName', 'email', 'entityInformationTypeCode', 'name', 'telephone'],
752
+ type: 'object',
753
+ properties: {
754
+ id: {
755
+ type: 'string',
756
+ format: 'uuid'
757
+ },
758
+ name: {
759
+ minLength: 1,
760
+ type: 'string'
761
+ },
762
+ codeId: {
763
+ type: 'integer',
764
+ format: 'int32'
765
+ },
766
+ codeName: {
767
+ minLength: 1,
768
+ type: 'string'
769
+ },
770
+ entityInformationTypeCode: {
771
+ enum: ['INDIVIDUAL', 'ORGANIZATION'],
772
+ type: 'string'
773
+ },
774
+ isAbpUser: {
775
+ type: 'boolean',
776
+ nullable: true
777
+ },
778
+ email: {
779
+ minLength: 1,
780
+ type: 'string'
781
+ },
782
+ telephone: {
783
+ minLength: 1,
784
+ type: 'string'
781
785
  }
782
786
  },
783
787
  additionalProperties: false
784
788
  } as const;
785
789
 
786
790
  export const $UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto = {
791
+ required: ['affiliationCode', 'partyId'],
787
792
  type: 'object',
788
793
  properties: {
789
794
  id: {
@@ -822,14 +827,77 @@ export const $UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto = {
822
827
  format: 'date-time',
823
828
  nullable: true
824
829
  },
825
- name: {
826
- type: 'string',
827
- nullable: true
828
- },
829
830
  description: {
830
831
  type: 'string',
831
832
  nullable: true
832
833
  },
834
+ affiliationCode: {
835
+ type: 'object',
836
+ properties: {
837
+ id: {
838
+ type: 'integer',
839
+ format: 'int32'
840
+ },
841
+ creationTime: {
842
+ type: 'string',
843
+ format: 'date-time'
844
+ },
845
+ creatorId: {
846
+ type: 'string',
847
+ format: 'uuid',
848
+ nullable: true
849
+ },
850
+ lastModificationTime: {
851
+ type: 'string',
852
+ format: 'date-time',
853
+ nullable: true
854
+ },
855
+ lastModifierId: {
856
+ type: 'string',
857
+ format: 'uuid',
858
+ nullable: true
859
+ },
860
+ isDeleted: {
861
+ type: 'boolean'
862
+ },
863
+ deleterId: {
864
+ type: 'string',
865
+ format: 'uuid',
866
+ nullable: true
867
+ },
868
+ deletionTime: {
869
+ type: 'string',
870
+ format: 'date-time',
871
+ nullable: true
872
+ },
873
+ name: {
874
+ type: 'string',
875
+ nullable: true
876
+ },
877
+ description: {
878
+ type: 'string',
879
+ nullable: true
880
+ },
881
+ roleId: {
882
+ type: 'string',
883
+ format: 'uuid',
884
+ nullable: true
885
+ },
886
+ status: {
887
+ enum: ['Waiting', 'Approved', 'Rejected'],
888
+ type: 'string'
889
+ },
890
+ entityPartyTypeCode: {
891
+ enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
892
+ type: 'string'
893
+ },
894
+ language: {
895
+ type: 'string',
896
+ nullable: true
897
+ }
898
+ },
899
+ additionalProperties: false
900
+ },
833
901
  partyId: {
834
902
  type: 'string',
835
903
  format: 'uuid'
@@ -843,18 +911,13 @@ export const $UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto = {
843
911
  type: 'string',
844
912
  format: 'date-time',
845
913
  nullable: true
846
- },
847
- merchantId: {
848
- type: 'string',
849
- format: 'uuid',
850
- nullable: true
851
914
  }
852
915
  },
853
916
  additionalProperties: false
854
917
  } as const;
855
918
 
856
919
  export const $UniRefund_CRMService_AffiliationTypes_CreateAffiliationTypeDto = {
857
- required: ['affiliationCodeId', 'description', 'name'],
920
+ required: ['affiliationCodeId', 'entityInformationTypeCode', 'partyId'],
858
921
  type: 'object',
859
922
  properties: {
860
923
  extraProperties: {
@@ -863,15 +926,11 @@ export const $UniRefund_CRMService_AffiliationTypes_CreateAffiliationTypeDto = {
863
926
  nullable: true,
864
927
  readOnly: true
865
928
  },
866
- name: {
867
- maxLength: 255,
868
- minLength: 0,
869
- type: 'string'
870
- },
871
929
  description: {
872
930
  maxLength: 255,
873
931
  minLength: 0,
874
- type: 'string'
932
+ type: 'string',
933
+ nullable: true
875
934
  },
876
935
  affiliationCodeId: {
877
936
  type: 'integer',
@@ -879,15 +938,18 @@ export const $UniRefund_CRMService_AffiliationTypes_CreateAffiliationTypeDto = {
879
938
  },
880
939
  partyId: {
881
940
  type: 'string',
882
- format: 'uuid',
883
- nullable: true
941
+ format: 'uuid'
942
+ },
943
+ entityInformationTypeCode: {
944
+ enum: ['INDIVIDUAL', 'ORGANIZATION'],
945
+ type: 'string'
884
946
  }
885
947
  },
886
948
  additionalProperties: false
887
949
  } as const;
888
950
 
889
951
  export const $UniRefund_CRMService_AffiliationTypes_UpdateAffiliationTypeDto = {
890
- required: ['affiliationTypeCode', 'description', 'name'],
952
+ required: ['affiliationCodeId', 'entityInformationTypeCode', 'partyId'],
891
953
  type: 'object',
892
954
  properties: {
893
955
  extraProperties: {
@@ -896,19 +958,11 @@ export const $UniRefund_CRMService_AffiliationTypes_UpdateAffiliationTypeDto = {
896
958
  nullable: true,
897
959
  readOnly: true
898
960
  },
899
- name: {
900
- maxLength: 255,
901
- minLength: 0,
902
- type: 'string'
903
- },
904
961
  description: {
905
962
  maxLength: 255,
906
963
  minLength: 0,
907
- type: 'string'
908
- },
909
- affiliationTypeCode: {
910
- enum: ['COFOUNDER', 'PARTNER', 'ABPUSER', 'SUBCOMPANY', 'ACCOUNTMANAGER', 'Franchise'],
911
- type: 'string'
964
+ type: 'string',
965
+ nullable: true
912
966
  },
913
967
  affiliationCodeId: {
914
968
  type: 'integer',
@@ -917,6 +971,10 @@ export const $UniRefund_CRMService_AffiliationTypes_UpdateAffiliationTypeDto = {
917
971
  partyId: {
918
972
  type: 'string',
919
973
  format: 'uuid'
974
+ },
975
+ entityInformationTypeCode: {
976
+ enum: ['INDIVIDUAL', 'ORGANIZATION'],
977
+ type: 'string'
920
978
  }
921
979
  },
922
980
  additionalProperties: false
@@ -1386,12 +1444,6 @@ export const $UniRefund_CRMService_Customss_CreateCustomsDto = {
1386
1444
  minLength: 0,
1387
1445
  type: 'string'
1388
1446
  },
1389
- branchId: {
1390
- maxLength: 255,
1391
- minLength: 0,
1392
- type: 'string',
1393
- nullable: true
1394
- },
1395
1447
  contactInformations: {
1396
1448
  type: 'array',
1397
1449
  items: {
@@ -1583,12 +1635,6 @@ export const $UniRefund_CRMService_Customss_CreateCustomsEntityInformationTypeDt
1583
1635
  minLength: 0,
1584
1636
  type: 'string'
1585
1637
  },
1586
- branchId: {
1587
- maxLength: 255,
1588
- minLength: 0,
1589
- type: 'string',
1590
- nullable: true
1591
- },
1592
1638
  contactInformations: {
1593
1639
  type: 'array',
1594
1640
  items: {
@@ -1760,12 +1806,6 @@ export const $UniRefund_CRMService_Customss_CreateCustomsOrganizationDto = {
1760
1806
  minLength: 0,
1761
1807
  type: 'string'
1762
1808
  },
1763
- branchId: {
1764
- maxLength: 255,
1765
- minLength: 0,
1766
- type: 'string',
1767
- nullable: true
1768
- },
1769
1809
  contactInformations: {
1770
1810
  type: 'array',
1771
1811
  items: {
@@ -2558,15 +2598,6 @@ export const $UniRefund_CRMService_Customss_CustomsDto = {
2558
2598
  type: 'string',
2559
2599
  nullable: true
2560
2600
  },
2561
- customerNumber: {
2562
- type: 'string',
2563
- nullable: true
2564
- },
2565
- branchId: {
2566
- type: 'string',
2567
- nullable: true,
2568
- readOnly: true
2569
- },
2570
2601
  countryCode: {
2571
2602
  type: 'string',
2572
2603
  nullable: true,
@@ -2929,10 +2960,6 @@ export const $UniRefund_CRMService_Customss_UpdateCustomsOrganizationDto = {
2929
2960
  type: 'string',
2930
2961
  format: 'uuid',
2931
2962
  nullable: true
2932
- },
2933
- branchId: {
2934
- type: 'string',
2935
- nullable: true
2936
2963
  }
2937
2964
  },
2938
2965
  additionalProperties: false
@@ -3648,15 +3675,6 @@ export const $UniRefund_CRMService_EntityInformationTypes_EntityInformationTypeD
3648
3675
  type: 'string',
3649
3676
  nullable: true
3650
3677
  },
3651
- customerNumber: {
3652
- type: 'string',
3653
- nullable: true
3654
- },
3655
- branchId: {
3656
- type: 'string',
3657
- nullable: true,
3658
- readOnly: true
3659
- },
3660
3678
  countryCode: {
3661
3679
  type: 'string',
3662
3680
  nullable: true,
@@ -3956,11 +3974,6 @@ export const $UniRefund_CRMService_EntityInformationTypes_EntityInformationTypeD
3956
3974
  additionalProperties: false
3957
3975
  } as const;
3958
3976
 
3959
- export const $UniRefund_CRMService_Enums_AffiliationTypeCode = {
3960
- enum: ['COFOUNDER', 'PARTNER', 'ABPUSER', 'SUBCOMPANY', 'ACCOUNTMANAGER', 'Franchise'],
3961
- type: 'string'
3962
- } as const;
3963
-
3964
3977
  export const $UniRefund_CRMService_Enums_EmailTypeCode = {
3965
3978
  enum: ['WORK', 'PERSONAL'],
3966
3979
  type: 'string'
@@ -4889,22 +4902,23 @@ export const $UniRefund_CRMService_Individuals_IndividualProfileDto = {
4889
4902
  },
4890
4903
  roleId: {
4891
4904
  type: 'string',
4892
- format: 'uuid'
4905
+ format: 'uuid',
4906
+ nullable: true
4893
4907
  },
4894
4908
  status: {
4895
4909
  enum: ['Waiting', 'Approved', 'Rejected'],
4896
4910
  type: 'string'
4897
4911
  },
4912
+ entityPartyTypeCode: {
4913
+ enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
4914
+ type: 'string'
4915
+ },
4898
4916
  language: {
4899
4917
  type: 'string',
4900
4918
  nullable: true
4901
4919
  }
4902
4920
  },
4903
4921
  additionalProperties: false
4904
- },
4905
- affiliationParentTypeCode: {
4906
- enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
4907
- type: 'string'
4908
4922
  }
4909
4923
  },
4910
4924
  additionalProperties: false
@@ -4951,6 +4965,10 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantDto = {
4951
4965
  format: 'uuid',
4952
4966
  nullable: true
4953
4967
  },
4968
+ customerNumber: {
4969
+ type: 'string',
4970
+ nullable: true
4971
+ },
4954
4972
  entityInformationTypes: {
4955
4973
  type: 'array',
4956
4974
  items: {
@@ -5231,18 +5249,6 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantDto = {
5231
5249
  minLength: 0,
5232
5250
  type: 'string'
5233
5251
  },
5234
- customerNumber: {
5235
- maxLength: 255,
5236
- minLength: 0,
5237
- type: 'string',
5238
- nullable: true
5239
- },
5240
- branchId: {
5241
- maxLength: 255,
5242
- minLength: 0,
5243
- type: 'string',
5244
- nullable: true
5245
- },
5246
5252
  contactInformations: {
5247
5253
  type: 'array',
5248
5254
  items: {
@@ -5655,391 +5661,29 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantEntityInformationType
5655
5661
  type: 'object',
5656
5662
  properties: {
5657
5663
  extraProperties: {
5658
- type: 'object',
5659
- additionalProperties: {},
5660
- nullable: true,
5661
- readOnly: true
5662
- },
5663
- name: {
5664
- maxLength: 255,
5665
- minLength: 0,
5666
- type: 'string'
5667
- },
5668
- taxpayerId: {
5669
- maxLength: 255,
5670
- minLength: 0,
5671
- type: 'string'
5672
- },
5673
- legalStatusCode: {
5674
- maxLength: 255,
5675
- minLength: 0,
5676
- type: 'string'
5677
- },
5678
- customerNumber: {
5679
- maxLength: 255,
5680
- minLength: 0,
5681
- type: 'string',
5682
- nullable: true
5683
- },
5684
- branchId: {
5685
- maxLength: 255,
5686
- minLength: 0,
5687
- type: 'string',
5688
- nullable: true
5689
- },
5690
- contactInformations: {
5691
- type: 'array',
5692
- items: {
5693
- type: 'object',
5694
- properties: {
5695
- extraProperties: {
5696
- type: 'object',
5697
- additionalProperties: {},
5698
- nullable: true,
5699
- readOnly: true
5700
- },
5701
- telephones: {
5702
- type: 'array',
5703
- items: {
5704
- required: ['areaCode', 'ituCountryCode', 'localNumber', 'primaryFlag', 'typeCode'],
5705
- type: 'object',
5706
- properties: {
5707
- extraProperties: {
5708
- type: 'object',
5709
- additionalProperties: {},
5710
- nullable: true,
5711
- readOnly: true
5712
- },
5713
- areaCode: {
5714
- maxLength: 255,
5715
- minLength: 0,
5716
- type: 'string'
5717
- },
5718
- localNumber: {
5719
- maxLength: 255,
5720
- minLength: 0,
5721
- type: 'string'
5722
- },
5723
- ituCountryCode: {
5724
- maxLength: 255,
5725
- minLength: 0,
5726
- type: 'string'
5727
- },
5728
- primaryFlag: {
5729
- type: 'boolean'
5730
- },
5731
- typeCode: {
5732
- enum: ['HOME', 'OFFICE', 'MOBILE', 'FAX'],
5733
- type: 'string'
5734
- }
5735
- },
5736
- additionalProperties: false
5737
- },
5738
- nullable: true
5739
- },
5740
- addresses: {
5741
- type: 'array',
5742
- items: {
5743
- required: ['addressLine', 'countryId', 'postalCode', 'type'],
5744
- type: 'object',
5745
- properties: {
5746
- extraProperties: {
5747
- type: 'object',
5748
- additionalProperties: {},
5749
- nullable: true,
5750
- readOnly: true
5751
- },
5752
- type: {
5753
- enum: ['Home', 'Office', 'Invoice', 'Contact'],
5754
- type: 'string'
5755
- },
5756
- addressLine: {
5757
- maxLength: 255,
5758
- minLength: 0,
5759
- type: 'string'
5760
- },
5761
- postalCode: {
5762
- maxLength: 255,
5763
- minLength: 0,
5764
- type: 'string'
5765
- },
5766
- primaryFlag: {
5767
- type: 'boolean'
5768
- },
5769
- countryId: {
5770
- type: 'string',
5771
- format: 'uuid'
5772
- },
5773
- regionId: {
5774
- type: 'string',
5775
- format: 'uuid',
5776
- nullable: true
5777
- },
5778
- cityId: {
5779
- type: 'string',
5780
- format: 'uuid',
5781
- nullable: true
5782
- },
5783
- districtId: {
5784
- type: 'string',
5785
- format: 'uuid',
5786
- nullable: true
5787
- },
5788
- neighborhoodId: {
5789
- type: 'string',
5790
- format: 'uuid',
5791
- nullable: true
5792
- }
5793
- },
5794
- additionalProperties: false
5795
- },
5796
- nullable: true
5797
- },
5798
- emails: {
5799
- type: 'array',
5800
- items: {
5801
- required: ['emailAddress', 'primaryFlag', 'typeCode'],
5802
- type: 'object',
5803
- properties: {
5804
- extraProperties: {
5805
- type: 'object',
5806
- additionalProperties: {},
5807
- nullable: true,
5808
- readOnly: true
5809
- },
5810
- emailAddress: {
5811
- maxLength: 255,
5812
- minLength: 0,
5813
- type: 'string'
5814
- },
5815
- primaryFlag: {
5816
- type: 'boolean'
5817
- },
5818
- typeCode: {
5819
- enum: ['WORK', 'PERSONAL'],
5820
- type: 'string'
5821
- }
5822
- },
5823
- additionalProperties: false
5824
- },
5825
- nullable: true
5826
- }
5827
- },
5828
- additionalProperties: false
5829
- }
5830
- }
5831
- },
5832
- additionalProperties: false
5833
- },
5834
- nullable: true
5835
- }
5836
- },
5837
- additionalProperties: false
5838
- } as const;
5839
-
5840
- export const $UniRefund_CRMService_Merchants_CreateMerchantIndividualDto = {
5841
- required: ['affiliationCodeId'],
5842
- type: 'object',
5843
- properties: {
5844
- extraProperties: {
5845
- type: 'object',
5846
- additionalProperties: {},
5847
- nullable: true,
5848
- readOnly: true
5849
- },
5850
- name: {
5851
- required: ['firstName', 'lastName', 'mailingName', 'officialName', 'salutation', 'suffix'],
5852
- type: 'object',
5853
- properties: {
5854
- salutation: {
5855
- maxLength: 255,
5856
- minLength: 0,
5857
- type: 'string'
5858
- },
5859
- firstName: {
5860
- maxLength: 255,
5861
- minLength: 0,
5862
- type: 'string'
5863
- },
5864
- lastName: {
5865
- maxLength: 255,
5866
- minLength: 0,
5867
- type: 'string'
5868
- },
5869
- suffix: {
5870
- maxLength: 255,
5871
- minLength: 0,
5872
- type: 'string'
5873
- },
5874
- mailingName: {
5875
- maxLength: 255,
5876
- minLength: 0,
5877
- type: 'string'
5878
- },
5879
- officialName: {
5880
- maxLength: 255,
5881
- minLength: 0,
5882
- type: 'string'
5883
- }
5884
- },
5885
- additionalProperties: false
5886
- },
5887
- personalSummaries: {
5888
- type: 'array',
5889
- items: {
5890
- required: ['birthDate', 'date', 'ethnicity', 'genderTypeCode', 'maritalStatusCode', 'religiousAffiliationName'],
5891
- type: 'object',
5892
- properties: {
5893
- extraProperties: {
5894
- type: 'object',
5895
- additionalProperties: {},
5896
- nullable: true,
5897
- readOnly: true
5898
- },
5899
- date: {
5900
- type: 'string',
5901
- format: 'date-time'
5902
- },
5903
- birthDate: {
5904
- type: 'string',
5905
- format: 'date-time'
5906
- },
5907
- ethnicity: {
5908
- maxLength: 255,
5909
- minLength: 0,
5910
- type: 'string'
5911
- },
5912
- maritalStatusCode: {
5913
- maxLength: 255,
5914
- minLength: 0,
5915
- type: 'string'
5916
- },
5917
- religiousAffiliationName: {
5918
- maxLength: 255,
5919
- minLength: 0,
5920
- type: 'string'
5921
- },
5922
- genderTypeCode: {
5923
- enum: ['MALE', 'FEMALE'],
5924
- type: 'string'
5925
- }
5926
- },
5927
- additionalProperties: false
5928
- },
5929
- nullable: true
5930
- },
5931
- contactInformations: {
5932
- type: 'array',
5933
- items: {
5934
- type: 'object',
5935
- properties: {
5936
- extraProperties: {
5937
- type: 'object',
5938
- additionalProperties: {},
5939
- nullable: true,
5940
- readOnly: true
5941
- },
5942
- telephones: {
5943
- type: 'array',
5944
- items: {
5945
- required: ['areaCode', 'ituCountryCode', 'localNumber', 'primaryFlag', 'typeCode'],
5946
- type: 'object',
5947
- properties: {
5948
- extraProperties: {
5949
- type: 'object',
5950
- additionalProperties: {},
5951
- nullable: true,
5952
- readOnly: true
5953
- },
5954
- areaCode: {
5955
- maxLength: 255,
5956
- minLength: 0,
5957
- type: 'string'
5958
- },
5959
- localNumber: {
5960
- maxLength: 255,
5961
- minLength: 0,
5962
- type: 'string'
5963
- },
5964
- ituCountryCode: {
5965
- maxLength: 255,
5966
- minLength: 0,
5967
- type: 'string'
5968
- },
5969
- primaryFlag: {
5970
- type: 'boolean'
5971
- },
5972
- typeCode: {
5973
- enum: ['HOME', 'OFFICE', 'MOBILE', 'FAX'],
5974
- type: 'string'
5975
- }
5976
- },
5977
- additionalProperties: false
5978
- },
5979
- nullable: true
5980
- },
5981
- addresses: {
5982
- type: 'array',
5983
- items: {
5984
- required: ['addressLine', 'countryId', 'postalCode', 'type'],
5985
- type: 'object',
5986
- properties: {
5987
- extraProperties: {
5988
- type: 'object',
5989
- additionalProperties: {},
5990
- nullable: true,
5991
- readOnly: true
5992
- },
5993
- type: {
5994
- enum: ['Home', 'Office', 'Invoice', 'Contact'],
5995
- type: 'string'
5996
- },
5997
- addressLine: {
5998
- maxLength: 255,
5999
- minLength: 0,
6000
- type: 'string'
6001
- },
6002
- postalCode: {
6003
- maxLength: 255,
6004
- minLength: 0,
6005
- type: 'string'
6006
- },
6007
- primaryFlag: {
6008
- type: 'boolean'
6009
- },
6010
- countryId: {
6011
- type: 'string',
6012
- format: 'uuid'
6013
- },
6014
- regionId: {
6015
- type: 'string',
6016
- format: 'uuid',
6017
- nullable: true
6018
- },
6019
- cityId: {
6020
- type: 'string',
6021
- format: 'uuid',
6022
- nullable: true
6023
- },
6024
- districtId: {
6025
- type: 'string',
6026
- format: 'uuid',
6027
- nullable: true
6028
- },
6029
- neighborhoodId: {
6030
- type: 'string',
6031
- format: 'uuid',
6032
- nullable: true
6033
- }
6034
- },
6035
- additionalProperties: false
6036
- },
6037
- nullable: true
5664
+ type: 'object',
5665
+ additionalProperties: {},
5666
+ nullable: true,
5667
+ readOnly: true
6038
5668
  },
6039
- emails: {
5669
+ name: {
5670
+ maxLength: 255,
5671
+ minLength: 0,
5672
+ type: 'string'
5673
+ },
5674
+ taxpayerId: {
5675
+ maxLength: 255,
5676
+ minLength: 0,
5677
+ type: 'string'
5678
+ },
5679
+ legalStatusCode: {
5680
+ maxLength: 255,
5681
+ minLength: 0,
5682
+ type: 'string'
5683
+ },
5684
+ contactInformations: {
6040
5685
  type: 'array',
6041
5686
  items: {
6042
- required: ['emailAddress', 'primaryFlag', 'typeCode'],
6043
5687
  type: 'object',
6044
5688
  properties: {
6045
5689
  extraProperties: {
@@ -6048,34 +5692,140 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantIndividualDto = {
6048
5692
  nullable: true,
6049
5693
  readOnly: true
6050
5694
  },
6051
- emailAddress: {
6052
- maxLength: 255,
6053
- minLength: 0,
6054
- type: 'string'
5695
+ telephones: {
5696
+ type: 'array',
5697
+ items: {
5698
+ required: ['areaCode', 'ituCountryCode', 'localNumber', 'primaryFlag', 'typeCode'],
5699
+ type: 'object',
5700
+ properties: {
5701
+ extraProperties: {
5702
+ type: 'object',
5703
+ additionalProperties: {},
5704
+ nullable: true,
5705
+ readOnly: true
5706
+ },
5707
+ areaCode: {
5708
+ maxLength: 255,
5709
+ minLength: 0,
5710
+ type: 'string'
5711
+ },
5712
+ localNumber: {
5713
+ maxLength: 255,
5714
+ minLength: 0,
5715
+ type: 'string'
5716
+ },
5717
+ ituCountryCode: {
5718
+ maxLength: 255,
5719
+ minLength: 0,
5720
+ type: 'string'
5721
+ },
5722
+ primaryFlag: {
5723
+ type: 'boolean'
5724
+ },
5725
+ typeCode: {
5726
+ enum: ['HOME', 'OFFICE', 'MOBILE', 'FAX'],
5727
+ type: 'string'
5728
+ }
5729
+ },
5730
+ additionalProperties: false
5731
+ },
5732
+ nullable: true
6055
5733
  },
6056
- primaryFlag: {
6057
- type: 'boolean'
5734
+ addresses: {
5735
+ type: 'array',
5736
+ items: {
5737
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
5738
+ type: 'object',
5739
+ properties: {
5740
+ extraProperties: {
5741
+ type: 'object',
5742
+ additionalProperties: {},
5743
+ nullable: true,
5744
+ readOnly: true
5745
+ },
5746
+ type: {
5747
+ enum: ['Home', 'Office', 'Invoice', 'Contact'],
5748
+ type: 'string'
5749
+ },
5750
+ addressLine: {
5751
+ maxLength: 255,
5752
+ minLength: 0,
5753
+ type: 'string'
5754
+ },
5755
+ postalCode: {
5756
+ maxLength: 255,
5757
+ minLength: 0,
5758
+ type: 'string'
5759
+ },
5760
+ primaryFlag: {
5761
+ type: 'boolean'
5762
+ },
5763
+ countryId: {
5764
+ type: 'string',
5765
+ format: 'uuid'
5766
+ },
5767
+ regionId: {
5768
+ type: 'string',
5769
+ format: 'uuid',
5770
+ nullable: true
5771
+ },
5772
+ cityId: {
5773
+ type: 'string',
5774
+ format: 'uuid',
5775
+ nullable: true
5776
+ },
5777
+ districtId: {
5778
+ type: 'string',
5779
+ format: 'uuid',
5780
+ nullable: true
5781
+ },
5782
+ neighborhoodId: {
5783
+ type: 'string',
5784
+ format: 'uuid',
5785
+ nullable: true
5786
+ }
5787
+ },
5788
+ additionalProperties: false
5789
+ },
5790
+ nullable: true
6058
5791
  },
6059
- typeCode: {
6060
- enum: ['WORK', 'PERSONAL'],
6061
- type: 'string'
5792
+ emails: {
5793
+ type: 'array',
5794
+ items: {
5795
+ required: ['emailAddress', 'primaryFlag', 'typeCode'],
5796
+ type: 'object',
5797
+ properties: {
5798
+ extraProperties: {
5799
+ type: 'object',
5800
+ additionalProperties: {},
5801
+ nullable: true,
5802
+ readOnly: true
5803
+ },
5804
+ emailAddress: {
5805
+ maxLength: 255,
5806
+ minLength: 0,
5807
+ type: 'string'
5808
+ },
5809
+ primaryFlag: {
5810
+ type: 'boolean'
5811
+ },
5812
+ typeCode: {
5813
+ enum: ['WORK', 'PERSONAL'],
5814
+ type: 'string'
5815
+ }
5816
+ },
5817
+ additionalProperties: false
5818
+ },
5819
+ nullable: true
6062
5820
  }
6063
5821
  },
6064
5822
  additionalProperties: false
6065
- },
6066
- nullable: true
5823
+ }
6067
5824
  }
6068
5825
  },
6069
5826
  additionalProperties: false
6070
5827
  },
6071
5828
  nullable: true
6072
- },
6073
- createAbpUserAccount: {
6074
- type: 'boolean'
6075
- },
6076
- affiliationCodeId: {
6077
- type: 'integer',
6078
- format: 'int32'
6079
5829
  }
6080
5830
  },
6081
5831
  additionalProperties: false
@@ -6106,18 +5856,6 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantOrgnaizationDto = {
6106
5856
  minLength: 0,
6107
5857
  type: 'string'
6108
5858
  },
6109
- customerNumber: {
6110
- maxLength: 255,
6111
- minLength: 0,
6112
- type: 'string',
6113
- nullable: true
6114
- },
6115
- branchId: {
6116
- maxLength: 255,
6117
- minLength: 0,
6118
- type: 'string',
6119
- nullable: true
6120
- },
6121
5859
  contactInformations: {
6122
5860
  type: 'array',
6123
5861
  items: {
@@ -6984,15 +6722,6 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
6984
6722
  type: 'string',
6985
6723
  nullable: true
6986
6724
  },
6987
- customerNumber: {
6988
- type: 'string',
6989
- nullable: true
6990
- },
6991
- branchId: {
6992
- type: 'string',
6993
- nullable: true,
6994
- readOnly: true
6995
- },
6996
6725
  countryCode: {
6997
6726
  type: 'string',
6998
6727
  nullable: true,
@@ -7296,6 +7025,7 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
7296
7025
  affiliations: {
7297
7026
  type: 'array',
7298
7027
  items: {
7028
+ required: ['affiliationCode', 'partyId'],
7299
7029
  type: 'object',
7300
7030
  properties: {
7301
7031
  id: {
@@ -7334,14 +7064,77 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
7334
7064
  format: 'date-time',
7335
7065
  nullable: true
7336
7066
  },
7337
- name: {
7338
- type: 'string',
7339
- nullable: true
7340
- },
7341
7067
  description: {
7342
7068
  type: 'string',
7343
7069
  nullable: true
7344
7070
  },
7071
+ affiliationCode: {
7072
+ type: 'object',
7073
+ properties: {
7074
+ id: {
7075
+ type: 'integer',
7076
+ format: 'int32'
7077
+ },
7078
+ creationTime: {
7079
+ type: 'string',
7080
+ format: 'date-time'
7081
+ },
7082
+ creatorId: {
7083
+ type: 'string',
7084
+ format: 'uuid',
7085
+ nullable: true
7086
+ },
7087
+ lastModificationTime: {
7088
+ type: 'string',
7089
+ format: 'date-time',
7090
+ nullable: true
7091
+ },
7092
+ lastModifierId: {
7093
+ type: 'string',
7094
+ format: 'uuid',
7095
+ nullable: true
7096
+ },
7097
+ isDeleted: {
7098
+ type: 'boolean'
7099
+ },
7100
+ deleterId: {
7101
+ type: 'string',
7102
+ format: 'uuid',
7103
+ nullable: true
7104
+ },
7105
+ deletionTime: {
7106
+ type: 'string',
7107
+ format: 'date-time',
7108
+ nullable: true
7109
+ },
7110
+ name: {
7111
+ type: 'string',
7112
+ nullable: true
7113
+ },
7114
+ description: {
7115
+ type: 'string',
7116
+ nullable: true
7117
+ },
7118
+ roleId: {
7119
+ type: 'string',
7120
+ format: 'uuid',
7121
+ nullable: true
7122
+ },
7123
+ status: {
7124
+ enum: ['Waiting', 'Approved', 'Rejected'],
7125
+ type: 'string'
7126
+ },
7127
+ entityPartyTypeCode: {
7128
+ enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
7129
+ type: 'string'
7130
+ },
7131
+ language: {
7132
+ type: 'string',
7133
+ nullable: true
7134
+ }
7135
+ },
7136
+ additionalProperties: false
7137
+ },
7345
7138
  partyId: {
7346
7139
  type: 'string',
7347
7140
  format: 'uuid'
@@ -7355,11 +7148,6 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
7355
7148
  type: 'string',
7356
7149
  format: 'date-time',
7357
7150
  nullable: true
7358
- },
7359
- merchantId: {
7360
- type: 'string',
7361
- format: 'uuid',
7362
- nullable: true
7363
7151
  }
7364
7152
  },
7365
7153
  additionalProperties: false
@@ -8076,15 +7864,6 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
8076
7864
  type: 'string',
8077
7865
  nullable: true
8078
7866
  },
8079
- customerNumber: {
8080
- type: 'string',
8081
- nullable: true
8082
- },
8083
- branchId: {
8084
- type: 'string',
8085
- nullable: true,
8086
- readOnly: true
8087
- },
8088
7867
  countryCode: {
8089
7868
  type: 'string',
8090
7869
  nullable: true,
@@ -8388,6 +8167,7 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
8388
8167
  affiliations: {
8389
8168
  type: 'array',
8390
8169
  items: {
8170
+ required: ['affiliationCode', 'partyId'],
8391
8171
  type: 'object',
8392
8172
  properties: {
8393
8173
  id: {
@@ -8426,14 +8206,77 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
8426
8206
  format: 'date-time',
8427
8207
  nullable: true
8428
8208
  },
8429
- name: {
8430
- type: 'string',
8431
- nullable: true
8432
- },
8433
8209
  description: {
8434
8210
  type: 'string',
8435
8211
  nullable: true
8436
8212
  },
8213
+ affiliationCode: {
8214
+ type: 'object',
8215
+ properties: {
8216
+ id: {
8217
+ type: 'integer',
8218
+ format: 'int32'
8219
+ },
8220
+ creationTime: {
8221
+ type: 'string',
8222
+ format: 'date-time'
8223
+ },
8224
+ creatorId: {
8225
+ type: 'string',
8226
+ format: 'uuid',
8227
+ nullable: true
8228
+ },
8229
+ lastModificationTime: {
8230
+ type: 'string',
8231
+ format: 'date-time',
8232
+ nullable: true
8233
+ },
8234
+ lastModifierId: {
8235
+ type: 'string',
8236
+ format: 'uuid',
8237
+ nullable: true
8238
+ },
8239
+ isDeleted: {
8240
+ type: 'boolean'
8241
+ },
8242
+ deleterId: {
8243
+ type: 'string',
8244
+ format: 'uuid',
8245
+ nullable: true
8246
+ },
8247
+ deletionTime: {
8248
+ type: 'string',
8249
+ format: 'date-time',
8250
+ nullable: true
8251
+ },
8252
+ name: {
8253
+ type: 'string',
8254
+ nullable: true
8255
+ },
8256
+ description: {
8257
+ type: 'string',
8258
+ nullable: true
8259
+ },
8260
+ roleId: {
8261
+ type: 'string',
8262
+ format: 'uuid',
8263
+ nullable: true
8264
+ },
8265
+ status: {
8266
+ enum: ['Waiting', 'Approved', 'Rejected'],
8267
+ type: 'string'
8268
+ },
8269
+ entityPartyTypeCode: {
8270
+ enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
8271
+ type: 'string'
8272
+ },
8273
+ language: {
8274
+ type: 'string',
8275
+ nullable: true
8276
+ }
8277
+ },
8278
+ additionalProperties: false
8279
+ },
8437
8280
  partyId: {
8438
8281
  type: 'string',
8439
8282
  format: 'uuid'
@@ -8447,11 +8290,6 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
8447
8290
  type: 'string',
8448
8291
  format: 'date-time',
8449
8292
  nullable: true
8450
- },
8451
- merchantId: {
8452
- type: 'string',
8453
- format: 'uuid',
8454
- nullable: true
8455
8293
  }
8456
8294
  },
8457
8295
  additionalProperties: false
@@ -8496,7 +8334,7 @@ export const $UniRefund_CRMService_Merchants_MerchantInfoDto = {
8496
8334
  type: 'string',
8497
8335
  nullable: true
8498
8336
  },
8499
- branchId: {
8337
+ customerNumber: {
8500
8338
  type: 'string',
8501
8339
  nullable: true
8502
8340
  }
@@ -8719,7 +8557,7 @@ export const $UniRefund_CRMService_Merchants_StoreProfilePagedResultDtoIntegrati
8719
8557
  } as const;
8720
8558
 
8721
8559
  export const $UniRefund_CRMService_Merchants_SubIndividualDto = {
8722
- required: ['affiliationTypeCode', 'name'],
8560
+ required: ['name'],
8723
8561
  type: 'object',
8724
8562
  properties: {
8725
8563
  id: {
@@ -8730,10 +8568,6 @@ export const $UniRefund_CRMService_Merchants_SubIndividualDto = {
8730
8568
  minLength: 1,
8731
8569
  type: 'string'
8732
8570
  },
8733
- affiliationTypeCode: {
8734
- enum: ['COFOUNDER', 'PARTNER', 'ABPUSER', 'SUBCOMPANY', 'ACCOUNTMANAGER', 'Franchise'],
8735
- type: 'string'
8736
- },
8737
8571
  affiliationCode: {
8738
8572
  type: 'object',
8739
8573
  properties: {
@@ -8783,12 +8617,17 @@ export const $UniRefund_CRMService_Merchants_SubIndividualDto = {
8783
8617
  },
8784
8618
  roleId: {
8785
8619
  type: 'string',
8786
- format: 'uuid'
8620
+ format: 'uuid',
8621
+ nullable: true
8787
8622
  },
8788
8623
  status: {
8789
8624
  enum: ['Waiting', 'Approved', 'Rejected'],
8790
8625
  type: 'string'
8791
8626
  },
8627
+ entityPartyTypeCode: {
8628
+ enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
8629
+ type: 'string'
8630
+ },
8792
8631
  language: {
8793
8632
  type: 'string',
8794
8633
  nullable: true
@@ -8999,19 +8838,6 @@ export const $UniRefund_CRMService_Organizations_CreateOrganizationDto = {
8999
8838
  minLength: 0,
9000
8839
  type: 'string'
9001
8840
  },
9002
- customerNumber: {
9003
- type: 'string',
9004
- nullable: true
9005
- },
9006
- branchId: {
9007
- type: 'string',
9008
- nullable: true
9009
- },
9010
- parentCompanyId: {
9011
- type: 'string',
9012
- format: 'uuid',
9013
- nullable: true
9014
- },
9015
8841
  contactInformations: {
9016
8842
  type: 'array',
9017
8843
  items: {
@@ -9214,15 +9040,6 @@ export const $UniRefund_CRMService_Organizations_OrganizationDto = {
9214
9040
  type: 'string',
9215
9041
  nullable: true
9216
9042
  },
9217
- customerNumber: {
9218
- type: 'string',
9219
- nullable: true
9220
- },
9221
- branchId: {
9222
- type: 'string',
9223
- nullable: true,
9224
- readOnly: true
9225
- },
9226
9043
  countryCode: {
9227
9044
  type: 'string',
9228
9045
  nullable: true,
@@ -9582,22 +9399,23 @@ export const $UniRefund_CRMService_Organizations_OrganizationProfileDto = {
9582
9399
  },
9583
9400
  roleId: {
9584
9401
  type: 'string',
9585
- format: 'uuid'
9402
+ format: 'uuid',
9403
+ nullable: true
9586
9404
  },
9587
9405
  status: {
9588
9406
  enum: ['Waiting', 'Approved', 'Rejected'],
9589
9407
  type: 'string'
9590
9408
  },
9409
+ entityPartyTypeCode: {
9410
+ enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
9411
+ type: 'string'
9412
+ },
9591
9413
  language: {
9592
9414
  type: 'string',
9593
9415
  nullable: true
9594
9416
  }
9595
9417
  },
9596
9418
  additionalProperties: false
9597
- },
9598
- affiliationParentTypeCode: {
9599
- enum: ['CUSTOMS', 'MERCHANT', 'REFUNDPOINT', 'TAXFREE', 'TAXOFFICE'],
9600
- type: 'string'
9601
9419
  }
9602
9420
  },
9603
9421
  additionalProperties: false
@@ -9629,18 +9447,10 @@ export const $UniRefund_CRMService_Organizations_UpdateOrganizationDto = {
9629
9447
  type: 'string',
9630
9448
  nullable: true
9631
9449
  },
9632
- customerNumber: {
9633
- type: 'string',
9634
- nullable: true
9635
- },
9636
9450
  parentCompanyId: {
9637
9451
  type: 'string',
9638
9452
  format: 'uuid',
9639
9453
  nullable: true
9640
- },
9641
- branchId: {
9642
- type: 'string',
9643
- nullable: true
9644
9454
  }
9645
9455
  },
9646
9456
  additionalProperties: false
@@ -9849,12 +9659,6 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointDto = {
9849
9659
  minLength: 0,
9850
9660
  type: 'string'
9851
9661
  },
9852
- branchId: {
9853
- maxLength: 255,
9854
- minLength: 0,
9855
- type: 'string',
9856
- nullable: true
9857
- },
9858
9662
  contactInformations: {
9859
9663
  type: 'array',
9860
9664
  items: {
@@ -10035,12 +9839,6 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointEntityInformati
10035
9839
  minLength: 0,
10036
9840
  type: 'string'
10037
9841
  },
10038
- branchId: {
10039
- maxLength: 255,
10040
- minLength: 0,
10041
- type: 'string',
10042
- nullable: true
10043
- },
10044
9842
  contactInformations: {
10045
9843
  type: 'array',
10046
9844
  items: {
@@ -10205,12 +10003,6 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointOrganizationDto
10205
10003
  minLength: 0,
10206
10004
  type: 'string'
10207
10005
  },
10208
- branchId: {
10209
- maxLength: 255,
10210
- minLength: 0,
10211
- type: 'string',
10212
- nullable: true
10213
- },
10214
10006
  contactInformations: {
10215
10007
  type: 'array',
10216
10008
  items: {
@@ -11068,15 +10860,6 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
11068
10860
  type: 'string',
11069
10861
  nullable: true
11070
10862
  },
11071
- customerNumber: {
11072
- type: 'string',
11073
- nullable: true
11074
- },
11075
- branchId: {
11076
- type: 'string',
11077
- nullable: true,
11078
- readOnly: true
11079
- },
11080
10863
  countryCode: {
11081
10864
  type: 'string',
11082
10865
  nullable: true,
@@ -11420,26 +11203,6 @@ export const $UniRefund_CRMService_RefundPoints_UpdateRefundPointOrganizationDto
11420
11203
  type: 'string',
11421
11204
  format: 'uuid',
11422
11205
  nullable: true
11423
- },
11424
- branchId: {
11425
- type: 'string',
11426
- nullable: true
11427
- }
11428
- },
11429
- additionalProperties: false
11430
- } as const;
11431
-
11432
- export const $UniRefund_CRMService_RefundPoints_UserDeviceNameDto = {
11433
- required: ['id', 'name'],
11434
- type: 'object',
11435
- properties: {
11436
- id: {
11437
- type: 'string',
11438
- format: 'uuid'
11439
- },
11440
- name: {
11441
- minLength: 1,
11442
- type: 'string'
11443
11206
  }
11444
11207
  },
11445
11208
  additionalProperties: false
@@ -11493,18 +11256,6 @@ export const $UniRefund_CRMService_TaxFrees_CreateTaxFreeDto = {
11493
11256
  minLength: 0,
11494
11257
  type: 'string'
11495
11258
  },
11496
- customerNumber: {
11497
- maxLength: 255,
11498
- minLength: 0,
11499
- type: 'string',
11500
- nullable: true
11501
- },
11502
- branchId: {
11503
- maxLength: 255,
11504
- minLength: 0,
11505
- type: 'string',
11506
- nullable: true
11507
- },
11508
11259
  contactInformations: {
11509
11260
  type: 'array',
11510
11261
  items: {
@@ -11701,18 +11452,6 @@ export const $UniRefund_CRMService_TaxFrees_CreateTaxFreeEntityInformationTypeDt
11701
11452
  minLength: 0,
11702
11453
  type: 'string'
11703
11454
  },
11704
- customerNumber: {
11705
- maxLength: 255,
11706
- minLength: 0,
11707
- type: 'string',
11708
- nullable: true
11709
- },
11710
- branchId: {
11711
- maxLength: 255,
11712
- minLength: 0,
11713
- type: 'string',
11714
- nullable: true
11715
- },
11716
11455
  contactInformations: {
11717
11456
  type: 'array',
11718
11457
  items: {
@@ -11889,18 +11628,6 @@ export const $UniRefund_CRMService_TaxFrees_CreateTaxFreeOrganizationDto = {
11889
11628
  minLength: 0,
11890
11629
  type: 'string'
11891
11630
  },
11892
- customerNumber: {
11893
- maxLength: 255,
11894
- minLength: 0,
11895
- type: 'string',
11896
- nullable: true
11897
- },
11898
- branchId: {
11899
- maxLength: 255,
11900
- minLength: 0,
11901
- type: 'string',
11902
- nullable: true
11903
- },
11904
11631
  contactInformations: {
11905
11632
  type: 'array',
11906
11633
  items: {
@@ -12688,15 +12415,6 @@ export const $UniRefund_CRMService_TaxFrees_TaxFreeDto = {
12688
12415
  type: 'string',
12689
12416
  nullable: true
12690
12417
  },
12691
- customerNumber: {
12692
- type: 'string',
12693
- nullable: true
12694
- },
12695
- branchId: {
12696
- type: 'string',
12697
- nullable: true,
12698
- readOnly: true
12699
- },
12700
12418
  countryCode: {
12701
12419
  type: 'string',
12702
12420
  nullable: true,
@@ -13069,7 +12787,7 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeDto = {
13069
12787
  organizations: {
13070
12788
  type: 'array',
13071
12789
  items: {
13072
- required: ['legalStatusCode', 'name', 'taxpayerId'],
12790
+ required: ['name', 'taxpayerId'],
13073
12791
  type: 'object',
13074
12792
  properties: {
13075
12793
  extraProperties: {
@@ -13088,21 +12806,6 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeDto = {
13088
12806
  minLength: 0,
13089
12807
  type: 'string'
13090
12808
  },
13091
- legalStatusCode: {
13092
- maxLength: 255,
13093
- minLength: 0,
13094
- type: 'string'
13095
- },
13096
- customerNumber: {
13097
- maxLength: 255,
13098
- minLength: 0,
13099
- type: 'string',
13100
- nullable: true
13101
- },
13102
- branchId: {
13103
- type: 'string',
13104
- nullable: true
13105
- },
13106
12809
  contactInformations: {
13107
12810
  type: 'array',
13108
12811
  items: {
@@ -13275,7 +12978,7 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeEntityInformationTy
13275
12978
  organizations: {
13276
12979
  type: 'array',
13277
12980
  items: {
13278
- required: ['legalStatusCode', 'name', 'taxpayerId'],
12981
+ required: ['name', 'taxpayerId'],
13279
12982
  type: 'object',
13280
12983
  properties: {
13281
12984
  extraProperties: {
@@ -13294,21 +12997,6 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeEntityInformationTy
13294
12997
  minLength: 0,
13295
12998
  type: 'string'
13296
12999
  },
13297
- legalStatusCode: {
13298
- maxLength: 255,
13299
- minLength: 0,
13300
- type: 'string'
13301
- },
13302
- customerNumber: {
13303
- maxLength: 255,
13304
- minLength: 0,
13305
- type: 'string',
13306
- nullable: true
13307
- },
13308
- branchId: {
13309
- type: 'string',
13310
- nullable: true
13311
- },
13312
13000
  contactInformations: {
13313
13001
  type: 'array',
13314
13002
  items: {
@@ -13461,7 +13149,7 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeEntityInformationTy
13461
13149
  } as const;
13462
13150
 
13463
13151
  export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeOrganizationDto = {
13464
- required: ['legalStatusCode', 'name', 'taxpayerId'],
13152
+ required: ['name', 'taxpayerId'],
13465
13153
  type: 'object',
13466
13154
  properties: {
13467
13155
  extraProperties: {
@@ -13480,21 +13168,6 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeOrganizationDto = {
13480
13168
  minLength: 0,
13481
13169
  type: 'string'
13482
13170
  },
13483
- legalStatusCode: {
13484
- maxLength: 255,
13485
- minLength: 0,
13486
- type: 'string'
13487
- },
13488
- customerNumber: {
13489
- maxLength: 255,
13490
- minLength: 0,
13491
- type: 'string',
13492
- nullable: true
13493
- },
13494
- branchId: {
13495
- type: 'string',
13496
- nullable: true
13497
- },
13498
13171
  contactInformations: {
13499
13172
  type: 'array',
13500
13173
  items: {
@@ -14282,15 +13955,6 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
14282
13955
  type: 'string',
14283
13956
  nullable: true
14284
13957
  },
14285
- customerNumber: {
14286
- type: 'string',
14287
- nullable: true
14288
- },
14289
- branchId: {
14290
- type: 'string',
14291
- nullable: true,
14292
- readOnly: true
14293
- },
14294
13958
  countryCode: {
14295
13959
  type: 'string',
14296
13960
  nullable: true,
@@ -14635,6 +14299,30 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeProfileDto = {
14635
14299
  additionalProperties: false
14636
14300
  } as const;
14637
14301
 
14302
+ export const $UniRefund_CRMService_TaxOffices_UpdateTaxOfficeOrganizationDto = {
14303
+ required: ['name', 'taxpayerId'],
14304
+ type: 'object',
14305
+ properties: {
14306
+ extraProperties: {
14307
+ type: 'object',
14308
+ additionalProperties: {},
14309
+ nullable: true,
14310
+ readOnly: true
14311
+ },
14312
+ name: {
14313
+ maxLength: 255,
14314
+ minLength: 0,
14315
+ type: 'string'
14316
+ },
14317
+ taxpayerId: {
14318
+ maxLength: 255,
14319
+ minLength: 0,
14320
+ type: 'string'
14321
+ }
14322
+ },
14323
+ additionalProperties: false
14324
+ } as const;
14325
+
14638
14326
  export const $UniRefund_CRMService_TelephoneTypes_CreateTelephoneTypeWithComponentsDto = {
14639
14327
  required: ['areaCode', 'ituCountryCode', 'localNumber', 'primaryFlag', 'typeCode'],
14640
14328
  type: 'object',