@seamapi/types 1.1119.0 → 1.1121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +74 -15
- package/lib/seam/connect/models/access-grants/access-grant.js +12 -2
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +96 -0
- package/lib/seam/connect/models/access-grants/access-method.js +15 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +43 -0
- package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +43 -0
- package/lib/seam/connect/openapi.js +201 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +816 -238
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +16 -2
- package/src/lib/seam/connect/models/access-grants/access-method.ts +18 -0
- package/src/lib/seam/connect/openapi.ts +225 -6
- package/src/lib/seam/connect/route-types.ts +648 -22
|
@@ -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
|
|
13093
|
-
/**
|
|
13094
|
-
|
|
13095
|
-
/** The
|
|
13096
|
-
|
|
13097
|
-
|
|
13098
|
-
|
|
13099
|
-
|
|
13100
|
-
/**
|
|
13101
|
-
|
|
13102
|
-
/**
|
|
13103
|
-
|
|
13104
|
-
/**
|
|
13105
|
-
|
|
13106
|
-
|
|
13107
|
-
|
|
13108
|
-
|
|
13109
|
-
/**
|
|
13110
|
-
|
|
13111
|
-
/**
|
|
13112
|
-
|
|
13113
|
-
/**
|
|
13114
|
-
|
|
13115
|
-
/**
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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: ({
|
|
@@ -91423,6 +91747,34 @@ export type Routes = {
|
|
|
91423
91747
|
};
|
|
91424
91748
|
maxDuration: undefined;
|
|
91425
91749
|
};
|
|
91750
|
+
'/seam/customer/v1/automations/get_guest_phone_last4_usage': {
|
|
91751
|
+
route: '/seam/customer/v1/automations/get_guest_phone_last4_usage';
|
|
91752
|
+
method: 'GET' | 'POST';
|
|
91753
|
+
queryParams: {};
|
|
91754
|
+
jsonBody: {};
|
|
91755
|
+
commonParams: {};
|
|
91756
|
+
formData: {};
|
|
91757
|
+
jsonResponse: {
|
|
91758
|
+
/** Whether the workspace-level automation uses prefer_guest_phone_last4_as_code. */
|
|
91759
|
+
is_used_by_workspace: boolean;
|
|
91760
|
+
/** Number of customers whose automation uses prefer_guest_phone_last4_as_code. */
|
|
91761
|
+
customer_count: number;
|
|
91762
|
+
};
|
|
91763
|
+
maxDuration: undefined;
|
|
91764
|
+
};
|
|
91765
|
+
'/seam/customer/v1/automations/switch_to_guest_phone_last_digits': {
|
|
91766
|
+
route: '/seam/customer/v1/automations/switch_to_guest_phone_last_digits';
|
|
91767
|
+
method: 'POST';
|
|
91768
|
+
queryParams: {};
|
|
91769
|
+
jsonBody: {};
|
|
91770
|
+
commonParams: {};
|
|
91771
|
+
formData: {};
|
|
91772
|
+
jsonResponse: {
|
|
91773
|
+
/** Number of automations that were switched. */
|
|
91774
|
+
switched_count: number;
|
|
91775
|
+
};
|
|
91776
|
+
maxDuration: undefined;
|
|
91777
|
+
};
|
|
91426
91778
|
'/seam/customer/v1/automations/update': {
|
|
91427
91779
|
route: '/seam/customer/v1/automations/update';
|
|
91428
91780
|
method: 'PATCH' | 'POST';
|
|
@@ -96484,8 +96836,10 @@ export type Routes = {
|
|
|
96484
96836
|
message: string;
|
|
96485
96837
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
96486
96838
|
warning_code: 'requested_code_unavailable';
|
|
96487
|
-
/** ID of the device where the requested code was unavailable. */
|
|
96488
|
-
device_id
|
|
96839
|
+
/** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
|
|
96840
|
+
device_id?: string | undefined;
|
|
96841
|
+
/** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
|
|
96842
|
+
access_method_id?: string | undefined;
|
|
96489
96843
|
/** The originally requested PIN code that was unavailable. */
|
|
96490
96844
|
original_code: string;
|
|
96491
96845
|
/** The new PIN code that was assigned instead. */
|
|
@@ -97012,8 +97366,10 @@ export type Routes = {
|
|
|
97012
97366
|
message: string;
|
|
97013
97367
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
97014
97368
|
warning_code: 'requested_code_unavailable';
|
|
97015
|
-
/** ID of the device where the requested code was unavailable. */
|
|
97016
|
-
device_id
|
|
97369
|
+
/** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
|
|
97370
|
+
device_id?: string | undefined;
|
|
97371
|
+
/** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
|
|
97372
|
+
access_method_id?: string | undefined;
|
|
97017
97373
|
/** The originally requested PIN code that was unavailable. */
|
|
97018
97374
|
original_code: string;
|
|
97019
97375
|
/** The new PIN code that was assigned instead. */
|
|
@@ -104129,6 +104485,17 @@ export type Routes = {
|
|
|
104129
104485
|
message: string;
|
|
104130
104486
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
104131
104487
|
warning_code: 'user_identity_missing_phone_number';
|
|
104488
|
+
} | {
|
|
104489
|
+
/** Date and time at which Seam created the warning. */
|
|
104490
|
+
created_at: string;
|
|
104491
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
104492
|
+
message: string;
|
|
104493
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
104494
|
+
warning_code: 'requested_code_unavailable';
|
|
104495
|
+
/** The originally requested PIN code that could not be used. */
|
|
104496
|
+
original_code: string;
|
|
104497
|
+
/** The PIN code that was assigned instead. */
|
|
104498
|
+
new_code: string;
|
|
104132
104499
|
})[];
|
|
104133
104500
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
104134
104501
|
errors: ({
|
|
@@ -105606,6 +105973,17 @@ export type Routes = {
|
|
|
105606
105973
|
message: string;
|
|
105607
105974
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
105608
105975
|
warning_code: 'user_identity_missing_phone_number';
|
|
105976
|
+
} | {
|
|
105977
|
+
/** Date and time at which Seam created the warning. */
|
|
105978
|
+
created_at: string;
|
|
105979
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
105980
|
+
message: string;
|
|
105981
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
105982
|
+
warning_code: 'requested_code_unavailable';
|
|
105983
|
+
/** The originally requested PIN code that could not be used. */
|
|
105984
|
+
original_code: string;
|
|
105985
|
+
/** The PIN code that was assigned instead. */
|
|
105986
|
+
new_code: string;
|
|
105609
105987
|
})[];
|
|
105610
105988
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
105611
105989
|
errors: ({
|
|
@@ -107681,6 +108059,17 @@ export type Routes = {
|
|
|
107681
108059
|
message: string;
|
|
107682
108060
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
107683
108061
|
warning_code: 'user_identity_missing_phone_number';
|
|
108062
|
+
} | {
|
|
108063
|
+
/** Date and time at which Seam created the warning. */
|
|
108064
|
+
created_at: string;
|
|
108065
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
108066
|
+
message: string;
|
|
108067
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
108068
|
+
warning_code: 'requested_code_unavailable';
|
|
108069
|
+
/** The originally requested PIN code that could not be used. */
|
|
108070
|
+
original_code: string;
|
|
108071
|
+
/** The PIN code that was assigned instead. */
|
|
108072
|
+
new_code: string;
|
|
107684
108073
|
})[];
|
|
107685
108074
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
107686
108075
|
errors: ({
|
|
@@ -109758,6 +110147,17 @@ export type Routes = {
|
|
|
109758
110147
|
message: string;
|
|
109759
110148
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
109760
110149
|
warning_code: 'user_identity_missing_phone_number';
|
|
110150
|
+
} | {
|
|
110151
|
+
/** Date and time at which Seam created the warning. */
|
|
110152
|
+
created_at: string;
|
|
110153
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
110154
|
+
message: string;
|
|
110155
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
110156
|
+
warning_code: 'requested_code_unavailable';
|
|
110157
|
+
/** The originally requested PIN code that could not be used. */
|
|
110158
|
+
original_code: string;
|
|
110159
|
+
/** The PIN code that was assigned instead. */
|
|
110160
|
+
new_code: string;
|
|
109761
110161
|
})[];
|
|
109762
110162
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
109763
110163
|
errors: ({
|
|
@@ -111833,6 +112233,17 @@ export type Routes = {
|
|
|
111833
112233
|
message: string;
|
|
111834
112234
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
111835
112235
|
warning_code: 'user_identity_missing_phone_number';
|
|
112236
|
+
} | {
|
|
112237
|
+
/** Date and time at which Seam created the warning. */
|
|
112238
|
+
created_at: string;
|
|
112239
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
112240
|
+
message: string;
|
|
112241
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
112242
|
+
warning_code: 'requested_code_unavailable';
|
|
112243
|
+
/** The originally requested PIN code that could not be used. */
|
|
112244
|
+
original_code: string;
|
|
112245
|
+
/** The PIN code that was assigned instead. */
|
|
112246
|
+
new_code: string;
|
|
111836
112247
|
})[];
|
|
111837
112248
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
111838
112249
|
errors: ({
|
|
@@ -113910,6 +114321,17 @@ export type Routes = {
|
|
|
113910
114321
|
message: string;
|
|
113911
114322
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
113912
114323
|
warning_code: 'user_identity_missing_phone_number';
|
|
114324
|
+
} | {
|
|
114325
|
+
/** Date and time at which Seam created the warning. */
|
|
114326
|
+
created_at: string;
|
|
114327
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
114328
|
+
message: string;
|
|
114329
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
114330
|
+
warning_code: 'requested_code_unavailable';
|
|
114331
|
+
/** The originally requested PIN code that could not be used. */
|
|
114332
|
+
original_code: string;
|
|
114333
|
+
/** The PIN code that was assigned instead. */
|
|
114334
|
+
new_code: string;
|
|
113913
114335
|
})[];
|
|
113914
114336
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
113915
114337
|
errors: ({
|
|
@@ -115985,6 +116407,17 @@ export type Routes = {
|
|
|
115985
116407
|
message: string;
|
|
115986
116408
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
115987
116409
|
warning_code: 'user_identity_missing_phone_number';
|
|
116410
|
+
} | {
|
|
116411
|
+
/** Date and time at which Seam created the warning. */
|
|
116412
|
+
created_at: string;
|
|
116413
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
116414
|
+
message: string;
|
|
116415
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
116416
|
+
warning_code: 'requested_code_unavailable';
|
|
116417
|
+
/** The originally requested PIN code that could not be used. */
|
|
116418
|
+
original_code: string;
|
|
116419
|
+
/** The PIN code that was assigned instead. */
|
|
116420
|
+
new_code: string;
|
|
115988
116421
|
})[];
|
|
115989
116422
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
115990
116423
|
errors: ({
|
|
@@ -118062,6 +118495,17 @@ export type Routes = {
|
|
|
118062
118495
|
message: string;
|
|
118063
118496
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
118064
118497
|
warning_code: 'user_identity_missing_phone_number';
|
|
118498
|
+
} | {
|
|
118499
|
+
/** Date and time at which Seam created the warning. */
|
|
118500
|
+
created_at: string;
|
|
118501
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
118502
|
+
message: string;
|
|
118503
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
118504
|
+
warning_code: 'requested_code_unavailable';
|
|
118505
|
+
/** The originally requested PIN code that could not be used. */
|
|
118506
|
+
original_code: string;
|
|
118507
|
+
/** The PIN code that was assigned instead. */
|
|
118508
|
+
new_code: string;
|
|
118065
118509
|
})[];
|
|
118066
118510
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
118067
118511
|
errors: ({
|
|
@@ -120139,6 +120583,17 @@ export type Routes = {
|
|
|
120139
120583
|
message: string;
|
|
120140
120584
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
120141
120585
|
warning_code: 'user_identity_missing_phone_number';
|
|
120586
|
+
} | {
|
|
120587
|
+
/** Date and time at which Seam created the warning. */
|
|
120588
|
+
created_at: string;
|
|
120589
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
120590
|
+
message: string;
|
|
120591
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
120592
|
+
warning_code: 'requested_code_unavailable';
|
|
120593
|
+
/** The originally requested PIN code that could not be used. */
|
|
120594
|
+
original_code: string;
|
|
120595
|
+
/** The PIN code that was assigned instead. */
|
|
120596
|
+
new_code: string;
|
|
120142
120597
|
})[];
|
|
120143
120598
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
120144
120599
|
errors: ({
|
|
@@ -122220,6 +122675,17 @@ export type Routes = {
|
|
|
122220
122675
|
message: string;
|
|
122221
122676
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
122222
122677
|
warning_code: 'user_identity_missing_phone_number';
|
|
122678
|
+
} | {
|
|
122679
|
+
/** Date and time at which Seam created the warning. */
|
|
122680
|
+
created_at: string;
|
|
122681
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
122682
|
+
message: string;
|
|
122683
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
122684
|
+
warning_code: 'requested_code_unavailable';
|
|
122685
|
+
/** The originally requested PIN code that could not be used. */
|
|
122686
|
+
original_code: string;
|
|
122687
|
+
/** The PIN code that was assigned instead. */
|
|
122688
|
+
new_code: string;
|
|
122223
122689
|
})[];
|
|
122224
122690
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
122225
122691
|
errors: ({
|
|
@@ -124407,6 +124873,17 @@ export type Routes = {
|
|
|
124407
124873
|
message: string;
|
|
124408
124874
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
124409
124875
|
warning_code: 'user_identity_missing_phone_number';
|
|
124876
|
+
} | {
|
|
124877
|
+
/** Date and time at which Seam created the warning. */
|
|
124878
|
+
created_at: string;
|
|
124879
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
124880
|
+
message: string;
|
|
124881
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
124882
|
+
warning_code: 'requested_code_unavailable';
|
|
124883
|
+
/** The originally requested PIN code that could not be used. */
|
|
124884
|
+
original_code: string;
|
|
124885
|
+
/** The PIN code that was assigned instead. */
|
|
124886
|
+
new_code: string;
|
|
124410
124887
|
})[];
|
|
124411
124888
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
124412
124889
|
errors: ({
|
|
@@ -128120,6 +128597,17 @@ export type Routes = {
|
|
|
128120
128597
|
message: string;
|
|
128121
128598
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
128122
128599
|
warning_code: 'user_identity_missing_phone_number';
|
|
128600
|
+
} | {
|
|
128601
|
+
/** Date and time at which Seam created the warning. */
|
|
128602
|
+
created_at: string;
|
|
128603
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
128604
|
+
message: string;
|
|
128605
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
128606
|
+
warning_code: 'requested_code_unavailable';
|
|
128607
|
+
/** The originally requested PIN code that could not be used. */
|
|
128608
|
+
original_code: string;
|
|
128609
|
+
/** The PIN code that was assigned instead. */
|
|
128610
|
+
new_code: string;
|
|
128123
128611
|
})[];
|
|
128124
128612
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
128125
128613
|
errors: ({
|
|
@@ -130205,6 +130693,17 @@ export type Routes = {
|
|
|
130205
130693
|
message: string;
|
|
130206
130694
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
130207
130695
|
warning_code: 'user_identity_missing_phone_number';
|
|
130696
|
+
} | {
|
|
130697
|
+
/** Date and time at which Seam created the warning. */
|
|
130698
|
+
created_at: string;
|
|
130699
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
130700
|
+
message: string;
|
|
130701
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
130702
|
+
warning_code: 'requested_code_unavailable';
|
|
130703
|
+
/** The originally requested PIN code that could not be used. */
|
|
130704
|
+
original_code: string;
|
|
130705
|
+
/** The PIN code that was assigned instead. */
|
|
130706
|
+
new_code: string;
|
|
130208
130707
|
})[];
|
|
130209
130708
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
130210
130709
|
errors: ({
|
|
@@ -135506,6 +136005,17 @@ export type Routes = {
|
|
|
135506
136005
|
message: string;
|
|
135507
136006
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
135508
136007
|
warning_code: 'user_identity_missing_phone_number';
|
|
136008
|
+
} | {
|
|
136009
|
+
/** Date and time at which Seam created the warning. */
|
|
136010
|
+
created_at: string;
|
|
136011
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
136012
|
+
message: string;
|
|
136013
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
136014
|
+
warning_code: 'requested_code_unavailable';
|
|
136015
|
+
/** The originally requested PIN code that could not be used. */
|
|
136016
|
+
original_code: string;
|
|
136017
|
+
/** The PIN code that was assigned instead. */
|
|
136018
|
+
new_code: string;
|
|
135509
136019
|
})[];
|
|
135510
136020
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
135511
136021
|
errors: ({
|
|
@@ -137792,6 +138302,17 @@ export type Routes = {
|
|
|
137792
138302
|
message: string;
|
|
137793
138303
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
137794
138304
|
warning_code: 'user_identity_missing_phone_number';
|
|
138305
|
+
} | {
|
|
138306
|
+
/** Date and time at which Seam created the warning. */
|
|
138307
|
+
created_at: string;
|
|
138308
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
138309
|
+
message: string;
|
|
138310
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
138311
|
+
warning_code: 'requested_code_unavailable';
|
|
138312
|
+
/** The originally requested PIN code that could not be used. */
|
|
138313
|
+
original_code: string;
|
|
138314
|
+
/** The PIN code that was assigned instead. */
|
|
138315
|
+
new_code: string;
|
|
137795
138316
|
})[];
|
|
137796
138317
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
137797
138318
|
errors: ({
|
|
@@ -139900,6 +140421,17 @@ export type Routes = {
|
|
|
139900
140421
|
message: string;
|
|
139901
140422
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
139902
140423
|
warning_code: 'user_identity_missing_phone_number';
|
|
140424
|
+
} | {
|
|
140425
|
+
/** Date and time at which Seam created the warning. */
|
|
140426
|
+
created_at: string;
|
|
140427
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
140428
|
+
message: string;
|
|
140429
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
140430
|
+
warning_code: 'requested_code_unavailable';
|
|
140431
|
+
/** The originally requested PIN code that could not be used. */
|
|
140432
|
+
original_code: string;
|
|
140433
|
+
/** The PIN code that was assigned instead. */
|
|
140434
|
+
new_code: string;
|
|
139903
140435
|
})[];
|
|
139904
140436
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
139905
140437
|
errors: ({
|
|
@@ -142120,6 +142652,17 @@ export type Routes = {
|
|
|
142120
142652
|
message: string;
|
|
142121
142653
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
142122
142654
|
warning_code: 'user_identity_missing_phone_number';
|
|
142655
|
+
} | {
|
|
142656
|
+
/** Date and time at which Seam created the warning. */
|
|
142657
|
+
created_at: string;
|
|
142658
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
142659
|
+
message: string;
|
|
142660
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
142661
|
+
warning_code: 'requested_code_unavailable';
|
|
142662
|
+
/** The originally requested PIN code that could not be used. */
|
|
142663
|
+
original_code: string;
|
|
142664
|
+
/** The PIN code that was assigned instead. */
|
|
142665
|
+
new_code: string;
|
|
142123
142666
|
})[];
|
|
142124
142667
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
142125
142668
|
errors: ({
|
|
@@ -152506,6 +153049,17 @@ export type Routes = {
|
|
|
152506
153049
|
message: string;
|
|
152507
153050
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
152508
153051
|
warning_code: 'user_identity_missing_phone_number';
|
|
153052
|
+
} | {
|
|
153053
|
+
/** Date and time at which Seam created the warning. */
|
|
153054
|
+
created_at: string;
|
|
153055
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
153056
|
+
message: string;
|
|
153057
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
153058
|
+
warning_code: 'requested_code_unavailable';
|
|
153059
|
+
/** The originally requested PIN code that could not be used. */
|
|
153060
|
+
original_code: string;
|
|
153061
|
+
/** The PIN code that was assigned instead. */
|
|
153062
|
+
new_code: string;
|
|
152509
153063
|
})[];
|
|
152510
153064
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
152511
153065
|
errors: ({
|
|
@@ -154543,6 +155097,17 @@ export type Routes = {
|
|
|
154543
155097
|
message: string;
|
|
154544
155098
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
154545
155099
|
warning_code: 'user_identity_missing_phone_number';
|
|
155100
|
+
} | {
|
|
155101
|
+
/** Date and time at which Seam created the warning. */
|
|
155102
|
+
created_at: string;
|
|
155103
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
155104
|
+
message: string;
|
|
155105
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
155106
|
+
warning_code: 'requested_code_unavailable';
|
|
155107
|
+
/** The originally requested PIN code that could not be used. */
|
|
155108
|
+
original_code: string;
|
|
155109
|
+
/** The PIN code that was assigned instead. */
|
|
155110
|
+
new_code: string;
|
|
154546
155111
|
})[];
|
|
154547
155112
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
154548
155113
|
errors: ({
|
|
@@ -154723,8 +155288,10 @@ export type Routes = {
|
|
|
154723
155288
|
message: string;
|
|
154724
155289
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
154725
155290
|
warning_code: 'requested_code_unavailable';
|
|
154726
|
-
/** ID of the device where the requested code was unavailable. */
|
|
154727
|
-
device_id
|
|
155291
|
+
/** ID of the device where the requested code was unavailable. Present when the code was set directly on a device. */
|
|
155292
|
+
device_id?: string | undefined;
|
|
155293
|
+
/** ID of the access method whose requested code was unavailable. Present when an access system, such as Salto KS, assigned a different code. */
|
|
155294
|
+
access_method_id?: string | undefined;
|
|
154728
155295
|
/** The originally requested PIN code that was unavailable. */
|
|
154729
155296
|
original_code: string;
|
|
154730
155297
|
/** The new PIN code that was assigned instead. */
|
|
@@ -161374,6 +161941,17 @@ export type Routes = {
|
|
|
161374
161941
|
message: string;
|
|
161375
161942
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
161376
161943
|
warning_code: 'user_identity_missing_phone_number';
|
|
161944
|
+
} | {
|
|
161945
|
+
/** Date and time at which Seam created the warning. */
|
|
161946
|
+
created_at: string;
|
|
161947
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
161948
|
+
message: string;
|
|
161949
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
161950
|
+
warning_code: 'requested_code_unavailable';
|
|
161951
|
+
/** The originally requested PIN code that could not be used. */
|
|
161952
|
+
original_code: string;
|
|
161953
|
+
/** The PIN code that was assigned instead. */
|
|
161954
|
+
new_code: string;
|
|
161377
161955
|
})[];
|
|
161378
161956
|
/** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
|
|
161379
161957
|
errors: ({
|