@orq-ai/node 4.2.3 → 4.2.4
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 +2 -2
- package/lib/config.js +2 -2
- 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/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/createeval.js +14 -14
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createtool.js +6 -6
- 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/getalltools.js +6 -6
- package/models/operations/getevals.js +14 -14
- 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/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.js +1 -1
- package/models/operations/streamrunagent.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/updatetool.js +7 -7
- package/package.json +1 -1
- package/packages/orq-rc/examples/contactsCreate.example.ts +42 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/contactsCreate.ts +7 -14
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/conversationresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/conversationwithmessagesresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/index.ts +1 -0
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +11 -0
- package/packages/orq-rc/src/models/components/partdoneevent.ts +1 -1
- package/packages/orq-rc/src/models/components/publiccontact.ts +3 -1
- package/packages/orq-rc/src/models/components/publicidentity.ts +69 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/errors/index.ts +0 -3
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +11 -78
- package/packages/orq-rc/src/models/operations/createcompletion.ts +11 -75
- package/packages/orq-rc/src/models/operations/createcontact.ts +3 -9
- package/packages/orq-rc/src/models/operations/createconversation.ts +1 -1
- package/packages/orq-rc/src/models/operations/createconversationresponse.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createembedding.ts +11 -75
- package/packages/orq-rc/src/models/operations/createeval.ts +14 -14
- package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/createimage.ts +11 -75
- package/packages/orq-rc/src/models/operations/createimageedit.ts +11 -75
- package/packages/orq-rc/src/models/operations/createimagevariation.ts +11 -77
- package/packages/orq-rc/src/models/operations/creatererank.ts +11 -75
- package/packages/orq-rc/src/models/operations/createspeech.ts +11 -75
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/createtranscription.ts +11 -75
- package/packages/orq-rc/src/models/operations/createtranslation.ts +11 -75
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +6 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +6 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +1 -1
- package/packages/orq-rc/src/models/operations/filelist.ts +1 -1
- package/packages/orq-rc/src/models/operations/fileupload.ts +1 -1
- package/packages/orq-rc/src/models/operations/generateconversationname.ts +1 -1
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +35 -39
- package/packages/orq-rc/src/models/operations/index.ts +0 -4
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrieveidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateconversation.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +14 -14
- package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/contacts.ts +3 -85
- package/src/lib/config.ts +2 -2
- 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/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/createeval.ts +14 -14
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- 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/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +14 -14
- 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/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 +1 -1
- package/src/models/operations/streamrunagent.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/updatetool.ts +7 -7
- package/packages/orq-rc/examples/feedbackCreate.example.ts +0 -32
- package/packages/orq-rc/src/funcs/contactsDelete.ts +0 -178
- package/packages/orq-rc/src/funcs/contactsList.ts +0 -172
- package/packages/orq-rc/src/funcs/contactsRetrieve.ts +0 -177
- package/packages/orq-rc/src/funcs/contactsUpdate.ts +0 -178
- package/packages/orq-rc/src/models/errors/deletecontact.ts +0 -62
- package/packages/orq-rc/src/models/errors/retrievecontact.ts +0 -62
- package/packages/orq-rc/src/models/errors/updatecontact.ts +0 -54
- package/packages/orq-rc/src/models/operations/deletecontact.ts +0 -34
- package/packages/orq-rc/src/models/operations/listcontacts.ts +0 -274
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +0 -117
- package/packages/orq-rc/src/models/operations/updatecontact.ts +0 -188
|
@@ -111,38 +111,6 @@ export type CreateImageFallbacks = {
|
|
|
111
111
|
model: string;
|
|
112
112
|
};
|
|
113
113
|
|
|
114
|
-
/**
|
|
115
|
-
* @deprecated Use identity instead. Information about the contact making the request.
|
|
116
|
-
*
|
|
117
|
-
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
118
|
-
*/
|
|
119
|
-
export type CreateImageContact = {
|
|
120
|
-
/**
|
|
121
|
-
* Unique identifier for the contact
|
|
122
|
-
*/
|
|
123
|
-
id: string;
|
|
124
|
-
/**
|
|
125
|
-
* Display name of the contact
|
|
126
|
-
*/
|
|
127
|
-
displayName?: string | undefined;
|
|
128
|
-
/**
|
|
129
|
-
* Email address of the contact
|
|
130
|
-
*/
|
|
131
|
-
email?: string | undefined;
|
|
132
|
-
/**
|
|
133
|
-
* A hash of key/value pairs containing any other data about the contact
|
|
134
|
-
*/
|
|
135
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
136
|
-
/**
|
|
137
|
-
* URL to the contact's avatar or logo
|
|
138
|
-
*/
|
|
139
|
-
logoUrl?: string | undefined;
|
|
140
|
-
/**
|
|
141
|
-
* A list of tags associated with the contact
|
|
142
|
-
*/
|
|
143
|
-
tags?: Array<string> | undefined;
|
|
144
|
-
};
|
|
145
|
-
|
|
146
114
|
export const CreateImageType = {
|
|
147
115
|
ExactMatch: "exact_match",
|
|
148
116
|
} as const;
|
|
@@ -213,8 +181,13 @@ export type CreateImageOrq = {
|
|
|
213
181
|
/**
|
|
214
182
|
* Information about the identity making the request. If the identity does not exist, it will be created automatically.
|
|
215
183
|
*/
|
|
216
|
-
identity?: components.
|
|
217
|
-
|
|
184
|
+
identity?: components.PublicIdentity | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* @deprecated Use identity instead. Information about the contact making the request.
|
|
187
|
+
*
|
|
188
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
189
|
+
*/
|
|
190
|
+
contact?: components.PublicContact | undefined;
|
|
218
191
|
/**
|
|
219
192
|
* Cache configuration for the request.
|
|
220
193
|
*/
|
|
@@ -398,43 +371,6 @@ export function createImageFallbacksToJSON(
|
|
|
398
371
|
);
|
|
399
372
|
}
|
|
400
373
|
|
|
401
|
-
/** @internal */
|
|
402
|
-
export type CreateImageContact$Outbound = {
|
|
403
|
-
id: string;
|
|
404
|
-
display_name?: string | undefined;
|
|
405
|
-
email?: string | undefined;
|
|
406
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
407
|
-
logo_url?: string | undefined;
|
|
408
|
-
tags?: Array<string> | undefined;
|
|
409
|
-
};
|
|
410
|
-
|
|
411
|
-
/** @internal */
|
|
412
|
-
export const CreateImageContact$outboundSchema: z.ZodType<
|
|
413
|
-
CreateImageContact$Outbound,
|
|
414
|
-
z.ZodTypeDef,
|
|
415
|
-
CreateImageContact
|
|
416
|
-
> = z.object({
|
|
417
|
-
id: z.string(),
|
|
418
|
-
displayName: z.string().optional(),
|
|
419
|
-
email: z.string().optional(),
|
|
420
|
-
metadata: z.array(z.record(z.any())).optional(),
|
|
421
|
-
logoUrl: z.string().optional(),
|
|
422
|
-
tags: z.array(z.string()).optional(),
|
|
423
|
-
}).transform((v) => {
|
|
424
|
-
return remap$(v, {
|
|
425
|
-
displayName: "display_name",
|
|
426
|
-
logoUrl: "logo_url",
|
|
427
|
-
});
|
|
428
|
-
});
|
|
429
|
-
|
|
430
|
-
export function createImageContactToJSON(
|
|
431
|
-
createImageContact: CreateImageContact,
|
|
432
|
-
): string {
|
|
433
|
-
return JSON.stringify(
|
|
434
|
-
CreateImageContact$outboundSchema.parse(createImageContact),
|
|
435
|
-
);
|
|
436
|
-
}
|
|
437
|
-
|
|
438
374
|
/** @internal */
|
|
439
375
|
export const CreateImageType$outboundSchema: z.ZodNativeEnum<
|
|
440
376
|
typeof CreateImageType
|
|
@@ -569,8 +505,8 @@ export type CreateImageOrq$Outbound = {
|
|
|
569
505
|
name?: string | undefined;
|
|
570
506
|
retry?: CreateImageRetry$Outbound | undefined;
|
|
571
507
|
fallbacks?: Array<CreateImageFallbacks$Outbound> | undefined;
|
|
572
|
-
identity?: components.
|
|
573
|
-
contact?:
|
|
508
|
+
identity?: components.PublicIdentity$Outbound | undefined;
|
|
509
|
+
contact?: components.PublicContact$Outbound | undefined;
|
|
574
510
|
cache?: CreateImageCache$Outbound | undefined;
|
|
575
511
|
load_balancer?: CreateImageLoadBalancer1$Outbound | undefined;
|
|
576
512
|
timeout?: CreateImageTimeout$Outbound | undefined;
|
|
@@ -586,8 +522,8 @@ export const CreateImageOrq$outboundSchema: z.ZodType<
|
|
|
586
522
|
retry: z.lazy(() => CreateImageRetry$outboundSchema).optional(),
|
|
587
523
|
fallbacks: z.array(z.lazy(() => CreateImageFallbacks$outboundSchema))
|
|
588
524
|
.optional(),
|
|
589
|
-
identity: components.
|
|
590
|
-
contact:
|
|
525
|
+
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
526
|
+
contact: components.PublicContact$outboundSchema.optional(),
|
|
591
527
|
cache: z.lazy(() => CreateImageCache$outboundSchema).optional(),
|
|
592
528
|
loadBalancer: z.lazy(() => CreateImageLoadBalancer1$outboundSchema)
|
|
593
529
|
.optional(),
|
|
@@ -85,38 +85,6 @@ export type CreateImageEditPrompt = {
|
|
|
85
85
|
version: CreateImageEditVersion;
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
/**
|
|
89
|
-
* @deprecated Use identity instead. Information about the contact making the request.
|
|
90
|
-
*
|
|
91
|
-
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
92
|
-
*/
|
|
93
|
-
export type CreateImageEditContact = {
|
|
94
|
-
/**
|
|
95
|
-
* Unique identifier for the contact
|
|
96
|
-
*/
|
|
97
|
-
id: string;
|
|
98
|
-
/**
|
|
99
|
-
* Display name of the contact
|
|
100
|
-
*/
|
|
101
|
-
displayName?: string | undefined;
|
|
102
|
-
/**
|
|
103
|
-
* Email address of the contact
|
|
104
|
-
*/
|
|
105
|
-
email?: string | undefined;
|
|
106
|
-
/**
|
|
107
|
-
* A hash of key/value pairs containing any other data about the contact
|
|
108
|
-
*/
|
|
109
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* URL to the contact's avatar or logo
|
|
112
|
-
*/
|
|
113
|
-
logoUrl?: string | undefined;
|
|
114
|
-
/**
|
|
115
|
-
* A list of tags associated with the contact
|
|
116
|
-
*/
|
|
117
|
-
tags?: Array<string> | undefined;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
88
|
export const CreateImageEditType = {
|
|
121
89
|
ExactMatch: "exact_match",
|
|
122
90
|
} as const;
|
|
@@ -191,8 +159,13 @@ export type CreateImageEditOrq = {
|
|
|
191
159
|
/**
|
|
192
160
|
* Information about the identity making the request. If the identity does not exist, it will be created automatically.
|
|
193
161
|
*/
|
|
194
|
-
identity?: components.
|
|
195
|
-
|
|
162
|
+
identity?: components.PublicIdentity | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* @deprecated Use identity instead. Information about the contact making the request.
|
|
165
|
+
*
|
|
166
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
167
|
+
*/
|
|
168
|
+
contact?: components.PublicContact | undefined;
|
|
196
169
|
/**
|
|
197
170
|
* Cache configuration for the request.
|
|
198
171
|
*/
|
|
@@ -409,43 +382,6 @@ export function createImageEditPromptToJSON(
|
|
|
409
382
|
);
|
|
410
383
|
}
|
|
411
384
|
|
|
412
|
-
/** @internal */
|
|
413
|
-
export type CreateImageEditContact$Outbound = {
|
|
414
|
-
id: string;
|
|
415
|
-
display_name?: string | undefined;
|
|
416
|
-
email?: string | undefined;
|
|
417
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
418
|
-
logo_url?: string | undefined;
|
|
419
|
-
tags?: Array<string> | undefined;
|
|
420
|
-
};
|
|
421
|
-
|
|
422
|
-
/** @internal */
|
|
423
|
-
export const CreateImageEditContact$outboundSchema: z.ZodType<
|
|
424
|
-
CreateImageEditContact$Outbound,
|
|
425
|
-
z.ZodTypeDef,
|
|
426
|
-
CreateImageEditContact
|
|
427
|
-
> = z.object({
|
|
428
|
-
id: z.string(),
|
|
429
|
-
displayName: z.string().optional(),
|
|
430
|
-
email: z.string().optional(),
|
|
431
|
-
metadata: z.array(z.record(z.any())).optional(),
|
|
432
|
-
logoUrl: z.string().optional(),
|
|
433
|
-
tags: z.array(z.string()).optional(),
|
|
434
|
-
}).transform((v) => {
|
|
435
|
-
return remap$(v, {
|
|
436
|
-
displayName: "display_name",
|
|
437
|
-
logoUrl: "logo_url",
|
|
438
|
-
});
|
|
439
|
-
});
|
|
440
|
-
|
|
441
|
-
export function createImageEditContactToJSON(
|
|
442
|
-
createImageEditContact: CreateImageEditContact,
|
|
443
|
-
): string {
|
|
444
|
-
return JSON.stringify(
|
|
445
|
-
CreateImageEditContact$outboundSchema.parse(createImageEditContact),
|
|
446
|
-
);
|
|
447
|
-
}
|
|
448
|
-
|
|
449
385
|
/** @internal */
|
|
450
386
|
export const CreateImageEditType$outboundSchema: z.ZodNativeEnum<
|
|
451
387
|
typeof CreateImageEditType
|
|
@@ -587,8 +523,8 @@ export type CreateImageEditOrq$Outbound = {
|
|
|
587
523
|
retry?: CreateImageEditRetry$Outbound | undefined;
|
|
588
524
|
fallbacks?: Array<CreateImageEditFallbacks$Outbound> | undefined;
|
|
589
525
|
prompt?: CreateImageEditPrompt$Outbound | undefined;
|
|
590
|
-
identity?: components.
|
|
591
|
-
contact?:
|
|
526
|
+
identity?: components.PublicIdentity$Outbound | undefined;
|
|
527
|
+
contact?: components.PublicContact$Outbound | undefined;
|
|
592
528
|
cache?: CreateImageEditCache$Outbound | undefined;
|
|
593
529
|
load_balancer?: CreateImageEditLoadBalancer1$Outbound | undefined;
|
|
594
530
|
timeout?: CreateImageEditTimeout$Outbound | undefined;
|
|
@@ -605,8 +541,8 @@ export const CreateImageEditOrq$outboundSchema: z.ZodType<
|
|
|
605
541
|
fallbacks: z.array(z.lazy(() => CreateImageEditFallbacks$outboundSchema))
|
|
606
542
|
.optional(),
|
|
607
543
|
prompt: z.lazy(() => CreateImageEditPrompt$outboundSchema).optional(),
|
|
608
|
-
identity: components.
|
|
609
|
-
contact:
|
|
544
|
+
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
545
|
+
contact: components.PublicContact$outboundSchema.optional(),
|
|
610
546
|
cache: z.lazy(() => CreateImageEditCache$outboundSchema).optional(),
|
|
611
547
|
loadBalancer: z.lazy(() => CreateImageEditLoadBalancer1$outboundSchema)
|
|
612
548
|
.optional(),
|
|
@@ -85,38 +85,6 @@ export type CreateImageVariationPrompt = {
|
|
|
85
85
|
version: CreateImageVariationVersion;
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
/**
|
|
89
|
-
* @deprecated Use identity instead. Information about the contact making the request.
|
|
90
|
-
*
|
|
91
|
-
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
92
|
-
*/
|
|
93
|
-
export type CreateImageVariationContact = {
|
|
94
|
-
/**
|
|
95
|
-
* Unique identifier for the contact
|
|
96
|
-
*/
|
|
97
|
-
id: string;
|
|
98
|
-
/**
|
|
99
|
-
* Display name of the contact
|
|
100
|
-
*/
|
|
101
|
-
displayName?: string | undefined;
|
|
102
|
-
/**
|
|
103
|
-
* Email address of the contact
|
|
104
|
-
*/
|
|
105
|
-
email?: string | undefined;
|
|
106
|
-
/**
|
|
107
|
-
* A hash of key/value pairs containing any other data about the contact
|
|
108
|
-
*/
|
|
109
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* URL to the contact's avatar or logo
|
|
112
|
-
*/
|
|
113
|
-
logoUrl?: string | undefined;
|
|
114
|
-
/**
|
|
115
|
-
* A list of tags associated with the contact
|
|
116
|
-
*/
|
|
117
|
-
tags?: Array<string> | undefined;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
88
|
export const CreateImageVariationType = {
|
|
121
89
|
ExactMatch: "exact_match",
|
|
122
90
|
} as const;
|
|
@@ -194,8 +162,13 @@ export type CreateImageVariationOrq = {
|
|
|
194
162
|
/**
|
|
195
163
|
* Information about the identity making the request. If the identity does not exist, it will be created automatically.
|
|
196
164
|
*/
|
|
197
|
-
identity?: components.
|
|
198
|
-
|
|
165
|
+
identity?: components.PublicIdentity | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* @deprecated Use identity instead. Information about the contact making the request.
|
|
168
|
+
*
|
|
169
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
170
|
+
*/
|
|
171
|
+
contact?: components.PublicContact | undefined;
|
|
199
172
|
/**
|
|
200
173
|
* Cache configuration for the request.
|
|
201
174
|
*/
|
|
@@ -409,45 +382,6 @@ export function createImageVariationPromptToJSON(
|
|
|
409
382
|
);
|
|
410
383
|
}
|
|
411
384
|
|
|
412
|
-
/** @internal */
|
|
413
|
-
export type CreateImageVariationContact$Outbound = {
|
|
414
|
-
id: string;
|
|
415
|
-
display_name?: string | undefined;
|
|
416
|
-
email?: string | undefined;
|
|
417
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
418
|
-
logo_url?: string | undefined;
|
|
419
|
-
tags?: Array<string> | undefined;
|
|
420
|
-
};
|
|
421
|
-
|
|
422
|
-
/** @internal */
|
|
423
|
-
export const CreateImageVariationContact$outboundSchema: z.ZodType<
|
|
424
|
-
CreateImageVariationContact$Outbound,
|
|
425
|
-
z.ZodTypeDef,
|
|
426
|
-
CreateImageVariationContact
|
|
427
|
-
> = z.object({
|
|
428
|
-
id: z.string(),
|
|
429
|
-
displayName: z.string().optional(),
|
|
430
|
-
email: z.string().optional(),
|
|
431
|
-
metadata: z.array(z.record(z.any())).optional(),
|
|
432
|
-
logoUrl: z.string().optional(),
|
|
433
|
-
tags: z.array(z.string()).optional(),
|
|
434
|
-
}).transform((v) => {
|
|
435
|
-
return remap$(v, {
|
|
436
|
-
displayName: "display_name",
|
|
437
|
-
logoUrl: "logo_url",
|
|
438
|
-
});
|
|
439
|
-
});
|
|
440
|
-
|
|
441
|
-
export function createImageVariationContactToJSON(
|
|
442
|
-
createImageVariationContact: CreateImageVariationContact,
|
|
443
|
-
): string {
|
|
444
|
-
return JSON.stringify(
|
|
445
|
-
CreateImageVariationContact$outboundSchema.parse(
|
|
446
|
-
createImageVariationContact,
|
|
447
|
-
),
|
|
448
|
-
);
|
|
449
|
-
}
|
|
450
|
-
|
|
451
385
|
/** @internal */
|
|
452
386
|
export const CreateImageVariationType$outboundSchema: z.ZodNativeEnum<
|
|
453
387
|
typeof CreateImageVariationType
|
|
@@ -593,8 +527,8 @@ export type CreateImageVariationOrq$Outbound = {
|
|
|
593
527
|
retry?: CreateImageVariationRetry$Outbound | undefined;
|
|
594
528
|
fallbacks?: Array<CreateImageVariationFallbacks$Outbound> | undefined;
|
|
595
529
|
prompt?: CreateImageVariationPrompt$Outbound | undefined;
|
|
596
|
-
identity?: components.
|
|
597
|
-
contact?:
|
|
530
|
+
identity?: components.PublicIdentity$Outbound | undefined;
|
|
531
|
+
contact?: components.PublicContact$Outbound | undefined;
|
|
598
532
|
cache?: CreateImageVariationCache$Outbound | undefined;
|
|
599
533
|
load_balancer?: CreateImageVariationLoadBalancer1$Outbound | undefined;
|
|
600
534
|
timeout?: CreateImageVariationTimeout$Outbound | undefined;
|
|
@@ -611,8 +545,8 @@ export const CreateImageVariationOrq$outboundSchema: z.ZodType<
|
|
|
611
545
|
fallbacks: z.array(z.lazy(() => CreateImageVariationFallbacks$outboundSchema))
|
|
612
546
|
.optional(),
|
|
613
547
|
prompt: z.lazy(() => CreateImageVariationPrompt$outboundSchema).optional(),
|
|
614
|
-
identity: components.
|
|
615
|
-
contact:
|
|
548
|
+
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
549
|
+
contact: components.PublicContact$outboundSchema.optional(),
|
|
616
550
|
cache: z.lazy(() => CreateImageVariationCache$outboundSchema).optional(),
|
|
617
551
|
loadBalancer: z.lazy(() => CreateImageVariationLoadBalancer1$outboundSchema)
|
|
618
552
|
.optional(),
|
|
@@ -47,38 +47,6 @@ export type CreateRerankRetry = {
|
|
|
47
47
|
onCodes?: Array<number> | undefined;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated Use identity instead. Information about the contact making the request.
|
|
52
|
-
*
|
|
53
|
-
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
54
|
-
*/
|
|
55
|
-
export type CreateRerankContact = {
|
|
56
|
-
/**
|
|
57
|
-
* Unique identifier for the contact
|
|
58
|
-
*/
|
|
59
|
-
id: string;
|
|
60
|
-
/**
|
|
61
|
-
* Display name of the contact
|
|
62
|
-
*/
|
|
63
|
-
displayName?: string | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* Email address of the contact
|
|
66
|
-
*/
|
|
67
|
-
email?: string | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* A hash of key/value pairs containing any other data about the contact
|
|
70
|
-
*/
|
|
71
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* URL to the contact's avatar or logo
|
|
74
|
-
*/
|
|
75
|
-
logoUrl?: string | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* A list of tags associated with the contact
|
|
78
|
-
*/
|
|
79
|
-
tags?: Array<string> | undefined;
|
|
80
|
-
};
|
|
81
|
-
|
|
82
50
|
export const CreateRerankLoadBalancerType = {
|
|
83
51
|
WeightBased: "weight_based",
|
|
84
52
|
} as const;
|
|
@@ -137,8 +105,13 @@ export type CreateRerankOrq = {
|
|
|
137
105
|
/**
|
|
138
106
|
* Information about the identity making the request. If the identity does not exist, it will be created automatically.
|
|
139
107
|
*/
|
|
140
|
-
identity?: components.
|
|
141
|
-
|
|
108
|
+
identity?: components.PublicIdentity | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* @deprecated Use identity instead. Information about the contact making the request.
|
|
111
|
+
*
|
|
112
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
113
|
+
*/
|
|
114
|
+
contact?: components.PublicContact | undefined;
|
|
142
115
|
/**
|
|
143
116
|
* Array of models with weights for load balancing requests
|
|
144
117
|
*/
|
|
@@ -325,43 +298,6 @@ export function createRerankRetryToJSON(
|
|
|
325
298
|
);
|
|
326
299
|
}
|
|
327
300
|
|
|
328
|
-
/** @internal */
|
|
329
|
-
export type CreateRerankContact$Outbound = {
|
|
330
|
-
id: string;
|
|
331
|
-
display_name?: string | undefined;
|
|
332
|
-
email?: string | undefined;
|
|
333
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
334
|
-
logo_url?: string | undefined;
|
|
335
|
-
tags?: Array<string> | undefined;
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
/** @internal */
|
|
339
|
-
export const CreateRerankContact$outboundSchema: z.ZodType<
|
|
340
|
-
CreateRerankContact$Outbound,
|
|
341
|
-
z.ZodTypeDef,
|
|
342
|
-
CreateRerankContact
|
|
343
|
-
> = z.object({
|
|
344
|
-
id: z.string(),
|
|
345
|
-
displayName: z.string().optional(),
|
|
346
|
-
email: z.string().optional(),
|
|
347
|
-
metadata: z.array(z.record(z.any())).optional(),
|
|
348
|
-
logoUrl: z.string().optional(),
|
|
349
|
-
tags: z.array(z.string()).optional(),
|
|
350
|
-
}).transform((v) => {
|
|
351
|
-
return remap$(v, {
|
|
352
|
-
displayName: "display_name",
|
|
353
|
-
logoUrl: "logo_url",
|
|
354
|
-
});
|
|
355
|
-
});
|
|
356
|
-
|
|
357
|
-
export function createRerankContactToJSON(
|
|
358
|
-
createRerankContact: CreateRerankContact,
|
|
359
|
-
): string {
|
|
360
|
-
return JSON.stringify(
|
|
361
|
-
CreateRerankContact$outboundSchema.parse(createRerankContact),
|
|
362
|
-
);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
301
|
/** @internal */
|
|
366
302
|
export const CreateRerankLoadBalancerType$outboundSchema: z.ZodNativeEnum<
|
|
367
303
|
typeof CreateRerankLoadBalancerType
|
|
@@ -468,8 +404,8 @@ export type CreateRerankOrq$Outbound = {
|
|
|
468
404
|
fallbacks?: Array<CreateRerankFallbacks$Outbound> | undefined;
|
|
469
405
|
cache?: CreateRerankCache$Outbound | undefined;
|
|
470
406
|
retry?: CreateRerankRetry$Outbound | undefined;
|
|
471
|
-
identity?: components.
|
|
472
|
-
contact?:
|
|
407
|
+
identity?: components.PublicIdentity$Outbound | undefined;
|
|
408
|
+
contact?: components.PublicContact$Outbound | undefined;
|
|
473
409
|
load_balancer?: CreateRerankLoadBalancer1$Outbound | undefined;
|
|
474
410
|
timeout?: CreateRerankTimeout$Outbound | undefined;
|
|
475
411
|
};
|
|
@@ -485,8 +421,8 @@ export const CreateRerankOrq$outboundSchema: z.ZodType<
|
|
|
485
421
|
.optional(),
|
|
486
422
|
cache: z.lazy(() => CreateRerankCache$outboundSchema).optional(),
|
|
487
423
|
retry: z.lazy(() => CreateRerankRetry$outboundSchema).optional(),
|
|
488
|
-
identity: components.
|
|
489
|
-
contact:
|
|
424
|
+
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
425
|
+
contact: components.PublicContact$outboundSchema.optional(),
|
|
490
426
|
loadBalancer: z.lazy(() => CreateRerankLoadBalancer1$outboundSchema)
|
|
491
427
|
.optional(),
|
|
492
428
|
timeout: z.lazy(() => CreateRerankTimeout$outboundSchema).optional(),
|
|
@@ -46,38 +46,6 @@ export type CreateSpeechFallbacks = {
|
|
|
46
46
|
model: string;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated Use identity instead. Information about the contact making the request.
|
|
51
|
-
*
|
|
52
|
-
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
53
|
-
*/
|
|
54
|
-
export type CreateSpeechContact = {
|
|
55
|
-
/**
|
|
56
|
-
* Unique identifier for the contact
|
|
57
|
-
*/
|
|
58
|
-
id: string;
|
|
59
|
-
/**
|
|
60
|
-
* Display name of the contact
|
|
61
|
-
*/
|
|
62
|
-
displayName?: string | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* Email address of the contact
|
|
65
|
-
*/
|
|
66
|
-
email?: string | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* A hash of key/value pairs containing any other data about the contact
|
|
69
|
-
*/
|
|
70
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* URL to the contact's avatar or logo
|
|
73
|
-
*/
|
|
74
|
-
logoUrl?: string | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* A list of tags associated with the contact
|
|
77
|
-
*/
|
|
78
|
-
tags?: Array<string> | undefined;
|
|
79
|
-
};
|
|
80
|
-
|
|
81
49
|
/**
|
|
82
50
|
* Thread information to group related requests
|
|
83
51
|
*/
|
|
@@ -146,8 +114,13 @@ export type CreateSpeechOrq = {
|
|
|
146
114
|
/**
|
|
147
115
|
* Information about the identity making the request. If the identity does not exist, it will be created automatically.
|
|
148
116
|
*/
|
|
149
|
-
identity?: components.
|
|
150
|
-
|
|
117
|
+
identity?: components.PublicIdentity | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* @deprecated Use identity instead. Information about the contact making the request.
|
|
120
|
+
*
|
|
121
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
122
|
+
*/
|
|
123
|
+
contact?: components.PublicContact | undefined;
|
|
151
124
|
/**
|
|
152
125
|
* Thread information to group related requests
|
|
153
126
|
*/
|
|
@@ -254,43 +227,6 @@ export function createSpeechFallbacksToJSON(
|
|
|
254
227
|
);
|
|
255
228
|
}
|
|
256
229
|
|
|
257
|
-
/** @internal */
|
|
258
|
-
export type CreateSpeechContact$Outbound = {
|
|
259
|
-
id: string;
|
|
260
|
-
display_name?: string | undefined;
|
|
261
|
-
email?: string | undefined;
|
|
262
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
263
|
-
logo_url?: string | undefined;
|
|
264
|
-
tags?: Array<string> | undefined;
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
/** @internal */
|
|
268
|
-
export const CreateSpeechContact$outboundSchema: z.ZodType<
|
|
269
|
-
CreateSpeechContact$Outbound,
|
|
270
|
-
z.ZodTypeDef,
|
|
271
|
-
CreateSpeechContact
|
|
272
|
-
> = z.object({
|
|
273
|
-
id: z.string(),
|
|
274
|
-
displayName: z.string().optional(),
|
|
275
|
-
email: z.string().optional(),
|
|
276
|
-
metadata: z.array(z.record(z.any())).optional(),
|
|
277
|
-
logoUrl: z.string().optional(),
|
|
278
|
-
tags: z.array(z.string()).optional(),
|
|
279
|
-
}).transform((v) => {
|
|
280
|
-
return remap$(v, {
|
|
281
|
-
displayName: "display_name",
|
|
282
|
-
logoUrl: "logo_url",
|
|
283
|
-
});
|
|
284
|
-
});
|
|
285
|
-
|
|
286
|
-
export function createSpeechContactToJSON(
|
|
287
|
-
createSpeechContact: CreateSpeechContact,
|
|
288
|
-
): string {
|
|
289
|
-
return JSON.stringify(
|
|
290
|
-
CreateSpeechContact$outboundSchema.parse(createSpeechContact),
|
|
291
|
-
);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
230
|
/** @internal */
|
|
295
231
|
export type CreateSpeechThread$Outbound = {
|
|
296
232
|
id: string;
|
|
@@ -420,8 +356,8 @@ export type CreateSpeechOrq$Outbound = {
|
|
|
420
356
|
retry?: CreateSpeechRetry$Outbound | undefined;
|
|
421
357
|
fallbacks?: Array<CreateSpeechFallbacks$Outbound> | undefined;
|
|
422
358
|
name?: string | undefined;
|
|
423
|
-
identity?: components.
|
|
424
|
-
contact?:
|
|
359
|
+
identity?: components.PublicIdentity$Outbound | undefined;
|
|
360
|
+
contact?: components.PublicContact$Outbound | undefined;
|
|
425
361
|
thread?: CreateSpeechThread$Outbound | undefined;
|
|
426
362
|
load_balancer?: CreateSpeechLoadBalancer1$Outbound | undefined;
|
|
427
363
|
timeout?: CreateSpeechTimeout$Outbound | undefined;
|
|
@@ -437,8 +373,8 @@ export const CreateSpeechOrq$outboundSchema: z.ZodType<
|
|
|
437
373
|
fallbacks: z.array(z.lazy(() => CreateSpeechFallbacks$outboundSchema))
|
|
438
374
|
.optional(),
|
|
439
375
|
name: z.string().optional(),
|
|
440
|
-
identity: components.
|
|
441
|
-
contact:
|
|
376
|
+
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
377
|
+
contact: components.PublicContact$outboundSchema.optional(),
|
|
442
378
|
thread: z.lazy(() => CreateSpeechThread$outboundSchema).optional(),
|
|
443
379
|
loadBalancer: z.lazy(() => CreateSpeechLoadBalancer1$outboundSchema)
|
|
444
380
|
.optional(),
|
|
@@ -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_01KFS4380YDJJB8SPVWNXRGZ1T"),
|
|
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("01KFS4380WSAAS39JZPMCD03ZM"),
|
|
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_01KFS4380REZ1YRYEJ7BD66YWZ"),
|
|
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_01KFS4380NN7Y8RWZ54YENCDEP"),
|
|
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_01KFS4380KQ9V3JZ08VJG4FB87"),
|
|
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_01KFS4380HNCK76RSC0YP5YVE9"),
|
|
2442
2442
|
path: z.string(),
|
|
2443
2443
|
key: z.string(),
|
|
2444
2444
|
display_name: z.string().optional(),
|