@seamapi/types 1.385.0 → 1.386.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 +169 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2505 -199
- package/lib/seam/connect/models/colors.d.ts +2 -0
- package/lib/seam/connect/models/colors.js +8 -0
- package/lib/seam/connect/models/colors.js.map +1 -0
- package/lib/seam/connect/models/events/access-grants.d.ts +277 -0
- package/lib/seam/connect/models/events/access-grants.js +60 -0
- package/lib/seam/connect/models/events/access-grants.js.map +1 -0
- package/lib/seam/connect/models/events/access-methods.d.ts +146 -0
- package/lib/seam/connect/models/events/access-methods.js +35 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -0
- package/lib/seam/connect/models/workspaces/workspace.d.ts +33 -0
- package/lib/seam/connect/models/workspaces/workspace.js +8 -0
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +208 -1
- package/lib/seam/connect/openapi.js +153 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2068 -2
- package/package.json +2 -2
- package/src/lib/seam/connect/models/colors.ts +9 -0
- package/src/lib/seam/connect/models/events/access-grants.ts +92 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +51 -0
- package/src/lib/seam/connect/models/workspaces/workspace.ts +9 -0
- package/src/lib/seam/connect/openapi.ts +158 -8
- package/src/lib/seam/connect/route-types.ts +2420 -2
package/dist/connect.cjs
CHANGED
|
@@ -4281,11 +4281,26 @@ var webhook = zod.z.object({
|
|
|
4281
4281
|
route_path: /webhooks
|
|
4282
4282
|
---
|
|
4283
4283
|
`);
|
|
4284
|
+
var hex_color_code = zod.z.string().refine((value) => {
|
|
4285
|
+
if (value != null) {
|
|
4286
|
+
return /^#[\da-fa-z]{3,6}$/i.test(value);
|
|
4287
|
+
}
|
|
4288
|
+
return true;
|
|
4289
|
+
}, "Must be a hex color");
|
|
4290
|
+
|
|
4291
|
+
// src/lib/seam/connect/models/workspaces/workspace.ts
|
|
4284
4292
|
var workspace = zod.z.object({
|
|
4285
4293
|
workspace_id: zod.z.string().uuid(),
|
|
4286
4294
|
name: zod.z.string(),
|
|
4287
4295
|
company_name: zod.z.string(),
|
|
4288
4296
|
is_sandbox: zod.z.boolean(),
|
|
4297
|
+
connect_webview_customization: zod.z.object({
|
|
4298
|
+
primary_button_color: hex_color_code.optional(),
|
|
4299
|
+
primary_button_text_color: hex_color_code.optional(),
|
|
4300
|
+
success_message: zod.z.string().optional(),
|
|
4301
|
+
logo_shape: zod.z.enum(["circle", "square"]).optional(),
|
|
4302
|
+
inviter_logo_url: zod.z.string().optional()
|
|
4303
|
+
}),
|
|
4289
4304
|
is_suspended: zod.z.boolean().describe("True if a sandbox workspace has not been accessed in 14 days"),
|
|
4290
4305
|
connect_partner_name: zod.z.string().nullable().describe(
|
|
4291
4306
|
`
|
|
@@ -20339,6 +20354,16 @@ var openapi_default = {
|
|
|
20339
20354
|
type: "string",
|
|
20340
20355
|
"x-deprecated": "use company_name"
|
|
20341
20356
|
},
|
|
20357
|
+
connect_webview_customization: {
|
|
20358
|
+
properties: {
|
|
20359
|
+
inviter_logo_url: { type: "string" },
|
|
20360
|
+
logo_shape: { enum: ["circle", "square"], type: "string" },
|
|
20361
|
+
primary_button_color: { type: "string" },
|
|
20362
|
+
primary_button_text_color: { type: "string" },
|
|
20363
|
+
success_message: { type: "string" }
|
|
20364
|
+
},
|
|
20365
|
+
type: "object"
|
|
20366
|
+
},
|
|
20342
20367
|
is_sandbox: { type: "boolean" },
|
|
20343
20368
|
is_suspended: {
|
|
20344
20369
|
description: "True if a sandbox workspace has not been accessed in 14 days",
|
|
@@ -20352,6 +20377,7 @@ var openapi_default = {
|
|
|
20352
20377
|
"name",
|
|
20353
20378
|
"company_name",
|
|
20354
20379
|
"is_sandbox",
|
|
20380
|
+
"connect_webview_customization",
|
|
20355
20381
|
"is_suspended",
|
|
20356
20382
|
"connect_partner_name"
|
|
20357
20383
|
],
|
|
@@ -28746,11 +28772,11 @@ var openapi_default = {
|
|
|
28746
28772
|
schema: {
|
|
28747
28773
|
properties: {
|
|
28748
28774
|
action_attempt: {
|
|
28749
|
-
$ref: "#/components/schemas/
|
|
28775
|
+
$ref: "#/components/schemas/action_attempt"
|
|
28750
28776
|
},
|
|
28751
28777
|
ok: { type: "boolean" }
|
|
28752
28778
|
},
|
|
28753
|
-
required: ["ok"],
|
|
28779
|
+
required: ["action_attempt", "ok"],
|
|
28754
28780
|
type: "object"
|
|
28755
28781
|
}
|
|
28756
28782
|
}
|
|
@@ -28796,11 +28822,11 @@ var openapi_default = {
|
|
|
28796
28822
|
schema: {
|
|
28797
28823
|
properties: {
|
|
28798
28824
|
action_attempt: {
|
|
28799
|
-
$ref: "#/components/schemas/
|
|
28825
|
+
$ref: "#/components/schemas/action_attempt"
|
|
28800
28826
|
},
|
|
28801
28827
|
ok: { type: "boolean" }
|
|
28802
28828
|
},
|
|
28803
|
-
required: ["ok"],
|
|
28829
|
+
required: ["action_attempt", "ok"],
|
|
28804
28830
|
type: "object"
|
|
28805
28831
|
}
|
|
28806
28832
|
}
|
|
@@ -28820,7 +28846,8 @@ var openapi_default = {
|
|
|
28820
28846
|
"x-action-attempt-type": "SIMULATE_MANUAL_LOCK_VIA_KEYPAD",
|
|
28821
28847
|
"x-fern-sdk-group-name": ["locks", "simulate"],
|
|
28822
28848
|
"x-fern-sdk-method-name": "manual_lock_via_keypad",
|
|
28823
|
-
"x-
|
|
28849
|
+
"x-fern-sdk-return-value": "action_attempt",
|
|
28850
|
+
"x-response-key": "action_attempt",
|
|
28824
28851
|
"x-undocumented": "Unreleased."
|
|
28825
28852
|
}
|
|
28826
28853
|
},
|
|
@@ -34848,6 +34875,12 @@ var openapi_default = {
|
|
|
34848
34875
|
"application/json": {
|
|
34849
34876
|
schema: {
|
|
34850
34877
|
properties: {
|
|
34878
|
+
max_use_count: {
|
|
34879
|
+
default: 1,
|
|
34880
|
+
description: "The maximum number of times the instant key can be used. Defaults to 1.",
|
|
34881
|
+
format: "float",
|
|
34882
|
+
type: "number"
|
|
34883
|
+
},
|
|
34851
34884
|
user_identity_id: {
|
|
34852
34885
|
description: "ID of the user identity for which you want to generate an instant key.",
|
|
34853
34886
|
format: "uuid",
|
|
@@ -35855,15 +35888,45 @@ var openapi_default = {
|
|
|
35855
35888
|
type: "string",
|
|
35856
35889
|
"x-deprecated": "use company_name"
|
|
35857
35890
|
},
|
|
35891
|
+
connect_webview_customization: {
|
|
35892
|
+
properties: {
|
|
35893
|
+
logo_shape: {
|
|
35894
|
+
enum: ["circle", "square"],
|
|
35895
|
+
nullable: true,
|
|
35896
|
+
type: "string"
|
|
35897
|
+
},
|
|
35898
|
+
primary_button_color: { nullable: true, type: "string" },
|
|
35899
|
+
primary_button_text_color: {
|
|
35900
|
+
nullable: true,
|
|
35901
|
+
type: "string"
|
|
35902
|
+
},
|
|
35903
|
+
success_message: { nullable: true, type: "string" }
|
|
35904
|
+
},
|
|
35905
|
+
type: "object"
|
|
35906
|
+
},
|
|
35858
35907
|
is_sandbox: { default: false, type: "boolean" },
|
|
35859
35908
|
name: { type: "string" },
|
|
35860
35909
|
webview_logo_shape: {
|
|
35910
|
+
deprecated: true,
|
|
35861
35911
|
enum: ["circle", "square"],
|
|
35862
|
-
type: "string"
|
|
35912
|
+
type: "string",
|
|
35913
|
+
"x-deprecated": "Use `connect_webview_customization.webview_logo_shape` instead."
|
|
35863
35914
|
},
|
|
35864
|
-
webview_primary_button_color: {
|
|
35865
|
-
|
|
35866
|
-
|
|
35915
|
+
webview_primary_button_color: {
|
|
35916
|
+
deprecated: true,
|
|
35917
|
+
type: "string",
|
|
35918
|
+
"x-deprecated": "Use `connect_webview_customization.webview_primary_button_color` instead."
|
|
35919
|
+
},
|
|
35920
|
+
webview_primary_button_text_color: {
|
|
35921
|
+
deprecated: true,
|
|
35922
|
+
type: "string",
|
|
35923
|
+
"x-deprecated": "Use `connect_webview_customization.webview_primary_button_text_color` instead."
|
|
35924
|
+
},
|
|
35925
|
+
webview_success_message: {
|
|
35926
|
+
deprecated: true,
|
|
35927
|
+
type: "string",
|
|
35928
|
+
"x-deprecated": "Use `connect_webview_customization.webview_success_message` instead."
|
|
35929
|
+
}
|
|
35867
35930
|
},
|
|
35868
35931
|
required: ["name"],
|
|
35869
35932
|
type: "object"
|
|
@@ -36086,6 +36149,103 @@ var openapi_default = {
|
|
|
36086
36149
|
"x-fern-sdk-return-value": "action_attempt",
|
|
36087
36150
|
"x-response-key": "action_attempt"
|
|
36088
36151
|
}
|
|
36152
|
+
},
|
|
36153
|
+
"/workspaces/update": {
|
|
36154
|
+
patch: {
|
|
36155
|
+
operationId: "workspacesUpdatePatch",
|
|
36156
|
+
requestBody: {
|
|
36157
|
+
content: {
|
|
36158
|
+
"application/json": {
|
|
36159
|
+
schema: {
|
|
36160
|
+
properties: {
|
|
36161
|
+
connect_partner_name: { type: "string" },
|
|
36162
|
+
connect_webview_customization: {
|
|
36163
|
+
properties: {
|
|
36164
|
+
logo_shape: {
|
|
36165
|
+
enum: ["circle", "square"],
|
|
36166
|
+
nullable: true,
|
|
36167
|
+
type: "string"
|
|
36168
|
+
},
|
|
36169
|
+
primary_button_color: { nullable: true, type: "string" },
|
|
36170
|
+
primary_button_text_color: {
|
|
36171
|
+
nullable: true,
|
|
36172
|
+
type: "string"
|
|
36173
|
+
},
|
|
36174
|
+
success_message: { nullable: true, type: "string" }
|
|
36175
|
+
},
|
|
36176
|
+
type: "object"
|
|
36177
|
+
},
|
|
36178
|
+
is_suspended: { type: "boolean" },
|
|
36179
|
+
name: { type: "string" }
|
|
36180
|
+
},
|
|
36181
|
+
type: "object"
|
|
36182
|
+
}
|
|
36183
|
+
}
|
|
36184
|
+
}
|
|
36185
|
+
},
|
|
36186
|
+
responses: {
|
|
36187
|
+
200: { description: "OK" },
|
|
36188
|
+
400: { description: "Bad Request" },
|
|
36189
|
+
401: { description: "Unauthorized" }
|
|
36190
|
+
},
|
|
36191
|
+
security: [
|
|
36192
|
+
{ api_key: [] },
|
|
36193
|
+
{ console_session_with_workspace: [] },
|
|
36194
|
+
{ pat_with_workspace: [] }
|
|
36195
|
+
],
|
|
36196
|
+
summary: "/workspaces/update",
|
|
36197
|
+
tags: ["/workspaces"],
|
|
36198
|
+
"x-fern-ignore": true,
|
|
36199
|
+
"x-response-key": null
|
|
36200
|
+
},
|
|
36201
|
+
post: {
|
|
36202
|
+
operationId: "workspacesUpdatePost",
|
|
36203
|
+
requestBody: {
|
|
36204
|
+
content: {
|
|
36205
|
+
"application/json": {
|
|
36206
|
+
schema: {
|
|
36207
|
+
properties: {
|
|
36208
|
+
connect_partner_name: { type: "string" },
|
|
36209
|
+
connect_webview_customization: {
|
|
36210
|
+
properties: {
|
|
36211
|
+
logo_shape: {
|
|
36212
|
+
enum: ["circle", "square"],
|
|
36213
|
+
nullable: true,
|
|
36214
|
+
type: "string"
|
|
36215
|
+
},
|
|
36216
|
+
primary_button_color: { nullable: true, type: "string" },
|
|
36217
|
+
primary_button_text_color: {
|
|
36218
|
+
nullable: true,
|
|
36219
|
+
type: "string"
|
|
36220
|
+
},
|
|
36221
|
+
success_message: { nullable: true, type: "string" }
|
|
36222
|
+
},
|
|
36223
|
+
type: "object"
|
|
36224
|
+
},
|
|
36225
|
+
is_suspended: { type: "boolean" },
|
|
36226
|
+
name: { type: "string" }
|
|
36227
|
+
},
|
|
36228
|
+
type: "object"
|
|
36229
|
+
}
|
|
36230
|
+
}
|
|
36231
|
+
}
|
|
36232
|
+
},
|
|
36233
|
+
responses: {
|
|
36234
|
+
200: { description: "OK" },
|
|
36235
|
+
400: { description: "Bad Request" },
|
|
36236
|
+
401: { description: "Unauthorized" }
|
|
36237
|
+
},
|
|
36238
|
+
security: [
|
|
36239
|
+
{ api_key: [] },
|
|
36240
|
+
{ console_session_with_workspace: [] },
|
|
36241
|
+
{ pat_with_workspace: [] }
|
|
36242
|
+
],
|
|
36243
|
+
summary: "/workspaces/update",
|
|
36244
|
+
tags: ["/workspaces"],
|
|
36245
|
+
"x-fern-sdk-group-name": ["workspaces"],
|
|
36246
|
+
"x-fern-sdk-method-name": "update",
|
|
36247
|
+
"x-response-key": null
|
|
36248
|
+
}
|
|
36089
36249
|
}
|
|
36090
36250
|
},
|
|
36091
36251
|
servers: [{ url: "https://connect.getseam.com" }],
|