@seamapi/types 1.486.0 → 1.488.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 +94 -24
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1583 -0
- package/dist/index.cjs +94 -24
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +1910 -0
- package/lib/seam/connect/models/batch.js +8 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +26 -26
- package/lib/seam/connect/openapi.d.ts +72 -0
- package/lib/seam/connect/openapi.js +64 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +556 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +11 -0
- package/src/lib/seam/connect/openapi.ts +64 -0
- package/src/lib/seam/connect/route-types.ts +672 -0
package/dist/index.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(
|
|
@@ -5291,6 +5313,8 @@ zod.z.object({
|
|
|
5291
5313
|
acs_users: acs_user.array().optional(),
|
|
5292
5314
|
acs_access_groups: acs_access_group.array().optional(),
|
|
5293
5315
|
acs_encoders: acs_encoder.array().optional(),
|
|
5316
|
+
acs_credentials: acs_credential.array().optional(),
|
|
5317
|
+
unmanaged_acs_credentials: unmanaged_acs_credential.array().optional(),
|
|
5294
5318
|
action_attempts: action_attempt.array().optional(),
|
|
5295
5319
|
client_sessions: client_session.array().optional(),
|
|
5296
5320
|
unmanaged_acs_users: unmanaged_acs_user.array().optional(),
|
|
@@ -5300,7 +5324,8 @@ zod.z.object({
|
|
|
5300
5324
|
connect_webviews: connect_webview.array().optional(),
|
|
5301
5325
|
access_methods: access_method.array().optional(),
|
|
5302
5326
|
access_grants: access_grant.array().optional(),
|
|
5303
|
-
events: seam_event.array().optional()
|
|
5327
|
+
events: seam_event.array().optional(),
|
|
5328
|
+
instant_keys: instant_key.array().optional()
|
|
5304
5329
|
}).describe("A batch of workspace resources.");
|
|
5305
5330
|
var batch = zod.z.object({
|
|
5306
5331
|
batch_type: zod.z.enum([
|
|
@@ -5318,6 +5343,8 @@ var batch = zod.z.object({
|
|
|
5318
5343
|
acs_users: acs_user.array().optional(),
|
|
5319
5344
|
acs_access_groups: acs_access_group.array().optional(),
|
|
5320
5345
|
acs_encoders: acs_encoder.array().optional(),
|
|
5346
|
+
acs_credentials: acs_credential.array().optional(),
|
|
5347
|
+
unmanaged_acs_credentials: unmanaged_acs_credential.array().optional(),
|
|
5321
5348
|
action_attempts: action_attempt.array().optional(),
|
|
5322
5349
|
client_sessions: client_session.array().optional(),
|
|
5323
5350
|
unmanaged_acs_users: unmanaged_acs_user.array().optional(),
|
|
@@ -5326,7 +5353,8 @@ var batch = zod.z.object({
|
|
|
5326
5353
|
connect_webviews: connect_webview.array().optional(),
|
|
5327
5354
|
access_methods: access_method.array().optional(),
|
|
5328
5355
|
access_grants: access_grant.array().optional(),
|
|
5329
|
-
events: seam_event.array().optional()
|
|
5356
|
+
events: seam_event.array().optional(),
|
|
5357
|
+
instant_keys: instant_key.array().optional()
|
|
5330
5358
|
}).describe("A batch of workspace resources.");
|
|
5331
5359
|
var bridge = zod.z.object({
|
|
5332
5360
|
bridge_id: zod.z.string().uuid().describe("ID of Seam Bridge."),
|
|
@@ -5421,28 +5449,6 @@ var customization_profile = zod.z.object({
|
|
|
5421
5449
|
---
|
|
5422
5450
|
A customization profile.
|
|
5423
5451
|
`);
|
|
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
5452
|
var noise_threshold = zod.z.object({
|
|
5447
5453
|
noise_threshold_id: zod.z.string().uuid().describe("Unique identifier for the noise threshold."),
|
|
5448
5454
|
device_id: zod.z.string().uuid().describe(
|
|
@@ -31799,6 +31805,12 @@ var openapi_default = {
|
|
|
31799
31805
|
},
|
|
31800
31806
|
type: "array"
|
|
31801
31807
|
},
|
|
31808
|
+
acs_credentials: {
|
|
31809
|
+
items: {
|
|
31810
|
+
$ref: "#/components/schemas/acs_credential"
|
|
31811
|
+
},
|
|
31812
|
+
type: "array"
|
|
31813
|
+
},
|
|
31802
31814
|
acs_encoders: {
|
|
31803
31815
|
items: { $ref: "#/components/schemas/acs_encoder" },
|
|
31804
31816
|
type: "array"
|
|
@@ -31850,6 +31862,10 @@ var openapi_default = {
|
|
|
31850
31862
|
items: { $ref: "#/components/schemas/event" },
|
|
31851
31863
|
type: "array"
|
|
31852
31864
|
},
|
|
31865
|
+
instant_keys: {
|
|
31866
|
+
items: { $ref: "#/components/schemas/instant_key" },
|
|
31867
|
+
type: "array"
|
|
31868
|
+
},
|
|
31853
31869
|
spaces: {
|
|
31854
31870
|
items: { $ref: "#/components/schemas/space" },
|
|
31855
31871
|
type: "array"
|
|
@@ -31860,6 +31876,12 @@ var openapi_default = {
|
|
|
31860
31876
|
},
|
|
31861
31877
|
type: "array"
|
|
31862
31878
|
},
|
|
31879
|
+
unmanaged_acs_credentials: {
|
|
31880
|
+
items: {
|
|
31881
|
+
$ref: "#/components/schemas/unmanaged_acs_credential"
|
|
31882
|
+
},
|
|
31883
|
+
type: "array"
|
|
31884
|
+
},
|
|
31863
31885
|
unmanaged_acs_users: {
|
|
31864
31886
|
items: {
|
|
31865
31887
|
$ref: "#/components/schemas/unmanaged_acs_user"
|
|
@@ -31968,6 +31990,12 @@ var openapi_default = {
|
|
|
31968
31990
|
},
|
|
31969
31991
|
type: "array"
|
|
31970
31992
|
},
|
|
31993
|
+
acs_credentials: {
|
|
31994
|
+
items: {
|
|
31995
|
+
$ref: "#/components/schemas/acs_credential"
|
|
31996
|
+
},
|
|
31997
|
+
type: "array"
|
|
31998
|
+
},
|
|
31971
31999
|
acs_encoders: {
|
|
31972
32000
|
items: { $ref: "#/components/schemas/acs_encoder" },
|
|
31973
32001
|
type: "array"
|
|
@@ -32019,6 +32047,10 @@ var openapi_default = {
|
|
|
32019
32047
|
items: { $ref: "#/components/schemas/event" },
|
|
32020
32048
|
type: "array"
|
|
32021
32049
|
},
|
|
32050
|
+
instant_keys: {
|
|
32051
|
+
items: { $ref: "#/components/schemas/instant_key" },
|
|
32052
|
+
type: "array"
|
|
32053
|
+
},
|
|
32022
32054
|
spaces: {
|
|
32023
32055
|
items: { $ref: "#/components/schemas/space" },
|
|
32024
32056
|
type: "array"
|
|
@@ -32029,6 +32061,12 @@ var openapi_default = {
|
|
|
32029
32061
|
},
|
|
32030
32062
|
type: "array"
|
|
32031
32063
|
},
|
|
32064
|
+
unmanaged_acs_credentials: {
|
|
32065
|
+
items: {
|
|
32066
|
+
$ref: "#/components/schemas/unmanaged_acs_credential"
|
|
32067
|
+
},
|
|
32068
|
+
type: "array"
|
|
32069
|
+
},
|
|
32032
32070
|
unmanaged_acs_users: {
|
|
32033
32071
|
items: {
|
|
32034
32072
|
$ref: "#/components/schemas/unmanaged_acs_user"
|
|
@@ -57867,6 +57905,12 @@ var openapi_default = {
|
|
|
57867
57905
|
},
|
|
57868
57906
|
type: "array"
|
|
57869
57907
|
},
|
|
57908
|
+
acs_credentials: {
|
|
57909
|
+
items: {
|
|
57910
|
+
$ref: "#/components/schemas/acs_credential"
|
|
57911
|
+
},
|
|
57912
|
+
type: "array"
|
|
57913
|
+
},
|
|
57870
57914
|
acs_encoders: {
|
|
57871
57915
|
items: { $ref: "#/components/schemas/acs_encoder" },
|
|
57872
57916
|
type: "array"
|
|
@@ -57918,6 +57962,10 @@ var openapi_default = {
|
|
|
57918
57962
|
items: { $ref: "#/components/schemas/event" },
|
|
57919
57963
|
type: "array"
|
|
57920
57964
|
},
|
|
57965
|
+
instant_keys: {
|
|
57966
|
+
items: { $ref: "#/components/schemas/instant_key" },
|
|
57967
|
+
type: "array"
|
|
57968
|
+
},
|
|
57921
57969
|
spaces: {
|
|
57922
57970
|
items: { $ref: "#/components/schemas/space" },
|
|
57923
57971
|
type: "array"
|
|
@@ -57928,6 +57976,12 @@ var openapi_default = {
|
|
|
57928
57976
|
},
|
|
57929
57977
|
type: "array"
|
|
57930
57978
|
},
|
|
57979
|
+
unmanaged_acs_credentials: {
|
|
57980
|
+
items: {
|
|
57981
|
+
$ref: "#/components/schemas/unmanaged_acs_credential"
|
|
57982
|
+
},
|
|
57983
|
+
type: "array"
|
|
57984
|
+
},
|
|
57931
57985
|
unmanaged_acs_users: {
|
|
57932
57986
|
items: {
|
|
57933
57987
|
$ref: "#/components/schemas/unmanaged_acs_user"
|
|
@@ -58013,6 +58067,12 @@ var openapi_default = {
|
|
|
58013
58067
|
},
|
|
58014
58068
|
type: "array"
|
|
58015
58069
|
},
|
|
58070
|
+
acs_credentials: {
|
|
58071
|
+
items: {
|
|
58072
|
+
$ref: "#/components/schemas/acs_credential"
|
|
58073
|
+
},
|
|
58074
|
+
type: "array"
|
|
58075
|
+
},
|
|
58016
58076
|
acs_encoders: {
|
|
58017
58077
|
items: { $ref: "#/components/schemas/acs_encoder" },
|
|
58018
58078
|
type: "array"
|
|
@@ -58064,6 +58124,10 @@ var openapi_default = {
|
|
|
58064
58124
|
items: { $ref: "#/components/schemas/event" },
|
|
58065
58125
|
type: "array"
|
|
58066
58126
|
},
|
|
58127
|
+
instant_keys: {
|
|
58128
|
+
items: { $ref: "#/components/schemas/instant_key" },
|
|
58129
|
+
type: "array"
|
|
58130
|
+
},
|
|
58067
58131
|
spaces: {
|
|
58068
58132
|
items: { $ref: "#/components/schemas/space" },
|
|
58069
58133
|
type: "array"
|
|
@@ -58074,6 +58138,12 @@ var openapi_default = {
|
|
|
58074
58138
|
},
|
|
58075
58139
|
type: "array"
|
|
58076
58140
|
},
|
|
58141
|
+
unmanaged_acs_credentials: {
|
|
58142
|
+
items: {
|
|
58143
|
+
$ref: "#/components/schemas/unmanaged_acs_credential"
|
|
58144
|
+
},
|
|
58145
|
+
type: "array"
|
|
58146
|
+
},
|
|
58077
58147
|
unmanaged_acs_users: {
|
|
58078
58148
|
items: {
|
|
58079
58149
|
$ref: "#/components/schemas/unmanaged_acs_user"
|