mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 19:21:54 +00:00
[chore] Update Comfy Registry API types from comfy-api@ade7a7d (#7702)
## Automated API Type Update This PR updates the Comfy Registry API types from the latest comfy-api OpenAPI specification. - API commit: ade7a7d - Generated on: 2025-12-22T11:30:15Z These types are automatically generated using openapi-typescript. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7702-chore-Update-Comfy-Registry-API-types-from-comfy-api-ade7a7d-2d16d73d3650814b9b9ad0793ea44926) by [Unito](https://www.unito.io) Co-authored-by: christian-byrne <72887196+christian-byrne@users.noreply.github.com>
This commit is contained in:
95
packages/registry-types/src/comfyRegistryTypes.ts
generated
95
packages/registry-types/src/comfyRegistryTypes.ts
generated
@@ -217,6 +217,28 @@ export interface paths {
|
|||||||
patch?: never;
|
patch?: never;
|
||||||
trace?: never;
|
trace?: never;
|
||||||
};
|
};
|
||||||
|
"/admin/verify-api-key": {
|
||||||
|
parameters: {
|
||||||
|
query?: never;
|
||||||
|
header?: never;
|
||||||
|
path?: never;
|
||||||
|
cookie?: never;
|
||||||
|
};
|
||||||
|
get?: never;
|
||||||
|
put?: never;
|
||||||
|
/**
|
||||||
|
* Verify a ComfyUI API key and return customer details
|
||||||
|
* @description Validates a ComfyUI API key and returns the associated customer information.
|
||||||
|
* This endpoint is used by cloud.comfy.org to authenticate users via API keys
|
||||||
|
* instead of Firebase tokens.
|
||||||
|
*/
|
||||||
|
post: operations["VerifyApiKey"];
|
||||||
|
delete?: never;
|
||||||
|
options?: never;
|
||||||
|
head?: never;
|
||||||
|
patch?: never;
|
||||||
|
trace?: never;
|
||||||
|
};
|
||||||
"/admin/customers/{customer_id}/cloud-subscription-status": {
|
"/admin/customers/{customer_id}/cloud-subscription-status": {
|
||||||
parameters: {
|
parameters: {
|
||||||
query?: never;
|
query?: never;
|
||||||
@@ -3931,6 +3953,11 @@ export interface components {
|
|||||||
* @enum {string}
|
* @enum {string}
|
||||||
*/
|
*/
|
||||||
SubscriptionTier: "STANDARD" | "CREATOR" | "PRO" | "FOUNDERS_EDITION";
|
SubscriptionTier: "STANDARD" | "CREATOR" | "PRO" | "FOUNDERS_EDITION";
|
||||||
|
/**
|
||||||
|
* @description The subscription billing duration
|
||||||
|
* @enum {string}
|
||||||
|
*/
|
||||||
|
SubscriptionDuration: "MONTHLY" | "ANNUAL";
|
||||||
FeaturesResponse: {
|
FeaturesResponse: {
|
||||||
/**
|
/**
|
||||||
* @description The conversion rate for partner nodes
|
* @description The conversion rate for partner nodes
|
||||||
@@ -12046,6 +12073,7 @@ export interface operations {
|
|||||||
/** @description The active subscription ID if one exists */
|
/** @description The active subscription ID if one exists */
|
||||||
subscription_id?: string | null;
|
subscription_id?: string | null;
|
||||||
subscription_tier?: components["schemas"]["SubscriptionTier"] | null;
|
subscription_tier?: components["schemas"]["SubscriptionTier"] | null;
|
||||||
|
subscription_duration?: components["schemas"]["SubscriptionDuration"] | null;
|
||||||
/** @description Whether the customer has funds/credits available */
|
/** @description Whether the customer has funds/credits available */
|
||||||
has_fund?: boolean;
|
has_fund?: boolean;
|
||||||
/**
|
/**
|
||||||
@@ -12079,6 +12107,72 @@ export interface operations {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
VerifyApiKey: {
|
||||||
|
parameters: {
|
||||||
|
query?: never;
|
||||||
|
header: {
|
||||||
|
/** @description Admin API secret used to authorize this request */
|
||||||
|
"X-Comfy-Admin-Secret": string;
|
||||||
|
};
|
||||||
|
path?: never;
|
||||||
|
cookie?: never;
|
||||||
|
};
|
||||||
|
requestBody: {
|
||||||
|
content: {
|
||||||
|
"application/json": {
|
||||||
|
/** @description The ComfyUI API key to verify (e.g., comfy_xxx...) */
|
||||||
|
api_key: string;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
responses: {
|
||||||
|
/** @description API key is valid */
|
||||||
|
200: {
|
||||||
|
headers: {
|
||||||
|
[name: string]: unknown;
|
||||||
|
};
|
||||||
|
content: {
|
||||||
|
"application/json": {
|
||||||
|
/** @description Whether the API key is valid */
|
||||||
|
valid: boolean;
|
||||||
|
/** @description The Firebase UID of the user */
|
||||||
|
firebase_uid: string;
|
||||||
|
/** @description The customer's email address */
|
||||||
|
email?: string;
|
||||||
|
/** @description The customer's name */
|
||||||
|
name?: string;
|
||||||
|
/** @description Whether the customer is an admin */
|
||||||
|
is_admin?: boolean;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Unauthorized or missing admin API secret */
|
||||||
|
401: {
|
||||||
|
headers: {
|
||||||
|
[name: string]: unknown;
|
||||||
|
};
|
||||||
|
content?: never;
|
||||||
|
};
|
||||||
|
/** @description API key not found or invalid */
|
||||||
|
404: {
|
||||||
|
headers: {
|
||||||
|
[name: string]: unknown;
|
||||||
|
};
|
||||||
|
content: {
|
||||||
|
"application/json": components["schemas"]["ErrorResponse"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Internal server error */
|
||||||
|
500: {
|
||||||
|
headers: {
|
||||||
|
[name: string]: unknown;
|
||||||
|
};
|
||||||
|
content: {
|
||||||
|
"application/json": components["schemas"]["ErrorResponse"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
GetAdminCustomerCloudSubscriptionStatus: {
|
GetAdminCustomerCloudSubscriptionStatus: {
|
||||||
parameters: {
|
parameters: {
|
||||||
query?: never;
|
query?: never;
|
||||||
@@ -12106,6 +12200,7 @@ export interface operations {
|
|||||||
/** @description The active subscription ID if one exists */
|
/** @description The active subscription ID if one exists */
|
||||||
subscription_id?: string | null;
|
subscription_id?: string | null;
|
||||||
subscription_tier?: components["schemas"]["SubscriptionTier"] | null;
|
subscription_tier?: components["schemas"]["SubscriptionTier"] | null;
|
||||||
|
subscription_duration?: components["schemas"]["SubscriptionDuration"] | null;
|
||||||
/** @description Whether the customer has funds/credits available */
|
/** @description Whether the customer has funds/credits available */
|
||||||
has_fund?: boolean;
|
has_fund?: boolean;
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user