@seamapi/types 1.195.0 → 1.196.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.
@@ -7924,24 +7924,31 @@ declare const _default: {
7924
7924
  type: string;
7925
7925
  };
7926
7926
  acs_system: {
7927
+ description: string;
7927
7928
  properties: {
7928
7929
  acs_system_id: {
7930
+ description: string;
7929
7931
  format: string;
7930
7932
  type: string;
7931
7933
  };
7932
7934
  can_add_acs_users_to_acs_access_groups: {
7935
+ description: string;
7933
7936
  type: string;
7934
7937
  };
7935
7938
  can_automate_enrollment: {
7939
+ description: string;
7936
7940
  type: string;
7937
7941
  };
7938
7942
  can_create_acs_access_groups: {
7943
+ description: string;
7939
7944
  type: string;
7940
7945
  };
7941
7946
  can_remove_acs_users_from_acs_access_groups: {
7947
+ description: string;
7942
7948
  type: string;
7943
7949
  };
7944
7950
  connected_account_ids: {
7951
+ description: string;
7945
7952
  items: {
7946
7953
  format: string;
7947
7954
  type: string;
@@ -7949,22 +7956,29 @@ declare const _default: {
7949
7956
  type: string;
7950
7957
  };
7951
7958
  created_at: {
7959
+ description: string;
7952
7960
  format: string;
7953
7961
  type: string;
7954
7962
  };
7955
7963
  errors: {
7964
+ description: string;
7956
7965
  items: {
7966
+ description: string;
7957
7967
  oneOf: {
7968
+ description: string;
7958
7969
  properties: {
7959
7970
  created_at: {
7971
+ description: string;
7960
7972
  format: string;
7961
7973
  type: string;
7962
7974
  };
7963
7975
  error_code: {
7976
+ description: string;
7964
7977
  enum: string[];
7965
7978
  type: string;
7966
7979
  };
7967
7980
  message: {
7981
+ description: string;
7968
7982
  type: string;
7969
7983
  };
7970
7984
  };
@@ -7975,19 +7989,24 @@ declare const _default: {
7975
7989
  type: string;
7976
7990
  };
7977
7991
  external_type: {
7992
+ description: string;
7978
7993
  enum: string[];
7979
7994
  type: string;
7980
7995
  };
7981
7996
  external_type_display_name: {
7997
+ description: string;
7982
7998
  type: string;
7983
7999
  };
7984
8000
  image_alt_text: {
8001
+ description: string;
7985
8002
  type: string;
7986
8003
  };
7987
8004
  image_url: {
8005
+ description: string;
7988
8006
  type: string;
7989
8007
  };
7990
8008
  name: {
8009
+ description: string;
7991
8010
  type: string;
7992
8011
  };
7993
8012
  system_type: {
@@ -8003,12 +8022,15 @@ declare const _default: {
8003
8022
  };
8004
8023
  warnings: {
8005
8024
  items: {
8025
+ description: string;
8006
8026
  properties: {};
8007
8027
  type: string;
8008
8028
  };
8009
8029
  type: string;
8030
+ 'x-undocumented': string;
8010
8031
  };
8011
8032
  workspace_id: {
8033
+ description: string;
8012
8034
  format: string;
8013
8035
  type: string;
8014
8036
  };
@@ -26435,35 +26457,57 @@ interface Routes {
26435
26457
  };
26436
26458
  formData: {};
26437
26459
  jsonResponse: {
26460
+ /** Represents an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
26438
26461
  acs_system: {
26462
+ /** ID of the `acs_system`. */
26439
26463
  acs_system_id: string;
26464
+ /** Brand-specific terminology for the `acs_system` type. */
26440
26465
  external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
26466
+ /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
26441
26467
  external_type_display_name?: string | undefined;
26442
26468
  /**
26443
- * @deprecated use external_type */
26469
+ * @deprecated Use `external_type`. */
26444
26470
  system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
26445
26471
  /**
26446
- * @deprecated use external_type_display_name */
26472
+ * @deprecated Use `external_type_display_name`. */
26447
26473
  system_type_display_name?: string | undefined;
26474
+ /** Name of the `acs_system`. */
26448
26475
  name: string;
26476
+ /** Date and time at which the `acs_system` was created. */
26449
26477
  created_at: string;
26478
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
26450
26479
  workspace_id: string;
26480
+ /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
26451
26481
  connected_account_ids: string[];
26482
+ /** URL for the image that represents the `acs_system`. */
26452
26483
  image_url: string;
26484
+ /** Alternative text for the `acs_system` image. */
26453
26485
  image_alt_text: string;
26486
+ /** Errors associated with the `acs_system`. */
26454
26487
  errors: Array<{
26488
+ /** Date and time at which Seam created the error. */
26455
26489
  created_at: string;
26490
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
26456
26491
  message: string;
26492
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26457
26493
  error_code: 'seam_bridge_disconnected';
26458
26494
  } | {
26495
+ /** Date and time at which Seam created the error. */
26459
26496
  created_at: string;
26497
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
26460
26498
  message: string;
26499
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26461
26500
  error_code: 'visionline_instance_unreachable';
26462
26501
  }>;
26502
+ /** */
26463
26503
  warnings: Array<{}>;
26504
+ /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
26464
26505
  can_automate_enrollment?: boolean | undefined;
26506
+ /** Indicates whether the `acs_system` supports creating [access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
26465
26507
  can_create_acs_access_groups?: boolean | undefined;
26508
+ /** Indicates whether the `acs_system` supports [removing users from access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#remove-an-acs-user-from-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
26466
26509
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
26510
+ /** Indicates whether the `acs_system` supports [adding users to access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#add-an-acs-user-to-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
26467
26511
  can_add_acs_users_to_acs_access_groups?: boolean | undefined;
26468
26512
  };
26469
26513
  };
@@ -26479,34 +26523,55 @@ interface Routes {
26479
26523
  formData: {};
26480
26524
  jsonResponse: {
26481
26525
  acs_systems: Array<{
26526
+ /** ID of the `acs_system`. */
26482
26527
  acs_system_id: string;
26528
+ /** Brand-specific terminology for the `acs_system` type. */
26483
26529
  external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
26530
+ /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
26484
26531
  external_type_display_name?: string | undefined;
26485
26532
  /**
26486
- * @deprecated use external_type */
26533
+ * @deprecated Use `external_type`. */
26487
26534
  system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
26488
26535
  /**
26489
- * @deprecated use external_type_display_name */
26536
+ * @deprecated Use `external_type_display_name`. */
26490
26537
  system_type_display_name?: string | undefined;
26538
+ /** Name of the `acs_system`. */
26491
26539
  name: string;
26540
+ /** Date and time at which the `acs_system` was created. */
26492
26541
  created_at: string;
26542
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
26493
26543
  workspace_id: string;
26544
+ /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
26494
26545
  connected_account_ids: string[];
26546
+ /** URL for the image that represents the `acs_system`. */
26495
26547
  image_url: string;
26548
+ /** Alternative text for the `acs_system` image. */
26496
26549
  image_alt_text: string;
26550
+ /** Errors associated with the `acs_system`. */
26497
26551
  errors: Array<{
26552
+ /** Date and time at which Seam created the error. */
26498
26553
  created_at: string;
26554
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
26499
26555
  message: string;
26556
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26500
26557
  error_code: 'seam_bridge_disconnected';
26501
26558
  } | {
26559
+ /** Date and time at which Seam created the error. */
26502
26560
  created_at: string;
26561
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
26503
26562
  message: string;
26563
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26504
26564
  error_code: 'visionline_instance_unreachable';
26505
26565
  }>;
26566
+ /** */
26506
26567
  warnings: Array<{}>;
26568
+ /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
26507
26569
  can_automate_enrollment?: boolean | undefined;
26570
+ /** Indicates whether the `acs_system` supports creating [access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
26508
26571
  can_create_acs_access_groups?: boolean | undefined;
26572
+ /** Indicates whether the `acs_system` supports [removing users from access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#remove-an-acs-user-from-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
26509
26573
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
26574
+ /** Indicates whether the `acs_system` supports [adding users to access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#add-an-acs-user-to-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
26510
26575
  can_add_acs_users_to_acs_access_groups?: boolean | undefined;
26511
26576
  }>;
26512
26577
  };
@@ -26522,34 +26587,55 @@ interface Routes {
26522
26587
  formData: {};
26523
26588
  jsonResponse: {
26524
26589
  acs_systems: Array<{
26590
+ /** ID of the `acs_system`. */
26525
26591
  acs_system_id: string;
26592
+ /** Brand-specific terminology for the `acs_system` type. */
26526
26593
  external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
26594
+ /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
26527
26595
  external_type_display_name?: string | undefined;
26528
26596
  /**
26529
- * @deprecated use external_type */
26597
+ * @deprecated Use `external_type`. */
26530
26598
  system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
26531
26599
  /**
26532
- * @deprecated use external_type_display_name */
26600
+ * @deprecated Use `external_type_display_name`. */
26533
26601
  system_type_display_name?: string | undefined;
26602
+ /** Name of the `acs_system`. */
26534
26603
  name: string;
26604
+ /** Date and time at which the `acs_system` was created. */
26535
26605
  created_at: string;
26606
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
26536
26607
  workspace_id: string;
26608
+ /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
26537
26609
  connected_account_ids: string[];
26610
+ /** URL for the image that represents the `acs_system`. */
26538
26611
  image_url: string;
26612
+ /** Alternative text for the `acs_system` image. */
26539
26613
  image_alt_text: string;
26614
+ /** Errors associated with the `acs_system`. */
26540
26615
  errors: Array<{
26616
+ /** Date and time at which Seam created the error. */
26541
26617
  created_at: string;
26618
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
26542
26619
  message: string;
26620
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26543
26621
  error_code: 'seam_bridge_disconnected';
26544
26622
  } | {
26623
+ /** Date and time at which Seam created the error. */
26545
26624
  created_at: string;
26625
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
26546
26626
  message: string;
26627
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26547
26628
  error_code: 'visionline_instance_unreachable';
26548
26629
  }>;
26630
+ /** */
26549
26631
  warnings: Array<{}>;
26632
+ /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
26550
26633
  can_automate_enrollment?: boolean | undefined;
26634
+ /** Indicates whether the `acs_system` supports creating [access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
26551
26635
  can_create_acs_access_groups?: boolean | undefined;
26636
+ /** Indicates whether the `acs_system` supports [removing users from access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#remove-an-acs-user-from-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
26552
26637
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
26638
+ /** Indicates whether the `acs_system` supports [adding users to access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#add-an-acs-user-to-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
26553
26639
  can_add_acs_users_to_acs_access_groups?: boolean | undefined;
26554
26640
  }>;
26555
26641
  };
@@ -37910,34 +37996,55 @@ interface Routes {
37910
37996
  formData: {};
37911
37997
  jsonResponse: {
37912
37998
  acs_systems: Array<{
37999
+ /** ID of the `acs_system`. */
37913
38000
  acs_system_id: string;
38001
+ /** Brand-specific terminology for the `acs_system` type. */
37914
38002
  external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
38003
+ /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
37915
38004
  external_type_display_name?: string | undefined;
37916
38005
  /**
37917
- * @deprecated use external_type */
38006
+ * @deprecated Use `external_type`. */
37918
38007
  system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
37919
38008
  /**
37920
- * @deprecated use external_type_display_name */
38009
+ * @deprecated Use `external_type_display_name`. */
37921
38010
  system_type_display_name?: string | undefined;
38011
+ /** Name of the `acs_system`. */
37922
38012
  name: string;
38013
+ /** Date and time at which the `acs_system` was created. */
37923
38014
  created_at: string;
38015
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
37924
38016
  workspace_id: string;
38017
+ /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
37925
38018
  connected_account_ids: string[];
38019
+ /** URL for the image that represents the `acs_system`. */
37926
38020
  image_url: string;
38021
+ /** Alternative text for the `acs_system` image. */
37927
38022
  image_alt_text: string;
38023
+ /** Errors associated with the `acs_system`. */
37928
38024
  errors: Array<{
38025
+ /** Date and time at which Seam created the error. */
37929
38026
  created_at: string;
38027
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
37930
38028
  message: string;
38029
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37931
38030
  error_code: 'seam_bridge_disconnected';
37932
38031
  } | {
38032
+ /** Date and time at which Seam created the error. */
37933
38033
  created_at: string;
38034
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
37934
38035
  message: string;
38036
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37935
38037
  error_code: 'visionline_instance_unreachable';
37936
38038
  }>;
38039
+ /** */
37937
38040
  warnings: Array<{}>;
38041
+ /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
37938
38042
  can_automate_enrollment?: boolean | undefined;
38043
+ /** Indicates whether the `acs_system` supports creating [access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
37939
38044
  can_create_acs_access_groups?: boolean | undefined;
38045
+ /** Indicates whether the `acs_system` supports [removing users from access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#remove-an-acs-user-from-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
37940
38046
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
38047
+ /** Indicates whether the `acs_system` supports [adding users to access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#add-an-acs-user-to-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
37941
38048
  can_add_acs_users_to_acs_access_groups?: boolean | undefined;
37942
38049
  }>;
37943
38050
  };
@@ -1,9 +1,21 @@
1
1
  import { z } from 'zod';
2
2
  export const acs_system_capability_flags = z.object({
3
- can_automate_enrollment: z.boolean().optional(),
4
- can_create_acs_access_groups: z.boolean().optional(),
5
- can_remove_acs_users_from_acs_access_groups: z.boolean().optional(),
6
- can_add_acs_users_to_acs_access_groups: z.boolean().optional(),
3
+ can_automate_enrollment: z
4
+ .boolean()
5
+ .optional()
6
+ .describe('Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`.'),
7
+ can_create_acs_access_groups: z
8
+ .boolean()
9
+ .optional()
10
+ .describe('Indicates whether the `acs_system` supports creating [access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems).'),
11
+ can_remove_acs_users_from_acs_access_groups: z
12
+ .boolean()
13
+ .optional()
14
+ .describe('Indicates whether the `acs_system` supports [removing users from access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#remove-an-acs-user-from-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems).'),
15
+ can_add_acs_users_to_acs_access_groups: z
16
+ .boolean()
17
+ .optional()
18
+ .describe('Indicates whether the `acs_system` supports [adding users to access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#add-an-acs-user-to-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems).'),
7
19
  });
8
20
  // If changed, update seam.acs_system.external_type generated column
9
21
  export const acs_system_external_type = z.enum([
@@ -17,52 +29,95 @@ export const acs_system_external_type = z.enum([
17
29
  'latch_building',
18
30
  ]);
19
31
  const common_acs_system_error = z.object({
20
- created_at: z.string().datetime(),
21
- message: z.string(),
32
+ created_at: z
33
+ .string()
34
+ .datetime()
35
+ .describe('Date and time at which Seam created the error.'),
36
+ message: z
37
+ .string()
38
+ .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
22
39
  });
40
+ const error_code_description = 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.';
23
41
  const seam_bridge_disconnected = common_acs_system_error.extend({
24
- error_code: z.literal('seam_bridge_disconnected'),
25
- });
42
+ error_code: z
43
+ .literal('seam_bridge_disconnected')
44
+ .describe(error_code_description),
45
+ })
46
+ .describe(`Indicates that the Seam API cannot communicate with the [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
47
+ This error might also occur if the Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
48
+ See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).`);
26
49
  const visionline_instance_unreachable = common_acs_system_error.extend({
27
- error_code: z.literal('visionline_instance_unreachable'),
28
- });
29
- const acs_system_error = z.union([
30
- seam_bridge_disconnected,
31
- visionline_instance_unreachable,
32
- ]);
50
+ error_code: z
51
+ .literal('visionline_instance_unreachable')
52
+ .describe(error_code_description),
53
+ })
54
+ .describe(`Indicates that the Seam Bridge is functioning correctly and the Seam API can communicate with the Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/latest/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
55
+ For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
56
+ See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).`);
57
+ const acs_system_error = z
58
+ .union([seam_bridge_disconnected, visionline_instance_unreachable])
59
+ .describe('Error associated with the `acs_system`.');
33
60
  const acs_system_error_map = z.object({
34
61
  seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
35
62
  visionline_instance_unreachable: visionline_instance_unreachable
36
63
  .optional()
37
64
  .nullable(),
38
65
  });
39
- const acs_system_warning = z.object({});
66
+ const acs_system_warning = z.object({}).describe(`
67
+ ---
68
+ undocumented: Currently, no warnings defined for \`acs_system\`s.
69
+ ---
70
+ `);
40
71
  const acs_system_warning_map = z.object({});
41
72
  export const acs_system = z
42
73
  .object({
43
- acs_system_id: z.string().uuid(),
44
- external_type: acs_system_external_type.optional(),
45
- external_type_display_name: z.string().optional(),
74
+ acs_system_id: z.string().uuid().describe('ID of the `acs_system`.'),
75
+ external_type: acs_system_external_type
76
+ .describe('Brand-specific terminology for the `acs_system` type.')
77
+ .optional(),
78
+ external_type_display_name: z
79
+ .string()
80
+ .describe('Display name that corresponds to the brand-specific terminology for the `acs_system` type.')
81
+ .optional(),
46
82
  system_type: acs_system_external_type
47
83
  .describe(`
48
84
  ---
49
- deprecated: use external_type
85
+ deprecated: Use \`external_type\`.
50
86
  ---
51
87
  `)
52
88
  .optional(),
53
89
  system_type_display_name: z.string().optional().describe(`
54
90
  ---
55
- deprecated: use external_type_display_name
91
+ deprecated: Use \`external_type_display_name\`.
92
+ ---
93
+ `),
94
+ name: z.string().describe('Name of the `acs_system`.'),
95
+ created_at: z
96
+ .string()
97
+ .datetime()
98
+ .describe('Date and time at which the `acs_system` was created.'),
99
+ workspace_id: z
100
+ .string()
101
+ .uuid()
102
+ .describe('ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`.'),
103
+ connected_account_ids: z
104
+ .array(z.string().uuid())
105
+ .describe('IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.'),
106
+ image_url: z
107
+ .string()
108
+ .describe('URL for the image that represents the `acs_system`.'),
109
+ image_alt_text: z
110
+ .string()
111
+ .describe('Alternative text for the `acs_system` image.'),
112
+ errors: z
113
+ .array(acs_system_error)
114
+ .describe('Errors associated with the `acs_system`.'),
115
+ warnings: z.array(acs_system_warning).describe(`
116
+ ---
117
+ undocumented: Currently, no warnings defined for \`acs_system\`s.
56
118
  ---
57
119
  `),
58
- name: z.string(),
59
- created_at: z.string().datetime(),
60
- workspace_id: z.string().uuid(),
61
- connected_account_ids: z.array(z.string().uuid()),
62
- image_url: z.string(),
63
- image_alt_text: z.string(),
64
- errors: z.array(acs_system_error),
65
- warnings: z.array(acs_system_warning),
66
120
  })
67
- .merge(acs_system_capability_flags);
121
+ .merge(acs_system_capability_flags)
122
+ .describe('Represents an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).');
68
123
  //# sourceMappingURL=acs-system.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"acs-system.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/C,4BAA4B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACpD,2CAA2C,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnE,sCAAsC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC/D,CAAC,CAAA;AAEF,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,qCAAqC;IACrC,mBAAmB;IACnB,+BAA+B;IAC/B,gBAAgB;CACjB,CAAC,CAAA;AAIF,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,CAA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 declare const _default: {
423
423
  type: string;
424
424
  };
425
425
  acs_system: {
426
+ description: string;
426
427
  properties: {
427
428
  acs_system_id: {
429
+ description: string;
428
430
  format: string;
429
431
  type: string;
430
432
  };
431
433
  can_add_acs_users_to_acs_access_groups: {
434
+ description: string;
432
435
  type: string;
433
436
  };
434
437
  can_automate_enrollment: {
438
+ description: string;
435
439
  type: string;
436
440
  };
437
441
  can_create_acs_access_groups: {
442
+ description: string;
438
443
  type: string;
439
444
  };
440
445
  can_remove_acs_users_from_acs_access_groups: {
446
+ description: string;
441
447
  type: string;
442
448
  };
443
449
  connected_account_ids: {
450
+ description: string;
444
451
  items: {
445
452
  format: string;
446
453
  type: string;
@@ -448,22 +455,29 @@ declare const _default: {
448
455
  type: string;
449
456
  };
450
457
  created_at: {
458
+ description: string;
451
459
  format: string;
452
460
  type: string;
453
461
  };
454
462
  errors: {
463
+ description: string;
455
464
  items: {
465
+ description: string;
456
466
  oneOf: {
467
+ description: string;
457
468
  properties: {
458
469
  created_at: {
470
+ description: string;
459
471
  format: string;
460
472
  type: string;
461
473
  };
462
474
  error_code: {
475
+ description: string;
463
476
  enum: string[];
464
477
  type: string;
465
478
  };
466
479
  message: {
480
+ description: string;
467
481
  type: string;
468
482
  };
469
483
  };
@@ -474,19 +488,24 @@ declare const _default: {
474
488
  type: string;
475
489
  };
476
490
  external_type: {
491
+ description: string;
477
492
  enum: string[];
478
493
  type: string;
479
494
  };
480
495
  external_type_display_name: {
496
+ description: string;
481
497
  type: string;
482
498
  };
483
499
  image_alt_text: {
500
+ description: string;
484
501
  type: string;
485
502
  };
486
503
  image_url: {
504
+ description: string;
487
505
  type: string;
488
506
  };
489
507
  name: {
508
+ description: string;
490
509
  type: string;
491
510
  };
492
511
  system_type: {
@@ -502,12 +521,15 @@ declare const _default: {
502
521
  };
503
522
  warnings: {
504
523
  items: {
524
+ description: string;
505
525
  properties: {};
506
526
  type: string;
507
527
  };
508
528
  type: string;
529
+ 'x-undocumented': string;
509
530
  };
510
531
  workspace_id: {
532
+ description: string;
511
533
  format: string;
512
534
  type: string;
513
535
  };