@orq-ai/node 3.2.5 → 3.2.8
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 +1 -1
- package/bin/mcp-server.js +570 -570
- package/bin/mcp-server.js.map +21 -21
- package/docs/sdks/prompts/README.md +110 -110
- package/funcs/promptsList.js +1 -1
- package/funcs/promptsList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +2 -2
- package/mcp-server/server.js.map +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createprompt.d.ts +317 -317
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +444 -442
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updateprompt.d.ts +317 -317
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +444 -444
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/README.md +39 -1
- package/packages/orq-rc/docs/sdks/deployments/README.md +81 -0
- package/packages/orq-rc/docs/sdks/prompts/README.md +110 -110
- package/packages/orq-rc/jsr.json +2 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/deploymentsStream.ts +178 -0
- package/packages/orq-rc/src/funcs/promptsList.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/event-streams.ts +264 -0
- package/packages/orq-rc/src/lib/matchers.ts +4 -1
- package/packages/orq-rc/src/lib/security.ts +11 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +4 -2
- package/packages/orq-rc/src/mcp-server/tools/deploymentsStream.ts +37 -0
- package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createprompt.ts +599 -680
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +5960 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +1 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateprompt.ts +682 -599
- package/packages/orq-rc/src/sdk/deployments.ts +19 -0
- package/packages/orq-rc/src/sdk/prompts.ts +14 -14
- package/sdk/prompts.d.ts +4 -4
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +6 -6
- package/sdk/prompts.js.map +1 -1
- package/src/funcs/promptsList.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -2
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createprompt.ts +599 -680
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updateprompt.ts +682 -599
- package/src/sdk/prompts.ts +14 -14
|
@@ -5,7 +5,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* The type of the model
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const UpdatePromptModelType: {
|
|
9
9
|
readonly Chat: "chat";
|
|
10
10
|
readonly Completion: "completion";
|
|
11
11
|
readonly Embedding: "embedding";
|
|
@@ -19,7 +19,7 @@ export declare const ModelType: {
|
|
|
19
19
|
/**
|
|
20
20
|
* The type of the model
|
|
21
21
|
*/
|
|
22
|
-
export type
|
|
22
|
+
export type UpdatePromptModelType = ClosedEnum<typeof UpdatePromptModelType>;
|
|
23
23
|
/**
|
|
24
24
|
* Only supported on `image` models.
|
|
25
25
|
*/
|
|
@@ -36,35 +36,35 @@ export type UpdatePromptFormat = ClosedEnum<typeof UpdatePromptFormat>;
|
|
|
36
36
|
/**
|
|
37
37
|
* Only supported on `image` models.
|
|
38
38
|
*/
|
|
39
|
-
export declare const
|
|
39
|
+
export declare const UpdatePromptQuality: {
|
|
40
40
|
readonly Standard: "standard";
|
|
41
41
|
readonly Hd: "hd";
|
|
42
42
|
};
|
|
43
43
|
/**
|
|
44
44
|
* Only supported on `image` models.
|
|
45
45
|
*/
|
|
46
|
-
export type
|
|
47
|
-
export declare const
|
|
46
|
+
export type UpdatePromptQuality = ClosedEnum<typeof UpdatePromptQuality>;
|
|
47
|
+
export declare const UpdatePromptResponseFormatPromptsType: {
|
|
48
48
|
readonly JsonObject: "json_object";
|
|
49
49
|
};
|
|
50
|
-
export type
|
|
51
|
-
export type
|
|
52
|
-
type:
|
|
50
|
+
export type UpdatePromptResponseFormatPromptsType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
51
|
+
export type UpdatePromptResponseFormat2 = {
|
|
52
|
+
type: UpdatePromptResponseFormatPromptsType;
|
|
53
53
|
};
|
|
54
|
-
export declare const
|
|
54
|
+
export declare const UpdatePromptResponseFormatType: {
|
|
55
55
|
readonly JsonSchema: "json_schema";
|
|
56
56
|
};
|
|
57
|
-
export type
|
|
58
|
-
export type
|
|
57
|
+
export type UpdatePromptResponseFormatType = ClosedEnum<typeof UpdatePromptResponseFormatType>;
|
|
58
|
+
export type ResponseFormatJsonSchema = {
|
|
59
59
|
name: string;
|
|
60
60
|
strict: boolean;
|
|
61
61
|
schema: {
|
|
62
62
|
[k: string]: any;
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
|
-
export type
|
|
66
|
-
type:
|
|
67
|
-
jsonSchema:
|
|
65
|
+
export type UpdatePromptResponseFormat1 = {
|
|
66
|
+
type: UpdatePromptResponseFormatType;
|
|
67
|
+
jsonSchema: ResponseFormatJsonSchema;
|
|
68
68
|
};
|
|
69
69
|
/**
|
|
70
70
|
* An object specifying the format that the model must output.
|
|
@@ -77,33 +77,33 @@ export type ResponseFormat1 = {
|
|
|
77
77
|
*
|
|
78
78
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
79
79
|
*/
|
|
80
|
-
export type
|
|
80
|
+
export type UpdatePromptResponseFormat = UpdatePromptResponseFormat2 | UpdatePromptResponseFormat1;
|
|
81
81
|
/**
|
|
82
82
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
83
83
|
*/
|
|
84
|
-
export declare const
|
|
84
|
+
export declare const UpdatePromptPhotoRealVersion: {
|
|
85
85
|
readonly V1: "v1";
|
|
86
86
|
readonly V2: "v2";
|
|
87
87
|
};
|
|
88
88
|
/**
|
|
89
89
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
90
90
|
*/
|
|
91
|
-
export type
|
|
91
|
+
export type UpdatePromptPhotoRealVersion = ClosedEnum<typeof UpdatePromptPhotoRealVersion>;
|
|
92
92
|
/**
|
|
93
93
|
* The format to return the embeddings
|
|
94
94
|
*/
|
|
95
|
-
export declare const
|
|
95
|
+
export declare const UpdatePromptEncodingFormat: {
|
|
96
96
|
readonly Float: "float";
|
|
97
97
|
readonly Base64: "base64";
|
|
98
98
|
};
|
|
99
99
|
/**
|
|
100
100
|
* The format to return the embeddings
|
|
101
101
|
*/
|
|
102
|
-
export type
|
|
102
|
+
export type UpdatePromptEncodingFormat = ClosedEnum<typeof UpdatePromptEncodingFormat>;
|
|
103
103
|
/**
|
|
104
104
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
105
105
|
*/
|
|
106
|
-
export declare const
|
|
106
|
+
export declare const UpdatePromptReasoningEffort: {
|
|
107
107
|
readonly Low: "low";
|
|
108
108
|
readonly Medium: "medium";
|
|
109
109
|
readonly High: "high";
|
|
@@ -111,11 +111,11 @@ export declare const ReasoningEffort: {
|
|
|
111
111
|
/**
|
|
112
112
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
113
113
|
*/
|
|
114
|
-
export type
|
|
114
|
+
export type UpdatePromptReasoningEffort = ClosedEnum<typeof UpdatePromptReasoningEffort>;
|
|
115
115
|
/**
|
|
116
116
|
* Model Parameters: Not all parameters apply to every model
|
|
117
117
|
*/
|
|
118
|
-
export type
|
|
118
|
+
export type UpdatePromptModelParameters = {
|
|
119
119
|
/**
|
|
120
120
|
* Only supported on `chat` and `completion` models.
|
|
121
121
|
*/
|
|
@@ -159,7 +159,7 @@ export type ModelParameters = {
|
|
|
159
159
|
/**
|
|
160
160
|
* Only supported on `image` models.
|
|
161
161
|
*/
|
|
162
|
-
quality?:
|
|
162
|
+
quality?: UpdatePromptQuality | undefined;
|
|
163
163
|
/**
|
|
164
164
|
* Only supported on `image` models.
|
|
165
165
|
*/
|
|
@@ -175,25 +175,25 @@ export type ModelParameters = {
|
|
|
175
175
|
*
|
|
176
176
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
177
177
|
*/
|
|
178
|
-
responseFormat?:
|
|
178
|
+
responseFormat?: UpdatePromptResponseFormat2 | UpdatePromptResponseFormat1 | null | undefined;
|
|
179
179
|
/**
|
|
180
180
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
181
181
|
*/
|
|
182
|
-
photoRealVersion?:
|
|
182
|
+
photoRealVersion?: UpdatePromptPhotoRealVersion | undefined;
|
|
183
183
|
/**
|
|
184
184
|
* The format to return the embeddings
|
|
185
185
|
*/
|
|
186
|
-
encodingFormat?:
|
|
186
|
+
encodingFormat?: UpdatePromptEncodingFormat | undefined;
|
|
187
187
|
/**
|
|
188
188
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
189
189
|
*/
|
|
190
|
-
reasoningEffort?:
|
|
190
|
+
reasoningEffort?: UpdatePromptReasoningEffort | undefined;
|
|
191
191
|
/**
|
|
192
192
|
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
193
193
|
*/
|
|
194
194
|
budgetTokens?: number | undefined;
|
|
195
195
|
};
|
|
196
|
-
export declare const
|
|
196
|
+
export declare const UpdatePromptProvider: {
|
|
197
197
|
readonly Cohere: "cohere";
|
|
198
198
|
readonly Openai: "openai";
|
|
199
199
|
readonly Anthropic: "anthropic";
|
|
@@ -213,7 +213,7 @@ export declare const Provider: {
|
|
|
213
213
|
readonly Togetherai: "togetherai";
|
|
214
214
|
readonly Elevenlabs: "elevenlabs";
|
|
215
215
|
};
|
|
216
|
-
export type
|
|
216
|
+
export type UpdatePromptProvider = ClosedEnum<typeof UpdatePromptProvider>;
|
|
217
217
|
/**
|
|
218
218
|
* The role of the prompt message
|
|
219
219
|
*/
|
|
@@ -299,22 +299,22 @@ export type UpdatePromptMessages = {
|
|
|
299
299
|
/**
|
|
300
300
|
* A list of messages compatible with the openAI schema
|
|
301
301
|
*/
|
|
302
|
-
export type
|
|
302
|
+
export type UpdatePromptPromptConfig = {
|
|
303
303
|
stream?: boolean | undefined;
|
|
304
304
|
model?: string | undefined;
|
|
305
305
|
/**
|
|
306
306
|
* The type of the model
|
|
307
307
|
*/
|
|
308
|
-
modelType?:
|
|
308
|
+
modelType?: UpdatePromptModelType | undefined;
|
|
309
309
|
/**
|
|
310
310
|
* Model Parameters: Not all parameters apply to every model
|
|
311
311
|
*/
|
|
312
|
-
modelParameters?:
|
|
313
|
-
provider?:
|
|
312
|
+
modelParameters?: UpdatePromptModelParameters | undefined;
|
|
313
|
+
provider?: UpdatePromptProvider | undefined;
|
|
314
314
|
version?: string | undefined;
|
|
315
315
|
messages: Array<UpdatePromptMessages>;
|
|
316
316
|
};
|
|
317
|
-
export declare const
|
|
317
|
+
export declare const UpdatePromptUseCases: {
|
|
318
318
|
readonly Agents: "Agents";
|
|
319
319
|
readonly AgentsSimulations: "Agents simulations";
|
|
320
320
|
readonly APIInteraction: "API interaction";
|
|
@@ -332,11 +332,11 @@ export declare const UseCases: {
|
|
|
332
332
|
readonly Summarization: "Summarization";
|
|
333
333
|
readonly Tagging: "Tagging";
|
|
334
334
|
};
|
|
335
|
-
export type
|
|
335
|
+
export type UpdatePromptUseCases = ClosedEnum<typeof UpdatePromptUseCases>;
|
|
336
336
|
/**
|
|
337
337
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
338
338
|
*/
|
|
339
|
-
export declare const
|
|
339
|
+
export declare const UpdatePromptLanguage: {
|
|
340
340
|
readonly Chinese: "Chinese";
|
|
341
341
|
readonly Dutch: "Dutch";
|
|
342
342
|
readonly English: "English";
|
|
@@ -348,16 +348,16 @@ export declare const Language: {
|
|
|
348
348
|
/**
|
|
349
349
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
350
350
|
*/
|
|
351
|
-
export type
|
|
351
|
+
export type UpdatePromptLanguage = ClosedEnum<typeof UpdatePromptLanguage>;
|
|
352
352
|
export type UpdatePromptMetadata = {
|
|
353
353
|
/**
|
|
354
354
|
* 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
|
|
355
355
|
*/
|
|
356
|
-
useCases?: Array<
|
|
356
|
+
useCases?: Array<UpdatePromptUseCases> | undefined;
|
|
357
357
|
/**
|
|
358
358
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
359
359
|
*/
|
|
360
|
-
language?:
|
|
360
|
+
language?: UpdatePromptLanguage | undefined;
|
|
361
361
|
};
|
|
362
362
|
export type UpdatePromptRequestBody = {
|
|
363
363
|
owner?: string | undefined;
|
|
@@ -377,7 +377,7 @@ export type UpdatePromptRequestBody = {
|
|
|
377
377
|
/**
|
|
378
378
|
* A list of messages compatible with the openAI schema
|
|
379
379
|
*/
|
|
380
|
-
promptConfig?:
|
|
380
|
+
promptConfig?: UpdatePromptPromptConfig | undefined;
|
|
381
381
|
metadata?: UpdatePromptMetadata | undefined;
|
|
382
382
|
};
|
|
383
383
|
export type UpdatePromptRequest = {
|
|
@@ -394,7 +394,7 @@ export type UpdatePromptPromptsType = ClosedEnum<typeof UpdatePromptPromptsType>
|
|
|
394
394
|
/**
|
|
395
395
|
* The type of the model
|
|
396
396
|
*/
|
|
397
|
-
export declare const
|
|
397
|
+
export declare const UpdatePromptPromptsModelType: {
|
|
398
398
|
readonly Chat: "chat";
|
|
399
399
|
readonly Completion: "completion";
|
|
400
400
|
readonly Embedding: "embedding";
|
|
@@ -408,7 +408,7 @@ export declare const UpdatePromptModelType: {
|
|
|
408
408
|
/**
|
|
409
409
|
* The type of the model
|
|
410
410
|
*/
|
|
411
|
-
export type
|
|
411
|
+
export type UpdatePromptPromptsModelType = ClosedEnum<typeof UpdatePromptPromptsModelType>;
|
|
412
412
|
/**
|
|
413
413
|
* Only supported on `image` models.
|
|
414
414
|
*/
|
|
@@ -425,25 +425,25 @@ export type UpdatePromptPromptsFormat = ClosedEnum<typeof UpdatePromptPromptsFor
|
|
|
425
425
|
/**
|
|
426
426
|
* Only supported on `image` models.
|
|
427
427
|
*/
|
|
428
|
-
export declare const
|
|
428
|
+
export declare const UpdatePromptPromptsQuality: {
|
|
429
429
|
readonly Standard: "standard";
|
|
430
430
|
readonly Hd: "hd";
|
|
431
431
|
};
|
|
432
432
|
/**
|
|
433
433
|
* Only supported on `image` models.
|
|
434
434
|
*/
|
|
435
|
-
export type
|
|
436
|
-
export declare const
|
|
435
|
+
export type UpdatePromptPromptsQuality = ClosedEnum<typeof UpdatePromptPromptsQuality>;
|
|
436
|
+
export declare const UpdatePromptResponseFormatPromptsResponse200Type: {
|
|
437
437
|
readonly JsonObject: "json_object";
|
|
438
438
|
};
|
|
439
|
-
export type
|
|
440
|
-
export type
|
|
441
|
-
type:
|
|
439
|
+
export type UpdatePromptResponseFormatPromptsResponse200Type = ClosedEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
|
|
440
|
+
export type UpdatePromptResponseFormatPrompts2 = {
|
|
441
|
+
type: UpdatePromptResponseFormatPromptsResponse200Type;
|
|
442
442
|
};
|
|
443
|
-
export declare const
|
|
443
|
+
export declare const UpdatePromptResponseFormatPromptsResponseType: {
|
|
444
444
|
readonly JsonSchema: "json_schema";
|
|
445
445
|
};
|
|
446
|
-
export type
|
|
446
|
+
export type UpdatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
447
447
|
export type UpdatePromptResponseFormatJsonSchema = {
|
|
448
448
|
name: string;
|
|
449
449
|
strict: boolean;
|
|
@@ -451,8 +451,8 @@ export type UpdatePromptResponseFormatJsonSchema = {
|
|
|
451
451
|
[k: string]: any;
|
|
452
452
|
};
|
|
453
453
|
};
|
|
454
|
-
export type
|
|
455
|
-
type:
|
|
454
|
+
export type UpdatePromptResponseFormatPrompts1 = {
|
|
455
|
+
type: UpdatePromptResponseFormatPromptsResponseType;
|
|
456
456
|
jsonSchema: UpdatePromptResponseFormatJsonSchema;
|
|
457
457
|
};
|
|
458
458
|
/**
|
|
@@ -466,33 +466,33 @@ export type UpdatePromptResponseFormat1 = {
|
|
|
466
466
|
*
|
|
467
467
|
* 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.
|
|
468
468
|
*/
|
|
469
|
-
export type
|
|
469
|
+
export type UpdatePromptPromptsResponseFormat = UpdatePromptResponseFormatPrompts2 | UpdatePromptResponseFormatPrompts1;
|
|
470
470
|
/**
|
|
471
471
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
472
472
|
*/
|
|
473
|
-
export declare const
|
|
473
|
+
export declare const UpdatePromptPromptsPhotoRealVersion: {
|
|
474
474
|
readonly V1: "v1";
|
|
475
475
|
readonly V2: "v2";
|
|
476
476
|
};
|
|
477
477
|
/**
|
|
478
478
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
479
479
|
*/
|
|
480
|
-
export type
|
|
480
|
+
export type UpdatePromptPromptsPhotoRealVersion = ClosedEnum<typeof UpdatePromptPromptsPhotoRealVersion>;
|
|
481
481
|
/**
|
|
482
482
|
* The format to return the embeddings
|
|
483
483
|
*/
|
|
484
|
-
export declare const
|
|
484
|
+
export declare const UpdatePromptPromptsEncodingFormat: {
|
|
485
485
|
readonly Float: "float";
|
|
486
486
|
readonly Base64: "base64";
|
|
487
487
|
};
|
|
488
488
|
/**
|
|
489
489
|
* The format to return the embeddings
|
|
490
490
|
*/
|
|
491
|
-
export type
|
|
491
|
+
export type UpdatePromptPromptsEncodingFormat = ClosedEnum<typeof UpdatePromptPromptsEncodingFormat>;
|
|
492
492
|
/**
|
|
493
493
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
494
494
|
*/
|
|
495
|
-
export declare const
|
|
495
|
+
export declare const UpdatePromptPromptsReasoningEffort: {
|
|
496
496
|
readonly Low: "low";
|
|
497
497
|
readonly Medium: "medium";
|
|
498
498
|
readonly High: "high";
|
|
@@ -500,11 +500,11 @@ export declare const UpdatePromptReasoningEffort: {
|
|
|
500
500
|
/**
|
|
501
501
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
502
502
|
*/
|
|
503
|
-
export type
|
|
503
|
+
export type UpdatePromptPromptsReasoningEffort = ClosedEnum<typeof UpdatePromptPromptsReasoningEffort>;
|
|
504
504
|
/**
|
|
505
505
|
* Model Parameters: Not all parameters apply to every model
|
|
506
506
|
*/
|
|
507
|
-
export type
|
|
507
|
+
export type UpdatePromptPromptsModelParameters = {
|
|
508
508
|
/**
|
|
509
509
|
* Only supported on `chat` and `completion` models.
|
|
510
510
|
*/
|
|
@@ -548,7 +548,7 @@ export type UpdatePromptModelParameters = {
|
|
|
548
548
|
/**
|
|
549
549
|
* Only supported on `image` models.
|
|
550
550
|
*/
|
|
551
|
-
quality?:
|
|
551
|
+
quality?: UpdatePromptPromptsQuality | undefined;
|
|
552
552
|
/**
|
|
553
553
|
* Only supported on `image` models.
|
|
554
554
|
*/
|
|
@@ -564,25 +564,25 @@ export type UpdatePromptModelParameters = {
|
|
|
564
564
|
*
|
|
565
565
|
* 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.
|
|
566
566
|
*/
|
|
567
|
-
responseFormat?:
|
|
567
|
+
responseFormat?: UpdatePromptResponseFormatPrompts2 | UpdatePromptResponseFormatPrompts1 | null | undefined;
|
|
568
568
|
/**
|
|
569
569
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
570
570
|
*/
|
|
571
|
-
photoRealVersion?:
|
|
571
|
+
photoRealVersion?: UpdatePromptPromptsPhotoRealVersion | undefined;
|
|
572
572
|
/**
|
|
573
573
|
* The format to return the embeddings
|
|
574
574
|
*/
|
|
575
|
-
encodingFormat?:
|
|
575
|
+
encodingFormat?: UpdatePromptPromptsEncodingFormat | undefined;
|
|
576
576
|
/**
|
|
577
577
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
578
578
|
*/
|
|
579
|
-
reasoningEffort?:
|
|
579
|
+
reasoningEffort?: UpdatePromptPromptsReasoningEffort | undefined;
|
|
580
580
|
/**
|
|
581
581
|
* Gives the model enhanced reasoning capabilities for complex tasks. A value of 0 disables thinking. The minimum budget tokens for thinking are 1024. The Budget Tokens should never exceed the Max Tokens parameter. Only supported by `Anthropic`
|
|
582
582
|
*/
|
|
583
583
|
budgetTokens?: number | undefined;
|
|
584
584
|
};
|
|
585
|
-
export declare const
|
|
585
|
+
export declare const UpdatePromptPromptsProvider: {
|
|
586
586
|
readonly Cohere: "cohere";
|
|
587
587
|
readonly Openai: "openai";
|
|
588
588
|
readonly Anthropic: "anthropic";
|
|
@@ -602,7 +602,7 @@ export declare const UpdatePromptProvider: {
|
|
|
602
602
|
readonly Togetherai: "togetherai";
|
|
603
603
|
readonly Elevenlabs: "elevenlabs";
|
|
604
604
|
};
|
|
605
|
-
export type
|
|
605
|
+
export type UpdatePromptPromptsProvider = ClosedEnum<typeof UpdatePromptPromptsProvider>;
|
|
606
606
|
/**
|
|
607
607
|
* The role of the prompt message
|
|
608
608
|
*/
|
|
@@ -692,7 +692,7 @@ export type UpdatePromptPromptsMessages = {
|
|
|
692
692
|
/**
|
|
693
693
|
* A list of messages compatible with the openAI schema
|
|
694
694
|
*/
|
|
695
|
-
export type
|
|
695
|
+
export type UpdatePromptPromptsPromptConfig = {
|
|
696
696
|
stream?: boolean | undefined;
|
|
697
697
|
model?: string | undefined;
|
|
698
698
|
/**
|
|
@@ -702,12 +702,12 @@ export type UpdatePromptPromptConfig = {
|
|
|
702
702
|
/**
|
|
703
703
|
* The type of the model
|
|
704
704
|
*/
|
|
705
|
-
modelType?:
|
|
705
|
+
modelType?: UpdatePromptPromptsModelType | undefined;
|
|
706
706
|
/**
|
|
707
707
|
* Model Parameters: Not all parameters apply to every model
|
|
708
708
|
*/
|
|
709
|
-
modelParameters?:
|
|
710
|
-
provider?:
|
|
709
|
+
modelParameters?: UpdatePromptPromptsModelParameters | undefined;
|
|
710
|
+
provider?: UpdatePromptPromptsProvider | undefined;
|
|
711
711
|
/**
|
|
712
712
|
* The id of the resource
|
|
713
713
|
*/
|
|
@@ -715,7 +715,7 @@ export type UpdatePromptPromptConfig = {
|
|
|
715
715
|
version?: string | undefined;
|
|
716
716
|
messages: Array<UpdatePromptPromptsMessages>;
|
|
717
717
|
};
|
|
718
|
-
export declare const
|
|
718
|
+
export declare const UpdatePromptPromptsUseCases: {
|
|
719
719
|
readonly Agents: "Agents";
|
|
720
720
|
readonly AgentsSimulations: "Agents simulations";
|
|
721
721
|
readonly APIInteraction: "API interaction";
|
|
@@ -733,11 +733,11 @@ export declare const UpdatePromptUseCases: {
|
|
|
733
733
|
readonly Summarization: "Summarization";
|
|
734
734
|
readonly Tagging: "Tagging";
|
|
735
735
|
};
|
|
736
|
-
export type
|
|
736
|
+
export type UpdatePromptPromptsUseCases = ClosedEnum<typeof UpdatePromptPromptsUseCases>;
|
|
737
737
|
/**
|
|
738
738
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
739
739
|
*/
|
|
740
|
-
export declare const
|
|
740
|
+
export declare const UpdatePromptPromptsLanguage: {
|
|
741
741
|
readonly Chinese: "Chinese";
|
|
742
742
|
readonly Dutch: "Dutch";
|
|
743
743
|
readonly English: "English";
|
|
@@ -749,16 +749,16 @@ export declare const UpdatePromptLanguage: {
|
|
|
749
749
|
/**
|
|
750
750
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
751
751
|
*/
|
|
752
|
-
export type
|
|
752
|
+
export type UpdatePromptPromptsLanguage = ClosedEnum<typeof UpdatePromptPromptsLanguage>;
|
|
753
753
|
export type UpdatePromptPromptsMetadata = {
|
|
754
754
|
/**
|
|
755
755
|
* 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
|
|
756
756
|
*/
|
|
757
|
-
useCases?: Array<
|
|
757
|
+
useCases?: Array<UpdatePromptPromptsUseCases> | undefined;
|
|
758
758
|
/**
|
|
759
759
|
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
760
760
|
*/
|
|
761
|
-
language?:
|
|
761
|
+
language?: UpdatePromptPromptsLanguage | undefined;
|
|
762
762
|
};
|
|
763
763
|
/**
|
|
764
764
|
* Prompt updated.
|
|
@@ -783,19 +783,19 @@ export type UpdatePromptResponseBody = {
|
|
|
783
783
|
/**
|
|
784
784
|
* A list of messages compatible with the openAI schema
|
|
785
785
|
*/
|
|
786
|
-
promptConfig:
|
|
786
|
+
promptConfig: UpdatePromptPromptsPromptConfig;
|
|
787
787
|
metadata?: UpdatePromptPromptsMetadata | undefined;
|
|
788
788
|
};
|
|
789
789
|
/** @internal */
|
|
790
|
-
export declare const
|
|
790
|
+
export declare const UpdatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptModelType>;
|
|
791
791
|
/** @internal */
|
|
792
|
-
export declare const
|
|
792
|
+
export declare const UpdatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptModelType>;
|
|
793
793
|
/**
|
|
794
794
|
* @internal
|
|
795
795
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
796
796
|
*/
|
|
797
|
-
export declare namespace
|
|
798
|
-
/** @deprecated use `
|
|
797
|
+
export declare namespace UpdatePromptModelType$ {
|
|
798
|
+
/** @deprecated use `UpdatePromptModelType$inboundSchema` instead. */
|
|
799
799
|
const inboundSchema: z.ZodNativeEnum<{
|
|
800
800
|
readonly Chat: "chat";
|
|
801
801
|
readonly Completion: "completion";
|
|
@@ -807,7 +807,7 @@ export declare namespace ModelType$ {
|
|
|
807
807
|
readonly Rerank: "rerank";
|
|
808
808
|
readonly Moderations: "moderations";
|
|
809
809
|
}>;
|
|
810
|
-
/** @deprecated use `
|
|
810
|
+
/** @deprecated use `UpdatePromptModelType$outboundSchema` instead. */
|
|
811
811
|
const outboundSchema: z.ZodNativeEnum<{
|
|
812
812
|
readonly Chat: "chat";
|
|
813
813
|
readonly Completion: "completion";
|
|
@@ -845,87 +845,87 @@ export declare namespace UpdatePromptFormat$ {
|
|
|
845
845
|
}>;
|
|
846
846
|
}
|
|
847
847
|
/** @internal */
|
|
848
|
-
export declare const
|
|
848
|
+
export declare const UpdatePromptQuality$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptQuality>;
|
|
849
849
|
/** @internal */
|
|
850
|
-
export declare const
|
|
850
|
+
export declare const UpdatePromptQuality$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptQuality>;
|
|
851
851
|
/**
|
|
852
852
|
* @internal
|
|
853
853
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
854
854
|
*/
|
|
855
|
-
export declare namespace
|
|
856
|
-
/** @deprecated use `
|
|
855
|
+
export declare namespace UpdatePromptQuality$ {
|
|
856
|
+
/** @deprecated use `UpdatePromptQuality$inboundSchema` instead. */
|
|
857
857
|
const inboundSchema: z.ZodNativeEnum<{
|
|
858
858
|
readonly Standard: "standard";
|
|
859
859
|
readonly Hd: "hd";
|
|
860
860
|
}>;
|
|
861
|
-
/** @deprecated use `
|
|
861
|
+
/** @deprecated use `UpdatePromptQuality$outboundSchema` instead. */
|
|
862
862
|
const outboundSchema: z.ZodNativeEnum<{
|
|
863
863
|
readonly Standard: "standard";
|
|
864
864
|
readonly Hd: "hd";
|
|
865
865
|
}>;
|
|
866
866
|
}
|
|
867
867
|
/** @internal */
|
|
868
|
-
export declare const
|
|
868
|
+
export declare const UpdatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
869
869
|
/** @internal */
|
|
870
|
-
export declare const
|
|
870
|
+
export declare const UpdatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
871
871
|
/**
|
|
872
872
|
* @internal
|
|
873
873
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
874
874
|
*/
|
|
875
|
-
export declare namespace
|
|
876
|
-
/** @deprecated use `
|
|
875
|
+
export declare namespace UpdatePromptResponseFormatPromptsType$ {
|
|
876
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsType$inboundSchema` instead. */
|
|
877
877
|
const inboundSchema: z.ZodNativeEnum<{
|
|
878
878
|
readonly JsonObject: "json_object";
|
|
879
879
|
}>;
|
|
880
|
-
/** @deprecated use `
|
|
880
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsType$outboundSchema` instead. */
|
|
881
881
|
const outboundSchema: z.ZodNativeEnum<{
|
|
882
882
|
readonly JsonObject: "json_object";
|
|
883
883
|
}>;
|
|
884
884
|
}
|
|
885
885
|
/** @internal */
|
|
886
|
-
export declare const
|
|
886
|
+
export declare const UpdatePromptResponseFormat2$inboundSchema: z.ZodType<UpdatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
887
887
|
/** @internal */
|
|
888
|
-
export type
|
|
888
|
+
export type UpdatePromptResponseFormat2$Outbound = {
|
|
889
889
|
type: string;
|
|
890
890
|
};
|
|
891
891
|
/** @internal */
|
|
892
|
-
export declare const
|
|
892
|
+
export declare const UpdatePromptResponseFormat2$outboundSchema: z.ZodType<UpdatePromptResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat2>;
|
|
893
893
|
/**
|
|
894
894
|
* @internal
|
|
895
895
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
896
896
|
*/
|
|
897
|
-
export declare namespace
|
|
898
|
-
/** @deprecated use `
|
|
899
|
-
const inboundSchema: z.ZodType<
|
|
900
|
-
/** @deprecated use `
|
|
901
|
-
const outboundSchema: z.ZodType<
|
|
902
|
-
/** @deprecated use `
|
|
903
|
-
type Outbound =
|
|
897
|
+
export declare namespace UpdatePromptResponseFormat2$ {
|
|
898
|
+
/** @deprecated use `UpdatePromptResponseFormat2$inboundSchema` instead. */
|
|
899
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
900
|
+
/** @deprecated use `UpdatePromptResponseFormat2$outboundSchema` instead. */
|
|
901
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat2>;
|
|
902
|
+
/** @deprecated use `UpdatePromptResponseFormat2$Outbound` instead. */
|
|
903
|
+
type Outbound = UpdatePromptResponseFormat2$Outbound;
|
|
904
904
|
}
|
|
905
|
-
export declare function
|
|
906
|
-
export declare function
|
|
905
|
+
export declare function updatePromptResponseFormat2ToJSON(updatePromptResponseFormat2: UpdatePromptResponseFormat2): string;
|
|
906
|
+
export declare function updatePromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat2, SDKValidationError>;
|
|
907
907
|
/** @internal */
|
|
908
|
-
export declare const
|
|
908
|
+
export declare const UpdatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatType>;
|
|
909
909
|
/** @internal */
|
|
910
|
-
export declare const
|
|
910
|
+
export declare const UpdatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatType>;
|
|
911
911
|
/**
|
|
912
912
|
* @internal
|
|
913
913
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
914
914
|
*/
|
|
915
|
-
export declare namespace
|
|
916
|
-
/** @deprecated use `
|
|
915
|
+
export declare namespace UpdatePromptResponseFormatType$ {
|
|
916
|
+
/** @deprecated use `UpdatePromptResponseFormatType$inboundSchema` instead. */
|
|
917
917
|
const inboundSchema: z.ZodNativeEnum<{
|
|
918
918
|
readonly JsonSchema: "json_schema";
|
|
919
919
|
}>;
|
|
920
|
-
/** @deprecated use `
|
|
920
|
+
/** @deprecated use `UpdatePromptResponseFormatType$outboundSchema` instead. */
|
|
921
921
|
const outboundSchema: z.ZodNativeEnum<{
|
|
922
922
|
readonly JsonSchema: "json_schema";
|
|
923
923
|
}>;
|
|
924
924
|
}
|
|
925
925
|
/** @internal */
|
|
926
|
-
export declare const
|
|
926
|
+
export declare const ResponseFormatJsonSchema$inboundSchema: z.ZodType<ResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
927
927
|
/** @internal */
|
|
928
|
-
export type
|
|
928
|
+
export type ResponseFormatJsonSchema$Outbound = {
|
|
929
929
|
name: string;
|
|
930
930
|
strict: boolean;
|
|
931
931
|
schema: {
|
|
@@ -933,120 +933,120 @@ export type JsonSchema$Outbound = {
|
|
|
933
933
|
};
|
|
934
934
|
};
|
|
935
935
|
/** @internal */
|
|
936
|
-
export declare const
|
|
936
|
+
export declare const ResponseFormatJsonSchema$outboundSchema: z.ZodType<ResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ResponseFormatJsonSchema>;
|
|
937
937
|
/**
|
|
938
938
|
* @internal
|
|
939
939
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
940
940
|
*/
|
|
941
|
-
export declare namespace
|
|
942
|
-
/** @deprecated use `
|
|
943
|
-
const inboundSchema: z.ZodType<
|
|
944
|
-
/** @deprecated use `
|
|
945
|
-
const outboundSchema: z.ZodType<
|
|
946
|
-
/** @deprecated use `
|
|
947
|
-
type Outbound =
|
|
941
|
+
export declare namespace ResponseFormatJsonSchema$ {
|
|
942
|
+
/** @deprecated use `ResponseFormatJsonSchema$inboundSchema` instead. */
|
|
943
|
+
const inboundSchema: z.ZodType<ResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
944
|
+
/** @deprecated use `ResponseFormatJsonSchema$outboundSchema` instead. */
|
|
945
|
+
const outboundSchema: z.ZodType<ResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ResponseFormatJsonSchema>;
|
|
946
|
+
/** @deprecated use `ResponseFormatJsonSchema$Outbound` instead. */
|
|
947
|
+
type Outbound = ResponseFormatJsonSchema$Outbound;
|
|
948
948
|
}
|
|
949
|
-
export declare function
|
|
950
|
-
export declare function
|
|
949
|
+
export declare function responseFormatJsonSchemaToJSON(responseFormatJsonSchema: ResponseFormatJsonSchema): string;
|
|
950
|
+
export declare function responseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<ResponseFormatJsonSchema, SDKValidationError>;
|
|
951
951
|
/** @internal */
|
|
952
|
-
export declare const
|
|
952
|
+
export declare const UpdatePromptResponseFormat1$inboundSchema: z.ZodType<UpdatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
953
953
|
/** @internal */
|
|
954
|
-
export type
|
|
954
|
+
export type UpdatePromptResponseFormat1$Outbound = {
|
|
955
955
|
type: string;
|
|
956
|
-
json_schema:
|
|
956
|
+
json_schema: ResponseFormatJsonSchema$Outbound;
|
|
957
957
|
};
|
|
958
958
|
/** @internal */
|
|
959
|
-
export declare const
|
|
959
|
+
export declare const UpdatePromptResponseFormat1$outboundSchema: z.ZodType<UpdatePromptResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat1>;
|
|
960
960
|
/**
|
|
961
961
|
* @internal
|
|
962
962
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
963
963
|
*/
|
|
964
|
-
export declare namespace
|
|
965
|
-
/** @deprecated use `
|
|
966
|
-
const inboundSchema: z.ZodType<
|
|
967
|
-
/** @deprecated use `
|
|
968
|
-
const outboundSchema: z.ZodType<
|
|
969
|
-
/** @deprecated use `
|
|
970
|
-
type Outbound =
|
|
964
|
+
export declare namespace UpdatePromptResponseFormat1$ {
|
|
965
|
+
/** @deprecated use `UpdatePromptResponseFormat1$inboundSchema` instead. */
|
|
966
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
967
|
+
/** @deprecated use `UpdatePromptResponseFormat1$outboundSchema` instead. */
|
|
968
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat1>;
|
|
969
|
+
/** @deprecated use `UpdatePromptResponseFormat1$Outbound` instead. */
|
|
970
|
+
type Outbound = UpdatePromptResponseFormat1$Outbound;
|
|
971
971
|
}
|
|
972
|
-
export declare function
|
|
973
|
-
export declare function
|
|
972
|
+
export declare function updatePromptResponseFormat1ToJSON(updatePromptResponseFormat1: UpdatePromptResponseFormat1): string;
|
|
973
|
+
export declare function updatePromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat1, SDKValidationError>;
|
|
974
974
|
/** @internal */
|
|
975
|
-
export declare const
|
|
975
|
+
export declare const UpdatePromptResponseFormat$inboundSchema: z.ZodType<UpdatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
976
976
|
/** @internal */
|
|
977
|
-
export type
|
|
977
|
+
export type UpdatePromptResponseFormat$Outbound = UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat1$Outbound;
|
|
978
978
|
/** @internal */
|
|
979
|
-
export declare const
|
|
979
|
+
export declare const UpdatePromptResponseFormat$outboundSchema: z.ZodType<UpdatePromptResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat>;
|
|
980
980
|
/**
|
|
981
981
|
* @internal
|
|
982
982
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
983
983
|
*/
|
|
984
|
-
export declare namespace
|
|
985
|
-
/** @deprecated use `
|
|
986
|
-
const inboundSchema: z.ZodType<
|
|
987
|
-
/** @deprecated use `
|
|
988
|
-
const outboundSchema: z.ZodType<
|
|
989
|
-
/** @deprecated use `
|
|
990
|
-
type Outbound =
|
|
984
|
+
export declare namespace UpdatePromptResponseFormat$ {
|
|
985
|
+
/** @deprecated use `UpdatePromptResponseFormat$inboundSchema` instead. */
|
|
986
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
987
|
+
/** @deprecated use `UpdatePromptResponseFormat$outboundSchema` instead. */
|
|
988
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat>;
|
|
989
|
+
/** @deprecated use `UpdatePromptResponseFormat$Outbound` instead. */
|
|
990
|
+
type Outbound = UpdatePromptResponseFormat$Outbound;
|
|
991
991
|
}
|
|
992
|
-
export declare function
|
|
993
|
-
export declare function
|
|
992
|
+
export declare function updatePromptResponseFormatToJSON(updatePromptResponseFormat: UpdatePromptResponseFormat): string;
|
|
993
|
+
export declare function updatePromptResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat, SDKValidationError>;
|
|
994
994
|
/** @internal */
|
|
995
|
-
export declare const
|
|
995
|
+
export declare const UpdatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPhotoRealVersion>;
|
|
996
996
|
/** @internal */
|
|
997
|
-
export declare const
|
|
997
|
+
export declare const UpdatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPhotoRealVersion>;
|
|
998
998
|
/**
|
|
999
999
|
* @internal
|
|
1000
1000
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1001
1001
|
*/
|
|
1002
|
-
export declare namespace
|
|
1003
|
-
/** @deprecated use `
|
|
1002
|
+
export declare namespace UpdatePromptPhotoRealVersion$ {
|
|
1003
|
+
/** @deprecated use `UpdatePromptPhotoRealVersion$inboundSchema` instead. */
|
|
1004
1004
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1005
1005
|
readonly V1: "v1";
|
|
1006
1006
|
readonly V2: "v2";
|
|
1007
1007
|
}>;
|
|
1008
|
-
/** @deprecated use `
|
|
1008
|
+
/** @deprecated use `UpdatePromptPhotoRealVersion$outboundSchema` instead. */
|
|
1009
1009
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1010
1010
|
readonly V1: "v1";
|
|
1011
1011
|
readonly V2: "v2";
|
|
1012
1012
|
}>;
|
|
1013
1013
|
}
|
|
1014
1014
|
/** @internal */
|
|
1015
|
-
export declare const
|
|
1015
|
+
export declare const UpdatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptEncodingFormat>;
|
|
1016
1016
|
/** @internal */
|
|
1017
|
-
export declare const
|
|
1017
|
+
export declare const UpdatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptEncodingFormat>;
|
|
1018
1018
|
/**
|
|
1019
1019
|
* @internal
|
|
1020
1020
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1021
1021
|
*/
|
|
1022
|
-
export declare namespace
|
|
1023
|
-
/** @deprecated use `
|
|
1022
|
+
export declare namespace UpdatePromptEncodingFormat$ {
|
|
1023
|
+
/** @deprecated use `UpdatePromptEncodingFormat$inboundSchema` instead. */
|
|
1024
1024
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1025
1025
|
readonly Float: "float";
|
|
1026
1026
|
readonly Base64: "base64";
|
|
1027
1027
|
}>;
|
|
1028
|
-
/** @deprecated use `
|
|
1028
|
+
/** @deprecated use `UpdatePromptEncodingFormat$outboundSchema` instead. */
|
|
1029
1029
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1030
1030
|
readonly Float: "float";
|
|
1031
1031
|
readonly Base64: "base64";
|
|
1032
1032
|
}>;
|
|
1033
1033
|
}
|
|
1034
1034
|
/** @internal */
|
|
1035
|
-
export declare const
|
|
1035
|
+
export declare const UpdatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptReasoningEffort>;
|
|
1036
1036
|
/** @internal */
|
|
1037
|
-
export declare const
|
|
1037
|
+
export declare const UpdatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptReasoningEffort>;
|
|
1038
1038
|
/**
|
|
1039
1039
|
* @internal
|
|
1040
1040
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1041
1041
|
*/
|
|
1042
|
-
export declare namespace
|
|
1043
|
-
/** @deprecated use `
|
|
1042
|
+
export declare namespace UpdatePromptReasoningEffort$ {
|
|
1043
|
+
/** @deprecated use `UpdatePromptReasoningEffort$inboundSchema` instead. */
|
|
1044
1044
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1045
1045
|
readonly Low: "low";
|
|
1046
1046
|
readonly Medium: "medium";
|
|
1047
1047
|
readonly High: "high";
|
|
1048
1048
|
}>;
|
|
1049
|
-
/** @deprecated use `
|
|
1049
|
+
/** @deprecated use `UpdatePromptReasoningEffort$outboundSchema` instead. */
|
|
1050
1050
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1051
1051
|
readonly Low: "low";
|
|
1052
1052
|
readonly Medium: "medium";
|
|
@@ -1054,9 +1054,9 @@ export declare namespace ReasoningEffort$ {
|
|
|
1054
1054
|
}>;
|
|
1055
1055
|
}
|
|
1056
1056
|
/** @internal */
|
|
1057
|
-
export declare const
|
|
1057
|
+
export declare const UpdatePromptModelParameters$inboundSchema: z.ZodType<UpdatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
1058
1058
|
/** @internal */
|
|
1059
|
-
export type
|
|
1059
|
+
export type UpdatePromptModelParameters$Outbound = {
|
|
1060
1060
|
temperature?: number | undefined;
|
|
1061
1061
|
maxTokens?: number | undefined;
|
|
1062
1062
|
topK?: number | undefined;
|
|
@@ -1069,38 +1069,38 @@ export type ModelParameters$Outbound = {
|
|
|
1069
1069
|
dimensions?: string | undefined;
|
|
1070
1070
|
quality?: string | undefined;
|
|
1071
1071
|
style?: string | undefined;
|
|
1072
|
-
responseFormat?:
|
|
1072
|
+
responseFormat?: UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat1$Outbound | null | undefined;
|
|
1073
1073
|
photoRealVersion?: string | undefined;
|
|
1074
1074
|
encoding_format?: string | undefined;
|
|
1075
1075
|
reasoningEffort?: string | undefined;
|
|
1076
1076
|
budgetTokens?: number | undefined;
|
|
1077
1077
|
};
|
|
1078
1078
|
/** @internal */
|
|
1079
|
-
export declare const
|
|
1079
|
+
export declare const UpdatePromptModelParameters$outboundSchema: z.ZodType<UpdatePromptModelParameters$Outbound, z.ZodTypeDef, UpdatePromptModelParameters>;
|
|
1080
1080
|
/**
|
|
1081
1081
|
* @internal
|
|
1082
1082
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1083
1083
|
*/
|
|
1084
|
-
export declare namespace
|
|
1085
|
-
/** @deprecated use `
|
|
1086
|
-
const inboundSchema: z.ZodType<
|
|
1087
|
-
/** @deprecated use `
|
|
1088
|
-
const outboundSchema: z.ZodType<
|
|
1089
|
-
/** @deprecated use `
|
|
1090
|
-
type Outbound =
|
|
1084
|
+
export declare namespace UpdatePromptModelParameters$ {
|
|
1085
|
+
/** @deprecated use `UpdatePromptModelParameters$inboundSchema` instead. */
|
|
1086
|
+
const inboundSchema: z.ZodType<UpdatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
1087
|
+
/** @deprecated use `UpdatePromptModelParameters$outboundSchema` instead. */
|
|
1088
|
+
const outboundSchema: z.ZodType<UpdatePromptModelParameters$Outbound, z.ZodTypeDef, UpdatePromptModelParameters>;
|
|
1089
|
+
/** @deprecated use `UpdatePromptModelParameters$Outbound` instead. */
|
|
1090
|
+
type Outbound = UpdatePromptModelParameters$Outbound;
|
|
1091
1091
|
}
|
|
1092
|
-
export declare function
|
|
1093
|
-
export declare function
|
|
1092
|
+
export declare function updatePromptModelParametersToJSON(updatePromptModelParameters: UpdatePromptModelParameters): string;
|
|
1093
|
+
export declare function updatePromptModelParametersFromJSON(jsonString: string): SafeParseResult<UpdatePromptModelParameters, SDKValidationError>;
|
|
1094
1094
|
/** @internal */
|
|
1095
|
-
export declare const
|
|
1095
|
+
export declare const UpdatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptProvider>;
|
|
1096
1096
|
/** @internal */
|
|
1097
|
-
export declare const
|
|
1097
|
+
export declare const UpdatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptProvider>;
|
|
1098
1098
|
/**
|
|
1099
1099
|
* @internal
|
|
1100
1100
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1101
1101
|
*/
|
|
1102
|
-
export declare namespace
|
|
1103
|
-
/** @deprecated use `
|
|
1102
|
+
export declare namespace UpdatePromptProvider$ {
|
|
1103
|
+
/** @deprecated use `UpdatePromptProvider$inboundSchema` instead. */
|
|
1104
1104
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1105
1105
|
readonly Cohere: "cohere";
|
|
1106
1106
|
readonly Openai: "openai";
|
|
@@ -1121,7 +1121,7 @@ export declare namespace Provider$ {
|
|
|
1121
1121
|
readonly Togetherai: "togetherai";
|
|
1122
1122
|
readonly Elevenlabs: "elevenlabs";
|
|
1123
1123
|
}>;
|
|
1124
|
-
/** @deprecated use `
|
|
1124
|
+
/** @deprecated use `UpdatePromptProvider$outboundSchema` instead. */
|
|
1125
1125
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1126
1126
|
readonly Cohere: "cohere";
|
|
1127
1127
|
readonly Openai: "openai";
|
|
@@ -1411,43 +1411,43 @@ export declare namespace UpdatePromptMessages$ {
|
|
|
1411
1411
|
export declare function updatePromptMessagesToJSON(updatePromptMessages: UpdatePromptMessages): string;
|
|
1412
1412
|
export declare function updatePromptMessagesFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessages, SDKValidationError>;
|
|
1413
1413
|
/** @internal */
|
|
1414
|
-
export declare const
|
|
1414
|
+
export declare const UpdatePromptPromptConfig$inboundSchema: z.ZodType<UpdatePromptPromptConfig, z.ZodTypeDef, unknown>;
|
|
1415
1415
|
/** @internal */
|
|
1416
|
-
export type
|
|
1416
|
+
export type UpdatePromptPromptConfig$Outbound = {
|
|
1417
1417
|
stream?: boolean | undefined;
|
|
1418
1418
|
model?: string | undefined;
|
|
1419
1419
|
model_type?: string | undefined;
|
|
1420
|
-
model_parameters?:
|
|
1420
|
+
model_parameters?: UpdatePromptModelParameters$Outbound | undefined;
|
|
1421
1421
|
provider?: string | undefined;
|
|
1422
1422
|
version?: string | undefined;
|
|
1423
1423
|
messages: Array<UpdatePromptMessages$Outbound>;
|
|
1424
1424
|
};
|
|
1425
1425
|
/** @internal */
|
|
1426
|
-
export declare const
|
|
1426
|
+
export declare const UpdatePromptPromptConfig$outboundSchema: z.ZodType<UpdatePromptPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptConfig>;
|
|
1427
1427
|
/**
|
|
1428
1428
|
* @internal
|
|
1429
1429
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1430
1430
|
*/
|
|
1431
|
-
export declare namespace
|
|
1432
|
-
/** @deprecated use `
|
|
1433
|
-
const inboundSchema: z.ZodType<
|
|
1434
|
-
/** @deprecated use `
|
|
1435
|
-
const outboundSchema: z.ZodType<
|
|
1436
|
-
/** @deprecated use `
|
|
1437
|
-
type Outbound =
|
|
1431
|
+
export declare namespace UpdatePromptPromptConfig$ {
|
|
1432
|
+
/** @deprecated use `UpdatePromptPromptConfig$inboundSchema` instead. */
|
|
1433
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptConfig, z.ZodTypeDef, unknown>;
|
|
1434
|
+
/** @deprecated use `UpdatePromptPromptConfig$outboundSchema` instead. */
|
|
1435
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptConfig>;
|
|
1436
|
+
/** @deprecated use `UpdatePromptPromptConfig$Outbound` instead. */
|
|
1437
|
+
type Outbound = UpdatePromptPromptConfig$Outbound;
|
|
1438
1438
|
}
|
|
1439
|
-
export declare function
|
|
1440
|
-
export declare function
|
|
1439
|
+
export declare function updatePromptPromptConfigToJSON(updatePromptPromptConfig: UpdatePromptPromptConfig): string;
|
|
1440
|
+
export declare function updatePromptPromptConfigFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptConfig, SDKValidationError>;
|
|
1441
1441
|
/** @internal */
|
|
1442
|
-
export declare const
|
|
1442
|
+
export declare const UpdatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptUseCases>;
|
|
1443
1443
|
/** @internal */
|
|
1444
|
-
export declare const
|
|
1444
|
+
export declare const UpdatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptUseCases>;
|
|
1445
1445
|
/**
|
|
1446
1446
|
* @internal
|
|
1447
1447
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1448
1448
|
*/
|
|
1449
|
-
export declare namespace
|
|
1450
|
-
/** @deprecated use `
|
|
1449
|
+
export declare namespace UpdatePromptUseCases$ {
|
|
1450
|
+
/** @deprecated use `UpdatePromptUseCases$inboundSchema` instead. */
|
|
1451
1451
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1452
1452
|
readonly Agents: "Agents";
|
|
1453
1453
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -1466,7 +1466,7 @@ export declare namespace UseCases$ {
|
|
|
1466
1466
|
readonly Summarization: "Summarization";
|
|
1467
1467
|
readonly Tagging: "Tagging";
|
|
1468
1468
|
}>;
|
|
1469
|
-
/** @deprecated use `
|
|
1469
|
+
/** @deprecated use `UpdatePromptUseCases$outboundSchema` instead. */
|
|
1470
1470
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1471
1471
|
readonly Agents: "Agents";
|
|
1472
1472
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -1487,15 +1487,15 @@ export declare namespace UseCases$ {
|
|
|
1487
1487
|
}>;
|
|
1488
1488
|
}
|
|
1489
1489
|
/** @internal */
|
|
1490
|
-
export declare const
|
|
1490
|
+
export declare const UpdatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptLanguage>;
|
|
1491
1491
|
/** @internal */
|
|
1492
|
-
export declare const
|
|
1492
|
+
export declare const UpdatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptLanguage>;
|
|
1493
1493
|
/**
|
|
1494
1494
|
* @internal
|
|
1495
1495
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1496
1496
|
*/
|
|
1497
|
-
export declare namespace
|
|
1498
|
-
/** @deprecated use `
|
|
1497
|
+
export declare namespace UpdatePromptLanguage$ {
|
|
1498
|
+
/** @deprecated use `UpdatePromptLanguage$inboundSchema` instead. */
|
|
1499
1499
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1500
1500
|
readonly Chinese: "Chinese";
|
|
1501
1501
|
readonly Dutch: "Dutch";
|
|
@@ -1505,7 +1505,7 @@ export declare namespace Language$ {
|
|
|
1505
1505
|
readonly Russian: "Russian";
|
|
1506
1506
|
readonly Spanish: "Spanish";
|
|
1507
1507
|
}>;
|
|
1508
|
-
/** @deprecated use `
|
|
1508
|
+
/** @deprecated use `UpdatePromptLanguage$outboundSchema` instead. */
|
|
1509
1509
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1510
1510
|
readonly Chinese: "Chinese";
|
|
1511
1511
|
readonly Dutch: "Dutch";
|
|
@@ -1551,7 +1551,7 @@ export type UpdatePromptRequestBody$Outbound = {
|
|
|
1551
1551
|
updated_by_id?: string | null | undefined;
|
|
1552
1552
|
display_name?: string | undefined;
|
|
1553
1553
|
description?: string | null | undefined;
|
|
1554
|
-
prompt_config?:
|
|
1554
|
+
prompt_config?: UpdatePromptPromptConfig$Outbound | undefined;
|
|
1555
1555
|
metadata?: UpdatePromptMetadata$Outbound | undefined;
|
|
1556
1556
|
};
|
|
1557
1557
|
/** @internal */
|
|
@@ -1612,15 +1612,15 @@ export declare namespace UpdatePromptPromptsType$ {
|
|
|
1612
1612
|
}>;
|
|
1613
1613
|
}
|
|
1614
1614
|
/** @internal */
|
|
1615
|
-
export declare const
|
|
1615
|
+
export declare const UpdatePromptPromptsModelType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsModelType>;
|
|
1616
1616
|
/** @internal */
|
|
1617
|
-
export declare const
|
|
1617
|
+
export declare const UpdatePromptPromptsModelType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsModelType>;
|
|
1618
1618
|
/**
|
|
1619
1619
|
* @internal
|
|
1620
1620
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1621
1621
|
*/
|
|
1622
|
-
export declare namespace
|
|
1623
|
-
/** @deprecated use `
|
|
1622
|
+
export declare namespace UpdatePromptPromptsModelType$ {
|
|
1623
|
+
/** @deprecated use `UpdatePromptPromptsModelType$inboundSchema` instead. */
|
|
1624
1624
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1625
1625
|
readonly Chat: "chat";
|
|
1626
1626
|
readonly Completion: "completion";
|
|
@@ -1632,7 +1632,7 @@ export declare namespace UpdatePromptModelType$ {
|
|
|
1632
1632
|
readonly Rerank: "rerank";
|
|
1633
1633
|
readonly Moderations: "moderations";
|
|
1634
1634
|
}>;
|
|
1635
|
-
/** @deprecated use `
|
|
1635
|
+
/** @deprecated use `UpdatePromptPromptsModelType$outboundSchema` instead. */
|
|
1636
1636
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1637
1637
|
readonly Chat: "chat";
|
|
1638
1638
|
readonly Completion: "completion";
|
|
@@ -1670,79 +1670,79 @@ export declare namespace UpdatePromptPromptsFormat$ {
|
|
|
1670
1670
|
}>;
|
|
1671
1671
|
}
|
|
1672
1672
|
/** @internal */
|
|
1673
|
-
export declare const
|
|
1673
|
+
export declare const UpdatePromptPromptsQuality$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsQuality>;
|
|
1674
1674
|
/** @internal */
|
|
1675
|
-
export declare const
|
|
1675
|
+
export declare const UpdatePromptPromptsQuality$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsQuality>;
|
|
1676
1676
|
/**
|
|
1677
1677
|
* @internal
|
|
1678
1678
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1679
1679
|
*/
|
|
1680
|
-
export declare namespace
|
|
1681
|
-
/** @deprecated use `
|
|
1680
|
+
export declare namespace UpdatePromptPromptsQuality$ {
|
|
1681
|
+
/** @deprecated use `UpdatePromptPromptsQuality$inboundSchema` instead. */
|
|
1682
1682
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1683
1683
|
readonly Standard: "standard";
|
|
1684
1684
|
readonly Hd: "hd";
|
|
1685
1685
|
}>;
|
|
1686
|
-
/** @deprecated use `
|
|
1686
|
+
/** @deprecated use `UpdatePromptPromptsQuality$outboundSchema` instead. */
|
|
1687
1687
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1688
1688
|
readonly Standard: "standard";
|
|
1689
1689
|
readonly Hd: "hd";
|
|
1690
1690
|
}>;
|
|
1691
1691
|
}
|
|
1692
1692
|
/** @internal */
|
|
1693
|
-
export declare const
|
|
1693
|
+
export declare const UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
|
|
1694
1694
|
/** @internal */
|
|
1695
|
-
export declare const
|
|
1695
|
+
export declare const UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
|
|
1696
1696
|
/**
|
|
1697
1697
|
* @internal
|
|
1698
1698
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1699
1699
|
*/
|
|
1700
|
-
export declare namespace
|
|
1701
|
-
/** @deprecated use `
|
|
1700
|
+
export declare namespace UpdatePromptResponseFormatPromptsResponse200Type$ {
|
|
1701
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema` instead. */
|
|
1702
1702
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1703
1703
|
readonly JsonObject: "json_object";
|
|
1704
1704
|
}>;
|
|
1705
|
-
/** @deprecated use `
|
|
1705
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema` instead. */
|
|
1706
1706
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1707
1707
|
readonly JsonObject: "json_object";
|
|
1708
1708
|
}>;
|
|
1709
1709
|
}
|
|
1710
1710
|
/** @internal */
|
|
1711
|
-
export declare const
|
|
1711
|
+
export declare const UpdatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
1712
1712
|
/** @internal */
|
|
1713
|
-
export type
|
|
1713
|
+
export type UpdatePromptResponseFormatPrompts2$Outbound = {
|
|
1714
1714
|
type: string;
|
|
1715
1715
|
};
|
|
1716
1716
|
/** @internal */
|
|
1717
|
-
export declare const
|
|
1717
|
+
export declare const UpdatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts2>;
|
|
1718
1718
|
/**
|
|
1719
1719
|
* @internal
|
|
1720
1720
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1721
1721
|
*/
|
|
1722
|
-
export declare namespace
|
|
1723
|
-
/** @deprecated use `
|
|
1724
|
-
const inboundSchema: z.ZodType<
|
|
1725
|
-
/** @deprecated use `
|
|
1726
|
-
const outboundSchema: z.ZodType<
|
|
1727
|
-
/** @deprecated use `
|
|
1728
|
-
type Outbound =
|
|
1722
|
+
export declare namespace UpdatePromptResponseFormatPrompts2$ {
|
|
1723
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts2$inboundSchema` instead. */
|
|
1724
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
1725
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts2$outboundSchema` instead. */
|
|
1726
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts2>;
|
|
1727
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts2$Outbound` instead. */
|
|
1728
|
+
type Outbound = UpdatePromptResponseFormatPrompts2$Outbound;
|
|
1729
1729
|
}
|
|
1730
|
-
export declare function
|
|
1731
|
-
export declare function
|
|
1730
|
+
export declare function updatePromptResponseFormatPrompts2ToJSON(updatePromptResponseFormatPrompts2: UpdatePromptResponseFormatPrompts2): string;
|
|
1731
|
+
export declare function updatePromptResponseFormatPrompts2FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPrompts2, SDKValidationError>;
|
|
1732
1732
|
/** @internal */
|
|
1733
|
-
export declare const
|
|
1733
|
+
export declare const UpdatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
1734
1734
|
/** @internal */
|
|
1735
|
-
export declare const
|
|
1735
|
+
export declare const UpdatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
1736
1736
|
/**
|
|
1737
1737
|
* @internal
|
|
1738
1738
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1739
1739
|
*/
|
|
1740
|
-
export declare namespace
|
|
1741
|
-
/** @deprecated use `
|
|
1740
|
+
export declare namespace UpdatePromptResponseFormatPromptsResponseType$ {
|
|
1741
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
|
|
1742
1742
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1743
1743
|
readonly JsonSchema: "json_schema";
|
|
1744
1744
|
}>;
|
|
1745
|
-
/** @deprecated use `
|
|
1745
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
|
|
1746
1746
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1747
1747
|
readonly JsonSchema: "json_schema";
|
|
1748
1748
|
}>;
|
|
@@ -1774,104 +1774,104 @@ export declare namespace UpdatePromptResponseFormatJsonSchema$ {
|
|
|
1774
1774
|
export declare function updatePromptResponseFormatJsonSchemaToJSON(updatePromptResponseFormatJsonSchema: UpdatePromptResponseFormatJsonSchema): string;
|
|
1775
1775
|
export declare function updatePromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatJsonSchema, SDKValidationError>;
|
|
1776
1776
|
/** @internal */
|
|
1777
|
-
export declare const
|
|
1777
|
+
export declare const UpdatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
|
|
1778
1778
|
/** @internal */
|
|
1779
|
-
export type
|
|
1779
|
+
export type UpdatePromptResponseFormatPrompts1$Outbound = {
|
|
1780
1780
|
type: string;
|
|
1781
1781
|
json_schema: UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
1782
1782
|
};
|
|
1783
1783
|
/** @internal */
|
|
1784
|
-
export declare const
|
|
1784
|
+
export declare const UpdatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts1>;
|
|
1785
1785
|
/**
|
|
1786
1786
|
* @internal
|
|
1787
1787
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1788
1788
|
*/
|
|
1789
|
-
export declare namespace
|
|
1790
|
-
/** @deprecated use `
|
|
1791
|
-
const inboundSchema: z.ZodType<
|
|
1792
|
-
/** @deprecated use `
|
|
1793
|
-
const outboundSchema: z.ZodType<
|
|
1794
|
-
/** @deprecated use `
|
|
1795
|
-
type Outbound =
|
|
1789
|
+
export declare namespace UpdatePromptResponseFormatPrompts1$ {
|
|
1790
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts1$inboundSchema` instead. */
|
|
1791
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
|
|
1792
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts1$outboundSchema` instead. */
|
|
1793
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts1>;
|
|
1794
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts1$Outbound` instead. */
|
|
1795
|
+
type Outbound = UpdatePromptResponseFormatPrompts1$Outbound;
|
|
1796
1796
|
}
|
|
1797
|
-
export declare function
|
|
1798
|
-
export declare function
|
|
1797
|
+
export declare function updatePromptResponseFormatPrompts1ToJSON(updatePromptResponseFormatPrompts1: UpdatePromptResponseFormatPrompts1): string;
|
|
1798
|
+
export declare function updatePromptResponseFormatPrompts1FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPrompts1, SDKValidationError>;
|
|
1799
1799
|
/** @internal */
|
|
1800
|
-
export declare const
|
|
1800
|
+
export declare const UpdatePromptPromptsResponseFormat$inboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
1801
1801
|
/** @internal */
|
|
1802
|
-
export type
|
|
1802
|
+
export type UpdatePromptPromptsResponseFormat$Outbound = UpdatePromptResponseFormatPrompts2$Outbound | UpdatePromptResponseFormatPrompts1$Outbound;
|
|
1803
1803
|
/** @internal */
|
|
1804
|
-
export declare const
|
|
1804
|
+
export declare const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseFormat>;
|
|
1805
1805
|
/**
|
|
1806
1806
|
* @internal
|
|
1807
1807
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1808
1808
|
*/
|
|
1809
|
-
export declare namespace
|
|
1810
|
-
/** @deprecated use `
|
|
1811
|
-
const inboundSchema: z.ZodType<
|
|
1812
|
-
/** @deprecated use `
|
|
1813
|
-
const outboundSchema: z.ZodType<
|
|
1814
|
-
/** @deprecated use `
|
|
1815
|
-
type Outbound =
|
|
1809
|
+
export declare namespace UpdatePromptPromptsResponseFormat$ {
|
|
1810
|
+
/** @deprecated use `UpdatePromptPromptsResponseFormat$inboundSchema` instead. */
|
|
1811
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
1812
|
+
/** @deprecated use `UpdatePromptPromptsResponseFormat$outboundSchema` instead. */
|
|
1813
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseFormat>;
|
|
1814
|
+
/** @deprecated use `UpdatePromptPromptsResponseFormat$Outbound` instead. */
|
|
1815
|
+
type Outbound = UpdatePromptPromptsResponseFormat$Outbound;
|
|
1816
1816
|
}
|
|
1817
|
-
export declare function
|
|
1818
|
-
export declare function
|
|
1817
|
+
export declare function updatePromptPromptsResponseFormatToJSON(updatePromptPromptsResponseFormat: UpdatePromptPromptsResponseFormat): string;
|
|
1818
|
+
export declare function updatePromptPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsResponseFormat, SDKValidationError>;
|
|
1819
1819
|
/** @internal */
|
|
1820
|
-
export declare const
|
|
1820
|
+
export declare const UpdatePromptPromptsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsPhotoRealVersion>;
|
|
1821
1821
|
/** @internal */
|
|
1822
|
-
export declare const
|
|
1822
|
+
export declare const UpdatePromptPromptsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsPhotoRealVersion>;
|
|
1823
1823
|
/**
|
|
1824
1824
|
* @internal
|
|
1825
1825
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1826
1826
|
*/
|
|
1827
|
-
export declare namespace
|
|
1828
|
-
/** @deprecated use `
|
|
1827
|
+
export declare namespace UpdatePromptPromptsPhotoRealVersion$ {
|
|
1828
|
+
/** @deprecated use `UpdatePromptPromptsPhotoRealVersion$inboundSchema` instead. */
|
|
1829
1829
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1830
1830
|
readonly V1: "v1";
|
|
1831
1831
|
readonly V2: "v2";
|
|
1832
1832
|
}>;
|
|
1833
|
-
/** @deprecated use `
|
|
1833
|
+
/** @deprecated use `UpdatePromptPromptsPhotoRealVersion$outboundSchema` instead. */
|
|
1834
1834
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1835
1835
|
readonly V1: "v1";
|
|
1836
1836
|
readonly V2: "v2";
|
|
1837
1837
|
}>;
|
|
1838
1838
|
}
|
|
1839
1839
|
/** @internal */
|
|
1840
|
-
export declare const
|
|
1840
|
+
export declare const UpdatePromptPromptsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsEncodingFormat>;
|
|
1841
1841
|
/** @internal */
|
|
1842
|
-
export declare const
|
|
1842
|
+
export declare const UpdatePromptPromptsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsEncodingFormat>;
|
|
1843
1843
|
/**
|
|
1844
1844
|
* @internal
|
|
1845
1845
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1846
1846
|
*/
|
|
1847
|
-
export declare namespace
|
|
1848
|
-
/** @deprecated use `
|
|
1847
|
+
export declare namespace UpdatePromptPromptsEncodingFormat$ {
|
|
1848
|
+
/** @deprecated use `UpdatePromptPromptsEncodingFormat$inboundSchema` instead. */
|
|
1849
1849
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1850
1850
|
readonly Float: "float";
|
|
1851
1851
|
readonly Base64: "base64";
|
|
1852
1852
|
}>;
|
|
1853
|
-
/** @deprecated use `
|
|
1853
|
+
/** @deprecated use `UpdatePromptPromptsEncodingFormat$outboundSchema` instead. */
|
|
1854
1854
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1855
1855
|
readonly Float: "float";
|
|
1856
1856
|
readonly Base64: "base64";
|
|
1857
1857
|
}>;
|
|
1858
1858
|
}
|
|
1859
1859
|
/** @internal */
|
|
1860
|
-
export declare const
|
|
1860
|
+
export declare const UpdatePromptPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsReasoningEffort>;
|
|
1861
1861
|
/** @internal */
|
|
1862
|
-
export declare const
|
|
1862
|
+
export declare const UpdatePromptPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsReasoningEffort>;
|
|
1863
1863
|
/**
|
|
1864
1864
|
* @internal
|
|
1865
1865
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1866
1866
|
*/
|
|
1867
|
-
export declare namespace
|
|
1868
|
-
/** @deprecated use `
|
|
1867
|
+
export declare namespace UpdatePromptPromptsReasoningEffort$ {
|
|
1868
|
+
/** @deprecated use `UpdatePromptPromptsReasoningEffort$inboundSchema` instead. */
|
|
1869
1869
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1870
1870
|
readonly Low: "low";
|
|
1871
1871
|
readonly Medium: "medium";
|
|
1872
1872
|
readonly High: "high";
|
|
1873
1873
|
}>;
|
|
1874
|
-
/** @deprecated use `
|
|
1874
|
+
/** @deprecated use `UpdatePromptPromptsReasoningEffort$outboundSchema` instead. */
|
|
1875
1875
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1876
1876
|
readonly Low: "low";
|
|
1877
1877
|
readonly Medium: "medium";
|
|
@@ -1879,9 +1879,9 @@ export declare namespace UpdatePromptReasoningEffort$ {
|
|
|
1879
1879
|
}>;
|
|
1880
1880
|
}
|
|
1881
1881
|
/** @internal */
|
|
1882
|
-
export declare const
|
|
1882
|
+
export declare const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<UpdatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
|
|
1883
1883
|
/** @internal */
|
|
1884
|
-
export type
|
|
1884
|
+
export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
1885
1885
|
temperature?: number | undefined;
|
|
1886
1886
|
maxTokens?: number | undefined;
|
|
1887
1887
|
topK?: number | undefined;
|
|
@@ -1894,38 +1894,38 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
1894
1894
|
dimensions?: string | undefined;
|
|
1895
1895
|
quality?: string | undefined;
|
|
1896
1896
|
style?: string | undefined;
|
|
1897
|
-
responseFormat?:
|
|
1897
|
+
responseFormat?: UpdatePromptResponseFormatPrompts2$Outbound | UpdatePromptResponseFormatPrompts1$Outbound | null | undefined;
|
|
1898
1898
|
photoRealVersion?: string | undefined;
|
|
1899
1899
|
encoding_format?: string | undefined;
|
|
1900
1900
|
reasoningEffort?: string | undefined;
|
|
1901
1901
|
budgetTokens?: number | undefined;
|
|
1902
1902
|
};
|
|
1903
1903
|
/** @internal */
|
|
1904
|
-
export declare const
|
|
1904
|
+
export declare const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<UpdatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, UpdatePromptPromptsModelParameters>;
|
|
1905
1905
|
/**
|
|
1906
1906
|
* @internal
|
|
1907
1907
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1908
1908
|
*/
|
|
1909
|
-
export declare namespace
|
|
1910
|
-
/** @deprecated use `
|
|
1911
|
-
const inboundSchema: z.ZodType<
|
|
1912
|
-
/** @deprecated use `
|
|
1913
|
-
const outboundSchema: z.ZodType<
|
|
1914
|
-
/** @deprecated use `
|
|
1915
|
-
type Outbound =
|
|
1909
|
+
export declare namespace UpdatePromptPromptsModelParameters$ {
|
|
1910
|
+
/** @deprecated use `UpdatePromptPromptsModelParameters$inboundSchema` instead. */
|
|
1911
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
|
|
1912
|
+
/** @deprecated use `UpdatePromptPromptsModelParameters$outboundSchema` instead. */
|
|
1913
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, UpdatePromptPromptsModelParameters>;
|
|
1914
|
+
/** @deprecated use `UpdatePromptPromptsModelParameters$Outbound` instead. */
|
|
1915
|
+
type Outbound = UpdatePromptPromptsModelParameters$Outbound;
|
|
1916
1916
|
}
|
|
1917
|
-
export declare function
|
|
1918
|
-
export declare function
|
|
1917
|
+
export declare function updatePromptPromptsModelParametersToJSON(updatePromptPromptsModelParameters: UpdatePromptPromptsModelParameters): string;
|
|
1918
|
+
export declare function updatePromptPromptsModelParametersFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsModelParameters, SDKValidationError>;
|
|
1919
1919
|
/** @internal */
|
|
1920
|
-
export declare const
|
|
1920
|
+
export declare const UpdatePromptPromptsProvider$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsProvider>;
|
|
1921
1921
|
/** @internal */
|
|
1922
|
-
export declare const
|
|
1922
|
+
export declare const UpdatePromptPromptsProvider$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsProvider>;
|
|
1923
1923
|
/**
|
|
1924
1924
|
* @internal
|
|
1925
1925
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1926
1926
|
*/
|
|
1927
|
-
export declare namespace
|
|
1928
|
-
/** @deprecated use `
|
|
1927
|
+
export declare namespace UpdatePromptPromptsProvider$ {
|
|
1928
|
+
/** @deprecated use `UpdatePromptPromptsProvider$inboundSchema` instead. */
|
|
1929
1929
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1930
1930
|
readonly Cohere: "cohere";
|
|
1931
1931
|
readonly Openai: "openai";
|
|
@@ -1946,7 +1946,7 @@ export declare namespace UpdatePromptProvider$ {
|
|
|
1946
1946
|
readonly Togetherai: "togetherai";
|
|
1947
1947
|
readonly Elevenlabs: "elevenlabs";
|
|
1948
1948
|
}>;
|
|
1949
|
-
/** @deprecated use `
|
|
1949
|
+
/** @deprecated use `UpdatePromptPromptsProvider$outboundSchema` instead. */
|
|
1950
1950
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1951
1951
|
readonly Cohere: "cohere";
|
|
1952
1952
|
readonly Openai: "openai";
|
|
@@ -2237,45 +2237,45 @@ export declare namespace UpdatePromptPromptsMessages$ {
|
|
|
2237
2237
|
export declare function updatePromptPromptsMessagesToJSON(updatePromptPromptsMessages: UpdatePromptPromptsMessages): string;
|
|
2238
2238
|
export declare function updatePromptPromptsMessagesFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsMessages, SDKValidationError>;
|
|
2239
2239
|
/** @internal */
|
|
2240
|
-
export declare const
|
|
2240
|
+
export declare const UpdatePromptPromptsPromptConfig$inboundSchema: z.ZodType<UpdatePromptPromptsPromptConfig, z.ZodTypeDef, unknown>;
|
|
2241
2241
|
/** @internal */
|
|
2242
|
-
export type
|
|
2242
|
+
export type UpdatePromptPromptsPromptConfig$Outbound = {
|
|
2243
2243
|
stream?: boolean | undefined;
|
|
2244
2244
|
model?: string | undefined;
|
|
2245
2245
|
model_db_id?: string | undefined;
|
|
2246
2246
|
model_type?: string | undefined;
|
|
2247
|
-
model_parameters?:
|
|
2247
|
+
model_parameters?: UpdatePromptPromptsModelParameters$Outbound | undefined;
|
|
2248
2248
|
provider?: string | undefined;
|
|
2249
2249
|
integration_id?: string | null | undefined;
|
|
2250
2250
|
version?: string | undefined;
|
|
2251
2251
|
messages: Array<UpdatePromptPromptsMessages$Outbound>;
|
|
2252
2252
|
};
|
|
2253
2253
|
/** @internal */
|
|
2254
|
-
export declare const
|
|
2254
|
+
export declare const UpdatePromptPromptsPromptConfig$outboundSchema: z.ZodType<UpdatePromptPromptsPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptsPromptConfig>;
|
|
2255
2255
|
/**
|
|
2256
2256
|
* @internal
|
|
2257
2257
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2258
2258
|
*/
|
|
2259
|
-
export declare namespace
|
|
2260
|
-
/** @deprecated use `
|
|
2261
|
-
const inboundSchema: z.ZodType<
|
|
2262
|
-
/** @deprecated use `
|
|
2263
|
-
const outboundSchema: z.ZodType<
|
|
2264
|
-
/** @deprecated use `
|
|
2265
|
-
type Outbound =
|
|
2259
|
+
export declare namespace UpdatePromptPromptsPromptConfig$ {
|
|
2260
|
+
/** @deprecated use `UpdatePromptPromptsPromptConfig$inboundSchema` instead. */
|
|
2261
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptsPromptConfig, z.ZodTypeDef, unknown>;
|
|
2262
|
+
/** @deprecated use `UpdatePromptPromptsPromptConfig$outboundSchema` instead. */
|
|
2263
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptsPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptsPromptConfig>;
|
|
2264
|
+
/** @deprecated use `UpdatePromptPromptsPromptConfig$Outbound` instead. */
|
|
2265
|
+
type Outbound = UpdatePromptPromptsPromptConfig$Outbound;
|
|
2266
2266
|
}
|
|
2267
|
-
export declare function
|
|
2268
|
-
export declare function
|
|
2267
|
+
export declare function updatePromptPromptsPromptConfigToJSON(updatePromptPromptsPromptConfig: UpdatePromptPromptsPromptConfig): string;
|
|
2268
|
+
export declare function updatePromptPromptsPromptConfigFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsPromptConfig, SDKValidationError>;
|
|
2269
2269
|
/** @internal */
|
|
2270
|
-
export declare const
|
|
2270
|
+
export declare const UpdatePromptPromptsUseCases$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsUseCases>;
|
|
2271
2271
|
/** @internal */
|
|
2272
|
-
export declare const
|
|
2272
|
+
export declare const UpdatePromptPromptsUseCases$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsUseCases>;
|
|
2273
2273
|
/**
|
|
2274
2274
|
* @internal
|
|
2275
2275
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2276
2276
|
*/
|
|
2277
|
-
export declare namespace
|
|
2278
|
-
/** @deprecated use `
|
|
2277
|
+
export declare namespace UpdatePromptPromptsUseCases$ {
|
|
2278
|
+
/** @deprecated use `UpdatePromptPromptsUseCases$inboundSchema` instead. */
|
|
2279
2279
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2280
2280
|
readonly Agents: "Agents";
|
|
2281
2281
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -2294,7 +2294,7 @@ export declare namespace UpdatePromptUseCases$ {
|
|
|
2294
2294
|
readonly Summarization: "Summarization";
|
|
2295
2295
|
readonly Tagging: "Tagging";
|
|
2296
2296
|
}>;
|
|
2297
|
-
/** @deprecated use `
|
|
2297
|
+
/** @deprecated use `UpdatePromptPromptsUseCases$outboundSchema` instead. */
|
|
2298
2298
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2299
2299
|
readonly Agents: "Agents";
|
|
2300
2300
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -2315,15 +2315,15 @@ export declare namespace UpdatePromptUseCases$ {
|
|
|
2315
2315
|
}>;
|
|
2316
2316
|
}
|
|
2317
2317
|
/** @internal */
|
|
2318
|
-
export declare const
|
|
2318
|
+
export declare const UpdatePromptPromptsLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsLanguage>;
|
|
2319
2319
|
/** @internal */
|
|
2320
|
-
export declare const
|
|
2320
|
+
export declare const UpdatePromptPromptsLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsLanguage>;
|
|
2321
2321
|
/**
|
|
2322
2322
|
* @internal
|
|
2323
2323
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2324
2324
|
*/
|
|
2325
|
-
export declare namespace
|
|
2326
|
-
/** @deprecated use `
|
|
2325
|
+
export declare namespace UpdatePromptPromptsLanguage$ {
|
|
2326
|
+
/** @deprecated use `UpdatePromptPromptsLanguage$inboundSchema` instead. */
|
|
2327
2327
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2328
2328
|
readonly Chinese: "Chinese";
|
|
2329
2329
|
readonly Dutch: "Dutch";
|
|
@@ -2333,7 +2333,7 @@ export declare namespace UpdatePromptLanguage$ {
|
|
|
2333
2333
|
readonly Russian: "Russian";
|
|
2334
2334
|
readonly Spanish: "Spanish";
|
|
2335
2335
|
}>;
|
|
2336
|
-
/** @deprecated use `
|
|
2336
|
+
/** @deprecated use `UpdatePromptPromptsLanguage$outboundSchema` instead. */
|
|
2337
2337
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2338
2338
|
readonly Chinese: "Chinese";
|
|
2339
2339
|
readonly Dutch: "Dutch";
|
|
@@ -2381,7 +2381,7 @@ export type UpdatePromptResponseBody$Outbound = {
|
|
|
2381
2381
|
updated_by_id?: string | null | undefined;
|
|
2382
2382
|
display_name: string;
|
|
2383
2383
|
description?: string | null | undefined;
|
|
2384
|
-
prompt_config:
|
|
2384
|
+
prompt_config: UpdatePromptPromptsPromptConfig$Outbound;
|
|
2385
2385
|
metadata?: UpdatePromptPromptsMetadata$Outbound | undefined;
|
|
2386
2386
|
};
|
|
2387
2387
|
/** @internal */
|