@seamapi/types 1.631.0 → 1.633.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 +138 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +446 -0
- package/dist/index.cjs +138 -4
- 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 +119 -0
- package/lib/seam/connect/openapi.js +124 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +214 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +132 -0
- package/src/lib/seam/connect/route-types.ts +235 -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
|
},
|
|
@@ -34110,7 +34164,8 @@ var openapi_default = {
|
|
|
34110
34164
|
security: [
|
|
34111
34165
|
{ pat_with_workspace: [] },
|
|
34112
34166
|
{ console_session_with_workspace: [] },
|
|
34113
|
-
{ api_key: [] }
|
|
34167
|
+
{ api_key: [] },
|
|
34168
|
+
{ client_session_with_customer: [] }
|
|
34114
34169
|
],
|
|
34115
34170
|
summary: "/access_methods/get_related",
|
|
34116
34171
|
tags: [],
|
|
@@ -34345,7 +34400,8 @@ var openapi_default = {
|
|
|
34345
34400
|
security: [
|
|
34346
34401
|
{ pat_with_workspace: [] },
|
|
34347
34402
|
{ console_session_with_workspace: [] },
|
|
34348
|
-
{ api_key: [] }
|
|
34403
|
+
{ api_key: [] },
|
|
34404
|
+
{ client_session_with_customer: [] }
|
|
34349
34405
|
],
|
|
34350
34406
|
summary: "/access_methods/get_related",
|
|
34351
34407
|
tags: [],
|
|
@@ -52868,6 +52924,84 @@ var openapi_default = {
|
|
|
52868
52924
|
"x-undocumented": "Internal endpoint for Console"
|
|
52869
52925
|
}
|
|
52870
52926
|
},
|
|
52927
|
+
"/seam/customer/v1/access_grants/list": {
|
|
52928
|
+
get: {
|
|
52929
|
+
description: "Gets an Access Grant.",
|
|
52930
|
+
operationId: "seamCustomerV1AccessGrantsListGet",
|
|
52931
|
+
parameters: [],
|
|
52932
|
+
responses: {
|
|
52933
|
+
200: {
|
|
52934
|
+
content: {
|
|
52935
|
+
"application/json": {
|
|
52936
|
+
schema: {
|
|
52937
|
+
properties: {
|
|
52938
|
+
access_grants: {
|
|
52939
|
+
items: { $ref: "#/components/schemas/access_grant" },
|
|
52940
|
+
type: "array"
|
|
52941
|
+
},
|
|
52942
|
+
ok: { type: "boolean" }
|
|
52943
|
+
},
|
|
52944
|
+
required: ["access_grants", "ok"],
|
|
52945
|
+
type: "object"
|
|
52946
|
+
}
|
|
52947
|
+
}
|
|
52948
|
+
},
|
|
52949
|
+
description: "OK"
|
|
52950
|
+
},
|
|
52951
|
+
400: { description: "Bad Request" },
|
|
52952
|
+
401: { description: "Unauthorized" }
|
|
52953
|
+
},
|
|
52954
|
+
security: [{ client_session_with_customer: [] }],
|
|
52955
|
+
summary: "/seam/customer/v1/access_grants/list",
|
|
52956
|
+
tags: [],
|
|
52957
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "access_grants"],
|
|
52958
|
+
"x-fern-sdk-method-name": "list",
|
|
52959
|
+
"x-fern-sdk-return-value": "access_grants",
|
|
52960
|
+
"x-response-key": "access_grants",
|
|
52961
|
+
"x-title": "List Access Grants (Other Access)",
|
|
52962
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
52963
|
+
},
|
|
52964
|
+
post: {
|
|
52965
|
+
description: "Gets an Access Grant.",
|
|
52966
|
+
operationId: "seamCustomerV1AccessGrantsListPost",
|
|
52967
|
+
requestBody: {
|
|
52968
|
+
content: {
|
|
52969
|
+
"application/json": { schema: { properties: {}, type: "object" } }
|
|
52970
|
+
}
|
|
52971
|
+
},
|
|
52972
|
+
responses: {
|
|
52973
|
+
200: {
|
|
52974
|
+
content: {
|
|
52975
|
+
"application/json": {
|
|
52976
|
+
schema: {
|
|
52977
|
+
properties: {
|
|
52978
|
+
access_grants: {
|
|
52979
|
+
items: { $ref: "#/components/schemas/access_grant" },
|
|
52980
|
+
type: "array"
|
|
52981
|
+
},
|
|
52982
|
+
ok: { type: "boolean" }
|
|
52983
|
+
},
|
|
52984
|
+
required: ["access_grants", "ok"],
|
|
52985
|
+
type: "object"
|
|
52986
|
+
}
|
|
52987
|
+
}
|
|
52988
|
+
},
|
|
52989
|
+
description: "OK"
|
|
52990
|
+
},
|
|
52991
|
+
400: { description: "Bad Request" },
|
|
52992
|
+
401: { description: "Unauthorized" }
|
|
52993
|
+
},
|
|
52994
|
+
security: [{ client_session_with_customer: [] }],
|
|
52995
|
+
summary: "/seam/customer/v1/access_grants/list",
|
|
52996
|
+
tags: [],
|
|
52997
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "access_grants"],
|
|
52998
|
+
"x-fern-sdk-method-name": "list",
|
|
52999
|
+
"x-fern-sdk-return-value": "access_grants",
|
|
53000
|
+
"x-response-key": "access_grants",
|
|
53001
|
+
"x-title": "List Access Grants (Other Access)",
|
|
53002
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
53003
|
+
}
|
|
53004
|
+
},
|
|
52871
53005
|
"/seam/customer/v1/automation_runs/list": {
|
|
52872
53006
|
get: {
|
|
52873
53007
|
description: "Returns a list of all automation runs for a workspace or customer.",
|