@orq-ai/node 3.2.0-rc.35 → 3.2.0-rc.36
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 +629 -330
- package/bin/mcp-server.js.map +20 -20
- 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/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 +817 -254
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +847 -254
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +262 -190
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +280 -218
- package/models/operations/deploymentinvoke.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/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 +2749 -1231
- package/src/models/operations/deploymentinvoke.ts +458 -407
- 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
|
@@ -323,117 +323,300 @@ export type DeploymentCreateMetricMessagesDeveloperMessage = {
|
|
|
323
323
|
name?: string | undefined;
|
|
324
324
|
};
|
|
325
325
|
export type DeploymentCreateMetricMessages = DeploymentCreateMetricMessagesDeveloperMessage | DeploymentCreateMetricMessagesSystemMessage | DeploymentCreateMetricMessagesUserMessage | DeploymentCreateMetricMessagesToolMessage | DeploymentCreateMetricMessagesAssistantMessage;
|
|
326
|
-
export declare const DeploymentCreateMetricMessageDeploymentsMetricsRequestType: {
|
|
327
|
-
readonly Image: "image";
|
|
328
|
-
};
|
|
329
|
-
export type DeploymentCreateMetricMessageDeploymentsMetricsRequestType = ClosedEnum<typeof DeploymentCreateMetricMessageDeploymentsMetricsRequestType>;
|
|
330
326
|
/**
|
|
331
|
-
* The role of the
|
|
327
|
+
* The role of the messages author, in this case tool.
|
|
332
328
|
*/
|
|
333
|
-
export declare const
|
|
334
|
-
readonly System: "system";
|
|
335
|
-
readonly Assistant: "assistant";
|
|
336
|
-
readonly User: "user";
|
|
337
|
-
readonly Exception: "exception";
|
|
329
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole: {
|
|
338
330
|
readonly Tool: "tool";
|
|
339
|
-
readonly Prompt: "prompt";
|
|
340
|
-
readonly Correction: "correction";
|
|
341
|
-
readonly ExpectedOutput: "expected_output";
|
|
342
331
|
};
|
|
343
332
|
/**
|
|
344
|
-
* The role of the
|
|
333
|
+
* The role of the messages author, in this case tool.
|
|
345
334
|
*/
|
|
346
|
-
export type
|
|
347
|
-
|
|
348
|
-
|
|
335
|
+
export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole = ClosedEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole>;
|
|
336
|
+
/**
|
|
337
|
+
* The contents of the tool message.
|
|
338
|
+
*/
|
|
339
|
+
export type DeploymentCreateMetricChoicesDeploymentsMetricsContent = string | Array<string>;
|
|
340
|
+
export type ChoicesToolMessage = {
|
|
349
341
|
/**
|
|
350
|
-
* The role of the
|
|
342
|
+
* The role of the messages author, in this case tool.
|
|
351
343
|
*/
|
|
352
|
-
role:
|
|
353
|
-
|
|
344
|
+
role: DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole;
|
|
345
|
+
/**
|
|
346
|
+
* The contents of the tool message.
|
|
347
|
+
*/
|
|
348
|
+
content: string | Array<string>;
|
|
349
|
+
/**
|
|
350
|
+
* Tool call that this message is responding to.
|
|
351
|
+
*/
|
|
352
|
+
toolCallId: string;
|
|
354
353
|
};
|
|
355
|
-
|
|
356
|
-
|
|
354
|
+
/**
|
|
355
|
+
* The type of the content part.
|
|
356
|
+
*/
|
|
357
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType: {
|
|
358
|
+
readonly Refusal: "refusal";
|
|
357
359
|
};
|
|
358
|
-
export type DeploymentCreateMetricMessageDeploymentsMetricsType = ClosedEnum<typeof DeploymentCreateMetricMessageDeploymentsMetricsType>;
|
|
359
360
|
/**
|
|
360
|
-
* The
|
|
361
|
+
* The type of the content part.
|
|
361
362
|
*/
|
|
362
|
-
export
|
|
363
|
-
|
|
363
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType>;
|
|
364
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart = {
|
|
365
|
+
/**
|
|
366
|
+
* The type of the content part.
|
|
367
|
+
*/
|
|
368
|
+
type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType;
|
|
369
|
+
/**
|
|
370
|
+
* The refusal message generated by the model.
|
|
371
|
+
*/
|
|
372
|
+
refusal: string;
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* The type of the content part.
|
|
376
|
+
*/
|
|
377
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type: {
|
|
378
|
+
readonly Text: "text";
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* The type of the content part.
|
|
382
|
+
*/
|
|
383
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type>;
|
|
384
|
+
export type DeploymentCreateMetric2DeploymentsMetricsTextContentPart = {
|
|
385
|
+
/**
|
|
386
|
+
* The type of the content part.
|
|
387
|
+
*/
|
|
388
|
+
type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type;
|
|
389
|
+
/**
|
|
390
|
+
* The text content.
|
|
391
|
+
*/
|
|
392
|
+
text: string;
|
|
393
|
+
};
|
|
394
|
+
export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2 = DeploymentCreateMetric2DeploymentsMetricsTextContentPart | DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart;
|
|
395
|
+
/**
|
|
396
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
397
|
+
*/
|
|
398
|
+
export type DeploymentCreateMetricChoicesContent = string | Array<DeploymentCreateMetric2DeploymentsMetricsTextContentPart | DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart>;
|
|
399
|
+
/**
|
|
400
|
+
* The role of the messages author, in this case `assistant`.
|
|
401
|
+
*/
|
|
402
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole: {
|
|
364
403
|
readonly Assistant: "assistant";
|
|
365
|
-
readonly User: "user";
|
|
366
|
-
readonly Exception: "exception";
|
|
367
|
-
readonly Tool: "tool";
|
|
368
|
-
readonly Prompt: "prompt";
|
|
369
|
-
readonly Correction: "correction";
|
|
370
|
-
readonly ExpectedOutput: "expected_output";
|
|
371
404
|
};
|
|
372
405
|
/**
|
|
373
|
-
* The role of the
|
|
406
|
+
* The role of the messages author, in this case `assistant`.
|
|
374
407
|
*/
|
|
375
|
-
export type
|
|
376
|
-
|
|
377
|
-
|
|
408
|
+
export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole = ClosedEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole>;
|
|
409
|
+
/**
|
|
410
|
+
* Data about a previous audio response from the model.
|
|
411
|
+
*/
|
|
412
|
+
export type ChoicesAudio = {
|
|
378
413
|
/**
|
|
379
|
-
*
|
|
414
|
+
* Unique identifier for a previous audio response from the model.
|
|
380
415
|
*/
|
|
381
|
-
|
|
382
|
-
content: string | null;
|
|
416
|
+
id: string;
|
|
383
417
|
};
|
|
384
|
-
|
|
385
|
-
|
|
418
|
+
/**
|
|
419
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
420
|
+
*/
|
|
421
|
+
export declare const ChoicesType: {
|
|
422
|
+
readonly Function: "function";
|
|
386
423
|
};
|
|
387
|
-
export type MessageType = ClosedEnum<typeof MessageType>;
|
|
388
424
|
/**
|
|
389
|
-
* The
|
|
425
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
390
426
|
*/
|
|
391
|
-
export
|
|
392
|
-
|
|
393
|
-
|
|
427
|
+
export type ChoicesType = ClosedEnum<typeof ChoicesType>;
|
|
428
|
+
export type ChoicesFunction = {
|
|
429
|
+
/**
|
|
430
|
+
* The name of the function to call.
|
|
431
|
+
*/
|
|
432
|
+
name?: string | undefined;
|
|
433
|
+
/**
|
|
434
|
+
* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
|
|
435
|
+
*/
|
|
436
|
+
arguments?: string | undefined;
|
|
437
|
+
};
|
|
438
|
+
export type ChoicesToolCalls = {
|
|
439
|
+
/**
|
|
440
|
+
* The ID of the tool call.
|
|
441
|
+
*/
|
|
442
|
+
id: string;
|
|
443
|
+
/**
|
|
444
|
+
* The type of the tool. Currently, only `function` is supported.
|
|
445
|
+
*/
|
|
446
|
+
type: ChoicesType;
|
|
447
|
+
function: ChoicesFunction;
|
|
448
|
+
};
|
|
449
|
+
export type ChoicesAssistantMessage = {
|
|
450
|
+
/**
|
|
451
|
+
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
452
|
+
*/
|
|
453
|
+
content?: string | Array<DeploymentCreateMetric2DeploymentsMetricsTextContentPart | DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart> | undefined;
|
|
454
|
+
/**
|
|
455
|
+
* The refusal message by the assistant.
|
|
456
|
+
*/
|
|
457
|
+
refusal?: string | null | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* The role of the messages author, in this case `assistant`.
|
|
460
|
+
*/
|
|
461
|
+
role: DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole;
|
|
462
|
+
/**
|
|
463
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
464
|
+
*/
|
|
465
|
+
name?: string | undefined;
|
|
466
|
+
/**
|
|
467
|
+
* Data about a previous audio response from the model.
|
|
468
|
+
*/
|
|
469
|
+
audio?: ChoicesAudio | null | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* The tool calls generated by the model, such as function calls.
|
|
472
|
+
*/
|
|
473
|
+
toolCalls?: Array<ChoicesToolCalls> | undefined;
|
|
474
|
+
};
|
|
475
|
+
/**
|
|
476
|
+
* The role of the messages author, in this case `user`.
|
|
477
|
+
*/
|
|
478
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRole: {
|
|
394
479
|
readonly User: "user";
|
|
395
|
-
readonly Exception: "exception";
|
|
396
|
-
readonly Tool: "tool";
|
|
397
|
-
readonly Prompt: "prompt";
|
|
398
|
-
readonly Correction: "correction";
|
|
399
|
-
readonly ExpectedOutput: "expected_output";
|
|
400
480
|
};
|
|
401
481
|
/**
|
|
402
|
-
* The role of the
|
|
482
|
+
* The role of the messages author, in this case `user`.
|
|
403
483
|
*/
|
|
404
|
-
export type
|
|
405
|
-
export declare const
|
|
406
|
-
readonly
|
|
484
|
+
export type DeploymentCreateMetricChoicesDeploymentsMetricsRole = ClosedEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRole>;
|
|
485
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType: {
|
|
486
|
+
readonly InputAudio: "input_audio";
|
|
407
487
|
};
|
|
408
|
-
export type
|
|
409
|
-
|
|
410
|
-
|
|
488
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType>;
|
|
489
|
+
/**
|
|
490
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
491
|
+
*/
|
|
492
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsFormat: {
|
|
493
|
+
readonly Mp3: "mp3";
|
|
494
|
+
readonly Wav: "wav";
|
|
495
|
+
};
|
|
496
|
+
/**
|
|
497
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
498
|
+
*/
|
|
499
|
+
export type DeploymentCreateMetric2DeploymentsMetricsFormat = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsFormat>;
|
|
500
|
+
export type DeploymentCreateMetric2DeploymentsMetricsInputAudio = {
|
|
411
501
|
/**
|
|
412
|
-
*
|
|
502
|
+
* Base64 encoded audio data.
|
|
413
503
|
*/
|
|
414
|
-
|
|
504
|
+
data: string;
|
|
505
|
+
/**
|
|
506
|
+
* The format of the encoded audio data. Currently supports `wav` and `mp3`.
|
|
507
|
+
*/
|
|
508
|
+
format: DeploymentCreateMetric2DeploymentsMetricsFormat;
|
|
509
|
+
};
|
|
510
|
+
export type DeploymentCreateMetric2DeploymentsMetrics3 = {
|
|
511
|
+
type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType;
|
|
512
|
+
inputAudio: DeploymentCreateMetric2DeploymentsMetricsInputAudio;
|
|
513
|
+
};
|
|
514
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type: {
|
|
515
|
+
readonly ImageUrl: "image_url";
|
|
516
|
+
};
|
|
517
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type>;
|
|
518
|
+
/**
|
|
519
|
+
* Specifies the detail level of the image.
|
|
520
|
+
*/
|
|
521
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsDetail: {
|
|
522
|
+
readonly Low: "low";
|
|
523
|
+
readonly High: "high";
|
|
524
|
+
readonly Auto: "auto";
|
|
415
525
|
};
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
526
|
+
/**
|
|
527
|
+
* Specifies the detail level of the image.
|
|
528
|
+
*/
|
|
529
|
+
export type DeploymentCreateMetric2DeploymentsMetricsDetail = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsDetail>;
|
|
530
|
+
export type DeploymentCreateMetric2DeploymentsMetricsImageUrl = {
|
|
531
|
+
/**
|
|
532
|
+
* Either a URL of the image or the base64 encoded image data.
|
|
533
|
+
*/
|
|
534
|
+
url: string;
|
|
535
|
+
/**
|
|
536
|
+
* Specifies the detail level of the image.
|
|
537
|
+
*/
|
|
538
|
+
detail?: DeploymentCreateMetric2DeploymentsMetricsDetail | undefined;
|
|
421
539
|
};
|
|
422
|
-
export type
|
|
423
|
-
type:
|
|
540
|
+
export type DeploymentCreateMetric2DeploymentsMetrics2 = {
|
|
541
|
+
type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type;
|
|
542
|
+
imageUrl: DeploymentCreateMetric2DeploymentsMetricsImageUrl;
|
|
543
|
+
};
|
|
544
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType: {
|
|
545
|
+
readonly Text: "text";
|
|
546
|
+
};
|
|
547
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType>;
|
|
548
|
+
export type DeploymentCreateMetric2DeploymentsMetrics1 = {
|
|
549
|
+
type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType;
|
|
550
|
+
text: string;
|
|
551
|
+
};
|
|
552
|
+
export type DeploymentCreateMetricContentDeploymentsMetricsRequest2 = DeploymentCreateMetric2DeploymentsMetrics1 | DeploymentCreateMetric2DeploymentsMetrics2 | DeploymentCreateMetric2DeploymentsMetrics3;
|
|
553
|
+
/**
|
|
554
|
+
* The contents of the user message.
|
|
555
|
+
*/
|
|
556
|
+
export type ChoicesContent = string | Array<DeploymentCreateMetric2DeploymentsMetrics1 | DeploymentCreateMetric2DeploymentsMetrics2 | DeploymentCreateMetric2DeploymentsMetrics3>;
|
|
557
|
+
export type ChoicesUserMessage = {
|
|
558
|
+
/**
|
|
559
|
+
* The role of the messages author, in this case `user`.
|
|
560
|
+
*/
|
|
561
|
+
role: DeploymentCreateMetricChoicesDeploymentsMetricsRole;
|
|
562
|
+
/**
|
|
563
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
564
|
+
*/
|
|
565
|
+
name?: string | undefined;
|
|
566
|
+
/**
|
|
567
|
+
* The contents of the user message.
|
|
568
|
+
*/
|
|
569
|
+
content: string | Array<DeploymentCreateMetric2DeploymentsMetrics1 | DeploymentCreateMetric2DeploymentsMetrics2 | DeploymentCreateMetric2DeploymentsMetrics3>;
|
|
570
|
+
};
|
|
571
|
+
/**
|
|
572
|
+
* The role of the messages author, in this case `system`.
|
|
573
|
+
*/
|
|
574
|
+
export declare const DeploymentCreateMetricChoicesRole: {
|
|
575
|
+
readonly System: "system";
|
|
576
|
+
};
|
|
577
|
+
/**
|
|
578
|
+
* The role of the messages author, in this case `system`.
|
|
579
|
+
*/
|
|
580
|
+
export type DeploymentCreateMetricChoicesRole = ClosedEnum<typeof DeploymentCreateMetricChoicesRole>;
|
|
581
|
+
export type ChoicesSystemMessage = {
|
|
582
|
+
/**
|
|
583
|
+
* The role of the messages author, in this case `system`.
|
|
584
|
+
*/
|
|
585
|
+
role: DeploymentCreateMetricChoicesRole;
|
|
586
|
+
/**
|
|
587
|
+
* The contents of the system message.
|
|
588
|
+
*/
|
|
589
|
+
content: string;
|
|
424
590
|
/**
|
|
425
|
-
*
|
|
591
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
426
592
|
*/
|
|
427
|
-
|
|
428
|
-
content?: string | null | undefined;
|
|
429
|
-
toolCalls: Array<MessageToolCalls>;
|
|
593
|
+
name?: string | undefined;
|
|
430
594
|
};
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
595
|
+
/**
|
|
596
|
+
* The role of the messages author, in this case `developer`.
|
|
597
|
+
*/
|
|
598
|
+
export declare const ChoicesRole: {
|
|
599
|
+
readonly Developer: "developer";
|
|
600
|
+
};
|
|
601
|
+
/**
|
|
602
|
+
* The role of the messages author, in this case `developer`.
|
|
603
|
+
*/
|
|
604
|
+
export type ChoicesRole = ClosedEnum<typeof ChoicesRole>;
|
|
605
|
+
export type ChoicesDeveloperMessage = {
|
|
606
|
+
/**
|
|
607
|
+
* The role of the messages author, in this case `developer`.
|
|
608
|
+
*/
|
|
609
|
+
role: ChoicesRole;
|
|
610
|
+
/**
|
|
611
|
+
* The contents of the developer message.
|
|
612
|
+
*/
|
|
613
|
+
content: string;
|
|
614
|
+
/**
|
|
615
|
+
* An optional name for the participant. Provides the model information to differentiate between participants of the same role.
|
|
616
|
+
*/
|
|
617
|
+
name?: string | undefined;
|
|
436
618
|
};
|
|
619
|
+
export type Choices = ChoicesDeveloperMessage | ChoicesSystemMessage | ChoicesUserMessage | ChoicesToolMessage | ChoicesAssistantMessage;
|
|
437
620
|
/**
|
|
438
621
|
* Feedback from the user on the completion
|
|
439
622
|
*/
|
|
@@ -465,7 +648,7 @@ export type DeploymentCreateMetricRequestBody = {
|
|
|
465
648
|
/**
|
|
466
649
|
* A list of completion choices. If you are using a `completion` model then you must provide the `completion content` with the chat completion format
|
|
467
650
|
*/
|
|
468
|
-
choices?: Array<
|
|
651
|
+
choices?: Array<ChoicesDeveloperMessage | ChoicesSystemMessage | ChoicesUserMessage | ChoicesToolMessage | ChoicesAssistantMessage> | undefined;
|
|
469
652
|
/**
|
|
470
653
|
* Feedback from the user on the completion
|
|
471
654
|
*/
|
|
@@ -1251,323 +1434,703 @@ export declare namespace DeploymentCreateMetricMessages$ {
|
|
|
1251
1434
|
export declare function deploymentCreateMetricMessagesToJSON(deploymentCreateMetricMessages: DeploymentCreateMetricMessages): string;
|
|
1252
1435
|
export declare function deploymentCreateMetricMessagesFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricMessages, SDKValidationError>;
|
|
1253
1436
|
/** @internal */
|
|
1254
|
-
export declare const
|
|
1437
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole>;
|
|
1255
1438
|
/** @internal */
|
|
1256
|
-
export declare const
|
|
1439
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole>;
|
|
1257
1440
|
/**
|
|
1258
1441
|
* @internal
|
|
1259
1442
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1260
1443
|
*/
|
|
1261
|
-
export declare namespace
|
|
1262
|
-
/** @deprecated use `
|
|
1444
|
+
export declare namespace DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole$ {
|
|
1445
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole$inboundSchema` instead. */
|
|
1263
1446
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1264
|
-
readonly
|
|
1447
|
+
readonly Tool: "tool";
|
|
1265
1448
|
}>;
|
|
1266
|
-
/** @deprecated use `
|
|
1449
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyRole$outboundSchema` instead. */
|
|
1267
1450
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1268
|
-
readonly
|
|
1451
|
+
readonly Tool: "tool";
|
|
1269
1452
|
}>;
|
|
1270
1453
|
}
|
|
1271
1454
|
/** @internal */
|
|
1272
|
-
export declare const
|
|
1455
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsContent$inboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsContent, z.ZodTypeDef, unknown>;
|
|
1456
|
+
/** @internal */
|
|
1457
|
+
export type DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound = string | Array<string>;
|
|
1273
1458
|
/** @internal */
|
|
1274
|
-
export declare const
|
|
1459
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsContent$outboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricChoicesDeploymentsMetricsContent>;
|
|
1275
1460
|
/**
|
|
1276
1461
|
* @internal
|
|
1277
1462
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1278
1463
|
*/
|
|
1279
|
-
export declare namespace
|
|
1280
|
-
/** @deprecated use `
|
|
1464
|
+
export declare namespace DeploymentCreateMetricChoicesDeploymentsMetricsContent$ {
|
|
1465
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsContent$inboundSchema` instead. */
|
|
1466
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsContent, z.ZodTypeDef, unknown>;
|
|
1467
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsContent$outboundSchema` instead. */
|
|
1468
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricChoicesDeploymentsMetricsContent>;
|
|
1469
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound` instead. */
|
|
1470
|
+
type Outbound = DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound;
|
|
1471
|
+
}
|
|
1472
|
+
export declare function deploymentCreateMetricChoicesDeploymentsMetricsContentToJSON(deploymentCreateMetricChoicesDeploymentsMetricsContent: DeploymentCreateMetricChoicesDeploymentsMetricsContent): string;
|
|
1473
|
+
export declare function deploymentCreateMetricChoicesDeploymentsMetricsContentFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricChoicesDeploymentsMetricsContent, SDKValidationError>;
|
|
1474
|
+
/** @internal */
|
|
1475
|
+
export declare const ChoicesToolMessage$inboundSchema: z.ZodType<ChoicesToolMessage, z.ZodTypeDef, unknown>;
|
|
1476
|
+
/** @internal */
|
|
1477
|
+
export type ChoicesToolMessage$Outbound = {
|
|
1478
|
+
role: string;
|
|
1479
|
+
content: string | Array<string>;
|
|
1480
|
+
tool_call_id: string;
|
|
1481
|
+
};
|
|
1482
|
+
/** @internal */
|
|
1483
|
+
export declare const ChoicesToolMessage$outboundSchema: z.ZodType<ChoicesToolMessage$Outbound, z.ZodTypeDef, ChoicesToolMessage>;
|
|
1484
|
+
/**
|
|
1485
|
+
* @internal
|
|
1486
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1487
|
+
*/
|
|
1488
|
+
export declare namespace ChoicesToolMessage$ {
|
|
1489
|
+
/** @deprecated use `ChoicesToolMessage$inboundSchema` instead. */
|
|
1490
|
+
const inboundSchema: z.ZodType<ChoicesToolMessage, z.ZodTypeDef, unknown>;
|
|
1491
|
+
/** @deprecated use `ChoicesToolMessage$outboundSchema` instead. */
|
|
1492
|
+
const outboundSchema: z.ZodType<ChoicesToolMessage$Outbound, z.ZodTypeDef, ChoicesToolMessage>;
|
|
1493
|
+
/** @deprecated use `ChoicesToolMessage$Outbound` instead. */
|
|
1494
|
+
type Outbound = ChoicesToolMessage$Outbound;
|
|
1495
|
+
}
|
|
1496
|
+
export declare function choicesToolMessageToJSON(choicesToolMessage: ChoicesToolMessage): string;
|
|
1497
|
+
export declare function choicesToolMessageFromJSON(jsonString: string): SafeParseResult<ChoicesToolMessage, SDKValidationError>;
|
|
1498
|
+
/** @internal */
|
|
1499
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType>;
|
|
1500
|
+
/** @internal */
|
|
1501
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType>;
|
|
1502
|
+
/**
|
|
1503
|
+
* @internal
|
|
1504
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1505
|
+
*/
|
|
1506
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType$ {
|
|
1507
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType$inboundSchema` instead. */
|
|
1281
1508
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1282
|
-
readonly
|
|
1283
|
-
readonly Assistant: "assistant";
|
|
1284
|
-
readonly User: "user";
|
|
1285
|
-
readonly Exception: "exception";
|
|
1286
|
-
readonly Tool: "tool";
|
|
1287
|
-
readonly Prompt: "prompt";
|
|
1288
|
-
readonly Correction: "correction";
|
|
1289
|
-
readonly ExpectedOutput: "expected_output";
|
|
1509
|
+
readonly Refusal: "refusal";
|
|
1290
1510
|
}>;
|
|
1291
|
-
/** @deprecated use `
|
|
1511
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType$outboundSchema` instead. */
|
|
1292
1512
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1293
|
-
readonly
|
|
1294
|
-
readonly Assistant: "assistant";
|
|
1295
|
-
readonly User: "user";
|
|
1296
|
-
readonly Exception: "exception";
|
|
1297
|
-
readonly Tool: "tool";
|
|
1298
|
-
readonly Prompt: "prompt";
|
|
1299
|
-
readonly Correction: "correction";
|
|
1300
|
-
readonly ExpectedOutput: "expected_output";
|
|
1513
|
+
readonly Refusal: "refusal";
|
|
1301
1514
|
}>;
|
|
1302
1515
|
}
|
|
1303
1516
|
/** @internal */
|
|
1304
|
-
export declare const
|
|
1517
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1305
1518
|
/** @internal */
|
|
1306
|
-
export type
|
|
1519
|
+
export type DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound = {
|
|
1307
1520
|
type: string;
|
|
1308
|
-
|
|
1309
|
-
url: string;
|
|
1521
|
+
refusal: string;
|
|
1310
1522
|
};
|
|
1311
1523
|
/** @internal */
|
|
1312
|
-
export declare const
|
|
1524
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart>;
|
|
1313
1525
|
/**
|
|
1314
1526
|
* @internal
|
|
1315
1527
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1316
1528
|
*/
|
|
1317
|
-
export declare namespace
|
|
1318
|
-
/** @deprecated use `
|
|
1319
|
-
const inboundSchema: z.ZodType<
|
|
1320
|
-
/** @deprecated use `
|
|
1321
|
-
const outboundSchema: z.ZodType<
|
|
1322
|
-
/** @deprecated use `
|
|
1323
|
-
type Outbound =
|
|
1529
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$ {
|
|
1530
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$inboundSchema` instead. */
|
|
1531
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart, z.ZodTypeDef, unknown>;
|
|
1532
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$outboundSchema` instead. */
|
|
1533
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart>;
|
|
1534
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound` instead. */
|
|
1535
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound;
|
|
1324
1536
|
}
|
|
1325
|
-
export declare function
|
|
1326
|
-
export declare function
|
|
1537
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsRefusalContentPartToJSON(deploymentCreateMetric2DeploymentsMetricsRefusalContentPart: DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart): string;
|
|
1538
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsRefusalContentPartFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart, SDKValidationError>;
|
|
1327
1539
|
/** @internal */
|
|
1328
|
-
export declare const
|
|
1540
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type>;
|
|
1329
1541
|
/** @internal */
|
|
1330
|
-
export declare const
|
|
1542
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type>;
|
|
1331
1543
|
/**
|
|
1332
1544
|
* @internal
|
|
1333
1545
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1334
1546
|
*/
|
|
1335
|
-
export declare namespace
|
|
1336
|
-
/** @deprecated use `
|
|
1547
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type$ {
|
|
1548
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type$inboundSchema` instead. */
|
|
1337
1549
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1338
|
-
readonly
|
|
1550
|
+
readonly Text: "text";
|
|
1339
1551
|
}>;
|
|
1340
|
-
/** @deprecated use `
|
|
1552
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Type$outboundSchema` instead. */
|
|
1341
1553
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1342
|
-
readonly
|
|
1554
|
+
readonly Text: "text";
|
|
1343
1555
|
}>;
|
|
1344
1556
|
}
|
|
1345
1557
|
/** @internal */
|
|
1346
|
-
export declare const
|
|
1558
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsTextContentPart$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsTextContentPart, z.ZodTypeDef, unknown>;
|
|
1559
|
+
/** @internal */
|
|
1560
|
+
export type DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound = {
|
|
1561
|
+
type: string;
|
|
1562
|
+
text: string;
|
|
1563
|
+
};
|
|
1564
|
+
/** @internal */
|
|
1565
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsTextContentPart$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsTextContentPart>;
|
|
1566
|
+
/**
|
|
1567
|
+
* @internal
|
|
1568
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1569
|
+
*/
|
|
1570
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsTextContentPart$ {
|
|
1571
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsTextContentPart$inboundSchema` instead. */
|
|
1572
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsTextContentPart, z.ZodTypeDef, unknown>;
|
|
1573
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsTextContentPart$outboundSchema` instead. */
|
|
1574
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsTextContentPart>;
|
|
1575
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound` instead. */
|
|
1576
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound;
|
|
1577
|
+
}
|
|
1578
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsTextContentPartToJSON(deploymentCreateMetric2DeploymentsMetricsTextContentPart: DeploymentCreateMetric2DeploymentsMetricsTextContentPart): string;
|
|
1579
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsTextContentPartFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsTextContentPart, SDKValidationError>;
|
|
1580
|
+
/** @internal */
|
|
1581
|
+
export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2, z.ZodTypeDef, unknown>;
|
|
1582
|
+
/** @internal */
|
|
1583
|
+
export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound = DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound | DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound;
|
|
1584
|
+
/** @internal */
|
|
1585
|
+
export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2>;
|
|
1586
|
+
/**
|
|
1587
|
+
* @internal
|
|
1588
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1589
|
+
*/
|
|
1590
|
+
export declare namespace DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$ {
|
|
1591
|
+
/** @deprecated use `DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$inboundSchema` instead. */
|
|
1592
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2, z.ZodTypeDef, unknown>;
|
|
1593
|
+
/** @deprecated use `DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$outboundSchema` instead. */
|
|
1594
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2>;
|
|
1595
|
+
/** @deprecated use `DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound` instead. */
|
|
1596
|
+
type Outbound = DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound;
|
|
1597
|
+
}
|
|
1598
|
+
export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2): string;
|
|
1599
|
+
export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2, SDKValidationError>;
|
|
1600
|
+
/** @internal */
|
|
1601
|
+
export declare const DeploymentCreateMetricChoicesContent$inboundSchema: z.ZodType<DeploymentCreateMetricChoicesContent, z.ZodTypeDef, unknown>;
|
|
1602
|
+
/** @internal */
|
|
1603
|
+
export type DeploymentCreateMetricChoicesContent$Outbound = string | Array<DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound | DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound>;
|
|
1604
|
+
/** @internal */
|
|
1605
|
+
export declare const DeploymentCreateMetricChoicesContent$outboundSchema: z.ZodType<DeploymentCreateMetricChoicesContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricChoicesContent>;
|
|
1606
|
+
/**
|
|
1607
|
+
* @internal
|
|
1608
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1609
|
+
*/
|
|
1610
|
+
export declare namespace DeploymentCreateMetricChoicesContent$ {
|
|
1611
|
+
/** @deprecated use `DeploymentCreateMetricChoicesContent$inboundSchema` instead. */
|
|
1612
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetricChoicesContent, z.ZodTypeDef, unknown>;
|
|
1613
|
+
/** @deprecated use `DeploymentCreateMetricChoicesContent$outboundSchema` instead. */
|
|
1614
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetricChoicesContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricChoicesContent>;
|
|
1615
|
+
/** @deprecated use `DeploymentCreateMetricChoicesContent$Outbound` instead. */
|
|
1616
|
+
type Outbound = DeploymentCreateMetricChoicesContent$Outbound;
|
|
1617
|
+
}
|
|
1618
|
+
export declare function deploymentCreateMetricChoicesContentToJSON(deploymentCreateMetricChoicesContent: DeploymentCreateMetricChoicesContent): string;
|
|
1619
|
+
export declare function deploymentCreateMetricChoicesContentFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricChoicesContent, SDKValidationError>;
|
|
1620
|
+
/** @internal */
|
|
1621
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole>;
|
|
1347
1622
|
/** @internal */
|
|
1348
|
-
export declare const
|
|
1623
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole>;
|
|
1349
1624
|
/**
|
|
1350
1625
|
* @internal
|
|
1351
1626
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1352
1627
|
*/
|
|
1353
|
-
export declare namespace
|
|
1354
|
-
/** @deprecated use `
|
|
1628
|
+
export declare namespace DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole$ {
|
|
1629
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole$inboundSchema` instead. */
|
|
1355
1630
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1356
|
-
readonly System: "system";
|
|
1357
1631
|
readonly Assistant: "assistant";
|
|
1358
|
-
readonly User: "user";
|
|
1359
|
-
readonly Exception: "exception";
|
|
1360
|
-
readonly Tool: "tool";
|
|
1361
|
-
readonly Prompt: "prompt";
|
|
1362
|
-
readonly Correction: "correction";
|
|
1363
|
-
readonly ExpectedOutput: "expected_output";
|
|
1364
1632
|
}>;
|
|
1365
|
-
/** @deprecated use `
|
|
1633
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole$outboundSchema` instead. */
|
|
1366
1634
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1367
|
-
readonly System: "system";
|
|
1368
1635
|
readonly Assistant: "assistant";
|
|
1369
|
-
readonly User: "user";
|
|
1370
|
-
readonly Exception: "exception";
|
|
1371
|
-
readonly Tool: "tool";
|
|
1372
|
-
readonly Prompt: "prompt";
|
|
1373
|
-
readonly Correction: "correction";
|
|
1374
|
-
readonly ExpectedOutput: "expected_output";
|
|
1375
1636
|
}>;
|
|
1376
1637
|
}
|
|
1377
1638
|
/** @internal */
|
|
1378
|
-
export declare const
|
|
1639
|
+
export declare const ChoicesAudio$inboundSchema: z.ZodType<ChoicesAudio, z.ZodTypeDef, unknown>;
|
|
1379
1640
|
/** @internal */
|
|
1380
|
-
export type
|
|
1381
|
-
|
|
1382
|
-
role: string;
|
|
1383
|
-
content: string | null;
|
|
1641
|
+
export type ChoicesAudio$Outbound = {
|
|
1642
|
+
id: string;
|
|
1384
1643
|
};
|
|
1385
1644
|
/** @internal */
|
|
1386
|
-
export declare const
|
|
1645
|
+
export declare const ChoicesAudio$outboundSchema: z.ZodType<ChoicesAudio$Outbound, z.ZodTypeDef, ChoicesAudio>;
|
|
1387
1646
|
/**
|
|
1388
1647
|
* @internal
|
|
1389
1648
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1390
1649
|
*/
|
|
1391
|
-
export declare namespace
|
|
1392
|
-
/** @deprecated use `
|
|
1393
|
-
const inboundSchema: z.ZodType<
|
|
1394
|
-
/** @deprecated use `
|
|
1395
|
-
const outboundSchema: z.ZodType<
|
|
1396
|
-
/** @deprecated use `
|
|
1397
|
-
type Outbound =
|
|
1650
|
+
export declare namespace ChoicesAudio$ {
|
|
1651
|
+
/** @deprecated use `ChoicesAudio$inboundSchema` instead. */
|
|
1652
|
+
const inboundSchema: z.ZodType<ChoicesAudio, z.ZodTypeDef, unknown>;
|
|
1653
|
+
/** @deprecated use `ChoicesAudio$outboundSchema` instead. */
|
|
1654
|
+
const outboundSchema: z.ZodType<ChoicesAudio$Outbound, z.ZodTypeDef, ChoicesAudio>;
|
|
1655
|
+
/** @deprecated use `ChoicesAudio$Outbound` instead. */
|
|
1656
|
+
type Outbound = ChoicesAudio$Outbound;
|
|
1398
1657
|
}
|
|
1399
|
-
export declare function
|
|
1400
|
-
export declare function
|
|
1658
|
+
export declare function choicesAudioToJSON(choicesAudio: ChoicesAudio): string;
|
|
1659
|
+
export declare function choicesAudioFromJSON(jsonString: string): SafeParseResult<ChoicesAudio, SDKValidationError>;
|
|
1401
1660
|
/** @internal */
|
|
1402
|
-
export declare const
|
|
1661
|
+
export declare const ChoicesType$inboundSchema: z.ZodNativeEnum<typeof ChoicesType>;
|
|
1403
1662
|
/** @internal */
|
|
1404
|
-
export declare const
|
|
1663
|
+
export declare const ChoicesType$outboundSchema: z.ZodNativeEnum<typeof ChoicesType>;
|
|
1405
1664
|
/**
|
|
1406
1665
|
* @internal
|
|
1407
1666
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1408
1667
|
*/
|
|
1409
|
-
export declare namespace
|
|
1410
|
-
/** @deprecated use `
|
|
1668
|
+
export declare namespace ChoicesType$ {
|
|
1669
|
+
/** @deprecated use `ChoicesType$inboundSchema` instead. */
|
|
1411
1670
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1412
|
-
readonly
|
|
1671
|
+
readonly Function: "function";
|
|
1413
1672
|
}>;
|
|
1414
|
-
/** @deprecated use `
|
|
1673
|
+
/** @deprecated use `ChoicesType$outboundSchema` instead. */
|
|
1415
1674
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1416
|
-
readonly
|
|
1675
|
+
readonly Function: "function";
|
|
1417
1676
|
}>;
|
|
1418
1677
|
}
|
|
1419
1678
|
/** @internal */
|
|
1420
|
-
export declare const
|
|
1679
|
+
export declare const ChoicesFunction$inboundSchema: z.ZodType<ChoicesFunction, z.ZodTypeDef, unknown>;
|
|
1680
|
+
/** @internal */
|
|
1681
|
+
export type ChoicesFunction$Outbound = {
|
|
1682
|
+
name?: string | undefined;
|
|
1683
|
+
arguments?: string | undefined;
|
|
1684
|
+
};
|
|
1685
|
+
/** @internal */
|
|
1686
|
+
export declare const ChoicesFunction$outboundSchema: z.ZodType<ChoicesFunction$Outbound, z.ZodTypeDef, ChoicesFunction>;
|
|
1687
|
+
/**
|
|
1688
|
+
* @internal
|
|
1689
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1690
|
+
*/
|
|
1691
|
+
export declare namespace ChoicesFunction$ {
|
|
1692
|
+
/** @deprecated use `ChoicesFunction$inboundSchema` instead. */
|
|
1693
|
+
const inboundSchema: z.ZodType<ChoicesFunction, z.ZodTypeDef, unknown>;
|
|
1694
|
+
/** @deprecated use `ChoicesFunction$outboundSchema` instead. */
|
|
1695
|
+
const outboundSchema: z.ZodType<ChoicesFunction$Outbound, z.ZodTypeDef, ChoicesFunction>;
|
|
1696
|
+
/** @deprecated use `ChoicesFunction$Outbound` instead. */
|
|
1697
|
+
type Outbound = ChoicesFunction$Outbound;
|
|
1698
|
+
}
|
|
1699
|
+
export declare function choicesFunctionToJSON(choicesFunction: ChoicesFunction): string;
|
|
1700
|
+
export declare function choicesFunctionFromJSON(jsonString: string): SafeParseResult<ChoicesFunction, SDKValidationError>;
|
|
1701
|
+
/** @internal */
|
|
1702
|
+
export declare const ChoicesToolCalls$inboundSchema: z.ZodType<ChoicesToolCalls, z.ZodTypeDef, unknown>;
|
|
1421
1703
|
/** @internal */
|
|
1422
|
-
export
|
|
1704
|
+
export type ChoicesToolCalls$Outbound = {
|
|
1705
|
+
id: string;
|
|
1706
|
+
type: string;
|
|
1707
|
+
function: ChoicesFunction$Outbound;
|
|
1708
|
+
};
|
|
1709
|
+
/** @internal */
|
|
1710
|
+
export declare const ChoicesToolCalls$outboundSchema: z.ZodType<ChoicesToolCalls$Outbound, z.ZodTypeDef, ChoicesToolCalls>;
|
|
1423
1711
|
/**
|
|
1424
1712
|
* @internal
|
|
1425
1713
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1426
1714
|
*/
|
|
1427
|
-
export declare namespace
|
|
1428
|
-
/** @deprecated use `
|
|
1715
|
+
export declare namespace ChoicesToolCalls$ {
|
|
1716
|
+
/** @deprecated use `ChoicesToolCalls$inboundSchema` instead. */
|
|
1717
|
+
const inboundSchema: z.ZodType<ChoicesToolCalls, z.ZodTypeDef, unknown>;
|
|
1718
|
+
/** @deprecated use `ChoicesToolCalls$outboundSchema` instead. */
|
|
1719
|
+
const outboundSchema: z.ZodType<ChoicesToolCalls$Outbound, z.ZodTypeDef, ChoicesToolCalls>;
|
|
1720
|
+
/** @deprecated use `ChoicesToolCalls$Outbound` instead. */
|
|
1721
|
+
type Outbound = ChoicesToolCalls$Outbound;
|
|
1722
|
+
}
|
|
1723
|
+
export declare function choicesToolCallsToJSON(choicesToolCalls: ChoicesToolCalls): string;
|
|
1724
|
+
export declare function choicesToolCallsFromJSON(jsonString: string): SafeParseResult<ChoicesToolCalls, SDKValidationError>;
|
|
1725
|
+
/** @internal */
|
|
1726
|
+
export declare const ChoicesAssistantMessage$inboundSchema: z.ZodType<ChoicesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1727
|
+
/** @internal */
|
|
1728
|
+
export type ChoicesAssistantMessage$Outbound = {
|
|
1729
|
+
content?: string | Array<DeploymentCreateMetric2DeploymentsMetricsTextContentPart$Outbound | DeploymentCreateMetric2DeploymentsMetricsRefusalContentPart$Outbound> | undefined;
|
|
1730
|
+
refusal?: string | null | undefined;
|
|
1731
|
+
role: string;
|
|
1732
|
+
name?: string | undefined;
|
|
1733
|
+
audio?: ChoicesAudio$Outbound | null | undefined;
|
|
1734
|
+
tool_calls?: Array<ChoicesToolCalls$Outbound> | undefined;
|
|
1735
|
+
};
|
|
1736
|
+
/** @internal */
|
|
1737
|
+
export declare const ChoicesAssistantMessage$outboundSchema: z.ZodType<ChoicesAssistantMessage$Outbound, z.ZodTypeDef, ChoicesAssistantMessage>;
|
|
1738
|
+
/**
|
|
1739
|
+
* @internal
|
|
1740
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1741
|
+
*/
|
|
1742
|
+
export declare namespace ChoicesAssistantMessage$ {
|
|
1743
|
+
/** @deprecated use `ChoicesAssistantMessage$inboundSchema` instead. */
|
|
1744
|
+
const inboundSchema: z.ZodType<ChoicesAssistantMessage, z.ZodTypeDef, unknown>;
|
|
1745
|
+
/** @deprecated use `ChoicesAssistantMessage$outboundSchema` instead. */
|
|
1746
|
+
const outboundSchema: z.ZodType<ChoicesAssistantMessage$Outbound, z.ZodTypeDef, ChoicesAssistantMessage>;
|
|
1747
|
+
/** @deprecated use `ChoicesAssistantMessage$Outbound` instead. */
|
|
1748
|
+
type Outbound = ChoicesAssistantMessage$Outbound;
|
|
1749
|
+
}
|
|
1750
|
+
export declare function choicesAssistantMessageToJSON(choicesAssistantMessage: ChoicesAssistantMessage): string;
|
|
1751
|
+
export declare function choicesAssistantMessageFromJSON(jsonString: string): SafeParseResult<ChoicesAssistantMessage, SDKValidationError>;
|
|
1752
|
+
/** @internal */
|
|
1753
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRole>;
|
|
1754
|
+
/** @internal */
|
|
1755
|
+
export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRole>;
|
|
1756
|
+
/**
|
|
1757
|
+
* @internal
|
|
1758
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1759
|
+
*/
|
|
1760
|
+
export declare namespace DeploymentCreateMetricChoicesDeploymentsMetricsRole$ {
|
|
1761
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsRole$inboundSchema` instead. */
|
|
1429
1762
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1430
|
-
readonly System: "system";
|
|
1431
|
-
readonly Assistant: "assistant";
|
|
1432
1763
|
readonly User: "user";
|
|
1433
|
-
readonly Exception: "exception";
|
|
1434
|
-
readonly Tool: "tool";
|
|
1435
|
-
readonly Prompt: "prompt";
|
|
1436
|
-
readonly Correction: "correction";
|
|
1437
|
-
readonly ExpectedOutput: "expected_output";
|
|
1438
1764
|
}>;
|
|
1439
|
-
/** @deprecated use `
|
|
1765
|
+
/** @deprecated use `DeploymentCreateMetricChoicesDeploymentsMetricsRole$outboundSchema` instead. */
|
|
1440
1766
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1441
|
-
readonly System: "system";
|
|
1442
|
-
readonly Assistant: "assistant";
|
|
1443
1767
|
readonly User: "user";
|
|
1444
|
-
readonly Exception: "exception";
|
|
1445
|
-
readonly Tool: "tool";
|
|
1446
|
-
readonly Prompt: "prompt";
|
|
1447
|
-
readonly Correction: "correction";
|
|
1448
|
-
readonly ExpectedOutput: "expected_output";
|
|
1449
1768
|
}>;
|
|
1450
1769
|
}
|
|
1451
1770
|
/** @internal */
|
|
1452
|
-
export declare const
|
|
1771
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType>;
|
|
1453
1772
|
/** @internal */
|
|
1454
|
-
export declare const
|
|
1773
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType>;
|
|
1455
1774
|
/**
|
|
1456
1775
|
* @internal
|
|
1457
1776
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1458
1777
|
*/
|
|
1459
|
-
export declare namespace
|
|
1460
|
-
/** @deprecated use `
|
|
1778
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType$ {
|
|
1779
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType$inboundSchema` instead. */
|
|
1461
1780
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1462
|
-
readonly
|
|
1781
|
+
readonly InputAudio: "input_audio";
|
|
1463
1782
|
}>;
|
|
1464
|
-
/** @deprecated use `
|
|
1783
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3ContentType$outboundSchema` instead. */
|
|
1465
1784
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1466
|
-
readonly
|
|
1785
|
+
readonly InputAudio: "input_audio";
|
|
1467
1786
|
}>;
|
|
1468
1787
|
}
|
|
1469
1788
|
/** @internal */
|
|
1470
|
-
export declare const
|
|
1789
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsFormat$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsFormat>;
|
|
1471
1790
|
/** @internal */
|
|
1472
|
-
export
|
|
1473
|
-
|
|
1474
|
-
|
|
1791
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsFormat$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsFormat>;
|
|
1792
|
+
/**
|
|
1793
|
+
* @internal
|
|
1794
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1795
|
+
*/
|
|
1796
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsFormat$ {
|
|
1797
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsFormat$inboundSchema` instead. */
|
|
1798
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1799
|
+
readonly Mp3: "mp3";
|
|
1800
|
+
readonly Wav: "wav";
|
|
1801
|
+
}>;
|
|
1802
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsFormat$outboundSchema` instead. */
|
|
1803
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1804
|
+
readonly Mp3: "mp3";
|
|
1805
|
+
readonly Wav: "wav";
|
|
1806
|
+
}>;
|
|
1807
|
+
}
|
|
1808
|
+
/** @internal */
|
|
1809
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsInputAudio$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsInputAudio, z.ZodTypeDef, unknown>;
|
|
1810
|
+
/** @internal */
|
|
1811
|
+
export type DeploymentCreateMetric2DeploymentsMetricsInputAudio$Outbound = {
|
|
1812
|
+
data: string;
|
|
1813
|
+
format: string;
|
|
1475
1814
|
};
|
|
1476
1815
|
/** @internal */
|
|
1477
|
-
export declare const
|
|
1816
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsInputAudio$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsInputAudio$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsInputAudio>;
|
|
1478
1817
|
/**
|
|
1479
1818
|
* @internal
|
|
1480
1819
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1481
1820
|
*/
|
|
1482
|
-
export declare namespace
|
|
1483
|
-
/** @deprecated use `
|
|
1484
|
-
const inboundSchema: z.ZodType<
|
|
1485
|
-
/** @deprecated use `
|
|
1486
|
-
const outboundSchema: z.ZodType<
|
|
1487
|
-
/** @deprecated use `
|
|
1488
|
-
type Outbound =
|
|
1821
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsInputAudio$ {
|
|
1822
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsInputAudio$inboundSchema` instead. */
|
|
1823
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsInputAudio, z.ZodTypeDef, unknown>;
|
|
1824
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsInputAudio$outboundSchema` instead. */
|
|
1825
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsInputAudio$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsInputAudio>;
|
|
1826
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsInputAudio$Outbound` instead. */
|
|
1827
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetricsInputAudio$Outbound;
|
|
1489
1828
|
}
|
|
1490
|
-
export declare function
|
|
1491
|
-
export declare function
|
|
1829
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsInputAudioToJSON(deploymentCreateMetric2DeploymentsMetricsInputAudio: DeploymentCreateMetric2DeploymentsMetricsInputAudio): string;
|
|
1830
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsInputAudioFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsInputAudio, SDKValidationError>;
|
|
1492
1831
|
/** @internal */
|
|
1493
|
-
export declare const
|
|
1832
|
+
export declare const DeploymentCreateMetric2DeploymentsMetrics3$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics3, z.ZodTypeDef, unknown>;
|
|
1494
1833
|
/** @internal */
|
|
1495
|
-
export type
|
|
1496
|
-
id?: string | undefined;
|
|
1497
|
-
index?: number | undefined;
|
|
1834
|
+
export type DeploymentCreateMetric2DeploymentsMetrics3$Outbound = {
|
|
1498
1835
|
type: string;
|
|
1499
|
-
|
|
1836
|
+
input_audio: DeploymentCreateMetric2DeploymentsMetricsInputAudio$Outbound;
|
|
1500
1837
|
};
|
|
1501
1838
|
/** @internal */
|
|
1502
|
-
export declare const
|
|
1839
|
+
export declare const DeploymentCreateMetric2DeploymentsMetrics3$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics3$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics3>;
|
|
1503
1840
|
/**
|
|
1504
1841
|
* @internal
|
|
1505
1842
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1506
1843
|
*/
|
|
1507
|
-
export declare namespace
|
|
1508
|
-
/** @deprecated use `
|
|
1509
|
-
const inboundSchema: z.ZodType<
|
|
1510
|
-
/** @deprecated use `
|
|
1511
|
-
const outboundSchema: z.ZodType<
|
|
1512
|
-
/** @deprecated use `
|
|
1513
|
-
type Outbound =
|
|
1844
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetrics3$ {
|
|
1845
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics3$inboundSchema` instead. */
|
|
1846
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics3, z.ZodTypeDef, unknown>;
|
|
1847
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics3$outboundSchema` instead. */
|
|
1848
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics3$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics3>;
|
|
1849
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics3$Outbound` instead. */
|
|
1850
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetrics3$Outbound;
|
|
1514
1851
|
}
|
|
1515
|
-
export declare function
|
|
1516
|
-
export declare function
|
|
1852
|
+
export declare function deploymentCreateMetric2DeploymentsMetrics3ToJSON(deploymentCreateMetric2DeploymentsMetrics3: DeploymentCreateMetric2DeploymentsMetrics3): string;
|
|
1853
|
+
export declare function deploymentCreateMetric2DeploymentsMetrics3FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetrics3, SDKValidationError>;
|
|
1517
1854
|
/** @internal */
|
|
1518
|
-
export declare const
|
|
1855
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type>;
|
|
1519
1856
|
/** @internal */
|
|
1520
|
-
export
|
|
1857
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type>;
|
|
1858
|
+
/**
|
|
1859
|
+
* @internal
|
|
1860
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1861
|
+
*/
|
|
1862
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type$ {
|
|
1863
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type$inboundSchema` instead. */
|
|
1864
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1865
|
+
readonly ImageUrl: "image_url";
|
|
1866
|
+
}>;
|
|
1867
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type$outboundSchema` instead. */
|
|
1868
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1869
|
+
readonly ImageUrl: "image_url";
|
|
1870
|
+
}>;
|
|
1871
|
+
}
|
|
1872
|
+
/** @internal */
|
|
1873
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsDetail$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsDetail>;
|
|
1874
|
+
/** @internal */
|
|
1875
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsDetail$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsDetail>;
|
|
1876
|
+
/**
|
|
1877
|
+
* @internal
|
|
1878
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1879
|
+
*/
|
|
1880
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsDetail$ {
|
|
1881
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsDetail$inboundSchema` instead. */
|
|
1882
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1883
|
+
readonly Low: "low";
|
|
1884
|
+
readonly High: "high";
|
|
1885
|
+
readonly Auto: "auto";
|
|
1886
|
+
}>;
|
|
1887
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsDetail$outboundSchema` instead. */
|
|
1888
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1889
|
+
readonly Low: "low";
|
|
1890
|
+
readonly High: "high";
|
|
1891
|
+
readonly Auto: "auto";
|
|
1892
|
+
}>;
|
|
1893
|
+
}
|
|
1894
|
+
/** @internal */
|
|
1895
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsImageUrl$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsImageUrl, z.ZodTypeDef, unknown>;
|
|
1896
|
+
/** @internal */
|
|
1897
|
+
export type DeploymentCreateMetric2DeploymentsMetricsImageUrl$Outbound = {
|
|
1898
|
+
url: string;
|
|
1899
|
+
detail?: string | undefined;
|
|
1900
|
+
};
|
|
1901
|
+
/** @internal */
|
|
1902
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsImageUrl$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsImageUrl$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsImageUrl>;
|
|
1903
|
+
/**
|
|
1904
|
+
* @internal
|
|
1905
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1906
|
+
*/
|
|
1907
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsImageUrl$ {
|
|
1908
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsImageUrl$inboundSchema` instead. */
|
|
1909
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsImageUrl, z.ZodTypeDef, unknown>;
|
|
1910
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsImageUrl$outboundSchema` instead. */
|
|
1911
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsImageUrl$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsImageUrl>;
|
|
1912
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsImageUrl$Outbound` instead. */
|
|
1913
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetricsImageUrl$Outbound;
|
|
1914
|
+
}
|
|
1915
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsImageUrlToJSON(deploymentCreateMetric2DeploymentsMetricsImageUrl: DeploymentCreateMetric2DeploymentsMetricsImageUrl): string;
|
|
1916
|
+
export declare function deploymentCreateMetric2DeploymentsMetricsImageUrlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsImageUrl, SDKValidationError>;
|
|
1917
|
+
/** @internal */
|
|
1918
|
+
export declare const DeploymentCreateMetric2DeploymentsMetrics2$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics2, z.ZodTypeDef, unknown>;
|
|
1919
|
+
/** @internal */
|
|
1920
|
+
export type DeploymentCreateMetric2DeploymentsMetrics2$Outbound = {
|
|
1521
1921
|
type: string;
|
|
1922
|
+
image_url: DeploymentCreateMetric2DeploymentsMetricsImageUrl$Outbound;
|
|
1923
|
+
};
|
|
1924
|
+
/** @internal */
|
|
1925
|
+
export declare const DeploymentCreateMetric2DeploymentsMetrics2$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics2$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics2>;
|
|
1926
|
+
/**
|
|
1927
|
+
* @internal
|
|
1928
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1929
|
+
*/
|
|
1930
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetrics2$ {
|
|
1931
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics2$inboundSchema` instead. */
|
|
1932
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics2, z.ZodTypeDef, unknown>;
|
|
1933
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics2$outboundSchema` instead. */
|
|
1934
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics2$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics2>;
|
|
1935
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics2$Outbound` instead. */
|
|
1936
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetrics2$Outbound;
|
|
1937
|
+
}
|
|
1938
|
+
export declare function deploymentCreateMetric2DeploymentsMetrics2ToJSON(deploymentCreateMetric2DeploymentsMetrics2: DeploymentCreateMetric2DeploymentsMetrics2): string;
|
|
1939
|
+
export declare function deploymentCreateMetric2DeploymentsMetrics2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetrics2, SDKValidationError>;
|
|
1940
|
+
/** @internal */
|
|
1941
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType>;
|
|
1942
|
+
/** @internal */
|
|
1943
|
+
export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType>;
|
|
1944
|
+
/**
|
|
1945
|
+
* @internal
|
|
1946
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1947
|
+
*/
|
|
1948
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType$ {
|
|
1949
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType$inboundSchema` instead. */
|
|
1950
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
1951
|
+
readonly Text: "text";
|
|
1952
|
+
}>;
|
|
1953
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesType$outboundSchema` instead. */
|
|
1954
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
1955
|
+
readonly Text: "text";
|
|
1956
|
+
}>;
|
|
1957
|
+
}
|
|
1958
|
+
/** @internal */
|
|
1959
|
+
export declare const DeploymentCreateMetric2DeploymentsMetrics1$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics1, z.ZodTypeDef, unknown>;
|
|
1960
|
+
/** @internal */
|
|
1961
|
+
export type DeploymentCreateMetric2DeploymentsMetrics1$Outbound = {
|
|
1962
|
+
type: string;
|
|
1963
|
+
text: string;
|
|
1964
|
+
};
|
|
1965
|
+
/** @internal */
|
|
1966
|
+
export declare const DeploymentCreateMetric2DeploymentsMetrics1$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics1$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics1>;
|
|
1967
|
+
/**
|
|
1968
|
+
* @internal
|
|
1969
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1970
|
+
*/
|
|
1971
|
+
export declare namespace DeploymentCreateMetric2DeploymentsMetrics1$ {
|
|
1972
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics1$inboundSchema` instead. */
|
|
1973
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics1, z.ZodTypeDef, unknown>;
|
|
1974
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics1$outboundSchema` instead. */
|
|
1975
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics1$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics1>;
|
|
1976
|
+
/** @deprecated use `DeploymentCreateMetric2DeploymentsMetrics1$Outbound` instead. */
|
|
1977
|
+
type Outbound = DeploymentCreateMetric2DeploymentsMetrics1$Outbound;
|
|
1978
|
+
}
|
|
1979
|
+
export declare function deploymentCreateMetric2DeploymentsMetrics1ToJSON(deploymentCreateMetric2DeploymentsMetrics1: DeploymentCreateMetric2DeploymentsMetrics1): string;
|
|
1980
|
+
export declare function deploymentCreateMetric2DeploymentsMetrics1FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetrics1, SDKValidationError>;
|
|
1981
|
+
/** @internal */
|
|
1982
|
+
export declare const DeploymentCreateMetricContentDeploymentsMetricsRequest2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequest2, z.ZodTypeDef, unknown>;
|
|
1983
|
+
/** @internal */
|
|
1984
|
+
export type DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound = DeploymentCreateMetric2DeploymentsMetrics1$Outbound | DeploymentCreateMetric2DeploymentsMetrics2$Outbound | DeploymentCreateMetric2DeploymentsMetrics3$Outbound;
|
|
1985
|
+
/** @internal */
|
|
1986
|
+
export declare const DeploymentCreateMetricContentDeploymentsMetricsRequest2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequest2>;
|
|
1987
|
+
/**
|
|
1988
|
+
* @internal
|
|
1989
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1990
|
+
*/
|
|
1991
|
+
export declare namespace DeploymentCreateMetricContentDeploymentsMetricsRequest2$ {
|
|
1992
|
+
/** @deprecated use `DeploymentCreateMetricContentDeploymentsMetricsRequest2$inboundSchema` instead. */
|
|
1993
|
+
const inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequest2, z.ZodTypeDef, unknown>;
|
|
1994
|
+
/** @deprecated use `DeploymentCreateMetricContentDeploymentsMetricsRequest2$outboundSchema` instead. */
|
|
1995
|
+
const outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequest2>;
|
|
1996
|
+
/** @deprecated use `DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound` instead. */
|
|
1997
|
+
type Outbound = DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound;
|
|
1998
|
+
}
|
|
1999
|
+
export declare function deploymentCreateMetricContentDeploymentsMetricsRequest2ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequest2: DeploymentCreateMetricContentDeploymentsMetricsRequest2): string;
|
|
2000
|
+
export declare function deploymentCreateMetricContentDeploymentsMetricsRequest2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequest2, SDKValidationError>;
|
|
2001
|
+
/** @internal */
|
|
2002
|
+
export declare const ChoicesContent$inboundSchema: z.ZodType<ChoicesContent, z.ZodTypeDef, unknown>;
|
|
2003
|
+
/** @internal */
|
|
2004
|
+
export type ChoicesContent$Outbound = string | Array<DeploymentCreateMetric2DeploymentsMetrics1$Outbound | DeploymentCreateMetric2DeploymentsMetrics2$Outbound | DeploymentCreateMetric2DeploymentsMetrics3$Outbound>;
|
|
2005
|
+
/** @internal */
|
|
2006
|
+
export declare const ChoicesContent$outboundSchema: z.ZodType<ChoicesContent$Outbound, z.ZodTypeDef, ChoicesContent>;
|
|
2007
|
+
/**
|
|
2008
|
+
* @internal
|
|
2009
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2010
|
+
*/
|
|
2011
|
+
export declare namespace ChoicesContent$ {
|
|
2012
|
+
/** @deprecated use `ChoicesContent$inboundSchema` instead. */
|
|
2013
|
+
const inboundSchema: z.ZodType<ChoicesContent, z.ZodTypeDef, unknown>;
|
|
2014
|
+
/** @deprecated use `ChoicesContent$outboundSchema` instead. */
|
|
2015
|
+
const outboundSchema: z.ZodType<ChoicesContent$Outbound, z.ZodTypeDef, ChoicesContent>;
|
|
2016
|
+
/** @deprecated use `ChoicesContent$Outbound` instead. */
|
|
2017
|
+
type Outbound = ChoicesContent$Outbound;
|
|
2018
|
+
}
|
|
2019
|
+
export declare function choicesContentToJSON(choicesContent: ChoicesContent): string;
|
|
2020
|
+
export declare function choicesContentFromJSON(jsonString: string): SafeParseResult<ChoicesContent, SDKValidationError>;
|
|
2021
|
+
/** @internal */
|
|
2022
|
+
export declare const ChoicesUserMessage$inboundSchema: z.ZodType<ChoicesUserMessage, z.ZodTypeDef, unknown>;
|
|
2023
|
+
/** @internal */
|
|
2024
|
+
export type ChoicesUserMessage$Outbound = {
|
|
1522
2025
|
role: string;
|
|
1523
|
-
|
|
1524
|
-
|
|
2026
|
+
name?: string | undefined;
|
|
2027
|
+
content: string | Array<DeploymentCreateMetric2DeploymentsMetrics1$Outbound | DeploymentCreateMetric2DeploymentsMetrics2$Outbound | DeploymentCreateMetric2DeploymentsMetrics3$Outbound>;
|
|
1525
2028
|
};
|
|
1526
2029
|
/** @internal */
|
|
1527
|
-
export declare const
|
|
2030
|
+
export declare const ChoicesUserMessage$outboundSchema: z.ZodType<ChoicesUserMessage$Outbound, z.ZodTypeDef, ChoicesUserMessage>;
|
|
1528
2031
|
/**
|
|
1529
2032
|
* @internal
|
|
1530
2033
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1531
2034
|
*/
|
|
1532
|
-
export declare namespace
|
|
1533
|
-
/** @deprecated use `
|
|
1534
|
-
const inboundSchema: z.ZodType<
|
|
1535
|
-
/** @deprecated use `
|
|
1536
|
-
const outboundSchema: z.ZodType<
|
|
1537
|
-
/** @deprecated use `
|
|
1538
|
-
type Outbound =
|
|
2035
|
+
export declare namespace ChoicesUserMessage$ {
|
|
2036
|
+
/** @deprecated use `ChoicesUserMessage$inboundSchema` instead. */
|
|
2037
|
+
const inboundSchema: z.ZodType<ChoicesUserMessage, z.ZodTypeDef, unknown>;
|
|
2038
|
+
/** @deprecated use `ChoicesUserMessage$outboundSchema` instead. */
|
|
2039
|
+
const outboundSchema: z.ZodType<ChoicesUserMessage$Outbound, z.ZodTypeDef, ChoicesUserMessage>;
|
|
2040
|
+
/** @deprecated use `ChoicesUserMessage$Outbound` instead. */
|
|
2041
|
+
type Outbound = ChoicesUserMessage$Outbound;
|
|
1539
2042
|
}
|
|
1540
|
-
export declare function
|
|
1541
|
-
export declare function
|
|
2043
|
+
export declare function choicesUserMessageToJSON(choicesUserMessage: ChoicesUserMessage): string;
|
|
2044
|
+
export declare function choicesUserMessageFromJSON(jsonString: string): SafeParseResult<ChoicesUserMessage, SDKValidationError>;
|
|
1542
2045
|
/** @internal */
|
|
1543
|
-
export declare const
|
|
2046
|
+
export declare const DeploymentCreateMetricChoicesRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesRole>;
|
|
1544
2047
|
/** @internal */
|
|
1545
|
-
export
|
|
2048
|
+
export declare const DeploymentCreateMetricChoicesRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricChoicesRole>;
|
|
2049
|
+
/**
|
|
2050
|
+
* @internal
|
|
2051
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2052
|
+
*/
|
|
2053
|
+
export declare namespace DeploymentCreateMetricChoicesRole$ {
|
|
2054
|
+
/** @deprecated use `DeploymentCreateMetricChoicesRole$inboundSchema` instead. */
|
|
2055
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2056
|
+
readonly System: "system";
|
|
2057
|
+
}>;
|
|
2058
|
+
/** @deprecated use `DeploymentCreateMetricChoicesRole$outboundSchema` instead. */
|
|
2059
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2060
|
+
readonly System: "system";
|
|
2061
|
+
}>;
|
|
2062
|
+
}
|
|
1546
2063
|
/** @internal */
|
|
1547
|
-
export declare const
|
|
2064
|
+
export declare const ChoicesSystemMessage$inboundSchema: z.ZodType<ChoicesSystemMessage, z.ZodTypeDef, unknown>;
|
|
2065
|
+
/** @internal */
|
|
2066
|
+
export type ChoicesSystemMessage$Outbound = {
|
|
2067
|
+
role: string;
|
|
2068
|
+
content: string;
|
|
2069
|
+
name?: string | undefined;
|
|
2070
|
+
};
|
|
2071
|
+
/** @internal */
|
|
2072
|
+
export declare const ChoicesSystemMessage$outboundSchema: z.ZodType<ChoicesSystemMessage$Outbound, z.ZodTypeDef, ChoicesSystemMessage>;
|
|
1548
2073
|
/**
|
|
1549
2074
|
* @internal
|
|
1550
2075
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1551
2076
|
*/
|
|
1552
|
-
export declare namespace
|
|
1553
|
-
/** @deprecated use `
|
|
1554
|
-
const inboundSchema: z.ZodType<
|
|
1555
|
-
/** @deprecated use `
|
|
1556
|
-
const outboundSchema: z.ZodType<
|
|
1557
|
-
/** @deprecated use `
|
|
1558
|
-
type Outbound =
|
|
2077
|
+
export declare namespace ChoicesSystemMessage$ {
|
|
2078
|
+
/** @deprecated use `ChoicesSystemMessage$inboundSchema` instead. */
|
|
2079
|
+
const inboundSchema: z.ZodType<ChoicesSystemMessage, z.ZodTypeDef, unknown>;
|
|
2080
|
+
/** @deprecated use `ChoicesSystemMessage$outboundSchema` instead. */
|
|
2081
|
+
const outboundSchema: z.ZodType<ChoicesSystemMessage$Outbound, z.ZodTypeDef, ChoicesSystemMessage>;
|
|
2082
|
+
/** @deprecated use `ChoicesSystemMessage$Outbound` instead. */
|
|
2083
|
+
type Outbound = ChoicesSystemMessage$Outbound;
|
|
1559
2084
|
}
|
|
1560
|
-
export declare function
|
|
1561
|
-
export declare function
|
|
2085
|
+
export declare function choicesSystemMessageToJSON(choicesSystemMessage: ChoicesSystemMessage): string;
|
|
2086
|
+
export declare function choicesSystemMessageFromJSON(jsonString: string): SafeParseResult<ChoicesSystemMessage, SDKValidationError>;
|
|
1562
2087
|
/** @internal */
|
|
1563
|
-
export declare const
|
|
2088
|
+
export declare const ChoicesRole$inboundSchema: z.ZodNativeEnum<typeof ChoicesRole>;
|
|
1564
2089
|
/** @internal */
|
|
1565
|
-
export
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
2090
|
+
export declare const ChoicesRole$outboundSchema: z.ZodNativeEnum<typeof ChoicesRole>;
|
|
2091
|
+
/**
|
|
2092
|
+
* @internal
|
|
2093
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2094
|
+
*/
|
|
2095
|
+
export declare namespace ChoicesRole$ {
|
|
2096
|
+
/** @deprecated use `ChoicesRole$inboundSchema` instead. */
|
|
2097
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
2098
|
+
readonly Developer: "developer";
|
|
2099
|
+
}>;
|
|
2100
|
+
/** @deprecated use `ChoicesRole$outboundSchema` instead. */
|
|
2101
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
2102
|
+
readonly Developer: "developer";
|
|
2103
|
+
}>;
|
|
2104
|
+
}
|
|
2105
|
+
/** @internal */
|
|
2106
|
+
export declare const ChoicesDeveloperMessage$inboundSchema: z.ZodType<ChoicesDeveloperMessage, z.ZodTypeDef, unknown>;
|
|
2107
|
+
/** @internal */
|
|
2108
|
+
export type ChoicesDeveloperMessage$Outbound = {
|
|
2109
|
+
role: string;
|
|
2110
|
+
content: string;
|
|
2111
|
+
name?: string | undefined;
|
|
1569
2112
|
};
|
|
1570
2113
|
/** @internal */
|
|
2114
|
+
export declare const ChoicesDeveloperMessage$outboundSchema: z.ZodType<ChoicesDeveloperMessage$Outbound, z.ZodTypeDef, ChoicesDeveloperMessage>;
|
|
2115
|
+
/**
|
|
2116
|
+
* @internal
|
|
2117
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2118
|
+
*/
|
|
2119
|
+
export declare namespace ChoicesDeveloperMessage$ {
|
|
2120
|
+
/** @deprecated use `ChoicesDeveloperMessage$inboundSchema` instead. */
|
|
2121
|
+
const inboundSchema: z.ZodType<ChoicesDeveloperMessage, z.ZodTypeDef, unknown>;
|
|
2122
|
+
/** @deprecated use `ChoicesDeveloperMessage$outboundSchema` instead. */
|
|
2123
|
+
const outboundSchema: z.ZodType<ChoicesDeveloperMessage$Outbound, z.ZodTypeDef, ChoicesDeveloperMessage>;
|
|
2124
|
+
/** @deprecated use `ChoicesDeveloperMessage$Outbound` instead. */
|
|
2125
|
+
type Outbound = ChoicesDeveloperMessage$Outbound;
|
|
2126
|
+
}
|
|
2127
|
+
export declare function choicesDeveloperMessageToJSON(choicesDeveloperMessage: ChoicesDeveloperMessage): string;
|
|
2128
|
+
export declare function choicesDeveloperMessageFromJSON(jsonString: string): SafeParseResult<ChoicesDeveloperMessage, SDKValidationError>;
|
|
2129
|
+
/** @internal */
|
|
2130
|
+
export declare const Choices$inboundSchema: z.ZodType<Choices, z.ZodTypeDef, unknown>;
|
|
2131
|
+
/** @internal */
|
|
2132
|
+
export type Choices$Outbound = ChoicesDeveloperMessage$Outbound | ChoicesSystemMessage$Outbound | ChoicesUserMessage$Outbound | ChoicesToolMessage$Outbound | ChoicesAssistantMessage$Outbound;
|
|
2133
|
+
/** @internal */
|
|
1571
2134
|
export declare const Choices$outboundSchema: z.ZodType<Choices$Outbound, z.ZodTypeDef, Choices>;
|
|
1572
2135
|
/**
|
|
1573
2136
|
* @internal
|
|
@@ -1615,7 +2178,7 @@ export type DeploymentCreateMetricRequestBody$Outbound = {
|
|
|
1615
2178
|
usage?: Usage$Outbound | undefined;
|
|
1616
2179
|
performance?: Performance$Outbound | undefined;
|
|
1617
2180
|
messages?: Array<DeploymentCreateMetricMessagesDeveloperMessage$Outbound | DeploymentCreateMetricMessagesSystemMessage$Outbound | DeploymentCreateMetricMessagesUserMessage$Outbound | DeploymentCreateMetricMessagesToolMessage$Outbound | DeploymentCreateMetricMessagesAssistantMessage$Outbound> | undefined;
|
|
1618
|
-
choices?: Array<
|
|
2181
|
+
choices?: Array<ChoicesDeveloperMessage$Outbound | ChoicesSystemMessage$Outbound | ChoicesUserMessage$Outbound | ChoicesToolMessage$Outbound | ChoicesAssistantMessage$Outbound> | undefined;
|
|
1619
2182
|
feedback?: Feedback$Outbound | undefined;
|
|
1620
2183
|
};
|
|
1621
2184
|
/** @internal */
|