@seamapi/types 1.233.0 → 1.234.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.
@@ -344,7 +344,7 @@ declare const acs_access_group: z.ZodObject<{
344
344
  }>;
345
345
  type AcsAccessGroup = z.output<typeof acs_access_group>;
346
346
 
347
- declare const acs_credential: z.ZodObject<{
347
+ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
348
348
  acs_credential_id: z.ZodString;
349
349
  acs_user_id: z.ZodOptional<z.ZodString>;
350
350
  acs_credential_pool_id: z.ZodOptional<z.ZodString>;
@@ -387,18 +387,167 @@ declare const acs_credential: z.ZodObject<{
387
387
  joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
388
388
  guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
389
389
  common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
390
+ is_valid: z.ZodOptional<z.ZodBoolean>;
391
+ card_id: z.ZodOptional<z.ZodString>;
392
+ credential_id: z.ZodOptional<z.ZodString>;
390
393
  }, "strip", z.ZodTypeAny, {
391
394
  card_function_type: "guest" | "staff";
392
395
  joiner_acs_credential_ids?: string[] | undefined;
393
396
  guest_acs_entrance_ids?: string[] | undefined;
394
397
  common_acs_entrance_ids?: string[] | undefined;
398
+ is_valid?: boolean | undefined;
399
+ card_id?: string | undefined;
400
+ credential_id?: string | undefined;
395
401
  }, {
396
402
  card_function_type: "guest" | "staff";
397
403
  joiner_acs_credential_ids?: string[] | undefined;
398
404
  guest_acs_entrance_ids?: string[] | undefined;
399
405
  common_acs_entrance_ids?: string[] | undefined;
406
+ is_valid?: boolean | undefined;
407
+ card_id?: string | undefined;
408
+ credential_id?: string | undefined;
400
409
  }>>;
401
- }, "strip", z.ZodTypeAny, {
410
+ }, {
411
+ is_managed: z.ZodLiteral<true>;
412
+ }>, "strip", z.ZodTypeAny, {
413
+ created_at: string;
414
+ errors: {
415
+ message: string;
416
+ error_code: string;
417
+ }[];
418
+ warnings: {
419
+ message: string;
420
+ warning_code: string;
421
+ }[];
422
+ display_name: string;
423
+ workspace_id: string;
424
+ is_managed: true;
425
+ acs_system_id: string;
426
+ acs_credential_id: string;
427
+ access_method: "code" | "card" | "mobile_key";
428
+ code?: string | null | undefined;
429
+ starts_at?: string | undefined;
430
+ ends_at?: string | undefined;
431
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
432
+ external_type_display_name?: string | undefined;
433
+ acs_user_id?: string | undefined;
434
+ acs_credential_pool_id?: string | undefined;
435
+ parent_acs_credential_id?: string | undefined;
436
+ is_multi_phone_sync_credential?: boolean | undefined;
437
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
438
+ latest_desired_state_synced_with_provider_at?: string | undefined;
439
+ visionline_metadata?: {
440
+ card_function_type: "guest" | "staff";
441
+ joiner_acs_credential_ids?: string[] | undefined;
442
+ guest_acs_entrance_ids?: string[] | undefined;
443
+ common_acs_entrance_ids?: string[] | undefined;
444
+ is_valid?: boolean | undefined;
445
+ card_id?: string | undefined;
446
+ credential_id?: string | undefined;
447
+ } | undefined;
448
+ }, {
449
+ created_at: string;
450
+ errors: {
451
+ message: string;
452
+ error_code: string;
453
+ }[];
454
+ warnings: {
455
+ message: string;
456
+ warning_code: string;
457
+ }[];
458
+ display_name: string;
459
+ workspace_id: string;
460
+ is_managed: true;
461
+ acs_system_id: string;
462
+ acs_credential_id: string;
463
+ access_method: "code" | "card" | "mobile_key";
464
+ code?: string | null | undefined;
465
+ starts_at?: string | undefined;
466
+ ends_at?: string | undefined;
467
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
468
+ external_type_display_name?: string | undefined;
469
+ acs_user_id?: string | undefined;
470
+ acs_credential_pool_id?: string | undefined;
471
+ parent_acs_credential_id?: string | undefined;
472
+ is_multi_phone_sync_credential?: boolean | undefined;
473
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
474
+ latest_desired_state_synced_with_provider_at?: string | undefined;
475
+ visionline_metadata?: {
476
+ card_function_type: "guest" | "staff";
477
+ joiner_acs_credential_ids?: string[] | undefined;
478
+ guest_acs_entrance_ids?: string[] | undefined;
479
+ common_acs_entrance_ids?: string[] | undefined;
480
+ is_valid?: boolean | undefined;
481
+ card_id?: string | undefined;
482
+ credential_id?: string | undefined;
483
+ } | undefined;
484
+ }>;
485
+ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
486
+ acs_credential_id: z.ZodString;
487
+ acs_user_id: z.ZodOptional<z.ZodString>;
488
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
489
+ acs_system_id: z.ZodString;
490
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
491
+ display_name: z.ZodString;
492
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
493
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
494
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential"]>>;
495
+ external_type_display_name: z.ZodOptional<z.ZodString>;
496
+ created_at: z.ZodString;
497
+ workspace_id: z.ZodString;
498
+ starts_at: z.ZodOptional<z.ZodString>;
499
+ ends_at: z.ZodOptional<z.ZodString>;
500
+ errors: z.ZodArray<z.ZodObject<{
501
+ error_code: z.ZodString;
502
+ message: z.ZodString;
503
+ }, "strip", z.ZodTypeAny, {
504
+ message: string;
505
+ error_code: string;
506
+ }, {
507
+ message: string;
508
+ error_code: string;
509
+ }>, "many">;
510
+ warnings: z.ZodArray<z.ZodObject<{
511
+ warning_code: z.ZodString;
512
+ message: z.ZodString;
513
+ }, "strip", z.ZodTypeAny, {
514
+ message: string;
515
+ warning_code: string;
516
+ }, {
517
+ message: string;
518
+ warning_code: string;
519
+ }>, "many">;
520
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
521
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
522
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
523
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
524
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
525
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
526
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
527
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
528
+ is_valid: z.ZodOptional<z.ZodBoolean>;
529
+ card_id: z.ZodOptional<z.ZodString>;
530
+ credential_id: z.ZodOptional<z.ZodString>;
531
+ }, "strip", z.ZodTypeAny, {
532
+ card_function_type: "guest" | "staff";
533
+ joiner_acs_credential_ids?: string[] | undefined;
534
+ guest_acs_entrance_ids?: string[] | undefined;
535
+ common_acs_entrance_ids?: string[] | undefined;
536
+ is_valid?: boolean | undefined;
537
+ card_id?: string | undefined;
538
+ credential_id?: string | undefined;
539
+ }, {
540
+ card_function_type: "guest" | "staff";
541
+ joiner_acs_credential_ids?: string[] | undefined;
542
+ guest_acs_entrance_ids?: string[] | undefined;
543
+ common_acs_entrance_ids?: string[] | undefined;
544
+ is_valid?: boolean | undefined;
545
+ card_id?: string | undefined;
546
+ credential_id?: string | undefined;
547
+ }>>;
548
+ }, {
549
+ is_managed: z.ZodLiteral<false>;
550
+ }>, "strip", z.ZodTypeAny, {
402
551
  created_at: string;
403
552
  errors: {
404
553
  message: string;
@@ -410,6 +559,7 @@ declare const acs_credential: z.ZodObject<{
410
559
  }[];
411
560
  display_name: string;
412
561
  workspace_id: string;
562
+ is_managed: false;
413
563
  acs_system_id: string;
414
564
  acs_credential_id: string;
415
565
  access_method: "code" | "card" | "mobile_key";
@@ -429,6 +579,9 @@ declare const acs_credential: z.ZodObject<{
429
579
  joiner_acs_credential_ids?: string[] | undefined;
430
580
  guest_acs_entrance_ids?: string[] | undefined;
431
581
  common_acs_entrance_ids?: string[] | undefined;
582
+ is_valid?: boolean | undefined;
583
+ card_id?: string | undefined;
584
+ credential_id?: string | undefined;
432
585
  } | undefined;
433
586
  }, {
434
587
  created_at: string;
@@ -442,6 +595,7 @@ declare const acs_credential: z.ZodObject<{
442
595
  }[];
443
596
  display_name: string;
444
597
  workspace_id: string;
598
+ is_managed: false;
445
599
  acs_system_id: string;
446
600
  acs_credential_id: string;
447
601
  access_method: "code" | "card" | "mobile_key";
@@ -461,6 +615,9 @@ declare const acs_credential: z.ZodObject<{
461
615
  joiner_acs_credential_ids?: string[] | undefined;
462
616
  guest_acs_entrance_ids?: string[] | undefined;
463
617
  common_acs_entrance_ids?: string[] | undefined;
618
+ is_valid?: boolean | undefined;
619
+ card_id?: string | undefined;
620
+ credential_id?: string | undefined;
464
621
  } | undefined;
465
622
  }>;
466
623
  type AcsCredential = z.output<typeof acs_credential>;
@@ -738,7 +895,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
738
895
  }>;
739
896
  type AcsSystem = z.output<typeof acs_system>;
740
897
 
741
- declare const acs_user: z.ZodObject<z.objectUtil.extendShape<{
898
+ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
742
899
  acs_user_id: z.ZodString;
743
900
  acs_system_id: z.ZodString;
744
901
  hid_acs_system_id: z.ZodOptional<z.ZodString>;
@@ -783,6 +940,8 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<{
783
940
  email: z.ZodOptional<z.ZodString>;
784
941
  email_address: z.ZodOptional<z.ZodString>;
785
942
  phone_number: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
943
+ }>, {
944
+ is_managed: z.ZodLiteral<true>;
786
945
  }>, "strip", z.ZodTypeAny, {
787
946
  created_at: string;
788
947
  warnings: {
@@ -792,6 +951,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<{
792
951
  }[];
793
952
  display_name: string;
794
953
  workspace_id: string;
954
+ is_managed: true;
795
955
  acs_system_id: string;
796
956
  acs_user_id: string;
797
957
  is_suspended: boolean;
@@ -821,6 +981,115 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<{
821
981
  }[];
822
982
  display_name: string;
823
983
  workspace_id: string;
984
+ is_managed: true;
985
+ acs_system_id: string;
986
+ acs_user_id: string;
987
+ is_suspended: boolean;
988
+ email?: string | undefined;
989
+ external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
990
+ external_type_display_name?: string | undefined;
991
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
992
+ latest_desired_state_synced_with_provider_at?: string | undefined;
993
+ user_identity_id?: string | undefined;
994
+ full_name?: string | undefined;
995
+ email_address?: string | undefined;
996
+ phone_number?: string | undefined;
997
+ hid_acs_system_id?: string | undefined;
998
+ access_schedule?: {
999
+ starts_at: string;
1000
+ ends_at: string;
1001
+ } | undefined;
1002
+ user_identity_full_name?: string | null | undefined;
1003
+ user_identity_email_address?: string | null | undefined;
1004
+ user_identity_phone_number?: string | null | undefined;
1005
+ }>;
1006
+ declare const acs_unmanaged_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1007
+ acs_user_id: z.ZodString;
1008
+ acs_system_id: z.ZodString;
1009
+ hid_acs_system_id: z.ZodOptional<z.ZodString>;
1010
+ workspace_id: z.ZodString;
1011
+ created_at: z.ZodString;
1012
+ display_name: z.ZodString;
1013
+ external_type: z.ZodOptional<z.ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user", "latch_user"]>>;
1014
+ external_type_display_name: z.ZodOptional<z.ZodString>;
1015
+ is_suspended: z.ZodBoolean;
1016
+ access_schedule: z.ZodOptional<z.ZodObject<{
1017
+ starts_at: z.ZodString;
1018
+ ends_at: z.ZodString;
1019
+ }, "strip", z.ZodTypeAny, {
1020
+ starts_at: string;
1021
+ ends_at: string;
1022
+ }, {
1023
+ starts_at: string;
1024
+ ends_at: string;
1025
+ }>>;
1026
+ user_identity_id: z.ZodOptional<z.ZodString>;
1027
+ user_identity_full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1028
+ user_identity_email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1029
+ user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1030
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
1031
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
1032
+ warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1033
+ created_at: z.ZodString;
1034
+ message: z.ZodString;
1035
+ }, {
1036
+ warning_code: z.ZodLiteral<"being_deleted">;
1037
+ }>, "strip", z.ZodTypeAny, {
1038
+ message: string;
1039
+ warning_code: "being_deleted";
1040
+ created_at: string;
1041
+ }, {
1042
+ message: string;
1043
+ warning_code: "being_deleted";
1044
+ created_at: string;
1045
+ }>, "many">;
1046
+ }, {
1047
+ full_name: z.ZodOptional<z.ZodString>;
1048
+ email: z.ZodOptional<z.ZodString>;
1049
+ email_address: z.ZodOptional<z.ZodString>;
1050
+ phone_number: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1051
+ }>, {
1052
+ is_managed: z.ZodLiteral<false>;
1053
+ }>, "strip", z.ZodTypeAny, {
1054
+ created_at: string;
1055
+ warnings: {
1056
+ message: string;
1057
+ warning_code: "being_deleted";
1058
+ created_at: string;
1059
+ }[];
1060
+ display_name: string;
1061
+ workspace_id: string;
1062
+ is_managed: false;
1063
+ acs_system_id: string;
1064
+ acs_user_id: string;
1065
+ is_suspended: boolean;
1066
+ email?: string | undefined;
1067
+ external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
1068
+ external_type_display_name?: string | undefined;
1069
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
1070
+ latest_desired_state_synced_with_provider_at?: string | undefined;
1071
+ user_identity_id?: string | undefined;
1072
+ full_name?: string | undefined;
1073
+ email_address?: string | undefined;
1074
+ phone_number?: string | undefined;
1075
+ hid_acs_system_id?: string | undefined;
1076
+ access_schedule?: {
1077
+ starts_at: string;
1078
+ ends_at: string;
1079
+ } | undefined;
1080
+ user_identity_full_name?: string | null | undefined;
1081
+ user_identity_email_address?: string | null | undefined;
1082
+ user_identity_phone_number?: string | null | undefined;
1083
+ }, {
1084
+ created_at: string;
1085
+ warnings: {
1086
+ message: string;
1087
+ warning_code: "being_deleted";
1088
+ created_at: string;
1089
+ }[];
1090
+ display_name: string;
1091
+ workspace_id: string;
1092
+ is_managed: false;
824
1093
  acs_system_id: string;
825
1094
  acs_user_id: string;
826
1095
  is_suspended: boolean;
@@ -8167,6 +8436,7 @@ declare const schemas_acs_access_group: typeof acs_access_group;
8167
8436
  declare const schemas_acs_credential: typeof acs_credential;
8168
8437
  declare const schemas_acs_entrance: typeof acs_entrance;
8169
8438
  declare const schemas_acs_system: typeof acs_system;
8439
+ declare const schemas_acs_unmanaged_user: typeof acs_unmanaged_user;
8170
8440
  declare const schemas_acs_user: typeof acs_user;
8171
8441
  declare const schemas_action_attempt: typeof action_attempt;
8172
8442
  declare const schemas_client_session: typeof client_session;
@@ -8179,12 +8449,13 @@ declare const schemas_device_provider: typeof device_provider;
8179
8449
  declare const schemas_noise_threshold: typeof noise_threshold;
8180
8450
  declare const schemas_seam_event: typeof seam_event;
8181
8451
  declare const schemas_unmanaged_access_code: typeof unmanaged_access_code;
8452
+ declare const schemas_unmanaged_acs_credential: typeof unmanaged_acs_credential;
8182
8453
  declare const schemas_unmanaged_device: typeof unmanaged_device;
8183
8454
  declare const schemas_user_identity: typeof user_identity;
8184
8455
  declare const schemas_webhook: typeof webhook;
8185
8456
  declare const schemas_workspace: typeof workspace;
8186
8457
  declare namespace schemas {
8187
- 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_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
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 };
8188
8459
  }
8189
8460
 
8190
8461
  declare const _default: {
@@ -8469,6 +8740,10 @@ declare const _default: {
8469
8740
  is_latest_desired_state_synced_with_provider: {
8470
8741
  type: string;
8471
8742
  };
8743
+ is_managed: {
8744
+ enum: boolean[];
8745
+ type: string;
8746
+ };
8472
8747
  is_multi_phone_sync_credential: {
8473
8748
  type: string;
8474
8749
  };
@@ -8489,6 +8764,9 @@ declare const _default: {
8489
8764
  enum: string[];
8490
8765
  type: string;
8491
8766
  };
8767
+ card_id: {
8768
+ type: string;
8769
+ };
8492
8770
  common_acs_entrance_ids: {
8493
8771
  items: {
8494
8772
  format: string;
@@ -8496,6 +8774,9 @@ declare const _default: {
8496
8774
  };
8497
8775
  type: string;
8498
8776
  };
8777
+ credential_id: {
8778
+ type: string;
8779
+ };
8499
8780
  guest_acs_entrance_ids: {
8500
8781
  items: {
8501
8782
  format: string;
@@ -8503,6 +8784,9 @@ declare const _default: {
8503
8784
  };
8504
8785
  type: string;
8505
8786
  };
8787
+ is_valid: {
8788
+ type: string;
8789
+ };
8506
8790
  joiner_acs_credential_ids: {
8507
8791
  items: {
8508
8792
  format: string;
@@ -8903,6 +9187,10 @@ declare const _default: {
8903
9187
  is_latest_desired_state_synced_with_provider: {
8904
9188
  type: string;
8905
9189
  };
9190
+ is_managed: {
9191
+ enum: boolean[];
9192
+ type: string;
9193
+ };
8906
9194
  is_suspended: {
8907
9195
  type: string;
8908
9196
  };
@@ -14719,17 +15007,358 @@ declare const _default: {
14719
15007
  };
14720
15008
  };
14721
15009
  security: ({
14722
- api_key: never[];
14723
- pat_with_workspace?: never;
14724
- console_session?: never;
14725
- } | {
15010
+ api_key: never[];
15011
+ pat_with_workspace?: never;
15012
+ console_session?: never;
15013
+ } | {
15014
+ pat_with_workspace: never[];
15015
+ api_key?: never;
15016
+ console_session?: never;
15017
+ } | {
15018
+ console_session: never[];
15019
+ api_key?: never;
15020
+ pat_with_workspace?: never;
15021
+ })[];
15022
+ summary: string;
15023
+ tags: string[];
15024
+ 'x-fern-sdk-group-name': string[];
15025
+ 'x-fern-sdk-method-name': string;
15026
+ 'x-fern-sdk-return-value': string;
15027
+ };
15028
+ };
15029
+ '/acs/credentials/unassign': {
15030
+ patch: {
15031
+ operationId: string;
15032
+ requestBody: {
15033
+ content: {
15034
+ 'application/json': {
15035
+ schema: {
15036
+ properties: {
15037
+ acs_credential_id: {
15038
+ format: string;
15039
+ type: string;
15040
+ };
15041
+ acs_user_id: {
15042
+ format: string;
15043
+ type: string;
15044
+ };
15045
+ };
15046
+ required: string[];
15047
+ type: string;
15048
+ };
15049
+ };
15050
+ };
15051
+ };
15052
+ responses: {
15053
+ 200: {
15054
+ content: {
15055
+ 'application/json': {
15056
+ schema: {
15057
+ properties: {
15058
+ acs_credential: {
15059
+ $ref: string;
15060
+ };
15061
+ ok: {
15062
+ type: string;
15063
+ };
15064
+ };
15065
+ required: string[];
15066
+ type: string;
15067
+ };
15068
+ };
15069
+ };
15070
+ description: string;
15071
+ };
15072
+ 400: {
15073
+ description: string;
15074
+ };
15075
+ 401: {
15076
+ description: string;
15077
+ };
15078
+ };
15079
+ security: ({
15080
+ pat_with_workspace: never[];
15081
+ console_session?: never;
15082
+ api_key?: never;
15083
+ } | {
15084
+ console_session: never[];
15085
+ pat_with_workspace?: never;
15086
+ api_key?: never;
15087
+ } | {
15088
+ api_key: never[];
15089
+ pat_with_workspace?: never;
15090
+ console_session?: never;
15091
+ })[];
15092
+ summary: string;
15093
+ tags: string[];
15094
+ 'x-fern-ignore': boolean;
15095
+ };
15096
+ post: {
15097
+ operationId: string;
15098
+ requestBody: {
15099
+ content: {
15100
+ 'application/json': {
15101
+ schema: {
15102
+ properties: {
15103
+ acs_credential_id: {
15104
+ format: string;
15105
+ type: string;
15106
+ };
15107
+ acs_user_id: {
15108
+ format: string;
15109
+ type: string;
15110
+ };
15111
+ };
15112
+ required: string[];
15113
+ type: string;
15114
+ };
15115
+ };
15116
+ };
15117
+ };
15118
+ responses: {
15119
+ 200: {
15120
+ content: {
15121
+ 'application/json': {
15122
+ schema: {
15123
+ properties: {
15124
+ acs_credential: {
15125
+ $ref: string;
15126
+ };
15127
+ ok: {
15128
+ type: string;
15129
+ };
15130
+ };
15131
+ required: string[];
15132
+ type: string;
15133
+ };
15134
+ };
15135
+ };
15136
+ description: string;
15137
+ };
15138
+ 400: {
15139
+ description: string;
15140
+ };
15141
+ 401: {
15142
+ description: string;
15143
+ };
15144
+ };
15145
+ security: ({
15146
+ pat_with_workspace: never[];
15147
+ console_session?: never;
15148
+ api_key?: never;
15149
+ } | {
15150
+ console_session: never[];
15151
+ pat_with_workspace?: never;
15152
+ api_key?: never;
15153
+ } | {
15154
+ api_key: never[];
15155
+ pat_with_workspace?: never;
15156
+ console_session?: never;
15157
+ })[];
15158
+ summary: string;
15159
+ tags: string[];
15160
+ 'x-fern-sdk-group-name': string[];
15161
+ 'x-fern-sdk-method-name': string;
15162
+ };
15163
+ };
15164
+ '/acs/credentials/unmanaged/get': {
15165
+ post: {
15166
+ operationId: string;
15167
+ requestBody: {
15168
+ content: {
15169
+ 'application/json': {
15170
+ schema: {
15171
+ properties: {
15172
+ acs_credential_id: {
15173
+ format: string;
15174
+ type: string;
15175
+ };
15176
+ };
15177
+ required: string[];
15178
+ type: string;
15179
+ };
15180
+ };
15181
+ };
15182
+ };
15183
+ responses: {
15184
+ 200: {
15185
+ content: {
15186
+ 'application/json': {
15187
+ schema: {
15188
+ properties: {
15189
+ acs_credential: {
15190
+ properties: {
15191
+ access_method: {
15192
+ enum: string[];
15193
+ type: string;
15194
+ };
15195
+ acs_credential_id: {
15196
+ format: string;
15197
+ type: string;
15198
+ };
15199
+ acs_credential_pool_id: {
15200
+ format: string;
15201
+ type: string;
15202
+ };
15203
+ acs_system_id: {
15204
+ format: string;
15205
+ type: string;
15206
+ };
15207
+ acs_user_id: {
15208
+ format: string;
15209
+ type: string;
15210
+ };
15211
+ code: {
15212
+ nullable: boolean;
15213
+ type: string;
15214
+ };
15215
+ created_at: {
15216
+ format: string;
15217
+ type: string;
15218
+ };
15219
+ display_name: {
15220
+ minLength: number;
15221
+ type: string;
15222
+ };
15223
+ ends_at: {
15224
+ type: string;
15225
+ };
15226
+ errors: {
15227
+ items: {
15228
+ properties: {
15229
+ error_code: {
15230
+ type: string;
15231
+ };
15232
+ message: {
15233
+ type: string;
15234
+ };
15235
+ };
15236
+ required: string[];
15237
+ type: string;
15238
+ };
15239
+ type: string;
15240
+ };
15241
+ external_type: {
15242
+ enum: string[];
15243
+ type: string;
15244
+ };
15245
+ external_type_display_name: {
15246
+ type: string;
15247
+ };
15248
+ is_latest_desired_state_synced_with_provider: {
15249
+ type: string;
15250
+ };
15251
+ is_managed: {
15252
+ enum: boolean[];
15253
+ type: string;
15254
+ };
15255
+ is_multi_phone_sync_credential: {
15256
+ type: string;
15257
+ };
15258
+ latest_desired_state_synced_with_provider_at: {
15259
+ format: string;
15260
+ type: string;
15261
+ };
15262
+ parent_acs_credential_id: {
15263
+ format: string;
15264
+ type: string;
15265
+ };
15266
+ starts_at: {
15267
+ type: string;
15268
+ };
15269
+ visionline_metadata: {
15270
+ properties: {
15271
+ card_function_type: {
15272
+ enum: string[];
15273
+ type: string;
15274
+ };
15275
+ card_id: {
15276
+ type: string;
15277
+ };
15278
+ common_acs_entrance_ids: {
15279
+ items: {
15280
+ format: string;
15281
+ type: string;
15282
+ };
15283
+ type: string;
15284
+ };
15285
+ credential_id: {
15286
+ type: string;
15287
+ };
15288
+ guest_acs_entrance_ids: {
15289
+ items: {
15290
+ format: string;
15291
+ type: string;
15292
+ };
15293
+ type: string;
15294
+ };
15295
+ is_valid: {
15296
+ type: string;
15297
+ };
15298
+ joiner_acs_credential_ids: {
15299
+ items: {
15300
+ format: string;
15301
+ type: string;
15302
+ };
15303
+ type: string;
15304
+ };
15305
+ };
15306
+ required: string[];
15307
+ type: string;
15308
+ };
15309
+ warnings: {
15310
+ items: {
15311
+ properties: {
15312
+ message: {
15313
+ type: string;
15314
+ };
15315
+ warning_code: {
15316
+ type: string;
15317
+ };
15318
+ };
15319
+ required: string[];
15320
+ type: string;
15321
+ };
15322
+ type: string;
15323
+ };
15324
+ workspace_id: {
15325
+ format: string;
15326
+ type: string;
15327
+ };
15328
+ };
15329
+ required: string[];
15330
+ type: string;
15331
+ };
15332
+ ok: {
15333
+ type: string;
15334
+ };
15335
+ };
15336
+ required: string[];
15337
+ type: string;
15338
+ };
15339
+ };
15340
+ };
15341
+ description: string;
15342
+ };
15343
+ 400: {
15344
+ description: string;
15345
+ };
15346
+ 401: {
15347
+ description: string;
15348
+ };
15349
+ };
15350
+ security: ({
14726
15351
  pat_with_workspace: never[];
14727
- api_key?: never;
14728
15352
  console_session?: never;
15353
+ api_key?: never;
14729
15354
  } | {
14730
15355
  console_session: never[];
15356
+ pat_with_workspace?: never;
14731
15357
  api_key?: never;
15358
+ } | {
15359
+ api_key: never[];
14732
15360
  pat_with_workspace?: never;
15361
+ console_session?: never;
14733
15362
  })[];
14734
15363
  summary: string;
14735
15364
  tags: string[];
@@ -14738,91 +15367,61 @@ declare const _default: {
14738
15367
  'x-fern-sdk-return-value': string;
14739
15368
  };
14740
15369
  };
14741
- '/acs/credentials/unassign': {
14742
- patch: {
15370
+ '/acs/credentials/unmanaged/list': {
15371
+ post: {
14743
15372
  operationId: string;
14744
15373
  requestBody: {
14745
15374
  content: {
14746
15375
  'application/json': {
14747
15376
  schema: {
14748
- properties: {
14749
- acs_credential_id: {
14750
- format: string;
14751
- type: string;
15377
+ oneOf: ({
15378
+ properties: {
15379
+ acs_user_id: {
15380
+ format: string;
15381
+ type: string;
15382
+ };
15383
+ acs_system_id?: never;
15384
+ user_identity_id?: never;
14752
15385
  };
14753
- acs_user_id: {
14754
- format: string;
14755
- type: string;
15386
+ required: string[];
15387
+ type: string;
15388
+ } | {
15389
+ properties: {
15390
+ acs_system_id: {
15391
+ format: string;
15392
+ type: string;
15393
+ };
15394
+ acs_user_id?: never;
15395
+ user_identity_id?: never;
14756
15396
  };
14757
- };
14758
- required: string[];
14759
- type: string;
14760
- };
14761
- };
14762
- };
14763
- };
14764
- responses: {
14765
- 200: {
14766
- content: {
14767
- 'application/json': {
14768
- schema: {
15397
+ required: string[];
15398
+ type: string;
15399
+ } | {
14769
15400
  properties: {
14770
- acs_credential: {
14771
- $ref: string;
15401
+ acs_system_id: {
15402
+ format: string;
15403
+ type: string;
14772
15404
  };
14773
- ok: {
15405
+ acs_user_id: {
15406
+ format: string;
14774
15407
  type: string;
14775
15408
  };
15409
+ user_identity_id?: never;
14776
15410
  };
14777
15411
  required: string[];
14778
15412
  type: string;
14779
- };
14780
- };
14781
- };
14782
- description: string;
14783
- };
14784
- 400: {
14785
- description: string;
14786
- };
14787
- 401: {
14788
- description: string;
14789
- };
14790
- };
14791
- security: ({
14792
- pat_with_workspace: never[];
14793
- console_session?: never;
14794
- api_key?: never;
14795
- } | {
14796
- console_session: never[];
14797
- pat_with_workspace?: never;
14798
- api_key?: never;
14799
- } | {
14800
- api_key: never[];
14801
- pat_with_workspace?: never;
14802
- console_session?: never;
14803
- })[];
14804
- summary: string;
14805
- tags: string[];
14806
- 'x-fern-ignore': boolean;
14807
- };
14808
- post: {
14809
- operationId: string;
14810
- requestBody: {
14811
- content: {
14812
- 'application/json': {
14813
- schema: {
14814
- properties: {
14815
- acs_credential_id: {
14816
- format: string;
14817
- type: string;
14818
- };
14819
- acs_user_id: {
14820
- format: string;
14821
- type: string;
15413
+ } | {
15414
+ properties: {
15415
+ user_identity_id: {
15416
+ format: string;
15417
+ type: string;
15418
+ };
15419
+ acs_user_id?: never;
15420
+ acs_system_id?: never;
14822
15421
  };
14823
- };
14824
- required: string[];
14825
- type: string;
15422
+ required: string[];
15423
+ type: string;
15424
+ })[];
14826
15425
  };
14827
15426
  };
14828
15427
  };
@@ -14833,8 +15432,151 @@ declare const _default: {
14833
15432
  'application/json': {
14834
15433
  schema: {
14835
15434
  properties: {
14836
- acs_credential: {
14837
- $ref: string;
15435
+ acs_credentials: {
15436
+ items: {
15437
+ properties: {
15438
+ access_method: {
15439
+ enum: string[];
15440
+ type: string;
15441
+ };
15442
+ acs_credential_id: {
15443
+ format: string;
15444
+ type: string;
15445
+ };
15446
+ acs_credential_pool_id: {
15447
+ format: string;
15448
+ type: string;
15449
+ };
15450
+ acs_system_id: {
15451
+ format: string;
15452
+ type: string;
15453
+ };
15454
+ acs_user_id: {
15455
+ format: string;
15456
+ type: string;
15457
+ };
15458
+ code: {
15459
+ nullable: boolean;
15460
+ type: string;
15461
+ };
15462
+ created_at: {
15463
+ format: string;
15464
+ type: string;
15465
+ };
15466
+ display_name: {
15467
+ minLength: number;
15468
+ type: string;
15469
+ };
15470
+ ends_at: {
15471
+ type: string;
15472
+ };
15473
+ errors: {
15474
+ items: {
15475
+ properties: {
15476
+ error_code: {
15477
+ type: string;
15478
+ };
15479
+ message: {
15480
+ type: string;
15481
+ };
15482
+ };
15483
+ required: string[];
15484
+ type: string;
15485
+ };
15486
+ type: string;
15487
+ };
15488
+ external_type: {
15489
+ enum: string[];
15490
+ type: string;
15491
+ };
15492
+ external_type_display_name: {
15493
+ type: string;
15494
+ };
15495
+ is_latest_desired_state_synced_with_provider: {
15496
+ type: string;
15497
+ };
15498
+ is_managed: {
15499
+ enum: boolean[];
15500
+ type: string;
15501
+ };
15502
+ is_multi_phone_sync_credential: {
15503
+ type: string;
15504
+ };
15505
+ latest_desired_state_synced_with_provider_at: {
15506
+ format: string;
15507
+ type: string;
15508
+ };
15509
+ parent_acs_credential_id: {
15510
+ format: string;
15511
+ type: string;
15512
+ };
15513
+ starts_at: {
15514
+ type: string;
15515
+ };
15516
+ visionline_metadata: {
15517
+ properties: {
15518
+ card_function_type: {
15519
+ enum: string[];
15520
+ type: string;
15521
+ };
15522
+ card_id: {
15523
+ type: string;
15524
+ };
15525
+ common_acs_entrance_ids: {
15526
+ items: {
15527
+ format: string;
15528
+ type: string;
15529
+ };
15530
+ type: string;
15531
+ };
15532
+ credential_id: {
15533
+ type: string;
15534
+ };
15535
+ guest_acs_entrance_ids: {
15536
+ items: {
15537
+ format: string;
15538
+ type: string;
15539
+ };
15540
+ type: string;
15541
+ };
15542
+ is_valid: {
15543
+ type: string;
15544
+ };
15545
+ joiner_acs_credential_ids: {
15546
+ items: {
15547
+ format: string;
15548
+ type: string;
15549
+ };
15550
+ type: string;
15551
+ };
15552
+ };
15553
+ required: string[];
15554
+ type: string;
15555
+ };
15556
+ warnings: {
15557
+ items: {
15558
+ properties: {
15559
+ message: {
15560
+ type: string;
15561
+ };
15562
+ warning_code: {
15563
+ type: string;
15564
+ };
15565
+ };
15566
+ required: string[];
15567
+ type: string;
15568
+ };
15569
+ type: string;
15570
+ };
15571
+ workspace_id: {
15572
+ format: string;
15573
+ type: string;
15574
+ };
15575
+ };
15576
+ required: string[];
15577
+ type: string;
15578
+ };
15579
+ type: string;
14838
15580
  };
14839
15581
  ok: {
14840
15582
  type: string;
@@ -14855,22 +15597,23 @@ declare const _default: {
14855
15597
  };
14856
15598
  };
14857
15599
  security: ({
14858
- pat_with_workspace: never[];
15600
+ api_key: never[];
15601
+ pat_with_workspace?: never;
14859
15602
  console_session?: never;
15603
+ } | {
15604
+ pat_with_workspace: never[];
14860
15605
  api_key?: never;
15606
+ console_session?: never;
14861
15607
  } | {
14862
15608
  console_session: never[];
14863
- pat_with_workspace?: never;
14864
15609
  api_key?: never;
14865
- } | {
14866
- api_key: never[];
14867
15610
  pat_with_workspace?: never;
14868
- console_session?: never;
14869
15611
  })[];
14870
15612
  summary: string;
14871
15613
  tags: string[];
14872
15614
  'x-fern-sdk-group-name': string[];
14873
15615
  'x-fern-sdk-method-name': string;
15616
+ 'x-fern-sdk-return-value': string;
14874
15617
  };
14875
15618
  };
14876
15619
  '/acs/credentials/update': {
@@ -16268,7 +17011,73 @@ declare const _default: {
16268
17011
  'x-fern-sdk-method-name': string;
16269
17012
  };
16270
17013
  };
16271
- '/acs/users/unmanaged/get': {
17014
+ '/acs/users/unmanaged/get': {
17015
+ post: {
17016
+ operationId: string;
17017
+ requestBody: {
17018
+ content: {
17019
+ 'application/json': {
17020
+ schema: {
17021
+ properties: {
17022
+ acs_user_id: {
17023
+ format: string;
17024
+ type: string;
17025
+ };
17026
+ };
17027
+ required: string[];
17028
+ type: string;
17029
+ };
17030
+ };
17031
+ };
17032
+ };
17033
+ responses: {
17034
+ 200: {
17035
+ content: {
17036
+ 'application/json': {
17037
+ schema: {
17038
+ properties: {
17039
+ acs_user: {
17040
+ $ref: string;
17041
+ };
17042
+ ok: {
17043
+ type: string;
17044
+ };
17045
+ };
17046
+ required: string[];
17047
+ type: string;
17048
+ };
17049
+ };
17050
+ };
17051
+ description: string;
17052
+ };
17053
+ 400: {
17054
+ description: string;
17055
+ };
17056
+ 401: {
17057
+ description: string;
17058
+ };
17059
+ };
17060
+ security: ({
17061
+ pat_with_workspace: never[];
17062
+ console_session?: never;
17063
+ api_key?: never;
17064
+ } | {
17065
+ console_session: never[];
17066
+ pat_with_workspace?: never;
17067
+ api_key?: never;
17068
+ } | {
17069
+ api_key: never[];
17070
+ pat_with_workspace?: never;
17071
+ console_session?: never;
17072
+ })[];
17073
+ summary: string;
17074
+ tags: string[];
17075
+ 'x-fern-sdk-group-name': string[];
17076
+ 'x-fern-sdk-method-name': string;
17077
+ 'x-fern-sdk-return-value': string;
17078
+ };
17079
+ };
17080
+ '/acs/users/unmanaged/list': {
16272
17081
  post: {
16273
17082
  operationId: string;
16274
17083
  requestBody: {
@@ -16276,78 +17085,26 @@ declare const _default: {
16276
17085
  'application/json': {
16277
17086
  schema: {
16278
17087
  properties: {
16279
- acs_user_id: {
17088
+ acs_system_id: {
16280
17089
  format: string;
16281
17090
  type: string;
16282
17091
  };
16283
- };
16284
- required: string[];
16285
- type: string;
16286
- };
16287
- };
16288
- };
16289
- };
16290
- responses: {
16291
- 200: {
16292
- content: {
16293
- 'application/json': {
16294
- schema: {
16295
- properties: {
16296
- acs_user: {
16297
- $ref: string;
16298
- };
16299
- ok: {
16300
- type: string;
16301
- };
17092
+ limit: {
17093
+ default: number;
17094
+ format: string;
17095
+ type: string;
16302
17096
  };
16303
- required: string[];
16304
- type: string;
16305
- };
16306
- };
16307
- };
16308
- description: string;
16309
- };
16310
- 400: {
16311
- description: string;
16312
- };
16313
- 401: {
16314
- description: string;
16315
- };
16316
- };
16317
- security: ({
16318
- pat_with_workspace: never[];
16319
- console_session?: never;
16320
- api_key?: never;
16321
- } | {
16322
- console_session: never[];
16323
- pat_with_workspace?: never;
16324
- api_key?: never;
16325
- } | {
16326
- api_key: never[];
16327
- pat_with_workspace?: never;
16328
- console_session?: never;
16329
- })[];
16330
- summary: string;
16331
- tags: string[];
16332
- 'x-fern-sdk-group-name': string[];
16333
- 'x-fern-sdk-method-name': string;
16334
- 'x-fern-sdk-return-value': string;
16335
- };
16336
- };
16337
- '/acs/users/unmanaged/list': {
16338
- post: {
16339
- operationId: string;
16340
- requestBody: {
16341
- content: {
16342
- 'application/json': {
16343
- schema: {
16344
- properties: {
16345
- acs_system_id: {
17097
+ user_identity_email_address: {
17098
+ type: string;
17099
+ };
17100
+ user_identity_id: {
16346
17101
  format: string;
16347
17102
  type: string;
16348
17103
  };
17104
+ user_identity_phone_number: {
17105
+ type: string;
17106
+ };
16349
17107
  };
16350
- required: string[];
16351
17108
  type: string;
16352
17109
  };
16353
17110
  };
@@ -16361,7 +17118,119 @@ declare const _default: {
16361
17118
  properties: {
16362
17119
  acs_users: {
16363
17120
  items: {
16364
- $ref: string;
17121
+ properties: {
17122
+ access_schedule: {
17123
+ properties: {
17124
+ ends_at: {
17125
+ format: string;
17126
+ type: string;
17127
+ };
17128
+ starts_at: {
17129
+ format: string;
17130
+ type: string;
17131
+ };
17132
+ };
17133
+ required: string[];
17134
+ type: string;
17135
+ };
17136
+ acs_system_id: {
17137
+ format: string;
17138
+ type: string;
17139
+ };
17140
+ acs_user_id: {
17141
+ format: string;
17142
+ type: string;
17143
+ };
17144
+ created_at: {
17145
+ format: string;
17146
+ type: string;
17147
+ };
17148
+ display_name: {
17149
+ type: string;
17150
+ };
17151
+ email: {
17152
+ deprecated: boolean;
17153
+ format: string;
17154
+ type: string;
17155
+ 'x-deprecated': string;
17156
+ };
17157
+ email_address: {
17158
+ format: string;
17159
+ type: string;
17160
+ };
17161
+ external_type: {
17162
+ enum: string[];
17163
+ type: string;
17164
+ };
17165
+ external_type_display_name: {
17166
+ type: string;
17167
+ };
17168
+ full_name: {
17169
+ type: string;
17170
+ };
17171
+ hid_acs_system_id: {
17172
+ format: string;
17173
+ type: string;
17174
+ };
17175
+ is_latest_desired_state_synced_with_provider: {
17176
+ type: string;
17177
+ };
17178
+ is_managed: {
17179
+ enum: boolean[];
17180
+ type: string;
17181
+ };
17182
+ is_suspended: {
17183
+ type: string;
17184
+ };
17185
+ latest_desired_state_synced_with_provider_at: {
17186
+ format: string;
17187
+ type: string;
17188
+ };
17189
+ phone_number: {
17190
+ type: string;
17191
+ };
17192
+ user_identity_email_address: {
17193
+ nullable: boolean;
17194
+ type: string;
17195
+ };
17196
+ user_identity_full_name: {
17197
+ nullable: boolean;
17198
+ type: string;
17199
+ };
17200
+ user_identity_id: {
17201
+ type: string;
17202
+ };
17203
+ user_identity_phone_number: {
17204
+ nullable: boolean;
17205
+ type: string;
17206
+ };
17207
+ warnings: {
17208
+ items: {
17209
+ properties: {
17210
+ created_at: {
17211
+ format: string;
17212
+ type: string;
17213
+ };
17214
+ message: {
17215
+ type: string;
17216
+ };
17217
+ warning_code: {
17218
+ enum: string[];
17219
+ type: string;
17220
+ };
17221
+ };
17222
+ required: string[];
17223
+ type: string;
17224
+ };
17225
+ type: string;
17226
+ };
17227
+ workspace_id: {
17228
+ format: string;
17229
+ type: string;
17230
+ };
17231
+ };
17232
+ required: string[];
17233
+ type: string;
16365
17234
  };
16366
17235
  type: string;
16367
17236
  };
@@ -16384,23 +17253,15 @@ declare const _default: {
16384
17253
  };
16385
17254
  };
16386
17255
  security: ({
16387
- client_session: never[];
16388
- pat_with_workspace?: never;
16389
- console_session?: never;
16390
- api_key?: never;
16391
- } | {
16392
17256
  pat_with_workspace: never[];
16393
- client_session?: never;
16394
17257
  console_session?: never;
16395
17258
  api_key?: never;
16396
17259
  } | {
16397
17260
  console_session: never[];
16398
- client_session?: never;
16399
17261
  pat_with_workspace?: never;
16400
17262
  api_key?: never;
16401
17263
  } | {
16402
17264
  api_key: never[];
16403
- client_session?: never;
16404
17265
  pat_with_workspace?: never;
16405
17266
  console_session?: never;
16406
17267
  })[];
@@ -27110,6 +27971,7 @@ interface Routes {
27110
27971
  email?: string | undefined;
27111
27972
  email_address?: string | undefined;
27112
27973
  phone_number?: string | undefined;
27974
+ is_managed: true;
27113
27975
  }>;
27114
27976
  };
27115
27977
  };
@@ -27211,7 +28073,11 @@ interface Routes {
27211
28073
  joiner_acs_credential_ids?: string[] | undefined;
27212
28074
  guest_acs_entrance_ids?: string[] | undefined;
27213
28075
  common_acs_entrance_ids?: string[] | undefined;
28076
+ is_valid?: boolean | undefined;
28077
+ card_id?: string | undefined;
28078
+ credential_id?: string | undefined;
27214
28079
  } | undefined;
28080
+ is_managed: true;
27215
28081
  };
27216
28082
  };
27217
28083
  };
@@ -27273,7 +28139,11 @@ interface Routes {
27273
28139
  joiner_acs_credential_ids?: string[] | undefined;
27274
28140
  guest_acs_entrance_ids?: string[] | undefined;
27275
28141
  common_acs_entrance_ids?: string[] | undefined;
28142
+ is_valid?: boolean | undefined;
28143
+ card_id?: string | undefined;
28144
+ credential_id?: string | undefined;
27276
28145
  } | undefined;
28146
+ is_managed: true;
27277
28147
  };
27278
28148
  };
27279
28149
  };
@@ -27329,7 +28199,11 @@ interface Routes {
27329
28199
  joiner_acs_credential_ids?: string[] | undefined;
27330
28200
  guest_acs_entrance_ids?: string[] | undefined;
27331
28201
  common_acs_entrance_ids?: string[] | undefined;
28202
+ is_valid?: boolean | undefined;
28203
+ card_id?: string | undefined;
28204
+ credential_id?: string | undefined;
27332
28205
  } | undefined;
28206
+ is_managed: true;
27333
28207
  };
27334
28208
  };
27335
28209
  };
@@ -27385,7 +28259,11 @@ interface Routes {
27385
28259
  joiner_acs_credential_ids?: string[] | undefined;
27386
28260
  guest_acs_entrance_ids?: string[] | undefined;
27387
28261
  common_acs_entrance_ids?: string[] | undefined;
28262
+ is_valid?: boolean | undefined;
28263
+ card_id?: string | undefined;
28264
+ credential_id?: string | undefined;
27388
28265
  } | undefined;
28266
+ is_managed: true;
27389
28267
  }>;
27390
28268
  };
27391
28269
  };
@@ -27467,10 +28345,119 @@ interface Routes {
27467
28345
  joiner_acs_credential_ids?: string[] | undefined;
27468
28346
  guest_acs_entrance_ids?: string[] | undefined;
27469
28347
  common_acs_entrance_ids?: string[] | undefined;
28348
+ is_valid?: boolean | undefined;
28349
+ card_id?: string | undefined;
28350
+ credential_id?: string | undefined;
28351
+ } | undefined;
28352
+ is_managed: true;
28353
+ };
28354
+ };
28355
+ };
28356
+ '/acs/credentials/unmanaged/get': {
28357
+ route: '/acs/credentials/unmanaged/get';
28358
+ method: 'GET' | 'POST';
28359
+ queryParams: {};
28360
+ jsonBody: {};
28361
+ commonParams: {
28362
+ acs_credential_id: string;
28363
+ };
28364
+ formData: {};
28365
+ jsonResponse: {
28366
+ acs_credential: {
28367
+ acs_credential_id: string;
28368
+ acs_user_id?: string | undefined;
28369
+ acs_credential_pool_id?: string | undefined;
28370
+ acs_system_id: string;
28371
+ parent_acs_credential_id?: string | undefined;
28372
+ display_name: string;
28373
+ code?: (string | undefined) | null;
28374
+ access_method: 'code' | 'card' | 'mobile_key';
28375
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
28376
+ external_type_display_name?: string | undefined;
28377
+ created_at: string;
28378
+ workspace_id: string;
28379
+ starts_at?: string | undefined;
28380
+ ends_at?: string | undefined;
28381
+ errors: Array<{
28382
+ error_code: string;
28383
+ message: string;
28384
+ }>;
28385
+ warnings: Array<{
28386
+ warning_code: string;
28387
+ message: string;
28388
+ }>;
28389
+ is_multi_phone_sync_credential?: boolean | undefined;
28390
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
28391
+ latest_desired_state_synced_with_provider_at?: string | undefined;
28392
+ visionline_metadata?: {
28393
+ card_function_type: 'guest' | 'staff';
28394
+ joiner_acs_credential_ids?: string[] | undefined;
28395
+ guest_acs_entrance_ids?: string[] | undefined;
28396
+ common_acs_entrance_ids?: string[] | undefined;
28397
+ is_valid?: boolean | undefined;
28398
+ card_id?: string | undefined;
28399
+ credential_id?: string | undefined;
27470
28400
  } | undefined;
28401
+ is_managed: false;
27471
28402
  };
27472
28403
  };
27473
28404
  };
28405
+ '/acs/credentials/unmanaged/list': {
28406
+ route: '/acs/credentials/unmanaged/list';
28407
+ method: 'GET' | 'POST';
28408
+ queryParams: {};
28409
+ jsonBody: {};
28410
+ commonParams: {
28411
+ acs_user_id: string;
28412
+ } | {
28413
+ acs_system_id: string;
28414
+ } | {
28415
+ acs_user_id: string;
28416
+ acs_system_id: string;
28417
+ } | {
28418
+ user_identity_id: string;
28419
+ };
28420
+ formData: {};
28421
+ jsonResponse: {
28422
+ acs_credentials: Array<{
28423
+ acs_credential_id: string;
28424
+ acs_user_id?: string | undefined;
28425
+ acs_credential_pool_id?: string | undefined;
28426
+ acs_system_id: string;
28427
+ parent_acs_credential_id?: string | undefined;
28428
+ display_name: string;
28429
+ code?: (string | undefined) | null;
28430
+ access_method: 'code' | 'card' | 'mobile_key';
28431
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
28432
+ external_type_display_name?: string | undefined;
28433
+ created_at: string;
28434
+ workspace_id: string;
28435
+ starts_at?: string | undefined;
28436
+ ends_at?: string | undefined;
28437
+ errors: Array<{
28438
+ error_code: string;
28439
+ message: string;
28440
+ }>;
28441
+ warnings: Array<{
28442
+ warning_code: string;
28443
+ message: string;
28444
+ }>;
28445
+ is_multi_phone_sync_credential?: boolean | undefined;
28446
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
28447
+ latest_desired_state_synced_with_provider_at?: string | undefined;
28448
+ visionline_metadata?: {
28449
+ card_function_type: 'guest' | 'staff';
28450
+ joiner_acs_credential_ids?: string[] | undefined;
28451
+ guest_acs_entrance_ids?: string[] | undefined;
28452
+ common_acs_entrance_ids?: string[] | undefined;
28453
+ is_valid?: boolean | undefined;
28454
+ card_id?: string | undefined;
28455
+ credential_id?: string | undefined;
28456
+ } | undefined;
28457
+ is_managed: false;
28458
+ }>;
28459
+ };
28460
+ };
27474
28461
  '/acs/credentials/update': {
27475
28462
  route: '/acs/credentials/update';
27476
28463
  method: 'PATCH' | 'POST';
@@ -27514,7 +28501,11 @@ interface Routes {
27514
28501
  joiner_acs_credential_ids?: string[] | undefined;
27515
28502
  guest_acs_entrance_ids?: string[] | undefined;
27516
28503
  common_acs_entrance_ids?: string[] | undefined;
28504
+ is_valid?: boolean | undefined;
28505
+ card_id?: string | undefined;
28506
+ credential_id?: string | undefined;
27517
28507
  } | undefined;
28508
+ is_managed: true;
27518
28509
  };
27519
28510
  };
27520
28511
  };
@@ -27645,7 +28636,11 @@ interface Routes {
27645
28636
  joiner_acs_credential_ids?: string[] | undefined;
27646
28637
  guest_acs_entrance_ids?: string[] | undefined;
27647
28638
  common_acs_entrance_ids?: string[] | undefined;
28639
+ is_valid?: boolean | undefined;
28640
+ card_id?: string | undefined;
28641
+ credential_id?: string | undefined;
27648
28642
  } | undefined;
28643
+ is_managed: true;
27649
28644
  }>;
27650
28645
  };
27651
28646
  };
@@ -27967,6 +28962,7 @@ interface Routes {
27967
28962
  email?: string | undefined;
27968
28963
  email_address?: string | undefined;
27969
28964
  phone_number?: string | undefined;
28965
+ is_managed: true;
27970
28966
  };
27971
28967
  };
27972
28968
  };
@@ -28022,6 +29018,7 @@ interface Routes {
28022
29018
  email?: string | undefined;
28023
29019
  email_address?: string | undefined;
28024
29020
  phone_number?: string | undefined;
29021
+ is_managed: true;
28025
29022
  };
28026
29023
  };
28027
29024
  };
@@ -28071,6 +29068,7 @@ interface Routes {
28071
29068
  email?: string | undefined;
28072
29069
  email_address?: string | undefined;
28073
29070
  phone_number?: string | undefined;
29071
+ is_managed: true;
28074
29072
  }>;
28075
29073
  };
28076
29074
  };
@@ -28185,6 +29183,7 @@ interface Routes {
28185
29183
  email?: string | undefined;
28186
29184
  email_address?: string | undefined;
28187
29185
  phone_number?: string | undefined;
29186
+ is_managed: true;
28188
29187
  };
28189
29188
  };
28190
29189
  };
@@ -28194,7 +29193,11 @@ interface Routes {
28194
29193
  queryParams: {};
28195
29194
  jsonBody: {};
28196
29195
  commonParams: {
28197
- acs_system_id: string;
29196
+ user_identity_id?: string | undefined;
29197
+ user_identity_phone_number?: string | undefined;
29198
+ user_identity_email_address?: string | undefined;
29199
+ acs_system_id?: string | undefined;
29200
+ limit?: number;
28198
29201
  };
28199
29202
  formData: {};
28200
29203
  jsonResponse: {
@@ -28229,6 +29232,7 @@ interface Routes {
28229
29232
  email?: string | undefined;
28230
29233
  email_address?: string | undefined;
28231
29234
  phone_number?: string | undefined;
29235
+ is_managed: false;
28232
29236
  }>;
28233
29237
  };
28234
29238
  };
@@ -39210,6 +40214,7 @@ interface Routes {
39210
40214
  email?: string | undefined;
39211
40215
  email_address?: string | undefined;
39212
40216
  phone_number?: string | undefined;
40217
+ is_managed: true;
39213
40218
  }>;
39214
40219
  };
39215
40220
  };