@mittwald/api-client 4.529.0 → 4.530.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.
@@ -110,6 +110,26 @@ export declare namespace MittwaldAPIV2 {
110
110
  type RequestData = InferredRequestData<typeof descriptors.aiHostingUserGetPlans>;
111
111
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingUserGetPlans, TStatus>;
112
112
  }
113
+ namespace AissistantGetChat {
114
+ type RequestData = InferredRequestData<typeof descriptors.aissistantGetChat>;
115
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aissistantGetChat, TStatus>;
116
+ }
117
+ namespace AissistantSaveChat {
118
+ type RequestData = InferredRequestData<typeof descriptors.aissistantSaveChat>;
119
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aissistantSaveChat, TStatus>;
120
+ }
121
+ namespace AissistantDeleteChat {
122
+ type RequestData = InferredRequestData<typeof descriptors.aissistantDeleteChat>;
123
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aissistantDeleteChat, TStatus>;
124
+ }
125
+ namespace AissistantListChats {
126
+ type RequestData = InferredRequestData<typeof descriptors.aissistantListChats>;
127
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aissistantListChats, TStatus>;
128
+ }
129
+ namespace AissistantRunChat {
130
+ type RequestData = InferredRequestData<typeof descriptors.aissistantRunChat>;
131
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aissistantRunChat, TStatus>;
132
+ }
113
133
  namespace AppDetachAppinstallationStaging {
114
134
  type RequestData = InferredRequestData<typeof descriptors.appDetachAppinstallationStaging>;
115
135
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.appDetachAppinstallationStaging, TStatus>;
@@ -1194,6 +1214,10 @@ export declare namespace MittwaldAPIV2 {
1194
1214
  type RequestData = InferredRequestData<typeof descriptors.fileGetFileWithName>;
1195
1215
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileWithName, TStatus>;
1196
1216
  }
1217
+ namespace HibpGetCompromisedPasswordHashRange {
1218
+ type RequestData = InferredRequestData<typeof descriptors.hibpGetCompromisedPasswordHashRange>;
1219
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.hibpGetCompromisedPasswordHashRange, TStatus>;
1220
+ }
1197
1221
  namespace IngressListIngresses {
1198
1222
  type RequestData = InferredRequestData<typeof descriptors.ingressListIngresses>;
1199
1223
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.ingressListIngresses, TStatus>;
@@ -2234,265 +2258,1651 @@ export declare namespace MittwaldAPIV2 {
2234
2258
  suspended?: boolean;
2235
2259
  tokens: MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
2236
2260
  }
2237
- type AppAppInstallationSortOrder = "newestFirst" | "oldestFirst" | "sortByPhpVersionAsc" | "sortByPhpVersionDesc";
2238
- /**
2239
- * An Action is a string that describes a runtime concerning action which can be executed on an AppInstallation or an App can be capable of.
2240
- */
2241
- type AppAction = "start" | "stop" | "restart";
2242
- type AppActionCapabilities = MittwaldAPIV2.Components.Schemas.AppAction[];
2243
- /**
2244
- * AdditionalValidationSchema is a stringified custom validation schema, e.g password rules.
2245
- */
2246
- interface AppAdditionalValidationSchema {
2247
- kind?: MittwaldAPIV2.Components.Schemas.AppAdditionalValidationSchemaKind;
2248
- schema?: string;
2249
- }
2250
- /**
2251
- * AdditionalValidationSchemaKind is an enum, describing the possible types of an additional validation schema.
2252
- */
2253
- type AppAdditionalValidationSchemaKind = "password-rule";
2254
- /**
2255
- * An App is to be understood as a manifest for AppInstallations. E.g. 'WordPress' only exists inside our ecosystem, because there is an App -Manifest for it.
2256
- */
2257
- interface AppApp {
2258
- actionCapabilities?: MittwaldAPIV2.Components.Schemas.AppActionCapabilities;
2259
- description?: MittwaldAPIV2.Components.Schemas.AppTranslatedString;
2261
+ interface AissistantChatListItem {
2260
2262
  id: string;
2261
- name: string;
2262
2263
  /**
2263
- * Whether a staging AppInstallation can be created from an AppInstallation of this App.
2264
+ * At most 200 UTF-16 code units on save. Some titles were stored before that limit existed and can be longer; they are still returned.
2264
2265
  */
2265
- stagingAllowed: boolean;
2266
- tags: string[];
2267
- }
2268
- /**
2269
- * AppInstallationStatus describes the overall runtime status of an AppInstallation.
2270
- */
2271
- interface AppAppInstallationStatus {
2272
- lastExitCode?: number;
2273
- logFileLocation: string;
2274
- state: "running" | "stopped" | "exited";
2275
- uptimeSeconds?: number;
2276
- }
2277
- interface AppAppJobImage {
2278
- imageTemplate: string;
2279
- }
2280
- interface AppAppJobImages {
2281
- reconfigureImage: MittwaldAPIV2.Components.Schemas.AppAppJobImage;
2282
- setupImage: MittwaldAPIV2.Components.Schemas.AppAppJobImage;
2283
- uninstallImage: MittwaldAPIV2.Components.Schemas.AppAppJobImage;
2284
- upgradeImage: MittwaldAPIV2.Components.Schemas.AppAppJobImage;
2266
+ title: string;
2267
+ updatedAt: string;
2285
2268
  }
2286
2269
  /**
2287
- * LockPurpose describes why a given AppInstallation is locked from deletion.
2288
- */
2289
- type AppLockPurpose = "unspecified" | "copy";
2290
- /**
2291
- * Phase describes the current phase/state of an AppInstallation in its lifecycle.
2292
- */
2293
- type AppPhase = "pending" | "installing" | "upgrading" | "ready" | "disabled" | "reconfiguring";
2294
- /**
2295
- * AppUpdatePolicy describes which updates should be applied automatically by our systems.
2270
+ * @maxItems 50
2296
2271
  */
2297
- type AppAppUpdatePolicy = "none" | "patchLevel" | "all";
2272
+ type AissistantChatList = MittwaldAPIV2.Components.Schemas.AissistantChatListItem[];
2298
2273
  /**
2299
- * An AppInstallation is a concrete manifestation of an App in a specific AppVersion.
2274
+ * An AG-UI message. The full shape follows the AG-UI message schema; this schema names only the fields every message has. A message may nest at most 64 levels, the message object counting as level 1.
2300
2275
  */
2301
- interface AppAppInstallation {
2302
- appExternalVersion: string;
2303
- appId: string;
2304
- appName: string;
2305
- appVersion: MittwaldAPIV2.Components.Schemas.AppVersionStatus;
2306
- /**
2307
- * Whether automatic updates are activated.
2308
- */
2309
- autoUpdatesActivated?: boolean;
2310
- createdAt: string;
2311
- customDocumentRoot?: string;
2312
- deletionRequested?: boolean;
2313
- description: string;
2314
- disabled: boolean;
2315
- hostname?: string;
2276
+ interface AissistantChatMessage {
2316
2277
  id: string;
2317
- installationPath: string;
2318
- /**
2319
- * When the last automatic update failed. Automatic updates are deactivated after a failure. The value is kept when automatic updates are activated again, so it does not indicate the current state on its own; combine it with `autoUpdatesActivated` (e.g. only warn while that is false).
2320
- */
2321
- lastAutoUpdateFailedAt?: string;
2322
- /**
2323
- * The last error that occurred during an update. Resets on success.
2324
- */
2325
- lastError?: string;
2326
- linkedDatabases: MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
2327
- lockedBy?: {
2328
- [k: string]: MittwaldAPIV2.Components.Schemas.AppLockPurpose;
2329
- };
2330
- phase: MittwaldAPIV2.Components.Schemas.AppPhase;
2331
- ports?: {
2332
- name?: string;
2333
- port?: number;
2334
- }[];
2335
- projectDescription: string;
2336
- projectId: string;
2337
- screenshotId?: string;
2338
- screenshotRef?: string;
2339
- shortId: string;
2340
- /**
2341
- * The source AppInstallation ID for a staging AppInstallation.
2342
- */
2343
- sourceAppInstallationId?: string;
2344
- staging?: boolean;
2345
- systemSoftware: MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
2346
- updateAvailable: boolean;
2347
- updatePolicy: MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
2348
- userInputs: MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
2349
- }
2350
- interface AppAppInstallationErrorAnalysis {
2351
- recommendation?: string;
2352
- summary: string;
2278
+ role: string;
2279
+ [k: string]: unknown;
2353
2280
  }
2354
- /**
2355
- * The AppInstallationLifecycle can be used to express a specific point in the AppInstallation Lifecycle, e.g. while installing a new AppInstallation.
2356
- */
2357
- type AppAppInstallationLifecycle = "installation" | "update" | "reconfigure";
2358
- /**
2359
- * An AppVersion is an officially supported version of an App, containing the necessary and recommended configuration und dependencies.
2360
- */
2361
- interface AppAppVersion {
2362
- appId: string;
2363
- backendPathTemplate?: string;
2364
- breakingNote?: MittwaldAPIV2.Components.Schemas.AppBreakingNote;
2365
- databases?: MittwaldAPIV2.Components.Schemas.AppDatabaseDependency[];
2366
- defaultCronjobs?: MittwaldAPIV2.Components.Schemas.AppDefaultCronjob[];
2367
- docRoot: string;
2368
- docRootUserEditable: boolean;
2369
- externalVersion: string;
2281
+ interface AissistantChat {
2370
2282
  id: string;
2371
- internalVersion: string;
2372
- recommended?: boolean;
2373
- requestHandler?: MittwaldAPIV2.Components.Schemas.AppRequestHandlerRequirement;
2374
- systemSoftwareDependencies?: MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[];
2283
+ messages: MittwaldAPIV2.Components.Schemas.AissistantChatMessage[];
2284
+ revision: number;
2375
2285
  /**
2376
- * SemVer constraint that newer AppVersions must satisfy to be eligible as automatic update targets for this AppVersion.
2286
+ * At most 200 UTF-16 code units on save. Some titles were stored before that limit existed and can be longer; they are still returned.
2377
2287
  */
2378
- updateConstraint?: string;
2379
- userInputs?: MittwaldAPIV2.Components.Schemas.AppUserInput[];
2380
- }
2381
- /**
2382
- * A BreakingNote is a hint that something serious has changed in the AppVersion containing it, so an automatic update is not possible.
2383
- */
2384
- interface AppBreakingNote {
2385
- faqLink: string;
2386
- }
2387
- interface AppCronjobCommand {
2388
- interpreterTemplate: string;
2389
- parametersTemplate?: string;
2390
- pathTemplate: string;
2391
- }
2392
- /**
2393
- * A DatabaseDependency is a generic description of need for a database, used by AppVersions.
2394
- */
2395
- interface AppDatabaseDependency {
2396
- description: string;
2397
- kind: "mysql";
2398
- parameters?: {
2399
- [k: string]: string;
2400
- };
2401
- version: string;
2402
- }
2403
- interface AppDefaultCronjob {
2404
- active: boolean;
2405
- command?: MittwaldAPIV2.Components.Schemas.AppCronjobCommand;
2406
- description: string;
2407
- interval: string;
2408
- timeout: number;
2409
- urlTemplate?: string;
2410
- }
2411
- /**
2412
- * DesiredSystemSoftware describes the desired SystemSoftwareVersion and update policy to apply for a SystemSoftware of an AppInstallation.
2413
- */
2414
- interface AppDesiredSystemSoftware {
2415
- systemSoftwareVersion?: string;
2416
- updatePolicy?: MittwaldAPIV2.Components.Schemas.AppSystemSoftwareUpdatePolicy;
2417
- }
2418
- interface AppError {
2419
- message: string;
2420
- type: string;
2421
- }
2422
- /**
2423
- * InstalledSystemSoftware describes the currently configured and installed SystemSoftwareVersion of a SystemSoftware besides the desired SystemSoftwareUpdatePolicy inside an AppInstallation.
2424
- */
2425
- interface AppInstalledSystemSoftware {
2426
- externalVersion: string;
2427
- name: string;
2428
- systemSoftwareId: string;
2429
- systemSoftwareVersion: MittwaldAPIV2.Components.Schemas.AppVersionStatus;
2430
- updateAvailable: boolean;
2431
- updatePolicy: MittwaldAPIV2.Components.Schemas.AppSystemSoftwareUpdatePolicy;
2432
- }
2433
- /**
2434
- * LinkedDatabase is a reference to a concrete Database and DatabaseUsers.
2435
- */
2436
- interface AppLinkedDatabase {
2437
- databaseId: string;
2438
- databaseUserIds?: {
2439
- [k: string]: string;
2440
- };
2441
- kind: "mysql" | "redis";
2442
- purpose: "primary" | "cache" | "custom";
2443
- }
2444
- /**
2445
- * Desired change to a database linked to an AppInstallation. If the database given
2446
- * as key is not linked yet it will be linked (`purpose` is required in this case).
2447
- * For an already linked database the given `databaseUserIds` are set. If
2448
- * `replacesDatabaseId` refers to a linked database, that database is replaced by
2449
- * the database given as key.
2450
- *
2451
- */
2452
- interface AppPatchLinkedDatabase {
2453
- databaseUserIds?: {
2454
- [k: string]: string;
2455
- };
2456
- purpose?: "primary" | "cache" | "custom";
2457
- replacesDatabaseId?: string;
2458
- }
2459
- /**
2460
- * RequestHandlerRequirement describes the necessary properties to internally resolve the request handler or process to start.
2461
- */
2462
- interface AppRequestHandlerRequirement {
2463
- exampleValues?: MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
2464
- name: string;
2465
- namespace: string;
2466
- parametersTemplate: string;
2467
- }
2468
- /**
2469
- * A SavedUserInput is an entered value for a desired UserInput of an AppVersion or SystemSoftwareVersion.
2470
- */
2471
- interface AppSavedUserInput {
2472
- name: string;
2473
- value: string;
2474
- }
2475
- /**
2476
- * A SystemSoftwareDependency is a description of a need for a specific SystemSoftware in a semver versionRange.
2477
- */
2478
- interface AppSystemSoftwareDependency {
2479
- systemSoftwareId: string;
2480
- versionRange: string;
2288
+ title: string;
2289
+ turnMarks: MittwaldAPIV2.Components.Schemas.AissistantTurnMarks;
2290
+ updatedAt: string;
2481
2291
  }
2482
- /**
2483
- * SystemSoftwareUpdatePolicy describes which updates should be applied automatically by our systems.
2484
- */
2485
- type AppSystemSoftwareUpdatePolicy = "none" | "inheritedFromApp" | "patchLevel" | "all";
2486
- /**
2487
- * A SystemSoftware is a software that can be installed for an AppInstallation but mostly is not itself externally reachable and/or deliverable.
2488
- */
2489
- interface AppSystemSoftware {
2490
- id: string;
2491
- meta?: {
2492
- [k: string]: string;
2493
- };
2494
- name: string;
2495
- tags: string[];
2292
+ type AissistantRunEvent = {
2293
+ messageId: string;
2294
+ metadata?: unknown;
2295
+ name?: string;
2296
+ rawEvent?: unknown;
2297
+ role?: "developer" | "system" | "assistant" | "user";
2298
+ subagentRunId?: string;
2299
+ timestamp?: number;
2300
+ type: "TEXT_MESSAGE_START";
2301
+ [k: string]: unknown;
2302
+ } | {
2303
+ delta: string;
2304
+ messageId: string;
2305
+ metadata?: unknown;
2306
+ rawEvent?: unknown;
2307
+ subagentRunId?: string;
2308
+ timestamp?: number;
2309
+ type: "TEXT_MESSAGE_CONTENT";
2310
+ [k: string]: unknown;
2311
+ } | {
2312
+ messageId: string;
2313
+ metadata?: unknown;
2314
+ rawEvent?: unknown;
2315
+ subagentRunId?: string;
2316
+ timestamp?: number;
2317
+ type: "TEXT_MESSAGE_END";
2318
+ [k: string]: unknown;
2319
+ } | {
2320
+ delta?: string;
2321
+ messageId?: string;
2322
+ metadata?: unknown;
2323
+ name?: string;
2324
+ rawEvent?: unknown;
2325
+ role?: "developer" | "system" | "assistant" | "user";
2326
+ subagentRunId?: string;
2327
+ timestamp?: number;
2328
+ type: "TEXT_MESSAGE_CHUNK";
2329
+ [k: string]: unknown;
2330
+ } | {
2331
+ metadata?: unknown;
2332
+ parentMessageId?: string;
2333
+ rawEvent?: unknown;
2334
+ subagentRunId?: string;
2335
+ timestamp?: number;
2336
+ toolCallId: string;
2337
+ toolCallName: string;
2338
+ type: "TOOL_CALL_START";
2339
+ [k: string]: unknown;
2340
+ } | {
2341
+ delta: string;
2342
+ metadata?: unknown;
2343
+ rawEvent?: unknown;
2344
+ subagentRunId?: string;
2345
+ timestamp?: number;
2346
+ toolCallId: string;
2347
+ type: "TOOL_CALL_ARGS";
2348
+ [k: string]: unknown;
2349
+ } | {
2350
+ metadata?: unknown;
2351
+ rawEvent?: unknown;
2352
+ subagentRunId?: string;
2353
+ timestamp?: number;
2354
+ toolCallId: string;
2355
+ type: "TOOL_CALL_END";
2356
+ [k: string]: unknown;
2357
+ } | {
2358
+ delta?: string;
2359
+ metadata?: unknown;
2360
+ parentMessageId?: string;
2361
+ rawEvent?: unknown;
2362
+ subagentRunId?: string;
2363
+ timestamp?: number;
2364
+ toolCallId?: string;
2365
+ toolCallName?: string;
2366
+ type: "TOOL_CALL_CHUNK";
2367
+ [k: string]: unknown;
2368
+ } | {
2369
+ content: string | ({
2370
+ id?: string;
2371
+ metadata?: unknown;
2372
+ text: string;
2373
+ type: "text";
2374
+ [k: string]: unknown;
2375
+ } | {
2376
+ id?: string;
2377
+ metadata?: unknown;
2378
+ source: {
2379
+ mimeType: string;
2380
+ type: "data";
2381
+ value: string;
2382
+ [k: string]: unknown;
2383
+ } | {
2384
+ mimeType?: string;
2385
+ type: "url";
2386
+ value: string;
2387
+ [k: string]: unknown;
2388
+ } | {
2389
+ mimeType?: string;
2390
+ provider?: string;
2391
+ type: "file";
2392
+ value: string;
2393
+ [k: string]: unknown;
2394
+ };
2395
+ type: "image";
2396
+ [k: string]: unknown;
2397
+ } | {
2398
+ id?: string;
2399
+ metadata?: unknown;
2400
+ source: {
2401
+ mimeType: string;
2402
+ type: "data";
2403
+ value: string;
2404
+ [k: string]: unknown;
2405
+ } | {
2406
+ mimeType?: string;
2407
+ type: "url";
2408
+ value: string;
2409
+ [k: string]: unknown;
2410
+ } | {
2411
+ mimeType?: string;
2412
+ provider?: string;
2413
+ type: "file";
2414
+ value: string;
2415
+ [k: string]: unknown;
2416
+ };
2417
+ type: "audio";
2418
+ [k: string]: unknown;
2419
+ } | {
2420
+ id?: string;
2421
+ metadata?: unknown;
2422
+ source: {
2423
+ mimeType: string;
2424
+ type: "data";
2425
+ value: string;
2426
+ [k: string]: unknown;
2427
+ } | {
2428
+ mimeType?: string;
2429
+ type: "url";
2430
+ value: string;
2431
+ [k: string]: unknown;
2432
+ } | {
2433
+ mimeType?: string;
2434
+ provider?: string;
2435
+ type: "file";
2436
+ value: string;
2437
+ [k: string]: unknown;
2438
+ };
2439
+ type: "video";
2440
+ [k: string]: unknown;
2441
+ } | {
2442
+ id?: string;
2443
+ metadata?: unknown;
2444
+ source: {
2445
+ mimeType: string;
2446
+ type: "data";
2447
+ value: string;
2448
+ [k: string]: unknown;
2449
+ } | {
2450
+ mimeType?: string;
2451
+ type: "url";
2452
+ value: string;
2453
+ [k: string]: unknown;
2454
+ } | {
2455
+ mimeType?: string;
2456
+ provider?: string;
2457
+ type: "file";
2458
+ value: string;
2459
+ [k: string]: unknown;
2460
+ };
2461
+ type: "document";
2462
+ [k: string]: unknown;
2463
+ })[];
2464
+ messageId: string;
2465
+ metadata?: unknown;
2466
+ rawEvent?: unknown;
2467
+ role?: "tool";
2468
+ subagentRunId?: string;
2469
+ timestamp?: number;
2470
+ toolCallId: string;
2471
+ type: "TOOL_CALL_RESULT";
2472
+ [k: string]: unknown;
2473
+ } | {
2474
+ metadata?: unknown;
2475
+ rawEvent?: unknown;
2476
+ snapshot: unknown;
2477
+ subagentRunId?: string;
2478
+ timestamp?: number;
2479
+ type: "STATE_SNAPSHOT";
2480
+ [k: string]: unknown;
2481
+ } | {
2482
+ delta: ({
2483
+ op: "add";
2484
+ path: string;
2485
+ value: unknown;
2486
+ [k: string]: unknown;
2487
+ } | {
2488
+ op: "remove";
2489
+ path: string;
2490
+ [k: string]: unknown;
2491
+ } | {
2492
+ op: "replace";
2493
+ path: string;
2494
+ value: unknown;
2495
+ [k: string]: unknown;
2496
+ } | {
2497
+ from: string;
2498
+ op: "move";
2499
+ path: string;
2500
+ [k: string]: unknown;
2501
+ } | {
2502
+ from: string;
2503
+ op: "copy";
2504
+ path: string;
2505
+ [k: string]: unknown;
2506
+ } | {
2507
+ op: "test";
2508
+ path: string;
2509
+ value: unknown;
2510
+ [k: string]: unknown;
2511
+ })[];
2512
+ metadata?: unknown;
2513
+ rawEvent?: unknown;
2514
+ subagentRunId?: string;
2515
+ timestamp?: number;
2516
+ type: "STATE_DELTA";
2517
+ [k: string]: unknown;
2518
+ } | {
2519
+ messages: ({
2520
+ content: string;
2521
+ encryptedValue?: string;
2522
+ id: string;
2523
+ metadata?: unknown;
2524
+ name?: string;
2525
+ role: "developer";
2526
+ subagentRunId?: string;
2527
+ [k: string]: unknown;
2528
+ } | {
2529
+ content: string;
2530
+ encryptedValue?: string;
2531
+ id: string;
2532
+ metadata?: unknown;
2533
+ name?: string;
2534
+ role: "system";
2535
+ subagentRunId?: string;
2536
+ [k: string]: unknown;
2537
+ } | {
2538
+ content?: string;
2539
+ encryptedValue?: string;
2540
+ id: string;
2541
+ metadata?: unknown;
2542
+ name?: string;
2543
+ role: "assistant";
2544
+ subagentRunId?: string;
2545
+ toolCalls?: {
2546
+ encryptedValue?: string;
2547
+ function: {
2548
+ arguments: string;
2549
+ name: string;
2550
+ [k: string]: unknown;
2551
+ };
2552
+ id: string;
2553
+ metadata?: unknown;
2554
+ type: "function";
2555
+ [k: string]: unknown;
2556
+ }[];
2557
+ [k: string]: unknown;
2558
+ } | {
2559
+ content: string | ({
2560
+ id?: string;
2561
+ metadata?: unknown;
2562
+ text: string;
2563
+ type: "text";
2564
+ [k: string]: unknown;
2565
+ } | {
2566
+ id?: string;
2567
+ metadata?: unknown;
2568
+ source: {
2569
+ mimeType: string;
2570
+ type: "data";
2571
+ value: string;
2572
+ [k: string]: unknown;
2573
+ } | {
2574
+ mimeType?: string;
2575
+ type: "url";
2576
+ value: string;
2577
+ [k: string]: unknown;
2578
+ } | {
2579
+ mimeType?: string;
2580
+ provider?: string;
2581
+ type: "file";
2582
+ value: string;
2583
+ [k: string]: unknown;
2584
+ };
2585
+ type: "image";
2586
+ [k: string]: unknown;
2587
+ } | {
2588
+ id?: string;
2589
+ metadata?: unknown;
2590
+ source: {
2591
+ mimeType: string;
2592
+ type: "data";
2593
+ value: string;
2594
+ [k: string]: unknown;
2595
+ } | {
2596
+ mimeType?: string;
2597
+ type: "url";
2598
+ value: string;
2599
+ [k: string]: unknown;
2600
+ } | {
2601
+ mimeType?: string;
2602
+ provider?: string;
2603
+ type: "file";
2604
+ value: string;
2605
+ [k: string]: unknown;
2606
+ };
2607
+ type: "audio";
2608
+ [k: string]: unknown;
2609
+ } | {
2610
+ id?: string;
2611
+ metadata?: unknown;
2612
+ source: {
2613
+ mimeType: string;
2614
+ type: "data";
2615
+ value: string;
2616
+ [k: string]: unknown;
2617
+ } | {
2618
+ mimeType?: string;
2619
+ type: "url";
2620
+ value: string;
2621
+ [k: string]: unknown;
2622
+ } | {
2623
+ mimeType?: string;
2624
+ provider?: string;
2625
+ type: "file";
2626
+ value: string;
2627
+ [k: string]: unknown;
2628
+ };
2629
+ type: "video";
2630
+ [k: string]: unknown;
2631
+ } | {
2632
+ id?: string;
2633
+ metadata?: unknown;
2634
+ source: {
2635
+ mimeType: string;
2636
+ type: "data";
2637
+ value: string;
2638
+ [k: string]: unknown;
2639
+ } | {
2640
+ mimeType?: string;
2641
+ type: "url";
2642
+ value: string;
2643
+ [k: string]: unknown;
2644
+ } | {
2645
+ mimeType?: string;
2646
+ provider?: string;
2647
+ type: "file";
2648
+ value: string;
2649
+ [k: string]: unknown;
2650
+ };
2651
+ type: "document";
2652
+ [k: string]: unknown;
2653
+ })[];
2654
+ encryptedValue?: string;
2655
+ id: string;
2656
+ metadata?: unknown;
2657
+ name?: string;
2658
+ role: "user";
2659
+ subagentRunId?: string;
2660
+ [k: string]: unknown;
2661
+ } | {
2662
+ content: string | ({
2663
+ id?: string;
2664
+ metadata?: unknown;
2665
+ text: string;
2666
+ type: "text";
2667
+ [k: string]: unknown;
2668
+ } | {
2669
+ id?: string;
2670
+ metadata?: unknown;
2671
+ source: {
2672
+ mimeType: string;
2673
+ type: "data";
2674
+ value: string;
2675
+ [k: string]: unknown;
2676
+ } | {
2677
+ mimeType?: string;
2678
+ type: "url";
2679
+ value: string;
2680
+ [k: string]: unknown;
2681
+ } | {
2682
+ mimeType?: string;
2683
+ provider?: string;
2684
+ type: "file";
2685
+ value: string;
2686
+ [k: string]: unknown;
2687
+ };
2688
+ type: "image";
2689
+ [k: string]: unknown;
2690
+ } | {
2691
+ id?: string;
2692
+ metadata?: unknown;
2693
+ source: {
2694
+ mimeType: string;
2695
+ type: "data";
2696
+ value: string;
2697
+ [k: string]: unknown;
2698
+ } | {
2699
+ mimeType?: string;
2700
+ type: "url";
2701
+ value: string;
2702
+ [k: string]: unknown;
2703
+ } | {
2704
+ mimeType?: string;
2705
+ provider?: string;
2706
+ type: "file";
2707
+ value: string;
2708
+ [k: string]: unknown;
2709
+ };
2710
+ type: "audio";
2711
+ [k: string]: unknown;
2712
+ } | {
2713
+ id?: string;
2714
+ metadata?: unknown;
2715
+ source: {
2716
+ mimeType: string;
2717
+ type: "data";
2718
+ value: string;
2719
+ [k: string]: unknown;
2720
+ } | {
2721
+ mimeType?: string;
2722
+ type: "url";
2723
+ value: string;
2724
+ [k: string]: unknown;
2725
+ } | {
2726
+ mimeType?: string;
2727
+ provider?: string;
2728
+ type: "file";
2729
+ value: string;
2730
+ [k: string]: unknown;
2731
+ };
2732
+ type: "video";
2733
+ [k: string]: unknown;
2734
+ } | {
2735
+ id?: string;
2736
+ metadata?: unknown;
2737
+ source: {
2738
+ mimeType: string;
2739
+ type: "data";
2740
+ value: string;
2741
+ [k: string]: unknown;
2742
+ } | {
2743
+ mimeType?: string;
2744
+ type: "url";
2745
+ value: string;
2746
+ [k: string]: unknown;
2747
+ } | {
2748
+ mimeType?: string;
2749
+ provider?: string;
2750
+ type: "file";
2751
+ value: string;
2752
+ [k: string]: unknown;
2753
+ };
2754
+ type: "document";
2755
+ [k: string]: unknown;
2756
+ })[];
2757
+ encryptedValue?: string;
2758
+ error?: string;
2759
+ id: string;
2760
+ metadata?: unknown;
2761
+ role: "tool";
2762
+ subagentRunId?: string;
2763
+ toolCallId: string;
2764
+ [k: string]: unknown;
2765
+ } | {
2766
+ activityType: string;
2767
+ content: unknown;
2768
+ id: string;
2769
+ metadata?: unknown;
2770
+ role: "activity";
2771
+ subagentRunId?: string;
2772
+ [k: string]: unknown;
2773
+ } | {
2774
+ content: string;
2775
+ encryptedValue?: string;
2776
+ id: string;
2777
+ metadata?: unknown;
2778
+ role: "reasoning";
2779
+ subagentRunId?: string;
2780
+ [k: string]: unknown;
2781
+ })[];
2782
+ metadata?: unknown;
2783
+ rawEvent?: unknown;
2784
+ timestamp?: number;
2785
+ type: "MESSAGES_SNAPSHOT";
2786
+ [k: string]: unknown;
2787
+ } | {
2788
+ activityType: string;
2789
+ content: unknown;
2790
+ messageId: string;
2791
+ metadata?: unknown;
2792
+ rawEvent?: unknown;
2793
+ replace?: boolean;
2794
+ subagentRunId?: string;
2795
+ timestamp?: number;
2796
+ type: "ACTIVITY_SNAPSHOT";
2797
+ [k: string]: unknown;
2798
+ } | {
2799
+ activityType: string;
2800
+ messageId: string;
2801
+ metadata?: unknown;
2802
+ patch: ({
2803
+ op: "add";
2804
+ path: string;
2805
+ value: unknown;
2806
+ [k: string]: unknown;
2807
+ } | {
2808
+ op: "remove";
2809
+ path: string;
2810
+ [k: string]: unknown;
2811
+ } | {
2812
+ op: "replace";
2813
+ path: string;
2814
+ value: unknown;
2815
+ [k: string]: unknown;
2816
+ } | {
2817
+ from: string;
2818
+ op: "move";
2819
+ path: string;
2820
+ [k: string]: unknown;
2821
+ } | {
2822
+ from: string;
2823
+ op: "copy";
2824
+ path: string;
2825
+ [k: string]: unknown;
2826
+ } | {
2827
+ op: "test";
2828
+ path: string;
2829
+ value: unknown;
2830
+ [k: string]: unknown;
2831
+ })[];
2832
+ rawEvent?: unknown;
2833
+ subagentRunId?: string;
2834
+ timestamp?: number;
2835
+ type: "ACTIVITY_DELTA";
2836
+ [k: string]: unknown;
2837
+ } | {
2838
+ event: unknown;
2839
+ metadata?: unknown;
2840
+ rawEvent?: unknown;
2841
+ source?: string;
2842
+ subagentRunId?: string;
2843
+ timestamp?: number;
2844
+ type: "RAW";
2845
+ [k: string]: unknown;
2846
+ } | {
2847
+ metadata?: unknown;
2848
+ name: string;
2849
+ rawEvent?: unknown;
2850
+ subagentRunId?: string;
2851
+ timestamp?: number;
2852
+ type: "CUSTOM";
2853
+ value: unknown;
2854
+ [k: string]: unknown;
2855
+ } | {
2856
+ input?: {
2857
+ context: {
2858
+ description: string;
2859
+ value: string;
2860
+ [k: string]: unknown;
2861
+ }[];
2862
+ forwardedProps?: unknown;
2863
+ messages: ({
2864
+ content: string;
2865
+ encryptedValue?: string;
2866
+ id: string;
2867
+ metadata?: unknown;
2868
+ name?: string;
2869
+ role: "developer";
2870
+ subagentRunId?: string;
2871
+ [k: string]: unknown;
2872
+ } | {
2873
+ content: string;
2874
+ encryptedValue?: string;
2875
+ id: string;
2876
+ metadata?: unknown;
2877
+ name?: string;
2878
+ role: "system";
2879
+ subagentRunId?: string;
2880
+ [k: string]: unknown;
2881
+ } | {
2882
+ content?: string;
2883
+ encryptedValue?: string;
2884
+ id: string;
2885
+ metadata?: unknown;
2886
+ name?: string;
2887
+ role: "assistant";
2888
+ subagentRunId?: string;
2889
+ toolCalls?: {
2890
+ encryptedValue?: string;
2891
+ function: {
2892
+ arguments: string;
2893
+ name: string;
2894
+ [k: string]: unknown;
2895
+ };
2896
+ id: string;
2897
+ metadata?: unknown;
2898
+ type: "function";
2899
+ [k: string]: unknown;
2900
+ }[];
2901
+ [k: string]: unknown;
2902
+ } | {
2903
+ content: string | ({
2904
+ id?: string;
2905
+ metadata?: unknown;
2906
+ text: string;
2907
+ type: "text";
2908
+ [k: string]: unknown;
2909
+ } | {
2910
+ id?: string;
2911
+ metadata?: unknown;
2912
+ source: {
2913
+ mimeType: string;
2914
+ type: "data";
2915
+ value: string;
2916
+ [k: string]: unknown;
2917
+ } | {
2918
+ mimeType?: string;
2919
+ type: "url";
2920
+ value: string;
2921
+ [k: string]: unknown;
2922
+ } | {
2923
+ mimeType?: string;
2924
+ provider?: string;
2925
+ type: "file";
2926
+ value: string;
2927
+ [k: string]: unknown;
2928
+ };
2929
+ type: "image";
2930
+ [k: string]: unknown;
2931
+ } | {
2932
+ id?: string;
2933
+ metadata?: unknown;
2934
+ source: {
2935
+ mimeType: string;
2936
+ type: "data";
2937
+ value: string;
2938
+ [k: string]: unknown;
2939
+ } | {
2940
+ mimeType?: string;
2941
+ type: "url";
2942
+ value: string;
2943
+ [k: string]: unknown;
2944
+ } | {
2945
+ mimeType?: string;
2946
+ provider?: string;
2947
+ type: "file";
2948
+ value: string;
2949
+ [k: string]: unknown;
2950
+ };
2951
+ type: "audio";
2952
+ [k: string]: unknown;
2953
+ } | {
2954
+ id?: string;
2955
+ metadata?: unknown;
2956
+ source: {
2957
+ mimeType: string;
2958
+ type: "data";
2959
+ value: string;
2960
+ [k: string]: unknown;
2961
+ } | {
2962
+ mimeType?: string;
2963
+ type: "url";
2964
+ value: string;
2965
+ [k: string]: unknown;
2966
+ } | {
2967
+ mimeType?: string;
2968
+ provider?: string;
2969
+ type: "file";
2970
+ value: string;
2971
+ [k: string]: unknown;
2972
+ };
2973
+ type: "video";
2974
+ [k: string]: unknown;
2975
+ } | {
2976
+ id?: string;
2977
+ metadata?: unknown;
2978
+ source: {
2979
+ mimeType: string;
2980
+ type: "data";
2981
+ value: string;
2982
+ [k: string]: unknown;
2983
+ } | {
2984
+ mimeType?: string;
2985
+ type: "url";
2986
+ value: string;
2987
+ [k: string]: unknown;
2988
+ } | {
2989
+ mimeType?: string;
2990
+ provider?: string;
2991
+ type: "file";
2992
+ value: string;
2993
+ [k: string]: unknown;
2994
+ };
2995
+ type: "document";
2996
+ [k: string]: unknown;
2997
+ })[];
2998
+ encryptedValue?: string;
2999
+ id: string;
3000
+ metadata?: unknown;
3001
+ name?: string;
3002
+ role: "user";
3003
+ subagentRunId?: string;
3004
+ [k: string]: unknown;
3005
+ } | {
3006
+ content: string | ({
3007
+ id?: string;
3008
+ metadata?: unknown;
3009
+ text: string;
3010
+ type: "text";
3011
+ [k: string]: unknown;
3012
+ } | {
3013
+ id?: string;
3014
+ metadata?: unknown;
3015
+ source: {
3016
+ mimeType: string;
3017
+ type: "data";
3018
+ value: string;
3019
+ [k: string]: unknown;
3020
+ } | {
3021
+ mimeType?: string;
3022
+ type: "url";
3023
+ value: string;
3024
+ [k: string]: unknown;
3025
+ } | {
3026
+ mimeType?: string;
3027
+ provider?: string;
3028
+ type: "file";
3029
+ value: string;
3030
+ [k: string]: unknown;
3031
+ };
3032
+ type: "image";
3033
+ [k: string]: unknown;
3034
+ } | {
3035
+ id?: string;
3036
+ metadata?: unknown;
3037
+ source: {
3038
+ mimeType: string;
3039
+ type: "data";
3040
+ value: string;
3041
+ [k: string]: unknown;
3042
+ } | {
3043
+ mimeType?: string;
3044
+ type: "url";
3045
+ value: string;
3046
+ [k: string]: unknown;
3047
+ } | {
3048
+ mimeType?: string;
3049
+ provider?: string;
3050
+ type: "file";
3051
+ value: string;
3052
+ [k: string]: unknown;
3053
+ };
3054
+ type: "audio";
3055
+ [k: string]: unknown;
3056
+ } | {
3057
+ id?: string;
3058
+ metadata?: unknown;
3059
+ source: {
3060
+ mimeType: string;
3061
+ type: "data";
3062
+ value: string;
3063
+ [k: string]: unknown;
3064
+ } | {
3065
+ mimeType?: string;
3066
+ type: "url";
3067
+ value: string;
3068
+ [k: string]: unknown;
3069
+ } | {
3070
+ mimeType?: string;
3071
+ provider?: string;
3072
+ type: "file";
3073
+ value: string;
3074
+ [k: string]: unknown;
3075
+ };
3076
+ type: "video";
3077
+ [k: string]: unknown;
3078
+ } | {
3079
+ id?: string;
3080
+ metadata?: unknown;
3081
+ source: {
3082
+ mimeType: string;
3083
+ type: "data";
3084
+ value: string;
3085
+ [k: string]: unknown;
3086
+ } | {
3087
+ mimeType?: string;
3088
+ type: "url";
3089
+ value: string;
3090
+ [k: string]: unknown;
3091
+ } | {
3092
+ mimeType?: string;
3093
+ provider?: string;
3094
+ type: "file";
3095
+ value: string;
3096
+ [k: string]: unknown;
3097
+ };
3098
+ type: "document";
3099
+ [k: string]: unknown;
3100
+ })[];
3101
+ encryptedValue?: string;
3102
+ error?: string;
3103
+ id: string;
3104
+ metadata?: unknown;
3105
+ role: "tool";
3106
+ subagentRunId?: string;
3107
+ toolCallId: string;
3108
+ [k: string]: unknown;
3109
+ } | {
3110
+ activityType: string;
3111
+ content: unknown;
3112
+ id: string;
3113
+ metadata?: unknown;
3114
+ role: "activity";
3115
+ subagentRunId?: string;
3116
+ [k: string]: unknown;
3117
+ } | {
3118
+ content: string;
3119
+ encryptedValue?: string;
3120
+ id: string;
3121
+ metadata?: unknown;
3122
+ role: "reasoning";
3123
+ subagentRunId?: string;
3124
+ [k: string]: unknown;
3125
+ })[];
3126
+ parentRunId?: string;
3127
+ protocolVersion?: string;
3128
+ resume?: {
3129
+ interruptId: string;
3130
+ metadata?: unknown;
3131
+ payload?: unknown;
3132
+ status: "resolved" | "cancelled";
3133
+ [k: string]: unknown;
3134
+ }[];
3135
+ runId: string;
3136
+ state?: unknown;
3137
+ threadId: string;
3138
+ tools: {
3139
+ description: string;
3140
+ metadata?: unknown;
3141
+ name: string;
3142
+ parameters?: unknown;
3143
+ [k: string]: unknown;
3144
+ }[];
3145
+ [k: string]: unknown;
3146
+ };
3147
+ metadata?: unknown;
3148
+ parentRunId?: string;
3149
+ protocolVersion?: string;
3150
+ rawEvent?: unknown;
3151
+ runId: string;
3152
+ threadId: string;
3153
+ timestamp?: number;
3154
+ type: "RUN_STARTED";
3155
+ [k: string]: unknown;
3156
+ } | {
3157
+ metadata?: unknown;
3158
+ outcome?: {
3159
+ pendingToolCallIds?: string[];
3160
+ type: "success";
3161
+ [k: string]: unknown;
3162
+ } | {
3163
+ /**
3164
+ * @minItems 1
3165
+ */
3166
+ interrupts: [
3167
+ {
3168
+ expiresAt?: string;
3169
+ id: string;
3170
+ message?: string;
3171
+ metadata?: unknown;
3172
+ reason: string;
3173
+ responseSchema?: unknown;
3174
+ subagentRunId?: string;
3175
+ toolCallId?: string;
3176
+ [k: string]: unknown;
3177
+ },
3178
+ ...{
3179
+ expiresAt?: string;
3180
+ id: string;
3181
+ message?: string;
3182
+ metadata?: unknown;
3183
+ reason: string;
3184
+ responseSchema?: unknown;
3185
+ subagentRunId?: string;
3186
+ toolCallId?: string;
3187
+ [k: string]: unknown;
3188
+ }[]
3189
+ ];
3190
+ type: "interrupt";
3191
+ [k: string]: unknown;
3192
+ } | {
3193
+ type: "cancelled";
3194
+ [k: string]: unknown;
3195
+ };
3196
+ rawEvent?: unknown;
3197
+ result?: unknown;
3198
+ runId: string;
3199
+ threadId: string;
3200
+ timestamp?: number;
3201
+ type: "RUN_FINISHED";
3202
+ usage?: {
3203
+ cacheWriteInputTokens?: number;
3204
+ cachedInputTokens?: number;
3205
+ inputTokens?: number;
3206
+ model?: string;
3207
+ outputTokens?: number;
3208
+ provider?: string;
3209
+ reasoningTokens?: number;
3210
+ totalTokens?: number;
3211
+ [k: string]: unknown;
3212
+ }[];
3213
+ [k: string]: unknown;
3214
+ } | {
3215
+ code?: string;
3216
+ message: string;
3217
+ metadata?: unknown;
3218
+ rawEvent?: unknown;
3219
+ timestamp?: number;
3220
+ type: "RUN_ERROR";
3221
+ usage?: {
3222
+ cacheWriteInputTokens?: number;
3223
+ cachedInputTokens?: number;
3224
+ inputTokens?: number;
3225
+ model?: string;
3226
+ outputTokens?: number;
3227
+ provider?: string;
3228
+ reasoningTokens?: number;
3229
+ totalTokens?: number;
3230
+ [k: string]: unknown;
3231
+ }[];
3232
+ [k: string]: unknown;
3233
+ } | {
3234
+ metadata?: unknown;
3235
+ rawEvent?: unknown;
3236
+ stepName: string;
3237
+ subagentRunId?: string;
3238
+ timestamp?: number;
3239
+ type: "STEP_STARTED";
3240
+ [k: string]: unknown;
3241
+ } | {
3242
+ metadata?: unknown;
3243
+ rawEvent?: unknown;
3244
+ stepName: string;
3245
+ subagentRunId?: string;
3246
+ timestamp?: number;
3247
+ type: "STEP_FINISHED";
3248
+ [k: string]: unknown;
3249
+ } | {
3250
+ messageId: string;
3251
+ metadata?: unknown;
3252
+ rawEvent?: unknown;
3253
+ subagentRunId?: string;
3254
+ timestamp?: number;
3255
+ type: "REASONING_START";
3256
+ [k: string]: unknown;
3257
+ } | {
3258
+ messageId: string;
3259
+ metadata?: unknown;
3260
+ rawEvent?: unknown;
3261
+ role: "reasoning";
3262
+ subagentRunId?: string;
3263
+ timestamp?: number;
3264
+ type: "REASONING_MESSAGE_START";
3265
+ [k: string]: unknown;
3266
+ } | {
3267
+ delta: string;
3268
+ messageId: string;
3269
+ metadata?: unknown;
3270
+ rawEvent?: unknown;
3271
+ subagentRunId?: string;
3272
+ timestamp?: number;
3273
+ type: "REASONING_MESSAGE_CONTENT";
3274
+ [k: string]: unknown;
3275
+ } | {
3276
+ messageId: string;
3277
+ metadata?: unknown;
3278
+ rawEvent?: unknown;
3279
+ subagentRunId?: string;
3280
+ timestamp?: number;
3281
+ type: "REASONING_MESSAGE_END";
3282
+ [k: string]: unknown;
3283
+ } | {
3284
+ delta?: string;
3285
+ messageId?: string;
3286
+ metadata?: unknown;
3287
+ rawEvent?: unknown;
3288
+ subagentRunId?: string;
3289
+ timestamp?: number;
3290
+ type: "REASONING_MESSAGE_CHUNK";
3291
+ [k: string]: unknown;
3292
+ } | {
3293
+ messageId: string;
3294
+ metadata?: unknown;
3295
+ rawEvent?: unknown;
3296
+ subagentRunId?: string;
3297
+ timestamp?: number;
3298
+ type: "REASONING_END";
3299
+ [k: string]: unknown;
3300
+ } | {
3301
+ encryptedValue: string;
3302
+ entityId: string;
3303
+ metadata?: unknown;
3304
+ rawEvent?: unknown;
3305
+ subagentRunId?: string;
3306
+ subtype: "tool-call" | "message";
3307
+ timestamp?: number;
3308
+ type: "REASONING_ENCRYPTED_VALUE";
3309
+ [k: string]: unknown;
3310
+ } | {
3311
+ description?: string;
3312
+ metadata?: unknown;
3313
+ name: string;
3314
+ parentMessageId?: string;
3315
+ parentSubagentRunId?: string;
3316
+ parentToolCallId?: string;
3317
+ rawEvent?: unknown;
3318
+ subagentRunId: string;
3319
+ timestamp?: number;
3320
+ type: "SUBAGENT_STARTED";
3321
+ [k: string]: unknown;
3322
+ } | {
3323
+ metadata?: unknown;
3324
+ outcome?: {
3325
+ type: "success";
3326
+ [k: string]: unknown;
3327
+ } | {
3328
+ interruptIds?: string[];
3329
+ type: "suspended";
3330
+ [k: string]: unknown;
3331
+ };
3332
+ rawEvent?: unknown;
3333
+ result?: unknown;
3334
+ subagentRunId: string;
3335
+ timestamp?: number;
3336
+ type: "SUBAGENT_FINISHED";
3337
+ [k: string]: unknown;
3338
+ } | {
3339
+ code?: string;
3340
+ message: string;
3341
+ metadata?: unknown;
3342
+ rawEvent?: unknown;
3343
+ subagentRunId: string;
3344
+ timestamp?: number;
3345
+ type: "SUBAGENT_ERROR";
3346
+ [k: string]: unknown;
3347
+ };
3348
+ interface AissistantRunInput {
3349
+ context?: {
3350
+ description: string;
3351
+ value: string;
3352
+ [k: string]: unknown;
3353
+ }[];
3354
+ forwardedProps: {
3355
+ context: {
3356
+ appInstallationId?: string;
3357
+ customerId?: string;
3358
+ projectId?: string;
3359
+ route: string;
3360
+ };
3361
+ contractVersion?: 1;
3362
+ model: "default";
3363
+ };
3364
+ messages: MittwaldAPIV2.Components.Schemas.AissistantRunMessage[];
3365
+ parentRunId?: string;
3366
+ protocolVersion?: string;
3367
+ resume?: {
3368
+ interruptId: string;
3369
+ metadata?: unknown;
3370
+ payload?: unknown;
3371
+ status: "resolved" | "cancelled";
3372
+ [k: string]: unknown;
3373
+ }[];
3374
+ runId: string;
3375
+ state?: unknown;
3376
+ threadId: string;
3377
+ tools?: {
3378
+ description: string;
3379
+ metadata?: unknown;
3380
+ name: string;
3381
+ parameters?: unknown;
3382
+ [k: string]: unknown;
3383
+ }[];
3384
+ }
3385
+ type AissistantRunMessage = {
3386
+ content: string | ({
3387
+ id?: string;
3388
+ metadata?: unknown;
3389
+ text: string;
3390
+ type: "text";
3391
+ [k: string]: unknown;
3392
+ } | {
3393
+ id?: string;
3394
+ metadata?: unknown;
3395
+ source: {
3396
+ mimeType: string;
3397
+ type: "data";
3398
+ value: string;
3399
+ [k: string]: unknown;
3400
+ } | {
3401
+ mimeType?: string;
3402
+ type: "url";
3403
+ value: string;
3404
+ [k: string]: unknown;
3405
+ } | {
3406
+ mimeType?: string;
3407
+ provider?: string;
3408
+ type: "file";
3409
+ value: string;
3410
+ [k: string]: unknown;
3411
+ };
3412
+ type: "image";
3413
+ [k: string]: unknown;
3414
+ } | {
3415
+ id?: string;
3416
+ metadata?: unknown;
3417
+ source: {
3418
+ mimeType: string;
3419
+ type: "data";
3420
+ value: string;
3421
+ [k: string]: unknown;
3422
+ } | {
3423
+ mimeType?: string;
3424
+ type: "url";
3425
+ value: string;
3426
+ [k: string]: unknown;
3427
+ } | {
3428
+ mimeType?: string;
3429
+ provider?: string;
3430
+ type: "file";
3431
+ value: string;
3432
+ [k: string]: unknown;
3433
+ };
3434
+ type: "audio";
3435
+ [k: string]: unknown;
3436
+ } | {
3437
+ id?: string;
3438
+ metadata?: unknown;
3439
+ source: {
3440
+ mimeType: string;
3441
+ type: "data";
3442
+ value: string;
3443
+ [k: string]: unknown;
3444
+ } | {
3445
+ mimeType?: string;
3446
+ type: "url";
3447
+ value: string;
3448
+ [k: string]: unknown;
3449
+ } | {
3450
+ mimeType?: string;
3451
+ provider?: string;
3452
+ type: "file";
3453
+ value: string;
3454
+ [k: string]: unknown;
3455
+ };
3456
+ type: "video";
3457
+ [k: string]: unknown;
3458
+ } | {
3459
+ id?: string;
3460
+ metadata?: unknown;
3461
+ source: {
3462
+ mimeType: string;
3463
+ type: "data";
3464
+ value: string;
3465
+ [k: string]: unknown;
3466
+ } | {
3467
+ mimeType?: string;
3468
+ type: "url";
3469
+ value: string;
3470
+ [k: string]: unknown;
3471
+ } | {
3472
+ mimeType?: string;
3473
+ provider?: string;
3474
+ type: "file";
3475
+ value: string;
3476
+ [k: string]: unknown;
3477
+ };
3478
+ type: "document";
3479
+ [k: string]: unknown;
3480
+ })[];
3481
+ encryptedValue?: string;
3482
+ id: string;
3483
+ metadata?: unknown;
3484
+ name?: string;
3485
+ role: "user";
3486
+ subagentRunId?: string;
3487
+ [k: string]: unknown;
3488
+ } | {
3489
+ content?: string;
3490
+ encryptedValue?: string;
3491
+ id: string;
3492
+ metadata?: unknown;
3493
+ name?: string;
3494
+ role: "assistant";
3495
+ subagentRunId?: string;
3496
+ toolCalls?: {
3497
+ encryptedValue?: string;
3498
+ function: {
3499
+ arguments: string;
3500
+ name: string;
3501
+ [k: string]: unknown;
3502
+ };
3503
+ id: string;
3504
+ metadata?: unknown;
3505
+ type: "function";
3506
+ [k: string]: unknown;
3507
+ }[];
3508
+ [k: string]: unknown;
3509
+ } | {
3510
+ content: string | ({
3511
+ id?: string;
3512
+ metadata?: unknown;
3513
+ text: string;
3514
+ type: "text";
3515
+ [k: string]: unknown;
3516
+ } | {
3517
+ id?: string;
3518
+ metadata?: unknown;
3519
+ source: {
3520
+ mimeType: string;
3521
+ type: "data";
3522
+ value: string;
3523
+ [k: string]: unknown;
3524
+ } | {
3525
+ mimeType?: string;
3526
+ type: "url";
3527
+ value: string;
3528
+ [k: string]: unknown;
3529
+ } | {
3530
+ mimeType?: string;
3531
+ provider?: string;
3532
+ type: "file";
3533
+ value: string;
3534
+ [k: string]: unknown;
3535
+ };
3536
+ type: "image";
3537
+ [k: string]: unknown;
3538
+ } | {
3539
+ id?: string;
3540
+ metadata?: unknown;
3541
+ source: {
3542
+ mimeType: string;
3543
+ type: "data";
3544
+ value: string;
3545
+ [k: string]: unknown;
3546
+ } | {
3547
+ mimeType?: string;
3548
+ type: "url";
3549
+ value: string;
3550
+ [k: string]: unknown;
3551
+ } | {
3552
+ mimeType?: string;
3553
+ provider?: string;
3554
+ type: "file";
3555
+ value: string;
3556
+ [k: string]: unknown;
3557
+ };
3558
+ type: "audio";
3559
+ [k: string]: unknown;
3560
+ } | {
3561
+ id?: string;
3562
+ metadata?: unknown;
3563
+ source: {
3564
+ mimeType: string;
3565
+ type: "data";
3566
+ value: string;
3567
+ [k: string]: unknown;
3568
+ } | {
3569
+ mimeType?: string;
3570
+ type: "url";
3571
+ value: string;
3572
+ [k: string]: unknown;
3573
+ } | {
3574
+ mimeType?: string;
3575
+ provider?: string;
3576
+ type: "file";
3577
+ value: string;
3578
+ [k: string]: unknown;
3579
+ };
3580
+ type: "video";
3581
+ [k: string]: unknown;
3582
+ } | {
3583
+ id?: string;
3584
+ metadata?: unknown;
3585
+ source: {
3586
+ mimeType: string;
3587
+ type: "data";
3588
+ value: string;
3589
+ [k: string]: unknown;
3590
+ } | {
3591
+ mimeType?: string;
3592
+ type: "url";
3593
+ value: string;
3594
+ [k: string]: unknown;
3595
+ } | {
3596
+ mimeType?: string;
3597
+ provider?: string;
3598
+ type: "file";
3599
+ value: string;
3600
+ [k: string]: unknown;
3601
+ };
3602
+ type: "document";
3603
+ [k: string]: unknown;
3604
+ })[];
3605
+ encryptedValue?: string;
3606
+ error?: string;
3607
+ id: string;
3608
+ metadata?: unknown;
3609
+ role: "tool";
3610
+ subagentRunId?: string;
3611
+ toolCallId: string;
3612
+ [k: string]: unknown;
3613
+ } | {
3614
+ content: string;
3615
+ encryptedValue?: string;
3616
+ id: string;
3617
+ metadata?: unknown;
3618
+ role: "reasoning";
3619
+ subagentRunId?: string;
3620
+ [k: string]: unknown;
3621
+ };
3622
+ interface AissistantSaveChatRequest {
3623
+ messages: MittwaldAPIV2.Components.Schemas.AissistantChatMessage[];
3624
+ /**
3625
+ * The revision the chat was loaded with; 0 for a new chat.
3626
+ */
3627
+ revision: number;
3628
+ /**
3629
+ * At most 200 UTF-16 code units, so at most 100 astral characters, and well-formed UTF-16: a lone surrogate is refused. A title that breaks either rule answers 400.
3630
+ */
3631
+ title: string;
3632
+ turnMarks?: MittwaldAPIV2.Components.Schemas.AissistantTurnMarks;
3633
+ }
3634
+ interface AissistantSaveChatResponse {
3635
+ revision: number;
3636
+ }
3637
+ /**
3638
+ * How a turn ended when it did not finish: `stopped` when the user stopped it, `incomplete` when the run failed or ended without answer text.
3639
+ */
3640
+ type AissistantTurnMark = "stopped" | "incomplete";
3641
+ /**
3642
+ * The marks of the turns that did not finish, keyed by the `id` of the message that shows the mark. Every key is the id of a message of the same chat; `{}` when every turn finished.
3643
+ */
3644
+ interface AissistantTurnMarks {
3645
+ [k: string]: MittwaldAPIV2.Components.Schemas.AissistantTurnMark;
3646
+ }
3647
+ type AppAppInstallationSortOrder = "newestFirst" | "oldestFirst" | "sortByPhpVersionAsc" | "sortByPhpVersionDesc";
3648
+ /**
3649
+ * An Action is a string that describes a runtime concerning action which can be executed on an AppInstallation or an App can be capable of.
3650
+ */
3651
+ type AppAction = "start" | "stop" | "restart";
3652
+ type AppActionCapabilities = MittwaldAPIV2.Components.Schemas.AppAction[];
3653
+ /**
3654
+ * AdditionalValidationSchema is a stringified custom validation schema, e.g password rules.
3655
+ */
3656
+ interface AppAdditionalValidationSchema {
3657
+ kind?: MittwaldAPIV2.Components.Schemas.AppAdditionalValidationSchemaKind;
3658
+ schema?: string;
3659
+ }
3660
+ /**
3661
+ * AdditionalValidationSchemaKind is an enum, describing the possible types of an additional validation schema.
3662
+ */
3663
+ type AppAdditionalValidationSchemaKind = "password-rule";
3664
+ /**
3665
+ * An App is to be understood as a manifest for AppInstallations. E.g. 'WordPress' only exists inside our ecosystem, because there is an App -Manifest for it.
3666
+ */
3667
+ interface AppApp {
3668
+ actionCapabilities?: MittwaldAPIV2.Components.Schemas.AppActionCapabilities;
3669
+ description?: MittwaldAPIV2.Components.Schemas.AppTranslatedString;
3670
+ id: string;
3671
+ name: string;
3672
+ /**
3673
+ * Whether a staging AppInstallation can be created from an AppInstallation of this App.
3674
+ */
3675
+ stagingAllowed: boolean;
3676
+ tags: string[];
3677
+ }
3678
+ /**
3679
+ * AppInstallationStatus describes the overall runtime status of an AppInstallation.
3680
+ */
3681
+ interface AppAppInstallationStatus {
3682
+ lastExitCode?: number;
3683
+ logFileLocation: string;
3684
+ state: "running" | "stopped" | "exited";
3685
+ uptimeSeconds?: number;
3686
+ }
3687
+ interface AppAppJobImage {
3688
+ imageTemplate: string;
3689
+ }
3690
+ interface AppAppJobImages {
3691
+ reconfigureImage: MittwaldAPIV2.Components.Schemas.AppAppJobImage;
3692
+ setupImage: MittwaldAPIV2.Components.Schemas.AppAppJobImage;
3693
+ uninstallImage: MittwaldAPIV2.Components.Schemas.AppAppJobImage;
3694
+ upgradeImage: MittwaldAPIV2.Components.Schemas.AppAppJobImage;
3695
+ }
3696
+ /**
3697
+ * LockPurpose describes why a given AppInstallation is locked from deletion.
3698
+ */
3699
+ type AppLockPurpose = "unspecified" | "copy";
3700
+ /**
3701
+ * Phase describes the current phase/state of an AppInstallation in its lifecycle.
3702
+ */
3703
+ type AppPhase = "pending" | "installing" | "upgrading" | "ready" | "disabled" | "reconfiguring";
3704
+ /**
3705
+ * AppUpdatePolicy describes which updates should be applied automatically by our systems.
3706
+ */
3707
+ type AppAppUpdatePolicy = "none" | "patchLevel" | "all";
3708
+ /**
3709
+ * An AppInstallation is a concrete manifestation of an App in a specific AppVersion.
3710
+ */
3711
+ interface AppAppInstallation {
3712
+ appExternalVersion: string;
3713
+ appId: string;
3714
+ appName: string;
3715
+ appVersion: MittwaldAPIV2.Components.Schemas.AppVersionStatus;
3716
+ /**
3717
+ * Whether automatic updates are activated.
3718
+ */
3719
+ autoUpdatesActivated?: boolean;
3720
+ createdAt: string;
3721
+ customDocumentRoot?: string;
3722
+ deletionRequested?: boolean;
3723
+ description: string;
3724
+ disabled: boolean;
3725
+ hostname?: string;
3726
+ id: string;
3727
+ installationPath: string;
3728
+ /**
3729
+ * When the last automatic update failed. Automatic updates are deactivated after a failure. The value is kept when automatic updates are activated again, so it does not indicate the current state on its own; combine it with `autoUpdatesActivated` (e.g. only warn while that is false).
3730
+ */
3731
+ lastAutoUpdateFailedAt?: string;
3732
+ /**
3733
+ * The last error that occurred during an update. Resets on success.
3734
+ */
3735
+ lastError?: string;
3736
+ linkedDatabases: MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
3737
+ lockedBy?: {
3738
+ [k: string]: MittwaldAPIV2.Components.Schemas.AppLockPurpose;
3739
+ };
3740
+ phase: MittwaldAPIV2.Components.Schemas.AppPhase;
3741
+ ports?: {
3742
+ name?: string;
3743
+ port?: number;
3744
+ }[];
3745
+ projectDescription: string;
3746
+ projectId: string;
3747
+ screenshotId?: string;
3748
+ screenshotRef?: string;
3749
+ shortId: string;
3750
+ /**
3751
+ * The source AppInstallation ID for a staging AppInstallation.
3752
+ */
3753
+ sourceAppInstallationId?: string;
3754
+ staging?: boolean;
3755
+ systemSoftware: MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
3756
+ updateAvailable: boolean;
3757
+ updatePolicy: MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
3758
+ userInputs: MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
3759
+ }
3760
+ interface AppAppInstallationErrorAnalysis {
3761
+ recommendation?: string;
3762
+ summary: string;
3763
+ }
3764
+ /**
3765
+ * The AppInstallationLifecycle can be used to express a specific point in the AppInstallation Lifecycle, e.g. while installing a new AppInstallation.
3766
+ */
3767
+ type AppAppInstallationLifecycle = "installation" | "update" | "reconfigure";
3768
+ /**
3769
+ * An AppVersion is an officially supported version of an App, containing the necessary and recommended configuration und dependencies.
3770
+ */
3771
+ interface AppAppVersion {
3772
+ appId: string;
3773
+ backendPathTemplate?: string;
3774
+ breakingNote?: MittwaldAPIV2.Components.Schemas.AppBreakingNote;
3775
+ databases?: MittwaldAPIV2.Components.Schemas.AppDatabaseDependency[];
3776
+ defaultCronjobs?: MittwaldAPIV2.Components.Schemas.AppDefaultCronjob[];
3777
+ docRoot: string;
3778
+ docRootUserEditable: boolean;
3779
+ externalVersion: string;
3780
+ id: string;
3781
+ internalVersion: string;
3782
+ recommended?: boolean;
3783
+ requestHandler?: MittwaldAPIV2.Components.Schemas.AppRequestHandlerRequirement;
3784
+ systemSoftwareDependencies?: MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[];
3785
+ /**
3786
+ * SemVer constraint that newer AppVersions must satisfy to be eligible as automatic update targets for this AppVersion.
3787
+ */
3788
+ updateConstraint?: string;
3789
+ userInputs?: MittwaldAPIV2.Components.Schemas.AppUserInput[];
3790
+ }
3791
+ /**
3792
+ * A BreakingNote is a hint that something serious has changed in the AppVersion containing it, so an automatic update is not possible.
3793
+ */
3794
+ interface AppBreakingNote {
3795
+ faqLink: string;
3796
+ }
3797
+ interface AppCronjobCommand {
3798
+ interpreterTemplate: string;
3799
+ parametersTemplate?: string;
3800
+ pathTemplate: string;
3801
+ }
3802
+ /**
3803
+ * A DatabaseDependency is a generic description of need for a database, used by AppVersions.
3804
+ */
3805
+ interface AppDatabaseDependency {
3806
+ description: string;
3807
+ kind: "mysql";
3808
+ parameters?: {
3809
+ [k: string]: string;
3810
+ };
3811
+ version: string;
3812
+ }
3813
+ interface AppDefaultCronjob {
3814
+ active: boolean;
3815
+ command?: MittwaldAPIV2.Components.Schemas.AppCronjobCommand;
3816
+ description: string;
3817
+ interval: string;
3818
+ timeout: number;
3819
+ urlTemplate?: string;
3820
+ }
3821
+ /**
3822
+ * DesiredSystemSoftware describes the desired SystemSoftwareVersion and update policy to apply for a SystemSoftware of an AppInstallation.
3823
+ */
3824
+ interface AppDesiredSystemSoftware {
3825
+ systemSoftwareVersion?: string;
3826
+ updatePolicy?: MittwaldAPIV2.Components.Schemas.AppSystemSoftwareUpdatePolicy;
3827
+ }
3828
+ interface AppError {
3829
+ message: string;
3830
+ type: string;
3831
+ }
3832
+ /**
3833
+ * InstalledSystemSoftware describes the currently configured and installed SystemSoftwareVersion of a SystemSoftware besides the desired SystemSoftwareUpdatePolicy inside an AppInstallation.
3834
+ */
3835
+ interface AppInstalledSystemSoftware {
3836
+ externalVersion: string;
3837
+ name: string;
3838
+ systemSoftwareId: string;
3839
+ systemSoftwareVersion: MittwaldAPIV2.Components.Schemas.AppVersionStatus;
3840
+ updateAvailable: boolean;
3841
+ updatePolicy: MittwaldAPIV2.Components.Schemas.AppSystemSoftwareUpdatePolicy;
3842
+ }
3843
+ /**
3844
+ * LinkedDatabase is a reference to a concrete Database and DatabaseUsers.
3845
+ */
3846
+ interface AppLinkedDatabase {
3847
+ databaseId: string;
3848
+ databaseUserIds?: {
3849
+ [k: string]: string;
3850
+ };
3851
+ kind: "mysql" | "redis";
3852
+ purpose: "primary" | "cache" | "custom";
3853
+ }
3854
+ /**
3855
+ * Desired change to a database linked to an AppInstallation. If the database given
3856
+ * as key is not linked yet it will be linked (`purpose` is required in this case).
3857
+ * For an already linked database the given `databaseUserIds` are set. If
3858
+ * `replacesDatabaseId` refers to a linked database, that database is replaced by
3859
+ * the database given as key.
3860
+ *
3861
+ */
3862
+ interface AppPatchLinkedDatabase {
3863
+ databaseUserIds?: {
3864
+ [k: string]: string;
3865
+ };
3866
+ purpose?: "primary" | "cache" | "custom";
3867
+ replacesDatabaseId?: string;
3868
+ }
3869
+ /**
3870
+ * RequestHandlerRequirement describes the necessary properties to internally resolve the request handler or process to start.
3871
+ */
3872
+ interface AppRequestHandlerRequirement {
3873
+ exampleValues?: MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
3874
+ name: string;
3875
+ namespace: string;
3876
+ parametersTemplate: string;
3877
+ }
3878
+ /**
3879
+ * A SavedUserInput is an entered value for a desired UserInput of an AppVersion or SystemSoftwareVersion.
3880
+ */
3881
+ interface AppSavedUserInput {
3882
+ name: string;
3883
+ value: string;
3884
+ }
3885
+ /**
3886
+ * A SystemSoftwareDependency is a description of a need for a specific SystemSoftware in a semver versionRange.
3887
+ */
3888
+ interface AppSystemSoftwareDependency {
3889
+ systemSoftwareId: string;
3890
+ versionRange: string;
3891
+ }
3892
+ /**
3893
+ * SystemSoftwareUpdatePolicy describes which updates should be applied automatically by our systems.
3894
+ */
3895
+ type AppSystemSoftwareUpdatePolicy = "none" | "inheritedFromApp" | "patchLevel" | "all";
3896
+ /**
3897
+ * A SystemSoftware is a software that can be installed for an AppInstallation but mostly is not itself externally reachable and/or deliverable.
3898
+ */
3899
+ interface AppSystemSoftware {
3900
+ id: string;
3901
+ meta?: {
3902
+ [k: string]: string;
3903
+ };
3904
+ name: string;
3905
+ tags: string[];
2496
3906
  }
2497
3907
  /**
2498
3908
  * A SystemSoftwareVersion is an officially supported version of a SystemSoftware, containing the necessary and recommended configuration und dependencies.
@@ -5199,6 +6609,10 @@ export declare namespace MittwaldAPIV2 {
5199
6609
  };
5200
6610
  };
5201
6611
  }
6612
+ /**
6613
+ * First five hex characters of the SHA-1 hash, case-insensitive and normalised to upper case.
6614
+ */
6615
+ type HibpHashPrefix = string;
5202
6616
  /**
5203
6617
  * Login protection of an Ingress: one identity provider for the hostname, enabled and configured per path.
5204
6618
  */
@@ -9347,22 +10761,141 @@ export declare namespace MittwaldAPIV2 {
9347
10761
  interface CommonsLegacyBearerAuthentication {
9348
10762
  Authorization: string;
9349
10763
  }
9350
- }
9351
- }
9352
- namespace Paths {
9353
- namespace V2CustomersCustomerIdAiHostingModelsActionsAcceptTerms {
10764
+ }
10765
+ }
10766
+ namespace Paths {
10767
+ namespace V2CustomersCustomerIdAiHostingModelsActionsAcceptTerms {
10768
+ namespace Post {
10769
+ namespace Parameters {
10770
+ type Path = {
10771
+ customerId: string;
10772
+ };
10773
+ type Header = {};
10774
+ type Query = {};
10775
+ }
10776
+ namespace Responses {
10777
+ namespace $204 {
10778
+ namespace Content {
10779
+ type Empty = unknown;
10780
+ }
10781
+ }
10782
+ namespace $400 {
10783
+ namespace Content {
10784
+ interface ApplicationJson {
10785
+ [k: string]: unknown;
10786
+ }
10787
+ }
10788
+ }
10789
+ namespace $403 {
10790
+ namespace Content {
10791
+ interface ApplicationJson {
10792
+ [k: string]: unknown;
10793
+ }
10794
+ }
10795
+ }
10796
+ namespace $404 {
10797
+ namespace Content {
10798
+ interface ApplicationJson {
10799
+ [k: string]: unknown;
10800
+ }
10801
+ }
10802
+ }
10803
+ namespace $429 {
10804
+ namespace Content {
10805
+ interface ApplicationJson {
10806
+ [k: string]: unknown;
10807
+ }
10808
+ }
10809
+ }
10810
+ namespace Default {
10811
+ namespace Content {
10812
+ interface ApplicationJson {
10813
+ [k: string]: unknown;
10814
+ }
10815
+ }
10816
+ }
10817
+ }
10818
+ }
10819
+ }
10820
+ namespace V2CustomersCustomerIdAiHostingKeys {
10821
+ namespace Get {
10822
+ namespace Parameters {
10823
+ type Path = {
10824
+ customerId: string;
10825
+ };
10826
+ type Header = {};
10827
+ type Query = {
10828
+ planId?: string;
10829
+ limit?: number;
10830
+ skip?: number;
10831
+ page?: number;
10832
+ };
10833
+ }
10834
+ namespace Responses {
10835
+ namespace $200 {
10836
+ namespace Content {
10837
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey[];
10838
+ }
10839
+ }
10840
+ namespace $400 {
10841
+ namespace Content {
10842
+ interface ApplicationJson {
10843
+ [k: string]: unknown;
10844
+ }
10845
+ }
10846
+ }
10847
+ namespace $403 {
10848
+ namespace Content {
10849
+ interface ApplicationJson {
10850
+ [k: string]: unknown;
10851
+ }
10852
+ }
10853
+ }
10854
+ namespace $404 {
10855
+ namespace Content {
10856
+ interface ApplicationJson {
10857
+ [k: string]: unknown;
10858
+ }
10859
+ }
10860
+ }
10861
+ namespace $429 {
10862
+ namespace Content {
10863
+ interface ApplicationJson {
10864
+ [k: string]: unknown;
10865
+ }
10866
+ }
10867
+ }
10868
+ namespace Default {
10869
+ namespace Content {
10870
+ interface ApplicationJson {
10871
+ [k: string]: unknown;
10872
+ }
10873
+ }
10874
+ }
10875
+ }
10876
+ }
9354
10877
  namespace Post {
9355
10878
  namespace Parameters {
9356
10879
  type Path = {
9357
10880
  customerId: string;
9358
10881
  };
10882
+ interface RequestBody {
10883
+ createWebuiContainer?: boolean;
10884
+ name: string;
10885
+ planId: string;
10886
+ projectId?: string;
10887
+ /**
10888
+ * Optional token limit for this key alone, for the plan's billing period. Without it the key shares the plan's limit with every other key. The sum of all key limits may exceed the plan's limit; the plan's limit always applies on top.
10889
+ */
10890
+ tokenLimit?: number;
10891
+ }
9359
10892
  type Header = {};
9360
10893
  type Query = {};
9361
10894
  }
9362
10895
  namespace Responses {
9363
- namespace $204 {
10896
+ namespace $201 {
9364
10897
  namespace Content {
9365
- type Empty = unknown;
10898
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
9366
10899
  }
9367
10900
  }
9368
10901
  namespace $400 {
@@ -9386,6 +10919,20 @@ export declare namespace MittwaldAPIV2 {
9386
10919
  }
9387
10920
  }
9388
10921
  }
10922
+ namespace $409 {
10923
+ namespace Content {
10924
+ interface ApplicationJson {
10925
+ [k: string]: unknown;
10926
+ }
10927
+ }
10928
+ }
10929
+ namespace $412 {
10930
+ namespace Content {
10931
+ interface ApplicationJson {
10932
+ [k: string]: unknown;
10933
+ }
10934
+ }
10935
+ }
9389
10936
  namespace $429 {
9390
10937
  namespace Content {
9391
10938
  interface ApplicationJson {
@@ -9403,7 +10950,7 @@ export declare namespace MittwaldAPIV2 {
9403
10950
  }
9404
10951
  }
9405
10952
  }
9406
- namespace V2CustomersCustomerIdAiHostingKeys {
10953
+ namespace V2CustomersCustomerIdAiHostings {
9407
10954
  namespace Get {
9408
10955
  namespace Parameters {
9409
10956
  type Path = {
@@ -9411,7 +10958,7 @@ export declare namespace MittwaldAPIV2 {
9411
10958
  };
9412
10959
  type Header = {};
9413
10960
  type Query = {
9414
- planId?: string;
10961
+ topUsageCount?: number;
9415
10962
  limit?: number;
9416
10963
  skip?: number;
9417
10964
  page?: number;
@@ -9420,7 +10967,7 @@ export declare namespace MittwaldAPIV2 {
9420
10967
  namespace Responses {
9421
10968
  namespace $200 {
9422
10969
  namespace Content {
9423
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey[];
10970
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingCustomerPlans;
9424
10971
  }
9425
10972
  }
9426
10973
  namespace $400 {
@@ -9465,13 +11012,118 @@ export declare namespace MittwaldAPIV2 {
9465
11012
  type Path = {
9466
11013
  customerId: string;
9467
11014
  };
11015
+ type Header = {};
11016
+ type Query = {};
11017
+ }
11018
+ namespace Responses {
11019
+ namespace $204 {
11020
+ namespace Content {
11021
+ type Empty = unknown;
11022
+ }
11023
+ }
11024
+ namespace $400 {
11025
+ namespace Content {
11026
+ interface ApplicationJson {
11027
+ [k: string]: unknown;
11028
+ }
11029
+ }
11030
+ }
11031
+ namespace $403 {
11032
+ namespace Content {
11033
+ interface ApplicationJson {
11034
+ [k: string]: unknown;
11035
+ }
11036
+ }
11037
+ }
11038
+ namespace $404 {
11039
+ namespace Content {
11040
+ interface ApplicationJson {
11041
+ [k: string]: unknown;
11042
+ }
11043
+ }
11044
+ }
11045
+ namespace $429 {
11046
+ namespace Content {
11047
+ interface ApplicationJson {
11048
+ [k: string]: unknown;
11049
+ }
11050
+ }
11051
+ }
11052
+ namespace Default {
11053
+ namespace Content {
11054
+ interface ApplicationJson {
11055
+ [k: string]: unknown;
11056
+ }
11057
+ }
11058
+ }
11059
+ }
11060
+ }
11061
+ }
11062
+ namespace V2CustomersCustomerIdAiHostingKeysKeyId {
11063
+ namespace Get {
11064
+ namespace Parameters {
11065
+ type Path = {
11066
+ customerId: string;
11067
+ keyId: string;
11068
+ };
11069
+ type Header = {};
11070
+ type Query = {};
11071
+ }
11072
+ namespace Responses {
11073
+ namespace $200 {
11074
+ namespace Content {
11075
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
11076
+ }
11077
+ }
11078
+ namespace $400 {
11079
+ namespace Content {
11080
+ interface ApplicationJson {
11081
+ [k: string]: unknown;
11082
+ }
11083
+ }
11084
+ }
11085
+ namespace $403 {
11086
+ namespace Content {
11087
+ interface ApplicationJson {
11088
+ [k: string]: unknown;
11089
+ }
11090
+ }
11091
+ }
11092
+ namespace $404 {
11093
+ namespace Content {
11094
+ interface ApplicationJson {
11095
+ [k: string]: unknown;
11096
+ }
11097
+ }
11098
+ }
11099
+ namespace $429 {
11100
+ namespace Content {
11101
+ interface ApplicationJson {
11102
+ [k: string]: unknown;
11103
+ }
11104
+ }
11105
+ }
11106
+ namespace Default {
11107
+ namespace Content {
11108
+ interface ApplicationJson {
11109
+ [k: string]: unknown;
11110
+ }
11111
+ }
11112
+ }
11113
+ }
11114
+ }
11115
+ namespace Put {
11116
+ namespace Parameters {
11117
+ type Path = {
11118
+ customerId: string;
11119
+ keyId: string;
11120
+ };
9468
11121
  interface RequestBody {
9469
11122
  createWebuiContainer?: boolean;
9470
- name: string;
9471
- planId: string;
11123
+ name?: string;
9472
11124
  projectId?: string;
9473
11125
  /**
9474
- * Optional token limit for this key alone, for the plan's billing period. Without it the key shares the plan's limit with every other key. The sum of all key limits may exceed the plan's limit; the plan's limit always applies on top.
11126
+ * The key's own token limit for the plan's billing period. 0 removes an existing limit, so the key shares the plan's limit again. Settable on the customer route only.
9475
11127
  */
9476
11128
  tokenLimit?: number;
9477
11129
  }
@@ -9479,7 +11131,7 @@ export declare namespace MittwaldAPIV2 {
9479
11131
  type Query = {};
9480
11132
  }
9481
11133
  namespace Responses {
9482
- namespace $201 {
11134
+ namespace $200 {
9483
11135
  namespace Content {
9484
11136
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
9485
11137
  }
@@ -9535,25 +11187,19 @@ export declare namespace MittwaldAPIV2 {
9535
11187
  }
9536
11188
  }
9537
11189
  }
9538
- }
9539
- namespace V2CustomersCustomerIdAiHostings {
9540
- namespace Get {
11190
+ namespace Delete {
9541
11191
  namespace Parameters {
9542
11192
  type Path = {
9543
11193
  customerId: string;
11194
+ keyId: string;
9544
11195
  };
9545
11196
  type Header = {};
9546
- type Query = {
9547
- topUsageCount?: number;
9548
- limit?: number;
9549
- skip?: number;
9550
- page?: number;
9551
- };
11197
+ type Query = {};
9552
11198
  }
9553
11199
  namespace Responses {
9554
- namespace $200 {
11200
+ namespace $204 {
9555
11201
  namespace Content {
9556
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingCustomerPlans;
11202
+ type Empty = unknown;
9557
11203
  }
9558
11204
  }
9559
11205
  namespace $400 {
@@ -9577,6 +11223,20 @@ export declare namespace MittwaldAPIV2 {
9577
11223
  }
9578
11224
  }
9579
11225
  }
11226
+ namespace $409 {
11227
+ namespace Content {
11228
+ interface ApplicationJson {
11229
+ [k: string]: unknown;
11230
+ }
11231
+ }
11232
+ }
11233
+ namespace $412 {
11234
+ namespace Content {
11235
+ interface ApplicationJson {
11236
+ [k: string]: unknown;
11237
+ }
11238
+ }
11239
+ }
9580
11240
  namespace $429 {
9581
11241
  namespace Content {
9582
11242
  interface ApplicationJson {
@@ -9593,7 +11253,9 @@ export declare namespace MittwaldAPIV2 {
9593
11253
  }
9594
11254
  }
9595
11255
  }
9596
- namespace Post {
11256
+ }
11257
+ namespace V2CustomersCustomerIdAiHostingModels {
11258
+ namespace Get {
9597
11259
  namespace Parameters {
9598
11260
  type Path = {
9599
11261
  customerId: string;
@@ -9602,9 +11264,9 @@ export declare namespace MittwaldAPIV2 {
9602
11264
  type Query = {};
9603
11265
  }
9604
11266
  namespace Responses {
9605
- namespace $204 {
11267
+ namespace $200 {
9606
11268
  namespace Content {
9607
- type Empty = unknown;
11269
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[];
9608
11270
  }
9609
11271
  }
9610
11272
  namespace $400 {
@@ -9645,20 +11307,22 @@ export declare namespace MittwaldAPIV2 {
9645
11307
  }
9646
11308
  }
9647
11309
  }
9648
- namespace V2CustomersCustomerIdAiHostingKeysKeyId {
11310
+ namespace V2CustomersCustomerIdAiHostingsPlanId {
9649
11311
  namespace Get {
9650
11312
  namespace Parameters {
9651
11313
  type Path = {
9652
11314
  customerId: string;
9653
- keyId: string;
11315
+ planId: string;
9654
11316
  };
9655
11317
  type Header = {};
9656
- type Query = {};
11318
+ type Query = {
11319
+ topUsageCount?: number;
11320
+ };
9657
11321
  }
9658
11322
  namespace Responses {
9659
11323
  namespace $200 {
9660
11324
  namespace Content {
9661
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
11325
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingCustomerPlan;
9662
11326
  }
9663
11327
  }
9664
11328
  namespace $400 {
@@ -9699,19 +11363,74 @@ export declare namespace MittwaldAPIV2 {
9699
11363
  }
9700
11364
  }
9701
11365
  namespace Put {
11366
+ namespace Parameters {
11367
+ type Path = {
11368
+ customerId: string;
11369
+ planId: string;
11370
+ };
11371
+ interface RequestBody {
11372
+ description?: string;
11373
+ }
11374
+ type Header = {};
11375
+ type Query = {};
11376
+ }
11377
+ namespace Responses {
11378
+ namespace $204 {
11379
+ namespace Content {
11380
+ type Empty = unknown;
11381
+ }
11382
+ }
11383
+ namespace $400 {
11384
+ namespace Content {
11385
+ interface ApplicationJson {
11386
+ [k: string]: unknown;
11387
+ }
11388
+ }
11389
+ }
11390
+ namespace $403 {
11391
+ namespace Content {
11392
+ interface ApplicationJson {
11393
+ [k: string]: unknown;
11394
+ }
11395
+ }
11396
+ }
11397
+ namespace $404 {
11398
+ namespace Content {
11399
+ interface ApplicationJson {
11400
+ [k: string]: unknown;
11401
+ }
11402
+ }
11403
+ }
11404
+ namespace $429 {
11405
+ namespace Content {
11406
+ interface ApplicationJson {
11407
+ [k: string]: unknown;
11408
+ }
11409
+ }
11410
+ }
11411
+ namespace Default {
11412
+ namespace Content {
11413
+ interface ApplicationJson {
11414
+ [k: string]: unknown;
11415
+ }
11416
+ }
11417
+ }
11418
+ }
11419
+ }
11420
+ }
11421
+ namespace V2CustomersCustomerIdAiHosting { }
11422
+ namespace V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate {
11423
+ namespace Post {
9702
11424
  namespace Parameters {
9703
11425
  type Path = {
9704
11426
  customerId: string;
9705
11427
  keyId: string;
9706
11428
  };
9707
11429
  interface RequestBody {
9708
- createWebuiContainer?: boolean;
9709
- name?: string;
9710
- projectId?: string;
9711
11430
  /**
9712
- * The key's own token limit for the plan's billing period. 0 removes an existing limit, so the key shares the plan's limit again. Settable on the customer route only.
11431
+ * How long the old secret keeps working alongside the new one, as a number followed by s, m, h or d, at most 7d. Omit to invalidate the old secret immediately.
9713
11432
  */
9714
- tokenLimit?: number;
11433
+ gracePeriod?: string;
9715
11434
  }
9716
11435
  type Header = {};
9717
11436
  type Query = {};
@@ -9743,20 +11462,6 @@ export declare namespace MittwaldAPIV2 {
9743
11462
  }
9744
11463
  }
9745
11464
  }
9746
- namespace $409 {
9747
- namespace Content {
9748
- interface ApplicationJson {
9749
- [k: string]: unknown;
9750
- }
9751
- }
9752
- }
9753
- namespace $412 {
9754
- namespace Content {
9755
- interface ApplicationJson {
9756
- [k: string]: unknown;
9757
- }
9758
- }
9759
- }
9760
11465
  namespace $429 {
9761
11466
  namespace Content {
9762
11467
  interface ApplicationJson {
@@ -9773,19 +11478,18 @@ export declare namespace MittwaldAPIV2 {
9773
11478
  }
9774
11479
  }
9775
11480
  }
9776
- namespace Delete {
11481
+ }
11482
+ namespace V2AiHostingModels {
11483
+ namespace Get {
9777
11484
  namespace Parameters {
9778
- type Path = {
9779
- customerId: string;
9780
- keyId: string;
9781
- };
11485
+ type Path = {};
9782
11486
  type Header = {};
9783
11487
  type Query = {};
9784
11488
  }
9785
11489
  namespace Responses {
9786
- namespace $204 {
11490
+ namespace $200 {
9787
11491
  namespace Content {
9788
- type Empty = unknown;
11492
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingModel[];
9789
11493
  }
9790
11494
  }
9791
11495
  namespace $400 {
@@ -9809,20 +11513,6 @@ export declare namespace MittwaldAPIV2 {
9809
11513
  }
9810
11514
  }
9811
11515
  }
9812
- namespace $409 {
9813
- namespace Content {
9814
- interface ApplicationJson {
9815
- [k: string]: unknown;
9816
- }
9817
- }
9818
- }
9819
- namespace $412 {
9820
- namespace Content {
9821
- interface ApplicationJson {
9822
- [k: string]: unknown;
9823
- }
9824
- }
9825
- }
9826
11516
  namespace $429 {
9827
11517
  namespace Content {
9828
11518
  interface ApplicationJson {
@@ -9840,11 +11530,12 @@ export declare namespace MittwaldAPIV2 {
9840
11530
  }
9841
11531
  }
9842
11532
  }
9843
- namespace V2CustomersCustomerIdAiHostingModels {
11533
+ namespace V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods {
9844
11534
  namespace Get {
9845
11535
  namespace Parameters {
9846
11536
  type Path = {
9847
11537
  customerId: string;
11538
+ planId: string;
9848
11539
  };
9849
11540
  type Header = {};
9850
11541
  type Query = {};
@@ -9852,7 +11543,7 @@ export declare namespace MittwaldAPIV2 {
9852
11543
  namespace Responses {
9853
11544
  namespace $200 {
9854
11545
  namespace Content {
9855
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[];
11546
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingPlanBillingPeriods;
9856
11547
  }
9857
11548
  }
9858
11549
  namespace $400 {
@@ -9893,7 +11584,7 @@ export declare namespace MittwaldAPIV2 {
9893
11584
  }
9894
11585
  }
9895
11586
  }
9896
- namespace V2CustomersCustomerIdAiHostingsPlanId {
11587
+ namespace V2CustomersCustomerIdAiHostingsPlanIdUsage {
9897
11588
  namespace Get {
9898
11589
  namespace Parameters {
9899
11590
  type Path = {
@@ -9902,13 +11593,15 @@ export declare namespace MittwaldAPIV2 {
9902
11593
  };
9903
11594
  type Header = {};
9904
11595
  type Query = {
9905
- topUsageCount?: number;
11596
+ startDate: string | Date;
11597
+ endDate: string | Date;
11598
+ keyId?: string;
9906
11599
  };
9907
11600
  }
9908
11601
  namespace Responses {
9909
11602
  namespace $200 {
9910
11603
  namespace Content {
9911
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingCustomerPlan;
11604
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingPlanUsageStats;
9912
11605
  }
9913
11606
  }
9914
11607
  namespace $400 {
@@ -9948,22 +11641,25 @@ export declare namespace MittwaldAPIV2 {
9948
11641
  }
9949
11642
  }
9950
11643
  }
9951
- namespace Put {
11644
+ }
11645
+ namespace V2ProjectsProjectIdAiHostingKeys {
11646
+ namespace Get {
9952
11647
  namespace Parameters {
9953
11648
  type Path = {
9954
- customerId: string;
9955
- planId: string;
11649
+ projectId: string;
9956
11650
  };
9957
- interface RequestBody {
9958
- description?: string;
9959
- }
9960
11651
  type Header = {};
9961
- type Query = {};
11652
+ type Query = {
11653
+ planId?: string;
11654
+ limit?: number;
11655
+ skip?: number;
11656
+ page?: number;
11657
+ };
9962
11658
  }
9963
11659
  namespace Responses {
9964
- namespace $204 {
11660
+ namespace $200 {
9965
11661
  namespace Content {
9966
- type Empty = unknown;
11662
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey[];
9967
11663
  }
9968
11664
  }
9969
11665
  namespace $400 {
@@ -10003,26 +11699,21 @@ export declare namespace MittwaldAPIV2 {
10003
11699
  }
10004
11700
  }
10005
11701
  }
10006
- }
10007
- namespace V2CustomersCustomerIdAiHosting { }
10008
- namespace V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate {
10009
11702
  namespace Post {
10010
11703
  namespace Parameters {
10011
11704
  type Path = {
10012
- customerId: string;
10013
- keyId: string;
11705
+ projectId: string;
10014
11706
  };
10015
11707
  interface RequestBody {
10016
- /**
10017
- * How long the old secret keeps working alongside the new one, as a number followed by s, m, h or d, at most 7d. Omit to invalidate the old secret immediately.
10018
- */
10019
- gracePeriod?: string;
11708
+ createWebuiContainer?: boolean;
11709
+ name: string;
11710
+ planId: string;
10020
11711
  }
10021
11712
  type Header = {};
10022
11713
  type Query = {};
10023
11714
  }
10024
11715
  namespace Responses {
10025
- namespace $200 {
11716
+ namespace $201 {
10026
11717
  namespace Content {
10027
11718
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
10028
11719
  }
@@ -10048,6 +11739,20 @@ export declare namespace MittwaldAPIV2 {
10048
11739
  }
10049
11740
  }
10050
11741
  }
11742
+ namespace $409 {
11743
+ namespace Content {
11744
+ interface ApplicationJson {
11745
+ [k: string]: unknown;
11746
+ }
11747
+ }
11748
+ }
11749
+ namespace $412 {
11750
+ namespace Content {
11751
+ interface ApplicationJson {
11752
+ [k: string]: unknown;
11753
+ }
11754
+ }
11755
+ }
10051
11756
  namespace $429 {
10052
11757
  namespace Content {
10053
11758
  interface ApplicationJson {
@@ -10065,17 +11770,20 @@ export declare namespace MittwaldAPIV2 {
10065
11770
  }
10066
11771
  }
10067
11772
  }
10068
- namespace V2AiHostingModels {
11773
+ namespace V2ProjectsProjectIdAiHostingKeysKeyId {
10069
11774
  namespace Get {
10070
11775
  namespace Parameters {
10071
- type Path = {};
11776
+ type Path = {
11777
+ projectId: string;
11778
+ keyId: string;
11779
+ };
10072
11780
  type Header = {};
10073
11781
  type Query = {};
10074
11782
  }
10075
11783
  namespace Responses {
10076
11784
  namespace $200 {
10077
11785
  namespace Content {
10078
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingModel[];
11786
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
10079
11787
  }
10080
11788
  }
10081
11789
  namespace $400 {
@@ -10115,21 +11823,23 @@ export declare namespace MittwaldAPIV2 {
10115
11823
  }
10116
11824
  }
10117
11825
  }
10118
- }
10119
- namespace V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods {
10120
- namespace Get {
11826
+ namespace Put {
10121
11827
  namespace Parameters {
10122
11828
  type Path = {
10123
- customerId: string;
10124
- planId: string;
11829
+ projectId: string;
11830
+ keyId: string;
10125
11831
  };
11832
+ interface RequestBody {
11833
+ createWebuiContainer?: boolean;
11834
+ name?: string;
11835
+ }
10126
11836
  type Header = {};
10127
11837
  type Query = {};
10128
11838
  }
10129
11839
  namespace Responses {
10130
11840
  namespace $200 {
10131
11841
  namespace Content {
10132
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingPlanBillingPeriods;
11842
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
10133
11843
  }
10134
11844
  }
10135
11845
  namespace $400 {
@@ -10153,6 +11863,20 @@ export declare namespace MittwaldAPIV2 {
10153
11863
  }
10154
11864
  }
10155
11865
  }
11866
+ namespace $409 {
11867
+ namespace Content {
11868
+ interface ApplicationJson {
11869
+ [k: string]: unknown;
11870
+ }
11871
+ }
11872
+ }
11873
+ namespace $412 {
11874
+ namespace Content {
11875
+ interface ApplicationJson {
11876
+ [k: string]: unknown;
11877
+ }
11878
+ }
11879
+ }
10156
11880
  namespace $429 {
10157
11881
  namespace Content {
10158
11882
  interface ApplicationJson {
@@ -10169,25 +11893,19 @@ export declare namespace MittwaldAPIV2 {
10169
11893
  }
10170
11894
  }
10171
11895
  }
10172
- }
10173
- namespace V2CustomersCustomerIdAiHostingsPlanIdUsage {
10174
- namespace Get {
11896
+ namespace Delete {
10175
11897
  namespace Parameters {
10176
11898
  type Path = {
10177
- customerId: string;
10178
- planId: string;
11899
+ projectId: string;
11900
+ keyId: string;
10179
11901
  };
10180
11902
  type Header = {};
10181
- type Query = {
10182
- startDate: string | Date;
10183
- endDate: string | Date;
10184
- keyId?: string;
10185
- };
11903
+ type Query = {};
10186
11904
  }
10187
11905
  namespace Responses {
10188
- namespace $200 {
11906
+ namespace $204 {
10189
11907
  namespace Content {
10190
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingPlanUsageStats;
11908
+ type Empty = unknown;
10191
11909
  }
10192
11910
  }
10193
11911
  namespace $400 {
@@ -10211,6 +11929,20 @@ export declare namespace MittwaldAPIV2 {
10211
11929
  }
10212
11930
  }
10213
11931
  }
11932
+ namespace $409 {
11933
+ namespace Content {
11934
+ interface ApplicationJson {
11935
+ [k: string]: unknown;
11936
+ }
11937
+ }
11938
+ }
11939
+ namespace $412 {
11940
+ namespace Content {
11941
+ interface ApplicationJson {
11942
+ [k: string]: unknown;
11943
+ }
11944
+ }
11945
+ }
10214
11946
  namespace $429 {
10215
11947
  namespace Content {
10216
11948
  interface ApplicationJson {
@@ -10228,24 +11960,19 @@ export declare namespace MittwaldAPIV2 {
10228
11960
  }
10229
11961
  }
10230
11962
  }
10231
- namespace V2ProjectsProjectIdAiHostingKeys {
11963
+ namespace V2ProjectsProjectIdAiHostingModels {
10232
11964
  namespace Get {
10233
11965
  namespace Parameters {
10234
11966
  type Path = {
10235
11967
  projectId: string;
10236
11968
  };
10237
11969
  type Header = {};
10238
- type Query = {
10239
- planId?: string;
10240
- limit?: number;
10241
- skip?: number;
10242
- page?: number;
10243
- };
11970
+ type Query = {};
10244
11971
  }
10245
11972
  namespace Responses {
10246
11973
  namespace $200 {
10247
11974
  namespace Content {
10248
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey[];
11975
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[];
10249
11976
  }
10250
11977
  }
10251
11978
  namespace $400 {
@@ -10285,23 +12012,21 @@ export declare namespace MittwaldAPIV2 {
10285
12012
  }
10286
12013
  }
10287
12014
  }
10288
- namespace Post {
12015
+ }
12016
+ namespace V2ProjectsProjectIdAiHostingsPlanId {
12017
+ namespace Get {
10289
12018
  namespace Parameters {
10290
12019
  type Path = {
10291
12020
  projectId: string;
10292
- };
10293
- interface RequestBody {
10294
- createWebuiContainer?: boolean;
10295
- name: string;
10296
12021
  planId: string;
10297
- }
12022
+ };
10298
12023
  type Header = {};
10299
12024
  type Query = {};
10300
12025
  }
10301
12026
  namespace Responses {
10302
- namespace $201 {
12027
+ namespace $200 {
10303
12028
  namespace Content {
10304
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
12029
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingProjectPlan;
10305
12030
  }
10306
12031
  }
10307
12032
  namespace $400 {
@@ -10325,20 +12050,6 @@ export declare namespace MittwaldAPIV2 {
10325
12050
  }
10326
12051
  }
10327
12052
  }
10328
- namespace $409 {
10329
- namespace Content {
10330
- interface ApplicationJson {
10331
- [k: string]: unknown;
10332
- }
10333
- }
10334
- }
10335
- namespace $412 {
10336
- namespace Content {
10337
- interface ApplicationJson {
10338
- [k: string]: unknown;
10339
- }
10340
- }
10341
- }
10342
12053
  namespace $429 {
10343
12054
  namespace Content {
10344
12055
  interface ApplicationJson {
@@ -10356,20 +12067,23 @@ export declare namespace MittwaldAPIV2 {
10356
12067
  }
10357
12068
  }
10358
12069
  }
10359
- namespace V2ProjectsProjectIdAiHostingKeysKeyId {
12070
+ namespace V2ProjectsProjectIdAiHostings {
10360
12071
  namespace Get {
10361
12072
  namespace Parameters {
10362
12073
  type Path = {
10363
12074
  projectId: string;
10364
- keyId: string;
10365
12075
  };
10366
12076
  type Header = {};
10367
- type Query = {};
12077
+ type Query = {
12078
+ limit?: number;
12079
+ skip?: number;
12080
+ page?: number;
12081
+ };
10368
12082
  }
10369
12083
  namespace Responses {
10370
12084
  namespace $200 {
10371
12085
  namespace Content {
10372
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
12086
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingProjectPlans;
10373
12087
  }
10374
12088
  }
10375
12089
  namespace $400 {
@@ -10409,23 +12123,27 @@ export declare namespace MittwaldAPIV2 {
10409
12123
  }
10410
12124
  }
10411
12125
  }
10412
- namespace Put {
12126
+ }
12127
+ namespace V2ProjectsProjectIdAiHosting { }
12128
+ namespace V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer {
12129
+ namespace Post {
10413
12130
  namespace Parameters {
10414
12131
  type Path = {
10415
12132
  projectId: string;
10416
12133
  keyId: string;
10417
12134
  };
10418
12135
  interface RequestBody {
10419
- createWebuiContainer?: boolean;
10420
- name?: string;
12136
+ containerId: string;
12137
+ ingressId: string;
12138
+ stackId: string;
10421
12139
  }
10422
12140
  type Header = {};
10423
12141
  type Query = {};
10424
12142
  }
10425
12143
  namespace Responses {
10426
- namespace $200 {
12144
+ namespace $204 {
10427
12145
  namespace Content {
10428
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
12146
+ type Empty = unknown;
10429
12147
  }
10430
12148
  }
10431
12149
  namespace $400 {
@@ -10442,14 +12160,7 @@ export declare namespace MittwaldAPIV2 {
10442
12160
  }
10443
12161
  }
10444
12162
  }
10445
- namespace $404 {
10446
- namespace Content {
10447
- interface ApplicationJson {
10448
- [k: string]: unknown;
10449
- }
10450
- }
10451
- }
10452
- namespace $409 {
12163
+ namespace $404 {
10453
12164
  namespace Content {
10454
12165
  interface ApplicationJson {
10455
12166
  [k: string]: unknown;
@@ -10479,19 +12190,27 @@ export declare namespace MittwaldAPIV2 {
10479
12190
  }
10480
12191
  }
10481
12192
  }
10482
- namespace Delete {
12193
+ }
12194
+ namespace V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate {
12195
+ namespace Post {
10483
12196
  namespace Parameters {
10484
12197
  type Path = {
10485
12198
  projectId: string;
10486
12199
  keyId: string;
10487
12200
  };
12201
+ interface RequestBody {
12202
+ /**
12203
+ * How long the old secret keeps working alongside the new one, as a number followed by s, m, h or d, at most 7d. Omit to invalidate the old secret immediately.
12204
+ */
12205
+ gracePeriod?: string;
12206
+ }
10488
12207
  type Header = {};
10489
12208
  type Query = {};
10490
12209
  }
10491
12210
  namespace Responses {
10492
- namespace $204 {
12211
+ namespace $200 {
10493
12212
  namespace Content {
10494
- type Empty = unknown;
12213
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
10495
12214
  }
10496
12215
  }
10497
12216
  namespace $400 {
@@ -10515,20 +12234,6 @@ export declare namespace MittwaldAPIV2 {
10515
12234
  }
10516
12235
  }
10517
12236
  }
10518
- namespace $409 {
10519
- namespace Content {
10520
- interface ApplicationJson {
10521
- [k: string]: unknown;
10522
- }
10523
- }
10524
- }
10525
- namespace $412 {
10526
- namespace Content {
10527
- interface ApplicationJson {
10528
- [k: string]: unknown;
10529
- }
10530
- }
10531
- }
10532
12237
  namespace $429 {
10533
12238
  namespace Content {
10534
12239
  interface ApplicationJson {
@@ -10546,19 +12251,25 @@ export declare namespace MittwaldAPIV2 {
10546
12251
  }
10547
12252
  }
10548
12253
  }
10549
- namespace V2ProjectsProjectIdAiHostingModels {
12254
+ namespace V2AiHostingKeys {
10550
12255
  namespace Get {
10551
12256
  namespace Parameters {
10552
- type Path = {
10553
- projectId: string;
10554
- };
12257
+ type Path = {};
10555
12258
  type Header = {};
10556
- type Query = {};
12259
+ type Query = {
12260
+ customerId?: string;
12261
+ projectId?: string;
12262
+ planId?: string;
12263
+ searchTerm?: string;
12264
+ limit?: number;
12265
+ skip?: number;
12266
+ page?: number;
12267
+ };
10557
12268
  }
10558
12269
  namespace Responses {
10559
12270
  namespace $200 {
10560
12271
  namespace Content {
10561
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[];
12272
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingUserKey[];
10562
12273
  }
10563
12274
  }
10564
12275
  namespace $400 {
@@ -10575,13 +12286,6 @@ export declare namespace MittwaldAPIV2 {
10575
12286
  }
10576
12287
  }
10577
12288
  }
10578
- namespace $404 {
10579
- namespace Content {
10580
- interface ApplicationJson {
10581
- [k: string]: unknown;
10582
- }
10583
- }
10584
- }
10585
12289
  namespace $429 {
10586
12290
  namespace Content {
10587
12291
  interface ApplicationJson {
@@ -10599,20 +12303,25 @@ export declare namespace MittwaldAPIV2 {
10599
12303
  }
10600
12304
  }
10601
12305
  }
10602
- namespace V2ProjectsProjectIdAiHostingsPlanId {
12306
+ namespace V2AiHostings {
10603
12307
  namespace Get {
10604
12308
  namespace Parameters {
10605
- type Path = {
10606
- projectId: string;
10607
- planId: string;
10608
- };
12309
+ type Path = {};
10609
12310
  type Header = {};
10610
- type Query = {};
12311
+ type Query = {
12312
+ customerId?: string;
12313
+ projectId?: string;
12314
+ planId?: string;
12315
+ searchTerm?: string;
12316
+ limit?: number;
12317
+ skip?: number;
12318
+ page?: number;
12319
+ };
10611
12320
  }
10612
12321
  namespace Responses {
10613
12322
  namespace $200 {
10614
12323
  namespace Content {
10615
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingProjectPlan;
12324
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingUserPlan[];
10616
12325
  }
10617
12326
  }
10618
12327
  namespace $400 {
@@ -10629,13 +12338,6 @@ export declare namespace MittwaldAPIV2 {
10629
12338
  }
10630
12339
  }
10631
12340
  }
10632
- namespace $404 {
10633
- namespace Content {
10634
- interface ApplicationJson {
10635
- [k: string]: unknown;
10636
- }
10637
- }
10638
- }
10639
12341
  namespace $429 {
10640
12342
  namespace Content {
10641
12343
  interface ApplicationJson {
@@ -10653,23 +12355,19 @@ export declare namespace MittwaldAPIV2 {
10653
12355
  }
10654
12356
  }
10655
12357
  }
10656
- namespace V2ProjectsProjectIdAiHostings {
12358
+ namespace V2AissistantChatsChatId {
10657
12359
  namespace Get {
10658
12360
  namespace Parameters {
10659
12361
  type Path = {
10660
- projectId: string;
12362
+ chatId: string;
10661
12363
  };
10662
12364
  type Header = {};
10663
- type Query = {
10664
- limit?: number;
10665
- skip?: number;
10666
- page?: number;
10667
- };
12365
+ type Query = {};
10668
12366
  }
10669
12367
  namespace Responses {
10670
12368
  namespace $200 {
10671
12369
  namespace Content {
10672
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingProjectPlans;
12370
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AissistantChat;
10673
12371
  }
10674
12372
  }
10675
12373
  namespace $400 {
@@ -10679,7 +12377,7 @@ export declare namespace MittwaldAPIV2 {
10679
12377
  }
10680
12378
  }
10681
12379
  }
10682
- namespace $403 {
12380
+ namespace $401 {
10683
12381
  namespace Content {
10684
12382
  interface ApplicationJson {
10685
12383
  [k: string]: unknown;
@@ -10709,27 +12407,19 @@ export declare namespace MittwaldAPIV2 {
10709
12407
  }
10710
12408
  }
10711
12409
  }
10712
- }
10713
- namespace V2ProjectsProjectIdAiHosting { }
10714
- namespace V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer {
10715
- namespace Post {
12410
+ namespace Put {
10716
12411
  namespace Parameters {
10717
12412
  type Path = {
10718
- projectId: string;
10719
- keyId: string;
12413
+ chatId: string;
10720
12414
  };
10721
- interface RequestBody {
10722
- containerId: string;
10723
- ingressId: string;
10724
- stackId: string;
10725
- }
12415
+ type RequestBody = MittwaldAPIV2.Components.Schemas.AissistantSaveChatRequest;
10726
12416
  type Header = {};
10727
12417
  type Query = {};
10728
12418
  }
10729
12419
  namespace Responses {
10730
- namespace $204 {
12420
+ namespace $200 {
10731
12421
  namespace Content {
10732
- type Empty = unknown;
12422
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AissistantSaveChatResponse;
10733
12423
  }
10734
12424
  }
10735
12425
  namespace $400 {
@@ -10739,32 +12429,26 @@ export declare namespace MittwaldAPIV2 {
10739
12429
  }
10740
12430
  }
10741
12431
  }
10742
- namespace $403 {
12432
+ namespace $401 {
10743
12433
  namespace Content {
10744
12434
  interface ApplicationJson {
10745
12435
  [k: string]: unknown;
10746
12436
  }
10747
12437
  }
10748
12438
  }
10749
- namespace $404 {
12439
+ namespace $409 {
10750
12440
  namespace Content {
10751
- interface ApplicationJson {
10752
- [k: string]: unknown;
10753
- }
12441
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
10754
12442
  }
10755
12443
  }
10756
- namespace $412 {
12444
+ namespace $413 {
10757
12445
  namespace Content {
10758
- interface ApplicationJson {
10759
- [k: string]: unknown;
10760
- }
12446
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
10761
12447
  }
10762
12448
  }
10763
12449
  namespace $429 {
10764
12450
  namespace Content {
10765
- interface ApplicationJson {
10766
- [k: string]: unknown;
10767
- }
12451
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
10768
12452
  }
10769
12453
  }
10770
12454
  namespace Default {
@@ -10776,27 +12460,18 @@ export declare namespace MittwaldAPIV2 {
10776
12460
  }
10777
12461
  }
10778
12462
  }
10779
- }
10780
- namespace V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate {
10781
- namespace Post {
12463
+ namespace Delete {
10782
12464
  namespace Parameters {
10783
12465
  type Path = {
10784
- projectId: string;
10785
- keyId: string;
12466
+ chatId: string;
10786
12467
  };
10787
- interface RequestBody {
10788
- /**
10789
- * How long the old secret keeps working alongside the new one, as a number followed by s, m, h or d, at most 7d. Omit to invalidate the old secret immediately.
10790
- */
10791
- gracePeriod?: string;
10792
- }
10793
12468
  type Header = {};
10794
12469
  type Query = {};
10795
12470
  }
10796
12471
  namespace Responses {
10797
- namespace $200 {
12472
+ namespace $204 {
10798
12473
  namespace Content {
10799
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
12474
+ type Empty = unknown;
10800
12475
  }
10801
12476
  }
10802
12477
  namespace $400 {
@@ -10806,14 +12481,7 @@ export declare namespace MittwaldAPIV2 {
10806
12481
  }
10807
12482
  }
10808
12483
  }
10809
- namespace $403 {
10810
- namespace Content {
10811
- interface ApplicationJson {
10812
- [k: string]: unknown;
10813
- }
10814
- }
10815
- }
10816
- namespace $404 {
12484
+ namespace $401 {
10817
12485
  namespace Content {
10818
12486
  interface ApplicationJson {
10819
12487
  [k: string]: unknown;
@@ -10837,35 +12505,20 @@ export declare namespace MittwaldAPIV2 {
10837
12505
  }
10838
12506
  }
10839
12507
  }
10840
- namespace V2AiHostingKeys {
12508
+ namespace V2AissistantChats {
10841
12509
  namespace Get {
10842
12510
  namespace Parameters {
10843
12511
  type Path = {};
10844
12512
  type Header = {};
10845
- type Query = {
10846
- customerId?: string;
10847
- projectId?: string;
10848
- planId?: string;
10849
- searchTerm?: string;
10850
- limit?: number;
10851
- skip?: number;
10852
- page?: number;
10853
- };
12513
+ type Query = {};
10854
12514
  }
10855
12515
  namespace Responses {
10856
12516
  namespace $200 {
10857
12517
  namespace Content {
10858
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingUserKey[];
10859
- }
10860
- }
10861
- namespace $400 {
10862
- namespace Content {
10863
- interface ApplicationJson {
10864
- [k: string]: unknown;
10865
- }
12518
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AissistantChatList;
10866
12519
  }
10867
12520
  }
10868
- namespace $403 {
12521
+ namespace $401 {
10869
12522
  namespace Content {
10870
12523
  interface ApplicationJson {
10871
12524
  [k: string]: unknown;
@@ -10889,25 +12542,20 @@ export declare namespace MittwaldAPIV2 {
10889
12542
  }
10890
12543
  }
10891
12544
  }
10892
- namespace V2AiHostings {
10893
- namespace Get {
12545
+ namespace V2AissistantChatsChatIdActionsRun {
12546
+ namespace Post {
10894
12547
  namespace Parameters {
10895
- type Path = {};
10896
- type Header = {};
10897
- type Query = {
10898
- customerId?: string;
10899
- projectId?: string;
10900
- planId?: string;
10901
- searchTerm?: string;
10902
- limit?: number;
10903
- skip?: number;
10904
- page?: number;
12548
+ type Path = {
12549
+ chatId: string;
10905
12550
  };
12551
+ type RequestBody = MittwaldAPIV2.Components.Schemas.AissistantRunInput;
12552
+ type Header = {};
12553
+ type Query = {};
10906
12554
  }
10907
12555
  namespace Responses {
10908
12556
  namespace $200 {
10909
12557
  namespace Content {
10910
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingUserPlan[];
12558
+ type TextEventStream = string;
10911
12559
  }
10912
12560
  }
10913
12561
  namespace $400 {
@@ -10917,6 +12565,13 @@ export declare namespace MittwaldAPIV2 {
10917
12565
  }
10918
12566
  }
10919
12567
  }
12568
+ namespace $401 {
12569
+ namespace Content {
12570
+ interface ApplicationJson {
12571
+ [k: string]: unknown;
12572
+ }
12573
+ }
12574
+ }
10920
12575
  namespace $403 {
10921
12576
  namespace Content {
10922
12577
  interface ApplicationJson {
@@ -10924,7 +12579,33 @@ export declare namespace MittwaldAPIV2 {
10924
12579
  }
10925
12580
  }
10926
12581
  }
12582
+ namespace $413 {
12583
+ namespace Content {
12584
+ interface ApplicationJson {
12585
+ [k: string]: unknown;
12586
+ }
12587
+ }
12588
+ }
10927
12589
  namespace $429 {
12590
+ namespace Content {
12591
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
12592
+ }
12593
+ }
12594
+ namespace $500 {
12595
+ namespace Content {
12596
+ interface ApplicationJson {
12597
+ [k: string]: unknown;
12598
+ }
12599
+ }
12600
+ }
12601
+ namespace $503 {
12602
+ namespace Content {
12603
+ interface ApplicationJson {
12604
+ [k: string]: unknown;
12605
+ }
12606
+ }
12607
+ }
12608
+ namespace $504 {
10928
12609
  namespace Content {
10929
12610
  interface ApplicationJson {
10930
12611
  [k: string]: unknown;
@@ -25161,6 +26842,45 @@ export declare namespace MittwaldAPIV2 {
25161
26842
  }
25162
26843
  }
25163
26844
  }
26845
+ namespace V2CompromisedPasswordHashesRangesHashPrefix {
26846
+ namespace Get {
26847
+ namespace Parameters {
26848
+ type Path = {
26849
+ hashPrefix: MittwaldAPIV2.Components.Schemas.HibpHashPrefix;
26850
+ };
26851
+ type Header = {};
26852
+ type Query = {};
26853
+ }
26854
+ namespace Responses {
26855
+ namespace $200 {
26856
+ namespace Content {
26857
+ type TextPlain = string;
26858
+ }
26859
+ }
26860
+ namespace $400 {
26861
+ namespace Content {
26862
+ interface ApplicationJson {
26863
+ [k: string]: unknown;
26864
+ }
26865
+ }
26866
+ }
26867
+ namespace $429 {
26868
+ namespace Content {
26869
+ interface ApplicationJson {
26870
+ [k: string]: unknown;
26871
+ }
26872
+ }
26873
+ }
26874
+ namespace Default {
26875
+ namespace Content {
26876
+ interface ApplicationJson {
26877
+ [k: string]: unknown;
26878
+ }
26879
+ }
26880
+ }
26881
+ }
26882
+ }
26883
+ }
25164
26884
  namespace V2Ingresses {
25165
26885
  namespace Get {
25166
26886
  namespace Parameters {