@seamapi/types 1.234.0 → 1.235.1

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.
@@ -308,7 +308,7 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
308
308
  }>;
309
309
  type UnmanagedAccessCode = z.infer<typeof unmanaged_access_code>;
310
310
 
311
- declare const acs_access_group: z.ZodObject<{
311
+ declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
312
312
  acs_access_group_id: z.ZodString;
313
313
  acs_system_id: z.ZodString;
314
314
  workspace_id: z.ZodString;
@@ -319,11 +319,52 @@ declare const acs_access_group: z.ZodObject<{
319
319
  external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
320
320
  external_type_display_name: z.ZodString;
321
321
  created_at: z.ZodString;
322
- }, "strip", z.ZodTypeAny, {
322
+ }, {
323
+ is_managed: z.ZodLiteral<true>;
324
+ }>, "strip", z.ZodTypeAny, {
325
+ created_at: string;
326
+ name: string;
327
+ display_name: string;
328
+ workspace_id: string;
329
+ is_managed: true;
330
+ acs_access_group_id: string;
331
+ acs_system_id: string;
332
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
333
+ access_group_type_display_name: string;
334
+ external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
335
+ external_type_display_name: string;
336
+ }, {
337
+ created_at: string;
338
+ name: string;
339
+ display_name: string;
340
+ workspace_id: string;
341
+ is_managed: true;
342
+ acs_access_group_id: string;
343
+ acs_system_id: string;
344
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
345
+ access_group_type_display_name: string;
346
+ external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
347
+ external_type_display_name: string;
348
+ }>;
349
+ declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
350
+ acs_access_group_id: z.ZodString;
351
+ acs_system_id: z.ZodString;
352
+ workspace_id: z.ZodString;
353
+ name: z.ZodString;
354
+ access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
355
+ access_group_type_display_name: z.ZodString;
356
+ display_name: z.ZodString;
357
+ external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
358
+ external_type_display_name: z.ZodString;
359
+ created_at: z.ZodString;
360
+ }, {
361
+ is_managed: z.ZodLiteral<false>;
362
+ }>, "strip", z.ZodTypeAny, {
323
363
  created_at: string;
324
364
  name: string;
325
365
  display_name: string;
326
366
  workspace_id: string;
367
+ is_managed: false;
327
368
  acs_access_group_id: string;
328
369
  acs_system_id: string;
329
370
  access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
@@ -335,6 +376,7 @@ declare const acs_access_group: z.ZodObject<{
335
376
  name: string;
336
377
  display_name: string;
337
378
  workspace_id: string;
379
+ is_managed: false;
338
380
  acs_access_group_id: string;
339
381
  acs_system_id: string;
340
382
  access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
@@ -1003,7 +1045,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1003
1045
  user_identity_email_address?: string | null | undefined;
1004
1046
  user_identity_phone_number?: string | null | undefined;
1005
1047
  }>;
1006
- declare const acs_unmanaged_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1048
+ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1007
1049
  acs_user_id: z.ZodString;
1008
1050
  acs_system_id: z.ZodString;
1009
1051
  hid_acs_system_id: z.ZodOptional<z.ZodString>;
@@ -8436,7 +8478,6 @@ declare const schemas_acs_access_group: typeof acs_access_group;
8436
8478
  declare const schemas_acs_credential: typeof acs_credential;
8437
8479
  declare const schemas_acs_entrance: typeof acs_entrance;
8438
8480
  declare const schemas_acs_system: typeof acs_system;
8439
- declare const schemas_acs_unmanaged_user: typeof acs_unmanaged_user;
8440
8481
  declare const schemas_acs_user: typeof acs_user;
8441
8482
  declare const schemas_action_attempt: typeof action_attempt;
8442
8483
  declare const schemas_client_session: typeof client_session;
@@ -8449,13 +8490,15 @@ declare const schemas_device_provider: typeof device_provider;
8449
8490
  declare const schemas_noise_threshold: typeof noise_threshold;
8450
8491
  declare const schemas_seam_event: typeof seam_event;
8451
8492
  declare const schemas_unmanaged_access_code: typeof unmanaged_access_code;
8493
+ declare const schemas_unmanaged_acs_access_group: typeof unmanaged_acs_access_group;
8452
8494
  declare const schemas_unmanaged_acs_credential: typeof unmanaged_acs_credential;
8495
+ declare const schemas_unmanaged_acs_user: typeof unmanaged_acs_user;
8453
8496
  declare const schemas_unmanaged_device: typeof unmanaged_device;
8454
8497
  declare const schemas_user_identity: typeof user_identity;
8455
8498
  declare const schemas_webhook: typeof webhook;
8456
8499
  declare const schemas_workspace: typeof workspace;
8457
8500
  declare namespace schemas {
8458
- export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_unmanaged_user as acs_unmanaged_user, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_client_session as client_session, schemas_climate_setting_schedule as climate_setting_schedule, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_device as device, schemas_device_provider as device_provider, schemas_noise_threshold as noise_threshold, schemas_seam_event as seam_event, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
8501
+ export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_client_session as client_session, schemas_climate_setting_schedule as climate_setting_schedule, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_device as device, schemas_device_provider as device_provider, schemas_noise_threshold as noise_threshold, schemas_seam_event as seam_event, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
8459
8502
  }
8460
8503
 
8461
8504
  declare const _default: {
@@ -8667,6 +8710,10 @@ declare const _default: {
8667
8710
  external_type_display_name: {
8668
8711
  type: string;
8669
8712
  };
8713
+ is_managed: {
8714
+ enum: boolean[];
8715
+ type: string;
8716
+ };
8670
8717
  name: {
8671
8718
  type: string;
8672
8719
  };
@@ -14275,6 +14322,238 @@ declare const _default: {
14275
14322
  'x-fern-sdk-method-name': string;
14276
14323
  };
14277
14324
  };
14325
+ '/acs/access_groups/unmanaged/get': {
14326
+ post: {
14327
+ operationId: string;
14328
+ requestBody: {
14329
+ content: {
14330
+ 'application/json': {
14331
+ schema: {
14332
+ properties: {
14333
+ acs_access_group_id: {
14334
+ format: string;
14335
+ type: string;
14336
+ };
14337
+ };
14338
+ required: string[];
14339
+ type: string;
14340
+ };
14341
+ };
14342
+ };
14343
+ };
14344
+ responses: {
14345
+ 200: {
14346
+ content: {
14347
+ 'application/json': {
14348
+ schema: {
14349
+ properties: {
14350
+ acs_access_group: {
14351
+ properties: {
14352
+ access_group_type: {
14353
+ deprecated: boolean;
14354
+ enum: string[];
14355
+ type: string;
14356
+ 'x-deprecated': string;
14357
+ };
14358
+ access_group_type_display_name: {
14359
+ deprecated: boolean;
14360
+ type: string;
14361
+ 'x-deprecated': string;
14362
+ };
14363
+ acs_access_group_id: {
14364
+ format: string;
14365
+ type: string;
14366
+ };
14367
+ acs_system_id: {
14368
+ format: string;
14369
+ type: string;
14370
+ };
14371
+ created_at: {
14372
+ format: string;
14373
+ type: string;
14374
+ };
14375
+ display_name: {
14376
+ type: string;
14377
+ };
14378
+ external_type: {
14379
+ enum: string[];
14380
+ type: string;
14381
+ };
14382
+ external_type_display_name: {
14383
+ type: string;
14384
+ };
14385
+ is_managed: {
14386
+ enum: boolean[];
14387
+ type: string;
14388
+ };
14389
+ name: {
14390
+ type: string;
14391
+ };
14392
+ workspace_id: {
14393
+ format: string;
14394
+ type: string;
14395
+ };
14396
+ };
14397
+ required: string[];
14398
+ type: string;
14399
+ };
14400
+ ok: {
14401
+ type: string;
14402
+ };
14403
+ };
14404
+ required: string[];
14405
+ type: string;
14406
+ };
14407
+ };
14408
+ };
14409
+ description: string;
14410
+ };
14411
+ 400: {
14412
+ description: string;
14413
+ };
14414
+ 401: {
14415
+ description: string;
14416
+ };
14417
+ };
14418
+ security: ({
14419
+ pat_with_workspace: never[];
14420
+ console_session?: never;
14421
+ api_key?: never;
14422
+ } | {
14423
+ console_session: never[];
14424
+ pat_with_workspace?: never;
14425
+ api_key?: never;
14426
+ } | {
14427
+ api_key: never[];
14428
+ pat_with_workspace?: never;
14429
+ console_session?: never;
14430
+ })[];
14431
+ summary: string;
14432
+ tags: string[];
14433
+ 'x-fern-sdk-group-name': string[];
14434
+ 'x-fern-sdk-method-name': string;
14435
+ 'x-fern-sdk-return-value': string;
14436
+ };
14437
+ };
14438
+ '/acs/access_groups/unmanaged/list': {
14439
+ post: {
14440
+ operationId: string;
14441
+ requestBody: {
14442
+ content: {
14443
+ 'application/json': {
14444
+ schema: {
14445
+ properties: {
14446
+ acs_system_id: {
14447
+ format: string;
14448
+ type: string;
14449
+ };
14450
+ acs_user_id: {
14451
+ format: string;
14452
+ type: string;
14453
+ };
14454
+ };
14455
+ type: string;
14456
+ };
14457
+ };
14458
+ };
14459
+ };
14460
+ responses: {
14461
+ 200: {
14462
+ content: {
14463
+ 'application/json': {
14464
+ schema: {
14465
+ properties: {
14466
+ acs_access_groups: {
14467
+ items: {
14468
+ properties: {
14469
+ access_group_type: {
14470
+ deprecated: boolean;
14471
+ enum: string[];
14472
+ type: string;
14473
+ 'x-deprecated': string;
14474
+ };
14475
+ access_group_type_display_name: {
14476
+ deprecated: boolean;
14477
+ type: string;
14478
+ 'x-deprecated': string;
14479
+ };
14480
+ acs_access_group_id: {
14481
+ format: string;
14482
+ type: string;
14483
+ };
14484
+ acs_system_id: {
14485
+ format: string;
14486
+ type: string;
14487
+ };
14488
+ created_at: {
14489
+ format: string;
14490
+ type: string;
14491
+ };
14492
+ display_name: {
14493
+ type: string;
14494
+ };
14495
+ external_type: {
14496
+ enum: string[];
14497
+ type: string;
14498
+ };
14499
+ external_type_display_name: {
14500
+ type: string;
14501
+ };
14502
+ is_managed: {
14503
+ enum: boolean[];
14504
+ type: string;
14505
+ };
14506
+ name: {
14507
+ type: string;
14508
+ };
14509
+ workspace_id: {
14510
+ format: string;
14511
+ type: string;
14512
+ };
14513
+ };
14514
+ required: string[];
14515
+ type: string;
14516
+ };
14517
+ type: string;
14518
+ };
14519
+ ok: {
14520
+ type: string;
14521
+ };
14522
+ };
14523
+ required: string[];
14524
+ type: string;
14525
+ };
14526
+ };
14527
+ };
14528
+ description: string;
14529
+ };
14530
+ 400: {
14531
+ description: string;
14532
+ };
14533
+ 401: {
14534
+ description: string;
14535
+ };
14536
+ };
14537
+ security: ({
14538
+ pat_with_workspace: never[];
14539
+ console_session?: never;
14540
+ api_key?: never;
14541
+ } | {
14542
+ console_session: never[];
14543
+ pat_with_workspace?: never;
14544
+ api_key?: never;
14545
+ } | {
14546
+ api_key: never[];
14547
+ pat_with_workspace?: never;
14548
+ console_session?: never;
14549
+ })[];
14550
+ summary: string;
14551
+ tags: string[];
14552
+ 'x-fern-sdk-group-name': string[];
14553
+ 'x-fern-sdk-method-name': string;
14554
+ 'x-fern-sdk-return-value': string;
14555
+ };
14556
+ };
14278
14557
  '/acs/credential_pools/list': {
14279
14558
  post: {
14280
14559
  operationId: string;
@@ -17037,7 +17316,119 @@ declare const _default: {
17037
17316
  schema: {
17038
17317
  properties: {
17039
17318
  acs_user: {
17040
- $ref: string;
17319
+ properties: {
17320
+ access_schedule: {
17321
+ properties: {
17322
+ ends_at: {
17323
+ format: string;
17324
+ type: string;
17325
+ };
17326
+ starts_at: {
17327
+ format: string;
17328
+ type: string;
17329
+ };
17330
+ };
17331
+ required: string[];
17332
+ type: string;
17333
+ };
17334
+ acs_system_id: {
17335
+ format: string;
17336
+ type: string;
17337
+ };
17338
+ acs_user_id: {
17339
+ format: string;
17340
+ type: string;
17341
+ };
17342
+ created_at: {
17343
+ format: string;
17344
+ type: string;
17345
+ };
17346
+ display_name: {
17347
+ type: string;
17348
+ };
17349
+ email: {
17350
+ deprecated: boolean;
17351
+ format: string;
17352
+ type: string;
17353
+ 'x-deprecated': string;
17354
+ };
17355
+ email_address: {
17356
+ format: string;
17357
+ type: string;
17358
+ };
17359
+ external_type: {
17360
+ enum: string[];
17361
+ type: string;
17362
+ };
17363
+ external_type_display_name: {
17364
+ type: string;
17365
+ };
17366
+ full_name: {
17367
+ type: string;
17368
+ };
17369
+ hid_acs_system_id: {
17370
+ format: string;
17371
+ type: string;
17372
+ };
17373
+ is_latest_desired_state_synced_with_provider: {
17374
+ type: string;
17375
+ };
17376
+ is_managed: {
17377
+ enum: boolean[];
17378
+ type: string;
17379
+ };
17380
+ is_suspended: {
17381
+ type: string;
17382
+ };
17383
+ latest_desired_state_synced_with_provider_at: {
17384
+ format: string;
17385
+ type: string;
17386
+ };
17387
+ phone_number: {
17388
+ type: string;
17389
+ };
17390
+ user_identity_email_address: {
17391
+ nullable: boolean;
17392
+ type: string;
17393
+ };
17394
+ user_identity_full_name: {
17395
+ nullable: boolean;
17396
+ type: string;
17397
+ };
17398
+ user_identity_id: {
17399
+ type: string;
17400
+ };
17401
+ user_identity_phone_number: {
17402
+ nullable: boolean;
17403
+ type: string;
17404
+ };
17405
+ warnings: {
17406
+ items: {
17407
+ properties: {
17408
+ created_at: {
17409
+ format: string;
17410
+ type: string;
17411
+ };
17412
+ message: {
17413
+ type: string;
17414
+ };
17415
+ warning_code: {
17416
+ enum: string[];
17417
+ type: string;
17418
+ };
17419
+ };
17420
+ required: string[];
17421
+ type: string;
17422
+ };
17423
+ type: string;
17424
+ };
17425
+ workspace_id: {
17426
+ format: string;
17427
+ type: string;
17428
+ };
17429
+ };
17430
+ required: string[];
17431
+ type: string;
17041
17432
  };
17042
17433
  ok: {
17043
17434
  type: string;
@@ -27862,6 +28253,7 @@ interface Routes {
27862
28253
  external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
27863
28254
  external_type_display_name: string;
27864
28255
  created_at: string;
28256
+ is_managed: true;
27865
28257
  };
27866
28258
  };
27867
28259
  };
@@ -27891,6 +28283,7 @@ interface Routes {
27891
28283
  external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
27892
28284
  external_type_display_name: string;
27893
28285
  created_at: string;
28286
+ is_managed: true;
27894
28287
  }>;
27895
28288
  };
27896
28289
  };
@@ -27987,6 +28380,65 @@ interface Routes {
27987
28380
  formData: {};
27988
28381
  jsonResponse: {};
27989
28382
  };
28383
+ '/acs/access_groups/unmanaged/get': {
28384
+ route: '/acs/access_groups/unmanaged/get';
28385
+ method: 'GET' | 'POST';
28386
+ queryParams: {};
28387
+ jsonBody: {};
28388
+ commonParams: {
28389
+ acs_access_group_id: string;
28390
+ };
28391
+ formData: {};
28392
+ jsonResponse: {
28393
+ acs_access_group: {
28394
+ acs_access_group_id: string;
28395
+ acs_system_id: string;
28396
+ workspace_id: string;
28397
+ name: string;
28398
+ /**
28399
+ * @deprecated use external_type */
28400
+ access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
28401
+ /**
28402
+ * @deprecated use external_type_display_name */
28403
+ access_group_type_display_name: string;
28404
+ display_name: string;
28405
+ external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
28406
+ external_type_display_name: string;
28407
+ created_at: string;
28408
+ is_managed: false;
28409
+ };
28410
+ };
28411
+ };
28412
+ '/acs/access_groups/unmanaged/list': {
28413
+ route: '/acs/access_groups/unmanaged/list';
28414
+ method: 'GET' | 'POST';
28415
+ queryParams: {};
28416
+ jsonBody: {};
28417
+ commonParams: {
28418
+ acs_system_id?: string | undefined;
28419
+ acs_user_id?: string | undefined;
28420
+ };
28421
+ formData: {};
28422
+ jsonResponse: {
28423
+ acs_access_groups: Array<{
28424
+ acs_access_group_id: string;
28425
+ acs_system_id: string;
28426
+ workspace_id: string;
28427
+ name: string;
28428
+ /**
28429
+ * @deprecated use external_type */
28430
+ access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
28431
+ /**
28432
+ * @deprecated use external_type_display_name */
28433
+ access_group_type_display_name: string;
28434
+ display_name: string;
28435
+ external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
28436
+ external_type_display_name: string;
28437
+ created_at: string;
28438
+ is_managed: false;
28439
+ }>;
28440
+ };
28441
+ };
27990
28442
  '/acs/credential_pools/list': {
27991
28443
  route: '/acs/credential_pools/list';
27992
28444
  method: 'GET' | 'POST';
@@ -29183,7 +29635,7 @@ interface Routes {
29183
29635
  email?: string | undefined;
29184
29636
  email_address?: string | undefined;
29185
29637
  phone_number?: string | undefined;
29186
- is_managed: true;
29638
+ is_managed: false;
29187
29639
  };
29188
29640
  };
29189
29641
  };
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const acs_access_group_external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
3
3
  export type AcsAccessGroupExternalType = z.infer<typeof acs_access_group_external_type>;
4
- export declare const acs_access_group: z.ZodObject<{
4
+ export declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
5
5
  acs_access_group_id: z.ZodString;
6
6
  acs_system_id: z.ZodString;
7
7
  workspace_id: z.ZodString;
@@ -12,11 +12,52 @@ export declare const acs_access_group: z.ZodObject<{
12
12
  external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
13
13
  external_type_display_name: z.ZodString;
14
14
  created_at: z.ZodString;
15
- }, "strip", z.ZodTypeAny, {
15
+ }, {
16
+ is_managed: z.ZodLiteral<true>;
17
+ }>, "strip", z.ZodTypeAny, {
18
+ name: string;
19
+ created_at: string;
20
+ display_name: string;
21
+ workspace_id: string;
22
+ is_managed: true;
23
+ acs_access_group_id: string;
24
+ acs_system_id: string;
25
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
26
+ access_group_type_display_name: string;
27
+ external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
28
+ external_type_display_name: string;
29
+ }, {
30
+ name: string;
31
+ created_at: string;
32
+ display_name: string;
33
+ workspace_id: string;
34
+ is_managed: true;
35
+ acs_access_group_id: string;
36
+ acs_system_id: string;
37
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
38
+ access_group_type_display_name: string;
39
+ external_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
40
+ external_type_display_name: string;
41
+ }>;
42
+ export declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
43
+ acs_access_group_id: z.ZodString;
44
+ acs_system_id: z.ZodString;
45
+ workspace_id: z.ZodString;
46
+ name: z.ZodString;
47
+ access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
48
+ access_group_type_display_name: z.ZodString;
49
+ display_name: z.ZodString;
50
+ external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_access_group", "brivo_group"]>;
51
+ external_type_display_name: z.ZodString;
52
+ created_at: z.ZodString;
53
+ }, {
54
+ is_managed: z.ZodLiteral<false>;
55
+ }>, "strip", z.ZodTypeAny, {
16
56
  name: string;
17
57
  created_at: string;
18
58
  display_name: string;
19
59
  workspace_id: string;
60
+ is_managed: false;
20
61
  acs_access_group_id: string;
21
62
  acs_system_id: string;
22
63
  access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
@@ -28,6 +69,7 @@ export declare const acs_access_group: z.ZodObject<{
28
69
  created_at: string;
29
70
  display_name: string;
30
71
  workspace_id: string;
72
+ is_managed: false;
31
73
  acs_access_group_id: string;
32
74
  acs_system_id: string;
33
75
  access_group_type: "pti_unit" | "pti_access_level" | "salto_access_group" | "brivo_group";
@@ -36,3 +78,4 @@ export declare const acs_access_group: z.ZodObject<{
36
78
  external_type_display_name: string;
37
79
  }>;
38
80
  export type AcsAccessGroup = z.output<typeof acs_access_group>;
81
+ export type UnmanagedAcsAccessGroup = z.output<typeof unmanaged_acs_access_group>;
@@ -6,7 +6,7 @@ export const acs_access_group_external_type = z.enum([
6
6
  'salto_access_group',
7
7
  'brivo_group',
8
8
  ]);
9
- export const acs_access_group = z.object({
9
+ const common_acs_access_group = z.object({
10
10
  acs_access_group_id: z.string().uuid(),
11
11
  acs_system_id: z.string().uuid(),
12
12
  workspace_id: z.string().uuid(),
@@ -26,4 +26,10 @@ export const acs_access_group = z.object({
26
26
  external_type_display_name: z.string(),
27
27
  created_at: z.string().datetime(),
28
28
  });
29
+ export const acs_access_group = common_acs_access_group.extend({
30
+ is_managed: z.literal(true),
31
+ });
32
+ export const unmanaged_acs_access_group = common_acs_access_group.extend({
33
+ is_managed: z.literal(false),
34
+ });
29
35
  //# sourceMappingURL=acs-access-group.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"acs-access-group.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-access-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,0EAA0E;AAC1E,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC;IACnD,UAAU;IACV,kBAAkB;IAClB,oBAAoB;IACpB,aAAa;CACd,CAAC,CAAA;AAMF,MAAM,CA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