@seamapi/types 1.234.0 → 1.235.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.
- package/dist/connect.cjs +211 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +343 -3
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +45 -2
- package/lib/seam/connect/models/acs/acs-access-group.js +7 -1
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +236 -0
- package/lib/seam/connect/openapi.js +202 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +61 -0
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +11 -1
- package/src/lib/seam/connect/openapi.ts +202 -0
- package/src/lib/seam/connect/route-types.ts +77 -0
- package/src/lib/seam/connect/schemas.ts +1 -0
package/dist/connect.d.cts
CHANGED
|
@@ -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
|
-
},
|
|
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";
|
|
@@ -8449,13 +8491,14 @@ declare const schemas_device_provider: typeof device_provider;
|
|
|
8449
8491
|
declare const schemas_noise_threshold: typeof noise_threshold;
|
|
8450
8492
|
declare const schemas_seam_event: typeof seam_event;
|
|
8451
8493
|
declare const schemas_unmanaged_access_code: typeof unmanaged_access_code;
|
|
8494
|
+
declare const schemas_unmanaged_acs_access_group: typeof unmanaged_acs_access_group;
|
|
8452
8495
|
declare const schemas_unmanaged_acs_credential: typeof unmanaged_acs_credential;
|
|
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_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_access_group as unmanaged_acs_access_group, 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 };
|
|
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;
|
|
@@ -27862,6 +28141,7 @@ interface Routes {
|
|
|
27862
28141
|
external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
27863
28142
|
external_type_display_name: string;
|
|
27864
28143
|
created_at: string;
|
|
28144
|
+
is_managed: true;
|
|
27865
28145
|
};
|
|
27866
28146
|
};
|
|
27867
28147
|
};
|
|
@@ -27891,6 +28171,7 @@ interface Routes {
|
|
|
27891
28171
|
external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
27892
28172
|
external_type_display_name: string;
|
|
27893
28173
|
created_at: string;
|
|
28174
|
+
is_managed: true;
|
|
27894
28175
|
}>;
|
|
27895
28176
|
};
|
|
27896
28177
|
};
|
|
@@ -27987,6 +28268,65 @@ interface Routes {
|
|
|
27987
28268
|
formData: {};
|
|
27988
28269
|
jsonResponse: {};
|
|
27989
28270
|
};
|
|
28271
|
+
'/acs/access_groups/unmanaged/get': {
|
|
28272
|
+
route: '/acs/access_groups/unmanaged/get';
|
|
28273
|
+
method: 'GET' | 'POST';
|
|
28274
|
+
queryParams: {};
|
|
28275
|
+
jsonBody: {};
|
|
28276
|
+
commonParams: {
|
|
28277
|
+
acs_access_group_id: string;
|
|
28278
|
+
};
|
|
28279
|
+
formData: {};
|
|
28280
|
+
jsonResponse: {
|
|
28281
|
+
acs_access_group: {
|
|
28282
|
+
acs_access_group_id: string;
|
|
28283
|
+
acs_system_id: string;
|
|
28284
|
+
workspace_id: string;
|
|
28285
|
+
name: string;
|
|
28286
|
+
/**
|
|
28287
|
+
* @deprecated use external_type */
|
|
28288
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
28289
|
+
/**
|
|
28290
|
+
* @deprecated use external_type_display_name */
|
|
28291
|
+
access_group_type_display_name: string;
|
|
28292
|
+
display_name: string;
|
|
28293
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
28294
|
+
external_type_display_name: string;
|
|
28295
|
+
created_at: string;
|
|
28296
|
+
is_managed: false;
|
|
28297
|
+
};
|
|
28298
|
+
};
|
|
28299
|
+
};
|
|
28300
|
+
'/acs/access_groups/unmanaged/list': {
|
|
28301
|
+
route: '/acs/access_groups/unmanaged/list';
|
|
28302
|
+
method: 'GET' | 'POST';
|
|
28303
|
+
queryParams: {};
|
|
28304
|
+
jsonBody: {};
|
|
28305
|
+
commonParams: {
|
|
28306
|
+
acs_system_id?: string | undefined;
|
|
28307
|
+
acs_user_id?: string | undefined;
|
|
28308
|
+
};
|
|
28309
|
+
formData: {};
|
|
28310
|
+
jsonResponse: {
|
|
28311
|
+
acs_access_groups: Array<{
|
|
28312
|
+
acs_access_group_id: string;
|
|
28313
|
+
acs_system_id: string;
|
|
28314
|
+
workspace_id: string;
|
|
28315
|
+
name: string;
|
|
28316
|
+
/**
|
|
28317
|
+
* @deprecated use external_type */
|
|
28318
|
+
access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
28319
|
+
/**
|
|
28320
|
+
* @deprecated use external_type_display_name */
|
|
28321
|
+
access_group_type_display_name: string;
|
|
28322
|
+
display_name: string;
|
|
28323
|
+
external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
|
|
28324
|
+
external_type_display_name: string;
|
|
28325
|
+
created_at: string;
|
|
28326
|
+
is_managed: false;
|
|
28327
|
+
}>;
|
|
28328
|
+
};
|
|
28329
|
+
};
|
|
27990
28330
|
'/acs/credential_pools/list': {
|
|
27991
28331
|
route: '/acs/credential_pools/list';
|
|
27992
28332
|
method: 'GET' | 'POST';
|
|
@@ -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
|
-
},
|
|
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
|
-
|
|
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,
|
|
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,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACtC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,CAAC;;;;GAI1D,CAAC;IACF,8BAA8B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;KAIjD,CAAC;IACJ,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,8BAA8B;IAC7C,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,uBAAuB,CAAC,MAAM,CAAC;IAC7D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,0BAA0B,GAAG,uBAAuB,CAAC,MAAM,CAAC;IACvE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7B,CAAC,CAAA"}
|