@seamapi/types 1.179.0 → 1.180.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 +17 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +63 -14
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +32 -0
- package/lib/seam/connect/models/client-sessions/client-session.js +13 -0
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -0
- package/lib/seam/connect/models/client-sessions/index.d.ts +1 -0
- package/lib/seam/connect/models/client-sessions/index.js +2 -0
- package/lib/seam/connect/models/client-sessions/index.js.map +1 -0
- package/lib/seam/connect/models/events/client-sessions.d.ts +6 -6
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +16 -0
- package/lib/seam/connect/openapi.js +4 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -10
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +0 -1
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +13 -0
- package/src/lib/seam/connect/models/client-sessions/index.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +4 -2
- package/src/lib/seam/connect/route-types.ts +10 -10
- package/src/lib/seam/connect/schemas.ts +1 -0
package/dist/connect.cjs
CHANGED
|
@@ -12,6 +12,7 @@ var __export = (target, all) => {
|
|
|
12
12
|
var schemas_exports = {};
|
|
13
13
|
__export(schemas_exports, {
|
|
14
14
|
action_attempt: () => action_attempt,
|
|
15
|
+
client_session: () => client_session,
|
|
15
16
|
connect_webview: () => connect_webview,
|
|
16
17
|
custom_metadata: () => custom_metadata,
|
|
17
18
|
seam_event: () => seam_event,
|
|
@@ -296,6 +297,17 @@ var action_attempt = zod.z.union([
|
|
|
296
297
|
...set_thermostat_off_action_attempt.options,
|
|
297
298
|
...deprecated_action_attempts
|
|
298
299
|
]);
|
|
300
|
+
var client_session = zod.z.object({
|
|
301
|
+
client_session_id: zod.z.string().uuid(),
|
|
302
|
+
workspace_id: zod.z.string().uuid(),
|
|
303
|
+
created_at: zod.z.string().datetime(),
|
|
304
|
+
token: zod.z.string(),
|
|
305
|
+
user_identifier_key: zod.z.string().nullable(),
|
|
306
|
+
device_count: zod.z.number(),
|
|
307
|
+
connected_account_ids: zod.z.array(zod.z.string().uuid()),
|
|
308
|
+
connect_webview_ids: zod.z.array(zod.z.string().uuid()),
|
|
309
|
+
user_identity_ids: zod.z.array(zod.z.string().uuid())
|
|
310
|
+
});
|
|
299
311
|
zod.z.record(
|
|
300
312
|
zod.z.string().max(40),
|
|
301
313
|
zod.z.union([zod.z.string().max(500), zod.z.boolean(), zod.z.null()])
|
|
@@ -2390,14 +2402,14 @@ var openapi_default = {
|
|
|
2390
2402
|
},
|
|
2391
2403
|
required: [
|
|
2392
2404
|
"client_session_id",
|
|
2393
|
-
"
|
|
2405
|
+
"workspace_id",
|
|
2394
2406
|
"created_at",
|
|
2395
2407
|
"token",
|
|
2408
|
+
"user_identifier_key",
|
|
2396
2409
|
"device_count",
|
|
2397
2410
|
"connected_account_ids",
|
|
2398
2411
|
"connect_webview_ids",
|
|
2399
|
-
"user_identity_ids"
|
|
2400
|
-
"workspace_id"
|
|
2412
|
+
"user_identity_ids"
|
|
2401
2413
|
],
|
|
2402
2414
|
type: "object"
|
|
2403
2415
|
},
|
|
@@ -9894,6 +9906,7 @@ var openapi_default = {
|
|
|
9894
9906
|
401: { description: "Unauthorized" }
|
|
9895
9907
|
},
|
|
9896
9908
|
security: [
|
|
9909
|
+
{ client_session: [] },
|
|
9897
9910
|
{ api_key: [] },
|
|
9898
9911
|
{ pat_with_workspace: [] },
|
|
9899
9912
|
{ console_session: [] }
|
|
@@ -10587,6 +10600,7 @@ var openapi_default = {
|
|
|
10587
10600
|
401: { description: "Unauthorized" }
|
|
10588
10601
|
},
|
|
10589
10602
|
security: [
|
|
10603
|
+
{ client_session: [] },
|
|
10590
10604
|
{ api_key: [] },
|
|
10591
10605
|
{ pat_with_workspace: [] },
|
|
10592
10606
|
{ console_session: [] }
|