@seamapi/types 1.632.0 → 1.634.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 +76 -12
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +314 -2
- package/dist/index.cjs +76 -12
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +203 -0
- package/lib/seam/connect/models/devices/device.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.js +12 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
- package/lib/seam/connect/openapi.d.ts +52 -0
- package/lib/seam/connect/openapi.js +54 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +149 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +62 -0
- package/src/lib/seam/connect/route-types.ts +170 -0
package/dist/connect.cjs
CHANGED
|
@@ -1422,6 +1422,14 @@ var unknown_issue_with_phone = common_device_warning.extend({
|
|
|
1422
1422
|
---
|
|
1423
1423
|
Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.
|
|
1424
1424
|
`);
|
|
1425
|
+
var hub_required_for_addtional_capabilities = common_device_warning.extend({
|
|
1426
|
+
warning_code: zod.z.literal("hub_required_for_addtional_capabilities").describe(warning_code_description2)
|
|
1427
|
+
}).describe(`
|
|
1428
|
+
---
|
|
1429
|
+
variant_group_key: locks
|
|
1430
|
+
---
|
|
1431
|
+
Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.
|
|
1432
|
+
`);
|
|
1425
1433
|
var device_warning = zod.z.discriminatedUnion("warning_code", [
|
|
1426
1434
|
partial_backup_access_code_pool,
|
|
1427
1435
|
many_active_backup_codes,
|
|
@@ -1439,7 +1447,8 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
1439
1447
|
salto_ks_privacy_mode,
|
|
1440
1448
|
salto_ks_subscription_limit_almost_reached2,
|
|
1441
1449
|
unknown_issue_with_phone,
|
|
1442
|
-
lockly_time_zone_not_configured
|
|
1450
|
+
lockly_time_zone_not_configured,
|
|
1451
|
+
hub_required_for_addtional_capabilities
|
|
1443
1452
|
]);
|
|
1444
1453
|
zod.z.object({
|
|
1445
1454
|
partial_backup_access_code_pool: partial_backup_access_code_pool.optional().nullable(),
|
|
@@ -1461,7 +1470,8 @@ zod.z.object({
|
|
|
1461
1470
|
salto_ks_privacy_mode: salto_ks_privacy_mode.optional().nullable(),
|
|
1462
1471
|
salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached2.optional().nullable(),
|
|
1463
1472
|
unknown_issue_with_phone: unknown_issue_with_phone.optional().nullable(),
|
|
1464
|
-
lockly_time_zone_not_configured: lockly_time_zone_not_configured.optional().nullable()
|
|
1473
|
+
lockly_time_zone_not_configured: lockly_time_zone_not_configured.optional().nullable(),
|
|
1474
|
+
hub_required_for_addtional_capabilities: hub_required_for_addtional_capabilities.optional().nullable()
|
|
1465
1475
|
});
|
|
1466
1476
|
var common_device_properties = zod.z.object({
|
|
1467
1477
|
online: zod.z.boolean().describe("Indicates whether the device is online."),
|
|
@@ -17511,6 +17521,28 @@ var openapi_default = {
|
|
|
17511
17521
|
},
|
|
17512
17522
|
required: ["message", "created_at", "warning_code"],
|
|
17513
17523
|
type: "object"
|
|
17524
|
+
},
|
|
17525
|
+
{
|
|
17526
|
+
description: "Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.",
|
|
17527
|
+
properties: {
|
|
17528
|
+
created_at: {
|
|
17529
|
+
description: "Date and time at which Seam created the warning.",
|
|
17530
|
+
format: "date-time",
|
|
17531
|
+
type: "string"
|
|
17532
|
+
},
|
|
17533
|
+
message: {
|
|
17534
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
17535
|
+
type: "string"
|
|
17536
|
+
},
|
|
17537
|
+
warning_code: {
|
|
17538
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
17539
|
+
enum: ["hub_required_for_addtional_capabilities"],
|
|
17540
|
+
type: "string"
|
|
17541
|
+
}
|
|
17542
|
+
},
|
|
17543
|
+
required: ["message", "created_at", "warning_code"],
|
|
17544
|
+
type: "object",
|
|
17545
|
+
"x-variant-group-key": "locks"
|
|
17514
17546
|
}
|
|
17515
17547
|
]
|
|
17516
17548
|
},
|
|
@@ -28807,6 +28839,28 @@ var openapi_default = {
|
|
|
28807
28839
|
},
|
|
28808
28840
|
required: ["message", "created_at", "warning_code"],
|
|
28809
28841
|
type: "object"
|
|
28842
|
+
},
|
|
28843
|
+
{
|
|
28844
|
+
description: "Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.",
|
|
28845
|
+
properties: {
|
|
28846
|
+
created_at: {
|
|
28847
|
+
description: "Date and time at which Seam created the warning.",
|
|
28848
|
+
format: "date-time",
|
|
28849
|
+
type: "string"
|
|
28850
|
+
},
|
|
28851
|
+
message: {
|
|
28852
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
28853
|
+
type: "string"
|
|
28854
|
+
},
|
|
28855
|
+
warning_code: {
|
|
28856
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
28857
|
+
enum: ["hub_required_for_addtional_capabilities"],
|
|
28858
|
+
type: "string"
|
|
28859
|
+
}
|
|
28860
|
+
},
|
|
28861
|
+
required: ["message", "created_at", "warning_code"],
|
|
28862
|
+
type: "object",
|
|
28863
|
+
"x-variant-group-key": "locks"
|
|
28810
28864
|
}
|
|
28811
28865
|
]
|
|
28812
28866
|
},
|
|
@@ -33909,7 +33963,8 @@ var openapi_default = {
|
|
|
33909
33963
|
"access_grants",
|
|
33910
33964
|
"access_methods",
|
|
33911
33965
|
"instant_keys",
|
|
33912
|
-
"client_sessions"
|
|
33966
|
+
"client_sessions",
|
|
33967
|
+
"acs_credentials"
|
|
33913
33968
|
],
|
|
33914
33969
|
type: "string"
|
|
33915
33970
|
},
|
|
@@ -33929,7 +33984,8 @@ var openapi_default = {
|
|
|
33929
33984
|
"access_grants",
|
|
33930
33985
|
"access_methods",
|
|
33931
33986
|
"instant_keys",
|
|
33932
|
-
"client_sessions"
|
|
33987
|
+
"client_sessions",
|
|
33988
|
+
"acs_credentials"
|
|
33933
33989
|
],
|
|
33934
33990
|
type: "string"
|
|
33935
33991
|
},
|
|
@@ -34145,7 +34201,8 @@ var openapi_default = {
|
|
|
34145
34201
|
"access_grants",
|
|
34146
34202
|
"access_methods",
|
|
34147
34203
|
"instant_keys",
|
|
34148
|
-
"client_sessions"
|
|
34204
|
+
"client_sessions",
|
|
34205
|
+
"acs_credentials"
|
|
34149
34206
|
],
|
|
34150
34207
|
type: "string"
|
|
34151
34208
|
},
|
|
@@ -34160,7 +34217,8 @@ var openapi_default = {
|
|
|
34160
34217
|
"access_grants",
|
|
34161
34218
|
"access_methods",
|
|
34162
34219
|
"instant_keys",
|
|
34163
|
-
"client_sessions"
|
|
34220
|
+
"client_sessions",
|
|
34221
|
+
"acs_credentials"
|
|
34164
34222
|
],
|
|
34165
34223
|
type: "string"
|
|
34166
34224
|
},
|
|
@@ -37694,7 +37752,8 @@ var openapi_default = {
|
|
|
37694
37752
|
security: [
|
|
37695
37753
|
{ pat_with_workspace: [] },
|
|
37696
37754
|
{ console_session_with_workspace: [] },
|
|
37697
|
-
{ api_key: [] }
|
|
37755
|
+
{ api_key: [] },
|
|
37756
|
+
{ client_session_with_customer: [] }
|
|
37698
37757
|
],
|
|
37699
37758
|
summary: "/acs/encoders/encode_credential",
|
|
37700
37759
|
tags: ["/acs"],
|
|
@@ -37837,7 +37896,8 @@ var openapi_default = {
|
|
|
37837
37896
|
security: [
|
|
37838
37897
|
{ pat_with_workspace: [] },
|
|
37839
37898
|
{ console_session_with_workspace: [] },
|
|
37840
|
-
{ api_key: [] }
|
|
37899
|
+
{ api_key: [] },
|
|
37900
|
+
{ client_session_with_customer: [] }
|
|
37841
37901
|
],
|
|
37842
37902
|
summary: "/acs/encoders/list",
|
|
37843
37903
|
tags: ["/acs"],
|
|
@@ -37939,7 +37999,8 @@ var openapi_default = {
|
|
|
37939
37999
|
security: [
|
|
37940
38000
|
{ pat_with_workspace: [] },
|
|
37941
38001
|
{ console_session_with_workspace: [] },
|
|
37942
|
-
{ api_key: [] }
|
|
38002
|
+
{ api_key: [] },
|
|
38003
|
+
{ client_session_with_customer: [] }
|
|
37943
38004
|
],
|
|
37944
38005
|
summary: "/acs/encoders/list",
|
|
37945
38006
|
tags: ["/acs"],
|
|
@@ -38137,7 +38198,8 @@ var openapi_default = {
|
|
|
38137
38198
|
security: [
|
|
38138
38199
|
{ api_key: [] },
|
|
38139
38200
|
{ pat_with_workspace: [] },
|
|
38140
|
-
{ console_session_with_workspace: [] }
|
|
38201
|
+
{ console_session_with_workspace: [] },
|
|
38202
|
+
{ client_session_with_customer: [] }
|
|
38141
38203
|
],
|
|
38142
38204
|
summary: "/acs/encoders/simulate/next_credential_encode_will_succeed",
|
|
38143
38205
|
tags: ["/acs"],
|
|
@@ -40908,7 +40970,8 @@ var openapi_default = {
|
|
|
40908
40970
|
{ client_session: [] },
|
|
40909
40971
|
{ pat_with_workspace: [] },
|
|
40910
40972
|
{ console_session_with_workspace: [] },
|
|
40911
|
-
{ api_key: [] }
|
|
40973
|
+
{ api_key: [] },
|
|
40974
|
+
{ client_session_with_customer: [] }
|
|
40912
40975
|
],
|
|
40913
40976
|
summary: "/action_attempts/get",
|
|
40914
40977
|
tags: ["/action_attempts"],
|
|
@@ -40963,7 +41026,8 @@ var openapi_default = {
|
|
|
40963
41026
|
{ client_session: [] },
|
|
40964
41027
|
{ pat_with_workspace: [] },
|
|
40965
41028
|
{ console_session_with_workspace: [] },
|
|
40966
|
-
{ api_key: [] }
|
|
41029
|
+
{ api_key: [] },
|
|
41030
|
+
{ client_session_with_customer: [] }
|
|
40967
41031
|
],
|
|
40968
41032
|
summary: "/action_attempts/get",
|
|
40969
41033
|
tags: ["/action_attempts"],
|