@ayasofyazilim/saas 0.0.96 → 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.
@@ -8,6 +8,7 @@ import { AbpApplicationConfigurationService } from './services.gen';
8
8
  import { AbpApplicationLocalizationService } from './services.gen';
9
9
  import { AffiliationCodeService } from './services.gen';
10
10
  import { CustomsService } from './services.gen';
11
+ import { CustomsIntegrationService } from './services.gen';
11
12
  import { IndividualService } from './services.gen';
12
13
  import { MerchantService } from './services.gen';
13
14
  import { MerchantIntegrationService } from './services.gen';
@@ -27,6 +28,7 @@ export class CRMServiceClient {
27
28
  public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
28
29
  public readonly affiliationCode: AffiliationCodeService;
29
30
  public readonly customs: CustomsService;
31
+ public readonly customsIntegration: CustomsIntegrationService;
30
32
  public readonly individual: IndividualService;
31
33
  public readonly merchant: MerchantService;
32
34
  public readonly merchantIntegration: MerchantIntegrationService;
@@ -61,6 +63,7 @@ export class CRMServiceClient {
61
63
  this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
62
64
  this.affiliationCode = new AffiliationCodeService(this.request);
63
65
  this.customs = new CustomsService(this.request);
66
+ this.customsIntegration = new CustomsIntegrationService(this.request);
64
67
  this.individual = new IndividualService(this.request);
65
68
  this.merchant = new MerchantService(this.request);
66
69
  this.merchantIntegration = new MerchantIntegrationService(this.request);
@@ -88,6 +88,7 @@ export const $PagedResultDto_AffiliationTypeDetailDto = {
88
88
  items: {
89
89
  type: 'array',
90
90
  items: {
91
+ required: ['codeId', 'codeName', 'email', 'entityInformationTypeCode', 'name', 'telephone'],
91
92
  type: 'object',
92
93
  properties: {
93
94
  id: {
@@ -95,20 +96,32 @@ export const $PagedResultDto_AffiliationTypeDetailDto = {
95
96
  format: 'uuid'
96
97
  },
97
98
  name: {
98
- type: 'string',
99
- nullable: true
99
+ minLength: 1,
100
+ type: 'string'
100
101
  },
101
102
  codeId: {
102
103
  type: 'integer',
103
104
  format: 'int32'
104
105
  },
105
106
  codeName: {
106
- type: 'string',
107
- nullable: true
107
+ minLength: 1,
108
+ type: 'string'
108
109
  },
109
110
  entityInformationTypeCode: {
110
111
  enum: ['INDIVIDUAL', 'ORGANIZATION'],
111
112
  type: 'string'
113
+ },
114
+ isAbpUser: {
115
+ type: 'boolean',
116
+ nullable: true
117
+ },
118
+ email: {
119
+ minLength: 1,
120
+ type: 'string'
121
+ },
122
+ telephone: {
123
+ minLength: 1,
124
+ type: 'string'
112
125
  }
113
126
  },
114
127
  additionalProperties: false
@@ -735,6 +748,7 @@ export const $UniRefund_CRMService_AffiliationCodes_UpdateAffiliationCodeDto = {
735
748
  } as const;
736
749
 
737
750
  export const $UniRefund_CRMService_AffiliationTypes_AffiliationTypeDetailDto = {
751
+ required: ['codeId', 'codeName', 'email', 'entityInformationTypeCode', 'name', 'telephone'],
738
752
  type: 'object',
739
753
  properties: {
740
754
  id: {
@@ -742,20 +756,32 @@ export const $UniRefund_CRMService_AffiliationTypes_AffiliationTypeDetailDto = {
742
756
  format: 'uuid'
743
757
  },
744
758
  name: {
745
- type: 'string',
746
- nullable: true
759
+ minLength: 1,
760
+ type: 'string'
747
761
  },
748
762
  codeId: {
749
763
  type: 'integer',
750
764
  format: 'int32'
751
765
  },
752
766
  codeName: {
753
- type: 'string',
754
- nullable: true
767
+ minLength: 1,
768
+ type: 'string'
755
769
  },
756
770
  entityInformationTypeCode: {
757
771
  enum: ['INDIVIDUAL', 'ORGANIZATION'],
758
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'
759
785
  }
760
786
  },
761
787
  additionalProperties: false
@@ -1418,12 +1444,6 @@ export const $UniRefund_CRMService_Customss_CreateCustomsDto = {
1418
1444
  minLength: 0,
1419
1445
  type: 'string'
1420
1446
  },
1421
- branchId: {
1422
- maxLength: 255,
1423
- minLength: 0,
1424
- type: 'string',
1425
- nullable: true
1426
- },
1427
1447
  contactInformations: {
1428
1448
  type: 'array',
1429
1449
  items: {
@@ -1615,12 +1635,6 @@ export const $UniRefund_CRMService_Customss_CreateCustomsEntityInformationTypeDt
1615
1635
  minLength: 0,
1616
1636
  type: 'string'
1617
1637
  },
1618
- branchId: {
1619
- maxLength: 255,
1620
- minLength: 0,
1621
- type: 'string',
1622
- nullable: true
1623
- },
1624
1638
  contactInformations: {
1625
1639
  type: 'array',
1626
1640
  items: {
@@ -1792,12 +1806,6 @@ export const $UniRefund_CRMService_Customss_CreateCustomsOrganizationDto = {
1792
1806
  minLength: 0,
1793
1807
  type: 'string'
1794
1808
  },
1795
- branchId: {
1796
- maxLength: 255,
1797
- minLength: 0,
1798
- type: 'string',
1799
- nullable: true
1800
- },
1801
1809
  contactInformations: {
1802
1810
  type: 'array',
1803
1811
  items: {
@@ -2590,15 +2598,6 @@ export const $UniRefund_CRMService_Customss_CustomsDto = {
2590
2598
  type: 'string',
2591
2599
  nullable: true
2592
2600
  },
2593
- customerNumber: {
2594
- type: 'string',
2595
- nullable: true
2596
- },
2597
- branchId: {
2598
- type: 'string',
2599
- nullable: true,
2600
- readOnly: true
2601
- },
2602
2601
  countryCode: {
2603
2602
  type: 'string',
2604
2603
  nullable: true,
@@ -2961,10 +2960,6 @@ export const $UniRefund_CRMService_Customss_UpdateCustomsOrganizationDto = {
2961
2960
  type: 'string',
2962
2961
  format: 'uuid',
2963
2962
  nullable: true
2964
- },
2965
- branchId: {
2966
- type: 'string',
2967
- nullable: true
2968
2963
  }
2969
2964
  },
2970
2965
  additionalProperties: false
@@ -3680,15 +3675,6 @@ export const $UniRefund_CRMService_EntityInformationTypes_EntityInformationTypeD
3680
3675
  type: 'string',
3681
3676
  nullable: true
3682
3677
  },
3683
- customerNumber: {
3684
- type: 'string',
3685
- nullable: true
3686
- },
3687
- branchId: {
3688
- type: 'string',
3689
- nullable: true,
3690
- readOnly: true
3691
- },
3692
3678
  countryCode: {
3693
3679
  type: 'string',
3694
3680
  nullable: true,
@@ -4979,6 +4965,10 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantDto = {
4979
4965
  format: 'uuid',
4980
4966
  nullable: true
4981
4967
  },
4968
+ customerNumber: {
4969
+ type: 'string',
4970
+ nullable: true
4971
+ },
4982
4972
  entityInformationTypes: {
4983
4973
  type: 'array',
4984
4974
  items: {
@@ -5259,18 +5249,6 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantDto = {
5259
5249
  minLength: 0,
5260
5250
  type: 'string'
5261
5251
  },
5262
- customerNumber: {
5263
- maxLength: 255,
5264
- minLength: 0,
5265
- type: 'string',
5266
- nullable: true
5267
- },
5268
- branchId: {
5269
- maxLength: 255,
5270
- minLength: 0,
5271
- type: 'string',
5272
- nullable: true
5273
- },
5274
5252
  contactInformations: {
5275
5253
  type: 'array',
5276
5254
  items: {
@@ -5703,18 +5681,6 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantEntityInformationType
5703
5681
  minLength: 0,
5704
5682
  type: 'string'
5705
5683
  },
5706
- customerNumber: {
5707
- maxLength: 255,
5708
- minLength: 0,
5709
- type: 'string',
5710
- nullable: true
5711
- },
5712
- branchId: {
5713
- maxLength: 255,
5714
- minLength: 0,
5715
- type: 'string',
5716
- nullable: true
5717
- },
5718
5684
  contactInformations: {
5719
5685
  type: 'array',
5720
5686
  items: {
@@ -5890,18 +5856,6 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantOrgnaizationDto = {
5890
5856
  minLength: 0,
5891
5857
  type: 'string'
5892
5858
  },
5893
- customerNumber: {
5894
- maxLength: 255,
5895
- minLength: 0,
5896
- type: 'string',
5897
- nullable: true
5898
- },
5899
- branchId: {
5900
- maxLength: 255,
5901
- minLength: 0,
5902
- type: 'string',
5903
- nullable: true
5904
- },
5905
5859
  contactInformations: {
5906
5860
  type: 'array',
5907
5861
  items: {
@@ -6768,15 +6722,6 @@ export const $UniRefund_CRMService_Merchants_MerchantDetailDto = {
6768
6722
  type: 'string',
6769
6723
  nullable: true
6770
6724
  },
6771
- customerNumber: {
6772
- type: 'string',
6773
- nullable: true
6774
- },
6775
- branchId: {
6776
- type: 'string',
6777
- nullable: true,
6778
- readOnly: true
6779
- },
6780
6725
  countryCode: {
6781
6726
  type: 'string',
6782
6727
  nullable: true,
@@ -7919,15 +7864,6 @@ export const $UniRefund_CRMService_Merchants_MerchantDto = {
7919
7864
  type: 'string',
7920
7865
  nullable: true
7921
7866
  },
7922
- customerNumber: {
7923
- type: 'string',
7924
- nullable: true
7925
- },
7926
- branchId: {
7927
- type: 'string',
7928
- nullable: true,
7929
- readOnly: true
7930
- },
7931
7867
  countryCode: {
7932
7868
  type: 'string',
7933
7869
  nullable: true,
@@ -8398,7 +8334,7 @@ export const $UniRefund_CRMService_Merchants_MerchantInfoDto = {
8398
8334
  type: 'string',
8399
8335
  nullable: true
8400
8336
  },
8401
- branchId: {
8337
+ customerNumber: {
8402
8338
  type: 'string',
8403
8339
  nullable: true
8404
8340
  }
@@ -8902,19 +8838,6 @@ export const $UniRefund_CRMService_Organizations_CreateOrganizationDto = {
8902
8838
  minLength: 0,
8903
8839
  type: 'string'
8904
8840
  },
8905
- customerNumber: {
8906
- type: 'string',
8907
- nullable: true
8908
- },
8909
- branchId: {
8910
- type: 'string',
8911
- nullable: true
8912
- },
8913
- parentCompanyId: {
8914
- type: 'string',
8915
- format: 'uuid',
8916
- nullable: true
8917
- },
8918
8841
  contactInformations: {
8919
8842
  type: 'array',
8920
8843
  items: {
@@ -9117,15 +9040,6 @@ export const $UniRefund_CRMService_Organizations_OrganizationDto = {
9117
9040
  type: 'string',
9118
9041
  nullable: true
9119
9042
  },
9120
- customerNumber: {
9121
- type: 'string',
9122
- nullable: true
9123
- },
9124
- branchId: {
9125
- type: 'string',
9126
- nullable: true,
9127
- readOnly: true
9128
- },
9129
9043
  countryCode: {
9130
9044
  type: 'string',
9131
9045
  nullable: true,
@@ -9533,18 +9447,10 @@ export const $UniRefund_CRMService_Organizations_UpdateOrganizationDto = {
9533
9447
  type: 'string',
9534
9448
  nullable: true
9535
9449
  },
9536
- customerNumber: {
9537
- type: 'string',
9538
- nullable: true
9539
- },
9540
9450
  parentCompanyId: {
9541
9451
  type: 'string',
9542
9452
  format: 'uuid',
9543
9453
  nullable: true
9544
- },
9545
- branchId: {
9546
- type: 'string',
9547
- nullable: true
9548
9454
  }
9549
9455
  },
9550
9456
  additionalProperties: false
@@ -9753,12 +9659,6 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointDto = {
9753
9659
  minLength: 0,
9754
9660
  type: 'string'
9755
9661
  },
9756
- branchId: {
9757
- maxLength: 255,
9758
- minLength: 0,
9759
- type: 'string',
9760
- nullable: true
9761
- },
9762
9662
  contactInformations: {
9763
9663
  type: 'array',
9764
9664
  items: {
@@ -9939,12 +9839,6 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointEntityInformati
9939
9839
  minLength: 0,
9940
9840
  type: 'string'
9941
9841
  },
9942
- branchId: {
9943
- maxLength: 255,
9944
- minLength: 0,
9945
- type: 'string',
9946
- nullable: true
9947
- },
9948
9842
  contactInformations: {
9949
9843
  type: 'array',
9950
9844
  items: {
@@ -10109,12 +10003,6 @@ export const $UniRefund_CRMService_RefundPoints_CreateRefundPointOrganizationDto
10109
10003
  minLength: 0,
10110
10004
  type: 'string'
10111
10005
  },
10112
- branchId: {
10113
- maxLength: 255,
10114
- minLength: 0,
10115
- type: 'string',
10116
- nullable: true
10117
- },
10118
10006
  contactInformations: {
10119
10007
  type: 'array',
10120
10008
  items: {
@@ -10972,15 +10860,6 @@ export const $UniRefund_CRMService_RefundPoints_RefundPointDto = {
10972
10860
  type: 'string',
10973
10861
  nullable: true
10974
10862
  },
10975
- customerNumber: {
10976
- type: 'string',
10977
- nullable: true
10978
- },
10979
- branchId: {
10980
- type: 'string',
10981
- nullable: true,
10982
- readOnly: true
10983
- },
10984
10863
  countryCode: {
10985
10864
  type: 'string',
10986
10865
  nullable: true,
@@ -11324,10 +11203,6 @@ export const $UniRefund_CRMService_RefundPoints_UpdateRefundPointOrganizationDto
11324
11203
  type: 'string',
11325
11204
  format: 'uuid',
11326
11205
  nullable: true
11327
- },
11328
- branchId: {
11329
- type: 'string',
11330
- nullable: true
11331
11206
  }
11332
11207
  },
11333
11208
  additionalProperties: false
@@ -11381,18 +11256,6 @@ export const $UniRefund_CRMService_TaxFrees_CreateTaxFreeDto = {
11381
11256
  minLength: 0,
11382
11257
  type: 'string'
11383
11258
  },
11384
- customerNumber: {
11385
- maxLength: 255,
11386
- minLength: 0,
11387
- type: 'string',
11388
- nullable: true
11389
- },
11390
- branchId: {
11391
- maxLength: 255,
11392
- minLength: 0,
11393
- type: 'string',
11394
- nullable: true
11395
- },
11396
11259
  contactInformations: {
11397
11260
  type: 'array',
11398
11261
  items: {
@@ -11589,18 +11452,6 @@ export const $UniRefund_CRMService_TaxFrees_CreateTaxFreeEntityInformationTypeDt
11589
11452
  minLength: 0,
11590
11453
  type: 'string'
11591
11454
  },
11592
- customerNumber: {
11593
- maxLength: 255,
11594
- minLength: 0,
11595
- type: 'string',
11596
- nullable: true
11597
- },
11598
- branchId: {
11599
- maxLength: 255,
11600
- minLength: 0,
11601
- type: 'string',
11602
- nullable: true
11603
- },
11604
11455
  contactInformations: {
11605
11456
  type: 'array',
11606
11457
  items: {
@@ -11777,18 +11628,6 @@ export const $UniRefund_CRMService_TaxFrees_CreateTaxFreeOrganizationDto = {
11777
11628
  minLength: 0,
11778
11629
  type: 'string'
11779
11630
  },
11780
- customerNumber: {
11781
- maxLength: 255,
11782
- minLength: 0,
11783
- type: 'string',
11784
- nullable: true
11785
- },
11786
- branchId: {
11787
- maxLength: 255,
11788
- minLength: 0,
11789
- type: 'string',
11790
- nullable: true
11791
- },
11792
11631
  contactInformations: {
11793
11632
  type: 'array',
11794
11633
  items: {
@@ -12576,15 +12415,6 @@ export const $UniRefund_CRMService_TaxFrees_TaxFreeDto = {
12576
12415
  type: 'string',
12577
12416
  nullable: true
12578
12417
  },
12579
- customerNumber: {
12580
- type: 'string',
12581
- nullable: true
12582
- },
12583
- branchId: {
12584
- type: 'string',
12585
- nullable: true,
12586
- readOnly: true
12587
- },
12588
12418
  countryCode: {
12589
12419
  type: 'string',
12590
12420
  nullable: true,
@@ -12957,7 +12787,7 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeDto = {
12957
12787
  organizations: {
12958
12788
  type: 'array',
12959
12789
  items: {
12960
- required: ['legalStatusCode', 'name', 'taxpayerId'],
12790
+ required: ['name', 'taxpayerId'],
12961
12791
  type: 'object',
12962
12792
  properties: {
12963
12793
  extraProperties: {
@@ -12976,21 +12806,6 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeDto = {
12976
12806
  minLength: 0,
12977
12807
  type: 'string'
12978
12808
  },
12979
- legalStatusCode: {
12980
- maxLength: 255,
12981
- minLength: 0,
12982
- type: 'string'
12983
- },
12984
- customerNumber: {
12985
- maxLength: 255,
12986
- minLength: 0,
12987
- type: 'string',
12988
- nullable: true
12989
- },
12990
- branchId: {
12991
- type: 'string',
12992
- nullable: true
12993
- },
12994
12809
  contactInformations: {
12995
12810
  type: 'array',
12996
12811
  items: {
@@ -13163,7 +12978,7 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeEntityInformationTy
13163
12978
  organizations: {
13164
12979
  type: 'array',
13165
12980
  items: {
13166
- required: ['legalStatusCode', 'name', 'taxpayerId'],
12981
+ required: ['name', 'taxpayerId'],
13167
12982
  type: 'object',
13168
12983
  properties: {
13169
12984
  extraProperties: {
@@ -13182,21 +12997,6 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeEntityInformationTy
13182
12997
  minLength: 0,
13183
12998
  type: 'string'
13184
12999
  },
13185
- legalStatusCode: {
13186
- maxLength: 255,
13187
- minLength: 0,
13188
- type: 'string'
13189
- },
13190
- customerNumber: {
13191
- maxLength: 255,
13192
- minLength: 0,
13193
- type: 'string',
13194
- nullable: true
13195
- },
13196
- branchId: {
13197
- type: 'string',
13198
- nullable: true
13199
- },
13200
13000
  contactInformations: {
13201
13001
  type: 'array',
13202
13002
  items: {
@@ -13349,7 +13149,7 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeEntityInformationTy
13349
13149
  } as const;
13350
13150
 
13351
13151
  export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeOrganizationDto = {
13352
- required: ['legalStatusCode', 'name', 'taxpayerId'],
13152
+ required: ['name', 'taxpayerId'],
13353
13153
  type: 'object',
13354
13154
  properties: {
13355
13155
  extraProperties: {
@@ -13368,21 +13168,6 @@ export const $UniRefund_CRMService_TaxOffices_CreateTaxOfficeOrganizationDto = {
13368
13168
  minLength: 0,
13369
13169
  type: 'string'
13370
13170
  },
13371
- legalStatusCode: {
13372
- maxLength: 255,
13373
- minLength: 0,
13374
- type: 'string'
13375
- },
13376
- customerNumber: {
13377
- maxLength: 255,
13378
- minLength: 0,
13379
- type: 'string',
13380
- nullable: true
13381
- },
13382
- branchId: {
13383
- type: 'string',
13384
- nullable: true
13385
- },
13386
13171
  contactInformations: {
13387
13172
  type: 'array',
13388
13173
  items: {
@@ -14170,15 +13955,6 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeDto = {
14170
13955
  type: 'string',
14171
13956
  nullable: true
14172
13957
  },
14173
- customerNumber: {
14174
- type: 'string',
14175
- nullable: true
14176
- },
14177
- branchId: {
14178
- type: 'string',
14179
- nullable: true,
14180
- readOnly: true
14181
- },
14182
13958
  countryCode: {
14183
13959
  type: 'string',
14184
13960
  nullable: true,
@@ -14523,6 +14299,30 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeProfileDto = {
14523
14299
  additionalProperties: false
14524
14300
  } as const;
14525
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
+
14526
14326
  export const $UniRefund_CRMService_TelephoneTypes_CreateTelephoneTypeWithComponentsDto = {
14527
14327
  required: ['areaCode', 'ituCountryCode', 'localNumber', 'primaryFlag', 'typeCode'],
14528
14328
  type: 'object',