@retab/node 1.0.91 → 1.0.93
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/api/documents/client.d.ts +7 -6
- package/dist/api/documents/client.d.ts.map +1 -1
- package/dist/api/documents/client.js +15 -5
- package/dist/api/workflows/runs/client.d.ts +1 -1
- package/dist/api/workflows/runs/client.d.ts.map +1 -1
- package/dist/generated_types.d.ts +120 -8
- package/dist/generated_types.d.ts.map +1 -1
- package/dist/generated_types.js +14 -3
- package/dist/types.d.ts +26 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +4 -0
- package/package.json +1 -1
|
@@ -13888,6 +13888,7 @@ export declare const ZEasyInputMessageParam: z.ZodLazy<z.ZodObject<{
|
|
|
13888
13888
|
file_id?: string | null | undefined;
|
|
13889
13889
|
}>>]>, "many">]>;
|
|
13890
13890
|
role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
|
|
13891
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"commentary">, z.ZodLiteral<"final_answer">]>>>;
|
|
13891
13892
|
type: z.ZodLiteral<"message">;
|
|
13892
13893
|
}, "strip", z.ZodTypeAny, {
|
|
13893
13894
|
type: "message";
|
|
@@ -13907,6 +13908,7 @@ export declare const ZEasyInputMessageParam: z.ZodLazy<z.ZodObject<{
|
|
|
13907
13908
|
file_url: string;
|
|
13908
13909
|
file_id?: string | null | undefined;
|
|
13909
13910
|
})[];
|
|
13911
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
13910
13912
|
}, {
|
|
13911
13913
|
type: "message";
|
|
13912
13914
|
role: "user" | "system" | "assistant" | "developer";
|
|
@@ -13925,6 +13927,7 @@ export declare const ZEasyInputMessageParam: z.ZodLazy<z.ZodObject<{
|
|
|
13925
13927
|
file_url: string;
|
|
13926
13928
|
file_id?: string | null | undefined;
|
|
13927
13929
|
})[];
|
|
13930
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
13928
13931
|
}>>;
|
|
13929
13932
|
export type EasyInputMessageParam = z.infer<typeof ZEasyInputMessageParam>;
|
|
13930
13933
|
export declare const ZImageBlockParam: z.ZodLazy<z.ZodObject<{
|
|
@@ -14598,6 +14601,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
14598
14601
|
file_url?: string | null | undefined;
|
|
14599
14602
|
}>>]>, "many">]>;
|
|
14600
14603
|
role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
|
|
14604
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"commentary">, z.ZodLiteral<"final_answer">]>>>;
|
|
14601
14605
|
type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"message">>>;
|
|
14602
14606
|
}, "strip", z.ZodTypeAny, {
|
|
14603
14607
|
role: "user" | "system" | "assistant" | "developer";
|
|
@@ -14617,6 +14621,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
14617
14621
|
file_url?: string | null | undefined;
|
|
14618
14622
|
})[];
|
|
14619
14623
|
type?: "message" | null | undefined;
|
|
14624
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
14620
14625
|
}, {
|
|
14621
14626
|
role: "user" | "system" | "assistant" | "developer";
|
|
14622
14627
|
content: string | ({
|
|
@@ -14635,6 +14640,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
14635
14640
|
file_url?: string | null | undefined;
|
|
14636
14641
|
})[];
|
|
14637
14642
|
type?: "message" | null | undefined;
|
|
14643
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
14638
14644
|
}>>, z.ZodLazy<z.ZodObject<{
|
|
14639
14645
|
content: z.ZodArray<z.ZodUnion<[z.ZodLazy<z.ZodObject<{
|
|
14640
14646
|
text: z.ZodString;
|
|
@@ -14913,6 +14919,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
14913
14919
|
role: z.ZodLiteral<"assistant">;
|
|
14914
14920
|
status: z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>;
|
|
14915
14921
|
type: z.ZodLiteral<"message">;
|
|
14922
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"commentary">, z.ZodLiteral<"final_answer">]>>>;
|
|
14916
14923
|
}, "strip", z.ZodTypeAny, {
|
|
14917
14924
|
type: "message";
|
|
14918
14925
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -14958,6 +14965,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
14958
14965
|
type: "refusal";
|
|
14959
14966
|
refusal: string;
|
|
14960
14967
|
})[];
|
|
14968
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
14961
14969
|
}, {
|
|
14962
14970
|
type: "message";
|
|
14963
14971
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -15003,6 +15011,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
15003
15011
|
type: "refusal";
|
|
15004
15012
|
refusal: string;
|
|
15005
15013
|
})[];
|
|
15014
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
15006
15015
|
}>>, z.ZodLazy<z.ZodObject<{
|
|
15007
15016
|
id: z.ZodString;
|
|
15008
15017
|
queries: z.ZodArray<z.ZodString, "many">;
|
|
@@ -16428,6 +16437,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
16428
16437
|
role: z.ZodLiteral<"assistant">;
|
|
16429
16438
|
status: z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>;
|
|
16430
16439
|
type: z.ZodLiteral<"message">;
|
|
16440
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"commentary">, z.ZodLiteral<"final_answer">]>>>;
|
|
16431
16441
|
}, "strip", z.ZodTypeAny, {
|
|
16432
16442
|
type: "message";
|
|
16433
16443
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -16473,6 +16483,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
16473
16483
|
type: "refusal";
|
|
16474
16484
|
refusal: string;
|
|
16475
16485
|
})[];
|
|
16486
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
16476
16487
|
}, {
|
|
16477
16488
|
type: "message";
|
|
16478
16489
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -16518,6 +16529,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
16518
16529
|
type: "refusal";
|
|
16519
16530
|
refusal: string;
|
|
16520
16531
|
})[];
|
|
16532
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
16521
16533
|
}>>, z.ZodLazy<z.ZodObject<{
|
|
16522
16534
|
id: z.ZodString;
|
|
16523
16535
|
queries: z.ZodArray<z.ZodString, "many">;
|
|
@@ -18639,6 +18651,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
18639
18651
|
type: "refusal";
|
|
18640
18652
|
refusal: string;
|
|
18641
18653
|
})[];
|
|
18654
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
18642
18655
|
} | {
|
|
18643
18656
|
type: "file_search_call";
|
|
18644
18657
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -19103,6 +19116,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
19103
19116
|
file_url?: string | null | undefined;
|
|
19104
19117
|
})[];
|
|
19105
19118
|
type?: "message" | null | undefined;
|
|
19119
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
19106
19120
|
} | {
|
|
19107
19121
|
role: "user" | "system" | "developer";
|
|
19108
19122
|
content: ({
|
|
@@ -19167,6 +19181,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
19167
19181
|
type: "refusal";
|
|
19168
19182
|
refusal: string;
|
|
19169
19183
|
})[];
|
|
19184
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
19170
19185
|
} | {
|
|
19171
19186
|
type: "file_search_call";
|
|
19172
19187
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -19567,6 +19582,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
19567
19582
|
type: "refusal";
|
|
19568
19583
|
refusal: string;
|
|
19569
19584
|
})[];
|
|
19585
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
19570
19586
|
} | {
|
|
19571
19587
|
type: "file_search_call";
|
|
19572
19588
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -20031,6 +20047,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
20031
20047
|
file_url?: string | null | undefined;
|
|
20032
20048
|
})[];
|
|
20033
20049
|
type?: "message" | null | undefined;
|
|
20050
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
20034
20051
|
} | {
|
|
20035
20052
|
role: "user" | "system" | "developer";
|
|
20036
20053
|
content: ({
|
|
@@ -20095,6 +20112,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
20095
20112
|
type: "refusal";
|
|
20096
20113
|
refusal: string;
|
|
20097
20114
|
})[];
|
|
20115
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
20098
20116
|
} | {
|
|
20099
20117
|
type: "file_search_call";
|
|
20100
20118
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -22463,7 +22481,7 @@ export declare const ZSplitResponse: z.ZodLazy<z.ZodObject<{
|
|
|
22463
22481
|
splits: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
22464
22482
|
name: z.ZodString;
|
|
22465
22483
|
pages: z.ZodArray<z.ZodNumber, "many">;
|
|
22466
|
-
|
|
22484
|
+
likelihood: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22467
22485
|
votes: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
22468
22486
|
pages: z.ZodArray<z.ZodNumber, "many">;
|
|
22469
22487
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22499,7 +22517,7 @@ export declare const ZSplitResponse: z.ZodLazy<z.ZodObject<{
|
|
|
22499
22517
|
first_page_y_start: number;
|
|
22500
22518
|
last_page_y_end: number;
|
|
22501
22519
|
}[];
|
|
22502
|
-
|
|
22520
|
+
likelihood?: number | null | undefined;
|
|
22503
22521
|
}, {
|
|
22504
22522
|
pages: number[];
|
|
22505
22523
|
name: string;
|
|
@@ -22512,7 +22530,7 @@ export declare const ZSplitResponse: z.ZodLazy<z.ZodObject<{
|
|
|
22512
22530
|
first_page_y_start?: number | undefined;
|
|
22513
22531
|
last_page_y_end?: number | undefined;
|
|
22514
22532
|
}[];
|
|
22515
|
-
|
|
22533
|
+
likelihood?: number | null | undefined;
|
|
22516
22534
|
}>>, "many">;
|
|
22517
22535
|
}, "strip", z.ZodTypeAny, {
|
|
22518
22536
|
splits: {
|
|
@@ -22527,7 +22545,7 @@ export declare const ZSplitResponse: z.ZodLazy<z.ZodObject<{
|
|
|
22527
22545
|
first_page_y_start: number;
|
|
22528
22546
|
last_page_y_end: number;
|
|
22529
22547
|
}[];
|
|
22530
|
-
|
|
22548
|
+
likelihood?: number | null | undefined;
|
|
22531
22549
|
}[];
|
|
22532
22550
|
}, {
|
|
22533
22551
|
splits: {
|
|
@@ -22542,14 +22560,14 @@ export declare const ZSplitResponse: z.ZodLazy<z.ZodObject<{
|
|
|
22542
22560
|
first_page_y_start?: number | undefined;
|
|
22543
22561
|
last_page_y_end?: number | undefined;
|
|
22544
22562
|
}[];
|
|
22545
|
-
|
|
22563
|
+
likelihood?: number | null | undefined;
|
|
22546
22564
|
}[];
|
|
22547
22565
|
}>>;
|
|
22548
22566
|
export type SplitResponse = z.infer<typeof ZSplitResponse>;
|
|
22549
22567
|
export declare const ZSplitResult: z.ZodLazy<z.ZodObject<{
|
|
22550
22568
|
name: z.ZodString;
|
|
22551
22569
|
pages: z.ZodArray<z.ZodNumber, "many">;
|
|
22552
|
-
|
|
22570
|
+
likelihood: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22553
22571
|
votes: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
22554
22572
|
pages: z.ZodArray<z.ZodNumber, "many">;
|
|
22555
22573
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22585,7 +22603,7 @@ export declare const ZSplitResult: z.ZodLazy<z.ZodObject<{
|
|
|
22585
22603
|
first_page_y_start: number;
|
|
22586
22604
|
last_page_y_end: number;
|
|
22587
22605
|
}[];
|
|
22588
|
-
|
|
22606
|
+
likelihood?: number | null | undefined;
|
|
22589
22607
|
}, {
|
|
22590
22608
|
pages: number[];
|
|
22591
22609
|
name: string;
|
|
@@ -22598,7 +22616,7 @@ export declare const ZSplitResult: z.ZodLazy<z.ZodObject<{
|
|
|
22598
22616
|
first_page_y_start?: number | undefined;
|
|
22599
22617
|
last_page_y_end?: number | undefined;
|
|
22600
22618
|
}[];
|
|
22601
|
-
|
|
22619
|
+
likelihood?: number | null | undefined;
|
|
22602
22620
|
}>>;
|
|
22603
22621
|
export type SplitResult = z.infer<typeof ZSplitResult>;
|
|
22604
22622
|
export declare const ZSubdocument: z.ZodLazy<z.ZodObject<{
|
|
@@ -23231,6 +23249,60 @@ export declare const ZProcessOCRRequest: z.ZodLazy<z.ZodObject<{
|
|
|
23231
23249
|
};
|
|
23232
23250
|
}>>;
|
|
23233
23251
|
export type ProcessOCRRequest = z.infer<typeof ZProcessOCRRequest>;
|
|
23252
|
+
export declare const ZGenerateSplitConfigRequest: z.ZodLazy<z.ZodObject<{
|
|
23253
|
+
document: z.ZodLazy<z.ZodObject<{
|
|
23254
|
+
filename: z.ZodString;
|
|
23255
|
+
url: z.ZodString;
|
|
23256
|
+
}, "strip", z.ZodTypeAny, {
|
|
23257
|
+
filename: string;
|
|
23258
|
+
url: string;
|
|
23259
|
+
}, {
|
|
23260
|
+
filename: string;
|
|
23261
|
+
url: string;
|
|
23262
|
+
}>>;
|
|
23263
|
+
model: z.ZodDefault<z.ZodString>;
|
|
23264
|
+
}, "strip", z.ZodTypeAny, {
|
|
23265
|
+
model: string;
|
|
23266
|
+
document: {
|
|
23267
|
+
filename: string;
|
|
23268
|
+
url: string;
|
|
23269
|
+
};
|
|
23270
|
+
}, {
|
|
23271
|
+
document: {
|
|
23272
|
+
filename: string;
|
|
23273
|
+
url: string;
|
|
23274
|
+
};
|
|
23275
|
+
model?: string | undefined;
|
|
23276
|
+
}>>;
|
|
23277
|
+
export type GenerateSplitConfigRequest = z.infer<typeof ZGenerateSplitConfigRequest>;
|
|
23278
|
+
export declare const ZGenerateSplitConfigResponse: z.ZodLazy<z.ZodObject<{
|
|
23279
|
+
subdocuments: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
23280
|
+
name: z.ZodString;
|
|
23281
|
+
description: z.ZodString;
|
|
23282
|
+
partition_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23283
|
+
}, "strip", z.ZodTypeAny, {
|
|
23284
|
+
name: string;
|
|
23285
|
+
description: string;
|
|
23286
|
+
partition_key?: string | null | undefined;
|
|
23287
|
+
}, {
|
|
23288
|
+
name: string;
|
|
23289
|
+
description: string;
|
|
23290
|
+
partition_key?: string | null | undefined;
|
|
23291
|
+
}>>, "many">;
|
|
23292
|
+
}, "strip", z.ZodTypeAny, {
|
|
23293
|
+
subdocuments: {
|
|
23294
|
+
name: string;
|
|
23295
|
+
description: string;
|
|
23296
|
+
partition_key?: string | null | undefined;
|
|
23297
|
+
}[];
|
|
23298
|
+
}, {
|
|
23299
|
+
subdocuments: {
|
|
23300
|
+
name: string;
|
|
23301
|
+
description: string;
|
|
23302
|
+
partition_key?: string | null | undefined;
|
|
23303
|
+
}[];
|
|
23304
|
+
}>>;
|
|
23305
|
+
export type GenerateSplitConfigResponse = z.infer<typeof ZGenerateSplitConfigResponse>;
|
|
23234
23306
|
export declare const ZPartition: z.ZodLazy<z.ZodObject<{
|
|
23235
23307
|
key: z.ZodString;
|
|
23236
23308
|
pages: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -26134,6 +26206,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
26134
26206
|
file_id?: string | null | undefined;
|
|
26135
26207
|
}>>]>, "many">]>;
|
|
26136
26208
|
role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
|
|
26209
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"commentary">, z.ZodLiteral<"final_answer">]>>>;
|
|
26137
26210
|
type: z.ZodLiteral<"message">;
|
|
26138
26211
|
}, "strip", z.ZodTypeAny, {
|
|
26139
26212
|
type: "message";
|
|
@@ -26153,6 +26226,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
26153
26226
|
file_url: string;
|
|
26154
26227
|
file_id?: string | null | undefined;
|
|
26155
26228
|
})[];
|
|
26229
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
26156
26230
|
}, {
|
|
26157
26231
|
type: "message";
|
|
26158
26232
|
role: "user" | "system" | "assistant" | "developer";
|
|
@@ -26171,6 +26245,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
26171
26245
|
file_url: string;
|
|
26172
26246
|
file_id?: string | null | undefined;
|
|
26173
26247
|
})[];
|
|
26248
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
26174
26249
|
}>>, z.ZodLazy<z.ZodObject<{
|
|
26175
26250
|
content: z.ZodArray<z.ZodUnion<[z.ZodLazy<z.ZodObject<{
|
|
26176
26251
|
text: z.ZodString;
|
|
@@ -26449,6 +26524,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
26449
26524
|
role: z.ZodLiteral<"assistant">;
|
|
26450
26525
|
status: z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>;
|
|
26451
26526
|
type: z.ZodLiteral<"message">;
|
|
26527
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"commentary">, z.ZodLiteral<"final_answer">]>>>;
|
|
26452
26528
|
}, "strip", z.ZodTypeAny, {
|
|
26453
26529
|
type: "message";
|
|
26454
26530
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -26494,6 +26570,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
26494
26570
|
type: "refusal";
|
|
26495
26571
|
refusal: string;
|
|
26496
26572
|
})[];
|
|
26573
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
26497
26574
|
}, {
|
|
26498
26575
|
type: "message";
|
|
26499
26576
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -26539,6 +26616,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
26539
26616
|
type: "refusal";
|
|
26540
26617
|
refusal: string;
|
|
26541
26618
|
})[];
|
|
26619
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
26542
26620
|
}>>, z.ZodLazy<z.ZodObject<{
|
|
26543
26621
|
id: z.ZodString;
|
|
26544
26622
|
queries: z.ZodArray<z.ZodString, "many">;
|
|
@@ -29827,6 +29905,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
29827
29905
|
file_url?: string | null | undefined;
|
|
29828
29906
|
}>>]>, "many">]>;
|
|
29829
29907
|
role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
|
|
29908
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"commentary">, z.ZodLiteral<"final_answer">]>>>;
|
|
29830
29909
|
type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"message">>>;
|
|
29831
29910
|
}, "strip", z.ZodTypeAny, {
|
|
29832
29911
|
role: "user" | "system" | "assistant" | "developer";
|
|
@@ -29846,6 +29925,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
29846
29925
|
file_url?: string | null | undefined;
|
|
29847
29926
|
})[];
|
|
29848
29927
|
type?: "message" | null | undefined;
|
|
29928
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
29849
29929
|
}, {
|
|
29850
29930
|
role: "user" | "system" | "assistant" | "developer";
|
|
29851
29931
|
content: string | ({
|
|
@@ -29864,6 +29944,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
29864
29944
|
file_url?: string | null | undefined;
|
|
29865
29945
|
})[];
|
|
29866
29946
|
type?: "message" | null | undefined;
|
|
29947
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
29867
29948
|
}>>, z.ZodLazy<z.ZodObject<{
|
|
29868
29949
|
content: z.ZodArray<z.ZodUnion<[z.ZodLazy<z.ZodObject<{
|
|
29869
29950
|
text: z.ZodString;
|
|
@@ -30142,6 +30223,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
30142
30223
|
role: z.ZodLiteral<"assistant">;
|
|
30143
30224
|
status: z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>;
|
|
30144
30225
|
type: z.ZodLiteral<"message">;
|
|
30226
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"commentary">, z.ZodLiteral<"final_answer">]>>>;
|
|
30145
30227
|
}, "strip", z.ZodTypeAny, {
|
|
30146
30228
|
type: "message";
|
|
30147
30229
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -30187,6 +30269,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
30187
30269
|
type: "refusal";
|
|
30188
30270
|
refusal: string;
|
|
30189
30271
|
})[];
|
|
30272
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
30190
30273
|
}, {
|
|
30191
30274
|
type: "message";
|
|
30192
30275
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -30232,6 +30315,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
30232
30315
|
type: "refusal";
|
|
30233
30316
|
refusal: string;
|
|
30234
30317
|
})[];
|
|
30318
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
30235
30319
|
}>>, z.ZodLazy<z.ZodObject<{
|
|
30236
30320
|
id: z.ZodString;
|
|
30237
30321
|
queries: z.ZodArray<z.ZodString, "many">;
|
|
@@ -31657,6 +31741,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
31657
31741
|
role: z.ZodLiteral<"assistant">;
|
|
31658
31742
|
status: z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>;
|
|
31659
31743
|
type: z.ZodLiteral<"message">;
|
|
31744
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"commentary">, z.ZodLiteral<"final_answer">]>>>;
|
|
31660
31745
|
}, "strip", z.ZodTypeAny, {
|
|
31661
31746
|
type: "message";
|
|
31662
31747
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -31702,6 +31787,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
31702
31787
|
type: "refusal";
|
|
31703
31788
|
refusal: string;
|
|
31704
31789
|
})[];
|
|
31790
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
31705
31791
|
}, {
|
|
31706
31792
|
type: "message";
|
|
31707
31793
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -31747,6 +31833,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
31747
31833
|
type: "refusal";
|
|
31748
31834
|
refusal: string;
|
|
31749
31835
|
})[];
|
|
31836
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
31750
31837
|
}>>, z.ZodLazy<z.ZodObject<{
|
|
31751
31838
|
id: z.ZodString;
|
|
31752
31839
|
queries: z.ZodArray<z.ZodString, "many">;
|
|
@@ -33868,6 +33955,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
33868
33955
|
type: "refusal";
|
|
33869
33956
|
refusal: string;
|
|
33870
33957
|
})[];
|
|
33958
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
33871
33959
|
} | {
|
|
33872
33960
|
type: "file_search_call";
|
|
33873
33961
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -34332,6 +34420,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
34332
34420
|
file_url?: string | null | undefined;
|
|
34333
34421
|
})[];
|
|
34334
34422
|
type?: "message" | null | undefined;
|
|
34423
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
34335
34424
|
} | {
|
|
34336
34425
|
role: "user" | "system" | "developer";
|
|
34337
34426
|
content: ({
|
|
@@ -34396,6 +34485,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
34396
34485
|
type: "refusal";
|
|
34397
34486
|
refusal: string;
|
|
34398
34487
|
})[];
|
|
34488
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
34399
34489
|
} | {
|
|
34400
34490
|
type: "file_search_call";
|
|
34401
34491
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -34796,6 +34886,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
34796
34886
|
type: "refusal";
|
|
34797
34887
|
refusal: string;
|
|
34798
34888
|
})[];
|
|
34889
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
34799
34890
|
} | {
|
|
34800
34891
|
type: "file_search_call";
|
|
34801
34892
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -35260,6 +35351,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
35260
35351
|
file_url?: string | null | undefined;
|
|
35261
35352
|
})[];
|
|
35262
35353
|
type?: "message" | null | undefined;
|
|
35354
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
35263
35355
|
} | {
|
|
35264
35356
|
role: "user" | "system" | "developer";
|
|
35265
35357
|
content: ({
|
|
@@ -35324,6 +35416,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
35324
35416
|
type: "refusal";
|
|
35325
35417
|
refusal: string;
|
|
35326
35418
|
})[];
|
|
35419
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
35327
35420
|
} | {
|
|
35328
35421
|
type: "file_search_call";
|
|
35329
35422
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -35824,6 +35917,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
35824
35917
|
file_url: string;
|
|
35825
35918
|
file_id?: string | null | undefined;
|
|
35826
35919
|
})[];
|
|
35920
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
35827
35921
|
} | {
|
|
35828
35922
|
type: "message";
|
|
35829
35923
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -35888,6 +35982,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
35888
35982
|
type: "refusal";
|
|
35889
35983
|
refusal: string;
|
|
35890
35984
|
})[];
|
|
35985
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
35891
35986
|
} | {
|
|
35892
35987
|
type: "file_search_call";
|
|
35893
35988
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -36493,6 +36588,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
36493
36588
|
type: "refusal";
|
|
36494
36589
|
refusal: string;
|
|
36495
36590
|
})[];
|
|
36591
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
36496
36592
|
} | {
|
|
36497
36593
|
type: "file_search_call";
|
|
36498
36594
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -36957,6 +37053,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
36957
37053
|
file_url?: string | null | undefined;
|
|
36958
37054
|
})[];
|
|
36959
37055
|
type?: "message" | null | undefined;
|
|
37056
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
36960
37057
|
} | {
|
|
36961
37058
|
role: "user" | "system" | "developer";
|
|
36962
37059
|
content: ({
|
|
@@ -37021,6 +37118,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
37021
37118
|
type: "refusal";
|
|
37022
37119
|
refusal: string;
|
|
37023
37120
|
})[];
|
|
37121
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
37024
37122
|
} | {
|
|
37025
37123
|
type: "file_search_call";
|
|
37026
37124
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -37518,6 +37616,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
37518
37616
|
file_url: string;
|
|
37519
37617
|
file_id?: string | null | undefined;
|
|
37520
37618
|
})[];
|
|
37619
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
37521
37620
|
} | {
|
|
37522
37621
|
type: "message";
|
|
37523
37622
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -37582,6 +37681,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
37582
37681
|
type: "refusal";
|
|
37583
37682
|
refusal: string;
|
|
37584
37683
|
})[];
|
|
37684
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
37585
37685
|
} | {
|
|
37586
37686
|
type: "file_search_call";
|
|
37587
37687
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -38187,6 +38287,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
38187
38287
|
type: "refusal";
|
|
38188
38288
|
refusal: string;
|
|
38189
38289
|
})[];
|
|
38290
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
38190
38291
|
} | {
|
|
38191
38292
|
type: "file_search_call";
|
|
38192
38293
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -38651,6 +38752,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
38651
38752
|
file_url?: string | null | undefined;
|
|
38652
38753
|
})[];
|
|
38653
38754
|
type?: "message" | null | undefined;
|
|
38755
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
38654
38756
|
} | {
|
|
38655
38757
|
role: "user" | "system" | "developer";
|
|
38656
38758
|
content: ({
|
|
@@ -38715,6 +38817,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
38715
38817
|
type: "refusal";
|
|
38716
38818
|
refusal: string;
|
|
38717
38819
|
})[];
|
|
38820
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
38718
38821
|
} | {
|
|
38719
38822
|
type: "file_search_call";
|
|
38720
38823
|
status: "in_progress" | "completed" | "failed" | "incomplete" | "searching";
|
|
@@ -47139,6 +47242,7 @@ export declare const ZEasyInputMessage: z.ZodLazy<z.ZodObject<{
|
|
|
47139
47242
|
file_url?: string | null | undefined;
|
|
47140
47243
|
}>>]>, "many">]>;
|
|
47141
47244
|
role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
|
|
47245
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"commentary">, z.ZodLiteral<"final_answer">]>>>;
|
|
47142
47246
|
type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"message">>>;
|
|
47143
47247
|
}, "strip", z.ZodTypeAny, {
|
|
47144
47248
|
role: "user" | "system" | "assistant" | "developer";
|
|
@@ -47158,6 +47262,7 @@ export declare const ZEasyInputMessage: z.ZodLazy<z.ZodObject<{
|
|
|
47158
47262
|
file_url?: string | null | undefined;
|
|
47159
47263
|
})[];
|
|
47160
47264
|
type?: "message" | null | undefined;
|
|
47265
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
47161
47266
|
}, {
|
|
47162
47267
|
role: "user" | "system" | "assistant" | "developer";
|
|
47163
47268
|
content: string | ({
|
|
@@ -47176,6 +47281,7 @@ export declare const ZEasyInputMessage: z.ZodLazy<z.ZodObject<{
|
|
|
47176
47281
|
file_url?: string | null | undefined;
|
|
47177
47282
|
})[];
|
|
47178
47283
|
type?: "message" | null | undefined;
|
|
47284
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
47179
47285
|
}>>;
|
|
47180
47286
|
export type EasyInputMessage = z.infer<typeof ZEasyInputMessage>;
|
|
47181
47287
|
export declare const ZMessage: z.ZodLazy<z.ZodObject<{
|
|
@@ -47458,6 +47564,7 @@ export declare const ZResponseOutputMessage: z.ZodLazy<z.ZodObject<{
|
|
|
47458
47564
|
role: z.ZodLiteral<"assistant">;
|
|
47459
47565
|
status: z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>;
|
|
47460
47566
|
type: z.ZodLiteral<"message">;
|
|
47567
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"commentary">, z.ZodLiteral<"final_answer">]>>>;
|
|
47461
47568
|
}, "strip", z.ZodTypeAny, {
|
|
47462
47569
|
type: "message";
|
|
47463
47570
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -47503,6 +47610,7 @@ export declare const ZResponseOutputMessage: z.ZodLazy<z.ZodObject<{
|
|
|
47503
47610
|
type: "refusal";
|
|
47504
47611
|
refusal: string;
|
|
47505
47612
|
})[];
|
|
47613
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
47506
47614
|
}, {
|
|
47507
47615
|
type: "message";
|
|
47508
47616
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -47548,6 +47656,7 @@ export declare const ZResponseOutputMessage: z.ZodLazy<z.ZodObject<{
|
|
|
47548
47656
|
type: "refusal";
|
|
47549
47657
|
refusal: string;
|
|
47550
47658
|
})[];
|
|
47659
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
47551
47660
|
}>>;
|
|
47552
47661
|
export type ResponseOutputMessage = z.infer<typeof ZResponseOutputMessage>;
|
|
47553
47662
|
export declare const ZResponseFileSearchToolCall: z.ZodLazy<z.ZodObject<{
|
|
@@ -51841,6 +51950,7 @@ export declare const ZResponseOutputMessageParam: z.ZodLazy<z.ZodObject<{
|
|
|
51841
51950
|
role: z.ZodLiteral<"assistant">;
|
|
51842
51951
|
status: z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>;
|
|
51843
51952
|
type: z.ZodLiteral<"message">;
|
|
51953
|
+
phase: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"commentary">, z.ZodLiteral<"final_answer">]>>>;
|
|
51844
51954
|
}, "strip", z.ZodTypeAny, {
|
|
51845
51955
|
type: "message";
|
|
51846
51956
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -51886,6 +51996,7 @@ export declare const ZResponseOutputMessageParam: z.ZodLazy<z.ZodObject<{
|
|
|
51886
51996
|
type: "refusal";
|
|
51887
51997
|
refusal: string;
|
|
51888
51998
|
})[];
|
|
51999
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
51889
52000
|
}, {
|
|
51890
52001
|
type: "message";
|
|
51891
52002
|
status: "in_progress" | "completed" | "incomplete";
|
|
@@ -51931,6 +52042,7 @@ export declare const ZResponseOutputMessageParam: z.ZodLazy<z.ZodObject<{
|
|
|
51931
52042
|
type: "refusal";
|
|
51932
52043
|
refusal: string;
|
|
51933
52044
|
})[];
|
|
52045
|
+
phase?: "commentary" | "final_answer" | null | undefined;
|
|
51934
52046
|
}>>;
|
|
51935
52047
|
export type ResponseOutputMessageParam = z.infer<typeof ZResponseOutputMessageParam>;
|
|
51936
52048
|
export declare const ZResponseFileSearchToolCallParam: z.ZodLazy<z.ZodObject<{
|