@seamapi/types 1.392.0 → 1.393.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.
@@ -4969,6 +4969,19 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
4969
4969
  message: string;
4970
4970
  created_at: string;
4971
4971
  error_code: "failed_to_delete_on_acs_system";
4972
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4973
+ created_at: z.ZodString;
4974
+ message: z.ZodString;
4975
+ }, {
4976
+ error_code: z.ZodLiteral<"latch_conflict_with_resident_user">;
4977
+ }>, "strip", z.ZodTypeAny, {
4978
+ message: string;
4979
+ created_at: string;
4980
+ error_code: "latch_conflict_with_resident_user";
4981
+ }, {
4982
+ message: string;
4983
+ created_at: string;
4984
+ error_code: "latch_conflict_with_resident_user";
4972
4985
  }>]>, "many">;
4973
4986
  pending_mutations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<z.objectUtil.extendShape<{
4974
4987
  created_at: z.ZodString;
@@ -5213,6 +5226,10 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
5213
5226
  message: string;
5214
5227
  created_at: string;
5215
5228
  error_code: "failed_to_delete_on_acs_system";
5229
+ } | {
5230
+ message: string;
5231
+ created_at: string;
5232
+ error_code: "latch_conflict_with_resident_user";
5216
5233
  })[];
5217
5234
  warnings: ({
5218
5235
  message: string;
@@ -5329,6 +5346,10 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
5329
5346
  message: string;
5330
5347
  created_at: string;
5331
5348
  error_code: "failed_to_delete_on_acs_system";
5349
+ } | {
5350
+ message: string;
5351
+ created_at: string;
5352
+ error_code: "latch_conflict_with_resident_user";
5332
5353
  })[];
5333
5354
  warnings: ({
5334
5355
  message: string;
@@ -5565,6 +5586,19 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
5565
5586
  message: string;
5566
5587
  created_at: string;
5567
5588
  error_code: "failed_to_delete_on_acs_system";
5589
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5590
+ created_at: z.ZodString;
5591
+ message: z.ZodString;
5592
+ }, {
5593
+ error_code: z.ZodLiteral<"latch_conflict_with_resident_user">;
5594
+ }>, "strip", z.ZodTypeAny, {
5595
+ message: string;
5596
+ created_at: string;
5597
+ error_code: "latch_conflict_with_resident_user";
5598
+ }, {
5599
+ message: string;
5600
+ created_at: string;
5601
+ error_code: "latch_conflict_with_resident_user";
5568
5602
  }>]>, "many">;
5569
5603
  pending_mutations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<z.objectUtil.extendShape<{
5570
5604
  created_at: z.ZodString;
@@ -5809,6 +5843,10 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
5809
5843
  message: string;
5810
5844
  created_at: string;
5811
5845
  error_code: "failed_to_delete_on_acs_system";
5846
+ } | {
5847
+ message: string;
5848
+ created_at: string;
5849
+ error_code: "latch_conflict_with_resident_user";
5812
5850
  })[];
5813
5851
  warnings: ({
5814
5852
  message: string;
@@ -5925,6 +5963,10 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
5925
5963
  message: string;
5926
5964
  created_at: string;
5927
5965
  error_code: "failed_to_delete_on_acs_system";
5966
+ } | {
5967
+ message: string;
5968
+ created_at: string;
5969
+ error_code: "latch_conflict_with_resident_user";
5928
5970
  })[];
5929
5971
  warnings: ({
5930
5972
  message: string;
@@ -34786,6 +34828,14 @@ declare const _default: {
34786
34828
  };
34787
34829
  required: string[];
34788
34830
  type: string;
34831
+ } | {
34832
+ properties: {
34833
+ acs_user_id?: never;
34834
+ acs_system_id?: never;
34835
+ user_identity_id?: never;
34836
+ };
34837
+ type: string;
34838
+ required?: never;
34789
34839
  })[];
34790
34840
  properties?: never;
34791
34841
  type?: never;
@@ -44153,6 +44203,63 @@ declare const _default: {
44153
44203
  'x-undocumented': string;
44154
44204
  };
44155
44205
  };
44206
+ '/seam/mobile_sdk/v1/acs/credentials/list': {
44207
+ post: {
44208
+ description: string;
44209
+ operationId: string;
44210
+ requestBody: {
44211
+ content: {
44212
+ 'application/json': {
44213
+ schema: {
44214
+ properties: {};
44215
+ type: string;
44216
+ };
44217
+ };
44218
+ };
44219
+ };
44220
+ responses: {
44221
+ 200: {
44222
+ content: {
44223
+ 'application/json': {
44224
+ schema: {
44225
+ properties: {
44226
+ acs_credentials: {
44227
+ items: {
44228
+ $ref: string;
44229
+ };
44230
+ type: string;
44231
+ };
44232
+ ok: {
44233
+ type: string;
44234
+ };
44235
+ };
44236
+ required: string[];
44237
+ type: string;
44238
+ };
44239
+ };
44240
+ };
44241
+ description: string;
44242
+ };
44243
+ 400: {
44244
+ description: string;
44245
+ };
44246
+ 401: {
44247
+ description: string;
44248
+ };
44249
+ };
44250
+ security: {
44251
+ client_session: never[];
44252
+ }[];
44253
+ summary: string;
44254
+ tags: string[];
44255
+ 'x-fern-sdk-group-name': string[];
44256
+ 'x-fern-sdk-method-name': string;
44257
+ 'x-fern-sdk-return-value': string;
44258
+ 'x-response-key': string;
44259
+ 'x-title': string;
44260
+ 'x-undocumented': string;
44261
+ };
44262
+ };
44156
44263
  '/thermostats/activate_climate_preset': {
44157
44264
  post: {
44158
44265
  description: string;
@@ -60864,6 +60971,12 @@ interface Routes {
60864
60971
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
60865
60972
  message: string;
60866
60973
  error_code: 'failed_to_delete_on_acs_system';
60974
+ } | {
60975
+ /** Date and time at which Seam created the error. */
60976
+ created_at: string;
60977
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
60978
+ message: string;
60979
+ error_code: 'latch_conflict_with_resident_user';
60867
60980
  }>;
60868
60981
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
60869
60982
  pending_mutations?: Array<{
@@ -61709,7 +61822,7 @@ interface Routes {
61709
61822
  } | {
61710
61823
  /** ID of the user identity for which you want to retrieve all credentials. */
61711
61824
  user_identity_id: string;
61712
- }) & {
61825
+ } | {}) & {
61713
61826
  /** Number of credentials to return. */
61714
61827
  limit?: number;
61715
61828
  /** Date and time, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format, before which events to return were created. */
@@ -66836,6 +66949,12 @@ interface Routes {
66836
66949
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
66837
66950
  message: string;
66838
66951
  error_code: 'failed_to_delete_on_acs_system';
66952
+ } | {
66953
+ /** Date and time at which Seam created the error. */
66954
+ created_at: string;
66955
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
66956
+ message: string;
66957
+ error_code: 'latch_conflict_with_resident_user';
66839
66958
  }>;
66840
66959
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
66841
66960
  pending_mutations?: Array<{
@@ -67040,6 +67159,12 @@ interface Routes {
67040
67159
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67041
67160
  message: string;
67042
67161
  error_code: 'failed_to_delete_on_acs_system';
67162
+ } | {
67163
+ /** Date and time at which Seam created the error. */
67164
+ created_at: string;
67165
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67166
+ message: string;
67167
+ error_code: 'latch_conflict_with_resident_user';
67043
67168
  }>;
67044
67169
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
67045
67170
  pending_mutations?: Array<{
@@ -67240,6 +67365,12 @@ interface Routes {
67240
67365
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67241
67366
  message: string;
67242
67367
  error_code: 'failed_to_delete_on_acs_system';
67368
+ } | {
67369
+ /** Date and time at which Seam created the error. */
67370
+ created_at: string;
67371
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67372
+ message: string;
67373
+ error_code: 'latch_conflict_with_resident_user';
67243
67374
  }>;
67244
67375
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
67245
67376
  pending_mutations?: Array<{
@@ -67549,6 +67680,12 @@ interface Routes {
67549
67680
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67550
67681
  message: string;
67551
67682
  error_code: 'failed_to_delete_on_acs_system';
67683
+ } | {
67684
+ /** Date and time at which Seam created the error. */
67685
+ created_at: string;
67686
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67687
+ message: string;
67688
+ error_code: 'latch_conflict_with_resident_user';
67552
67689
  }>;
67553
67690
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
67554
67691
  pending_mutations?: Array<{
@@ -67739,6 +67876,12 @@ interface Routes {
67739
67876
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67740
67877
  message: string;
67741
67878
  error_code: 'failed_to_delete_on_acs_system';
67879
+ } | {
67880
+ /** Date and time at which Seam created the error. */
67881
+ created_at: string;
67882
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67883
+ message: string;
67884
+ error_code: 'latch_conflict_with_resident_user';
67742
67885
  }>;
67743
67886
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
67744
67887
  pending_mutations?: Array<{
@@ -88755,6 +88898,129 @@ interface Routes {
88755
88898
  };
88756
88899
  };
88757
88900
  };
88901
+ '/seam/mobile_sdk/v1/acs/credentials/list': {
88902
+ route: '/seam/mobile_sdk/v1/acs/credentials/list';
88903
+ method: 'GET' | 'POST';
88904
+ queryParams: {};
88905
+ jsonBody: {};
88906
+ commonParams: {};
88907
+ formData: {};
88908
+ jsonResponse: {
88909
+ acs_credentials: Array<{
88910
+ /** ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
88911
+ acs_credential_id: string;
88912
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs. */
88913
+ acs_user_id?: string | undefined;
88914
+ acs_credential_pool_id?: string | undefined;
88915
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
88916
+ acs_system_id: string;
88917
+ /** ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
88918
+ parent_acs_credential_id?: string | undefined;
88919
+ /** Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
88920
+ display_name: string;
88921
+ /** Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
88922
+ code?: (string | undefined) | null;
88923
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use. */
88924
+ is_one_time_use?: boolean | undefined;
88925
+ /** Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
88926
+ card_number?: (string | undefined) | null;
88927
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card. */
88928
+ is_issued?: boolean | undefined;
88929
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card. */
88930
+ issued_at?: (string | undefined) | null;
88931
+ /** Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`. */
88932
+ access_method: 'code' | 'card' | 'mobile_key';
88933
+ /** Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`. */
88934
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access') | undefined;
88935
+ /** Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. */
88936
+ external_type_display_name?: string | undefined;
88937
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created. */
88938
+ created_at: string;
88939
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
88940
+ workspace_id: string;
88941
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
88942
+ starts_at?: string | undefined;
88943
+ /** Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
88944
+ ends_at?: string | undefined;
88945
+ /** Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
88946
+ errors: Array<{
88947
+ error_code: string;
88948
+ message: string;
88949
+ }>;
88950
+ /** Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
88951
+ warnings: Array<{
88952
+ /** Date and time at which Seam created the warning. */
88953
+ created_at: string;
88954
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88955
+ message: string;
88956
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88957
+ warning_code: 'waiting_to_be_issued';
88958
+ } | {
88959
+ /** Date and time at which Seam created the warning. */
88960
+ created_at: string;
88961
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88962
+ message: string;
88963
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88964
+ warning_code: 'schedule_externally_modified';
88965
+ } | {
88966
+ /** Date and time at which Seam created the warning. */
88967
+ created_at: string;
88968
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88969
+ message: string;
88970
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88971
+ warning_code: 'schedule_modified';
88972
+ } | {
88973
+ /** Date and time at which Seam created the warning. */
88974
+ created_at: string;
88975
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88976
+ message: string;
88977
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88978
+ warning_code: 'being_deleted';
88979
+ } | {
88980
+ /** Date and time at which Seam created the warning. */
88981
+ created_at: string;
88982
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88983
+ message: string;
88984
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88985
+ warning_code: 'unknown_issue_with_acs_credential';
88986
+ } | {
88987
+ /** Date and time at which Seam created the warning. */
88988
+ created_at: string;
88989
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88990
+ message: string;
88991
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88992
+ warning_code: 'needs_to_be_reissued';
88993
+ }>;
88994
+ /** Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials). */
88995
+ is_multi_phone_sync_credential?: boolean | undefined;
88996
+ /** Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider. */
88997
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
88998
+ /** Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider. */
88999
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
89000
+ /** Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
89001
+ visionline_metadata?: {
89002
+ card_function_type: 'guest' | 'staff';
89003
+ joiner_acs_credential_ids?: string[] | undefined;
89004
+ guest_acs_entrance_ids?: string[] | undefined;
89005
+ common_acs_entrance_ids?: string[] | undefined;
89006
+ is_valid?: boolean | undefined;
89007
+ auto_join?: boolean | undefined;
89008
+ card_id?: string | undefined;
89009
+ credential_id?: string | undefined;
89010
+ } | undefined;
89011
+ /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
89012
+ assa_abloy_vostio_metadata?: {
89013
+ auto_join?: boolean | undefined;
89014
+ override_guest_acs_entrance_ids?: string[] | undefined;
89015
+ key_id?: string | undefined;
89016
+ key_issuing_request_id?: string | undefined;
89017
+ door_names?: string[] | undefined;
89018
+ endpoint_id?: string | undefined;
89019
+ } | undefined;
89020
+ is_managed: true;
89021
+ }>;
89022
+ };
89023
+ };
88758
89024
  '/thermostats/activate_climate_preset': {
88759
89025
  route: '/thermostats/activate_climate_preset';
88760
89026
  method: 'POST';
@@ -90116,6 +90382,7 @@ interface Routes {
90116
90382
  } | undefined;
90117
90383
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
90118
90384
  assa_abloy_vostio_metadata?: {
90385
+ auto_join?: boolean | undefined;
90119
90386
  override_guest_acs_entrance_ids?: string[] | undefined;
90120
90387
  key_id?: string | undefined;
90121
90388
  key_issuing_request_id?: string | undefined;
@@ -90227,6 +90494,7 @@ interface Routes {
90227
90494
  } | undefined;
90228
90495
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
90229
90496
  assa_abloy_vostio_metadata?: {
90497
+ auto_join?: boolean | undefined;
90230
90498
  override_guest_acs_entrance_ids?: string[] | undefined;
90231
90499
  key_id?: string | undefined;
90232
90500
  key_issuing_request_id?: string | undefined;
@@ -90449,6 +90717,7 @@ interface Routes {
90449
90717
  } | undefined;
90450
90718
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
90451
90719
  assa_abloy_vostio_metadata?: {
90720
+ auto_join?: boolean | undefined;
90452
90721
  override_guest_acs_entrance_ids?: string[] | undefined;
90453
90722
  key_id?: string | undefined;
90454
90723
  key_issuing_request_id?: string | undefined;
@@ -90560,6 +90829,7 @@ interface Routes {
90560
90829
  } | undefined;
90561
90830
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
90562
90831
  assa_abloy_vostio_metadata?: {
90832
+ auto_join?: boolean | undefined;
90563
90833
  override_guest_acs_entrance_ids?: string[] | undefined;
90564
90834
  key_id?: string | undefined;
90565
90835
  key_issuing_request_id?: string | undefined;
@@ -91228,6 +91498,7 @@ interface Routes {
91228
91498
  } | undefined;
91229
91499
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
91230
91500
  assa_abloy_vostio_metadata?: {
91501
+ auto_join?: boolean | undefined;
91231
91502
  override_guest_acs_entrance_ids?: string[] | undefined;
91232
91503
  key_id?: string | undefined;
91233
91504
  key_issuing_request_id?: string | undefined;
@@ -91339,6 +91610,7 @@ interface Routes {
91339
91610
  } | undefined;
91340
91611
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
91341
91612
  assa_abloy_vostio_metadata?: {
91613
+ auto_join?: boolean | undefined;
91342
91614
  override_guest_acs_entrance_ids?: string[] | undefined;
91343
91615
  key_id?: string | undefined;
91344
91616
  key_issuing_request_id?: string | undefined;
@@ -91561,6 +91833,7 @@ interface Routes {
91561
91833
  } | undefined;
91562
91834
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
91563
91835
  assa_abloy_vostio_metadata?: {
91836
+ auto_join?: boolean | undefined;
91564
91837
  override_guest_acs_entrance_ids?: string[] | undefined;
91565
91838
  key_id?: string | undefined;
91566
91839
  key_issuing_request_id?: string | undefined;
@@ -91672,6 +91945,7 @@ interface Routes {
91672
91945
  } | undefined;
91673
91946
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
91674
91947
  assa_abloy_vostio_metadata?: {
91948
+ auto_join?: boolean | undefined;
91675
91949
  override_guest_acs_entrance_ids?: string[] | undefined;
91676
91950
  key_id?: string | undefined;
91677
91951
  key_issuing_request_id?: string | undefined;
@@ -93553,6 +93827,7 @@ interface Routes {
93553
93827
  } | undefined;
93554
93828
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
93555
93829
  assa_abloy_vostio_metadata?: {
93830
+ auto_join?: boolean | undefined;
93556
93831
  override_guest_acs_entrance_ids?: string[] | undefined;
93557
93832
  key_id?: string | undefined;
93558
93833
  key_issuing_request_id?: string | undefined;
@@ -93664,6 +93939,7 @@ interface Routes {
93664
93939
  } | undefined;
93665
93940
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
93666
93941
  assa_abloy_vostio_metadata?: {
93942
+ auto_join?: boolean | undefined;
93667
93943
  override_guest_acs_entrance_ids?: string[] | undefined;
93668
93944
  key_id?: string | undefined;
93669
93945
  key_issuing_request_id?: string | undefined;
@@ -93886,6 +94162,7 @@ interface Routes {
93886
94162
  } | undefined;
93887
94163
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
93888
94164
  assa_abloy_vostio_metadata?: {
94165
+ auto_join?: boolean | undefined;
93889
94166
  override_guest_acs_entrance_ids?: string[] | undefined;
93890
94167
  key_id?: string | undefined;
93891
94168
  key_issuing_request_id?: string | undefined;
@@ -93997,6 +94274,7 @@ interface Routes {
93997
94274
  } | undefined;
93998
94275
  /** Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). */
93999
94276
  assa_abloy_vostio_metadata?: {
94277
+ auto_join?: boolean | undefined;
94000
94278
  override_guest_acs_entrance_ids?: string[] | undefined;
94001
94279
  key_id?: string | undefined;
94002
94280
  key_issuing_request_id?: string | undefined;
@@ -105116,6 +105394,12 @@ interface Routes {
105116
105394
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
105117
105395
  message: string;
105118
105396
  error_code: 'failed_to_delete_on_acs_system';
105397
+ } | {
105398
+ /** Date and time at which Seam created the error. */
105399
+ created_at: string;
105400
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
105401
+ message: string;
105402
+ error_code: 'latch_conflict_with_resident_user';
105119
105403
  }>;
105120
105404
  /** Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system. */
105121
105405
  pending_mutations?: Array<{
@@ -72,6 +72,20 @@ export declare const acs_users_error_map: z.ZodObject<{
72
72
  created_at: string;
73
73
  error_code: "failed_to_delete_on_acs_system";
74
74
  }>>>;
75
+ latch_conflict_with_resident_user: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
76
+ created_at: z.ZodString;
77
+ message: z.ZodString;
78
+ }, {
79
+ error_code: z.ZodLiteral<"latch_conflict_with_resident_user">;
80
+ }>, "strip", z.ZodTypeAny, {
81
+ message: string;
82
+ created_at: string;
83
+ error_code: "latch_conflict_with_resident_user";
84
+ }, {
85
+ message: string;
86
+ created_at: string;
87
+ error_code: "latch_conflict_with_resident_user";
88
+ }>>>;
75
89
  }, "strip", z.ZodTypeAny, {
76
90
  salto_ks_subscription_limit_exceeded?: {
77
91
  message: string;
@@ -98,6 +112,11 @@ export declare const acs_users_error_map: z.ZodObject<{
98
112
  created_at: string;
99
113
  error_code: "failed_to_delete_on_acs_system";
100
114
  } | null | undefined;
115
+ latch_conflict_with_resident_user?: {
116
+ message: string;
117
+ created_at: string;
118
+ error_code: "latch_conflict_with_resident_user";
119
+ } | null | undefined;
101
120
  }, {
102
121
  salto_ks_subscription_limit_exceeded?: {
103
122
  message: string;
@@ -124,6 +143,11 @@ export declare const acs_users_error_map: z.ZodObject<{
124
143
  created_at: string;
125
144
  error_code: "failed_to_delete_on_acs_system";
126
145
  } | null | undefined;
146
+ latch_conflict_with_resident_user?: {
147
+ message: string;
148
+ created_at: string;
149
+ error_code: "latch_conflict_with_resident_user";
150
+ } | null | undefined;
127
151
  }>;
128
152
  export type AcsUsersErrorMap = z.infer<typeof acs_users_error_map>;
129
153
  export declare const unknown_issue_with_acs_user: z.ZodObject<z.objectUtil.extendShape<{
@@ -503,6 +527,19 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
503
527
  message: string;
504
528
  created_at: string;
505
529
  error_code: "failed_to_delete_on_acs_system";
530
+ }>, z.ZodObject<z.objectUtil.extendShape<{
531
+ created_at: z.ZodString;
532
+ message: z.ZodString;
533
+ }, {
534
+ error_code: z.ZodLiteral<"latch_conflict_with_resident_user">;
535
+ }>, "strip", z.ZodTypeAny, {
536
+ message: string;
537
+ created_at: string;
538
+ error_code: "latch_conflict_with_resident_user";
539
+ }, {
540
+ message: string;
541
+ created_at: string;
542
+ error_code: "latch_conflict_with_resident_user";
506
543
  }>]>, "many">;
507
544
  pending_mutations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<z.objectUtil.extendShape<{
508
545
  created_at: z.ZodString;
@@ -747,6 +784,10 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
747
784
  message: string;
748
785
  created_at: string;
749
786
  error_code: "failed_to_delete_on_acs_system";
787
+ } | {
788
+ message: string;
789
+ created_at: string;
790
+ error_code: "latch_conflict_with_resident_user";
750
791
  })[];
751
792
  warnings: ({
752
793
  message: string;
@@ -863,6 +904,10 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
863
904
  message: string;
864
905
  created_at: string;
865
906
  error_code: "failed_to_delete_on_acs_system";
907
+ } | {
908
+ message: string;
909
+ created_at: string;
910
+ error_code: "latch_conflict_with_resident_user";
866
911
  })[];
867
912
  warnings: ({
868
913
  message: string;
@@ -1099,6 +1144,19 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
1099
1144
  message: string;
1100
1145
  created_at: string;
1101
1146
  error_code: "failed_to_delete_on_acs_system";
1147
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1148
+ created_at: z.ZodString;
1149
+ message: z.ZodString;
1150
+ }, {
1151
+ error_code: z.ZodLiteral<"latch_conflict_with_resident_user">;
1152
+ }>, "strip", z.ZodTypeAny, {
1153
+ message: string;
1154
+ created_at: string;
1155
+ error_code: "latch_conflict_with_resident_user";
1156
+ }, {
1157
+ message: string;
1158
+ created_at: string;
1159
+ error_code: "latch_conflict_with_resident_user";
1102
1160
  }>]>, "many">;
1103
1161
  pending_mutations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<z.objectUtil.extendShape<{
1104
1162
  created_at: z.ZodString;
@@ -1343,6 +1401,10 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
1343
1401
  message: string;
1344
1402
  created_at: string;
1345
1403
  error_code: "failed_to_delete_on_acs_system";
1404
+ } | {
1405
+ message: string;
1406
+ created_at: string;
1407
+ error_code: "latch_conflict_with_resident_user";
1346
1408
  })[];
1347
1409
  warnings: ({
1348
1410
  message: string;
@@ -1459,6 +1521,10 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
1459
1521
  message: string;
1460
1522
  created_at: string;
1461
1523
  error_code: "failed_to_delete_on_acs_system";
1524
+ } | {
1525
+ message: string;
1526
+ created_at: string;
1527
+ error_code: "latch_conflict_with_resident_user";
1462
1528
  })[];
1463
1529
  warnings: ({
1464
1530
  message: string;
@@ -45,6 +45,11 @@ const acs_users_failed_to_delete_on_acs_system = common_acs_user_error
45
45
  error_code: z.literal('failed_to_delete_on_acs_system'),
46
46
  })
47
47
  .describe(`Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was not deleted on the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).`);
48
+ const acs_users_latch_conflict_with_resident_user = common_acs_user_error
49
+ .extend({
50
+ error_code: z.literal('latch_conflict_with_resident_user'),
51
+ })
52
+ .describe(`Indicates that the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created from the Seam API but also exists on Mission Control. This is unsupported. Contact Seam [support](mailto:support@seam.co).`);
48
53
  const acs_user_errors = z
49
54
  .discriminatedUnion('error_code', [
50
55
  acs_users_deleted_externally,
@@ -52,6 +57,7 @@ const acs_user_errors = z
52
57
  acs_users_failed_to_create_on_acs_system,
53
58
  acs_users_failed_to_update_on_acs_system,
54
59
  acs_users_failed_to_delete_on_acs_system,
60
+ acs_users_latch_conflict_with_resident_user,
55
61
  ])
56
62
  .describe('Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).');
57
63
  export const acs_users_error_map = z.object({
@@ -66,6 +72,9 @@ export const acs_users_error_map = z.object({
66
72
  failed_to_delete_on_acs_system: acs_users_failed_to_delete_on_acs_system
67
73
  .optional()
68
74
  .nullable(),
75
+ latch_conflict_with_resident_user: acs_users_latch_conflict_with_resident_user
76
+ .optional()
77
+ .nullable(),
69
78
  });
70
79
  const common_acs_user_warning = z.object({
71
80
  created_at: z