@seamapi/types 1.485.0 → 1.486.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 +333 -313
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +8380 -0
- package/dist/index.cjs +333 -313
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +18674 -9282
- package/lib/seam/connect/models/batch.js +3 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +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 +14530 -10870
- 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 +10175 -5831
package/dist/index.cjs
CHANGED
|
@@ -4017,319 +4017,6 @@ var connect_webview = zod.z.object({
|
|
|
4017
4017
|
|
|
4018
4018
|
To list all providers within a category, use \`/devices/list_device_providers\` with the desired \`provider_category\` filter. To list all provider keys, use \`/devices/list_device_providers\` with no filters.
|
|
4019
4019
|
`);
|
|
4020
|
-
var space = zod.z.object({
|
|
4021
|
-
space_id: zod.z.string().uuid().describe("ID of the space."),
|
|
4022
|
-
workspace_id: zod.z.string().uuid().describe(
|
|
4023
|
-
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space."
|
|
4024
|
-
),
|
|
4025
|
-
space_key: zod.z.string().optional().describe("Unique key for the space within the workspace."),
|
|
4026
|
-
name: zod.z.string().describe("Name of the space."),
|
|
4027
|
-
display_name: zod.z.string().describe("Display name for the space."),
|
|
4028
|
-
created_at: zod.z.string().datetime().describe("Date and time at which the space was created."),
|
|
4029
|
-
device_count: zod.z.number().describe("Number of devices in the space."),
|
|
4030
|
-
acs_entrance_count: zod.z.number().describe("Number of entrances in the space.")
|
|
4031
|
-
}).describe(`
|
|
4032
|
-
---
|
|
4033
|
-
draft: Early access.
|
|
4034
|
-
route_path: /spaces
|
|
4035
|
-
---
|
|
4036
|
-
Represents a space that is a logical grouping of devices and entrances. You can assign access to an entire space, thereby making granting access more efficient.
|
|
4037
|
-
`);
|
|
4038
|
-
var common_user_identity_error = zod.z.object({
|
|
4039
|
-
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
4040
|
-
message: zod.z.string().describe(
|
|
4041
|
-
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
4042
|
-
)
|
|
4043
|
-
});
|
|
4044
|
-
var common_user_identity_warning = zod.z.object({
|
|
4045
|
-
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
|
|
4046
|
-
message: zod.z.string().describe(
|
|
4047
|
-
"Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
|
|
4048
|
-
)
|
|
4049
|
-
});
|
|
4050
|
-
var user_identity_being_deleted = common_user_identity_warning.extend({
|
|
4051
|
-
warning_code: zod.z.literal("being_deleted").describe(
|
|
4052
|
-
"Unique identifier of the type of warning. Enables quick recognition and categorization of the issue."
|
|
4053
|
-
)
|
|
4054
|
-
}).describe("Indicates that the user identity is currently being deleted.");
|
|
4055
|
-
var acs_user_profile_does_not_match_user_identity = common_user_identity_warning.extend({
|
|
4056
|
-
warning_code: zod.z.literal("acs_user_profile_does_not_match_user_identity").describe(
|
|
4057
|
-
"Unique identifier of the type of warning. Enables quick recognition and categorization of the issue."
|
|
4058
|
-
)
|
|
4059
|
-
}).describe(
|
|
4060
|
-
"Indicates that the ACS user's profile does not match the user identity's profile"
|
|
4061
|
-
);
|
|
4062
|
-
var user_identity_issue_with_acs_user = common_user_identity_error.extend({
|
|
4063
|
-
error_code: zod.z.literal("issue_with_acs_user").describe(
|
|
4064
|
-
"Unique identifier of the type of error. Enables quick recognition and categorization of the issue."
|
|
4065
|
-
),
|
|
4066
|
-
acs_user_id: zod.z.string().uuid().describe("ID of the access system user that has an issue."),
|
|
4067
|
-
acs_system_id: zod.z.string().uuid().describe(
|
|
4068
|
-
"ID of the access system that the user identity is associated with."
|
|
4069
|
-
)
|
|
4070
|
-
}).describe(
|
|
4071
|
-
"Indicates that there is an issue with an access system user associated with this user identity."
|
|
4072
|
-
);
|
|
4073
|
-
zod.z.object({
|
|
4074
|
-
issue_with_acs_user: zod.z.record(zod.z.string().uuid(), user_identity_issue_with_acs_user).optional().nullable().describe(
|
|
4075
|
-
"Map of access system user IDs to issues with the access system user. The key is the access system user ID, and the value is the issue with the access system user."
|
|
4076
|
-
)
|
|
4077
|
-
});
|
|
4078
|
-
var user_identity_warnings = zod.z.discriminatedUnion("warning_code", [
|
|
4079
|
-
user_identity_being_deleted,
|
|
4080
|
-
acs_user_profile_does_not_match_user_identity
|
|
4081
|
-
]).describe("Warnings associated with the user identity.");
|
|
4082
|
-
zod.z.object({
|
|
4083
|
-
user_identity_being_deleted: user_identity_being_deleted.optional().nullable(),
|
|
4084
|
-
acs_user_profile_does_not_match_user_identity: acs_user_profile_does_not_match_user_identity.optional().nullable()
|
|
4085
|
-
});
|
|
4086
|
-
var user_identity_errors = zod.z.discriminatedUnion("error_code", [user_identity_issue_with_acs_user]).describe("Errors associated with the user identity.");
|
|
4087
|
-
var user_identity = zod.z.object({
|
|
4088
|
-
user_identity_id: zod.z.string().uuid().describe("ID of the user identity."),
|
|
4089
|
-
user_identity_key: zod.z.string().min(1).nullable().describe("Unique key for the user identity."),
|
|
4090
|
-
email_address: zod.z.string().email().nullable().describe("Unique email address for the user identity."),
|
|
4091
|
-
phone_number: phone_number.nullable().describe(
|
|
4092
|
-
"Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100)."
|
|
4093
|
-
),
|
|
4094
|
-
display_name: zod.z.string().min(1),
|
|
4095
|
-
full_name: zod.z.string().min(1).nullable(),
|
|
4096
|
-
created_at: zod.z.string().datetime().describe("Date and time at which the user identity was created."),
|
|
4097
|
-
workspace_id: zod.z.string().uuid().describe(
|
|
4098
|
-
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity."
|
|
4099
|
-
),
|
|
4100
|
-
errors: zod.z.array(user_identity_errors).describe(
|
|
4101
|
-
'Array of errors associated with the user identity. Each error object within the array contains fields like "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.'
|
|
4102
|
-
),
|
|
4103
|
-
warnings: zod.z.array(user_identity_warnings).describe(
|
|
4104
|
-
'Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.'
|
|
4105
|
-
),
|
|
4106
|
-
acs_user_ids: zod.z.array(zod.z.string().uuid()).describe(
|
|
4107
|
-
"Array of access system user IDs associated with the user identity."
|
|
4108
|
-
)
|
|
4109
|
-
}).describe(`
|
|
4110
|
-
---
|
|
4111
|
-
route_path: /user_identities
|
|
4112
|
-
---
|
|
4113
|
-
Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account.
|
|
4114
|
-
`);
|
|
4115
|
-
var hex_color_code = zod.z.string().refine((value) => {
|
|
4116
|
-
if (value != null) {
|
|
4117
|
-
return /^#[\da-fa-z]{3,6}$/i.test(value);
|
|
4118
|
-
}
|
|
4119
|
-
return true;
|
|
4120
|
-
}, "Must be a hex color");
|
|
4121
|
-
|
|
4122
|
-
// src/lib/seam/connect/models/workspaces/workspace.ts
|
|
4123
|
-
var workspace = zod.z.object({
|
|
4124
|
-
workspace_id: zod.z.string().uuid().describe(
|
|
4125
|
-
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces)."
|
|
4126
|
-
),
|
|
4127
|
-
name: zod.z.string().describe(
|
|
4128
|
-
"Name of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces)."
|
|
4129
|
-
),
|
|
4130
|
-
company_name: zod.z.string().describe(
|
|
4131
|
-
"Company name associated with the [workspace](https://docs.seam.co/latest/core-concepts/workspaces)."
|
|
4132
|
-
),
|
|
4133
|
-
is_sandbox: zod.z.boolean().describe(
|
|
4134
|
-
"Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces)."
|
|
4135
|
-
),
|
|
4136
|
-
connect_webview_customization: zod.z.object({
|
|
4137
|
-
primary_button_color: hex_color_code.optional().describe(
|
|
4138
|
-
"Primary button color for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews)."
|
|
4139
|
-
),
|
|
4140
|
-
primary_button_text_color: hex_color_code.optional().describe(
|
|
4141
|
-
"Primary button text color for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews)."
|
|
4142
|
-
),
|
|
4143
|
-
success_message: zod.z.string().optional().describe(
|
|
4144
|
-
"Success message for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews)."
|
|
4145
|
-
),
|
|
4146
|
-
logo_shape: zod.z.enum(["circle", "square"]).optional().describe(
|
|
4147
|
-
"Logo shape for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews)."
|
|
4148
|
-
),
|
|
4149
|
-
inviter_logo_url: zod.z.string().optional().describe(
|
|
4150
|
-
"URL of the inviter logo for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews)."
|
|
4151
|
-
)
|
|
4152
|
-
}),
|
|
4153
|
-
is_suspended: zod.z.boolean().describe(
|
|
4154
|
-
"Indicates whether the [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days."
|
|
4155
|
-
),
|
|
4156
|
-
connect_partner_name: zod.z.string().nullable().describe(
|
|
4157
|
-
`
|
|
4158
|
-
---
|
|
4159
|
-
deprecated: Use \`company_name\` instead.
|
|
4160
|
-
---
|
|
4161
|
-
`
|
|
4162
|
-
).nullable()
|
|
4163
|
-
}).describe(`
|
|
4164
|
-
---
|
|
4165
|
-
route_path: /workspaces
|
|
4166
|
-
---
|
|
4167
|
-
Represents a Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces). A workspace is a top-level entity that encompasses all other resources below it, such as devices, connected accounts, and Connect Webviews. Seam provides two types of workspaces. A [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces) is a special type of workspace designed for testing code. Sandbox workspaces offer test device accounts and virtual devices that you can connect and control. This ability to work with virtual devices is quite handy because it removes the need to own physical devices from multiple brands. To connect real devices and systems to Seam, use a [production workspace](https://docs.seam.co/latest/core-concepts/workspaces#production-workspaces).
|
|
4168
|
-
`);
|
|
4169
|
-
|
|
4170
|
-
// src/lib/seam/connect/models/batch.ts
|
|
4171
|
-
zod.z.object({
|
|
4172
|
-
batch_type: zod.z.literal("spaces"),
|
|
4173
|
-
spaces: space.array().optional(),
|
|
4174
|
-
devices: device.array().optional(),
|
|
4175
|
-
acs_entrances: acs_entrance.array().optional(),
|
|
4176
|
-
connected_accounts: connected_account.array().optional(),
|
|
4177
|
-
acs_systems: acs_system.array().optional()
|
|
4178
|
-
}).describe("ID of the affected access system user.");
|
|
4179
|
-
zod.z.object({
|
|
4180
|
-
batch_type: zod.z.literal("access_grants"),
|
|
4181
|
-
spaces: space.array().optional(),
|
|
4182
|
-
devices: device.array().optional(),
|
|
4183
|
-
acs_entrances: acs_entrance.array().optional(),
|
|
4184
|
-
user_identities: user_identity.array().optional(),
|
|
4185
|
-
connected_accounts: connected_account.array().optional(),
|
|
4186
|
-
acs_systems: acs_system.array().optional()
|
|
4187
|
-
});
|
|
4188
|
-
zod.z.object({
|
|
4189
|
-
batch_type: zod.z.literal("access_methods"),
|
|
4190
|
-
spaces: space.array().optional(),
|
|
4191
|
-
devices: device.array().optional(),
|
|
4192
|
-
acs_entrances: acs_entrance.array().optional()
|
|
4193
|
-
});
|
|
4194
|
-
zod.z.object({
|
|
4195
|
-
batch_type: zod.z.literal("workspaces"),
|
|
4196
|
-
user_identities: user_identity.array().optional(),
|
|
4197
|
-
workspaces: workspace.array().optional(),
|
|
4198
|
-
spaces: space.array().optional(),
|
|
4199
|
-
devices: device.array().optional(),
|
|
4200
|
-
acs_entrances: acs_entrance.array().optional(),
|
|
4201
|
-
acs_systems: acs_system.array().optional(),
|
|
4202
|
-
acs_users: acs_user.array().optional(),
|
|
4203
|
-
acs_access_groups: acs_access_group.array().optional(),
|
|
4204
|
-
acs_encoders: acs_encoder.array().optional(),
|
|
4205
|
-
action_attempts: action_attempt.array().optional(),
|
|
4206
|
-
client_sessions: client_session.array().optional(),
|
|
4207
|
-
unmanaged_acs_users: unmanaged_acs_user.array().optional(),
|
|
4208
|
-
unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
|
|
4209
|
-
unmanaged_devices: unmanaged_device.array().optional(),
|
|
4210
|
-
connected_accounts: connected_account.array().optional(),
|
|
4211
|
-
connect_webviews: connect_webview.array().optional(),
|
|
4212
|
-
access_methods: access_method.array().optional(),
|
|
4213
|
-
access_grants: access_grant.array().optional()
|
|
4214
|
-
}).describe("A batch of workspace resources.");
|
|
4215
|
-
var batch = zod.z.object({
|
|
4216
|
-
batch_type: zod.z.enum([
|
|
4217
|
-
"workspaces",
|
|
4218
|
-
"spaces",
|
|
4219
|
-
"access_grants",
|
|
4220
|
-
"access_methods"
|
|
4221
|
-
]),
|
|
4222
|
-
user_identities: user_identity.array().optional(),
|
|
4223
|
-
workspaces: workspace.array().optional(),
|
|
4224
|
-
spaces: space.array().optional(),
|
|
4225
|
-
devices: device.array().optional(),
|
|
4226
|
-
acs_entrances: acs_entrance.array().optional(),
|
|
4227
|
-
acs_systems: acs_system.array().optional(),
|
|
4228
|
-
acs_users: acs_user.array().optional(),
|
|
4229
|
-
acs_access_groups: acs_access_group.array().optional(),
|
|
4230
|
-
acs_encoders: acs_encoder.array().optional(),
|
|
4231
|
-
action_attempts: action_attempt.array().optional(),
|
|
4232
|
-
client_sessions: client_session.array().optional(),
|
|
4233
|
-
unmanaged_acs_users: unmanaged_acs_user.array().optional(),
|
|
4234
|
-
unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
|
|
4235
|
-
unmanaged_devices: unmanaged_device.array().optional(),
|
|
4236
|
-
connect_webviews: connect_webview.array().optional(),
|
|
4237
|
-
access_methods: access_method.array().optional(),
|
|
4238
|
-
access_grants: access_grant.array().optional()
|
|
4239
|
-
}).describe("A batch of workspace resources.");
|
|
4240
|
-
var bridge = zod.z.object({
|
|
4241
|
-
bridge_id: zod.z.string().uuid().describe("ID of Seam Bridge."),
|
|
4242
|
-
workspace_id: zod.z.string().uuid().describe(
|
|
4243
|
-
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains Seam Bridge."
|
|
4244
|
-
),
|
|
4245
|
-
created_at: zod.z.string().datetime().describe("Date and time at which Seam Bridge was created.")
|
|
4246
|
-
}).describe(`
|
|
4247
|
-
---
|
|
4248
|
-
undocumented: Unreleased.
|
|
4249
|
-
route_path: /bridges
|
|
4250
|
-
---
|
|
4251
|
-
Represents [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).
|
|
4252
|
-
`);
|
|
4253
|
-
var common_bridge_client_session_error = zod.z.object({
|
|
4254
|
-
message: zod.z.string().describe(
|
|
4255
|
-
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
4256
|
-
),
|
|
4257
|
-
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error.")
|
|
4258
|
-
});
|
|
4259
|
-
var error_code_description6 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
4260
|
-
var bridge_lan_unreachable = common_bridge_client_session_error.extend({
|
|
4261
|
-
error_code: zod.z.literal("bridge_lan_unreachable").describe(error_code_description6),
|
|
4262
|
-
is_tailscale_proxy_reachable: zod.z.boolean().nullable().describe("Indicates whether Seam can reach the Tailscale proxy."),
|
|
4263
|
-
is_tailscale_proxy_socks_server_healthy: zod.z.boolean().nullable().describe(
|
|
4264
|
-
"Indicates whether the Tailscale proxy's SOCKS server is healthy."
|
|
4265
|
-
),
|
|
4266
|
-
can_tailscale_proxy_reach_tailscale_network: zod.z.boolean().nullable().describe(
|
|
4267
|
-
"Indicates whether the Tailscale proxy can reach the Tailscale network."
|
|
4268
|
-
),
|
|
4269
|
-
can_tailscale_proxy_reach_bridge: zod.z.boolean().nullable().describe("Indicates whether the Tailscale proxy can reach Seam Bridge."),
|
|
4270
|
-
is_bridge_socks_server_healthy: zod.z.boolean().nullable().describe("Indicates whether Seam Bridge's SOCKS server is healthy.")
|
|
4271
|
-
}).describe("Indicates that Seam cannot reach Seam Bridge's LAN.");
|
|
4272
|
-
var no_communication_from_bridge = common_bridge_client_session_error.extend({
|
|
4273
|
-
error_code: zod.z.literal("no_communication_from_bridge").describe(error_code_description6)
|
|
4274
|
-
}).describe("Indicates that Seam Bridge has stopped communicating with Seam.");
|
|
4275
|
-
var bridge_client_session_error = zod.z.discriminatedUnion("error_code", [
|
|
4276
|
-
bridge_lan_unreachable,
|
|
4277
|
-
no_communication_from_bridge
|
|
4278
|
-
]).describe(
|
|
4279
|
-
"Indicates an error associated with the Seam Bridge client session."
|
|
4280
|
-
);
|
|
4281
|
-
zod.z.object({
|
|
4282
|
-
bridge_lan_unreachable: bridge_lan_unreachable.optional().nullable(),
|
|
4283
|
-
no_communication_from_bridge: no_communication_from_bridge.optional().nullable()
|
|
4284
|
-
});
|
|
4285
|
-
var bridge_client_session = zod.z.object({
|
|
4286
|
-
created_at: zod.z.string().datetime().describe(
|
|
4287
|
-
"Date and time at which the Seam Bridge client session was created."
|
|
4288
|
-
),
|
|
4289
|
-
bridge_client_session_id: zod.z.string().uuid().describe("ID of the Seam Bridge client session."),
|
|
4290
|
-
bridge_client_session_token: zod.z.string().describe(
|
|
4291
|
-
"Client session token associated with the Seam Bridge client session."
|
|
4292
|
-
),
|
|
4293
|
-
pairing_code: zod.z.string().length(6).describe(
|
|
4294
|
-
"Pairing code for Seam Bridge. Use this code to pair Seam Bridge with your workspace."
|
|
4295
|
-
),
|
|
4296
|
-
pairing_code_expires_at: zod.z.string().datetime().describe("Date and time at which the pairing code expires."),
|
|
4297
|
-
tailscale_hostname: zod.z.string().describe("Tailscale hostname for Seam Bridge."),
|
|
4298
|
-
tailscale_auth_key: zod.z.string().nullable().describe("Tailscale authorization key for Seam Bridge."),
|
|
4299
|
-
bridge_client_name: zod.z.string().describe("Name of the Seam Bridge client."),
|
|
4300
|
-
bridge_client_time_zone: zod.z.string().describe("Time zone for the Seam Bridge client."),
|
|
4301
|
-
bridge_client_machine_identifier_key: zod.z.string().describe(
|
|
4302
|
-
"Identifier key of the client machine for the Seam Bridge client."
|
|
4303
|
-
),
|
|
4304
|
-
errors: zod.z.array(bridge_client_session_error).describe("Errors associated with the Seam Bridge client session."),
|
|
4305
|
-
telemetry_token: zod.z.string().nullable().describe("Telemetry token for the Seam Bridge client session."),
|
|
4306
|
-
telemetry_token_expires_at: zod.z.string().datetime().nullable().describe(
|
|
4307
|
-
"Date and time at which the telemetry token for the Seam Bridge client session expires."
|
|
4308
|
-
),
|
|
4309
|
-
telemetry_url: zod.z.string().nullable().describe("Telemetry URL for the Seam Bridge client session.")
|
|
4310
|
-
}).describe(`
|
|
4311
|
-
---
|
|
4312
|
-
route_path: /seam/bridge/v1/bridge_client_sessions
|
|
4313
|
-
undocumented: Seam Bridge client only.
|
|
4314
|
-
---
|
|
4315
|
-
Represents a [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session.
|
|
4316
|
-
`);
|
|
4317
|
-
var customization_profile = zod.z.object({
|
|
4318
|
-
workspace_id: zod.z.string().uuid(),
|
|
4319
|
-
name: zod.z.string().nullable(),
|
|
4320
|
-
customization_profile_id: zod.z.string().uuid(),
|
|
4321
|
-
created_at: zod.z.string().datetime(),
|
|
4322
|
-
logo_url: zod.z.string().url().optional(),
|
|
4323
|
-
primary_color: zod.z.string().optional(),
|
|
4324
|
-
secondary_color: zod.z.string().optional()
|
|
4325
|
-
}).describe(`
|
|
4326
|
-
---
|
|
4327
|
-
title: Customization Profile
|
|
4328
|
-
undocumented: Unreleased.
|
|
4329
|
-
route_path: /workspaces/customization_profiles
|
|
4330
|
-
---
|
|
4331
|
-
A customization profile.
|
|
4332
|
-
`);
|
|
4333
4020
|
var common_event = zod.z.object({
|
|
4334
4021
|
event_id: zod.z.string().uuid().describe("ID of the event."),
|
|
4335
4022
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -4338,6 +4025,8 @@ var common_event = zod.z.object({
|
|
|
4338
4025
|
created_at: zod.z.string().datetime().describe("Date and time at which the event was created."),
|
|
4339
4026
|
occurred_at: zod.z.string().datetime().describe("Date and time at which the event occurred.")
|
|
4340
4027
|
});
|
|
4028
|
+
|
|
4029
|
+
// src/lib/seam/connect/models/events/access-codes.ts
|
|
4341
4030
|
var access_code_event = common_event.extend({
|
|
4342
4031
|
access_code_id: zod.z.string().uuid().describe("ID of the affected access code."),
|
|
4343
4032
|
device_id: zod.z.string().uuid().describe("ID of the device associated with the affected access code."),
|
|
@@ -5417,6 +5106,321 @@ var event_types = seam_event.options.map(
|
|
|
5417
5106
|
zod.z.enum(
|
|
5418
5107
|
event_types
|
|
5419
5108
|
);
|
|
5109
|
+
var space = zod.z.object({
|
|
5110
|
+
space_id: zod.z.string().uuid().describe("ID of the space."),
|
|
5111
|
+
workspace_id: zod.z.string().uuid().describe(
|
|
5112
|
+
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space."
|
|
5113
|
+
),
|
|
5114
|
+
space_key: zod.z.string().optional().describe("Unique key for the space within the workspace."),
|
|
5115
|
+
name: zod.z.string().describe("Name of the space."),
|
|
5116
|
+
display_name: zod.z.string().describe("Display name for the space."),
|
|
5117
|
+
created_at: zod.z.string().datetime().describe("Date and time at which the space was created."),
|
|
5118
|
+
device_count: zod.z.number().describe("Number of devices in the space."),
|
|
5119
|
+
acs_entrance_count: zod.z.number().describe("Number of entrances in the space.")
|
|
5120
|
+
}).describe(`
|
|
5121
|
+
---
|
|
5122
|
+
draft: Early access.
|
|
5123
|
+
route_path: /spaces
|
|
5124
|
+
---
|
|
5125
|
+
Represents a space that is a logical grouping of devices and entrances. You can assign access to an entire space, thereby making granting access more efficient.
|
|
5126
|
+
`);
|
|
5127
|
+
var common_user_identity_error = zod.z.object({
|
|
5128
|
+
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
5129
|
+
message: zod.z.string().describe(
|
|
5130
|
+
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
5131
|
+
)
|
|
5132
|
+
});
|
|
5133
|
+
var common_user_identity_warning = zod.z.object({
|
|
5134
|
+
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
|
|
5135
|
+
message: zod.z.string().describe(
|
|
5136
|
+
"Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
|
|
5137
|
+
)
|
|
5138
|
+
});
|
|
5139
|
+
var user_identity_being_deleted = common_user_identity_warning.extend({
|
|
5140
|
+
warning_code: zod.z.literal("being_deleted").describe(
|
|
5141
|
+
"Unique identifier of the type of warning. Enables quick recognition and categorization of the issue."
|
|
5142
|
+
)
|
|
5143
|
+
}).describe("Indicates that the user identity is currently being deleted.");
|
|
5144
|
+
var acs_user_profile_does_not_match_user_identity = common_user_identity_warning.extend({
|
|
5145
|
+
warning_code: zod.z.literal("acs_user_profile_does_not_match_user_identity").describe(
|
|
5146
|
+
"Unique identifier of the type of warning. Enables quick recognition and categorization of the issue."
|
|
5147
|
+
)
|
|
5148
|
+
}).describe(
|
|
5149
|
+
"Indicates that the ACS user's profile does not match the user identity's profile"
|
|
5150
|
+
);
|
|
5151
|
+
var user_identity_issue_with_acs_user = common_user_identity_error.extend({
|
|
5152
|
+
error_code: zod.z.literal("issue_with_acs_user").describe(
|
|
5153
|
+
"Unique identifier of the type of error. Enables quick recognition and categorization of the issue."
|
|
5154
|
+
),
|
|
5155
|
+
acs_user_id: zod.z.string().uuid().describe("ID of the access system user that has an issue."),
|
|
5156
|
+
acs_system_id: zod.z.string().uuid().describe(
|
|
5157
|
+
"ID of the access system that the user identity is associated with."
|
|
5158
|
+
)
|
|
5159
|
+
}).describe(
|
|
5160
|
+
"Indicates that there is an issue with an access system user associated with this user identity."
|
|
5161
|
+
);
|
|
5162
|
+
zod.z.object({
|
|
5163
|
+
issue_with_acs_user: zod.z.record(zod.z.string().uuid(), user_identity_issue_with_acs_user).optional().nullable().describe(
|
|
5164
|
+
"Map of access system user IDs to issues with the access system user. The key is the access system user ID, and the value is the issue with the access system user."
|
|
5165
|
+
)
|
|
5166
|
+
});
|
|
5167
|
+
var user_identity_warnings = zod.z.discriminatedUnion("warning_code", [
|
|
5168
|
+
user_identity_being_deleted,
|
|
5169
|
+
acs_user_profile_does_not_match_user_identity
|
|
5170
|
+
]).describe("Warnings associated with the user identity.");
|
|
5171
|
+
zod.z.object({
|
|
5172
|
+
user_identity_being_deleted: user_identity_being_deleted.optional().nullable(),
|
|
5173
|
+
acs_user_profile_does_not_match_user_identity: acs_user_profile_does_not_match_user_identity.optional().nullable()
|
|
5174
|
+
});
|
|
5175
|
+
var user_identity_errors = zod.z.discriminatedUnion("error_code", [user_identity_issue_with_acs_user]).describe("Errors associated with the user identity.");
|
|
5176
|
+
var user_identity = zod.z.object({
|
|
5177
|
+
user_identity_id: zod.z.string().uuid().describe("ID of the user identity."),
|
|
5178
|
+
user_identity_key: zod.z.string().min(1).nullable().describe("Unique key for the user identity."),
|
|
5179
|
+
email_address: zod.z.string().email().nullable().describe("Unique email address for the user identity."),
|
|
5180
|
+
phone_number: phone_number.nullable().describe(
|
|
5181
|
+
"Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100)."
|
|
5182
|
+
),
|
|
5183
|
+
display_name: zod.z.string().min(1),
|
|
5184
|
+
full_name: zod.z.string().min(1).nullable(),
|
|
5185
|
+
created_at: zod.z.string().datetime().describe("Date and time at which the user identity was created."),
|
|
5186
|
+
workspace_id: zod.z.string().uuid().describe(
|
|
5187
|
+
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity."
|
|
5188
|
+
),
|
|
5189
|
+
errors: zod.z.array(user_identity_errors).describe(
|
|
5190
|
+
'Array of errors associated with the user identity. Each error object within the array contains fields like "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.'
|
|
5191
|
+
),
|
|
5192
|
+
warnings: zod.z.array(user_identity_warnings).describe(
|
|
5193
|
+
'Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.'
|
|
5194
|
+
),
|
|
5195
|
+
acs_user_ids: zod.z.array(zod.z.string().uuid()).describe(
|
|
5196
|
+
"Array of access system user IDs associated with the user identity."
|
|
5197
|
+
)
|
|
5198
|
+
}).describe(`
|
|
5199
|
+
---
|
|
5200
|
+
route_path: /user_identities
|
|
5201
|
+
---
|
|
5202
|
+
Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account.
|
|
5203
|
+
`);
|
|
5204
|
+
var hex_color_code = zod.z.string().refine((value) => {
|
|
5205
|
+
if (value != null) {
|
|
5206
|
+
return /^#[\da-fa-z]{3,6}$/i.test(value);
|
|
5207
|
+
}
|
|
5208
|
+
return true;
|
|
5209
|
+
}, "Must be a hex color");
|
|
5210
|
+
|
|
5211
|
+
// src/lib/seam/connect/models/workspaces/workspace.ts
|
|
5212
|
+
var workspace = zod.z.object({
|
|
5213
|
+
workspace_id: zod.z.string().uuid().describe(
|
|
5214
|
+
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces)."
|
|
5215
|
+
),
|
|
5216
|
+
name: zod.z.string().describe(
|
|
5217
|
+
"Name of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces)."
|
|
5218
|
+
),
|
|
5219
|
+
company_name: zod.z.string().describe(
|
|
5220
|
+
"Company name associated with the [workspace](https://docs.seam.co/latest/core-concepts/workspaces)."
|
|
5221
|
+
),
|
|
5222
|
+
is_sandbox: zod.z.boolean().describe(
|
|
5223
|
+
"Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces)."
|
|
5224
|
+
),
|
|
5225
|
+
connect_webview_customization: zod.z.object({
|
|
5226
|
+
primary_button_color: hex_color_code.optional().describe(
|
|
5227
|
+
"Primary button color for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews)."
|
|
5228
|
+
),
|
|
5229
|
+
primary_button_text_color: hex_color_code.optional().describe(
|
|
5230
|
+
"Primary button text color for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews)."
|
|
5231
|
+
),
|
|
5232
|
+
success_message: zod.z.string().optional().describe(
|
|
5233
|
+
"Success message for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews)."
|
|
5234
|
+
),
|
|
5235
|
+
logo_shape: zod.z.enum(["circle", "square"]).optional().describe(
|
|
5236
|
+
"Logo shape for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews)."
|
|
5237
|
+
),
|
|
5238
|
+
inviter_logo_url: zod.z.string().optional().describe(
|
|
5239
|
+
"URL of the inviter logo for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews)."
|
|
5240
|
+
)
|
|
5241
|
+
}),
|
|
5242
|
+
is_suspended: zod.z.boolean().describe(
|
|
5243
|
+
"Indicates whether the [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days."
|
|
5244
|
+
),
|
|
5245
|
+
connect_partner_name: zod.z.string().nullable().describe(
|
|
5246
|
+
`
|
|
5247
|
+
---
|
|
5248
|
+
deprecated: Use \`company_name\` instead.
|
|
5249
|
+
---
|
|
5250
|
+
`
|
|
5251
|
+
).nullable()
|
|
5252
|
+
}).describe(`
|
|
5253
|
+
---
|
|
5254
|
+
route_path: /workspaces
|
|
5255
|
+
---
|
|
5256
|
+
Represents a Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces). A workspace is a top-level entity that encompasses all other resources below it, such as devices, connected accounts, and Connect Webviews. Seam provides two types of workspaces. A [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces) is a special type of workspace designed for testing code. Sandbox workspaces offer test device accounts and virtual devices that you can connect and control. This ability to work with virtual devices is quite handy because it removes the need to own physical devices from multiple brands. To connect real devices and systems to Seam, use a [production workspace](https://docs.seam.co/latest/core-concepts/workspaces#production-workspaces).
|
|
5257
|
+
`);
|
|
5258
|
+
|
|
5259
|
+
// src/lib/seam/connect/models/batch.ts
|
|
5260
|
+
zod.z.object({
|
|
5261
|
+
batch_type: zod.z.literal("spaces"),
|
|
5262
|
+
spaces: space.array().optional(),
|
|
5263
|
+
devices: device.array().optional(),
|
|
5264
|
+
acs_entrances: acs_entrance.array().optional(),
|
|
5265
|
+
connected_accounts: connected_account.array().optional(),
|
|
5266
|
+
acs_systems: acs_system.array().optional()
|
|
5267
|
+
}).describe("ID of the affected access system user.");
|
|
5268
|
+
zod.z.object({
|
|
5269
|
+
batch_type: zod.z.literal("access_grants"),
|
|
5270
|
+
spaces: space.array().optional(),
|
|
5271
|
+
devices: device.array().optional(),
|
|
5272
|
+
acs_entrances: acs_entrance.array().optional(),
|
|
5273
|
+
user_identities: user_identity.array().optional(),
|
|
5274
|
+
connected_accounts: connected_account.array().optional(),
|
|
5275
|
+
acs_systems: acs_system.array().optional()
|
|
5276
|
+
});
|
|
5277
|
+
zod.z.object({
|
|
5278
|
+
batch_type: zod.z.literal("access_methods"),
|
|
5279
|
+
spaces: space.array().optional(),
|
|
5280
|
+
devices: device.array().optional(),
|
|
5281
|
+
acs_entrances: acs_entrance.array().optional()
|
|
5282
|
+
});
|
|
5283
|
+
zod.z.object({
|
|
5284
|
+
batch_type: zod.z.literal("workspaces"),
|
|
5285
|
+
user_identities: user_identity.array().optional(),
|
|
5286
|
+
workspaces: workspace.array().optional(),
|
|
5287
|
+
spaces: space.array().optional(),
|
|
5288
|
+
devices: device.array().optional(),
|
|
5289
|
+
acs_entrances: acs_entrance.array().optional(),
|
|
5290
|
+
acs_systems: acs_system.array().optional(),
|
|
5291
|
+
acs_users: acs_user.array().optional(),
|
|
5292
|
+
acs_access_groups: acs_access_group.array().optional(),
|
|
5293
|
+
acs_encoders: acs_encoder.array().optional(),
|
|
5294
|
+
action_attempts: action_attempt.array().optional(),
|
|
5295
|
+
client_sessions: client_session.array().optional(),
|
|
5296
|
+
unmanaged_acs_users: unmanaged_acs_user.array().optional(),
|
|
5297
|
+
unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
|
|
5298
|
+
unmanaged_devices: unmanaged_device.array().optional(),
|
|
5299
|
+
connected_accounts: connected_account.array().optional(),
|
|
5300
|
+
connect_webviews: connect_webview.array().optional(),
|
|
5301
|
+
access_methods: access_method.array().optional(),
|
|
5302
|
+
access_grants: access_grant.array().optional(),
|
|
5303
|
+
events: seam_event.array().optional()
|
|
5304
|
+
}).describe("A batch of workspace resources.");
|
|
5305
|
+
var batch = zod.z.object({
|
|
5306
|
+
batch_type: zod.z.enum([
|
|
5307
|
+
"workspaces",
|
|
5308
|
+
"spaces",
|
|
5309
|
+
"access_grants",
|
|
5310
|
+
"access_methods"
|
|
5311
|
+
]),
|
|
5312
|
+
user_identities: user_identity.array().optional(),
|
|
5313
|
+
workspaces: workspace.array().optional(),
|
|
5314
|
+
spaces: space.array().optional(),
|
|
5315
|
+
devices: device.array().optional(),
|
|
5316
|
+
acs_entrances: acs_entrance.array().optional(),
|
|
5317
|
+
acs_systems: acs_system.array().optional(),
|
|
5318
|
+
acs_users: acs_user.array().optional(),
|
|
5319
|
+
acs_access_groups: acs_access_group.array().optional(),
|
|
5320
|
+
acs_encoders: acs_encoder.array().optional(),
|
|
5321
|
+
action_attempts: action_attempt.array().optional(),
|
|
5322
|
+
client_sessions: client_session.array().optional(),
|
|
5323
|
+
unmanaged_acs_users: unmanaged_acs_user.array().optional(),
|
|
5324
|
+
unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
|
|
5325
|
+
unmanaged_devices: unmanaged_device.array().optional(),
|
|
5326
|
+
connect_webviews: connect_webview.array().optional(),
|
|
5327
|
+
access_methods: access_method.array().optional(),
|
|
5328
|
+
access_grants: access_grant.array().optional(),
|
|
5329
|
+
events: seam_event.array().optional()
|
|
5330
|
+
}).describe("A batch of workspace resources.");
|
|
5331
|
+
var bridge = zod.z.object({
|
|
5332
|
+
bridge_id: zod.z.string().uuid().describe("ID of Seam Bridge."),
|
|
5333
|
+
workspace_id: zod.z.string().uuid().describe(
|
|
5334
|
+
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains Seam Bridge."
|
|
5335
|
+
),
|
|
5336
|
+
created_at: zod.z.string().datetime().describe("Date and time at which Seam Bridge was created.")
|
|
5337
|
+
}).describe(`
|
|
5338
|
+
---
|
|
5339
|
+
undocumented: Unreleased.
|
|
5340
|
+
route_path: /bridges
|
|
5341
|
+
---
|
|
5342
|
+
Represents [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).
|
|
5343
|
+
`);
|
|
5344
|
+
var common_bridge_client_session_error = zod.z.object({
|
|
5345
|
+
message: zod.z.string().describe(
|
|
5346
|
+
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
5347
|
+
),
|
|
5348
|
+
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error.")
|
|
5349
|
+
});
|
|
5350
|
+
var error_code_description6 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
5351
|
+
var bridge_lan_unreachable = common_bridge_client_session_error.extend({
|
|
5352
|
+
error_code: zod.z.literal("bridge_lan_unreachable").describe(error_code_description6),
|
|
5353
|
+
is_tailscale_proxy_reachable: zod.z.boolean().nullable().describe("Indicates whether Seam can reach the Tailscale proxy."),
|
|
5354
|
+
is_tailscale_proxy_socks_server_healthy: zod.z.boolean().nullable().describe(
|
|
5355
|
+
"Indicates whether the Tailscale proxy's SOCKS server is healthy."
|
|
5356
|
+
),
|
|
5357
|
+
can_tailscale_proxy_reach_tailscale_network: zod.z.boolean().nullable().describe(
|
|
5358
|
+
"Indicates whether the Tailscale proxy can reach the Tailscale network."
|
|
5359
|
+
),
|
|
5360
|
+
can_tailscale_proxy_reach_bridge: zod.z.boolean().nullable().describe("Indicates whether the Tailscale proxy can reach Seam Bridge."),
|
|
5361
|
+
is_bridge_socks_server_healthy: zod.z.boolean().nullable().describe("Indicates whether Seam Bridge's SOCKS server is healthy.")
|
|
5362
|
+
}).describe("Indicates that Seam cannot reach Seam Bridge's LAN.");
|
|
5363
|
+
var no_communication_from_bridge = common_bridge_client_session_error.extend({
|
|
5364
|
+
error_code: zod.z.literal("no_communication_from_bridge").describe(error_code_description6)
|
|
5365
|
+
}).describe("Indicates that Seam Bridge has stopped communicating with Seam.");
|
|
5366
|
+
var bridge_client_session_error = zod.z.discriminatedUnion("error_code", [
|
|
5367
|
+
bridge_lan_unreachable,
|
|
5368
|
+
no_communication_from_bridge
|
|
5369
|
+
]).describe(
|
|
5370
|
+
"Indicates an error associated with the Seam Bridge client session."
|
|
5371
|
+
);
|
|
5372
|
+
zod.z.object({
|
|
5373
|
+
bridge_lan_unreachable: bridge_lan_unreachable.optional().nullable(),
|
|
5374
|
+
no_communication_from_bridge: no_communication_from_bridge.optional().nullable()
|
|
5375
|
+
});
|
|
5376
|
+
var bridge_client_session = zod.z.object({
|
|
5377
|
+
created_at: zod.z.string().datetime().describe(
|
|
5378
|
+
"Date and time at which the Seam Bridge client session was created."
|
|
5379
|
+
),
|
|
5380
|
+
bridge_client_session_id: zod.z.string().uuid().describe("ID of the Seam Bridge client session."),
|
|
5381
|
+
bridge_client_session_token: zod.z.string().describe(
|
|
5382
|
+
"Client session token associated with the Seam Bridge client session."
|
|
5383
|
+
),
|
|
5384
|
+
pairing_code: zod.z.string().length(6).describe(
|
|
5385
|
+
"Pairing code for Seam Bridge. Use this code to pair Seam Bridge with your workspace."
|
|
5386
|
+
),
|
|
5387
|
+
pairing_code_expires_at: zod.z.string().datetime().describe("Date and time at which the pairing code expires."),
|
|
5388
|
+
tailscale_hostname: zod.z.string().describe("Tailscale hostname for Seam Bridge."),
|
|
5389
|
+
tailscale_auth_key: zod.z.string().nullable().describe("Tailscale authorization key for Seam Bridge."),
|
|
5390
|
+
bridge_client_name: zod.z.string().describe("Name of the Seam Bridge client."),
|
|
5391
|
+
bridge_client_time_zone: zod.z.string().describe("Time zone for the Seam Bridge client."),
|
|
5392
|
+
bridge_client_machine_identifier_key: zod.z.string().describe(
|
|
5393
|
+
"Identifier key of the client machine for the Seam Bridge client."
|
|
5394
|
+
),
|
|
5395
|
+
errors: zod.z.array(bridge_client_session_error).describe("Errors associated with the Seam Bridge client session."),
|
|
5396
|
+
telemetry_token: zod.z.string().nullable().describe("Telemetry token for the Seam Bridge client session."),
|
|
5397
|
+
telemetry_token_expires_at: zod.z.string().datetime().nullable().describe(
|
|
5398
|
+
"Date and time at which the telemetry token for the Seam Bridge client session expires."
|
|
5399
|
+
),
|
|
5400
|
+
telemetry_url: zod.z.string().nullable().describe("Telemetry URL for the Seam Bridge client session.")
|
|
5401
|
+
}).describe(`
|
|
5402
|
+
---
|
|
5403
|
+
route_path: /seam/bridge/v1/bridge_client_sessions
|
|
5404
|
+
undocumented: Seam Bridge client only.
|
|
5405
|
+
---
|
|
5406
|
+
Represents a [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session.
|
|
5407
|
+
`);
|
|
5408
|
+
var customization_profile = zod.z.object({
|
|
5409
|
+
workspace_id: zod.z.string().uuid(),
|
|
5410
|
+
name: zod.z.string().nullable(),
|
|
5411
|
+
customization_profile_id: zod.z.string().uuid(),
|
|
5412
|
+
created_at: zod.z.string().datetime(),
|
|
5413
|
+
logo_url: zod.z.string().url().optional(),
|
|
5414
|
+
primary_color: zod.z.string().optional(),
|
|
5415
|
+
secondary_color: zod.z.string().optional()
|
|
5416
|
+
}).describe(`
|
|
5417
|
+
---
|
|
5418
|
+
title: Customization Profile
|
|
5419
|
+
undocumented: Unreleased.
|
|
5420
|
+
route_path: /workspaces/customization_profiles
|
|
5421
|
+
---
|
|
5422
|
+
A customization profile.
|
|
5423
|
+
`);
|
|
5420
5424
|
var instant_key = zod.z.object({
|
|
5421
5425
|
instant_key_id: zod.z.string().uuid().describe("ID of the Instant Key."),
|
|
5422
5426
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -31842,6 +31846,10 @@ var openapi_default = {
|
|
|
31842
31846
|
items: { $ref: "#/components/schemas/device" },
|
|
31843
31847
|
type: "array"
|
|
31844
31848
|
},
|
|
31849
|
+
events: {
|
|
31850
|
+
items: { $ref: "#/components/schemas/event" },
|
|
31851
|
+
type: "array"
|
|
31852
|
+
},
|
|
31845
31853
|
spaces: {
|
|
31846
31854
|
items: { $ref: "#/components/schemas/space" },
|
|
31847
31855
|
type: "array"
|
|
@@ -32007,6 +32015,10 @@ var openapi_default = {
|
|
|
32007
32015
|
items: { $ref: "#/components/schemas/device" },
|
|
32008
32016
|
type: "array"
|
|
32009
32017
|
},
|
|
32018
|
+
events: {
|
|
32019
|
+
items: { $ref: "#/components/schemas/event" },
|
|
32020
|
+
type: "array"
|
|
32021
|
+
},
|
|
32010
32022
|
spaces: {
|
|
32011
32023
|
items: { $ref: "#/components/schemas/space" },
|
|
32012
32024
|
type: "array"
|
|
@@ -57902,6 +57914,10 @@ var openapi_default = {
|
|
|
57902
57914
|
items: { $ref: "#/components/schemas/device" },
|
|
57903
57915
|
type: "array"
|
|
57904
57916
|
},
|
|
57917
|
+
events: {
|
|
57918
|
+
items: { $ref: "#/components/schemas/event" },
|
|
57919
|
+
type: "array"
|
|
57920
|
+
},
|
|
57905
57921
|
spaces: {
|
|
57906
57922
|
items: { $ref: "#/components/schemas/space" },
|
|
57907
57923
|
type: "array"
|
|
@@ -58044,6 +58060,10 @@ var openapi_default = {
|
|
|
58044
58060
|
items: { $ref: "#/components/schemas/device" },
|
|
58045
58061
|
type: "array"
|
|
58046
58062
|
},
|
|
58063
|
+
events: {
|
|
58064
|
+
items: { $ref: "#/components/schemas/event" },
|
|
58065
|
+
type: "array"
|
|
58066
|
+
},
|
|
58047
58067
|
spaces: {
|
|
58048
58068
|
items: { $ref: "#/components/schemas/space" },
|
|
58049
58069
|
type: "array"
|