@seamapi/types 1.286.1 → 1.286.3
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 +205 -60
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +458 -211
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +14 -14
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +18 -18
- package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/{encode-card.d.ts → encode-credential.d.ts} +11 -11
- package/lib/seam/connect/models/action-attempts/{encode-card.js → encode-credential.js} +6 -6
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/{scan-card.d.ts → scan-credential.d.ts} +11 -11
- package/lib/seam/connect/models/action-attempts/{scan-card.js → scan-credential.js} +7 -7
- package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +13 -0
- package/lib/seam/connect/models/devices/device-metadata.js +3 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +5 -3
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +22 -3
- package/lib/seam/connect/models/devices/phone.d.ts +14 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +16 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +61 -0
- package/lib/seam/connect/models/events/acs/credentials.js +9 -1
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/models/events/acs/index.d.ts +30 -0
- package/lib/seam/connect/models/events/action-attempts.d.ts +177 -0
- package/lib/seam/connect/models/events/action-attempts.js +16 -0
- package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +147 -1
- package/lib/seam/connect/models/events/seam-event.js +2 -0
- package/lib/seam/connect/models/events/seam-event.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +24 -2
- package/lib/seam/connect/openapi.js +133 -37
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +217 -170
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -4
- package/src/lib/seam/connect/models/action-attempts/{encode-card.ts → encode-credential.ts} +8 -6
- package/src/lib/seam/connect/models/action-attempts/{scan-card.ts → scan-credential.ts} +9 -7
- package/src/lib/seam/connect/models/devices/device-metadata.ts +3 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/models/events/acs/credentials.ts +10 -1
- package/src/lib/seam/connect/models/events/action-attempts.ts +19 -0
- package/src/lib/seam/connect/models/events/seam-event.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +138 -37
- package/src/lib/seam/connect/route-types.ts +245 -170
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/scan-card.js.map +0 -1
package/dist/connect.cjs
CHANGED
|
@@ -671,6 +671,9 @@ var device_metadata = zod.z.object({
|
|
|
671
671
|
* Group ID to add users to for this device
|
|
672
672
|
*/
|
|
673
673
|
_member_group_id: zod.z.string().optional()
|
|
674
|
+
}),
|
|
675
|
+
assa_abloy_vostio_metadata: zod.z.object({
|
|
676
|
+
encoder_id: zod.z.string()
|
|
674
677
|
})
|
|
675
678
|
}).partial();
|
|
676
679
|
var LOCK_DEVICE_TYPE = {
|
|
@@ -731,7 +734,8 @@ var phone_device_type = zod.z.enum(
|
|
|
731
734
|
Object.values(PHONE_DEVICE_TYPE_LIST)
|
|
732
735
|
);
|
|
733
736
|
var ENCODER_DEVICE_TYPE = {
|
|
734
|
-
VISIONLINE_ENCODER: "visionline_encoder"
|
|
737
|
+
VISIONLINE_ENCODER: "visionline_encoder",
|
|
738
|
+
ASSA_ABLOY_VOSTIO_ENCODER: "assa_abloy_vostio_encoder"
|
|
735
739
|
};
|
|
736
740
|
var ENCODER_DEVICE_TYPE_LIST = Object.values(ENCODER_DEVICE_TYPE);
|
|
737
741
|
var encoder_device_type = zod.z.enum(
|
|
@@ -1794,7 +1798,7 @@ var deprecated_action_attempts = [
|
|
|
1794
1798
|
...delete_noise_threshold_action_attempt.options,
|
|
1795
1799
|
...update_noise_threshold_action_attempt.options
|
|
1796
1800
|
];
|
|
1797
|
-
var action_type2 = zod.z.literal("
|
|
1801
|
+
var action_type2 = zod.z.literal("ENCODE_CREDENTIAL");
|
|
1798
1802
|
var no_card_on_encoder_error = zod.z.object({
|
|
1799
1803
|
type: zod.z.literal("no_card_on_encoder"),
|
|
1800
1804
|
message: zod.z.string()
|
|
@@ -1809,15 +1813,15 @@ var error3 = zod.z.union([
|
|
|
1809
1813
|
incompatible_card_format_error
|
|
1810
1814
|
]);
|
|
1811
1815
|
var result3 = acs_credential.or(unmanaged_acs_credential);
|
|
1812
|
-
var
|
|
1816
|
+
var encode_credential_action_attempt = zod.z.discriminatedUnion("status", [
|
|
1813
1817
|
common_pending_action_attempt.extend({
|
|
1814
1818
|
action_type: action_type2
|
|
1815
|
-
}).describe("Encoding
|
|
1819
|
+
}).describe("Encoding credential data from physical encoder."),
|
|
1816
1820
|
common_succeeded_action_attempt.extend({
|
|
1817
1821
|
action_type: action_type2,
|
|
1818
1822
|
result: result3
|
|
1819
|
-
}).describe("Encoding
|
|
1820
|
-
common_failed_action_attempt.extend({ action_type: action_type2, error: error3 }).describe("Encoding
|
|
1823
|
+
}).describe("Encoding credential data from physical encoder succeeded."),
|
|
1824
|
+
common_failed_action_attempt.extend({ action_type: action_type2, error: error3 }).describe("Encoding credential data from physical encoder failed.")
|
|
1821
1825
|
]);
|
|
1822
1826
|
var action_type3 = zod.z.literal("LOCK_DOOR");
|
|
1823
1827
|
var error4 = zod.z.object({
|
|
@@ -1857,7 +1861,7 @@ var reset_sandbox_workspace_action_attempt = zod.z.discriminatedUnion(
|
|
|
1857
1861
|
}).describe("Resetting sandbox workspace failed.")
|
|
1858
1862
|
]
|
|
1859
1863
|
);
|
|
1860
|
-
var action_type5 = zod.z.literal("
|
|
1864
|
+
var action_type5 = zod.z.literal("SCAN_CREDENTIAL");
|
|
1861
1865
|
var no_card_on_encoder_error2 = zod.z.object({
|
|
1862
1866
|
type: zod.z.literal("no_card_on_encoder"),
|
|
1863
1867
|
message: zod.z.string()
|
|
@@ -1873,20 +1877,20 @@ var warning = zod.z.object({
|
|
|
1873
1877
|
var acs_credential_on_seam = acs_credential.or(unmanaged_acs_credential);
|
|
1874
1878
|
var result6 = zod.z.object({
|
|
1875
1879
|
acs_credential_on_encoder: acs_credential_on_encoder.describe(
|
|
1876
|
-
"Snapshot of
|
|
1880
|
+
"Snapshot of credential data read from physical encoder."
|
|
1877
1881
|
),
|
|
1878
1882
|
acs_credential_on_seam: acs_credential_on_seam.nullable().describe("Matching acs_credential currently encoded on this card."),
|
|
1879
1883
|
warnings: zod.z.array(warning)
|
|
1880
1884
|
});
|
|
1881
|
-
var
|
|
1885
|
+
var scan_credential_action_attempt = zod.z.discriminatedUnion("status", [
|
|
1882
1886
|
common_pending_action_attempt.extend({
|
|
1883
1887
|
action_type: action_type5
|
|
1884
|
-
}).describe("Reading
|
|
1888
|
+
}).describe("Reading credential data from physical encoder."),
|
|
1885
1889
|
common_succeeded_action_attempt.extend({
|
|
1886
1890
|
action_type: action_type5,
|
|
1887
1891
|
result: result6
|
|
1888
|
-
}).describe("Reading
|
|
1889
|
-
common_failed_action_attempt.extend({ action_type: action_type5, error: error6 }).describe("Reading
|
|
1892
|
+
}).describe("Reading credential data from physical encoder succeeded."),
|
|
1893
|
+
common_failed_action_attempt.extend({ action_type: action_type5, error: error6 }).describe("Reading credential data from physical encoder failed.")
|
|
1890
1894
|
]);
|
|
1891
1895
|
var action_type6 = zod.z.literal("SET_COOL");
|
|
1892
1896
|
var error7 = zod.z.object({
|
|
@@ -1992,8 +1996,8 @@ var unlock_door_action_attempt = zod.z.discriminatedUnion("status", [
|
|
|
1992
1996
|
var action_attempt = zod.z.union([
|
|
1993
1997
|
...lock_door_action_attempt.options,
|
|
1994
1998
|
...unlock_door_action_attempt.options,
|
|
1995
|
-
...
|
|
1996
|
-
...
|
|
1999
|
+
...scan_credential_action_attempt.options,
|
|
2000
|
+
...encode_credential_action_attempt.options,
|
|
1997
2001
|
...reset_sandbox_workspace_action_attempt.options,
|
|
1998
2002
|
...set_cool_action_attempt.options,
|
|
1999
2003
|
...set_heat_action_attempt.options,
|
|
@@ -2216,7 +2220,13 @@ var acs_credential_event = common_acs_event.extend({
|
|
|
2216
2220
|
var acs_credential_deleted_event = acs_credential_event.extend({
|
|
2217
2221
|
event_type: zod.z.literal("acs_credential.deleted")
|
|
2218
2222
|
}).describe("An ACS credential was deleted.");
|
|
2219
|
-
var
|
|
2223
|
+
var acs_credential_issued = acs_credential_event.extend({
|
|
2224
|
+
event_type: zod.z.literal("acs_credential.issued")
|
|
2225
|
+
}).describe("An ACS credential was issued.");
|
|
2226
|
+
var acs_credential_events = [
|
|
2227
|
+
acs_credential_deleted_event,
|
|
2228
|
+
acs_credential_issued
|
|
2229
|
+
];
|
|
2220
2230
|
var acs_system_event = common_acs_event.extend({});
|
|
2221
2231
|
var acs_system_connected_event = acs_system_event.extend({
|
|
2222
2232
|
event_type: zod.z.literal("acs_system.connected")
|
|
@@ -2242,6 +2252,44 @@ var acs_events = [
|
|
|
2242
2252
|
...acs_credential_events,
|
|
2243
2253
|
...acs_user_events
|
|
2244
2254
|
];
|
|
2255
|
+
var action_attempt_event = common_event.extend({
|
|
2256
|
+
action_attempt_id: zod.z.string().uuid().describe(`
|
|
2257
|
+
---
|
|
2258
|
+
title: Action Attempt ID
|
|
2259
|
+
---
|
|
2260
|
+
The ID of the action attempt.
|
|
2261
|
+
`),
|
|
2262
|
+
action_type: zod.z.string().describe(`
|
|
2263
|
+
---
|
|
2264
|
+
title: Action Type
|
|
2265
|
+
---
|
|
2266
|
+
The type of action.
|
|
2267
|
+
`),
|
|
2268
|
+
status: zod.z.string().describe(`
|
|
2269
|
+
---
|
|
2270
|
+
title: Status
|
|
2271
|
+
---
|
|
2272
|
+
The status of the action.
|
|
2273
|
+
`)
|
|
2274
|
+
});
|
|
2275
|
+
var action_attempt_lock_door_succeeded_event = action_attempt_event.extend({
|
|
2276
|
+
event_type: zod.z.literal("action_attempt.lock_door.succeeded")
|
|
2277
|
+
}).describe("A lock door action attempt succeeded.");
|
|
2278
|
+
var action_attempt_lock_door_failed_event = action_attempt_event.extend({
|
|
2279
|
+
event_type: zod.z.literal("action_attempt.lock_door.failed")
|
|
2280
|
+
}).describe("A lock door action attempt failed.");
|
|
2281
|
+
var action_attempt_unlock_door_succeeded_event = action_attempt_event.extend({
|
|
2282
|
+
event_type: zod.z.literal("action_attempt.unlock_door.succeeded")
|
|
2283
|
+
}).describe("An unlock door action attempt succeeded.");
|
|
2284
|
+
var action_attempt_unlock_door_failed_event = action_attempt_event.extend({
|
|
2285
|
+
event_type: zod.z.literal("action_attempt.unlock_door.failed")
|
|
2286
|
+
}).describe("An unlock door action attempt failed.");
|
|
2287
|
+
var action_attempt_events = [
|
|
2288
|
+
action_attempt_lock_door_succeeded_event,
|
|
2289
|
+
action_attempt_lock_door_failed_event,
|
|
2290
|
+
action_attempt_unlock_door_succeeded_event,
|
|
2291
|
+
action_attempt_unlock_door_failed_event
|
|
2292
|
+
];
|
|
2245
2293
|
var client_session_event = common_event.extend({
|
|
2246
2294
|
client_session_id: zod.z.string().uuid().describe(`
|
|
2247
2295
|
---
|
|
@@ -2622,6 +2670,7 @@ var seam_event = zod.z.discriminatedUnion("event_type", [
|
|
|
2622
2670
|
...acs_events,
|
|
2623
2671
|
...client_session_events,
|
|
2624
2672
|
...connected_account_events,
|
|
2673
|
+
...action_attempt_events,
|
|
2625
2674
|
...connect_webview_events,
|
|
2626
2675
|
...device_events,
|
|
2627
2676
|
...enrollment_automation_events,
|
|
@@ -3922,7 +3971,7 @@ var openapi_default = {
|
|
|
3922
3971
|
type: "object"
|
|
3923
3972
|
},
|
|
3924
3973
|
{
|
|
3925
|
-
description: "Reading
|
|
3974
|
+
description: "Reading credential data from physical encoder.",
|
|
3926
3975
|
properties: {
|
|
3927
3976
|
action_attempt_id: {
|
|
3928
3977
|
description: "The ID of the action attempt.",
|
|
@@ -3930,7 +3979,7 @@ var openapi_default = {
|
|
|
3930
3979
|
type: "string",
|
|
3931
3980
|
"x-title": "Action Attempt ID"
|
|
3932
3981
|
},
|
|
3933
|
-
action_type: { enum: ["
|
|
3982
|
+
action_type: { enum: ["SCAN_CREDENTIAL"], type: "string" },
|
|
3934
3983
|
error: { nullable: true },
|
|
3935
3984
|
result: { nullable: true },
|
|
3936
3985
|
status: { enum: ["pending"], type: "string" }
|
|
@@ -3945,7 +3994,7 @@ var openapi_default = {
|
|
|
3945
3994
|
type: "object"
|
|
3946
3995
|
},
|
|
3947
3996
|
{
|
|
3948
|
-
description: "Reading
|
|
3997
|
+
description: "Reading credential data from physical encoder succeeded.",
|
|
3949
3998
|
properties: {
|
|
3950
3999
|
action_attempt_id: {
|
|
3951
4000
|
description: "The ID of the action attempt.",
|
|
@@ -3953,12 +4002,12 @@ var openapi_default = {
|
|
|
3953
4002
|
type: "string",
|
|
3954
4003
|
"x-title": "Action Attempt ID"
|
|
3955
4004
|
},
|
|
3956
|
-
action_type: { enum: ["
|
|
4005
|
+
action_type: { enum: ["SCAN_CREDENTIAL"], type: "string" },
|
|
3957
4006
|
error: { nullable: true },
|
|
3958
4007
|
result: {
|
|
3959
4008
|
properties: {
|
|
3960
4009
|
acs_credential_on_encoder: {
|
|
3961
|
-
description: "Snapshot of
|
|
4010
|
+
description: "Snapshot of credential data read from physical encoder.",
|
|
3962
4011
|
properties: {
|
|
3963
4012
|
card_number: {
|
|
3964
4013
|
description: "A number or string that physically identifies this card.",
|
|
@@ -4392,7 +4441,7 @@ var openapi_default = {
|
|
|
4392
4441
|
type: "object"
|
|
4393
4442
|
},
|
|
4394
4443
|
{
|
|
4395
|
-
description: "Reading
|
|
4444
|
+
description: "Reading credential data from physical encoder failed.",
|
|
4396
4445
|
properties: {
|
|
4397
4446
|
action_attempt_id: {
|
|
4398
4447
|
description: "The ID of the action attempt.",
|
|
@@ -4400,7 +4449,7 @@ var openapi_default = {
|
|
|
4400
4449
|
type: "string",
|
|
4401
4450
|
"x-title": "Action Attempt ID"
|
|
4402
4451
|
},
|
|
4403
|
-
action_type: { enum: ["
|
|
4452
|
+
action_type: { enum: ["SCAN_CREDENTIAL"], type: "string" },
|
|
4404
4453
|
error: {
|
|
4405
4454
|
oneOf: [
|
|
4406
4455
|
{
|
|
@@ -4445,7 +4494,7 @@ var openapi_default = {
|
|
|
4445
4494
|
type: "object"
|
|
4446
4495
|
},
|
|
4447
4496
|
{
|
|
4448
|
-
description: "Encoding
|
|
4497
|
+
description: "Encoding credential data from physical encoder.",
|
|
4449
4498
|
properties: {
|
|
4450
4499
|
action_attempt_id: {
|
|
4451
4500
|
description: "The ID of the action attempt.",
|
|
@@ -4453,7 +4502,7 @@ var openapi_default = {
|
|
|
4453
4502
|
type: "string",
|
|
4454
4503
|
"x-title": "Action Attempt ID"
|
|
4455
4504
|
},
|
|
4456
|
-
action_type: { enum: ["
|
|
4505
|
+
action_type: { enum: ["ENCODE_CREDENTIAL"], type: "string" },
|
|
4457
4506
|
error: { nullable: true },
|
|
4458
4507
|
result: { nullable: true },
|
|
4459
4508
|
status: { enum: ["pending"], type: "string" }
|
|
@@ -4468,7 +4517,7 @@ var openapi_default = {
|
|
|
4468
4517
|
type: "object"
|
|
4469
4518
|
},
|
|
4470
4519
|
{
|
|
4471
|
-
description: "Encoding
|
|
4520
|
+
description: "Encoding credential data from physical encoder succeeded.",
|
|
4472
4521
|
properties: {
|
|
4473
4522
|
action_attempt_id: {
|
|
4474
4523
|
description: "The ID of the action attempt.",
|
|
@@ -4476,7 +4525,7 @@ var openapi_default = {
|
|
|
4476
4525
|
type: "string",
|
|
4477
4526
|
"x-title": "Action Attempt ID"
|
|
4478
4527
|
},
|
|
4479
|
-
action_type: { enum: ["
|
|
4528
|
+
action_type: { enum: ["ENCODE_CREDENTIAL"], type: "string" },
|
|
4480
4529
|
error: { nullable: true },
|
|
4481
4530
|
result: {
|
|
4482
4531
|
description: "Means by which a user gains access at an entrance.\n\n The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
|
|
@@ -4813,7 +4862,7 @@ var openapi_default = {
|
|
|
4813
4862
|
type: "object"
|
|
4814
4863
|
},
|
|
4815
4864
|
{
|
|
4816
|
-
description: "Encoding
|
|
4865
|
+
description: "Encoding credential data from physical encoder failed.",
|
|
4817
4866
|
properties: {
|
|
4818
4867
|
action_attempt_id: {
|
|
4819
4868
|
description: "The ID of the action attempt.",
|
|
@@ -4821,7 +4870,7 @@ var openapi_default = {
|
|
|
4821
4870
|
type: "string",
|
|
4822
4871
|
"x-title": "Action Attempt ID"
|
|
4823
4872
|
},
|
|
4824
|
-
action_type: { enum: ["
|
|
4873
|
+
action_type: { enum: ["ENCODE_CREDENTIAL"], type: "string" },
|
|
4825
4874
|
error: {
|
|
4826
4875
|
oneOf: [
|
|
4827
4876
|
{
|
|
@@ -6204,7 +6253,10 @@ var openapi_default = {
|
|
|
6204
6253
|
type: "string"
|
|
6205
6254
|
},
|
|
6206
6255
|
{ enum: ["ios_phone", "android_phone"], type: "string" },
|
|
6207
|
-
{
|
|
6256
|
+
{
|
|
6257
|
+
enum: ["visionline_encoder", "assa_abloy_vostio_encoder"],
|
|
6258
|
+
type: "string"
|
|
6259
|
+
}
|
|
6208
6260
|
]
|
|
6209
6261
|
},
|
|
6210
6262
|
display_name: {
|
|
@@ -6471,6 +6523,11 @@ var openapi_default = {
|
|
|
6471
6523
|
required: ["gadget_name", "gadget_id"],
|
|
6472
6524
|
type: "object"
|
|
6473
6525
|
},
|
|
6526
|
+
assa_abloy_vostio_metadata: {
|
|
6527
|
+
properties: { encoder_id: { type: "string" } },
|
|
6528
|
+
required: ["encoder_id"],
|
|
6529
|
+
type: "object"
|
|
6530
|
+
},
|
|
6474
6531
|
august_metadata: {
|
|
6475
6532
|
properties: {
|
|
6476
6533
|
has_keypad: { type: "boolean" },
|
|
@@ -7944,7 +8001,10 @@ var openapi_default = {
|
|
|
7944
8001
|
type: "string"
|
|
7945
8002
|
},
|
|
7946
8003
|
{ enum: ["ios_phone", "android_phone"], type: "string" },
|
|
7947
|
-
{
|
|
8004
|
+
{
|
|
8005
|
+
enum: ["visionline_encoder", "assa_abloy_vostio_encoder"],
|
|
8006
|
+
type: "string"
|
|
8007
|
+
}
|
|
7948
8008
|
]
|
|
7949
8009
|
},
|
|
7950
8010
|
errors: {
|
|
@@ -9564,7 +9624,8 @@ var openapi_default = {
|
|
|
9564
9624
|
tags: ["/acs"],
|
|
9565
9625
|
"x-fern-sdk-group-name": ["acs", "access_groups"],
|
|
9566
9626
|
"x-fern-sdk-method-name": "add_user",
|
|
9567
|
-
"x-response-key": null
|
|
9627
|
+
"x-response-key": null,
|
|
9628
|
+
"x-title": "Add an ACS User to an Access Group"
|
|
9568
9629
|
},
|
|
9569
9630
|
put: {
|
|
9570
9631
|
description: "Adds a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups).",
|
|
@@ -9615,7 +9676,8 @@ var openapi_default = {
|
|
|
9615
9676
|
summary: "/acs/access_groups/add_user",
|
|
9616
9677
|
tags: ["/acs"],
|
|
9617
9678
|
"x-fern-ignore": true,
|
|
9618
|
-
"x-response-key": null
|
|
9679
|
+
"x-response-key": null,
|
|
9680
|
+
"x-title": "Add an ACS User to an Access Group"
|
|
9619
9681
|
}
|
|
9620
9682
|
},
|
|
9621
9683
|
"/acs/access_groups/get": {
|
|
@@ -9670,7 +9732,8 @@ var openapi_default = {
|
|
|
9670
9732
|
"x-fern-sdk-group-name": ["acs", "access_groups"],
|
|
9671
9733
|
"x-fern-sdk-method-name": "get",
|
|
9672
9734
|
"x-fern-sdk-return-value": "acs_access_group",
|
|
9673
|
-
"x-response-key": "acs_access_group"
|
|
9735
|
+
"x-response-key": "acs_access_group",
|
|
9736
|
+
"x-title": "Get an Access Group"
|
|
9674
9737
|
}
|
|
9675
9738
|
},
|
|
9676
9739
|
"/acs/access_groups/list": {
|
|
@@ -9730,7 +9793,8 @@ var openapi_default = {
|
|
|
9730
9793
|
"x-fern-sdk-group-name": ["acs", "access_groups"],
|
|
9731
9794
|
"x-fern-sdk-method-name": "list",
|
|
9732
9795
|
"x-fern-sdk-return-value": "acs_access_groups",
|
|
9733
|
-
"x-response-key": "acs_access_groups"
|
|
9796
|
+
"x-response-key": "acs_access_groups",
|
|
9797
|
+
"x-title": "List Access Groups"
|
|
9734
9798
|
}
|
|
9735
9799
|
},
|
|
9736
9800
|
"/acs/access_groups/list_accessible_entrances": {
|
|
@@ -9786,7 +9850,8 @@ var openapi_default = {
|
|
|
9786
9850
|
"x-fern-sdk-group-name": ["acs", "access_groups"],
|
|
9787
9851
|
"x-fern-sdk-method-name": "list_accessible_entrances",
|
|
9788
9852
|
"x-fern-sdk-return-value": "acs_entrances",
|
|
9789
|
-
"x-response-key": "acs_entrances"
|
|
9853
|
+
"x-response-key": "acs_entrances",
|
|
9854
|
+
"x-title": "List Entrances Accessible to an Access Group"
|
|
9790
9855
|
}
|
|
9791
9856
|
},
|
|
9792
9857
|
"/acs/access_groups/list_users": {
|
|
@@ -9842,7 +9907,8 @@ var openapi_default = {
|
|
|
9842
9907
|
"x-fern-sdk-group-name": ["acs", "access_groups"],
|
|
9843
9908
|
"x-fern-sdk-method-name": "list_users",
|
|
9844
9909
|
"x-fern-sdk-return-value": "acs_users",
|
|
9845
|
-
"x-response-key": "acs_users"
|
|
9910
|
+
"x-response-key": "acs_users",
|
|
9911
|
+
"x-title": "List ACS Users in an Access Group"
|
|
9846
9912
|
}
|
|
9847
9913
|
},
|
|
9848
9914
|
"/acs/access_groups/remove_user": {
|
|
@@ -9896,7 +9962,8 @@ var openapi_default = {
|
|
|
9896
9962
|
tags: ["/acs"],
|
|
9897
9963
|
"x-fern-sdk-group-name": ["acs", "access_groups"],
|
|
9898
9964
|
"x-fern-sdk-method-name": "remove_user",
|
|
9899
|
-
"x-response-key": null
|
|
9965
|
+
"x-response-key": null,
|
|
9966
|
+
"x-title": "Remove an ACS User from an Access Group"
|
|
9900
9967
|
}
|
|
9901
9968
|
},
|
|
9902
9969
|
"/acs/access_groups/unmanaged/get": {
|
|
@@ -10451,6 +10518,7 @@ var openapi_default = {
|
|
|
10451
10518
|
description: "Visionline-specific metadata for the new credential.",
|
|
10452
10519
|
properties: {
|
|
10453
10520
|
assa_abloy_credential_service_mobile_endpoint_id: {
|
|
10521
|
+
description: "DEPRECATED: DO NOT USE",
|
|
10454
10522
|
format: "uuid",
|
|
10455
10523
|
type: "string"
|
|
10456
10524
|
},
|
|
@@ -11519,16 +11587,24 @@ var openapi_default = {
|
|
|
11519
11587
|
"x-title": "Update a Credential"
|
|
11520
11588
|
}
|
|
11521
11589
|
},
|
|
11522
|
-
"/acs/encoders/
|
|
11590
|
+
"/acs/encoders/encode_credential": {
|
|
11523
11591
|
post: {
|
|
11524
|
-
operationId: "
|
|
11592
|
+
operationId: "acsEncodersEncodeCredentialPost",
|
|
11525
11593
|
requestBody: {
|
|
11526
11594
|
content: {
|
|
11527
11595
|
"application/json": {
|
|
11528
11596
|
schema: {
|
|
11529
11597
|
properties: {
|
|
11530
|
-
acs_credential_id: {
|
|
11531
|
-
|
|
11598
|
+
acs_credential_id: {
|
|
11599
|
+
description: "ID of the acs_credential to encode on a physical card.",
|
|
11600
|
+
format: "uuid",
|
|
11601
|
+
type: "string"
|
|
11602
|
+
},
|
|
11603
|
+
device_id: {
|
|
11604
|
+
description: "ID of the encoder to use for the encoding.",
|
|
11605
|
+
format: "uuid",
|
|
11606
|
+
type: "string"
|
|
11607
|
+
}
|
|
11532
11608
|
},
|
|
11533
11609
|
required: ["device_id", "acs_credential_id"],
|
|
11534
11610
|
type: "object"
|
|
@@ -11562,10 +11638,10 @@ var openapi_default = {
|
|
|
11562
11638
|
{ console_session: [] },
|
|
11563
11639
|
{ api_key: [] }
|
|
11564
11640
|
],
|
|
11565
|
-
summary: "/acs/encoders/
|
|
11641
|
+
summary: "/acs/encoders/encode_credential",
|
|
11566
11642
|
tags: ["/acs"],
|
|
11567
11643
|
"x-fern-sdk-group-name": ["acs", "encoders"],
|
|
11568
|
-
"x-fern-sdk-method-name": "
|
|
11644
|
+
"x-fern-sdk-method-name": "encode_credential",
|
|
11569
11645
|
"x-fern-sdk-return-value": "action_attempt",
|
|
11570
11646
|
"x-response-key": "action_attempt",
|
|
11571
11647
|
"x-undocumented": "Encoding a card is currently unimplemented."
|
|
@@ -11657,16 +11733,24 @@ var openapi_default = {
|
|
|
11657
11733
|
"x-undocumented": "Encoders are in alpha."
|
|
11658
11734
|
}
|
|
11659
11735
|
},
|
|
11660
|
-
"/acs/encoders/
|
|
11736
|
+
"/acs/encoders/scan_credential": {
|
|
11661
11737
|
post: {
|
|
11662
|
-
operationId: "
|
|
11738
|
+
operationId: "acsEncodersScanCredentialPost",
|
|
11663
11739
|
requestBody: {
|
|
11664
11740
|
content: {
|
|
11665
11741
|
"application/json": {
|
|
11666
11742
|
schema: {
|
|
11667
11743
|
properties: {
|
|
11668
|
-
acs_system_id: {
|
|
11669
|
-
|
|
11744
|
+
acs_system_id: {
|
|
11745
|
+
description: "ID of the acs_system the encoder belongs to.",
|
|
11746
|
+
format: "uuid",
|
|
11747
|
+
type: "string"
|
|
11748
|
+
},
|
|
11749
|
+
device_id: {
|
|
11750
|
+
description: "ID of the encoder to use for the scan.",
|
|
11751
|
+
format: "uuid",
|
|
11752
|
+
type: "string"
|
|
11753
|
+
}
|
|
11670
11754
|
},
|
|
11671
11755
|
required: ["acs_system_id", "device_id"],
|
|
11672
11756
|
type: "object"
|
|
@@ -11700,10 +11784,10 @@ var openapi_default = {
|
|
|
11700
11784
|
{ console_session: [] },
|
|
11701
11785
|
{ api_key: [] }
|
|
11702
11786
|
],
|
|
11703
|
-
summary: "/acs/encoders/
|
|
11787
|
+
summary: "/acs/encoders/scan_credential",
|
|
11704
11788
|
tags: ["/acs"],
|
|
11705
11789
|
"x-fern-sdk-group-name": ["acs", "encoders"],
|
|
11706
|
-
"x-fern-sdk-method-name": "
|
|
11790
|
+
"x-fern-sdk-method-name": "scan_credential",
|
|
11707
11791
|
"x-fern-sdk-return-value": "action_attempt",
|
|
11708
11792
|
"x-response-key": "action_attempt",
|
|
11709
11793
|
"x-undocumented": "Reading a card is currently unimplemented."
|
|
@@ -11802,7 +11886,8 @@ var openapi_default = {
|
|
|
11802
11886
|
tags: ["/acs"],
|
|
11803
11887
|
"x-fern-sdk-group-name": ["acs", "entrances"],
|
|
11804
11888
|
"x-fern-sdk-method-name": "grant_access",
|
|
11805
|
-
"x-response-key": null
|
|
11889
|
+
"x-response-key": null,
|
|
11890
|
+
"x-title": "Grant an ACS User Access to an Entrance"
|
|
11806
11891
|
}
|
|
11807
11892
|
},
|
|
11808
11893
|
"/acs/entrances/list": {
|
|
@@ -14903,7 +14988,13 @@ var openapi_default = {
|
|
|
14903
14988
|
type: "string"
|
|
14904
14989
|
},
|
|
14905
14990
|
{ enum: ["ios_phone", "android_phone"], type: "string" },
|
|
14906
|
-
{
|
|
14991
|
+
{
|
|
14992
|
+
enum: [
|
|
14993
|
+
"visionline_encoder",
|
|
14994
|
+
"assa_abloy_vostio_encoder"
|
|
14995
|
+
],
|
|
14996
|
+
type: "string"
|
|
14997
|
+
}
|
|
14907
14998
|
]
|
|
14908
14999
|
},
|
|
14909
15000
|
device_types: {
|
|
@@ -14957,7 +15048,13 @@ var openapi_default = {
|
|
|
14957
15048
|
enum: ["ios_phone", "android_phone"],
|
|
14958
15049
|
type: "string"
|
|
14959
15050
|
},
|
|
14960
|
-
{
|
|
15051
|
+
{
|
|
15052
|
+
enum: [
|
|
15053
|
+
"visionline_encoder",
|
|
15054
|
+
"assa_abloy_vostio_encoder"
|
|
15055
|
+
],
|
|
15056
|
+
type: "string"
|
|
15057
|
+
}
|
|
14961
15058
|
]
|
|
14962
15059
|
},
|
|
14963
15060
|
type: "array"
|
|
@@ -15395,7 +15492,13 @@ var openapi_default = {
|
|
|
15395
15492
|
type: "string"
|
|
15396
15493
|
},
|
|
15397
15494
|
{ enum: ["ios_phone", "android_phone"], type: "string" },
|
|
15398
|
-
{
|
|
15495
|
+
{
|
|
15496
|
+
enum: [
|
|
15497
|
+
"visionline_encoder",
|
|
15498
|
+
"assa_abloy_vostio_encoder"
|
|
15499
|
+
],
|
|
15500
|
+
type: "string"
|
|
15501
|
+
}
|
|
15399
15502
|
]
|
|
15400
15503
|
},
|
|
15401
15504
|
device_types: {
|
|
@@ -15449,7 +15552,13 @@ var openapi_default = {
|
|
|
15449
15552
|
enum: ["ios_phone", "android_phone"],
|
|
15450
15553
|
type: "string"
|
|
15451
15554
|
},
|
|
15452
|
-
{
|
|
15555
|
+
{
|
|
15556
|
+
enum: [
|
|
15557
|
+
"visionline_encoder",
|
|
15558
|
+
"assa_abloy_vostio_encoder"
|
|
15559
|
+
],
|
|
15560
|
+
type: "string"
|
|
15561
|
+
}
|
|
15453
15562
|
]
|
|
15454
15563
|
},
|
|
15455
15564
|
type: "array"
|
|
@@ -16187,7 +16296,13 @@ var openapi_default = {
|
|
|
16187
16296
|
type: "string"
|
|
16188
16297
|
},
|
|
16189
16298
|
{ enum: ["ios_phone", "android_phone"], type: "string" },
|
|
16190
|
-
{
|
|
16299
|
+
{
|
|
16300
|
+
enum: [
|
|
16301
|
+
"visionline_encoder",
|
|
16302
|
+
"assa_abloy_vostio_encoder"
|
|
16303
|
+
],
|
|
16304
|
+
type: "string"
|
|
16305
|
+
}
|
|
16191
16306
|
]
|
|
16192
16307
|
},
|
|
16193
16308
|
device_types: {
|
|
@@ -16241,7 +16356,13 @@ var openapi_default = {
|
|
|
16241
16356
|
enum: ["ios_phone", "android_phone"],
|
|
16242
16357
|
type: "string"
|
|
16243
16358
|
},
|
|
16244
|
-
{
|
|
16359
|
+
{
|
|
16360
|
+
enum: [
|
|
16361
|
+
"visionline_encoder",
|
|
16362
|
+
"assa_abloy_vostio_encoder"
|
|
16363
|
+
],
|
|
16364
|
+
type: "string"
|
|
16365
|
+
}
|
|
16245
16366
|
]
|
|
16246
16367
|
},
|
|
16247
16368
|
type: "array"
|
|
@@ -16641,7 +16762,13 @@ var openapi_default = {
|
|
|
16641
16762
|
type: "string"
|
|
16642
16763
|
},
|
|
16643
16764
|
{ enum: ["ios_phone", "android_phone"], type: "string" },
|
|
16644
|
-
{
|
|
16765
|
+
{
|
|
16766
|
+
enum: [
|
|
16767
|
+
"visionline_encoder",
|
|
16768
|
+
"assa_abloy_vostio_encoder"
|
|
16769
|
+
],
|
|
16770
|
+
type: "string"
|
|
16771
|
+
}
|
|
16645
16772
|
]
|
|
16646
16773
|
},
|
|
16647
16774
|
device_types: {
|
|
@@ -16695,7 +16822,13 @@ var openapi_default = {
|
|
|
16695
16822
|
enum: ["ios_phone", "android_phone"],
|
|
16696
16823
|
type: "string"
|
|
16697
16824
|
},
|
|
16698
|
-
{
|
|
16825
|
+
{
|
|
16826
|
+
enum: [
|
|
16827
|
+
"visionline_encoder",
|
|
16828
|
+
"assa_abloy_vostio_encoder"
|
|
16829
|
+
],
|
|
16830
|
+
type: "string"
|
|
16831
|
+
}
|
|
16699
16832
|
]
|
|
16700
16833
|
},
|
|
16701
16834
|
type: "array"
|
|
@@ -17907,7 +18040,13 @@ var openapi_default = {
|
|
|
17907
18040
|
type: "string"
|
|
17908
18041
|
},
|
|
17909
18042
|
{ enum: ["ios_phone", "android_phone"], type: "string" },
|
|
17910
|
-
{
|
|
18043
|
+
{
|
|
18044
|
+
enum: [
|
|
18045
|
+
"visionline_encoder",
|
|
18046
|
+
"assa_abloy_vostio_encoder"
|
|
18047
|
+
],
|
|
18048
|
+
type: "string"
|
|
18049
|
+
}
|
|
17911
18050
|
]
|
|
17912
18051
|
},
|
|
17913
18052
|
device_types: {
|
|
@@ -17961,7 +18100,13 @@ var openapi_default = {
|
|
|
17961
18100
|
enum: ["ios_phone", "android_phone"],
|
|
17962
18101
|
type: "string"
|
|
17963
18102
|
},
|
|
17964
|
-
{
|
|
18103
|
+
{
|
|
18104
|
+
enum: [
|
|
18105
|
+
"visionline_encoder",
|
|
18106
|
+
"assa_abloy_vostio_encoder"
|
|
18107
|
+
],
|
|
18108
|
+
type: "string"
|
|
18109
|
+
}
|
|
17965
18110
|
]
|
|
17966
18111
|
},
|
|
17967
18112
|
type: "array"
|