@seamapi/types 1.961.0 → 1.963.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/dist/connect.cjs +564 -22
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +979 -6
- package/dist/index.cjs +564 -22
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +143 -0
- package/lib/seam/connect/models/access-grants/access-method.js +36 -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 +63 -0
- package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +63 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/events/access-methods.d.ts +130 -0
- package/lib/seam/connect/models/events/access-methods.js +18 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +65 -1
- package/lib/seam/connect/openapi.js +492 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +806 -6
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +53 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/models/events/access-methods.ts +20 -0
- package/src/lib/seam/connect/openapi.ts +560 -0
- package/src/lib/seam/connect/route-types.ts +859 -0
package/dist/index.cjs
CHANGED
|
@@ -2208,6 +2208,7 @@ var DEVICE_PROVIDERS = {
|
|
|
2208
2208
|
DOORKING: "doorking",
|
|
2209
2209
|
SALTO: "salto",
|
|
2210
2210
|
SALTO_KS: "salto_ks",
|
|
2211
|
+
SALTO_KS_ACCEPT: "salto_ks_accept",
|
|
2211
2212
|
LOCKLY: "lockly",
|
|
2212
2213
|
TTLOCK: "ttlock",
|
|
2213
2214
|
LINEAR: "linear",
|
|
@@ -2320,7 +2321,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2320
2321
|
"sifely",
|
|
2321
2322
|
"thirty_three_lock"
|
|
2322
2323
|
],
|
|
2323
|
-
beta: ["kisi"],
|
|
2324
|
+
beta: ["kisi", "salto_ks_accept"],
|
|
2324
2325
|
thermostats: ["ecobee", "nest", "sensi", "honeywell_resideo", "first_alert"],
|
|
2325
2326
|
noise_sensors: ["minut", "noiseaware"],
|
|
2326
2327
|
access_control_systems: [
|
|
@@ -3155,17 +3156,45 @@ var pulled_backup_access_code_warning = common_access_method_warning.extend({
|
|
|
3155
3156
|
}).describe(
|
|
3156
3157
|
"Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time."
|
|
3157
3158
|
);
|
|
3159
|
+
var delay_in_issuing_warning = common_access_method_warning.extend({
|
|
3160
|
+
warning_code: zod.z.literal("delay_in_issuing").describe(warning_code_description5)
|
|
3161
|
+
}).describe(
|
|
3162
|
+
"Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and this warning clears automatically once issuance succeeds."
|
|
3163
|
+
);
|
|
3158
3164
|
var access_method_warning = zod.z.discriminatedUnion("warning_code", [
|
|
3159
3165
|
being_deleted4,
|
|
3160
3166
|
updating_access_times_warning,
|
|
3161
|
-
pulled_backup_access_code_warning
|
|
3167
|
+
pulled_backup_access_code_warning,
|
|
3168
|
+
delay_in_issuing_warning
|
|
3162
3169
|
]).describe(
|
|
3163
3170
|
"Warning associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant)."
|
|
3164
3171
|
);
|
|
3165
3172
|
zod.z.object({
|
|
3166
3173
|
being_deleted: being_deleted4.optional().nullable(),
|
|
3167
3174
|
updating_access_times: updating_access_times_warning.optional().nullable(),
|
|
3168
|
-
pulled_backup_access_code: pulled_backup_access_code_warning.optional().nullable()
|
|
3175
|
+
pulled_backup_access_code: pulled_backup_access_code_warning.optional().nullable(),
|
|
3176
|
+
delay_in_issuing: delay_in_issuing_warning.optional().nullable()
|
|
3177
|
+
});
|
|
3178
|
+
var common_access_method_error = zod.z.object({
|
|
3179
|
+
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
3180
|
+
message: zod.z.string().describe(
|
|
3181
|
+
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
3182
|
+
)
|
|
3183
|
+
});
|
|
3184
|
+
var error_code_description5 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
3185
|
+
var failed_to_issue_error = common_access_method_error.extend({
|
|
3186
|
+
error_code: zod.z.literal("failed_to_issue").describe(error_code_description5)
|
|
3187
|
+
}).describe(`
|
|
3188
|
+
---
|
|
3189
|
+
resource_type: access_method
|
|
3190
|
+
---
|
|
3191
|
+
Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and this error clears automatically if the access method is eventually issued.
|
|
3192
|
+
`);
|
|
3193
|
+
var access_method_error = zod.z.discriminatedUnion("error_code", [failed_to_issue_error]).describe(
|
|
3194
|
+
"Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant)."
|
|
3195
|
+
);
|
|
3196
|
+
zod.z.object({
|
|
3197
|
+
failed_to_issue: failed_to_issue_error.optional().nullable()
|
|
3169
3198
|
});
|
|
3170
3199
|
var common_pending_mutation3 = zod.z.object({
|
|
3171
3200
|
created_at: zod.z.string().datetime().describe("Date and time at which the mutation was created."),
|
|
@@ -3264,6 +3293,9 @@ var access_method = zod.z.object({
|
|
|
3264
3293
|
warnings: zod.z.array(access_method_warning).describe(
|
|
3265
3294
|
"Warnings associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant)."
|
|
3266
3295
|
),
|
|
3296
|
+
errors: zod.z.array(access_method_error).describe(
|
|
3297
|
+
"Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant)."
|
|
3298
|
+
),
|
|
3267
3299
|
pending_mutations: zod.z.array(access_method_pending_mutations).describe(
|
|
3268
3300
|
"Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress."
|
|
3269
3301
|
),
|
|
@@ -3428,9 +3460,9 @@ var common_acs_access_group_error = zod.z.object({
|
|
|
3428
3460
|
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
3429
3461
|
)
|
|
3430
3462
|
});
|
|
3431
|
-
var
|
|
3463
|
+
var error_code_description6 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
3432
3464
|
var acs_access_groups_failed_to_create_on_acs_system = common_acs_access_group_error.extend({
|
|
3433
|
-
error_code: zod.z.literal("failed_to_create_on_acs_system").describe(
|
|
3465
|
+
error_code: zod.z.literal("failed_to_create_on_acs_system").describe(error_code_description6)
|
|
3434
3466
|
}).describe(`
|
|
3435
3467
|
---
|
|
3436
3468
|
resource_type: acs_access_group
|
|
@@ -3881,9 +3913,9 @@ var common_acs_encoder_error = zod.z.object({
|
|
|
3881
3913
|
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
3882
3914
|
)
|
|
3883
3915
|
});
|
|
3884
|
-
var
|
|
3916
|
+
var error_code_description7 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
3885
3917
|
var acs_encoder_removed = common_acs_encoder_error.extend({
|
|
3886
|
-
error_code: zod.z.literal("acs_encoder_removed").describe(
|
|
3918
|
+
error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description7)
|
|
3887
3919
|
});
|
|
3888
3920
|
var acs_encoder_error = (
|
|
3889
3921
|
// z.union([
|
|
@@ -4121,10 +4153,10 @@ var common_acs_system_error = zod.z.object({
|
|
|
4121
4153
|
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
4122
4154
|
)
|
|
4123
4155
|
});
|
|
4124
|
-
var
|
|
4156
|
+
var error_code_description8 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
4125
4157
|
var warning_code_description9 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
4126
4158
|
var seam_bridge_disconnected = common_acs_system_error.extend({
|
|
4127
|
-
error_code: zod.z.literal("seam_bridge_disconnected").describe(
|
|
4159
|
+
error_code: zod.z.literal("seam_bridge_disconnected").describe(error_code_description8)
|
|
4128
4160
|
}).describe(`
|
|
4129
4161
|
---
|
|
4130
4162
|
resource_type: acs_system
|
|
@@ -4134,7 +4166,7 @@ var seam_bridge_disconnected = common_acs_system_error.extend({
|
|
|
4134
4166
|
See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system-errors-seam_bridge_disconnected).
|
|
4135
4167
|
`);
|
|
4136
4168
|
var bridge_disconnected2 = common_acs_system_error.extend({
|
|
4137
|
-
error_code: zod.z.literal("bridge_disconnected").describe(
|
|
4169
|
+
error_code: zod.z.literal("bridge_disconnected").describe(error_code_description8),
|
|
4138
4170
|
is_bridge_error: zod.z.boolean().optional().describe(
|
|
4139
4171
|
"Indicates whether the error is related to the [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge)."
|
|
4140
4172
|
)
|
|
@@ -4146,7 +4178,7 @@ var bridge_disconnected2 = common_acs_system_error.extend({
|
|
|
4146
4178
|
See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system-errors-seam_bridge_disconnected).
|
|
4147
4179
|
`);
|
|
4148
4180
|
var visionline_instance_unreachable = common_acs_system_error.extend({
|
|
4149
|
-
error_code: zod.z.literal("visionline_instance_unreachable").describe(
|
|
4181
|
+
error_code: zod.z.literal("visionline_instance_unreachable").describe(error_code_description8)
|
|
4150
4182
|
}).describe(`
|
|
4151
4183
|
---
|
|
4152
4184
|
resource_type: acs_system
|
|
@@ -4156,7 +4188,7 @@ var visionline_instance_unreachable = common_acs_system_error.extend({
|
|
|
4156
4188
|
See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system-errors-visionline_instance_unreachable).
|
|
4157
4189
|
`);
|
|
4158
4190
|
var salto_ks_subscription_limit_exceeded3 = common_acs_system_error.extend({
|
|
4159
|
-
error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(
|
|
4191
|
+
error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description8)
|
|
4160
4192
|
}).describe(`
|
|
4161
4193
|
---
|
|
4162
4194
|
resource_type: acs_system
|
|
@@ -4164,7 +4196,7 @@ var salto_ks_subscription_limit_exceeded3 = common_acs_system_error.extend({
|
|
|
4164
4196
|
Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.
|
|
4165
4197
|
`);
|
|
4166
4198
|
var acs_system_disconnected = common_acs_system_error.extend({
|
|
4167
|
-
error_code: zod.z.literal("acs_system_disconnected").describe(
|
|
4199
|
+
error_code: zod.z.literal("acs_system_disconnected").describe(error_code_description8)
|
|
4168
4200
|
}).describe(`
|
|
4169
4201
|
---
|
|
4170
4202
|
resource_type: acs_system
|
|
@@ -4172,7 +4204,7 @@ var acs_system_disconnected = common_acs_system_error.extend({
|
|
|
4172
4204
|
Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has been disconnected. See [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system) to resolve the issue.
|
|
4173
4205
|
`);
|
|
4174
4206
|
var account_disconnected3 = common_acs_system_error.extend({
|
|
4175
|
-
error_code: zod.z.literal("account_disconnected").describe(
|
|
4207
|
+
error_code: zod.z.literal("account_disconnected").describe(error_code_description8)
|
|
4176
4208
|
}).describe(`
|
|
4177
4209
|
---
|
|
4178
4210
|
resource_type: acs_system
|
|
@@ -4180,7 +4212,7 @@ var account_disconnected3 = common_acs_system_error.extend({
|
|
|
4180
4212
|
Indicates that the login credentials are invalid. Reconnect the account using a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) to restore access.
|
|
4181
4213
|
`);
|
|
4182
4214
|
var salto_ks_certification_expired = common_acs_system_error.extend({
|
|
4183
|
-
error_code: zod.z.literal("salto_ks_certification_expired").describe(
|
|
4215
|
+
error_code: zod.z.literal("salto_ks_certification_expired").describe(error_code_description8)
|
|
4184
4216
|
}).describe(`
|
|
4185
4217
|
---
|
|
4186
4218
|
resource_type: acs_system
|
|
@@ -4188,7 +4220,7 @@ var salto_ks_certification_expired = common_acs_system_error.extend({
|
|
|
4188
4220
|
Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access.
|
|
4189
4221
|
`);
|
|
4190
4222
|
var provider_service_unavailable2 = common_acs_system_error.extend({
|
|
4191
|
-
error_code: zod.z.literal("provider_service_unavailable").describe(
|
|
4223
|
+
error_code: zod.z.literal("provider_service_unavailable").describe(error_code_description8)
|
|
4192
4224
|
}).describe(`
|
|
4193
4225
|
---
|
|
4194
4226
|
resource_type: acs_system
|
|
@@ -5557,14 +5589,14 @@ var common_event = zod.z.object({
|
|
|
5557
5589
|
"Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event."
|
|
5558
5590
|
)
|
|
5559
5591
|
});
|
|
5560
|
-
var
|
|
5592
|
+
var error_code_description9 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
5561
5593
|
var warning_code_description10 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
5562
5594
|
var common_event_error = zod.z.object({
|
|
5563
5595
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
5564
5596
|
message: zod.z.string().describe(
|
|
5565
5597
|
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
5566
5598
|
),
|
|
5567
|
-
error_code: zod.z.string().describe(
|
|
5599
|
+
error_code: zod.z.string().describe(error_code_description9)
|
|
5568
5600
|
}).describe(
|
|
5569
5601
|
"Error associated with the resource, including the error code, message, and creation timestamp."
|
|
5570
5602
|
);
|
|
@@ -6007,13 +6039,31 @@ var access_method_created_event = access_method_event.extend({
|
|
|
6007
6039
|
---
|
|
6008
6040
|
An access method was created.
|
|
6009
6041
|
`);
|
|
6042
|
+
var access_method_delay_in_issuing_event = access_method_event.extend({
|
|
6043
|
+
event_type: zod.z.literal("access_method.delay_in_issuing")
|
|
6044
|
+
}).describe(`
|
|
6045
|
+
---
|
|
6046
|
+
route_path: /access_methods
|
|
6047
|
+
---
|
|
6048
|
+
Seam has not yet issued this access method, even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and the accompanying \`delay_in_issuing\` warning clears automatically once issuance succeeds.
|
|
6049
|
+
`);
|
|
6050
|
+
var access_method_failed_to_issue_event = access_method_event.extend({
|
|
6051
|
+
event_type: zod.z.literal("access_method.failed_to_issue")
|
|
6052
|
+
}).describe(`
|
|
6053
|
+
---
|
|
6054
|
+
route_path: /access_methods
|
|
6055
|
+
---
|
|
6056
|
+
Seam was unable to issue this access method before its access grant started, so the recipient may be unable to access the space. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and the accompanying \`failed_to_issue\` error clears automatically if the access method is eventually issued.
|
|
6057
|
+
`);
|
|
6010
6058
|
var access_method_events = [
|
|
6011
6059
|
access_method_issued_event,
|
|
6012
6060
|
access_method_revoked_event,
|
|
6013
6061
|
access_method_card_encoding_required_event,
|
|
6014
6062
|
access_method_deleted_event,
|
|
6015
6063
|
access_method_reissued_event,
|
|
6016
|
-
access_method_created_event
|
|
6064
|
+
access_method_created_event,
|
|
6065
|
+
access_method_delay_in_issuing_event,
|
|
6066
|
+
access_method_failed_to_issue_event
|
|
6017
6067
|
];
|
|
6018
6068
|
var common_acs_event = common_event.extend({
|
|
6019
6069
|
connected_account_id: zod.z.string().uuid().optional().describe("ID of the connected account."),
|
|
@@ -7329,10 +7379,10 @@ var common_bridge_client_session_error = zod.z.object({
|
|
|
7329
7379
|
),
|
|
7330
7380
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error.")
|
|
7331
7381
|
});
|
|
7332
|
-
var
|
|
7382
|
+
var error_code_description10 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
7333
7383
|
var bridge_lan_unreachable = common_bridge_client_session_error.extend(
|
|
7334
7384
|
{
|
|
7335
|
-
error_code: zod.z.literal("bridge_lan_unreachable").describe(
|
|
7385
|
+
error_code: zod.z.literal("bridge_lan_unreachable").describe(error_code_description10),
|
|
7336
7386
|
is_tailscale_proxy_reachable: zod.z.boolean().nullable().describe("Indicates whether Seam can reach the Tailscale proxy."),
|
|
7337
7387
|
is_tailscale_proxy_socks_server_healthy: zod.z.boolean().nullable().describe(
|
|
7338
7388
|
"Indicates whether the Tailscale proxy's SOCKS server is healthy."
|
|
@@ -7350,7 +7400,7 @@ var bridge_lan_unreachable = common_bridge_client_session_error.extend(
|
|
|
7350
7400
|
Indicates that Seam cannot reach Seam Bridge's LAN.
|
|
7351
7401
|
`);
|
|
7352
7402
|
var no_communication_from_bridge = common_bridge_client_session_error.extend({
|
|
7353
|
-
error_code: zod.z.literal("no_communication_from_bridge").describe(
|
|
7403
|
+
error_code: zod.z.literal("no_communication_from_bridge").describe(error_code_description10)
|
|
7354
7404
|
}).describe(`
|
|
7355
7405
|
---
|
|
7356
7406
|
resource_type: bridge_client_session
|
|
@@ -9544,6 +9594,38 @@ var openapi = {
|
|
|
9544
9594
|
description: "Display name of the access method.",
|
|
9545
9595
|
type: "string"
|
|
9546
9596
|
},
|
|
9597
|
+
errors: {
|
|
9598
|
+
description: "Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).",
|
|
9599
|
+
items: {
|
|
9600
|
+
description: "Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).",
|
|
9601
|
+
discriminator: { propertyName: "error_code" },
|
|
9602
|
+
oneOf: [
|
|
9603
|
+
{
|
|
9604
|
+
description: "Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and this error clears automatically if the access method is eventually issued.",
|
|
9605
|
+
properties: {
|
|
9606
|
+
created_at: {
|
|
9607
|
+
description: "Date and time at which Seam created the error.",
|
|
9608
|
+
format: "date-time",
|
|
9609
|
+
type: "string"
|
|
9610
|
+
},
|
|
9611
|
+
error_code: {
|
|
9612
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
9613
|
+
enum: ["failed_to_issue"],
|
|
9614
|
+
type: "string"
|
|
9615
|
+
},
|
|
9616
|
+
message: {
|
|
9617
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
9618
|
+
type: "string"
|
|
9619
|
+
}
|
|
9620
|
+
},
|
|
9621
|
+
required: ["created_at", "message", "error_code"],
|
|
9622
|
+
type: "object",
|
|
9623
|
+
"x-resource-type": "access_method"
|
|
9624
|
+
}
|
|
9625
|
+
]
|
|
9626
|
+
},
|
|
9627
|
+
type: "array"
|
|
9628
|
+
},
|
|
9547
9629
|
instant_key_url: {
|
|
9548
9630
|
description: "URL of the Instant Key for mobile key access methods.",
|
|
9549
9631
|
format: "uri",
|
|
@@ -9829,6 +9911,27 @@ var openapi = {
|
|
|
9829
9911
|
},
|
|
9830
9912
|
required: ["created_at", "message", "warning_code"],
|
|
9831
9913
|
type: "object"
|
|
9914
|
+
},
|
|
9915
|
+
{
|
|
9916
|
+
description: "Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and this warning clears automatically once issuance succeeds.",
|
|
9917
|
+
properties: {
|
|
9918
|
+
created_at: {
|
|
9919
|
+
description: "Date and time at which Seam created the warning.",
|
|
9920
|
+
format: "date-time",
|
|
9921
|
+
type: "string"
|
|
9922
|
+
},
|
|
9923
|
+
message: {
|
|
9924
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
9925
|
+
type: "string"
|
|
9926
|
+
},
|
|
9927
|
+
warning_code: {
|
|
9928
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9929
|
+
enum: ["delay_in_issuing"],
|
|
9930
|
+
type: "string"
|
|
9931
|
+
}
|
|
9932
|
+
},
|
|
9933
|
+
required: ["created_at", "message", "warning_code"],
|
|
9934
|
+
type: "object"
|
|
9832
9935
|
}
|
|
9833
9936
|
]
|
|
9834
9937
|
},
|
|
@@ -9849,6 +9952,7 @@ var openapi = {
|
|
|
9849
9952
|
"issued_at",
|
|
9850
9953
|
"is_issued",
|
|
9851
9954
|
"warnings",
|
|
9955
|
+
"errors",
|
|
9852
9956
|
"pending_mutations"
|
|
9853
9957
|
],
|
|
9854
9958
|
type: "object",
|
|
@@ -15516,6 +15620,38 @@ var openapi = {
|
|
|
15516
15620
|
description: "Display name of the access method.",
|
|
15517
15621
|
type: "string"
|
|
15518
15622
|
},
|
|
15623
|
+
errors: {
|
|
15624
|
+
description: "Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).",
|
|
15625
|
+
items: {
|
|
15626
|
+
description: "Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).",
|
|
15627
|
+
discriminator: { propertyName: "error_code" },
|
|
15628
|
+
oneOf: [
|
|
15629
|
+
{
|
|
15630
|
+
description: "Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and this error clears automatically if the access method is eventually issued.",
|
|
15631
|
+
properties: {
|
|
15632
|
+
created_at: {
|
|
15633
|
+
description: "Date and time at which Seam created the error.",
|
|
15634
|
+
format: "date-time",
|
|
15635
|
+
type: "string"
|
|
15636
|
+
},
|
|
15637
|
+
error_code: {
|
|
15638
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
15639
|
+
enum: ["failed_to_issue"],
|
|
15640
|
+
type: "string"
|
|
15641
|
+
},
|
|
15642
|
+
message: {
|
|
15643
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
15644
|
+
type: "string"
|
|
15645
|
+
}
|
|
15646
|
+
},
|
|
15647
|
+
required: ["created_at", "message", "error_code"],
|
|
15648
|
+
type: "object",
|
|
15649
|
+
"x-resource-type": "access_method"
|
|
15650
|
+
}
|
|
15651
|
+
]
|
|
15652
|
+
},
|
|
15653
|
+
type: "array"
|
|
15654
|
+
},
|
|
15519
15655
|
instant_key_url: {
|
|
15520
15656
|
description: "URL of the Instant Key for mobile key access methods.",
|
|
15521
15657
|
format: "uri",
|
|
@@ -15801,6 +15937,27 @@ var openapi = {
|
|
|
15801
15937
|
},
|
|
15802
15938
|
required: ["created_at", "message", "warning_code"],
|
|
15803
15939
|
type: "object"
|
|
15940
|
+
},
|
|
15941
|
+
{
|
|
15942
|
+
description: "Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and this warning clears automatically once issuance succeeds.",
|
|
15943
|
+
properties: {
|
|
15944
|
+
created_at: {
|
|
15945
|
+
description: "Date and time at which Seam created the warning.",
|
|
15946
|
+
format: "date-time",
|
|
15947
|
+
type: "string"
|
|
15948
|
+
},
|
|
15949
|
+
message: {
|
|
15950
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
15951
|
+
type: "string"
|
|
15952
|
+
},
|
|
15953
|
+
warning_code: {
|
|
15954
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15955
|
+
enum: ["delay_in_issuing"],
|
|
15956
|
+
type: "string"
|
|
15957
|
+
}
|
|
15958
|
+
},
|
|
15959
|
+
required: ["created_at", "message", "warning_code"],
|
|
15960
|
+
type: "object"
|
|
15804
15961
|
}
|
|
15805
15962
|
]
|
|
15806
15963
|
},
|
|
@@ -15821,6 +15978,7 @@ var openapi = {
|
|
|
15821
15978
|
"issued_at",
|
|
15822
15979
|
"is_issued",
|
|
15823
15980
|
"warnings",
|
|
15981
|
+
"errors",
|
|
15824
15982
|
"pending_mutations"
|
|
15825
15983
|
],
|
|
15826
15984
|
type: "object"
|
|
@@ -22613,6 +22771,7 @@ var openapi = {
|
|
|
22613
22771
|
"doorking",
|
|
22614
22772
|
"salto",
|
|
22615
22773
|
"salto_ks",
|
|
22774
|
+
"salto_ks_accept",
|
|
22616
22775
|
"lockly",
|
|
22617
22776
|
"ttlock",
|
|
22618
22777
|
"linear",
|
|
@@ -25944,6 +26103,124 @@ var openapi = {
|
|
|
25944
26103
|
type: "object",
|
|
25945
26104
|
"x-route-path": "/access_methods"
|
|
25946
26105
|
},
|
|
26106
|
+
{
|
|
26107
|
+
description: "Seam has not yet issued this access method, even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and the accompanying `delay_in_issuing` warning clears automatically once issuance succeeds.",
|
|
26108
|
+
properties: {
|
|
26109
|
+
access_grant_ids: {
|
|
26110
|
+
description: "IDs of the access grants associated with this access method.",
|
|
26111
|
+
items: { format: "uuid", type: "string" },
|
|
26112
|
+
type: "array"
|
|
26113
|
+
},
|
|
26114
|
+
access_grant_keys: {
|
|
26115
|
+
description: "Keys of the access grants associated with this access method (if present).",
|
|
26116
|
+
items: { type: "string" },
|
|
26117
|
+
type: "array"
|
|
26118
|
+
},
|
|
26119
|
+
access_method_id: {
|
|
26120
|
+
description: "ID of the affected access method.",
|
|
26121
|
+
format: "uuid",
|
|
26122
|
+
type: "string"
|
|
26123
|
+
},
|
|
26124
|
+
created_at: {
|
|
26125
|
+
description: "Date and time at which the event was created.",
|
|
26126
|
+
format: "date-time",
|
|
26127
|
+
type: "string"
|
|
26128
|
+
},
|
|
26129
|
+
event_description: {
|
|
26130
|
+
description: "Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.",
|
|
26131
|
+
type: "string"
|
|
26132
|
+
},
|
|
26133
|
+
event_id: {
|
|
26134
|
+
description: "ID of the event.",
|
|
26135
|
+
format: "uuid",
|
|
26136
|
+
type: "string"
|
|
26137
|
+
},
|
|
26138
|
+
event_type: {
|
|
26139
|
+
enum: ["access_method.delay_in_issuing"],
|
|
26140
|
+
type: "string"
|
|
26141
|
+
},
|
|
26142
|
+
occurred_at: {
|
|
26143
|
+
description: "Date and time at which the event occurred.",
|
|
26144
|
+
format: "date-time",
|
|
26145
|
+
type: "string"
|
|
26146
|
+
},
|
|
26147
|
+
workspace_id: {
|
|
26148
|
+
description: "ID of the workspace associated with the event.",
|
|
26149
|
+
format: "uuid",
|
|
26150
|
+
type: "string"
|
|
26151
|
+
}
|
|
26152
|
+
},
|
|
26153
|
+
required: [
|
|
26154
|
+
"event_id",
|
|
26155
|
+
"workspace_id",
|
|
26156
|
+
"created_at",
|
|
26157
|
+
"occurred_at",
|
|
26158
|
+
"access_method_id",
|
|
26159
|
+
"access_grant_ids",
|
|
26160
|
+
"event_type"
|
|
26161
|
+
],
|
|
26162
|
+
type: "object",
|
|
26163
|
+
"x-route-path": "/access_methods"
|
|
26164
|
+
},
|
|
26165
|
+
{
|
|
26166
|
+
description: "Seam was unable to issue this access method before its access grant started, so the recipient may be unable to access the space. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and the accompanying `failed_to_issue` error clears automatically if the access method is eventually issued.",
|
|
26167
|
+
properties: {
|
|
26168
|
+
access_grant_ids: {
|
|
26169
|
+
description: "IDs of the access grants associated with this access method.",
|
|
26170
|
+
items: { format: "uuid", type: "string" },
|
|
26171
|
+
type: "array"
|
|
26172
|
+
},
|
|
26173
|
+
access_grant_keys: {
|
|
26174
|
+
description: "Keys of the access grants associated with this access method (if present).",
|
|
26175
|
+
items: { type: "string" },
|
|
26176
|
+
type: "array"
|
|
26177
|
+
},
|
|
26178
|
+
access_method_id: {
|
|
26179
|
+
description: "ID of the affected access method.",
|
|
26180
|
+
format: "uuid",
|
|
26181
|
+
type: "string"
|
|
26182
|
+
},
|
|
26183
|
+
created_at: {
|
|
26184
|
+
description: "Date and time at which the event was created.",
|
|
26185
|
+
format: "date-time",
|
|
26186
|
+
type: "string"
|
|
26187
|
+
},
|
|
26188
|
+
event_description: {
|
|
26189
|
+
description: "Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.",
|
|
26190
|
+
type: "string"
|
|
26191
|
+
},
|
|
26192
|
+
event_id: {
|
|
26193
|
+
description: "ID of the event.",
|
|
26194
|
+
format: "uuid",
|
|
26195
|
+
type: "string"
|
|
26196
|
+
},
|
|
26197
|
+
event_type: {
|
|
26198
|
+
enum: ["access_method.failed_to_issue"],
|
|
26199
|
+
type: "string"
|
|
26200
|
+
},
|
|
26201
|
+
occurred_at: {
|
|
26202
|
+
description: "Date and time at which the event occurred.",
|
|
26203
|
+
format: "date-time",
|
|
26204
|
+
type: "string"
|
|
26205
|
+
},
|
|
26206
|
+
workspace_id: {
|
|
26207
|
+
description: "ID of the workspace associated with the event.",
|
|
26208
|
+
format: "uuid",
|
|
26209
|
+
type: "string"
|
|
26210
|
+
}
|
|
26211
|
+
},
|
|
26212
|
+
required: [
|
|
26213
|
+
"event_id",
|
|
26214
|
+
"workspace_id",
|
|
26215
|
+
"created_at",
|
|
26216
|
+
"occurred_at",
|
|
26217
|
+
"access_method_id",
|
|
26218
|
+
"access_grant_ids",
|
|
26219
|
+
"event_type"
|
|
26220
|
+
],
|
|
26221
|
+
type: "object",
|
|
26222
|
+
"x-route-path": "/access_methods"
|
|
26223
|
+
},
|
|
25947
26224
|
{
|
|
25948
26225
|
description: "An [access system](https://docs.seam.co/low-level-apis/access-systems) was connected.",
|
|
25949
26226
|
properties: {
|
|
@@ -45820,6 +46097,42 @@ var openapi = {
|
|
|
45820
46097
|
description: "Display name of the access method.",
|
|
45821
46098
|
type: "string"
|
|
45822
46099
|
},
|
|
46100
|
+
errors: {
|
|
46101
|
+
description: "Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).",
|
|
46102
|
+
items: {
|
|
46103
|
+
description: "Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).",
|
|
46104
|
+
discriminator: { propertyName: "error_code" },
|
|
46105
|
+
oneOf: [
|
|
46106
|
+
{
|
|
46107
|
+
description: "Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and this error clears automatically if the access method is eventually issued.",
|
|
46108
|
+
properties: {
|
|
46109
|
+
created_at: {
|
|
46110
|
+
description: "Date and time at which Seam created the error.",
|
|
46111
|
+
format: "date-time",
|
|
46112
|
+
type: "string"
|
|
46113
|
+
},
|
|
46114
|
+
error_code: {
|
|
46115
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
46116
|
+
enum: ["failed_to_issue"],
|
|
46117
|
+
type: "string"
|
|
46118
|
+
},
|
|
46119
|
+
message: {
|
|
46120
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
46121
|
+
type: "string"
|
|
46122
|
+
}
|
|
46123
|
+
},
|
|
46124
|
+
required: [
|
|
46125
|
+
"created_at",
|
|
46126
|
+
"message",
|
|
46127
|
+
"error_code"
|
|
46128
|
+
],
|
|
46129
|
+
type: "object",
|
|
46130
|
+
"x-resource-type": "access_method"
|
|
46131
|
+
}
|
|
46132
|
+
]
|
|
46133
|
+
},
|
|
46134
|
+
type: "array"
|
|
46135
|
+
},
|
|
45823
46136
|
is_assignment_required: {
|
|
45824
46137
|
description: "Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.",
|
|
45825
46138
|
type: "boolean"
|
|
@@ -46124,6 +46437,31 @@ var openapi = {
|
|
|
46124
46437
|
"warning_code"
|
|
46125
46438
|
],
|
|
46126
46439
|
type: "object"
|
|
46440
|
+
},
|
|
46441
|
+
{
|
|
46442
|
+
description: "Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and this warning clears automatically once issuance succeeds.",
|
|
46443
|
+
properties: {
|
|
46444
|
+
created_at: {
|
|
46445
|
+
description: "Date and time at which Seam created the warning.",
|
|
46446
|
+
format: "date-time",
|
|
46447
|
+
type: "string"
|
|
46448
|
+
},
|
|
46449
|
+
message: {
|
|
46450
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
46451
|
+
type: "string"
|
|
46452
|
+
},
|
|
46453
|
+
warning_code: {
|
|
46454
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
46455
|
+
enum: ["delay_in_issuing"],
|
|
46456
|
+
type: "string"
|
|
46457
|
+
}
|
|
46458
|
+
},
|
|
46459
|
+
required: [
|
|
46460
|
+
"created_at",
|
|
46461
|
+
"message",
|
|
46462
|
+
"warning_code"
|
|
46463
|
+
],
|
|
46464
|
+
type: "object"
|
|
46127
46465
|
}
|
|
46128
46466
|
]
|
|
46129
46467
|
},
|
|
@@ -46144,6 +46482,7 @@ var openapi = {
|
|
|
46144
46482
|
"issued_at",
|
|
46145
46483
|
"is_issued",
|
|
46146
46484
|
"warnings",
|
|
46485
|
+
"errors",
|
|
46147
46486
|
"pending_mutations"
|
|
46148
46487
|
],
|
|
46149
46488
|
type: "object",
|
|
@@ -46223,6 +46562,42 @@ var openapi = {
|
|
|
46223
46562
|
description: "Display name of the access method.",
|
|
46224
46563
|
type: "string"
|
|
46225
46564
|
},
|
|
46565
|
+
errors: {
|
|
46566
|
+
description: "Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).",
|
|
46567
|
+
items: {
|
|
46568
|
+
description: "Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).",
|
|
46569
|
+
discriminator: { propertyName: "error_code" },
|
|
46570
|
+
oneOf: [
|
|
46571
|
+
{
|
|
46572
|
+
description: "Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and this error clears automatically if the access method is eventually issued.",
|
|
46573
|
+
properties: {
|
|
46574
|
+
created_at: {
|
|
46575
|
+
description: "Date and time at which Seam created the error.",
|
|
46576
|
+
format: "date-time",
|
|
46577
|
+
type: "string"
|
|
46578
|
+
},
|
|
46579
|
+
error_code: {
|
|
46580
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
46581
|
+
enum: ["failed_to_issue"],
|
|
46582
|
+
type: "string"
|
|
46583
|
+
},
|
|
46584
|
+
message: {
|
|
46585
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
46586
|
+
type: "string"
|
|
46587
|
+
}
|
|
46588
|
+
},
|
|
46589
|
+
required: [
|
|
46590
|
+
"created_at",
|
|
46591
|
+
"message",
|
|
46592
|
+
"error_code"
|
|
46593
|
+
],
|
|
46594
|
+
type: "object",
|
|
46595
|
+
"x-resource-type": "access_method"
|
|
46596
|
+
}
|
|
46597
|
+
]
|
|
46598
|
+
},
|
|
46599
|
+
type: "array"
|
|
46600
|
+
},
|
|
46226
46601
|
is_assignment_required: {
|
|
46227
46602
|
description: "Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.",
|
|
46228
46603
|
type: "boolean"
|
|
@@ -46527,6 +46902,31 @@ var openapi = {
|
|
|
46527
46902
|
"warning_code"
|
|
46528
46903
|
],
|
|
46529
46904
|
type: "object"
|
|
46905
|
+
},
|
|
46906
|
+
{
|
|
46907
|
+
description: "Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and this warning clears automatically once issuance succeeds.",
|
|
46908
|
+
properties: {
|
|
46909
|
+
created_at: {
|
|
46910
|
+
description: "Date and time at which Seam created the warning.",
|
|
46911
|
+
format: "date-time",
|
|
46912
|
+
type: "string"
|
|
46913
|
+
},
|
|
46914
|
+
message: {
|
|
46915
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
46916
|
+
type: "string"
|
|
46917
|
+
},
|
|
46918
|
+
warning_code: {
|
|
46919
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
46920
|
+
enum: ["delay_in_issuing"],
|
|
46921
|
+
type: "string"
|
|
46922
|
+
}
|
|
46923
|
+
},
|
|
46924
|
+
required: [
|
|
46925
|
+
"created_at",
|
|
46926
|
+
"message",
|
|
46927
|
+
"warning_code"
|
|
46928
|
+
],
|
|
46929
|
+
type: "object"
|
|
46530
46930
|
}
|
|
46531
46931
|
]
|
|
46532
46932
|
},
|
|
@@ -46547,6 +46947,7 @@ var openapi = {
|
|
|
46547
46947
|
"issued_at",
|
|
46548
46948
|
"is_issued",
|
|
46549
46949
|
"warnings",
|
|
46950
|
+
"errors",
|
|
46550
46951
|
"pending_mutations"
|
|
46551
46952
|
],
|
|
46552
46953
|
type: "object",
|
|
@@ -46654,6 +47055,42 @@ var openapi = {
|
|
|
46654
47055
|
description: "Display name of the access method.",
|
|
46655
47056
|
type: "string"
|
|
46656
47057
|
},
|
|
47058
|
+
errors: {
|
|
47059
|
+
description: "Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).",
|
|
47060
|
+
items: {
|
|
47061
|
+
description: "Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).",
|
|
47062
|
+
discriminator: { propertyName: "error_code" },
|
|
47063
|
+
oneOf: [
|
|
47064
|
+
{
|
|
47065
|
+
description: "Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and this error clears automatically if the access method is eventually issued.",
|
|
47066
|
+
properties: {
|
|
47067
|
+
created_at: {
|
|
47068
|
+
description: "Date and time at which Seam created the error.",
|
|
47069
|
+
format: "date-time",
|
|
47070
|
+
type: "string"
|
|
47071
|
+
},
|
|
47072
|
+
error_code: {
|
|
47073
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
47074
|
+
enum: ["failed_to_issue"],
|
|
47075
|
+
type: "string"
|
|
47076
|
+
},
|
|
47077
|
+
message: {
|
|
47078
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
47079
|
+
type: "string"
|
|
47080
|
+
}
|
|
47081
|
+
},
|
|
47082
|
+
required: [
|
|
47083
|
+
"created_at",
|
|
47084
|
+
"message",
|
|
47085
|
+
"error_code"
|
|
47086
|
+
],
|
|
47087
|
+
type: "object",
|
|
47088
|
+
"x-resource-type": "access_method"
|
|
47089
|
+
}
|
|
47090
|
+
]
|
|
47091
|
+
},
|
|
47092
|
+
type: "array"
|
|
47093
|
+
},
|
|
46657
47094
|
is_assignment_required: {
|
|
46658
47095
|
description: "Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.",
|
|
46659
47096
|
type: "boolean"
|
|
@@ -46958,6 +47395,31 @@ var openapi = {
|
|
|
46958
47395
|
"warning_code"
|
|
46959
47396
|
],
|
|
46960
47397
|
type: "object"
|
|
47398
|
+
},
|
|
47399
|
+
{
|
|
47400
|
+
description: "Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and this warning clears automatically once issuance succeeds.",
|
|
47401
|
+
properties: {
|
|
47402
|
+
created_at: {
|
|
47403
|
+
description: "Date and time at which Seam created the warning.",
|
|
47404
|
+
format: "date-time",
|
|
47405
|
+
type: "string"
|
|
47406
|
+
},
|
|
47407
|
+
message: {
|
|
47408
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
47409
|
+
type: "string"
|
|
47410
|
+
},
|
|
47411
|
+
warning_code: {
|
|
47412
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
47413
|
+
enum: ["delay_in_issuing"],
|
|
47414
|
+
type: "string"
|
|
47415
|
+
}
|
|
47416
|
+
},
|
|
47417
|
+
required: [
|
|
47418
|
+
"created_at",
|
|
47419
|
+
"message",
|
|
47420
|
+
"warning_code"
|
|
47421
|
+
],
|
|
47422
|
+
type: "object"
|
|
46961
47423
|
}
|
|
46962
47424
|
]
|
|
46963
47425
|
},
|
|
@@ -46978,6 +47440,7 @@ var openapi = {
|
|
|
46978
47440
|
"issued_at",
|
|
46979
47441
|
"is_issued",
|
|
46980
47442
|
"warnings",
|
|
47443
|
+
"errors",
|
|
46981
47444
|
"pending_mutations"
|
|
46982
47445
|
],
|
|
46983
47446
|
type: "object",
|
|
@@ -47076,6 +47539,42 @@ var openapi = {
|
|
|
47076
47539
|
description: "Display name of the access method.",
|
|
47077
47540
|
type: "string"
|
|
47078
47541
|
},
|
|
47542
|
+
errors: {
|
|
47543
|
+
description: "Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).",
|
|
47544
|
+
items: {
|
|
47545
|
+
description: "Error associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).",
|
|
47546
|
+
discriminator: { propertyName: "error_code" },
|
|
47547
|
+
oneOf: [
|
|
47548
|
+
{
|
|
47549
|
+
description: "Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and this error clears automatically if the access method is eventually issued.",
|
|
47550
|
+
properties: {
|
|
47551
|
+
created_at: {
|
|
47552
|
+
description: "Date and time at which Seam created the error.",
|
|
47553
|
+
format: "date-time",
|
|
47554
|
+
type: "string"
|
|
47555
|
+
},
|
|
47556
|
+
error_code: {
|
|
47557
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
47558
|
+
enum: ["failed_to_issue"],
|
|
47559
|
+
type: "string"
|
|
47560
|
+
},
|
|
47561
|
+
message: {
|
|
47562
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
47563
|
+
type: "string"
|
|
47564
|
+
}
|
|
47565
|
+
},
|
|
47566
|
+
required: [
|
|
47567
|
+
"created_at",
|
|
47568
|
+
"message",
|
|
47569
|
+
"error_code"
|
|
47570
|
+
],
|
|
47571
|
+
type: "object",
|
|
47572
|
+
"x-resource-type": "access_method"
|
|
47573
|
+
}
|
|
47574
|
+
]
|
|
47575
|
+
},
|
|
47576
|
+
type: "array"
|
|
47577
|
+
},
|
|
47079
47578
|
is_assignment_required: {
|
|
47080
47579
|
description: "Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.",
|
|
47081
47580
|
type: "boolean"
|
|
@@ -47380,6 +47879,31 @@ var openapi = {
|
|
|
47380
47879
|
"warning_code"
|
|
47381
47880
|
],
|
|
47382
47881
|
type: "object"
|
|
47882
|
+
},
|
|
47883
|
+
{
|
|
47884
|
+
description: "Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and this warning clears automatically once issuance succeeds.",
|
|
47885
|
+
properties: {
|
|
47886
|
+
created_at: {
|
|
47887
|
+
description: "Date and time at which Seam created the warning.",
|
|
47888
|
+
format: "date-time",
|
|
47889
|
+
type: "string"
|
|
47890
|
+
},
|
|
47891
|
+
message: {
|
|
47892
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
47893
|
+
type: "string"
|
|
47894
|
+
},
|
|
47895
|
+
warning_code: {
|
|
47896
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
47897
|
+
enum: ["delay_in_issuing"],
|
|
47898
|
+
type: "string"
|
|
47899
|
+
}
|
|
47900
|
+
},
|
|
47901
|
+
required: [
|
|
47902
|
+
"created_at",
|
|
47903
|
+
"message",
|
|
47904
|
+
"warning_code"
|
|
47905
|
+
],
|
|
47906
|
+
type: "object"
|
|
47383
47907
|
}
|
|
47384
47908
|
]
|
|
47385
47909
|
},
|
|
@@ -47400,6 +47924,7 @@ var openapi = {
|
|
|
47400
47924
|
"issued_at",
|
|
47401
47925
|
"is_issued",
|
|
47402
47926
|
"warnings",
|
|
47927
|
+
"errors",
|
|
47403
47928
|
"pending_mutations"
|
|
47404
47929
|
],
|
|
47405
47930
|
type: "object",
|
|
@@ -54908,6 +55433,7 @@ var openapi = {
|
|
|
54908
55433
|
"doorking",
|
|
54909
55434
|
"salto",
|
|
54910
55435
|
"salto_ks",
|
|
55436
|
+
"salto_ks_accept",
|
|
54911
55437
|
"lockly",
|
|
54912
55438
|
"ttlock",
|
|
54913
55439
|
"linear",
|
|
@@ -62982,6 +63508,8 @@ var openapi = {
|
|
|
62982
63508
|
"access_method.deleted",
|
|
62983
63509
|
"access_method.reissued",
|
|
62984
63510
|
"access_method.created",
|
|
63511
|
+
"access_method.delay_in_issuing",
|
|
63512
|
+
"access_method.failed_to_issue",
|
|
62985
63513
|
"acs_system.connected",
|
|
62986
63514
|
"acs_system.added",
|
|
62987
63515
|
"acs_system.disconnected",
|
|
@@ -63100,6 +63628,8 @@ var openapi = {
|
|
|
63100
63628
|
"access_method.deleted",
|
|
63101
63629
|
"access_method.reissued",
|
|
63102
63630
|
"access_method.created",
|
|
63631
|
+
"access_method.delay_in_issuing",
|
|
63632
|
+
"access_method.failed_to_issue",
|
|
63103
63633
|
"acs_system.connected",
|
|
63104
63634
|
"acs_system.added",
|
|
63105
63635
|
"acs_system.disconnected",
|
|
@@ -63518,6 +64048,8 @@ var openapi = {
|
|
|
63518
64048
|
"access_method.deleted",
|
|
63519
64049
|
"access_method.reissued",
|
|
63520
64050
|
"access_method.created",
|
|
64051
|
+
"access_method.delay_in_issuing",
|
|
64052
|
+
"access_method.failed_to_issue",
|
|
63521
64053
|
"acs_system.connected",
|
|
63522
64054
|
"acs_system.added",
|
|
63523
64055
|
"acs_system.disconnected",
|
|
@@ -63632,6 +64164,8 @@ var openapi = {
|
|
|
63632
64164
|
"access_method.deleted",
|
|
63633
64165
|
"access_method.reissued",
|
|
63634
64166
|
"access_method.created",
|
|
64167
|
+
"access_method.delay_in_issuing",
|
|
64168
|
+
"access_method.failed_to_issue",
|
|
63635
64169
|
"acs_system.connected",
|
|
63636
64170
|
"acs_system.added",
|
|
63637
64171
|
"acs_system.disconnected",
|
|
@@ -76086,6 +76620,8 @@ var openapi = {
|
|
|
76086
76620
|
"access_method.deleted",
|
|
76087
76621
|
"access_method.reissued",
|
|
76088
76622
|
"access_method.created",
|
|
76623
|
+
"access_method.delay_in_issuing",
|
|
76624
|
+
"access_method.failed_to_issue",
|
|
76089
76625
|
"acs_system.connected",
|
|
76090
76626
|
"acs_system.added",
|
|
76091
76627
|
"acs_system.disconnected",
|
|
@@ -76205,6 +76741,8 @@ var openapi = {
|
|
|
76205
76741
|
"access_method.deleted",
|
|
76206
76742
|
"access_method.reissued",
|
|
76207
76743
|
"access_method.created",
|
|
76744
|
+
"access_method.delay_in_issuing",
|
|
76745
|
+
"access_method.failed_to_issue",
|
|
76208
76746
|
"acs_system.connected",
|
|
76209
76747
|
"acs_system.added",
|
|
76210
76748
|
"acs_system.disconnected",
|
|
@@ -76385,6 +76923,8 @@ var openapi = {
|
|
|
76385
76923
|
"access_method.deleted",
|
|
76386
76924
|
"access_method.reissued",
|
|
76387
76925
|
"access_method.created",
|
|
76926
|
+
"access_method.delay_in_issuing",
|
|
76927
|
+
"access_method.failed_to_issue",
|
|
76388
76928
|
"acs_system.connected",
|
|
76389
76929
|
"acs_system.added",
|
|
76390
76930
|
"acs_system.disconnected",
|
|
@@ -76499,6 +77039,8 @@ var openapi = {
|
|
|
76499
77039
|
"access_method.deleted",
|
|
76500
77040
|
"access_method.reissued",
|
|
76501
77041
|
"access_method.created",
|
|
77042
|
+
"access_method.delay_in_issuing",
|
|
77043
|
+
"access_method.failed_to_issue",
|
|
76502
77044
|
"acs_system.connected",
|
|
76503
77045
|
"acs_system.added",
|
|
76504
77046
|
"acs_system.disconnected",
|