@seamapi/types 1.7.1 → 1.9.0

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.
@@ -448,6 +448,18 @@ export interface Routes {
448
448
  };
449
449
  };
450
450
  };
451
+ '/acs/access_groups/add_user': {
452
+ route: '/acs/access_groups/add_user';
453
+ method: 'PATCH' | 'POST';
454
+ queryParams: {};
455
+ jsonBody: {};
456
+ commonParams: {
457
+ acs_access_group_id: string;
458
+ acs_user_id: string;
459
+ };
460
+ formData: {};
461
+ jsonResponse: {};
462
+ };
451
463
  '/acs/access_groups/create': {
452
464
  route: '/acs/access_groups/create';
453
465
  method: 'POST';
@@ -524,6 +536,40 @@ export interface Routes {
524
536
  }>;
525
537
  };
526
538
  };
539
+ '/acs/access_groups/list_users': {
540
+ route: '/acs/access_groups/list_users';
541
+ method: 'GET' | 'POST';
542
+ queryParams: {};
543
+ jsonBody: {};
544
+ commonParams: {
545
+ acs_access_group_id: string;
546
+ };
547
+ formData: {};
548
+ jsonResponse: {
549
+ acs_users: Array<{
550
+ acs_user_id: string;
551
+ acs_system_id: string;
552
+ workspace_id: string;
553
+ created_at: string;
554
+ display_name: string;
555
+ full_name?: string | undefined;
556
+ email?: string | undefined;
557
+ phone_number?: string | undefined;
558
+ }>;
559
+ };
560
+ };
561
+ '/acs/access_groups/remove_user': {
562
+ route: '/acs/access_groups/remove_user';
563
+ method: 'DELETE' | 'POST';
564
+ queryParams: {};
565
+ jsonBody: {};
566
+ commonParams: {
567
+ acs_access_group_id: string;
568
+ acs_user_id: string;
569
+ };
570
+ formData: {};
571
+ jsonResponse: {};
572
+ };
527
573
  '/acs/access_groups/update': {
528
574
  route: '/acs/access_groups/update';
529
575
  method: 'POST' | 'PATCH';
@@ -871,7 +917,7 @@ export interface Routes {
871
917
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
872
918
  custom_redirect_url?: string | undefined;
873
919
  custom_redirect_failure_url?: string | undefined;
874
- accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'wyze' | 'yale_access'> | undefined;
920
+ accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'yale_access'> | undefined;
875
921
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
876
922
  custom_metadata?: Record<string, string | number | null | boolean> | undefined;
877
923
  automatically_manage_new_devices?: boolean | undefined;
@@ -3,8 +3,8 @@ export declare const acs_user: z.ZodObject<{
3
3
  workspace_id: z.ZodString;
4
4
  created_at: z.ZodString;
5
5
  display_name: z.ZodString;
6
- acs_system_id: z.ZodString;
7
6
  acs_user_id: z.ZodString;
7
+ acs_system_id: z.ZodString;
8
8
  full_name: z.ZodOptional<z.ZodString>;
9
9
  email: z.ZodOptional<z.ZodString>;
10
10
  phone_number: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
@@ -12,8 +12,8 @@ export declare const acs_user: z.ZodObject<{
12
12
  workspace_id: string;
13
13
  created_at: string;
14
14
  display_name: string;
15
- acs_system_id: string;
16
15
  acs_user_id: string;
16
+ acs_system_id: string;
17
17
  full_name?: string | undefined;
18
18
  email?: string | undefined;
19
19
  phone_number?: string | undefined;
@@ -21,8 +21,8 @@ export declare const acs_user: z.ZodObject<{
21
21
  workspace_id: string;
22
22
  created_at: string;
23
23
  display_name: string;
24
- acs_system_id: string;
25
24
  acs_user_id: string;
25
+ acs_system_id: string;
26
26
  full_name?: string | undefined;
27
27
  email?: string | undefined;
28
28
  phone_number?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.7.1",
3
+ "version": "1.9.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1135,6 +1135,7 @@ export default {
1135
1135
  'hubitat',
1136
1136
  'four_suites',
1137
1137
  'dormakaba_oracode',
1138
+ 'pti',
1138
1139
  'wyze',
1139
1140
  'yale_access',
1140
1141
  ],
@@ -3931,6 +3932,91 @@ export default {
3931
3932
  operationId: 'accessCodesUnmanagedUpdatePost',
3932
3933
  },
3933
3934
  },
3935
+ '/acs/access_groups/add_user': {
3936
+ post: {
3937
+ 'x-fern-sdk-group-name': ['acs', 'access_groups'],
3938
+ 'x-fern-sdk-method-name': 'add_user',
3939
+ summary: '/acs/access_groups/add_user',
3940
+ responses: {
3941
+ 200: {
3942
+ description: 'OK',
3943
+ content: {
3944
+ 'application/json': {
3945
+ schema: {
3946
+ type: 'object',
3947
+ properties: { ok: { type: 'boolean' } },
3948
+ required: ['ok'],
3949
+ },
3950
+ },
3951
+ },
3952
+ },
3953
+ 400: { description: 'Bad Request' },
3954
+ 401: { description: 'Unauthorized' },
3955
+ },
3956
+ security: [
3957
+ { seam_workspace: [], access_token: [] },
3958
+ { seam_client_session_token: [] },
3959
+ { client_session_token: [] },
3960
+ ],
3961
+ requestBody: {
3962
+ content: {
3963
+ 'application/json': {
3964
+ schema: {
3965
+ type: 'object',
3966
+ properties: {
3967
+ acs_access_group_id: { type: 'string', format: 'uuid' },
3968
+ acs_user_id: { type: 'string', format: 'uuid' },
3969
+ },
3970
+ required: ['acs_access_group_id', 'acs_user_id'],
3971
+ },
3972
+ },
3973
+ },
3974
+ },
3975
+ tags: [],
3976
+ operationId: 'acsAccessGroupsAddUserPost',
3977
+ },
3978
+ patch: {
3979
+ 'x-fern-ignore': true,
3980
+ summary: '/acs/access_groups/add_user',
3981
+ responses: {
3982
+ 200: {
3983
+ description: 'OK',
3984
+ content: {
3985
+ 'application/json': {
3986
+ schema: {
3987
+ type: 'object',
3988
+ properties: { ok: { type: 'boolean' } },
3989
+ required: ['ok'],
3990
+ },
3991
+ },
3992
+ },
3993
+ },
3994
+ 400: { description: 'Bad Request' },
3995
+ 401: { description: 'Unauthorized' },
3996
+ },
3997
+ security: [
3998
+ { seam_workspace: [], access_token: [] },
3999
+ { seam_client_session_token: [] },
4000
+ { client_session_token: [] },
4001
+ ],
4002
+ requestBody: {
4003
+ content: {
4004
+ 'application/json': {
4005
+ schema: {
4006
+ type: 'object',
4007
+ properties: {
4008
+ acs_access_group_id: { type: 'string', format: 'uuid' },
4009
+ acs_user_id: { type: 'string', format: 'uuid' },
4010
+ },
4011
+ required: ['acs_access_group_id', 'acs_user_id'],
4012
+ },
4013
+ },
4014
+ },
4015
+ },
4016
+ tags: [],
4017
+ operationId: 'acsAccessGroupsAddUserPatch',
4018
+ },
4019
+ },
3934
4020
  '/acs/access_groups/create': {
3935
4021
  post: {
3936
4022
  'x-fern-sdk-group-name': ['acs', 'access_groups'],
@@ -3945,31 +4031,7 @@ export default {
3945
4031
  type: 'object',
3946
4032
  properties: {
3947
4033
  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
- ],
4034
+ $ref: '#/components/schemas/acs_access_group',
3973
4035
  },
3974
4036
  ok: { type: 'boolean' },
3975
4037
  },
@@ -4061,31 +4123,7 @@ export default {
4061
4123
  type: 'object',
4062
4124
  properties: {
4063
4125
  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
- ],
4126
+ $ref: '#/components/schemas/acs_access_group',
4089
4127
  },
4090
4128
  ok: { type: 'boolean' },
4091
4129
  },
@@ -4134,36 +4172,7 @@ export default {
4134
4172
  properties: {
4135
4173
  acs_access_groups: {
4136
4174
  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
- },
4175
+ items: { $ref: '#/components/schemas/acs_access_group' },
4167
4176
  },
4168
4177
  ok: { type: 'boolean' },
4169
4178
  },
@@ -4197,6 +4206,99 @@ export default {
4197
4206
  operationId: 'acsAccessGroupsListPost',
4198
4207
  },
4199
4208
  },
4209
+ '/acs/access_groups/list_users': {
4210
+ post: {
4211
+ 'x-fern-sdk-group-name': ['acs', 'access_groups'],
4212
+ 'x-fern-sdk-method-name': 'list_users',
4213
+ summary: '/acs/access_groups/list_users',
4214
+ responses: {
4215
+ 200: {
4216
+ description: 'OK',
4217
+ content: {
4218
+ 'application/json': {
4219
+ schema: {
4220
+ type: 'object',
4221
+ properties: {
4222
+ acs_users: {
4223
+ type: 'array',
4224
+ items: { $ref: '#/components/schemas/acs_user' },
4225
+ },
4226
+ ok: { type: 'boolean' },
4227
+ },
4228
+ required: ['acs_users', 'ok'],
4229
+ },
4230
+ },
4231
+ },
4232
+ },
4233
+ 400: { description: 'Bad Request' },
4234
+ 401: { description: 'Unauthorized' },
4235
+ },
4236
+ security: [
4237
+ { seam_workspace: [], access_token: [] },
4238
+ { seam_client_session_token: [] },
4239
+ { client_session_token: [] },
4240
+ ],
4241
+ requestBody: {
4242
+ content: {
4243
+ 'application/json': {
4244
+ schema: {
4245
+ type: 'object',
4246
+ properties: {
4247
+ acs_access_group_id: { type: 'string', format: 'uuid' },
4248
+ },
4249
+ required: ['acs_access_group_id'],
4250
+ },
4251
+ },
4252
+ },
4253
+ },
4254
+ tags: [],
4255
+ operationId: 'acsAccessGroupsListUsersPost',
4256
+ },
4257
+ },
4258
+ '/acs/access_groups/remove_user': {
4259
+ post: {
4260
+ 'x-fern-sdk-group-name': ['acs', 'access_groups'],
4261
+ 'x-fern-sdk-method-name': 'remove_user',
4262
+ summary: '/acs/access_groups/remove_user',
4263
+ responses: {
4264
+ 200: {
4265
+ description: 'OK',
4266
+ content: {
4267
+ 'application/json': {
4268
+ schema: {
4269
+ type: 'object',
4270
+ properties: { ok: { type: 'boolean' } },
4271
+ required: ['ok'],
4272
+ },
4273
+ },
4274
+ },
4275
+ },
4276
+ 400: { description: 'Bad Request' },
4277
+ 401: { description: 'Unauthorized' },
4278
+ },
4279
+ security: [
4280
+ { seam_workspace: [], access_token: [] },
4281
+ { seam_client_session_token: [] },
4282
+ { client_session_token: [] },
4283
+ ],
4284
+ requestBody: {
4285
+ content: {
4286
+ 'application/json': {
4287
+ schema: {
4288
+ type: 'object',
4289
+ properties: {
4290
+ acs_access_group_id: { type: 'string', format: 'uuid' },
4291
+ acs_user_id: { type: 'string', format: 'uuid' },
4292
+ },
4293
+ required: ['acs_access_group_id', 'acs_user_id'],
4294
+ },
4295
+ },
4296
+ },
4297
+ },
4298
+ tags: [],
4299
+ operationId: 'acsAccessGroupsRemoveUserPost',
4300
+ },
4301
+ },
4200
4302
  '/acs/access_groups/update': {
4201
4303
  patch: {
4202
4304
  'x-fern-ignore': true,
@@ -4295,29 +4397,7 @@ export default {
4295
4397
  schema: {
4296
4398
  type: 'object',
4297
4399
  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
- },
4400
+ acs_system: { $ref: '#/components/schemas/acs_system' },
4321
4401
  ok: { type: 'boolean' },
4322
4402
  },
4323
4403
  required: ['acs_system', 'ok'],
@@ -4365,29 +4445,7 @@ export default {
4365
4445
  properties: {
4366
4446
  acs_systems: {
4367
4447
  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
- },
4448
+ items: { $ref: '#/components/schemas/acs_system' },
4391
4449
  },
4392
4450
  ok: { type: 'boolean' },
4393
4451
  },
@@ -4420,29 +4478,7 @@ export default {
4420
4478
  properties: {
4421
4479
  acs_systems: {
4422
4480
  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
- },
4481
+ items: { $ref: '#/components/schemas/acs_system' },
4446
4482
  },
4447
4483
  ok: { type: 'boolean' },
4448
4484
  },
@@ -4539,26 +4575,7 @@ export default {
4539
4575
  schema: {
4540
4576
  type: 'object',
4541
4577
  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
- },
4578
+ acs_user: { $ref: '#/components/schemas/acs_user' },
4562
4579
  ok: { type: 'boolean' },
4563
4580
  },
4564
4581
  required: ['acs_user', 'ok'],
@@ -4580,10 +4597,17 @@ export default {
4580
4597
  schema: {
4581
4598
  type: 'object',
4582
4599
  properties: {
4600
+ acs_system_id: { type: 'string', format: 'uuid' },
4601
+ acs_access_group_ids: {
4602
+ default: [],
4603
+ type: 'array',
4604
+ items: { type: 'string', format: 'uuid' },
4605
+ },
4583
4606
  full_name: { type: 'string' },
4584
4607
  email: { type: 'string', format: 'email' },
4585
4608
  phone_number: { type: 'string', nullable: true },
4586
4609
  },
4610
+ required: ['acs_system_id'],
4587
4611
  },
4588
4612
  },
4589
4613
  },
@@ -4646,26 +4670,7 @@ export default {
4646
4670
  schema: {
4647
4671
  type: 'object',
4648
4672
  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
- },
4673
+ acs_user: { $ref: '#/components/schemas/acs_user' },
4669
4674
  ok: { type: 'boolean' },
4670
4675
  },
4671
4676
  required: ['acs_user', 'ok'],
@@ -4711,26 +4716,7 @@ export default {
4711
4716
  properties: {
4712
4717
  acs_users: {
4713
4718
  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
- },
4719
+ items: { $ref: '#/components/schemas/acs_user' },
4734
4720
  },
4735
4721
  ok: { type: 'boolean' },
4736
4722
  },
@@ -4858,10 +4844,12 @@ export default {
4858
4844
  schema: {
4859
4845
  type: 'object',
4860
4846
  properties: {
4847
+ acs_user_id: { type: 'string', format: 'uuid' },
4861
4848
  full_name: { type: 'string' },
4862
4849
  email: { type: 'string', format: 'email' },
4863
4850
  phone_number: { type: 'string', nullable: true },
4864
4851
  },
4852
+ required: ['acs_user_id'],
4865
4853
  },
4866
4854
  },
4867
4855
  },
@@ -4900,10 +4888,12 @@ export default {
4900
4888
  schema: {
4901
4889
  type: 'object',
4902
4890
  properties: {
4891
+ acs_user_id: { type: 'string', format: 'uuid' },
4903
4892
  full_name: { type: 'string' },
4904
4893
  email: { type: 'string', format: 'email' },
4905
4894
  phone_number: { type: 'string', nullable: true },
4906
4895
  },
4896
+ required: ['acs_user_id'],
4907
4897
  },
4908
4898
  },
4909
4899
  },
@@ -7398,6 +7388,64 @@ export default {
7398
7388
  'connect_partner_name',
7399
7389
  ],
7400
7390
  },
7391
+ acs_system: {
7392
+ type: 'object',
7393
+ properties: {
7394
+ acs_system_id: { type: 'string', format: 'uuid' },
7395
+ system_type: { type: 'string', enum: ['pti_site', 'alta_org'] },
7396
+ system_type_display_name: { type: 'string' },
7397
+ name: { type: 'string' },
7398
+ created_at: { type: 'string', format: 'date-time' },
7399
+ },
7400
+ required: [
7401
+ 'acs_system_id',
7402
+ 'system_type',
7403
+ 'system_type_display_name',
7404
+ 'name',
7405
+ 'created_at',
7406
+ ],
7407
+ },
7408
+ acs_access_group: {
7409
+ type: 'object',
7410
+ properties: {
7411
+ acs_access_group_id: { type: 'string', format: 'uuid' },
7412
+ acs_system_id: { type: 'string', format: 'uuid' },
7413
+ workspace_id: { type: 'string', format: 'uuid' },
7414
+ name: { type: 'string' },
7415
+ access_group_type: { type: 'string', enum: ['pti_unit'] },
7416
+ access_group_type_display_name: { type: 'string' },
7417
+ created_at: { type: 'string', format: 'date-time' },
7418
+ },
7419
+ required: [
7420
+ 'acs_access_group_id',
7421
+ 'acs_system_id',
7422
+ 'workspace_id',
7423
+ 'name',
7424
+ 'access_group_type',
7425
+ 'access_group_type_display_name',
7426
+ 'created_at',
7427
+ ],
7428
+ },
7429
+ acs_user: {
7430
+ type: 'object',
7431
+ properties: {
7432
+ acs_user_id: { type: 'string', format: 'uuid' },
7433
+ acs_system_id: { type: 'string', format: 'uuid' },
7434
+ workspace_id: { type: 'string', format: 'uuid' },
7435
+ created_at: { type: 'string', format: 'date-time' },
7436
+ display_name: { type: 'string' },
7437
+ full_name: { type: 'string' },
7438
+ email: { type: 'string', format: 'email' },
7439
+ phone_number: { type: 'string', nullable: true },
7440
+ },
7441
+ required: [
7442
+ 'acs_user_id',
7443
+ 'acs_system_id',
7444
+ 'workspace_id',
7445
+ 'created_at',
7446
+ 'display_name',
7447
+ ],
7448
+ },
7401
7449
  },
7402
7450
  },
7403
7451
  }