@orq-ai/node 3.1.3 → 3.1.5
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 +8 -23
- package/docs/sdks/files/README.md +8 -8
- package/docs/sdks/{remoteconfig → remoteconfigs}/README.md +8 -8
- package/funcs/contactsCreate.d.ts.map +1 -1
- package/funcs/contactsCreate.js +1 -0
- package/funcs/contactsCreate.js.map +1 -1
- package/funcs/deploymentsGetConfig.d.ts.map +1 -1
- package/funcs/deploymentsGetConfig.js +1 -0
- package/funcs/deploymentsGetConfig.js.map +1 -1
- package/funcs/deploymentsInvoke.d.ts.map +1 -1
- package/funcs/deploymentsInvoke.js +1 -0
- package/funcs/deploymentsInvoke.js.map +1 -1
- package/funcs/deploymentsList.d.ts.map +1 -1
- package/funcs/deploymentsList.js +1 -0
- package/funcs/deploymentsList.js.map +1 -1
- package/funcs/deploymentsMetricsCreate.d.ts.map +1 -1
- package/funcs/deploymentsMetricsCreate.js +1 -0
- package/funcs/deploymentsMetricsCreate.js.map +1 -1
- package/funcs/deploymentsStream.d.ts.map +1 -1
- package/funcs/deploymentsStream.js +1 -0
- package/funcs/deploymentsStream.js.map +1 -1
- package/funcs/feedbackCreate.d.ts.map +1 -1
- package/funcs/feedbackCreate.js +1 -0
- package/funcs/feedbackCreate.js.map +1 -1
- package/funcs/{filesUpload.d.ts → filesCreate.d.ts} +3 -3
- package/funcs/{filesUpload.d.ts.map → filesCreate.d.ts.map} +1 -1
- package/funcs/{filesUpload.js → filesCreate.js} +5 -4
- package/funcs/{filesUpload.js.map → filesCreate.js.map} +1 -1
- package/funcs/filesDelete.d.ts.map +1 -1
- package/funcs/filesDelete.js +1 -0
- package/funcs/filesDelete.js.map +1 -1
- package/funcs/filesGet.d.ts +4 -1
- package/funcs/filesGet.d.ts.map +1 -1
- package/funcs/filesGet.js +5 -1
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesList.d.ts +3 -0
- package/funcs/filesList.d.ts.map +1 -1
- package/funcs/filesList.js +6 -3
- package/funcs/filesList.js.map +1 -1
- package/funcs/promptsCreate.d.ts.map +1 -1
- package/funcs/promptsCreate.js +1 -0
- package/funcs/promptsCreate.js.map +1 -1
- package/funcs/promptsDelete.d.ts.map +1 -1
- package/funcs/promptsDelete.js +1 -0
- package/funcs/promptsDelete.js.map +1 -1
- package/funcs/promptsGetVersion.d.ts.map +1 -1
- package/funcs/promptsGetVersion.js +1 -0
- package/funcs/promptsGetVersion.js.map +1 -1
- package/funcs/promptsList.d.ts.map +1 -1
- package/funcs/promptsList.js +1 -0
- package/funcs/promptsList.js.map +1 -1
- package/funcs/promptsListVersions.d.ts.map +1 -1
- package/funcs/promptsListVersions.js +1 -0
- package/funcs/promptsListVersions.js.map +1 -1
- package/funcs/promptsRetrieve.d.ts.map +1 -1
- package/funcs/promptsRetrieve.js +1 -0
- package/funcs/promptsRetrieve.js.map +1 -1
- package/funcs/promptsUpdate.d.ts.map +1 -1
- package/funcs/promptsUpdate.js +1 -0
- package/funcs/promptsUpdate.js.map +1 -1
- package/funcs/{remoteconfigGetConfig.d.ts → remoteconfigsRetrieve.d.ts} +3 -3
- package/funcs/{remoteconfigGetConfig.d.ts.map → remoteconfigsRetrieve.d.ts.map} +1 -1
- package/funcs/{remoteconfigGetConfig.js → remoteconfigsRetrieve.js} +5 -4
- package/funcs/remoteconfigsRetrieve.js.map +1 -0
- package/hooks/types.d.ts +1 -0
- package/hooks/types.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createprompt.d.ts +348 -348
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +486 -483
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.d.ts +13 -6
- package/models/operations/filelist.d.ts.map +1 -1
- package/models/operations/filelist.js +18 -10
- package/models/operations/filelist.js.map +1 -1
- package/models/operations/fileupload.js +2 -2
- package/models/operations/index.d.ts +0 -6
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -6
- package/models/operations/index.js.map +1 -1
- package/models/operations/updateprompt.d.ts +30 -30
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +38 -38
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/sdk/files.d.ts +9 -3
- package/sdk/files.d.ts.map +1 -1
- package/sdk/files.js +11 -5
- package/sdk/files.js.map +1 -1
- package/sdk/remoteconfigs.d.ts +9 -0
- package/sdk/remoteconfigs.d.ts.map +1 -0
- package/sdk/remoteconfigs.js +19 -0
- package/sdk/remoteconfigs.js.map +1 -0
- package/sdk/sdk.d.ts +3 -6
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -7
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/contactsCreate.ts +1 -0
- package/src/funcs/deploymentsGetConfig.ts +1 -0
- package/src/funcs/deploymentsInvoke.ts +1 -0
- package/src/funcs/deploymentsList.ts +1 -0
- package/src/funcs/deploymentsMetricsCreate.ts +1 -0
- package/src/funcs/deploymentsStream.ts +1 -0
- package/src/funcs/feedbackCreate.ts +1 -0
- package/src/funcs/{filesUpload.ts → filesCreate.ts} +3 -2
- package/src/funcs/filesDelete.ts +1 -0
- package/src/funcs/filesGet.ts +5 -1
- package/src/funcs/filesList.ts +6 -3
- package/src/funcs/promptsCreate.ts +1 -0
- package/src/funcs/promptsDelete.ts +1 -0
- package/src/funcs/promptsGetVersion.ts +1 -0
- package/src/funcs/promptsList.ts +1 -0
- package/src/funcs/promptsListVersions.ts +1 -0
- package/src/funcs/promptsRetrieve.ts +1 -0
- package/src/funcs/promptsUpdate.ts +1 -0
- package/src/funcs/{remoteconfigGetConfig.ts → remoteconfigsRetrieve.ts} +3 -2
- package/src/hooks/types.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +0 -1
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createprompt.ts +668 -770
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +31 -16
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/index.ts +0 -6
- package/src/models/operations/updateprompt.ts +64 -81
- package/src/sdk/files.ts +11 -5
- package/src/sdk/{remoteconfig.ts → remoteconfigs.ts} +5 -5
- package/src/sdk/sdk.ts +4 -10
- package/docs/sdks/promptsnippets/README.md +0 -488
- package/funcs/promptSnippetsCreate.d.ts +0 -12
- package/funcs/promptSnippetsCreate.d.ts.map +0 -1
- package/funcs/promptSnippetsCreate.js +0 -106
- package/funcs/promptSnippetsCreate.js.map +0 -1
- package/funcs/promptSnippetsDelete.d.ts +0 -12
- package/funcs/promptSnippetsDelete.d.ts.map +0 -1
- package/funcs/promptSnippetsDelete.js +0 -110
- package/funcs/promptSnippetsDelete.js.map +0 -1
- package/funcs/promptSnippetsGet.d.ts +0 -12
- package/funcs/promptSnippetsGet.d.ts.map +0 -1
- package/funcs/promptSnippetsGet.js +0 -109
- 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 +0 -109
- package/funcs/promptSnippetsGetByKey.js.map +0 -1
- package/funcs/promptSnippetsList.d.ts +0 -12
- package/funcs/promptSnippetsList.d.ts.map +0 -1
- package/funcs/promptSnippetsList.js +0 -109
- 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/remoteconfigGetConfig.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 +0 -69
- package/models/operations/deletepromptsnippet.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/findonepromptsnippet.d.ts +0 -2448
- package/models/operations/findonepromptsnippet.d.ts.map +0 -1
- package/models/operations/findonepromptsnippet.js +0 -2124
- package/models/operations/findonepromptsnippet.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/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/sdk/remoteconfig.d.ts +0 -9
- package/sdk/remoteconfig.d.ts.map +0 -1
- package/sdk/remoteconfig.js +0 -19
- package/sdk/remoteconfig.js.map +0 -1
- package/src/funcs/promptSnippetsCreate.ts +0 -128
- package/src/funcs/promptSnippetsDelete.ts +0 -131
- package/src/funcs/promptSnippetsGet.ts +0 -130
- package/src/funcs/promptSnippetsGetByKey.ts +0 -132
- package/src/funcs/promptSnippetsList.ts +0 -132
- package/src/funcs/promptSnippetsUpdate.ts +0 -139
- 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/findonebykeypromptsnippet.ts +0 -4483
- package/src/models/operations/findonepromptsnippet.ts +0 -4343
- package/src/models/operations/getallpromptsnippets.ts +0 -4472
- package/src/models/operations/updatepromptsnippet.ts +0 -6544
- package/src/sdk/promptsnippets.ts +0 -99
|
@@ -1,2448 +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
|
-
export type FindOnePromptSnippetRequest = {
|
|
6
|
-
/**
|
|
7
|
-
* Prompt ID
|
|
8
|
-
*/
|
|
9
|
-
id: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const FindOnePromptSnippetOwner2: {
|
|
12
|
-
readonly Vendor: "vendor";
|
|
13
|
-
};
|
|
14
|
-
export type FindOnePromptSnippetOwner2 = ClosedEnum<typeof FindOnePromptSnippetOwner2>;
|
|
15
|
-
export type FindOnePromptSnippetOwner = string | FindOnePromptSnippetOwner2;
|
|
16
|
-
/**
|
|
17
|
-
* The type of the model
|
|
18
|
-
*/
|
|
19
|
-
export declare const FindOnePromptSnippetModelType: {
|
|
20
|
-
readonly Chat: "chat";
|
|
21
|
-
readonly Completion: "completion";
|
|
22
|
-
readonly Embedding: "embedding";
|
|
23
|
-
readonly Vision: "vision";
|
|
24
|
-
readonly Image: "image";
|
|
25
|
-
readonly Tts: "tts";
|
|
26
|
-
readonly Stt: "stt";
|
|
27
|
-
readonly Rerank: "rerank";
|
|
28
|
-
readonly Moderations: "moderations";
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* The type of the model
|
|
32
|
-
*/
|
|
33
|
-
export type FindOnePromptSnippetModelType = ClosedEnum<typeof FindOnePromptSnippetModelType>;
|
|
34
|
-
/**
|
|
35
|
-
* Only supported on `image` models.
|
|
36
|
-
*/
|
|
37
|
-
export declare const FindOnePromptSnippetFormat: {
|
|
38
|
-
readonly Url: "url";
|
|
39
|
-
readonly B64Json: "b64_json";
|
|
40
|
-
readonly Text: "text";
|
|
41
|
-
readonly JsonObject: "json_object";
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Only supported on `image` models.
|
|
45
|
-
*/
|
|
46
|
-
export type FindOnePromptSnippetFormat = ClosedEnum<typeof FindOnePromptSnippetFormat>;
|
|
47
|
-
/**
|
|
48
|
-
* Only supported on `image` models.
|
|
49
|
-
*/
|
|
50
|
-
export declare const FindOnePromptSnippetQuality: {
|
|
51
|
-
readonly Standard: "standard";
|
|
52
|
-
readonly Hd: "hd";
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Only supported on `image` models.
|
|
56
|
-
*/
|
|
57
|
-
export type FindOnePromptSnippetQuality = ClosedEnum<typeof FindOnePromptSnippetQuality>;
|
|
58
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippetsType: {
|
|
59
|
-
readonly JsonObject: "json_object";
|
|
60
|
-
};
|
|
61
|
-
export type FindOnePromptSnippetResponseFormatPromptSnippetsType = ClosedEnum<typeof FindOnePromptSnippetResponseFormatPromptSnippetsType>;
|
|
62
|
-
export type FindOnePromptSnippetResponseFormat2 = {
|
|
63
|
-
type: FindOnePromptSnippetResponseFormatPromptSnippetsType;
|
|
64
|
-
};
|
|
65
|
-
export declare const FindOnePromptSnippetResponseFormatType: {
|
|
66
|
-
readonly JsonSchema: "json_schema";
|
|
67
|
-
};
|
|
68
|
-
export type FindOnePromptSnippetResponseFormatType = ClosedEnum<typeof FindOnePromptSnippetResponseFormatType>;
|
|
69
|
-
export type FindOnePromptSnippetResponseFormatJsonSchema = {
|
|
70
|
-
name: string;
|
|
71
|
-
strict: boolean;
|
|
72
|
-
schema: {
|
|
73
|
-
[k: string]: any;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
export type FindOnePromptSnippetResponseFormat1 = {
|
|
77
|
-
type: FindOnePromptSnippetResponseFormatType;
|
|
78
|
-
jsonSchema: FindOnePromptSnippetResponseFormatJsonSchema;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* An object specifying the format that the model must output.
|
|
82
|
-
*
|
|
83
|
-
* @remarks
|
|
84
|
-
*
|
|
85
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
86
|
-
*
|
|
87
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
88
|
-
*
|
|
89
|
-
* 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.
|
|
90
|
-
*/
|
|
91
|
-
export type FindOnePromptSnippetResponseFormat = FindOnePromptSnippetResponseFormat2 | FindOnePromptSnippetResponseFormat1;
|
|
92
|
-
/**
|
|
93
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
94
|
-
*/
|
|
95
|
-
export declare const FindOnePromptSnippetPhotoRealVersion: {
|
|
96
|
-
readonly V1: "v1";
|
|
97
|
-
readonly V2: "v2";
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
101
|
-
*/
|
|
102
|
-
export type FindOnePromptSnippetPhotoRealVersion = ClosedEnum<typeof FindOnePromptSnippetPhotoRealVersion>;
|
|
103
|
-
/**
|
|
104
|
-
* The format to return the embeddings
|
|
105
|
-
*/
|
|
106
|
-
export declare const FindOnePromptSnippetEncodingFormat: {
|
|
107
|
-
readonly Float: "float";
|
|
108
|
-
readonly Base64: "base64";
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* The format to return the embeddings
|
|
112
|
-
*/
|
|
113
|
-
export type FindOnePromptSnippetEncodingFormat = ClosedEnum<typeof FindOnePromptSnippetEncodingFormat>;
|
|
114
|
-
/**
|
|
115
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
116
|
-
*/
|
|
117
|
-
export declare const FindOnePromptSnippetReasoningEffort: {
|
|
118
|
-
readonly Low: "low";
|
|
119
|
-
readonly Medium: "medium";
|
|
120
|
-
readonly High: "high";
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
124
|
-
*/
|
|
125
|
-
export type FindOnePromptSnippetReasoningEffort = ClosedEnum<typeof FindOnePromptSnippetReasoningEffort>;
|
|
126
|
-
/**
|
|
127
|
-
* Model Parameters: Not all parameters apply to every model
|
|
128
|
-
*/
|
|
129
|
-
export type FindOnePromptSnippetModelParameters = {
|
|
130
|
-
/**
|
|
131
|
-
* Only supported on `chat` and `completion` models.
|
|
132
|
-
*/
|
|
133
|
-
temperature?: number | undefined;
|
|
134
|
-
/**
|
|
135
|
-
* Only supported on `chat` and `completion` models.
|
|
136
|
-
*/
|
|
137
|
-
maxTokens?: number | undefined;
|
|
138
|
-
/**
|
|
139
|
-
* Only supported on `chat` and `completion` models.
|
|
140
|
-
*/
|
|
141
|
-
topK?: number | undefined;
|
|
142
|
-
/**
|
|
143
|
-
* Only supported on `chat` and `completion` models.
|
|
144
|
-
*/
|
|
145
|
-
topP?: number | undefined;
|
|
146
|
-
/**
|
|
147
|
-
* Only supported on `chat` and `completion` models.
|
|
148
|
-
*/
|
|
149
|
-
frequencyPenalty?: number | undefined;
|
|
150
|
-
/**
|
|
151
|
-
* Only supported on `chat` and `completion` models.
|
|
152
|
-
*/
|
|
153
|
-
presencePenalty?: number | undefined;
|
|
154
|
-
/**
|
|
155
|
-
* Only supported on `image` models.
|
|
156
|
-
*/
|
|
157
|
-
numImages?: number | undefined;
|
|
158
|
-
/**
|
|
159
|
-
* Best effort deterministic seed for the model. Currently only OpenAI models support these
|
|
160
|
-
*/
|
|
161
|
-
seed?: number | undefined;
|
|
162
|
-
/**
|
|
163
|
-
* Only supported on `image` models.
|
|
164
|
-
*/
|
|
165
|
-
format?: FindOnePromptSnippetFormat | undefined;
|
|
166
|
-
/**
|
|
167
|
-
* Only supported on `image` models.
|
|
168
|
-
*/
|
|
169
|
-
dimensions?: string | undefined;
|
|
170
|
-
/**
|
|
171
|
-
* Only supported on `image` models.
|
|
172
|
-
*/
|
|
173
|
-
quality?: FindOnePromptSnippetQuality | undefined;
|
|
174
|
-
/**
|
|
175
|
-
* Only supported on `image` models.
|
|
176
|
-
*/
|
|
177
|
-
style?: string | undefined;
|
|
178
|
-
/**
|
|
179
|
-
* An object specifying the format that the model must output.
|
|
180
|
-
*
|
|
181
|
-
* @remarks
|
|
182
|
-
*
|
|
183
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
184
|
-
*
|
|
185
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
186
|
-
*
|
|
187
|
-
* 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.
|
|
188
|
-
*/
|
|
189
|
-
responseFormat?: FindOnePromptSnippetResponseFormat2 | FindOnePromptSnippetResponseFormat1 | null | undefined;
|
|
190
|
-
/**
|
|
191
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
192
|
-
*/
|
|
193
|
-
photoRealVersion?: FindOnePromptSnippetPhotoRealVersion | undefined;
|
|
194
|
-
/**
|
|
195
|
-
* The format to return the embeddings
|
|
196
|
-
*/
|
|
197
|
-
encodingFormat?: FindOnePromptSnippetEncodingFormat | undefined;
|
|
198
|
-
/**
|
|
199
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
200
|
-
*/
|
|
201
|
-
reasoningEffort?: FindOnePromptSnippetReasoningEffort | undefined;
|
|
202
|
-
};
|
|
203
|
-
export declare const FindOnePromptSnippetProvider: {
|
|
204
|
-
readonly Cohere: "cohere";
|
|
205
|
-
readonly Openai: "openai";
|
|
206
|
-
readonly Anthropic: "anthropic";
|
|
207
|
-
readonly Huggingface: "huggingface";
|
|
208
|
-
readonly Replicate: "replicate";
|
|
209
|
-
readonly Google: "google";
|
|
210
|
-
readonly GoogleAi: "google-ai";
|
|
211
|
-
readonly Azure: "azure";
|
|
212
|
-
readonly Aws: "aws";
|
|
213
|
-
readonly Anyscale: "anyscale";
|
|
214
|
-
readonly Perplexity: "perplexity";
|
|
215
|
-
readonly Groq: "groq";
|
|
216
|
-
readonly Fal: "fal";
|
|
217
|
-
readonly Leonardoai: "leonardoai";
|
|
218
|
-
readonly Nvidia: "nvidia";
|
|
219
|
-
readonly Jina: "jina";
|
|
220
|
-
readonly Togetherai: "togetherai";
|
|
221
|
-
readonly Elevenlabs: "elevenlabs";
|
|
222
|
-
};
|
|
223
|
-
export type FindOnePromptSnippetProvider = ClosedEnum<typeof FindOnePromptSnippetProvider>;
|
|
224
|
-
/**
|
|
225
|
-
* The role of the prompt message
|
|
226
|
-
*/
|
|
227
|
-
export declare const FindOnePromptSnippetRole: {
|
|
228
|
-
readonly System: "system";
|
|
229
|
-
readonly Assistant: "assistant";
|
|
230
|
-
readonly User: "user";
|
|
231
|
-
readonly Exception: "exception";
|
|
232
|
-
readonly Tool: "tool";
|
|
233
|
-
readonly Prompt: "prompt";
|
|
234
|
-
readonly Correction: "correction";
|
|
235
|
-
readonly ExpectedOutput: "expected_output";
|
|
236
|
-
};
|
|
237
|
-
/**
|
|
238
|
-
* The role of the prompt message
|
|
239
|
-
*/
|
|
240
|
-
export type FindOnePromptSnippetRole = ClosedEnum<typeof FindOnePromptSnippetRole>;
|
|
241
|
-
export declare const FindOnePromptSnippet2PromptSnippetsType: {
|
|
242
|
-
readonly ImageUrl: "image_url";
|
|
243
|
-
};
|
|
244
|
-
export type FindOnePromptSnippet2PromptSnippetsType = ClosedEnum<typeof FindOnePromptSnippet2PromptSnippetsType>;
|
|
245
|
-
export type FindOnePromptSnippet2ImageUrl = {
|
|
246
|
-
/**
|
|
247
|
-
* The orq.ai id of the image
|
|
248
|
-
*/
|
|
249
|
-
id?: string | undefined;
|
|
250
|
-
/**
|
|
251
|
-
* Either a URL of the image or the base64 encoded data URI.
|
|
252
|
-
*/
|
|
253
|
-
url: string;
|
|
254
|
-
/**
|
|
255
|
-
* Specifies the detail level of the image. Currently only supported with OpenAI models
|
|
256
|
-
*/
|
|
257
|
-
detail?: string | undefined;
|
|
258
|
-
};
|
|
259
|
-
/**
|
|
260
|
-
* The image part of the prompt message. Only supported with vision models.
|
|
261
|
-
*/
|
|
262
|
-
export type FindOnePromptSnippet22 = {
|
|
263
|
-
type: FindOnePromptSnippet2PromptSnippetsType;
|
|
264
|
-
imageUrl: FindOnePromptSnippet2ImageUrl;
|
|
265
|
-
};
|
|
266
|
-
export declare const FindOnePromptSnippet2Type: {
|
|
267
|
-
readonly Text: "text";
|
|
268
|
-
};
|
|
269
|
-
export type FindOnePromptSnippet2Type = ClosedEnum<typeof FindOnePromptSnippet2Type>;
|
|
270
|
-
/**
|
|
271
|
-
* Text content part of a prompt message
|
|
272
|
-
*/
|
|
273
|
-
export type FindOnePromptSnippet21 = {
|
|
274
|
-
type: FindOnePromptSnippet2Type;
|
|
275
|
-
text: string;
|
|
276
|
-
};
|
|
277
|
-
export type FindOnePromptSnippetContent2 = FindOnePromptSnippet21 | FindOnePromptSnippet22;
|
|
278
|
-
/**
|
|
279
|
-
* 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.
|
|
280
|
-
*/
|
|
281
|
-
export type FindOnePromptSnippetContent = string | Array<FindOnePromptSnippet21 | FindOnePromptSnippet22>;
|
|
282
|
-
export declare const FindOnePromptSnippetPromptSnippetsType: {
|
|
283
|
-
readonly Function: "function";
|
|
284
|
-
};
|
|
285
|
-
export type FindOnePromptSnippetPromptSnippetsType = ClosedEnum<typeof FindOnePromptSnippetPromptSnippetsType>;
|
|
286
|
-
export type FindOnePromptSnippetFunction = {
|
|
287
|
-
name: string;
|
|
288
|
-
/**
|
|
289
|
-
* JSON string arguments for the functions
|
|
290
|
-
*/
|
|
291
|
-
arguments: string;
|
|
292
|
-
};
|
|
293
|
-
export type FindOnePromptSnippetToolCalls = {
|
|
294
|
-
id?: string | undefined;
|
|
295
|
-
index?: number | undefined;
|
|
296
|
-
type: FindOnePromptSnippetPromptSnippetsType;
|
|
297
|
-
function: FindOnePromptSnippetFunction;
|
|
298
|
-
};
|
|
299
|
-
export type FindOnePromptSnippetMessages = {
|
|
300
|
-
/**
|
|
301
|
-
* The role of the prompt message
|
|
302
|
-
*/
|
|
303
|
-
role: FindOnePromptSnippetRole;
|
|
304
|
-
/**
|
|
305
|
-
* 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.
|
|
306
|
-
*/
|
|
307
|
-
content: string | Array<FindOnePromptSnippet21 | FindOnePromptSnippet22>;
|
|
308
|
-
toolCalls?: Array<FindOnePromptSnippetToolCalls> | undefined;
|
|
309
|
-
};
|
|
310
|
-
/**
|
|
311
|
-
* A list of messages compatible with the openAI schema
|
|
312
|
-
*/
|
|
313
|
-
export type FindOnePromptSnippetPromptConfig = {
|
|
314
|
-
stream?: boolean | undefined;
|
|
315
|
-
model?: string | undefined;
|
|
316
|
-
/**
|
|
317
|
-
* The id of the resource
|
|
318
|
-
*/
|
|
319
|
-
modelDbId?: string | undefined;
|
|
320
|
-
/**
|
|
321
|
-
* The type of the model
|
|
322
|
-
*/
|
|
323
|
-
modelType?: FindOnePromptSnippetModelType | undefined;
|
|
324
|
-
/**
|
|
325
|
-
* Model Parameters: Not all parameters apply to every model
|
|
326
|
-
*/
|
|
327
|
-
modelParameters?: FindOnePromptSnippetModelParameters | undefined;
|
|
328
|
-
provider?: FindOnePromptSnippetProvider | undefined;
|
|
329
|
-
/**
|
|
330
|
-
* The id of the resource
|
|
331
|
-
*/
|
|
332
|
-
integrationId?: string | null | undefined;
|
|
333
|
-
version?: string | undefined;
|
|
334
|
-
messages: Array<FindOnePromptSnippetMessages>;
|
|
335
|
-
};
|
|
336
|
-
export declare const FindOnePromptSnippetUseCases: {
|
|
337
|
-
readonly Agents: "Agents";
|
|
338
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
339
|
-
readonly APIInteraction: "API interaction";
|
|
340
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
341
|
-
readonly Chatbots: "Chatbots";
|
|
342
|
-
readonly Classification: "Classification";
|
|
343
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
344
|
-
readonly CodeWriting: "Code writing";
|
|
345
|
-
readonly DocumentsQA: "Documents QA";
|
|
346
|
-
readonly Conversation: "Conversation";
|
|
347
|
-
readonly Extraction: "Extraction";
|
|
348
|
-
readonly MultiModal: "Multi-modal";
|
|
349
|
-
readonly SelfChecking: "Self-checking";
|
|
350
|
-
readonly Sql: "SQL";
|
|
351
|
-
readonly Summarization: "Summarization";
|
|
352
|
-
readonly Tagging: "Tagging";
|
|
353
|
-
};
|
|
354
|
-
export type FindOnePromptSnippetUseCases = ClosedEnum<typeof FindOnePromptSnippetUseCases>;
|
|
355
|
-
/**
|
|
356
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
357
|
-
*/
|
|
358
|
-
export declare const FindOnePromptSnippetLanguage: {
|
|
359
|
-
readonly Chinese: "Chinese";
|
|
360
|
-
readonly Dutch: "Dutch";
|
|
361
|
-
readonly English: "English";
|
|
362
|
-
readonly French: "French";
|
|
363
|
-
readonly German: "German";
|
|
364
|
-
readonly Russian: "Russian";
|
|
365
|
-
readonly Spanish: "Spanish";
|
|
366
|
-
};
|
|
367
|
-
/**
|
|
368
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
369
|
-
*/
|
|
370
|
-
export type FindOnePromptSnippetLanguage = ClosedEnum<typeof FindOnePromptSnippetLanguage>;
|
|
371
|
-
export type FindOnePromptSnippetMetadata = {
|
|
372
|
-
/**
|
|
373
|
-
* 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
|
|
374
|
-
*/
|
|
375
|
-
useCases?: Array<FindOnePromptSnippetUseCases> | undefined;
|
|
376
|
-
/**
|
|
377
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
378
|
-
*/
|
|
379
|
-
language?: FindOnePromptSnippetLanguage | undefined;
|
|
380
|
-
};
|
|
381
|
-
export declare const FindOnePromptSnippetType: {
|
|
382
|
-
readonly Snippet: "snippet";
|
|
383
|
-
};
|
|
384
|
-
export type FindOnePromptSnippetType = ClosedEnum<typeof FindOnePromptSnippetType>;
|
|
385
|
-
/**
|
|
386
|
-
* The type of the model
|
|
387
|
-
*/
|
|
388
|
-
export declare const FindOnePromptSnippetPromptSnippetsModelType: {
|
|
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 FindOnePromptSnippetPromptSnippetsModelType = ClosedEnum<typeof FindOnePromptSnippetPromptSnippetsModelType>;
|
|
403
|
-
/**
|
|
404
|
-
* Only supported on `image` models.
|
|
405
|
-
*/
|
|
406
|
-
export declare const FindOnePromptSnippetPromptSnippetsFormat: {
|
|
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 FindOnePromptSnippetPromptSnippetsFormat = ClosedEnum<typeof FindOnePromptSnippetPromptSnippetsFormat>;
|
|
416
|
-
/**
|
|
417
|
-
* Only supported on `image` models.
|
|
418
|
-
*/
|
|
419
|
-
export declare const FindOnePromptSnippetPromptSnippetsQuality: {
|
|
420
|
-
readonly Standard: "standard";
|
|
421
|
-
readonly Hd: "hd";
|
|
422
|
-
};
|
|
423
|
-
/**
|
|
424
|
-
* Only supported on `image` models.
|
|
425
|
-
*/
|
|
426
|
-
export type FindOnePromptSnippetPromptSnippetsQuality = ClosedEnum<typeof FindOnePromptSnippetPromptSnippetsQuality>;
|
|
427
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippetsResponse200Type: {
|
|
428
|
-
readonly JsonObject: "json_object";
|
|
429
|
-
};
|
|
430
|
-
export type FindOnePromptSnippetResponseFormatPromptSnippetsResponse200Type = ClosedEnum<typeof FindOnePromptSnippetResponseFormatPromptSnippetsResponse200Type>;
|
|
431
|
-
export type FindOnePromptSnippetResponseFormatPromptSnippets2 = {
|
|
432
|
-
type: FindOnePromptSnippetResponseFormatPromptSnippetsResponse200Type;
|
|
433
|
-
};
|
|
434
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippetsResponseType: {
|
|
435
|
-
readonly JsonSchema: "json_schema";
|
|
436
|
-
};
|
|
437
|
-
export type FindOnePromptSnippetResponseFormatPromptSnippetsResponseType = ClosedEnum<typeof FindOnePromptSnippetResponseFormatPromptSnippetsResponseType>;
|
|
438
|
-
export type FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema = {
|
|
439
|
-
name: string;
|
|
440
|
-
strict: boolean;
|
|
441
|
-
schema: {
|
|
442
|
-
[k: string]: any;
|
|
443
|
-
};
|
|
444
|
-
};
|
|
445
|
-
export type FindOnePromptSnippetResponseFormatPromptSnippets1 = {
|
|
446
|
-
type: FindOnePromptSnippetResponseFormatPromptSnippetsResponseType;
|
|
447
|
-
jsonSchema: FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema;
|
|
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 FindOnePromptSnippetPromptSnippetsResponseFormat = FindOnePromptSnippetResponseFormatPromptSnippets2 | FindOnePromptSnippetResponseFormatPromptSnippets1;
|
|
461
|
-
/**
|
|
462
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
463
|
-
*/
|
|
464
|
-
export declare const FindOnePromptSnippetPromptSnippetsPhotoRealVersion: {
|
|
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 FindOnePromptSnippetPromptSnippetsPhotoRealVersion = ClosedEnum<typeof FindOnePromptSnippetPromptSnippetsPhotoRealVersion>;
|
|
472
|
-
/**
|
|
473
|
-
* The format to return the embeddings
|
|
474
|
-
*/
|
|
475
|
-
export declare const FindOnePromptSnippetPromptSnippetsEncodingFormat: {
|
|
476
|
-
readonly Float: "float";
|
|
477
|
-
readonly Base64: "base64";
|
|
478
|
-
};
|
|
479
|
-
/**
|
|
480
|
-
* The format to return the embeddings
|
|
481
|
-
*/
|
|
482
|
-
export type FindOnePromptSnippetPromptSnippetsEncodingFormat = ClosedEnum<typeof FindOnePromptSnippetPromptSnippetsEncodingFormat>;
|
|
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 FindOnePromptSnippetPromptSnippetsReasoningEffort: {
|
|
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 FindOnePromptSnippetPromptSnippetsReasoningEffort = ClosedEnum<typeof FindOnePromptSnippetPromptSnippetsReasoningEffort>;
|
|
495
|
-
/**
|
|
496
|
-
* Model Parameters: Not all parameters apply to every model
|
|
497
|
-
*/
|
|
498
|
-
export type FindOnePromptSnippetPromptSnippetsModelParameters = {
|
|
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?: FindOnePromptSnippetPromptSnippetsFormat | undefined;
|
|
535
|
-
/**
|
|
536
|
-
* Only supported on `image` models.
|
|
537
|
-
*/
|
|
538
|
-
dimensions?: string | undefined;
|
|
539
|
-
/**
|
|
540
|
-
* Only supported on `image` models.
|
|
541
|
-
*/
|
|
542
|
-
quality?: FindOnePromptSnippetPromptSnippetsQuality | 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?: FindOnePromptSnippetResponseFormatPromptSnippets2 | FindOnePromptSnippetResponseFormatPromptSnippets1 | null | undefined;
|
|
559
|
-
/**
|
|
560
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
561
|
-
*/
|
|
562
|
-
photoRealVersion?: FindOnePromptSnippetPromptSnippetsPhotoRealVersion | undefined;
|
|
563
|
-
/**
|
|
564
|
-
* The format to return the embeddings
|
|
565
|
-
*/
|
|
566
|
-
encodingFormat?: FindOnePromptSnippetPromptSnippetsEncodingFormat | 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?: FindOnePromptSnippetPromptSnippetsReasoningEffort | undefined;
|
|
571
|
-
};
|
|
572
|
-
export declare const FindOnePromptSnippetPromptSnippetsProvider: {
|
|
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 FindOnePromptSnippetPromptSnippetsProvider = ClosedEnum<typeof FindOnePromptSnippetPromptSnippetsProvider>;
|
|
593
|
-
/**
|
|
594
|
-
* The role of the prompt message
|
|
595
|
-
*/
|
|
596
|
-
export declare const FindOnePromptSnippetPromptSnippetsRole: {
|
|
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 FindOnePromptSnippetPromptSnippetsRole = ClosedEnum<typeof FindOnePromptSnippetPromptSnippetsRole>;
|
|
610
|
-
export declare const FindOnePromptSnippet2PromptSnippetsResponse200Type: {
|
|
611
|
-
readonly ImageUrl: "image_url";
|
|
612
|
-
};
|
|
613
|
-
export type FindOnePromptSnippet2PromptSnippetsResponse200Type = ClosedEnum<typeof FindOnePromptSnippet2PromptSnippetsResponse200Type>;
|
|
614
|
-
export type FindOnePromptSnippet2PromptSnippetsImageUrl = {
|
|
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 FindOnePromptSnippet2PromptSnippets2 = {
|
|
632
|
-
type: FindOnePromptSnippet2PromptSnippetsResponse200Type;
|
|
633
|
-
imageUrl: FindOnePromptSnippet2PromptSnippetsImageUrl;
|
|
634
|
-
};
|
|
635
|
-
export declare const FindOnePromptSnippet2PromptSnippetsResponseType: {
|
|
636
|
-
readonly Text: "text";
|
|
637
|
-
};
|
|
638
|
-
export type FindOnePromptSnippet2PromptSnippetsResponseType = ClosedEnum<typeof FindOnePromptSnippet2PromptSnippetsResponseType>;
|
|
639
|
-
/**
|
|
640
|
-
* Text content part of a prompt message
|
|
641
|
-
*/
|
|
642
|
-
export type FindOnePromptSnippet2PromptSnippets1 = {
|
|
643
|
-
type: FindOnePromptSnippet2PromptSnippetsResponseType;
|
|
644
|
-
text: string;
|
|
645
|
-
};
|
|
646
|
-
export type FindOnePromptSnippetContentPromptSnippets2 = FindOnePromptSnippet2PromptSnippets1 | FindOnePromptSnippet2PromptSnippets2;
|
|
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 FindOnePromptSnippetPromptSnippetsContent = string | Array<FindOnePromptSnippet2PromptSnippets1 | FindOnePromptSnippet2PromptSnippets2>;
|
|
651
|
-
export declare const FindOnePromptSnippetPromptSnippetsResponseType: {
|
|
652
|
-
readonly Function: "function";
|
|
653
|
-
};
|
|
654
|
-
export type FindOnePromptSnippetPromptSnippetsResponseType = ClosedEnum<typeof FindOnePromptSnippetPromptSnippetsResponseType>;
|
|
655
|
-
export type FindOnePromptSnippetPromptSnippetsFunction = {
|
|
656
|
-
name: string;
|
|
657
|
-
/**
|
|
658
|
-
* JSON string arguments for the functions
|
|
659
|
-
*/
|
|
660
|
-
arguments: string;
|
|
661
|
-
};
|
|
662
|
-
export type FindOnePromptSnippetPromptSnippetsToolCalls = {
|
|
663
|
-
id?: string | undefined;
|
|
664
|
-
index?: number | undefined;
|
|
665
|
-
type: FindOnePromptSnippetPromptSnippetsResponseType;
|
|
666
|
-
function: FindOnePromptSnippetPromptSnippetsFunction;
|
|
667
|
-
};
|
|
668
|
-
export type FindOnePromptSnippetPromptSnippetsMessages = {
|
|
669
|
-
/**
|
|
670
|
-
* The role of the prompt message
|
|
671
|
-
*/
|
|
672
|
-
role: FindOnePromptSnippetPromptSnippetsRole;
|
|
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<FindOnePromptSnippet2PromptSnippets1 | FindOnePromptSnippet2PromptSnippets2>;
|
|
677
|
-
toolCalls?: Array<FindOnePromptSnippetPromptSnippetsToolCalls> | undefined;
|
|
678
|
-
};
|
|
679
|
-
/**
|
|
680
|
-
* A list of messages compatible with the openAI schema
|
|
681
|
-
*/
|
|
682
|
-
export type FindOnePromptSnippetPromptSnippetsPromptConfig = {
|
|
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?: FindOnePromptSnippetPromptSnippetsModelType | undefined;
|
|
693
|
-
/**
|
|
694
|
-
* Model Parameters: Not all parameters apply to every model
|
|
695
|
-
*/
|
|
696
|
-
modelParameters?: FindOnePromptSnippetPromptSnippetsModelParameters | undefined;
|
|
697
|
-
provider?: FindOnePromptSnippetPromptSnippetsProvider | undefined;
|
|
698
|
-
/**
|
|
699
|
-
* The id of the resource
|
|
700
|
-
*/
|
|
701
|
-
integrationId?: string | null | undefined;
|
|
702
|
-
version?: string | undefined;
|
|
703
|
-
messages: Array<FindOnePromptSnippetPromptSnippetsMessages>;
|
|
704
|
-
};
|
|
705
|
-
export declare const FindOnePromptSnippetPromptSnippetsUseCases: {
|
|
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 FindOnePromptSnippetPromptSnippetsUseCases = ClosedEnum<typeof FindOnePromptSnippetPromptSnippetsUseCases>;
|
|
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 FindOnePromptSnippetPromptSnippetsLanguage: {
|
|
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 FindOnePromptSnippetPromptSnippetsLanguage = ClosedEnum<typeof FindOnePromptSnippetPromptSnippetsLanguage>;
|
|
740
|
-
export type FindOnePromptSnippetPromptSnippetsMetadata = {
|
|
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<FindOnePromptSnippetPromptSnippetsUseCases> | 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?: FindOnePromptSnippetPromptSnippetsLanguage | undefined;
|
|
749
|
-
};
|
|
750
|
-
/**
|
|
751
|
-
* Prompt version model returned from the API
|
|
752
|
-
*/
|
|
753
|
-
export type FindOnePromptSnippetVersions = {
|
|
754
|
-
id: string;
|
|
755
|
-
/**
|
|
756
|
-
* 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
|
|
757
|
-
*/
|
|
758
|
-
description?: string | null | undefined;
|
|
759
|
-
/**
|
|
760
|
-
* A list of messages compatible with the openAI schema
|
|
761
|
-
*/
|
|
762
|
-
promptConfig: FindOnePromptSnippetPromptSnippetsPromptConfig;
|
|
763
|
-
metadata: FindOnePromptSnippetPromptSnippetsMetadata;
|
|
764
|
-
createdById: string;
|
|
765
|
-
updatedById: string;
|
|
766
|
-
timestamp: string;
|
|
767
|
-
};
|
|
768
|
-
/**
|
|
769
|
-
* Prompt snippet model returned from the API
|
|
770
|
-
*/
|
|
771
|
-
export type FindOnePromptSnippetResponseBody = {
|
|
772
|
-
id: string;
|
|
773
|
-
owner: string | FindOnePromptSnippetOwner2;
|
|
774
|
-
domainId: string;
|
|
775
|
-
key: string;
|
|
776
|
-
/**
|
|
777
|
-
* 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
|
|
778
|
-
*/
|
|
779
|
-
description?: string | null | undefined;
|
|
780
|
-
/**
|
|
781
|
-
* A list of messages compatible with the openAI schema
|
|
782
|
-
*/
|
|
783
|
-
promptConfig: FindOnePromptSnippetPromptConfig;
|
|
784
|
-
metadata: FindOnePromptSnippetMetadata;
|
|
785
|
-
createdById: string;
|
|
786
|
-
updatedById: string;
|
|
787
|
-
/**
|
|
788
|
-
* The date and time the resource was created
|
|
789
|
-
*/
|
|
790
|
-
created?: Date | undefined;
|
|
791
|
-
/**
|
|
792
|
-
* The date and time the resource was last updated
|
|
793
|
-
*/
|
|
794
|
-
updated?: Date | undefined;
|
|
795
|
-
type: FindOnePromptSnippetType;
|
|
796
|
-
versions: Array<FindOnePromptSnippetVersions>;
|
|
797
|
-
};
|
|
798
|
-
/** @internal */
|
|
799
|
-
export declare const FindOnePromptSnippetRequest$inboundSchema: z.ZodType<FindOnePromptSnippetRequest, z.ZodTypeDef, unknown>;
|
|
800
|
-
/** @internal */
|
|
801
|
-
export type FindOnePromptSnippetRequest$Outbound = {
|
|
802
|
-
id: string;
|
|
803
|
-
};
|
|
804
|
-
/** @internal */
|
|
805
|
-
export declare const FindOnePromptSnippetRequest$outboundSchema: z.ZodType<FindOnePromptSnippetRequest$Outbound, z.ZodTypeDef, FindOnePromptSnippetRequest>;
|
|
806
|
-
/**
|
|
807
|
-
* @internal
|
|
808
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
809
|
-
*/
|
|
810
|
-
export declare namespace FindOnePromptSnippetRequest$ {
|
|
811
|
-
/** @deprecated use `FindOnePromptSnippetRequest$inboundSchema` instead. */
|
|
812
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetRequest, z.ZodTypeDef, unknown>;
|
|
813
|
-
/** @deprecated use `FindOnePromptSnippetRequest$outboundSchema` instead. */
|
|
814
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetRequest$Outbound, z.ZodTypeDef, FindOnePromptSnippetRequest>;
|
|
815
|
-
/** @deprecated use `FindOnePromptSnippetRequest$Outbound` instead. */
|
|
816
|
-
type Outbound = FindOnePromptSnippetRequest$Outbound;
|
|
817
|
-
}
|
|
818
|
-
export declare function findOnePromptSnippetRequestToJSON(findOnePromptSnippetRequest: FindOnePromptSnippetRequest): string;
|
|
819
|
-
export declare function findOnePromptSnippetRequestFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetRequest, SDKValidationError>;
|
|
820
|
-
/** @internal */
|
|
821
|
-
export declare const FindOnePromptSnippetOwner2$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetOwner2>;
|
|
822
|
-
/** @internal */
|
|
823
|
-
export declare const FindOnePromptSnippetOwner2$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetOwner2>;
|
|
824
|
-
/**
|
|
825
|
-
* @internal
|
|
826
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
827
|
-
*/
|
|
828
|
-
export declare namespace FindOnePromptSnippetOwner2$ {
|
|
829
|
-
/** @deprecated use `FindOnePromptSnippetOwner2$inboundSchema` instead. */
|
|
830
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
831
|
-
readonly Vendor: "vendor";
|
|
832
|
-
}>;
|
|
833
|
-
/** @deprecated use `FindOnePromptSnippetOwner2$outboundSchema` instead. */
|
|
834
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
835
|
-
readonly Vendor: "vendor";
|
|
836
|
-
}>;
|
|
837
|
-
}
|
|
838
|
-
/** @internal */
|
|
839
|
-
export declare const FindOnePromptSnippetOwner$inboundSchema: z.ZodType<FindOnePromptSnippetOwner, z.ZodTypeDef, unknown>;
|
|
840
|
-
/** @internal */
|
|
841
|
-
export type FindOnePromptSnippetOwner$Outbound = string | string;
|
|
842
|
-
/** @internal */
|
|
843
|
-
export declare const FindOnePromptSnippetOwner$outboundSchema: z.ZodType<FindOnePromptSnippetOwner$Outbound, z.ZodTypeDef, FindOnePromptSnippetOwner>;
|
|
844
|
-
/**
|
|
845
|
-
* @internal
|
|
846
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
847
|
-
*/
|
|
848
|
-
export declare namespace FindOnePromptSnippetOwner$ {
|
|
849
|
-
/** @deprecated use `FindOnePromptSnippetOwner$inboundSchema` instead. */
|
|
850
|
-
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
851
|
-
/** @deprecated use `FindOnePromptSnippetOwner$outboundSchema` instead. */
|
|
852
|
-
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
853
|
-
/** @deprecated use `FindOnePromptSnippetOwner$Outbound` instead. */
|
|
854
|
-
type Outbound = FindOnePromptSnippetOwner$Outbound;
|
|
855
|
-
}
|
|
856
|
-
export declare function findOnePromptSnippetOwnerToJSON(findOnePromptSnippetOwner: FindOnePromptSnippetOwner): string;
|
|
857
|
-
export declare function findOnePromptSnippetOwnerFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetOwner, SDKValidationError>;
|
|
858
|
-
/** @internal */
|
|
859
|
-
export declare const FindOnePromptSnippetModelType$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetModelType>;
|
|
860
|
-
/** @internal */
|
|
861
|
-
export declare const FindOnePromptSnippetModelType$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetModelType>;
|
|
862
|
-
/**
|
|
863
|
-
* @internal
|
|
864
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
865
|
-
*/
|
|
866
|
-
export declare namespace FindOnePromptSnippetModelType$ {
|
|
867
|
-
/** @deprecated use `FindOnePromptSnippetModelType$inboundSchema` instead. */
|
|
868
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
869
|
-
readonly Chat: "chat";
|
|
870
|
-
readonly Completion: "completion";
|
|
871
|
-
readonly Embedding: "embedding";
|
|
872
|
-
readonly Vision: "vision";
|
|
873
|
-
readonly Image: "image";
|
|
874
|
-
readonly Tts: "tts";
|
|
875
|
-
readonly Stt: "stt";
|
|
876
|
-
readonly Rerank: "rerank";
|
|
877
|
-
readonly Moderations: "moderations";
|
|
878
|
-
}>;
|
|
879
|
-
/** @deprecated use `FindOnePromptSnippetModelType$outboundSchema` instead. */
|
|
880
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
881
|
-
readonly Chat: "chat";
|
|
882
|
-
readonly Completion: "completion";
|
|
883
|
-
readonly Embedding: "embedding";
|
|
884
|
-
readonly Vision: "vision";
|
|
885
|
-
readonly Image: "image";
|
|
886
|
-
readonly Tts: "tts";
|
|
887
|
-
readonly Stt: "stt";
|
|
888
|
-
readonly Rerank: "rerank";
|
|
889
|
-
readonly Moderations: "moderations";
|
|
890
|
-
}>;
|
|
891
|
-
}
|
|
892
|
-
/** @internal */
|
|
893
|
-
export declare const FindOnePromptSnippetFormat$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetFormat>;
|
|
894
|
-
/** @internal */
|
|
895
|
-
export declare const FindOnePromptSnippetFormat$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetFormat>;
|
|
896
|
-
/**
|
|
897
|
-
* @internal
|
|
898
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
899
|
-
*/
|
|
900
|
-
export declare namespace FindOnePromptSnippetFormat$ {
|
|
901
|
-
/** @deprecated use `FindOnePromptSnippetFormat$inboundSchema` instead. */
|
|
902
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
903
|
-
readonly Url: "url";
|
|
904
|
-
readonly B64Json: "b64_json";
|
|
905
|
-
readonly Text: "text";
|
|
906
|
-
readonly JsonObject: "json_object";
|
|
907
|
-
}>;
|
|
908
|
-
/** @deprecated use `FindOnePromptSnippetFormat$outboundSchema` instead. */
|
|
909
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
910
|
-
readonly Url: "url";
|
|
911
|
-
readonly B64Json: "b64_json";
|
|
912
|
-
readonly Text: "text";
|
|
913
|
-
readonly JsonObject: "json_object";
|
|
914
|
-
}>;
|
|
915
|
-
}
|
|
916
|
-
/** @internal */
|
|
917
|
-
export declare const FindOnePromptSnippetQuality$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetQuality>;
|
|
918
|
-
/** @internal */
|
|
919
|
-
export declare const FindOnePromptSnippetQuality$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetQuality>;
|
|
920
|
-
/**
|
|
921
|
-
* @internal
|
|
922
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
923
|
-
*/
|
|
924
|
-
export declare namespace FindOnePromptSnippetQuality$ {
|
|
925
|
-
/** @deprecated use `FindOnePromptSnippetQuality$inboundSchema` instead. */
|
|
926
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
927
|
-
readonly Standard: "standard";
|
|
928
|
-
readonly Hd: "hd";
|
|
929
|
-
}>;
|
|
930
|
-
/** @deprecated use `FindOnePromptSnippetQuality$outboundSchema` instead. */
|
|
931
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
932
|
-
readonly Standard: "standard";
|
|
933
|
-
readonly Hd: "hd";
|
|
934
|
-
}>;
|
|
935
|
-
}
|
|
936
|
-
/** @internal */
|
|
937
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetResponseFormatPromptSnippetsType>;
|
|
938
|
-
/** @internal */
|
|
939
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetResponseFormatPromptSnippetsType>;
|
|
940
|
-
/**
|
|
941
|
-
* @internal
|
|
942
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
943
|
-
*/
|
|
944
|
-
export declare namespace FindOnePromptSnippetResponseFormatPromptSnippetsType$ {
|
|
945
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippetsType$inboundSchema` instead. */
|
|
946
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
947
|
-
readonly JsonObject: "json_object";
|
|
948
|
-
}>;
|
|
949
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippetsType$outboundSchema` instead. */
|
|
950
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
951
|
-
readonly JsonObject: "json_object";
|
|
952
|
-
}>;
|
|
953
|
-
}
|
|
954
|
-
/** @internal */
|
|
955
|
-
export declare const FindOnePromptSnippetResponseFormat2$inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormat2, z.ZodTypeDef, unknown>;
|
|
956
|
-
/** @internal */
|
|
957
|
-
export type FindOnePromptSnippetResponseFormat2$Outbound = {
|
|
958
|
-
type: string;
|
|
959
|
-
};
|
|
960
|
-
/** @internal */
|
|
961
|
-
export declare const FindOnePromptSnippetResponseFormat2$outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormat2$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormat2>;
|
|
962
|
-
/**
|
|
963
|
-
* @internal
|
|
964
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
965
|
-
*/
|
|
966
|
-
export declare namespace FindOnePromptSnippetResponseFormat2$ {
|
|
967
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormat2$inboundSchema` instead. */
|
|
968
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormat2, z.ZodTypeDef, unknown>;
|
|
969
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormat2$outboundSchema` instead. */
|
|
970
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormat2$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormat2>;
|
|
971
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormat2$Outbound` instead. */
|
|
972
|
-
type Outbound = FindOnePromptSnippetResponseFormat2$Outbound;
|
|
973
|
-
}
|
|
974
|
-
export declare function findOnePromptSnippetResponseFormat2ToJSON(findOnePromptSnippetResponseFormat2: FindOnePromptSnippetResponseFormat2): string;
|
|
975
|
-
export declare function findOnePromptSnippetResponseFormat2FromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetResponseFormat2, SDKValidationError>;
|
|
976
|
-
/** @internal */
|
|
977
|
-
export declare const FindOnePromptSnippetResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetResponseFormatType>;
|
|
978
|
-
/** @internal */
|
|
979
|
-
export declare const FindOnePromptSnippetResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetResponseFormatType>;
|
|
980
|
-
/**
|
|
981
|
-
* @internal
|
|
982
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
983
|
-
*/
|
|
984
|
-
export declare namespace FindOnePromptSnippetResponseFormatType$ {
|
|
985
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatType$inboundSchema` instead. */
|
|
986
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
987
|
-
readonly JsonSchema: "json_schema";
|
|
988
|
-
}>;
|
|
989
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatType$outboundSchema` instead. */
|
|
990
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
991
|
-
readonly JsonSchema: "json_schema";
|
|
992
|
-
}>;
|
|
993
|
-
}
|
|
994
|
-
/** @internal */
|
|
995
|
-
export declare const FindOnePromptSnippetResponseFormatJsonSchema$inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
996
|
-
/** @internal */
|
|
997
|
-
export type FindOnePromptSnippetResponseFormatJsonSchema$Outbound = {
|
|
998
|
-
name: string;
|
|
999
|
-
strict: boolean;
|
|
1000
|
-
schema: {
|
|
1001
|
-
[k: string]: any;
|
|
1002
|
-
};
|
|
1003
|
-
};
|
|
1004
|
-
/** @internal */
|
|
1005
|
-
export declare const FindOnePromptSnippetResponseFormatJsonSchema$outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatJsonSchema$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormatJsonSchema>;
|
|
1006
|
-
/**
|
|
1007
|
-
* @internal
|
|
1008
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1009
|
-
*/
|
|
1010
|
-
export declare namespace FindOnePromptSnippetResponseFormatJsonSchema$ {
|
|
1011
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatJsonSchema$inboundSchema` instead. */
|
|
1012
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
1013
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatJsonSchema$outboundSchema` instead. */
|
|
1014
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatJsonSchema$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormatJsonSchema>;
|
|
1015
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatJsonSchema$Outbound` instead. */
|
|
1016
|
-
type Outbound = FindOnePromptSnippetResponseFormatJsonSchema$Outbound;
|
|
1017
|
-
}
|
|
1018
|
-
export declare function findOnePromptSnippetResponseFormatJsonSchemaToJSON(findOnePromptSnippetResponseFormatJsonSchema: FindOnePromptSnippetResponseFormatJsonSchema): string;
|
|
1019
|
-
export declare function findOnePromptSnippetResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetResponseFormatJsonSchema, SDKValidationError>;
|
|
1020
|
-
/** @internal */
|
|
1021
|
-
export declare const FindOnePromptSnippetResponseFormat1$inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1022
|
-
/** @internal */
|
|
1023
|
-
export type FindOnePromptSnippetResponseFormat1$Outbound = {
|
|
1024
|
-
type: string;
|
|
1025
|
-
json_schema: FindOnePromptSnippetResponseFormatJsonSchema$Outbound;
|
|
1026
|
-
};
|
|
1027
|
-
/** @internal */
|
|
1028
|
-
export declare const FindOnePromptSnippetResponseFormat1$outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormat1$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormat1>;
|
|
1029
|
-
/**
|
|
1030
|
-
* @internal
|
|
1031
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1032
|
-
*/
|
|
1033
|
-
export declare namespace FindOnePromptSnippetResponseFormat1$ {
|
|
1034
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormat1$inboundSchema` instead. */
|
|
1035
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1036
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormat1$outboundSchema` instead. */
|
|
1037
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormat1$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormat1>;
|
|
1038
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormat1$Outbound` instead. */
|
|
1039
|
-
type Outbound = FindOnePromptSnippetResponseFormat1$Outbound;
|
|
1040
|
-
}
|
|
1041
|
-
export declare function findOnePromptSnippetResponseFormat1ToJSON(findOnePromptSnippetResponseFormat1: FindOnePromptSnippetResponseFormat1): string;
|
|
1042
|
-
export declare function findOnePromptSnippetResponseFormat1FromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetResponseFormat1, SDKValidationError>;
|
|
1043
|
-
/** @internal */
|
|
1044
|
-
export declare const FindOnePromptSnippetResponseFormat$inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormat, z.ZodTypeDef, unknown>;
|
|
1045
|
-
/** @internal */
|
|
1046
|
-
export type FindOnePromptSnippetResponseFormat$Outbound = FindOnePromptSnippetResponseFormat2$Outbound | FindOnePromptSnippetResponseFormat1$Outbound;
|
|
1047
|
-
/** @internal */
|
|
1048
|
-
export declare const FindOnePromptSnippetResponseFormat$outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormat$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormat>;
|
|
1049
|
-
/**
|
|
1050
|
-
* @internal
|
|
1051
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1052
|
-
*/
|
|
1053
|
-
export declare namespace FindOnePromptSnippetResponseFormat$ {
|
|
1054
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormat$inboundSchema` instead. */
|
|
1055
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormat, z.ZodTypeDef, unknown>;
|
|
1056
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormat$outboundSchema` instead. */
|
|
1057
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormat$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormat>;
|
|
1058
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormat$Outbound` instead. */
|
|
1059
|
-
type Outbound = FindOnePromptSnippetResponseFormat$Outbound;
|
|
1060
|
-
}
|
|
1061
|
-
export declare function findOnePromptSnippetResponseFormatToJSON(findOnePromptSnippetResponseFormat: FindOnePromptSnippetResponseFormat): string;
|
|
1062
|
-
export declare function findOnePromptSnippetResponseFormatFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetResponseFormat, SDKValidationError>;
|
|
1063
|
-
/** @internal */
|
|
1064
|
-
export declare const FindOnePromptSnippetPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPhotoRealVersion>;
|
|
1065
|
-
/** @internal */
|
|
1066
|
-
export declare const FindOnePromptSnippetPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPhotoRealVersion>;
|
|
1067
|
-
/**
|
|
1068
|
-
* @internal
|
|
1069
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1070
|
-
*/
|
|
1071
|
-
export declare namespace FindOnePromptSnippetPhotoRealVersion$ {
|
|
1072
|
-
/** @deprecated use `FindOnePromptSnippetPhotoRealVersion$inboundSchema` instead. */
|
|
1073
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1074
|
-
readonly V1: "v1";
|
|
1075
|
-
readonly V2: "v2";
|
|
1076
|
-
}>;
|
|
1077
|
-
/** @deprecated use `FindOnePromptSnippetPhotoRealVersion$outboundSchema` instead. */
|
|
1078
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1079
|
-
readonly V1: "v1";
|
|
1080
|
-
readonly V2: "v2";
|
|
1081
|
-
}>;
|
|
1082
|
-
}
|
|
1083
|
-
/** @internal */
|
|
1084
|
-
export declare const FindOnePromptSnippetEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetEncodingFormat>;
|
|
1085
|
-
/** @internal */
|
|
1086
|
-
export declare const FindOnePromptSnippetEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetEncodingFormat>;
|
|
1087
|
-
/**
|
|
1088
|
-
* @internal
|
|
1089
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1090
|
-
*/
|
|
1091
|
-
export declare namespace FindOnePromptSnippetEncodingFormat$ {
|
|
1092
|
-
/** @deprecated use `FindOnePromptSnippetEncodingFormat$inboundSchema` instead. */
|
|
1093
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1094
|
-
readonly Float: "float";
|
|
1095
|
-
readonly Base64: "base64";
|
|
1096
|
-
}>;
|
|
1097
|
-
/** @deprecated use `FindOnePromptSnippetEncodingFormat$outboundSchema` instead. */
|
|
1098
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1099
|
-
readonly Float: "float";
|
|
1100
|
-
readonly Base64: "base64";
|
|
1101
|
-
}>;
|
|
1102
|
-
}
|
|
1103
|
-
/** @internal */
|
|
1104
|
-
export declare const FindOnePromptSnippetReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetReasoningEffort>;
|
|
1105
|
-
/** @internal */
|
|
1106
|
-
export declare const FindOnePromptSnippetReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetReasoningEffort>;
|
|
1107
|
-
/**
|
|
1108
|
-
* @internal
|
|
1109
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1110
|
-
*/
|
|
1111
|
-
export declare namespace FindOnePromptSnippetReasoningEffort$ {
|
|
1112
|
-
/** @deprecated use `FindOnePromptSnippetReasoningEffort$inboundSchema` instead. */
|
|
1113
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1114
|
-
readonly Low: "low";
|
|
1115
|
-
readonly Medium: "medium";
|
|
1116
|
-
readonly High: "high";
|
|
1117
|
-
}>;
|
|
1118
|
-
/** @deprecated use `FindOnePromptSnippetReasoningEffort$outboundSchema` instead. */
|
|
1119
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1120
|
-
readonly Low: "low";
|
|
1121
|
-
readonly Medium: "medium";
|
|
1122
|
-
readonly High: "high";
|
|
1123
|
-
}>;
|
|
1124
|
-
}
|
|
1125
|
-
/** @internal */
|
|
1126
|
-
export declare const FindOnePromptSnippetModelParameters$inboundSchema: z.ZodType<FindOnePromptSnippetModelParameters, z.ZodTypeDef, unknown>;
|
|
1127
|
-
/** @internal */
|
|
1128
|
-
export type FindOnePromptSnippetModelParameters$Outbound = {
|
|
1129
|
-
temperature?: number | undefined;
|
|
1130
|
-
maxTokens?: number | undefined;
|
|
1131
|
-
topK?: number | undefined;
|
|
1132
|
-
topP?: number | undefined;
|
|
1133
|
-
frequencyPenalty?: number | undefined;
|
|
1134
|
-
presencePenalty?: number | undefined;
|
|
1135
|
-
numImages?: number | undefined;
|
|
1136
|
-
seed?: number | undefined;
|
|
1137
|
-
format?: string | undefined;
|
|
1138
|
-
dimensions?: string | undefined;
|
|
1139
|
-
quality?: string | undefined;
|
|
1140
|
-
style?: string | undefined;
|
|
1141
|
-
responseFormat?: FindOnePromptSnippetResponseFormat2$Outbound | FindOnePromptSnippetResponseFormat1$Outbound | null | undefined;
|
|
1142
|
-
photoRealVersion?: string | undefined;
|
|
1143
|
-
encoding_format?: string | undefined;
|
|
1144
|
-
reasoningEffort?: string | undefined;
|
|
1145
|
-
};
|
|
1146
|
-
/** @internal */
|
|
1147
|
-
export declare const FindOnePromptSnippetModelParameters$outboundSchema: z.ZodType<FindOnePromptSnippetModelParameters$Outbound, z.ZodTypeDef, FindOnePromptSnippetModelParameters>;
|
|
1148
|
-
/**
|
|
1149
|
-
* @internal
|
|
1150
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1151
|
-
*/
|
|
1152
|
-
export declare namespace FindOnePromptSnippetModelParameters$ {
|
|
1153
|
-
/** @deprecated use `FindOnePromptSnippetModelParameters$inboundSchema` instead. */
|
|
1154
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetModelParameters, z.ZodTypeDef, unknown>;
|
|
1155
|
-
/** @deprecated use `FindOnePromptSnippetModelParameters$outboundSchema` instead. */
|
|
1156
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetModelParameters$Outbound, z.ZodTypeDef, FindOnePromptSnippetModelParameters>;
|
|
1157
|
-
/** @deprecated use `FindOnePromptSnippetModelParameters$Outbound` instead. */
|
|
1158
|
-
type Outbound = FindOnePromptSnippetModelParameters$Outbound;
|
|
1159
|
-
}
|
|
1160
|
-
export declare function findOnePromptSnippetModelParametersToJSON(findOnePromptSnippetModelParameters: FindOnePromptSnippetModelParameters): string;
|
|
1161
|
-
export declare function findOnePromptSnippetModelParametersFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetModelParameters, SDKValidationError>;
|
|
1162
|
-
/** @internal */
|
|
1163
|
-
export declare const FindOnePromptSnippetProvider$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetProvider>;
|
|
1164
|
-
/** @internal */
|
|
1165
|
-
export declare const FindOnePromptSnippetProvider$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetProvider>;
|
|
1166
|
-
/**
|
|
1167
|
-
* @internal
|
|
1168
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1169
|
-
*/
|
|
1170
|
-
export declare namespace FindOnePromptSnippetProvider$ {
|
|
1171
|
-
/** @deprecated use `FindOnePromptSnippetProvider$inboundSchema` instead. */
|
|
1172
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1173
|
-
readonly Cohere: "cohere";
|
|
1174
|
-
readonly Openai: "openai";
|
|
1175
|
-
readonly Anthropic: "anthropic";
|
|
1176
|
-
readonly Huggingface: "huggingface";
|
|
1177
|
-
readonly Replicate: "replicate";
|
|
1178
|
-
readonly Google: "google";
|
|
1179
|
-
readonly GoogleAi: "google-ai";
|
|
1180
|
-
readonly Azure: "azure";
|
|
1181
|
-
readonly Aws: "aws";
|
|
1182
|
-
readonly Anyscale: "anyscale";
|
|
1183
|
-
readonly Perplexity: "perplexity";
|
|
1184
|
-
readonly Groq: "groq";
|
|
1185
|
-
readonly Fal: "fal";
|
|
1186
|
-
readonly Leonardoai: "leonardoai";
|
|
1187
|
-
readonly Nvidia: "nvidia";
|
|
1188
|
-
readonly Jina: "jina";
|
|
1189
|
-
readonly Togetherai: "togetherai";
|
|
1190
|
-
readonly Elevenlabs: "elevenlabs";
|
|
1191
|
-
}>;
|
|
1192
|
-
/** @deprecated use `FindOnePromptSnippetProvider$outboundSchema` instead. */
|
|
1193
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1194
|
-
readonly Cohere: "cohere";
|
|
1195
|
-
readonly Openai: "openai";
|
|
1196
|
-
readonly Anthropic: "anthropic";
|
|
1197
|
-
readonly Huggingface: "huggingface";
|
|
1198
|
-
readonly Replicate: "replicate";
|
|
1199
|
-
readonly Google: "google";
|
|
1200
|
-
readonly GoogleAi: "google-ai";
|
|
1201
|
-
readonly Azure: "azure";
|
|
1202
|
-
readonly Aws: "aws";
|
|
1203
|
-
readonly Anyscale: "anyscale";
|
|
1204
|
-
readonly Perplexity: "perplexity";
|
|
1205
|
-
readonly Groq: "groq";
|
|
1206
|
-
readonly Fal: "fal";
|
|
1207
|
-
readonly Leonardoai: "leonardoai";
|
|
1208
|
-
readonly Nvidia: "nvidia";
|
|
1209
|
-
readonly Jina: "jina";
|
|
1210
|
-
readonly Togetherai: "togetherai";
|
|
1211
|
-
readonly Elevenlabs: "elevenlabs";
|
|
1212
|
-
}>;
|
|
1213
|
-
}
|
|
1214
|
-
/** @internal */
|
|
1215
|
-
export declare const FindOnePromptSnippetRole$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetRole>;
|
|
1216
|
-
/** @internal */
|
|
1217
|
-
export declare const FindOnePromptSnippetRole$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetRole>;
|
|
1218
|
-
/**
|
|
1219
|
-
* @internal
|
|
1220
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1221
|
-
*/
|
|
1222
|
-
export declare namespace FindOnePromptSnippetRole$ {
|
|
1223
|
-
/** @deprecated use `FindOnePromptSnippetRole$inboundSchema` instead. */
|
|
1224
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1225
|
-
readonly System: "system";
|
|
1226
|
-
readonly Assistant: "assistant";
|
|
1227
|
-
readonly User: "user";
|
|
1228
|
-
readonly Exception: "exception";
|
|
1229
|
-
readonly Tool: "tool";
|
|
1230
|
-
readonly Prompt: "prompt";
|
|
1231
|
-
readonly Correction: "correction";
|
|
1232
|
-
readonly ExpectedOutput: "expected_output";
|
|
1233
|
-
}>;
|
|
1234
|
-
/** @deprecated use `FindOnePromptSnippetRole$outboundSchema` instead. */
|
|
1235
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1236
|
-
readonly System: "system";
|
|
1237
|
-
readonly Assistant: "assistant";
|
|
1238
|
-
readonly User: "user";
|
|
1239
|
-
readonly Exception: "exception";
|
|
1240
|
-
readonly Tool: "tool";
|
|
1241
|
-
readonly Prompt: "prompt";
|
|
1242
|
-
readonly Correction: "correction";
|
|
1243
|
-
readonly ExpectedOutput: "expected_output";
|
|
1244
|
-
}>;
|
|
1245
|
-
}
|
|
1246
|
-
/** @internal */
|
|
1247
|
-
export declare const FindOnePromptSnippet2PromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippet2PromptSnippetsType>;
|
|
1248
|
-
/** @internal */
|
|
1249
|
-
export declare const FindOnePromptSnippet2PromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippet2PromptSnippetsType>;
|
|
1250
|
-
/**
|
|
1251
|
-
* @internal
|
|
1252
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1253
|
-
*/
|
|
1254
|
-
export declare namespace FindOnePromptSnippet2PromptSnippetsType$ {
|
|
1255
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippetsType$inboundSchema` instead. */
|
|
1256
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1257
|
-
readonly ImageUrl: "image_url";
|
|
1258
|
-
}>;
|
|
1259
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippetsType$outboundSchema` instead. */
|
|
1260
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1261
|
-
readonly ImageUrl: "image_url";
|
|
1262
|
-
}>;
|
|
1263
|
-
}
|
|
1264
|
-
/** @internal */
|
|
1265
|
-
export declare const FindOnePromptSnippet2ImageUrl$inboundSchema: z.ZodType<FindOnePromptSnippet2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1266
|
-
/** @internal */
|
|
1267
|
-
export type FindOnePromptSnippet2ImageUrl$Outbound = {
|
|
1268
|
-
id?: string | undefined;
|
|
1269
|
-
url: string;
|
|
1270
|
-
detail?: string | undefined;
|
|
1271
|
-
};
|
|
1272
|
-
/** @internal */
|
|
1273
|
-
export declare const FindOnePromptSnippet2ImageUrl$outboundSchema: z.ZodType<FindOnePromptSnippet2ImageUrl$Outbound, z.ZodTypeDef, FindOnePromptSnippet2ImageUrl>;
|
|
1274
|
-
/**
|
|
1275
|
-
* @internal
|
|
1276
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1277
|
-
*/
|
|
1278
|
-
export declare namespace FindOnePromptSnippet2ImageUrl$ {
|
|
1279
|
-
/** @deprecated use `FindOnePromptSnippet2ImageUrl$inboundSchema` instead. */
|
|
1280
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippet2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1281
|
-
/** @deprecated use `FindOnePromptSnippet2ImageUrl$outboundSchema` instead. */
|
|
1282
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippet2ImageUrl$Outbound, z.ZodTypeDef, FindOnePromptSnippet2ImageUrl>;
|
|
1283
|
-
/** @deprecated use `FindOnePromptSnippet2ImageUrl$Outbound` instead. */
|
|
1284
|
-
type Outbound = FindOnePromptSnippet2ImageUrl$Outbound;
|
|
1285
|
-
}
|
|
1286
|
-
export declare function findOnePromptSnippet2ImageUrlToJSON(findOnePromptSnippet2ImageUrl: FindOnePromptSnippet2ImageUrl): string;
|
|
1287
|
-
export declare function findOnePromptSnippet2ImageUrlFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippet2ImageUrl, SDKValidationError>;
|
|
1288
|
-
/** @internal */
|
|
1289
|
-
export declare const FindOnePromptSnippet22$inboundSchema: z.ZodType<FindOnePromptSnippet22, z.ZodTypeDef, unknown>;
|
|
1290
|
-
/** @internal */
|
|
1291
|
-
export type FindOnePromptSnippet22$Outbound = {
|
|
1292
|
-
type: string;
|
|
1293
|
-
image_url: FindOnePromptSnippet2ImageUrl$Outbound;
|
|
1294
|
-
};
|
|
1295
|
-
/** @internal */
|
|
1296
|
-
export declare const FindOnePromptSnippet22$outboundSchema: z.ZodType<FindOnePromptSnippet22$Outbound, z.ZodTypeDef, FindOnePromptSnippet22>;
|
|
1297
|
-
/**
|
|
1298
|
-
* @internal
|
|
1299
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1300
|
-
*/
|
|
1301
|
-
export declare namespace FindOnePromptSnippet22$ {
|
|
1302
|
-
/** @deprecated use `FindOnePromptSnippet22$inboundSchema` instead. */
|
|
1303
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippet22, z.ZodTypeDef, unknown>;
|
|
1304
|
-
/** @deprecated use `FindOnePromptSnippet22$outboundSchema` instead. */
|
|
1305
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippet22$Outbound, z.ZodTypeDef, FindOnePromptSnippet22>;
|
|
1306
|
-
/** @deprecated use `FindOnePromptSnippet22$Outbound` instead. */
|
|
1307
|
-
type Outbound = FindOnePromptSnippet22$Outbound;
|
|
1308
|
-
}
|
|
1309
|
-
export declare function findOnePromptSnippet22ToJSON(findOnePromptSnippet22: FindOnePromptSnippet22): string;
|
|
1310
|
-
export declare function findOnePromptSnippet22FromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippet22, SDKValidationError>;
|
|
1311
|
-
/** @internal */
|
|
1312
|
-
export declare const FindOnePromptSnippet2Type$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippet2Type>;
|
|
1313
|
-
/** @internal */
|
|
1314
|
-
export declare const FindOnePromptSnippet2Type$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippet2Type>;
|
|
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 FindOnePromptSnippet2Type$ {
|
|
1320
|
-
/** @deprecated use `FindOnePromptSnippet2Type$inboundSchema` instead. */
|
|
1321
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1322
|
-
readonly Text: "text";
|
|
1323
|
-
}>;
|
|
1324
|
-
/** @deprecated use `FindOnePromptSnippet2Type$outboundSchema` instead. */
|
|
1325
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1326
|
-
readonly Text: "text";
|
|
1327
|
-
}>;
|
|
1328
|
-
}
|
|
1329
|
-
/** @internal */
|
|
1330
|
-
export declare const FindOnePromptSnippet21$inboundSchema: z.ZodType<FindOnePromptSnippet21, z.ZodTypeDef, unknown>;
|
|
1331
|
-
/** @internal */
|
|
1332
|
-
export type FindOnePromptSnippet21$Outbound = {
|
|
1333
|
-
type: string;
|
|
1334
|
-
text: string;
|
|
1335
|
-
};
|
|
1336
|
-
/** @internal */
|
|
1337
|
-
export declare const FindOnePromptSnippet21$outboundSchema: z.ZodType<FindOnePromptSnippet21$Outbound, z.ZodTypeDef, FindOnePromptSnippet21>;
|
|
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 FindOnePromptSnippet21$ {
|
|
1343
|
-
/** @deprecated use `FindOnePromptSnippet21$inboundSchema` instead. */
|
|
1344
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippet21, z.ZodTypeDef, unknown>;
|
|
1345
|
-
/** @deprecated use `FindOnePromptSnippet21$outboundSchema` instead. */
|
|
1346
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippet21$Outbound, z.ZodTypeDef, FindOnePromptSnippet21>;
|
|
1347
|
-
/** @deprecated use `FindOnePromptSnippet21$Outbound` instead. */
|
|
1348
|
-
type Outbound = FindOnePromptSnippet21$Outbound;
|
|
1349
|
-
}
|
|
1350
|
-
export declare function findOnePromptSnippet21ToJSON(findOnePromptSnippet21: FindOnePromptSnippet21): string;
|
|
1351
|
-
export declare function findOnePromptSnippet21FromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippet21, SDKValidationError>;
|
|
1352
|
-
/** @internal */
|
|
1353
|
-
export declare const FindOnePromptSnippetContent2$inboundSchema: z.ZodType<FindOnePromptSnippetContent2, z.ZodTypeDef, unknown>;
|
|
1354
|
-
/** @internal */
|
|
1355
|
-
export type FindOnePromptSnippetContent2$Outbound = FindOnePromptSnippet21$Outbound | FindOnePromptSnippet22$Outbound;
|
|
1356
|
-
/** @internal */
|
|
1357
|
-
export declare const FindOnePromptSnippetContent2$outboundSchema: z.ZodType<FindOnePromptSnippetContent2$Outbound, z.ZodTypeDef, FindOnePromptSnippetContent2>;
|
|
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 FindOnePromptSnippetContent2$ {
|
|
1363
|
-
/** @deprecated use `FindOnePromptSnippetContent2$inboundSchema` instead. */
|
|
1364
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetContent2, z.ZodTypeDef, unknown>;
|
|
1365
|
-
/** @deprecated use `FindOnePromptSnippetContent2$outboundSchema` instead. */
|
|
1366
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetContent2$Outbound, z.ZodTypeDef, FindOnePromptSnippetContent2>;
|
|
1367
|
-
/** @deprecated use `FindOnePromptSnippetContent2$Outbound` instead. */
|
|
1368
|
-
type Outbound = FindOnePromptSnippetContent2$Outbound;
|
|
1369
|
-
}
|
|
1370
|
-
export declare function findOnePromptSnippetContent2ToJSON(findOnePromptSnippetContent2: FindOnePromptSnippetContent2): string;
|
|
1371
|
-
export declare function findOnePromptSnippetContent2FromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetContent2, SDKValidationError>;
|
|
1372
|
-
/** @internal */
|
|
1373
|
-
export declare const FindOnePromptSnippetContent$inboundSchema: z.ZodType<FindOnePromptSnippetContent, z.ZodTypeDef, unknown>;
|
|
1374
|
-
/** @internal */
|
|
1375
|
-
export type FindOnePromptSnippetContent$Outbound = string | Array<FindOnePromptSnippet21$Outbound | FindOnePromptSnippet22$Outbound>;
|
|
1376
|
-
/** @internal */
|
|
1377
|
-
export declare const FindOnePromptSnippetContent$outboundSchema: z.ZodType<FindOnePromptSnippetContent$Outbound, z.ZodTypeDef, FindOnePromptSnippetContent>;
|
|
1378
|
-
/**
|
|
1379
|
-
* @internal
|
|
1380
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1381
|
-
*/
|
|
1382
|
-
export declare namespace FindOnePromptSnippetContent$ {
|
|
1383
|
-
/** @deprecated use `FindOnePromptSnippetContent$inboundSchema` instead. */
|
|
1384
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetContent, z.ZodTypeDef, unknown>;
|
|
1385
|
-
/** @deprecated use `FindOnePromptSnippetContent$outboundSchema` instead. */
|
|
1386
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetContent$Outbound, z.ZodTypeDef, FindOnePromptSnippetContent>;
|
|
1387
|
-
/** @deprecated use `FindOnePromptSnippetContent$Outbound` instead. */
|
|
1388
|
-
type Outbound = FindOnePromptSnippetContent$Outbound;
|
|
1389
|
-
}
|
|
1390
|
-
export declare function findOnePromptSnippetContentToJSON(findOnePromptSnippetContent: FindOnePromptSnippetContent): string;
|
|
1391
|
-
export declare function findOnePromptSnippetContentFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetContent, SDKValidationError>;
|
|
1392
|
-
/** @internal */
|
|
1393
|
-
export declare const FindOnePromptSnippetPromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsType>;
|
|
1394
|
-
/** @internal */
|
|
1395
|
-
export declare const FindOnePromptSnippetPromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsType>;
|
|
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 FindOnePromptSnippetPromptSnippetsType$ {
|
|
1401
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsType$inboundSchema` instead. */
|
|
1402
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1403
|
-
readonly Function: "function";
|
|
1404
|
-
}>;
|
|
1405
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsType$outboundSchema` instead. */
|
|
1406
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1407
|
-
readonly Function: "function";
|
|
1408
|
-
}>;
|
|
1409
|
-
}
|
|
1410
|
-
/** @internal */
|
|
1411
|
-
export declare const FindOnePromptSnippetFunction$inboundSchema: z.ZodType<FindOnePromptSnippetFunction, z.ZodTypeDef, unknown>;
|
|
1412
|
-
/** @internal */
|
|
1413
|
-
export type FindOnePromptSnippetFunction$Outbound = {
|
|
1414
|
-
name: string;
|
|
1415
|
-
arguments: string;
|
|
1416
|
-
};
|
|
1417
|
-
/** @internal */
|
|
1418
|
-
export declare const FindOnePromptSnippetFunction$outboundSchema: z.ZodType<FindOnePromptSnippetFunction$Outbound, z.ZodTypeDef, FindOnePromptSnippetFunction>;
|
|
1419
|
-
/**
|
|
1420
|
-
* @internal
|
|
1421
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1422
|
-
*/
|
|
1423
|
-
export declare namespace FindOnePromptSnippetFunction$ {
|
|
1424
|
-
/** @deprecated use `FindOnePromptSnippetFunction$inboundSchema` instead. */
|
|
1425
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetFunction, z.ZodTypeDef, unknown>;
|
|
1426
|
-
/** @deprecated use `FindOnePromptSnippetFunction$outboundSchema` instead. */
|
|
1427
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetFunction$Outbound, z.ZodTypeDef, FindOnePromptSnippetFunction>;
|
|
1428
|
-
/** @deprecated use `FindOnePromptSnippetFunction$Outbound` instead. */
|
|
1429
|
-
type Outbound = FindOnePromptSnippetFunction$Outbound;
|
|
1430
|
-
}
|
|
1431
|
-
export declare function findOnePromptSnippetFunctionToJSON(findOnePromptSnippetFunction: FindOnePromptSnippetFunction): string;
|
|
1432
|
-
export declare function findOnePromptSnippetFunctionFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetFunction, SDKValidationError>;
|
|
1433
|
-
/** @internal */
|
|
1434
|
-
export declare const FindOnePromptSnippetToolCalls$inboundSchema: z.ZodType<FindOnePromptSnippetToolCalls, z.ZodTypeDef, unknown>;
|
|
1435
|
-
/** @internal */
|
|
1436
|
-
export type FindOnePromptSnippetToolCalls$Outbound = {
|
|
1437
|
-
id?: string | undefined;
|
|
1438
|
-
index?: number | undefined;
|
|
1439
|
-
type: string;
|
|
1440
|
-
function: FindOnePromptSnippetFunction$Outbound;
|
|
1441
|
-
};
|
|
1442
|
-
/** @internal */
|
|
1443
|
-
export declare const FindOnePromptSnippetToolCalls$outboundSchema: z.ZodType<FindOnePromptSnippetToolCalls$Outbound, z.ZodTypeDef, FindOnePromptSnippetToolCalls>;
|
|
1444
|
-
/**
|
|
1445
|
-
* @internal
|
|
1446
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1447
|
-
*/
|
|
1448
|
-
export declare namespace FindOnePromptSnippetToolCalls$ {
|
|
1449
|
-
/** @deprecated use `FindOnePromptSnippetToolCalls$inboundSchema` instead. */
|
|
1450
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetToolCalls, z.ZodTypeDef, unknown>;
|
|
1451
|
-
/** @deprecated use `FindOnePromptSnippetToolCalls$outboundSchema` instead. */
|
|
1452
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetToolCalls$Outbound, z.ZodTypeDef, FindOnePromptSnippetToolCalls>;
|
|
1453
|
-
/** @deprecated use `FindOnePromptSnippetToolCalls$Outbound` instead. */
|
|
1454
|
-
type Outbound = FindOnePromptSnippetToolCalls$Outbound;
|
|
1455
|
-
}
|
|
1456
|
-
export declare function findOnePromptSnippetToolCallsToJSON(findOnePromptSnippetToolCalls: FindOnePromptSnippetToolCalls): string;
|
|
1457
|
-
export declare function findOnePromptSnippetToolCallsFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetToolCalls, SDKValidationError>;
|
|
1458
|
-
/** @internal */
|
|
1459
|
-
export declare const FindOnePromptSnippetMessages$inboundSchema: z.ZodType<FindOnePromptSnippetMessages, z.ZodTypeDef, unknown>;
|
|
1460
|
-
/** @internal */
|
|
1461
|
-
export type FindOnePromptSnippetMessages$Outbound = {
|
|
1462
|
-
role: string;
|
|
1463
|
-
content: string | Array<FindOnePromptSnippet21$Outbound | FindOnePromptSnippet22$Outbound>;
|
|
1464
|
-
tool_calls?: Array<FindOnePromptSnippetToolCalls$Outbound> | undefined;
|
|
1465
|
-
};
|
|
1466
|
-
/** @internal */
|
|
1467
|
-
export declare const FindOnePromptSnippetMessages$outboundSchema: z.ZodType<FindOnePromptSnippetMessages$Outbound, z.ZodTypeDef, FindOnePromptSnippetMessages>;
|
|
1468
|
-
/**
|
|
1469
|
-
* @internal
|
|
1470
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1471
|
-
*/
|
|
1472
|
-
export declare namespace FindOnePromptSnippetMessages$ {
|
|
1473
|
-
/** @deprecated use `FindOnePromptSnippetMessages$inboundSchema` instead. */
|
|
1474
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetMessages, z.ZodTypeDef, unknown>;
|
|
1475
|
-
/** @deprecated use `FindOnePromptSnippetMessages$outboundSchema` instead. */
|
|
1476
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetMessages$Outbound, z.ZodTypeDef, FindOnePromptSnippetMessages>;
|
|
1477
|
-
/** @deprecated use `FindOnePromptSnippetMessages$Outbound` instead. */
|
|
1478
|
-
type Outbound = FindOnePromptSnippetMessages$Outbound;
|
|
1479
|
-
}
|
|
1480
|
-
export declare function findOnePromptSnippetMessagesToJSON(findOnePromptSnippetMessages: FindOnePromptSnippetMessages): string;
|
|
1481
|
-
export declare function findOnePromptSnippetMessagesFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetMessages, SDKValidationError>;
|
|
1482
|
-
/** @internal */
|
|
1483
|
-
export declare const FindOnePromptSnippetPromptConfig$inboundSchema: z.ZodType<FindOnePromptSnippetPromptConfig, z.ZodTypeDef, unknown>;
|
|
1484
|
-
/** @internal */
|
|
1485
|
-
export type FindOnePromptSnippetPromptConfig$Outbound = {
|
|
1486
|
-
stream?: boolean | undefined;
|
|
1487
|
-
model?: string | undefined;
|
|
1488
|
-
model_db_id?: string | undefined;
|
|
1489
|
-
model_type?: string | undefined;
|
|
1490
|
-
model_parameters?: FindOnePromptSnippetModelParameters$Outbound | undefined;
|
|
1491
|
-
provider?: string | undefined;
|
|
1492
|
-
integration_id?: string | null | undefined;
|
|
1493
|
-
version?: string | undefined;
|
|
1494
|
-
messages: Array<FindOnePromptSnippetMessages$Outbound>;
|
|
1495
|
-
};
|
|
1496
|
-
/** @internal */
|
|
1497
|
-
export declare const FindOnePromptSnippetPromptConfig$outboundSchema: z.ZodType<FindOnePromptSnippetPromptConfig$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptConfig>;
|
|
1498
|
-
/**
|
|
1499
|
-
* @internal
|
|
1500
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1501
|
-
*/
|
|
1502
|
-
export declare namespace FindOnePromptSnippetPromptConfig$ {
|
|
1503
|
-
/** @deprecated use `FindOnePromptSnippetPromptConfig$inboundSchema` instead. */
|
|
1504
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetPromptConfig, z.ZodTypeDef, unknown>;
|
|
1505
|
-
/** @deprecated use `FindOnePromptSnippetPromptConfig$outboundSchema` instead. */
|
|
1506
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetPromptConfig$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptConfig>;
|
|
1507
|
-
/** @deprecated use `FindOnePromptSnippetPromptConfig$Outbound` instead. */
|
|
1508
|
-
type Outbound = FindOnePromptSnippetPromptConfig$Outbound;
|
|
1509
|
-
}
|
|
1510
|
-
export declare function findOnePromptSnippetPromptConfigToJSON(findOnePromptSnippetPromptConfig: FindOnePromptSnippetPromptConfig): string;
|
|
1511
|
-
export declare function findOnePromptSnippetPromptConfigFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetPromptConfig, SDKValidationError>;
|
|
1512
|
-
/** @internal */
|
|
1513
|
-
export declare const FindOnePromptSnippetUseCases$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetUseCases>;
|
|
1514
|
-
/** @internal */
|
|
1515
|
-
export declare const FindOnePromptSnippetUseCases$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetUseCases>;
|
|
1516
|
-
/**
|
|
1517
|
-
* @internal
|
|
1518
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1519
|
-
*/
|
|
1520
|
-
export declare namespace FindOnePromptSnippetUseCases$ {
|
|
1521
|
-
/** @deprecated use `FindOnePromptSnippetUseCases$inboundSchema` instead. */
|
|
1522
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1523
|
-
readonly Agents: "Agents";
|
|
1524
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1525
|
-
readonly APIInteraction: "API interaction";
|
|
1526
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1527
|
-
readonly Chatbots: "Chatbots";
|
|
1528
|
-
readonly Classification: "Classification";
|
|
1529
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1530
|
-
readonly CodeWriting: "Code writing";
|
|
1531
|
-
readonly DocumentsQA: "Documents QA";
|
|
1532
|
-
readonly Conversation: "Conversation";
|
|
1533
|
-
readonly Extraction: "Extraction";
|
|
1534
|
-
readonly MultiModal: "Multi-modal";
|
|
1535
|
-
readonly SelfChecking: "Self-checking";
|
|
1536
|
-
readonly Sql: "SQL";
|
|
1537
|
-
readonly Summarization: "Summarization";
|
|
1538
|
-
readonly Tagging: "Tagging";
|
|
1539
|
-
}>;
|
|
1540
|
-
/** @deprecated use `FindOnePromptSnippetUseCases$outboundSchema` instead. */
|
|
1541
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1542
|
-
readonly Agents: "Agents";
|
|
1543
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1544
|
-
readonly APIInteraction: "API interaction";
|
|
1545
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1546
|
-
readonly Chatbots: "Chatbots";
|
|
1547
|
-
readonly Classification: "Classification";
|
|
1548
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1549
|
-
readonly CodeWriting: "Code writing";
|
|
1550
|
-
readonly DocumentsQA: "Documents QA";
|
|
1551
|
-
readonly Conversation: "Conversation";
|
|
1552
|
-
readonly Extraction: "Extraction";
|
|
1553
|
-
readonly MultiModal: "Multi-modal";
|
|
1554
|
-
readonly SelfChecking: "Self-checking";
|
|
1555
|
-
readonly Sql: "SQL";
|
|
1556
|
-
readonly Summarization: "Summarization";
|
|
1557
|
-
readonly Tagging: "Tagging";
|
|
1558
|
-
}>;
|
|
1559
|
-
}
|
|
1560
|
-
/** @internal */
|
|
1561
|
-
export declare const FindOnePromptSnippetLanguage$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetLanguage>;
|
|
1562
|
-
/** @internal */
|
|
1563
|
-
export declare const FindOnePromptSnippetLanguage$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetLanguage>;
|
|
1564
|
-
/**
|
|
1565
|
-
* @internal
|
|
1566
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1567
|
-
*/
|
|
1568
|
-
export declare namespace FindOnePromptSnippetLanguage$ {
|
|
1569
|
-
/** @deprecated use `FindOnePromptSnippetLanguage$inboundSchema` instead. */
|
|
1570
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1571
|
-
readonly Chinese: "Chinese";
|
|
1572
|
-
readonly Dutch: "Dutch";
|
|
1573
|
-
readonly English: "English";
|
|
1574
|
-
readonly French: "French";
|
|
1575
|
-
readonly German: "German";
|
|
1576
|
-
readonly Russian: "Russian";
|
|
1577
|
-
readonly Spanish: "Spanish";
|
|
1578
|
-
}>;
|
|
1579
|
-
/** @deprecated use `FindOnePromptSnippetLanguage$outboundSchema` instead. */
|
|
1580
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1581
|
-
readonly Chinese: "Chinese";
|
|
1582
|
-
readonly Dutch: "Dutch";
|
|
1583
|
-
readonly English: "English";
|
|
1584
|
-
readonly French: "French";
|
|
1585
|
-
readonly German: "German";
|
|
1586
|
-
readonly Russian: "Russian";
|
|
1587
|
-
readonly Spanish: "Spanish";
|
|
1588
|
-
}>;
|
|
1589
|
-
}
|
|
1590
|
-
/** @internal */
|
|
1591
|
-
export declare const FindOnePromptSnippetMetadata$inboundSchema: z.ZodType<FindOnePromptSnippetMetadata, z.ZodTypeDef, unknown>;
|
|
1592
|
-
/** @internal */
|
|
1593
|
-
export type FindOnePromptSnippetMetadata$Outbound = {
|
|
1594
|
-
use_cases?: Array<string> | undefined;
|
|
1595
|
-
language?: string | undefined;
|
|
1596
|
-
};
|
|
1597
|
-
/** @internal */
|
|
1598
|
-
export declare const FindOnePromptSnippetMetadata$outboundSchema: z.ZodType<FindOnePromptSnippetMetadata$Outbound, z.ZodTypeDef, FindOnePromptSnippetMetadata>;
|
|
1599
|
-
/**
|
|
1600
|
-
* @internal
|
|
1601
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1602
|
-
*/
|
|
1603
|
-
export declare namespace FindOnePromptSnippetMetadata$ {
|
|
1604
|
-
/** @deprecated use `FindOnePromptSnippetMetadata$inboundSchema` instead. */
|
|
1605
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetMetadata, z.ZodTypeDef, unknown>;
|
|
1606
|
-
/** @deprecated use `FindOnePromptSnippetMetadata$outboundSchema` instead. */
|
|
1607
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetMetadata$Outbound, z.ZodTypeDef, FindOnePromptSnippetMetadata>;
|
|
1608
|
-
/** @deprecated use `FindOnePromptSnippetMetadata$Outbound` instead. */
|
|
1609
|
-
type Outbound = FindOnePromptSnippetMetadata$Outbound;
|
|
1610
|
-
}
|
|
1611
|
-
export declare function findOnePromptSnippetMetadataToJSON(findOnePromptSnippetMetadata: FindOnePromptSnippetMetadata): string;
|
|
1612
|
-
export declare function findOnePromptSnippetMetadataFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetMetadata, SDKValidationError>;
|
|
1613
|
-
/** @internal */
|
|
1614
|
-
export declare const FindOnePromptSnippetType$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetType>;
|
|
1615
|
-
/** @internal */
|
|
1616
|
-
export declare const FindOnePromptSnippetType$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetType>;
|
|
1617
|
-
/**
|
|
1618
|
-
* @internal
|
|
1619
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1620
|
-
*/
|
|
1621
|
-
export declare namespace FindOnePromptSnippetType$ {
|
|
1622
|
-
/** @deprecated use `FindOnePromptSnippetType$inboundSchema` instead. */
|
|
1623
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1624
|
-
readonly Snippet: "snippet";
|
|
1625
|
-
}>;
|
|
1626
|
-
/** @deprecated use `FindOnePromptSnippetType$outboundSchema` instead. */
|
|
1627
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1628
|
-
readonly Snippet: "snippet";
|
|
1629
|
-
}>;
|
|
1630
|
-
}
|
|
1631
|
-
/** @internal */
|
|
1632
|
-
export declare const FindOnePromptSnippetPromptSnippetsModelType$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsModelType>;
|
|
1633
|
-
/** @internal */
|
|
1634
|
-
export declare const FindOnePromptSnippetPromptSnippetsModelType$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsModelType>;
|
|
1635
|
-
/**
|
|
1636
|
-
* @internal
|
|
1637
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1638
|
-
*/
|
|
1639
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsModelType$ {
|
|
1640
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsModelType$inboundSchema` instead. */
|
|
1641
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1642
|
-
readonly Chat: "chat";
|
|
1643
|
-
readonly Completion: "completion";
|
|
1644
|
-
readonly Embedding: "embedding";
|
|
1645
|
-
readonly Vision: "vision";
|
|
1646
|
-
readonly Image: "image";
|
|
1647
|
-
readonly Tts: "tts";
|
|
1648
|
-
readonly Stt: "stt";
|
|
1649
|
-
readonly Rerank: "rerank";
|
|
1650
|
-
readonly Moderations: "moderations";
|
|
1651
|
-
}>;
|
|
1652
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsModelType$outboundSchema` instead. */
|
|
1653
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1654
|
-
readonly Chat: "chat";
|
|
1655
|
-
readonly Completion: "completion";
|
|
1656
|
-
readonly Embedding: "embedding";
|
|
1657
|
-
readonly Vision: "vision";
|
|
1658
|
-
readonly Image: "image";
|
|
1659
|
-
readonly Tts: "tts";
|
|
1660
|
-
readonly Stt: "stt";
|
|
1661
|
-
readonly Rerank: "rerank";
|
|
1662
|
-
readonly Moderations: "moderations";
|
|
1663
|
-
}>;
|
|
1664
|
-
}
|
|
1665
|
-
/** @internal */
|
|
1666
|
-
export declare const FindOnePromptSnippetPromptSnippetsFormat$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsFormat>;
|
|
1667
|
-
/** @internal */
|
|
1668
|
-
export declare const FindOnePromptSnippetPromptSnippetsFormat$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsFormat>;
|
|
1669
|
-
/**
|
|
1670
|
-
* @internal
|
|
1671
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1672
|
-
*/
|
|
1673
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsFormat$ {
|
|
1674
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsFormat$inboundSchema` instead. */
|
|
1675
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1676
|
-
readonly Url: "url";
|
|
1677
|
-
readonly B64Json: "b64_json";
|
|
1678
|
-
readonly Text: "text";
|
|
1679
|
-
readonly JsonObject: "json_object";
|
|
1680
|
-
}>;
|
|
1681
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsFormat$outboundSchema` instead. */
|
|
1682
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1683
|
-
readonly Url: "url";
|
|
1684
|
-
readonly B64Json: "b64_json";
|
|
1685
|
-
readonly Text: "text";
|
|
1686
|
-
readonly JsonObject: "json_object";
|
|
1687
|
-
}>;
|
|
1688
|
-
}
|
|
1689
|
-
/** @internal */
|
|
1690
|
-
export declare const FindOnePromptSnippetPromptSnippetsQuality$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsQuality>;
|
|
1691
|
-
/** @internal */
|
|
1692
|
-
export declare const FindOnePromptSnippetPromptSnippetsQuality$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsQuality>;
|
|
1693
|
-
/**
|
|
1694
|
-
* @internal
|
|
1695
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1696
|
-
*/
|
|
1697
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsQuality$ {
|
|
1698
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsQuality$inboundSchema` instead. */
|
|
1699
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1700
|
-
readonly Standard: "standard";
|
|
1701
|
-
readonly Hd: "hd";
|
|
1702
|
-
}>;
|
|
1703
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsQuality$outboundSchema` instead. */
|
|
1704
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1705
|
-
readonly Standard: "standard";
|
|
1706
|
-
readonly Hd: "hd";
|
|
1707
|
-
}>;
|
|
1708
|
-
}
|
|
1709
|
-
/** @internal */
|
|
1710
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetResponseFormatPromptSnippetsResponse200Type>;
|
|
1711
|
-
/** @internal */
|
|
1712
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetResponseFormatPromptSnippetsResponse200Type>;
|
|
1713
|
-
/**
|
|
1714
|
-
* @internal
|
|
1715
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1716
|
-
*/
|
|
1717
|
-
export declare namespace FindOnePromptSnippetResponseFormatPromptSnippetsResponse200Type$ {
|
|
1718
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippetsResponse200Type$inboundSchema` instead. */
|
|
1719
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1720
|
-
readonly JsonObject: "json_object";
|
|
1721
|
-
}>;
|
|
1722
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippetsResponse200Type$outboundSchema` instead. */
|
|
1723
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1724
|
-
readonly JsonObject: "json_object";
|
|
1725
|
-
}>;
|
|
1726
|
-
}
|
|
1727
|
-
/** @internal */
|
|
1728
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippets2$inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatPromptSnippets2, z.ZodTypeDef, unknown>;
|
|
1729
|
-
/** @internal */
|
|
1730
|
-
export type FindOnePromptSnippetResponseFormatPromptSnippets2$Outbound = {
|
|
1731
|
-
type: string;
|
|
1732
|
-
};
|
|
1733
|
-
/** @internal */
|
|
1734
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippets2$outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatPromptSnippets2$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormatPromptSnippets2>;
|
|
1735
|
-
/**
|
|
1736
|
-
* @internal
|
|
1737
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1738
|
-
*/
|
|
1739
|
-
export declare namespace FindOnePromptSnippetResponseFormatPromptSnippets2$ {
|
|
1740
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippets2$inboundSchema` instead. */
|
|
1741
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatPromptSnippets2, z.ZodTypeDef, unknown>;
|
|
1742
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippets2$outboundSchema` instead. */
|
|
1743
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatPromptSnippets2$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormatPromptSnippets2>;
|
|
1744
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippets2$Outbound` instead. */
|
|
1745
|
-
type Outbound = FindOnePromptSnippetResponseFormatPromptSnippets2$Outbound;
|
|
1746
|
-
}
|
|
1747
|
-
export declare function findOnePromptSnippetResponseFormatPromptSnippets2ToJSON(findOnePromptSnippetResponseFormatPromptSnippets2: FindOnePromptSnippetResponseFormatPromptSnippets2): string;
|
|
1748
|
-
export declare function findOnePromptSnippetResponseFormatPromptSnippets2FromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetResponseFormatPromptSnippets2, SDKValidationError>;
|
|
1749
|
-
/** @internal */
|
|
1750
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetResponseFormatPromptSnippetsResponseType>;
|
|
1751
|
-
/** @internal */
|
|
1752
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetResponseFormatPromptSnippetsResponseType>;
|
|
1753
|
-
/**
|
|
1754
|
-
* @internal
|
|
1755
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1756
|
-
*/
|
|
1757
|
-
export declare namespace FindOnePromptSnippetResponseFormatPromptSnippetsResponseType$ {
|
|
1758
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippetsResponseType$inboundSchema` instead. */
|
|
1759
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1760
|
-
readonly JsonSchema: "json_schema";
|
|
1761
|
-
}>;
|
|
1762
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippetsResponseType$outboundSchema` instead. */
|
|
1763
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1764
|
-
readonly JsonSchema: "json_schema";
|
|
1765
|
-
}>;
|
|
1766
|
-
}
|
|
1767
|
-
/** @internal */
|
|
1768
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema$inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema, z.ZodTypeDef, unknown>;
|
|
1769
|
-
/** @internal */
|
|
1770
|
-
export type FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound = {
|
|
1771
|
-
name: string;
|
|
1772
|
-
strict: boolean;
|
|
1773
|
-
schema: {
|
|
1774
|
-
[k: string]: any;
|
|
1775
|
-
};
|
|
1776
|
-
};
|
|
1777
|
-
/** @internal */
|
|
1778
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema$outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema>;
|
|
1779
|
-
/**
|
|
1780
|
-
* @internal
|
|
1781
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1782
|
-
*/
|
|
1783
|
-
export declare namespace FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema$ {
|
|
1784
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema$inboundSchema` instead. */
|
|
1785
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema, z.ZodTypeDef, unknown>;
|
|
1786
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema$outboundSchema` instead. */
|
|
1787
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema>;
|
|
1788
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound` instead. */
|
|
1789
|
-
type Outbound = FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound;
|
|
1790
|
-
}
|
|
1791
|
-
export declare function findOnePromptSnippetResponseFormatPromptSnippetsJsonSchemaToJSON(findOnePromptSnippetResponseFormatPromptSnippetsJsonSchema: FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema): string;
|
|
1792
|
-
export declare function findOnePromptSnippetResponseFormatPromptSnippetsJsonSchemaFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema, SDKValidationError>;
|
|
1793
|
-
/** @internal */
|
|
1794
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippets1$inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatPromptSnippets1, z.ZodTypeDef, unknown>;
|
|
1795
|
-
/** @internal */
|
|
1796
|
-
export type FindOnePromptSnippetResponseFormatPromptSnippets1$Outbound = {
|
|
1797
|
-
type: string;
|
|
1798
|
-
json_schema: FindOnePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound;
|
|
1799
|
-
};
|
|
1800
|
-
/** @internal */
|
|
1801
|
-
export declare const FindOnePromptSnippetResponseFormatPromptSnippets1$outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatPromptSnippets1$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormatPromptSnippets1>;
|
|
1802
|
-
/**
|
|
1803
|
-
* @internal
|
|
1804
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1805
|
-
*/
|
|
1806
|
-
export declare namespace FindOnePromptSnippetResponseFormatPromptSnippets1$ {
|
|
1807
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippets1$inboundSchema` instead. */
|
|
1808
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatPromptSnippets1, z.ZodTypeDef, unknown>;
|
|
1809
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippets1$outboundSchema` instead. */
|
|
1810
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetResponseFormatPromptSnippets1$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseFormatPromptSnippets1>;
|
|
1811
|
-
/** @deprecated use `FindOnePromptSnippetResponseFormatPromptSnippets1$Outbound` instead. */
|
|
1812
|
-
type Outbound = FindOnePromptSnippetResponseFormatPromptSnippets1$Outbound;
|
|
1813
|
-
}
|
|
1814
|
-
export declare function findOnePromptSnippetResponseFormatPromptSnippets1ToJSON(findOnePromptSnippetResponseFormatPromptSnippets1: FindOnePromptSnippetResponseFormatPromptSnippets1): string;
|
|
1815
|
-
export declare function findOnePromptSnippetResponseFormatPromptSnippets1FromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetResponseFormatPromptSnippets1, SDKValidationError>;
|
|
1816
|
-
/** @internal */
|
|
1817
|
-
export declare const FindOnePromptSnippetPromptSnippetsResponseFormat$inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsResponseFormat, z.ZodTypeDef, unknown>;
|
|
1818
|
-
/** @internal */
|
|
1819
|
-
export type FindOnePromptSnippetPromptSnippetsResponseFormat$Outbound = FindOnePromptSnippetResponseFormatPromptSnippets2$Outbound | FindOnePromptSnippetResponseFormatPromptSnippets1$Outbound;
|
|
1820
|
-
/** @internal */
|
|
1821
|
-
export declare const FindOnePromptSnippetPromptSnippetsResponseFormat$outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsResponseFormat$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsResponseFormat>;
|
|
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 FindOnePromptSnippetPromptSnippetsResponseFormat$ {
|
|
1827
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsResponseFormat$inboundSchema` instead. */
|
|
1828
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsResponseFormat, z.ZodTypeDef, unknown>;
|
|
1829
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsResponseFormat$outboundSchema` instead. */
|
|
1830
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsResponseFormat$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsResponseFormat>;
|
|
1831
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsResponseFormat$Outbound` instead. */
|
|
1832
|
-
type Outbound = FindOnePromptSnippetPromptSnippetsResponseFormat$Outbound;
|
|
1833
|
-
}
|
|
1834
|
-
export declare function findOnePromptSnippetPromptSnippetsResponseFormatToJSON(findOnePromptSnippetPromptSnippetsResponseFormat: FindOnePromptSnippetPromptSnippetsResponseFormat): string;
|
|
1835
|
-
export declare function findOnePromptSnippetPromptSnippetsResponseFormatFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetPromptSnippetsResponseFormat, SDKValidationError>;
|
|
1836
|
-
/** @internal */
|
|
1837
|
-
export declare const FindOnePromptSnippetPromptSnippetsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsPhotoRealVersion>;
|
|
1838
|
-
/** @internal */
|
|
1839
|
-
export declare const FindOnePromptSnippetPromptSnippetsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsPhotoRealVersion>;
|
|
1840
|
-
/**
|
|
1841
|
-
* @internal
|
|
1842
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1843
|
-
*/
|
|
1844
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsPhotoRealVersion$ {
|
|
1845
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsPhotoRealVersion$inboundSchema` instead. */
|
|
1846
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1847
|
-
readonly V1: "v1";
|
|
1848
|
-
readonly V2: "v2";
|
|
1849
|
-
}>;
|
|
1850
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsPhotoRealVersion$outboundSchema` instead. */
|
|
1851
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1852
|
-
readonly V1: "v1";
|
|
1853
|
-
readonly V2: "v2";
|
|
1854
|
-
}>;
|
|
1855
|
-
}
|
|
1856
|
-
/** @internal */
|
|
1857
|
-
export declare const FindOnePromptSnippetPromptSnippetsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsEncodingFormat>;
|
|
1858
|
-
/** @internal */
|
|
1859
|
-
export declare const FindOnePromptSnippetPromptSnippetsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsEncodingFormat>;
|
|
1860
|
-
/**
|
|
1861
|
-
* @internal
|
|
1862
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1863
|
-
*/
|
|
1864
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsEncodingFormat$ {
|
|
1865
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsEncodingFormat$inboundSchema` instead. */
|
|
1866
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1867
|
-
readonly Float: "float";
|
|
1868
|
-
readonly Base64: "base64";
|
|
1869
|
-
}>;
|
|
1870
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsEncodingFormat$outboundSchema` instead. */
|
|
1871
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1872
|
-
readonly Float: "float";
|
|
1873
|
-
readonly Base64: "base64";
|
|
1874
|
-
}>;
|
|
1875
|
-
}
|
|
1876
|
-
/** @internal */
|
|
1877
|
-
export declare const FindOnePromptSnippetPromptSnippetsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsReasoningEffort>;
|
|
1878
|
-
/** @internal */
|
|
1879
|
-
export declare const FindOnePromptSnippetPromptSnippetsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsReasoningEffort>;
|
|
1880
|
-
/**
|
|
1881
|
-
* @internal
|
|
1882
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1883
|
-
*/
|
|
1884
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsReasoningEffort$ {
|
|
1885
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsReasoningEffort$inboundSchema` instead. */
|
|
1886
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1887
|
-
readonly Low: "low";
|
|
1888
|
-
readonly Medium: "medium";
|
|
1889
|
-
readonly High: "high";
|
|
1890
|
-
}>;
|
|
1891
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsReasoningEffort$outboundSchema` instead. */
|
|
1892
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1893
|
-
readonly Low: "low";
|
|
1894
|
-
readonly Medium: "medium";
|
|
1895
|
-
readonly High: "high";
|
|
1896
|
-
}>;
|
|
1897
|
-
}
|
|
1898
|
-
/** @internal */
|
|
1899
|
-
export declare const FindOnePromptSnippetPromptSnippetsModelParameters$inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsModelParameters, z.ZodTypeDef, unknown>;
|
|
1900
|
-
/** @internal */
|
|
1901
|
-
export type FindOnePromptSnippetPromptSnippetsModelParameters$Outbound = {
|
|
1902
|
-
temperature?: number | undefined;
|
|
1903
|
-
maxTokens?: number | undefined;
|
|
1904
|
-
topK?: number | undefined;
|
|
1905
|
-
topP?: number | undefined;
|
|
1906
|
-
frequencyPenalty?: number | undefined;
|
|
1907
|
-
presencePenalty?: number | undefined;
|
|
1908
|
-
numImages?: number | undefined;
|
|
1909
|
-
seed?: number | undefined;
|
|
1910
|
-
format?: string | undefined;
|
|
1911
|
-
dimensions?: string | undefined;
|
|
1912
|
-
quality?: string | undefined;
|
|
1913
|
-
style?: string | undefined;
|
|
1914
|
-
responseFormat?: FindOnePromptSnippetResponseFormatPromptSnippets2$Outbound | FindOnePromptSnippetResponseFormatPromptSnippets1$Outbound | null | undefined;
|
|
1915
|
-
photoRealVersion?: string | undefined;
|
|
1916
|
-
encoding_format?: string | undefined;
|
|
1917
|
-
reasoningEffort?: string | undefined;
|
|
1918
|
-
};
|
|
1919
|
-
/** @internal */
|
|
1920
|
-
export declare const FindOnePromptSnippetPromptSnippetsModelParameters$outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsModelParameters$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsModelParameters>;
|
|
1921
|
-
/**
|
|
1922
|
-
* @internal
|
|
1923
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1924
|
-
*/
|
|
1925
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsModelParameters$ {
|
|
1926
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsModelParameters$inboundSchema` instead. */
|
|
1927
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsModelParameters, z.ZodTypeDef, unknown>;
|
|
1928
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsModelParameters$outboundSchema` instead. */
|
|
1929
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsModelParameters$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsModelParameters>;
|
|
1930
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsModelParameters$Outbound` instead. */
|
|
1931
|
-
type Outbound = FindOnePromptSnippetPromptSnippetsModelParameters$Outbound;
|
|
1932
|
-
}
|
|
1933
|
-
export declare function findOnePromptSnippetPromptSnippetsModelParametersToJSON(findOnePromptSnippetPromptSnippetsModelParameters: FindOnePromptSnippetPromptSnippetsModelParameters): string;
|
|
1934
|
-
export declare function findOnePromptSnippetPromptSnippetsModelParametersFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetPromptSnippetsModelParameters, SDKValidationError>;
|
|
1935
|
-
/** @internal */
|
|
1936
|
-
export declare const FindOnePromptSnippetPromptSnippetsProvider$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsProvider>;
|
|
1937
|
-
/** @internal */
|
|
1938
|
-
export declare const FindOnePromptSnippetPromptSnippetsProvider$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsProvider>;
|
|
1939
|
-
/**
|
|
1940
|
-
* @internal
|
|
1941
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1942
|
-
*/
|
|
1943
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsProvider$ {
|
|
1944
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsProvider$inboundSchema` instead. */
|
|
1945
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1946
|
-
readonly Cohere: "cohere";
|
|
1947
|
-
readonly Openai: "openai";
|
|
1948
|
-
readonly Anthropic: "anthropic";
|
|
1949
|
-
readonly Huggingface: "huggingface";
|
|
1950
|
-
readonly Replicate: "replicate";
|
|
1951
|
-
readonly Google: "google";
|
|
1952
|
-
readonly GoogleAi: "google-ai";
|
|
1953
|
-
readonly Azure: "azure";
|
|
1954
|
-
readonly Aws: "aws";
|
|
1955
|
-
readonly Anyscale: "anyscale";
|
|
1956
|
-
readonly Perplexity: "perplexity";
|
|
1957
|
-
readonly Groq: "groq";
|
|
1958
|
-
readonly Fal: "fal";
|
|
1959
|
-
readonly Leonardoai: "leonardoai";
|
|
1960
|
-
readonly Nvidia: "nvidia";
|
|
1961
|
-
readonly Jina: "jina";
|
|
1962
|
-
readonly Togetherai: "togetherai";
|
|
1963
|
-
readonly Elevenlabs: "elevenlabs";
|
|
1964
|
-
}>;
|
|
1965
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsProvider$outboundSchema` instead. */
|
|
1966
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1967
|
-
readonly Cohere: "cohere";
|
|
1968
|
-
readonly Openai: "openai";
|
|
1969
|
-
readonly Anthropic: "anthropic";
|
|
1970
|
-
readonly Huggingface: "huggingface";
|
|
1971
|
-
readonly Replicate: "replicate";
|
|
1972
|
-
readonly Google: "google";
|
|
1973
|
-
readonly GoogleAi: "google-ai";
|
|
1974
|
-
readonly Azure: "azure";
|
|
1975
|
-
readonly Aws: "aws";
|
|
1976
|
-
readonly Anyscale: "anyscale";
|
|
1977
|
-
readonly Perplexity: "perplexity";
|
|
1978
|
-
readonly Groq: "groq";
|
|
1979
|
-
readonly Fal: "fal";
|
|
1980
|
-
readonly Leonardoai: "leonardoai";
|
|
1981
|
-
readonly Nvidia: "nvidia";
|
|
1982
|
-
readonly Jina: "jina";
|
|
1983
|
-
readonly Togetherai: "togetherai";
|
|
1984
|
-
readonly Elevenlabs: "elevenlabs";
|
|
1985
|
-
}>;
|
|
1986
|
-
}
|
|
1987
|
-
/** @internal */
|
|
1988
|
-
export declare const FindOnePromptSnippetPromptSnippetsRole$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsRole>;
|
|
1989
|
-
/** @internal */
|
|
1990
|
-
export declare const FindOnePromptSnippetPromptSnippetsRole$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsRole>;
|
|
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 FindOnePromptSnippetPromptSnippetsRole$ {
|
|
1996
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsRole$inboundSchema` instead. */
|
|
1997
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1998
|
-
readonly System: "system";
|
|
1999
|
-
readonly Assistant: "assistant";
|
|
2000
|
-
readonly User: "user";
|
|
2001
|
-
readonly Exception: "exception";
|
|
2002
|
-
readonly Tool: "tool";
|
|
2003
|
-
readonly Prompt: "prompt";
|
|
2004
|
-
readonly Correction: "correction";
|
|
2005
|
-
readonly ExpectedOutput: "expected_output";
|
|
2006
|
-
}>;
|
|
2007
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsRole$outboundSchema` instead. */
|
|
2008
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2009
|
-
readonly System: "system";
|
|
2010
|
-
readonly Assistant: "assistant";
|
|
2011
|
-
readonly User: "user";
|
|
2012
|
-
readonly Exception: "exception";
|
|
2013
|
-
readonly Tool: "tool";
|
|
2014
|
-
readonly Prompt: "prompt";
|
|
2015
|
-
readonly Correction: "correction";
|
|
2016
|
-
readonly ExpectedOutput: "expected_output";
|
|
2017
|
-
}>;
|
|
2018
|
-
}
|
|
2019
|
-
/** @internal */
|
|
2020
|
-
export declare const FindOnePromptSnippet2PromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippet2PromptSnippetsResponse200Type>;
|
|
2021
|
-
/** @internal */
|
|
2022
|
-
export declare const FindOnePromptSnippet2PromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippet2PromptSnippetsResponse200Type>;
|
|
2023
|
-
/**
|
|
2024
|
-
* @internal
|
|
2025
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2026
|
-
*/
|
|
2027
|
-
export declare namespace FindOnePromptSnippet2PromptSnippetsResponse200Type$ {
|
|
2028
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippetsResponse200Type$inboundSchema` instead. */
|
|
2029
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2030
|
-
readonly ImageUrl: "image_url";
|
|
2031
|
-
}>;
|
|
2032
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippetsResponse200Type$outboundSchema` instead. */
|
|
2033
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2034
|
-
readonly ImageUrl: "image_url";
|
|
2035
|
-
}>;
|
|
2036
|
-
}
|
|
2037
|
-
/** @internal */
|
|
2038
|
-
export declare const FindOnePromptSnippet2PromptSnippetsImageUrl$inboundSchema: z.ZodType<FindOnePromptSnippet2PromptSnippetsImageUrl, z.ZodTypeDef, unknown>;
|
|
2039
|
-
/** @internal */
|
|
2040
|
-
export type FindOnePromptSnippet2PromptSnippetsImageUrl$Outbound = {
|
|
2041
|
-
id?: string | undefined;
|
|
2042
|
-
url: string;
|
|
2043
|
-
detail?: string | undefined;
|
|
2044
|
-
};
|
|
2045
|
-
/** @internal */
|
|
2046
|
-
export declare const FindOnePromptSnippet2PromptSnippetsImageUrl$outboundSchema: z.ZodType<FindOnePromptSnippet2PromptSnippetsImageUrl$Outbound, z.ZodTypeDef, FindOnePromptSnippet2PromptSnippetsImageUrl>;
|
|
2047
|
-
/**
|
|
2048
|
-
* @internal
|
|
2049
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2050
|
-
*/
|
|
2051
|
-
export declare namespace FindOnePromptSnippet2PromptSnippetsImageUrl$ {
|
|
2052
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippetsImageUrl$inboundSchema` instead. */
|
|
2053
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippet2PromptSnippetsImageUrl, z.ZodTypeDef, unknown>;
|
|
2054
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippetsImageUrl$outboundSchema` instead. */
|
|
2055
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippet2PromptSnippetsImageUrl$Outbound, z.ZodTypeDef, FindOnePromptSnippet2PromptSnippetsImageUrl>;
|
|
2056
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippetsImageUrl$Outbound` instead. */
|
|
2057
|
-
type Outbound = FindOnePromptSnippet2PromptSnippetsImageUrl$Outbound;
|
|
2058
|
-
}
|
|
2059
|
-
export declare function findOnePromptSnippet2PromptSnippetsImageUrlToJSON(findOnePromptSnippet2PromptSnippetsImageUrl: FindOnePromptSnippet2PromptSnippetsImageUrl): string;
|
|
2060
|
-
export declare function findOnePromptSnippet2PromptSnippetsImageUrlFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippet2PromptSnippetsImageUrl, SDKValidationError>;
|
|
2061
|
-
/** @internal */
|
|
2062
|
-
export declare const FindOnePromptSnippet2PromptSnippets2$inboundSchema: z.ZodType<FindOnePromptSnippet2PromptSnippets2, z.ZodTypeDef, unknown>;
|
|
2063
|
-
/** @internal */
|
|
2064
|
-
export type FindOnePromptSnippet2PromptSnippets2$Outbound = {
|
|
2065
|
-
type: string;
|
|
2066
|
-
image_url: FindOnePromptSnippet2PromptSnippetsImageUrl$Outbound;
|
|
2067
|
-
};
|
|
2068
|
-
/** @internal */
|
|
2069
|
-
export declare const FindOnePromptSnippet2PromptSnippets2$outboundSchema: z.ZodType<FindOnePromptSnippet2PromptSnippets2$Outbound, z.ZodTypeDef, FindOnePromptSnippet2PromptSnippets2>;
|
|
2070
|
-
/**
|
|
2071
|
-
* @internal
|
|
2072
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2073
|
-
*/
|
|
2074
|
-
export declare namespace FindOnePromptSnippet2PromptSnippets2$ {
|
|
2075
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippets2$inboundSchema` instead. */
|
|
2076
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippet2PromptSnippets2, z.ZodTypeDef, unknown>;
|
|
2077
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippets2$outboundSchema` instead. */
|
|
2078
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippet2PromptSnippets2$Outbound, z.ZodTypeDef, FindOnePromptSnippet2PromptSnippets2>;
|
|
2079
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippets2$Outbound` instead. */
|
|
2080
|
-
type Outbound = FindOnePromptSnippet2PromptSnippets2$Outbound;
|
|
2081
|
-
}
|
|
2082
|
-
export declare function findOnePromptSnippet2PromptSnippets2ToJSON(findOnePromptSnippet2PromptSnippets2: FindOnePromptSnippet2PromptSnippets2): string;
|
|
2083
|
-
export declare function findOnePromptSnippet2PromptSnippets2FromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippet2PromptSnippets2, SDKValidationError>;
|
|
2084
|
-
/** @internal */
|
|
2085
|
-
export declare const FindOnePromptSnippet2PromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippet2PromptSnippetsResponseType>;
|
|
2086
|
-
/** @internal */
|
|
2087
|
-
export declare const FindOnePromptSnippet2PromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippet2PromptSnippetsResponseType>;
|
|
2088
|
-
/**
|
|
2089
|
-
* @internal
|
|
2090
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2091
|
-
*/
|
|
2092
|
-
export declare namespace FindOnePromptSnippet2PromptSnippetsResponseType$ {
|
|
2093
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippetsResponseType$inboundSchema` instead. */
|
|
2094
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2095
|
-
readonly Text: "text";
|
|
2096
|
-
}>;
|
|
2097
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippetsResponseType$outboundSchema` instead. */
|
|
2098
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2099
|
-
readonly Text: "text";
|
|
2100
|
-
}>;
|
|
2101
|
-
}
|
|
2102
|
-
/** @internal */
|
|
2103
|
-
export declare const FindOnePromptSnippet2PromptSnippets1$inboundSchema: z.ZodType<FindOnePromptSnippet2PromptSnippets1, z.ZodTypeDef, unknown>;
|
|
2104
|
-
/** @internal */
|
|
2105
|
-
export type FindOnePromptSnippet2PromptSnippets1$Outbound = {
|
|
2106
|
-
type: string;
|
|
2107
|
-
text: string;
|
|
2108
|
-
};
|
|
2109
|
-
/** @internal */
|
|
2110
|
-
export declare const FindOnePromptSnippet2PromptSnippets1$outboundSchema: z.ZodType<FindOnePromptSnippet2PromptSnippets1$Outbound, z.ZodTypeDef, FindOnePromptSnippet2PromptSnippets1>;
|
|
2111
|
-
/**
|
|
2112
|
-
* @internal
|
|
2113
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2114
|
-
*/
|
|
2115
|
-
export declare namespace FindOnePromptSnippet2PromptSnippets1$ {
|
|
2116
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippets1$inboundSchema` instead. */
|
|
2117
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippet2PromptSnippets1, z.ZodTypeDef, unknown>;
|
|
2118
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippets1$outboundSchema` instead. */
|
|
2119
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippet2PromptSnippets1$Outbound, z.ZodTypeDef, FindOnePromptSnippet2PromptSnippets1>;
|
|
2120
|
-
/** @deprecated use `FindOnePromptSnippet2PromptSnippets1$Outbound` instead. */
|
|
2121
|
-
type Outbound = FindOnePromptSnippet2PromptSnippets1$Outbound;
|
|
2122
|
-
}
|
|
2123
|
-
export declare function findOnePromptSnippet2PromptSnippets1ToJSON(findOnePromptSnippet2PromptSnippets1: FindOnePromptSnippet2PromptSnippets1): string;
|
|
2124
|
-
export declare function findOnePromptSnippet2PromptSnippets1FromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippet2PromptSnippets1, SDKValidationError>;
|
|
2125
|
-
/** @internal */
|
|
2126
|
-
export declare const FindOnePromptSnippetContentPromptSnippets2$inboundSchema: z.ZodType<FindOnePromptSnippetContentPromptSnippets2, z.ZodTypeDef, unknown>;
|
|
2127
|
-
/** @internal */
|
|
2128
|
-
export type FindOnePromptSnippetContentPromptSnippets2$Outbound = FindOnePromptSnippet2PromptSnippets1$Outbound | FindOnePromptSnippet2PromptSnippets2$Outbound;
|
|
2129
|
-
/** @internal */
|
|
2130
|
-
export declare const FindOnePromptSnippetContentPromptSnippets2$outboundSchema: z.ZodType<FindOnePromptSnippetContentPromptSnippets2$Outbound, z.ZodTypeDef, FindOnePromptSnippetContentPromptSnippets2>;
|
|
2131
|
-
/**
|
|
2132
|
-
* @internal
|
|
2133
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2134
|
-
*/
|
|
2135
|
-
export declare namespace FindOnePromptSnippetContentPromptSnippets2$ {
|
|
2136
|
-
/** @deprecated use `FindOnePromptSnippetContentPromptSnippets2$inboundSchema` instead. */
|
|
2137
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetContentPromptSnippets2, z.ZodTypeDef, unknown>;
|
|
2138
|
-
/** @deprecated use `FindOnePromptSnippetContentPromptSnippets2$outboundSchema` instead. */
|
|
2139
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetContentPromptSnippets2$Outbound, z.ZodTypeDef, FindOnePromptSnippetContentPromptSnippets2>;
|
|
2140
|
-
/** @deprecated use `FindOnePromptSnippetContentPromptSnippets2$Outbound` instead. */
|
|
2141
|
-
type Outbound = FindOnePromptSnippetContentPromptSnippets2$Outbound;
|
|
2142
|
-
}
|
|
2143
|
-
export declare function findOnePromptSnippetContentPromptSnippets2ToJSON(findOnePromptSnippetContentPromptSnippets2: FindOnePromptSnippetContentPromptSnippets2): string;
|
|
2144
|
-
export declare function findOnePromptSnippetContentPromptSnippets2FromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetContentPromptSnippets2, SDKValidationError>;
|
|
2145
|
-
/** @internal */
|
|
2146
|
-
export declare const FindOnePromptSnippetPromptSnippetsContent$inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsContent, z.ZodTypeDef, unknown>;
|
|
2147
|
-
/** @internal */
|
|
2148
|
-
export type FindOnePromptSnippetPromptSnippetsContent$Outbound = string | Array<FindOnePromptSnippet2PromptSnippets1$Outbound | FindOnePromptSnippet2PromptSnippets2$Outbound>;
|
|
2149
|
-
/** @internal */
|
|
2150
|
-
export declare const FindOnePromptSnippetPromptSnippetsContent$outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsContent$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsContent>;
|
|
2151
|
-
/**
|
|
2152
|
-
* @internal
|
|
2153
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2154
|
-
*/
|
|
2155
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsContent$ {
|
|
2156
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsContent$inboundSchema` instead. */
|
|
2157
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsContent, z.ZodTypeDef, unknown>;
|
|
2158
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsContent$outboundSchema` instead. */
|
|
2159
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsContent$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsContent>;
|
|
2160
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsContent$Outbound` instead. */
|
|
2161
|
-
type Outbound = FindOnePromptSnippetPromptSnippetsContent$Outbound;
|
|
2162
|
-
}
|
|
2163
|
-
export declare function findOnePromptSnippetPromptSnippetsContentToJSON(findOnePromptSnippetPromptSnippetsContent: FindOnePromptSnippetPromptSnippetsContent): string;
|
|
2164
|
-
export declare function findOnePromptSnippetPromptSnippetsContentFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetPromptSnippetsContent, SDKValidationError>;
|
|
2165
|
-
/** @internal */
|
|
2166
|
-
export declare const FindOnePromptSnippetPromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsResponseType>;
|
|
2167
|
-
/** @internal */
|
|
2168
|
-
export declare const FindOnePromptSnippetPromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsResponseType>;
|
|
2169
|
-
/**
|
|
2170
|
-
* @internal
|
|
2171
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2172
|
-
*/
|
|
2173
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsResponseType$ {
|
|
2174
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsResponseType$inboundSchema` instead. */
|
|
2175
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2176
|
-
readonly Function: "function";
|
|
2177
|
-
}>;
|
|
2178
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsResponseType$outboundSchema` instead. */
|
|
2179
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2180
|
-
readonly Function: "function";
|
|
2181
|
-
}>;
|
|
2182
|
-
}
|
|
2183
|
-
/** @internal */
|
|
2184
|
-
export declare const FindOnePromptSnippetPromptSnippetsFunction$inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsFunction, z.ZodTypeDef, unknown>;
|
|
2185
|
-
/** @internal */
|
|
2186
|
-
export type FindOnePromptSnippetPromptSnippetsFunction$Outbound = {
|
|
2187
|
-
name: string;
|
|
2188
|
-
arguments: string;
|
|
2189
|
-
};
|
|
2190
|
-
/** @internal */
|
|
2191
|
-
export declare const FindOnePromptSnippetPromptSnippetsFunction$outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsFunction$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsFunction>;
|
|
2192
|
-
/**
|
|
2193
|
-
* @internal
|
|
2194
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2195
|
-
*/
|
|
2196
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsFunction$ {
|
|
2197
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsFunction$inboundSchema` instead. */
|
|
2198
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsFunction, z.ZodTypeDef, unknown>;
|
|
2199
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsFunction$outboundSchema` instead. */
|
|
2200
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsFunction$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsFunction>;
|
|
2201
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsFunction$Outbound` instead. */
|
|
2202
|
-
type Outbound = FindOnePromptSnippetPromptSnippetsFunction$Outbound;
|
|
2203
|
-
}
|
|
2204
|
-
export declare function findOnePromptSnippetPromptSnippetsFunctionToJSON(findOnePromptSnippetPromptSnippetsFunction: FindOnePromptSnippetPromptSnippetsFunction): string;
|
|
2205
|
-
export declare function findOnePromptSnippetPromptSnippetsFunctionFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetPromptSnippetsFunction, SDKValidationError>;
|
|
2206
|
-
/** @internal */
|
|
2207
|
-
export declare const FindOnePromptSnippetPromptSnippetsToolCalls$inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsToolCalls, z.ZodTypeDef, unknown>;
|
|
2208
|
-
/** @internal */
|
|
2209
|
-
export type FindOnePromptSnippetPromptSnippetsToolCalls$Outbound = {
|
|
2210
|
-
id?: string | undefined;
|
|
2211
|
-
index?: number | undefined;
|
|
2212
|
-
type: string;
|
|
2213
|
-
function: FindOnePromptSnippetPromptSnippetsFunction$Outbound;
|
|
2214
|
-
};
|
|
2215
|
-
/** @internal */
|
|
2216
|
-
export declare const FindOnePromptSnippetPromptSnippetsToolCalls$outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsToolCalls$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsToolCalls>;
|
|
2217
|
-
/**
|
|
2218
|
-
* @internal
|
|
2219
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2220
|
-
*/
|
|
2221
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsToolCalls$ {
|
|
2222
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsToolCalls$inboundSchema` instead. */
|
|
2223
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsToolCalls, z.ZodTypeDef, unknown>;
|
|
2224
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsToolCalls$outboundSchema` instead. */
|
|
2225
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsToolCalls$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsToolCalls>;
|
|
2226
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsToolCalls$Outbound` instead. */
|
|
2227
|
-
type Outbound = FindOnePromptSnippetPromptSnippetsToolCalls$Outbound;
|
|
2228
|
-
}
|
|
2229
|
-
export declare function findOnePromptSnippetPromptSnippetsToolCallsToJSON(findOnePromptSnippetPromptSnippetsToolCalls: FindOnePromptSnippetPromptSnippetsToolCalls): string;
|
|
2230
|
-
export declare function findOnePromptSnippetPromptSnippetsToolCallsFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetPromptSnippetsToolCalls, SDKValidationError>;
|
|
2231
|
-
/** @internal */
|
|
2232
|
-
export declare const FindOnePromptSnippetPromptSnippetsMessages$inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsMessages, z.ZodTypeDef, unknown>;
|
|
2233
|
-
/** @internal */
|
|
2234
|
-
export type FindOnePromptSnippetPromptSnippetsMessages$Outbound = {
|
|
2235
|
-
role: string;
|
|
2236
|
-
content: string | Array<FindOnePromptSnippet2PromptSnippets1$Outbound | FindOnePromptSnippet2PromptSnippets2$Outbound>;
|
|
2237
|
-
tool_calls?: Array<FindOnePromptSnippetPromptSnippetsToolCalls$Outbound> | undefined;
|
|
2238
|
-
};
|
|
2239
|
-
/** @internal */
|
|
2240
|
-
export declare const FindOnePromptSnippetPromptSnippetsMessages$outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsMessages$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsMessages>;
|
|
2241
|
-
/**
|
|
2242
|
-
* @internal
|
|
2243
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2244
|
-
*/
|
|
2245
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsMessages$ {
|
|
2246
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsMessages$inboundSchema` instead. */
|
|
2247
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsMessages, z.ZodTypeDef, unknown>;
|
|
2248
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsMessages$outboundSchema` instead. */
|
|
2249
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsMessages$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsMessages>;
|
|
2250
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsMessages$Outbound` instead. */
|
|
2251
|
-
type Outbound = FindOnePromptSnippetPromptSnippetsMessages$Outbound;
|
|
2252
|
-
}
|
|
2253
|
-
export declare function findOnePromptSnippetPromptSnippetsMessagesToJSON(findOnePromptSnippetPromptSnippetsMessages: FindOnePromptSnippetPromptSnippetsMessages): string;
|
|
2254
|
-
export declare function findOnePromptSnippetPromptSnippetsMessagesFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetPromptSnippetsMessages, SDKValidationError>;
|
|
2255
|
-
/** @internal */
|
|
2256
|
-
export declare const FindOnePromptSnippetPromptSnippetsPromptConfig$inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsPromptConfig, z.ZodTypeDef, unknown>;
|
|
2257
|
-
/** @internal */
|
|
2258
|
-
export type FindOnePromptSnippetPromptSnippetsPromptConfig$Outbound = {
|
|
2259
|
-
stream?: boolean | undefined;
|
|
2260
|
-
model?: string | undefined;
|
|
2261
|
-
model_db_id?: string | undefined;
|
|
2262
|
-
model_type?: string | undefined;
|
|
2263
|
-
model_parameters?: FindOnePromptSnippetPromptSnippetsModelParameters$Outbound | undefined;
|
|
2264
|
-
provider?: string | undefined;
|
|
2265
|
-
integration_id?: string | null | undefined;
|
|
2266
|
-
version?: string | undefined;
|
|
2267
|
-
messages: Array<FindOnePromptSnippetPromptSnippetsMessages$Outbound>;
|
|
2268
|
-
};
|
|
2269
|
-
/** @internal */
|
|
2270
|
-
export declare const FindOnePromptSnippetPromptSnippetsPromptConfig$outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsPromptConfig$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsPromptConfig>;
|
|
2271
|
-
/**
|
|
2272
|
-
* @internal
|
|
2273
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2274
|
-
*/
|
|
2275
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsPromptConfig$ {
|
|
2276
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsPromptConfig$inboundSchema` instead. */
|
|
2277
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsPromptConfig, z.ZodTypeDef, unknown>;
|
|
2278
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsPromptConfig$outboundSchema` instead. */
|
|
2279
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsPromptConfig$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsPromptConfig>;
|
|
2280
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsPromptConfig$Outbound` instead. */
|
|
2281
|
-
type Outbound = FindOnePromptSnippetPromptSnippetsPromptConfig$Outbound;
|
|
2282
|
-
}
|
|
2283
|
-
export declare function findOnePromptSnippetPromptSnippetsPromptConfigToJSON(findOnePromptSnippetPromptSnippetsPromptConfig: FindOnePromptSnippetPromptSnippetsPromptConfig): string;
|
|
2284
|
-
export declare function findOnePromptSnippetPromptSnippetsPromptConfigFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetPromptSnippetsPromptConfig, SDKValidationError>;
|
|
2285
|
-
/** @internal */
|
|
2286
|
-
export declare const FindOnePromptSnippetPromptSnippetsUseCases$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsUseCases>;
|
|
2287
|
-
/** @internal */
|
|
2288
|
-
export declare const FindOnePromptSnippetPromptSnippetsUseCases$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsUseCases>;
|
|
2289
|
-
/**
|
|
2290
|
-
* @internal
|
|
2291
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2292
|
-
*/
|
|
2293
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsUseCases$ {
|
|
2294
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsUseCases$inboundSchema` instead. */
|
|
2295
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2296
|
-
readonly Agents: "Agents";
|
|
2297
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
2298
|
-
readonly APIInteraction: "API interaction";
|
|
2299
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
2300
|
-
readonly Chatbots: "Chatbots";
|
|
2301
|
-
readonly Classification: "Classification";
|
|
2302
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
2303
|
-
readonly CodeWriting: "Code writing";
|
|
2304
|
-
readonly DocumentsQA: "Documents QA";
|
|
2305
|
-
readonly Conversation: "Conversation";
|
|
2306
|
-
readonly Extraction: "Extraction";
|
|
2307
|
-
readonly MultiModal: "Multi-modal";
|
|
2308
|
-
readonly SelfChecking: "Self-checking";
|
|
2309
|
-
readonly Sql: "SQL";
|
|
2310
|
-
readonly Summarization: "Summarization";
|
|
2311
|
-
readonly Tagging: "Tagging";
|
|
2312
|
-
}>;
|
|
2313
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsUseCases$outboundSchema` instead. */
|
|
2314
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2315
|
-
readonly Agents: "Agents";
|
|
2316
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
2317
|
-
readonly APIInteraction: "API interaction";
|
|
2318
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
2319
|
-
readonly Chatbots: "Chatbots";
|
|
2320
|
-
readonly Classification: "Classification";
|
|
2321
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
2322
|
-
readonly CodeWriting: "Code writing";
|
|
2323
|
-
readonly DocumentsQA: "Documents QA";
|
|
2324
|
-
readonly Conversation: "Conversation";
|
|
2325
|
-
readonly Extraction: "Extraction";
|
|
2326
|
-
readonly MultiModal: "Multi-modal";
|
|
2327
|
-
readonly SelfChecking: "Self-checking";
|
|
2328
|
-
readonly Sql: "SQL";
|
|
2329
|
-
readonly Summarization: "Summarization";
|
|
2330
|
-
readonly Tagging: "Tagging";
|
|
2331
|
-
}>;
|
|
2332
|
-
}
|
|
2333
|
-
/** @internal */
|
|
2334
|
-
export declare const FindOnePromptSnippetPromptSnippetsLanguage$inboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsLanguage>;
|
|
2335
|
-
/** @internal */
|
|
2336
|
-
export declare const FindOnePromptSnippetPromptSnippetsLanguage$outboundSchema: z.ZodNativeEnum<typeof FindOnePromptSnippetPromptSnippetsLanguage>;
|
|
2337
|
-
/**
|
|
2338
|
-
* @internal
|
|
2339
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2340
|
-
*/
|
|
2341
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsLanguage$ {
|
|
2342
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsLanguage$inboundSchema` instead. */
|
|
2343
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2344
|
-
readonly Chinese: "Chinese";
|
|
2345
|
-
readonly Dutch: "Dutch";
|
|
2346
|
-
readonly English: "English";
|
|
2347
|
-
readonly French: "French";
|
|
2348
|
-
readonly German: "German";
|
|
2349
|
-
readonly Russian: "Russian";
|
|
2350
|
-
readonly Spanish: "Spanish";
|
|
2351
|
-
}>;
|
|
2352
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsLanguage$outboundSchema` instead. */
|
|
2353
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2354
|
-
readonly Chinese: "Chinese";
|
|
2355
|
-
readonly Dutch: "Dutch";
|
|
2356
|
-
readonly English: "English";
|
|
2357
|
-
readonly French: "French";
|
|
2358
|
-
readonly German: "German";
|
|
2359
|
-
readonly Russian: "Russian";
|
|
2360
|
-
readonly Spanish: "Spanish";
|
|
2361
|
-
}>;
|
|
2362
|
-
}
|
|
2363
|
-
/** @internal */
|
|
2364
|
-
export declare const FindOnePromptSnippetPromptSnippetsMetadata$inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsMetadata, z.ZodTypeDef, unknown>;
|
|
2365
|
-
/** @internal */
|
|
2366
|
-
export type FindOnePromptSnippetPromptSnippetsMetadata$Outbound = {
|
|
2367
|
-
use_cases?: Array<string> | undefined;
|
|
2368
|
-
language?: string | undefined;
|
|
2369
|
-
};
|
|
2370
|
-
/** @internal */
|
|
2371
|
-
export declare const FindOnePromptSnippetPromptSnippetsMetadata$outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsMetadata$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsMetadata>;
|
|
2372
|
-
/**
|
|
2373
|
-
* @internal
|
|
2374
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2375
|
-
*/
|
|
2376
|
-
export declare namespace FindOnePromptSnippetPromptSnippetsMetadata$ {
|
|
2377
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsMetadata$inboundSchema` instead. */
|
|
2378
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsMetadata, z.ZodTypeDef, unknown>;
|
|
2379
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsMetadata$outboundSchema` instead. */
|
|
2380
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetPromptSnippetsMetadata$Outbound, z.ZodTypeDef, FindOnePromptSnippetPromptSnippetsMetadata>;
|
|
2381
|
-
/** @deprecated use `FindOnePromptSnippetPromptSnippetsMetadata$Outbound` instead. */
|
|
2382
|
-
type Outbound = FindOnePromptSnippetPromptSnippetsMetadata$Outbound;
|
|
2383
|
-
}
|
|
2384
|
-
export declare function findOnePromptSnippetPromptSnippetsMetadataToJSON(findOnePromptSnippetPromptSnippetsMetadata: FindOnePromptSnippetPromptSnippetsMetadata): string;
|
|
2385
|
-
export declare function findOnePromptSnippetPromptSnippetsMetadataFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetPromptSnippetsMetadata, SDKValidationError>;
|
|
2386
|
-
/** @internal */
|
|
2387
|
-
export declare const FindOnePromptSnippetVersions$inboundSchema: z.ZodType<FindOnePromptSnippetVersions, z.ZodTypeDef, unknown>;
|
|
2388
|
-
/** @internal */
|
|
2389
|
-
export type FindOnePromptSnippetVersions$Outbound = {
|
|
2390
|
-
_id: string;
|
|
2391
|
-
description?: string | null | undefined;
|
|
2392
|
-
prompt_config: FindOnePromptSnippetPromptSnippetsPromptConfig$Outbound;
|
|
2393
|
-
metadata: FindOnePromptSnippetPromptSnippetsMetadata$Outbound;
|
|
2394
|
-
created_by_id: string;
|
|
2395
|
-
updated_by_id: string;
|
|
2396
|
-
timestamp: string;
|
|
2397
|
-
};
|
|
2398
|
-
/** @internal */
|
|
2399
|
-
export declare const FindOnePromptSnippetVersions$outboundSchema: z.ZodType<FindOnePromptSnippetVersions$Outbound, z.ZodTypeDef, FindOnePromptSnippetVersions>;
|
|
2400
|
-
/**
|
|
2401
|
-
* @internal
|
|
2402
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2403
|
-
*/
|
|
2404
|
-
export declare namespace FindOnePromptSnippetVersions$ {
|
|
2405
|
-
/** @deprecated use `FindOnePromptSnippetVersions$inboundSchema` instead. */
|
|
2406
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetVersions, z.ZodTypeDef, unknown>;
|
|
2407
|
-
/** @deprecated use `FindOnePromptSnippetVersions$outboundSchema` instead. */
|
|
2408
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetVersions$Outbound, z.ZodTypeDef, FindOnePromptSnippetVersions>;
|
|
2409
|
-
/** @deprecated use `FindOnePromptSnippetVersions$Outbound` instead. */
|
|
2410
|
-
type Outbound = FindOnePromptSnippetVersions$Outbound;
|
|
2411
|
-
}
|
|
2412
|
-
export declare function findOnePromptSnippetVersionsToJSON(findOnePromptSnippetVersions: FindOnePromptSnippetVersions): string;
|
|
2413
|
-
export declare function findOnePromptSnippetVersionsFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetVersions, SDKValidationError>;
|
|
2414
|
-
/** @internal */
|
|
2415
|
-
export declare const FindOnePromptSnippetResponseBody$inboundSchema: z.ZodType<FindOnePromptSnippetResponseBody, z.ZodTypeDef, unknown>;
|
|
2416
|
-
/** @internal */
|
|
2417
|
-
export type FindOnePromptSnippetResponseBody$Outbound = {
|
|
2418
|
-
_id: string;
|
|
2419
|
-
owner: string | string;
|
|
2420
|
-
domain_id: string;
|
|
2421
|
-
key: string;
|
|
2422
|
-
description?: string | null | undefined;
|
|
2423
|
-
prompt_config: FindOnePromptSnippetPromptConfig$Outbound;
|
|
2424
|
-
metadata: FindOnePromptSnippetMetadata$Outbound;
|
|
2425
|
-
created_by_id: string;
|
|
2426
|
-
updated_by_id: string;
|
|
2427
|
-
created?: string | undefined;
|
|
2428
|
-
updated: string;
|
|
2429
|
-
type: string;
|
|
2430
|
-
versions: Array<FindOnePromptSnippetVersions$Outbound>;
|
|
2431
|
-
};
|
|
2432
|
-
/** @internal */
|
|
2433
|
-
export declare const FindOnePromptSnippetResponseBody$outboundSchema: z.ZodType<FindOnePromptSnippetResponseBody$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseBody>;
|
|
2434
|
-
/**
|
|
2435
|
-
* @internal
|
|
2436
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2437
|
-
*/
|
|
2438
|
-
export declare namespace FindOnePromptSnippetResponseBody$ {
|
|
2439
|
-
/** @deprecated use `FindOnePromptSnippetResponseBody$inboundSchema` instead. */
|
|
2440
|
-
const inboundSchema: z.ZodType<FindOnePromptSnippetResponseBody, z.ZodTypeDef, unknown>;
|
|
2441
|
-
/** @deprecated use `FindOnePromptSnippetResponseBody$outboundSchema` instead. */
|
|
2442
|
-
const outboundSchema: z.ZodType<FindOnePromptSnippetResponseBody$Outbound, z.ZodTypeDef, FindOnePromptSnippetResponseBody>;
|
|
2443
|
-
/** @deprecated use `FindOnePromptSnippetResponseBody$Outbound` instead. */
|
|
2444
|
-
type Outbound = FindOnePromptSnippetResponseBody$Outbound;
|
|
2445
|
-
}
|
|
2446
|
-
export declare function findOnePromptSnippetResponseBodyToJSON(findOnePromptSnippetResponseBody: FindOnePromptSnippetResponseBody): string;
|
|
2447
|
-
export declare function findOnePromptSnippetResponseBodyFromJSON(jsonString: string): SafeParseResult<FindOnePromptSnippetResponseBody, SDKValidationError>;
|
|
2448
|
-
//# sourceMappingURL=findonepromptsnippet.d.ts.map
|