@seamapi/types 1.915.0 → 1.916.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 +335 -380
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1056 -1056
- package/dist/index.cjs +335 -380
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js +2 -2
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js +1 -1
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.js +1 -1
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.js +2 -2
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.js +2 -2
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +2 -2
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/bridges/bridge-connected-system.js +1 -1
- package/lib/seam/connect/models/bridges/bridge-connected-system.js.map +1 -1
- package/lib/seam/connect/models/bridges/bridge.js +1 -1
- package/lib/seam/connect/models/bridges/bridge.js.map +1 -1
- package/lib/seam/connect/models/client-sessions/client-session.js +2 -5
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
- package/lib/seam/connect/models/connect-webviews/connect-webview.js +2 -2
- package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +1 -1
- package/lib/seam/connect/models/customer/customer.js +1 -1
- package/lib/seam/connect/models/customer/customer.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.js +1 -1
- package/lib/seam/connect/models/events/access-codes.js +1 -1
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/action-attempts.js +8 -8
- package/lib/seam/connect/models/events/client-sessions.js +1 -1
- package/lib/seam/connect/models/events/common.js +1 -1
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.js +4 -4
- package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.js +10 -10
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/devices.js +20 -20
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.js +1 -1
- package/lib/seam/connect/models/instant-keys/instant-key.js +2 -2
- package/lib/seam/connect/models/instant-keys/instant-key.js.map +1 -1
- package/lib/seam/connect/models/partner/customer-portal.js +1 -1
- package/lib/seam/connect/models/partner/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/partner/magic-link.js +1 -1
- package/lib/seam/connect/models/partner/magic-link.js.map +1 -1
- package/lib/seam/connect/models/spaces/space.js +1 -1
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-program.js +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.js +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/models/webhooks/webhook.js +1 -3
- package/lib/seam/connect/models/webhooks/webhook.js.map +1 -1
- package/lib/seam/connect/models/workspaces/workspace.js +2 -5
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.js +264 -267
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1056 -1056
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -6
- package/src/lib/seam/connect/models/acs/acs-credential-provisioning-automation.ts +1 -3
- package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -1
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-system.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +2 -2
- package/src/lib/seam/connect/models/bridges/bridge-connected-system.ts +1 -3
- package/src/lib/seam/connect/models/bridges/bridge.ts +1 -3
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +2 -9
- package/src/lib/seam/connect/models/connect-webviews/connect-webview.ts +2 -4
- package/src/lib/seam/connect/models/customer/customer.ts +1 -3
- package/src/lib/seam/connect/models/devices/phone.ts +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +1 -1
- package/src/lib/seam/connect/models/events/action-attempts.ts +8 -8
- package/src/lib/seam/connect/models/events/client-sessions.ts +1 -1
- package/src/lib/seam/connect/models/events/common.ts +1 -3
- package/src/lib/seam/connect/models/events/connect-webviews.ts +4 -8
- package/src/lib/seam/connect/models/events/connected-accounts.ts +10 -14
- package/src/lib/seam/connect/models/events/devices.ts +20 -22
- package/src/lib/seam/connect/models/events/seam-event.ts +1 -1
- package/src/lib/seam/connect/models/instant-keys/instant-key.ts +2 -6
- package/src/lib/seam/connect/models/partner/customer-portal.ts +1 -3
- package/src/lib/seam/connect/models/partner/magic-link.ts +1 -3
- package/src/lib/seam/connect/models/spaces/space.ts +1 -3
- package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +1 -1
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +1 -3
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +1 -3
- package/src/lib/seam/connect/models/webhooks/webhook.ts +1 -5
- package/src/lib/seam/connect/models/workspaces/workspace.ts +2 -7
- package/src/lib/seam/connect/openapi.ts +264 -411
- package/src/lib/seam/connect/route-types.ts +1056 -1056
|
@@ -10,9 +10,7 @@ export const magic_link = z.object({
|
|
|
10
10
|
workspace_id: z
|
|
11
11
|
.string()
|
|
12
12
|
.uuid()
|
|
13
|
-
.describe(
|
|
14
|
-
'ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the magic link.',
|
|
15
|
-
),
|
|
13
|
+
.describe('ID of the workspace associated with the magic link.'),
|
|
16
14
|
created_at: z
|
|
17
15
|
.string()
|
|
18
16
|
.datetime()
|
|
@@ -40,9 +40,7 @@ export const space = z.object({
|
|
|
40
40
|
workspace_id: z
|
|
41
41
|
.string()
|
|
42
42
|
.uuid()
|
|
43
|
-
.describe(
|
|
44
|
-
'ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the space.',
|
|
45
|
-
),
|
|
43
|
+
.describe('ID of the workspace associated with the space.'),
|
|
46
44
|
space_key: z
|
|
47
45
|
.string()
|
|
48
46
|
.optional()
|
|
@@ -40,7 +40,7 @@ export const thermostat_daily_program = z.object({
|
|
|
40
40
|
.string()
|
|
41
41
|
.uuid()
|
|
42
42
|
.describe(
|
|
43
|
-
'ID of the
|
|
43
|
+
'ID of the workspace that contains the thermostat daily program.',
|
|
44
44
|
),
|
|
45
45
|
created_at: z
|
|
46
46
|
.string()
|
|
@@ -54,9 +54,7 @@ export const thermostat_schedule = z.object({
|
|
|
54
54
|
workspace_id: z
|
|
55
55
|
.string()
|
|
56
56
|
.uuid()
|
|
57
|
-
.describe(
|
|
58
|
-
'ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) that contains the thermostat schedule.',
|
|
59
|
-
),
|
|
57
|
+
.describe('ID of the workspace that contains the thermostat schedule.'),
|
|
60
58
|
created_at: z
|
|
61
59
|
.string()
|
|
62
60
|
.datetime()
|
|
@@ -128,9 +128,7 @@ export const user_identity = z.object({
|
|
|
128
128
|
workspace_id: z
|
|
129
129
|
.string()
|
|
130
130
|
.uuid()
|
|
131
|
-
.describe(
|
|
132
|
-
'ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) that contains the user identity.',
|
|
133
|
-
),
|
|
131
|
+
.describe('ID of the workspace that contains the user identity.'),
|
|
134
132
|
errors: z
|
|
135
133
|
.array(user_identity_errors)
|
|
136
134
|
.describe(
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
3
|
export const webhook = z.object({
|
|
4
|
-
webhook_id: z
|
|
5
|
-
.string()
|
|
6
|
-
.describe(
|
|
7
|
-
'ID of the [webhook](https://docs.seam.co/developer-tools/webhooks).',
|
|
8
|
-
),
|
|
4
|
+
webhook_id: z.string().describe('ID of the webhook.'),
|
|
9
5
|
url: z
|
|
10
6
|
.string()
|
|
11
7
|
.describe(
|
|
@@ -3,12 +3,7 @@ import { z } from 'zod'
|
|
|
3
3
|
import { hex_color_code } from '../colors.js'
|
|
4
4
|
|
|
5
5
|
export const workspace = z.object({
|
|
6
|
-
workspace_id: z
|
|
7
|
-
.string()
|
|
8
|
-
.uuid()
|
|
9
|
-
.describe(
|
|
10
|
-
'ID of the [workspace](https://docs.seam.co/core-concepts/workspaces).',
|
|
11
|
-
),
|
|
6
|
+
workspace_id: z.string().uuid().describe('ID of the workspace.'),
|
|
12
7
|
name: z
|
|
13
8
|
.string()
|
|
14
9
|
.describe(
|
|
@@ -86,7 +81,7 @@ export const workspace = z.object({
|
|
|
86
81
|
.uuid()
|
|
87
82
|
.nullable()
|
|
88
83
|
.describe(
|
|
89
|
-
'ID of the organization to which the
|
|
84
|
+
'ID of the organization to which the workspace belongs, or `null` if the workspace is not assigned to an organization.',
|
|
90
85
|
),
|
|
91
86
|
}).describe(`
|
|
92
87
|
---
|