@seamapi/types 1.486.0 → 1.487.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 +42 -24
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +99 -0
- package/dist/index.cjs +42 -24
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +86 -0
- package/lib/seam/connect/models/batch.js +3 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +24 -0
- package/lib/seam/connect/openapi.js +16 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +32 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +3 -0
- package/src/lib/seam/connect/openapi.ts +16 -0
- package/src/lib/seam/connect/route-types.ts +36 -0
package/dist/connect.cjs
CHANGED
|
@@ -5106,6 +5106,28 @@ var event_types = seam_event.options.map(
|
|
|
5106
5106
|
zod.z.enum(
|
|
5107
5107
|
event_types
|
|
5108
5108
|
);
|
|
5109
|
+
var instant_key = zod.z.object({
|
|
5110
|
+
instant_key_id: zod.z.string().uuid().describe("ID of the Instant Key."),
|
|
5111
|
+
workspace_id: zod.z.string().uuid().describe(
|
|
5112
|
+
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Instant Key."
|
|
5113
|
+
),
|
|
5114
|
+
created_at: zod.z.string().datetime().describe("Date and time at which the Instant Key was created."),
|
|
5115
|
+
instant_key_url: zod.z.string().url().describe(
|
|
5116
|
+
"Shareable URL for the Instant Key. Use the URL to deliver the Instant Key to your user through a link in a text message or email or by embedding it in your web app."
|
|
5117
|
+
),
|
|
5118
|
+
client_session_id: zod.z.string().uuid().describe(
|
|
5119
|
+
"ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) associated with the Instant Key."
|
|
5120
|
+
),
|
|
5121
|
+
user_identity_id: zod.z.string().uuid().describe("ID of the user identity associated with the Instant Key."),
|
|
5122
|
+
expires_at: zod.z.string().datetime().describe("Date and time at which the Instant Key expires.")
|
|
5123
|
+
}).describe(`
|
|
5124
|
+
---
|
|
5125
|
+
route_path: /instant_keys
|
|
5126
|
+
---
|
|
5127
|
+
Represents a Seam Instant Key. For issuing Bluetooth mobile keys, Instant Keys are the fastest way to share access. With a single API call, you can create a mobile key and send it through text or email or embed it in your own app.
|
|
5128
|
+
|
|
5129
|
+
There\u2019s no app to install, nor account to create. Your user just taps a link and gets a lightweight, native-feeling experience using iOS App Clip or Instant Apps on Android. Further, Instant Keys work offline, so even in areas with poor cellular or Wi-Fi, like elevator banks or concrete-walled hallways, the Instant Keys still work.
|
|
5130
|
+
`);
|
|
5109
5131
|
var space = zod.z.object({
|
|
5110
5132
|
space_id: zod.z.string().uuid().describe("ID of the space."),
|
|
5111
5133
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -5300,7 +5322,8 @@ zod.z.object({
|
|
|
5300
5322
|
connect_webviews: connect_webview.array().optional(),
|
|
5301
5323
|
access_methods: access_method.array().optional(),
|
|
5302
5324
|
access_grants: access_grant.array().optional(),
|
|
5303
|
-
events: seam_event.array().optional()
|
|
5325
|
+
events: seam_event.array().optional(),
|
|
5326
|
+
instant_keys: instant_key.array().optional()
|
|
5304
5327
|
}).describe("A batch of workspace resources.");
|
|
5305
5328
|
var batch = zod.z.object({
|
|
5306
5329
|
batch_type: zod.z.enum([
|
|
@@ -5326,7 +5349,8 @@ var batch = zod.z.object({
|
|
|
5326
5349
|
connect_webviews: connect_webview.array().optional(),
|
|
5327
5350
|
access_methods: access_method.array().optional(),
|
|
5328
5351
|
access_grants: access_grant.array().optional(),
|
|
5329
|
-
events: seam_event.array().optional()
|
|
5352
|
+
events: seam_event.array().optional(),
|
|
5353
|
+
instant_keys: instant_key.array().optional()
|
|
5330
5354
|
}).describe("A batch of workspace resources.");
|
|
5331
5355
|
var bridge = zod.z.object({
|
|
5332
5356
|
bridge_id: zod.z.string().uuid().describe("ID of Seam Bridge."),
|
|
@@ -5421,28 +5445,6 @@ var customization_profile = zod.z.object({
|
|
|
5421
5445
|
---
|
|
5422
5446
|
A customization profile.
|
|
5423
5447
|
`);
|
|
5424
|
-
var instant_key = zod.z.object({
|
|
5425
|
-
instant_key_id: zod.z.string().uuid().describe("ID of the Instant Key."),
|
|
5426
|
-
workspace_id: zod.z.string().uuid().describe(
|
|
5427
|
-
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Instant Key."
|
|
5428
|
-
),
|
|
5429
|
-
created_at: zod.z.string().datetime().describe("Date and time at which the Instant Key was created."),
|
|
5430
|
-
instant_key_url: zod.z.string().url().describe(
|
|
5431
|
-
"Shareable URL for the Instant Key. Use the URL to deliver the Instant Key to your user through a link in a text message or email or by embedding it in your web app."
|
|
5432
|
-
),
|
|
5433
|
-
client_session_id: zod.z.string().uuid().describe(
|
|
5434
|
-
"ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) associated with the Instant Key."
|
|
5435
|
-
),
|
|
5436
|
-
user_identity_id: zod.z.string().uuid().describe("ID of the user identity associated with the Instant Key."),
|
|
5437
|
-
expires_at: zod.z.string().datetime().describe("Date and time at which the Instant Key expires.")
|
|
5438
|
-
}).describe(`
|
|
5439
|
-
---
|
|
5440
|
-
route_path: /instant_keys
|
|
5441
|
-
---
|
|
5442
|
-
Represents a Seam Instant Key. For issuing Bluetooth mobile keys, Instant Keys are the fastest way to share access. With a single API call, you can create a mobile key and send it through text or email or embed it in your own app.
|
|
5443
|
-
|
|
5444
|
-
There\u2019s no app to install, nor account to create. Your user just taps a link and gets a lightweight, native-feeling experience using iOS App Clip or Instant Apps on Android. Further, Instant Keys work offline, so even in areas with poor cellular or Wi-Fi, like elevator banks or concrete-walled hallways, the Instant Keys still work.
|
|
5445
|
-
`);
|
|
5446
5448
|
var noise_threshold = zod.z.object({
|
|
5447
5449
|
noise_threshold_id: zod.z.string().uuid().describe("Unique identifier for the noise threshold."),
|
|
5448
5450
|
device_id: zod.z.string().uuid().describe(
|
|
@@ -31850,6 +31852,10 @@ var openapi_default = {
|
|
|
31850
31852
|
items: { $ref: "#/components/schemas/event" },
|
|
31851
31853
|
type: "array"
|
|
31852
31854
|
},
|
|
31855
|
+
instant_keys: {
|
|
31856
|
+
items: { $ref: "#/components/schemas/instant_key" },
|
|
31857
|
+
type: "array"
|
|
31858
|
+
},
|
|
31853
31859
|
spaces: {
|
|
31854
31860
|
items: { $ref: "#/components/schemas/space" },
|
|
31855
31861
|
type: "array"
|
|
@@ -32019,6 +32025,10 @@ var openapi_default = {
|
|
|
32019
32025
|
items: { $ref: "#/components/schemas/event" },
|
|
32020
32026
|
type: "array"
|
|
32021
32027
|
},
|
|
32028
|
+
instant_keys: {
|
|
32029
|
+
items: { $ref: "#/components/schemas/instant_key" },
|
|
32030
|
+
type: "array"
|
|
32031
|
+
},
|
|
32022
32032
|
spaces: {
|
|
32023
32033
|
items: { $ref: "#/components/schemas/space" },
|
|
32024
32034
|
type: "array"
|
|
@@ -57918,6 +57928,10 @@ var openapi_default = {
|
|
|
57918
57928
|
items: { $ref: "#/components/schemas/event" },
|
|
57919
57929
|
type: "array"
|
|
57920
57930
|
},
|
|
57931
|
+
instant_keys: {
|
|
57932
|
+
items: { $ref: "#/components/schemas/instant_key" },
|
|
57933
|
+
type: "array"
|
|
57934
|
+
},
|
|
57921
57935
|
spaces: {
|
|
57922
57936
|
items: { $ref: "#/components/schemas/space" },
|
|
57923
57937
|
type: "array"
|
|
@@ -58064,6 +58078,10 @@ var openapi_default = {
|
|
|
58064
58078
|
items: { $ref: "#/components/schemas/event" },
|
|
58065
58079
|
type: "array"
|
|
58066
58080
|
},
|
|
58081
|
+
instant_keys: {
|
|
58082
|
+
items: { $ref: "#/components/schemas/instant_key" },
|
|
58083
|
+
type: "array"
|
|
58084
|
+
},
|
|
58067
58085
|
spaces: {
|
|
58068
58086
|
items: { $ref: "#/components/schemas/space" },
|
|
58069
58087
|
type: "array"
|