@seamapi/types 1.1118.0 → 1.1120.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.
@@ -1204,6 +1204,17 @@ export type Routes = {
1204
1204
  message: string;
1205
1205
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1206
1206
  warning_code: 'user_identity_missing_phone_number';
1207
+ } | {
1208
+ /** Date and time at which Seam created the warning. */
1209
+ created_at: string;
1210
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
1211
+ message: string;
1212
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1213
+ warning_code: 'requested_code_unavailable';
1214
+ /** The originally requested PIN code that could not be used. */
1215
+ original_code: string;
1216
+ /** The PIN code that was assigned instead. */
1217
+ new_code: string;
1207
1218
  })[];
1208
1219
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
1209
1220
  errors: ({
@@ -4319,6 +4330,17 @@ export type Routes = {
4319
4330
  message: string;
4320
4331
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4321
4332
  warning_code: 'user_identity_missing_phone_number';
4333
+ } | {
4334
+ /** Date and time at which Seam created the warning. */
4335
+ created_at: string;
4336
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4337
+ message: string;
4338
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4339
+ warning_code: 'requested_code_unavailable';
4340
+ /** The originally requested PIN code that could not be used. */
4341
+ original_code: string;
4342
+ /** The PIN code that was assigned instead. */
4343
+ new_code: string;
4322
4344
  })[];
4323
4345
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
4324
4346
  errors: ({
@@ -9011,6 +9033,17 @@ export type Routes = {
9011
9033
  message: string;
9012
9034
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9013
9035
  warning_code: 'user_identity_missing_phone_number';
9036
+ } | {
9037
+ /** Date and time at which Seam created the warning. */
9038
+ created_at: string;
9039
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9040
+ message: string;
9041
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9042
+ warning_code: 'requested_code_unavailable';
9043
+ /** The originally requested PIN code that could not be used. */
9044
+ original_code: string;
9045
+ /** The PIN code that was assigned instead. */
9046
+ new_code: string;
9014
9047
  })[];
9015
9048
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
9016
9049
  errors: ({
@@ -11991,6 +12024,17 @@ export type Routes = {
11991
12024
  message: string;
11992
12025
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11993
12026
  warning_code: 'user_identity_missing_phone_number';
12027
+ } | {
12028
+ /** Date and time at which Seam created the warning. */
12029
+ created_at: string;
12030
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
12031
+ message: string;
12032
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12033
+ warning_code: 'requested_code_unavailable';
12034
+ /** The originally requested PIN code that could not be used. */
12035
+ original_code: string;
12036
+ /** The PIN code that was assigned instead. */
12037
+ new_code: string;
11994
12038
  })[];
11995
12039
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
11996
12040
  errors: ({
@@ -13088,227 +13132,231 @@ export type Routes = {
13088
13132
  message: string;
13089
13133
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13090
13134
  warning_code: 'requested_code_unavailable';
13091
- /** ID of the device where the requested code was unavailable. */
13092
- device_id: string;
13093
- /** The originally requested PIN code that was unavailable. */
13094
- original_code: string;
13095
- /** The new PIN code that was assigned instead. */
13096
- new_code: string;
13097
- } | {
13098
- /** Date and time at which Seam created the warning. */
13099
- created_at: string;
13100
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13101
- message: string;
13102
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13103
- warning_code: 'device_does_not_support_access_codes';
13104
- /** ID of the device that does not support access codes. */
13105
- device_id: string;
13106
- } | {
13107
- /** Date and time at which Seam created the warning. */
13108
- created_at: string;
13109
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13110
- message: string;
13111
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13112
- warning_code: 'device_time_constraints_violated';
13113
- /** ID of the device whose time constraints the access grant violates. */
13114
- device_id: string;
13115
- /** Specific reason why the grant's times are not programmable on the device. */
13116
- reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
13117
- })[];
13118
- /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
13119
- errors: ({
13120
- /** Date and time at which Seam created the error. */
13121
- created_at: string;
13122
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13123
- message: string;
13124
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13125
- error_code: 'cannot_create_requested_access_methods';
13126
- /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
13127
- missing_device_ids?: string[] | undefined;
13128
- } | {
13129
- /** Date and time at which Seam created the error. */
13130
- created_at: string;
13131
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13132
- message: string;
13133
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13134
- error_code: 'access_not_provisioned';
13135
- })[];
13136
- /** ID of the customization profile associated with the Access Grant. */
13137
- customization_profile_id?: string | undefined;
13138
- /** List of pending mutations for the access grant. This shows updates that are in progress. */
13139
- pending_mutations: ({
13140
- /** Date and time at which the mutation was created. */
13141
- created_at: string;
13142
- /** Detailed description of the mutation. */
13143
- message: string;
13144
- /** Mutation code to indicate that Seam is in the process of updating the spaces (devices) associated with this access grant. */
13145
- mutation_code: 'updating_spaces';
13146
- /** Previous location configuration. */
13147
- from: {
13148
- /** Previous device IDs where access codes existed. */
13149
- device_ids: string[];
13150
- };
13151
- /** New location configuration. */
13152
- to: {
13153
- /** New device IDs where access codes should be created. */
13154
- device_ids: string[];
13155
- /** Common code key to ensure PIN code reuse across devices. */
13156
- common_code_key?: (string | null) | undefined;
13157
- };
13158
- } | {
13159
- /** Date and time at which the mutation was created. */
13160
- created_at: string;
13161
- /** Detailed description of the mutation. */
13162
- message: string;
13163
- /** Mutation code to indicate that Seam is in the process of updating the access times for this access grant. */
13164
- mutation_code: 'updating_access_times';
13165
- /** IDs of the access methods being updated. */
13166
- access_method_ids: string[];
13167
- /** Previous access time configuration. */
13168
- from: {
13169
- /** Previous start time for access. */
13170
- starts_at: string | null;
13171
- /** Previous end time for access. */
13172
- ends_at: string | null;
13173
- };
13174
- /** New access time configuration. */
13175
- to: {
13176
- /** New start time for access. */
13177
- starts_at: string | null;
13178
- /** New end time for access. */
13179
- ends_at: string | null;
13180
- };
13181
- })[];
13182
- };
13183
- };
13184
- maxDuration: undefined;
13185
- };
13186
- '/access_grants/delete': {
13187
- route: '/access_grants/delete';
13188
- method: 'DELETE' | 'POST';
13189
- queryParams: {};
13190
- jsonBody: {};
13191
- commonParams: {
13192
- /** ID of Access Grant to delete. */
13193
- access_grant_id: string;
13194
- };
13195
- formData: {};
13196
- jsonResponse: {};
13197
- maxDuration: undefined;
13198
- };
13199
- '/access_grants/get': {
13200
- route: '/access_grants/get';
13201
- method: 'GET' | 'POST';
13202
- queryParams: {};
13203
- jsonBody: {};
13204
- commonParams: {
13205
- /** ID of Access Grant to get. */
13206
- access_grant_id: string;
13207
- } | {
13208
- /** Unique key of Access Grant to get. */
13209
- access_grant_key: string;
13210
- };
13211
- formData: {};
13212
- jsonResponse: {
13213
- /** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
13214
- access_grant: {
13215
- /** ID of the Seam workspace associated with the Access Grant. */
13216
- workspace_id: string;
13217
- /** ID of the Access Grant. */
13218
- access_grant_id: string;
13219
- /** Unique key for the access grant within the workspace. */
13220
- access_grant_key?: string | undefined;
13221
- /** Reservation key for the access grant. */
13222
- reservation_key?: string | undefined;
13223
- /** ID of user identity to which the Access Grant gives access. */
13224
- user_identity_id: string;
13225
- /**
13226
- * @deprecated Use `space_ids`.*/
13227
- location_ids: string[];
13228
- /** IDs of the spaces to which the Access Grant gives access. */
13229
- space_ids: string[];
13230
- /** Access methods that the user requested for the Access Grant. */
13231
- requested_access_methods: {
13232
- /** Display name of the access method. */
13233
- display_name: string;
13234
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
13235
- mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
13236
- /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
13237
- code?: string | undefined;
13238
- /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
13239
- instant_key_max_use_count?: number | undefined;
13240
- /** Date and time at which the requested access method was added to the Access Grant. */
13241
- created_at: string;
13242
- /** IDs of the access methods created for the requested access method. */
13243
- created_access_method_ids: string[];
13244
- }[];
13245
- /** IDs of the access methods created for the Access Grant. */
13246
- access_method_ids: string[];
13247
- /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
13248
- client_session_token?: string | undefined;
13249
- /** Name of the Access Grant. If not provided, the display name will be computed. */
13250
- name: string | null;
13251
- /** Display name of the Access Grant. */
13252
- display_name: string;
13253
- /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
13254
- instant_key_url?: string | undefined;
13255
- /** Date and time at which the Access Grant was created. */
13256
- created_at: string;
13257
- /** Date and time at which the Access Grant starts. */
13258
- starts_at: string;
13259
- /** Date and time at which the Access Grant ends. */
13260
- ends_at: string | null;
13261
- /** Human-readable sentence answering whether the user can currently get in, for example `Active`, `Awaiting issuance`, or `Upcoming`. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
13262
- display_status: string;
13263
- /** Warnings associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
13264
- warnings: ({
13265
- /** Date and time at which Seam created the warning. */
13266
- created_at: string;
13267
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13268
- message: string;
13269
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13270
- warning_code: 'being_deleted';
13271
- } | {
13272
- /** Date and time at which Seam created the warning. */
13273
- created_at: string;
13274
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13275
- message: string;
13276
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13277
- warning_code: 'underprovisioned_access';
13278
- } | {
13279
- /** Date and time at which Seam created the warning. */
13280
- created_at: string;
13281
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13282
- message: string;
13283
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13284
- warning_code: 'overprovisioned_access';
13285
- /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
13286
- failed_devices?: {
13287
- /** Device whose access code could not be revoked. */
13288
- device_id: string;
13289
- /** Reason the access code could not be revoked. */
13290
- error_code: 'offline_access_code_not_revocable';
13291
- /** Human-readable description of why revocation failed. */
13292
- message: string;
13293
- }[] | undefined;
13294
- } | {
13295
- /** Date and time at which Seam created the warning. */
13296
- created_at: string;
13297
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13298
- message: string;
13299
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13300
- warning_code: 'updating_access_times';
13301
- /** IDs of the access methods being updated. */
13302
- access_method_ids: string[];
13303
- } | {
13304
- /** Date and time at which Seam created the warning. */
13305
- created_at: string;
13306
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13307
- message: string;
13308
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13309
- warning_code: 'requested_code_unavailable';
13310
- /** ID of the device where the requested code was unavailable. */
13135
+ /** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
13136
+ device_id?: string | undefined;
13137
+ /** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
13138
+ access_method_id?: string | undefined;
13139
+ /** The originally requested PIN code that was unavailable. */
13140
+ original_code: string;
13141
+ /** The new PIN code that was assigned instead. */
13142
+ new_code: string;
13143
+ } | {
13144
+ /** Date and time at which Seam created the warning. */
13145
+ created_at: string;
13146
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13147
+ message: string;
13148
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13149
+ warning_code: 'device_does_not_support_access_codes';
13150
+ /** ID of the device that does not support access codes. */
13151
+ device_id: string;
13152
+ } | {
13153
+ /** Date and time at which Seam created the warning. */
13154
+ created_at: string;
13155
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13156
+ message: string;
13157
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13158
+ warning_code: 'device_time_constraints_violated';
13159
+ /** ID of the device whose time constraints the access grant violates. */
13311
13160
  device_id: string;
13161
+ /** Specific reason why the grant's times are not programmable on the device. */
13162
+ reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
13163
+ })[];
13164
+ /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
13165
+ errors: ({
13166
+ /** Date and time at which Seam created the error. */
13167
+ created_at: string;
13168
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13169
+ message: string;
13170
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13171
+ error_code: 'cannot_create_requested_access_methods';
13172
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
13173
+ missing_device_ids?: string[] | undefined;
13174
+ } | {
13175
+ /** Date and time at which Seam created the error. */
13176
+ created_at: string;
13177
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13178
+ message: string;
13179
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13180
+ error_code: 'access_not_provisioned';
13181
+ })[];
13182
+ /** ID of the customization profile associated with the Access Grant. */
13183
+ customization_profile_id?: string | undefined;
13184
+ /** List of pending mutations for the access grant. This shows updates that are in progress. */
13185
+ pending_mutations: ({
13186
+ /** Date and time at which the mutation was created. */
13187
+ created_at: string;
13188
+ /** Detailed description of the mutation. */
13189
+ message: string;
13190
+ /** Mutation code to indicate that Seam is in the process of updating the spaces (devices) associated with this access grant. */
13191
+ mutation_code: 'updating_spaces';
13192
+ /** Previous location configuration. */
13193
+ from: {
13194
+ /** Previous device IDs where access codes existed. */
13195
+ device_ids: string[];
13196
+ };
13197
+ /** New location configuration. */
13198
+ to: {
13199
+ /** New device IDs where access codes should be created. */
13200
+ device_ids: string[];
13201
+ /** Common code key to ensure PIN code reuse across devices. */
13202
+ common_code_key?: (string | null) | undefined;
13203
+ };
13204
+ } | {
13205
+ /** Date and time at which the mutation was created. */
13206
+ created_at: string;
13207
+ /** Detailed description of the mutation. */
13208
+ message: string;
13209
+ /** Mutation code to indicate that Seam is in the process of updating the access times for this access grant. */
13210
+ mutation_code: 'updating_access_times';
13211
+ /** IDs of the access methods being updated. */
13212
+ access_method_ids: string[];
13213
+ /** Previous access time configuration. */
13214
+ from: {
13215
+ /** Previous start time for access. */
13216
+ starts_at: string | null;
13217
+ /** Previous end time for access. */
13218
+ ends_at: string | null;
13219
+ };
13220
+ /** New access time configuration. */
13221
+ to: {
13222
+ /** New start time for access. */
13223
+ starts_at: string | null;
13224
+ /** New end time for access. */
13225
+ ends_at: string | null;
13226
+ };
13227
+ })[];
13228
+ };
13229
+ };
13230
+ maxDuration: undefined;
13231
+ };
13232
+ '/access_grants/delete': {
13233
+ route: '/access_grants/delete';
13234
+ method: 'DELETE' | 'POST';
13235
+ queryParams: {};
13236
+ jsonBody: {};
13237
+ commonParams: {
13238
+ /** ID of Access Grant to delete. */
13239
+ access_grant_id: string;
13240
+ };
13241
+ formData: {};
13242
+ jsonResponse: {};
13243
+ maxDuration: undefined;
13244
+ };
13245
+ '/access_grants/get': {
13246
+ route: '/access_grants/get';
13247
+ method: 'GET' | 'POST';
13248
+ queryParams: {};
13249
+ jsonBody: {};
13250
+ commonParams: {
13251
+ /** ID of Access Grant to get. */
13252
+ access_grant_id: string;
13253
+ } | {
13254
+ /** Unique key of Access Grant to get. */
13255
+ access_grant_key: string;
13256
+ };
13257
+ formData: {};
13258
+ jsonResponse: {
13259
+ /** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
13260
+ access_grant: {
13261
+ /** ID of the Seam workspace associated with the Access Grant. */
13262
+ workspace_id: string;
13263
+ /** ID of the Access Grant. */
13264
+ access_grant_id: string;
13265
+ /** Unique key for the access grant within the workspace. */
13266
+ access_grant_key?: string | undefined;
13267
+ /** Reservation key for the access grant. */
13268
+ reservation_key?: string | undefined;
13269
+ /** ID of user identity to which the Access Grant gives access. */
13270
+ user_identity_id: string;
13271
+ /**
13272
+ * @deprecated Use `space_ids`.*/
13273
+ location_ids: string[];
13274
+ /** IDs of the spaces to which the Access Grant gives access. */
13275
+ space_ids: string[];
13276
+ /** Access methods that the user requested for the Access Grant. */
13277
+ requested_access_methods: {
13278
+ /** Display name of the access method. */
13279
+ display_name: string;
13280
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
13281
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
13282
+ /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
13283
+ code?: string | undefined;
13284
+ /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
13285
+ instant_key_max_use_count?: number | undefined;
13286
+ /** Date and time at which the requested access method was added to the Access Grant. */
13287
+ created_at: string;
13288
+ /** IDs of the access methods created for the requested access method. */
13289
+ created_access_method_ids: string[];
13290
+ }[];
13291
+ /** IDs of the access methods created for the Access Grant. */
13292
+ access_method_ids: string[];
13293
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
13294
+ client_session_token?: string | undefined;
13295
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
13296
+ name: string | null;
13297
+ /** Display name of the Access Grant. */
13298
+ display_name: string;
13299
+ /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
13300
+ instant_key_url?: string | undefined;
13301
+ /** Date and time at which the Access Grant was created. */
13302
+ created_at: string;
13303
+ /** Date and time at which the Access Grant starts. */
13304
+ starts_at: string;
13305
+ /** Date and time at which the Access Grant ends. */
13306
+ ends_at: string | null;
13307
+ /** Human-readable sentence answering whether the user can currently get in, for example `Active`, `Awaiting issuance`, or `Upcoming`. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
13308
+ display_status: string;
13309
+ /** Warnings associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
13310
+ warnings: ({
13311
+ /** Date and time at which Seam created the warning. */
13312
+ created_at: string;
13313
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13314
+ message: string;
13315
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13316
+ warning_code: 'being_deleted';
13317
+ } | {
13318
+ /** Date and time at which Seam created the warning. */
13319
+ created_at: string;
13320
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13321
+ message: string;
13322
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13323
+ warning_code: 'underprovisioned_access';
13324
+ } | {
13325
+ /** Date and time at which Seam created the warning. */
13326
+ created_at: string;
13327
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13328
+ message: string;
13329
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13330
+ warning_code: 'overprovisioned_access';
13331
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
13332
+ failed_devices?: {
13333
+ /** Device whose access code could not be revoked. */
13334
+ device_id: string;
13335
+ /** Reason the access code could not be revoked. */
13336
+ error_code: 'offline_access_code_not_revocable';
13337
+ /** Human-readable description of why revocation failed. */
13338
+ message: string;
13339
+ }[] | undefined;
13340
+ } | {
13341
+ /** Date and time at which Seam created the warning. */
13342
+ created_at: string;
13343
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13344
+ message: string;
13345
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13346
+ warning_code: 'updating_access_times';
13347
+ /** IDs of the access methods being updated. */
13348
+ access_method_ids: string[];
13349
+ } | {
13350
+ /** Date and time at which Seam created the warning. */
13351
+ created_at: string;
13352
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13353
+ message: string;
13354
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13355
+ warning_code: 'requested_code_unavailable';
13356
+ /** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
13357
+ device_id?: string | undefined;
13358
+ /** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
13359
+ access_method_id?: string | undefined;
13312
13360
  /** The originally requested PIN code that was unavailable. */
13313
13361
  original_code: string;
13314
13362
  /** The new PIN code that was assigned instead. */
@@ -15908,6 +15956,17 @@ export type Routes = {
15908
15956
  message: string;
15909
15957
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15910
15958
  warning_code: 'user_identity_missing_phone_number';
15959
+ } | {
15960
+ /** Date and time at which Seam created the warning. */
15961
+ created_at: string;
15962
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15963
+ message: string;
15964
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15965
+ warning_code: 'requested_code_unavailable';
15966
+ /** The originally requested PIN code that could not be used. */
15967
+ original_code: string;
15968
+ /** The PIN code that was assigned instead. */
15969
+ new_code: string;
15911
15970
  })[];
15912
15971
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
15913
15972
  errors: ({
@@ -16130,8 +16189,10 @@ export type Routes = {
16130
16189
  message: string;
16131
16190
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16132
16191
  warning_code: 'requested_code_unavailable';
16133
- /** ID of the device where the requested code was unavailable. */
16134
- device_id: string;
16192
+ /** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
16193
+ device_id?: string | undefined;
16194
+ /** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
16195
+ access_method_id?: string | undefined;
16135
16196
  /** The originally requested PIN code that was unavailable. */
16136
16197
  original_code: string;
16137
16198
  /** The new PIN code that was assigned instead. */
@@ -16351,8 +16412,10 @@ export type Routes = {
16351
16412
  message: string;
16352
16413
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16353
16414
  warning_code: 'requested_code_unavailable';
16354
- /** ID of the device where the requested code was unavailable. */
16355
- device_id: string;
16415
+ /** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
16416
+ device_id?: string | undefined;
16417
+ /** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
16418
+ access_method_id?: string | undefined;
16356
16419
  /** The originally requested PIN code that was unavailable. */
16357
16420
  original_code: string;
16358
16421
  /** The new PIN code that was assigned instead. */
@@ -16544,8 +16607,10 @@ export type Routes = {
16544
16607
  message: string;
16545
16608
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16546
16609
  warning_code: 'requested_code_unavailable';
16547
- /** ID of the device where the requested code was unavailable. */
16548
- device_id: string;
16610
+ /** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
16611
+ device_id?: string | undefined;
16612
+ /** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
16613
+ access_method_id?: string | undefined;
16549
16614
  /** The originally requested PIN code that was unavailable. */
16550
16615
  original_code: string;
16551
16616
  /** The new PIN code that was assigned instead. */
@@ -16746,8 +16811,10 @@ export type Routes = {
16746
16811
  message: string;
16747
16812
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16748
16813
  warning_code: 'requested_code_unavailable';
16749
- /** ID of the device where the requested code was unavailable. */
16750
- device_id: string;
16814
+ /** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
16815
+ device_id?: string | undefined;
16816
+ /** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
16817
+ access_method_id?: string | undefined;
16751
16818
  /** The originally requested PIN code that was unavailable. */
16752
16819
  original_code: string;
16753
16820
  /** The new PIN code that was assigned instead. */
@@ -18057,6 +18124,17 @@ export type Routes = {
18057
18124
  message: string;
18058
18125
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18059
18126
  warning_code: 'user_identity_missing_phone_number';
18127
+ } | {
18128
+ /** Date and time at which Seam created the warning. */
18129
+ created_at: string;
18130
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18131
+ message: string;
18132
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18133
+ warning_code: 'requested_code_unavailable';
18134
+ /** The originally requested PIN code that could not be used. */
18135
+ original_code: string;
18136
+ /** The PIN code that was assigned instead. */
18137
+ new_code: string;
18060
18138
  })[];
18061
18139
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
18062
18140
  errors: ({
@@ -20153,6 +20231,17 @@ export type Routes = {
20153
20231
  message: string;
20154
20232
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20155
20233
  warning_code: 'user_identity_missing_phone_number';
20234
+ } | {
20235
+ /** Date and time at which Seam created the warning. */
20236
+ created_at: string;
20237
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
20238
+ message: string;
20239
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20240
+ warning_code: 'requested_code_unavailable';
20241
+ /** The originally requested PIN code that could not be used. */
20242
+ original_code: string;
20243
+ /** The PIN code that was assigned instead. */
20244
+ new_code: string;
20156
20245
  })[];
20157
20246
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
20158
20247
  errors: ({
@@ -21149,6 +21238,17 @@ export type Routes = {
21149
21238
  message: string;
21150
21239
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21151
21240
  warning_code: 'user_identity_missing_phone_number';
21241
+ } | {
21242
+ /** Date and time at which Seam created the warning. */
21243
+ created_at: string;
21244
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
21245
+ message: string;
21246
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21247
+ warning_code: 'requested_code_unavailable';
21248
+ /** The originally requested PIN code that could not be used. */
21249
+ original_code: string;
21250
+ /** The PIN code that was assigned instead. */
21251
+ new_code: string;
21152
21252
  })[];
21153
21253
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
21154
21254
  errors: ({
@@ -23203,8 +23303,10 @@ export type Routes = {
23203
23303
  message: string;
23204
23304
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23205
23305
  warning_code: 'requested_code_unavailable';
23206
- /** ID of the device where the requested code was unavailable. */
23207
- device_id: string;
23306
+ /** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
23307
+ device_id?: string | undefined;
23308
+ /** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
23309
+ access_method_id?: string | undefined;
23208
23310
  /** The originally requested PIN code that was unavailable. */
23209
23311
  original_code: string;
23210
23312
  /** The new PIN code that was assigned instead. */
@@ -23371,6 +23473,17 @@ export type Routes = {
23371
23473
  message: string;
23372
23474
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23373
23475
  warning_code: 'user_identity_missing_phone_number';
23476
+ } | {
23477
+ /** Date and time at which Seam created the warning. */
23478
+ created_at: string;
23479
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
23480
+ message: string;
23481
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23482
+ warning_code: 'requested_code_unavailable';
23483
+ /** The originally requested PIN code that could not be used. */
23484
+ original_code: string;
23485
+ /** The PIN code that was assigned instead. */
23486
+ new_code: string;
23374
23487
  })[];
23375
23488
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
23376
23489
  errors: ({
@@ -23888,6 +24001,17 @@ export type Routes = {
23888
24001
  message: string;
23889
24002
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23890
24003
  warning_code: 'user_identity_missing_phone_number';
24004
+ } | {
24005
+ /** Date and time at which Seam created the warning. */
24006
+ created_at: string;
24007
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
24008
+ message: string;
24009
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24010
+ warning_code: 'requested_code_unavailable';
24011
+ /** The originally requested PIN code that could not be used. */
24012
+ original_code: string;
24013
+ /** The PIN code that was assigned instead. */
24014
+ new_code: string;
23891
24015
  })[];
23892
24016
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
23893
24017
  errors: ({
@@ -25153,6 +25277,17 @@ export type Routes = {
25153
25277
  message: string;
25154
25278
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25155
25279
  warning_code: 'user_identity_missing_phone_number';
25280
+ } | {
25281
+ /** Date and time at which Seam created the warning. */
25282
+ created_at: string;
25283
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
25284
+ message: string;
25285
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25286
+ warning_code: 'requested_code_unavailable';
25287
+ /** The originally requested PIN code that could not be used. */
25288
+ original_code: string;
25289
+ /** The PIN code that was assigned instead. */
25290
+ new_code: string;
25156
25291
  })[];
25157
25292
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
25158
25293
  errors: ({
@@ -26145,6 +26280,17 @@ export type Routes = {
26145
26280
  message: string;
26146
26281
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26147
26282
  warning_code: 'user_identity_missing_phone_number';
26283
+ } | {
26284
+ /** Date and time at which Seam created the warning. */
26285
+ created_at: string;
26286
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
26287
+ message: string;
26288
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26289
+ warning_code: 'requested_code_unavailable';
26290
+ /** The originally requested PIN code that could not be used. */
26291
+ original_code: string;
26292
+ /** The PIN code that was assigned instead. */
26293
+ new_code: string;
26148
26294
  })[];
26149
26295
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
26150
26296
  errors: ({
@@ -26319,6 +26465,17 @@ export type Routes = {
26319
26465
  message: string;
26320
26466
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26321
26467
  warning_code: 'user_identity_missing_phone_number';
26468
+ } | {
26469
+ /** Date and time at which Seam created the warning. */
26470
+ created_at: string;
26471
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
26472
+ message: string;
26473
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26474
+ warning_code: 'requested_code_unavailable';
26475
+ /** The originally requested PIN code that could not be used. */
26476
+ original_code: string;
26477
+ /** The PIN code that was assigned instead. */
26478
+ new_code: string;
26322
26479
  })[];
26323
26480
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
26324
26481
  errors: ({
@@ -30766,6 +30923,17 @@ export type Routes = {
30766
30923
  message: string;
30767
30924
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30768
30925
  warning_code: 'user_identity_missing_phone_number';
30926
+ } | {
30927
+ /** Date and time at which Seam created the warning. */
30928
+ created_at: string;
30929
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30930
+ message: string;
30931
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30932
+ warning_code: 'requested_code_unavailable';
30933
+ /** The originally requested PIN code that could not be used. */
30934
+ original_code: string;
30935
+ /** The PIN code that was assigned instead. */
30936
+ new_code: string;
30769
30937
  })[];
30770
30938
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
30771
30939
  errors: ({
@@ -32951,6 +33119,17 @@ export type Routes = {
32951
33119
  message: string;
32952
33120
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32953
33121
  warning_code: 'user_identity_missing_phone_number';
33122
+ } | {
33123
+ /** Date and time at which Seam created the warning. */
33124
+ created_at: string;
33125
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
33126
+ message: string;
33127
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33128
+ warning_code: 'requested_code_unavailable';
33129
+ /** The originally requested PIN code that could not be used. */
33130
+ original_code: string;
33131
+ /** The PIN code that was assigned instead. */
33132
+ new_code: string;
32954
33133
  })[];
32955
33134
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
32956
33135
  errors: ({
@@ -35035,6 +35214,17 @@ export type Routes = {
35035
35214
  message: string;
35036
35215
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35037
35216
  warning_code: 'user_identity_missing_phone_number';
35217
+ } | {
35218
+ /** Date and time at which Seam created the warning. */
35219
+ created_at: string;
35220
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
35221
+ message: string;
35222
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35223
+ warning_code: 'requested_code_unavailable';
35224
+ /** The originally requested PIN code that could not be used. */
35225
+ original_code: string;
35226
+ /** The PIN code that was assigned instead. */
35227
+ new_code: string;
35038
35228
  })[];
35039
35229
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
35040
35230
  errors: ({
@@ -37850,6 +38040,17 @@ export type Routes = {
37850
38040
  message: string;
37851
38041
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37852
38042
  warning_code: 'user_identity_missing_phone_number';
38043
+ } | {
38044
+ /** Date and time at which Seam created the warning. */
38045
+ created_at: string;
38046
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
38047
+ message: string;
38048
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38049
+ warning_code: 'requested_code_unavailable';
38050
+ /** The originally requested PIN code that could not be used. */
38051
+ original_code: string;
38052
+ /** The PIN code that was assigned instead. */
38053
+ new_code: string;
37853
38054
  })[];
37854
38055
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
37855
38056
  errors: ({
@@ -42305,6 +42506,17 @@ export type Routes = {
42305
42506
  message: string;
42306
42507
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42307
42508
  warning_code: 'user_identity_missing_phone_number';
42509
+ } | {
42510
+ /** Date and time at which Seam created the warning. */
42511
+ created_at: string;
42512
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
42513
+ message: string;
42514
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42515
+ warning_code: 'requested_code_unavailable';
42516
+ /** The originally requested PIN code that could not be used. */
42517
+ original_code: string;
42518
+ /** The PIN code that was assigned instead. */
42519
+ new_code: string;
42308
42520
  })[];
42309
42521
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
42310
42522
  errors: ({
@@ -44381,6 +44593,17 @@ export type Routes = {
44381
44593
  message: string;
44382
44594
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44383
44595
  warning_code: 'user_identity_missing_phone_number';
44596
+ } | {
44597
+ /** Date and time at which Seam created the warning. */
44598
+ created_at: string;
44599
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44600
+ message: string;
44601
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44602
+ warning_code: 'requested_code_unavailable';
44603
+ /** The originally requested PIN code that could not be used. */
44604
+ original_code: string;
44605
+ /** The PIN code that was assigned instead. */
44606
+ new_code: string;
44384
44607
  })[];
44385
44608
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
44386
44609
  errors: ({
@@ -60876,6 +61099,17 @@ export type Routes = {
60876
61099
  message: string;
60877
61100
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
60878
61101
  warning_code: 'user_identity_missing_phone_number';
61102
+ } | {
61103
+ /** Date and time at which Seam created the warning. */
61104
+ created_at: string;
61105
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
61106
+ message: string;
61107
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
61108
+ warning_code: 'requested_code_unavailable';
61109
+ /** The originally requested PIN code that could not be used. */
61110
+ original_code: string;
61111
+ /** The PIN code that was assigned instead. */
61112
+ new_code: string;
60879
61113
  })[];
60880
61114
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
60881
61115
  errors: ({
@@ -69395,6 +69629,17 @@ export type Routes = {
69395
69629
  message: string;
69396
69630
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
69397
69631
  warning_code: 'user_identity_missing_phone_number';
69632
+ } | {
69633
+ /** Date and time at which Seam created the warning. */
69634
+ created_at: string;
69635
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
69636
+ message: string;
69637
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
69638
+ warning_code: 'requested_code_unavailable';
69639
+ /** The originally requested PIN code that could not be used. */
69640
+ original_code: string;
69641
+ /** The PIN code that was assigned instead. */
69642
+ new_code: string;
69398
69643
  })[];
69399
69644
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
69400
69645
  errors: ({
@@ -71472,6 +71717,17 @@ export type Routes = {
71472
71717
  message: string;
71473
71718
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71474
71719
  warning_code: 'user_identity_missing_phone_number';
71720
+ } | {
71721
+ /** Date and time at which Seam created the warning. */
71722
+ created_at: string;
71723
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71724
+ message: string;
71725
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71726
+ warning_code: 'requested_code_unavailable';
71727
+ /** The originally requested PIN code that could not be used. */
71728
+ original_code: string;
71729
+ /** The PIN code that was assigned instead. */
71730
+ new_code: string;
71475
71731
  })[];
71476
71732
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
71477
71733
  errors: ({
@@ -73547,6 +73803,17 @@ export type Routes = {
73547
73803
  message: string;
73548
73804
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
73549
73805
  warning_code: 'user_identity_missing_phone_number';
73806
+ } | {
73807
+ /** Date and time at which Seam created the warning. */
73808
+ created_at: string;
73809
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
73810
+ message: string;
73811
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
73812
+ warning_code: 'requested_code_unavailable';
73813
+ /** The originally requested PIN code that could not be used. */
73814
+ original_code: string;
73815
+ /** The PIN code that was assigned instead. */
73816
+ new_code: string;
73550
73817
  })[];
73551
73818
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
73552
73819
  errors: ({
@@ -75624,6 +75891,17 @@ export type Routes = {
75624
75891
  message: string;
75625
75892
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75626
75893
  warning_code: 'user_identity_missing_phone_number';
75894
+ } | {
75895
+ /** Date and time at which Seam created the warning. */
75896
+ created_at: string;
75897
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
75898
+ message: string;
75899
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75900
+ warning_code: 'requested_code_unavailable';
75901
+ /** The originally requested PIN code that could not be used. */
75902
+ original_code: string;
75903
+ /** The PIN code that was assigned instead. */
75904
+ new_code: string;
75627
75905
  })[];
75628
75906
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
75629
75907
  errors: ({
@@ -80976,6 +81254,17 @@ export type Routes = {
80976
81254
  message: string;
80977
81255
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
80978
81256
  warning_code: 'user_identity_missing_phone_number';
81257
+ } | {
81258
+ /** Date and time at which Seam created the warning. */
81259
+ created_at: string;
81260
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81261
+ message: string;
81262
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81263
+ warning_code: 'requested_code_unavailable';
81264
+ /** The originally requested PIN code that could not be used. */
81265
+ original_code: string;
81266
+ /** The PIN code that was assigned instead. */
81267
+ new_code: string;
80979
81268
  })[];
80980
81269
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
80981
81270
  errors: ({
@@ -83072,6 +83361,17 @@ export type Routes = {
83072
83361
  message: string;
83073
83362
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83074
83363
  warning_code: 'user_identity_missing_phone_number';
83364
+ } | {
83365
+ /** Date and time at which Seam created the warning. */
83366
+ created_at: string;
83367
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83368
+ message: string;
83369
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83370
+ warning_code: 'requested_code_unavailable';
83371
+ /** The originally requested PIN code that could not be used. */
83372
+ original_code: string;
83373
+ /** The PIN code that was assigned instead. */
83374
+ new_code: string;
83075
83375
  })[];
83076
83376
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
83077
83377
  errors: ({
@@ -85224,6 +85524,17 @@ export type Routes = {
85224
85524
  message: string;
85225
85525
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
85226
85526
  warning_code: 'user_identity_missing_phone_number';
85527
+ } | {
85528
+ /** Date and time at which Seam created the warning. */
85529
+ created_at: string;
85530
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
85531
+ message: string;
85532
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
85533
+ warning_code: 'requested_code_unavailable';
85534
+ /** The originally requested PIN code that could not be used. */
85535
+ original_code: string;
85536
+ /** The PIN code that was assigned instead. */
85537
+ new_code: string;
85227
85538
  })[];
85228
85539
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
85229
85540
  errors: ({
@@ -89005,8 +89316,10 @@ export type Routes = {
89005
89316
  message: string;
89006
89317
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
89007
89318
  warning_code: 'requested_code_unavailable';
89008
- /** ID of the device where the requested code was unavailable. */
89009
- device_id: string;
89319
+ /** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
89320
+ device_id?: string | undefined;
89321
+ /** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
89322
+ access_method_id?: string | undefined;
89010
89323
  /** The originally requested PIN code that was unavailable. */
89011
89324
  original_code: string;
89012
89325
  /** The new PIN code that was assigned instead. */
@@ -90284,6 +90597,17 @@ export type Routes = {
90284
90597
  message: string;
90285
90598
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90286
90599
  warning_code: 'user_identity_missing_phone_number';
90600
+ } | {
90601
+ /** Date and time at which Seam created the warning. */
90602
+ created_at: string;
90603
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90604
+ message: string;
90605
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90606
+ warning_code: 'requested_code_unavailable';
90607
+ /** The originally requested PIN code that could not be used. */
90608
+ original_code: string;
90609
+ /** The PIN code that was assigned instead. */
90610
+ new_code: string;
90287
90611
  })[];
90288
90612
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
90289
90613
  errors: ({
@@ -91309,7 +91633,11 @@ export type Routes = {
91309
91633
  method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
91310
91634
  card_count_on_reservation_create?: number | undefined;
91311
91635
  instant_key_max_use_count?: number | undefined;
91636
+ /**
91637
+ * @deprecated Use `prefer_guest_phone_last_digits_as_code`.*/
91312
91638
  prefer_guest_phone_last4_as_code?: boolean | undefined;
91639
+ /** Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code. */
91640
+ prefer_guest_phone_last_digits_as_code?: boolean | undefined;
91313
91641
  allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
91314
91642
  access_starts_minutes_before_reservation?: number | undefined;
91315
91643
  access_ends_minutes_after_reservation?: number | undefined;
@@ -91435,7 +91763,11 @@ export type Routes = {
91435
91763
  method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
91436
91764
  card_count_on_reservation_create?: number | undefined;
91437
91765
  instant_key_max_use_count?: number | undefined;
91766
+ /**
91767
+ * @deprecated Use `prefer_guest_phone_last_digits_as_code`.*/
91438
91768
  prefer_guest_phone_last4_as_code?: boolean | undefined;
91769
+ /** Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code. */
91770
+ prefer_guest_phone_last_digits_as_code?: boolean | undefined;
91439
91771
  allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
91440
91772
  access_starts_minutes_before_reservation?: number | undefined;
91441
91773
  access_ends_minutes_after_reservation?: number | undefined;
@@ -91889,7 +92221,11 @@ export type Routes = {
91889
92221
  method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
91890
92222
  card_count_on_reservation_create?: number | undefined;
91891
92223
  instant_key_max_use_count?: number | undefined;
92224
+ /**
92225
+ * @deprecated Use `prefer_guest_phone_last_digits_as_code`.*/
91892
92226
  prefer_guest_phone_last4_as_code?: boolean | undefined;
92227
+ /** Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code. */
92228
+ prefer_guest_phone_last_digits_as_code?: boolean | undefined;
91893
92229
  allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
91894
92230
  access_starts_minutes_before_reservation?: number | undefined;
91895
92231
  access_ends_minutes_after_reservation?: number | undefined;
@@ -92014,7 +92350,11 @@ export type Routes = {
92014
92350
  method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
92015
92351
  card_count_on_reservation_create?: number | undefined;
92016
92352
  instant_key_max_use_count?: number | undefined;
92353
+ /**
92354
+ * @deprecated Use `prefer_guest_phone_last_digits_as_code`.*/
92017
92355
  prefer_guest_phone_last4_as_code?: boolean | undefined;
92356
+ /** Use the last digits of the guest's phone number as the PIN code. The code length is one that all locks in the reservation's spaces support, and digits that form a weak PIN, such as 0303, 1111, or 1234, are skipped in favor of a longer code. */
92357
+ prefer_guest_phone_last_digits_as_code?: boolean | undefined;
92018
92358
  allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
92019
92359
  access_starts_minutes_before_reservation?: number | undefined;
92020
92360
  access_ends_minutes_after_reservation?: number | undefined;
@@ -96468,8 +96808,10 @@ export type Routes = {
96468
96808
  message: string;
96469
96809
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
96470
96810
  warning_code: 'requested_code_unavailable';
96471
- /** ID of the device where the requested code was unavailable. */
96472
- device_id: string;
96811
+ /** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
96812
+ device_id?: string | undefined;
96813
+ /** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
96814
+ access_method_id?: string | undefined;
96473
96815
  /** The originally requested PIN code that was unavailable. */
96474
96816
  original_code: string;
96475
96817
  /** The new PIN code that was assigned instead. */
@@ -96996,8 +97338,10 @@ export type Routes = {
96996
97338
  message: string;
96997
97339
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
96998
97340
  warning_code: 'requested_code_unavailable';
96999
- /** ID of the device where the requested code was unavailable. */
97000
- device_id: string;
97341
+ /** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
97342
+ device_id?: string | undefined;
97343
+ /** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
97344
+ access_method_id?: string | undefined;
97001
97345
  /** The originally requested PIN code that was unavailable. */
97002
97346
  original_code: string;
97003
97347
  /** The new PIN code that was assigned instead. */
@@ -104113,6 +104457,17 @@ export type Routes = {
104113
104457
  message: string;
104114
104458
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
104115
104459
  warning_code: 'user_identity_missing_phone_number';
104460
+ } | {
104461
+ /** Date and time at which Seam created the warning. */
104462
+ created_at: string;
104463
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
104464
+ message: string;
104465
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
104466
+ warning_code: 'requested_code_unavailable';
104467
+ /** The originally requested PIN code that could not be used. */
104468
+ original_code: string;
104469
+ /** The PIN code that was assigned instead. */
104470
+ new_code: string;
104116
104471
  })[];
104117
104472
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
104118
104473
  errors: ({
@@ -105590,6 +105945,17 @@ export type Routes = {
105590
105945
  message: string;
105591
105946
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
105592
105947
  warning_code: 'user_identity_missing_phone_number';
105948
+ } | {
105949
+ /** Date and time at which Seam created the warning. */
105950
+ created_at: string;
105951
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
105952
+ message: string;
105953
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
105954
+ warning_code: 'requested_code_unavailable';
105955
+ /** The originally requested PIN code that could not be used. */
105956
+ original_code: string;
105957
+ /** The PIN code that was assigned instead. */
105958
+ new_code: string;
105593
105959
  })[];
105594
105960
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
105595
105961
  errors: ({
@@ -107665,6 +108031,17 @@ export type Routes = {
107665
108031
  message: string;
107666
108032
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
107667
108033
  warning_code: 'user_identity_missing_phone_number';
108034
+ } | {
108035
+ /** Date and time at which Seam created the warning. */
108036
+ created_at: string;
108037
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
108038
+ message: string;
108039
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
108040
+ warning_code: 'requested_code_unavailable';
108041
+ /** The originally requested PIN code that could not be used. */
108042
+ original_code: string;
108043
+ /** The PIN code that was assigned instead. */
108044
+ new_code: string;
107668
108045
  })[];
107669
108046
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
107670
108047
  errors: ({
@@ -109742,6 +110119,17 @@ export type Routes = {
109742
110119
  message: string;
109743
110120
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
109744
110121
  warning_code: 'user_identity_missing_phone_number';
110122
+ } | {
110123
+ /** Date and time at which Seam created the warning. */
110124
+ created_at: string;
110125
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
110126
+ message: string;
110127
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
110128
+ warning_code: 'requested_code_unavailable';
110129
+ /** The originally requested PIN code that could not be used. */
110130
+ original_code: string;
110131
+ /** The PIN code that was assigned instead. */
110132
+ new_code: string;
109745
110133
  })[];
109746
110134
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
109747
110135
  errors: ({
@@ -111817,6 +112205,17 @@ export type Routes = {
111817
112205
  message: string;
111818
112206
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
111819
112207
  warning_code: 'user_identity_missing_phone_number';
112208
+ } | {
112209
+ /** Date and time at which Seam created the warning. */
112210
+ created_at: string;
112211
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
112212
+ message: string;
112213
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
112214
+ warning_code: 'requested_code_unavailable';
112215
+ /** The originally requested PIN code that could not be used. */
112216
+ original_code: string;
112217
+ /** The PIN code that was assigned instead. */
112218
+ new_code: string;
111820
112219
  })[];
111821
112220
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
111822
112221
  errors: ({
@@ -113894,6 +114293,17 @@ export type Routes = {
113894
114293
  message: string;
113895
114294
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
113896
114295
  warning_code: 'user_identity_missing_phone_number';
114296
+ } | {
114297
+ /** Date and time at which Seam created the warning. */
114298
+ created_at: string;
114299
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
114300
+ message: string;
114301
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
114302
+ warning_code: 'requested_code_unavailable';
114303
+ /** The originally requested PIN code that could not be used. */
114304
+ original_code: string;
114305
+ /** The PIN code that was assigned instead. */
114306
+ new_code: string;
113897
114307
  })[];
113898
114308
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
113899
114309
  errors: ({
@@ -115969,6 +116379,17 @@ export type Routes = {
115969
116379
  message: string;
115970
116380
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
115971
116381
  warning_code: 'user_identity_missing_phone_number';
116382
+ } | {
116383
+ /** Date and time at which Seam created the warning. */
116384
+ created_at: string;
116385
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
116386
+ message: string;
116387
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
116388
+ warning_code: 'requested_code_unavailable';
116389
+ /** The originally requested PIN code that could not be used. */
116390
+ original_code: string;
116391
+ /** The PIN code that was assigned instead. */
116392
+ new_code: string;
115972
116393
  })[];
115973
116394
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
115974
116395
  errors: ({
@@ -118046,6 +118467,17 @@ export type Routes = {
118046
118467
  message: string;
118047
118468
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
118048
118469
  warning_code: 'user_identity_missing_phone_number';
118470
+ } | {
118471
+ /** Date and time at which Seam created the warning. */
118472
+ created_at: string;
118473
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
118474
+ message: string;
118475
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
118476
+ warning_code: 'requested_code_unavailable';
118477
+ /** The originally requested PIN code that could not be used. */
118478
+ original_code: string;
118479
+ /** The PIN code that was assigned instead. */
118480
+ new_code: string;
118049
118481
  })[];
118050
118482
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
118051
118483
  errors: ({
@@ -120123,6 +120555,17 @@ export type Routes = {
120123
120555
  message: string;
120124
120556
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
120125
120557
  warning_code: 'user_identity_missing_phone_number';
120558
+ } | {
120559
+ /** Date and time at which Seam created the warning. */
120560
+ created_at: string;
120561
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
120562
+ message: string;
120563
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
120564
+ warning_code: 'requested_code_unavailable';
120565
+ /** The originally requested PIN code that could not be used. */
120566
+ original_code: string;
120567
+ /** The PIN code that was assigned instead. */
120568
+ new_code: string;
120126
120569
  })[];
120127
120570
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
120128
120571
  errors: ({
@@ -122204,6 +122647,17 @@ export type Routes = {
122204
122647
  message: string;
122205
122648
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
122206
122649
  warning_code: 'user_identity_missing_phone_number';
122650
+ } | {
122651
+ /** Date and time at which Seam created the warning. */
122652
+ created_at: string;
122653
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
122654
+ message: string;
122655
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
122656
+ warning_code: 'requested_code_unavailable';
122657
+ /** The originally requested PIN code that could not be used. */
122658
+ original_code: string;
122659
+ /** The PIN code that was assigned instead. */
122660
+ new_code: string;
122207
122661
  })[];
122208
122662
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
122209
122663
  errors: ({
@@ -124391,6 +124845,17 @@ export type Routes = {
124391
124845
  message: string;
124392
124846
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
124393
124847
  warning_code: 'user_identity_missing_phone_number';
124848
+ } | {
124849
+ /** Date and time at which Seam created the warning. */
124850
+ created_at: string;
124851
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
124852
+ message: string;
124853
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
124854
+ warning_code: 'requested_code_unavailable';
124855
+ /** The originally requested PIN code that could not be used. */
124856
+ original_code: string;
124857
+ /** The PIN code that was assigned instead. */
124858
+ new_code: string;
124394
124859
  })[];
124395
124860
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
124396
124861
  errors: ({
@@ -128104,6 +128569,17 @@ export type Routes = {
128104
128569
  message: string;
128105
128570
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
128106
128571
  warning_code: 'user_identity_missing_phone_number';
128572
+ } | {
128573
+ /** Date and time at which Seam created the warning. */
128574
+ created_at: string;
128575
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
128576
+ message: string;
128577
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
128578
+ warning_code: 'requested_code_unavailable';
128579
+ /** The originally requested PIN code that could not be used. */
128580
+ original_code: string;
128581
+ /** The PIN code that was assigned instead. */
128582
+ new_code: string;
128107
128583
  })[];
128108
128584
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
128109
128585
  errors: ({
@@ -130189,6 +130665,17 @@ export type Routes = {
130189
130665
  message: string;
130190
130666
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
130191
130667
  warning_code: 'user_identity_missing_phone_number';
130668
+ } | {
130669
+ /** Date and time at which Seam created the warning. */
130670
+ created_at: string;
130671
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
130672
+ message: string;
130673
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
130674
+ warning_code: 'requested_code_unavailable';
130675
+ /** The originally requested PIN code that could not be used. */
130676
+ original_code: string;
130677
+ /** The PIN code that was assigned instead. */
130678
+ new_code: string;
130192
130679
  })[];
130193
130680
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
130194
130681
  errors: ({
@@ -135490,6 +135977,17 @@ export type Routes = {
135490
135977
  message: string;
135491
135978
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
135492
135979
  warning_code: 'user_identity_missing_phone_number';
135980
+ } | {
135981
+ /** Date and time at which Seam created the warning. */
135982
+ created_at: string;
135983
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
135984
+ message: string;
135985
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
135986
+ warning_code: 'requested_code_unavailable';
135987
+ /** The originally requested PIN code that could not be used. */
135988
+ original_code: string;
135989
+ /** The PIN code that was assigned instead. */
135990
+ new_code: string;
135493
135991
  })[];
135494
135992
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
135495
135993
  errors: ({
@@ -137776,6 +138274,17 @@ export type Routes = {
137776
138274
  message: string;
137777
138275
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
137778
138276
  warning_code: 'user_identity_missing_phone_number';
138277
+ } | {
138278
+ /** Date and time at which Seam created the warning. */
138279
+ created_at: string;
138280
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
138281
+ message: string;
138282
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
138283
+ warning_code: 'requested_code_unavailable';
138284
+ /** The originally requested PIN code that could not be used. */
138285
+ original_code: string;
138286
+ /** The PIN code that was assigned instead. */
138287
+ new_code: string;
137779
138288
  })[];
137780
138289
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
137781
138290
  errors: ({
@@ -139884,6 +140393,17 @@ export type Routes = {
139884
140393
  message: string;
139885
140394
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
139886
140395
  warning_code: 'user_identity_missing_phone_number';
140396
+ } | {
140397
+ /** Date and time at which Seam created the warning. */
140398
+ created_at: string;
140399
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
140400
+ message: string;
140401
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
140402
+ warning_code: 'requested_code_unavailable';
140403
+ /** The originally requested PIN code that could not be used. */
140404
+ original_code: string;
140405
+ /** The PIN code that was assigned instead. */
140406
+ new_code: string;
139887
140407
  })[];
139888
140408
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
139889
140409
  errors: ({
@@ -142104,6 +142624,17 @@ export type Routes = {
142104
142624
  message: string;
142105
142625
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
142106
142626
  warning_code: 'user_identity_missing_phone_number';
142627
+ } | {
142628
+ /** Date and time at which Seam created the warning. */
142629
+ created_at: string;
142630
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
142631
+ message: string;
142632
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
142633
+ warning_code: 'requested_code_unavailable';
142634
+ /** The originally requested PIN code that could not be used. */
142635
+ original_code: string;
142636
+ /** The PIN code that was assigned instead. */
142637
+ new_code: string;
142107
142638
  })[];
142108
142639
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
142109
142640
  errors: ({
@@ -152490,6 +153021,17 @@ export type Routes = {
152490
153021
  message: string;
152491
153022
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
152492
153023
  warning_code: 'user_identity_missing_phone_number';
153024
+ } | {
153025
+ /** Date and time at which Seam created the warning. */
153026
+ created_at: string;
153027
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
153028
+ message: string;
153029
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
153030
+ warning_code: 'requested_code_unavailable';
153031
+ /** The originally requested PIN code that could not be used. */
153032
+ original_code: string;
153033
+ /** The PIN code that was assigned instead. */
153034
+ new_code: string;
152493
153035
  })[];
152494
153036
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
152495
153037
  errors: ({
@@ -154527,6 +155069,17 @@ export type Routes = {
154527
155069
  message: string;
154528
155070
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
154529
155071
  warning_code: 'user_identity_missing_phone_number';
155072
+ } | {
155073
+ /** Date and time at which Seam created the warning. */
155074
+ created_at: string;
155075
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
155076
+ message: string;
155077
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
155078
+ warning_code: 'requested_code_unavailable';
155079
+ /** The originally requested PIN code that could not be used. */
155080
+ original_code: string;
155081
+ /** The PIN code that was assigned instead. */
155082
+ new_code: string;
154530
155083
  })[];
154531
155084
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
154532
155085
  errors: ({
@@ -154707,8 +155260,10 @@ export type Routes = {
154707
155260
  message: string;
154708
155261
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
154709
155262
  warning_code: 'requested_code_unavailable';
154710
- /** ID of the device where the requested code was unavailable. */
154711
- device_id: string;
155263
+ /** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
155264
+ device_id?: string | undefined;
155265
+ /** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
155266
+ access_method_id?: string | undefined;
154712
155267
  /** The originally requested PIN code that was unavailable. */
154713
155268
  original_code: string;
154714
155269
  /** The new PIN code that was assigned instead. */
@@ -161358,6 +161913,17 @@ export type Routes = {
161358
161913
  message: string;
161359
161914
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
161360
161915
  warning_code: 'user_identity_missing_phone_number';
161916
+ } | {
161917
+ /** Date and time at which Seam created the warning. */
161918
+ created_at: string;
161919
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
161920
+ message: string;
161921
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
161922
+ warning_code: 'requested_code_unavailable';
161923
+ /** The originally requested PIN code that could not be used. */
161924
+ original_code: string;
161925
+ /** The PIN code that was assigned instead. */
161926
+ new_code: string;
161361
161927
  })[];
161362
161928
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
161363
161929
  errors: ({