@seamapi/types 1.800.0 → 1.801.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 +176 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +269 -0
- package/dist/index.cjs +176 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +226 -0
- package/lib/seam/connect/openapi.js +176 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +43 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +184 -0
- package/src/lib/seam/connect/route-types.ts +43 -0
package/dist/connect.cjs
CHANGED
|
@@ -62902,6 +62902,182 @@ var openapi_default = {
|
|
|
62902
62902
|
"x-undocumented": "Seam Bridge Client only."
|
|
62903
62903
|
}
|
|
62904
62904
|
},
|
|
62905
|
+
"/seam/connect_webview/v1/get_current_pane": {
|
|
62906
|
+
get: {
|
|
62907
|
+
description: "Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).",
|
|
62908
|
+
operationId: "seamConnectWebviewV1GetCurrentPaneGet",
|
|
62909
|
+
parameters: [
|
|
62910
|
+
{
|
|
62911
|
+
in: "query",
|
|
62912
|
+
name: "connect_webview_id",
|
|
62913
|
+
required: true,
|
|
62914
|
+
schema: { format: "uuid", type: "string" }
|
|
62915
|
+
}
|
|
62916
|
+
],
|
|
62917
|
+
responses: {
|
|
62918
|
+
200: {
|
|
62919
|
+
content: {
|
|
62920
|
+
"application/json": {
|
|
62921
|
+
schema: {
|
|
62922
|
+
properties: {
|
|
62923
|
+
ok: { type: "boolean" },
|
|
62924
|
+
pane: { $ref: "#/components/schemas/access_code" }
|
|
62925
|
+
},
|
|
62926
|
+
required: ["ok"],
|
|
62927
|
+
type: "object"
|
|
62928
|
+
}
|
|
62929
|
+
}
|
|
62930
|
+
},
|
|
62931
|
+
description: "OK"
|
|
62932
|
+
},
|
|
62933
|
+
400: { description: "Bad Request" },
|
|
62934
|
+
401: { description: "Unauthorized" }
|
|
62935
|
+
},
|
|
62936
|
+
security: [{ console_session_with_workspace: [] }],
|
|
62937
|
+
summary: "/seam/connect_webview/v1/get_current_pane",
|
|
62938
|
+
tags: [],
|
|
62939
|
+
"x-fern-sdk-group-name": ["seam", "connect_webview", "v1"],
|
|
62940
|
+
"x-fern-sdk-method-name": "get_current_pane",
|
|
62941
|
+
"x-fern-sdk-return-value": "pane",
|
|
62942
|
+
"x-response-key": "pane",
|
|
62943
|
+
"x-title": "Get Current Pane",
|
|
62944
|
+
"x-undocumented": "Internal endpoint for driving Connect Webview flows programmatically."
|
|
62945
|
+
},
|
|
62946
|
+
post: {
|
|
62947
|
+
description: "Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).",
|
|
62948
|
+
operationId: "seamConnectWebviewV1GetCurrentPanePost",
|
|
62949
|
+
requestBody: {
|
|
62950
|
+
content: {
|
|
62951
|
+
"application/json": {
|
|
62952
|
+
schema: {
|
|
62953
|
+
properties: {
|
|
62954
|
+
connect_webview_id: { format: "uuid", type: "string" }
|
|
62955
|
+
},
|
|
62956
|
+
required: ["connect_webview_id"],
|
|
62957
|
+
type: "object"
|
|
62958
|
+
}
|
|
62959
|
+
}
|
|
62960
|
+
}
|
|
62961
|
+
},
|
|
62962
|
+
responses: {
|
|
62963
|
+
200: {
|
|
62964
|
+
content: {
|
|
62965
|
+
"application/json": {
|
|
62966
|
+
schema: {
|
|
62967
|
+
properties: {
|
|
62968
|
+
ok: { type: "boolean" },
|
|
62969
|
+
pane: { $ref: "#/components/schemas/access_code" }
|
|
62970
|
+
},
|
|
62971
|
+
required: ["ok"],
|
|
62972
|
+
type: "object"
|
|
62973
|
+
}
|
|
62974
|
+
}
|
|
62975
|
+
},
|
|
62976
|
+
description: "OK"
|
|
62977
|
+
},
|
|
62978
|
+
400: { description: "Bad Request" },
|
|
62979
|
+
401: { description: "Unauthorized" }
|
|
62980
|
+
},
|
|
62981
|
+
security: [{ console_session_with_workspace: [] }],
|
|
62982
|
+
summary: "/seam/connect_webview/v1/get_current_pane",
|
|
62983
|
+
tags: [],
|
|
62984
|
+
"x-fern-sdk-group-name": ["seam", "connect_webview", "v1"],
|
|
62985
|
+
"x-fern-sdk-method-name": "get_current_pane",
|
|
62986
|
+
"x-fern-sdk-return-value": "pane",
|
|
62987
|
+
"x-response-key": "pane",
|
|
62988
|
+
"x-title": "Get Current Pane",
|
|
62989
|
+
"x-undocumented": "Internal endpoint for driving Connect Webview flows programmatically."
|
|
62990
|
+
}
|
|
62991
|
+
},
|
|
62992
|
+
"/seam/connect_webview/v1/reset": {
|
|
62993
|
+
post: {
|
|
62994
|
+
description: "Resets an errored [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) so its login flow can be retried.",
|
|
62995
|
+
operationId: "seamConnectWebviewV1ResetPost",
|
|
62996
|
+
requestBody: {
|
|
62997
|
+
content: {
|
|
62998
|
+
"application/json": {
|
|
62999
|
+
schema: {
|
|
63000
|
+
properties: {
|
|
63001
|
+
connect_webview_id: { format: "uuid", type: "string" }
|
|
63002
|
+
},
|
|
63003
|
+
required: ["connect_webview_id"],
|
|
63004
|
+
type: "object"
|
|
63005
|
+
}
|
|
63006
|
+
}
|
|
63007
|
+
}
|
|
63008
|
+
},
|
|
63009
|
+
responses: {
|
|
63010
|
+
200: {
|
|
63011
|
+
content: {
|
|
63012
|
+
"application/json": {
|
|
63013
|
+
schema: {
|
|
63014
|
+
properties: { ok: { type: "boolean" } },
|
|
63015
|
+
required: ["ok"],
|
|
63016
|
+
type: "object"
|
|
63017
|
+
}
|
|
63018
|
+
}
|
|
63019
|
+
},
|
|
63020
|
+
description: "OK"
|
|
63021
|
+
},
|
|
63022
|
+
400: { description: "Bad Request" },
|
|
63023
|
+
401: { description: "Unauthorized" }
|
|
63024
|
+
},
|
|
63025
|
+
security: [{ console_session_with_workspace: [] }],
|
|
63026
|
+
summary: "/seam/connect_webview/v1/reset",
|
|
63027
|
+
tags: [],
|
|
63028
|
+
"x-fern-sdk-group-name": ["seam", "connect_webview", "v1"],
|
|
63029
|
+
"x-fern-sdk-method-name": "reset",
|
|
63030
|
+
"x-fern-sdk-return-value": "ok",
|
|
63031
|
+
"x-response-key": "ok",
|
|
63032
|
+
"x-title": "Reset Connect Webview",
|
|
63033
|
+
"x-undocumented": "Internal endpoint for driving Connect Webview flows programmatically."
|
|
63034
|
+
}
|
|
63035
|
+
},
|
|
63036
|
+
"/seam/connect_webview/v1/submit": {
|
|
63037
|
+
post: {
|
|
63038
|
+
description: "Submits pane arguments to advance a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) login state machine.",
|
|
63039
|
+
operationId: "seamConnectWebviewV1SubmitPost",
|
|
63040
|
+
requestBody: {
|
|
63041
|
+
content: {
|
|
63042
|
+
"application/json": {
|
|
63043
|
+
schema: {
|
|
63044
|
+
properties: {
|
|
63045
|
+
connect_webview_id: { format: "uuid", type: "string" },
|
|
63046
|
+
submit_args: {}
|
|
63047
|
+
},
|
|
63048
|
+
required: ["connect_webview_id"],
|
|
63049
|
+
type: "object"
|
|
63050
|
+
}
|
|
63051
|
+
}
|
|
63052
|
+
}
|
|
63053
|
+
},
|
|
63054
|
+
responses: {
|
|
63055
|
+
200: {
|
|
63056
|
+
content: {
|
|
63057
|
+
"application/json": {
|
|
63058
|
+
schema: {
|
|
63059
|
+
properties: { ok: { type: "boolean" } },
|
|
63060
|
+
required: ["ok"],
|
|
63061
|
+
type: "object"
|
|
63062
|
+
}
|
|
63063
|
+
}
|
|
63064
|
+
},
|
|
63065
|
+
description: "OK"
|
|
63066
|
+
},
|
|
63067
|
+
400: { description: "Bad Request" },
|
|
63068
|
+
401: { description: "Unauthorized" }
|
|
63069
|
+
},
|
|
63070
|
+
security: [{ console_session_with_workspace: [] }],
|
|
63071
|
+
summary: "/seam/connect_webview/v1/submit",
|
|
63072
|
+
tags: [],
|
|
63073
|
+
"x-fern-sdk-group-name": ["seam", "connect_webview", "v1"],
|
|
63074
|
+
"x-fern-sdk-method-name": "submit",
|
|
63075
|
+
"x-fern-sdk-return-value": "ok",
|
|
63076
|
+
"x-response-key": "ok",
|
|
63077
|
+
"x-title": "Submit Connect Webview Pane",
|
|
63078
|
+
"x-undocumented": "Internal endpoint for driving Connect Webview flows programmatically."
|
|
63079
|
+
}
|
|
63080
|
+
},
|
|
62905
63081
|
"/seam/console/v1/get_resource_locator": {
|
|
62906
63082
|
get: {
|
|
62907
63083
|
description: "Returns the type and system information of a resource given its UUID.",
|