@gentiq/core 1.0.0-beta.2 → 1.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/api.es.js +65 -43
- package/dist/composer/composerDrafts.es.js +77 -34
- package/dist/composer/runSelection.es.js +142 -0
- package/dist/errors.es.js +5 -0
- package/dist/index.d.ts +1109 -42
- package/dist/index.es.js +45 -42
- package/dist/internal.d.ts +1015 -55
- package/dist/protocol/chatRequest.es.js +47 -38
- package/dist/thread/chatTransport.es.js +28 -17
- package/dist/thread/threadController.es.js +200 -184
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -296,6 +296,7 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
296
296
|
app_version: string | null;
|
|
297
297
|
attachments: components["schemas"]["AttachmentLimits"];
|
|
298
298
|
auth_page_enabled?: boolean | null;
|
|
299
|
+
capabilities?: components["schemas"]["CapabilityView"][];
|
|
299
300
|
composer_attachments?: boolean | null;
|
|
300
301
|
composer_voice?: boolean | null;
|
|
301
302
|
connectors_allow_user_mcp?: boolean;
|
|
@@ -320,6 +321,9 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
320
321
|
language_locked?: boolean | null;
|
|
321
322
|
login_fields: ("username" | "email" | "phone")[];
|
|
322
323
|
maintenance: components["schemas"]["MaintenanceNotice"];
|
|
324
|
+
memory_enabled?: boolean;
|
|
325
|
+
memory_include_chat_history?: boolean;
|
|
326
|
+
modes?: components["schemas"]["ChatModeView"][];
|
|
323
327
|
plugins: string[];
|
|
324
328
|
quota_calendar?: ("gregorian" | "persian") | null;
|
|
325
329
|
quota_timezone?: string | null;
|
|
@@ -661,8 +665,95 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
661
665
|
deleteUserMCPConnector: (connectorId: string) => Promise<{
|
|
662
666
|
status: "success";
|
|
663
667
|
}>;
|
|
668
|
+
/** List memories belonging to the current user (or requested authorized scope). */
|
|
669
|
+
listMemories: (params?: {
|
|
670
|
+
q?: string;
|
|
671
|
+
scope_kind?: string;
|
|
672
|
+
scope_id?: string;
|
|
673
|
+
limit?: number;
|
|
674
|
+
cursor?: string;
|
|
675
|
+
}, signal?: AbortSignal) => Promise<{
|
|
676
|
+
max_memories: number;
|
|
677
|
+
memories: components["schemas"]["MemoryView"][];
|
|
678
|
+
next_cursor?: string | null;
|
|
679
|
+
scopes: components["schemas"]["MemoryScopeView"][];
|
|
680
|
+
total: number;
|
|
681
|
+
}>;
|
|
682
|
+
/** Create (or deduplicate) a memory item for the current user. */
|
|
683
|
+
createMemory: (data: MemoryCreateInput) => Promise<{
|
|
684
|
+
content: string;
|
|
685
|
+
created_at: string;
|
|
686
|
+
id: string;
|
|
687
|
+
importance: number;
|
|
688
|
+
last_accessed_at?: string | null;
|
|
689
|
+
metadata?: {
|
|
690
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
691
|
+
};
|
|
692
|
+
pinned: boolean;
|
|
693
|
+
scope_id: string;
|
|
694
|
+
scope_kind: string;
|
|
695
|
+
source: "user" | "agent" | "extracted" | "system";
|
|
696
|
+
source_thread_id?: string | null;
|
|
697
|
+
updated_at: string;
|
|
698
|
+
}>;
|
|
699
|
+
/** Update an existing memory item owned by the current user. */
|
|
700
|
+
updateMemory: (memoryId: string, data: MemoryUpdateInput) => Promise<{
|
|
701
|
+
content: string;
|
|
702
|
+
created_at: string;
|
|
703
|
+
id: string;
|
|
704
|
+
importance: number;
|
|
705
|
+
last_accessed_at?: string | null;
|
|
706
|
+
metadata?: {
|
|
707
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
708
|
+
};
|
|
709
|
+
pinned: boolean;
|
|
710
|
+
scope_id: string;
|
|
711
|
+
scope_kind: string;
|
|
712
|
+
source: "user" | "agent" | "extracted" | "system";
|
|
713
|
+
source_thread_id?: string | null;
|
|
714
|
+
updated_at: string;
|
|
715
|
+
}>;
|
|
716
|
+
/** Delete a stored memory item owned by the current user. */
|
|
717
|
+
deleteMemory: (memoryId: string) => Promise<{
|
|
718
|
+
status: "success";
|
|
719
|
+
}>;
|
|
720
|
+
/** Delete all memories in the user's writable scopes (or the named scope). */
|
|
721
|
+
clearMemories: (params?: {
|
|
722
|
+
scope_kind?: string;
|
|
723
|
+
scope_id?: string;
|
|
724
|
+
}) => Promise<{
|
|
725
|
+
deleted: number;
|
|
726
|
+
status?: "success";
|
|
727
|
+
}>;
|
|
728
|
+
/** Fetch the current user's memory preferences and limits. */
|
|
729
|
+
getMemorySettings: (signal?: AbortSignal) => Promise<{
|
|
730
|
+
allow_turn_opt_out: boolean;
|
|
731
|
+
auto_extract: boolean;
|
|
732
|
+
auto_extract_supported: boolean;
|
|
733
|
+
enabled: boolean;
|
|
734
|
+
include_chat_history: boolean;
|
|
735
|
+
max_content_length: number;
|
|
736
|
+
max_memories_per_scope: number;
|
|
737
|
+
scopes: components["schemas"]["MemoryScopeView"][];
|
|
738
|
+
}>;
|
|
739
|
+
/** Update the current user's memory preferences. */
|
|
740
|
+
updateMemorySettings: (data: MemorySettingsUpdateInput) => Promise<{
|
|
741
|
+
allow_turn_opt_out: boolean;
|
|
742
|
+
auto_extract: boolean;
|
|
743
|
+
auto_extract_supported: boolean;
|
|
744
|
+
enabled: boolean;
|
|
745
|
+
include_chat_history: boolean;
|
|
746
|
+
max_content_length: number;
|
|
747
|
+
max_memories_per_scope: number;
|
|
748
|
+
scopes: components["schemas"]["MemoryScopeView"][];
|
|
749
|
+
}>;
|
|
664
750
|
};
|
|
665
751
|
|
|
752
|
+
/**
|
|
753
|
+
* Extracts the validated `POST /chat` payload fields and one-shot clear flags for a send.
|
|
754
|
+
*/
|
|
755
|
+
export declare function buildTurnSelection(draft: Pick<ComposerDraft, 'mode' | 'capabilities'>, resolved: ResolvedRunSelection): TurnSelection;
|
|
756
|
+
|
|
666
757
|
/**
|
|
667
758
|
* Day arithmetic in the calendars the UI offers for picking dates: Gregorian and the
|
|
668
759
|
* Solar Hijri (Jalali) calendar Persian readers use.
|
|
@@ -696,6 +787,9 @@ export declare interface CalendarSystem {
|
|
|
696
787
|
daysInMonth: (year: number, month: number) => number;
|
|
697
788
|
}
|
|
698
789
|
|
|
790
|
+
/** Explicit per-turn capability overrides sent on `POST /chat`. */
|
|
791
|
+
export declare type CapabilityOverrides = NonNullable<ChatRequestSchema['capabilities']>;
|
|
792
|
+
|
|
699
793
|
/**
|
|
700
794
|
* A file to send with a message: one uploaded with `uploadAttachment`, as it answered. `file` is
|
|
701
795
|
* the local copy, if there is one, so the message can show the file without downloading it again.
|
|
@@ -704,9 +798,15 @@ export declare type ChatAttachment = AttachmentUpload & {
|
|
|
704
798
|
file?: Blob;
|
|
705
799
|
};
|
|
706
800
|
|
|
801
|
+
/** A toggleable run capability declared by the backend (returned by `GET /config`). */
|
|
802
|
+
export declare type ChatCapability = Schemas['CapabilityView'];
|
|
803
|
+
|
|
707
804
|
/** The answer is stored, and whether a title is still coming (`data-chat-finished`). */
|
|
708
805
|
export declare type ChatFinishedData = Schemas['ChatFinishedData'];
|
|
709
806
|
|
|
807
|
+
/** A chat mode declared by the backend (returned by `GET /config`). */
|
|
808
|
+
export declare type ChatMode = Schemas['ChatModeView'];
|
|
809
|
+
|
|
710
810
|
/**
|
|
711
811
|
* Structured reference context selected from an earlier message or explicit UI card.
|
|
712
812
|
*/
|
|
@@ -1463,6 +1563,10 @@ declare interface components {
|
|
|
1463
1563
|
AdminThreadItem: {
|
|
1464
1564
|
/** Agent */
|
|
1465
1565
|
agent?: string | null;
|
|
1566
|
+
/** Capabilities */
|
|
1567
|
+
capabilities?: {
|
|
1568
|
+
[key: string]: boolean;
|
|
1569
|
+
} | null;
|
|
1466
1570
|
/**
|
|
1467
1571
|
* Content
|
|
1468
1572
|
* @default
|
|
@@ -1474,6 +1578,8 @@ declare interface components {
|
|
|
1474
1578
|
feedback?: string | null;
|
|
1475
1579
|
/** Id */
|
|
1476
1580
|
id: string;
|
|
1581
|
+
/** Mode */
|
|
1582
|
+
mode?: string | null;
|
|
1477
1583
|
/**
|
|
1478
1584
|
* Parts
|
|
1479
1585
|
* @default []
|
|
@@ -1583,6 +1689,16 @@ declare interface components {
|
|
|
1583
1689
|
/** Users */
|
|
1584
1690
|
users: components["schemas"]["AdminUserRow"][];
|
|
1585
1691
|
};
|
|
1692
|
+
/** AdminUserMemoryResponse */
|
|
1693
|
+
AdminUserMemoryResponse: {
|
|
1694
|
+
/** Memories */
|
|
1695
|
+
memories: components["schemas"]["MemoryView"][];
|
|
1696
|
+
/** Next Cursor */
|
|
1697
|
+
next_cursor?: string | null;
|
|
1698
|
+
settings: components["schemas"]["MemorySettingsView"];
|
|
1699
|
+
/** Total */
|
|
1700
|
+
total: number;
|
|
1701
|
+
};
|
|
1586
1702
|
/** AdminUserRow */
|
|
1587
1703
|
AdminUserRow: {
|
|
1588
1704
|
/** Email */
|
|
@@ -2147,6 +2263,85 @@ declare interface components {
|
|
|
2147
2263
|
/** At */
|
|
2148
2264
|
at?: string | null;
|
|
2149
2265
|
};
|
|
2266
|
+
/**
|
|
2267
|
+
* CapabilityView
|
|
2268
|
+
* @description Public metadata for one run capability, returned by ``GET /api/config``.
|
|
2269
|
+
*/
|
|
2270
|
+
CapabilityView: {
|
|
2271
|
+
/** Active Label */
|
|
2272
|
+
active_label?: string | null;
|
|
2273
|
+
/** Attachment Types */
|
|
2274
|
+
attachment_types?: string[] | null;
|
|
2275
|
+
/**
|
|
2276
|
+
* Chip
|
|
2277
|
+
* @default when_changed
|
|
2278
|
+
* @enum {string}
|
|
2279
|
+
*/
|
|
2280
|
+
chip?: "when_active" | "when_changed" | "always" | "never";
|
|
2281
|
+
/**
|
|
2282
|
+
* Chip Display
|
|
2283
|
+
* @default pill
|
|
2284
|
+
* @enum {string}
|
|
2285
|
+
*/
|
|
2286
|
+
chip_display?: "pill" | "icon";
|
|
2287
|
+
/**
|
|
2288
|
+
* Default
|
|
2289
|
+
* @default false
|
|
2290
|
+
*/
|
|
2291
|
+
default?: boolean;
|
|
2292
|
+
/** Description */
|
|
2293
|
+
description?: string | null;
|
|
2294
|
+
/** Exclusive Group */
|
|
2295
|
+
exclusive_group?: string | null;
|
|
2296
|
+
/** Feature */
|
|
2297
|
+
feature?: string | null;
|
|
2298
|
+
/** Group */
|
|
2299
|
+
group?: string | null;
|
|
2300
|
+
/** Icon */
|
|
2301
|
+
icon?: string | null;
|
|
2302
|
+
/** Implies */
|
|
2303
|
+
implies?: string[];
|
|
2304
|
+
/** Inactive Label */
|
|
2305
|
+
inactive_label?: string | null;
|
|
2306
|
+
/**
|
|
2307
|
+
* Inverted Toggle
|
|
2308
|
+
* @default false
|
|
2309
|
+
*/
|
|
2310
|
+
inverted_toggle?: boolean;
|
|
2311
|
+
/** Key */
|
|
2312
|
+
key: string;
|
|
2313
|
+
/**
|
|
2314
|
+
* Menu
|
|
2315
|
+
* @default tools
|
|
2316
|
+
* @enum {string}
|
|
2317
|
+
*/
|
|
2318
|
+
menu?: "tools" | "mode";
|
|
2319
|
+
/** Name */
|
|
2320
|
+
name: string;
|
|
2321
|
+
/**
|
|
2322
|
+
* Order
|
|
2323
|
+
* @default 0
|
|
2324
|
+
*/
|
|
2325
|
+
order?: number;
|
|
2326
|
+
/** Placeholder */
|
|
2327
|
+
placeholder?: string | null;
|
|
2328
|
+
/** Settings Section */
|
|
2329
|
+
settings_section?: string | null;
|
|
2330
|
+
/**
|
|
2331
|
+
* Source
|
|
2332
|
+
* @default app
|
|
2333
|
+
* @enum {string}
|
|
2334
|
+
*/
|
|
2335
|
+
source?: "gentiq" | "app";
|
|
2336
|
+
/**
|
|
2337
|
+
* Sticky
|
|
2338
|
+
* @default thread
|
|
2339
|
+
* @enum {string}
|
|
2340
|
+
*/
|
|
2341
|
+
sticky?: "thread" | "turn";
|
|
2342
|
+
/** Toggle Label */
|
|
2343
|
+
toggle_label?: string | null;
|
|
2344
|
+
};
|
|
2150
2345
|
/**
|
|
2151
2346
|
* ChatFinishedData
|
|
2152
2347
|
* @description The answer is stored. ``title_pending`` says a title is still being written.
|
|
@@ -2205,6 +2400,56 @@ declare interface components {
|
|
|
2205
2400
|
*/
|
|
2206
2401
|
voice_inputs?: string[] | null;
|
|
2207
2402
|
};
|
|
2403
|
+
/**
|
|
2404
|
+
* ChatModeView
|
|
2405
|
+
* @description Public metadata for one chat mode, returned by ``GET /api/config``.
|
|
2406
|
+
*/
|
|
2407
|
+
ChatModeView: {
|
|
2408
|
+
/** Allowed Capabilities */
|
|
2409
|
+
allowed_capabilities?: string[] | null;
|
|
2410
|
+
/** Attachment Types */
|
|
2411
|
+
attachment_types?: string[] | null;
|
|
2412
|
+
/**
|
|
2413
|
+
* Default
|
|
2414
|
+
* @default false
|
|
2415
|
+
*/
|
|
2416
|
+
default?: boolean;
|
|
2417
|
+
/** Description */
|
|
2418
|
+
description?: string | null;
|
|
2419
|
+
/** Disabled Capabilities */
|
|
2420
|
+
disabled_capabilities?: string[];
|
|
2421
|
+
/** Feature */
|
|
2422
|
+
feature?: string | null;
|
|
2423
|
+
/** Forced Capabilities */
|
|
2424
|
+
forced_capabilities?: string[];
|
|
2425
|
+
/** Group */
|
|
2426
|
+
group?: string | null;
|
|
2427
|
+
/** Icon */
|
|
2428
|
+
icon?: string | null;
|
|
2429
|
+
/** Key */
|
|
2430
|
+
key: string;
|
|
2431
|
+
/** Name */
|
|
2432
|
+
name: string;
|
|
2433
|
+
/**
|
|
2434
|
+
* Order
|
|
2435
|
+
* @default 0
|
|
2436
|
+
*/
|
|
2437
|
+
order?: number;
|
|
2438
|
+
/** Placeholder */
|
|
2439
|
+
placeholder?: string | null;
|
|
2440
|
+
/**
|
|
2441
|
+
* Source
|
|
2442
|
+
* @default app
|
|
2443
|
+
* @enum {string}
|
|
2444
|
+
*/
|
|
2445
|
+
source?: "gentiq" | "app";
|
|
2446
|
+
/**
|
|
2447
|
+
* Sticky
|
|
2448
|
+
* @default thread
|
|
2449
|
+
* @enum {string}
|
|
2450
|
+
*/
|
|
2451
|
+
sticky?: "thread" | "turn";
|
|
2452
|
+
};
|
|
2208
2453
|
/**
|
|
2209
2454
|
* ChatRequest
|
|
2210
2455
|
* @description A turn: a new message, or answers to the tool calls the last answer waits on.
|
|
@@ -2215,6 +2460,13 @@ declare interface components {
|
|
|
2215
2460
|
* @default null
|
|
2216
2461
|
*/
|
|
2217
2462
|
approvals?: components["schemas"]["ToolApprovalInput"][] | null;
|
|
2463
|
+
/**
|
|
2464
|
+
* Capabilities
|
|
2465
|
+
* @default null
|
|
2466
|
+
*/
|
|
2467
|
+
capabilities?: {
|
|
2468
|
+
[key: string]: boolean;
|
|
2469
|
+
} | null;
|
|
2218
2470
|
/**
|
|
2219
2471
|
* External User Id
|
|
2220
2472
|
* @default null
|
|
@@ -2222,6 +2474,11 @@ declare interface components {
|
|
|
2222
2474
|
external_user_id?: string | null;
|
|
2223
2475
|
/** @default null */
|
|
2224
2476
|
message?: components["schemas"]["ChatMessageInput"] | null;
|
|
2477
|
+
/**
|
|
2478
|
+
* Mode
|
|
2479
|
+
* @default null
|
|
2480
|
+
*/
|
|
2481
|
+
mode?: string | null;
|
|
2225
2482
|
/**
|
|
2226
2483
|
* Options
|
|
2227
2484
|
* @default null
|
|
@@ -3192,6 +3449,135 @@ declare interface components {
|
|
|
3192
3449
|
/** Title */
|
|
3193
3450
|
title: string | null;
|
|
3194
3451
|
};
|
|
3452
|
+
/** MemoryClearResponse */
|
|
3453
|
+
MemoryClearResponse: {
|
|
3454
|
+
/** Deleted */
|
|
3455
|
+
deleted: number;
|
|
3456
|
+
/**
|
|
3457
|
+
* Status
|
|
3458
|
+
* @default success
|
|
3459
|
+
* @constant
|
|
3460
|
+
*/
|
|
3461
|
+
status?: "success";
|
|
3462
|
+
};
|
|
3463
|
+
/** MemoryCreateInput */
|
|
3464
|
+
MemoryCreateInput: {
|
|
3465
|
+
/** Content */
|
|
3466
|
+
content: string;
|
|
3467
|
+
/**
|
|
3468
|
+
* Importance
|
|
3469
|
+
* @default 0.6
|
|
3470
|
+
*/
|
|
3471
|
+
importance?: number;
|
|
3472
|
+
/**
|
|
3473
|
+
* Pinned
|
|
3474
|
+
* @default false
|
|
3475
|
+
*/
|
|
3476
|
+
pinned?: boolean;
|
|
3477
|
+
/** Scope Id */
|
|
3478
|
+
scope_id?: string | null;
|
|
3479
|
+
/** Scope Kind */
|
|
3480
|
+
scope_kind?: string | null;
|
|
3481
|
+
};
|
|
3482
|
+
/** MemoryListResponse */
|
|
3483
|
+
MemoryListResponse: {
|
|
3484
|
+
/** Max Memories */
|
|
3485
|
+
max_memories: number;
|
|
3486
|
+
/** Memories */
|
|
3487
|
+
memories: components["schemas"]["MemoryView"][];
|
|
3488
|
+
/** Next Cursor */
|
|
3489
|
+
next_cursor?: string | null;
|
|
3490
|
+
/** Scopes */
|
|
3491
|
+
scopes: components["schemas"]["MemoryScopeView"][];
|
|
3492
|
+
/** Total */
|
|
3493
|
+
total: number;
|
|
3494
|
+
};
|
|
3495
|
+
/** MemoryScopeView */
|
|
3496
|
+
MemoryScopeView: {
|
|
3497
|
+
/** Id */
|
|
3498
|
+
id: string;
|
|
3499
|
+
/** Kind */
|
|
3500
|
+
kind: string;
|
|
3501
|
+
/** Label */
|
|
3502
|
+
label?: string | null;
|
|
3503
|
+
/**
|
|
3504
|
+
* Readable
|
|
3505
|
+
* @default true
|
|
3506
|
+
*/
|
|
3507
|
+
readable?: boolean;
|
|
3508
|
+
/**
|
|
3509
|
+
* Writable
|
|
3510
|
+
* @default true
|
|
3511
|
+
*/
|
|
3512
|
+
writable?: boolean;
|
|
3513
|
+
};
|
|
3514
|
+
/** MemorySettingsUpdateInput */
|
|
3515
|
+
MemorySettingsUpdateInput: {
|
|
3516
|
+
/** Auto Extract */
|
|
3517
|
+
auto_extract?: boolean | null;
|
|
3518
|
+
/** Enabled */
|
|
3519
|
+
enabled?: boolean | null;
|
|
3520
|
+
};
|
|
3521
|
+
/** MemorySettingsView */
|
|
3522
|
+
MemorySettingsView: {
|
|
3523
|
+
/** Allow Turn Opt Out */
|
|
3524
|
+
allow_turn_opt_out: boolean;
|
|
3525
|
+
/** Auto Extract */
|
|
3526
|
+
auto_extract: boolean;
|
|
3527
|
+
/** Auto Extract Supported */
|
|
3528
|
+
auto_extract_supported: boolean;
|
|
3529
|
+
/** Enabled */
|
|
3530
|
+
enabled: boolean;
|
|
3531
|
+
/** Include Chat History */
|
|
3532
|
+
include_chat_history: boolean;
|
|
3533
|
+
/** Max Content Length */
|
|
3534
|
+
max_content_length: number;
|
|
3535
|
+
/** Max Memories Per Scope */
|
|
3536
|
+
max_memories_per_scope: number;
|
|
3537
|
+
/** Scopes */
|
|
3538
|
+
scopes: components["schemas"]["MemoryScopeView"][];
|
|
3539
|
+
};
|
|
3540
|
+
/** MemoryUpdateInput */
|
|
3541
|
+
MemoryUpdateInput: {
|
|
3542
|
+
/** Content */
|
|
3543
|
+
content?: string | null;
|
|
3544
|
+
/** Importance */
|
|
3545
|
+
importance?: number | null;
|
|
3546
|
+
/** Pinned */
|
|
3547
|
+
pinned?: boolean | null;
|
|
3548
|
+
};
|
|
3549
|
+
/** MemoryView */
|
|
3550
|
+
MemoryView: {
|
|
3551
|
+
/** Content */
|
|
3552
|
+
content: string;
|
|
3553
|
+
/** Created At */
|
|
3554
|
+
created_at: string;
|
|
3555
|
+
/** Id */
|
|
3556
|
+
id: string;
|
|
3557
|
+
/** Importance */
|
|
3558
|
+
importance: number;
|
|
3559
|
+
/** Last Accessed At */
|
|
3560
|
+
last_accessed_at?: string | null;
|
|
3561
|
+
/** Metadata */
|
|
3562
|
+
metadata?: {
|
|
3563
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
3564
|
+
};
|
|
3565
|
+
/** Pinned */
|
|
3566
|
+
pinned: boolean;
|
|
3567
|
+
/** Scope Id */
|
|
3568
|
+
scope_id: string;
|
|
3569
|
+
/** Scope Kind */
|
|
3570
|
+
scope_kind: string;
|
|
3571
|
+
/**
|
|
3572
|
+
* Source
|
|
3573
|
+
* @enum {string}
|
|
3574
|
+
*/
|
|
3575
|
+
source: "user" | "agent" | "extracted" | "system";
|
|
3576
|
+
/** Source Thread Id */
|
|
3577
|
+
source_thread_id?: string | null;
|
|
3578
|
+
/** Updated At */
|
|
3579
|
+
updated_at: string;
|
|
3580
|
+
};
|
|
3195
3581
|
/** MessageFeedbackInput */
|
|
3196
3582
|
MessageFeedbackInput: {
|
|
3197
3583
|
/** Message Id */
|
|
@@ -3537,6 +3923,8 @@ declare interface components {
|
|
|
3537
3923
|
attachments: components["schemas"]["AttachmentLimits"];
|
|
3538
3924
|
/** Auth Page Enabled */
|
|
3539
3925
|
auth_page_enabled?: boolean | null;
|
|
3926
|
+
/** Capabilities */
|
|
3927
|
+
capabilities?: components["schemas"]["CapabilityView"][];
|
|
3540
3928
|
/** Composer Attachments */
|
|
3541
3929
|
composer_attachments?: boolean | null;
|
|
3542
3930
|
/** Composer Voice */
|
|
@@ -3588,6 +3976,18 @@ declare interface components {
|
|
|
3588
3976
|
/** Login Fields */
|
|
3589
3977
|
login_fields: ("username" | "email" | "phone")[];
|
|
3590
3978
|
maintenance: components["schemas"]["MaintenanceNotice"];
|
|
3979
|
+
/**
|
|
3980
|
+
* Memory Enabled
|
|
3981
|
+
* @default false
|
|
3982
|
+
*/
|
|
3983
|
+
memory_enabled?: boolean;
|
|
3984
|
+
/**
|
|
3985
|
+
* Memory Include Chat History
|
|
3986
|
+
* @default false
|
|
3987
|
+
*/
|
|
3988
|
+
memory_include_chat_history?: boolean;
|
|
3989
|
+
/** Modes */
|
|
3990
|
+
modes?: components["schemas"]["ChatModeView"][];
|
|
3591
3991
|
/** Plugins */
|
|
3592
3992
|
plugins: string[];
|
|
3593
3993
|
/** Quota Calendar */
|
|
@@ -4483,6 +4883,10 @@ declare interface components {
|
|
|
4483
4883
|
* @description A stored message. ``content`` is the plain text it shows; ``parts`` is what it's made of.
|
|
4484
4884
|
*/
|
|
4485
4885
|
ThreadItem: {
|
|
4886
|
+
/** Capabilities */
|
|
4887
|
+
capabilities?: {
|
|
4888
|
+
[key: string]: boolean;
|
|
4889
|
+
} | null;
|
|
4486
4890
|
/**
|
|
4487
4891
|
* Content
|
|
4488
4892
|
* @default
|
|
@@ -4494,6 +4898,8 @@ declare interface components {
|
|
|
4494
4898
|
feedback?: string | null;
|
|
4495
4899
|
/** Id */
|
|
4496
4900
|
id: string;
|
|
4901
|
+
/** Mode */
|
|
4902
|
+
mode?: string | null;
|
|
4497
4903
|
/**
|
|
4498
4904
|
* Parts
|
|
4499
4905
|
* @default []
|
|
@@ -5208,6 +5614,30 @@ declare interface components {
|
|
|
5208
5614
|
pathItems: never;
|
|
5209
5615
|
}
|
|
5210
5616
|
|
|
5617
|
+
/** One active or overridden capability chip to display in the composer. */
|
|
5618
|
+
export declare interface ComposerChipDescriptor {
|
|
5619
|
+
kind: 'mode' | 'capability';
|
|
5620
|
+
key: string;
|
|
5621
|
+
mode?: ChatMode;
|
|
5622
|
+
capability?: ChatCapability;
|
|
5623
|
+
active: boolean;
|
|
5624
|
+
forced: boolean;
|
|
5625
|
+
}
|
|
5626
|
+
|
|
5627
|
+
/** What a thread's composer holds besides its files. */
|
|
5628
|
+
declare interface ComposerDraft {
|
|
5629
|
+
/** The text typed so far. */
|
|
5630
|
+
text: string;
|
|
5631
|
+
/** What the message quotes, newest first. */
|
|
5632
|
+
references: readonly ChatReference[];
|
|
5633
|
+
/** The ids of the transcriptions dictated into `text`, which the message pays for. */
|
|
5634
|
+
voiceInputs: readonly string[];
|
|
5635
|
+
/** Per-thread draft chat mode override (`null` explicitly resets to default; `undefined` inherits). */
|
|
5636
|
+
mode?: string | null;
|
|
5637
|
+
/** Explicit per-capability toggles in the composer draft. */
|
|
5638
|
+
capabilities?: Readonly<Record<string, boolean>>;
|
|
5639
|
+
}
|
|
5640
|
+
|
|
5211
5641
|
/** A file attached to the message being drafted. */
|
|
5212
5642
|
export declare interface ComposerFile {
|
|
5213
5643
|
/** Tells apart files with the same name. */
|
|
@@ -5427,6 +5857,10 @@ export declare const GentiqErrorCode: {
|
|
|
5427
5857
|
readonly CONNECTOR_OAUTH_INVALID_STATE: "connector_oauth_invalid_state";
|
|
5428
5858
|
readonly CONNECTOR_URL_BLOCKED: "connector_url_blocked";
|
|
5429
5859
|
readonly USER_MCP_DISABLED: "user_mcp_disabled";
|
|
5860
|
+
readonly MEMORY_NOT_FOUND: "memory_not_found";
|
|
5861
|
+
readonly MEMORY_LIMIT_REACHED: "memory_limit_reached";
|
|
5862
|
+
readonly MEMORY_DISABLED: "memory_disabled";
|
|
5863
|
+
readonly MEMORY_SCOPE_FORBIDDEN: "memory_scope_forbidden";
|
|
5430
5864
|
readonly INTERNAL_ERROR: "internal_error";
|
|
5431
5865
|
readonly VALIDATION_ERROR: "validation_error";
|
|
5432
5866
|
readonly NOT_FOUND: "not_found";
|
|
@@ -5583,6 +6017,33 @@ export declare type MaintenanceStatus = Schemas['MaintenanceNotice'];
|
|
|
5583
6017
|
/** Either a synchronous value or a Promise resolving to it. */
|
|
5584
6018
|
export declare type MaybePromise<T> = T | Promise<T>;
|
|
5585
6019
|
|
|
6020
|
+
/** Response from `DELETE /memory`. */
|
|
6021
|
+
export declare type MemoryClearResponse = Schemas['MemoryClearResponse'];
|
|
6022
|
+
|
|
6023
|
+
/** Request body to create a memory item. */
|
|
6024
|
+
export declare type MemoryCreateInput = Schemas['MemoryCreateInput'];
|
|
6025
|
+
|
|
6026
|
+
/** A stored user memory item. */
|
|
6027
|
+
export declare type MemoryItem = Schemas['MemoryView'];
|
|
6028
|
+
|
|
6029
|
+
/** Response from `GET /memory`. */
|
|
6030
|
+
export declare type MemoryListResponse = Schemas['MemoryListResponse'];
|
|
6031
|
+
|
|
6032
|
+
/** An authorized memory scope. */
|
|
6033
|
+
export declare type MemoryScope = Schemas['MemoryScopeView'];
|
|
6034
|
+
|
|
6035
|
+
/** User memory settings and limits (`GET /memory/settings`). */
|
|
6036
|
+
export declare type MemorySettings = Schemas['MemorySettingsView'];
|
|
6037
|
+
|
|
6038
|
+
/** Request body to update user memory settings. */
|
|
6039
|
+
export declare type MemorySettingsUpdateInput = Schemas['MemorySettingsUpdateInput'];
|
|
6040
|
+
|
|
6041
|
+
/** Origin of a stored memory item (`'user' | 'agent' | 'extracted' | 'system'`). */
|
|
6042
|
+
export declare type MemorySource = MemoryItem['source'];
|
|
6043
|
+
|
|
6044
|
+
/** Request body to update a memory item. */
|
|
6045
|
+
export declare type MemoryUpdateInput = Schemas['MemoryUpdateInput'];
|
|
6046
|
+
|
|
5586
6047
|
/** What the user thought of an answer. */
|
|
5587
6048
|
export declare type MessageFeedback = 'like' | 'dislike';
|
|
5588
6049
|
|
|
@@ -8741,9 +9202,13 @@ declare interface operations {
|
|
|
8741
9202
|
};
|
|
8742
9203
|
};
|
|
8743
9204
|
};
|
|
8744
|
-
|
|
9205
|
+
admin_list_user_memories_api_admin_users__user_id__memory_get: {
|
|
8745
9206
|
parameters: {
|
|
8746
|
-
query?:
|
|
9207
|
+
query?: {
|
|
9208
|
+
q?: string | null;
|
|
9209
|
+
limit?: number;
|
|
9210
|
+
cursor?: string | null;
|
|
9211
|
+
};
|
|
8747
9212
|
header?: never;
|
|
8748
9213
|
path: {
|
|
8749
9214
|
user_id: string;
|
|
@@ -8758,7 +9223,7 @@ declare interface operations {
|
|
|
8758
9223
|
[name: string]: unknown;
|
|
8759
9224
|
};
|
|
8760
9225
|
content: {
|
|
8761
|
-
"application/json": components["schemas"]["
|
|
9226
|
+
"application/json": components["schemas"]["AdminUserMemoryResponse"];
|
|
8762
9227
|
};
|
|
8763
9228
|
};
|
|
8764
9229
|
/** @description Client Error */
|
|
@@ -8781,21 +9246,16 @@ declare interface operations {
|
|
|
8781
9246
|
};
|
|
8782
9247
|
};
|
|
8783
9248
|
};
|
|
8784
|
-
|
|
9249
|
+
admin_clear_user_memories_api_admin_users__user_id__memory_delete: {
|
|
8785
9250
|
parameters: {
|
|
8786
9251
|
query?: never;
|
|
8787
9252
|
header?: never;
|
|
8788
9253
|
path: {
|
|
8789
9254
|
user_id: string;
|
|
8790
|
-
external_id: string;
|
|
8791
9255
|
};
|
|
8792
9256
|
cookie?: never;
|
|
8793
9257
|
};
|
|
8794
|
-
requestBody?:
|
|
8795
|
-
content: {
|
|
8796
|
-
"application/json": components["schemas"]["CancelSubscriptionInput"] | null;
|
|
8797
|
-
};
|
|
8798
|
-
};
|
|
9258
|
+
requestBody?: never;
|
|
8799
9259
|
responses: {
|
|
8800
9260
|
/** @description Successful Response */
|
|
8801
9261
|
200: {
|
|
@@ -8803,7 +9263,7 @@ declare interface operations {
|
|
|
8803
9263
|
[name: string]: unknown;
|
|
8804
9264
|
};
|
|
8805
9265
|
content: {
|
|
8806
|
-
"application/json": components["schemas"]["
|
|
9266
|
+
"application/json": components["schemas"]["MemoryClearResponse"];
|
|
8807
9267
|
};
|
|
8808
9268
|
};
|
|
8809
9269
|
/** @description Client Error */
|
|
@@ -8826,20 +9286,17 @@ declare interface operations {
|
|
|
8826
9286
|
};
|
|
8827
9287
|
};
|
|
8828
9288
|
};
|
|
8829
|
-
|
|
9289
|
+
admin_delete_user_memory_api_admin_users__user_id__memory__memory_id__delete: {
|
|
8830
9290
|
parameters: {
|
|
8831
9291
|
query?: never;
|
|
8832
9292
|
header?: never;
|
|
8833
9293
|
path: {
|
|
8834
9294
|
user_id: string;
|
|
9295
|
+
memory_id: string;
|
|
8835
9296
|
};
|
|
8836
9297
|
cookie?: never;
|
|
8837
9298
|
};
|
|
8838
|
-
requestBody
|
|
8839
|
-
content: {
|
|
8840
|
-
"application/json": components["schemas"]["UsageResetInput"];
|
|
8841
|
-
};
|
|
8842
|
-
};
|
|
9299
|
+
requestBody?: never;
|
|
8843
9300
|
responses: {
|
|
8844
9301
|
/** @description Successful Response */
|
|
8845
9302
|
200: {
|
|
@@ -8847,7 +9304,7 @@ declare interface operations {
|
|
|
8847
9304
|
[name: string]: unknown;
|
|
8848
9305
|
};
|
|
8849
9306
|
content: {
|
|
8850
|
-
"application/json": components["schemas"]["
|
|
9307
|
+
"application/json": components["schemas"]["StatusResponse"];
|
|
8851
9308
|
};
|
|
8852
9309
|
};
|
|
8853
9310
|
/** @description Client Error */
|
|
@@ -8870,18 +9327,16 @@ declare interface operations {
|
|
|
8870
9327
|
};
|
|
8871
9328
|
};
|
|
8872
9329
|
};
|
|
8873
|
-
|
|
9330
|
+
refresh_user_token_api_admin_users__user_id__refresh_token_post: {
|
|
8874
9331
|
parameters: {
|
|
8875
9332
|
query?: never;
|
|
8876
9333
|
header?: never;
|
|
8877
|
-
path
|
|
8878
|
-
|
|
8879
|
-
};
|
|
8880
|
-
requestBody: {
|
|
8881
|
-
content: {
|
|
8882
|
-
"application/json": components["schemas"]["LoginCodeExchangeInput"];
|
|
9334
|
+
path: {
|
|
9335
|
+
user_id: string;
|
|
8883
9336
|
};
|
|
9337
|
+
cookie?: never;
|
|
8884
9338
|
};
|
|
9339
|
+
requestBody?: never;
|
|
8885
9340
|
responses: {
|
|
8886
9341
|
/** @description Successful Response */
|
|
8887
9342
|
200: {
|
|
@@ -8889,7 +9344,7 @@ declare interface operations {
|
|
|
8889
9344
|
[name: string]: unknown;
|
|
8890
9345
|
};
|
|
8891
9346
|
content: {
|
|
8892
|
-
"application/json": components["schemas"]["
|
|
9347
|
+
"application/json": components["schemas"]["TokenRefreshResponse"];
|
|
8893
9348
|
};
|
|
8894
9349
|
};
|
|
8895
9350
|
/** @description Client Error */
|
|
@@ -8912,21 +9367,30 @@ declare interface operations {
|
|
|
8912
9367
|
};
|
|
8913
9368
|
};
|
|
8914
9369
|
};
|
|
8915
|
-
|
|
9370
|
+
cancel_user_subscription_api_admin_users__user_id__subscriptions__external_id__cancel_post: {
|
|
8916
9371
|
parameters: {
|
|
8917
9372
|
query?: never;
|
|
8918
9373
|
header?: never;
|
|
8919
|
-
path
|
|
9374
|
+
path: {
|
|
9375
|
+
user_id: string;
|
|
9376
|
+
external_id: string;
|
|
9377
|
+
};
|
|
8920
9378
|
cookie?: never;
|
|
8921
9379
|
};
|
|
8922
|
-
requestBody?:
|
|
9380
|
+
requestBody?: {
|
|
9381
|
+
content: {
|
|
9382
|
+
"application/json": components["schemas"]["CancelSubscriptionInput"] | null;
|
|
9383
|
+
};
|
|
9384
|
+
};
|
|
8923
9385
|
responses: {
|
|
8924
9386
|
/** @description Successful Response */
|
|
8925
|
-
|
|
9387
|
+
200: {
|
|
8926
9388
|
headers: {
|
|
8927
9389
|
[name: string]: unknown;
|
|
8928
9390
|
};
|
|
8929
|
-
content
|
|
9391
|
+
content: {
|
|
9392
|
+
"application/json": components["schemas"]["SubscriptionCancelResponse"];
|
|
9393
|
+
};
|
|
8930
9394
|
};
|
|
8931
9395
|
/** @description Client Error */
|
|
8932
9396
|
"4XX": {
|
|
@@ -8948,26 +9412,28 @@ declare interface operations {
|
|
|
8948
9412
|
};
|
|
8949
9413
|
};
|
|
8950
9414
|
};
|
|
8951
|
-
|
|
9415
|
+
reset_usage_window_api_admin_users__user_id__usage_reset_post: {
|
|
8952
9416
|
parameters: {
|
|
8953
9417
|
query?: never;
|
|
8954
9418
|
header?: never;
|
|
8955
|
-
path
|
|
9419
|
+
path: {
|
|
9420
|
+
user_id: string;
|
|
9421
|
+
};
|
|
8956
9422
|
cookie?: never;
|
|
8957
9423
|
};
|
|
8958
9424
|
requestBody: {
|
|
8959
9425
|
content: {
|
|
8960
|
-
"application/json": components["schemas"]["
|
|
9426
|
+
"application/json": components["schemas"]["UsageResetInput"];
|
|
8961
9427
|
};
|
|
8962
9428
|
};
|
|
8963
9429
|
responses: {
|
|
8964
|
-
/** @description
|
|
9430
|
+
/** @description Successful Response */
|
|
8965
9431
|
200: {
|
|
8966
9432
|
headers: {
|
|
8967
9433
|
[name: string]: unknown;
|
|
8968
9434
|
};
|
|
8969
9435
|
content: {
|
|
8970
|
-
"
|
|
9436
|
+
"application/json": components["schemas"]["AdminEntitlement"];
|
|
8971
9437
|
};
|
|
8972
9438
|
};
|
|
8973
9439
|
/** @description Client Error */
|
|
@@ -8990,19 +9456,139 @@ declare interface operations {
|
|
|
8990
9456
|
};
|
|
8991
9457
|
};
|
|
8992
9458
|
};
|
|
8993
|
-
|
|
9459
|
+
exchange_login_code_api_auth_exchange_post: {
|
|
8994
9460
|
parameters: {
|
|
8995
|
-
query
|
|
8996
|
-
filename: string;
|
|
8997
|
-
};
|
|
9461
|
+
query?: never;
|
|
8998
9462
|
header?: never;
|
|
8999
9463
|
path?: never;
|
|
9000
9464
|
cookie?: never;
|
|
9001
9465
|
};
|
|
9002
|
-
/** @description The file itself, with its media type as the `Content-Type`. */
|
|
9003
9466
|
requestBody: {
|
|
9004
9467
|
content: {
|
|
9005
|
-
"application/
|
|
9468
|
+
"application/json": components["schemas"]["LoginCodeExchangeInput"];
|
|
9469
|
+
};
|
|
9470
|
+
};
|
|
9471
|
+
responses: {
|
|
9472
|
+
/** @description Successful Response */
|
|
9473
|
+
200: {
|
|
9474
|
+
headers: {
|
|
9475
|
+
[name: string]: unknown;
|
|
9476
|
+
};
|
|
9477
|
+
content: {
|
|
9478
|
+
"application/json": components["schemas"]["LoginCodeExchangeResponse"];
|
|
9479
|
+
};
|
|
9480
|
+
};
|
|
9481
|
+
/** @description Client Error */
|
|
9482
|
+
"4XX": {
|
|
9483
|
+
headers: {
|
|
9484
|
+
[name: string]: unknown;
|
|
9485
|
+
};
|
|
9486
|
+
content: {
|
|
9487
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9488
|
+
};
|
|
9489
|
+
};
|
|
9490
|
+
/** @description Server Error */
|
|
9491
|
+
"5XX": {
|
|
9492
|
+
headers: {
|
|
9493
|
+
[name: string]: unknown;
|
|
9494
|
+
};
|
|
9495
|
+
content: {
|
|
9496
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9497
|
+
};
|
|
9498
|
+
};
|
|
9499
|
+
};
|
|
9500
|
+
};
|
|
9501
|
+
logout_api_auth_logout_post: {
|
|
9502
|
+
parameters: {
|
|
9503
|
+
query?: never;
|
|
9504
|
+
header?: never;
|
|
9505
|
+
path?: never;
|
|
9506
|
+
cookie?: never;
|
|
9507
|
+
};
|
|
9508
|
+
requestBody?: never;
|
|
9509
|
+
responses: {
|
|
9510
|
+
/** @description Successful Response */
|
|
9511
|
+
204: {
|
|
9512
|
+
headers: {
|
|
9513
|
+
[name: string]: unknown;
|
|
9514
|
+
};
|
|
9515
|
+
content?: never;
|
|
9516
|
+
};
|
|
9517
|
+
/** @description Client Error */
|
|
9518
|
+
"4XX": {
|
|
9519
|
+
headers: {
|
|
9520
|
+
[name: string]: unknown;
|
|
9521
|
+
};
|
|
9522
|
+
content: {
|
|
9523
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9524
|
+
};
|
|
9525
|
+
};
|
|
9526
|
+
/** @description Server Error */
|
|
9527
|
+
"5XX": {
|
|
9528
|
+
headers: {
|
|
9529
|
+
[name: string]: unknown;
|
|
9530
|
+
};
|
|
9531
|
+
content: {
|
|
9532
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9533
|
+
};
|
|
9534
|
+
};
|
|
9535
|
+
};
|
|
9536
|
+
};
|
|
9537
|
+
chat_api_chat_post: {
|
|
9538
|
+
parameters: {
|
|
9539
|
+
query?: never;
|
|
9540
|
+
header?: never;
|
|
9541
|
+
path?: never;
|
|
9542
|
+
cookie?: never;
|
|
9543
|
+
};
|
|
9544
|
+
requestBody: {
|
|
9545
|
+
content: {
|
|
9546
|
+
"application/json": components["schemas"]["ChatRequest"];
|
|
9547
|
+
};
|
|
9548
|
+
};
|
|
9549
|
+
responses: {
|
|
9550
|
+
/** @description The reply, as a Vercel AI SDK UI message stream. Its `data-*` parts are these. */
|
|
9551
|
+
200: {
|
|
9552
|
+
headers: {
|
|
9553
|
+
[name: string]: unknown;
|
|
9554
|
+
};
|
|
9555
|
+
content: {
|
|
9556
|
+
"text/event-stream": components["schemas"]["ChatStreamData"];
|
|
9557
|
+
};
|
|
9558
|
+
};
|
|
9559
|
+
/** @description Client Error */
|
|
9560
|
+
"4XX": {
|
|
9561
|
+
headers: {
|
|
9562
|
+
[name: string]: unknown;
|
|
9563
|
+
};
|
|
9564
|
+
content: {
|
|
9565
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9566
|
+
};
|
|
9567
|
+
};
|
|
9568
|
+
/** @description Server Error */
|
|
9569
|
+
"5XX": {
|
|
9570
|
+
headers: {
|
|
9571
|
+
[name: string]: unknown;
|
|
9572
|
+
};
|
|
9573
|
+
content: {
|
|
9574
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9575
|
+
};
|
|
9576
|
+
};
|
|
9577
|
+
};
|
|
9578
|
+
};
|
|
9579
|
+
upload_attachment_api_chat_attachments_post: {
|
|
9580
|
+
parameters: {
|
|
9581
|
+
query: {
|
|
9582
|
+
filename: string;
|
|
9583
|
+
};
|
|
9584
|
+
header?: never;
|
|
9585
|
+
path?: never;
|
|
9586
|
+
cookie?: never;
|
|
9587
|
+
};
|
|
9588
|
+
/** @description The file itself, with its media type as the `Content-Type`. */
|
|
9589
|
+
requestBody: {
|
|
9590
|
+
content: {
|
|
9591
|
+
"application/octet-stream": string;
|
|
9006
9592
|
};
|
|
9007
9593
|
};
|
|
9008
9594
|
responses: {
|
|
@@ -10302,6 +10888,297 @@ declare interface operations {
|
|
|
10302
10888
|
};
|
|
10303
10889
|
};
|
|
10304
10890
|
};
|
|
10891
|
+
list_memories_api_memory_get: {
|
|
10892
|
+
parameters: {
|
|
10893
|
+
query?: {
|
|
10894
|
+
q?: string | null;
|
|
10895
|
+
scope_kind?: string | null;
|
|
10896
|
+
scope_id?: string | null;
|
|
10897
|
+
limit?: number;
|
|
10898
|
+
cursor?: string | null;
|
|
10899
|
+
};
|
|
10900
|
+
header?: never;
|
|
10901
|
+
path?: never;
|
|
10902
|
+
cookie?: never;
|
|
10903
|
+
};
|
|
10904
|
+
requestBody?: never;
|
|
10905
|
+
responses: {
|
|
10906
|
+
/** @description Successful Response */
|
|
10907
|
+
200: {
|
|
10908
|
+
headers: {
|
|
10909
|
+
[name: string]: unknown;
|
|
10910
|
+
};
|
|
10911
|
+
content: {
|
|
10912
|
+
"application/json": components["schemas"]["MemoryListResponse"];
|
|
10913
|
+
};
|
|
10914
|
+
};
|
|
10915
|
+
/** @description Client Error */
|
|
10916
|
+
"4XX": {
|
|
10917
|
+
headers: {
|
|
10918
|
+
[name: string]: unknown;
|
|
10919
|
+
};
|
|
10920
|
+
content: {
|
|
10921
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10922
|
+
};
|
|
10923
|
+
};
|
|
10924
|
+
/** @description Server Error */
|
|
10925
|
+
"5XX": {
|
|
10926
|
+
headers: {
|
|
10927
|
+
[name: string]: unknown;
|
|
10928
|
+
};
|
|
10929
|
+
content: {
|
|
10930
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10931
|
+
};
|
|
10932
|
+
};
|
|
10933
|
+
};
|
|
10934
|
+
};
|
|
10935
|
+
create_memory_api_memory_post: {
|
|
10936
|
+
parameters: {
|
|
10937
|
+
query?: never;
|
|
10938
|
+
header?: never;
|
|
10939
|
+
path?: never;
|
|
10940
|
+
cookie?: never;
|
|
10941
|
+
};
|
|
10942
|
+
requestBody: {
|
|
10943
|
+
content: {
|
|
10944
|
+
"application/json": components["schemas"]["MemoryCreateInput"];
|
|
10945
|
+
};
|
|
10946
|
+
};
|
|
10947
|
+
responses: {
|
|
10948
|
+
/** @description Successful Response */
|
|
10949
|
+
201: {
|
|
10950
|
+
headers: {
|
|
10951
|
+
[name: string]: unknown;
|
|
10952
|
+
};
|
|
10953
|
+
content: {
|
|
10954
|
+
"application/json": components["schemas"]["MemoryView"];
|
|
10955
|
+
};
|
|
10956
|
+
};
|
|
10957
|
+
/** @description Client Error */
|
|
10958
|
+
"4XX": {
|
|
10959
|
+
headers: {
|
|
10960
|
+
[name: string]: unknown;
|
|
10961
|
+
};
|
|
10962
|
+
content: {
|
|
10963
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10964
|
+
};
|
|
10965
|
+
};
|
|
10966
|
+
/** @description Server Error */
|
|
10967
|
+
"5XX": {
|
|
10968
|
+
headers: {
|
|
10969
|
+
[name: string]: unknown;
|
|
10970
|
+
};
|
|
10971
|
+
content: {
|
|
10972
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10973
|
+
};
|
|
10974
|
+
};
|
|
10975
|
+
};
|
|
10976
|
+
};
|
|
10977
|
+
clear_memories_api_memory_delete: {
|
|
10978
|
+
parameters: {
|
|
10979
|
+
query?: {
|
|
10980
|
+
scope_kind?: string | null;
|
|
10981
|
+
scope_id?: string | null;
|
|
10982
|
+
};
|
|
10983
|
+
header?: never;
|
|
10984
|
+
path?: never;
|
|
10985
|
+
cookie?: never;
|
|
10986
|
+
};
|
|
10987
|
+
requestBody?: never;
|
|
10988
|
+
responses: {
|
|
10989
|
+
/** @description Successful Response */
|
|
10990
|
+
200: {
|
|
10991
|
+
headers: {
|
|
10992
|
+
[name: string]: unknown;
|
|
10993
|
+
};
|
|
10994
|
+
content: {
|
|
10995
|
+
"application/json": components["schemas"]["MemoryClearResponse"];
|
|
10996
|
+
};
|
|
10997
|
+
};
|
|
10998
|
+
/** @description Client Error */
|
|
10999
|
+
"4XX": {
|
|
11000
|
+
headers: {
|
|
11001
|
+
[name: string]: unknown;
|
|
11002
|
+
};
|
|
11003
|
+
content: {
|
|
11004
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11005
|
+
};
|
|
11006
|
+
};
|
|
11007
|
+
/** @description Server Error */
|
|
11008
|
+
"5XX": {
|
|
11009
|
+
headers: {
|
|
11010
|
+
[name: string]: unknown;
|
|
11011
|
+
};
|
|
11012
|
+
content: {
|
|
11013
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11014
|
+
};
|
|
11015
|
+
};
|
|
11016
|
+
};
|
|
11017
|
+
};
|
|
11018
|
+
get_memory_settings_api_memory_settings_get: {
|
|
11019
|
+
parameters: {
|
|
11020
|
+
query?: never;
|
|
11021
|
+
header?: never;
|
|
11022
|
+
path?: never;
|
|
11023
|
+
cookie?: never;
|
|
11024
|
+
};
|
|
11025
|
+
requestBody?: never;
|
|
11026
|
+
responses: {
|
|
11027
|
+
/** @description Successful Response */
|
|
11028
|
+
200: {
|
|
11029
|
+
headers: {
|
|
11030
|
+
[name: string]: unknown;
|
|
11031
|
+
};
|
|
11032
|
+
content: {
|
|
11033
|
+
"application/json": components["schemas"]["MemorySettingsView"];
|
|
11034
|
+
};
|
|
11035
|
+
};
|
|
11036
|
+
/** @description Client Error */
|
|
11037
|
+
"4XX": {
|
|
11038
|
+
headers: {
|
|
11039
|
+
[name: string]: unknown;
|
|
11040
|
+
};
|
|
11041
|
+
content: {
|
|
11042
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11043
|
+
};
|
|
11044
|
+
};
|
|
11045
|
+
/** @description Server Error */
|
|
11046
|
+
"5XX": {
|
|
11047
|
+
headers: {
|
|
11048
|
+
[name: string]: unknown;
|
|
11049
|
+
};
|
|
11050
|
+
content: {
|
|
11051
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11052
|
+
};
|
|
11053
|
+
};
|
|
11054
|
+
};
|
|
11055
|
+
};
|
|
11056
|
+
update_memory_settings_api_memory_settings_patch: {
|
|
11057
|
+
parameters: {
|
|
11058
|
+
query?: never;
|
|
11059
|
+
header?: never;
|
|
11060
|
+
path?: never;
|
|
11061
|
+
cookie?: never;
|
|
11062
|
+
};
|
|
11063
|
+
requestBody: {
|
|
11064
|
+
content: {
|
|
11065
|
+
"application/json": components["schemas"]["MemorySettingsUpdateInput"];
|
|
11066
|
+
};
|
|
11067
|
+
};
|
|
11068
|
+
responses: {
|
|
11069
|
+
/** @description Successful Response */
|
|
11070
|
+
200: {
|
|
11071
|
+
headers: {
|
|
11072
|
+
[name: string]: unknown;
|
|
11073
|
+
};
|
|
11074
|
+
content: {
|
|
11075
|
+
"application/json": components["schemas"]["MemorySettingsView"];
|
|
11076
|
+
};
|
|
11077
|
+
};
|
|
11078
|
+
/** @description Client Error */
|
|
11079
|
+
"4XX": {
|
|
11080
|
+
headers: {
|
|
11081
|
+
[name: string]: unknown;
|
|
11082
|
+
};
|
|
11083
|
+
content: {
|
|
11084
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11085
|
+
};
|
|
11086
|
+
};
|
|
11087
|
+
/** @description Server Error */
|
|
11088
|
+
"5XX": {
|
|
11089
|
+
headers: {
|
|
11090
|
+
[name: string]: unknown;
|
|
11091
|
+
};
|
|
11092
|
+
content: {
|
|
11093
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11094
|
+
};
|
|
11095
|
+
};
|
|
11096
|
+
};
|
|
11097
|
+
};
|
|
11098
|
+
delete_memory_api_memory__memory_id__delete: {
|
|
11099
|
+
parameters: {
|
|
11100
|
+
query?: never;
|
|
11101
|
+
header?: never;
|
|
11102
|
+
path: {
|
|
11103
|
+
memory_id: string;
|
|
11104
|
+
};
|
|
11105
|
+
cookie?: never;
|
|
11106
|
+
};
|
|
11107
|
+
requestBody?: never;
|
|
11108
|
+
responses: {
|
|
11109
|
+
/** @description Successful Response */
|
|
11110
|
+
200: {
|
|
11111
|
+
headers: {
|
|
11112
|
+
[name: string]: unknown;
|
|
11113
|
+
};
|
|
11114
|
+
content: {
|
|
11115
|
+
"application/json": components["schemas"]["StatusResponse"];
|
|
11116
|
+
};
|
|
11117
|
+
};
|
|
11118
|
+
/** @description Client Error */
|
|
11119
|
+
"4XX": {
|
|
11120
|
+
headers: {
|
|
11121
|
+
[name: string]: unknown;
|
|
11122
|
+
};
|
|
11123
|
+
content: {
|
|
11124
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11125
|
+
};
|
|
11126
|
+
};
|
|
11127
|
+
/** @description Server Error */
|
|
11128
|
+
"5XX": {
|
|
11129
|
+
headers: {
|
|
11130
|
+
[name: string]: unknown;
|
|
11131
|
+
};
|
|
11132
|
+
content: {
|
|
11133
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11134
|
+
};
|
|
11135
|
+
};
|
|
11136
|
+
};
|
|
11137
|
+
};
|
|
11138
|
+
update_memory_api_memory__memory_id__patch: {
|
|
11139
|
+
parameters: {
|
|
11140
|
+
query?: never;
|
|
11141
|
+
header?: never;
|
|
11142
|
+
path: {
|
|
11143
|
+
memory_id: string;
|
|
11144
|
+
};
|
|
11145
|
+
cookie?: never;
|
|
11146
|
+
};
|
|
11147
|
+
requestBody: {
|
|
11148
|
+
content: {
|
|
11149
|
+
"application/json": components["schemas"]["MemoryUpdateInput"];
|
|
11150
|
+
};
|
|
11151
|
+
};
|
|
11152
|
+
responses: {
|
|
11153
|
+
/** @description Successful Response */
|
|
11154
|
+
200: {
|
|
11155
|
+
headers: {
|
|
11156
|
+
[name: string]: unknown;
|
|
11157
|
+
};
|
|
11158
|
+
content: {
|
|
11159
|
+
"application/json": components["schemas"]["MemoryView"];
|
|
11160
|
+
};
|
|
11161
|
+
};
|
|
11162
|
+
/** @description Client Error */
|
|
11163
|
+
"4XX": {
|
|
11164
|
+
headers: {
|
|
11165
|
+
[name: string]: unknown;
|
|
11166
|
+
};
|
|
11167
|
+
content: {
|
|
11168
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11169
|
+
};
|
|
11170
|
+
};
|
|
11171
|
+
/** @description Server Error */
|
|
11172
|
+
"5XX": {
|
|
11173
|
+
headers: {
|
|
11174
|
+
[name: string]: unknown;
|
|
11175
|
+
};
|
|
11176
|
+
content: {
|
|
11177
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11178
|
+
};
|
|
11179
|
+
};
|
|
11180
|
+
};
|
|
11181
|
+
};
|
|
10305
11182
|
public_login_api_public_auth_login_post: {
|
|
10306
11183
|
parameters: {
|
|
10307
11184
|
query?: never;
|
|
@@ -12493,6 +13370,50 @@ declare interface paths {
|
|
|
12493
13370
|
patch?: never;
|
|
12494
13371
|
trace?: never;
|
|
12495
13372
|
};
|
|
13373
|
+
"/api/admin/users/{user_id}/memory": {
|
|
13374
|
+
parameters: {
|
|
13375
|
+
query?: never;
|
|
13376
|
+
header?: never;
|
|
13377
|
+
path?: never;
|
|
13378
|
+
cookie?: never;
|
|
13379
|
+
};
|
|
13380
|
+
/**
|
|
13381
|
+
* Admin List User Memories
|
|
13382
|
+
* @description Inspect a user's stored memories and memory settings (Admin).
|
|
13383
|
+
*/
|
|
13384
|
+
get: operations["admin_list_user_memories_api_admin_users__user_id__memory_get"];
|
|
13385
|
+
put?: never;
|
|
13386
|
+
post?: never;
|
|
13387
|
+
/**
|
|
13388
|
+
* Admin Clear User Memories
|
|
13389
|
+
* @description Clear all stored memories belonging to ``user_id`` (Admin).
|
|
13390
|
+
*/
|
|
13391
|
+
delete: operations["admin_clear_user_memories_api_admin_users__user_id__memory_delete"];
|
|
13392
|
+
options?: never;
|
|
13393
|
+
head?: never;
|
|
13394
|
+
patch?: never;
|
|
13395
|
+
trace?: never;
|
|
13396
|
+
};
|
|
13397
|
+
"/api/admin/users/{user_id}/memory/{memory_id}": {
|
|
13398
|
+
parameters: {
|
|
13399
|
+
query?: never;
|
|
13400
|
+
header?: never;
|
|
13401
|
+
path?: never;
|
|
13402
|
+
cookie?: never;
|
|
13403
|
+
};
|
|
13404
|
+
get?: never;
|
|
13405
|
+
put?: never;
|
|
13406
|
+
post?: never;
|
|
13407
|
+
/**
|
|
13408
|
+
* Admin Delete User Memory
|
|
13409
|
+
* @description Delete one stored memory belonging to ``user_id`` (Admin).
|
|
13410
|
+
*/
|
|
13411
|
+
delete: operations["admin_delete_user_memory_api_admin_users__user_id__memory__memory_id__delete"];
|
|
13412
|
+
options?: never;
|
|
13413
|
+
head?: never;
|
|
13414
|
+
patch?: never;
|
|
13415
|
+
trace?: never;
|
|
13416
|
+
};
|
|
12496
13417
|
"/api/admin/users/{user_id}/refresh-token": {
|
|
12497
13418
|
parameters: {
|
|
12498
13419
|
query?: never;
|
|
@@ -13219,6 +14140,82 @@ declare interface paths {
|
|
|
13219
14140
|
patch?: never;
|
|
13220
14141
|
trace?: never;
|
|
13221
14142
|
};
|
|
14143
|
+
"/api/memory": {
|
|
14144
|
+
parameters: {
|
|
14145
|
+
query?: never;
|
|
14146
|
+
header?: never;
|
|
14147
|
+
path?: never;
|
|
14148
|
+
cookie?: never;
|
|
14149
|
+
};
|
|
14150
|
+
/**
|
|
14151
|
+
* List Memories
|
|
14152
|
+
* @description List memories belonging to the current user (or requested authorized scope).
|
|
14153
|
+
*/
|
|
14154
|
+
get: operations["list_memories_api_memory_get"];
|
|
14155
|
+
put?: never;
|
|
14156
|
+
/**
|
|
14157
|
+
* Create Memory
|
|
14158
|
+
* @description Create (or deduplicate) a memory for the current user.
|
|
14159
|
+
*/
|
|
14160
|
+
post: operations["create_memory_api_memory_post"];
|
|
14161
|
+
/**
|
|
14162
|
+
* Clear Memories
|
|
14163
|
+
* @description Delete all memories in the user's writable scopes (or specified scope).
|
|
14164
|
+
*/
|
|
14165
|
+
delete: operations["clear_memories_api_memory_delete"];
|
|
14166
|
+
options?: never;
|
|
14167
|
+
head?: never;
|
|
14168
|
+
patch?: never;
|
|
14169
|
+
trace?: never;
|
|
14170
|
+
};
|
|
14171
|
+
"/api/memory/settings": {
|
|
14172
|
+
parameters: {
|
|
14173
|
+
query?: never;
|
|
14174
|
+
header?: never;
|
|
14175
|
+
path?: never;
|
|
14176
|
+
cookie?: never;
|
|
14177
|
+
};
|
|
14178
|
+
/**
|
|
14179
|
+
* Get Memory Settings
|
|
14180
|
+
* @description Fetch the current user's memory preferences and limits.
|
|
14181
|
+
*/
|
|
14182
|
+
get: operations["get_memory_settings_api_memory_settings_get"];
|
|
14183
|
+
put?: never;
|
|
14184
|
+
post?: never;
|
|
14185
|
+
delete?: never;
|
|
14186
|
+
options?: never;
|
|
14187
|
+
head?: never;
|
|
14188
|
+
/**
|
|
14189
|
+
* Update Memory Settings
|
|
14190
|
+
* @description Update the current user's memory preferences.
|
|
14191
|
+
*/
|
|
14192
|
+
patch: operations["update_memory_settings_api_memory_settings_patch"];
|
|
14193
|
+
trace?: never;
|
|
14194
|
+
};
|
|
14195
|
+
"/api/memory/{memory_id}": {
|
|
14196
|
+
parameters: {
|
|
14197
|
+
query?: never;
|
|
14198
|
+
header?: never;
|
|
14199
|
+
path?: never;
|
|
14200
|
+
cookie?: never;
|
|
14201
|
+
};
|
|
14202
|
+
get?: never;
|
|
14203
|
+
put?: never;
|
|
14204
|
+
post?: never;
|
|
14205
|
+
/**
|
|
14206
|
+
* Delete Memory
|
|
14207
|
+
* @description Delete a stored memory owned by the current user.
|
|
14208
|
+
*/
|
|
14209
|
+
delete: operations["delete_memory_api_memory__memory_id__delete"];
|
|
14210
|
+
options?: never;
|
|
14211
|
+
head?: never;
|
|
14212
|
+
/**
|
|
14213
|
+
* Update Memory
|
|
14214
|
+
* @description Update a stored memory owned by the current user.
|
|
14215
|
+
*/
|
|
14216
|
+
patch: operations["update_memory_api_memory__memory_id__patch"];
|
|
14217
|
+
trace?: never;
|
|
14218
|
+
};
|
|
13222
14219
|
"/api/public/auth/login": {
|
|
13223
14220
|
parameters: {
|
|
13224
14221
|
query?: never;
|
|
@@ -13676,6 +14673,46 @@ declare interface ResolvedAuthAdapter {
|
|
|
13676
14673
|
hasToken: () => Promise<boolean | null>;
|
|
13677
14674
|
}
|
|
13678
14675
|
|
|
14676
|
+
/** A backend-declared capability resolved against the active mode, entitlement, and draft/thread state. */
|
|
14677
|
+
export declare interface ResolvedCapability {
|
|
14678
|
+
capability: ChatCapability;
|
|
14679
|
+
/** Effective boolean state for the next turn. */
|
|
14680
|
+
active: boolean;
|
|
14681
|
+
/** Whether `active` differs from the capability's declared `default`. */
|
|
14682
|
+
isChanged: boolean;
|
|
14683
|
+
/** Forced ON by the active mode or another active capability's `implies` list. */
|
|
14684
|
+
forced: boolean;
|
|
14685
|
+
/** Which active mode or capability forces this capability ON when `forced` is true. */
|
|
14686
|
+
forcedBy?: {
|
|
14687
|
+
kind: 'mode' | 'capability';
|
|
14688
|
+
key: string;
|
|
14689
|
+
};
|
|
14690
|
+
/** Disabled by active mode incompatibility, missing plan feature, or blocked implication. */
|
|
14691
|
+
disabled: boolean;
|
|
14692
|
+
disabledReason?: 'mode' | 'feature';
|
|
14693
|
+
/** Whether the composer should display a status chip for this capability. */
|
|
14694
|
+
showChip: boolean;
|
|
14695
|
+
}
|
|
14696
|
+
|
|
14697
|
+
/** A backend-declared chat mode resolved against the user's entitlement and active selection. */
|
|
14698
|
+
export declare interface ResolvedMode {
|
|
14699
|
+
mode: ChatMode;
|
|
14700
|
+
active: boolean;
|
|
14701
|
+
isDefault: boolean;
|
|
14702
|
+
disabled: boolean;
|
|
14703
|
+
disabledReason?: 'feature';
|
|
14704
|
+
}
|
|
14705
|
+
|
|
14706
|
+
export declare interface ResolvedRunSelection {
|
|
14707
|
+
modes: readonly ResolvedMode[];
|
|
14708
|
+
capabilities: readonly ResolvedCapability[];
|
|
14709
|
+
activeMode: ChatMode | null;
|
|
14710
|
+
defaultMode: ChatMode | null;
|
|
14711
|
+
chips: readonly ComposerChipDescriptor[];
|
|
14712
|
+
effectivePlaceholder: string | undefined;
|
|
14713
|
+
effectiveAttachmentTypes: readonly string[] | undefined;
|
|
14714
|
+
}
|
|
14715
|
+
|
|
13679
14716
|
/**
|
|
13680
14717
|
* The backend's id for a message — the one that survives a reload.
|
|
13681
14718
|
*
|
|
@@ -13689,6 +14726,11 @@ declare interface ResolvedAuthAdapter {
|
|
|
13689
14726
|
*/
|
|
13690
14727
|
export declare function resolveMessageId(message: GentiqUIMessage): string;
|
|
13691
14728
|
|
|
14729
|
+
/**
|
|
14730
|
+
* Pure resolution of modes and capabilities for the composer, mirroring backend `resolve_run`.
|
|
14731
|
+
*/
|
|
14732
|
+
export declare function resolveRunSelection({ modes, capabilities, entitlementFeatures, threadMode, threadCapabilities, draftMode, draftCapabilities, hiddenModes, hiddenCapabilities, }: RunSelectionInput): ResolvedRunSelection;
|
|
14733
|
+
|
|
13692
14734
|
/** The paths that answer `method`. */
|
|
13693
14735
|
declare type RoutePath<M extends HttpMethod> = {
|
|
13694
14736
|
[P in keyof Routes]: [NonNullable<Routes[P][M]>] extends [never] ? never : P;
|
|
@@ -13712,6 +14754,24 @@ declare type Routes = {
|
|
|
13712
14754
|
*/
|
|
13713
14755
|
export declare type RunOptions = NonNullable<ChatRequestSchema['options']>;
|
|
13714
14756
|
|
|
14757
|
+
export declare interface RunSelectionInput {
|
|
14758
|
+
modes: readonly ChatMode[];
|
|
14759
|
+
capabilities: readonly ChatCapability[];
|
|
14760
|
+
/** User's plan feature flags from `/users/me/entitlement`, or `undefined` while loading. */
|
|
14761
|
+
entitlementFeatures?: Readonly<Record<string, boolean>>;
|
|
14762
|
+
/** Sticky mode persisted on the current thread. */
|
|
14763
|
+
threadMode?: string | null;
|
|
14764
|
+
/** Sticky capabilities persisted on the current thread. */
|
|
14765
|
+
threadCapabilities?: Readonly<Record<string, boolean>>;
|
|
14766
|
+
/** Draft mode override: `undefined` = inherit, `null` = explicitly cleared to default, `string` = chosen key. */
|
|
14767
|
+
draftMode?: string | null;
|
|
14768
|
+
/** Explicit draft capability overrides. */
|
|
14769
|
+
draftCapabilities?: Readonly<Record<string, boolean>>;
|
|
14770
|
+
/** Keys hidden by runtime conditions or UI config. */
|
|
14771
|
+
hiddenModes?: ReadonlySet<string>;
|
|
14772
|
+
hiddenCapabilities?: ReadonlySet<string>;
|
|
14773
|
+
}
|
|
14774
|
+
|
|
13715
14775
|
/** A user's scheduled routine. */
|
|
13716
14776
|
export declare type Schedule = Schemas['ScheduleView'];
|
|
13717
14777
|
|
|
@@ -13875,6 +14935,13 @@ export declare type TranscriptionResponse = Schemas['TranscriptionResponse'];
|
|
|
13875
14935
|
/** The turn being streamed, which its stream can be read again by (`data-turn`, transient). */
|
|
13876
14936
|
export declare type TurnData = Schemas['TurnData'];
|
|
13877
14937
|
|
|
14938
|
+
export declare interface TurnSelection {
|
|
14939
|
+
requestMode?: string | null;
|
|
14940
|
+
requestCapabilities?: CapabilityOverrides;
|
|
14941
|
+
clearModeAfterSend: boolean;
|
|
14942
|
+
clearCapabilitiesAfterSend: readonly string[];
|
|
14943
|
+
}
|
|
14944
|
+
|
|
13878
14945
|
/** Options for {@link GentiqApi.uploadAttachment}. */
|
|
13879
14946
|
export declare interface UploadAttachmentOptions {
|
|
13880
14947
|
/** Aborts the upload. */
|