@llamaindex/llama-cloud 2.9.0 → 2.9.1
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/CHANGELOG.md +20 -0
- package/client.d.mts +11 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -8
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/batches.d.mts +4 -4
- package/resources/batches.d.mts.map +1 -1
- package/resources/batches.d.ts +4 -4
- package/resources/batches.d.ts.map +1 -1
- package/resources/beta/agent-data.d.mts +94 -94
- package/resources/beta/agent-data.d.mts.map +1 -1
- package/resources/beta/agent-data.d.ts +94 -94
- package/resources/beta/agent-data.d.ts.map +1 -1
- package/resources/beta/agent-data.js +41 -41
- package/resources/beta/agent-data.js.map +1 -1
- package/resources/beta/agent-data.mjs +41 -41
- package/resources/beta/agent-data.mjs.map +1 -1
- package/resources/beta/batch/batch.d.mts +29 -29
- package/resources/beta/batch/batch.d.mts.map +1 -1
- package/resources/beta/batch/batch.d.ts +29 -29
- package/resources/beta/batch/batch.d.ts.map +1 -1
- package/resources/beta/batch/batch.js +16 -16
- package/resources/beta/batch/batch.js.map +1 -1
- package/resources/beta/batch/batch.mjs +16 -16
- package/resources/beta/batch/batch.mjs.map +1 -1
- package/resources/beta/batch/index.d.mts +1 -1
- package/resources/beta/batch/index.d.mts.map +1 -1
- package/resources/beta/batch/index.d.ts +1 -1
- package/resources/beta/batch/index.d.ts.map +1 -1
- package/resources/beta/batch/job-items.d.mts +7 -7
- package/resources/beta/batch/job-items.d.mts.map +1 -1
- package/resources/beta/batch/job-items.d.ts +7 -7
- package/resources/beta/batch/job-items.d.ts.map +1 -1
- package/resources/beta/beta.d.mts +6 -6
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +6 -6
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/chat.d.mts +39 -39
- package/resources/beta/chat.d.mts.map +1 -1
- package/resources/beta/chat.d.ts +39 -39
- package/resources/beta/chat.d.ts.map +1 -1
- package/resources/beta/chat.js +14 -14
- package/resources/beta/chat.js.map +1 -1
- package/resources/beta/chat.mjs +14 -14
- package/resources/beta/chat.mjs.map +1 -1
- package/resources/beta/directories/directories.d.mts +48 -35
- package/resources/beta/directories/directories.d.mts.map +1 -1
- package/resources/beta/directories/directories.d.ts +48 -35
- package/resources/beta/directories/directories.d.ts.map +1 -1
- package/resources/beta/directories/directories.js +30 -30
- package/resources/beta/directories/directories.js.map +1 -1
- package/resources/beta/directories/directories.mjs +30 -30
- package/resources/beta/directories/directories.mjs.map +1 -1
- package/resources/beta/directories/files.d.mts +47 -47
- package/resources/beta/directories/files.d.mts.map +1 -1
- package/resources/beta/directories/files.d.ts +47 -47
- package/resources/beta/directories/files.d.ts.map +1 -1
- package/resources/beta/directories/files.js +32 -32
- package/resources/beta/directories/files.js.map +1 -1
- package/resources/beta/directories/files.mjs +32 -32
- package/resources/beta/directories/files.mjs.map +1 -1
- package/resources/beta/directories/index.d.mts +2 -2
- package/resources/beta/directories/index.d.mts.map +1 -1
- package/resources/beta/directories/index.d.ts +2 -2
- package/resources/beta/directories/index.d.ts.map +1 -1
- package/resources/beta/index.d.mts +6 -6
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +6 -6
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/indexes.d.mts +32 -32
- package/resources/beta/indexes.d.mts.map +1 -1
- package/resources/beta/indexes.d.ts +32 -32
- package/resources/beta/indexes.d.ts.map +1 -1
- package/resources/beta/indexes.js +28 -28
- package/resources/beta/indexes.js.map +1 -1
- package/resources/beta/indexes.mjs +28 -28
- package/resources/beta/indexes.mjs.map +1 -1
- package/resources/beta/retrieval.d.mts +3 -3
- package/resources/beta/retrieval.d.mts.map +1 -1
- package/resources/beta/retrieval.d.ts +3 -3
- package/resources/beta/retrieval.d.ts.map +1 -1
- package/resources/beta/sheets.d.mts +23 -56
- package/resources/beta/sheets.d.mts.map +1 -1
- package/resources/beta/sheets.d.ts +23 -56
- package/resources/beta/sheets.d.ts.map +1 -1
- package/resources/beta/sheets.js +19 -52
- package/resources/beta/sheets.js.map +1 -1
- package/resources/beta/sheets.mjs +19 -52
- package/resources/beta/sheets.mjs.map +1 -1
- package/resources/beta/split.d.mts +2 -2
- package/resources/beta/split.d.mts.map +1 -1
- package/resources/beta/split.d.ts +2 -2
- package/resources/beta/split.d.ts.map +1 -1
- package/resources/classifier/jobs.d.mts +1 -1
- package/resources/classifier/jobs.d.mts.map +1 -1
- package/resources/classifier/jobs.d.ts +1 -1
- package/resources/classifier/jobs.d.ts.map +1 -1
- package/resources/classify.d.mts +13 -11
- package/resources/classify.d.mts.map +1 -1
- package/resources/classify.d.ts +13 -11
- package/resources/classify.d.ts.map +1 -1
- package/resources/configurations.d.mts +62 -43
- package/resources/configurations.d.mts.map +1 -1
- package/resources/configurations.d.ts +62 -43
- package/resources/configurations.d.ts.map +1 -1
- package/resources/configurations.js +9 -9
- package/resources/configurations.js.map +1 -1
- package/resources/configurations.mjs +9 -9
- package/resources/configurations.mjs.map +1 -1
- package/resources/data-sinks.d.mts +16 -16
- package/resources/data-sinks.d.mts.map +1 -1
- package/resources/data-sinks.d.ts +16 -16
- package/resources/data-sinks.d.ts.map +1 -1
- package/resources/data-sinks.js +12 -12
- package/resources/data-sinks.js.map +1 -1
- package/resources/data-sinks.mjs +12 -12
- package/resources/data-sinks.mjs.map +1 -1
- package/resources/data-sources.d.mts +17 -17
- package/resources/data-sources.d.mts.map +1 -1
- package/resources/data-sources.d.ts +17 -17
- package/resources/data-sources.d.ts.map +1 -1
- package/resources/data-sources.js +13 -13
- package/resources/data-sources.js.map +1 -1
- package/resources/data-sources.mjs +13 -13
- package/resources/data-sources.mjs.map +1 -1
- package/resources/extract.d.mts +48 -46
- package/resources/extract.d.mts.map +1 -1
- package/resources/extract.d.ts +48 -46
- package/resources/extract.d.ts.map +1 -1
- package/resources/extract.js +33 -33
- package/resources/extract.js.map +1 -1
- package/resources/extract.mjs +33 -33
- package/resources/extract.mjs.map +1 -1
- package/resources/files.d.mts +41 -41
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +41 -41
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +13 -13
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +13 -13
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +9 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/parsing.d.mts +73 -51
- package/resources/parsing.d.mts.map +1 -1
- package/resources/parsing.d.ts +73 -51
- package/resources/parsing.d.ts.map +1 -1
- package/resources/parsing.js +12 -12
- package/resources/parsing.js.map +1 -1
- package/resources/parsing.mjs +12 -12
- package/resources/parsing.mjs.map +1 -1
- package/resources/pipelines/data-sources.d.mts +40 -30
- package/resources/pipelines/data-sources.d.mts.map +1 -1
- package/resources/pipelines/data-sources.d.ts +40 -30
- package/resources/pipelines/data-sources.d.ts.map +1 -1
- package/resources/pipelines/data-sources.js +23 -13
- package/resources/pipelines/data-sources.js.map +1 -1
- package/resources/pipelines/data-sources.mjs +23 -13
- package/resources/pipelines/data-sources.mjs.map +1 -1
- package/resources/pipelines/documents.d.mts +28 -12
- package/resources/pipelines/documents.d.mts.map +1 -1
- package/resources/pipelines/documents.d.ts +28 -12
- package/resources/pipelines/documents.d.ts.map +1 -1
- package/resources/pipelines/documents.js +30 -14
- package/resources/pipelines/documents.js.map +1 -1
- package/resources/pipelines/documents.mjs +30 -14
- package/resources/pipelines/documents.mjs.map +1 -1
- package/resources/pipelines/files.d.mts +34 -24
- package/resources/pipelines/files.d.mts.map +1 -1
- package/resources/pipelines/files.d.ts +34 -24
- package/resources/pipelines/files.d.ts.map +1 -1
- package/resources/pipelines/files.js +27 -17
- package/resources/pipelines/files.js.map +1 -1
- package/resources/pipelines/files.mjs +27 -17
- package/resources/pipelines/files.mjs.map +1 -1
- package/resources/pipelines/images.d.mts +17 -17
- package/resources/pipelines/images.d.mts.map +1 -1
- package/resources/pipelines/images.d.ts +17 -17
- package/resources/pipelines/images.d.ts.map +1 -1
- package/resources/pipelines/images.js +13 -13
- package/resources/pipelines/images.js.map +1 -1
- package/resources/pipelines/images.mjs +13 -13
- package/resources/pipelines/images.mjs.map +1 -1
- package/resources/pipelines/index.d.mts +5 -5
- package/resources/pipelines/index.d.mts.map +1 -1
- package/resources/pipelines/index.d.ts +5 -5
- package/resources/pipelines/index.d.ts.map +1 -1
- package/resources/pipelines/metadata.d.mts +4 -0
- package/resources/pipelines/metadata.d.mts.map +1 -1
- package/resources/pipelines/metadata.d.ts +4 -0
- package/resources/pipelines/metadata.d.ts.map +1 -1
- package/resources/pipelines/metadata.js +4 -0
- package/resources/pipelines/metadata.js.map +1 -1
- package/resources/pipelines/metadata.mjs +4 -0
- package/resources/pipelines/metadata.mjs.map +1 -1
- package/resources/pipelines/pipelines.d.mts +142 -126
- package/resources/pipelines/pipelines.d.mts.map +1 -1
- package/resources/pipelines/pipelines.d.ts +142 -126
- package/resources/pipelines/pipelines.d.ts.map +1 -1
- package/resources/pipelines/pipelines.js +39 -23
- package/resources/pipelines/pipelines.js.map +1 -1
- package/resources/pipelines/pipelines.mjs +39 -23
- package/resources/pipelines/pipelines.mjs.map +1 -1
- package/resources/pipelines/sync.d.mts +4 -0
- package/resources/pipelines/sync.d.mts.map +1 -1
- package/resources/pipelines/sync.d.ts +4 -0
- package/resources/pipelines/sync.d.ts.map +1 -1
- package/resources/pipelines/sync.js +4 -0
- package/resources/pipelines/sync.js.map +1 -1
- package/resources/pipelines/sync.mjs +4 -0
- package/resources/pipelines/sync.mjs.map +1 -1
- package/resources/retrievers/index.d.mts +1 -1
- package/resources/retrievers/index.d.mts.map +1 -1
- package/resources/retrievers/index.d.ts +1 -1
- package/resources/retrievers/index.d.ts.map +1 -1
- package/resources/retrievers/retrievers.d.mts +39 -39
- package/resources/retrievers/retrievers.d.mts.map +1 -1
- package/resources/retrievers/retrievers.d.ts +39 -39
- package/resources/retrievers/retrievers.d.ts.map +1 -1
- package/resources/retrievers/retrievers.js +20 -20
- package/resources/retrievers/retrievers.js.map +1 -1
- package/resources/retrievers/retrievers.mjs +20 -20
- package/resources/retrievers/retrievers.mjs.map +1 -1
- package/resources/shared.d.mts +11 -3
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +11 -3
- package/resources/shared.d.ts.map +1 -1
- package/resources/sheets.d.mts +199 -0
- package/resources/sheets.d.mts.map +1 -0
- package/resources/sheets.d.ts +199 -0
- package/resources/sheets.d.ts.map +1 -0
- package/resources/sheets.js +101 -0
- package/resources/sheets.js.map +1 -0
- package/resources/sheets.mjs +97 -0
- package/resources/sheets.mjs.map +1 -0
- package/src/client.ts +33 -12
- package/src/resources/batches.ts +4 -4
- package/src/resources/beta/agent-data.ts +131 -131
- package/src/resources/beta/batch/batch.ts +59 -54
- package/src/resources/beta/batch/index.ts +1 -1
- package/src/resources/beta/batch/job-items.ts +26 -21
- package/src/resources/beta/beta.ts +12 -12
- package/src/resources/beta/chat.ts +57 -57
- package/src/resources/beta/directories/directories.ts +80 -66
- package/src/resources/beta/directories/files.ts +66 -66
- package/src/resources/beta/directories/index.ts +5 -5
- package/src/resources/beta/index.ts +12 -12
- package/src/resources/beta/indexes.ts +53 -53
- package/src/resources/beta/retrieval.ts +3 -3
- package/src/resources/beta/sheets.ts +74 -97
- package/src/resources/beta/split.ts +2 -2
- package/src/resources/classifier/jobs.ts +1 -1
- package/src/resources/classify.ts +51 -39
- package/src/resources/configurations.ts +84 -63
- package/src/resources/data-sinks.ts +26 -26
- package/src/resources/data-sources.ts +43 -43
- package/src/resources/extract.ts +109 -97
- package/src/resources/files.ts +61 -61
- package/src/resources/index.ts +21 -12
- package/src/resources/parsing.ts +229 -204
- package/src/resources/pipelines/data-sources.ts +59 -49
- package/src/resources/pipelines/documents.ts +42 -26
- package/src/resources/pipelines/files.ts +62 -52
- package/src/resources/pipelines/images.ts +36 -36
- package/src/resources/pipelines/index.ts +10 -10
- package/src/resources/pipelines/metadata.ts +4 -0
- package/src/resources/pipelines/pipelines.ts +228 -207
- package/src/resources/pipelines/sync.ts +4 -0
- package/src/resources/retrievers/index.ts +3 -3
- package/src/resources/retrievers/retrievers.ts +64 -64
- package/src/resources/shared.ts +12 -3
- package/src/resources/sheets.ts +314 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -3,6 +3,18 @@ import { APIPromise } from "../../core/api-promise.mjs";
|
|
|
3
3
|
import { PagePromise, PaginatedCursor, type PaginatedCursorParams } from "../../core/pagination.mjs";
|
|
4
4
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
5
5
|
export declare class Chat extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List all chat sessions for the current project.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* // Automatically fetches more pages as needed.
|
|
12
|
+
* for await (const chatListResponse of client.beta.chat.list()) {
|
|
13
|
+
* // ...
|
|
14
|
+
* }
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
list(query?: ChatListParams | null | undefined, options?: RequestOptions): PagePromise<ChatListResponsesPaginatedCursor, ChatListResponse>;
|
|
6
18
|
/**
|
|
7
19
|
* Create a chat session, optionally bound to indexes (locked after the first
|
|
8
20
|
* message).
|
|
@@ -22,18 +34,6 @@ export declare class Chat extends APIResource {
|
|
|
22
34
|
* ```
|
|
23
35
|
*/
|
|
24
36
|
retrieve(sessionID: string, query?: ChatRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ChatRetrieveResponse>;
|
|
25
|
-
/**
|
|
26
|
-
* List all chat sessions for the current project.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* // Automatically fetches more pages as needed.
|
|
31
|
-
* for await (const chatListResponse of client.beta.chat.list()) {
|
|
32
|
-
* // ...
|
|
33
|
-
* }
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
list(query?: ChatListParams | null | undefined, options?: RequestOptions): PagePromise<ChatListResponsesPaginatedCursor, ChatListResponse>;
|
|
37
37
|
/**
|
|
38
38
|
* Delete a session.
|
|
39
39
|
*
|
|
@@ -119,7 +119,7 @@ export interface ChatRetrieveResponse {
|
|
|
119
119
|
/**
|
|
120
120
|
* Ordered list of events that make up the conversation history.
|
|
121
121
|
*/
|
|
122
|
-
events: Array<ChatRetrieveResponse.
|
|
122
|
+
events: Array<ChatRetrieveResponse.StopEvent | ChatRetrieveResponse.TextDeltaEvent | ChatRetrieveResponse.TextEvent | ChatRetrieveResponse.ThinkingDeltaEvent | ChatRetrieveResponse.ThinkingEvent | ChatRetrieveResponse.ToolCallEvent | ChatRetrieveResponse.ToolResultEvent | ChatRetrieveResponse.UserInputEvent>;
|
|
123
123
|
/**
|
|
124
124
|
* ISO-format timestamp showing when the session was last updated.
|
|
125
125
|
*/
|
|
@@ -143,22 +143,36 @@ export interface ChatRetrieveResponse {
|
|
|
143
143
|
job_metadata?: ChatRetrieveResponse.JobMetadata | null;
|
|
144
144
|
}
|
|
145
145
|
export declare namespace ChatRetrieveResponse {
|
|
146
|
-
interface
|
|
147
|
-
|
|
148
|
-
|
|
146
|
+
interface StopEvent {
|
|
147
|
+
error: string | null;
|
|
148
|
+
is_error: boolean;
|
|
149
|
+
usage: StopEvent.Usage;
|
|
150
|
+
type?: 'stop';
|
|
151
|
+
}
|
|
152
|
+
namespace StopEvent {
|
|
153
|
+
interface Usage {
|
|
154
|
+
duration_ms?: number;
|
|
155
|
+
total_input_tokens?: number | null;
|
|
156
|
+
total_output_tokens?: number | null;
|
|
157
|
+
turns?: number;
|
|
158
|
+
}
|
|
149
159
|
}
|
|
150
160
|
interface TextDeltaEvent {
|
|
151
161
|
content: string;
|
|
152
162
|
type?: 'text_delta';
|
|
153
163
|
}
|
|
154
|
-
interface ThinkingEvent {
|
|
155
|
-
content: string;
|
|
156
|
-
type?: 'thinking';
|
|
157
|
-
}
|
|
158
164
|
interface TextEvent {
|
|
159
165
|
content: string;
|
|
160
166
|
type?: 'text';
|
|
161
167
|
}
|
|
168
|
+
interface ThinkingDeltaEvent {
|
|
169
|
+
content: string;
|
|
170
|
+
type?: 'thinking_delta';
|
|
171
|
+
}
|
|
172
|
+
interface ThinkingEvent {
|
|
173
|
+
content: string;
|
|
174
|
+
type?: 'thinking';
|
|
175
|
+
}
|
|
162
176
|
interface ToolCallEvent {
|
|
163
177
|
arguments: {
|
|
164
178
|
[key: string]: unknown;
|
|
@@ -186,20 +200,6 @@ export declare namespace ChatRetrieveResponse {
|
|
|
186
200
|
source_id: string;
|
|
187
201
|
}
|
|
188
202
|
}
|
|
189
|
-
interface StopEvent {
|
|
190
|
-
error: string | null;
|
|
191
|
-
is_error: boolean;
|
|
192
|
-
usage: StopEvent.Usage;
|
|
193
|
-
type?: 'stop';
|
|
194
|
-
}
|
|
195
|
-
namespace StopEvent {
|
|
196
|
-
interface Usage {
|
|
197
|
-
duration_ms?: number;
|
|
198
|
-
total_input_tokens?: number | null;
|
|
199
|
-
total_output_tokens?: number | null;
|
|
200
|
-
turns?: number;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
203
|
interface UserInputEvent {
|
|
204
204
|
content: string;
|
|
205
205
|
type?: 'user_input';
|
|
@@ -301,6 +301,10 @@ export declare namespace ChatGetSummaryResponse {
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
export type ChatStreamResponse = unknown;
|
|
304
|
+
export interface ChatListParams extends PaginatedCursorParams {
|
|
305
|
+
organization_id?: string | null;
|
|
306
|
+
project_id?: string | null;
|
|
307
|
+
}
|
|
304
308
|
export interface ChatCreateParams {
|
|
305
309
|
/**
|
|
306
310
|
* Query param
|
|
@@ -321,10 +325,6 @@ export interface ChatRetrieveParams {
|
|
|
321
325
|
organization_id?: string | null;
|
|
322
326
|
project_id?: string | null;
|
|
323
327
|
}
|
|
324
|
-
export interface ChatListParams extends PaginatedCursorParams {
|
|
325
|
-
organization_id?: string | null;
|
|
326
|
-
project_id?: string | null;
|
|
327
|
-
}
|
|
328
328
|
export interface ChatDeleteParams {
|
|
329
329
|
organization_id?: string | null;
|
|
330
330
|
project_id?: string | null;
|
|
@@ -352,6 +352,6 @@ export interface ChatStreamParams {
|
|
|
352
352
|
project_id?: string | null;
|
|
353
353
|
}
|
|
354
354
|
export declare namespace Chat {
|
|
355
|
-
export { type ChatCreateResponse as ChatCreateResponse, type ChatRetrieveResponse as ChatRetrieveResponse, type ChatListResponse as ChatListResponse, type ChatGetSummaryResponse as ChatGetSummaryResponse, type ChatStreamResponse as ChatStreamResponse, type ChatListResponsesPaginatedCursor as ChatListResponsesPaginatedCursor, type
|
|
355
|
+
export { type ChatCreateResponse as ChatCreateResponse, type ChatRetrieveResponse as ChatRetrieveResponse, type ChatListResponse as ChatListResponse, type ChatGetSummaryResponse as ChatGetSummaryResponse, type ChatStreamResponse as ChatStreamResponse, type ChatListResponsesPaginatedCursor as ChatListResponsesPaginatedCursor, type ChatListParams as ChatListParams, type ChatCreateParams as ChatCreateParams, type ChatRetrieveParams as ChatRetrieveParams, type ChatDeleteParams as ChatDeleteParams, type ChatGetSummaryParams as ChatGetSummaryParams, type ChatStreamParams as ChatStreamParams, };
|
|
356
356
|
}
|
|
357
357
|
//# sourceMappingURL=chat.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.mts","sourceRoot":"","sources":["../../src/resources/beta/chat.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,WAAW,EAAE,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KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
package/resources/beta/chat.d.ts
CHANGED
|
@@ -3,6 +3,18 @@ import { APIPromise } from "../../core/api-promise.js";
|
|
|
3
3
|
import { PagePromise, PaginatedCursor, type PaginatedCursorParams } from "../../core/pagination.js";
|
|
4
4
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
5
|
export declare class Chat extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List all chat sessions for the current project.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* // Automatically fetches more pages as needed.
|
|
12
|
+
* for await (const chatListResponse of client.beta.chat.list()) {
|
|
13
|
+
* // ...
|
|
14
|
+
* }
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
list(query?: ChatListParams | null | undefined, options?: RequestOptions): PagePromise<ChatListResponsesPaginatedCursor, ChatListResponse>;
|
|
6
18
|
/**
|
|
7
19
|
* Create a chat session, optionally bound to indexes (locked after the first
|
|
8
20
|
* message).
|
|
@@ -22,18 +34,6 @@ export declare class Chat extends APIResource {
|
|
|
22
34
|
* ```
|
|
23
35
|
*/
|
|
24
36
|
retrieve(sessionID: string, query?: ChatRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ChatRetrieveResponse>;
|
|
25
|
-
/**
|
|
26
|
-
* List all chat sessions for the current project.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* // Automatically fetches more pages as needed.
|
|
31
|
-
* for await (const chatListResponse of client.beta.chat.list()) {
|
|
32
|
-
* // ...
|
|
33
|
-
* }
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
list(query?: ChatListParams | null | undefined, options?: RequestOptions): PagePromise<ChatListResponsesPaginatedCursor, ChatListResponse>;
|
|
37
37
|
/**
|
|
38
38
|
* Delete a session.
|
|
39
39
|
*
|
|
@@ -119,7 +119,7 @@ export interface ChatRetrieveResponse {
|
|
|
119
119
|
/**
|
|
120
120
|
* Ordered list of events that make up the conversation history.
|
|
121
121
|
*/
|
|
122
|
-
events: Array<ChatRetrieveResponse.
|
|
122
|
+
events: Array<ChatRetrieveResponse.StopEvent | ChatRetrieveResponse.TextDeltaEvent | ChatRetrieveResponse.TextEvent | ChatRetrieveResponse.ThinkingDeltaEvent | ChatRetrieveResponse.ThinkingEvent | ChatRetrieveResponse.ToolCallEvent | ChatRetrieveResponse.ToolResultEvent | ChatRetrieveResponse.UserInputEvent>;
|
|
123
123
|
/**
|
|
124
124
|
* ISO-format timestamp showing when the session was last updated.
|
|
125
125
|
*/
|
|
@@ -143,22 +143,36 @@ export interface ChatRetrieveResponse {
|
|
|
143
143
|
job_metadata?: ChatRetrieveResponse.JobMetadata | null;
|
|
144
144
|
}
|
|
145
145
|
export declare namespace ChatRetrieveResponse {
|
|
146
|
-
interface
|
|
147
|
-
|
|
148
|
-
|
|
146
|
+
interface StopEvent {
|
|
147
|
+
error: string | null;
|
|
148
|
+
is_error: boolean;
|
|
149
|
+
usage: StopEvent.Usage;
|
|
150
|
+
type?: 'stop';
|
|
151
|
+
}
|
|
152
|
+
namespace StopEvent {
|
|
153
|
+
interface Usage {
|
|
154
|
+
duration_ms?: number;
|
|
155
|
+
total_input_tokens?: number | null;
|
|
156
|
+
total_output_tokens?: number | null;
|
|
157
|
+
turns?: number;
|
|
158
|
+
}
|
|
149
159
|
}
|
|
150
160
|
interface TextDeltaEvent {
|
|
151
161
|
content: string;
|
|
152
162
|
type?: 'text_delta';
|
|
153
163
|
}
|
|
154
|
-
interface ThinkingEvent {
|
|
155
|
-
content: string;
|
|
156
|
-
type?: 'thinking';
|
|
157
|
-
}
|
|
158
164
|
interface TextEvent {
|
|
159
165
|
content: string;
|
|
160
166
|
type?: 'text';
|
|
161
167
|
}
|
|
168
|
+
interface ThinkingDeltaEvent {
|
|
169
|
+
content: string;
|
|
170
|
+
type?: 'thinking_delta';
|
|
171
|
+
}
|
|
172
|
+
interface ThinkingEvent {
|
|
173
|
+
content: string;
|
|
174
|
+
type?: 'thinking';
|
|
175
|
+
}
|
|
162
176
|
interface ToolCallEvent {
|
|
163
177
|
arguments: {
|
|
164
178
|
[key: string]: unknown;
|
|
@@ -186,20 +200,6 @@ export declare namespace ChatRetrieveResponse {
|
|
|
186
200
|
source_id: string;
|
|
187
201
|
}
|
|
188
202
|
}
|
|
189
|
-
interface StopEvent {
|
|
190
|
-
error: string | null;
|
|
191
|
-
is_error: boolean;
|
|
192
|
-
usage: StopEvent.Usage;
|
|
193
|
-
type?: 'stop';
|
|
194
|
-
}
|
|
195
|
-
namespace StopEvent {
|
|
196
|
-
interface Usage {
|
|
197
|
-
duration_ms?: number;
|
|
198
|
-
total_input_tokens?: number | null;
|
|
199
|
-
total_output_tokens?: number | null;
|
|
200
|
-
turns?: number;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
203
|
interface UserInputEvent {
|
|
204
204
|
content: string;
|
|
205
205
|
type?: 'user_input';
|
|
@@ -301,6 +301,10 @@ export declare namespace ChatGetSummaryResponse {
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
export type ChatStreamResponse = unknown;
|
|
304
|
+
export interface ChatListParams extends PaginatedCursorParams {
|
|
305
|
+
organization_id?: string | null;
|
|
306
|
+
project_id?: string | null;
|
|
307
|
+
}
|
|
304
308
|
export interface ChatCreateParams {
|
|
305
309
|
/**
|
|
306
310
|
* Query param
|
|
@@ -321,10 +325,6 @@ export interface ChatRetrieveParams {
|
|
|
321
325
|
organization_id?: string | null;
|
|
322
326
|
project_id?: string | null;
|
|
323
327
|
}
|
|
324
|
-
export interface ChatListParams extends PaginatedCursorParams {
|
|
325
|
-
organization_id?: string | null;
|
|
326
|
-
project_id?: string | null;
|
|
327
|
-
}
|
|
328
328
|
export interface ChatDeleteParams {
|
|
329
329
|
organization_id?: string | null;
|
|
330
330
|
project_id?: string | null;
|
|
@@ -352,6 +352,6 @@ export interface ChatStreamParams {
|
|
|
352
352
|
project_id?: string | null;
|
|
353
353
|
}
|
|
354
354
|
export declare namespace Chat {
|
|
355
|
-
export { type ChatCreateResponse as ChatCreateResponse, type ChatRetrieveResponse as ChatRetrieveResponse, type ChatListResponse as ChatListResponse, type ChatGetSummaryResponse as ChatGetSummaryResponse, type ChatStreamResponse as ChatStreamResponse, type ChatListResponsesPaginatedCursor as ChatListResponsesPaginatedCursor, type
|
|
355
|
+
export { type ChatCreateResponse as ChatCreateResponse, type ChatRetrieveResponse as ChatRetrieveResponse, type ChatListResponse as ChatListResponse, type ChatGetSummaryResponse as ChatGetSummaryResponse, type ChatStreamResponse as ChatStreamResponse, type ChatListResponsesPaginatedCursor as ChatListResponsesPaginatedCursor, type ChatListParams as ChatListParams, type ChatCreateParams as ChatCreateParams, type ChatRetrieveParams as ChatRetrieveParams, type ChatDeleteParams as ChatDeleteParams, type ChatGetSummaryParams as ChatGetSummaryParams, type ChatStreamParams as ChatStreamParams, };
|
|
356
356
|
}
|
|
357
357
|
//# sourceMappingURL=chat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/resources/beta/chat.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,qBAAqB,EAAE,iCAA8B;AAEjG,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,IAAK,SA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E,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
package/resources/beta/chat.js
CHANGED
|
@@ -7,6 +7,20 @@ const pagination_1 = require("../../core/pagination.js");
|
|
|
7
7
|
const headers_1 = require("../../internal/headers.js");
|
|
8
8
|
const path_1 = require("../../internal/utils/path.js");
|
|
9
9
|
class Chat extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* List all chat sessions for the current project.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* // Automatically fetches more pages as needed.
|
|
16
|
+
* for await (const chatListResponse of client.beta.chat.list()) {
|
|
17
|
+
* // ...
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
list(query = {}, options) {
|
|
22
|
+
return this._client.getAPIList('/api/v1/chat', (pagination_1.PaginatedCursor), { query, ...options });
|
|
23
|
+
}
|
|
10
24
|
/**
|
|
11
25
|
* Create a chat session, optionally bound to indexes (locked after the first
|
|
12
26
|
* message).
|
|
@@ -31,20 +45,6 @@ class Chat extends resource_1.APIResource {
|
|
|
31
45
|
retrieve(sessionID, query = {}, options) {
|
|
32
46
|
return this._client.get((0, path_1.path) `/api/v1/chat/${sessionID}`, { query, ...options });
|
|
33
47
|
}
|
|
34
|
-
/**
|
|
35
|
-
* List all chat sessions for the current project.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* ```ts
|
|
39
|
-
* // Automatically fetches more pages as needed.
|
|
40
|
-
* for await (const chatListResponse of client.beta.chat.list()) {
|
|
41
|
-
* // ...
|
|
42
|
-
* }
|
|
43
|
-
* ```
|
|
44
|
-
*/
|
|
45
|
-
list(query = {}, options) {
|
|
46
|
-
return this._client.getAPIList('/api/v1/chat', (pagination_1.PaginatedCursor), { query, ...options });
|
|
47
|
-
}
|
|
48
48
|
/**
|
|
49
49
|
* Delete a session.
|
|
50
50
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../src/resources/beta/chat.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAAiG;AACjG,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;;;;;OAQG;IACH,MAAM,CACJ,SAA8C,EAAE,EAChD,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CACN,SAAiB,EACjB,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../src/resources/beta/chat.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAAiG;AACjG,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,CAAA,4BAAiC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AAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,SAAiB,EAAE,MAAwB,EAAE,OAAwB;QAC1E,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,kBAAkB,EAAE;YACxE,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE;YACtC,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAjHD,oBAiHC"}
|
package/resources/beta/chat.mjs
CHANGED
|
@@ -4,6 +4,20 @@ import { PaginatedCursor } from "../../core/pagination.mjs";
|
|
|
4
4
|
import { buildHeaders } from "../../internal/headers.mjs";
|
|
5
5
|
import { path } from "../../internal/utils/path.mjs";
|
|
6
6
|
export class Chat extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* List all chat sessions for the current project.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* // Automatically fetches more pages as needed.
|
|
13
|
+
* for await (const chatListResponse of client.beta.chat.list()) {
|
|
14
|
+
* // ...
|
|
15
|
+
* }
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
list(query = {}, options) {
|
|
19
|
+
return this._client.getAPIList('/api/v1/chat', (PaginatedCursor), { query, ...options });
|
|
20
|
+
}
|
|
7
21
|
/**
|
|
8
22
|
* Create a chat session, optionally bound to indexes (locked after the first
|
|
9
23
|
* message).
|
|
@@ -28,20 +42,6 @@ export class Chat extends APIResource {
|
|
|
28
42
|
retrieve(sessionID, query = {}, options) {
|
|
29
43
|
return this._client.get(path `/api/v1/chat/${sessionID}`, { query, ...options });
|
|
30
44
|
}
|
|
31
|
-
/**
|
|
32
|
-
* List all chat sessions for the current project.
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* ```ts
|
|
36
|
-
* // Automatically fetches more pages as needed.
|
|
37
|
-
* for await (const chatListResponse of client.beta.chat.list()) {
|
|
38
|
-
* // ...
|
|
39
|
-
* }
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
list(query = {}, options) {
|
|
43
|
-
return this._client.getAPIList('/api/v1/chat', (PaginatedCursor), { query, ...options });
|
|
44
|
-
}
|
|
45
45
|
/**
|
|
46
46
|
* Delete a session.
|
|
47
47
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.mjs","sourceRoot":"","sources":["../../src/resources/beta/chat.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAe,eAAe,EAA8B,kCAA8B;AACjG,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;;;;;OAQG;IACH,MAAM,CACJ,SAA8C,EAAE,EAChD,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CACN,SAAiB,EACjB,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"chat.mj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B,SAAS,EAAE,EAAE;YAC1D,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE;YACtC,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,UAAU,CACR,SAAiB,EACjB,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,SAAS,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,SAAiB,EAAE,MAAwB,EAAE,OAAwB;QAC1E,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,SAAS,kBAAkB,EAAE;YACxE,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE;YACtC,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -17,17 +17,6 @@ export declare class Directories extends APIResource {
|
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
create(params: DirectoryCreateParams, options?: RequestOptions): APIPromise<DirectoryCreateResponse>;
|
|
20
|
-
/**
|
|
21
|
-
* Update directory metadata.
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* ```ts
|
|
25
|
-
* const directory = await client.beta.directories.update(
|
|
26
|
-
* 'directory_id',
|
|
27
|
-
* );
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
update(directoryID: string, params: DirectoryUpdateParams, options?: RequestOptions): APIPromise<DirectoryUpdateResponse>;
|
|
31
20
|
/**
|
|
32
21
|
* List Directories
|
|
33
22
|
*
|
|
@@ -41,25 +30,36 @@ export declare class Directories extends APIResource {
|
|
|
41
30
|
*/
|
|
42
31
|
list(query?: DirectoryListParams | null | undefined, options?: RequestOptions): PagePromise<DirectoryListResponsesPaginatedCursor, DirectoryListResponse>;
|
|
43
32
|
/**
|
|
44
|
-
*
|
|
33
|
+
* Retrieve a directory by its identifier.
|
|
45
34
|
*
|
|
46
35
|
* @example
|
|
47
36
|
* ```ts
|
|
48
|
-
* await client.beta.directories.
|
|
37
|
+
* const directory = await client.beta.directories.get(
|
|
38
|
+
* 'directory_id',
|
|
39
|
+
* );
|
|
49
40
|
* ```
|
|
50
41
|
*/
|
|
51
|
-
|
|
42
|
+
get(directoryID: string, query?: DirectoryGetParams | null | undefined, options?: RequestOptions): APIPromise<DirectoryGetResponse>;
|
|
52
43
|
/**
|
|
53
|
-
*
|
|
44
|
+
* Update directory metadata.
|
|
54
45
|
*
|
|
55
46
|
* @example
|
|
56
47
|
* ```ts
|
|
57
|
-
* const directory = await client.beta.directories.
|
|
48
|
+
* const directory = await client.beta.directories.update(
|
|
58
49
|
* 'directory_id',
|
|
59
50
|
* );
|
|
60
51
|
* ```
|
|
61
52
|
*/
|
|
62
|
-
|
|
53
|
+
update(directoryID: string, params: DirectoryUpdateParams, options?: RequestOptions): APIPromise<DirectoryUpdateResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Permanently delete a directory.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```ts
|
|
59
|
+
* await client.beta.directories.delete('directory_id');
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
delete(directoryID: string, params?: DirectoryDeleteParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
63
63
|
}
|
|
64
64
|
export type DirectoryListResponsesPaginatedCursor = PaginatedCursor<DirectoryListResponse>;
|
|
65
65
|
/**
|
|
@@ -103,7 +103,7 @@ export interface DirectoryCreateResponse {
|
|
|
103
103
|
/**
|
|
104
104
|
* Directory type: 'user', 'index', 'ephemeral', or 'system_ephemeral'.
|
|
105
105
|
*/
|
|
106
|
-
type?: '
|
|
106
|
+
type?: 'ephemeral' | 'index' | 'system_ephemeral' | 'user' | null;
|
|
107
107
|
/**
|
|
108
108
|
* Update datetime
|
|
109
109
|
*/
|
|
@@ -150,7 +150,7 @@ export interface DirectoryUpdateResponse {
|
|
|
150
150
|
/**
|
|
151
151
|
* Directory type: 'user', 'index', 'ephemeral', or 'system_ephemeral'.
|
|
152
152
|
*/
|
|
153
|
-
type?: '
|
|
153
|
+
type?: 'ephemeral' | 'index' | 'system_ephemeral' | 'user' | null;
|
|
154
154
|
/**
|
|
155
155
|
* Update datetime
|
|
156
156
|
*/
|
|
@@ -197,7 +197,7 @@ export interface DirectoryListResponse {
|
|
|
197
197
|
/**
|
|
198
198
|
* Directory type: 'user', 'index', 'ephemeral', or 'system_ephemeral'.
|
|
199
199
|
*/
|
|
200
|
-
type?: '
|
|
200
|
+
type?: 'ephemeral' | 'index' | 'system_ephemeral' | 'user' | null;
|
|
201
201
|
/**
|
|
202
202
|
* Update datetime
|
|
203
203
|
*/
|
|
@@ -244,7 +244,7 @@ export interface DirectoryGetResponse {
|
|
|
244
244
|
/**
|
|
245
245
|
* Directory type: 'user', 'index', 'ephemeral', or 'system_ephemeral'.
|
|
246
246
|
*/
|
|
247
|
-
type?: '
|
|
247
|
+
type?: 'ephemeral' | 'index' | 'system_ephemeral' | 'user' | null;
|
|
248
248
|
/**
|
|
249
249
|
* Update datetime
|
|
250
250
|
*/
|
|
@@ -281,7 +281,31 @@ export interface DirectoryCreateParams {
|
|
|
281
281
|
* Body param: Directory type. Use 'ephemeral' for batch processing with automatic
|
|
282
282
|
* cleanup.
|
|
283
283
|
*/
|
|
284
|
-
type?: '
|
|
284
|
+
type?: 'ephemeral' | 'user';
|
|
285
|
+
}
|
|
286
|
+
export interface DirectoryListParams extends PaginatedCursorParams {
|
|
287
|
+
/**
|
|
288
|
+
* Include deleted directories.
|
|
289
|
+
*/
|
|
290
|
+
include_deleted?: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* Directory name to match.
|
|
293
|
+
*/
|
|
294
|
+
name?: string | null;
|
|
295
|
+
organization_id?: string | null;
|
|
296
|
+
project_id?: string | null;
|
|
297
|
+
/**
|
|
298
|
+
* Directory type to include.
|
|
299
|
+
*/
|
|
300
|
+
type?: 'ephemeral' | 'index' | 'user' | null;
|
|
301
|
+
/**
|
|
302
|
+
* Filter by one or more directory types. Repeat the parameter for multiple values.
|
|
303
|
+
*/
|
|
304
|
+
types?: Array<'ephemeral' | 'index' | 'user'> | null;
|
|
305
|
+
}
|
|
306
|
+
export interface DirectoryGetParams {
|
|
307
|
+
organization_id?: string | null;
|
|
308
|
+
project_id?: string | null;
|
|
285
309
|
}
|
|
286
310
|
export interface DirectoryUpdateParams {
|
|
287
311
|
/**
|
|
@@ -301,23 +325,12 @@ export interface DirectoryUpdateParams {
|
|
|
301
325
|
*/
|
|
302
326
|
name?: string | null;
|
|
303
327
|
}
|
|
304
|
-
export interface DirectoryListParams extends PaginatedCursorParams {
|
|
305
|
-
include_deleted?: boolean;
|
|
306
|
-
name?: string | null;
|
|
307
|
-
organization_id?: string | null;
|
|
308
|
-
project_id?: string | null;
|
|
309
|
-
type?: 'user' | 'index' | 'ephemeral' | null;
|
|
310
|
-
}
|
|
311
328
|
export interface DirectoryDeleteParams {
|
|
312
329
|
organization_id?: string | null;
|
|
313
330
|
project_id?: string | null;
|
|
314
331
|
}
|
|
315
|
-
export interface DirectoryGetParams {
|
|
316
|
-
organization_id?: string | null;
|
|
317
|
-
project_id?: string | null;
|
|
318
|
-
}
|
|
319
332
|
export declare namespace Directories {
|
|
320
|
-
export { type DirectoryCreateResponse as DirectoryCreateResponse, type DirectoryUpdateResponse as DirectoryUpdateResponse, type DirectoryListResponse as DirectoryListResponse, type DirectoryGetResponse as DirectoryGetResponse, type DirectoryListResponsesPaginatedCursor as DirectoryListResponsesPaginatedCursor, type DirectoryCreateParams as DirectoryCreateParams, type
|
|
321
|
-
export { Files as Files, type FileUpdateResponse as FileUpdateResponse, type FileListResponse as FileListResponse, type FileAddResponse as FileAddResponse, type FileGetResponse as FileGetResponse, type FileUploadResponse as FileUploadResponse, type FileListResponsesPaginatedCursor as FileListResponsesPaginatedCursor, type
|
|
333
|
+
export { type DirectoryCreateResponse as DirectoryCreateResponse, type DirectoryUpdateResponse as DirectoryUpdateResponse, type DirectoryListResponse as DirectoryListResponse, type DirectoryGetResponse as DirectoryGetResponse, type DirectoryListResponsesPaginatedCursor as DirectoryListResponsesPaginatedCursor, type DirectoryCreateParams as DirectoryCreateParams, type DirectoryListParams as DirectoryListParams, type DirectoryGetParams as DirectoryGetParams, type DirectoryUpdateParams as DirectoryUpdateParams, type DirectoryDeleteParams as DirectoryDeleteParams, };
|
|
334
|
+
export { Files as Files, type FileUpdateResponse as FileUpdateResponse, type FileListResponse as FileListResponse, type FileAddResponse as FileAddResponse, type FileGetResponse as FileGetResponse, type FileUploadResponse as FileUploadResponse, type FileListResponsesPaginatedCursor as FileListResponsesPaginatedCursor, type FileAddParams as FileAddParams, type FileListParams as FileListParams, type FileGetParams as FileGetParams, type FileUpdateParams as FileUpdateParams, type FileDeleteParams as FileDeleteParams, type FileUploadParams as FileUploadParams, };
|
|
322
335
|
}
|
|
323
336
|
//# sourceMappingURL=directories.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directories.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/directories/directories.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EACL,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,gCAAgC,EAChC,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,EACN,oBAAgB;AACjB,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,qBAAqB,EAAE,qCAAiC;AAEpG,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,WAAY,SAAQ,WAAW;IAC1C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IASpG
|
|
1
|
+
{"version":3,"file":"directories.d.mts","sourceRoot":"","sources":["../../../src/resources/beta/directories/directories.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EACL,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,gCAAgC,EAChC,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,EACN,oBAAgB;AACjB,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,qBAAqB,EAAE,qCAAiC;AAEpG,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,WAAY,SAAQ,WAAW;IAC1C,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IASpG;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qCAAqC,EAAE,qBAAqB,CAAC;IAO5E;;;;;;;;;OASG;I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