Skip to content

Commit 5025f2e

Browse files
authored
1 parent e023a9d commit 5025f2e

File tree

1 file changed

+78
-209
lines changed

1 file changed

+78
-209
lines changed

src/lib/seam/connect/openapi.ts

Lines changed: 78 additions & 209 deletions
Original file line numberDiff line numberDiff line change
@@ -3945,31 +3945,7 @@ export default {
39453945
type: 'object',
39463946
properties: {
39473947
acs_access_group: {
3948-
type: 'object',
3949-
properties: {
3950-
acs_access_group_id: { type: 'string', format: 'uuid' },
3951-
acs_system_id: { type: 'string', format: 'uuid' },
3952-
workspace_id: { type: 'string', format: 'uuid' },
3953-
name: { type: 'string' },
3954-
access_group_type: {
3955-
type: 'string',
3956-
enum: ['pti_unit'],
3957-
},
3958-
created_at: {
3959-
oneOf: [
3960-
{ type: 'string' },
3961-
{ type: 'string', format: 'date-time' },
3962-
],
3963-
},
3964-
},
3965-
required: [
3966-
'acs_access_group_id',
3967-
'acs_system_id',
3968-
'workspace_id',
3969-
'name',
3970-
'access_group_type',
3971-
'created_at',
3972-
],
3948+
$ref: '#/components/schemas/acs_access_group',
39733949
},
39743950
ok: { type: 'boolean' },
39753951
},
@@ -4061,31 +4037,7 @@ export default {
40614037
type: 'object',
40624038
properties: {
40634039
acs_access_group: {
4064-
type: 'object',
4065-
properties: {
4066-
acs_access_group_id: { type: 'string', format: 'uuid' },
4067-
acs_system_id: { type: 'string', format: 'uuid' },
4068-
workspace_id: { type: 'string', format: 'uuid' },
4069-
name: { type: 'string' },
4070-
access_group_type: {
4071-
type: 'string',
4072-
enum: ['pti_unit'],
4073-
},
4074-
created_at: {
4075-
oneOf: [
4076-
{ type: 'string' },
4077-
{ type: 'string', format: 'date-time' },
4078-
],
4079-
},
4080-
},
4081-
required: [
4082-
'acs_access_group_id',
4083-
'acs_system_id',
4084-
'workspace_id',
4085-
'name',
4086-
'access_group_type',
4087-
'created_at',
4088-
],
4040+
$ref: '#/components/schemas/acs_access_group',
40894041
},
40904042
ok: { type: 'boolean' },
40914043
},
@@ -4134,36 +4086,7 @@ export default {
41344086
properties: {
41354087
acs_access_groups: {
41364088
type: 'array',
4137-
items: {
4138-
type: 'object',
4139-
properties: {
4140-
acs_access_group_id: {
4141-
type: 'string',
4142-
format: 'uuid',
4143-
},
4144-
acs_system_id: { type: 'string', format: 'uuid' },
4145-
workspace_id: { type: 'string', format: 'uuid' },
4146-
name: { type: 'string' },
4147-
access_group_type: {
4148-
type: 'string',
4149-
enum: ['pti_unit'],
4150-
},
4151-
created_at: {
4152-
oneOf: [
4153-
{ type: 'string' },
4154-
{ type: 'string', format: 'date-time' },
4155-
],
4156-
},
4157-
},
4158-
required: [
4159-
'acs_access_group_id',
4160-
'acs_system_id',
4161-
'workspace_id',
4162-
'name',
4163-
'access_group_type',
4164-
'created_at',
4165-
],
4166-
},
4089+
items: { $ref: '#/components/schemas/acs_access_group' },
41674090
},
41684091
ok: { type: 'boolean' },
41694092
},
@@ -4295,29 +4218,7 @@ export default {
42954218
schema: {
42964219
type: 'object',
42974220
properties: {
4298-
acs_system: {
4299-
type: 'object',
4300-
properties: {
4301-
acs_system_id: { type: 'string', format: 'uuid' },
4302-
system_type: {
4303-
type: 'string',
4304-
enum: ['pti_site', 'alta_org'],
4305-
},
4306-
name: { type: 'string' },
4307-
created_at: {
4308-
oneOf: [
4309-
{ type: 'string' },
4310-
{ type: 'string', format: 'date-time' },
4311-
],
4312-
},
4313-
},
4314-
required: [
4315-
'acs_system_id',
4316-
'system_type',
4317-
'name',
4318-
'created_at',
4319-
],
4320-
},
4221+
acs_system: { $ref: '#/components/schemas/acs_system' },
43214222
ok: { type: 'boolean' },
43224223
},
43234224
required: ['acs_system', 'ok'],
@@ -4365,29 +4266,7 @@ export default {
43654266
properties: {
43664267
acs_systems: {
43674268
type: 'array',
4368-
items: {
4369-
type: 'object',
4370-
properties: {
4371-
acs_system_id: { type: 'string', format: 'uuid' },
4372-
system_type: {
4373-
type: 'string',
4374-
enum: ['pti_site', 'alta_org'],
4375-
},
4376-
name: { type: 'string' },
4377-
created_at: {
4378-
oneOf: [
4379-
{ type: 'string' },
4380-
{ type: 'string', format: 'date-time' },
4381-
],
4382-
},
4383-
},
4384-
required: [
4385-
'acs_system_id',
4386-
'system_type',
4387-
'name',
4388-
'created_at',
4389-
],
4390-
},
4269+
items: { $ref: '#/components/schemas/acs_system' },
43914270
},
43924271
ok: { type: 'boolean' },
43934272
},
@@ -4420,29 +4299,7 @@ export default {
44204299
properties: {
44214300
acs_systems: {
44224301
type: 'array',
4423-
items: {
4424-
type: 'object',
4425-
properties: {
4426-
acs_system_id: { type: 'string', format: 'uuid' },
4427-
system_type: {
4428-
type: 'string',
4429-
enum: ['pti_site', 'alta_org'],
4430-
},
4431-
name: { type: 'string' },
4432-
created_at: {
4433-
oneOf: [
4434-
{ type: 'string' },
4435-
{ type: 'string', format: 'date-time' },
4436-
],
4437-
},
4438-
},
4439-
required: [
4440-
'acs_system_id',
4441-
'system_type',
4442-
'name',
4443-
'created_at',
4444-
],
4445-
},
4302+
items: { $ref: '#/components/schemas/acs_system' },
44464303
},
44474304
ok: { type: 'boolean' },
44484305
},
@@ -4539,26 +4396,7 @@ export default {
45394396
schema: {
45404397
type: 'object',
45414398
properties: {
4542-
acs_user: {
4543-
type: 'object',
4544-
properties: {
4545-
acs_user_id: { type: 'string', format: 'uuid' },
4546-
acs_system_id: { type: 'string', format: 'uuid' },
4547-
workspace_id: { type: 'string', format: 'uuid' },
4548-
created_at: { type: 'string', format: 'date-time' },
4549-
display_name: { type: 'string' },
4550-
full_name: { type: 'string' },
4551-
email: { type: 'string', format: 'email' },
4552-
phone_number: { type: 'string', nullable: true },
4553-
},
4554-
required: [
4555-
'acs_user_id',
4556-
'acs_system_id',
4557-
'workspace_id',
4558-
'created_at',
4559-
'display_name',
4560-
],
4561-
},
4399+
acs_user: { $ref: '#/components/schemas/acs_user' },
45624400
ok: { type: 'boolean' },
45634401
},
45644402
required: ['acs_user', 'ok'],
@@ -4580,10 +4418,17 @@ export default {
45804418
schema: {
45814419
type: 'object',
45824420
properties: {
4421+
acs_system_id: { type: 'string', format: 'uuid' },
4422+
acs_access_group_ids: {
4423+
default: [],
4424+
type: 'array',
4425+
items: { type: 'string', format: 'uuid' },
4426+
},
45834427
full_name: { type: 'string' },
45844428
email: { type: 'string', format: 'email' },
45854429
phone_number: { type: 'string', nullable: true },
45864430
},
4431+
required: ['acs_system_id'],
45874432
},
45884433
},
45894434
},
@@ -4646,26 +4491,7 @@ export default {
46464491
schema: {
46474492
type: 'object',
46484493
properties: {
4649-
acs_user: {
4650-
type: 'object',
4651-
properties: {
4652-
acs_user_id: { type: 'string', format: 'uuid' },
4653-
acs_system_id: { type: 'string', format: 'uuid' },
4654-
workspace_id: { type: 'string', format: 'uuid' },
4655-
created_at: { type: 'string', format: 'date-time' },
4656-
display_name: { type: 'string' },
4657-
full_name: { type: 'string' },
4658-
email: { type: 'string', format: 'email' },
4659-
phone_number: { type: 'string', nullable: true },
4660-
},
4661-
required: [
4662-
'acs_user_id',
4663-
'acs_system_id',
4664-
'workspace_id',
4665-
'created_at',
4666-
'display_name',
4667-
],
4668-
},
4494+
acs_user: { $ref: '#/components/schemas/acs_user' },
46694495
ok: { type: 'boolean' },
46704496
},
46714497
required: ['acs_user', 'ok'],
@@ -4711,26 +4537,7 @@ export default {
47114537
properties: {
47124538
acs_users: {
47134539
type: 'array',
4714-
items: {
4715-
type: 'object',
4716-
properties: {
4717-
acs_user_id: { type: 'string', format: 'uuid' },
4718-
acs_system_id: { type: 'string', format: 'uuid' },
4719-
workspace_id: { type: 'string', format: 'uuid' },
4720-
created_at: { type: 'string', format: 'date-time' },
4721-
display_name: { type: 'string' },
4722-
full_name: { type: 'string' },
4723-
email: { type: 'string', format: 'email' },
4724-
phone_number: { type: 'string', nullable: true },
4725-
},
4726-
required: [
4727-
'acs_user_id',
4728-
'acs_system_id',
4729-
'workspace_id',
4730-
'created_at',
4731-
'display_name',
4732-
],
4733-
},
4540+
items: { $ref: '#/components/schemas/acs_user' },
47344541
},
47354542
ok: { type: 'boolean' },
47364543
},
@@ -4858,10 +4665,12 @@ export default {
48584665
schema: {
48594666
type: 'object',
48604667
properties: {
4668+
acs_user_id: { type: 'string', format: 'uuid' },
48614669
full_name: { type: 'string' },
48624670
email: { type: 'string', format: 'email' },
48634671
phone_number: { type: 'string', nullable: true },
48644672
},
4673+
required: ['acs_user_id'],
48654674
},
48664675
},
48674676
},
@@ -4900,10 +4709,12 @@ export default {
49004709
schema: {
49014710
type: 'object',
49024711
properties: {
4712+
acs_user_id: { type: 'string', format: 'uuid' },
49034713
full_name: { type: 'string' },
49044714
email: { type: 'string', format: 'email' },
49054715
phone_number: { type: 'string', nullable: true },
49064716
},
4717+
required: ['acs_user_id'],
49074718
},
49084719
},
49094720
},
@@ -7398,6 +7209,64 @@ export default {
73987209
'connect_partner_name',
73997210
],
74007211
},
7212+
acs_system: {
7213+
type: 'object',
7214+
properties: {
7215+
acs_system_id: { type: 'string', format: 'uuid' },
7216+
system_type: { type: 'string', enum: ['pti_site', 'alta_org'] },
7217+
system_type_display_name: { type: 'string' },
7218+
name: { type: 'string' },
7219+
created_at: { type: 'string', format: 'date-time' },
7220+
},
7221+
required: [
7222+
'acs_system_id',
7223+
'system_type',
7224+
'system_type_display_name',
7225+
'name',
7226+
'created_at',
7227+
],
7228+
},
7229+
acs_access_group: {
7230+
type: 'object',
7231+
properties: {
7232+
acs_access_group_id: { type: 'string', format: 'uuid' },
7233+
acs_system_id: { type: 'string', format: 'uuid' },
7234+
workspace_id: { type: 'string', format: 'uuid' },
7235+
name: { type: 'string' },
7236+
access_group_type: { type: 'string', enum: ['pti_unit'] },
7237+
access_group_type_display_name: { type: 'string' },
7238+
created_at: { type: 'string', format: 'date-time' },
7239+
},
7240+
required: [
7241+
'acs_access_group_id',
7242+
'acs_system_id',
7243+
'workspace_id',
7244+
'name',
7245+
'access_group_type',
7246+
'access_group_type_display_name',
7247+
'created_at',
7248+
],
7249+
},
7250+
acs_user: {
7251+
type: 'object',
7252+
properties: {
7253+
acs_user_id: { type: 'string', format: 'uuid' },
7254+
acs_system_id: { type: 'string', format: 'uuid' },
7255+
workspace_id: { type: 'string', format: 'uuid' },
7256+
created_at: { type: 'string', format: 'date-time' },
7257+
display_name: { type: 'string' },
7258+
full_name: { type: 'string' },
7259+
email: { type: 'string', format: 'email' },
7260+
phone_number: { type: 'string', nullable: true },
7261+
},
7262+
required: [
7263+
'acs_user_id',
7264+
'acs_system_id',
7265+
'workspace_id',
7266+
'created_at',
7267+
'display_name',
7268+
],
7269+
},
74017270
},
74027271
},
74037272
}

0 commit comments

Comments
 (0)