Compare commits

...

2 Commits

Author SHA1 Message Date
GitHub Action
6dfce1eef4 [automated] Apply ESLint and Oxfmt fixes 2026-06-13 02:03:35 +00:00
mattmillerai
8b9bd4ebe5 [chore] Update Ingest API types from cloud@447a63e 2026-06-13 02:00:02 +00:00
2 changed files with 29 additions and 8 deletions

View File

@@ -900,7 +900,7 @@ export type PaymentPortalRequest = {
}
/**
* Response after successfully resubscribing to a billing plan.
* Response after accepting a resubscribe request.
*/
export type ResubscribeResponse = {
/**
@@ -908,9 +908,9 @@ export type ResubscribeResponse = {
*/
billing_op_id: string
/**
* The subscription status after resubscribing
* Subscription outcome. `active` means the resubscribe committed (the scheduled cancellation was undone); `pending` means the operation is still executing — poll the billing operation for the final outcome.
*/
status: 'active'
status: 'active' | 'pending'
/**
* Human-readable confirmation message
*/
@@ -1474,6 +1474,16 @@ export type OAuthConsentChallenge = {
* Human-readable name of the protected resource, from oauth_resources.display_name.
*/
resource_display_name: string
/**
* The exact redirect URI this authorization request was validated
* against at GET time (oauth_authorization_requests.redirect_uri,
* itself byte-matched to the client registration). The frontend
* binds the post-consent navigation to this value, so it needs no
* per-client knowledge of callback schemes. Surfaced verbatim;
* also suitable for display so users can verify the destination.
*
*/
redirect_uri: string
/**
* Scopes the client is requesting for this resource. The frontend should present these for the user to approve.
*/
@@ -2775,6 +2785,10 @@ export type SystemStatsResponse = {
* ComfyUI version
*/
comfyui_version: string
/**
* How this ComfyUI instance is deployed (e.g. cloud, local-git, local-portable, local-desktop)
*/
deploy_environment?: string
/**
* ComfyUI frontend version (commit hash or tag)
*/
@@ -4805,7 +4819,9 @@ export type UpdateAssetData = {
export type UpdateAssetErrors = {
/**
* Invalid request (no fields provided)
* Invalid request no fields provided, or `preview_id` is the zero UUID
* (`INVALID_PREVIEW_ID`).
*
*/
400: ErrorResponse
/**
@@ -4813,7 +4829,10 @@ export type UpdateAssetErrors = {
*/
401: ErrorResponse
/**
* Asset not found
* Asset not found — returned both when the asset being updated does
* not exist and when `preview_id` does not reference an asset
* accessible to the caller.
*
*/
404: ErrorResponse
/**
@@ -6412,7 +6431,7 @@ export type GetOAuthAuthorizeData = {
export type GetOAuthAuthorizeErrors = {
/**
* Invalid authorize request (pre-redirect failure — unknown client, redirect mismatch, malformed params)
* Invalid authorize request (pre-redirect failure — unknown client, redirect mismatch, malformed params). Content-negotiated; browser navigations (Accept includes text/html without application/json) receive a self-contained HTML error page instead of JSON.
*/
400: ErrorResponse
/**

View File

@@ -540,11 +540,11 @@ export const zPaymentPortalRequest = z.object({
})
/**
* Response after successfully resubscribing to a billing plan.
* Response after accepting a resubscribe request.
*/
export const zResubscribeResponse = z.object({
billing_op_id: z.string(),
status: z.enum(['active']),
status: z.enum(['active', 'pending']),
message: z.string().optional()
})
@@ -930,6 +930,7 @@ export const zOAuthConsentChallenge = z.object({
csrf_token: z.string(),
client_display_name: z.string(),
resource_display_name: z.string(),
redirect_uri: z.string().url(),
scopes: z.array(z.string()),
workspaces: z.array(zOAuthConsentChallengeWorkspace)
})
@@ -1624,6 +1625,7 @@ export const zSystemStatsResponse = z.object({
python_version: z.string(),
embedded_python: z.boolean(),
comfyui_version: z.string(),
deploy_environment: z.string().optional(),
comfyui_frontend_version: z.string().optional(),
workflow_templates_version: z.string().optional(),
cloud_version: z.string().optional(),