@seamapi/types 1.286.0 → 1.286.2
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 +197 -56
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +454 -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 +20 -2
- package/lib/seam/connect/openapi.js +129 -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 +136 -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: {
|
|
@@ -10022,7 +10082,8 @@ var openapi_default = {
|
|
|
10022
10082
|
"x-fern-sdk-group-name": ["acs", "access_groups", "unmanaged"],
|
|
10023
10083
|
"x-fern-sdk-method-name": "get",
|
|
10024
10084
|
"x-fern-sdk-return-value": "acs_access_group",
|
|
10025
|
-
"x-response-key": "acs_access_group"
|
|
10085
|
+
"x-response-key": "acs_access_group",
|
|
10086
|
+
"x-undocumented": "No unmanaged access groups are currently implemented."
|
|
10026
10087
|
}
|
|
10027
10088
|
},
|
|
10028
10089
|
"/acs/access_groups/unmanaged/list": {
|
|
@@ -10155,7 +10216,8 @@ var openapi_default = {
|
|
|
10155
10216
|
"x-fern-sdk-group-name": ["acs", "access_groups", "unmanaged"],
|
|
10156
10217
|
"x-fern-sdk-method-name": "list",
|
|
10157
10218
|
"x-fern-sdk-return-value": "acs_access_groups",
|
|
10158
|
-
"x-response-key": "acs_access_groups"
|
|
10219
|
+
"x-response-key": "acs_access_groups",
|
|
10220
|
+
"x-undocumented": "No unmanaged access groups are currently implemented."
|
|
10159
10221
|
}
|
|
10160
10222
|
},
|
|
10161
10223
|
"/acs/credential_pools/list": {
|
|
@@ -10449,6 +10511,7 @@ var openapi_default = {
|
|
|
10449
10511
|
description: "Visionline-specific metadata for the new credential.",
|
|
10450
10512
|
properties: {
|
|
10451
10513
|
assa_abloy_credential_service_mobile_endpoint_id: {
|
|
10514
|
+
description: "DEPRECATED: DO NOT USE",
|
|
10452
10515
|
format: "uuid",
|
|
10453
10516
|
type: "string"
|
|
10454
10517
|
},
|
|
@@ -11130,7 +11193,8 @@ var openapi_default = {
|
|
|
11130
11193
|
"x-fern-sdk-method-name": "get",
|
|
11131
11194
|
"x-fern-sdk-return-value": "acs_credential",
|
|
11132
11195
|
"x-response-key": "acs_credential",
|
|
11133
|
-
"x-title": "Get an Unmanaged Credential"
|
|
11196
|
+
"x-title": "Get an Unmanaged Credential",
|
|
11197
|
+
"x-undocumented": "No unmanaged credentials are currently implemented."
|
|
11134
11198
|
}
|
|
11135
11199
|
},
|
|
11136
11200
|
"/acs/credentials/unmanaged/list": {
|
|
@@ -11387,7 +11451,8 @@ var openapi_default = {
|
|
|
11387
11451
|
"x-fern-sdk-method-name": "list",
|
|
11388
11452
|
"x-fern-sdk-return-value": "acs_credentials",
|
|
11389
11453
|
"x-response-key": "acs_credentials",
|
|
11390
|
-
"x-title": "List Unmanaged Credentials"
|
|
11454
|
+
"x-title": "List Unmanaged Credentials",
|
|
11455
|
+
"x-undocumented": "No unmanaged credentials are currently implemented."
|
|
11391
11456
|
}
|
|
11392
11457
|
},
|
|
11393
11458
|
"/acs/credentials/update": {
|
|
@@ -11515,16 +11580,24 @@ var openapi_default = {
|
|
|
11515
11580
|
"x-title": "Update a Credential"
|
|
11516
11581
|
}
|
|
11517
11582
|
},
|
|
11518
|
-
"/acs/encoders/
|
|
11583
|
+
"/acs/encoders/encode_credential": {
|
|
11519
11584
|
post: {
|
|
11520
|
-
operationId: "
|
|
11585
|
+
operationId: "acsEncodersEncodeCredentialPost",
|
|
11521
11586
|
requestBody: {
|
|
11522
11587
|
content: {
|
|
11523
11588
|
"application/json": {
|
|
11524
11589
|
schema: {
|
|
11525
11590
|
properties: {
|
|
11526
|
-
acs_credential_id: {
|
|
11527
|
-
|
|
11591
|
+
acs_credential_id: {
|
|
11592
|
+
description: "ID of the acs_credential to encode on a physical card.",
|
|
11593
|
+
format: "uuid",
|
|
11594
|
+
type: "string"
|
|
11595
|
+
},
|
|
11596
|
+
device_id: {
|
|
11597
|
+
description: "ID of the encoder to use for the encoding.",
|
|
11598
|
+
format: "uuid",
|
|
11599
|
+
type: "string"
|
|
11600
|
+
}
|
|
11528
11601
|
},
|
|
11529
11602
|
required: ["device_id", "acs_credential_id"],
|
|
11530
11603
|
type: "object"
|
|
@@ -11558,10 +11631,10 @@ var openapi_default = {
|
|
|
11558
11631
|
{ console_session: [] },
|
|
11559
11632
|
{ api_key: [] }
|
|
11560
11633
|
],
|
|
11561
|
-
summary: "/acs/encoders/
|
|
11634
|
+
summary: "/acs/encoders/encode_credential",
|
|
11562
11635
|
tags: ["/acs"],
|
|
11563
11636
|
"x-fern-sdk-group-name": ["acs", "encoders"],
|
|
11564
|
-
"x-fern-sdk-method-name": "
|
|
11637
|
+
"x-fern-sdk-method-name": "encode_credential",
|
|
11565
11638
|
"x-fern-sdk-return-value": "action_attempt",
|
|
11566
11639
|
"x-response-key": "action_attempt",
|
|
11567
11640
|
"x-undocumented": "Encoding a card is currently unimplemented."
|
|
@@ -11653,16 +11726,24 @@ var openapi_default = {
|
|
|
11653
11726
|
"x-undocumented": "Encoders are in alpha."
|
|
11654
11727
|
}
|
|
11655
11728
|
},
|
|
11656
|
-
"/acs/encoders/
|
|
11729
|
+
"/acs/encoders/scan_credential": {
|
|
11657
11730
|
post: {
|
|
11658
|
-
operationId: "
|
|
11731
|
+
operationId: "acsEncodersScanCredentialPost",
|
|
11659
11732
|
requestBody: {
|
|
11660
11733
|
content: {
|
|
11661
11734
|
"application/json": {
|
|
11662
11735
|
schema: {
|
|
11663
11736
|
properties: {
|
|
11664
|
-
acs_system_id: {
|
|
11665
|
-
|
|
11737
|
+
acs_system_id: {
|
|
11738
|
+
description: "ID of the acs_system the encoder belongs to.",
|
|
11739
|
+
format: "uuid",
|
|
11740
|
+
type: "string"
|
|
11741
|
+
},
|
|
11742
|
+
device_id: {
|
|
11743
|
+
description: "ID of the encoder to use for the scan.",
|
|
11744
|
+
format: "uuid",
|
|
11745
|
+
type: "string"
|
|
11746
|
+
}
|
|
11666
11747
|
},
|
|
11667
11748
|
required: ["acs_system_id", "device_id"],
|
|
11668
11749
|
type: "object"
|
|
@@ -11696,10 +11777,10 @@ var openapi_default = {
|
|
|
11696
11777
|
{ console_session: [] },
|
|
11697
11778
|
{ api_key: [] }
|
|
11698
11779
|
],
|
|
11699
|
-
summary: "/acs/encoders/
|
|
11780
|
+
summary: "/acs/encoders/scan_credential",
|
|
11700
11781
|
tags: ["/acs"],
|
|
11701
11782
|
"x-fern-sdk-group-name": ["acs", "encoders"],
|
|
11702
|
-
"x-fern-sdk-method-name": "
|
|
11783
|
+
"x-fern-sdk-method-name": "scan_credential",
|
|
11703
11784
|
"x-fern-sdk-return-value": "action_attempt",
|
|
11704
11785
|
"x-response-key": "action_attempt",
|
|
11705
11786
|
"x-undocumented": "Reading a card is currently unimplemented."
|
|
@@ -14899,7 +14980,13 @@ var openapi_default = {
|
|
|
14899
14980
|
type: "string"
|
|
14900
14981
|
},
|
|
14901
14982
|
{ enum: ["ios_phone", "android_phone"], type: "string" },
|
|
14902
|
-
{
|
|
14983
|
+
{
|
|
14984
|
+
enum: [
|
|
14985
|
+
"visionline_encoder",
|
|
14986
|
+
"assa_abloy_vostio_encoder"
|
|
14987
|
+
],
|
|
14988
|
+
type: "string"
|
|
14989
|
+
}
|
|
14903
14990
|
]
|
|
14904
14991
|
},
|
|
14905
14992
|
device_types: {
|
|
@@ -14953,7 +15040,13 @@ var openapi_default = {
|
|
|
14953
15040
|
enum: ["ios_phone", "android_phone"],
|
|
14954
15041
|
type: "string"
|
|
14955
15042
|
},
|
|
14956
|
-
{
|
|
15043
|
+
{
|
|
15044
|
+
enum: [
|
|
15045
|
+
"visionline_encoder",
|
|
15046
|
+
"assa_abloy_vostio_encoder"
|
|
15047
|
+
],
|
|
15048
|
+
type: "string"
|
|
15049
|
+
}
|
|
14957
15050
|
]
|
|
14958
15051
|
},
|
|
14959
15052
|
type: "array"
|
|
@@ -15391,7 +15484,13 @@ var openapi_default = {
|
|
|
15391
15484
|
type: "string"
|
|
15392
15485
|
},
|
|
15393
15486
|
{ enum: ["ios_phone", "android_phone"], type: "string" },
|
|
15394
|
-
{
|
|
15487
|
+
{
|
|
15488
|
+
enum: [
|
|
15489
|
+
"visionline_encoder",
|
|
15490
|
+
"assa_abloy_vostio_encoder"
|
|
15491
|
+
],
|
|
15492
|
+
type: "string"
|
|
15493
|
+
}
|
|
15395
15494
|
]
|
|
15396
15495
|
},
|
|
15397
15496
|
device_types: {
|
|
@@ -15445,7 +15544,13 @@ var openapi_default = {
|
|
|
15445
15544
|
enum: ["ios_phone", "android_phone"],
|
|
15446
15545
|
type: "string"
|
|
15447
15546
|
},
|
|
15448
|
-
{
|
|
15547
|
+
{
|
|
15548
|
+
enum: [
|
|
15549
|
+
"visionline_encoder",
|
|
15550
|
+
"assa_abloy_vostio_encoder"
|
|
15551
|
+
],
|
|
15552
|
+
type: "string"
|
|
15553
|
+
}
|
|
15449
15554
|
]
|
|
15450
15555
|
},
|
|
15451
15556
|
type: "array"
|
|
@@ -16183,7 +16288,13 @@ var openapi_default = {
|
|
|
16183
16288
|
type: "string"
|
|
16184
16289
|
},
|
|
16185
16290
|
{ enum: ["ios_phone", "android_phone"], type: "string" },
|
|
16186
|
-
{
|
|
16291
|
+
{
|
|
16292
|
+
enum: [
|
|
16293
|
+
"visionline_encoder",
|
|
16294
|
+
"assa_abloy_vostio_encoder"
|
|
16295
|
+
],
|
|
16296
|
+
type: "string"
|
|
16297
|
+
}
|
|
16187
16298
|
]
|
|
16188
16299
|
},
|
|
16189
16300
|
device_types: {
|
|
@@ -16237,7 +16348,13 @@ var openapi_default = {
|
|
|
16237
16348
|
enum: ["ios_phone", "android_phone"],
|
|
16238
16349
|
type: "string"
|
|
16239
16350
|
},
|
|
16240
|
-
{
|
|
16351
|
+
{
|
|
16352
|
+
enum: [
|
|
16353
|
+
"visionline_encoder",
|
|
16354
|
+
"assa_abloy_vostio_encoder"
|
|
16355
|
+
],
|
|
16356
|
+
type: "string"
|
|
16357
|
+
}
|
|
16241
16358
|
]
|
|
16242
16359
|
},
|
|
16243
16360
|
type: "array"
|
|
@@ -16637,7 +16754,13 @@ var openapi_default = {
|
|
|
16637
16754
|
type: "string"
|
|
16638
16755
|
},
|
|
16639
16756
|
{ enum: ["ios_phone", "android_phone"], type: "string" },
|
|
16640
|
-
{
|
|
16757
|
+
{
|
|
16758
|
+
enum: [
|
|
16759
|
+
"visionline_encoder",
|
|
16760
|
+
"assa_abloy_vostio_encoder"
|
|
16761
|
+
],
|
|
16762
|
+
type: "string"
|
|
16763
|
+
}
|
|
16641
16764
|
]
|
|
16642
16765
|
},
|
|
16643
16766
|
device_types: {
|
|
@@ -16691,7 +16814,13 @@ var openapi_default = {
|
|
|
16691
16814
|
enum: ["ios_phone", "android_phone"],
|
|
16692
16815
|
type: "string"
|
|
16693
16816
|
},
|
|
16694
|
-
{
|
|
16817
|
+
{
|
|
16818
|
+
enum: [
|
|
16819
|
+
"visionline_encoder",
|
|
16820
|
+
"assa_abloy_vostio_encoder"
|
|
16821
|
+
],
|
|
16822
|
+
type: "string"
|
|
16823
|
+
}
|
|
16695
16824
|
]
|
|
16696
16825
|
},
|
|
16697
16826
|
type: "array"
|
|
@@ -17903,7 +18032,13 @@ var openapi_default = {
|
|
|
17903
18032
|
type: "string"
|
|
17904
18033
|
},
|
|
17905
18034
|
{ enum: ["ios_phone", "android_phone"], type: "string" },
|
|
17906
|
-
{
|
|
18035
|
+
{
|
|
18036
|
+
enum: [
|
|
18037
|
+
"visionline_encoder",
|
|
18038
|
+
"assa_abloy_vostio_encoder"
|
|
18039
|
+
],
|
|
18040
|
+
type: "string"
|
|
18041
|
+
}
|
|
17907
18042
|
]
|
|
17908
18043
|
},
|
|
17909
18044
|
device_types: {
|
|
@@ -17957,7 +18092,13 @@ var openapi_default = {
|
|
|
17957
18092
|
enum: ["ios_phone", "android_phone"],
|
|
17958
18093
|
type: "string"
|
|
17959
18094
|
},
|
|
17960
|
-
{
|
|
18095
|
+
{
|
|
18096
|
+
enum: [
|
|
18097
|
+
"visionline_encoder",
|
|
18098
|
+
"assa_abloy_vostio_encoder"
|
|
18099
|
+
],
|
|
18100
|
+
type: "string"
|
|
18101
|
+
}
|
|
17961
18102
|
]
|
|
17962
18103
|
},
|
|
17963
18104
|
type: "array"
|