@orq-ai/node 3.2.0-rc.27 → 3.2.0-rc.29
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/bin/mcp-server.js +597 -597
- package/bin/mcp-server.js.map +21 -21
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/deployments.d.ts +329 -329
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +450 -453
- package/models/components/deployments.js.map +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/deploymentcreatemetric.d.ts +104 -104
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +141 -141
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +361 -361
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +493 -496
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/deployments.ts +786 -749
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/deploymentcreatemetric.ts +401 -338
- package/src/models/operations/deploymentgetconfig.ts +857 -917
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
|
@@ -17,7 +17,7 @@ export type DeploymentsPrefixMessages5Role = ClosedEnum<typeof DeploymentsPrefix
|
|
|
17
17
|
* The contents of the tool message.
|
|
18
18
|
*/
|
|
19
19
|
export type DeploymentsPrefixMessagesContent = string | Array<string>;
|
|
20
|
-
export type
|
|
20
|
+
export type ToolMessage = {
|
|
21
21
|
/**
|
|
22
22
|
* The role of the messages author, in this case tool.
|
|
23
23
|
*/
|
|
@@ -41,7 +41,7 @@ export declare const Deployments2PrefixMessages4Type: {
|
|
|
41
41
|
* The type of the content part.
|
|
42
42
|
*/
|
|
43
43
|
export type Deployments2PrefixMessages4Type = ClosedEnum<typeof Deployments2PrefixMessages4Type>;
|
|
44
|
-
export type
|
|
44
|
+
export type RefusalContentPart = {
|
|
45
45
|
/**
|
|
46
46
|
* The type of the content part.
|
|
47
47
|
*/
|
|
@@ -61,7 +61,7 @@ export declare const Deployments2PrefixMessagesType: {
|
|
|
61
61
|
* The type of the content part.
|
|
62
62
|
*/
|
|
63
63
|
export type Deployments2PrefixMessagesType = ClosedEnum<typeof Deployments2PrefixMessagesType>;
|
|
64
|
-
export type
|
|
64
|
+
export type TextContentPart = {
|
|
65
65
|
/**
|
|
66
66
|
* The type of the content part.
|
|
67
67
|
*/
|
|
@@ -71,11 +71,11 @@ export type Deployments21 = {
|
|
|
71
71
|
*/
|
|
72
72
|
text: string;
|
|
73
73
|
};
|
|
74
|
-
export type
|
|
74
|
+
export type Content2 = TextContentPart | RefusalContentPart;
|
|
75
75
|
/**
|
|
76
76
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
77
77
|
*/
|
|
78
|
-
export type PrefixMessagesContent = string | Array<
|
|
78
|
+
export type PrefixMessagesContent = string | Array<TextContentPart | RefusalContentPart>;
|
|
79
79
|
/**
|
|
80
80
|
* The role of the messages author, in this case `assistant`.
|
|
81
81
|
*/
|
|
@@ -96,13 +96,13 @@ export type Audio = {
|
|
|
96
96
|
id: string;
|
|
97
97
|
};
|
|
98
98
|
/**
|
|
99
|
-
* The type of the tool. Currently, only `
|
|
99
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
100
100
|
*/
|
|
101
101
|
export declare const Type: {
|
|
102
102
|
readonly Function: "function";
|
|
103
103
|
};
|
|
104
104
|
/**
|
|
105
|
-
* The type of the tool. Currently, only `
|
|
105
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
106
106
|
*/
|
|
107
107
|
export type Type = ClosedEnum<typeof Type>;
|
|
108
108
|
export type FunctionT = {
|
|
@@ -121,16 +121,16 @@ export type ToolCalls = {
|
|
|
121
121
|
*/
|
|
122
122
|
id: string;
|
|
123
123
|
/**
|
|
124
|
-
* The type of the tool. Currently, only `
|
|
124
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
125
125
|
*/
|
|
126
126
|
type: Type;
|
|
127
127
|
function: FunctionT;
|
|
128
128
|
};
|
|
129
|
-
export type
|
|
129
|
+
export type AssistantMessage = {
|
|
130
130
|
/**
|
|
131
131
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
132
132
|
*/
|
|
133
|
-
content?: string | Array<
|
|
133
|
+
content?: string | Array<TextContentPart | RefusalContentPart> | undefined;
|
|
134
134
|
/**
|
|
135
135
|
* The refusal message by the assistant.
|
|
136
136
|
*/
|
|
@@ -187,7 +187,7 @@ export type InputAudio = {
|
|
|
187
187
|
*/
|
|
188
188
|
format: Format;
|
|
189
189
|
};
|
|
190
|
-
export type
|
|
190
|
+
export type Three = {
|
|
191
191
|
type: Deployments2Type;
|
|
192
192
|
inputAudio: InputAudio;
|
|
193
193
|
};
|
|
@@ -225,16 +225,16 @@ export declare const Deployments2PrefixMessages3Type: {
|
|
|
225
225
|
readonly Text: "text";
|
|
226
226
|
};
|
|
227
227
|
export type Deployments2PrefixMessages3Type = ClosedEnum<typeof Deployments2PrefixMessages3Type>;
|
|
228
|
-
export type
|
|
228
|
+
export type One = {
|
|
229
229
|
type: Deployments2PrefixMessages3Type;
|
|
230
230
|
text: string;
|
|
231
231
|
};
|
|
232
|
-
export type
|
|
232
|
+
export type Two = One | Two2 | Three;
|
|
233
233
|
/**
|
|
234
234
|
* The contents of the user message.
|
|
235
235
|
*/
|
|
236
|
-
export type Content = string | Array<
|
|
237
|
-
export type
|
|
236
|
+
export type Content = string | Array<One | Two2 | Three>;
|
|
237
|
+
export type UserMessage = {
|
|
238
238
|
/**
|
|
239
239
|
* The role of the messages author, in this case `user`.
|
|
240
240
|
*/
|
|
@@ -246,7 +246,7 @@ export type Three = {
|
|
|
246
246
|
/**
|
|
247
247
|
* The contents of the user message.
|
|
248
248
|
*/
|
|
249
|
-
content: string | Array<
|
|
249
|
+
content: string | Array<One | Two2 | Three>;
|
|
250
250
|
};
|
|
251
251
|
/**
|
|
252
252
|
* The role of the messages author, in this case `system`.
|
|
@@ -258,7 +258,7 @@ export declare const PrefixMessagesRole: {
|
|
|
258
258
|
* The role of the messages author, in this case `system`.
|
|
259
259
|
*/
|
|
260
260
|
export type PrefixMessagesRole = ClosedEnum<typeof PrefixMessagesRole>;
|
|
261
|
-
export type
|
|
261
|
+
export type SystemMessage = {
|
|
262
262
|
/**
|
|
263
263
|
* The role of the messages author, in this case `system`.
|
|
264
264
|
*/
|
|
@@ -282,7 +282,7 @@ export declare const Role: {
|
|
|
282
282
|
* The role of the messages author, in this case `developer`.
|
|
283
283
|
*/
|
|
284
284
|
export type Role = ClosedEnum<typeof Role>;
|
|
285
|
-
export type
|
|
285
|
+
export type DeveloperMessage = {
|
|
286
286
|
/**
|
|
287
287
|
* The role of the messages author, in this case `developer`.
|
|
288
288
|
*/
|
|
@@ -296,7 +296,7 @@ export type One = {
|
|
|
296
296
|
*/
|
|
297
297
|
name?: string | undefined;
|
|
298
298
|
};
|
|
299
|
-
export type PrefixMessages =
|
|
299
|
+
export type PrefixMessages = DeveloperMessage | SystemMessage | UserMessage | ToolMessage | AssistantMessage;
|
|
300
300
|
/**
|
|
301
301
|
* The role of the messages author, in this case tool.
|
|
302
302
|
*/
|
|
@@ -311,7 +311,7 @@ export type DeploymentsMessages5Role = ClosedEnum<typeof DeploymentsMessages5Rol
|
|
|
311
311
|
* The contents of the tool message.
|
|
312
312
|
*/
|
|
313
313
|
export type DeploymentsMessages5Content = string | Array<string>;
|
|
314
|
-
export type
|
|
314
|
+
export type MessagesToolMessage = {
|
|
315
315
|
/**
|
|
316
316
|
* The role of the messages author, in this case tool.
|
|
317
317
|
*/
|
|
@@ -335,7 +335,7 @@ export declare const Deployments2Messages4ContentType: {
|
|
|
335
335
|
* The type of the content part.
|
|
336
336
|
*/
|
|
337
337
|
export type Deployments2Messages4ContentType = ClosedEnum<typeof Deployments2Messages4ContentType>;
|
|
338
|
-
export type
|
|
338
|
+
export type TwoRefusalContentPart = {
|
|
339
339
|
/**
|
|
340
340
|
* The type of the content part.
|
|
341
341
|
*/
|
|
@@ -355,7 +355,7 @@ export declare const Deployments2Messages4Type: {
|
|
|
355
355
|
* The type of the content part.
|
|
356
356
|
*/
|
|
357
357
|
export type Deployments2Messages4Type = ClosedEnum<typeof Deployments2Messages4Type>;
|
|
358
|
-
export type
|
|
358
|
+
export type TwoTextContentPart = {
|
|
359
359
|
/**
|
|
360
360
|
* The type of the content part.
|
|
361
361
|
*/
|
|
@@ -365,11 +365,11 @@ export type Deployments2Messages41 = {
|
|
|
365
365
|
*/
|
|
366
366
|
text: string;
|
|
367
367
|
};
|
|
368
|
-
export type
|
|
368
|
+
export type DeploymentsContentMessages2 = TwoTextContentPart | TwoRefusalContentPart;
|
|
369
369
|
/**
|
|
370
370
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
371
371
|
*/
|
|
372
|
-
export type DeploymentsMessagesContent = string | Array<
|
|
372
|
+
export type DeploymentsMessagesContent = string | Array<TwoTextContentPart | TwoRefusalContentPart>;
|
|
373
373
|
/**
|
|
374
374
|
* The role of the messages author, in this case `assistant`.
|
|
375
375
|
*/
|
|
@@ -390,13 +390,13 @@ export type MessagesAudio = {
|
|
|
390
390
|
id: string;
|
|
391
391
|
};
|
|
392
392
|
/**
|
|
393
|
-
* The type of the tool. Currently, only `
|
|
393
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
394
394
|
*/
|
|
395
395
|
export declare const MessagesType: {
|
|
396
396
|
readonly Function: "function";
|
|
397
397
|
};
|
|
398
398
|
/**
|
|
399
|
-
* The type of the tool. Currently, only `
|
|
399
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
400
400
|
*/
|
|
401
401
|
export type MessagesType = ClosedEnum<typeof MessagesType>;
|
|
402
402
|
export type MessagesFunction = {
|
|
@@ -415,16 +415,16 @@ export type MessagesToolCalls = {
|
|
|
415
415
|
*/
|
|
416
416
|
id: string;
|
|
417
417
|
/**
|
|
418
|
-
* The type of the tool. Currently, only `
|
|
418
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
419
419
|
*/
|
|
420
420
|
type: MessagesType;
|
|
421
421
|
function: MessagesFunction;
|
|
422
422
|
};
|
|
423
|
-
export type
|
|
423
|
+
export type MessagesAssistantMessage = {
|
|
424
424
|
/**
|
|
425
425
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
426
426
|
*/
|
|
427
|
-
content?: string | Array<
|
|
427
|
+
content?: string | Array<TwoTextContentPart | TwoRefusalContentPart> | undefined;
|
|
428
428
|
/**
|
|
429
429
|
* The refusal message by the assistant.
|
|
430
430
|
*/
|
|
@@ -481,7 +481,7 @@ export type TwoInputAudio = {
|
|
|
481
481
|
*/
|
|
482
482
|
format: TwoFormat;
|
|
483
483
|
};
|
|
484
|
-
export type
|
|
484
|
+
export type Two3 = {
|
|
485
485
|
type: Deployments2Messages3ContentType;
|
|
486
486
|
inputAudio: TwoInputAudio;
|
|
487
487
|
};
|
|
@@ -511,7 +511,7 @@ export type TwoImageUrl = {
|
|
|
511
511
|
*/
|
|
512
512
|
detail?: TwoDetail | undefined;
|
|
513
513
|
};
|
|
514
|
-
export type
|
|
514
|
+
export type Deployments22 = {
|
|
515
515
|
type: Deployments2Messages3Type;
|
|
516
516
|
imageUrl: TwoImageUrl;
|
|
517
517
|
};
|
|
@@ -519,16 +519,16 @@ export declare const Deployments2MessagesType: {
|
|
|
519
519
|
readonly Text: "text";
|
|
520
520
|
};
|
|
521
521
|
export type Deployments2MessagesType = ClosedEnum<typeof Deployments2MessagesType>;
|
|
522
|
-
export type
|
|
522
|
+
export type Two1 = {
|
|
523
523
|
type: Deployments2MessagesType;
|
|
524
524
|
text: string;
|
|
525
525
|
};
|
|
526
|
-
export type
|
|
526
|
+
export type DeploymentsContent2 = Two1 | Deployments22 | Two3;
|
|
527
527
|
/**
|
|
528
528
|
* The contents of the user message.
|
|
529
529
|
*/
|
|
530
|
-
export type MessagesContent = string | Array<
|
|
531
|
-
export type
|
|
530
|
+
export type MessagesContent = string | Array<Two1 | Deployments22 | Two3>;
|
|
531
|
+
export type MessagesUserMessage = {
|
|
532
532
|
/**
|
|
533
533
|
* The role of the messages author, in this case `user`.
|
|
534
534
|
*/
|
|
@@ -540,7 +540,7 @@ export type Messages3 = {
|
|
|
540
540
|
/**
|
|
541
541
|
* The contents of the user message.
|
|
542
542
|
*/
|
|
543
|
-
content: string | Array<
|
|
543
|
+
content: string | Array<Two1 | Deployments22 | Two3>;
|
|
544
544
|
};
|
|
545
545
|
/**
|
|
546
546
|
* The role of the messages author, in this case `system`.
|
|
@@ -552,7 +552,7 @@ export declare const DeploymentsMessagesRole: {
|
|
|
552
552
|
* The role of the messages author, in this case `system`.
|
|
553
553
|
*/
|
|
554
554
|
export type DeploymentsMessagesRole = ClosedEnum<typeof DeploymentsMessagesRole>;
|
|
555
|
-
export type
|
|
555
|
+
export type MessagesSystemMessage = {
|
|
556
556
|
/**
|
|
557
557
|
* The role of the messages author, in this case `system`.
|
|
558
558
|
*/
|
|
@@ -576,7 +576,7 @@ export declare const MessagesRole: {
|
|
|
576
576
|
* The role of the messages author, in this case `developer`.
|
|
577
577
|
*/
|
|
578
578
|
export type MessagesRole = ClosedEnum<typeof MessagesRole>;
|
|
579
|
-
export type
|
|
579
|
+
export type MessagesDeveloperMessage = {
|
|
580
580
|
/**
|
|
581
581
|
* The role of the messages author, in this case `developer`.
|
|
582
582
|
*/
|
|
@@ -590,7 +590,7 @@ export type Messages1 = {
|
|
|
590
590
|
*/
|
|
591
591
|
name?: string | undefined;
|
|
592
592
|
};
|
|
593
|
-
export type Messages =
|
|
593
|
+
export type Messages = MessagesDeveloperMessage | MessagesSystemMessage | MessagesUserMessage | MessagesToolMessage | MessagesAssistantMessage;
|
|
594
594
|
/**
|
|
595
595
|
* Metadata about the document
|
|
596
596
|
*/
|
|
@@ -647,11 +647,11 @@ export type Deployments = {
|
|
|
647
647
|
/**
|
|
648
648
|
* A list of messages to include after the `System` message, but before the `User` and `Assistant` pairs configured in your deployment.
|
|
649
649
|
*/
|
|
650
|
-
prefixMessages?: Array<
|
|
650
|
+
prefixMessages?: Array<DeveloperMessage | SystemMessage | UserMessage | ToolMessage | AssistantMessage> | undefined;
|
|
651
651
|
/**
|
|
652
652
|
* A list of messages to send to the deployment.
|
|
653
653
|
*/
|
|
654
|
-
messages?: Array<
|
|
654
|
+
messages?: Array<MessagesDeveloperMessage | MessagesSystemMessage | MessagesUserMessage | MessagesToolMessage | MessagesAssistantMessage> | undefined;
|
|
655
655
|
/**
|
|
656
656
|
* A list of file IDs that are associated with the deployment request.
|
|
657
657
|
*/
|
|
@@ -733,29 +733,29 @@ export declare namespace DeploymentsPrefixMessagesContent$ {
|
|
|
733
733
|
export declare function deploymentsPrefixMessagesContentToJSON(deploymentsPrefixMessagesContent: DeploymentsPrefixMessagesContent): string;
|
|
734
734
|
export declare function deploymentsPrefixMessagesContentFromJSON(jsonString: string): SafeParseResult<DeploymentsPrefixMessagesContent, SDKValidationError>;
|
|
735
735
|
/** @internal */
|
|
736
|
-
export declare const
|
|
736
|
+
export declare const ToolMessage$inboundSchema: z.ZodType<ToolMessage, z.ZodTypeDef, unknown>;
|
|
737
737
|
/** @internal */
|
|
738
|
-
export type
|
|
738
|
+
export type ToolMessage$Outbound = {
|
|
739
739
|
role: string;
|
|
740
740
|
content: string | Array<string>;
|
|
741
741
|
tool_call_id: string;
|
|
742
742
|
};
|
|
743
743
|
/** @internal */
|
|
744
|
-
export declare const
|
|
744
|
+
export declare const ToolMessage$outboundSchema: z.ZodType<ToolMessage$Outbound, z.ZodTypeDef, ToolMessage>;
|
|
745
745
|
/**
|
|
746
746
|
* @internal
|
|
747
747
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
748
748
|
*/
|
|
749
|
-
export declare namespace
|
|
750
|
-
/** @deprecated use `
|
|
751
|
-
const inboundSchema: z.ZodType<
|
|
752
|
-
/** @deprecated use `
|
|
753
|
-
const outboundSchema: z.ZodType<
|
|
754
|
-
/** @deprecated use `
|
|
755
|
-
type Outbound =
|
|
749
|
+
export declare namespace ToolMessage$ {
|
|
750
|
+
/** @deprecated use `ToolMessage$inboundSchema` instead. */
|
|
751
|
+
const inboundSchema: z.ZodType<ToolMessage, z.ZodTypeDef, unknown>;
|
|
752
|
+
/** @deprecated use `ToolMessage$outboundSchema` instead. */
|
|
753
|
+
const outboundSchema: z.ZodType<ToolMessage$Outbound, z.ZodTypeDef, ToolMessage>;
|
|
754
|
+
/** @deprecated use `ToolMessage$Outbound` instead. */
|
|
755
|
+
type Outbound = ToolMessage$Outbound;
|
|
756
756
|
}
|
|
757
|
-
export declare function
|
|
758
|
-
export declare function
|
|
757
|
+
export declare function toolMessageToJSON(toolMessage: ToolMessage): string;
|
|
758
|
+
export declare function toolMessageFromJSON(jsonString: string): SafeParseResult<ToolMessage, SDKValidationError>;
|
|
759
759
|
/** @internal */
|
|
760
760
|
export declare const Deployments2PrefixMessages4Type$inboundSchema: z.ZodNativeEnum<typeof Deployments2PrefixMessages4Type>;
|
|
761
761
|
/** @internal */
|
|
@@ -775,28 +775,28 @@ export declare namespace Deployments2PrefixMessages4Type$ {
|
|
|
775
775
|
}>;
|
|
776
776
|
}
|
|
777
777
|
/** @internal */
|
|
778
|
-
export declare const
|
|
778
|
+
export declare const RefusalContentPart$inboundSchema: z.ZodType<RefusalContentPart, z.ZodTypeDef, unknown>;
|
|
779
779
|
/** @internal */
|
|
780
|
-
export type
|
|
780
|
+
export type RefusalContentPart$Outbound = {
|
|
781
781
|
type: string;
|
|
782
782
|
refusal: string;
|
|
783
783
|
};
|
|
784
784
|
/** @internal */
|
|
785
|
-
export declare const
|
|
785
|
+
export declare const RefusalContentPart$outboundSchema: z.ZodType<RefusalContentPart$Outbound, z.ZodTypeDef, RefusalContentPart>;
|
|
786
786
|
/**
|
|
787
787
|
* @internal
|
|
788
788
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
789
789
|
*/
|
|
790
|
-
export declare namespace
|
|
791
|
-
/** @deprecated use `
|
|
792
|
-
const inboundSchema: z.ZodType<
|
|
793
|
-
/** @deprecated use `
|
|
794
|
-
const outboundSchema: z.ZodType<
|
|
795
|
-
/** @deprecated use `
|
|
796
|
-
type Outbound =
|
|
790
|
+
export declare namespace RefusalContentPart$ {
|
|
791
|
+
/** @deprecated use `RefusalContentPart$inboundSchema` instead. */
|
|
792
|
+
const inboundSchema: z.ZodType<RefusalContentPart, z.ZodTypeDef, unknown>;
|
|
793
|
+
/** @deprecated use `RefusalContentPart$outboundSchema` instead. */
|
|
794
|
+
const outboundSchema: z.ZodType<RefusalContentPart$Outbound, z.ZodTypeDef, RefusalContentPart>;
|
|
795
|
+
/** @deprecated use `RefusalContentPart$Outbound` instead. */
|
|
796
|
+
type Outbound = RefusalContentPart$Outbound;
|
|
797
797
|
}
|
|
798
|
-
export declare function
|
|
799
|
-
export declare function
|
|
798
|
+
export declare function refusalContentPartToJSON(refusalContentPart: RefusalContentPart): string;
|
|
799
|
+
export declare function refusalContentPartFromJSON(jsonString: string): SafeParseResult<RefusalContentPart, SDKValidationError>;
|
|
800
800
|
/** @internal */
|
|
801
801
|
export declare const Deployments2PrefixMessagesType$inboundSchema: z.ZodNativeEnum<typeof Deployments2PrefixMessagesType>;
|
|
802
802
|
/** @internal */
|
|
@@ -816,52 +816,52 @@ export declare namespace Deployments2PrefixMessagesType$ {
|
|
|
816
816
|
}>;
|
|
817
817
|
}
|
|
818
818
|
/** @internal */
|
|
819
|
-
export declare const
|
|
819
|
+
export declare const TextContentPart$inboundSchema: z.ZodType<TextContentPart, z.ZodTypeDef, unknown>;
|
|
820
820
|
/** @internal */
|
|
821
|
-
export type
|
|
821
|
+
export type TextContentPart$Outbound = {
|
|
822
822
|
type: string;
|
|
823
823
|
text: string;
|
|
824
824
|
};
|
|
825
825
|
/** @internal */
|
|
826
|
-
export declare const
|
|
826
|
+
export declare const TextContentPart$outboundSchema: z.ZodType<TextContentPart$Outbound, z.ZodTypeDef, TextContentPart>;
|
|
827
827
|
/**
|
|
828
828
|
* @internal
|
|
829
829
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
830
830
|
*/
|
|
831
|
-
export declare namespace
|
|
832
|
-
/** @deprecated use `
|
|
833
|
-
const inboundSchema: z.ZodType<
|
|
834
|
-
/** @deprecated use `
|
|
835
|
-
const outboundSchema: z.ZodType<
|
|
836
|
-
/** @deprecated use `
|
|
837
|
-
type Outbound =
|
|
831
|
+
export declare namespace TextContentPart$ {
|
|
832
|
+
/** @deprecated use `TextContentPart$inboundSchema` instead. */
|
|
833
|
+
const inboundSchema: z.ZodType<TextContentPart, z.ZodTypeDef, unknown>;
|
|
834
|
+
/** @deprecated use `TextContentPart$outboundSchema` instead. */
|
|
835
|
+
const outboundSchema: z.ZodType<TextContentPart$Outbound, z.ZodTypeDef, TextContentPart>;
|
|
836
|
+
/** @deprecated use `TextContentPart$Outbound` instead. */
|
|
837
|
+
type Outbound = TextContentPart$Outbound;
|
|
838
838
|
}
|
|
839
|
-
export declare function
|
|
840
|
-
export declare function
|
|
839
|
+
export declare function textContentPartToJSON(textContentPart: TextContentPart): string;
|
|
840
|
+
export declare function textContentPartFromJSON(jsonString: string): SafeParseResult<TextContentPart, SDKValidationError>;
|
|
841
841
|
/** @internal */
|
|
842
|
-
export declare const
|
|
842
|
+
export declare const Content2$inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
|
|
843
843
|
/** @internal */
|
|
844
|
-
export type
|
|
844
|
+
export type Content2$Outbound = TextContentPart$Outbound | RefusalContentPart$Outbound;
|
|
845
845
|
/** @internal */
|
|
846
|
-
export declare const
|
|
846
|
+
export declare const Content2$outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
|
|
847
847
|
/**
|
|
848
848
|
* @internal
|
|
849
849
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
850
850
|
*/
|
|
851
|
-
export declare namespace
|
|
852
|
-
/** @deprecated use `
|
|
853
|
-
const inboundSchema: z.ZodType<
|
|
854
|
-
/** @deprecated use `
|
|
855
|
-
const outboundSchema: z.ZodType<
|
|
856
|
-
/** @deprecated use `
|
|
857
|
-
type Outbound =
|
|
851
|
+
export declare namespace Content2$ {
|
|
852
|
+
/** @deprecated use `Content2$inboundSchema` instead. */
|
|
853
|
+
const inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
|
|
854
|
+
/** @deprecated use `Content2$outboundSchema` instead. */
|
|
855
|
+
const outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
|
|
856
|
+
/** @deprecated use `Content2$Outbound` instead. */
|
|
857
|
+
type Outbound = Content2$Outbound;
|
|
858
858
|
}
|
|
859
|
-
export declare function
|
|
860
|
-
export declare function
|
|
859
|
+
export declare function content2ToJSON(content2: Content2): string;
|
|
860
|
+
export declare function content2FromJSON(jsonString: string): SafeParseResult<Content2, SDKValidationError>;
|
|
861
861
|
/** @internal */
|
|
862
862
|
export declare const PrefixMessagesContent$inboundSchema: z.ZodType<PrefixMessagesContent, z.ZodTypeDef, unknown>;
|
|
863
863
|
/** @internal */
|
|
864
|
-
export type PrefixMessagesContent$Outbound = string | Array<
|
|
864
|
+
export type PrefixMessagesContent$Outbound = string | Array<TextContentPart$Outbound | RefusalContentPart$Outbound>;
|
|
865
865
|
/** @internal */
|
|
866
866
|
export declare const PrefixMessagesContent$outboundSchema: z.ZodType<PrefixMessagesContent$Outbound, z.ZodTypeDef, PrefixMessagesContent>;
|
|
867
867
|
/**
|
|
@@ -984,10 +984,10 @@ export declare namespace ToolCalls$ {
|
|
|
984
984
|
export declare function toolCallsToJSON(toolCalls: ToolCalls): string;
|
|
985
985
|
export declare function toolCallsFromJSON(jsonString: string): SafeParseResult<ToolCalls, SDKValidationError>;
|
|
986
986
|
/** @internal */
|
|
987
|
-
export declare const
|
|
987
|
+
export declare const AssistantMessage$inboundSchema: z.ZodType<AssistantMessage, z.ZodTypeDef, unknown>;
|
|
988
988
|
/** @internal */
|
|
989
|
-
export type
|
|
990
|
-
content?: string | Array<
|
|
989
|
+
export type AssistantMessage$Outbound = {
|
|
990
|
+
content?: string | Array<TextContentPart$Outbound | RefusalContentPart$Outbound> | undefined;
|
|
991
991
|
refusal?: string | null | undefined;
|
|
992
992
|
role: string;
|
|
993
993
|
name?: string | undefined;
|
|
@@ -995,21 +995,21 @@ export type Four$Outbound = {
|
|
|
995
995
|
tool_calls?: Array<ToolCalls$Outbound> | undefined;
|
|
996
996
|
};
|
|
997
997
|
/** @internal */
|
|
998
|
-
export declare const
|
|
998
|
+
export declare const AssistantMessage$outboundSchema: z.ZodType<AssistantMessage$Outbound, z.ZodTypeDef, AssistantMessage>;
|
|
999
999
|
/**
|
|
1000
1000
|
* @internal
|
|
1001
1001
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1002
1002
|
*/
|
|
1003
|
-
export declare namespace
|
|
1004
|
-
/** @deprecated use `
|
|
1005
|
-
const inboundSchema: z.ZodType<
|
|
1006
|
-
/** @deprecated use `
|
|
1007
|
-
const outboundSchema: z.ZodType<
|
|
1008
|
-
/** @deprecated use `
|
|
1009
|
-
type Outbound =
|
|
1003
|
+
export declare namespace AssistantMessage$ {
|
|
1004
|
+
/** @deprecated use `AssistantMessage$inboundSchema` instead. */
|
|
1005
|
+
const inboundSchema: z.ZodType<AssistantMessage, z.ZodTypeDef, unknown>;
|
|
1006
|
+
/** @deprecated use `AssistantMessage$outboundSchema` instead. */
|
|
1007
|
+
const outboundSchema: z.ZodType<AssistantMessage$Outbound, z.ZodTypeDef, AssistantMessage>;
|
|
1008
|
+
/** @deprecated use `AssistantMessage$Outbound` instead. */
|
|
1009
|
+
type Outbound = AssistantMessage$Outbound;
|
|
1010
1010
|
}
|
|
1011
|
-
export declare function
|
|
1012
|
-
export declare function
|
|
1011
|
+
export declare function assistantMessageToJSON(assistantMessage: AssistantMessage): string;
|
|
1012
|
+
export declare function assistantMessageFromJSON(jsonString: string): SafeParseResult<AssistantMessage, SDKValidationError>;
|
|
1013
1013
|
/** @internal */
|
|
1014
1014
|
export declare const DeploymentsPrefixMessagesRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentsPrefixMessagesRole>;
|
|
1015
1015
|
/** @internal */
|
|
@@ -1090,28 +1090,28 @@ export declare namespace InputAudio$ {
|
|
|
1090
1090
|
export declare function inputAudioToJSON(inputAudio: InputAudio): string;
|
|
1091
1091
|
export declare function inputAudioFromJSON(jsonString: string): SafeParseResult<InputAudio, SDKValidationError>;
|
|
1092
1092
|
/** @internal */
|
|
1093
|
-
export declare const
|
|
1093
|
+
export declare const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown>;
|
|
1094
1094
|
/** @internal */
|
|
1095
|
-
export type
|
|
1095
|
+
export type Three$Outbound = {
|
|
1096
1096
|
type: string;
|
|
1097
1097
|
input_audio: InputAudio$Outbound;
|
|
1098
1098
|
};
|
|
1099
1099
|
/** @internal */
|
|
1100
|
-
export declare const
|
|
1100
|
+
export declare const Three$outboundSchema: z.ZodType<Three$Outbound, z.ZodTypeDef, Three>;
|
|
1101
1101
|
/**
|
|
1102
1102
|
* @internal
|
|
1103
1103
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1104
1104
|
*/
|
|
1105
|
-
export declare namespace
|
|
1106
|
-
/** @deprecated use `
|
|
1107
|
-
const inboundSchema: z.ZodType<
|
|
1108
|
-
/** @deprecated use `
|
|
1109
|
-
const outboundSchema: z.ZodType<
|
|
1110
|
-
/** @deprecated use `
|
|
1111
|
-
type Outbound =
|
|
1105
|
+
export declare namespace Three$ {
|
|
1106
|
+
/** @deprecated use `Three$inboundSchema` instead. */
|
|
1107
|
+
const inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown>;
|
|
1108
|
+
/** @deprecated use `Three$outboundSchema` instead. */
|
|
1109
|
+
const outboundSchema: z.ZodType<Three$Outbound, z.ZodTypeDef, Three>;
|
|
1110
|
+
/** @deprecated use `Three$Outbound` instead. */
|
|
1111
|
+
type Outbound = Three$Outbound;
|
|
1112
1112
|
}
|
|
1113
|
-
export declare function
|
|
1114
|
-
export declare function
|
|
1113
|
+
export declare function threeToJSON(three: Three): string;
|
|
1114
|
+
export declare function threeFromJSON(jsonString: string): SafeParseResult<Three, SDKValidationError>;
|
|
1115
1115
|
/** @internal */
|
|
1116
1116
|
export declare const TwoType$inboundSchema: z.ZodNativeEnum<typeof TwoType>;
|
|
1117
1117
|
/** @internal */
|
|
@@ -1217,52 +1217,52 @@ export declare namespace Deployments2PrefixMessages3Type$ {
|
|
|
1217
1217
|
}>;
|
|
1218
1218
|
}
|
|
1219
1219
|
/** @internal */
|
|
1220
|
-
export declare const
|
|
1220
|
+
export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
1221
1221
|
/** @internal */
|
|
1222
|
-
export type
|
|
1222
|
+
export type One$Outbound = {
|
|
1223
1223
|
type: string;
|
|
1224
1224
|
text: string;
|
|
1225
1225
|
};
|
|
1226
1226
|
/** @internal */
|
|
1227
|
-
export declare const
|
|
1227
|
+
export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
1228
1228
|
/**
|
|
1229
1229
|
* @internal
|
|
1230
1230
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1231
1231
|
*/
|
|
1232
|
-
export declare namespace
|
|
1233
|
-
/** @deprecated use `
|
|
1234
|
-
const inboundSchema: z.ZodType<
|
|
1235
|
-
/** @deprecated use `
|
|
1236
|
-
const outboundSchema: z.ZodType<
|
|
1237
|
-
/** @deprecated use `
|
|
1238
|
-
type Outbound =
|
|
1232
|
+
export declare namespace One$ {
|
|
1233
|
+
/** @deprecated use `One$inboundSchema` instead. */
|
|
1234
|
+
const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
1235
|
+
/** @deprecated use `One$outboundSchema` instead. */
|
|
1236
|
+
const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
1237
|
+
/** @deprecated use `One$Outbound` instead. */
|
|
1238
|
+
type Outbound = One$Outbound;
|
|
1239
1239
|
}
|
|
1240
|
-
export declare function
|
|
1241
|
-
export declare function
|
|
1240
|
+
export declare function oneToJSON(one: One): string;
|
|
1241
|
+
export declare function oneFromJSON(jsonString: string): SafeParseResult<One, SDKValidationError>;
|
|
1242
1242
|
/** @internal */
|
|
1243
|
-
export declare const
|
|
1243
|
+
export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
1244
1244
|
/** @internal */
|
|
1245
|
-
export type
|
|
1245
|
+
export type Two$Outbound = One$Outbound | Two2$Outbound | Three$Outbound;
|
|
1246
1246
|
/** @internal */
|
|
1247
|
-
export declare const
|
|
1247
|
+
export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
1248
1248
|
/**
|
|
1249
1249
|
* @internal
|
|
1250
1250
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1251
1251
|
*/
|
|
1252
|
-
export declare namespace
|
|
1253
|
-
/** @deprecated use `
|
|
1254
|
-
const inboundSchema: z.ZodType<
|
|
1255
|
-
/** @deprecated use `
|
|
1256
|
-
const outboundSchema: z.ZodType<
|
|
1257
|
-
/** @deprecated use `
|
|
1258
|
-
type Outbound =
|
|
1252
|
+
export declare namespace Two$ {
|
|
1253
|
+
/** @deprecated use `Two$inboundSchema` instead. */
|
|
1254
|
+
const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
1255
|
+
/** @deprecated use `Two$outboundSchema` instead. */
|
|
1256
|
+
const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
1257
|
+
/** @deprecated use `Two$Outbound` instead. */
|
|
1258
|
+
type Outbound = Two$Outbound;
|
|
1259
1259
|
}
|
|
1260
|
-
export declare function
|
|
1261
|
-
export declare function
|
|
1260
|
+
export declare function twoToJSON(two: Two): string;
|
|
1261
|
+
export declare function twoFromJSON(jsonString: string): SafeParseResult<Two, SDKValidationError>;
|
|
1262
1262
|
/** @internal */
|
|
1263
1263
|
export declare const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown>;
|
|
1264
1264
|
/** @internal */
|
|
1265
|
-
export type Content$Outbound = string | Array<
|
|
1265
|
+
export type Content$Outbound = string | Array<One$Outbound | Two2$Outbound | Three$Outbound>;
|
|
1266
1266
|
/** @internal */
|
|
1267
1267
|
export declare const Content$outboundSchema: z.ZodType<Content$Outbound, z.ZodTypeDef, Content>;
|
|
1268
1268
|
/**
|
|
@@ -1280,29 +1280,29 @@ export declare namespace Content$ {
|
|
|
1280
1280
|
export declare function contentToJSON(content: Content): string;
|
|
1281
1281
|
export declare function contentFromJSON(jsonString: string): SafeParseResult<Content, SDKValidationError>;
|
|
1282
1282
|
/** @internal */
|
|
1283
|
-
export declare const
|
|
1283
|
+
export declare const UserMessage$inboundSchema: z.ZodType<UserMessage, z.ZodTypeDef, unknown>;
|
|
1284
1284
|
/** @internal */
|
|
1285
|
-
export type
|
|
1285
|
+
export type UserMessage$Outbound = {
|
|
1286
1286
|
role: string;
|
|
1287
1287
|
name?: string | undefined;
|
|
1288
|
-
content: string | Array<
|
|
1288
|
+
content: string | Array<One$Outbound | Two2$Outbound | Three$Outbound>;
|
|
1289
1289
|
};
|
|
1290
1290
|
/** @internal */
|
|
1291
|
-
export declare const
|
|
1291
|
+
export declare const UserMessage$outboundSchema: z.ZodType<UserMessage$Outbound, z.ZodTypeDef, UserMessage>;
|
|
1292
1292
|
/**
|
|
1293
1293
|
* @internal
|
|
1294
1294
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1295
1295
|
*/
|
|
1296
|
-
export declare namespace
|
|
1297
|
-
/** @deprecated use `
|
|
1298
|
-
const inboundSchema: z.ZodType<
|
|
1299
|
-
/** @deprecated use `
|
|
1300
|
-
const outboundSchema: z.ZodType<
|
|
1301
|
-
/** @deprecated use `
|
|
1302
|
-
type Outbound =
|
|
1296
|
+
export declare namespace UserMessage$ {
|
|
1297
|
+
/** @deprecated use `UserMessage$inboundSchema` instead. */
|
|
1298
|
+
const inboundSchema: z.ZodType<UserMessage, z.ZodTypeDef, unknown>;
|
|
1299
|
+
/** @deprecated use `UserMessage$outboundSchema` instead. */
|
|
1300
|
+
const outboundSchema: z.ZodType<UserMessage$Outbound, z.ZodTypeDef, UserMessage>;
|
|
1301
|
+
/** @deprecated use `UserMessage$Outbound` instead. */
|
|
1302
|
+
type Outbound = UserMessage$Outbound;
|
|
1303
1303
|
}
|
|
1304
|
-
export declare function
|
|
1305
|
-
export declare function
|
|
1304
|
+
export declare function userMessageToJSON(userMessage: UserMessage): string;
|
|
1305
|
+
export declare function userMessageFromJSON(jsonString: string): SafeParseResult<UserMessage, SDKValidationError>;
|
|
1306
1306
|
/** @internal */
|
|
1307
1307
|
export declare const PrefixMessagesRole$inboundSchema: z.ZodNativeEnum<typeof PrefixMessagesRole>;
|
|
1308
1308
|
/** @internal */
|
|
@@ -1322,29 +1322,29 @@ export declare namespace PrefixMessagesRole$ {
|
|
|
1322
1322
|
}>;
|
|
1323
1323
|
}
|
|
1324
1324
|
/** @internal */
|
|
1325
|
-
export declare const
|
|
1325
|
+
export declare const SystemMessage$inboundSchema: z.ZodType<SystemMessage, z.ZodTypeDef, unknown>;
|
|
1326
1326
|
/** @internal */
|
|
1327
|
-
export type
|
|
1327
|
+
export type SystemMessage$Outbound = {
|
|
1328
1328
|
role: string;
|
|
1329
1329
|
content: string;
|
|
1330
1330
|
name?: string | undefined;
|
|
1331
1331
|
};
|
|
1332
1332
|
/** @internal */
|
|
1333
|
-
export declare const
|
|
1333
|
+
export declare const SystemMessage$outboundSchema: z.ZodType<SystemMessage$Outbound, z.ZodTypeDef, SystemMessage>;
|
|
1334
1334
|
/**
|
|
1335
1335
|
* @internal
|
|
1336
1336
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1337
1337
|
*/
|
|
1338
|
-
export declare namespace
|
|
1339
|
-
/** @deprecated use `
|
|
1340
|
-
const inboundSchema: z.ZodType<
|
|
1341
|
-
/** @deprecated use `
|
|
1342
|
-
const outboundSchema: z.ZodType<
|
|
1343
|
-
/** @deprecated use `
|
|
1344
|
-
type Outbound =
|
|
1338
|
+
export declare namespace SystemMessage$ {
|
|
1339
|
+
/** @deprecated use `SystemMessage$inboundSchema` instead. */
|
|
1340
|
+
const inboundSchema: z.ZodType<SystemMessage, z.ZodTypeDef, unknown>;
|
|
1341
|
+
/** @deprecated use `SystemMessage$outboundSchema` instead. */
|
|
1342
|
+
const outboundSchema: z.ZodType<SystemMessage$Outbound, z.ZodTypeDef, SystemMessage>;
|
|
1343
|
+
/** @deprecated use `SystemMessage$Outbound` instead. */
|
|
1344
|
+
type Outbound = SystemMessage$Outbound;
|
|
1345
1345
|
}
|
|
1346
|
-
export declare function
|
|
1347
|
-
export declare function
|
|
1346
|
+
export declare function systemMessageToJSON(systemMessage: SystemMessage): string;
|
|
1347
|
+
export declare function systemMessageFromJSON(jsonString: string): SafeParseResult<SystemMessage, SDKValidationError>;
|
|
1348
1348
|
/** @internal */
|
|
1349
1349
|
export declare const Role$inboundSchema: z.ZodNativeEnum<typeof Role>;
|
|
1350
1350
|
/** @internal */
|
|
@@ -1364,33 +1364,33 @@ export declare namespace Role$ {
|
|
|
1364
1364
|
}>;
|
|
1365
1365
|
}
|
|
1366
1366
|
/** @internal */
|
|
1367
|
-
export declare const
|
|
1367
|
+
export declare const DeveloperMessage$inboundSchema: z.ZodType<DeveloperMessage, z.ZodTypeDef, unknown>;
|
|
1368
1368
|
/** @internal */
|
|
1369
|
-
export type
|
|
1369
|
+
export type DeveloperMessage$Outbound = {
|
|
1370
1370
|
role: string;
|
|
1371
1371
|
content: string;
|
|
1372
1372
|
name?: string | undefined;
|
|
1373
1373
|
};
|
|
1374
1374
|
/** @internal */
|
|
1375
|
-
export declare const
|
|
1375
|
+
export declare const DeveloperMessage$outboundSchema: z.ZodType<DeveloperMessage$Outbound, z.ZodTypeDef, DeveloperMessage>;
|
|
1376
1376
|
/**
|
|
1377
1377
|
* @internal
|
|
1378
1378
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1379
1379
|
*/
|
|
1380
|
-
export declare namespace
|
|
1381
|
-
/** @deprecated use `
|
|
1382
|
-
const inboundSchema: z.ZodType<
|
|
1383
|
-
/** @deprecated use `
|
|
1384
|
-
const outboundSchema: z.ZodType<
|
|
1385
|
-
/** @deprecated use `
|
|
1386
|
-
type Outbound =
|
|
1380
|
+
export declare namespace DeveloperMessage$ {
|
|
1381
|
+
/** @deprecated use `DeveloperMessage$inboundSchema` instead. */
|
|
1382
|
+
const inboundSchema: z.ZodType<DeveloperMessage, z.ZodTypeDef, unknown>;
|
|
1383
|
+
/** @deprecated use `DeveloperMessage$outboundSchema` instead. */
|
|
1384
|
+
const outboundSchema: z.ZodType<DeveloperMessage$Outbound, z.ZodTypeDef, DeveloperMessage>;
|
|
1385
|
+
/** @deprecated use `DeveloperMessage$Outbound` instead. */
|
|
1386
|
+
type Outbound = DeveloperMessage$Outbound;
|
|
1387
1387
|
}
|
|
1388
|
-
export declare function
|
|
1389
|
-
export declare function
|
|
1388
|
+
export declare function developerMessageToJSON(developerMessage: DeveloperMessage): string;
|
|
1389
|
+
export declare function developerMessageFromJSON(jsonString: string): SafeParseResult<DeveloperMessage, SDKValidationError>;
|
|
1390
1390
|
/** @internal */
|
|
1391
1391
|
export declare const PrefixMessages$inboundSchema: z.ZodType<PrefixMessages, z.ZodTypeDef, unknown>;
|
|
1392
1392
|
/** @internal */
|
|
1393
|
-
export type PrefixMessages$Outbound =
|
|
1393
|
+
export type PrefixMessages$Outbound = DeveloperMessage$Outbound | SystemMessage$Outbound | UserMessage$Outbound | ToolMessage$Outbound | AssistantMessage$Outbound;
|
|
1394
1394
|
/** @internal */
|
|
1395
1395
|
export declare const PrefixMessages$outboundSchema: z.ZodType<PrefixMessages$Outbound, z.ZodTypeDef, PrefixMessages>;
|
|
1396
1396
|
/**
|
|
@@ -1446,29 +1446,29 @@ export declare namespace DeploymentsMessages5Content$ {
|
|
|
1446
1446
|
export declare function deploymentsMessages5ContentToJSON(deploymentsMessages5Content: DeploymentsMessages5Content): string;
|
|
1447
1447
|
export declare function deploymentsMessages5ContentFromJSON(jsonString: string): SafeParseResult<DeploymentsMessages5Content, SDKValidationError>;
|
|
1448
1448
|
/** @internal */
|
|
1449
|
-
export declare const
|
|
1449
|
+
export declare const MessagesToolMessage$inboundSchema: z.ZodType<MessagesToolMessage, z.ZodTypeDef, unknown>;
|
|
1450
1450
|
/** @internal */
|
|
1451
|
-
export type
|
|
1451
|
+
export type MessagesToolMessage$Outbound = {
|
|
1452
1452
|
role: string;
|
|
1453
1453
|
content: string | Array<string>;
|
|
1454
1454
|
tool_call_id: string;
|
|
1455
1455
|
};
|
|
1456
1456
|
/** @internal */
|
|
1457
|
-
export declare const
|
|
1457
|
+
export declare const MessagesToolMessage$outboundSchema: z.ZodType<MessagesToolMessage$Outbound, z.ZodTypeDef, MessagesToolMessage>;
|
|
1458
1458
|
/**
|
|
1459
1459
|
* @internal
|
|
1460
1460
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1461
1461
|
*/
|
|
1462
|
-
export declare namespace
|
|
1463
|
-
/** @deprecated use `
|
|
1464
|
-
const inboundSchema: z.ZodType<
|
|
1465
|
-
/** @deprecated use `
|
|
1466
|
-
const outboundSchema: z.ZodType<
|
|
1467
|
-
/** @deprecated use `
|
|
1468
|
-
type Outbound =
|
|
1462
|
+
export declare namespace MessagesToolMessage$ {
|
|
1463
|
+
/** @deprecated use `MessagesToolMessage$inboundSchema` instead. */
|
|
1464
|
+
const inboundSchema: z.ZodType<MessagesToolMessage, z.ZodTypeDef, unknown>;
|
|
1465
|
+
/** @deprecated use `MessagesToolMessage$outboundSchema` instead. */
|
|
1466
|
+
const outboundSchema: z.ZodType<MessagesToolMessage$Outbound, z.ZodTypeDef, MessagesToolMessage>;
|
|
1467
|
+
/** @deprecated use `MessagesToolMessage$Outbound` instead. */
|
|
1468
|
+
type Outbound = MessagesToolMessage$Outbound;
|
|
1469
1469
|
}
|
|
1470
|
-
export declare function
|
|
1471
|
-
export declare function
|
|
1470
|
+
export declare function messagesToolMessageToJSON(messagesToolMessage: MessagesToolMessage): string;
|
|
1471
|
+
export declare function messagesToolMessageFromJSON(jsonString: string): SafeParseResult<MessagesToolMessage, SDKValidationError>;
|
|
1472
1472
|
/** @internal */
|
|
1473
1473
|
export declare const Deployments2Messages4ContentType$inboundSchema: z.ZodNativeEnum<typeof Deployments2Messages4ContentType>;
|
|
1474
1474
|
/** @internal */
|
|
@@ -1488,28 +1488,28 @@ export declare namespace Deployments2Messages4ContentType$ {
|
|
|
1488
1488
|
}>;
|
|
1489
1489
|
}
|
|
1490
1490
|
/** @internal */
|
|
1491
|
-
export declare const
|
|
1491
|
+
export declare const TwoRefusalContentPart$inboundSchema: z.ZodType<TwoRefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1492
1492
|
/** @internal */
|
|
1493
|
-
export type
|
|
1493
|
+
export type TwoRefusalContentPart$Outbound = {
|
|
1494
1494
|
type: string;
|
|
1495
1495
|
refusal: string;
|
|
1496
1496
|
};
|
|
1497
1497
|
/** @internal */
|
|
1498
|
-
export declare const
|
|
1498
|
+
export declare const TwoRefusalContentPart$outboundSchema: z.ZodType<TwoRefusalContentPart$Outbound, z.ZodTypeDef, TwoRefusalContentPart>;
|
|
1499
1499
|
/**
|
|
1500
1500
|
* @internal
|
|
1501
1501
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1502
1502
|
*/
|
|
1503
|
-
export declare namespace
|
|
1504
|
-
/** @deprecated use `
|
|
1505
|
-
const inboundSchema: z.ZodType<
|
|
1506
|
-
/** @deprecated use `
|
|
1507
|
-
const outboundSchema: z.ZodType<
|
|
1508
|
-
/** @deprecated use `
|
|
1509
|
-
type Outbound =
|
|
1503
|
+
export declare namespace TwoRefusalContentPart$ {
|
|
1504
|
+
/** @deprecated use `TwoRefusalContentPart$inboundSchema` instead. */
|
|
1505
|
+
const inboundSchema: z.ZodType<TwoRefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1506
|
+
/** @deprecated use `TwoRefusalContentPart$outboundSchema` instead. */
|
|
1507
|
+
const outboundSchema: z.ZodType<TwoRefusalContentPart$Outbound, z.ZodTypeDef, TwoRefusalContentPart>;
|
|
1508
|
+
/** @deprecated use `TwoRefusalContentPart$Outbound` instead. */
|
|
1509
|
+
type Outbound = TwoRefusalContentPart$Outbound;
|
|
1510
1510
|
}
|
|
1511
|
-
export declare function
|
|
1512
|
-
export declare function
|
|
1511
|
+
export declare function twoRefusalContentPartToJSON(twoRefusalContentPart: TwoRefusalContentPart): string;
|
|
1512
|
+
export declare function twoRefusalContentPartFromJSON(jsonString: string): SafeParseResult<TwoRefusalContentPart, SDKValidationError>;
|
|
1513
1513
|
/** @internal */
|
|
1514
1514
|
export declare const Deployments2Messages4Type$inboundSchema: z.ZodNativeEnum<typeof Deployments2Messages4Type>;
|
|
1515
1515
|
/** @internal */
|
|
@@ -1529,52 +1529,52 @@ export declare namespace Deployments2Messages4Type$ {
|
|
|
1529
1529
|
}>;
|
|
1530
1530
|
}
|
|
1531
1531
|
/** @internal */
|
|
1532
|
-
export declare const
|
|
1532
|
+
export declare const TwoTextContentPart$inboundSchema: z.ZodType<TwoTextContentPart, z.ZodTypeDef, unknown>;
|
|
1533
1533
|
/** @internal */
|
|
1534
|
-
export type
|
|
1534
|
+
export type TwoTextContentPart$Outbound = {
|
|
1535
1535
|
type: string;
|
|
1536
1536
|
text: string;
|
|
1537
1537
|
};
|
|
1538
1538
|
/** @internal */
|
|
1539
|
-
export declare const
|
|
1539
|
+
export declare const TwoTextContentPart$outboundSchema: z.ZodType<TwoTextContentPart$Outbound, z.ZodTypeDef, TwoTextContentPart>;
|
|
1540
1540
|
/**
|
|
1541
1541
|
* @internal
|
|
1542
1542
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1543
1543
|
*/
|
|
1544
|
-
export declare namespace
|
|
1545
|
-
/** @deprecated use `
|
|
1546
|
-
const inboundSchema: z.ZodType<
|
|
1547
|
-
/** @deprecated use `
|
|
1548
|
-
const outboundSchema: z.ZodType<
|
|
1549
|
-
/** @deprecated use `
|
|
1550
|
-
type Outbound =
|
|
1544
|
+
export declare namespace TwoTextContentPart$ {
|
|
1545
|
+
/** @deprecated use `TwoTextContentPart$inboundSchema` instead. */
|
|
1546
|
+
const inboundSchema: z.ZodType<TwoTextContentPart, z.ZodTypeDef, unknown>;
|
|
1547
|
+
/** @deprecated use `TwoTextContentPart$outboundSchema` instead. */
|
|
1548
|
+
const outboundSchema: z.ZodType<TwoTextContentPart$Outbound, z.ZodTypeDef, TwoTextContentPart>;
|
|
1549
|
+
/** @deprecated use `TwoTextContentPart$Outbound` instead. */
|
|
1550
|
+
type Outbound = TwoTextContentPart$Outbound;
|
|
1551
1551
|
}
|
|
1552
|
-
export declare function
|
|
1553
|
-
export declare function
|
|
1552
|
+
export declare function twoTextContentPartToJSON(twoTextContentPart: TwoTextContentPart): string;
|
|
1553
|
+
export declare function twoTextContentPartFromJSON(jsonString: string): SafeParseResult<TwoTextContentPart, SDKValidationError>;
|
|
1554
1554
|
/** @internal */
|
|
1555
|
-
export declare const
|
|
1555
|
+
export declare const DeploymentsContentMessages2$inboundSchema: z.ZodType<DeploymentsContentMessages2, z.ZodTypeDef, unknown>;
|
|
1556
1556
|
/** @internal */
|
|
1557
|
-
export type
|
|
1557
|
+
export type DeploymentsContentMessages2$Outbound = TwoTextContentPart$Outbound | TwoRefusalContentPart$Outbound;
|
|
1558
1558
|
/** @internal */
|
|
1559
|
-
export declare const
|
|
1559
|
+
export declare const DeploymentsContentMessages2$outboundSchema: z.ZodType<DeploymentsContentMessages2$Outbound, z.ZodTypeDef, DeploymentsContentMessages2>;
|
|
1560
1560
|
/**
|
|
1561
1561
|
* @internal
|
|
1562
1562
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1563
1563
|
*/
|
|
1564
|
-
export declare namespace
|
|
1565
|
-
/** @deprecated use `
|
|
1566
|
-
const inboundSchema: z.ZodType<
|
|
1567
|
-
/** @deprecated use `
|
|
1568
|
-
const outboundSchema: z.ZodType<
|
|
1569
|
-
/** @deprecated use `
|
|
1570
|
-
type Outbound =
|
|
1564
|
+
export declare namespace DeploymentsContentMessages2$ {
|
|
1565
|
+
/** @deprecated use `DeploymentsContentMessages2$inboundSchema` instead. */
|
|
1566
|
+
const inboundSchema: z.ZodType<DeploymentsContentMessages2, z.ZodTypeDef, unknown>;
|
|
1567
|
+
/** @deprecated use `DeploymentsContentMessages2$outboundSchema` instead. */
|
|
1568
|
+
const outboundSchema: z.ZodType<DeploymentsContentMessages2$Outbound, z.ZodTypeDef, DeploymentsContentMessages2>;
|
|
1569
|
+
/** @deprecated use `DeploymentsContentMessages2$Outbound` instead. */
|
|
1570
|
+
type Outbound = DeploymentsContentMessages2$Outbound;
|
|
1571
1571
|
}
|
|
1572
|
-
export declare function
|
|
1573
|
-
export declare function
|
|
1572
|
+
export declare function deploymentsContentMessages2ToJSON(deploymentsContentMessages2: DeploymentsContentMessages2): string;
|
|
1573
|
+
export declare function deploymentsContentMessages2FromJSON(jsonString: string): SafeParseResult<DeploymentsContentMessages2, SDKValidationError>;
|
|
1574
1574
|
/** @internal */
|
|
1575
1575
|
export declare const DeploymentsMessagesContent$inboundSchema: z.ZodType<DeploymentsMessagesContent, z.ZodTypeDef, unknown>;
|
|
1576
1576
|
/** @internal */
|
|
1577
|
-
export type DeploymentsMessagesContent$Outbound = string | Array<
|
|
1577
|
+
export type DeploymentsMessagesContent$Outbound = string | Array<TwoTextContentPart$Outbound | TwoRefusalContentPart$Outbound>;
|
|
1578
1578
|
/** @internal */
|
|
1579
1579
|
export declare const DeploymentsMessagesContent$outboundSchema: z.ZodType<DeploymentsMessagesContent$Outbound, z.ZodTypeDef, DeploymentsMessagesContent>;
|
|
1580
1580
|
/**
|
|
@@ -1697,10 +1697,10 @@ export declare namespace MessagesToolCalls$ {
|
|
|
1697
1697
|
export declare function messagesToolCallsToJSON(messagesToolCalls: MessagesToolCalls): string;
|
|
1698
1698
|
export declare function messagesToolCallsFromJSON(jsonString: string): SafeParseResult<MessagesToolCalls, SDKValidationError>;
|
|
1699
1699
|
/** @internal */
|
|
1700
|
-
export declare const
|
|
1700
|
+
export declare const MessagesAssistantMessage$inboundSchema: z.ZodType<MessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1701
1701
|
/** @internal */
|
|
1702
|
-
export type
|
|
1703
|
-
content?: string | Array<
|
|
1702
|
+
export type MessagesAssistantMessage$Outbound = {
|
|
1703
|
+
content?: string | Array<TwoTextContentPart$Outbound | TwoRefusalContentPart$Outbound> | undefined;
|
|
1704
1704
|
refusal?: string | null | undefined;
|
|
1705
1705
|
role: string;
|
|
1706
1706
|
name?: string | undefined;
|
|
@@ -1708,21 +1708,21 @@ export type Messages4$Outbound = {
|
|
|
1708
1708
|
tool_calls?: Array<MessagesToolCalls$Outbound> | undefined;
|
|
1709
1709
|
};
|
|
1710
1710
|
/** @internal */
|
|
1711
|
-
export declare const
|
|
1711
|
+
export declare const MessagesAssistantMessage$outboundSchema: z.ZodType<MessagesAssistantMessage$Outbound, z.ZodTypeDef, MessagesAssistantMessage>;
|
|
1712
1712
|
/**
|
|
1713
1713
|
* @internal
|
|
1714
1714
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1715
1715
|
*/
|
|
1716
|
-
export declare namespace
|
|
1717
|
-
/** @deprecated use `
|
|
1718
|
-
const inboundSchema: z.ZodType<
|
|
1719
|
-
/** @deprecated use `
|
|
1720
|
-
const outboundSchema: z.ZodType<
|
|
1721
|
-
/** @deprecated use `
|
|
1722
|
-
type Outbound =
|
|
1716
|
+
export declare namespace MessagesAssistantMessage$ {
|
|
1717
|
+
/** @deprecated use `MessagesAssistantMessage$inboundSchema` instead. */
|
|
1718
|
+
const inboundSchema: z.ZodType<MessagesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1719
|
+
/** @deprecated use `MessagesAssistantMessage$outboundSchema` instead. */
|
|
1720
|
+
const outboundSchema: z.ZodType<MessagesAssistantMessage$Outbound, z.ZodTypeDef, MessagesAssistantMessage>;
|
|
1721
|
+
/** @deprecated use `MessagesAssistantMessage$Outbound` instead. */
|
|
1722
|
+
type Outbound = MessagesAssistantMessage$Outbound;
|
|
1723
1723
|
}
|
|
1724
|
-
export declare function
|
|
1725
|
-
export declare function
|
|
1724
|
+
export declare function messagesAssistantMessageToJSON(messagesAssistantMessage: MessagesAssistantMessage): string;
|
|
1725
|
+
export declare function messagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<MessagesAssistantMessage, SDKValidationError>;
|
|
1726
1726
|
/** @internal */
|
|
1727
1727
|
export declare const DeploymentsMessages3Role$inboundSchema: z.ZodNativeEnum<typeof DeploymentsMessages3Role>;
|
|
1728
1728
|
/** @internal */
|
|
@@ -1803,28 +1803,28 @@ export declare namespace TwoInputAudio$ {
|
|
|
1803
1803
|
export declare function twoInputAudioToJSON(twoInputAudio: TwoInputAudio): string;
|
|
1804
1804
|
export declare function twoInputAudioFromJSON(jsonString: string): SafeParseResult<TwoInputAudio, SDKValidationError>;
|
|
1805
1805
|
/** @internal */
|
|
1806
|
-
export declare const
|
|
1806
|
+
export declare const Two3$inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown>;
|
|
1807
1807
|
/** @internal */
|
|
1808
|
-
export type
|
|
1808
|
+
export type Two3$Outbound = {
|
|
1809
1809
|
type: string;
|
|
1810
1810
|
input_audio: TwoInputAudio$Outbound;
|
|
1811
1811
|
};
|
|
1812
1812
|
/** @internal */
|
|
1813
|
-
export declare const
|
|
1813
|
+
export declare const Two3$outboundSchema: z.ZodType<Two3$Outbound, z.ZodTypeDef, Two3>;
|
|
1814
1814
|
/**
|
|
1815
1815
|
* @internal
|
|
1816
1816
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1817
1817
|
*/
|
|
1818
|
-
export declare namespace
|
|
1819
|
-
/** @deprecated use `
|
|
1820
|
-
const inboundSchema: z.ZodType<
|
|
1821
|
-
/** @deprecated use `
|
|
1822
|
-
const outboundSchema: z.ZodType<
|
|
1823
|
-
/** @deprecated use `
|
|
1824
|
-
type Outbound =
|
|
1818
|
+
export declare namespace Two3$ {
|
|
1819
|
+
/** @deprecated use `Two3$inboundSchema` instead. */
|
|
1820
|
+
const inboundSchema: z.ZodType<Two3, z.ZodTypeDef, unknown>;
|
|
1821
|
+
/** @deprecated use `Two3$outboundSchema` instead. */
|
|
1822
|
+
const outboundSchema: z.ZodType<Two3$Outbound, z.ZodTypeDef, Two3>;
|
|
1823
|
+
/** @deprecated use `Two3$Outbound` instead. */
|
|
1824
|
+
type Outbound = Two3$Outbound;
|
|
1825
1825
|
}
|
|
1826
|
-
export declare function
|
|
1827
|
-
export declare function
|
|
1826
|
+
export declare function two3ToJSON(two3: Two3): string;
|
|
1827
|
+
export declare function two3FromJSON(jsonString: string): SafeParseResult<Two3, SDKValidationError>;
|
|
1828
1828
|
/** @internal */
|
|
1829
1829
|
export declare const Deployments2Messages3Type$inboundSchema: z.ZodNativeEnum<typeof Deployments2Messages3Type>;
|
|
1830
1830
|
/** @internal */
|
|
@@ -1889,28 +1889,28 @@ export declare namespace TwoImageUrl$ {
|
|
|
1889
1889
|
export declare function twoImageUrlToJSON(twoImageUrl: TwoImageUrl): string;
|
|
1890
1890
|
export declare function twoImageUrlFromJSON(jsonString: string): SafeParseResult<TwoImageUrl, SDKValidationError>;
|
|
1891
1891
|
/** @internal */
|
|
1892
|
-
export declare const
|
|
1892
|
+
export declare const Deployments22$inboundSchema: z.ZodType<Deployments22, z.ZodTypeDef, unknown>;
|
|
1893
1893
|
/** @internal */
|
|
1894
|
-
export type
|
|
1894
|
+
export type Deployments22$Outbound = {
|
|
1895
1895
|
type: string;
|
|
1896
1896
|
image_url: TwoImageUrl$Outbound;
|
|
1897
1897
|
};
|
|
1898
1898
|
/** @internal */
|
|
1899
|
-
export declare const
|
|
1899
|
+
export declare const Deployments22$outboundSchema: z.ZodType<Deployments22$Outbound, z.ZodTypeDef, Deployments22>;
|
|
1900
1900
|
/**
|
|
1901
1901
|
* @internal
|
|
1902
1902
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1903
1903
|
*/
|
|
1904
|
-
export declare namespace
|
|
1905
|
-
/** @deprecated use `
|
|
1906
|
-
const inboundSchema: z.ZodType<
|
|
1907
|
-
/** @deprecated use `
|
|
1908
|
-
const outboundSchema: z.ZodType<
|
|
1909
|
-
/** @deprecated use `
|
|
1910
|
-
type Outbound =
|
|
1904
|
+
export declare namespace Deployments22$ {
|
|
1905
|
+
/** @deprecated use `Deployments22$inboundSchema` instead. */
|
|
1906
|
+
const inboundSchema: z.ZodType<Deployments22, z.ZodTypeDef, unknown>;
|
|
1907
|
+
/** @deprecated use `Deployments22$outboundSchema` instead. */
|
|
1908
|
+
const outboundSchema: z.ZodType<Deployments22$Outbound, z.ZodTypeDef, Deployments22>;
|
|
1909
|
+
/** @deprecated use `Deployments22$Outbound` instead. */
|
|
1910
|
+
type Outbound = Deployments22$Outbound;
|
|
1911
1911
|
}
|
|
1912
|
-
export declare function
|
|
1913
|
-
export declare function
|
|
1912
|
+
export declare function deployments22ToJSON(deployments22: Deployments22): string;
|
|
1913
|
+
export declare function deployments22FromJSON(jsonString: string): SafeParseResult<Deployments22, SDKValidationError>;
|
|
1914
1914
|
/** @internal */
|
|
1915
1915
|
export declare const Deployments2MessagesType$inboundSchema: z.ZodNativeEnum<typeof Deployments2MessagesType>;
|
|
1916
1916
|
/** @internal */
|
|
@@ -1930,52 +1930,52 @@ export declare namespace Deployments2MessagesType$ {
|
|
|
1930
1930
|
}>;
|
|
1931
1931
|
}
|
|
1932
1932
|
/** @internal */
|
|
1933
|
-
export declare const
|
|
1933
|
+
export declare const Two1$inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown>;
|
|
1934
1934
|
/** @internal */
|
|
1935
|
-
export type
|
|
1935
|
+
export type Two1$Outbound = {
|
|
1936
1936
|
type: string;
|
|
1937
1937
|
text: string;
|
|
1938
1938
|
};
|
|
1939
1939
|
/** @internal */
|
|
1940
|
-
export declare const
|
|
1940
|
+
export declare const Two1$outboundSchema: z.ZodType<Two1$Outbound, z.ZodTypeDef, Two1>;
|
|
1941
1941
|
/**
|
|
1942
1942
|
* @internal
|
|
1943
1943
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1944
1944
|
*/
|
|
1945
|
-
export declare namespace
|
|
1946
|
-
/** @deprecated use `
|
|
1947
|
-
const inboundSchema: z.ZodType<
|
|
1948
|
-
/** @deprecated use `
|
|
1949
|
-
const outboundSchema: z.ZodType<
|
|
1950
|
-
/** @deprecated use `
|
|
1951
|
-
type Outbound =
|
|
1945
|
+
export declare namespace Two1$ {
|
|
1946
|
+
/** @deprecated use `Two1$inboundSchema` instead. */
|
|
1947
|
+
const inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown>;
|
|
1948
|
+
/** @deprecated use `Two1$outboundSchema` instead. */
|
|
1949
|
+
const outboundSchema: z.ZodType<Two1$Outbound, z.ZodTypeDef, Two1>;
|
|
1950
|
+
/** @deprecated use `Two1$Outbound` instead. */
|
|
1951
|
+
type Outbound = Two1$Outbound;
|
|
1952
1952
|
}
|
|
1953
|
-
export declare function
|
|
1954
|
-
export declare function
|
|
1953
|
+
export declare function two1ToJSON(two1: Two1): string;
|
|
1954
|
+
export declare function two1FromJSON(jsonString: string): SafeParseResult<Two1, SDKValidationError>;
|
|
1955
1955
|
/** @internal */
|
|
1956
|
-
export declare const
|
|
1956
|
+
export declare const DeploymentsContent2$inboundSchema: z.ZodType<DeploymentsContent2, z.ZodTypeDef, unknown>;
|
|
1957
1957
|
/** @internal */
|
|
1958
|
-
export type
|
|
1958
|
+
export type DeploymentsContent2$Outbound = Two1$Outbound | Deployments22$Outbound | Two3$Outbound;
|
|
1959
1959
|
/** @internal */
|
|
1960
|
-
export declare const
|
|
1960
|
+
export declare const DeploymentsContent2$outboundSchema: z.ZodType<DeploymentsContent2$Outbound, z.ZodTypeDef, DeploymentsContent2>;
|
|
1961
1961
|
/**
|
|
1962
1962
|
* @internal
|
|
1963
1963
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1964
1964
|
*/
|
|
1965
|
-
export declare namespace
|
|
1966
|
-
/** @deprecated use `
|
|
1967
|
-
const inboundSchema: z.ZodType<
|
|
1968
|
-
/** @deprecated use `
|
|
1969
|
-
const outboundSchema: z.ZodType<
|
|
1970
|
-
/** @deprecated use `
|
|
1971
|
-
type Outbound =
|
|
1965
|
+
export declare namespace DeploymentsContent2$ {
|
|
1966
|
+
/** @deprecated use `DeploymentsContent2$inboundSchema` instead. */
|
|
1967
|
+
const inboundSchema: z.ZodType<DeploymentsContent2, z.ZodTypeDef, unknown>;
|
|
1968
|
+
/** @deprecated use `DeploymentsContent2$outboundSchema` instead. */
|
|
1969
|
+
const outboundSchema: z.ZodType<DeploymentsContent2$Outbound, z.ZodTypeDef, DeploymentsContent2>;
|
|
1970
|
+
/** @deprecated use `DeploymentsContent2$Outbound` instead. */
|
|
1971
|
+
type Outbound = DeploymentsContent2$Outbound;
|
|
1972
1972
|
}
|
|
1973
|
-
export declare function
|
|
1974
|
-
export declare function
|
|
1973
|
+
export declare function deploymentsContent2ToJSON(deploymentsContent2: DeploymentsContent2): string;
|
|
1974
|
+
export declare function deploymentsContent2FromJSON(jsonString: string): SafeParseResult<DeploymentsContent2, SDKValidationError>;
|
|
1975
1975
|
/** @internal */
|
|
1976
1976
|
export declare const MessagesContent$inboundSchema: z.ZodType<MessagesContent, z.ZodTypeDef, unknown>;
|
|
1977
1977
|
/** @internal */
|
|
1978
|
-
export type MessagesContent$Outbound = string | Array<
|
|
1978
|
+
export type MessagesContent$Outbound = string | Array<Two1$Outbound | Deployments22$Outbound | Two3$Outbound>;
|
|
1979
1979
|
/** @internal */
|
|
1980
1980
|
export declare const MessagesContent$outboundSchema: z.ZodType<MessagesContent$Outbound, z.ZodTypeDef, MessagesContent>;
|
|
1981
1981
|
/**
|
|
@@ -1993,29 +1993,29 @@ export declare namespace MessagesContent$ {
|
|
|
1993
1993
|
export declare function messagesContentToJSON(messagesContent: MessagesContent): string;
|
|
1994
1994
|
export declare function messagesContentFromJSON(jsonString: string): SafeParseResult<MessagesContent, SDKValidationError>;
|
|
1995
1995
|
/** @internal */
|
|
1996
|
-
export declare const
|
|
1996
|
+
export declare const MessagesUserMessage$inboundSchema: z.ZodType<MessagesUserMessage, z.ZodTypeDef, unknown>;
|
|
1997
1997
|
/** @internal */
|
|
1998
|
-
export type
|
|
1998
|
+
export type MessagesUserMessage$Outbound = {
|
|
1999
1999
|
role: string;
|
|
2000
2000
|
name?: string | undefined;
|
|
2001
|
-
content: string | Array<
|
|
2001
|
+
content: string | Array<Two1$Outbound | Deployments22$Outbound | Two3$Outbound>;
|
|
2002
2002
|
};
|
|
2003
2003
|
/** @internal */
|
|
2004
|
-
export declare const
|
|
2004
|
+
export declare const MessagesUserMessage$outboundSchema: z.ZodType<MessagesUserMessage$Outbound, z.ZodTypeDef, MessagesUserMessage>;
|
|
2005
2005
|
/**
|
|
2006
2006
|
* @internal
|
|
2007
2007
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2008
2008
|
*/
|
|
2009
|
-
export declare namespace
|
|
2010
|
-
/** @deprecated use `
|
|
2011
|
-
const inboundSchema: z.ZodType<
|
|
2012
|
-
/** @deprecated use `
|
|
2013
|
-
const outboundSchema: z.ZodType<
|
|
2014
|
-
/** @deprecated use `
|
|
2015
|
-
type Outbound =
|
|
2009
|
+
export declare namespace MessagesUserMessage$ {
|
|
2010
|
+
/** @deprecated use `MessagesUserMessage$inboundSchema` instead. */
|
|
2011
|
+
const inboundSchema: z.ZodType<MessagesUserMessage, z.ZodTypeDef, unknown>;
|
|
2012
|
+
/** @deprecated use `MessagesUserMessage$outboundSchema` instead. */
|
|
2013
|
+
const outboundSchema: z.ZodType<MessagesUserMessage$Outbound, z.ZodTypeDef, MessagesUserMessage>;
|
|
2014
|
+
/** @deprecated use `MessagesUserMessage$Outbound` instead. */
|
|
2015
|
+
type Outbound = MessagesUserMessage$Outbound;
|
|
2016
2016
|
}
|
|
2017
|
-
export declare function
|
|
2018
|
-
export declare function
|
|
2017
|
+
export declare function messagesUserMessageToJSON(messagesUserMessage: MessagesUserMessage): string;
|
|
2018
|
+
export declare function messagesUserMessageFromJSON(jsonString: string): SafeParseResult<MessagesUserMessage, SDKValidationError>;
|
|
2019
2019
|
/** @internal */
|
|
2020
2020
|
export declare const DeploymentsMessagesRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentsMessagesRole>;
|
|
2021
2021
|
/** @internal */
|
|
@@ -2035,29 +2035,29 @@ export declare namespace DeploymentsMessagesRole$ {
|
|
|
2035
2035
|
}>;
|
|
2036
2036
|
}
|
|
2037
2037
|
/** @internal */
|
|
2038
|
-
export declare const
|
|
2038
|
+
export declare const MessagesSystemMessage$inboundSchema: z.ZodType<MessagesSystemMessage, z.ZodTypeDef, unknown>;
|
|
2039
2039
|
/** @internal */
|
|
2040
|
-
export type
|
|
2040
|
+
export type MessagesSystemMessage$Outbound = {
|
|
2041
2041
|
role: string;
|
|
2042
2042
|
content: string;
|
|
2043
2043
|
name?: string | undefined;
|
|
2044
2044
|
};
|
|
2045
2045
|
/** @internal */
|
|
2046
|
-
export declare const
|
|
2046
|
+
export declare const MessagesSystemMessage$outboundSchema: z.ZodType<MessagesSystemMessage$Outbound, z.ZodTypeDef, MessagesSystemMessage>;
|
|
2047
2047
|
/**
|
|
2048
2048
|
* @internal
|
|
2049
2049
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2050
2050
|
*/
|
|
2051
|
-
export declare namespace
|
|
2052
|
-
/** @deprecated use `
|
|
2053
|
-
const inboundSchema: z.ZodType<
|
|
2054
|
-
/** @deprecated use `
|
|
2055
|
-
const outboundSchema: z.ZodType<
|
|
2056
|
-
/** @deprecated use `
|
|
2057
|
-
type Outbound =
|
|
2051
|
+
export declare namespace MessagesSystemMessage$ {
|
|
2052
|
+
/** @deprecated use `MessagesSystemMessage$inboundSchema` instead. */
|
|
2053
|
+
const inboundSchema: z.ZodType<MessagesSystemMessage, z.ZodTypeDef, unknown>;
|
|
2054
|
+
/** @deprecated use `MessagesSystemMessage$outboundSchema` instead. */
|
|
2055
|
+
const outboundSchema: z.ZodType<MessagesSystemMessage$Outbound, z.ZodTypeDef, MessagesSystemMessage>;
|
|
2056
|
+
/** @deprecated use `MessagesSystemMessage$Outbound` instead. */
|
|
2057
|
+
type Outbound = MessagesSystemMessage$Outbound;
|
|
2058
2058
|
}
|
|
2059
|
-
export declare function
|
|
2060
|
-
export declare function
|
|
2059
|
+
export declare function messagesSystemMessageToJSON(messagesSystemMessage: MessagesSystemMessage): string;
|
|
2060
|
+
export declare function messagesSystemMessageFromJSON(jsonString: string): SafeParseResult<MessagesSystemMessage, SDKValidationError>;
|
|
2061
2061
|
/** @internal */
|
|
2062
2062
|
export declare const MessagesRole$inboundSchema: z.ZodNativeEnum<typeof MessagesRole>;
|
|
2063
2063
|
/** @internal */
|
|
@@ -2077,33 +2077,33 @@ export declare namespace MessagesRole$ {
|
|
|
2077
2077
|
}>;
|
|
2078
2078
|
}
|
|
2079
2079
|
/** @internal */
|
|
2080
|
-
export declare const
|
|
2080
|
+
export declare const MessagesDeveloperMessage$inboundSchema: z.ZodType<MessagesDeveloperMessage, z.ZodTypeDef, unknown>;
|
|
2081
2081
|
/** @internal */
|
|
2082
|
-
export type
|
|
2082
|
+
export type MessagesDeveloperMessage$Outbound = {
|
|
2083
2083
|
role: string;
|
|
2084
2084
|
content: string;
|
|
2085
2085
|
name?: string | undefined;
|
|
2086
2086
|
};
|
|
2087
2087
|
/** @internal */
|
|
2088
|
-
export declare const
|
|
2088
|
+
export declare const MessagesDeveloperMessage$outboundSchema: z.ZodType<MessagesDeveloperMessage$Outbound, z.ZodTypeDef, MessagesDeveloperMessage>;
|
|
2089
2089
|
/**
|
|
2090
2090
|
* @internal
|
|
2091
2091
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2092
2092
|
*/
|
|
2093
|
-
export declare namespace
|
|
2094
|
-
/** @deprecated use `
|
|
2095
|
-
const inboundSchema: z.ZodType<
|
|
2096
|
-
/** @deprecated use `
|
|
2097
|
-
const outboundSchema: z.ZodType<
|
|
2098
|
-
/** @deprecated use `
|
|
2099
|
-
type Outbound =
|
|
2093
|
+
export declare namespace MessagesDeveloperMessage$ {
|
|
2094
|
+
/** @deprecated use `MessagesDeveloperMessage$inboundSchema` instead. */
|
|
2095
|
+
const inboundSchema: z.ZodType<MessagesDeveloperMessage, z.ZodTypeDef, unknown>;
|
|
2096
|
+
/** @deprecated use `MessagesDeveloperMessage$outboundSchema` instead. */
|
|
2097
|
+
const outboundSchema: z.ZodType<MessagesDeveloperMessage$Outbound, z.ZodTypeDef, MessagesDeveloperMessage>;
|
|
2098
|
+
/** @deprecated use `MessagesDeveloperMessage$Outbound` instead. */
|
|
2099
|
+
type Outbound = MessagesDeveloperMessage$Outbound;
|
|
2100
2100
|
}
|
|
2101
|
-
export declare function
|
|
2102
|
-
export declare function
|
|
2101
|
+
export declare function messagesDeveloperMessageToJSON(messagesDeveloperMessage: MessagesDeveloperMessage): string;
|
|
2102
|
+
export declare function messagesDeveloperMessageFromJSON(jsonString: string): SafeParseResult<MessagesDeveloperMessage, SDKValidationError>;
|
|
2103
2103
|
/** @internal */
|
|
2104
2104
|
export declare const Messages$inboundSchema: z.ZodType<Messages, z.ZodTypeDef, unknown>;
|
|
2105
2105
|
/** @internal */
|
|
2106
|
-
export type Messages$Outbound =
|
|
2106
|
+
export type Messages$Outbound = MessagesDeveloperMessage$Outbound | MessagesSystemMessage$Outbound | MessagesUserMessage$Outbound | MessagesToolMessage$Outbound | MessagesAssistantMessage$Outbound;
|
|
2107
2107
|
/** @internal */
|
|
2108
2108
|
export declare const Messages$outboundSchema: z.ZodType<Messages$Outbound, z.ZodTypeDef, Messages>;
|
|
2109
2109
|
/**
|
|
@@ -2200,8 +2200,8 @@ export type Deployments$Outbound = {
|
|
|
2200
2200
|
context?: {
|
|
2201
2201
|
[k: string]: any;
|
|
2202
2202
|
} | undefined;
|
|
2203
|
-
prefix_messages?: Array<
|
|
2204
|
-
messages?: Array<
|
|
2203
|
+
prefix_messages?: Array<DeveloperMessage$Outbound | SystemMessage$Outbound | UserMessage$Outbound | ToolMessage$Outbound | AssistantMessage$Outbound> | undefined;
|
|
2204
|
+
messages?: Array<MessagesDeveloperMessage$Outbound | MessagesSystemMessage$Outbound | MessagesUserMessage$Outbound | MessagesToolMessage$Outbound | MessagesAssistantMessage$Outbound> | undefined;
|
|
2205
2205
|
file_ids?: Array<string> | undefined;
|
|
2206
2206
|
metadata?: {
|
|
2207
2207
|
[k: string]: any;
|