@orq-ai/node 4.2.0-rc.61 → 4.2.0-rc.64
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/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/conversationresponse.js +1 -1
- package/models/components/conversationwithmessagesresponse.js +1 -1
- package/models/components/partdoneevent.js +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +66 -22
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +50 -17
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +39 -13
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +27 -9
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createcompletion.d.ts +19 -6
- package/models/operations/createcompletion.d.ts.map +1 -1
- package/models/operations/createcompletion.js +13 -4
- package/models/operations/createcompletion.js.map +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createconversation.js +1 -1
- package/models/operations/createconversationresponse.js +2 -2
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createembedding.d.ts +19 -6
- package/models/operations/createembedding.d.ts.map +1 -1
- package/models/operations/createembedding.js +13 -4
- package/models/operations/createembedding.js.map +1 -1
- package/models/operations/createeval.js +14 -14
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createimage.d.ts +19 -6
- package/models/operations/createimage.d.ts.map +1 -1
- package/models/operations/createimage.js +12 -4
- package/models/operations/createimage.js.map +1 -1
- package/models/operations/createimageedit.d.ts +19 -6
- package/models/operations/createimageedit.d.ts.map +1 -1
- package/models/operations/createimageedit.js +13 -4
- package/models/operations/createimageedit.js.map +1 -1
- package/models/operations/createimagevariation.d.ts +19 -6
- package/models/operations/createimagevariation.d.ts.map +1 -1
- package/models/operations/createimagevariation.js +13 -4
- package/models/operations/createimagevariation.js.map +1 -1
- package/models/operations/createprompt.d.ts +33 -11
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +26 -9
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/creatererank.d.ts +19 -6
- package/models/operations/creatererank.d.ts.map +1 -1
- package/models/operations/creatererank.js +12 -4
- package/models/operations/creatererank.js.map +1 -1
- package/models/operations/createspeech.d.ts +19 -6
- package/models/operations/createspeech.d.ts.map +1 -1
- package/models/operations/createspeech.js +12 -4
- package/models/operations/createspeech.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/createtranscription.d.ts +24 -6
- package/models/operations/createtranscription.d.ts.map +1 -1
- package/models/operations/createtranscription.js +14 -4
- package/models/operations/createtranscription.js.map +1 -1
- package/models/operations/createtranslation.d.ts +24 -6
- package/models/operations/createtranslation.d.ts.map +1 -1
- package/models/operations/createtranslation.js +14 -4
- package/models/operations/createtranslation.js.map +1 -1
- package/models/operations/fileget.js +1 -1
- package/models/operations/filelist.js +1 -1
- package/models/operations/fileupload.js +1 -1
- package/models/operations/generateconversationname.js +1 -1
- package/models/operations/getallprompts.d.ts +13 -4
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +13 -5
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +14 -14
- package/models/operations/getoneprompt.d.ts +13 -4
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +13 -5
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +13 -4
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +14 -5
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/listagents.d.ts +26 -8
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +25 -9
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listcontacts.js +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/listpromptversions.d.ts +13 -4
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +14 -5
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/retrieveagentrequest.d.ts +26 -8
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +25 -8
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievecontact.js +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +40 -14
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +27 -11
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +40 -14
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +28 -10
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +66 -22
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +50 -17
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatecontact.js +1 -1
- package/models/operations/updateconversation.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +14 -14
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updateprompt.d.ts +33 -11
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +26 -9
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/conversationresponse.ts +1 -1
- package/src/models/components/conversationwithmessagesresponse.ts +1 -1
- package/src/models/components/partdoneevent.ts +1 -1
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +152 -40
- package/src/models/operations/createchatcompletion.ts +94 -24
- package/src/models/operations/createcompletion.ts +43 -11
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createconversation.ts +1 -1
- package/src/models/operations/createconversationresponse.ts +2 -2
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createembedding.ts +43 -11
- package/src/models/operations/createeval.ts +14 -14
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createimage.ts +40 -9
- package/src/models/operations/createimageedit.ts +43 -11
- package/src/models/operations/createimagevariation.ts +44 -11
- package/src/models/operations/createprompt.ts +78 -19
- package/src/models/operations/creatererank.ts +40 -9
- package/src/models/operations/createspeech.ts +40 -9
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/createtranscription.ts +49 -11
- package/src/models/operations/createtranslation.ts +49 -11
- package/src/models/operations/fileget.ts +1 -1
- package/src/models/operations/filelist.ts +1 -1
- package/src/models/operations/fileupload.ts +1 -1
- package/src/models/operations/generateconversationname.ts +1 -1
- package/src/models/operations/getallprompts.ts +33 -7
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +14 -14
- package/src/models/operations/getoneprompt.ts +33 -7
- package/src/models/operations/getpromptversion.ts +37 -9
- package/src/models/operations/listagents.ts +70 -17
- package/src/models/operations/listcontacts.ts +1 -1
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/listpromptversions.ts +37 -9
- package/src/models/operations/retrieveagentrequest.ts +80 -17
- package/src/models/operations/retrievecontact.ts +1 -1
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +84 -24
- package/src/models/operations/streamrunagent.ts +90 -25
- package/src/models/operations/updateagent.ts +171 -38
- package/src/models/operations/updatecontact.ts +1 -1
- package/src/models/operations/updateconversation.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +14 -14
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updateprompt.ts +78 -19
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -142,8 +142,7 @@ export type CreateImageVariationLoadBalancerType = ClosedEnum<
|
|
|
142
142
|
typeof CreateImageVariationLoadBalancerType
|
|
143
143
|
>;
|
|
144
144
|
|
|
145
|
-
export type
|
|
146
|
-
type: CreateImageVariationLoadBalancerType;
|
|
145
|
+
export type CreateImageVariationLoadBalancerModels = {
|
|
147
146
|
/**
|
|
148
147
|
* Model identifier for load balancing
|
|
149
148
|
*/
|
|
@@ -154,6 +153,14 @@ export type CreateImageVariationLoadBalancer1 = {
|
|
|
154
153
|
weight?: number | undefined;
|
|
155
154
|
};
|
|
156
155
|
|
|
156
|
+
export type CreateImageVariationLoadBalancer1 = {
|
|
157
|
+
type: CreateImageVariationLoadBalancerType;
|
|
158
|
+
models: Array<CreateImageVariationLoadBalancerModels>;
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Array of models with weights for load balancing requests
|
|
163
|
+
*/
|
|
157
164
|
export type CreateImageVariationLoadBalancer =
|
|
158
165
|
CreateImageVariationLoadBalancer1;
|
|
159
166
|
|
|
@@ -196,7 +203,7 @@ export type CreateImageVariationOrq = {
|
|
|
196
203
|
/**
|
|
197
204
|
* Array of models with weights for load balancing requests
|
|
198
205
|
*/
|
|
199
|
-
loadBalancer?:
|
|
206
|
+
loadBalancer?: CreateImageVariationLoadBalancer1 | undefined;
|
|
200
207
|
/**
|
|
201
208
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
202
209
|
*/
|
|
@@ -477,12 +484,38 @@ export const CreateImageVariationLoadBalancerType$outboundSchema:
|
|
|
477
484
|
);
|
|
478
485
|
|
|
479
486
|
/** @internal */
|
|
480
|
-
export type
|
|
481
|
-
type: string;
|
|
487
|
+
export type CreateImageVariationLoadBalancerModels$Outbound = {
|
|
482
488
|
model: string;
|
|
483
489
|
weight: number;
|
|
484
490
|
};
|
|
485
491
|
|
|
492
|
+
/** @internal */
|
|
493
|
+
export const CreateImageVariationLoadBalancerModels$outboundSchema: z.ZodType<
|
|
494
|
+
CreateImageVariationLoadBalancerModels$Outbound,
|
|
495
|
+
z.ZodTypeDef,
|
|
496
|
+
CreateImageVariationLoadBalancerModels
|
|
497
|
+
> = z.object({
|
|
498
|
+
model: z.string(),
|
|
499
|
+
weight: z.number().default(0.5),
|
|
500
|
+
});
|
|
501
|
+
|
|
502
|
+
export function createImageVariationLoadBalancerModelsToJSON(
|
|
503
|
+
createImageVariationLoadBalancerModels:
|
|
504
|
+
CreateImageVariationLoadBalancerModels,
|
|
505
|
+
): string {
|
|
506
|
+
return JSON.stringify(
|
|
507
|
+
CreateImageVariationLoadBalancerModels$outboundSchema.parse(
|
|
508
|
+
createImageVariationLoadBalancerModels,
|
|
509
|
+
),
|
|
510
|
+
);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/** @internal */
|
|
514
|
+
export type CreateImageVariationLoadBalancer1$Outbound = {
|
|
515
|
+
type: string;
|
|
516
|
+
models: Array<CreateImageVariationLoadBalancerModels$Outbound>;
|
|
517
|
+
};
|
|
518
|
+
|
|
486
519
|
/** @internal */
|
|
487
520
|
export const CreateImageVariationLoadBalancer1$outboundSchema: z.ZodType<
|
|
488
521
|
CreateImageVariationLoadBalancer1$Outbound,
|
|
@@ -490,8 +523,9 @@ export const CreateImageVariationLoadBalancer1$outboundSchema: z.ZodType<
|
|
|
490
523
|
CreateImageVariationLoadBalancer1
|
|
491
524
|
> = z.object({
|
|
492
525
|
type: CreateImageVariationLoadBalancerType$outboundSchema,
|
|
493
|
-
|
|
494
|
-
|
|
526
|
+
models: z.array(
|
|
527
|
+
z.lazy(() => CreateImageVariationLoadBalancerModels$outboundSchema),
|
|
528
|
+
),
|
|
495
529
|
});
|
|
496
530
|
|
|
497
531
|
export function createImageVariationLoadBalancer1ToJSON(
|
|
@@ -562,7 +596,7 @@ export type CreateImageVariationOrq$Outbound = {
|
|
|
562
596
|
identity?: components.PublicContact$Outbound | undefined;
|
|
563
597
|
contact?: CreateImageVariationContact$Outbound | undefined;
|
|
564
598
|
cache?: CreateImageVariationCache$Outbound | undefined;
|
|
565
|
-
load_balancer?:
|
|
599
|
+
load_balancer?: CreateImageVariationLoadBalancer1$Outbound | undefined;
|
|
566
600
|
timeout?: CreateImageVariationTimeout$Outbound | undefined;
|
|
567
601
|
};
|
|
568
602
|
|
|
@@ -580,9 +614,8 @@ export const CreateImageVariationOrq$outboundSchema: z.ZodType<
|
|
|
580
614
|
identity: components.PublicContact$outboundSchema.optional(),
|
|
581
615
|
contact: z.lazy(() => CreateImageVariationContact$outboundSchema).optional(),
|
|
582
616
|
cache: z.lazy(() => CreateImageVariationCache$outboundSchema).optional(),
|
|
583
|
-
loadBalancer: z.
|
|
584
|
-
|
|
585
|
-
).optional(),
|
|
617
|
+
loadBalancer: z.lazy(() => CreateImageVariationLoadBalancer1$outboundSchema)
|
|
618
|
+
.optional(),
|
|
586
619
|
timeout: z.lazy(() => CreateImageVariationTimeout$outboundSchema).optional(),
|
|
587
620
|
}).transform((v) => {
|
|
588
621
|
return remap$(v, {
|
|
@@ -675,8 +675,7 @@ export type CreatePromptLoadBalancerType = ClosedEnum<
|
|
|
675
675
|
typeof CreatePromptLoadBalancerType
|
|
676
676
|
>;
|
|
677
677
|
|
|
678
|
-
export type
|
|
679
|
-
type: CreatePromptLoadBalancerType;
|
|
678
|
+
export type CreatePromptLoadBalancerModels = {
|
|
680
679
|
/**
|
|
681
680
|
* Model identifier for load balancing
|
|
682
681
|
*/
|
|
@@ -687,6 +686,14 @@ export type CreatePromptLoadBalancer1 = {
|
|
|
687
686
|
weight?: number | undefined;
|
|
688
687
|
};
|
|
689
688
|
|
|
689
|
+
export type CreatePromptLoadBalancer1 = {
|
|
690
|
+
type: CreatePromptLoadBalancerType;
|
|
691
|
+
models: Array<CreatePromptLoadBalancerModels>;
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Load balancer configuration for the request.
|
|
696
|
+
*/
|
|
690
697
|
export type CreatePromptLoadBalancer = CreatePromptLoadBalancer1;
|
|
691
698
|
|
|
692
699
|
/**
|
|
@@ -834,9 +841,9 @@ export type PromptInput = {
|
|
|
834
841
|
*/
|
|
835
842
|
cache?: CreatePromptCache | undefined;
|
|
836
843
|
/**
|
|
837
|
-
*
|
|
844
|
+
* Load balancer configuration for the request.
|
|
838
845
|
*/
|
|
839
|
-
loadBalancer?:
|
|
846
|
+
loadBalancer?: CreatePromptLoadBalancer1 | undefined;
|
|
840
847
|
/**
|
|
841
848
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
842
849
|
*/
|
|
@@ -1665,8 +1672,7 @@ export type CreatePromptLoadBalancerPromptsType = ClosedEnum<
|
|
|
1665
1672
|
typeof CreatePromptLoadBalancerPromptsType
|
|
1666
1673
|
>;
|
|
1667
1674
|
|
|
1668
|
-
export type
|
|
1669
|
-
type: CreatePromptLoadBalancerPromptsType;
|
|
1675
|
+
export type CreatePromptLoadBalancerPromptsModels = {
|
|
1670
1676
|
/**
|
|
1671
1677
|
* Model identifier for load balancing
|
|
1672
1678
|
*/
|
|
@@ -1677,6 +1683,14 @@ export type CreatePromptLoadBalancerPrompts1 = {
|
|
|
1677
1683
|
weight: number;
|
|
1678
1684
|
};
|
|
1679
1685
|
|
|
1686
|
+
export type CreatePromptLoadBalancerPrompts1 = {
|
|
1687
|
+
type: CreatePromptLoadBalancerPromptsType;
|
|
1688
|
+
models: Array<CreatePromptLoadBalancerPromptsModels>;
|
|
1689
|
+
};
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* Load balancer configuration for the request.
|
|
1693
|
+
*/
|
|
1680
1694
|
export type CreatePromptPromptsLoadBalancer = CreatePromptLoadBalancerPrompts1;
|
|
1681
1695
|
|
|
1682
1696
|
/**
|
|
@@ -2147,9 +2161,9 @@ export type PromptField = {
|
|
|
2147
2161
|
*/
|
|
2148
2162
|
cache?: CreatePromptPromptsCache | undefined;
|
|
2149
2163
|
/**
|
|
2150
|
-
*
|
|
2164
|
+
* Load balancer configuration for the request.
|
|
2151
2165
|
*/
|
|
2152
|
-
loadBalancer?:
|
|
2166
|
+
loadBalancer?: CreatePromptLoadBalancerPrompts1 | undefined;
|
|
2153
2167
|
/**
|
|
2154
2168
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
2155
2169
|
*/
|
|
@@ -3366,12 +3380,37 @@ export const CreatePromptLoadBalancerType$outboundSchema: z.ZodNativeEnum<
|
|
|
3366
3380
|
> = z.nativeEnum(CreatePromptLoadBalancerType);
|
|
3367
3381
|
|
|
3368
3382
|
/** @internal */
|
|
3369
|
-
export type
|
|
3370
|
-
type: string;
|
|
3383
|
+
export type CreatePromptLoadBalancerModels$Outbound = {
|
|
3371
3384
|
model: string;
|
|
3372
3385
|
weight: number;
|
|
3373
3386
|
};
|
|
3374
3387
|
|
|
3388
|
+
/** @internal */
|
|
3389
|
+
export const CreatePromptLoadBalancerModels$outboundSchema: z.ZodType<
|
|
3390
|
+
CreatePromptLoadBalancerModels$Outbound,
|
|
3391
|
+
z.ZodTypeDef,
|
|
3392
|
+
CreatePromptLoadBalancerModels
|
|
3393
|
+
> = z.object({
|
|
3394
|
+
model: z.string(),
|
|
3395
|
+
weight: z.number().default(0.5),
|
|
3396
|
+
});
|
|
3397
|
+
|
|
3398
|
+
export function createPromptLoadBalancerModelsToJSON(
|
|
3399
|
+
createPromptLoadBalancerModels: CreatePromptLoadBalancerModels,
|
|
3400
|
+
): string {
|
|
3401
|
+
return JSON.stringify(
|
|
3402
|
+
CreatePromptLoadBalancerModels$outboundSchema.parse(
|
|
3403
|
+
createPromptLoadBalancerModels,
|
|
3404
|
+
),
|
|
3405
|
+
);
|
|
3406
|
+
}
|
|
3407
|
+
|
|
3408
|
+
/** @internal */
|
|
3409
|
+
export type CreatePromptLoadBalancer1$Outbound = {
|
|
3410
|
+
type: string;
|
|
3411
|
+
models: Array<CreatePromptLoadBalancerModels$Outbound>;
|
|
3412
|
+
};
|
|
3413
|
+
|
|
3375
3414
|
/** @internal */
|
|
3376
3415
|
export const CreatePromptLoadBalancer1$outboundSchema: z.ZodType<
|
|
3377
3416
|
CreatePromptLoadBalancer1$Outbound,
|
|
@@ -3379,8 +3418,7 @@ export const CreatePromptLoadBalancer1$outboundSchema: z.ZodType<
|
|
|
3379
3418
|
CreatePromptLoadBalancer1
|
|
3380
3419
|
> = z.object({
|
|
3381
3420
|
type: CreatePromptLoadBalancerType$outboundSchema,
|
|
3382
|
-
|
|
3383
|
-
weight: z.number().default(0.5),
|
|
3421
|
+
models: z.array(z.lazy(() => CreatePromptLoadBalancerModels$outboundSchema)),
|
|
3384
3422
|
});
|
|
3385
3423
|
|
|
3386
3424
|
export function createPromptLoadBalancer1ToJSON(
|
|
@@ -3477,7 +3515,7 @@ export type PromptInput$Outbound = {
|
|
|
3477
3515
|
fallbacks?: Array<CreatePromptFallbacks$Outbound> | undefined;
|
|
3478
3516
|
retry?: CreatePromptRetry$Outbound | undefined;
|
|
3479
3517
|
cache?: CreatePromptCache$Outbound | undefined;
|
|
3480
|
-
load_balancer?:
|
|
3518
|
+
load_balancer?: CreatePromptLoadBalancer1$Outbound | undefined;
|
|
3481
3519
|
timeout?: CreatePromptTimeout$Outbound | undefined;
|
|
3482
3520
|
};
|
|
3483
3521
|
|
|
@@ -3536,7 +3574,7 @@ export const PromptInput$outboundSchema: z.ZodType<
|
|
|
3536
3574
|
.optional(),
|
|
3537
3575
|
retry: z.lazy(() => CreatePromptRetry$outboundSchema).optional(),
|
|
3538
3576
|
cache: z.lazy(() => CreatePromptCache$outboundSchema).optional(),
|
|
3539
|
-
loadBalancer: z.
|
|
3577
|
+
loadBalancer: z.lazy(() => CreatePromptLoadBalancer1$outboundSchema)
|
|
3540
3578
|
.optional(),
|
|
3541
3579
|
timeout: z.lazy(() => CreatePromptTimeout$outboundSchema).optional(),
|
|
3542
3580
|
}).transform((v) => {
|
|
@@ -4561,6 +4599,27 @@ export const CreatePromptLoadBalancerPromptsType$inboundSchema: z.ZodNativeEnum<
|
|
|
4561
4599
|
typeof CreatePromptLoadBalancerPromptsType
|
|
4562
4600
|
> = z.nativeEnum(CreatePromptLoadBalancerPromptsType);
|
|
4563
4601
|
|
|
4602
|
+
/** @internal */
|
|
4603
|
+
export const CreatePromptLoadBalancerPromptsModels$inboundSchema: z.ZodType<
|
|
4604
|
+
CreatePromptLoadBalancerPromptsModels,
|
|
4605
|
+
z.ZodTypeDef,
|
|
4606
|
+
unknown
|
|
4607
|
+
> = z.object({
|
|
4608
|
+
model: z.string(),
|
|
4609
|
+
weight: z.number().default(0.5),
|
|
4610
|
+
});
|
|
4611
|
+
|
|
4612
|
+
export function createPromptLoadBalancerPromptsModelsFromJSON(
|
|
4613
|
+
jsonString: string,
|
|
4614
|
+
): SafeParseResult<CreatePromptLoadBalancerPromptsModels, SDKValidationError> {
|
|
4615
|
+
return safeParse(
|
|
4616
|
+
jsonString,
|
|
4617
|
+
(x) =>
|
|
4618
|
+
CreatePromptLoadBalancerPromptsModels$inboundSchema.parse(JSON.parse(x)),
|
|
4619
|
+
`Failed to parse 'CreatePromptLoadBalancerPromptsModels' from JSON`,
|
|
4620
|
+
);
|
|
4621
|
+
}
|
|
4622
|
+
|
|
4564
4623
|
/** @internal */
|
|
4565
4624
|
export const CreatePromptLoadBalancerPrompts1$inboundSchema: z.ZodType<
|
|
4566
4625
|
CreatePromptLoadBalancerPrompts1,
|
|
@@ -4568,8 +4627,9 @@ export const CreatePromptLoadBalancerPrompts1$inboundSchema: z.ZodType<
|
|
|
4568
4627
|
unknown
|
|
4569
4628
|
> = z.object({
|
|
4570
4629
|
type: CreatePromptLoadBalancerPromptsType$inboundSchema,
|
|
4571
|
-
|
|
4572
|
-
|
|
4630
|
+
models: z.array(
|
|
4631
|
+
z.lazy(() => CreatePromptLoadBalancerPromptsModels$inboundSchema),
|
|
4632
|
+
),
|
|
4573
4633
|
});
|
|
4574
4634
|
|
|
4575
4635
|
export function createPromptLoadBalancerPrompts1FromJSON(
|
|
@@ -5212,9 +5272,8 @@ export const PromptField$inboundSchema: z.ZodType<
|
|
|
5212
5272
|
.optional(),
|
|
5213
5273
|
retry: z.lazy(() => CreatePromptPromptsRetry$inboundSchema).optional(),
|
|
5214
5274
|
cache: z.lazy(() => CreatePromptPromptsCache$inboundSchema).optional(),
|
|
5215
|
-
load_balancer: z.
|
|
5216
|
-
|
|
5217
|
-
).optional(),
|
|
5275
|
+
load_balancer: z.lazy(() => CreatePromptLoadBalancerPrompts1$inboundSchema)
|
|
5276
|
+
.optional(),
|
|
5218
5277
|
timeout: z.lazy(() => CreatePromptPromptsTimeout$inboundSchema).optional(),
|
|
5219
5278
|
messages: z.array(
|
|
5220
5279
|
z.union([
|
|
@@ -86,8 +86,7 @@ export type CreateRerankLoadBalancerType = ClosedEnum<
|
|
|
86
86
|
typeof CreateRerankLoadBalancerType
|
|
87
87
|
>;
|
|
88
88
|
|
|
89
|
-
export type
|
|
90
|
-
type: CreateRerankLoadBalancerType;
|
|
89
|
+
export type CreateRerankLoadBalancerModels = {
|
|
91
90
|
/**
|
|
92
91
|
* Model identifier for load balancing
|
|
93
92
|
*/
|
|
@@ -98,6 +97,14 @@ export type CreateRerankLoadBalancer1 = {
|
|
|
98
97
|
weight?: number | undefined;
|
|
99
98
|
};
|
|
100
99
|
|
|
100
|
+
export type CreateRerankLoadBalancer1 = {
|
|
101
|
+
type: CreateRerankLoadBalancerType;
|
|
102
|
+
models: Array<CreateRerankLoadBalancerModels>;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Array of models with weights for load balancing requests
|
|
107
|
+
*/
|
|
101
108
|
export type CreateRerankLoadBalancer = CreateRerankLoadBalancer1;
|
|
102
109
|
|
|
103
110
|
/**
|
|
@@ -135,7 +142,7 @@ export type CreateRerankOrq = {
|
|
|
135
142
|
/**
|
|
136
143
|
* Array of models with weights for load balancing requests
|
|
137
144
|
*/
|
|
138
|
-
loadBalancer?:
|
|
145
|
+
loadBalancer?: CreateRerankLoadBalancer1 | undefined;
|
|
139
146
|
/**
|
|
140
147
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
141
148
|
*/
|
|
@@ -361,12 +368,37 @@ export const CreateRerankLoadBalancerType$outboundSchema: z.ZodNativeEnum<
|
|
|
361
368
|
> = z.nativeEnum(CreateRerankLoadBalancerType);
|
|
362
369
|
|
|
363
370
|
/** @internal */
|
|
364
|
-
export type
|
|
365
|
-
type: string;
|
|
371
|
+
export type CreateRerankLoadBalancerModels$Outbound = {
|
|
366
372
|
model: string;
|
|
367
373
|
weight: number;
|
|
368
374
|
};
|
|
369
375
|
|
|
376
|
+
/** @internal */
|
|
377
|
+
export const CreateRerankLoadBalancerModels$outboundSchema: z.ZodType<
|
|
378
|
+
CreateRerankLoadBalancerModels$Outbound,
|
|
379
|
+
z.ZodTypeDef,
|
|
380
|
+
CreateRerankLoadBalancerModels
|
|
381
|
+
> = z.object({
|
|
382
|
+
model: z.string(),
|
|
383
|
+
weight: z.number().default(0.5),
|
|
384
|
+
});
|
|
385
|
+
|
|
386
|
+
export function createRerankLoadBalancerModelsToJSON(
|
|
387
|
+
createRerankLoadBalancerModels: CreateRerankLoadBalancerModels,
|
|
388
|
+
): string {
|
|
389
|
+
return JSON.stringify(
|
|
390
|
+
CreateRerankLoadBalancerModels$outboundSchema.parse(
|
|
391
|
+
createRerankLoadBalancerModels,
|
|
392
|
+
),
|
|
393
|
+
);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/** @internal */
|
|
397
|
+
export type CreateRerankLoadBalancer1$Outbound = {
|
|
398
|
+
type: string;
|
|
399
|
+
models: Array<CreateRerankLoadBalancerModels$Outbound>;
|
|
400
|
+
};
|
|
401
|
+
|
|
370
402
|
/** @internal */
|
|
371
403
|
export const CreateRerankLoadBalancer1$outboundSchema: z.ZodType<
|
|
372
404
|
CreateRerankLoadBalancer1$Outbound,
|
|
@@ -374,8 +406,7 @@ export const CreateRerankLoadBalancer1$outboundSchema: z.ZodType<
|
|
|
374
406
|
CreateRerankLoadBalancer1
|
|
375
407
|
> = z.object({
|
|
376
408
|
type: CreateRerankLoadBalancerType$outboundSchema,
|
|
377
|
-
|
|
378
|
-
weight: z.number().default(0.5),
|
|
409
|
+
models: z.array(z.lazy(() => CreateRerankLoadBalancerModels$outboundSchema)),
|
|
379
410
|
});
|
|
380
411
|
|
|
381
412
|
export function createRerankLoadBalancer1ToJSON(
|
|
@@ -439,7 +470,7 @@ export type CreateRerankOrq$Outbound = {
|
|
|
439
470
|
retry?: CreateRerankRetry$Outbound | undefined;
|
|
440
471
|
identity?: components.PublicContact$Outbound | undefined;
|
|
441
472
|
contact?: CreateRerankContact$Outbound | undefined;
|
|
442
|
-
load_balancer?:
|
|
473
|
+
load_balancer?: CreateRerankLoadBalancer1$Outbound | undefined;
|
|
443
474
|
timeout?: CreateRerankTimeout$Outbound | undefined;
|
|
444
475
|
};
|
|
445
476
|
|
|
@@ -456,7 +487,7 @@ export const CreateRerankOrq$outboundSchema: z.ZodType<
|
|
|
456
487
|
retry: z.lazy(() => CreateRerankRetry$outboundSchema).optional(),
|
|
457
488
|
identity: components.PublicContact$outboundSchema.optional(),
|
|
458
489
|
contact: z.lazy(() => CreateRerankContact$outboundSchema).optional(),
|
|
459
|
-
loadBalancer: z.
|
|
490
|
+
loadBalancer: z.lazy(() => CreateRerankLoadBalancer1$outboundSchema)
|
|
460
491
|
.optional(),
|
|
461
492
|
timeout: z.lazy(() => CreateRerankTimeout$outboundSchema).optional(),
|
|
462
493
|
}).transform((v) => {
|
|
@@ -99,8 +99,7 @@ export type CreateSpeechLoadBalancerType = ClosedEnum<
|
|
|
99
99
|
typeof CreateSpeechLoadBalancerType
|
|
100
100
|
>;
|
|
101
101
|
|
|
102
|
-
export type
|
|
103
|
-
type: CreateSpeechLoadBalancerType;
|
|
102
|
+
export type CreateSpeechLoadBalancerModels = {
|
|
104
103
|
/**
|
|
105
104
|
* Model identifier for load balancing
|
|
106
105
|
*/
|
|
@@ -111,6 +110,14 @@ export type CreateSpeechLoadBalancer1 = {
|
|
|
111
110
|
weight?: number | undefined;
|
|
112
111
|
};
|
|
113
112
|
|
|
113
|
+
export type CreateSpeechLoadBalancer1 = {
|
|
114
|
+
type: CreateSpeechLoadBalancerType;
|
|
115
|
+
models: Array<CreateSpeechLoadBalancerModels>;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Array of models with weights for load balancing requests
|
|
120
|
+
*/
|
|
114
121
|
export type CreateSpeechLoadBalancer = CreateSpeechLoadBalancer1;
|
|
115
122
|
|
|
116
123
|
/**
|
|
@@ -148,7 +155,7 @@ export type CreateSpeechOrq = {
|
|
|
148
155
|
/**
|
|
149
156
|
* Array of models with weights for load balancing requests
|
|
150
157
|
*/
|
|
151
|
-
loadBalancer?:
|
|
158
|
+
loadBalancer?: CreateSpeechLoadBalancer1 | undefined;
|
|
152
159
|
/**
|
|
153
160
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
154
161
|
*/
|
|
@@ -314,12 +321,37 @@ export const CreateSpeechLoadBalancerType$outboundSchema: z.ZodNativeEnum<
|
|
|
314
321
|
> = z.nativeEnum(CreateSpeechLoadBalancerType);
|
|
315
322
|
|
|
316
323
|
/** @internal */
|
|
317
|
-
export type
|
|
318
|
-
type: string;
|
|
324
|
+
export type CreateSpeechLoadBalancerModels$Outbound = {
|
|
319
325
|
model: string;
|
|
320
326
|
weight: number;
|
|
321
327
|
};
|
|
322
328
|
|
|
329
|
+
/** @internal */
|
|
330
|
+
export const CreateSpeechLoadBalancerModels$outboundSchema: z.ZodType<
|
|
331
|
+
CreateSpeechLoadBalancerModels$Outbound,
|
|
332
|
+
z.ZodTypeDef,
|
|
333
|
+
CreateSpeechLoadBalancerModels
|
|
334
|
+
> = z.object({
|
|
335
|
+
model: z.string(),
|
|
336
|
+
weight: z.number().default(0.5),
|
|
337
|
+
});
|
|
338
|
+
|
|
339
|
+
export function createSpeechLoadBalancerModelsToJSON(
|
|
340
|
+
createSpeechLoadBalancerModels: CreateSpeechLoadBalancerModels,
|
|
341
|
+
): string {
|
|
342
|
+
return JSON.stringify(
|
|
343
|
+
CreateSpeechLoadBalancerModels$outboundSchema.parse(
|
|
344
|
+
createSpeechLoadBalancerModels,
|
|
345
|
+
),
|
|
346
|
+
);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/** @internal */
|
|
350
|
+
export type CreateSpeechLoadBalancer1$Outbound = {
|
|
351
|
+
type: string;
|
|
352
|
+
models: Array<CreateSpeechLoadBalancerModels$Outbound>;
|
|
353
|
+
};
|
|
354
|
+
|
|
323
355
|
/** @internal */
|
|
324
356
|
export const CreateSpeechLoadBalancer1$outboundSchema: z.ZodType<
|
|
325
357
|
CreateSpeechLoadBalancer1$Outbound,
|
|
@@ -327,8 +359,7 @@ export const CreateSpeechLoadBalancer1$outboundSchema: z.ZodType<
|
|
|
327
359
|
CreateSpeechLoadBalancer1
|
|
328
360
|
> = z.object({
|
|
329
361
|
type: CreateSpeechLoadBalancerType$outboundSchema,
|
|
330
|
-
|
|
331
|
-
weight: z.number().default(0.5),
|
|
362
|
+
models: z.array(z.lazy(() => CreateSpeechLoadBalancerModels$outboundSchema)),
|
|
332
363
|
});
|
|
333
364
|
|
|
334
365
|
export function createSpeechLoadBalancer1ToJSON(
|
|
@@ -392,7 +423,7 @@ export type CreateSpeechOrq$Outbound = {
|
|
|
392
423
|
identity?: components.PublicContact$Outbound | undefined;
|
|
393
424
|
contact?: CreateSpeechContact$Outbound | undefined;
|
|
394
425
|
thread?: CreateSpeechThread$Outbound | undefined;
|
|
395
|
-
load_balancer?:
|
|
426
|
+
load_balancer?: CreateSpeechLoadBalancer1$Outbound | undefined;
|
|
396
427
|
timeout?: CreateSpeechTimeout$Outbound | undefined;
|
|
397
428
|
};
|
|
398
429
|
|
|
@@ -409,7 +440,7 @@ export const CreateSpeechOrq$outboundSchema: z.ZodType<
|
|
|
409
440
|
identity: components.PublicContact$outboundSchema.optional(),
|
|
410
441
|
contact: z.lazy(() => CreateSpeechContact$outboundSchema).optional(),
|
|
411
442
|
thread: z.lazy(() => CreateSpeechThread$outboundSchema).optional(),
|
|
412
|
-
loadBalancer: z.
|
|
443
|
+
loadBalancer: z.lazy(() => CreateSpeechLoadBalancer1$outboundSchema)
|
|
413
444
|
.optional(),
|
|
414
445
|
timeout: z.lazy(() => CreateSpeechTimeout$outboundSchema).optional(),
|
|
415
446
|
}).transform((v) => {
|
|
@@ -1899,7 +1899,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1899
1899
|
z.ZodTypeDef,
|
|
1900
1900
|
unknown
|
|
1901
1901
|
> = z.object({
|
|
1902
|
-
_id: z.string().default("
|
|
1902
|
+
_id: z.string().default("tool_01KFMNRM8MBZ2BJS4XW9GM184R"),
|
|
1903
1903
|
path: z.string(),
|
|
1904
1904
|
key: z.string(),
|
|
1905
1905
|
display_name: z.string().optional(),
|
|
@@ -1998,7 +1998,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1998
1998
|
z.ZodTypeDef,
|
|
1999
1999
|
unknown
|
|
2000
2000
|
> = z.object({
|
|
2001
|
-
id: z.string().default("
|
|
2001
|
+
id: z.string().default("01KFMNRM8EDSR9N7G39EREYWRQ"),
|
|
2002
2002
|
name: z.string(),
|
|
2003
2003
|
description: z.string().optional(),
|
|
2004
2004
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2052,7 +2052,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2052
2052
|
z.ZodTypeDef,
|
|
2053
2053
|
unknown
|
|
2054
2054
|
> = z.object({
|
|
2055
|
-
_id: z.string().default("
|
|
2055
|
+
_id: z.string().default("tool_01KFMNRM828JY3CV5EJH81DA3Y"),
|
|
2056
2056
|
path: z.string(),
|
|
2057
2057
|
key: z.string(),
|
|
2058
2058
|
display_name: z.string().optional(),
|
|
@@ -2240,7 +2240,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2240
2240
|
z.ZodTypeDef,
|
|
2241
2241
|
unknown
|
|
2242
2242
|
> = z.object({
|
|
2243
|
-
_id: z.string().default("
|
|
2243
|
+
_id: z.string().default("tool_01KFMNRM7PVK91XC3XNTF4F8DJ"),
|
|
2244
2244
|
path: z.string(),
|
|
2245
2245
|
key: z.string(),
|
|
2246
2246
|
display_name: z.string().optional(),
|
|
@@ -2335,7 +2335,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2335
2335
|
z.ZodTypeDef,
|
|
2336
2336
|
unknown
|
|
2337
2337
|
> = z.object({
|
|
2338
|
-
_id: z.string().default("
|
|
2338
|
+
_id: z.string().default("tool_01KFMNRM7BWRAD2XWAT6VP3QEB"),
|
|
2339
2339
|
path: z.string(),
|
|
2340
2340
|
key: z.string(),
|
|
2341
2341
|
display_name: z.string().optional(),
|
|
@@ -2438,7 +2438,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2438
2438
|
z.ZodTypeDef,
|
|
2439
2439
|
unknown
|
|
2440
2440
|
> = z.object({
|
|
2441
|
-
_id: z.string().default("
|
|
2441
|
+
_id: z.string().default("tool_01KFMNRM6ZM6B3NK41MYRJ0JSE"),
|
|
2442
2442
|
path: z.string(),
|
|
2443
2443
|
key: z.string(),
|
|
2444
2444
|
display_name: z.string().optional(),
|
|
@@ -107,8 +107,7 @@ export type CreateTranscriptionLoadBalancerType = ClosedEnum<
|
|
|
107
107
|
typeof CreateTranscriptionLoadBalancerType
|
|
108
108
|
>;
|
|
109
109
|
|
|
110
|
-
export type
|
|
111
|
-
type: CreateTranscriptionLoadBalancerType;
|
|
110
|
+
export type CreateTranscriptionLoadBalancerModels = {
|
|
112
111
|
/**
|
|
113
112
|
* Model identifier for load balancing
|
|
114
113
|
*/
|
|
@@ -119,6 +118,14 @@ export type CreateTranscriptionLoadBalancer1 = {
|
|
|
119
118
|
weight?: number | undefined;
|
|
120
119
|
};
|
|
121
120
|
|
|
121
|
+
export type CreateTranscriptionLoadBalancer1 = {
|
|
122
|
+
type: CreateTranscriptionLoadBalancerType;
|
|
123
|
+
models: Array<CreateTranscriptionLoadBalancerModels>;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Array of models with weights for load balancing requests
|
|
128
|
+
*/
|
|
122
129
|
export type CreateTranscriptionLoadBalancer = CreateTranscriptionLoadBalancer1;
|
|
123
130
|
|
|
124
131
|
/**
|
|
@@ -132,6 +139,10 @@ export type CreateTranscriptionTimeout = {
|
|
|
132
139
|
};
|
|
133
140
|
|
|
134
141
|
export type CreateTranscriptionOrq = {
|
|
142
|
+
/**
|
|
143
|
+
* The name to display on the trace. If not specified, the default system name will be used.
|
|
144
|
+
*/
|
|
145
|
+
name?: string | undefined;
|
|
135
146
|
/**
|
|
136
147
|
* Array of fallback models to use if primary model fails
|
|
137
148
|
*/
|
|
@@ -148,7 +159,7 @@ export type CreateTranscriptionOrq = {
|
|
|
148
159
|
/**
|
|
149
160
|
* Array of models with weights for load balancing requests
|
|
150
161
|
*/
|
|
151
|
-
loadBalancer?:
|
|
162
|
+
loadBalancer?: CreateTranscriptionLoadBalancer1 | undefined;
|
|
152
163
|
/**
|
|
153
164
|
* Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
|
|
154
165
|
*/
|
|
@@ -366,12 +377,37 @@ export const CreateTranscriptionLoadBalancerType$outboundSchema:
|
|
|
366
377
|
);
|
|
367
378
|
|
|
368
379
|
/** @internal */
|
|
369
|
-
export type
|
|
370
|
-
type: string;
|
|
380
|
+
export type CreateTranscriptionLoadBalancerModels$Outbound = {
|
|
371
381
|
model: string;
|
|
372
382
|
weight: number;
|
|
373
383
|
};
|
|
374
384
|
|
|
385
|
+
/** @internal */
|
|
386
|
+
export const CreateTranscriptionLoadBalancerModels$outboundSchema: z.ZodType<
|
|
387
|
+
CreateTranscriptionLoadBalancerModels$Outbound,
|
|
388
|
+
z.ZodTypeDef,
|
|
389
|
+
CreateTranscriptionLoadBalancerModels
|
|
390
|
+
> = z.object({
|
|
391
|
+
model: z.string(),
|
|
392
|
+
weight: z.number().default(0.5),
|
|
393
|
+
});
|
|
394
|
+
|
|
395
|
+
export function createTranscriptionLoadBalancerModelsToJSON(
|
|
396
|
+
createTranscriptionLoadBalancerModels: CreateTranscriptionLoadBalancerModels,
|
|
397
|
+
): string {
|
|
398
|
+
return JSON.stringify(
|
|
399
|
+
CreateTranscriptionLoadBalancerModels$outboundSchema.parse(
|
|
400
|
+
createTranscriptionLoadBalancerModels,
|
|
401
|
+
),
|
|
402
|
+
);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
/** @internal */
|
|
406
|
+
export type CreateTranscriptionLoadBalancer1$Outbound = {
|
|
407
|
+
type: string;
|
|
408
|
+
models: Array<CreateTranscriptionLoadBalancerModels$Outbound>;
|
|
409
|
+
};
|
|
410
|
+
|
|
375
411
|
/** @internal */
|
|
376
412
|
export const CreateTranscriptionLoadBalancer1$outboundSchema: z.ZodType<
|
|
377
413
|
CreateTranscriptionLoadBalancer1$Outbound,
|
|
@@ -379,8 +415,9 @@ export const CreateTranscriptionLoadBalancer1$outboundSchema: z.ZodType<
|
|
|
379
415
|
CreateTranscriptionLoadBalancer1
|
|
380
416
|
> = z.object({
|
|
381
417
|
type: CreateTranscriptionLoadBalancerType$outboundSchema,
|
|
382
|
-
|
|
383
|
-
|
|
418
|
+
models: z.array(
|
|
419
|
+
z.lazy(() => CreateTranscriptionLoadBalancerModels$outboundSchema),
|
|
420
|
+
),
|
|
384
421
|
});
|
|
385
422
|
|
|
386
423
|
export function createTranscriptionLoadBalancer1ToJSON(
|
|
@@ -442,11 +479,12 @@ export function createTranscriptionTimeoutToJSON(
|
|
|
442
479
|
|
|
443
480
|
/** @internal */
|
|
444
481
|
export type CreateTranscriptionOrq$Outbound = {
|
|
482
|
+
name?: string | undefined;
|
|
445
483
|
fallbacks?: Array<CreateTranscriptionFallbacks$Outbound> | undefined;
|
|
446
484
|
retry?: CreateTranscriptionRetry$Outbound | undefined;
|
|
447
485
|
identity?: components.PublicContact$Outbound | undefined;
|
|
448
486
|
contact?: CreateTranscriptionContact$Outbound | undefined;
|
|
449
|
-
load_balancer?:
|
|
487
|
+
load_balancer?: CreateTranscriptionLoadBalancer1$Outbound | undefined;
|
|
450
488
|
timeout?: CreateTranscriptionTimeout$Outbound | undefined;
|
|
451
489
|
};
|
|
452
490
|
|
|
@@ -456,14 +494,14 @@ export const CreateTranscriptionOrq$outboundSchema: z.ZodType<
|
|
|
456
494
|
z.ZodTypeDef,
|
|
457
495
|
CreateTranscriptionOrq
|
|
458
496
|
> = z.object({
|
|
497
|
+
name: z.string().optional(),
|
|
459
498
|
fallbacks: z.array(z.lazy(() => CreateTranscriptionFallbacks$outboundSchema))
|
|
460
499
|
.optional(),
|
|
461
500
|
retry: z.lazy(() => CreateTranscriptionRetry$outboundSchema).optional(),
|
|
462
501
|
identity: components.PublicContact$outboundSchema.optional(),
|
|
463
502
|
contact: z.lazy(() => CreateTranscriptionContact$outboundSchema).optional(),
|
|
464
|
-
loadBalancer: z.
|
|
465
|
-
|
|
466
|
-
).optional(),
|
|
503
|
+
loadBalancer: z.lazy(() => CreateTranscriptionLoadBalancer1$outboundSchema)
|
|
504
|
+
.optional(),
|
|
467
505
|
timeout: z.lazy(() => CreateTranscriptionTimeout$outboundSchema).optional(),
|
|
468
506
|
}).transform((v) => {
|
|
469
507
|
return remap$(v, {
|