@orq-ai/node 3.1.1 → 3.1.2
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/README.md +34 -34
- package/docs/sdks/deployments/README.md +9 -86
- package/docs/sdks/files/README.md +174 -2
- package/docs/sdks/orq/README.md +1 -1
- package/docs/sdks/prompt/README.md +6 -0
- package/docs/sdks/prompts/README.md +128 -135
- package/docs/sdks/snippets/README.md +84 -0
- package/docs/sdks/templates/README.md +80 -0
- package/funcs/{deploymentsList.d.ts → deploymentsAll.d.ts} +2 -2
- package/funcs/deploymentsAll.d.ts.map +1 -0
- package/funcs/{deploymentsList.js → deploymentsAll.js} +4 -5
- package/funcs/deploymentsAll.js.map +1 -0
- package/funcs/deploymentsInvoke.d.ts +7 -1
- package/funcs/deploymentsInvoke.d.ts.map +1 -1
- package/funcs/deploymentsInvoke.js +11 -10
- package/funcs/deploymentsInvoke.js.map +1 -1
- package/funcs/filesBulkUpload.d.ts +15 -0
- package/funcs/filesBulkUpload.d.ts.map +1 -0
- package/funcs/{promptsList.js → filesBulkUpload.js} +15 -18
- package/funcs/filesBulkUpload.js.map +1 -0
- package/funcs/{promptSnippetsDelete.d.ts → filesUpdate.d.ts} +3 -3
- package/funcs/filesUpdate.d.ts.map +1 -0
- package/funcs/{promptSnippetsGetByKey.js → filesUpdate.js} +13 -12
- package/funcs/filesUpdate.js.map +1 -0
- package/funcs/{promptSnippetsList.d.ts → promptSnippetsFindOne.d.ts} +3 -3
- package/funcs/promptSnippetsFindOne.d.ts.map +1 -0
- package/funcs/{promptSnippetsGet.js → promptSnippetsFindOne.js} +6 -6
- package/funcs/promptSnippetsFindOne.js.map +1 -0
- package/funcs/{promptSnippetsCreate.d.ts → promptTemplatesGetAll.d.ts} +3 -3
- package/funcs/promptTemplatesGetAll.d.ts.map +1 -0
- package/funcs/{promptSnippetsList.js → promptTemplatesGetAll.js} +13 -13
- package/funcs/promptTemplatesGetAll.js.map +1 -0
- package/funcs/promptsCreate.d.ts +1 -1
- package/funcs/promptsCreate.js +2 -2
- package/funcs/promptsCreate.js.map +1 -1
- package/funcs/{promptsRetrieve.d.ts → promptsCreateVersion.d.ts} +3 -6
- package/funcs/{promptSnippetsDelete.d.ts.map → promptsCreateVersion.d.ts.map} +1 -1
- package/funcs/promptsCreateVersion.js +110 -0
- package/funcs/promptsCreateVersion.js.map +1 -0
- package/funcs/promptsDelete.js +1 -1
- package/funcs/promptsDelete.js.map +1 -1
- package/funcs/{promptSnippetsGet.d.ts → promptsDuplicate.d.ts} +3 -3
- package/funcs/promptsDuplicate.d.ts.map +1 -0
- package/funcs/{promptSnippetsDelete.js → promptsDuplicate.js} +8 -8
- package/funcs/promptsDuplicate.js.map +1 -0
- package/funcs/promptsGetAll.d.ts +12 -0
- package/funcs/promptsGetAll.d.ts.map +1 -0
- package/funcs/{promptSnippetsCreate.js → promptsGetAll.js} +8 -8
- package/funcs/promptsGetAll.js.map +1 -0
- package/funcs/promptsGetOne.d.ts +12 -0
- package/funcs/promptsGetOne.d.ts.map +1 -0
- package/funcs/{promptsRetrieve.js → promptsGetOne.js} +8 -10
- package/funcs/promptsGetOne.js.map +1 -0
- package/funcs/promptsUpdate.js +1 -1
- package/funcs/promptsUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -10
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/lib/env.d.ts +0 -13
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js +0 -17
- package/lib/env.js.map +1 -1
- package/lib/sdks.js +1 -1
- package/lib/sdks.js.map +1 -1
- package/models/components/deployments.d.ts +5 -0
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +2 -0
- package/models/components/deployments.js.map +1 -1
- package/models/errors/index.d.ts +0 -2
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -2
- package/models/errors/index.js.map +1 -1
- package/models/operations/bulkfileupload.d.ts +173 -0
- package/models/operations/bulkfileupload.d.ts.map +1 -0
- package/models/operations/bulkfileupload.js +210 -0
- package/models/operations/bulkfileupload.js.map +1 -0
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createprompt.d.ts +381 -702
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +481 -641
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createpromptversion.d.ts +2003 -0
- package/models/operations/createpromptversion.d.ts.map +1 -0
- package/models/operations/createpromptversion.js +1852 -0
- package/models/operations/createpromptversion.js.map +1 -0
- package/models/operations/deleteprompt.d.ts +1 -1
- package/models/operations/deploymentgetconfig.d.ts +0 -39
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +4 -29
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +683 -23
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +614 -23
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +8 -54
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +13 -44
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/duplicateprompt.d.ts +32 -0
- package/models/operations/duplicateprompt.d.ts.map +1 -0
- package/models/operations/{deletepromptsnippet.js → duplicateprompt.js} +17 -17
- package/models/operations/duplicateprompt.js.map +1 -0
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.d.ts +5 -1
- package/models/operations/filelist.d.ts.map +1 -1
- package/models/operations/filelist.js +12 -4
- package/models/operations/filelist.js.map +1 -1
- package/models/operations/fileupdate.d.ts +143 -0
- package/models/operations/fileupdate.d.ts.map +1 -0
- package/models/operations/fileupdate.js +193 -0
- package/models/operations/fileupdate.js.map +1 -0
- package/models/operations/fileupload.js +2 -2
- package/models/operations/findonepromptsnippet.d.ts +4768 -938
- package/models/operations/findonepromptsnippet.d.ts.map +1 -1
- package/models/operations/findonepromptsnippet.js +4751 -984
- package/models/operations/findonepromptsnippet.js.map +1 -1
- package/models/operations/getallprompts.d.ts +9926 -546
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +8805 -557
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getallprompttemplates.d.ts +6607 -0
- package/models/operations/getallprompttemplates.d.ts.map +1 -0
- package/models/operations/getallprompttemplates.js +6225 -0
- package/models/operations/getallprompttemplates.js.map +1 -0
- package/models/operations/getoneprompt.d.ts +1 -1203
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -1011
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/index.d.ts +5 -8
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -8
- package/models/operations/index.js.map +1 -1
- package/models/operations/updateprompt.d.ts +5979 -1121
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +5729 -1119
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/sdk/deployments.d.ts +6 -10
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js +6 -14
- package/sdk/deployments.js.map +1 -1
- package/sdk/files.d.ts +11 -0
- package/sdk/files.d.ts.map +1 -1
- package/sdk/files.js +17 -0
- package/sdk/files.js.map +1 -1
- package/sdk/prompt.d.ts +10 -0
- package/sdk/prompt.d.ts.map +1 -0
- package/sdk/prompt.js +19 -0
- package/sdk/prompt.js.map +1 -0
- package/sdk/prompts.d.ts +14 -26
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +25 -37
- package/sdk/prompts.js.map +1 -1
- package/sdk/sdk.d.ts +3 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/snippets.d.ts +9 -0
- package/sdk/snippets.d.ts.map +1 -0
- package/sdk/snippets.js +19 -0
- package/sdk/snippets.js.map +1 -0
- package/sdk/templates.d.ts +9 -0
- package/sdk/templates.d.ts.map +1 -0
- package/sdk/templates.js +19 -0
- package/sdk/templates.js.map +1 -0
- package/src/funcs/{deploymentsList.ts → deploymentsAll.ts} +2 -3
- package/src/funcs/deploymentsInvoke.ts +16 -21
- package/src/funcs/filesBulkUpload.ts +129 -0
- package/src/funcs/{promptSnippetsGetByKey.ts → filesUpdate.ts} +16 -18
- package/src/funcs/{promptSnippetsGet.ts → promptSnippetsFindOne.ts} +4 -4
- package/src/funcs/{promptSnippetsList.ts → promptTemplatesGetAll.ts} +16 -16
- package/src/funcs/promptsCreate.ts +2 -2
- package/src/funcs/promptsCreateVersion.ts +131 -0
- package/src/funcs/promptsDelete.ts +1 -1
- package/src/funcs/{promptSnippetsDelete.ts → promptsDuplicate.ts} +7 -8
- package/src/funcs/{promptSnippetsCreate.ts → promptsGetAll.ts} +9 -9
- package/src/funcs/{promptsRetrieve.ts → promptsGetOne.ts} +8 -10
- package/src/funcs/promptsUpdate.ts +1 -1
- package/src/lib/config.ts +2 -12
- package/src/lib/env.ts +0 -32
- package/src/lib/sdks.ts +2 -2
- package/src/models/components/deployments.ts +7 -0
- package/src/models/errors/index.ts +0 -2
- package/src/models/operations/bulkfileupload.ts +315 -0
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createprompt.ts +690 -1048
- package/src/models/operations/createpromptversion.ts +3703 -0
- package/src/models/operations/deleteprompt.ts +1 -1
- package/src/models/operations/deploymentgetconfig.ts +0 -44
- package/src/models/operations/deploymentinvoke.ts +1415 -174
- package/src/models/operations/deployments.ts +18 -68
- package/src/models/operations/duplicateprompt.ts +69 -0
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +17 -5
- package/src/models/operations/fileupdate.ts +298 -0
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/findonepromptsnippet.ts +11104 -1818
- package/src/models/operations/getallprompts.ts +17860 -1336
- package/src/models/operations/getallprompttemplates.ts +13690 -0
- package/src/models/operations/getoneprompt.ts +1 -1914
- package/src/models/operations/index.ts +5 -8
- package/src/models/operations/updateprompt.ts +12561 -2071
- package/src/sdk/deployments.ts +11 -25
- package/src/sdk/files.ts +33 -0
- package/src/sdk/prompt.ts +19 -0
- package/src/sdk/prompts.ts +39 -51
- package/src/sdk/sdk.ts +4 -4
- package/src/sdk/snippets.ts +24 -0
- package/src/sdk/templates.ts +24 -0
- package/docs/sdks/promptsnippets/README.md +0 -488
- package/funcs/deploymentsList.d.ts.map +0 -1
- package/funcs/deploymentsList.js.map +0 -1
- package/funcs/deploymentsStream.d.ts +0 -16
- package/funcs/deploymentsStream.d.ts.map +0 -1
- package/funcs/deploymentsStream.js +0 -125
- package/funcs/deploymentsStream.js.map +0 -1
- package/funcs/promptSnippetsCreate.d.ts.map +0 -1
- package/funcs/promptSnippetsCreate.js.map +0 -1
- package/funcs/promptSnippetsDelete.js.map +0 -1
- package/funcs/promptSnippetsGet.d.ts.map +0 -1
- package/funcs/promptSnippetsGet.js.map +0 -1
- package/funcs/promptSnippetsGetByKey.d.ts +0 -12
- package/funcs/promptSnippetsGetByKey.d.ts.map +0 -1
- package/funcs/promptSnippetsGetByKey.js.map +0 -1
- package/funcs/promptSnippetsList.d.ts.map +0 -1
- package/funcs/promptSnippetsList.js.map +0 -1
- package/funcs/promptSnippetsUpdate.d.ts +0 -13
- package/funcs/promptSnippetsUpdate.d.ts.map +0 -1
- package/funcs/promptSnippetsUpdate.js +0 -114
- package/funcs/promptSnippetsUpdate.js.map +0 -1
- package/funcs/promptsGetVersion.d.ts +0 -16
- package/funcs/promptsGetVersion.d.ts.map +0 -1
- package/funcs/promptsGetVersion.js +0 -120
- package/funcs/promptsGetVersion.js.map +0 -1
- package/funcs/promptsList.d.ts +0 -15
- package/funcs/promptsList.d.ts.map +0 -1
- package/funcs/promptsList.js.map +0 -1
- package/funcs/promptsListVersions.d.ts +0 -15
- package/funcs/promptsListVersions.d.ts.map +0 -1
- package/funcs/promptsListVersions.js +0 -118
- package/funcs/promptsListVersions.js.map +0 -1
- package/funcs/promptsRetrieve.d.ts.map +0 -1
- package/funcs/promptsRetrieve.js.map +0 -1
- package/models/errors/getpromptversion.d.ts +0 -36
- package/models/errors/getpromptversion.d.ts.map +0 -1
- package/models/errors/getpromptversion.js +0 -79
- package/models/errors/getpromptversion.js.map +0 -1
- package/models/errors/updatepromptsnippet.d.ts +0 -36
- package/models/errors/updatepromptsnippet.d.ts.map +0 -1
- package/models/errors/updatepromptsnippet.js +0 -79
- package/models/errors/updatepromptsnippet.js.map +0 -1
- package/models/operations/createpromptsnippet.d.ts +0 -3567
- package/models/operations/createpromptsnippet.d.ts.map +0 -1
- package/models/operations/createpromptsnippet.js +0 -3056
- package/models/operations/createpromptsnippet.js.map +0 -1
- package/models/operations/deletepromptsnippet.d.ts +0 -32
- package/models/operations/deletepromptsnippet.d.ts.map +0 -1
- package/models/operations/deletepromptsnippet.js.map +0 -1
- package/models/operations/deploymentstream.d.ts +0 -1622
- package/models/operations/deploymentstream.d.ts.map +0 -1
- package/models/operations/deploymentstream.js +0 -1571
- package/models/operations/deploymentstream.js.map +0 -1
- package/models/operations/findonebykeypromptsnippet.d.ts +0 -2448
- package/models/operations/findonebykeypromptsnippet.d.ts.map +0 -1
- package/models/operations/findonebykeypromptsnippet.js +0 -2133
- package/models/operations/findonebykeypromptsnippet.js.map +0 -1
- package/models/operations/getallpromptsnippets.d.ts +0 -2512
- package/models/operations/getallpromptsnippets.d.ts.map +0 -1
- package/models/operations/getallpromptsnippets.js +0 -2195
- package/models/operations/getallpromptsnippets.js.map +0 -1
- package/models/operations/getpromptversion.d.ts +0 -1228
- package/models/operations/getpromptversion.d.ts.map +0 -1
- package/models/operations/getpromptversion.js +0 -1080
- package/models/operations/getpromptversion.js.map +0 -1
- package/models/operations/listpromptversions.d.ts +0 -1286
- package/models/operations/listpromptversions.d.ts.map +0 -1
- package/models/operations/listpromptversions.js +0 -1142
- package/models/operations/listpromptversions.js.map +0 -1
- package/models/operations/updatepromptsnippet.d.ts +0 -3595
- package/models/operations/updatepromptsnippet.d.ts.map +0 -1
- package/models/operations/updatepromptsnippet.js +0 -3116
- package/models/operations/updatepromptsnippet.js.map +0 -1
- package/sdk/promptsnippets.d.ts +0 -29
- package/sdk/promptsnippets.d.ts.map +0 -1
- package/sdk/promptsnippets.js +0 -54
- package/sdk/promptsnippets.js.map +0 -1
- package/src/funcs/deploymentsStream.ts +0 -150
- package/src/funcs/promptSnippetsUpdate.ts +0 -139
- package/src/funcs/promptsGetVersion.ts +0 -146
- package/src/funcs/promptsList.ts +0 -133
- package/src/funcs/promptsListVersions.ts +0 -139
- package/src/models/errors/getpromptversion.ts +0 -71
- package/src/models/errors/updatepromptsnippet.ts +0 -71
- package/src/models/operations/createpromptsnippet.ts +0 -6239
- package/src/models/operations/deletepromptsnippet.ts +0 -69
- package/src/models/operations/deploymentstream.ts +0 -3062
- package/src/models/operations/findonebykeypromptsnippet.ts +0 -4483
- package/src/models/operations/getallpromptsnippets.ts +0 -4472
- package/src/models/operations/getpromptversion.ts +0 -2012
- package/src/models/operations/listpromptversions.ts +0 -2146
- package/src/models/operations/updatepromptsnippet.ts +0 -6544
- package/src/sdk/promptsnippets.ts +0 -99
|
@@ -1,3595 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
/**
|
|
6
|
-
* The type of the model
|
|
7
|
-
*/
|
|
8
|
-
export declare const UpdatePromptSnippetModelType: {
|
|
9
|
-
readonly Chat: "chat";
|
|
10
|
-
readonly Completion: "completion";
|
|
11
|
-
readonly Embedding: "embedding";
|
|
12
|
-
readonly Vision: "vision";
|
|
13
|
-
readonly Image: "image";
|
|
14
|
-
readonly Tts: "tts";
|
|
15
|
-
readonly Stt: "stt";
|
|
16
|
-
readonly Rerank: "rerank";
|
|
17
|
-
readonly Moderations: "moderations";
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* The type of the model
|
|
21
|
-
*/
|
|
22
|
-
export type UpdatePromptSnippetModelType = ClosedEnum<typeof UpdatePromptSnippetModelType>;
|
|
23
|
-
/**
|
|
24
|
-
* Only supported on `image` models.
|
|
25
|
-
*/
|
|
26
|
-
export declare const UpdatePromptSnippetFormat: {
|
|
27
|
-
readonly Url: "url";
|
|
28
|
-
readonly B64Json: "b64_json";
|
|
29
|
-
readonly Text: "text";
|
|
30
|
-
readonly JsonObject: "json_object";
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Only supported on `image` models.
|
|
34
|
-
*/
|
|
35
|
-
export type UpdatePromptSnippetFormat = ClosedEnum<typeof UpdatePromptSnippetFormat>;
|
|
36
|
-
/**
|
|
37
|
-
* Only supported on `image` models.
|
|
38
|
-
*/
|
|
39
|
-
export declare const UpdatePromptSnippetQuality: {
|
|
40
|
-
readonly Standard: "standard";
|
|
41
|
-
readonly Hd: "hd";
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Only supported on `image` models.
|
|
45
|
-
*/
|
|
46
|
-
export type UpdatePromptSnippetQuality = ClosedEnum<typeof UpdatePromptSnippetQuality>;
|
|
47
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsType: {
|
|
48
|
-
readonly JsonObject: "json_object";
|
|
49
|
-
};
|
|
50
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippetsType = ClosedEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsType>;
|
|
51
|
-
export type UpdatePromptSnippetResponseFormat2 = {
|
|
52
|
-
type: UpdatePromptSnippetResponseFormatPromptSnippetsType;
|
|
53
|
-
};
|
|
54
|
-
export declare const UpdatePromptSnippetResponseFormatType: {
|
|
55
|
-
readonly JsonSchema: "json_schema";
|
|
56
|
-
};
|
|
57
|
-
export type UpdatePromptSnippetResponseFormatType = ClosedEnum<typeof UpdatePromptSnippetResponseFormatType>;
|
|
58
|
-
export type ResponseFormatJsonSchema = {
|
|
59
|
-
name: string;
|
|
60
|
-
strict: boolean;
|
|
61
|
-
schema: {
|
|
62
|
-
[k: string]: any;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export type UpdatePromptSnippetResponseFormat1 = {
|
|
66
|
-
type: UpdatePromptSnippetResponseFormatType;
|
|
67
|
-
jsonSchema: ResponseFormatJsonSchema;
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* An object specifying the format that the model must output.
|
|
71
|
-
*
|
|
72
|
-
* @remarks
|
|
73
|
-
*
|
|
74
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
75
|
-
*
|
|
76
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
77
|
-
*
|
|
78
|
-
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
79
|
-
*/
|
|
80
|
-
export type UpdatePromptSnippetResponseFormat = UpdatePromptSnippetResponseFormat2 | UpdatePromptSnippetResponseFormat1;
|
|
81
|
-
/**
|
|
82
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
83
|
-
*/
|
|
84
|
-
export declare const UpdatePromptSnippetPhotoRealVersion: {
|
|
85
|
-
readonly V1: "v1";
|
|
86
|
-
readonly V2: "v2";
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
90
|
-
*/
|
|
91
|
-
export type UpdatePromptSnippetPhotoRealVersion = ClosedEnum<typeof UpdatePromptSnippetPhotoRealVersion>;
|
|
92
|
-
/**
|
|
93
|
-
* The format to return the embeddings
|
|
94
|
-
*/
|
|
95
|
-
export declare const UpdatePromptSnippetEncodingFormat: {
|
|
96
|
-
readonly Float: "float";
|
|
97
|
-
readonly Base64: "base64";
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* The format to return the embeddings
|
|
101
|
-
*/
|
|
102
|
-
export type UpdatePromptSnippetEncodingFormat = ClosedEnum<typeof UpdatePromptSnippetEncodingFormat>;
|
|
103
|
-
/**
|
|
104
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
105
|
-
*/
|
|
106
|
-
export declare const UpdatePromptSnippetReasoningEffort: {
|
|
107
|
-
readonly Low: "low";
|
|
108
|
-
readonly Medium: "medium";
|
|
109
|
-
readonly High: "high";
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
113
|
-
*/
|
|
114
|
-
export type UpdatePromptSnippetReasoningEffort = ClosedEnum<typeof UpdatePromptSnippetReasoningEffort>;
|
|
115
|
-
/**
|
|
116
|
-
* Model Parameters: Not all parameters apply to every model
|
|
117
|
-
*/
|
|
118
|
-
export type UpdatePromptSnippetModelParameters = {
|
|
119
|
-
/**
|
|
120
|
-
* Only supported on `chat` and `completion` models.
|
|
121
|
-
*/
|
|
122
|
-
temperature?: number | undefined;
|
|
123
|
-
/**
|
|
124
|
-
* Only supported on `chat` and `completion` models.
|
|
125
|
-
*/
|
|
126
|
-
maxTokens?: number | undefined;
|
|
127
|
-
/**
|
|
128
|
-
* Only supported on `chat` and `completion` models.
|
|
129
|
-
*/
|
|
130
|
-
topK?: number | undefined;
|
|
131
|
-
/**
|
|
132
|
-
* Only supported on `chat` and `completion` models.
|
|
133
|
-
*/
|
|
134
|
-
topP?: number | undefined;
|
|
135
|
-
/**
|
|
136
|
-
* Only supported on `chat` and `completion` models.
|
|
137
|
-
*/
|
|
138
|
-
frequencyPenalty?: number | undefined;
|
|
139
|
-
/**
|
|
140
|
-
* Only supported on `chat` and `completion` models.
|
|
141
|
-
*/
|
|
142
|
-
presencePenalty?: number | undefined;
|
|
143
|
-
/**
|
|
144
|
-
* Only supported on `image` models.
|
|
145
|
-
*/
|
|
146
|
-
numImages?: number | undefined;
|
|
147
|
-
/**
|
|
148
|
-
* Best effort deterministic seed for the model. Currently only OpenAI models support these
|
|
149
|
-
*/
|
|
150
|
-
seed?: number | undefined;
|
|
151
|
-
/**
|
|
152
|
-
* Only supported on `image` models.
|
|
153
|
-
*/
|
|
154
|
-
format?: UpdatePromptSnippetFormat | undefined;
|
|
155
|
-
/**
|
|
156
|
-
* Only supported on `image` models.
|
|
157
|
-
*/
|
|
158
|
-
dimensions?: string | undefined;
|
|
159
|
-
/**
|
|
160
|
-
* Only supported on `image` models.
|
|
161
|
-
*/
|
|
162
|
-
quality?: UpdatePromptSnippetQuality | undefined;
|
|
163
|
-
/**
|
|
164
|
-
* Only supported on `image` models.
|
|
165
|
-
*/
|
|
166
|
-
style?: string | undefined;
|
|
167
|
-
/**
|
|
168
|
-
* An object specifying the format that the model must output.
|
|
169
|
-
*
|
|
170
|
-
* @remarks
|
|
171
|
-
*
|
|
172
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
173
|
-
*
|
|
174
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
175
|
-
*
|
|
176
|
-
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
177
|
-
*/
|
|
178
|
-
responseFormat?: UpdatePromptSnippetResponseFormat2 | UpdatePromptSnippetResponseFormat1 | null | undefined;
|
|
179
|
-
/**
|
|
180
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
181
|
-
*/
|
|
182
|
-
photoRealVersion?: UpdatePromptSnippetPhotoRealVersion | undefined;
|
|
183
|
-
/**
|
|
184
|
-
* The format to return the embeddings
|
|
185
|
-
*/
|
|
186
|
-
encodingFormat?: UpdatePromptSnippetEncodingFormat | undefined;
|
|
187
|
-
/**
|
|
188
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
189
|
-
*/
|
|
190
|
-
reasoningEffort?: UpdatePromptSnippetReasoningEffort | undefined;
|
|
191
|
-
};
|
|
192
|
-
export declare const UpdatePromptSnippetProvider: {
|
|
193
|
-
readonly Cohere: "cohere";
|
|
194
|
-
readonly Openai: "openai";
|
|
195
|
-
readonly Anthropic: "anthropic";
|
|
196
|
-
readonly Huggingface: "huggingface";
|
|
197
|
-
readonly Replicate: "replicate";
|
|
198
|
-
readonly Google: "google";
|
|
199
|
-
readonly GoogleAi: "google-ai";
|
|
200
|
-
readonly Azure: "azure";
|
|
201
|
-
readonly Aws: "aws";
|
|
202
|
-
readonly Anyscale: "anyscale";
|
|
203
|
-
readonly Perplexity: "perplexity";
|
|
204
|
-
readonly Groq: "groq";
|
|
205
|
-
readonly Fal: "fal";
|
|
206
|
-
readonly Leonardoai: "leonardoai";
|
|
207
|
-
readonly Nvidia: "nvidia";
|
|
208
|
-
readonly Jina: "jina";
|
|
209
|
-
readonly Togetherai: "togetherai";
|
|
210
|
-
readonly Elevenlabs: "elevenlabs";
|
|
211
|
-
};
|
|
212
|
-
export type UpdatePromptSnippetProvider = ClosedEnum<typeof UpdatePromptSnippetProvider>;
|
|
213
|
-
/**
|
|
214
|
-
* The role of the prompt message
|
|
215
|
-
*/
|
|
216
|
-
export declare const UpdatePromptSnippetRole: {
|
|
217
|
-
readonly System: "system";
|
|
218
|
-
readonly Assistant: "assistant";
|
|
219
|
-
readonly User: "user";
|
|
220
|
-
readonly Exception: "exception";
|
|
221
|
-
readonly Tool: "tool";
|
|
222
|
-
readonly Prompt: "prompt";
|
|
223
|
-
readonly Correction: "correction";
|
|
224
|
-
readonly ExpectedOutput: "expected_output";
|
|
225
|
-
};
|
|
226
|
-
/**
|
|
227
|
-
* The role of the prompt message
|
|
228
|
-
*/
|
|
229
|
-
export type UpdatePromptSnippetRole = ClosedEnum<typeof UpdatePromptSnippetRole>;
|
|
230
|
-
export declare const UpdatePromptSnippet2PromptSnippetsType: {
|
|
231
|
-
readonly ImageUrl: "image_url";
|
|
232
|
-
};
|
|
233
|
-
export type UpdatePromptSnippet2PromptSnippetsType = ClosedEnum<typeof UpdatePromptSnippet2PromptSnippetsType>;
|
|
234
|
-
export type UpdatePromptSnippet2ImageUrl = {
|
|
235
|
-
/**
|
|
236
|
-
* Either a URL of the image or the base64 encoded data URI.
|
|
237
|
-
*/
|
|
238
|
-
url: string;
|
|
239
|
-
/**
|
|
240
|
-
* Specifies the detail level of the image. Currently only supported with OpenAI models
|
|
241
|
-
*/
|
|
242
|
-
detail?: string | undefined;
|
|
243
|
-
};
|
|
244
|
-
/**
|
|
245
|
-
* The image part of the prompt message. Only supported with vision models.
|
|
246
|
-
*/
|
|
247
|
-
export type UpdatePromptSnippet22 = {
|
|
248
|
-
type: UpdatePromptSnippet2PromptSnippetsType;
|
|
249
|
-
imageUrl: UpdatePromptSnippet2ImageUrl;
|
|
250
|
-
};
|
|
251
|
-
export declare const UpdatePromptSnippet2Type: {
|
|
252
|
-
readonly Text: "text";
|
|
253
|
-
};
|
|
254
|
-
export type UpdatePromptSnippet2Type = ClosedEnum<typeof UpdatePromptSnippet2Type>;
|
|
255
|
-
/**
|
|
256
|
-
* Text content part of a prompt message
|
|
257
|
-
*/
|
|
258
|
-
export type UpdatePromptSnippet21 = {
|
|
259
|
-
type: UpdatePromptSnippet2Type;
|
|
260
|
-
text: string;
|
|
261
|
-
};
|
|
262
|
-
export type UpdatePromptSnippetContent2 = UpdatePromptSnippet21 | UpdatePromptSnippet22;
|
|
263
|
-
/**
|
|
264
|
-
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
265
|
-
*/
|
|
266
|
-
export type UpdatePromptSnippetContent = string | Array<UpdatePromptSnippet21 | UpdatePromptSnippet22>;
|
|
267
|
-
export declare const UpdatePromptSnippetType: {
|
|
268
|
-
readonly Function: "function";
|
|
269
|
-
};
|
|
270
|
-
export type UpdatePromptSnippetType = ClosedEnum<typeof UpdatePromptSnippetType>;
|
|
271
|
-
export type UpdatePromptSnippetFunction = {
|
|
272
|
-
name: string;
|
|
273
|
-
/**
|
|
274
|
-
* JSON string arguments for the functions
|
|
275
|
-
*/
|
|
276
|
-
arguments: string;
|
|
277
|
-
};
|
|
278
|
-
export type UpdatePromptSnippetToolCalls = {
|
|
279
|
-
id?: string | undefined;
|
|
280
|
-
index?: number | undefined;
|
|
281
|
-
type: UpdatePromptSnippetType;
|
|
282
|
-
function: UpdatePromptSnippetFunction;
|
|
283
|
-
};
|
|
284
|
-
export type UpdatePromptSnippetMessages = {
|
|
285
|
-
/**
|
|
286
|
-
* The role of the prompt message
|
|
287
|
-
*/
|
|
288
|
-
role: UpdatePromptSnippetRole;
|
|
289
|
-
/**
|
|
290
|
-
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
291
|
-
*/
|
|
292
|
-
content: string | Array<UpdatePromptSnippet21 | UpdatePromptSnippet22>;
|
|
293
|
-
toolCalls?: Array<UpdatePromptSnippetToolCalls> | undefined;
|
|
294
|
-
};
|
|
295
|
-
/**
|
|
296
|
-
* A list of messages compatible with the openAI schema
|
|
297
|
-
*/
|
|
298
|
-
export type UpdatePromptSnippetPromptConfig = {
|
|
299
|
-
stream?: boolean | undefined;
|
|
300
|
-
model?: string | undefined;
|
|
301
|
-
/**
|
|
302
|
-
* The type of the model
|
|
303
|
-
*/
|
|
304
|
-
modelType?: UpdatePromptSnippetModelType | undefined;
|
|
305
|
-
/**
|
|
306
|
-
* Model Parameters: Not all parameters apply to every model
|
|
307
|
-
*/
|
|
308
|
-
modelParameters?: UpdatePromptSnippetModelParameters | undefined;
|
|
309
|
-
provider?: UpdatePromptSnippetProvider | undefined;
|
|
310
|
-
version?: string | undefined;
|
|
311
|
-
messages: Array<UpdatePromptSnippetMessages>;
|
|
312
|
-
};
|
|
313
|
-
export declare const UpdatePromptSnippetUseCases: {
|
|
314
|
-
readonly Agents: "Agents";
|
|
315
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
316
|
-
readonly APIInteraction: "API interaction";
|
|
317
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
318
|
-
readonly Chatbots: "Chatbots";
|
|
319
|
-
readonly Classification: "Classification";
|
|
320
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
321
|
-
readonly CodeWriting: "Code writing";
|
|
322
|
-
readonly DocumentsQA: "Documents QA";
|
|
323
|
-
readonly Conversation: "Conversation";
|
|
324
|
-
readonly Extraction: "Extraction";
|
|
325
|
-
readonly MultiModal: "Multi-modal";
|
|
326
|
-
readonly SelfChecking: "Self-checking";
|
|
327
|
-
readonly Sql: "SQL";
|
|
328
|
-
readonly Summarization: "Summarization";
|
|
329
|
-
readonly Tagging: "Tagging";
|
|
330
|
-
};
|
|
331
|
-
export type UpdatePromptSnippetUseCases = ClosedEnum<typeof UpdatePromptSnippetUseCases>;
|
|
332
|
-
/**
|
|
333
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
334
|
-
*/
|
|
335
|
-
export declare const UpdatePromptSnippetLanguage: {
|
|
336
|
-
readonly Chinese: "Chinese";
|
|
337
|
-
readonly Dutch: "Dutch";
|
|
338
|
-
readonly English: "English";
|
|
339
|
-
readonly French: "French";
|
|
340
|
-
readonly German: "German";
|
|
341
|
-
readonly Russian: "Russian";
|
|
342
|
-
readonly Spanish: "Spanish";
|
|
343
|
-
};
|
|
344
|
-
/**
|
|
345
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
346
|
-
*/
|
|
347
|
-
export type UpdatePromptSnippetLanguage = ClosedEnum<typeof UpdatePromptSnippetLanguage>;
|
|
348
|
-
export type UpdatePromptSnippetMetadata = {
|
|
349
|
-
/**
|
|
350
|
-
* A list of use cases that the prompt is meant to be used for. Use this field to categorize the prompt for your own purpose
|
|
351
|
-
*/
|
|
352
|
-
useCases?: Array<UpdatePromptSnippetUseCases> | undefined;
|
|
353
|
-
/**
|
|
354
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
355
|
-
*/
|
|
356
|
-
language?: UpdatePromptSnippetLanguage | undefined;
|
|
357
|
-
};
|
|
358
|
-
export type UpdatePromptSnippetRequestBody = {
|
|
359
|
-
/**
|
|
360
|
-
* The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
|
|
361
|
-
*/
|
|
362
|
-
description?: string | null | undefined;
|
|
363
|
-
/**
|
|
364
|
-
* A list of messages compatible with the openAI schema
|
|
365
|
-
*/
|
|
366
|
-
promptConfig?: UpdatePromptSnippetPromptConfig | undefined;
|
|
367
|
-
metadata?: UpdatePromptSnippetMetadata | undefined;
|
|
368
|
-
/**
|
|
369
|
-
* The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
|
|
370
|
-
*/
|
|
371
|
-
path?: string | undefined;
|
|
372
|
-
};
|
|
373
|
-
export type UpdatePromptSnippetRequest = {
|
|
374
|
-
/**
|
|
375
|
-
* Unique identifier of the prompt
|
|
376
|
-
*/
|
|
377
|
-
id: string;
|
|
378
|
-
requestBody?: UpdatePromptSnippetRequestBody | undefined;
|
|
379
|
-
};
|
|
380
|
-
export declare const UpdatePromptSnippetOwner2: {
|
|
381
|
-
readonly Vendor: "vendor";
|
|
382
|
-
};
|
|
383
|
-
export type UpdatePromptSnippetOwner2 = ClosedEnum<typeof UpdatePromptSnippetOwner2>;
|
|
384
|
-
export type UpdatePromptSnippetOwner = string | UpdatePromptSnippetOwner2;
|
|
385
|
-
/**
|
|
386
|
-
* The type of the model
|
|
387
|
-
*/
|
|
388
|
-
export declare const UpdatePromptSnippetPromptSnippetsModelType: {
|
|
389
|
-
readonly Chat: "chat";
|
|
390
|
-
readonly Completion: "completion";
|
|
391
|
-
readonly Embedding: "embedding";
|
|
392
|
-
readonly Vision: "vision";
|
|
393
|
-
readonly Image: "image";
|
|
394
|
-
readonly Tts: "tts";
|
|
395
|
-
readonly Stt: "stt";
|
|
396
|
-
readonly Rerank: "rerank";
|
|
397
|
-
readonly Moderations: "moderations";
|
|
398
|
-
};
|
|
399
|
-
/**
|
|
400
|
-
* The type of the model
|
|
401
|
-
*/
|
|
402
|
-
export type UpdatePromptSnippetPromptSnippetsModelType = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsModelType>;
|
|
403
|
-
/**
|
|
404
|
-
* Only supported on `image` models.
|
|
405
|
-
*/
|
|
406
|
-
export declare const UpdatePromptSnippetPromptSnippetsFormat: {
|
|
407
|
-
readonly Url: "url";
|
|
408
|
-
readonly B64Json: "b64_json";
|
|
409
|
-
readonly Text: "text";
|
|
410
|
-
readonly JsonObject: "json_object";
|
|
411
|
-
};
|
|
412
|
-
/**
|
|
413
|
-
* Only supported on `image` models.
|
|
414
|
-
*/
|
|
415
|
-
export type UpdatePromptSnippetPromptSnippetsFormat = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsFormat>;
|
|
416
|
-
/**
|
|
417
|
-
* Only supported on `image` models.
|
|
418
|
-
*/
|
|
419
|
-
export declare const UpdatePromptSnippetPromptSnippetsQuality: {
|
|
420
|
-
readonly Standard: "standard";
|
|
421
|
-
readonly Hd: "hd";
|
|
422
|
-
};
|
|
423
|
-
/**
|
|
424
|
-
* Only supported on `image` models.
|
|
425
|
-
*/
|
|
426
|
-
export type UpdatePromptSnippetPromptSnippetsQuality = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsQuality>;
|
|
427
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse200Type: {
|
|
428
|
-
readonly JsonObject: "json_object";
|
|
429
|
-
};
|
|
430
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippetsResponse200Type = ClosedEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsResponse200Type>;
|
|
431
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippets2 = {
|
|
432
|
-
type: UpdatePromptSnippetResponseFormatPromptSnippetsResponse200Type;
|
|
433
|
-
};
|
|
434
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponseType: {
|
|
435
|
-
readonly JsonSchema: "json_schema";
|
|
436
|
-
};
|
|
437
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippetsResponseType = ClosedEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsResponseType>;
|
|
438
|
-
export type UpdatePromptSnippetResponseFormatJsonSchema = {
|
|
439
|
-
name: string;
|
|
440
|
-
strict: boolean;
|
|
441
|
-
schema: {
|
|
442
|
-
[k: string]: any;
|
|
443
|
-
};
|
|
444
|
-
};
|
|
445
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippets1 = {
|
|
446
|
-
type: UpdatePromptSnippetResponseFormatPromptSnippetsResponseType;
|
|
447
|
-
jsonSchema: UpdatePromptSnippetResponseFormatJsonSchema;
|
|
448
|
-
};
|
|
449
|
-
/**
|
|
450
|
-
* An object specifying the format that the model must output.
|
|
451
|
-
*
|
|
452
|
-
* @remarks
|
|
453
|
-
*
|
|
454
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
455
|
-
*
|
|
456
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
457
|
-
*
|
|
458
|
-
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
459
|
-
*/
|
|
460
|
-
export type UpdatePromptSnippetPromptSnippetsResponseFormat = UpdatePromptSnippetResponseFormatPromptSnippets2 | UpdatePromptSnippetResponseFormatPromptSnippets1;
|
|
461
|
-
/**
|
|
462
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
463
|
-
*/
|
|
464
|
-
export declare const UpdatePromptSnippetPromptSnippetsPhotoRealVersion: {
|
|
465
|
-
readonly V1: "v1";
|
|
466
|
-
readonly V2: "v2";
|
|
467
|
-
};
|
|
468
|
-
/**
|
|
469
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
470
|
-
*/
|
|
471
|
-
export type UpdatePromptSnippetPromptSnippetsPhotoRealVersion = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsPhotoRealVersion>;
|
|
472
|
-
/**
|
|
473
|
-
* The format to return the embeddings
|
|
474
|
-
*/
|
|
475
|
-
export declare const UpdatePromptSnippetPromptSnippetsEncodingFormat: {
|
|
476
|
-
readonly Float: "float";
|
|
477
|
-
readonly Base64: "base64";
|
|
478
|
-
};
|
|
479
|
-
/**
|
|
480
|
-
* The format to return the embeddings
|
|
481
|
-
*/
|
|
482
|
-
export type UpdatePromptSnippetPromptSnippetsEncodingFormat = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsEncodingFormat>;
|
|
483
|
-
/**
|
|
484
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
485
|
-
*/
|
|
486
|
-
export declare const UpdatePromptSnippetPromptSnippetsReasoningEffort: {
|
|
487
|
-
readonly Low: "low";
|
|
488
|
-
readonly Medium: "medium";
|
|
489
|
-
readonly High: "high";
|
|
490
|
-
};
|
|
491
|
-
/**
|
|
492
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
493
|
-
*/
|
|
494
|
-
export type UpdatePromptSnippetPromptSnippetsReasoningEffort = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsReasoningEffort>;
|
|
495
|
-
/**
|
|
496
|
-
* Model Parameters: Not all parameters apply to every model
|
|
497
|
-
*/
|
|
498
|
-
export type UpdatePromptSnippetPromptSnippetsModelParameters = {
|
|
499
|
-
/**
|
|
500
|
-
* Only supported on `chat` and `completion` models.
|
|
501
|
-
*/
|
|
502
|
-
temperature?: number | undefined;
|
|
503
|
-
/**
|
|
504
|
-
* Only supported on `chat` and `completion` models.
|
|
505
|
-
*/
|
|
506
|
-
maxTokens?: number | undefined;
|
|
507
|
-
/**
|
|
508
|
-
* Only supported on `chat` and `completion` models.
|
|
509
|
-
*/
|
|
510
|
-
topK?: number | undefined;
|
|
511
|
-
/**
|
|
512
|
-
* Only supported on `chat` and `completion` models.
|
|
513
|
-
*/
|
|
514
|
-
topP?: number | undefined;
|
|
515
|
-
/**
|
|
516
|
-
* Only supported on `chat` and `completion` models.
|
|
517
|
-
*/
|
|
518
|
-
frequencyPenalty?: number | undefined;
|
|
519
|
-
/**
|
|
520
|
-
* Only supported on `chat` and `completion` models.
|
|
521
|
-
*/
|
|
522
|
-
presencePenalty?: number | undefined;
|
|
523
|
-
/**
|
|
524
|
-
* Only supported on `image` models.
|
|
525
|
-
*/
|
|
526
|
-
numImages?: number | undefined;
|
|
527
|
-
/**
|
|
528
|
-
* Best effort deterministic seed for the model. Currently only OpenAI models support these
|
|
529
|
-
*/
|
|
530
|
-
seed?: number | undefined;
|
|
531
|
-
/**
|
|
532
|
-
* Only supported on `image` models.
|
|
533
|
-
*/
|
|
534
|
-
format?: UpdatePromptSnippetPromptSnippetsFormat | undefined;
|
|
535
|
-
/**
|
|
536
|
-
* Only supported on `image` models.
|
|
537
|
-
*/
|
|
538
|
-
dimensions?: string | undefined;
|
|
539
|
-
/**
|
|
540
|
-
* Only supported on `image` models.
|
|
541
|
-
*/
|
|
542
|
-
quality?: UpdatePromptSnippetPromptSnippetsQuality | undefined;
|
|
543
|
-
/**
|
|
544
|
-
* Only supported on `image` models.
|
|
545
|
-
*/
|
|
546
|
-
style?: string | undefined;
|
|
547
|
-
/**
|
|
548
|
-
* An object specifying the format that the model must output.
|
|
549
|
-
*
|
|
550
|
-
* @remarks
|
|
551
|
-
*
|
|
552
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
553
|
-
*
|
|
554
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
555
|
-
*
|
|
556
|
-
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
557
|
-
*/
|
|
558
|
-
responseFormat?: UpdatePromptSnippetResponseFormatPromptSnippets2 | UpdatePromptSnippetResponseFormatPromptSnippets1 | null | undefined;
|
|
559
|
-
/**
|
|
560
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
561
|
-
*/
|
|
562
|
-
photoRealVersion?: UpdatePromptSnippetPromptSnippetsPhotoRealVersion | undefined;
|
|
563
|
-
/**
|
|
564
|
-
* The format to return the embeddings
|
|
565
|
-
*/
|
|
566
|
-
encodingFormat?: UpdatePromptSnippetPromptSnippetsEncodingFormat | undefined;
|
|
567
|
-
/**
|
|
568
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
569
|
-
*/
|
|
570
|
-
reasoningEffort?: UpdatePromptSnippetPromptSnippetsReasoningEffort | undefined;
|
|
571
|
-
};
|
|
572
|
-
export declare const UpdatePromptSnippetPromptSnippetsProvider: {
|
|
573
|
-
readonly Cohere: "cohere";
|
|
574
|
-
readonly Openai: "openai";
|
|
575
|
-
readonly Anthropic: "anthropic";
|
|
576
|
-
readonly Huggingface: "huggingface";
|
|
577
|
-
readonly Replicate: "replicate";
|
|
578
|
-
readonly Google: "google";
|
|
579
|
-
readonly GoogleAi: "google-ai";
|
|
580
|
-
readonly Azure: "azure";
|
|
581
|
-
readonly Aws: "aws";
|
|
582
|
-
readonly Anyscale: "anyscale";
|
|
583
|
-
readonly Perplexity: "perplexity";
|
|
584
|
-
readonly Groq: "groq";
|
|
585
|
-
readonly Fal: "fal";
|
|
586
|
-
readonly Leonardoai: "leonardoai";
|
|
587
|
-
readonly Nvidia: "nvidia";
|
|
588
|
-
readonly Jina: "jina";
|
|
589
|
-
readonly Togetherai: "togetherai";
|
|
590
|
-
readonly Elevenlabs: "elevenlabs";
|
|
591
|
-
};
|
|
592
|
-
export type UpdatePromptSnippetPromptSnippetsProvider = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsProvider>;
|
|
593
|
-
/**
|
|
594
|
-
* The role of the prompt message
|
|
595
|
-
*/
|
|
596
|
-
export declare const UpdatePromptSnippetPromptSnippetsRole: {
|
|
597
|
-
readonly System: "system";
|
|
598
|
-
readonly Assistant: "assistant";
|
|
599
|
-
readonly User: "user";
|
|
600
|
-
readonly Exception: "exception";
|
|
601
|
-
readonly Tool: "tool";
|
|
602
|
-
readonly Prompt: "prompt";
|
|
603
|
-
readonly Correction: "correction";
|
|
604
|
-
readonly ExpectedOutput: "expected_output";
|
|
605
|
-
};
|
|
606
|
-
/**
|
|
607
|
-
* The role of the prompt message
|
|
608
|
-
*/
|
|
609
|
-
export type UpdatePromptSnippetPromptSnippetsRole = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsRole>;
|
|
610
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse200Type: {
|
|
611
|
-
readonly ImageUrl: "image_url";
|
|
612
|
-
};
|
|
613
|
-
export type UpdatePromptSnippet2PromptSnippetsResponse200Type = ClosedEnum<typeof UpdatePromptSnippet2PromptSnippetsResponse200Type>;
|
|
614
|
-
export type UpdatePromptSnippet2PromptSnippetsImageUrl = {
|
|
615
|
-
/**
|
|
616
|
-
* The orq.ai id of the image
|
|
617
|
-
*/
|
|
618
|
-
id?: string | undefined;
|
|
619
|
-
/**
|
|
620
|
-
* Either a URL of the image or the base64 encoded data URI.
|
|
621
|
-
*/
|
|
622
|
-
url: string;
|
|
623
|
-
/**
|
|
624
|
-
* Specifies the detail level of the image. Currently only supported with OpenAI models
|
|
625
|
-
*/
|
|
626
|
-
detail?: string | undefined;
|
|
627
|
-
};
|
|
628
|
-
/**
|
|
629
|
-
* The image part of the prompt message. Only supported with vision models.
|
|
630
|
-
*/
|
|
631
|
-
export type UpdatePromptSnippet2PromptSnippets2 = {
|
|
632
|
-
type: UpdatePromptSnippet2PromptSnippetsResponse200Type;
|
|
633
|
-
imageUrl: UpdatePromptSnippet2PromptSnippetsImageUrl;
|
|
634
|
-
};
|
|
635
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponseType: {
|
|
636
|
-
readonly Text: "text";
|
|
637
|
-
};
|
|
638
|
-
export type UpdatePromptSnippet2PromptSnippetsResponseType = ClosedEnum<typeof UpdatePromptSnippet2PromptSnippetsResponseType>;
|
|
639
|
-
/**
|
|
640
|
-
* Text content part of a prompt message
|
|
641
|
-
*/
|
|
642
|
-
export type UpdatePromptSnippet2PromptSnippets1 = {
|
|
643
|
-
type: UpdatePromptSnippet2PromptSnippetsResponseType;
|
|
644
|
-
text: string;
|
|
645
|
-
};
|
|
646
|
-
export type UpdatePromptSnippetContentPromptSnippets2 = UpdatePromptSnippet2PromptSnippets1 | UpdatePromptSnippet2PromptSnippets2;
|
|
647
|
-
/**
|
|
648
|
-
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
649
|
-
*/
|
|
650
|
-
export type UpdatePromptSnippetPromptSnippetsContent = string | Array<UpdatePromptSnippet2PromptSnippets1 | UpdatePromptSnippet2PromptSnippets2>;
|
|
651
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseType: {
|
|
652
|
-
readonly Function: "function";
|
|
653
|
-
};
|
|
654
|
-
export type UpdatePromptSnippetPromptSnippetsResponseType = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsResponseType>;
|
|
655
|
-
export type UpdatePromptSnippetPromptSnippetsFunction = {
|
|
656
|
-
name: string;
|
|
657
|
-
/**
|
|
658
|
-
* JSON string arguments for the functions
|
|
659
|
-
*/
|
|
660
|
-
arguments: string;
|
|
661
|
-
};
|
|
662
|
-
export type UpdatePromptSnippetPromptSnippetsToolCalls = {
|
|
663
|
-
id?: string | undefined;
|
|
664
|
-
index?: number | undefined;
|
|
665
|
-
type: UpdatePromptSnippetPromptSnippetsResponseType;
|
|
666
|
-
function: UpdatePromptSnippetPromptSnippetsFunction;
|
|
667
|
-
};
|
|
668
|
-
export type UpdatePromptSnippetPromptSnippetsMessages = {
|
|
669
|
-
/**
|
|
670
|
-
* The role of the prompt message
|
|
671
|
-
*/
|
|
672
|
-
role: UpdatePromptSnippetPromptSnippetsRole;
|
|
673
|
-
/**
|
|
674
|
-
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
675
|
-
*/
|
|
676
|
-
content: string | Array<UpdatePromptSnippet2PromptSnippets1 | UpdatePromptSnippet2PromptSnippets2>;
|
|
677
|
-
toolCalls?: Array<UpdatePromptSnippetPromptSnippetsToolCalls> | undefined;
|
|
678
|
-
};
|
|
679
|
-
/**
|
|
680
|
-
* A list of messages compatible with the openAI schema
|
|
681
|
-
*/
|
|
682
|
-
export type UpdatePromptSnippetPromptSnippetsPromptConfig = {
|
|
683
|
-
stream?: boolean | undefined;
|
|
684
|
-
model?: string | undefined;
|
|
685
|
-
/**
|
|
686
|
-
* The id of the resource
|
|
687
|
-
*/
|
|
688
|
-
modelDbId?: string | undefined;
|
|
689
|
-
/**
|
|
690
|
-
* The type of the model
|
|
691
|
-
*/
|
|
692
|
-
modelType?: UpdatePromptSnippetPromptSnippetsModelType | undefined;
|
|
693
|
-
/**
|
|
694
|
-
* Model Parameters: Not all parameters apply to every model
|
|
695
|
-
*/
|
|
696
|
-
modelParameters?: UpdatePromptSnippetPromptSnippetsModelParameters | undefined;
|
|
697
|
-
provider?: UpdatePromptSnippetPromptSnippetsProvider | undefined;
|
|
698
|
-
/**
|
|
699
|
-
* The id of the resource
|
|
700
|
-
*/
|
|
701
|
-
integrationId?: string | null | undefined;
|
|
702
|
-
version?: string | undefined;
|
|
703
|
-
messages: Array<UpdatePromptSnippetPromptSnippetsMessages>;
|
|
704
|
-
};
|
|
705
|
-
export declare const UpdatePromptSnippetPromptSnippetsUseCases: {
|
|
706
|
-
readonly Agents: "Agents";
|
|
707
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
708
|
-
readonly APIInteraction: "API interaction";
|
|
709
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
710
|
-
readonly Chatbots: "Chatbots";
|
|
711
|
-
readonly Classification: "Classification";
|
|
712
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
713
|
-
readonly CodeWriting: "Code writing";
|
|
714
|
-
readonly DocumentsQA: "Documents QA";
|
|
715
|
-
readonly Conversation: "Conversation";
|
|
716
|
-
readonly Extraction: "Extraction";
|
|
717
|
-
readonly MultiModal: "Multi-modal";
|
|
718
|
-
readonly SelfChecking: "Self-checking";
|
|
719
|
-
readonly Sql: "SQL";
|
|
720
|
-
readonly Summarization: "Summarization";
|
|
721
|
-
readonly Tagging: "Tagging";
|
|
722
|
-
};
|
|
723
|
-
export type UpdatePromptSnippetPromptSnippetsUseCases = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsUseCases>;
|
|
724
|
-
/**
|
|
725
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
726
|
-
*/
|
|
727
|
-
export declare const UpdatePromptSnippetPromptSnippetsLanguage: {
|
|
728
|
-
readonly Chinese: "Chinese";
|
|
729
|
-
readonly Dutch: "Dutch";
|
|
730
|
-
readonly English: "English";
|
|
731
|
-
readonly French: "French";
|
|
732
|
-
readonly German: "German";
|
|
733
|
-
readonly Russian: "Russian";
|
|
734
|
-
readonly Spanish: "Spanish";
|
|
735
|
-
};
|
|
736
|
-
/**
|
|
737
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
738
|
-
*/
|
|
739
|
-
export type UpdatePromptSnippetPromptSnippetsLanguage = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsLanguage>;
|
|
740
|
-
export type UpdatePromptSnippetPromptSnippetsMetadata = {
|
|
741
|
-
/**
|
|
742
|
-
* A list of use cases that the prompt is meant to be used for. Use this field to categorize the prompt for your own purpose
|
|
743
|
-
*/
|
|
744
|
-
useCases?: Array<UpdatePromptSnippetPromptSnippetsUseCases> | undefined;
|
|
745
|
-
/**
|
|
746
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
747
|
-
*/
|
|
748
|
-
language?: UpdatePromptSnippetPromptSnippetsLanguage | undefined;
|
|
749
|
-
};
|
|
750
|
-
export declare const UpdatePromptSnippetPromptSnippetsType: {
|
|
751
|
-
readonly Snippet: "snippet";
|
|
752
|
-
};
|
|
753
|
-
export type UpdatePromptSnippetPromptSnippetsType = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsType>;
|
|
754
|
-
/**
|
|
755
|
-
* The type of the model
|
|
756
|
-
*/
|
|
757
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseModelType: {
|
|
758
|
-
readonly Chat: "chat";
|
|
759
|
-
readonly Completion: "completion";
|
|
760
|
-
readonly Embedding: "embedding";
|
|
761
|
-
readonly Vision: "vision";
|
|
762
|
-
readonly Image: "image";
|
|
763
|
-
readonly Tts: "tts";
|
|
764
|
-
readonly Stt: "stt";
|
|
765
|
-
readonly Rerank: "rerank";
|
|
766
|
-
readonly Moderations: "moderations";
|
|
767
|
-
};
|
|
768
|
-
/**
|
|
769
|
-
* The type of the model
|
|
770
|
-
*/
|
|
771
|
-
export type UpdatePromptSnippetPromptSnippetsResponseModelType = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsResponseModelType>;
|
|
772
|
-
/**
|
|
773
|
-
* Only supported on `image` models.
|
|
774
|
-
*/
|
|
775
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponse200Format: {
|
|
776
|
-
readonly Url: "url";
|
|
777
|
-
readonly B64Json: "b64_json";
|
|
778
|
-
readonly Text: "text";
|
|
779
|
-
readonly JsonObject: "json_object";
|
|
780
|
-
};
|
|
781
|
-
/**
|
|
782
|
-
* Only supported on `image` models.
|
|
783
|
-
*/
|
|
784
|
-
export type UpdatePromptSnippetPromptSnippetsResponse200Format = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsResponse200Format>;
|
|
785
|
-
/**
|
|
786
|
-
* Only supported on `image` models.
|
|
787
|
-
*/
|
|
788
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseQuality: {
|
|
789
|
-
readonly Standard: "standard";
|
|
790
|
-
readonly Hd: "hd";
|
|
791
|
-
};
|
|
792
|
-
/**
|
|
793
|
-
* Only supported on `image` models.
|
|
794
|
-
*/
|
|
795
|
-
export type UpdatePromptSnippetPromptSnippetsResponseQuality = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsResponseQuality>;
|
|
796
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONResponseBodyType: {
|
|
797
|
-
readonly JsonObject: "json_object";
|
|
798
|
-
};
|
|
799
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONResponseBodyType>;
|
|
800
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippetsResponse2 = {
|
|
801
|
-
type: UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONResponseBodyType;
|
|
802
|
-
};
|
|
803
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType: {
|
|
804
|
-
readonly JsonSchema: "json_schema";
|
|
805
|
-
};
|
|
806
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType = ClosedEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType>;
|
|
807
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema = {
|
|
808
|
-
name: string;
|
|
809
|
-
strict: boolean;
|
|
810
|
-
schema: {
|
|
811
|
-
[k: string]: any;
|
|
812
|
-
};
|
|
813
|
-
};
|
|
814
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippetsResponse1 = {
|
|
815
|
-
type: UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType;
|
|
816
|
-
jsonSchema: UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema;
|
|
817
|
-
};
|
|
818
|
-
/**
|
|
819
|
-
* An object specifying the format that the model must output.
|
|
820
|
-
*
|
|
821
|
-
* @remarks
|
|
822
|
-
*
|
|
823
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
824
|
-
*
|
|
825
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
826
|
-
*
|
|
827
|
-
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
828
|
-
*/
|
|
829
|
-
export type UpdatePromptSnippetPromptSnippetsResponseResponseFormat = UpdatePromptSnippetResponseFormatPromptSnippetsResponse2 | UpdatePromptSnippetResponseFormatPromptSnippetsResponse1;
|
|
830
|
-
/**
|
|
831
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
832
|
-
*/
|
|
833
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponsePhotoRealVersion: {
|
|
834
|
-
readonly V1: "v1";
|
|
835
|
-
readonly V2: "v2";
|
|
836
|
-
};
|
|
837
|
-
/**
|
|
838
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
839
|
-
*/
|
|
840
|
-
export type UpdatePromptSnippetPromptSnippetsResponsePhotoRealVersion = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsResponsePhotoRealVersion>;
|
|
841
|
-
/**
|
|
842
|
-
* The format to return the embeddings
|
|
843
|
-
*/
|
|
844
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseEncodingFormat: {
|
|
845
|
-
readonly Float: "float";
|
|
846
|
-
readonly Base64: "base64";
|
|
847
|
-
};
|
|
848
|
-
/**
|
|
849
|
-
* The format to return the embeddings
|
|
850
|
-
*/
|
|
851
|
-
export type UpdatePromptSnippetPromptSnippetsResponseEncodingFormat = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsResponseEncodingFormat>;
|
|
852
|
-
/**
|
|
853
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
854
|
-
*/
|
|
855
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseReasoningEffort: {
|
|
856
|
-
readonly Low: "low";
|
|
857
|
-
readonly Medium: "medium";
|
|
858
|
-
readonly High: "high";
|
|
859
|
-
};
|
|
860
|
-
/**
|
|
861
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
862
|
-
*/
|
|
863
|
-
export type UpdatePromptSnippetPromptSnippetsResponseReasoningEffort = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsResponseReasoningEffort>;
|
|
864
|
-
/**
|
|
865
|
-
* Model Parameters: Not all parameters apply to every model
|
|
866
|
-
*/
|
|
867
|
-
export type UpdatePromptSnippetPromptSnippetsResponseModelParameters = {
|
|
868
|
-
/**
|
|
869
|
-
* Only supported on `chat` and `completion` models.
|
|
870
|
-
*/
|
|
871
|
-
temperature?: number | undefined;
|
|
872
|
-
/**
|
|
873
|
-
* Only supported on `chat` and `completion` models.
|
|
874
|
-
*/
|
|
875
|
-
maxTokens?: number | undefined;
|
|
876
|
-
/**
|
|
877
|
-
* Only supported on `chat` and `completion` models.
|
|
878
|
-
*/
|
|
879
|
-
topK?: number | undefined;
|
|
880
|
-
/**
|
|
881
|
-
* Only supported on `chat` and `completion` models.
|
|
882
|
-
*/
|
|
883
|
-
topP?: number | undefined;
|
|
884
|
-
/**
|
|
885
|
-
* Only supported on `chat` and `completion` models.
|
|
886
|
-
*/
|
|
887
|
-
frequencyPenalty?: number | undefined;
|
|
888
|
-
/**
|
|
889
|
-
* Only supported on `chat` and `completion` models.
|
|
890
|
-
*/
|
|
891
|
-
presencePenalty?: number | undefined;
|
|
892
|
-
/**
|
|
893
|
-
* Only supported on `image` models.
|
|
894
|
-
*/
|
|
895
|
-
numImages?: number | undefined;
|
|
896
|
-
/**
|
|
897
|
-
* Best effort deterministic seed for the model. Currently only OpenAI models support these
|
|
898
|
-
*/
|
|
899
|
-
seed?: number | undefined;
|
|
900
|
-
/**
|
|
901
|
-
* Only supported on `image` models.
|
|
902
|
-
*/
|
|
903
|
-
format?: UpdatePromptSnippetPromptSnippetsResponse200Format | undefined;
|
|
904
|
-
/**
|
|
905
|
-
* Only supported on `image` models.
|
|
906
|
-
*/
|
|
907
|
-
dimensions?: string | undefined;
|
|
908
|
-
/**
|
|
909
|
-
* Only supported on `image` models.
|
|
910
|
-
*/
|
|
911
|
-
quality?: UpdatePromptSnippetPromptSnippetsResponseQuality | undefined;
|
|
912
|
-
/**
|
|
913
|
-
* Only supported on `image` models.
|
|
914
|
-
*/
|
|
915
|
-
style?: string | undefined;
|
|
916
|
-
/**
|
|
917
|
-
* An object specifying the format that the model must output.
|
|
918
|
-
*
|
|
919
|
-
* @remarks
|
|
920
|
-
*
|
|
921
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
922
|
-
*
|
|
923
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
924
|
-
*
|
|
925
|
-
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
926
|
-
*/
|
|
927
|
-
responseFormat?: UpdatePromptSnippetResponseFormatPromptSnippetsResponse2 | UpdatePromptSnippetResponseFormatPromptSnippetsResponse1 | null | undefined;
|
|
928
|
-
/**
|
|
929
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
930
|
-
*/
|
|
931
|
-
photoRealVersion?: UpdatePromptSnippetPromptSnippetsResponsePhotoRealVersion | undefined;
|
|
932
|
-
/**
|
|
933
|
-
* The format to return the embeddings
|
|
934
|
-
*/
|
|
935
|
-
encodingFormat?: UpdatePromptSnippetPromptSnippetsResponseEncodingFormat | undefined;
|
|
936
|
-
/**
|
|
937
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
938
|
-
*/
|
|
939
|
-
reasoningEffort?: UpdatePromptSnippetPromptSnippetsResponseReasoningEffort | undefined;
|
|
940
|
-
};
|
|
941
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseProvider: {
|
|
942
|
-
readonly Cohere: "cohere";
|
|
943
|
-
readonly Openai: "openai";
|
|
944
|
-
readonly Anthropic: "anthropic";
|
|
945
|
-
readonly Huggingface: "huggingface";
|
|
946
|
-
readonly Replicate: "replicate";
|
|
947
|
-
readonly Google: "google";
|
|
948
|
-
readonly GoogleAi: "google-ai";
|
|
949
|
-
readonly Azure: "azure";
|
|
950
|
-
readonly Aws: "aws";
|
|
951
|
-
readonly Anyscale: "anyscale";
|
|
952
|
-
readonly Perplexity: "perplexity";
|
|
953
|
-
readonly Groq: "groq";
|
|
954
|
-
readonly Fal: "fal";
|
|
955
|
-
readonly Leonardoai: "leonardoai";
|
|
956
|
-
readonly Nvidia: "nvidia";
|
|
957
|
-
readonly Jina: "jina";
|
|
958
|
-
readonly Togetherai: "togetherai";
|
|
959
|
-
readonly Elevenlabs: "elevenlabs";
|
|
960
|
-
};
|
|
961
|
-
export type UpdatePromptSnippetPromptSnippetsResponseProvider = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsResponseProvider>;
|
|
962
|
-
/**
|
|
963
|
-
* The role of the prompt message
|
|
964
|
-
*/
|
|
965
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseRole: {
|
|
966
|
-
readonly System: "system";
|
|
967
|
-
readonly Assistant: "assistant";
|
|
968
|
-
readonly User: "user";
|
|
969
|
-
readonly Exception: "exception";
|
|
970
|
-
readonly Tool: "tool";
|
|
971
|
-
readonly Prompt: "prompt";
|
|
972
|
-
readonly Correction: "correction";
|
|
973
|
-
readonly ExpectedOutput: "expected_output";
|
|
974
|
-
};
|
|
975
|
-
/**
|
|
976
|
-
* The role of the prompt message
|
|
977
|
-
*/
|
|
978
|
-
export type UpdatePromptSnippetPromptSnippetsResponseRole = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsResponseRole>;
|
|
979
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType: {
|
|
980
|
-
readonly ImageUrl: "image_url";
|
|
981
|
-
};
|
|
982
|
-
export type UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType>;
|
|
983
|
-
export type UpdatePromptSnippet2PromptSnippetsResponseImageUrl = {
|
|
984
|
-
/**
|
|
985
|
-
* The orq.ai id of the image
|
|
986
|
-
*/
|
|
987
|
-
id?: string | undefined;
|
|
988
|
-
/**
|
|
989
|
-
* Either a URL of the image or the base64 encoded data URI.
|
|
990
|
-
*/
|
|
991
|
-
url: string;
|
|
992
|
-
/**
|
|
993
|
-
* Specifies the detail level of the image. Currently only supported with OpenAI models
|
|
994
|
-
*/
|
|
995
|
-
detail?: string | undefined;
|
|
996
|
-
};
|
|
997
|
-
/**
|
|
998
|
-
* The image part of the prompt message. Only supported with vision models.
|
|
999
|
-
*/
|
|
1000
|
-
export type UpdatePromptSnippet2PromptSnippetsResponse2 = {
|
|
1001
|
-
type: UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType;
|
|
1002
|
-
imageUrl: UpdatePromptSnippet2PromptSnippetsResponseImageUrl;
|
|
1003
|
-
};
|
|
1004
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType: {
|
|
1005
|
-
readonly Text: "text";
|
|
1006
|
-
};
|
|
1007
|
-
export type UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType = ClosedEnum<typeof UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType>;
|
|
1008
|
-
/**
|
|
1009
|
-
* Text content part of a prompt message
|
|
1010
|
-
*/
|
|
1011
|
-
export type UpdatePromptSnippet2PromptSnippetsResponse1 = {
|
|
1012
|
-
type: UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType;
|
|
1013
|
-
text: string;
|
|
1014
|
-
};
|
|
1015
|
-
export type UpdatePromptSnippetContentPromptSnippetsResponse2 = UpdatePromptSnippet2PromptSnippetsResponse1 | UpdatePromptSnippet2PromptSnippetsResponse2;
|
|
1016
|
-
/**
|
|
1017
|
-
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
1018
|
-
*/
|
|
1019
|
-
export type UpdatePromptSnippetPromptSnippetsResponseContent = string | Array<UpdatePromptSnippet2PromptSnippetsResponse1 | UpdatePromptSnippet2PromptSnippetsResponse2>;
|
|
1020
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponse200Type: {
|
|
1021
|
-
readonly Function: "function";
|
|
1022
|
-
};
|
|
1023
|
-
export type UpdatePromptSnippetPromptSnippetsResponse200Type = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsResponse200Type>;
|
|
1024
|
-
export type UpdatePromptSnippetPromptSnippetsResponseFunction = {
|
|
1025
|
-
name: string;
|
|
1026
|
-
/**
|
|
1027
|
-
* JSON string arguments for the functions
|
|
1028
|
-
*/
|
|
1029
|
-
arguments: string;
|
|
1030
|
-
};
|
|
1031
|
-
export type UpdatePromptSnippetPromptSnippetsResponseToolCalls = {
|
|
1032
|
-
id?: string | undefined;
|
|
1033
|
-
index?: number | undefined;
|
|
1034
|
-
type: UpdatePromptSnippetPromptSnippetsResponse200Type;
|
|
1035
|
-
function: UpdatePromptSnippetPromptSnippetsResponseFunction;
|
|
1036
|
-
};
|
|
1037
|
-
export type UpdatePromptSnippetPromptSnippetsResponseMessages = {
|
|
1038
|
-
/**
|
|
1039
|
-
* The role of the prompt message
|
|
1040
|
-
*/
|
|
1041
|
-
role: UpdatePromptSnippetPromptSnippetsResponseRole;
|
|
1042
|
-
/**
|
|
1043
|
-
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
1044
|
-
*/
|
|
1045
|
-
content: string | Array<UpdatePromptSnippet2PromptSnippetsResponse1 | UpdatePromptSnippet2PromptSnippetsResponse2>;
|
|
1046
|
-
toolCalls?: Array<UpdatePromptSnippetPromptSnippetsResponseToolCalls> | undefined;
|
|
1047
|
-
};
|
|
1048
|
-
/**
|
|
1049
|
-
* A list of messages compatible with the openAI schema
|
|
1050
|
-
*/
|
|
1051
|
-
export type UpdatePromptSnippetPromptSnippetsResponsePromptConfig = {
|
|
1052
|
-
stream?: boolean | undefined;
|
|
1053
|
-
model?: string | undefined;
|
|
1054
|
-
/**
|
|
1055
|
-
* The id of the resource
|
|
1056
|
-
*/
|
|
1057
|
-
modelDbId?: string | undefined;
|
|
1058
|
-
/**
|
|
1059
|
-
* The type of the model
|
|
1060
|
-
*/
|
|
1061
|
-
modelType?: UpdatePromptSnippetPromptSnippetsResponseModelType | undefined;
|
|
1062
|
-
/**
|
|
1063
|
-
* Model Parameters: Not all parameters apply to every model
|
|
1064
|
-
*/
|
|
1065
|
-
modelParameters?: UpdatePromptSnippetPromptSnippetsResponseModelParameters | undefined;
|
|
1066
|
-
provider?: UpdatePromptSnippetPromptSnippetsResponseProvider | undefined;
|
|
1067
|
-
/**
|
|
1068
|
-
* The id of the resource
|
|
1069
|
-
*/
|
|
1070
|
-
integrationId?: string | null | undefined;
|
|
1071
|
-
version?: string | undefined;
|
|
1072
|
-
messages: Array<UpdatePromptSnippetPromptSnippetsResponseMessages>;
|
|
1073
|
-
};
|
|
1074
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseUseCases: {
|
|
1075
|
-
readonly Agents: "Agents";
|
|
1076
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1077
|
-
readonly APIInteraction: "API interaction";
|
|
1078
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1079
|
-
readonly Chatbots: "Chatbots";
|
|
1080
|
-
readonly Classification: "Classification";
|
|
1081
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1082
|
-
readonly CodeWriting: "Code writing";
|
|
1083
|
-
readonly DocumentsQA: "Documents QA";
|
|
1084
|
-
readonly Conversation: "Conversation";
|
|
1085
|
-
readonly Extraction: "Extraction";
|
|
1086
|
-
readonly MultiModal: "Multi-modal";
|
|
1087
|
-
readonly SelfChecking: "Self-checking";
|
|
1088
|
-
readonly Sql: "SQL";
|
|
1089
|
-
readonly Summarization: "Summarization";
|
|
1090
|
-
readonly Tagging: "Tagging";
|
|
1091
|
-
};
|
|
1092
|
-
export type UpdatePromptSnippetPromptSnippetsResponseUseCases = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsResponseUseCases>;
|
|
1093
|
-
/**
|
|
1094
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
1095
|
-
*/
|
|
1096
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseLanguage: {
|
|
1097
|
-
readonly Chinese: "Chinese";
|
|
1098
|
-
readonly Dutch: "Dutch";
|
|
1099
|
-
readonly English: "English";
|
|
1100
|
-
readonly French: "French";
|
|
1101
|
-
readonly German: "German";
|
|
1102
|
-
readonly Russian: "Russian";
|
|
1103
|
-
readonly Spanish: "Spanish";
|
|
1104
|
-
};
|
|
1105
|
-
/**
|
|
1106
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
1107
|
-
*/
|
|
1108
|
-
export type UpdatePromptSnippetPromptSnippetsResponseLanguage = ClosedEnum<typeof UpdatePromptSnippetPromptSnippetsResponseLanguage>;
|
|
1109
|
-
export type UpdatePromptSnippetPromptSnippetsResponseMetadata = {
|
|
1110
|
-
/**
|
|
1111
|
-
* A list of use cases that the prompt is meant to be used for. Use this field to categorize the prompt for your own purpose
|
|
1112
|
-
*/
|
|
1113
|
-
useCases?: Array<UpdatePromptSnippetPromptSnippetsResponseUseCases> | undefined;
|
|
1114
|
-
/**
|
|
1115
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
1116
|
-
*/
|
|
1117
|
-
language?: UpdatePromptSnippetPromptSnippetsResponseLanguage | undefined;
|
|
1118
|
-
};
|
|
1119
|
-
/**
|
|
1120
|
-
* Prompt version model returned from the API
|
|
1121
|
-
*/
|
|
1122
|
-
export type UpdatePromptSnippetVersions = {
|
|
1123
|
-
id: string;
|
|
1124
|
-
/**
|
|
1125
|
-
* The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
|
|
1126
|
-
*/
|
|
1127
|
-
description?: string | null | undefined;
|
|
1128
|
-
/**
|
|
1129
|
-
* A list of messages compatible with the openAI schema
|
|
1130
|
-
*/
|
|
1131
|
-
promptConfig: UpdatePromptSnippetPromptSnippetsResponsePromptConfig;
|
|
1132
|
-
metadata: UpdatePromptSnippetPromptSnippetsResponseMetadata;
|
|
1133
|
-
createdById: string;
|
|
1134
|
-
updatedById: string;
|
|
1135
|
-
timestamp: string;
|
|
1136
|
-
};
|
|
1137
|
-
/**
|
|
1138
|
-
* Prompt snippet model returned from the API
|
|
1139
|
-
*/
|
|
1140
|
-
export type UpdatePromptSnippetResponseBody = {
|
|
1141
|
-
id: string;
|
|
1142
|
-
owner: string | UpdatePromptSnippetOwner2;
|
|
1143
|
-
domainId: string;
|
|
1144
|
-
key: string;
|
|
1145
|
-
/**
|
|
1146
|
-
* The prompt snippet’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
|
|
1147
|
-
*/
|
|
1148
|
-
description?: string | null | undefined;
|
|
1149
|
-
/**
|
|
1150
|
-
* A list of messages compatible with the openAI schema
|
|
1151
|
-
*/
|
|
1152
|
-
promptConfig: UpdatePromptSnippetPromptSnippetsPromptConfig;
|
|
1153
|
-
metadata: UpdatePromptSnippetPromptSnippetsMetadata;
|
|
1154
|
-
createdById: string;
|
|
1155
|
-
updatedById: string;
|
|
1156
|
-
/**
|
|
1157
|
-
* The date and time the resource was created
|
|
1158
|
-
*/
|
|
1159
|
-
created?: Date | undefined;
|
|
1160
|
-
/**
|
|
1161
|
-
* The date and time the resource was last updated
|
|
1162
|
-
*/
|
|
1163
|
-
updated?: Date | undefined;
|
|
1164
|
-
type: UpdatePromptSnippetPromptSnippetsType;
|
|
1165
|
-
versions: Array<UpdatePromptSnippetVersions>;
|
|
1166
|
-
};
|
|
1167
|
-
/** @internal */
|
|
1168
|
-
export declare const UpdatePromptSnippetModelType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetModelType>;
|
|
1169
|
-
/** @internal */
|
|
1170
|
-
export declare const UpdatePromptSnippetModelType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetModelType>;
|
|
1171
|
-
/**
|
|
1172
|
-
* @internal
|
|
1173
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1174
|
-
*/
|
|
1175
|
-
export declare namespace UpdatePromptSnippetModelType$ {
|
|
1176
|
-
/** @deprecated use `UpdatePromptSnippetModelType$inboundSchema` instead. */
|
|
1177
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1178
|
-
readonly Chat: "chat";
|
|
1179
|
-
readonly Completion: "completion";
|
|
1180
|
-
readonly Embedding: "embedding";
|
|
1181
|
-
readonly Vision: "vision";
|
|
1182
|
-
readonly Image: "image";
|
|
1183
|
-
readonly Tts: "tts";
|
|
1184
|
-
readonly Stt: "stt";
|
|
1185
|
-
readonly Rerank: "rerank";
|
|
1186
|
-
readonly Moderations: "moderations";
|
|
1187
|
-
}>;
|
|
1188
|
-
/** @deprecated use `UpdatePromptSnippetModelType$outboundSchema` instead. */
|
|
1189
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1190
|
-
readonly Chat: "chat";
|
|
1191
|
-
readonly Completion: "completion";
|
|
1192
|
-
readonly Embedding: "embedding";
|
|
1193
|
-
readonly Vision: "vision";
|
|
1194
|
-
readonly Image: "image";
|
|
1195
|
-
readonly Tts: "tts";
|
|
1196
|
-
readonly Stt: "stt";
|
|
1197
|
-
readonly Rerank: "rerank";
|
|
1198
|
-
readonly Moderations: "moderations";
|
|
1199
|
-
}>;
|
|
1200
|
-
}
|
|
1201
|
-
/** @internal */
|
|
1202
|
-
export declare const UpdatePromptSnippetFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetFormat>;
|
|
1203
|
-
/** @internal */
|
|
1204
|
-
export declare const UpdatePromptSnippetFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetFormat>;
|
|
1205
|
-
/**
|
|
1206
|
-
* @internal
|
|
1207
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1208
|
-
*/
|
|
1209
|
-
export declare namespace UpdatePromptSnippetFormat$ {
|
|
1210
|
-
/** @deprecated use `UpdatePromptSnippetFormat$inboundSchema` instead. */
|
|
1211
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1212
|
-
readonly Url: "url";
|
|
1213
|
-
readonly B64Json: "b64_json";
|
|
1214
|
-
readonly Text: "text";
|
|
1215
|
-
readonly JsonObject: "json_object";
|
|
1216
|
-
}>;
|
|
1217
|
-
/** @deprecated use `UpdatePromptSnippetFormat$outboundSchema` instead. */
|
|
1218
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1219
|
-
readonly Url: "url";
|
|
1220
|
-
readonly B64Json: "b64_json";
|
|
1221
|
-
readonly Text: "text";
|
|
1222
|
-
readonly JsonObject: "json_object";
|
|
1223
|
-
}>;
|
|
1224
|
-
}
|
|
1225
|
-
/** @internal */
|
|
1226
|
-
export declare const UpdatePromptSnippetQuality$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetQuality>;
|
|
1227
|
-
/** @internal */
|
|
1228
|
-
export declare const UpdatePromptSnippetQuality$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetQuality>;
|
|
1229
|
-
/**
|
|
1230
|
-
* @internal
|
|
1231
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1232
|
-
*/
|
|
1233
|
-
export declare namespace UpdatePromptSnippetQuality$ {
|
|
1234
|
-
/** @deprecated use `UpdatePromptSnippetQuality$inboundSchema` instead. */
|
|
1235
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1236
|
-
readonly Standard: "standard";
|
|
1237
|
-
readonly Hd: "hd";
|
|
1238
|
-
}>;
|
|
1239
|
-
/** @deprecated use `UpdatePromptSnippetQuality$outboundSchema` instead. */
|
|
1240
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1241
|
-
readonly Standard: "standard";
|
|
1242
|
-
readonly Hd: "hd";
|
|
1243
|
-
}>;
|
|
1244
|
-
}
|
|
1245
|
-
/** @internal */
|
|
1246
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsType>;
|
|
1247
|
-
/** @internal */
|
|
1248
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsType>;
|
|
1249
|
-
/**
|
|
1250
|
-
* @internal
|
|
1251
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1252
|
-
*/
|
|
1253
|
-
export declare namespace UpdatePromptSnippetResponseFormatPromptSnippetsType$ {
|
|
1254
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsType$inboundSchema` instead. */
|
|
1255
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1256
|
-
readonly JsonObject: "json_object";
|
|
1257
|
-
}>;
|
|
1258
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsType$outboundSchema` instead. */
|
|
1259
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1260
|
-
readonly JsonObject: "json_object";
|
|
1261
|
-
}>;
|
|
1262
|
-
}
|
|
1263
|
-
/** @internal */
|
|
1264
|
-
export declare const UpdatePromptSnippetResponseFormat2$inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormat2, z.ZodTypeDef, unknown>;
|
|
1265
|
-
/** @internal */
|
|
1266
|
-
export type UpdatePromptSnippetResponseFormat2$Outbound = {
|
|
1267
|
-
type: string;
|
|
1268
|
-
};
|
|
1269
|
-
/** @internal */
|
|
1270
|
-
export declare const UpdatePromptSnippetResponseFormat2$outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormat2>;
|
|
1271
|
-
/**
|
|
1272
|
-
* @internal
|
|
1273
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1274
|
-
*/
|
|
1275
|
-
export declare namespace UpdatePromptSnippetResponseFormat2$ {
|
|
1276
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormat2$inboundSchema` instead. */
|
|
1277
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormat2, z.ZodTypeDef, unknown>;
|
|
1278
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormat2$outboundSchema` instead. */
|
|
1279
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormat2>;
|
|
1280
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormat2$Outbound` instead. */
|
|
1281
|
-
type Outbound = UpdatePromptSnippetResponseFormat2$Outbound;
|
|
1282
|
-
}
|
|
1283
|
-
export declare function updatePromptSnippetResponseFormat2ToJSON(updatePromptSnippetResponseFormat2: UpdatePromptSnippetResponseFormat2): string;
|
|
1284
|
-
export declare function updatePromptSnippetResponseFormat2FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetResponseFormat2, SDKValidationError>;
|
|
1285
|
-
/** @internal */
|
|
1286
|
-
export declare const UpdatePromptSnippetResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetResponseFormatType>;
|
|
1287
|
-
/** @internal */
|
|
1288
|
-
export declare const UpdatePromptSnippetResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetResponseFormatType>;
|
|
1289
|
-
/**
|
|
1290
|
-
* @internal
|
|
1291
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1292
|
-
*/
|
|
1293
|
-
export declare namespace UpdatePromptSnippetResponseFormatType$ {
|
|
1294
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatType$inboundSchema` instead. */
|
|
1295
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1296
|
-
readonly JsonSchema: "json_schema";
|
|
1297
|
-
}>;
|
|
1298
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatType$outboundSchema` instead. */
|
|
1299
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1300
|
-
readonly JsonSchema: "json_schema";
|
|
1301
|
-
}>;
|
|
1302
|
-
}
|
|
1303
|
-
/** @internal */
|
|
1304
|
-
export declare const ResponseFormatJsonSchema$inboundSchema: z.ZodType<ResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
1305
|
-
/** @internal */
|
|
1306
|
-
export type ResponseFormatJsonSchema$Outbound = {
|
|
1307
|
-
name: string;
|
|
1308
|
-
strict: boolean;
|
|
1309
|
-
schema: {
|
|
1310
|
-
[k: string]: any;
|
|
1311
|
-
};
|
|
1312
|
-
};
|
|
1313
|
-
/** @internal */
|
|
1314
|
-
export declare const ResponseFormatJsonSchema$outboundSchema: z.ZodType<ResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ResponseFormatJsonSchema>;
|
|
1315
|
-
/**
|
|
1316
|
-
* @internal
|
|
1317
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1318
|
-
*/
|
|
1319
|
-
export declare namespace ResponseFormatJsonSchema$ {
|
|
1320
|
-
/** @deprecated use `ResponseFormatJsonSchema$inboundSchema` instead. */
|
|
1321
|
-
const inboundSchema: z.ZodType<ResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
1322
|
-
/** @deprecated use `ResponseFormatJsonSchema$outboundSchema` instead. */
|
|
1323
|
-
const outboundSchema: z.ZodType<ResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ResponseFormatJsonSchema>;
|
|
1324
|
-
/** @deprecated use `ResponseFormatJsonSchema$Outbound` instead. */
|
|
1325
|
-
type Outbound = ResponseFormatJsonSchema$Outbound;
|
|
1326
|
-
}
|
|
1327
|
-
export declare function responseFormatJsonSchemaToJSON(responseFormatJsonSchema: ResponseFormatJsonSchema): string;
|
|
1328
|
-
export declare function responseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<ResponseFormatJsonSchema, SDKValidationError>;
|
|
1329
|
-
/** @internal */
|
|
1330
|
-
export declare const UpdatePromptSnippetResponseFormat1$inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1331
|
-
/** @internal */
|
|
1332
|
-
export type UpdatePromptSnippetResponseFormat1$Outbound = {
|
|
1333
|
-
type: string;
|
|
1334
|
-
json_schema: ResponseFormatJsonSchema$Outbound;
|
|
1335
|
-
};
|
|
1336
|
-
/** @internal */
|
|
1337
|
-
export declare const UpdatePromptSnippetResponseFormat1$outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormat1>;
|
|
1338
|
-
/**
|
|
1339
|
-
* @internal
|
|
1340
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1341
|
-
*/
|
|
1342
|
-
export declare namespace UpdatePromptSnippetResponseFormat1$ {
|
|
1343
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormat1$inboundSchema` instead. */
|
|
1344
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1345
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormat1$outboundSchema` instead. */
|
|
1346
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormat1>;
|
|
1347
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormat1$Outbound` instead. */
|
|
1348
|
-
type Outbound = UpdatePromptSnippetResponseFormat1$Outbound;
|
|
1349
|
-
}
|
|
1350
|
-
export declare function updatePromptSnippetResponseFormat1ToJSON(updatePromptSnippetResponseFormat1: UpdatePromptSnippetResponseFormat1): string;
|
|
1351
|
-
export declare function updatePromptSnippetResponseFormat1FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetResponseFormat1, SDKValidationError>;
|
|
1352
|
-
/** @internal */
|
|
1353
|
-
export declare const UpdatePromptSnippetResponseFormat$inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormat, z.ZodTypeDef, unknown>;
|
|
1354
|
-
/** @internal */
|
|
1355
|
-
export type UpdatePromptSnippetResponseFormat$Outbound = UpdatePromptSnippetResponseFormat2$Outbound | UpdatePromptSnippetResponseFormat1$Outbound;
|
|
1356
|
-
/** @internal */
|
|
1357
|
-
export declare const UpdatePromptSnippetResponseFormat$outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormat>;
|
|
1358
|
-
/**
|
|
1359
|
-
* @internal
|
|
1360
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1361
|
-
*/
|
|
1362
|
-
export declare namespace UpdatePromptSnippetResponseFormat$ {
|
|
1363
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormat$inboundSchema` instead. */
|
|
1364
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormat, z.ZodTypeDef, unknown>;
|
|
1365
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormat$outboundSchema` instead. */
|
|
1366
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormat>;
|
|
1367
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormat$Outbound` instead. */
|
|
1368
|
-
type Outbound = UpdatePromptSnippetResponseFormat$Outbound;
|
|
1369
|
-
}
|
|
1370
|
-
export declare function updatePromptSnippetResponseFormatToJSON(updatePromptSnippetResponseFormat: UpdatePromptSnippetResponseFormat): string;
|
|
1371
|
-
export declare function updatePromptSnippetResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetResponseFormat, SDKValidationError>;
|
|
1372
|
-
/** @internal */
|
|
1373
|
-
export declare const UpdatePromptSnippetPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPhotoRealVersion>;
|
|
1374
|
-
/** @internal */
|
|
1375
|
-
export declare const UpdatePromptSnippetPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPhotoRealVersion>;
|
|
1376
|
-
/**
|
|
1377
|
-
* @internal
|
|
1378
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1379
|
-
*/
|
|
1380
|
-
export declare namespace UpdatePromptSnippetPhotoRealVersion$ {
|
|
1381
|
-
/** @deprecated use `UpdatePromptSnippetPhotoRealVersion$inboundSchema` instead. */
|
|
1382
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1383
|
-
readonly V1: "v1";
|
|
1384
|
-
readonly V2: "v2";
|
|
1385
|
-
}>;
|
|
1386
|
-
/** @deprecated use `UpdatePromptSnippetPhotoRealVersion$outboundSchema` instead. */
|
|
1387
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1388
|
-
readonly V1: "v1";
|
|
1389
|
-
readonly V2: "v2";
|
|
1390
|
-
}>;
|
|
1391
|
-
}
|
|
1392
|
-
/** @internal */
|
|
1393
|
-
export declare const UpdatePromptSnippetEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetEncodingFormat>;
|
|
1394
|
-
/** @internal */
|
|
1395
|
-
export declare const UpdatePromptSnippetEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetEncodingFormat>;
|
|
1396
|
-
/**
|
|
1397
|
-
* @internal
|
|
1398
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1399
|
-
*/
|
|
1400
|
-
export declare namespace UpdatePromptSnippetEncodingFormat$ {
|
|
1401
|
-
/** @deprecated use `UpdatePromptSnippetEncodingFormat$inboundSchema` instead. */
|
|
1402
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1403
|
-
readonly Float: "float";
|
|
1404
|
-
readonly Base64: "base64";
|
|
1405
|
-
}>;
|
|
1406
|
-
/** @deprecated use `UpdatePromptSnippetEncodingFormat$outboundSchema` instead. */
|
|
1407
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1408
|
-
readonly Float: "float";
|
|
1409
|
-
readonly Base64: "base64";
|
|
1410
|
-
}>;
|
|
1411
|
-
}
|
|
1412
|
-
/** @internal */
|
|
1413
|
-
export declare const UpdatePromptSnippetReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetReasoningEffort>;
|
|
1414
|
-
/** @internal */
|
|
1415
|
-
export declare const UpdatePromptSnippetReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetReasoningEffort>;
|
|
1416
|
-
/**
|
|
1417
|
-
* @internal
|
|
1418
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1419
|
-
*/
|
|
1420
|
-
export declare namespace UpdatePromptSnippetReasoningEffort$ {
|
|
1421
|
-
/** @deprecated use `UpdatePromptSnippetReasoningEffort$inboundSchema` instead. */
|
|
1422
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1423
|
-
readonly Low: "low";
|
|
1424
|
-
readonly Medium: "medium";
|
|
1425
|
-
readonly High: "high";
|
|
1426
|
-
}>;
|
|
1427
|
-
/** @deprecated use `UpdatePromptSnippetReasoningEffort$outboundSchema` instead. */
|
|
1428
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1429
|
-
readonly Low: "low";
|
|
1430
|
-
readonly Medium: "medium";
|
|
1431
|
-
readonly High: "high";
|
|
1432
|
-
}>;
|
|
1433
|
-
}
|
|
1434
|
-
/** @internal */
|
|
1435
|
-
export declare const UpdatePromptSnippetModelParameters$inboundSchema: z.ZodType<UpdatePromptSnippetModelParameters, z.ZodTypeDef, unknown>;
|
|
1436
|
-
/** @internal */
|
|
1437
|
-
export type UpdatePromptSnippetModelParameters$Outbound = {
|
|
1438
|
-
temperature?: number | undefined;
|
|
1439
|
-
maxTokens?: number | undefined;
|
|
1440
|
-
topK?: number | undefined;
|
|
1441
|
-
topP?: number | undefined;
|
|
1442
|
-
frequencyPenalty?: number | undefined;
|
|
1443
|
-
presencePenalty?: number | undefined;
|
|
1444
|
-
numImages?: number | undefined;
|
|
1445
|
-
seed?: number | undefined;
|
|
1446
|
-
format?: string | undefined;
|
|
1447
|
-
dimensions?: string | undefined;
|
|
1448
|
-
quality?: string | undefined;
|
|
1449
|
-
style?: string | undefined;
|
|
1450
|
-
responseFormat?: UpdatePromptSnippetResponseFormat2$Outbound | UpdatePromptSnippetResponseFormat1$Outbound | null | undefined;
|
|
1451
|
-
photoRealVersion?: string | undefined;
|
|
1452
|
-
encoding_format?: string | undefined;
|
|
1453
|
-
reasoningEffort?: string | undefined;
|
|
1454
|
-
};
|
|
1455
|
-
/** @internal */
|
|
1456
|
-
export declare const UpdatePromptSnippetModelParameters$outboundSchema: z.ZodType<UpdatePromptSnippetModelParameters$Outbound, z.ZodTypeDef, UpdatePromptSnippetModelParameters>;
|
|
1457
|
-
/**
|
|
1458
|
-
* @internal
|
|
1459
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1460
|
-
*/
|
|
1461
|
-
export declare namespace UpdatePromptSnippetModelParameters$ {
|
|
1462
|
-
/** @deprecated use `UpdatePromptSnippetModelParameters$inboundSchema` instead. */
|
|
1463
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetModelParameters, z.ZodTypeDef, unknown>;
|
|
1464
|
-
/** @deprecated use `UpdatePromptSnippetModelParameters$outboundSchema` instead. */
|
|
1465
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetModelParameters$Outbound, z.ZodTypeDef, UpdatePromptSnippetModelParameters>;
|
|
1466
|
-
/** @deprecated use `UpdatePromptSnippetModelParameters$Outbound` instead. */
|
|
1467
|
-
type Outbound = UpdatePromptSnippetModelParameters$Outbound;
|
|
1468
|
-
}
|
|
1469
|
-
export declare function updatePromptSnippetModelParametersToJSON(updatePromptSnippetModelParameters: UpdatePromptSnippetModelParameters): string;
|
|
1470
|
-
export declare function updatePromptSnippetModelParametersFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetModelParameters, SDKValidationError>;
|
|
1471
|
-
/** @internal */
|
|
1472
|
-
export declare const UpdatePromptSnippetProvider$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetProvider>;
|
|
1473
|
-
/** @internal */
|
|
1474
|
-
export declare const UpdatePromptSnippetProvider$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetProvider>;
|
|
1475
|
-
/**
|
|
1476
|
-
* @internal
|
|
1477
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1478
|
-
*/
|
|
1479
|
-
export declare namespace UpdatePromptSnippetProvider$ {
|
|
1480
|
-
/** @deprecated use `UpdatePromptSnippetProvider$inboundSchema` instead. */
|
|
1481
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1482
|
-
readonly Cohere: "cohere";
|
|
1483
|
-
readonly Openai: "openai";
|
|
1484
|
-
readonly Anthropic: "anthropic";
|
|
1485
|
-
readonly Huggingface: "huggingface";
|
|
1486
|
-
readonly Replicate: "replicate";
|
|
1487
|
-
readonly Google: "google";
|
|
1488
|
-
readonly GoogleAi: "google-ai";
|
|
1489
|
-
readonly Azure: "azure";
|
|
1490
|
-
readonly Aws: "aws";
|
|
1491
|
-
readonly Anyscale: "anyscale";
|
|
1492
|
-
readonly Perplexity: "perplexity";
|
|
1493
|
-
readonly Groq: "groq";
|
|
1494
|
-
readonly Fal: "fal";
|
|
1495
|
-
readonly Leonardoai: "leonardoai";
|
|
1496
|
-
readonly Nvidia: "nvidia";
|
|
1497
|
-
readonly Jina: "jina";
|
|
1498
|
-
readonly Togetherai: "togetherai";
|
|
1499
|
-
readonly Elevenlabs: "elevenlabs";
|
|
1500
|
-
}>;
|
|
1501
|
-
/** @deprecated use `UpdatePromptSnippetProvider$outboundSchema` instead. */
|
|
1502
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1503
|
-
readonly Cohere: "cohere";
|
|
1504
|
-
readonly Openai: "openai";
|
|
1505
|
-
readonly Anthropic: "anthropic";
|
|
1506
|
-
readonly Huggingface: "huggingface";
|
|
1507
|
-
readonly Replicate: "replicate";
|
|
1508
|
-
readonly Google: "google";
|
|
1509
|
-
readonly GoogleAi: "google-ai";
|
|
1510
|
-
readonly Azure: "azure";
|
|
1511
|
-
readonly Aws: "aws";
|
|
1512
|
-
readonly Anyscale: "anyscale";
|
|
1513
|
-
readonly Perplexity: "perplexity";
|
|
1514
|
-
readonly Groq: "groq";
|
|
1515
|
-
readonly Fal: "fal";
|
|
1516
|
-
readonly Leonardoai: "leonardoai";
|
|
1517
|
-
readonly Nvidia: "nvidia";
|
|
1518
|
-
readonly Jina: "jina";
|
|
1519
|
-
readonly Togetherai: "togetherai";
|
|
1520
|
-
readonly Elevenlabs: "elevenlabs";
|
|
1521
|
-
}>;
|
|
1522
|
-
}
|
|
1523
|
-
/** @internal */
|
|
1524
|
-
export declare const UpdatePromptSnippetRole$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetRole>;
|
|
1525
|
-
/** @internal */
|
|
1526
|
-
export declare const UpdatePromptSnippetRole$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetRole>;
|
|
1527
|
-
/**
|
|
1528
|
-
* @internal
|
|
1529
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1530
|
-
*/
|
|
1531
|
-
export declare namespace UpdatePromptSnippetRole$ {
|
|
1532
|
-
/** @deprecated use `UpdatePromptSnippetRole$inboundSchema` instead. */
|
|
1533
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1534
|
-
readonly System: "system";
|
|
1535
|
-
readonly Assistant: "assistant";
|
|
1536
|
-
readonly User: "user";
|
|
1537
|
-
readonly Exception: "exception";
|
|
1538
|
-
readonly Tool: "tool";
|
|
1539
|
-
readonly Prompt: "prompt";
|
|
1540
|
-
readonly Correction: "correction";
|
|
1541
|
-
readonly ExpectedOutput: "expected_output";
|
|
1542
|
-
}>;
|
|
1543
|
-
/** @deprecated use `UpdatePromptSnippetRole$outboundSchema` instead. */
|
|
1544
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1545
|
-
readonly System: "system";
|
|
1546
|
-
readonly Assistant: "assistant";
|
|
1547
|
-
readonly User: "user";
|
|
1548
|
-
readonly Exception: "exception";
|
|
1549
|
-
readonly Tool: "tool";
|
|
1550
|
-
readonly Prompt: "prompt";
|
|
1551
|
-
readonly Correction: "correction";
|
|
1552
|
-
readonly ExpectedOutput: "expected_output";
|
|
1553
|
-
}>;
|
|
1554
|
-
}
|
|
1555
|
-
/** @internal */
|
|
1556
|
-
export declare const UpdatePromptSnippet2PromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippet2PromptSnippetsType>;
|
|
1557
|
-
/** @internal */
|
|
1558
|
-
export declare const UpdatePromptSnippet2PromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippet2PromptSnippetsType>;
|
|
1559
|
-
/**
|
|
1560
|
-
* @internal
|
|
1561
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1562
|
-
*/
|
|
1563
|
-
export declare namespace UpdatePromptSnippet2PromptSnippetsType$ {
|
|
1564
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsType$inboundSchema` instead. */
|
|
1565
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1566
|
-
readonly ImageUrl: "image_url";
|
|
1567
|
-
}>;
|
|
1568
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsType$outboundSchema` instead. */
|
|
1569
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1570
|
-
readonly ImageUrl: "image_url";
|
|
1571
|
-
}>;
|
|
1572
|
-
}
|
|
1573
|
-
/** @internal */
|
|
1574
|
-
export declare const UpdatePromptSnippet2ImageUrl$inboundSchema: z.ZodType<UpdatePromptSnippet2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1575
|
-
/** @internal */
|
|
1576
|
-
export type UpdatePromptSnippet2ImageUrl$Outbound = {
|
|
1577
|
-
url: string;
|
|
1578
|
-
detail?: string | undefined;
|
|
1579
|
-
};
|
|
1580
|
-
/** @internal */
|
|
1581
|
-
export declare const UpdatePromptSnippet2ImageUrl$outboundSchema: z.ZodType<UpdatePromptSnippet2ImageUrl$Outbound, z.ZodTypeDef, UpdatePromptSnippet2ImageUrl>;
|
|
1582
|
-
/**
|
|
1583
|
-
* @internal
|
|
1584
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1585
|
-
*/
|
|
1586
|
-
export declare namespace UpdatePromptSnippet2ImageUrl$ {
|
|
1587
|
-
/** @deprecated use `UpdatePromptSnippet2ImageUrl$inboundSchema` instead. */
|
|
1588
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippet2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1589
|
-
/** @deprecated use `UpdatePromptSnippet2ImageUrl$outboundSchema` instead. */
|
|
1590
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippet2ImageUrl$Outbound, z.ZodTypeDef, UpdatePromptSnippet2ImageUrl>;
|
|
1591
|
-
/** @deprecated use `UpdatePromptSnippet2ImageUrl$Outbound` instead. */
|
|
1592
|
-
type Outbound = UpdatePromptSnippet2ImageUrl$Outbound;
|
|
1593
|
-
}
|
|
1594
|
-
export declare function updatePromptSnippet2ImageUrlToJSON(updatePromptSnippet2ImageUrl: UpdatePromptSnippet2ImageUrl): string;
|
|
1595
|
-
export declare function updatePromptSnippet2ImageUrlFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippet2ImageUrl, SDKValidationError>;
|
|
1596
|
-
/** @internal */
|
|
1597
|
-
export declare const UpdatePromptSnippet22$inboundSchema: z.ZodType<UpdatePromptSnippet22, z.ZodTypeDef, unknown>;
|
|
1598
|
-
/** @internal */
|
|
1599
|
-
export type UpdatePromptSnippet22$Outbound = {
|
|
1600
|
-
type: string;
|
|
1601
|
-
image_url: UpdatePromptSnippet2ImageUrl$Outbound;
|
|
1602
|
-
};
|
|
1603
|
-
/** @internal */
|
|
1604
|
-
export declare const UpdatePromptSnippet22$outboundSchema: z.ZodType<UpdatePromptSnippet22$Outbound, z.ZodTypeDef, UpdatePromptSnippet22>;
|
|
1605
|
-
/**
|
|
1606
|
-
* @internal
|
|
1607
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1608
|
-
*/
|
|
1609
|
-
export declare namespace UpdatePromptSnippet22$ {
|
|
1610
|
-
/** @deprecated use `UpdatePromptSnippet22$inboundSchema` instead. */
|
|
1611
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippet22, z.ZodTypeDef, unknown>;
|
|
1612
|
-
/** @deprecated use `UpdatePromptSnippet22$outboundSchema` instead. */
|
|
1613
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippet22$Outbound, z.ZodTypeDef, UpdatePromptSnippet22>;
|
|
1614
|
-
/** @deprecated use `UpdatePromptSnippet22$Outbound` instead. */
|
|
1615
|
-
type Outbound = UpdatePromptSnippet22$Outbound;
|
|
1616
|
-
}
|
|
1617
|
-
export declare function updatePromptSnippet22ToJSON(updatePromptSnippet22: UpdatePromptSnippet22): string;
|
|
1618
|
-
export declare function updatePromptSnippet22FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippet22, SDKValidationError>;
|
|
1619
|
-
/** @internal */
|
|
1620
|
-
export declare const UpdatePromptSnippet2Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippet2Type>;
|
|
1621
|
-
/** @internal */
|
|
1622
|
-
export declare const UpdatePromptSnippet2Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippet2Type>;
|
|
1623
|
-
/**
|
|
1624
|
-
* @internal
|
|
1625
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1626
|
-
*/
|
|
1627
|
-
export declare namespace UpdatePromptSnippet2Type$ {
|
|
1628
|
-
/** @deprecated use `UpdatePromptSnippet2Type$inboundSchema` instead. */
|
|
1629
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1630
|
-
readonly Text: "text";
|
|
1631
|
-
}>;
|
|
1632
|
-
/** @deprecated use `UpdatePromptSnippet2Type$outboundSchema` instead. */
|
|
1633
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1634
|
-
readonly Text: "text";
|
|
1635
|
-
}>;
|
|
1636
|
-
}
|
|
1637
|
-
/** @internal */
|
|
1638
|
-
export declare const UpdatePromptSnippet21$inboundSchema: z.ZodType<UpdatePromptSnippet21, z.ZodTypeDef, unknown>;
|
|
1639
|
-
/** @internal */
|
|
1640
|
-
export type UpdatePromptSnippet21$Outbound = {
|
|
1641
|
-
type: string;
|
|
1642
|
-
text: string;
|
|
1643
|
-
};
|
|
1644
|
-
/** @internal */
|
|
1645
|
-
export declare const UpdatePromptSnippet21$outboundSchema: z.ZodType<UpdatePromptSnippet21$Outbound, z.ZodTypeDef, UpdatePromptSnippet21>;
|
|
1646
|
-
/**
|
|
1647
|
-
* @internal
|
|
1648
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1649
|
-
*/
|
|
1650
|
-
export declare namespace UpdatePromptSnippet21$ {
|
|
1651
|
-
/** @deprecated use `UpdatePromptSnippet21$inboundSchema` instead. */
|
|
1652
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippet21, z.ZodTypeDef, unknown>;
|
|
1653
|
-
/** @deprecated use `UpdatePromptSnippet21$outboundSchema` instead. */
|
|
1654
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippet21$Outbound, z.ZodTypeDef, UpdatePromptSnippet21>;
|
|
1655
|
-
/** @deprecated use `UpdatePromptSnippet21$Outbound` instead. */
|
|
1656
|
-
type Outbound = UpdatePromptSnippet21$Outbound;
|
|
1657
|
-
}
|
|
1658
|
-
export declare function updatePromptSnippet21ToJSON(updatePromptSnippet21: UpdatePromptSnippet21): string;
|
|
1659
|
-
export declare function updatePromptSnippet21FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippet21, SDKValidationError>;
|
|
1660
|
-
/** @internal */
|
|
1661
|
-
export declare const UpdatePromptSnippetContent2$inboundSchema: z.ZodType<UpdatePromptSnippetContent2, z.ZodTypeDef, unknown>;
|
|
1662
|
-
/** @internal */
|
|
1663
|
-
export type UpdatePromptSnippetContent2$Outbound = UpdatePromptSnippet21$Outbound | UpdatePromptSnippet22$Outbound;
|
|
1664
|
-
/** @internal */
|
|
1665
|
-
export declare const UpdatePromptSnippetContent2$outboundSchema: z.ZodType<UpdatePromptSnippetContent2$Outbound, z.ZodTypeDef, UpdatePromptSnippetContent2>;
|
|
1666
|
-
/**
|
|
1667
|
-
* @internal
|
|
1668
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1669
|
-
*/
|
|
1670
|
-
export declare namespace UpdatePromptSnippetContent2$ {
|
|
1671
|
-
/** @deprecated use `UpdatePromptSnippetContent2$inboundSchema` instead. */
|
|
1672
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetContent2, z.ZodTypeDef, unknown>;
|
|
1673
|
-
/** @deprecated use `UpdatePromptSnippetContent2$outboundSchema` instead. */
|
|
1674
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetContent2$Outbound, z.ZodTypeDef, UpdatePromptSnippetContent2>;
|
|
1675
|
-
/** @deprecated use `UpdatePromptSnippetContent2$Outbound` instead. */
|
|
1676
|
-
type Outbound = UpdatePromptSnippetContent2$Outbound;
|
|
1677
|
-
}
|
|
1678
|
-
export declare function updatePromptSnippetContent2ToJSON(updatePromptSnippetContent2: UpdatePromptSnippetContent2): string;
|
|
1679
|
-
export declare function updatePromptSnippetContent2FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetContent2, SDKValidationError>;
|
|
1680
|
-
/** @internal */
|
|
1681
|
-
export declare const UpdatePromptSnippetContent$inboundSchema: z.ZodType<UpdatePromptSnippetContent, z.ZodTypeDef, unknown>;
|
|
1682
|
-
/** @internal */
|
|
1683
|
-
export type UpdatePromptSnippetContent$Outbound = string | Array<UpdatePromptSnippet21$Outbound | UpdatePromptSnippet22$Outbound>;
|
|
1684
|
-
/** @internal */
|
|
1685
|
-
export declare const UpdatePromptSnippetContent$outboundSchema: z.ZodType<UpdatePromptSnippetContent$Outbound, z.ZodTypeDef, UpdatePromptSnippetContent>;
|
|
1686
|
-
/**
|
|
1687
|
-
* @internal
|
|
1688
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1689
|
-
*/
|
|
1690
|
-
export declare namespace UpdatePromptSnippetContent$ {
|
|
1691
|
-
/** @deprecated use `UpdatePromptSnippetContent$inboundSchema` instead. */
|
|
1692
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetContent, z.ZodTypeDef, unknown>;
|
|
1693
|
-
/** @deprecated use `UpdatePromptSnippetContent$outboundSchema` instead. */
|
|
1694
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetContent$Outbound, z.ZodTypeDef, UpdatePromptSnippetContent>;
|
|
1695
|
-
/** @deprecated use `UpdatePromptSnippetContent$Outbound` instead. */
|
|
1696
|
-
type Outbound = UpdatePromptSnippetContent$Outbound;
|
|
1697
|
-
}
|
|
1698
|
-
export declare function updatePromptSnippetContentToJSON(updatePromptSnippetContent: UpdatePromptSnippetContent): string;
|
|
1699
|
-
export declare function updatePromptSnippetContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetContent, SDKValidationError>;
|
|
1700
|
-
/** @internal */
|
|
1701
|
-
export declare const UpdatePromptSnippetType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetType>;
|
|
1702
|
-
/** @internal */
|
|
1703
|
-
export declare const UpdatePromptSnippetType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetType>;
|
|
1704
|
-
/**
|
|
1705
|
-
* @internal
|
|
1706
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1707
|
-
*/
|
|
1708
|
-
export declare namespace UpdatePromptSnippetType$ {
|
|
1709
|
-
/** @deprecated use `UpdatePromptSnippetType$inboundSchema` instead. */
|
|
1710
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1711
|
-
readonly Function: "function";
|
|
1712
|
-
}>;
|
|
1713
|
-
/** @deprecated use `UpdatePromptSnippetType$outboundSchema` instead. */
|
|
1714
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1715
|
-
readonly Function: "function";
|
|
1716
|
-
}>;
|
|
1717
|
-
}
|
|
1718
|
-
/** @internal */
|
|
1719
|
-
export declare const UpdatePromptSnippetFunction$inboundSchema: z.ZodType<UpdatePromptSnippetFunction, z.ZodTypeDef, unknown>;
|
|
1720
|
-
/** @internal */
|
|
1721
|
-
export type UpdatePromptSnippetFunction$Outbound = {
|
|
1722
|
-
name: string;
|
|
1723
|
-
arguments: string;
|
|
1724
|
-
};
|
|
1725
|
-
/** @internal */
|
|
1726
|
-
export declare const UpdatePromptSnippetFunction$outboundSchema: z.ZodType<UpdatePromptSnippetFunction$Outbound, z.ZodTypeDef, UpdatePromptSnippetFunction>;
|
|
1727
|
-
/**
|
|
1728
|
-
* @internal
|
|
1729
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1730
|
-
*/
|
|
1731
|
-
export declare namespace UpdatePromptSnippetFunction$ {
|
|
1732
|
-
/** @deprecated use `UpdatePromptSnippetFunction$inboundSchema` instead. */
|
|
1733
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetFunction, z.ZodTypeDef, unknown>;
|
|
1734
|
-
/** @deprecated use `UpdatePromptSnippetFunction$outboundSchema` instead. */
|
|
1735
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetFunction$Outbound, z.ZodTypeDef, UpdatePromptSnippetFunction>;
|
|
1736
|
-
/** @deprecated use `UpdatePromptSnippetFunction$Outbound` instead. */
|
|
1737
|
-
type Outbound = UpdatePromptSnippetFunction$Outbound;
|
|
1738
|
-
}
|
|
1739
|
-
export declare function updatePromptSnippetFunctionToJSON(updatePromptSnippetFunction: UpdatePromptSnippetFunction): string;
|
|
1740
|
-
export declare function updatePromptSnippetFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetFunction, SDKValidationError>;
|
|
1741
|
-
/** @internal */
|
|
1742
|
-
export declare const UpdatePromptSnippetToolCalls$inboundSchema: z.ZodType<UpdatePromptSnippetToolCalls, z.ZodTypeDef, unknown>;
|
|
1743
|
-
/** @internal */
|
|
1744
|
-
export type UpdatePromptSnippetToolCalls$Outbound = {
|
|
1745
|
-
id?: string | undefined;
|
|
1746
|
-
index?: number | undefined;
|
|
1747
|
-
type: string;
|
|
1748
|
-
function: UpdatePromptSnippetFunction$Outbound;
|
|
1749
|
-
};
|
|
1750
|
-
/** @internal */
|
|
1751
|
-
export declare const UpdatePromptSnippetToolCalls$outboundSchema: z.ZodType<UpdatePromptSnippetToolCalls$Outbound, z.ZodTypeDef, UpdatePromptSnippetToolCalls>;
|
|
1752
|
-
/**
|
|
1753
|
-
* @internal
|
|
1754
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1755
|
-
*/
|
|
1756
|
-
export declare namespace UpdatePromptSnippetToolCalls$ {
|
|
1757
|
-
/** @deprecated use `UpdatePromptSnippetToolCalls$inboundSchema` instead. */
|
|
1758
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetToolCalls, z.ZodTypeDef, unknown>;
|
|
1759
|
-
/** @deprecated use `UpdatePromptSnippetToolCalls$outboundSchema` instead. */
|
|
1760
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetToolCalls$Outbound, z.ZodTypeDef, UpdatePromptSnippetToolCalls>;
|
|
1761
|
-
/** @deprecated use `UpdatePromptSnippetToolCalls$Outbound` instead. */
|
|
1762
|
-
type Outbound = UpdatePromptSnippetToolCalls$Outbound;
|
|
1763
|
-
}
|
|
1764
|
-
export declare function updatePromptSnippetToolCallsToJSON(updatePromptSnippetToolCalls: UpdatePromptSnippetToolCalls): string;
|
|
1765
|
-
export declare function updatePromptSnippetToolCallsFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetToolCalls, SDKValidationError>;
|
|
1766
|
-
/** @internal */
|
|
1767
|
-
export declare const UpdatePromptSnippetMessages$inboundSchema: z.ZodType<UpdatePromptSnippetMessages, z.ZodTypeDef, unknown>;
|
|
1768
|
-
/** @internal */
|
|
1769
|
-
export type UpdatePromptSnippetMessages$Outbound = {
|
|
1770
|
-
role: string;
|
|
1771
|
-
content: string | Array<UpdatePromptSnippet21$Outbound | UpdatePromptSnippet22$Outbound>;
|
|
1772
|
-
tool_calls?: Array<UpdatePromptSnippetToolCalls$Outbound> | undefined;
|
|
1773
|
-
};
|
|
1774
|
-
/** @internal */
|
|
1775
|
-
export declare const UpdatePromptSnippetMessages$outboundSchema: z.ZodType<UpdatePromptSnippetMessages$Outbound, z.ZodTypeDef, UpdatePromptSnippetMessages>;
|
|
1776
|
-
/**
|
|
1777
|
-
* @internal
|
|
1778
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1779
|
-
*/
|
|
1780
|
-
export declare namespace UpdatePromptSnippetMessages$ {
|
|
1781
|
-
/** @deprecated use `UpdatePromptSnippetMessages$inboundSchema` instead. */
|
|
1782
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetMessages, z.ZodTypeDef, unknown>;
|
|
1783
|
-
/** @deprecated use `UpdatePromptSnippetMessages$outboundSchema` instead. */
|
|
1784
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetMessages$Outbound, z.ZodTypeDef, UpdatePromptSnippetMessages>;
|
|
1785
|
-
/** @deprecated use `UpdatePromptSnippetMessages$Outbound` instead. */
|
|
1786
|
-
type Outbound = UpdatePromptSnippetMessages$Outbound;
|
|
1787
|
-
}
|
|
1788
|
-
export declare function updatePromptSnippetMessagesToJSON(updatePromptSnippetMessages: UpdatePromptSnippetMessages): string;
|
|
1789
|
-
export declare function updatePromptSnippetMessagesFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetMessages, SDKValidationError>;
|
|
1790
|
-
/** @internal */
|
|
1791
|
-
export declare const UpdatePromptSnippetPromptConfig$inboundSchema: z.ZodType<UpdatePromptSnippetPromptConfig, z.ZodTypeDef, unknown>;
|
|
1792
|
-
/** @internal */
|
|
1793
|
-
export type UpdatePromptSnippetPromptConfig$Outbound = {
|
|
1794
|
-
stream?: boolean | undefined;
|
|
1795
|
-
model?: string | undefined;
|
|
1796
|
-
model_type?: string | undefined;
|
|
1797
|
-
model_parameters?: UpdatePromptSnippetModelParameters$Outbound | undefined;
|
|
1798
|
-
provider?: string | undefined;
|
|
1799
|
-
version?: string | undefined;
|
|
1800
|
-
messages: Array<UpdatePromptSnippetMessages$Outbound>;
|
|
1801
|
-
};
|
|
1802
|
-
/** @internal */
|
|
1803
|
-
export declare const UpdatePromptSnippetPromptConfig$outboundSchema: z.ZodType<UpdatePromptSnippetPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptConfig>;
|
|
1804
|
-
/**
|
|
1805
|
-
* @internal
|
|
1806
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1807
|
-
*/
|
|
1808
|
-
export declare namespace UpdatePromptSnippetPromptConfig$ {
|
|
1809
|
-
/** @deprecated use `UpdatePromptSnippetPromptConfig$inboundSchema` instead. */
|
|
1810
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptConfig, z.ZodTypeDef, unknown>;
|
|
1811
|
-
/** @deprecated use `UpdatePromptSnippetPromptConfig$outboundSchema` instead. */
|
|
1812
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptConfig>;
|
|
1813
|
-
/** @deprecated use `UpdatePromptSnippetPromptConfig$Outbound` instead. */
|
|
1814
|
-
type Outbound = UpdatePromptSnippetPromptConfig$Outbound;
|
|
1815
|
-
}
|
|
1816
|
-
export declare function updatePromptSnippetPromptConfigToJSON(updatePromptSnippetPromptConfig: UpdatePromptSnippetPromptConfig): string;
|
|
1817
|
-
export declare function updatePromptSnippetPromptConfigFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptConfig, SDKValidationError>;
|
|
1818
|
-
/** @internal */
|
|
1819
|
-
export declare const UpdatePromptSnippetUseCases$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetUseCases>;
|
|
1820
|
-
/** @internal */
|
|
1821
|
-
export declare const UpdatePromptSnippetUseCases$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetUseCases>;
|
|
1822
|
-
/**
|
|
1823
|
-
* @internal
|
|
1824
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1825
|
-
*/
|
|
1826
|
-
export declare namespace UpdatePromptSnippetUseCases$ {
|
|
1827
|
-
/** @deprecated use `UpdatePromptSnippetUseCases$inboundSchema` instead. */
|
|
1828
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1829
|
-
readonly Agents: "Agents";
|
|
1830
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1831
|
-
readonly APIInteraction: "API interaction";
|
|
1832
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1833
|
-
readonly Chatbots: "Chatbots";
|
|
1834
|
-
readonly Classification: "Classification";
|
|
1835
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1836
|
-
readonly CodeWriting: "Code writing";
|
|
1837
|
-
readonly DocumentsQA: "Documents QA";
|
|
1838
|
-
readonly Conversation: "Conversation";
|
|
1839
|
-
readonly Extraction: "Extraction";
|
|
1840
|
-
readonly MultiModal: "Multi-modal";
|
|
1841
|
-
readonly SelfChecking: "Self-checking";
|
|
1842
|
-
readonly Sql: "SQL";
|
|
1843
|
-
readonly Summarization: "Summarization";
|
|
1844
|
-
readonly Tagging: "Tagging";
|
|
1845
|
-
}>;
|
|
1846
|
-
/** @deprecated use `UpdatePromptSnippetUseCases$outboundSchema` instead. */
|
|
1847
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1848
|
-
readonly Agents: "Agents";
|
|
1849
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1850
|
-
readonly APIInteraction: "API interaction";
|
|
1851
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1852
|
-
readonly Chatbots: "Chatbots";
|
|
1853
|
-
readonly Classification: "Classification";
|
|
1854
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1855
|
-
readonly CodeWriting: "Code writing";
|
|
1856
|
-
readonly DocumentsQA: "Documents QA";
|
|
1857
|
-
readonly Conversation: "Conversation";
|
|
1858
|
-
readonly Extraction: "Extraction";
|
|
1859
|
-
readonly MultiModal: "Multi-modal";
|
|
1860
|
-
readonly SelfChecking: "Self-checking";
|
|
1861
|
-
readonly Sql: "SQL";
|
|
1862
|
-
readonly Summarization: "Summarization";
|
|
1863
|
-
readonly Tagging: "Tagging";
|
|
1864
|
-
}>;
|
|
1865
|
-
}
|
|
1866
|
-
/** @internal */
|
|
1867
|
-
export declare const UpdatePromptSnippetLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetLanguage>;
|
|
1868
|
-
/** @internal */
|
|
1869
|
-
export declare const UpdatePromptSnippetLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetLanguage>;
|
|
1870
|
-
/**
|
|
1871
|
-
* @internal
|
|
1872
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1873
|
-
*/
|
|
1874
|
-
export declare namespace UpdatePromptSnippetLanguage$ {
|
|
1875
|
-
/** @deprecated use `UpdatePromptSnippetLanguage$inboundSchema` instead. */
|
|
1876
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1877
|
-
readonly Chinese: "Chinese";
|
|
1878
|
-
readonly Dutch: "Dutch";
|
|
1879
|
-
readonly English: "English";
|
|
1880
|
-
readonly French: "French";
|
|
1881
|
-
readonly German: "German";
|
|
1882
|
-
readonly Russian: "Russian";
|
|
1883
|
-
readonly Spanish: "Spanish";
|
|
1884
|
-
}>;
|
|
1885
|
-
/** @deprecated use `UpdatePromptSnippetLanguage$outboundSchema` instead. */
|
|
1886
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1887
|
-
readonly Chinese: "Chinese";
|
|
1888
|
-
readonly Dutch: "Dutch";
|
|
1889
|
-
readonly English: "English";
|
|
1890
|
-
readonly French: "French";
|
|
1891
|
-
readonly German: "German";
|
|
1892
|
-
readonly Russian: "Russian";
|
|
1893
|
-
readonly Spanish: "Spanish";
|
|
1894
|
-
}>;
|
|
1895
|
-
}
|
|
1896
|
-
/** @internal */
|
|
1897
|
-
export declare const UpdatePromptSnippetMetadata$inboundSchema: z.ZodType<UpdatePromptSnippetMetadata, z.ZodTypeDef, unknown>;
|
|
1898
|
-
/** @internal */
|
|
1899
|
-
export type UpdatePromptSnippetMetadata$Outbound = {
|
|
1900
|
-
use_cases?: Array<string> | undefined;
|
|
1901
|
-
language?: string | undefined;
|
|
1902
|
-
};
|
|
1903
|
-
/** @internal */
|
|
1904
|
-
export declare const UpdatePromptSnippetMetadata$outboundSchema: z.ZodType<UpdatePromptSnippetMetadata$Outbound, z.ZodTypeDef, UpdatePromptSnippetMetadata>;
|
|
1905
|
-
/**
|
|
1906
|
-
* @internal
|
|
1907
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1908
|
-
*/
|
|
1909
|
-
export declare namespace UpdatePromptSnippetMetadata$ {
|
|
1910
|
-
/** @deprecated use `UpdatePromptSnippetMetadata$inboundSchema` instead. */
|
|
1911
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetMetadata, z.ZodTypeDef, unknown>;
|
|
1912
|
-
/** @deprecated use `UpdatePromptSnippetMetadata$outboundSchema` instead. */
|
|
1913
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetMetadata$Outbound, z.ZodTypeDef, UpdatePromptSnippetMetadata>;
|
|
1914
|
-
/** @deprecated use `UpdatePromptSnippetMetadata$Outbound` instead. */
|
|
1915
|
-
type Outbound = UpdatePromptSnippetMetadata$Outbound;
|
|
1916
|
-
}
|
|
1917
|
-
export declare function updatePromptSnippetMetadataToJSON(updatePromptSnippetMetadata: UpdatePromptSnippetMetadata): string;
|
|
1918
|
-
export declare function updatePromptSnippetMetadataFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetMetadata, SDKValidationError>;
|
|
1919
|
-
/** @internal */
|
|
1920
|
-
export declare const UpdatePromptSnippetRequestBody$inboundSchema: z.ZodType<UpdatePromptSnippetRequestBody, z.ZodTypeDef, unknown>;
|
|
1921
|
-
/** @internal */
|
|
1922
|
-
export type UpdatePromptSnippetRequestBody$Outbound = {
|
|
1923
|
-
description?: string | null | undefined;
|
|
1924
|
-
prompt_config?: UpdatePromptSnippetPromptConfig$Outbound | undefined;
|
|
1925
|
-
metadata?: UpdatePromptSnippetMetadata$Outbound | undefined;
|
|
1926
|
-
path?: string | undefined;
|
|
1927
|
-
};
|
|
1928
|
-
/** @internal */
|
|
1929
|
-
export declare const UpdatePromptSnippetRequestBody$outboundSchema: z.ZodType<UpdatePromptSnippetRequestBody$Outbound, z.ZodTypeDef, UpdatePromptSnippetRequestBody>;
|
|
1930
|
-
/**
|
|
1931
|
-
* @internal
|
|
1932
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1933
|
-
*/
|
|
1934
|
-
export declare namespace UpdatePromptSnippetRequestBody$ {
|
|
1935
|
-
/** @deprecated use `UpdatePromptSnippetRequestBody$inboundSchema` instead. */
|
|
1936
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetRequestBody, z.ZodTypeDef, unknown>;
|
|
1937
|
-
/** @deprecated use `UpdatePromptSnippetRequestBody$outboundSchema` instead. */
|
|
1938
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetRequestBody$Outbound, z.ZodTypeDef, UpdatePromptSnippetRequestBody>;
|
|
1939
|
-
/** @deprecated use `UpdatePromptSnippetRequestBody$Outbound` instead. */
|
|
1940
|
-
type Outbound = UpdatePromptSnippetRequestBody$Outbound;
|
|
1941
|
-
}
|
|
1942
|
-
export declare function updatePromptSnippetRequestBodyToJSON(updatePromptSnippetRequestBody: UpdatePromptSnippetRequestBody): string;
|
|
1943
|
-
export declare function updatePromptSnippetRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetRequestBody, SDKValidationError>;
|
|
1944
|
-
/** @internal */
|
|
1945
|
-
export declare const UpdatePromptSnippetRequest$inboundSchema: z.ZodType<UpdatePromptSnippetRequest, z.ZodTypeDef, unknown>;
|
|
1946
|
-
/** @internal */
|
|
1947
|
-
export type UpdatePromptSnippetRequest$Outbound = {
|
|
1948
|
-
id: string;
|
|
1949
|
-
RequestBody?: UpdatePromptSnippetRequestBody$Outbound | undefined;
|
|
1950
|
-
};
|
|
1951
|
-
/** @internal */
|
|
1952
|
-
export declare const UpdatePromptSnippetRequest$outboundSchema: z.ZodType<UpdatePromptSnippetRequest$Outbound, z.ZodTypeDef, UpdatePromptSnippetRequest>;
|
|
1953
|
-
/**
|
|
1954
|
-
* @internal
|
|
1955
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1956
|
-
*/
|
|
1957
|
-
export declare namespace UpdatePromptSnippetRequest$ {
|
|
1958
|
-
/** @deprecated use `UpdatePromptSnippetRequest$inboundSchema` instead. */
|
|
1959
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetRequest, z.ZodTypeDef, unknown>;
|
|
1960
|
-
/** @deprecated use `UpdatePromptSnippetRequest$outboundSchema` instead. */
|
|
1961
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetRequest$Outbound, z.ZodTypeDef, UpdatePromptSnippetRequest>;
|
|
1962
|
-
/** @deprecated use `UpdatePromptSnippetRequest$Outbound` instead. */
|
|
1963
|
-
type Outbound = UpdatePromptSnippetRequest$Outbound;
|
|
1964
|
-
}
|
|
1965
|
-
export declare function updatePromptSnippetRequestToJSON(updatePromptSnippetRequest: UpdatePromptSnippetRequest): string;
|
|
1966
|
-
export declare function updatePromptSnippetRequestFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetRequest, SDKValidationError>;
|
|
1967
|
-
/** @internal */
|
|
1968
|
-
export declare const UpdatePromptSnippetOwner2$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetOwner2>;
|
|
1969
|
-
/** @internal */
|
|
1970
|
-
export declare const UpdatePromptSnippetOwner2$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetOwner2>;
|
|
1971
|
-
/**
|
|
1972
|
-
* @internal
|
|
1973
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1974
|
-
*/
|
|
1975
|
-
export declare namespace UpdatePromptSnippetOwner2$ {
|
|
1976
|
-
/** @deprecated use `UpdatePromptSnippetOwner2$inboundSchema` instead. */
|
|
1977
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1978
|
-
readonly Vendor: "vendor";
|
|
1979
|
-
}>;
|
|
1980
|
-
/** @deprecated use `UpdatePromptSnippetOwner2$outboundSchema` instead. */
|
|
1981
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1982
|
-
readonly Vendor: "vendor";
|
|
1983
|
-
}>;
|
|
1984
|
-
}
|
|
1985
|
-
/** @internal */
|
|
1986
|
-
export declare const UpdatePromptSnippetOwner$inboundSchema: z.ZodType<UpdatePromptSnippetOwner, z.ZodTypeDef, unknown>;
|
|
1987
|
-
/** @internal */
|
|
1988
|
-
export type UpdatePromptSnippetOwner$Outbound = string | string;
|
|
1989
|
-
/** @internal */
|
|
1990
|
-
export declare const UpdatePromptSnippetOwner$outboundSchema: z.ZodType<UpdatePromptSnippetOwner$Outbound, z.ZodTypeDef, UpdatePromptSnippetOwner>;
|
|
1991
|
-
/**
|
|
1992
|
-
* @internal
|
|
1993
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1994
|
-
*/
|
|
1995
|
-
export declare namespace UpdatePromptSnippetOwner$ {
|
|
1996
|
-
/** @deprecated use `UpdatePromptSnippetOwner$inboundSchema` instead. */
|
|
1997
|
-
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
1998
|
-
/** @deprecated use `UpdatePromptSnippetOwner$outboundSchema` instead. */
|
|
1999
|
-
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
2000
|
-
/** @deprecated use `UpdatePromptSnippetOwner$Outbound` instead. */
|
|
2001
|
-
type Outbound = UpdatePromptSnippetOwner$Outbound;
|
|
2002
|
-
}
|
|
2003
|
-
export declare function updatePromptSnippetOwnerToJSON(updatePromptSnippetOwner: UpdatePromptSnippetOwner): string;
|
|
2004
|
-
export declare function updatePromptSnippetOwnerFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetOwner, SDKValidationError>;
|
|
2005
|
-
/** @internal */
|
|
2006
|
-
export declare const UpdatePromptSnippetPromptSnippetsModelType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsModelType>;
|
|
2007
|
-
/** @internal */
|
|
2008
|
-
export declare const UpdatePromptSnippetPromptSnippetsModelType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsModelType>;
|
|
2009
|
-
/**
|
|
2010
|
-
* @internal
|
|
2011
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2012
|
-
*/
|
|
2013
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsModelType$ {
|
|
2014
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsModelType$inboundSchema` instead. */
|
|
2015
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2016
|
-
readonly Chat: "chat";
|
|
2017
|
-
readonly Completion: "completion";
|
|
2018
|
-
readonly Embedding: "embedding";
|
|
2019
|
-
readonly Vision: "vision";
|
|
2020
|
-
readonly Image: "image";
|
|
2021
|
-
readonly Tts: "tts";
|
|
2022
|
-
readonly Stt: "stt";
|
|
2023
|
-
readonly Rerank: "rerank";
|
|
2024
|
-
readonly Moderations: "moderations";
|
|
2025
|
-
}>;
|
|
2026
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsModelType$outboundSchema` instead. */
|
|
2027
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2028
|
-
readonly Chat: "chat";
|
|
2029
|
-
readonly Completion: "completion";
|
|
2030
|
-
readonly Embedding: "embedding";
|
|
2031
|
-
readonly Vision: "vision";
|
|
2032
|
-
readonly Image: "image";
|
|
2033
|
-
readonly Tts: "tts";
|
|
2034
|
-
readonly Stt: "stt";
|
|
2035
|
-
readonly Rerank: "rerank";
|
|
2036
|
-
readonly Moderations: "moderations";
|
|
2037
|
-
}>;
|
|
2038
|
-
}
|
|
2039
|
-
/** @internal */
|
|
2040
|
-
export declare const UpdatePromptSnippetPromptSnippetsFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsFormat>;
|
|
2041
|
-
/** @internal */
|
|
2042
|
-
export declare const UpdatePromptSnippetPromptSnippetsFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsFormat>;
|
|
2043
|
-
/**
|
|
2044
|
-
* @internal
|
|
2045
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2046
|
-
*/
|
|
2047
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsFormat$ {
|
|
2048
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsFormat$inboundSchema` instead. */
|
|
2049
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2050
|
-
readonly Url: "url";
|
|
2051
|
-
readonly B64Json: "b64_json";
|
|
2052
|
-
readonly Text: "text";
|
|
2053
|
-
readonly JsonObject: "json_object";
|
|
2054
|
-
}>;
|
|
2055
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsFormat$outboundSchema` instead. */
|
|
2056
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2057
|
-
readonly Url: "url";
|
|
2058
|
-
readonly B64Json: "b64_json";
|
|
2059
|
-
readonly Text: "text";
|
|
2060
|
-
readonly JsonObject: "json_object";
|
|
2061
|
-
}>;
|
|
2062
|
-
}
|
|
2063
|
-
/** @internal */
|
|
2064
|
-
export declare const UpdatePromptSnippetPromptSnippetsQuality$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsQuality>;
|
|
2065
|
-
/** @internal */
|
|
2066
|
-
export declare const UpdatePromptSnippetPromptSnippetsQuality$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsQuality>;
|
|
2067
|
-
/**
|
|
2068
|
-
* @internal
|
|
2069
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2070
|
-
*/
|
|
2071
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsQuality$ {
|
|
2072
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsQuality$inboundSchema` instead. */
|
|
2073
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2074
|
-
readonly Standard: "standard";
|
|
2075
|
-
readonly Hd: "hd";
|
|
2076
|
-
}>;
|
|
2077
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsQuality$outboundSchema` instead. */
|
|
2078
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2079
|
-
readonly Standard: "standard";
|
|
2080
|
-
readonly Hd: "hd";
|
|
2081
|
-
}>;
|
|
2082
|
-
}
|
|
2083
|
-
/** @internal */
|
|
2084
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsResponse200Type>;
|
|
2085
|
-
/** @internal */
|
|
2086
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsResponse200Type>;
|
|
2087
|
-
/**
|
|
2088
|
-
* @internal
|
|
2089
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2090
|
-
*/
|
|
2091
|
-
export declare namespace UpdatePromptSnippetResponseFormatPromptSnippetsResponse200Type$ {
|
|
2092
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponse200Type$inboundSchema` instead. */
|
|
2093
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2094
|
-
readonly JsonObject: "json_object";
|
|
2095
|
-
}>;
|
|
2096
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponse200Type$outboundSchema` instead. */
|
|
2097
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2098
|
-
readonly JsonObject: "json_object";
|
|
2099
|
-
}>;
|
|
2100
|
-
}
|
|
2101
|
-
/** @internal */
|
|
2102
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippets2$inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippets2, z.ZodTypeDef, unknown>;
|
|
2103
|
-
/** @internal */
|
|
2104
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippets2$Outbound = {
|
|
2105
|
-
type: string;
|
|
2106
|
-
};
|
|
2107
|
-
/** @internal */
|
|
2108
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippets2$outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippets2$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormatPromptSnippets2>;
|
|
2109
|
-
/**
|
|
2110
|
-
* @internal
|
|
2111
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2112
|
-
*/
|
|
2113
|
-
export declare namespace UpdatePromptSnippetResponseFormatPromptSnippets2$ {
|
|
2114
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippets2$inboundSchema` instead. */
|
|
2115
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippets2, z.ZodTypeDef, unknown>;
|
|
2116
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippets2$outboundSchema` instead. */
|
|
2117
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippets2$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormatPromptSnippets2>;
|
|
2118
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippets2$Outbound` instead. */
|
|
2119
|
-
type Outbound = UpdatePromptSnippetResponseFormatPromptSnippets2$Outbound;
|
|
2120
|
-
}
|
|
2121
|
-
export declare function updatePromptSnippetResponseFormatPromptSnippets2ToJSON(updatePromptSnippetResponseFormatPromptSnippets2: UpdatePromptSnippetResponseFormatPromptSnippets2): string;
|
|
2122
|
-
export declare function updatePromptSnippetResponseFormatPromptSnippets2FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetResponseFormatPromptSnippets2, SDKValidationError>;
|
|
2123
|
-
/** @internal */
|
|
2124
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsResponseType>;
|
|
2125
|
-
/** @internal */
|
|
2126
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsResponseType>;
|
|
2127
|
-
/**
|
|
2128
|
-
* @internal
|
|
2129
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2130
|
-
*/
|
|
2131
|
-
export declare namespace UpdatePromptSnippetResponseFormatPromptSnippetsResponseType$ {
|
|
2132
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponseType$inboundSchema` instead. */
|
|
2133
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2134
|
-
readonly JsonSchema: "json_schema";
|
|
2135
|
-
}>;
|
|
2136
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponseType$outboundSchema` instead. */
|
|
2137
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2138
|
-
readonly JsonSchema: "json_schema";
|
|
2139
|
-
}>;
|
|
2140
|
-
}
|
|
2141
|
-
/** @internal */
|
|
2142
|
-
export declare const UpdatePromptSnippetResponseFormatJsonSchema$inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
2143
|
-
/** @internal */
|
|
2144
|
-
export type UpdatePromptSnippetResponseFormatJsonSchema$Outbound = {
|
|
2145
|
-
name: string;
|
|
2146
|
-
strict: boolean;
|
|
2147
|
-
schema: {
|
|
2148
|
-
[k: string]: any;
|
|
2149
|
-
};
|
|
2150
|
-
};
|
|
2151
|
-
/** @internal */
|
|
2152
|
-
export declare const UpdatePromptSnippetResponseFormatJsonSchema$outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormatJsonSchema>;
|
|
2153
|
-
/**
|
|
2154
|
-
* @internal
|
|
2155
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2156
|
-
*/
|
|
2157
|
-
export declare namespace UpdatePromptSnippetResponseFormatJsonSchema$ {
|
|
2158
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatJsonSchema$inboundSchema` instead. */
|
|
2159
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
2160
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatJsonSchema$outboundSchema` instead. */
|
|
2161
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormatJsonSchema>;
|
|
2162
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatJsonSchema$Outbound` instead. */
|
|
2163
|
-
type Outbound = UpdatePromptSnippetResponseFormatJsonSchema$Outbound;
|
|
2164
|
-
}
|
|
2165
|
-
export declare function updatePromptSnippetResponseFormatJsonSchemaToJSON(updatePromptSnippetResponseFormatJsonSchema: UpdatePromptSnippetResponseFormatJsonSchema): string;
|
|
2166
|
-
export declare function updatePromptSnippetResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetResponseFormatJsonSchema, SDKValidationError>;
|
|
2167
|
-
/** @internal */
|
|
2168
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippets1$inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippets1, z.ZodTypeDef, unknown>;
|
|
2169
|
-
/** @internal */
|
|
2170
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippets1$Outbound = {
|
|
2171
|
-
type: string;
|
|
2172
|
-
json_schema: UpdatePromptSnippetResponseFormatJsonSchema$Outbound;
|
|
2173
|
-
};
|
|
2174
|
-
/** @internal */
|
|
2175
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippets1$outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippets1$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormatPromptSnippets1>;
|
|
2176
|
-
/**
|
|
2177
|
-
* @internal
|
|
2178
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2179
|
-
*/
|
|
2180
|
-
export declare namespace UpdatePromptSnippetResponseFormatPromptSnippets1$ {
|
|
2181
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippets1$inboundSchema` instead. */
|
|
2182
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippets1, z.ZodTypeDef, unknown>;
|
|
2183
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippets1$outboundSchema` instead. */
|
|
2184
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippets1$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormatPromptSnippets1>;
|
|
2185
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippets1$Outbound` instead. */
|
|
2186
|
-
type Outbound = UpdatePromptSnippetResponseFormatPromptSnippets1$Outbound;
|
|
2187
|
-
}
|
|
2188
|
-
export declare function updatePromptSnippetResponseFormatPromptSnippets1ToJSON(updatePromptSnippetResponseFormatPromptSnippets1: UpdatePromptSnippetResponseFormatPromptSnippets1): string;
|
|
2189
|
-
export declare function updatePromptSnippetResponseFormatPromptSnippets1FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetResponseFormatPromptSnippets1, SDKValidationError>;
|
|
2190
|
-
/** @internal */
|
|
2191
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseFormat$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseFormat, z.ZodTypeDef, unknown>;
|
|
2192
|
-
/** @internal */
|
|
2193
|
-
export type UpdatePromptSnippetPromptSnippetsResponseFormat$Outbound = UpdatePromptSnippetResponseFormatPromptSnippets2$Outbound | UpdatePromptSnippetResponseFormatPromptSnippets1$Outbound;
|
|
2194
|
-
/** @internal */
|
|
2195
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseFormat$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseFormat>;
|
|
2196
|
-
/**
|
|
2197
|
-
* @internal
|
|
2198
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2199
|
-
*/
|
|
2200
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseFormat$ {
|
|
2201
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseFormat$inboundSchema` instead. */
|
|
2202
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseFormat, z.ZodTypeDef, unknown>;
|
|
2203
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseFormat$outboundSchema` instead. */
|
|
2204
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseFormat>;
|
|
2205
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseFormat$Outbound` instead. */
|
|
2206
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsResponseFormat$Outbound;
|
|
2207
|
-
}
|
|
2208
|
-
export declare function updatePromptSnippetPromptSnippetsResponseFormatToJSON(updatePromptSnippetPromptSnippetsResponseFormat: UpdatePromptSnippetPromptSnippetsResponseFormat): string;
|
|
2209
|
-
export declare function updatePromptSnippetPromptSnippetsResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsResponseFormat, SDKValidationError>;
|
|
2210
|
-
/** @internal */
|
|
2211
|
-
export declare const UpdatePromptSnippetPromptSnippetsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsPhotoRealVersion>;
|
|
2212
|
-
/** @internal */
|
|
2213
|
-
export declare const UpdatePromptSnippetPromptSnippetsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsPhotoRealVersion>;
|
|
2214
|
-
/**
|
|
2215
|
-
* @internal
|
|
2216
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2217
|
-
*/
|
|
2218
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsPhotoRealVersion$ {
|
|
2219
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsPhotoRealVersion$inboundSchema` instead. */
|
|
2220
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2221
|
-
readonly V1: "v1";
|
|
2222
|
-
readonly V2: "v2";
|
|
2223
|
-
}>;
|
|
2224
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsPhotoRealVersion$outboundSchema` instead. */
|
|
2225
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2226
|
-
readonly V1: "v1";
|
|
2227
|
-
readonly V2: "v2";
|
|
2228
|
-
}>;
|
|
2229
|
-
}
|
|
2230
|
-
/** @internal */
|
|
2231
|
-
export declare const UpdatePromptSnippetPromptSnippetsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsEncodingFormat>;
|
|
2232
|
-
/** @internal */
|
|
2233
|
-
export declare const UpdatePromptSnippetPromptSnippetsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsEncodingFormat>;
|
|
2234
|
-
/**
|
|
2235
|
-
* @internal
|
|
2236
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2237
|
-
*/
|
|
2238
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsEncodingFormat$ {
|
|
2239
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsEncodingFormat$inboundSchema` instead. */
|
|
2240
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2241
|
-
readonly Float: "float";
|
|
2242
|
-
readonly Base64: "base64";
|
|
2243
|
-
}>;
|
|
2244
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsEncodingFormat$outboundSchema` instead. */
|
|
2245
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2246
|
-
readonly Float: "float";
|
|
2247
|
-
readonly Base64: "base64";
|
|
2248
|
-
}>;
|
|
2249
|
-
}
|
|
2250
|
-
/** @internal */
|
|
2251
|
-
export declare const UpdatePromptSnippetPromptSnippetsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsReasoningEffort>;
|
|
2252
|
-
/** @internal */
|
|
2253
|
-
export declare const UpdatePromptSnippetPromptSnippetsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsReasoningEffort>;
|
|
2254
|
-
/**
|
|
2255
|
-
* @internal
|
|
2256
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2257
|
-
*/
|
|
2258
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsReasoningEffort$ {
|
|
2259
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsReasoningEffort$inboundSchema` instead. */
|
|
2260
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2261
|
-
readonly Low: "low";
|
|
2262
|
-
readonly Medium: "medium";
|
|
2263
|
-
readonly High: "high";
|
|
2264
|
-
}>;
|
|
2265
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsReasoningEffort$outboundSchema` instead. */
|
|
2266
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2267
|
-
readonly Low: "low";
|
|
2268
|
-
readonly Medium: "medium";
|
|
2269
|
-
readonly High: "high";
|
|
2270
|
-
}>;
|
|
2271
|
-
}
|
|
2272
|
-
/** @internal */
|
|
2273
|
-
export declare const UpdatePromptSnippetPromptSnippetsModelParameters$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsModelParameters, z.ZodTypeDef, unknown>;
|
|
2274
|
-
/** @internal */
|
|
2275
|
-
export type UpdatePromptSnippetPromptSnippetsModelParameters$Outbound = {
|
|
2276
|
-
temperature?: number | undefined;
|
|
2277
|
-
maxTokens?: number | undefined;
|
|
2278
|
-
topK?: number | undefined;
|
|
2279
|
-
topP?: number | undefined;
|
|
2280
|
-
frequencyPenalty?: number | undefined;
|
|
2281
|
-
presencePenalty?: number | undefined;
|
|
2282
|
-
numImages?: number | undefined;
|
|
2283
|
-
seed?: number | undefined;
|
|
2284
|
-
format?: string | undefined;
|
|
2285
|
-
dimensions?: string | undefined;
|
|
2286
|
-
quality?: string | undefined;
|
|
2287
|
-
style?: string | undefined;
|
|
2288
|
-
responseFormat?: UpdatePromptSnippetResponseFormatPromptSnippets2$Outbound | UpdatePromptSnippetResponseFormatPromptSnippets1$Outbound | null | undefined;
|
|
2289
|
-
photoRealVersion?: string | undefined;
|
|
2290
|
-
encoding_format?: string | undefined;
|
|
2291
|
-
reasoningEffort?: string | undefined;
|
|
2292
|
-
};
|
|
2293
|
-
/** @internal */
|
|
2294
|
-
export declare const UpdatePromptSnippetPromptSnippetsModelParameters$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsModelParameters$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsModelParameters>;
|
|
2295
|
-
/**
|
|
2296
|
-
* @internal
|
|
2297
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2298
|
-
*/
|
|
2299
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsModelParameters$ {
|
|
2300
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsModelParameters$inboundSchema` instead. */
|
|
2301
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsModelParameters, z.ZodTypeDef, unknown>;
|
|
2302
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsModelParameters$outboundSchema` instead. */
|
|
2303
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsModelParameters$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsModelParameters>;
|
|
2304
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsModelParameters$Outbound` instead. */
|
|
2305
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsModelParameters$Outbound;
|
|
2306
|
-
}
|
|
2307
|
-
export declare function updatePromptSnippetPromptSnippetsModelParametersToJSON(updatePromptSnippetPromptSnippetsModelParameters: UpdatePromptSnippetPromptSnippetsModelParameters): string;
|
|
2308
|
-
export declare function updatePromptSnippetPromptSnippetsModelParametersFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsModelParameters, SDKValidationError>;
|
|
2309
|
-
/** @internal */
|
|
2310
|
-
export declare const UpdatePromptSnippetPromptSnippetsProvider$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsProvider>;
|
|
2311
|
-
/** @internal */
|
|
2312
|
-
export declare const UpdatePromptSnippetPromptSnippetsProvider$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsProvider>;
|
|
2313
|
-
/**
|
|
2314
|
-
* @internal
|
|
2315
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2316
|
-
*/
|
|
2317
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsProvider$ {
|
|
2318
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsProvider$inboundSchema` instead. */
|
|
2319
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2320
|
-
readonly Cohere: "cohere";
|
|
2321
|
-
readonly Openai: "openai";
|
|
2322
|
-
readonly Anthropic: "anthropic";
|
|
2323
|
-
readonly Huggingface: "huggingface";
|
|
2324
|
-
readonly Replicate: "replicate";
|
|
2325
|
-
readonly Google: "google";
|
|
2326
|
-
readonly GoogleAi: "google-ai";
|
|
2327
|
-
readonly Azure: "azure";
|
|
2328
|
-
readonly Aws: "aws";
|
|
2329
|
-
readonly Anyscale: "anyscale";
|
|
2330
|
-
readonly Perplexity: "perplexity";
|
|
2331
|
-
readonly Groq: "groq";
|
|
2332
|
-
readonly Fal: "fal";
|
|
2333
|
-
readonly Leonardoai: "leonardoai";
|
|
2334
|
-
readonly Nvidia: "nvidia";
|
|
2335
|
-
readonly Jina: "jina";
|
|
2336
|
-
readonly Togetherai: "togetherai";
|
|
2337
|
-
readonly Elevenlabs: "elevenlabs";
|
|
2338
|
-
}>;
|
|
2339
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsProvider$outboundSchema` instead. */
|
|
2340
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2341
|
-
readonly Cohere: "cohere";
|
|
2342
|
-
readonly Openai: "openai";
|
|
2343
|
-
readonly Anthropic: "anthropic";
|
|
2344
|
-
readonly Huggingface: "huggingface";
|
|
2345
|
-
readonly Replicate: "replicate";
|
|
2346
|
-
readonly Google: "google";
|
|
2347
|
-
readonly GoogleAi: "google-ai";
|
|
2348
|
-
readonly Azure: "azure";
|
|
2349
|
-
readonly Aws: "aws";
|
|
2350
|
-
readonly Anyscale: "anyscale";
|
|
2351
|
-
readonly Perplexity: "perplexity";
|
|
2352
|
-
readonly Groq: "groq";
|
|
2353
|
-
readonly Fal: "fal";
|
|
2354
|
-
readonly Leonardoai: "leonardoai";
|
|
2355
|
-
readonly Nvidia: "nvidia";
|
|
2356
|
-
readonly Jina: "jina";
|
|
2357
|
-
readonly Togetherai: "togetherai";
|
|
2358
|
-
readonly Elevenlabs: "elevenlabs";
|
|
2359
|
-
}>;
|
|
2360
|
-
}
|
|
2361
|
-
/** @internal */
|
|
2362
|
-
export declare const UpdatePromptSnippetPromptSnippetsRole$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsRole>;
|
|
2363
|
-
/** @internal */
|
|
2364
|
-
export declare const UpdatePromptSnippetPromptSnippetsRole$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsRole>;
|
|
2365
|
-
/**
|
|
2366
|
-
* @internal
|
|
2367
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2368
|
-
*/
|
|
2369
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsRole$ {
|
|
2370
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsRole$inboundSchema` instead. */
|
|
2371
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2372
|
-
readonly System: "system";
|
|
2373
|
-
readonly Assistant: "assistant";
|
|
2374
|
-
readonly User: "user";
|
|
2375
|
-
readonly Exception: "exception";
|
|
2376
|
-
readonly Tool: "tool";
|
|
2377
|
-
readonly Prompt: "prompt";
|
|
2378
|
-
readonly Correction: "correction";
|
|
2379
|
-
readonly ExpectedOutput: "expected_output";
|
|
2380
|
-
}>;
|
|
2381
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsRole$outboundSchema` instead. */
|
|
2382
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2383
|
-
readonly System: "system";
|
|
2384
|
-
readonly Assistant: "assistant";
|
|
2385
|
-
readonly User: "user";
|
|
2386
|
-
readonly Exception: "exception";
|
|
2387
|
-
readonly Tool: "tool";
|
|
2388
|
-
readonly Prompt: "prompt";
|
|
2389
|
-
readonly Correction: "correction";
|
|
2390
|
-
readonly ExpectedOutput: "expected_output";
|
|
2391
|
-
}>;
|
|
2392
|
-
}
|
|
2393
|
-
/** @internal */
|
|
2394
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippet2PromptSnippetsResponse200Type>;
|
|
2395
|
-
/** @internal */
|
|
2396
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippet2PromptSnippetsResponse200Type>;
|
|
2397
|
-
/**
|
|
2398
|
-
* @internal
|
|
2399
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2400
|
-
*/
|
|
2401
|
-
export declare namespace UpdatePromptSnippet2PromptSnippetsResponse200Type$ {
|
|
2402
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponse200Type$inboundSchema` instead. */
|
|
2403
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2404
|
-
readonly ImageUrl: "image_url";
|
|
2405
|
-
}>;
|
|
2406
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponse200Type$outboundSchema` instead. */
|
|
2407
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2408
|
-
readonly ImageUrl: "image_url";
|
|
2409
|
-
}>;
|
|
2410
|
-
}
|
|
2411
|
-
/** @internal */
|
|
2412
|
-
export declare const UpdatePromptSnippet2PromptSnippetsImageUrl$inboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsImageUrl, z.ZodTypeDef, unknown>;
|
|
2413
|
-
/** @internal */
|
|
2414
|
-
export type UpdatePromptSnippet2PromptSnippetsImageUrl$Outbound = {
|
|
2415
|
-
id?: string | undefined;
|
|
2416
|
-
url: string;
|
|
2417
|
-
detail?: string | undefined;
|
|
2418
|
-
};
|
|
2419
|
-
/** @internal */
|
|
2420
|
-
export declare const UpdatePromptSnippet2PromptSnippetsImageUrl$outboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsImageUrl$Outbound, z.ZodTypeDef, UpdatePromptSnippet2PromptSnippetsImageUrl>;
|
|
2421
|
-
/**
|
|
2422
|
-
* @internal
|
|
2423
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2424
|
-
*/
|
|
2425
|
-
export declare namespace UpdatePromptSnippet2PromptSnippetsImageUrl$ {
|
|
2426
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsImageUrl$inboundSchema` instead. */
|
|
2427
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsImageUrl, z.ZodTypeDef, unknown>;
|
|
2428
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsImageUrl$outboundSchema` instead. */
|
|
2429
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsImageUrl$Outbound, z.ZodTypeDef, UpdatePromptSnippet2PromptSnippetsImageUrl>;
|
|
2430
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsImageUrl$Outbound` instead. */
|
|
2431
|
-
type Outbound = UpdatePromptSnippet2PromptSnippetsImageUrl$Outbound;
|
|
2432
|
-
}
|
|
2433
|
-
export declare function updatePromptSnippet2PromptSnippetsImageUrlToJSON(updatePromptSnippet2PromptSnippetsImageUrl: UpdatePromptSnippet2PromptSnippetsImageUrl): string;
|
|
2434
|
-
export declare function updatePromptSnippet2PromptSnippetsImageUrlFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippet2PromptSnippetsImageUrl, SDKValidationError>;
|
|
2435
|
-
/** @internal */
|
|
2436
|
-
export declare const UpdatePromptSnippet2PromptSnippets2$inboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippets2, z.ZodTypeDef, unknown>;
|
|
2437
|
-
/** @internal */
|
|
2438
|
-
export type UpdatePromptSnippet2PromptSnippets2$Outbound = {
|
|
2439
|
-
type: string;
|
|
2440
|
-
image_url: UpdatePromptSnippet2PromptSnippetsImageUrl$Outbound;
|
|
2441
|
-
};
|
|
2442
|
-
/** @internal */
|
|
2443
|
-
export declare const UpdatePromptSnippet2PromptSnippets2$outboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippets2$Outbound, z.ZodTypeDef, UpdatePromptSnippet2PromptSnippets2>;
|
|
2444
|
-
/**
|
|
2445
|
-
* @internal
|
|
2446
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2447
|
-
*/
|
|
2448
|
-
export declare namespace UpdatePromptSnippet2PromptSnippets2$ {
|
|
2449
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippets2$inboundSchema` instead. */
|
|
2450
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippets2, z.ZodTypeDef, unknown>;
|
|
2451
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippets2$outboundSchema` instead. */
|
|
2452
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippets2$Outbound, z.ZodTypeDef, UpdatePromptSnippet2PromptSnippets2>;
|
|
2453
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippets2$Outbound` instead. */
|
|
2454
|
-
type Outbound = UpdatePromptSnippet2PromptSnippets2$Outbound;
|
|
2455
|
-
}
|
|
2456
|
-
export declare function updatePromptSnippet2PromptSnippets2ToJSON(updatePromptSnippet2PromptSnippets2: UpdatePromptSnippet2PromptSnippets2): string;
|
|
2457
|
-
export declare function updatePromptSnippet2PromptSnippets2FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippet2PromptSnippets2, SDKValidationError>;
|
|
2458
|
-
/** @internal */
|
|
2459
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippet2PromptSnippetsResponseType>;
|
|
2460
|
-
/** @internal */
|
|
2461
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippet2PromptSnippetsResponseType>;
|
|
2462
|
-
/**
|
|
2463
|
-
* @internal
|
|
2464
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2465
|
-
*/
|
|
2466
|
-
export declare namespace UpdatePromptSnippet2PromptSnippetsResponseType$ {
|
|
2467
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponseType$inboundSchema` instead. */
|
|
2468
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2469
|
-
readonly Text: "text";
|
|
2470
|
-
}>;
|
|
2471
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponseType$outboundSchema` instead. */
|
|
2472
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2473
|
-
readonly Text: "text";
|
|
2474
|
-
}>;
|
|
2475
|
-
}
|
|
2476
|
-
/** @internal */
|
|
2477
|
-
export declare const UpdatePromptSnippet2PromptSnippets1$inboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippets1, z.ZodTypeDef, unknown>;
|
|
2478
|
-
/** @internal */
|
|
2479
|
-
export type UpdatePromptSnippet2PromptSnippets1$Outbound = {
|
|
2480
|
-
type: string;
|
|
2481
|
-
text: string;
|
|
2482
|
-
};
|
|
2483
|
-
/** @internal */
|
|
2484
|
-
export declare const UpdatePromptSnippet2PromptSnippets1$outboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippets1$Outbound, z.ZodTypeDef, UpdatePromptSnippet2PromptSnippets1>;
|
|
2485
|
-
/**
|
|
2486
|
-
* @internal
|
|
2487
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2488
|
-
*/
|
|
2489
|
-
export declare namespace UpdatePromptSnippet2PromptSnippets1$ {
|
|
2490
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippets1$inboundSchema` instead. */
|
|
2491
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippets1, z.ZodTypeDef, unknown>;
|
|
2492
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippets1$outboundSchema` instead. */
|
|
2493
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippets1$Outbound, z.ZodTypeDef, UpdatePromptSnippet2PromptSnippets1>;
|
|
2494
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippets1$Outbound` instead. */
|
|
2495
|
-
type Outbound = UpdatePromptSnippet2PromptSnippets1$Outbound;
|
|
2496
|
-
}
|
|
2497
|
-
export declare function updatePromptSnippet2PromptSnippets1ToJSON(updatePromptSnippet2PromptSnippets1: UpdatePromptSnippet2PromptSnippets1): string;
|
|
2498
|
-
export declare function updatePromptSnippet2PromptSnippets1FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippet2PromptSnippets1, SDKValidationError>;
|
|
2499
|
-
/** @internal */
|
|
2500
|
-
export declare const UpdatePromptSnippetContentPromptSnippets2$inboundSchema: z.ZodType<UpdatePromptSnippetContentPromptSnippets2, z.ZodTypeDef, unknown>;
|
|
2501
|
-
/** @internal */
|
|
2502
|
-
export type UpdatePromptSnippetContentPromptSnippets2$Outbound = UpdatePromptSnippet2PromptSnippets1$Outbound | UpdatePromptSnippet2PromptSnippets2$Outbound;
|
|
2503
|
-
/** @internal */
|
|
2504
|
-
export declare const UpdatePromptSnippetContentPromptSnippets2$outboundSchema: z.ZodType<UpdatePromptSnippetContentPromptSnippets2$Outbound, z.ZodTypeDef, UpdatePromptSnippetContentPromptSnippets2>;
|
|
2505
|
-
/**
|
|
2506
|
-
* @internal
|
|
2507
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2508
|
-
*/
|
|
2509
|
-
export declare namespace UpdatePromptSnippetContentPromptSnippets2$ {
|
|
2510
|
-
/** @deprecated use `UpdatePromptSnippetContentPromptSnippets2$inboundSchema` instead. */
|
|
2511
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetContentPromptSnippets2, z.ZodTypeDef, unknown>;
|
|
2512
|
-
/** @deprecated use `UpdatePromptSnippetContentPromptSnippets2$outboundSchema` instead. */
|
|
2513
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetContentPromptSnippets2$Outbound, z.ZodTypeDef, UpdatePromptSnippetContentPromptSnippets2>;
|
|
2514
|
-
/** @deprecated use `UpdatePromptSnippetContentPromptSnippets2$Outbound` instead. */
|
|
2515
|
-
type Outbound = UpdatePromptSnippetContentPromptSnippets2$Outbound;
|
|
2516
|
-
}
|
|
2517
|
-
export declare function updatePromptSnippetContentPromptSnippets2ToJSON(updatePromptSnippetContentPromptSnippets2: UpdatePromptSnippetContentPromptSnippets2): string;
|
|
2518
|
-
export declare function updatePromptSnippetContentPromptSnippets2FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetContentPromptSnippets2, SDKValidationError>;
|
|
2519
|
-
/** @internal */
|
|
2520
|
-
export declare const UpdatePromptSnippetPromptSnippetsContent$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsContent, z.ZodTypeDef, unknown>;
|
|
2521
|
-
/** @internal */
|
|
2522
|
-
export type UpdatePromptSnippetPromptSnippetsContent$Outbound = string | Array<UpdatePromptSnippet2PromptSnippets1$Outbound | UpdatePromptSnippet2PromptSnippets2$Outbound>;
|
|
2523
|
-
/** @internal */
|
|
2524
|
-
export declare const UpdatePromptSnippetPromptSnippetsContent$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsContent$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsContent>;
|
|
2525
|
-
/**
|
|
2526
|
-
* @internal
|
|
2527
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2528
|
-
*/
|
|
2529
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsContent$ {
|
|
2530
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsContent$inboundSchema` instead. */
|
|
2531
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsContent, z.ZodTypeDef, unknown>;
|
|
2532
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsContent$outboundSchema` instead. */
|
|
2533
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsContent$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsContent>;
|
|
2534
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsContent$Outbound` instead. */
|
|
2535
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsContent$Outbound;
|
|
2536
|
-
}
|
|
2537
|
-
export declare function updatePromptSnippetPromptSnippetsContentToJSON(updatePromptSnippetPromptSnippetsContent: UpdatePromptSnippetPromptSnippetsContent): string;
|
|
2538
|
-
export declare function updatePromptSnippetPromptSnippetsContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsContent, SDKValidationError>;
|
|
2539
|
-
/** @internal */
|
|
2540
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseType>;
|
|
2541
|
-
/** @internal */
|
|
2542
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseType>;
|
|
2543
|
-
/**
|
|
2544
|
-
* @internal
|
|
2545
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2546
|
-
*/
|
|
2547
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseType$ {
|
|
2548
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseType$inboundSchema` instead. */
|
|
2549
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2550
|
-
readonly Function: "function";
|
|
2551
|
-
}>;
|
|
2552
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseType$outboundSchema` instead. */
|
|
2553
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2554
|
-
readonly Function: "function";
|
|
2555
|
-
}>;
|
|
2556
|
-
}
|
|
2557
|
-
/** @internal */
|
|
2558
|
-
export declare const UpdatePromptSnippetPromptSnippetsFunction$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsFunction, z.ZodTypeDef, unknown>;
|
|
2559
|
-
/** @internal */
|
|
2560
|
-
export type UpdatePromptSnippetPromptSnippetsFunction$Outbound = {
|
|
2561
|
-
name: string;
|
|
2562
|
-
arguments: string;
|
|
2563
|
-
};
|
|
2564
|
-
/** @internal */
|
|
2565
|
-
export declare const UpdatePromptSnippetPromptSnippetsFunction$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsFunction$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsFunction>;
|
|
2566
|
-
/**
|
|
2567
|
-
* @internal
|
|
2568
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2569
|
-
*/
|
|
2570
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsFunction$ {
|
|
2571
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsFunction$inboundSchema` instead. */
|
|
2572
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsFunction, z.ZodTypeDef, unknown>;
|
|
2573
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsFunction$outboundSchema` instead. */
|
|
2574
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsFunction$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsFunction>;
|
|
2575
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsFunction$Outbound` instead. */
|
|
2576
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsFunction$Outbound;
|
|
2577
|
-
}
|
|
2578
|
-
export declare function updatePromptSnippetPromptSnippetsFunctionToJSON(updatePromptSnippetPromptSnippetsFunction: UpdatePromptSnippetPromptSnippetsFunction): string;
|
|
2579
|
-
export declare function updatePromptSnippetPromptSnippetsFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsFunction, SDKValidationError>;
|
|
2580
|
-
/** @internal */
|
|
2581
|
-
export declare const UpdatePromptSnippetPromptSnippetsToolCalls$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsToolCalls, z.ZodTypeDef, unknown>;
|
|
2582
|
-
/** @internal */
|
|
2583
|
-
export type UpdatePromptSnippetPromptSnippetsToolCalls$Outbound = {
|
|
2584
|
-
id?: string | undefined;
|
|
2585
|
-
index?: number | undefined;
|
|
2586
|
-
type: string;
|
|
2587
|
-
function: UpdatePromptSnippetPromptSnippetsFunction$Outbound;
|
|
2588
|
-
};
|
|
2589
|
-
/** @internal */
|
|
2590
|
-
export declare const UpdatePromptSnippetPromptSnippetsToolCalls$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsToolCalls$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsToolCalls>;
|
|
2591
|
-
/**
|
|
2592
|
-
* @internal
|
|
2593
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2594
|
-
*/
|
|
2595
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsToolCalls$ {
|
|
2596
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsToolCalls$inboundSchema` instead. */
|
|
2597
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsToolCalls, z.ZodTypeDef, unknown>;
|
|
2598
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsToolCalls$outboundSchema` instead. */
|
|
2599
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsToolCalls$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsToolCalls>;
|
|
2600
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsToolCalls$Outbound` instead. */
|
|
2601
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsToolCalls$Outbound;
|
|
2602
|
-
}
|
|
2603
|
-
export declare function updatePromptSnippetPromptSnippetsToolCallsToJSON(updatePromptSnippetPromptSnippetsToolCalls: UpdatePromptSnippetPromptSnippetsToolCalls): string;
|
|
2604
|
-
export declare function updatePromptSnippetPromptSnippetsToolCallsFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsToolCalls, SDKValidationError>;
|
|
2605
|
-
/** @internal */
|
|
2606
|
-
export declare const UpdatePromptSnippetPromptSnippetsMessages$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsMessages, z.ZodTypeDef, unknown>;
|
|
2607
|
-
/** @internal */
|
|
2608
|
-
export type UpdatePromptSnippetPromptSnippetsMessages$Outbound = {
|
|
2609
|
-
role: string;
|
|
2610
|
-
content: string | Array<UpdatePromptSnippet2PromptSnippets1$Outbound | UpdatePromptSnippet2PromptSnippets2$Outbound>;
|
|
2611
|
-
tool_calls?: Array<UpdatePromptSnippetPromptSnippetsToolCalls$Outbound> | undefined;
|
|
2612
|
-
};
|
|
2613
|
-
/** @internal */
|
|
2614
|
-
export declare const UpdatePromptSnippetPromptSnippetsMessages$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsMessages$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsMessages>;
|
|
2615
|
-
/**
|
|
2616
|
-
* @internal
|
|
2617
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2618
|
-
*/
|
|
2619
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsMessages$ {
|
|
2620
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsMessages$inboundSchema` instead. */
|
|
2621
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsMessages, z.ZodTypeDef, unknown>;
|
|
2622
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsMessages$outboundSchema` instead. */
|
|
2623
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsMessages$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsMessages>;
|
|
2624
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsMessages$Outbound` instead. */
|
|
2625
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsMessages$Outbound;
|
|
2626
|
-
}
|
|
2627
|
-
export declare function updatePromptSnippetPromptSnippetsMessagesToJSON(updatePromptSnippetPromptSnippetsMessages: UpdatePromptSnippetPromptSnippetsMessages): string;
|
|
2628
|
-
export declare function updatePromptSnippetPromptSnippetsMessagesFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsMessages, SDKValidationError>;
|
|
2629
|
-
/** @internal */
|
|
2630
|
-
export declare const UpdatePromptSnippetPromptSnippetsPromptConfig$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsPromptConfig, z.ZodTypeDef, unknown>;
|
|
2631
|
-
/** @internal */
|
|
2632
|
-
export type UpdatePromptSnippetPromptSnippetsPromptConfig$Outbound = {
|
|
2633
|
-
stream?: boolean | undefined;
|
|
2634
|
-
model?: string | undefined;
|
|
2635
|
-
model_db_id?: string | undefined;
|
|
2636
|
-
model_type?: string | undefined;
|
|
2637
|
-
model_parameters?: UpdatePromptSnippetPromptSnippetsModelParameters$Outbound | undefined;
|
|
2638
|
-
provider?: string | undefined;
|
|
2639
|
-
integration_id?: string | null | undefined;
|
|
2640
|
-
version?: string | undefined;
|
|
2641
|
-
messages: Array<UpdatePromptSnippetPromptSnippetsMessages$Outbound>;
|
|
2642
|
-
};
|
|
2643
|
-
/** @internal */
|
|
2644
|
-
export declare const UpdatePromptSnippetPromptSnippetsPromptConfig$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsPromptConfig>;
|
|
2645
|
-
/**
|
|
2646
|
-
* @internal
|
|
2647
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2648
|
-
*/
|
|
2649
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsPromptConfig$ {
|
|
2650
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsPromptConfig$inboundSchema` instead. */
|
|
2651
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsPromptConfig, z.ZodTypeDef, unknown>;
|
|
2652
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsPromptConfig$outboundSchema` instead. */
|
|
2653
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsPromptConfig>;
|
|
2654
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsPromptConfig$Outbound` instead. */
|
|
2655
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsPromptConfig$Outbound;
|
|
2656
|
-
}
|
|
2657
|
-
export declare function updatePromptSnippetPromptSnippetsPromptConfigToJSON(updatePromptSnippetPromptSnippetsPromptConfig: UpdatePromptSnippetPromptSnippetsPromptConfig): string;
|
|
2658
|
-
export declare function updatePromptSnippetPromptSnippetsPromptConfigFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsPromptConfig, SDKValidationError>;
|
|
2659
|
-
/** @internal */
|
|
2660
|
-
export declare const UpdatePromptSnippetPromptSnippetsUseCases$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsUseCases>;
|
|
2661
|
-
/** @internal */
|
|
2662
|
-
export declare const UpdatePromptSnippetPromptSnippetsUseCases$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsUseCases>;
|
|
2663
|
-
/**
|
|
2664
|
-
* @internal
|
|
2665
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2666
|
-
*/
|
|
2667
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsUseCases$ {
|
|
2668
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsUseCases$inboundSchema` instead. */
|
|
2669
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2670
|
-
readonly Agents: "Agents";
|
|
2671
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
2672
|
-
readonly APIInteraction: "API interaction";
|
|
2673
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
2674
|
-
readonly Chatbots: "Chatbots";
|
|
2675
|
-
readonly Classification: "Classification";
|
|
2676
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
2677
|
-
readonly CodeWriting: "Code writing";
|
|
2678
|
-
readonly DocumentsQA: "Documents QA";
|
|
2679
|
-
readonly Conversation: "Conversation";
|
|
2680
|
-
readonly Extraction: "Extraction";
|
|
2681
|
-
readonly MultiModal: "Multi-modal";
|
|
2682
|
-
readonly SelfChecking: "Self-checking";
|
|
2683
|
-
readonly Sql: "SQL";
|
|
2684
|
-
readonly Summarization: "Summarization";
|
|
2685
|
-
readonly Tagging: "Tagging";
|
|
2686
|
-
}>;
|
|
2687
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsUseCases$outboundSchema` instead. */
|
|
2688
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2689
|
-
readonly Agents: "Agents";
|
|
2690
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
2691
|
-
readonly APIInteraction: "API interaction";
|
|
2692
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
2693
|
-
readonly Chatbots: "Chatbots";
|
|
2694
|
-
readonly Classification: "Classification";
|
|
2695
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
2696
|
-
readonly CodeWriting: "Code writing";
|
|
2697
|
-
readonly DocumentsQA: "Documents QA";
|
|
2698
|
-
readonly Conversation: "Conversation";
|
|
2699
|
-
readonly Extraction: "Extraction";
|
|
2700
|
-
readonly MultiModal: "Multi-modal";
|
|
2701
|
-
readonly SelfChecking: "Self-checking";
|
|
2702
|
-
readonly Sql: "SQL";
|
|
2703
|
-
readonly Summarization: "Summarization";
|
|
2704
|
-
readonly Tagging: "Tagging";
|
|
2705
|
-
}>;
|
|
2706
|
-
}
|
|
2707
|
-
/** @internal */
|
|
2708
|
-
export declare const UpdatePromptSnippetPromptSnippetsLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsLanguage>;
|
|
2709
|
-
/** @internal */
|
|
2710
|
-
export declare const UpdatePromptSnippetPromptSnippetsLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsLanguage>;
|
|
2711
|
-
/**
|
|
2712
|
-
* @internal
|
|
2713
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2714
|
-
*/
|
|
2715
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsLanguage$ {
|
|
2716
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsLanguage$inboundSchema` instead. */
|
|
2717
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2718
|
-
readonly Chinese: "Chinese";
|
|
2719
|
-
readonly Dutch: "Dutch";
|
|
2720
|
-
readonly English: "English";
|
|
2721
|
-
readonly French: "French";
|
|
2722
|
-
readonly German: "German";
|
|
2723
|
-
readonly Russian: "Russian";
|
|
2724
|
-
readonly Spanish: "Spanish";
|
|
2725
|
-
}>;
|
|
2726
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsLanguage$outboundSchema` instead. */
|
|
2727
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2728
|
-
readonly Chinese: "Chinese";
|
|
2729
|
-
readonly Dutch: "Dutch";
|
|
2730
|
-
readonly English: "English";
|
|
2731
|
-
readonly French: "French";
|
|
2732
|
-
readonly German: "German";
|
|
2733
|
-
readonly Russian: "Russian";
|
|
2734
|
-
readonly Spanish: "Spanish";
|
|
2735
|
-
}>;
|
|
2736
|
-
}
|
|
2737
|
-
/** @internal */
|
|
2738
|
-
export declare const UpdatePromptSnippetPromptSnippetsMetadata$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsMetadata, z.ZodTypeDef, unknown>;
|
|
2739
|
-
/** @internal */
|
|
2740
|
-
export type UpdatePromptSnippetPromptSnippetsMetadata$Outbound = {
|
|
2741
|
-
use_cases?: Array<string> | undefined;
|
|
2742
|
-
language?: string | undefined;
|
|
2743
|
-
};
|
|
2744
|
-
/** @internal */
|
|
2745
|
-
export declare const UpdatePromptSnippetPromptSnippetsMetadata$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsMetadata$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsMetadata>;
|
|
2746
|
-
/**
|
|
2747
|
-
* @internal
|
|
2748
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2749
|
-
*/
|
|
2750
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsMetadata$ {
|
|
2751
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsMetadata$inboundSchema` instead. */
|
|
2752
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsMetadata, z.ZodTypeDef, unknown>;
|
|
2753
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsMetadata$outboundSchema` instead. */
|
|
2754
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsMetadata$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsMetadata>;
|
|
2755
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsMetadata$Outbound` instead. */
|
|
2756
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsMetadata$Outbound;
|
|
2757
|
-
}
|
|
2758
|
-
export declare function updatePromptSnippetPromptSnippetsMetadataToJSON(updatePromptSnippetPromptSnippetsMetadata: UpdatePromptSnippetPromptSnippetsMetadata): string;
|
|
2759
|
-
export declare function updatePromptSnippetPromptSnippetsMetadataFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsMetadata, SDKValidationError>;
|
|
2760
|
-
/** @internal */
|
|
2761
|
-
export declare const UpdatePromptSnippetPromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsType>;
|
|
2762
|
-
/** @internal */
|
|
2763
|
-
export declare const UpdatePromptSnippetPromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsType>;
|
|
2764
|
-
/**
|
|
2765
|
-
* @internal
|
|
2766
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2767
|
-
*/
|
|
2768
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsType$ {
|
|
2769
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsType$inboundSchema` instead. */
|
|
2770
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2771
|
-
readonly Snippet: "snippet";
|
|
2772
|
-
}>;
|
|
2773
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsType$outboundSchema` instead. */
|
|
2774
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2775
|
-
readonly Snippet: "snippet";
|
|
2776
|
-
}>;
|
|
2777
|
-
}
|
|
2778
|
-
/** @internal */
|
|
2779
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseModelType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseModelType>;
|
|
2780
|
-
/** @internal */
|
|
2781
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseModelType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseModelType>;
|
|
2782
|
-
/**
|
|
2783
|
-
* @internal
|
|
2784
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2785
|
-
*/
|
|
2786
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseModelType$ {
|
|
2787
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseModelType$inboundSchema` instead. */
|
|
2788
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2789
|
-
readonly Chat: "chat";
|
|
2790
|
-
readonly Completion: "completion";
|
|
2791
|
-
readonly Embedding: "embedding";
|
|
2792
|
-
readonly Vision: "vision";
|
|
2793
|
-
readonly Image: "image";
|
|
2794
|
-
readonly Tts: "tts";
|
|
2795
|
-
readonly Stt: "stt";
|
|
2796
|
-
readonly Rerank: "rerank";
|
|
2797
|
-
readonly Moderations: "moderations";
|
|
2798
|
-
}>;
|
|
2799
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseModelType$outboundSchema` instead. */
|
|
2800
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2801
|
-
readonly Chat: "chat";
|
|
2802
|
-
readonly Completion: "completion";
|
|
2803
|
-
readonly Embedding: "embedding";
|
|
2804
|
-
readonly Vision: "vision";
|
|
2805
|
-
readonly Image: "image";
|
|
2806
|
-
readonly Tts: "tts";
|
|
2807
|
-
readonly Stt: "stt";
|
|
2808
|
-
readonly Rerank: "rerank";
|
|
2809
|
-
readonly Moderations: "moderations";
|
|
2810
|
-
}>;
|
|
2811
|
-
}
|
|
2812
|
-
/** @internal */
|
|
2813
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponse200Format$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponse200Format>;
|
|
2814
|
-
/** @internal */
|
|
2815
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponse200Format$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponse200Format>;
|
|
2816
|
-
/**
|
|
2817
|
-
* @internal
|
|
2818
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2819
|
-
*/
|
|
2820
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponse200Format$ {
|
|
2821
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponse200Format$inboundSchema` instead. */
|
|
2822
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2823
|
-
readonly Url: "url";
|
|
2824
|
-
readonly B64Json: "b64_json";
|
|
2825
|
-
readonly Text: "text";
|
|
2826
|
-
readonly JsonObject: "json_object";
|
|
2827
|
-
}>;
|
|
2828
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponse200Format$outboundSchema` instead. */
|
|
2829
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2830
|
-
readonly Url: "url";
|
|
2831
|
-
readonly B64Json: "b64_json";
|
|
2832
|
-
readonly Text: "text";
|
|
2833
|
-
readonly JsonObject: "json_object";
|
|
2834
|
-
}>;
|
|
2835
|
-
}
|
|
2836
|
-
/** @internal */
|
|
2837
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseQuality$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseQuality>;
|
|
2838
|
-
/** @internal */
|
|
2839
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseQuality$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseQuality>;
|
|
2840
|
-
/**
|
|
2841
|
-
* @internal
|
|
2842
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2843
|
-
*/
|
|
2844
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseQuality$ {
|
|
2845
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseQuality$inboundSchema` instead. */
|
|
2846
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2847
|
-
readonly Standard: "standard";
|
|
2848
|
-
readonly Hd: "hd";
|
|
2849
|
-
}>;
|
|
2850
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseQuality$outboundSchema` instead. */
|
|
2851
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2852
|
-
readonly Standard: "standard";
|
|
2853
|
-
readonly Hd: "hd";
|
|
2854
|
-
}>;
|
|
2855
|
-
}
|
|
2856
|
-
/** @internal */
|
|
2857
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONResponseBodyType>;
|
|
2858
|
-
/** @internal */
|
|
2859
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONResponseBodyType>;
|
|
2860
|
-
/**
|
|
2861
|
-
* @internal
|
|
2862
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2863
|
-
*/
|
|
2864
|
-
export declare namespace UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONResponseBodyType$ {
|
|
2865
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
2866
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2867
|
-
readonly JsonObject: "json_object";
|
|
2868
|
-
}>;
|
|
2869
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
2870
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2871
|
-
readonly JsonObject: "json_object";
|
|
2872
|
-
}>;
|
|
2873
|
-
}
|
|
2874
|
-
/** @internal */
|
|
2875
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse2$inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippetsResponse2, z.ZodTypeDef, unknown>;
|
|
2876
|
-
/** @internal */
|
|
2877
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippetsResponse2$Outbound = {
|
|
2878
|
-
type: string;
|
|
2879
|
-
};
|
|
2880
|
-
/** @internal */
|
|
2881
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse2$outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippetsResponse2$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormatPromptSnippetsResponse2>;
|
|
2882
|
-
/**
|
|
2883
|
-
* @internal
|
|
2884
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2885
|
-
*/
|
|
2886
|
-
export declare namespace UpdatePromptSnippetResponseFormatPromptSnippetsResponse2$ {
|
|
2887
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponse2$inboundSchema` instead. */
|
|
2888
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippetsResponse2, z.ZodTypeDef, unknown>;
|
|
2889
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponse2$outboundSchema` instead. */
|
|
2890
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippetsResponse2$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormatPromptSnippetsResponse2>;
|
|
2891
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponse2$Outbound` instead. */
|
|
2892
|
-
type Outbound = UpdatePromptSnippetResponseFormatPromptSnippetsResponse2$Outbound;
|
|
2893
|
-
}
|
|
2894
|
-
export declare function updatePromptSnippetResponseFormatPromptSnippetsResponse2ToJSON(updatePromptSnippetResponseFormatPromptSnippetsResponse2: UpdatePromptSnippetResponseFormatPromptSnippetsResponse2): string;
|
|
2895
|
-
export declare function updatePromptSnippetResponseFormatPromptSnippetsResponse2FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetResponseFormatPromptSnippetsResponse2, SDKValidationError>;
|
|
2896
|
-
/** @internal */
|
|
2897
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType>;
|
|
2898
|
-
/** @internal */
|
|
2899
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType>;
|
|
2900
|
-
/**
|
|
2901
|
-
* @internal
|
|
2902
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2903
|
-
*/
|
|
2904
|
-
export declare namespace UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$ {
|
|
2905
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
2906
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2907
|
-
readonly JsonSchema: "json_schema";
|
|
2908
|
-
}>;
|
|
2909
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
2910
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2911
|
-
readonly JsonSchema: "json_schema";
|
|
2912
|
-
}>;
|
|
2913
|
-
}
|
|
2914
|
-
/** @internal */
|
|
2915
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema$inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema, z.ZodTypeDef, unknown>;
|
|
2916
|
-
/** @internal */
|
|
2917
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound = {
|
|
2918
|
-
name: string;
|
|
2919
|
-
strict: boolean;
|
|
2920
|
-
schema: {
|
|
2921
|
-
[k: string]: any;
|
|
2922
|
-
};
|
|
2923
|
-
};
|
|
2924
|
-
/** @internal */
|
|
2925
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema$outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema>;
|
|
2926
|
-
/**
|
|
2927
|
-
* @internal
|
|
2928
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2929
|
-
*/
|
|
2930
|
-
export declare namespace UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema$ {
|
|
2931
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema$inboundSchema` instead. */
|
|
2932
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema, z.ZodTypeDef, unknown>;
|
|
2933
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema$outboundSchema` instead. */
|
|
2934
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema>;
|
|
2935
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound` instead. */
|
|
2936
|
-
type Outbound = UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound;
|
|
2937
|
-
}
|
|
2938
|
-
export declare function updatePromptSnippetResponseFormatPromptSnippetsJsonSchemaToJSON(updatePromptSnippetResponseFormatPromptSnippetsJsonSchema: UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema): string;
|
|
2939
|
-
export declare function updatePromptSnippetResponseFormatPromptSnippetsJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema, SDKValidationError>;
|
|
2940
|
-
/** @internal */
|
|
2941
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse1$inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippetsResponse1, z.ZodTypeDef, unknown>;
|
|
2942
|
-
/** @internal */
|
|
2943
|
-
export type UpdatePromptSnippetResponseFormatPromptSnippetsResponse1$Outbound = {
|
|
2944
|
-
type: string;
|
|
2945
|
-
json_schema: UpdatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound;
|
|
2946
|
-
};
|
|
2947
|
-
/** @internal */
|
|
2948
|
-
export declare const UpdatePromptSnippetResponseFormatPromptSnippetsResponse1$outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippetsResponse1$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormatPromptSnippetsResponse1>;
|
|
2949
|
-
/**
|
|
2950
|
-
* @internal
|
|
2951
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2952
|
-
*/
|
|
2953
|
-
export declare namespace UpdatePromptSnippetResponseFormatPromptSnippetsResponse1$ {
|
|
2954
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponse1$inboundSchema` instead. */
|
|
2955
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippetsResponse1, z.ZodTypeDef, unknown>;
|
|
2956
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponse1$outboundSchema` instead. */
|
|
2957
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetResponseFormatPromptSnippetsResponse1$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseFormatPromptSnippetsResponse1>;
|
|
2958
|
-
/** @deprecated use `UpdatePromptSnippetResponseFormatPromptSnippetsResponse1$Outbound` instead. */
|
|
2959
|
-
type Outbound = UpdatePromptSnippetResponseFormatPromptSnippetsResponse1$Outbound;
|
|
2960
|
-
}
|
|
2961
|
-
export declare function updatePromptSnippetResponseFormatPromptSnippetsResponse1ToJSON(updatePromptSnippetResponseFormatPromptSnippetsResponse1: UpdatePromptSnippetResponseFormatPromptSnippetsResponse1): string;
|
|
2962
|
-
export declare function updatePromptSnippetResponseFormatPromptSnippetsResponse1FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetResponseFormatPromptSnippetsResponse1, SDKValidationError>;
|
|
2963
|
-
/** @internal */
|
|
2964
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseResponseFormat$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseResponseFormat, z.ZodTypeDef, unknown>;
|
|
2965
|
-
/** @internal */
|
|
2966
|
-
export type UpdatePromptSnippetPromptSnippetsResponseResponseFormat$Outbound = UpdatePromptSnippetResponseFormatPromptSnippetsResponse2$Outbound | UpdatePromptSnippetResponseFormatPromptSnippetsResponse1$Outbound;
|
|
2967
|
-
/** @internal */
|
|
2968
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseResponseFormat$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseResponseFormat>;
|
|
2969
|
-
/**
|
|
2970
|
-
* @internal
|
|
2971
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2972
|
-
*/
|
|
2973
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseResponseFormat$ {
|
|
2974
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseResponseFormat$inboundSchema` instead. */
|
|
2975
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseResponseFormat, z.ZodTypeDef, unknown>;
|
|
2976
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseResponseFormat$outboundSchema` instead. */
|
|
2977
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseResponseFormat>;
|
|
2978
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseResponseFormat$Outbound` instead. */
|
|
2979
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsResponseResponseFormat$Outbound;
|
|
2980
|
-
}
|
|
2981
|
-
export declare function updatePromptSnippetPromptSnippetsResponseResponseFormatToJSON(updatePromptSnippetPromptSnippetsResponseResponseFormat: UpdatePromptSnippetPromptSnippetsResponseResponseFormat): string;
|
|
2982
|
-
export declare function updatePromptSnippetPromptSnippetsResponseResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsResponseResponseFormat, SDKValidationError>;
|
|
2983
|
-
/** @internal */
|
|
2984
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponsePhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponsePhotoRealVersion>;
|
|
2985
|
-
/** @internal */
|
|
2986
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponsePhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponsePhotoRealVersion>;
|
|
2987
|
-
/**
|
|
2988
|
-
* @internal
|
|
2989
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2990
|
-
*/
|
|
2991
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponsePhotoRealVersion$ {
|
|
2992
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponsePhotoRealVersion$inboundSchema` instead. */
|
|
2993
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2994
|
-
readonly V1: "v1";
|
|
2995
|
-
readonly V2: "v2";
|
|
2996
|
-
}>;
|
|
2997
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponsePhotoRealVersion$outboundSchema` instead. */
|
|
2998
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2999
|
-
readonly V1: "v1";
|
|
3000
|
-
readonly V2: "v2";
|
|
3001
|
-
}>;
|
|
3002
|
-
}
|
|
3003
|
-
/** @internal */
|
|
3004
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseEncodingFormat>;
|
|
3005
|
-
/** @internal */
|
|
3006
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseEncodingFormat>;
|
|
3007
|
-
/**
|
|
3008
|
-
* @internal
|
|
3009
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3010
|
-
*/
|
|
3011
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseEncodingFormat$ {
|
|
3012
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseEncodingFormat$inboundSchema` instead. */
|
|
3013
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
3014
|
-
readonly Float: "float";
|
|
3015
|
-
readonly Base64: "base64";
|
|
3016
|
-
}>;
|
|
3017
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseEncodingFormat$outboundSchema` instead. */
|
|
3018
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
3019
|
-
readonly Float: "float";
|
|
3020
|
-
readonly Base64: "base64";
|
|
3021
|
-
}>;
|
|
3022
|
-
}
|
|
3023
|
-
/** @internal */
|
|
3024
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseReasoningEffort>;
|
|
3025
|
-
/** @internal */
|
|
3026
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseReasoningEffort>;
|
|
3027
|
-
/**
|
|
3028
|
-
* @internal
|
|
3029
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3030
|
-
*/
|
|
3031
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseReasoningEffort$ {
|
|
3032
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseReasoningEffort$inboundSchema` instead. */
|
|
3033
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
3034
|
-
readonly Low: "low";
|
|
3035
|
-
readonly Medium: "medium";
|
|
3036
|
-
readonly High: "high";
|
|
3037
|
-
}>;
|
|
3038
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseReasoningEffort$outboundSchema` instead. */
|
|
3039
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
3040
|
-
readonly Low: "low";
|
|
3041
|
-
readonly Medium: "medium";
|
|
3042
|
-
readonly High: "high";
|
|
3043
|
-
}>;
|
|
3044
|
-
}
|
|
3045
|
-
/** @internal */
|
|
3046
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseModelParameters$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseModelParameters, z.ZodTypeDef, unknown>;
|
|
3047
|
-
/** @internal */
|
|
3048
|
-
export type UpdatePromptSnippetPromptSnippetsResponseModelParameters$Outbound = {
|
|
3049
|
-
temperature?: number | undefined;
|
|
3050
|
-
maxTokens?: number | undefined;
|
|
3051
|
-
topK?: number | undefined;
|
|
3052
|
-
topP?: number | undefined;
|
|
3053
|
-
frequencyPenalty?: number | undefined;
|
|
3054
|
-
presencePenalty?: number | undefined;
|
|
3055
|
-
numImages?: number | undefined;
|
|
3056
|
-
seed?: number | undefined;
|
|
3057
|
-
format?: string | undefined;
|
|
3058
|
-
dimensions?: string | undefined;
|
|
3059
|
-
quality?: string | undefined;
|
|
3060
|
-
style?: string | undefined;
|
|
3061
|
-
responseFormat?: UpdatePromptSnippetResponseFormatPromptSnippetsResponse2$Outbound | UpdatePromptSnippetResponseFormatPromptSnippetsResponse1$Outbound | null | undefined;
|
|
3062
|
-
photoRealVersion?: string | undefined;
|
|
3063
|
-
encoding_format?: string | undefined;
|
|
3064
|
-
reasoningEffort?: string | undefined;
|
|
3065
|
-
};
|
|
3066
|
-
/** @internal */
|
|
3067
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseModelParameters$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseModelParameters$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseModelParameters>;
|
|
3068
|
-
/**
|
|
3069
|
-
* @internal
|
|
3070
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3071
|
-
*/
|
|
3072
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseModelParameters$ {
|
|
3073
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseModelParameters$inboundSchema` instead. */
|
|
3074
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseModelParameters, z.ZodTypeDef, unknown>;
|
|
3075
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseModelParameters$outboundSchema` instead. */
|
|
3076
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseModelParameters$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseModelParameters>;
|
|
3077
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseModelParameters$Outbound` instead. */
|
|
3078
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsResponseModelParameters$Outbound;
|
|
3079
|
-
}
|
|
3080
|
-
export declare function updatePromptSnippetPromptSnippetsResponseModelParametersToJSON(updatePromptSnippetPromptSnippetsResponseModelParameters: UpdatePromptSnippetPromptSnippetsResponseModelParameters): string;
|
|
3081
|
-
export declare function updatePromptSnippetPromptSnippetsResponseModelParametersFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsResponseModelParameters, SDKValidationError>;
|
|
3082
|
-
/** @internal */
|
|
3083
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseProvider$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseProvider>;
|
|
3084
|
-
/** @internal */
|
|
3085
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseProvider$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseProvider>;
|
|
3086
|
-
/**
|
|
3087
|
-
* @internal
|
|
3088
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3089
|
-
*/
|
|
3090
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseProvider$ {
|
|
3091
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseProvider$inboundSchema` instead. */
|
|
3092
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
3093
|
-
readonly Cohere: "cohere";
|
|
3094
|
-
readonly Openai: "openai";
|
|
3095
|
-
readonly Anthropic: "anthropic";
|
|
3096
|
-
readonly Huggingface: "huggingface";
|
|
3097
|
-
readonly Replicate: "replicate";
|
|
3098
|
-
readonly Google: "google";
|
|
3099
|
-
readonly GoogleAi: "google-ai";
|
|
3100
|
-
readonly Azure: "azure";
|
|
3101
|
-
readonly Aws: "aws";
|
|
3102
|
-
readonly Anyscale: "anyscale";
|
|
3103
|
-
readonly Perplexity: "perplexity";
|
|
3104
|
-
readonly Groq: "groq";
|
|
3105
|
-
readonly Fal: "fal";
|
|
3106
|
-
readonly Leonardoai: "leonardoai";
|
|
3107
|
-
readonly Nvidia: "nvidia";
|
|
3108
|
-
readonly Jina: "jina";
|
|
3109
|
-
readonly Togetherai: "togetherai";
|
|
3110
|
-
readonly Elevenlabs: "elevenlabs";
|
|
3111
|
-
}>;
|
|
3112
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseProvider$outboundSchema` instead. */
|
|
3113
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
3114
|
-
readonly Cohere: "cohere";
|
|
3115
|
-
readonly Openai: "openai";
|
|
3116
|
-
readonly Anthropic: "anthropic";
|
|
3117
|
-
readonly Huggingface: "huggingface";
|
|
3118
|
-
readonly Replicate: "replicate";
|
|
3119
|
-
readonly Google: "google";
|
|
3120
|
-
readonly GoogleAi: "google-ai";
|
|
3121
|
-
readonly Azure: "azure";
|
|
3122
|
-
readonly Aws: "aws";
|
|
3123
|
-
readonly Anyscale: "anyscale";
|
|
3124
|
-
readonly Perplexity: "perplexity";
|
|
3125
|
-
readonly Groq: "groq";
|
|
3126
|
-
readonly Fal: "fal";
|
|
3127
|
-
readonly Leonardoai: "leonardoai";
|
|
3128
|
-
readonly Nvidia: "nvidia";
|
|
3129
|
-
readonly Jina: "jina";
|
|
3130
|
-
readonly Togetherai: "togetherai";
|
|
3131
|
-
readonly Elevenlabs: "elevenlabs";
|
|
3132
|
-
}>;
|
|
3133
|
-
}
|
|
3134
|
-
/** @internal */
|
|
3135
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseRole$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseRole>;
|
|
3136
|
-
/** @internal */
|
|
3137
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseRole$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseRole>;
|
|
3138
|
-
/**
|
|
3139
|
-
* @internal
|
|
3140
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3141
|
-
*/
|
|
3142
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseRole$ {
|
|
3143
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseRole$inboundSchema` instead. */
|
|
3144
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
3145
|
-
readonly System: "system";
|
|
3146
|
-
readonly Assistant: "assistant";
|
|
3147
|
-
readonly User: "user";
|
|
3148
|
-
readonly Exception: "exception";
|
|
3149
|
-
readonly Tool: "tool";
|
|
3150
|
-
readonly Prompt: "prompt";
|
|
3151
|
-
readonly Correction: "correction";
|
|
3152
|
-
readonly ExpectedOutput: "expected_output";
|
|
3153
|
-
}>;
|
|
3154
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseRole$outboundSchema` instead. */
|
|
3155
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
3156
|
-
readonly System: "system";
|
|
3157
|
-
readonly Assistant: "assistant";
|
|
3158
|
-
readonly User: "user";
|
|
3159
|
-
readonly Exception: "exception";
|
|
3160
|
-
readonly Tool: "tool";
|
|
3161
|
-
readonly Prompt: "prompt";
|
|
3162
|
-
readonly Correction: "correction";
|
|
3163
|
-
readonly ExpectedOutput: "expected_output";
|
|
3164
|
-
}>;
|
|
3165
|
-
}
|
|
3166
|
-
/** @internal */
|
|
3167
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType>;
|
|
3168
|
-
/** @internal */
|
|
3169
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType>;
|
|
3170
|
-
/**
|
|
3171
|
-
* @internal
|
|
3172
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3173
|
-
*/
|
|
3174
|
-
export declare namespace UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$ {
|
|
3175
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
3176
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
3177
|
-
readonly ImageUrl: "image_url";
|
|
3178
|
-
}>;
|
|
3179
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
3180
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
3181
|
-
readonly ImageUrl: "image_url";
|
|
3182
|
-
}>;
|
|
3183
|
-
}
|
|
3184
|
-
/** @internal */
|
|
3185
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponseImageUrl$inboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsResponseImageUrl, z.ZodTypeDef, unknown>;
|
|
3186
|
-
/** @internal */
|
|
3187
|
-
export type UpdatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound = {
|
|
3188
|
-
id?: string | undefined;
|
|
3189
|
-
url: string;
|
|
3190
|
-
detail?: string | undefined;
|
|
3191
|
-
};
|
|
3192
|
-
/** @internal */
|
|
3193
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponseImageUrl$outboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound, z.ZodTypeDef, UpdatePromptSnippet2PromptSnippetsResponseImageUrl>;
|
|
3194
|
-
/**
|
|
3195
|
-
* @internal
|
|
3196
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3197
|
-
*/
|
|
3198
|
-
export declare namespace UpdatePromptSnippet2PromptSnippetsResponseImageUrl$ {
|
|
3199
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponseImageUrl$inboundSchema` instead. */
|
|
3200
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsResponseImageUrl, z.ZodTypeDef, unknown>;
|
|
3201
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponseImageUrl$outboundSchema` instead. */
|
|
3202
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound, z.ZodTypeDef, UpdatePromptSnippet2PromptSnippetsResponseImageUrl>;
|
|
3203
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound` instead. */
|
|
3204
|
-
type Outbound = UpdatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound;
|
|
3205
|
-
}
|
|
3206
|
-
export declare function updatePromptSnippet2PromptSnippetsResponseImageUrlToJSON(updatePromptSnippet2PromptSnippetsResponseImageUrl: UpdatePromptSnippet2PromptSnippetsResponseImageUrl): string;
|
|
3207
|
-
export declare function updatePromptSnippet2PromptSnippetsResponseImageUrlFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippet2PromptSnippetsResponseImageUrl, SDKValidationError>;
|
|
3208
|
-
/** @internal */
|
|
3209
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse2$inboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsResponse2, z.ZodTypeDef, unknown>;
|
|
3210
|
-
/** @internal */
|
|
3211
|
-
export type UpdatePromptSnippet2PromptSnippetsResponse2$Outbound = {
|
|
3212
|
-
type: string;
|
|
3213
|
-
image_url: UpdatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound;
|
|
3214
|
-
};
|
|
3215
|
-
/** @internal */
|
|
3216
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse2$outboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsResponse2$Outbound, z.ZodTypeDef, UpdatePromptSnippet2PromptSnippetsResponse2>;
|
|
3217
|
-
/**
|
|
3218
|
-
* @internal
|
|
3219
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3220
|
-
*/
|
|
3221
|
-
export declare namespace UpdatePromptSnippet2PromptSnippetsResponse2$ {
|
|
3222
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponse2$inboundSchema` instead. */
|
|
3223
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsResponse2, z.ZodTypeDef, unknown>;
|
|
3224
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponse2$outboundSchema` instead. */
|
|
3225
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsResponse2$Outbound, z.ZodTypeDef, UpdatePromptSnippet2PromptSnippetsResponse2>;
|
|
3226
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponse2$Outbound` instead. */
|
|
3227
|
-
type Outbound = UpdatePromptSnippet2PromptSnippetsResponse2$Outbound;
|
|
3228
|
-
}
|
|
3229
|
-
export declare function updatePromptSnippet2PromptSnippetsResponse2ToJSON(updatePromptSnippet2PromptSnippetsResponse2: UpdatePromptSnippet2PromptSnippetsResponse2): string;
|
|
3230
|
-
export declare function updatePromptSnippet2PromptSnippetsResponse2FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippet2PromptSnippetsResponse2, SDKValidationError>;
|
|
3231
|
-
/** @internal */
|
|
3232
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType>;
|
|
3233
|
-
/** @internal */
|
|
3234
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType>;
|
|
3235
|
-
/**
|
|
3236
|
-
* @internal
|
|
3237
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3238
|
-
*/
|
|
3239
|
-
export declare namespace UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$ {
|
|
3240
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
3241
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
3242
|
-
readonly Text: "text";
|
|
3243
|
-
}>;
|
|
3244
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
3245
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
3246
|
-
readonly Text: "text";
|
|
3247
|
-
}>;
|
|
3248
|
-
}
|
|
3249
|
-
/** @internal */
|
|
3250
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse1$inboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsResponse1, z.ZodTypeDef, unknown>;
|
|
3251
|
-
/** @internal */
|
|
3252
|
-
export type UpdatePromptSnippet2PromptSnippetsResponse1$Outbound = {
|
|
3253
|
-
type: string;
|
|
3254
|
-
text: string;
|
|
3255
|
-
};
|
|
3256
|
-
/** @internal */
|
|
3257
|
-
export declare const UpdatePromptSnippet2PromptSnippetsResponse1$outboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsResponse1$Outbound, z.ZodTypeDef, UpdatePromptSnippet2PromptSnippetsResponse1>;
|
|
3258
|
-
/**
|
|
3259
|
-
* @internal
|
|
3260
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3261
|
-
*/
|
|
3262
|
-
export declare namespace UpdatePromptSnippet2PromptSnippetsResponse1$ {
|
|
3263
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponse1$inboundSchema` instead. */
|
|
3264
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsResponse1, z.ZodTypeDef, unknown>;
|
|
3265
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponse1$outboundSchema` instead. */
|
|
3266
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippet2PromptSnippetsResponse1$Outbound, z.ZodTypeDef, UpdatePromptSnippet2PromptSnippetsResponse1>;
|
|
3267
|
-
/** @deprecated use `UpdatePromptSnippet2PromptSnippetsResponse1$Outbound` instead. */
|
|
3268
|
-
type Outbound = UpdatePromptSnippet2PromptSnippetsResponse1$Outbound;
|
|
3269
|
-
}
|
|
3270
|
-
export declare function updatePromptSnippet2PromptSnippetsResponse1ToJSON(updatePromptSnippet2PromptSnippetsResponse1: UpdatePromptSnippet2PromptSnippetsResponse1): string;
|
|
3271
|
-
export declare function updatePromptSnippet2PromptSnippetsResponse1FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippet2PromptSnippetsResponse1, SDKValidationError>;
|
|
3272
|
-
/** @internal */
|
|
3273
|
-
export declare const UpdatePromptSnippetContentPromptSnippetsResponse2$inboundSchema: z.ZodType<UpdatePromptSnippetContentPromptSnippetsResponse2, z.ZodTypeDef, unknown>;
|
|
3274
|
-
/** @internal */
|
|
3275
|
-
export type UpdatePromptSnippetContentPromptSnippetsResponse2$Outbound = UpdatePromptSnippet2PromptSnippetsResponse1$Outbound | UpdatePromptSnippet2PromptSnippetsResponse2$Outbound;
|
|
3276
|
-
/** @internal */
|
|
3277
|
-
export declare const UpdatePromptSnippetContentPromptSnippetsResponse2$outboundSchema: z.ZodType<UpdatePromptSnippetContentPromptSnippetsResponse2$Outbound, z.ZodTypeDef, UpdatePromptSnippetContentPromptSnippetsResponse2>;
|
|
3278
|
-
/**
|
|
3279
|
-
* @internal
|
|
3280
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3281
|
-
*/
|
|
3282
|
-
export declare namespace UpdatePromptSnippetContentPromptSnippetsResponse2$ {
|
|
3283
|
-
/** @deprecated use `UpdatePromptSnippetContentPromptSnippetsResponse2$inboundSchema` instead. */
|
|
3284
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetContentPromptSnippetsResponse2, z.ZodTypeDef, unknown>;
|
|
3285
|
-
/** @deprecated use `UpdatePromptSnippetContentPromptSnippetsResponse2$outboundSchema` instead. */
|
|
3286
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetContentPromptSnippetsResponse2$Outbound, z.ZodTypeDef, UpdatePromptSnippetContentPromptSnippetsResponse2>;
|
|
3287
|
-
/** @deprecated use `UpdatePromptSnippetContentPromptSnippetsResponse2$Outbound` instead. */
|
|
3288
|
-
type Outbound = UpdatePromptSnippetContentPromptSnippetsResponse2$Outbound;
|
|
3289
|
-
}
|
|
3290
|
-
export declare function updatePromptSnippetContentPromptSnippetsResponse2ToJSON(updatePromptSnippetContentPromptSnippetsResponse2: UpdatePromptSnippetContentPromptSnippetsResponse2): string;
|
|
3291
|
-
export declare function updatePromptSnippetContentPromptSnippetsResponse2FromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetContentPromptSnippetsResponse2, SDKValidationError>;
|
|
3292
|
-
/** @internal */
|
|
3293
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseContent$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseContent, z.ZodTypeDef, unknown>;
|
|
3294
|
-
/** @internal */
|
|
3295
|
-
export type UpdatePromptSnippetPromptSnippetsResponseContent$Outbound = string | Array<UpdatePromptSnippet2PromptSnippetsResponse1$Outbound | UpdatePromptSnippet2PromptSnippetsResponse2$Outbound>;
|
|
3296
|
-
/** @internal */
|
|
3297
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseContent$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseContent$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseContent>;
|
|
3298
|
-
/**
|
|
3299
|
-
* @internal
|
|
3300
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3301
|
-
*/
|
|
3302
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseContent$ {
|
|
3303
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseContent$inboundSchema` instead. */
|
|
3304
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseContent, z.ZodTypeDef, unknown>;
|
|
3305
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseContent$outboundSchema` instead. */
|
|
3306
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseContent$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseContent>;
|
|
3307
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseContent$Outbound` instead. */
|
|
3308
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsResponseContent$Outbound;
|
|
3309
|
-
}
|
|
3310
|
-
export declare function updatePromptSnippetPromptSnippetsResponseContentToJSON(updatePromptSnippetPromptSnippetsResponseContent: UpdatePromptSnippetPromptSnippetsResponseContent): string;
|
|
3311
|
-
export declare function updatePromptSnippetPromptSnippetsResponseContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsResponseContent, SDKValidationError>;
|
|
3312
|
-
/** @internal */
|
|
3313
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponse200Type>;
|
|
3314
|
-
/** @internal */
|
|
3315
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponse200Type>;
|
|
3316
|
-
/**
|
|
3317
|
-
* @internal
|
|
3318
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3319
|
-
*/
|
|
3320
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponse200Type$ {
|
|
3321
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponse200Type$inboundSchema` instead. */
|
|
3322
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
3323
|
-
readonly Function: "function";
|
|
3324
|
-
}>;
|
|
3325
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponse200Type$outboundSchema` instead. */
|
|
3326
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
3327
|
-
readonly Function: "function";
|
|
3328
|
-
}>;
|
|
3329
|
-
}
|
|
3330
|
-
/** @internal */
|
|
3331
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseFunction$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseFunction, z.ZodTypeDef, unknown>;
|
|
3332
|
-
/** @internal */
|
|
3333
|
-
export type UpdatePromptSnippetPromptSnippetsResponseFunction$Outbound = {
|
|
3334
|
-
name: string;
|
|
3335
|
-
arguments: string;
|
|
3336
|
-
};
|
|
3337
|
-
/** @internal */
|
|
3338
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseFunction$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseFunction$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseFunction>;
|
|
3339
|
-
/**
|
|
3340
|
-
* @internal
|
|
3341
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3342
|
-
*/
|
|
3343
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseFunction$ {
|
|
3344
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseFunction$inboundSchema` instead. */
|
|
3345
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseFunction, z.ZodTypeDef, unknown>;
|
|
3346
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseFunction$outboundSchema` instead. */
|
|
3347
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseFunction$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseFunction>;
|
|
3348
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseFunction$Outbound` instead. */
|
|
3349
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsResponseFunction$Outbound;
|
|
3350
|
-
}
|
|
3351
|
-
export declare function updatePromptSnippetPromptSnippetsResponseFunctionToJSON(updatePromptSnippetPromptSnippetsResponseFunction: UpdatePromptSnippetPromptSnippetsResponseFunction): string;
|
|
3352
|
-
export declare function updatePromptSnippetPromptSnippetsResponseFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsResponseFunction, SDKValidationError>;
|
|
3353
|
-
/** @internal */
|
|
3354
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseToolCalls$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseToolCalls, z.ZodTypeDef, unknown>;
|
|
3355
|
-
/** @internal */
|
|
3356
|
-
export type UpdatePromptSnippetPromptSnippetsResponseToolCalls$Outbound = {
|
|
3357
|
-
id?: string | undefined;
|
|
3358
|
-
index?: number | undefined;
|
|
3359
|
-
type: string;
|
|
3360
|
-
function: UpdatePromptSnippetPromptSnippetsResponseFunction$Outbound;
|
|
3361
|
-
};
|
|
3362
|
-
/** @internal */
|
|
3363
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseToolCalls$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseToolCalls$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseToolCalls>;
|
|
3364
|
-
/**
|
|
3365
|
-
* @internal
|
|
3366
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3367
|
-
*/
|
|
3368
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseToolCalls$ {
|
|
3369
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseToolCalls$inboundSchema` instead. */
|
|
3370
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseToolCalls, z.ZodTypeDef, unknown>;
|
|
3371
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseToolCalls$outboundSchema` instead. */
|
|
3372
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseToolCalls$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseToolCalls>;
|
|
3373
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseToolCalls$Outbound` instead. */
|
|
3374
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsResponseToolCalls$Outbound;
|
|
3375
|
-
}
|
|
3376
|
-
export declare function updatePromptSnippetPromptSnippetsResponseToolCallsToJSON(updatePromptSnippetPromptSnippetsResponseToolCalls: UpdatePromptSnippetPromptSnippetsResponseToolCalls): string;
|
|
3377
|
-
export declare function updatePromptSnippetPromptSnippetsResponseToolCallsFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsResponseToolCalls, SDKValidationError>;
|
|
3378
|
-
/** @internal */
|
|
3379
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseMessages$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseMessages, z.ZodTypeDef, unknown>;
|
|
3380
|
-
/** @internal */
|
|
3381
|
-
export type UpdatePromptSnippetPromptSnippetsResponseMessages$Outbound = {
|
|
3382
|
-
role: string;
|
|
3383
|
-
content: string | Array<UpdatePromptSnippet2PromptSnippetsResponse1$Outbound | UpdatePromptSnippet2PromptSnippetsResponse2$Outbound>;
|
|
3384
|
-
tool_calls?: Array<UpdatePromptSnippetPromptSnippetsResponseToolCalls$Outbound> | undefined;
|
|
3385
|
-
};
|
|
3386
|
-
/** @internal */
|
|
3387
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseMessages$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseMessages$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseMessages>;
|
|
3388
|
-
/**
|
|
3389
|
-
* @internal
|
|
3390
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3391
|
-
*/
|
|
3392
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseMessages$ {
|
|
3393
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseMessages$inboundSchema` instead. */
|
|
3394
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseMessages, z.ZodTypeDef, unknown>;
|
|
3395
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseMessages$outboundSchema` instead. */
|
|
3396
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseMessages$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseMessages>;
|
|
3397
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseMessages$Outbound` instead. */
|
|
3398
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsResponseMessages$Outbound;
|
|
3399
|
-
}
|
|
3400
|
-
export declare function updatePromptSnippetPromptSnippetsResponseMessagesToJSON(updatePromptSnippetPromptSnippetsResponseMessages: UpdatePromptSnippetPromptSnippetsResponseMessages): string;
|
|
3401
|
-
export declare function updatePromptSnippetPromptSnippetsResponseMessagesFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsResponseMessages, SDKValidationError>;
|
|
3402
|
-
/** @internal */
|
|
3403
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponsePromptConfig$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponsePromptConfig, z.ZodTypeDef, unknown>;
|
|
3404
|
-
/** @internal */
|
|
3405
|
-
export type UpdatePromptSnippetPromptSnippetsResponsePromptConfig$Outbound = {
|
|
3406
|
-
stream?: boolean | undefined;
|
|
3407
|
-
model?: string | undefined;
|
|
3408
|
-
model_db_id?: string | undefined;
|
|
3409
|
-
model_type?: string | undefined;
|
|
3410
|
-
model_parameters?: UpdatePromptSnippetPromptSnippetsResponseModelParameters$Outbound | undefined;
|
|
3411
|
-
provider?: string | undefined;
|
|
3412
|
-
integration_id?: string | null | undefined;
|
|
3413
|
-
version?: string | undefined;
|
|
3414
|
-
messages: Array<UpdatePromptSnippetPromptSnippetsResponseMessages$Outbound>;
|
|
3415
|
-
};
|
|
3416
|
-
/** @internal */
|
|
3417
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponsePromptConfig$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponsePromptConfig$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponsePromptConfig>;
|
|
3418
|
-
/**
|
|
3419
|
-
* @internal
|
|
3420
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3421
|
-
*/
|
|
3422
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponsePromptConfig$ {
|
|
3423
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponsePromptConfig$inboundSchema` instead. */
|
|
3424
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponsePromptConfig, z.ZodTypeDef, unknown>;
|
|
3425
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponsePromptConfig$outboundSchema` instead. */
|
|
3426
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponsePromptConfig$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponsePromptConfig>;
|
|
3427
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponsePromptConfig$Outbound` instead. */
|
|
3428
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsResponsePromptConfig$Outbound;
|
|
3429
|
-
}
|
|
3430
|
-
export declare function updatePromptSnippetPromptSnippetsResponsePromptConfigToJSON(updatePromptSnippetPromptSnippetsResponsePromptConfig: UpdatePromptSnippetPromptSnippetsResponsePromptConfig): string;
|
|
3431
|
-
export declare function updatePromptSnippetPromptSnippetsResponsePromptConfigFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsResponsePromptConfig, SDKValidationError>;
|
|
3432
|
-
/** @internal */
|
|
3433
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseUseCases$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseUseCases>;
|
|
3434
|
-
/** @internal */
|
|
3435
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseUseCases$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseUseCases>;
|
|
3436
|
-
/**
|
|
3437
|
-
* @internal
|
|
3438
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3439
|
-
*/
|
|
3440
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseUseCases$ {
|
|
3441
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseUseCases$inboundSchema` instead. */
|
|
3442
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
3443
|
-
readonly Agents: "Agents";
|
|
3444
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
3445
|
-
readonly APIInteraction: "API interaction";
|
|
3446
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
3447
|
-
readonly Chatbots: "Chatbots";
|
|
3448
|
-
readonly Classification: "Classification";
|
|
3449
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
3450
|
-
readonly CodeWriting: "Code writing";
|
|
3451
|
-
readonly DocumentsQA: "Documents QA";
|
|
3452
|
-
readonly Conversation: "Conversation";
|
|
3453
|
-
readonly Extraction: "Extraction";
|
|
3454
|
-
readonly MultiModal: "Multi-modal";
|
|
3455
|
-
readonly SelfChecking: "Self-checking";
|
|
3456
|
-
readonly Sql: "SQL";
|
|
3457
|
-
readonly Summarization: "Summarization";
|
|
3458
|
-
readonly Tagging: "Tagging";
|
|
3459
|
-
}>;
|
|
3460
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseUseCases$outboundSchema` instead. */
|
|
3461
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
3462
|
-
readonly Agents: "Agents";
|
|
3463
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
3464
|
-
readonly APIInteraction: "API interaction";
|
|
3465
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
3466
|
-
readonly Chatbots: "Chatbots";
|
|
3467
|
-
readonly Classification: "Classification";
|
|
3468
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
3469
|
-
readonly CodeWriting: "Code writing";
|
|
3470
|
-
readonly DocumentsQA: "Documents QA";
|
|
3471
|
-
readonly Conversation: "Conversation";
|
|
3472
|
-
readonly Extraction: "Extraction";
|
|
3473
|
-
readonly MultiModal: "Multi-modal";
|
|
3474
|
-
readonly SelfChecking: "Self-checking";
|
|
3475
|
-
readonly Sql: "SQL";
|
|
3476
|
-
readonly Summarization: "Summarization";
|
|
3477
|
-
readonly Tagging: "Tagging";
|
|
3478
|
-
}>;
|
|
3479
|
-
}
|
|
3480
|
-
/** @internal */
|
|
3481
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseLanguage>;
|
|
3482
|
-
/** @internal */
|
|
3483
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptSnippetPromptSnippetsResponseLanguage>;
|
|
3484
|
-
/**
|
|
3485
|
-
* @internal
|
|
3486
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3487
|
-
*/
|
|
3488
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseLanguage$ {
|
|
3489
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseLanguage$inboundSchema` instead. */
|
|
3490
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
3491
|
-
readonly Chinese: "Chinese";
|
|
3492
|
-
readonly Dutch: "Dutch";
|
|
3493
|
-
readonly English: "English";
|
|
3494
|
-
readonly French: "French";
|
|
3495
|
-
readonly German: "German";
|
|
3496
|
-
readonly Russian: "Russian";
|
|
3497
|
-
readonly Spanish: "Spanish";
|
|
3498
|
-
}>;
|
|
3499
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseLanguage$outboundSchema` instead. */
|
|
3500
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
3501
|
-
readonly Chinese: "Chinese";
|
|
3502
|
-
readonly Dutch: "Dutch";
|
|
3503
|
-
readonly English: "English";
|
|
3504
|
-
readonly French: "French";
|
|
3505
|
-
readonly German: "German";
|
|
3506
|
-
readonly Russian: "Russian";
|
|
3507
|
-
readonly Spanish: "Spanish";
|
|
3508
|
-
}>;
|
|
3509
|
-
}
|
|
3510
|
-
/** @internal */
|
|
3511
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseMetadata$inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseMetadata, z.ZodTypeDef, unknown>;
|
|
3512
|
-
/** @internal */
|
|
3513
|
-
export type UpdatePromptSnippetPromptSnippetsResponseMetadata$Outbound = {
|
|
3514
|
-
use_cases?: Array<string> | undefined;
|
|
3515
|
-
language?: string | undefined;
|
|
3516
|
-
};
|
|
3517
|
-
/** @internal */
|
|
3518
|
-
export declare const UpdatePromptSnippetPromptSnippetsResponseMetadata$outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseMetadata$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseMetadata>;
|
|
3519
|
-
/**
|
|
3520
|
-
* @internal
|
|
3521
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3522
|
-
*/
|
|
3523
|
-
export declare namespace UpdatePromptSnippetPromptSnippetsResponseMetadata$ {
|
|
3524
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseMetadata$inboundSchema` instead. */
|
|
3525
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseMetadata, z.ZodTypeDef, unknown>;
|
|
3526
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseMetadata$outboundSchema` instead. */
|
|
3527
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetPromptSnippetsResponseMetadata$Outbound, z.ZodTypeDef, UpdatePromptSnippetPromptSnippetsResponseMetadata>;
|
|
3528
|
-
/** @deprecated use `UpdatePromptSnippetPromptSnippetsResponseMetadata$Outbound` instead. */
|
|
3529
|
-
type Outbound = UpdatePromptSnippetPromptSnippetsResponseMetadata$Outbound;
|
|
3530
|
-
}
|
|
3531
|
-
export declare function updatePromptSnippetPromptSnippetsResponseMetadataToJSON(updatePromptSnippetPromptSnippetsResponseMetadata: UpdatePromptSnippetPromptSnippetsResponseMetadata): string;
|
|
3532
|
-
export declare function updatePromptSnippetPromptSnippetsResponseMetadataFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetPromptSnippetsResponseMetadata, SDKValidationError>;
|
|
3533
|
-
/** @internal */
|
|
3534
|
-
export declare const UpdatePromptSnippetVersions$inboundSchema: z.ZodType<UpdatePromptSnippetVersions, z.ZodTypeDef, unknown>;
|
|
3535
|
-
/** @internal */
|
|
3536
|
-
export type UpdatePromptSnippetVersions$Outbound = {
|
|
3537
|
-
_id: string;
|
|
3538
|
-
description?: string | null | undefined;
|
|
3539
|
-
prompt_config: UpdatePromptSnippetPromptSnippetsResponsePromptConfig$Outbound;
|
|
3540
|
-
metadata: UpdatePromptSnippetPromptSnippetsResponseMetadata$Outbound;
|
|
3541
|
-
created_by_id: string;
|
|
3542
|
-
updated_by_id: string;
|
|
3543
|
-
timestamp: string;
|
|
3544
|
-
};
|
|
3545
|
-
/** @internal */
|
|
3546
|
-
export declare const UpdatePromptSnippetVersions$outboundSchema: z.ZodType<UpdatePromptSnippetVersions$Outbound, z.ZodTypeDef, UpdatePromptSnippetVersions>;
|
|
3547
|
-
/**
|
|
3548
|
-
* @internal
|
|
3549
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3550
|
-
*/
|
|
3551
|
-
export declare namespace UpdatePromptSnippetVersions$ {
|
|
3552
|
-
/** @deprecated use `UpdatePromptSnippetVersions$inboundSchema` instead. */
|
|
3553
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetVersions, z.ZodTypeDef, unknown>;
|
|
3554
|
-
/** @deprecated use `UpdatePromptSnippetVersions$outboundSchema` instead. */
|
|
3555
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetVersions$Outbound, z.ZodTypeDef, UpdatePromptSnippetVersions>;
|
|
3556
|
-
/** @deprecated use `UpdatePromptSnippetVersions$Outbound` instead. */
|
|
3557
|
-
type Outbound = UpdatePromptSnippetVersions$Outbound;
|
|
3558
|
-
}
|
|
3559
|
-
export declare function updatePromptSnippetVersionsToJSON(updatePromptSnippetVersions: UpdatePromptSnippetVersions): string;
|
|
3560
|
-
export declare function updatePromptSnippetVersionsFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetVersions, SDKValidationError>;
|
|
3561
|
-
/** @internal */
|
|
3562
|
-
export declare const UpdatePromptSnippetResponseBody$inboundSchema: z.ZodType<UpdatePromptSnippetResponseBody, z.ZodTypeDef, unknown>;
|
|
3563
|
-
/** @internal */
|
|
3564
|
-
export type UpdatePromptSnippetResponseBody$Outbound = {
|
|
3565
|
-
_id: string;
|
|
3566
|
-
owner: string | string;
|
|
3567
|
-
domain_id: string;
|
|
3568
|
-
key: string;
|
|
3569
|
-
description?: string | null | undefined;
|
|
3570
|
-
prompt_config: UpdatePromptSnippetPromptSnippetsPromptConfig$Outbound;
|
|
3571
|
-
metadata: UpdatePromptSnippetPromptSnippetsMetadata$Outbound;
|
|
3572
|
-
created_by_id: string;
|
|
3573
|
-
updated_by_id: string;
|
|
3574
|
-
created?: string | undefined;
|
|
3575
|
-
updated: string;
|
|
3576
|
-
type: string;
|
|
3577
|
-
versions: Array<UpdatePromptSnippetVersions$Outbound>;
|
|
3578
|
-
};
|
|
3579
|
-
/** @internal */
|
|
3580
|
-
export declare const UpdatePromptSnippetResponseBody$outboundSchema: z.ZodType<UpdatePromptSnippetResponseBody$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseBody>;
|
|
3581
|
-
/**
|
|
3582
|
-
* @internal
|
|
3583
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3584
|
-
*/
|
|
3585
|
-
export declare namespace UpdatePromptSnippetResponseBody$ {
|
|
3586
|
-
/** @deprecated use `UpdatePromptSnippetResponseBody$inboundSchema` instead. */
|
|
3587
|
-
const inboundSchema: z.ZodType<UpdatePromptSnippetResponseBody, z.ZodTypeDef, unknown>;
|
|
3588
|
-
/** @deprecated use `UpdatePromptSnippetResponseBody$outboundSchema` instead. */
|
|
3589
|
-
const outboundSchema: z.ZodType<UpdatePromptSnippetResponseBody$Outbound, z.ZodTypeDef, UpdatePromptSnippetResponseBody>;
|
|
3590
|
-
/** @deprecated use `UpdatePromptSnippetResponseBody$Outbound` instead. */
|
|
3591
|
-
type Outbound = UpdatePromptSnippetResponseBody$Outbound;
|
|
3592
|
-
}
|
|
3593
|
-
export declare function updatePromptSnippetResponseBodyToJSON(updatePromptSnippetResponseBody: UpdatePromptSnippetResponseBody): string;
|
|
3594
|
-
export declare function updatePromptSnippetResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdatePromptSnippetResponseBody, SDKValidationError>;
|
|
3595
|
-
//# sourceMappingURL=updatepromptsnippet.d.ts.map
|