|
1 | 1 | /* Options: |
2 | | -Date: 2025-10-01 09:26:59 |
3 | | -Version: 8.81 |
| 2 | +Date: 2025-12-10 21:13:05 |
| 3 | +Version: 10.05 |
4 | 4 | Tip: To override a DTO option, remove "//" prefix before updating |
5 | 5 | BaseUrl: http://localhost:5000 |
6 | 6 |
|
@@ -1476,6 +1476,24 @@ export class OpenAiTools { |
1476 | 1476 | * @description The type of the tool. Currently, only function is supported. */ |
1477 | 1477 | type; |
1478 | 1478 | } |
| 1479 | +export class OwnerAgentInfo extends AgentInfo { |
| 1480 | + /** @param {{deviceId?:string,userId?:string,userName?:string,lastIp?:string,status?:string,modelSettings?:{ [index:string]: ModelSettings; },settings?:ComfyAgentSettings,id?:number,shortId?:string,userId?:string,gpus?:GpuInfo[],nodes?:string[],models?:{ [index:string]: string[]; },languageModels?:string[],requirePip?:string[],requireNodes?:string[],requireModels?:string[],installedPip?:string[],installedNodes?:string[],installedModels?:string[],hiddenModels?:string[],enabled?:boolean,offlineDate?:string,createdDate?:string,modifiedDate?:string,lastUpdate?:string,queueCount?:number,devicePool?:string}} [init] */ |
| 1481 | + constructor(init) { super(init); Object.assign(this, init) } |
| 1482 | + /** @type {string} */ |
| 1483 | + deviceId; |
| 1484 | + /** @type {string} */ |
| 1485 | + userId; |
| 1486 | + /** @type {?string} */ |
| 1487 | + userName; |
| 1488 | + /** @type {?string} */ |
| 1489 | + lastIp; |
| 1490 | + /** @type {?string} */ |
| 1491 | + status; |
| 1492 | + /** @type {?{ [index:string]: ModelSettings; }} */ |
| 1493 | + modelSettings; |
| 1494 | + /** @type {ComfyAgentSettings} */ |
| 1495 | + settings; |
| 1496 | +} |
1479 | 1497 | export class GetPendingArtifactTasksResponse { |
1480 | 1498 | /** @param {{missingArtifacts?:number[],existingCaptionArtifacts?:number[],existingDescribeArtifacts?:number[],requeueCaptionArtifacts?:number[],requeueDescribeArtifacts?:number[],responseStatus?:ResponseStatus}} [init] */ |
1481 | 1499 | constructor(init) { Object.assign(this, init) } |
@@ -1726,24 +1744,6 @@ export class GetAppDataResponse { |
1726 | 1744 | /** @type {?ResponseStatus} */ |
1727 | 1745 | responseStatus; |
1728 | 1746 | } |
1729 | | -export class OwnerAgentInfo extends AgentInfo { |
1730 | | - /** @param {{deviceId?:string,userId?:string,userName?:string,lastIp?:string,status?:string,modelSettings?:{ [index:string]: ModelSettings; },settings?:ComfyAgentSettings,id?:number,shortId?:string,userId?:string,gpus?:GpuInfo[],nodes?:string[],models?:{ [index:string]: string[]; },languageModels?:string[],requirePip?:string[],requireNodes?:string[],requireModels?:string[],installedPip?:string[],installedNodes?:string[],installedModels?:string[],hiddenModels?:string[],enabled?:boolean,offlineDate?:string,createdDate?:string,modifiedDate?:string,lastUpdate?:string,queueCount?:number,devicePool?:string}} [init] */ |
1731 | | - constructor(init) { super(init); Object.assign(this, init) } |
1732 | | - /** @type {string} */ |
1733 | | - deviceId; |
1734 | | - /** @type {string} */ |
1735 | | - userId; |
1736 | | - /** @type {?string} */ |
1737 | | - userName; |
1738 | | - /** @type {?string} */ |
1739 | | - lastIp; |
1740 | | - /** @type {?string} */ |
1741 | | - status; |
1742 | | - /** @type {?{ [index:string]: ModelSettings; }} */ |
1743 | | - modelSettings; |
1744 | | - /** @type {ComfyAgentSettings} */ |
1745 | | - settings; |
1746 | | -} |
1747 | 1747 | export class UpdateComfyAgentSettingsResponse { |
1748 | 1748 | /** @param {{result?:OwnerAgentInfo,responseStatus?:ResponseStatus}} [init] */ |
1749 | 1749 | constructor(init) { Object.assign(this, init) } |
@@ -2200,33 +2200,33 @@ export class ChatCompletion { |
2200 | 2200 | export class AuthenticateResponse { |
2201 | 2201 | /** @param {{userId?:string,sessionId?:string,userName?:string,displayName?:string,referrerUrl?:string,bearerToken?:string,refreshToken?:string,refreshTokenExpiry?:string,profileUrl?:string,roles?:string[],permissions?:string[],authProvider?:string,responseStatus?:ResponseStatus,meta?:{ [index:string]: string; }}} [init] */ |
2202 | 2202 | constructor(init) { Object.assign(this, init) } |
2203 | | - /** @type {string} */ |
| 2203 | + /** @type {?string} */ |
2204 | 2204 | userId; |
2205 | | - /** @type {string} */ |
| 2205 | + /** @type {?string} */ |
2206 | 2206 | sessionId; |
2207 | | - /** @type {string} */ |
| 2207 | + /** @type {?string} */ |
2208 | 2208 | userName; |
2209 | | - /** @type {string} */ |
| 2209 | + /** @type {?string} */ |
2210 | 2210 | displayName; |
2211 | | - /** @type {string} */ |
| 2211 | + /** @type {?string} */ |
2212 | 2212 | referrerUrl; |
2213 | | - /** @type {string} */ |
| 2213 | + /** @type {?string} */ |
2214 | 2214 | bearerToken; |
2215 | | - /** @type {string} */ |
| 2215 | + /** @type {?string} */ |
2216 | 2216 | refreshToken; |
2217 | 2217 | /** @type {?string} */ |
2218 | 2218 | refreshTokenExpiry; |
2219 | | - /** @type {string} */ |
| 2219 | + /** @type {?string} */ |
2220 | 2220 | profileUrl; |
2221 | | - /** @type {string[]} */ |
| 2221 | + /** @type {?string[]} */ |
2222 | 2222 | roles; |
2223 | | - /** @type {string[]} */ |
| 2223 | + /** @type {?string[]} */ |
2224 | 2224 | permissions; |
2225 | | - /** @type {string} */ |
| 2225 | + /** @type {?string} */ |
2226 | 2226 | authProvider; |
2227 | | - /** @type {ResponseStatus} */ |
| 2227 | + /** @type {?ResponseStatus} */ |
2228 | 2228 | responseStatus; |
2229 | | - /** @type {{ [index:string]: string; }} */ |
| 2229 | + /** @type {?{ [index:string]: string; }} */ |
2230 | 2230 | meta; |
2231 | 2231 | } |
2232 | 2232 | export class GetPendingArtifactTasks { |
@@ -3498,24 +3498,24 @@ export class Authenticate { |
3498 | 3498 | /** @param {{provider?:string,userName?:string,password?:string,rememberMe?:boolean,accessToken?:string,accessTokenSecret?:string,returnUrl?:string,errorView?:string,meta?:{ [index:string]: string; }}} [init] */ |
3499 | 3499 | constructor(init) { Object.assign(this, init) } |
3500 | 3500 | /** |
3501 | | - * @type {string} |
| 3501 | + * @type {?string} |
3502 | 3502 | * @description AuthProvider, e.g. credentials */ |
3503 | 3503 | provider; |
3504 | | - /** @type {string} */ |
| 3504 | + /** @type {?string} */ |
3505 | 3505 | userName; |
3506 | | - /** @type {string} */ |
| 3506 | + /** @type {?string} */ |
3507 | 3507 | password; |
3508 | 3508 | /** @type {?boolean} */ |
3509 | 3509 | rememberMe; |
3510 | | - /** @type {string} */ |
| 3510 | + /** @type {?string} */ |
3511 | 3511 | accessToken; |
3512 | | - /** @type {string} */ |
| 3512 | + /** @type {?string} */ |
3513 | 3513 | accessTokenSecret; |
3514 | | - /** @type {string} */ |
| 3514 | + /** @type {?string} */ |
3515 | 3515 | returnUrl; |
3516 | | - /** @type {string} */ |
| 3516 | + /** @type {?string} */ |
3517 | 3517 | errorView; |
3518 | | - /** @type {{ [index:string]: string; }} */ |
| 3518 | + /** @type {?{ [index:string]: string; }} */ |
3519 | 3519 | meta; |
3520 | 3520 | getTypeName() { return 'Authenticate' } |
3521 | 3521 | getMethod() { return 'POST' } |
|
0 commit comments