@seamapi/types 1.178.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 +36 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +103 -20
- 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/acs/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/index.js +1 -0
- package/lib/seam/connect/models/acs/index.js.map +1 -1
- package/lib/seam/connect/models/acs/seam-bridge.d.ts +112 -0
- package/lib/seam/connect/models/acs/seam-bridge.js +25 -0
- package/lib/seam/connect/models/acs/seam-bridge.js.map +1 -0
- 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/models/workspaces/workspace.d.ts +4 -1
- package/lib/seam/connect/models/workspaces/workspace.js +10 -1
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +24 -0
- package/lib/seam/connect/openapi.js +15 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +38 -15
- 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/acs/index.ts +1 -0
- package/src/lib/seam/connect/models/acs/seam-bridge.ts +30 -0
- 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/models/workspaces/workspace.ts +12 -1
- package/src/lib/seam/connect/openapi.ts +17 -5
- package/src/lib/seam/connect/route-types.ts +38 -15
- 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()])
|
|
@@ -808,8 +820,15 @@ var seam_event = zod.z.discriminatedUnion("event_type", [
|
|
|
808
820
|
var workspace = zod.z.object({
|
|
809
821
|
workspace_id: zod.z.string().uuid(),
|
|
810
822
|
name: zod.z.string(),
|
|
823
|
+
company_name: zod.z.string(),
|
|
811
824
|
is_sandbox: zod.z.boolean(),
|
|
812
|
-
connect_partner_name: zod.z.string().nullable()
|
|
825
|
+
connect_partner_name: zod.z.string().nullable().describe(
|
|
826
|
+
`
|
|
827
|
+
---
|
|
828
|
+
deprecated: use company_name
|
|
829
|
+
---
|
|
830
|
+
`
|
|
831
|
+
).nullable()
|
|
813
832
|
});
|
|
814
833
|
|
|
815
834
|
// src/lib/seam/connect/openapi.ts
|
|
@@ -2383,14 +2402,14 @@ var openapi_default = {
|
|
|
2383
2402
|
},
|
|
2384
2403
|
required: [
|
|
2385
2404
|
"client_session_id",
|
|
2386
|
-
"
|
|
2405
|
+
"workspace_id",
|
|
2387
2406
|
"created_at",
|
|
2388
2407
|
"token",
|
|
2408
|
+
"user_identifier_key",
|
|
2389
2409
|
"device_count",
|
|
2390
2410
|
"connected_account_ids",
|
|
2391
2411
|
"connect_webview_ids",
|
|
2392
|
-
"user_identity_ids"
|
|
2393
|
-
"workspace_id"
|
|
2412
|
+
"user_identity_ids"
|
|
2394
2413
|
],
|
|
2395
2414
|
type: "object"
|
|
2396
2415
|
},
|
|
@@ -4409,7 +4428,12 @@ var openapi_default = {
|
|
|
4409
4428
|
},
|
|
4410
4429
|
workspace: {
|
|
4411
4430
|
properties: {
|
|
4412
|
-
|
|
4431
|
+
company_name: { type: "string" },
|
|
4432
|
+
connect_partner_name: {
|
|
4433
|
+
description: "\n ---\n deprecated: use company_name\n ---\n ",
|
|
4434
|
+
nullable: true,
|
|
4435
|
+
type: "string"
|
|
4436
|
+
},
|
|
4413
4437
|
is_sandbox: { type: "boolean" },
|
|
4414
4438
|
name: { type: "string" },
|
|
4415
4439
|
workspace_id: { format: "uuid", type: "string" }
|
|
@@ -4417,6 +4441,7 @@ var openapi_default = {
|
|
|
4417
4441
|
required: [
|
|
4418
4442
|
"workspace_id",
|
|
4419
4443
|
"name",
|
|
4444
|
+
"company_name",
|
|
4420
4445
|
"is_sandbox",
|
|
4421
4446
|
"connect_partner_name"
|
|
4422
4447
|
],
|
|
@@ -9881,6 +9906,7 @@ var openapi_default = {
|
|
|
9881
9906
|
401: { description: "Unauthorized" }
|
|
9882
9907
|
},
|
|
9883
9908
|
security: [
|
|
9909
|
+
{ client_session: [] },
|
|
9884
9910
|
{ api_key: [] },
|
|
9885
9911
|
{ pat_with_workspace: [] },
|
|
9886
9912
|
{ console_session: [] }
|
|
@@ -10574,6 +10600,7 @@ var openapi_default = {
|
|
|
10574
10600
|
401: { description: "Unauthorized" }
|
|
10575
10601
|
},
|
|
10576
10602
|
security: [
|
|
10603
|
+
{ client_session: [] },
|
|
10577
10604
|
{ api_key: [] },
|
|
10578
10605
|
{ pat_with_workspace: [] },
|
|
10579
10606
|
{ console_session: [] }
|
|
@@ -13375,8 +13402,10 @@ var openapi_default = {
|
|
|
13375
13402
|
"application/json": {
|
|
13376
13403
|
schema: {
|
|
13377
13404
|
properties: {
|
|
13405
|
+
company_name: { type: "string" },
|
|
13378
13406
|
connect_partner_name: {
|
|
13379
|
-
description: "
|
|
13407
|
+
description: "\n ---\n deprecated: use company_name\n ---\n ",
|
|
13408
|
+
nullable: true,
|
|
13380
13409
|
type: "string"
|
|
13381
13410
|
},
|
|
13382
13411
|
is_sandbox: { default: false, type: "boolean" },
|
|
@@ -13387,7 +13416,7 @@ var openapi_default = {
|
|
|
13387
13416
|
},
|
|
13388
13417
|
webview_primary_button_color: { type: "string" }
|
|
13389
13418
|
},
|
|
13390
|
-
required: ["name"
|
|
13419
|
+
required: ["name"],
|
|
13391
13420
|
type: "object"
|
|
13392
13421
|
}
|
|
13393
13422
|
}
|