@seamapi/types 1.54.0 → 1.55.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 +57 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +97 -0
- package/lib/seam/connect/openapi.d.ts +74 -0
- package/lib/seam/connect/openapi.js +57 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +23 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +57 -0
- package/src/lib/seam/connect/route-types.ts +23 -0
package/dist/connect.cjs
CHANGED
|
@@ -1889,6 +1889,11 @@ var openapi_default = {
|
|
|
1889
1889
|
scheme: "bearer",
|
|
1890
1890
|
type: "http"
|
|
1891
1891
|
},
|
|
1892
|
+
pat_without_workspace: {
|
|
1893
|
+
bearerFormat: "API Token",
|
|
1894
|
+
scheme: "bearer",
|
|
1895
|
+
type: "http"
|
|
1896
|
+
},
|
|
1892
1897
|
seam_client_session_token: {
|
|
1893
1898
|
in: "header",
|
|
1894
1899
|
name: "seam-client-session-token",
|
|
@@ -9693,6 +9698,58 @@ var openapi_default = {
|
|
|
9693
9698
|
"x-fern-sdk-return-value": "webhooks"
|
|
9694
9699
|
}
|
|
9695
9700
|
},
|
|
9701
|
+
"/workspaces/create": {
|
|
9702
|
+
post: {
|
|
9703
|
+
operationId: "workspacesCreatePost",
|
|
9704
|
+
requestBody: {
|
|
9705
|
+
content: {
|
|
9706
|
+
"application/json": {
|
|
9707
|
+
schema: {
|
|
9708
|
+
properties: {
|
|
9709
|
+
connect_partner_name: {
|
|
9710
|
+
description: "The name shown inside the connect webview",
|
|
9711
|
+
type: "string"
|
|
9712
|
+
},
|
|
9713
|
+
is_sandbox: { default: false, type: "boolean" },
|
|
9714
|
+
webview_logo_shape: {
|
|
9715
|
+
enum: ["circle", "square"],
|
|
9716
|
+
type: "string"
|
|
9717
|
+
},
|
|
9718
|
+
webview_primary_button_color: { type: "string" },
|
|
9719
|
+
workspace_name: { type: "string" }
|
|
9720
|
+
},
|
|
9721
|
+
required: ["workspace_name", "connect_partner_name"],
|
|
9722
|
+
type: "object"
|
|
9723
|
+
}
|
|
9724
|
+
}
|
|
9725
|
+
}
|
|
9726
|
+
},
|
|
9727
|
+
responses: {
|
|
9728
|
+
200: {
|
|
9729
|
+
content: {
|
|
9730
|
+
"application/json": {
|
|
9731
|
+
schema: {
|
|
9732
|
+
properties: {
|
|
9733
|
+
ok: { type: "boolean" },
|
|
9734
|
+
workspace: { $ref: "#/components/schemas/workspace" }
|
|
9735
|
+
},
|
|
9736
|
+
required: ["workspace", "ok"],
|
|
9737
|
+
type: "object"
|
|
9738
|
+
}
|
|
9739
|
+
}
|
|
9740
|
+
},
|
|
9741
|
+
description: "OK"
|
|
9742
|
+
},
|
|
9743
|
+
400: { description: "Bad Request" },
|
|
9744
|
+
401: { description: "Unauthorized" }
|
|
9745
|
+
},
|
|
9746
|
+
security: [{ pat_without_workspace: [] }],
|
|
9747
|
+
summary: "/workspaces/create",
|
|
9748
|
+
tags: ["/workspaces"],
|
|
9749
|
+
"x-fern-sdk-group-name": ["workspaces"],
|
|
9750
|
+
"x-fern-sdk-method-name": "create"
|
|
9751
|
+
}
|
|
9752
|
+
},
|
|
9696
9753
|
"/workspaces/get": {
|
|
9697
9754
|
get: {
|
|
9698
9755
|
operationId: "workspacesGetGet",
|