@@ -4303,20 +4303,11 @@ components:
4303
4303
required :
4304
4304
- data
4305
4305
type : object
4306
- TrusteesRelationship :
4307
- properties :
4308
- trustees :
4309
- $ref : ' #/components/schemas/Trustees_Relationship'
4310
- type : object
4311
- BeneficiariesRelationship :
4312
- properties :
4313
- beneficiaries :
4314
- $ref : ' #/components/schemas/Beneficiaries_Relationship'
4315
- type : object
4316
- BeneficialOwnersRelationship :
4306
+ OrgRelationship :
4307
+ additionalProperties : false
4317
4308
properties :
4318
- beneficialOwners :
4319
- $ref : ' #/components/schemas/Beneficial_Owners_Relationship '
4309
+ org :
4310
+ $ref : ' #/components/schemas/Org_Relationship '
4320
4311
type : object
4321
4312
Relationship :
4322
4313
additionalProperties : false
@@ -4327,16 +4318,14 @@ components:
4327
4318
- data
4328
4319
title : Relationship
4329
4320
type : object
4330
- ApplicationRelationships :
4321
+ IndividualApplicationRelationships :
4331
4322
allOf :
4332
4323
- additionalProperties : false
4333
4324
title : Application Relationships
4334
4325
type : object
4335
4326
- $ref : ' #/components/schemas/CustomerRelationship'
4336
4327
- $ref : ' #/components/schemas/DocumentsRelationship'
4337
- - $ref : ' #/components/schemas/TrusteesRelationship'
4338
- - $ref : ' #/components/schemas/BeneficiariesRelationship'
4339
- - $ref : ' #/components/schemas/BeneficialOwnersRelationship'
4328
+ - $ref : ' #/components/schemas/OrgRelationship'
4340
4329
- properties :
4341
4330
applicationForm :
4342
4331
$ref : ' #/components/schemas/Relationship'
@@ -4349,7 +4338,7 @@ components:
4349
4338
attributes :
4350
4339
$ref : ' #/components/schemas/IndividualApplication_allOf_attributes'
4351
4340
relationships :
4352
- $ref : ' #/components/schemas/ApplicationRelationships '
4341
+ $ref : ' #/components/schemas/IndividualApplicationRelationships '
4353
4342
required :
4354
4343
- attributes
4355
4344
- id
@@ -4535,6 +4524,24 @@ components:
4535
4524
Year :
4536
4525
pattern : " ^\\ d{4}$"
4537
4526
type : string
4527
+ BeneficialOwnersRelationship :
4528
+ properties :
4529
+ beneficialOwners :
4530
+ $ref : ' #/components/schemas/Beneficial_Owners_Relationship'
4531
+ type : object
4532
+ BusinessApplicationRelationships :
4533
+ allOf :
4534
+ - additionalProperties : false
4535
+ title : Application Relationships
4536
+ type : object
4537
+ - $ref : ' #/components/schemas/CustomerRelationship'
4538
+ - $ref : ' #/components/schemas/DocumentsRelationship'
4539
+ - $ref : ' #/components/schemas/BeneficialOwnersRelationship'
4540
+ - $ref : ' #/components/schemas/OrgRelationship'
4541
+ - properties :
4542
+ applicationForm :
4543
+ $ref : ' #/components/schemas/Relationship'
4544
+ type : object
4538
4545
BusinessApplication :
4539
4546
allOf :
4540
4547
- $ref : ' #/components/schemas/Application'
@@ -4543,7 +4550,7 @@ components:
4543
4550
attributes :
4544
4551
$ref : ' #/components/schemas/BusinessApplication_allOf_attributes'
4545
4552
relationships :
4546
- $ref : ' #/components/schemas/ApplicationRelationships '
4553
+ $ref : ' #/components/schemas/BusinessApplicationRelationships '
4547
4554
required :
4548
4555
- attributes
4549
4556
- id
@@ -5220,12 +5227,6 @@ components:
5220
5227
- phone
5221
5228
title : Authorized User
5222
5229
type : object
5223
- OrgRelationship :
5224
- additionalProperties : false
5225
- properties :
5226
- org :
5227
- $ref : ' #/components/schemas/Org_Relationship'
5228
- type : object
5229
5230
CustomerRelationships :
5230
5231
allOf :
5231
5232
- additionalProperties : true
@@ -5279,7 +5280,7 @@ components:
5279
5280
attributes :
5280
5281
$ref : ' #/components/schemas/CreateCreditAccount_attributes'
5281
5282
relationships :
5282
- $ref : ' #/components/schemas/CustomerRelationship '
5283
+ $ref : ' #/components/schemas/CreateCreditAccount_relationships '
5283
5284
title : Create Credit Account
5284
5285
type : object
5285
5286
CustomersRelationship :
@@ -10436,62 +10437,27 @@ components:
10436
10437
type : array
10437
10438
title : Documents Relationship
10438
10439
type : object
10439
- Trustees_Relationship_data_inner :
10440
- additionalProperties : false
10441
- properties :
10442
- type :
10443
- default : trustee
10444
- type : string
10445
- id :
10446
- pattern : " ^[1-9]\\ d*$"
10447
- type : string
10448
- type : object
10449
- Trustees_Relationship :
10450
- additionalProperties : false
10451
- properties :
10452
- data :
10453
- items :
10454
- $ref : ' #/components/schemas/Trustees_Relationship_data_inner'
10455
- type : array
10456
- title : Trustees Relationship
10457
- type : object
10458
- Beneficiaries_Relationship_data_inner :
10440
+ Org_Relationship_data :
10459
10441
additionalProperties : false
10460
10442
properties :
10461
- type :
10462
- default : beneficiary
10463
- type : string
10464
10443
id :
10465
10444
pattern : " ^[1-9]\\ d*$"
10466
10445
type : string
10467
- type : object
10468
- Beneficiaries_Relationship :
10469
- additionalProperties : false
10470
- properties :
10471
- data :
10472
- items :
10473
- $ref : ' #/components/schemas/Beneficiaries_Relationship_data_inner'
10474
- type : array
10475
- title : Beneficiaries Relationship
10476
- type : object
10477
- Beneficial_Owners_Relationship_data_inner :
10478
- additionalProperties : false
10479
- properties :
10480
10446
type :
10481
- default : beneficialOwner
10482
- type : string
10483
- id :
10484
- pattern : " ^[1-9]\\ d*$"
10447
+ default : org
10485
10448
type : string
10449
+ required :
10450
+ - id
10451
+ - type
10486
10452
type : object
10487
- Beneficial_Owners_Relationship :
10453
+ Org_Relationship :
10488
10454
additionalProperties : false
10489
10455
properties :
10490
10456
data :
10491
- items :
10492
- $ref : ' #/components/schemas/Beneficial_Owners_Relationship_data_inner '
10493
- type : array
10494
- title : Beneficial Owners Relationship
10457
+ $ref : ' #/components/schemas/Org_Relationship_data '
10458
+ required :
10459
+ - data
10460
+ title : Org Relationship
10495
10461
type : object
10496
10462
Relationship_data :
10497
10463
additionalProperties : false
@@ -10628,6 +10594,25 @@ components:
10628
10594
- fullName
10629
10595
- status
10630
10596
type : object
10597
+ Beneficial_Owners_Relationship_data_inner :
10598
+ additionalProperties : false
10599
+ properties :
10600
+ type :
10601
+ default : beneficialOwner
10602
+ type : string
10603
+ id :
10604
+ pattern : " ^[1-9]\\ d*$"
10605
+ type : string
10606
+ type : object
10607
+ Beneficial_Owners_Relationship :
10608
+ additionalProperties : false
10609
+ properties :
10610
+ data :
10611
+ items :
10612
+ $ref : ' #/components/schemas/Beneficial_Owners_Relationship_data_inner'
10613
+ type : array
10614
+ title : Beneficial Owners Relationship
10615
+ type : object
10631
10616
BusinessApplication_allOf_attributes :
10632
10617
properties :
10633
10618
createdAt :
@@ -11541,28 +11526,6 @@ components:
11541
11526
title : Credit Account Relationships
11542
11527
type : object
11543
11528
- $ref : ' #/components/schemas/CustomerRelationship'
11544
- Org_Relationship_data :
11545
- additionalProperties : false
11546
- properties :
11547
- id :
11548
- pattern : " ^[1-9]\\ d*$"
11549
- type : string
11550
- type :
11551
- default : org
11552
- type : string
11553
- required :
11554
- - id
11555
- - type
11556
- type : object
11557
- Org_Relationship :
11558
- additionalProperties : false
11559
- properties :
11560
- data :
11561
- $ref : ' #/components/schemas/Org_Relationship_data'
11562
- required :
11563
- - data
11564
- title : Org Relationship
11565
- type : object
11566
11529
IndividualCustomer_allOf_attributes :
11567
11530
properties :
11568
11531
createdAt :
@@ -11767,6 +11730,13 @@ components:
11767
11730
- creditLimit
11768
11731
- creditTerms
11769
11732
type : object
11733
+ CreateCreditAccount_relationships :
11734
+ allOf :
11735
+ - additionalProperties : false
11736
+ required :
11737
+ - customer
11738
+ type : object
11739
+ - $ref : ' #/components/schemas/CustomerRelationship'
11770
11740
Customers_Relationship_data_inner :
11771
11741
properties :
11772
11742
id :
0 commit comments