@orq-ai/node 3.2.0-rc.13 → 3.2.0-rc.14
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 +605 -605
- 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 +2 -2
- package/lib/config.js +2 -2
- 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 +333 -333
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +466 -469
- 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 +333 -333
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +469 -468
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- 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 +2 -2
- 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 +714 -629
- 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 +629 -716
- 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 ModelType: {
|
|
9
9
|
readonly Chat: "chat";
|
|
10
10
|
readonly Completion: "completion";
|
|
11
11
|
readonly Embedding: "embedding";
|
|
@@ -19,11 +19,11 @@ export declare const UpdatePromptModelType: {
|
|
|
19
19
|
/**
|
|
20
20
|
* The type of the model
|
|
21
21
|
*/
|
|
22
|
-
export type
|
|
22
|
+
export type ModelType = ClosedEnum<typeof ModelType>;
|
|
23
23
|
/**
|
|
24
24
|
* Only supported on `image` models.
|
|
25
25
|
*/
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const Format: {
|
|
27
27
|
readonly Url: "url";
|
|
28
28
|
readonly B64Json: "b64_json";
|
|
29
29
|
readonly Text: "text";
|
|
@@ -32,39 +32,39 @@ export declare const UpdatePromptFormat: {
|
|
|
32
32
|
/**
|
|
33
33
|
* Only supported on `image` models.
|
|
34
34
|
*/
|
|
35
|
-
export type
|
|
35
|
+
export type Format = ClosedEnum<typeof Format>;
|
|
36
36
|
/**
|
|
37
37
|
* Only supported on `image` models.
|
|
38
38
|
*/
|
|
39
|
-
export declare const
|
|
39
|
+
export declare const Quality: {
|
|
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 Quality = ClosedEnum<typeof Quality>;
|
|
47
|
+
export declare const UpdatePromptResponseFormatType: {
|
|
48
48
|
readonly JsonObject: "json_object";
|
|
49
49
|
};
|
|
50
|
-
export type
|
|
51
|
-
export type
|
|
52
|
-
type:
|
|
50
|
+
export type UpdatePromptResponseFormatType = ClosedEnum<typeof UpdatePromptResponseFormatType>;
|
|
51
|
+
export type ResponseFormat2 = {
|
|
52
|
+
type: UpdatePromptResponseFormatType;
|
|
53
53
|
};
|
|
54
|
-
export declare const
|
|
54
|
+
export declare const ResponseFormatType: {
|
|
55
55
|
readonly JsonSchema: "json_schema";
|
|
56
56
|
};
|
|
57
|
-
export type
|
|
58
|
-
export type
|
|
57
|
+
export type ResponseFormatType = ClosedEnum<typeof ResponseFormatType>;
|
|
58
|
+
export type JsonSchema = {
|
|
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 ResponseFormat1 = {
|
|
66
|
+
type: ResponseFormatType;
|
|
67
|
+
jsonSchema: JsonSchema;
|
|
68
68
|
};
|
|
69
69
|
/**
|
|
70
70
|
* An object specifying the format that the model must output.
|
|
@@ -77,33 +77,33 @@ export type UpdatePromptResponseFormat1 = {
|
|
|
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 ResponseFormat = ResponseFormat2 | ResponseFormat1;
|
|
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 PhotoRealVersion: {
|
|
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 PhotoRealVersion = ClosedEnum<typeof PhotoRealVersion>;
|
|
92
92
|
/**
|
|
93
93
|
* The format to return the embeddings
|
|
94
94
|
*/
|
|
95
|
-
export declare const
|
|
95
|
+
export declare const EncodingFormat: {
|
|
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 EncodingFormat = ClosedEnum<typeof EncodingFormat>;
|
|
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 ReasoningEffort: {
|
|
107
107
|
readonly Low: "low";
|
|
108
108
|
readonly Medium: "medium";
|
|
109
109
|
readonly High: "high";
|
|
@@ -111,11 +111,11 @@ export declare const UpdatePromptReasoningEffort: {
|
|
|
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 ReasoningEffort = ClosedEnum<typeof ReasoningEffort>;
|
|
115
115
|
/**
|
|
116
116
|
* Model Parameters: Not all parameters apply to every model
|
|
117
117
|
*/
|
|
118
|
-
export type
|
|
118
|
+
export type ModelParameters = {
|
|
119
119
|
/**
|
|
120
120
|
* Only supported on `chat` and `completion` models.
|
|
121
121
|
*/
|
|
@@ -151,7 +151,7 @@ export type UpdatePromptModelParameters = {
|
|
|
151
151
|
/**
|
|
152
152
|
* Only supported on `image` models.
|
|
153
153
|
*/
|
|
154
|
-
format?:
|
|
154
|
+
format?: Format | undefined;
|
|
155
155
|
/**
|
|
156
156
|
* Only supported on `image` models.
|
|
157
157
|
*/
|
|
@@ -159,7 +159,7 @@ export type UpdatePromptModelParameters = {
|
|
|
159
159
|
/**
|
|
160
160
|
* Only supported on `image` models.
|
|
161
161
|
*/
|
|
162
|
-
quality?:
|
|
162
|
+
quality?: Quality | undefined;
|
|
163
163
|
/**
|
|
164
164
|
* Only supported on `image` models.
|
|
165
165
|
*/
|
|
@@ -175,25 +175,25 @@ export type UpdatePromptModelParameters = {
|
|
|
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?: ResponseFormat2 | ResponseFormat1 | 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?: PhotoRealVersion | undefined;
|
|
183
183
|
/**
|
|
184
184
|
* The format to return the embeddings
|
|
185
185
|
*/
|
|
186
|
-
encodingFormat?:
|
|
186
|
+
encodingFormat?: EncodingFormat | 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?: ReasoningEffort | 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 Provider: {
|
|
197
197
|
readonly Cohere: "cohere";
|
|
198
198
|
readonly Openai: "openai";
|
|
199
199
|
readonly Anthropic: "anthropic";
|
|
@@ -213,7 +213,7 @@ export declare const UpdatePromptProvider: {
|
|
|
213
213
|
readonly Togetherai: "togetherai";
|
|
214
214
|
readonly Elevenlabs: "elevenlabs";
|
|
215
215
|
};
|
|
216
|
-
export type
|
|
216
|
+
export type Provider = ClosedEnum<typeof Provider>;
|
|
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 PromptConfig = {
|
|
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?: ModelType | undefined;
|
|
309
309
|
/**
|
|
310
310
|
* Model Parameters: Not all parameters apply to every model
|
|
311
311
|
*/
|
|
312
|
-
modelParameters?:
|
|
313
|
-
provider?:
|
|
312
|
+
modelParameters?: ModelParameters | undefined;
|
|
313
|
+
provider?: Provider | undefined;
|
|
314
314
|
version?: string | undefined;
|
|
315
315
|
messages: Array<UpdatePromptMessages>;
|
|
316
316
|
};
|
|
317
|
-
export declare const
|
|
317
|
+
export declare const UseCases: {
|
|
318
318
|
readonly Agents: "Agents";
|
|
319
319
|
readonly AgentsSimulations: "Agents simulations";
|
|
320
320
|
readonly APIInteraction: "API interaction";
|
|
@@ -332,11 +332,11 @@ export declare const UpdatePromptUseCases: {
|
|
|
332
332
|
readonly Summarization: "Summarization";
|
|
333
333
|
readonly Tagging: "Tagging";
|
|
334
334
|
};
|
|
335
|
-
export type
|
|
335
|
+
export type UseCases = ClosedEnum<typeof UseCases>;
|
|
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 Language: {
|
|
340
340
|
readonly Chinese: "Chinese";
|
|
341
341
|
readonly Dutch: "Dutch";
|
|
342
342
|
readonly English: "English";
|
|
@@ -348,16 +348,16 @@ export declare const UpdatePromptLanguage: {
|
|
|
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 Language = ClosedEnum<typeof Language>;
|
|
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<UseCases> | 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?: Language | 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?: PromptConfig | 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 UpdatePromptModelType: {
|
|
398
398
|
readonly Chat: "chat";
|
|
399
399
|
readonly Completion: "completion";
|
|
400
400
|
readonly Embedding: "embedding";
|
|
@@ -408,11 +408,11 @@ export declare const UpdatePromptPromptsModelType: {
|
|
|
408
408
|
/**
|
|
409
409
|
* The type of the model
|
|
410
410
|
*/
|
|
411
|
-
export type
|
|
411
|
+
export type UpdatePromptModelType = ClosedEnum<typeof UpdatePromptModelType>;
|
|
412
412
|
/**
|
|
413
413
|
* Only supported on `image` models.
|
|
414
414
|
*/
|
|
415
|
-
export declare const
|
|
415
|
+
export declare const UpdatePromptFormat: {
|
|
416
416
|
readonly Url: "url";
|
|
417
417
|
readonly B64Json: "b64_json";
|
|
418
418
|
readonly Text: "text";
|
|
@@ -421,29 +421,29 @@ export declare const UpdatePromptPromptsFormat: {
|
|
|
421
421
|
/**
|
|
422
422
|
* Only supported on `image` models.
|
|
423
423
|
*/
|
|
424
|
-
export type
|
|
424
|
+
export type UpdatePromptFormat = ClosedEnum<typeof UpdatePromptFormat>;
|
|
425
425
|
/**
|
|
426
426
|
* Only supported on `image` models.
|
|
427
427
|
*/
|
|
428
|
-
export declare const
|
|
428
|
+
export declare const UpdatePromptQuality: {
|
|
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 UpdatePromptQuality = ClosedEnum<typeof UpdatePromptQuality>;
|
|
436
|
+
export declare const UpdatePromptResponseFormatPromptsResponseType: {
|
|
437
437
|
readonly JsonObject: "json_object";
|
|
438
438
|
};
|
|
439
|
-
export type
|
|
440
|
-
export type
|
|
441
|
-
type:
|
|
439
|
+
export type UpdatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
440
|
+
export type UpdatePromptResponseFormat2 = {
|
|
441
|
+
type: UpdatePromptResponseFormatPromptsResponseType;
|
|
442
442
|
};
|
|
443
|
-
export declare const
|
|
443
|
+
export declare const UpdatePromptResponseFormatPromptsType: {
|
|
444
444
|
readonly JsonSchema: "json_schema";
|
|
445
445
|
};
|
|
446
|
-
export type
|
|
446
|
+
export type UpdatePromptResponseFormatPromptsType = ClosedEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
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 UpdatePromptResponseFormat1 = {
|
|
455
|
+
type: UpdatePromptResponseFormatPromptsType;
|
|
456
456
|
jsonSchema: UpdatePromptResponseFormatJsonSchema;
|
|
457
457
|
};
|
|
458
458
|
/**
|
|
@@ -466,33 +466,33 @@ export type UpdatePromptResponseFormatPrompts1 = {
|
|
|
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 UpdatePromptResponseFormat = UpdatePromptResponseFormat2 | UpdatePromptResponseFormat1;
|
|
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 UpdatePromptPhotoRealVersion: {
|
|
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 UpdatePromptPhotoRealVersion = ClosedEnum<typeof UpdatePromptPhotoRealVersion>;
|
|
481
481
|
/**
|
|
482
482
|
* The format to return the embeddings
|
|
483
483
|
*/
|
|
484
|
-
export declare const
|
|
484
|
+
export declare const UpdatePromptEncodingFormat: {
|
|
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 UpdatePromptEncodingFormat = ClosedEnum<typeof UpdatePromptEncodingFormat>;
|
|
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 UpdatePromptReasoningEffort: {
|
|
496
496
|
readonly Low: "low";
|
|
497
497
|
readonly Medium: "medium";
|
|
498
498
|
readonly High: "high";
|
|
@@ -500,11 +500,11 @@ export declare const UpdatePromptPromptsReasoningEffort: {
|
|
|
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 UpdatePromptReasoningEffort = ClosedEnum<typeof UpdatePromptReasoningEffort>;
|
|
504
504
|
/**
|
|
505
505
|
* Model Parameters: Not all parameters apply to every model
|
|
506
506
|
*/
|
|
507
|
-
export type
|
|
507
|
+
export type UpdatePromptModelParameters = {
|
|
508
508
|
/**
|
|
509
509
|
* Only supported on `chat` and `completion` models.
|
|
510
510
|
*/
|
|
@@ -540,7 +540,7 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
540
540
|
/**
|
|
541
541
|
* Only supported on `image` models.
|
|
542
542
|
*/
|
|
543
|
-
format?:
|
|
543
|
+
format?: UpdatePromptFormat | undefined;
|
|
544
544
|
/**
|
|
545
545
|
* Only supported on `image` models.
|
|
546
546
|
*/
|
|
@@ -548,7 +548,7 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
548
548
|
/**
|
|
549
549
|
* Only supported on `image` models.
|
|
550
550
|
*/
|
|
551
|
-
quality?:
|
|
551
|
+
quality?: UpdatePromptQuality | undefined;
|
|
552
552
|
/**
|
|
553
553
|
* Only supported on `image` models.
|
|
554
554
|
*/
|
|
@@ -564,25 +564,25 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
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?: UpdatePromptResponseFormat2 | UpdatePromptResponseFormat1 | 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?: UpdatePromptPhotoRealVersion | undefined;
|
|
572
572
|
/**
|
|
573
573
|
* The format to return the embeddings
|
|
574
574
|
*/
|
|
575
|
-
encodingFormat?:
|
|
575
|
+
encodingFormat?: UpdatePromptEncodingFormat | 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?: UpdatePromptReasoningEffort | 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 UpdatePromptProvider: {
|
|
586
586
|
readonly Cohere: "cohere";
|
|
587
587
|
readonly Openai: "openai";
|
|
588
588
|
readonly Anthropic: "anthropic";
|
|
@@ -602,7 +602,7 @@ export declare const UpdatePromptPromptsProvider: {
|
|
|
602
602
|
readonly Togetherai: "togetherai";
|
|
603
603
|
readonly Elevenlabs: "elevenlabs";
|
|
604
604
|
};
|
|
605
|
-
export type
|
|
605
|
+
export type UpdatePromptProvider = ClosedEnum<typeof UpdatePromptProvider>;
|
|
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 UpdatePromptPromptConfig = {
|
|
696
696
|
stream?: boolean | undefined;
|
|
697
697
|
model?: string | undefined;
|
|
698
698
|
/**
|
|
@@ -702,12 +702,12 @@ export type UpdatePromptPromptsPromptConfig = {
|
|
|
702
702
|
/**
|
|
703
703
|
* The type of the model
|
|
704
704
|
*/
|
|
705
|
-
modelType?:
|
|
705
|
+
modelType?: UpdatePromptModelType | undefined;
|
|
706
706
|
/**
|
|
707
707
|
* Model Parameters: Not all parameters apply to every model
|
|
708
708
|
*/
|
|
709
|
-
modelParameters?:
|
|
710
|
-
provider?:
|
|
709
|
+
modelParameters?: UpdatePromptModelParameters | undefined;
|
|
710
|
+
provider?: UpdatePromptProvider | undefined;
|
|
711
711
|
/**
|
|
712
712
|
* The id of the resource
|
|
713
713
|
*/
|
|
@@ -715,7 +715,7 @@ export type UpdatePromptPromptsPromptConfig = {
|
|
|
715
715
|
version?: string | undefined;
|
|
716
716
|
messages: Array<UpdatePromptPromptsMessages>;
|
|
717
717
|
};
|
|
718
|
-
export declare const
|
|
718
|
+
export declare const UpdatePromptUseCases: {
|
|
719
719
|
readonly Agents: "Agents";
|
|
720
720
|
readonly AgentsSimulations: "Agents simulations";
|
|
721
721
|
readonly APIInteraction: "API interaction";
|
|
@@ -733,11 +733,11 @@ export declare const UpdatePromptPromptsUseCases: {
|
|
|
733
733
|
readonly Summarization: "Summarization";
|
|
734
734
|
readonly Tagging: "Tagging";
|
|
735
735
|
};
|
|
736
|
-
export type
|
|
736
|
+
export type UpdatePromptUseCases = ClosedEnum<typeof UpdatePromptUseCases>;
|
|
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 UpdatePromptLanguage: {
|
|
741
741
|
readonly Chinese: "Chinese";
|
|
742
742
|
readonly Dutch: "Dutch";
|
|
743
743
|
readonly English: "English";
|
|
@@ -749,16 +749,16 @@ export declare const UpdatePromptPromptsLanguage: {
|
|
|
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 UpdatePromptLanguage = ClosedEnum<typeof UpdatePromptLanguage>;
|
|
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<UpdatePromptUseCases> | 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?: UpdatePromptLanguage | 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: UpdatePromptPromptConfig;
|
|
787
787
|
metadata?: UpdatePromptPromptsMetadata | undefined;
|
|
788
788
|
};
|
|
789
789
|
/** @internal */
|
|
790
|
-
export declare const
|
|
790
|
+
export declare const ModelType$inboundSchema: z.ZodNativeEnum<typeof ModelType>;
|
|
791
791
|
/** @internal */
|
|
792
|
-
export declare const
|
|
792
|
+
export declare const ModelType$outboundSchema: z.ZodNativeEnum<typeof ModelType>;
|
|
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 ModelType$ {
|
|
798
|
+
/** @deprecated use `ModelType$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 UpdatePromptModelType$ {
|
|
|
807
807
|
readonly Rerank: "rerank";
|
|
808
808
|
readonly Moderations: "moderations";
|
|
809
809
|
}>;
|
|
810
|
-
/** @deprecated use `
|
|
810
|
+
/** @deprecated use `ModelType$outboundSchema` instead. */
|
|
811
811
|
const outboundSchema: z.ZodNativeEnum<{
|
|
812
812
|
readonly Chat: "chat";
|
|
813
813
|
readonly Completion: "completion";
|
|
@@ -821,22 +821,22 @@ export declare namespace UpdatePromptModelType$ {
|
|
|
821
821
|
}>;
|
|
822
822
|
}
|
|
823
823
|
/** @internal */
|
|
824
|
-
export declare const
|
|
824
|
+
export declare const Format$inboundSchema: z.ZodNativeEnum<typeof Format>;
|
|
825
825
|
/** @internal */
|
|
826
|
-
export declare const
|
|
826
|
+
export declare const Format$outboundSchema: z.ZodNativeEnum<typeof Format>;
|
|
827
827
|
/**
|
|
828
828
|
* @internal
|
|
829
829
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
830
830
|
*/
|
|
831
|
-
export declare namespace
|
|
832
|
-
/** @deprecated use `
|
|
831
|
+
export declare namespace Format$ {
|
|
832
|
+
/** @deprecated use `Format$inboundSchema` instead. */
|
|
833
833
|
const inboundSchema: z.ZodNativeEnum<{
|
|
834
834
|
readonly Url: "url";
|
|
835
835
|
readonly B64Json: "b64_json";
|
|
836
836
|
readonly Text: "text";
|
|
837
837
|
readonly JsonObject: "json_object";
|
|
838
838
|
}>;
|
|
839
|
-
/** @deprecated use `
|
|
839
|
+
/** @deprecated use `Format$outboundSchema` instead. */
|
|
840
840
|
const outboundSchema: z.ZodNativeEnum<{
|
|
841
841
|
readonly Url: "url";
|
|
842
842
|
readonly B64Json: "b64_json";
|
|
@@ -845,87 +845,87 @@ export declare namespace UpdatePromptFormat$ {
|
|
|
845
845
|
}>;
|
|
846
846
|
}
|
|
847
847
|
/** @internal */
|
|
848
|
-
export declare const
|
|
848
|
+
export declare const Quality$inboundSchema: z.ZodNativeEnum<typeof Quality>;
|
|
849
849
|
/** @internal */
|
|
850
|
-
export declare const
|
|
850
|
+
export declare const Quality$outboundSchema: z.ZodNativeEnum<typeof Quality>;
|
|
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 Quality$ {
|
|
856
|
+
/** @deprecated use `Quality$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 `Quality$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 UpdatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatType>;
|
|
869
869
|
/** @internal */
|
|
870
|
-
export declare const
|
|
870
|
+
export declare const UpdatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatType>;
|
|
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 UpdatePromptResponseFormatType$ {
|
|
876
|
+
/** @deprecated use `UpdatePromptResponseFormatType$inboundSchema` instead. */
|
|
877
877
|
const inboundSchema: z.ZodNativeEnum<{
|
|
878
878
|
readonly JsonObject: "json_object";
|
|
879
879
|
}>;
|
|
880
|
-
/** @deprecated use `
|
|
880
|
+
/** @deprecated use `UpdatePromptResponseFormatType$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 ResponseFormat2$inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
|
|
887
887
|
/** @internal */
|
|
888
|
-
export type
|
|
888
|
+
export type ResponseFormat2$Outbound = {
|
|
889
889
|
type: string;
|
|
890
890
|
};
|
|
891
891
|
/** @internal */
|
|
892
|
-
export declare const
|
|
892
|
+
export declare const ResponseFormat2$outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
|
|
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 ResponseFormat2$ {
|
|
898
|
+
/** @deprecated use `ResponseFormat2$inboundSchema` instead. */
|
|
899
|
+
const inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
|
|
900
|
+
/** @deprecated use `ResponseFormat2$outboundSchema` instead. */
|
|
901
|
+
const outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
|
|
902
|
+
/** @deprecated use `ResponseFormat2$Outbound` instead. */
|
|
903
|
+
type Outbound = ResponseFormat2$Outbound;
|
|
904
904
|
}
|
|
905
|
-
export declare function
|
|
906
|
-
export declare function
|
|
905
|
+
export declare function responseFormat2ToJSON(responseFormat2: ResponseFormat2): string;
|
|
906
|
+
export declare function responseFormat2FromJSON(jsonString: string): SafeParseResult<ResponseFormat2, SDKValidationError>;
|
|
907
907
|
/** @internal */
|
|
908
|
-
export declare const
|
|
908
|
+
export declare const ResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
|
|
909
909
|
/** @internal */
|
|
910
|
-
export declare const
|
|
910
|
+
export declare const ResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
|
|
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 ResponseFormatType$ {
|
|
916
|
+
/** @deprecated use `ResponseFormatType$inboundSchema` instead. */
|
|
917
917
|
const inboundSchema: z.ZodNativeEnum<{
|
|
918
918
|
readonly JsonSchema: "json_schema";
|
|
919
919
|
}>;
|
|
920
|
-
/** @deprecated use `
|
|
920
|
+
/** @deprecated use `ResponseFormatType$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 JsonSchema$inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
|
|
927
927
|
/** @internal */
|
|
928
|
-
export type
|
|
928
|
+
export type JsonSchema$Outbound = {
|
|
929
929
|
name: string;
|
|
930
930
|
strict: boolean;
|
|
931
931
|
schema: {
|
|
@@ -933,120 +933,120 @@ export type ResponseFormatJsonSchema$Outbound = {
|
|
|
933
933
|
};
|
|
934
934
|
};
|
|
935
935
|
/** @internal */
|
|
936
|
-
export declare const
|
|
936
|
+
export declare const JsonSchema$outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
|
|
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 JsonSchema$ {
|
|
942
|
+
/** @deprecated use `JsonSchema$inboundSchema` instead. */
|
|
943
|
+
const inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
|
|
944
|
+
/** @deprecated use `JsonSchema$outboundSchema` instead. */
|
|
945
|
+
const outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
|
|
946
|
+
/** @deprecated use `JsonSchema$Outbound` instead. */
|
|
947
|
+
type Outbound = JsonSchema$Outbound;
|
|
948
948
|
}
|
|
949
|
-
export declare function
|
|
950
|
-
export declare function
|
|
949
|
+
export declare function jsonSchemaToJSON(jsonSchema: JsonSchema): string;
|
|
950
|
+
export declare function jsonSchemaFromJSON(jsonString: string): SafeParseResult<JsonSchema, SDKValidationError>;
|
|
951
951
|
/** @internal */
|
|
952
|
-
export declare const
|
|
952
|
+
export declare const ResponseFormat1$inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
|
|
953
953
|
/** @internal */
|
|
954
|
-
export type
|
|
954
|
+
export type ResponseFormat1$Outbound = {
|
|
955
955
|
type: string;
|
|
956
|
-
json_schema:
|
|
956
|
+
json_schema: JsonSchema$Outbound;
|
|
957
957
|
};
|
|
958
958
|
/** @internal */
|
|
959
|
-
export declare const
|
|
959
|
+
export declare const ResponseFormat1$outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
|
|
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 ResponseFormat1$ {
|
|
965
|
+
/** @deprecated use `ResponseFormat1$inboundSchema` instead. */
|
|
966
|
+
const inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
|
|
967
|
+
/** @deprecated use `ResponseFormat1$outboundSchema` instead. */
|
|
968
|
+
const outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
|
|
969
|
+
/** @deprecated use `ResponseFormat1$Outbound` instead. */
|
|
970
|
+
type Outbound = ResponseFormat1$Outbound;
|
|
971
971
|
}
|
|
972
|
-
export declare function
|
|
973
|
-
export declare function
|
|
972
|
+
export declare function responseFormat1ToJSON(responseFormat1: ResponseFormat1): string;
|
|
973
|
+
export declare function responseFormat1FromJSON(jsonString: string): SafeParseResult<ResponseFormat1, SDKValidationError>;
|
|
974
974
|
/** @internal */
|
|
975
|
-
export declare const
|
|
975
|
+
export declare const ResponseFormat$inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
|
|
976
976
|
/** @internal */
|
|
977
|
-
export type
|
|
977
|
+
export type ResponseFormat$Outbound = ResponseFormat2$Outbound | ResponseFormat1$Outbound;
|
|
978
978
|
/** @internal */
|
|
979
|
-
export declare const
|
|
979
|
+
export declare const ResponseFormat$outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
|
|
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 ResponseFormat$ {
|
|
985
|
+
/** @deprecated use `ResponseFormat$inboundSchema` instead. */
|
|
986
|
+
const inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
|
|
987
|
+
/** @deprecated use `ResponseFormat$outboundSchema` instead. */
|
|
988
|
+
const outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
|
|
989
|
+
/** @deprecated use `ResponseFormat$Outbound` instead. */
|
|
990
|
+
type Outbound = ResponseFormat$Outbound;
|
|
991
991
|
}
|
|
992
|
-
export declare function
|
|
993
|
-
export declare function
|
|
992
|
+
export declare function responseFormatToJSON(responseFormat: ResponseFormat): string;
|
|
993
|
+
export declare function responseFormatFromJSON(jsonString: string): SafeParseResult<ResponseFormat, SDKValidationError>;
|
|
994
994
|
/** @internal */
|
|
995
|
-
export declare const
|
|
995
|
+
export declare const PhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
|
|
996
996
|
/** @internal */
|
|
997
|
-
export declare const
|
|
997
|
+
export declare const PhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
|
|
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 PhotoRealVersion$ {
|
|
1003
|
+
/** @deprecated use `PhotoRealVersion$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 `PhotoRealVersion$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 EncodingFormat$inboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
|
|
1016
1016
|
/** @internal */
|
|
1017
|
-
export declare const
|
|
1017
|
+
export declare const EncodingFormat$outboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
|
|
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 EncodingFormat$ {
|
|
1023
|
+
/** @deprecated use `EncodingFormat$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 `EncodingFormat$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 ReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
|
|
1036
1036
|
/** @internal */
|
|
1037
|
-
export declare const
|
|
1037
|
+
export declare const ReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
|
|
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 ReasoningEffort$ {
|
|
1043
|
+
/** @deprecated use `ReasoningEffort$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 `ReasoningEffort$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 UpdatePromptReasoningEffort$ {
|
|
|
1054
1054
|
}>;
|
|
1055
1055
|
}
|
|
1056
1056
|
/** @internal */
|
|
1057
|
-
export declare const
|
|
1057
|
+
export declare const ModelParameters$inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
|
|
1058
1058
|
/** @internal */
|
|
1059
|
-
export type
|
|
1059
|
+
export type ModelParameters$Outbound = {
|
|
1060
1060
|
temperature?: number | undefined;
|
|
1061
1061
|
maxTokens?: number | undefined;
|
|
1062
1062
|
topK?: number | undefined;
|
|
@@ -1069,38 +1069,38 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
1069
1069
|
dimensions?: string | undefined;
|
|
1070
1070
|
quality?: string | undefined;
|
|
1071
1071
|
style?: string | undefined;
|
|
1072
|
-
responseFormat?:
|
|
1072
|
+
responseFormat?: ResponseFormat2$Outbound | ResponseFormat1$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 ModelParameters$outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
|
|
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 ModelParameters$ {
|
|
1085
|
+
/** @deprecated use `ModelParameters$inboundSchema` instead. */
|
|
1086
|
+
const inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
|
|
1087
|
+
/** @deprecated use `ModelParameters$outboundSchema` instead. */
|
|
1088
|
+
const outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
|
|
1089
|
+
/** @deprecated use `ModelParameters$Outbound` instead. */
|
|
1090
|
+
type Outbound = ModelParameters$Outbound;
|
|
1091
1091
|
}
|
|
1092
|
-
export declare function
|
|
1093
|
-
export declare function
|
|
1092
|
+
export declare function modelParametersToJSON(modelParameters: ModelParameters): string;
|
|
1093
|
+
export declare function modelParametersFromJSON(jsonString: string): SafeParseResult<ModelParameters, SDKValidationError>;
|
|
1094
1094
|
/** @internal */
|
|
1095
|
-
export declare const
|
|
1095
|
+
export declare const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider>;
|
|
1096
1096
|
/** @internal */
|
|
1097
|
-
export declare const
|
|
1097
|
+
export declare const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider>;
|
|
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 Provider$ {
|
|
1103
|
+
/** @deprecated use `Provider$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 UpdatePromptProvider$ {
|
|
|
1121
1121
|
readonly Togetherai: "togetherai";
|
|
1122
1122
|
readonly Elevenlabs: "elevenlabs";
|
|
1123
1123
|
}>;
|
|
1124
|
-
/** @deprecated use `
|
|
1124
|
+
/** @deprecated use `Provider$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 PromptConfig$inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
|
|
1415
1415
|
/** @internal */
|
|
1416
|
-
export type
|
|
1416
|
+
export type PromptConfig$Outbound = {
|
|
1417
1417
|
stream?: boolean | undefined;
|
|
1418
1418
|
model?: string | undefined;
|
|
1419
1419
|
model_type?: string | undefined;
|
|
1420
|
-
model_parameters?:
|
|
1420
|
+
model_parameters?: ModelParameters$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 PromptConfig$outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
|
|
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 PromptConfig$ {
|
|
1432
|
+
/** @deprecated use `PromptConfig$inboundSchema` instead. */
|
|
1433
|
+
const inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
|
|
1434
|
+
/** @deprecated use `PromptConfig$outboundSchema` instead. */
|
|
1435
|
+
const outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
|
|
1436
|
+
/** @deprecated use `PromptConfig$Outbound` instead. */
|
|
1437
|
+
type Outbound = PromptConfig$Outbound;
|
|
1438
1438
|
}
|
|
1439
|
-
export declare function
|
|
1440
|
-
export declare function
|
|
1439
|
+
export declare function promptConfigToJSON(promptConfig: PromptConfig): string;
|
|
1440
|
+
export declare function promptConfigFromJSON(jsonString: string): SafeParseResult<PromptConfig, SDKValidationError>;
|
|
1441
1441
|
/** @internal */
|
|
1442
|
-
export declare const
|
|
1442
|
+
export declare const UseCases$inboundSchema: z.ZodNativeEnum<typeof UseCases>;
|
|
1443
1443
|
/** @internal */
|
|
1444
|
-
export declare const
|
|
1444
|
+
export declare const UseCases$outboundSchema: z.ZodNativeEnum<typeof UseCases>;
|
|
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 UseCases$ {
|
|
1450
|
+
/** @deprecated use `UseCases$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 UpdatePromptUseCases$ {
|
|
|
1466
1466
|
readonly Summarization: "Summarization";
|
|
1467
1467
|
readonly Tagging: "Tagging";
|
|
1468
1468
|
}>;
|
|
1469
|
-
/** @deprecated use `
|
|
1469
|
+
/** @deprecated use `UseCases$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 UpdatePromptUseCases$ {
|
|
|
1487
1487
|
}>;
|
|
1488
1488
|
}
|
|
1489
1489
|
/** @internal */
|
|
1490
|
-
export declare const
|
|
1490
|
+
export declare const Language$inboundSchema: z.ZodNativeEnum<typeof Language>;
|
|
1491
1491
|
/** @internal */
|
|
1492
|
-
export declare const
|
|
1492
|
+
export declare const Language$outboundSchema: z.ZodNativeEnum<typeof Language>;
|
|
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 Language$ {
|
|
1498
|
+
/** @deprecated use `Language$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 UpdatePromptLanguage$ {
|
|
|
1505
1505
|
readonly Russian: "Russian";
|
|
1506
1506
|
readonly Spanish: "Spanish";
|
|
1507
1507
|
}>;
|
|
1508
|
-
/** @deprecated use `
|
|
1508
|
+
/** @deprecated use `Language$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 | undefined;
|
|
1552
1552
|
display_name?: string | undefined;
|
|
1553
1553
|
description?: string | null | undefined;
|
|
1554
|
-
prompt_config?:
|
|
1554
|
+
prompt_config?: PromptConfig$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 UpdatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptModelType>;
|
|
1616
1616
|
/** @internal */
|
|
1617
|
-
export declare const
|
|
1617
|
+
export declare const UpdatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptModelType>;
|
|
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 UpdatePromptModelType$ {
|
|
1623
|
+
/** @deprecated use `UpdatePromptModelType$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 UpdatePromptPromptsModelType$ {
|
|
|
1632
1632
|
readonly Rerank: "rerank";
|
|
1633
1633
|
readonly Moderations: "moderations";
|
|
1634
1634
|
}>;
|
|
1635
|
-
/** @deprecated use `
|
|
1635
|
+
/** @deprecated use `UpdatePromptModelType$outboundSchema` instead. */
|
|
1636
1636
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1637
1637
|
readonly Chat: "chat";
|
|
1638
1638
|
readonly Completion: "completion";
|
|
@@ -1646,22 +1646,22 @@ export declare namespace UpdatePromptPromptsModelType$ {
|
|
|
1646
1646
|
}>;
|
|
1647
1647
|
}
|
|
1648
1648
|
/** @internal */
|
|
1649
|
-
export declare const
|
|
1649
|
+
export declare const UpdatePromptFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptFormat>;
|
|
1650
1650
|
/** @internal */
|
|
1651
|
-
export declare const
|
|
1651
|
+
export declare const UpdatePromptFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptFormat>;
|
|
1652
1652
|
/**
|
|
1653
1653
|
* @internal
|
|
1654
1654
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1655
1655
|
*/
|
|
1656
|
-
export declare namespace
|
|
1657
|
-
/** @deprecated use `
|
|
1656
|
+
export declare namespace UpdatePromptFormat$ {
|
|
1657
|
+
/** @deprecated use `UpdatePromptFormat$inboundSchema` instead. */
|
|
1658
1658
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1659
1659
|
readonly Url: "url";
|
|
1660
1660
|
readonly B64Json: "b64_json";
|
|
1661
1661
|
readonly Text: "text";
|
|
1662
1662
|
readonly JsonObject: "json_object";
|
|
1663
1663
|
}>;
|
|
1664
|
-
/** @deprecated use `
|
|
1664
|
+
/** @deprecated use `UpdatePromptFormat$outboundSchema` instead. */
|
|
1665
1665
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1666
1666
|
readonly Url: "url";
|
|
1667
1667
|
readonly B64Json: "b64_json";
|
|
@@ -1670,79 +1670,79 @@ export declare namespace UpdatePromptPromptsFormat$ {
|
|
|
1670
1670
|
}>;
|
|
1671
1671
|
}
|
|
1672
1672
|
/** @internal */
|
|
1673
|
-
export declare const
|
|
1673
|
+
export declare const UpdatePromptQuality$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptQuality>;
|
|
1674
1674
|
/** @internal */
|
|
1675
|
-
export declare const
|
|
1675
|
+
export declare const UpdatePromptQuality$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptQuality>;
|
|
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 UpdatePromptQuality$ {
|
|
1681
|
+
/** @deprecated use `UpdatePromptQuality$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 `UpdatePromptQuality$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 UpdatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
1694
1694
|
/** @internal */
|
|
1695
|
-
export declare const
|
|
1695
|
+
export declare const UpdatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
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 UpdatePromptResponseFormatPromptsResponseType$ {
|
|
1701
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
|
|
1702
1702
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1703
1703
|
readonly JsonObject: "json_object";
|
|
1704
1704
|
}>;
|
|
1705
|
-
/** @deprecated use `
|
|
1705
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponseType$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 UpdatePromptResponseFormat2$inboundSchema: z.ZodType<UpdatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
1712
1712
|
/** @internal */
|
|
1713
|
-
export type
|
|
1713
|
+
export type UpdatePromptResponseFormat2$Outbound = {
|
|
1714
1714
|
type: string;
|
|
1715
1715
|
};
|
|
1716
1716
|
/** @internal */
|
|
1717
|
-
export declare const
|
|
1717
|
+
export declare const UpdatePromptResponseFormat2$outboundSchema: z.ZodType<UpdatePromptResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat2>;
|
|
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 UpdatePromptResponseFormat2$ {
|
|
1723
|
+
/** @deprecated use `UpdatePromptResponseFormat2$inboundSchema` instead. */
|
|
1724
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
1725
|
+
/** @deprecated use `UpdatePromptResponseFormat2$outboundSchema` instead. */
|
|
1726
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat2>;
|
|
1727
|
+
/** @deprecated use `UpdatePromptResponseFormat2$Outbound` instead. */
|
|
1728
|
+
type Outbound = UpdatePromptResponseFormat2$Outbound;
|
|
1729
1729
|
}
|
|
1730
|
-
export declare function
|
|
1731
|
-
export declare function
|
|
1730
|
+
export declare function updatePromptResponseFormat2ToJSON(updatePromptResponseFormat2: UpdatePromptResponseFormat2): string;
|
|
1731
|
+
export declare function updatePromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat2, SDKValidationError>;
|
|
1732
1732
|
/** @internal */
|
|
1733
|
-
export declare const
|
|
1733
|
+
export declare const UpdatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
1734
1734
|
/** @internal */
|
|
1735
|
-
export declare const
|
|
1735
|
+
export declare const UpdatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
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 UpdatePromptResponseFormatPromptsType$ {
|
|
1741
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsType$inboundSchema` instead. */
|
|
1742
1742
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1743
1743
|
readonly JsonSchema: "json_schema";
|
|
1744
1744
|
}>;
|
|
1745
|
-
/** @deprecated use `
|
|
1745
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsType$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 UpdatePromptResponseFormat1$inboundSchema: z.ZodType<UpdatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1778
1778
|
/** @internal */
|
|
1779
|
-
export type
|
|
1779
|
+
export type UpdatePromptResponseFormat1$Outbound = {
|
|
1780
1780
|
type: string;
|
|
1781
1781
|
json_schema: UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
1782
1782
|
};
|
|
1783
1783
|
/** @internal */
|
|
1784
|
-
export declare const
|
|
1784
|
+
export declare const UpdatePromptResponseFormat1$outboundSchema: z.ZodType<UpdatePromptResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat1>;
|
|
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 UpdatePromptResponseFormat1$ {
|
|
1790
|
+
/** @deprecated use `UpdatePromptResponseFormat1$inboundSchema` instead. */
|
|
1791
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1792
|
+
/** @deprecated use `UpdatePromptResponseFormat1$outboundSchema` instead. */
|
|
1793
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat1>;
|
|
1794
|
+
/** @deprecated use `UpdatePromptResponseFormat1$Outbound` instead. */
|
|
1795
|
+
type Outbound = UpdatePromptResponseFormat1$Outbound;
|
|
1796
1796
|
}
|
|
1797
|
-
export declare function
|
|
1798
|
-
export declare function
|
|
1797
|
+
export declare function updatePromptResponseFormat1ToJSON(updatePromptResponseFormat1: UpdatePromptResponseFormat1): string;
|
|
1798
|
+
export declare function updatePromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat1, SDKValidationError>;
|
|
1799
1799
|
/** @internal */
|
|
1800
|
-
export declare const
|
|
1800
|
+
export declare const UpdatePromptResponseFormat$inboundSchema: z.ZodType<UpdatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
1801
1801
|
/** @internal */
|
|
1802
|
-
export type
|
|
1802
|
+
export type UpdatePromptResponseFormat$Outbound = UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat1$Outbound;
|
|
1803
1803
|
/** @internal */
|
|
1804
|
-
export declare const
|
|
1804
|
+
export declare const UpdatePromptResponseFormat$outboundSchema: z.ZodType<UpdatePromptResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat>;
|
|
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 UpdatePromptResponseFormat$ {
|
|
1810
|
+
/** @deprecated use `UpdatePromptResponseFormat$inboundSchema` instead. */
|
|
1811
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
1812
|
+
/** @deprecated use `UpdatePromptResponseFormat$outboundSchema` instead. */
|
|
1813
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat>;
|
|
1814
|
+
/** @deprecated use `UpdatePromptResponseFormat$Outbound` instead. */
|
|
1815
|
+
type Outbound = UpdatePromptResponseFormat$Outbound;
|
|
1816
1816
|
}
|
|
1817
|
-
export declare function
|
|
1818
|
-
export declare function
|
|
1817
|
+
export declare function updatePromptResponseFormatToJSON(updatePromptResponseFormat: UpdatePromptResponseFormat): string;
|
|
1818
|
+
export declare function updatePromptResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat, SDKValidationError>;
|
|
1819
1819
|
/** @internal */
|
|
1820
|
-
export declare const
|
|
1820
|
+
export declare const UpdatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPhotoRealVersion>;
|
|
1821
1821
|
/** @internal */
|
|
1822
|
-
export declare const
|
|
1822
|
+
export declare const UpdatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPhotoRealVersion>;
|
|
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 UpdatePromptPhotoRealVersion$ {
|
|
1828
|
+
/** @deprecated use `UpdatePromptPhotoRealVersion$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 `UpdatePromptPhotoRealVersion$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 UpdatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptEncodingFormat>;
|
|
1841
1841
|
/** @internal */
|
|
1842
|
-
export declare const
|
|
1842
|
+
export declare const UpdatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptEncodingFormat>;
|
|
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 UpdatePromptEncodingFormat$ {
|
|
1848
|
+
/** @deprecated use `UpdatePromptEncodingFormat$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 `UpdatePromptEncodingFormat$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 UpdatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptReasoningEffort>;
|
|
1861
1861
|
/** @internal */
|
|
1862
|
-
export declare const
|
|
1862
|
+
export declare const UpdatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptReasoningEffort>;
|
|
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 UpdatePromptReasoningEffort$ {
|
|
1868
|
+
/** @deprecated use `UpdatePromptReasoningEffort$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 `UpdatePromptReasoningEffort$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 UpdatePromptPromptsReasoningEffort$ {
|
|
|
1879
1879
|
}>;
|
|
1880
1880
|
}
|
|
1881
1881
|
/** @internal */
|
|
1882
|
-
export declare const
|
|
1882
|
+
export declare const UpdatePromptModelParameters$inboundSchema: z.ZodType<UpdatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
1883
1883
|
/** @internal */
|
|
1884
|
-
export type
|
|
1884
|
+
export type UpdatePromptModelParameters$Outbound = {
|
|
1885
1885
|
temperature?: number | undefined;
|
|
1886
1886
|
maxTokens?: number | undefined;
|
|
1887
1887
|
topK?: number | undefined;
|
|
@@ -1894,38 +1894,38 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
1894
1894
|
dimensions?: string | undefined;
|
|
1895
1895
|
quality?: string | undefined;
|
|
1896
1896
|
style?: string | undefined;
|
|
1897
|
-
responseFormat?:
|
|
1897
|
+
responseFormat?: UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat1$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 UpdatePromptModelParameters$outboundSchema: z.ZodType<UpdatePromptModelParameters$Outbound, z.ZodTypeDef, UpdatePromptModelParameters>;
|
|
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 UpdatePromptModelParameters$ {
|
|
1910
|
+
/** @deprecated use `UpdatePromptModelParameters$inboundSchema` instead. */
|
|
1911
|
+
const inboundSchema: z.ZodType<UpdatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
1912
|
+
/** @deprecated use `UpdatePromptModelParameters$outboundSchema` instead. */
|
|
1913
|
+
const outboundSchema: z.ZodType<UpdatePromptModelParameters$Outbound, z.ZodTypeDef, UpdatePromptModelParameters>;
|
|
1914
|
+
/** @deprecated use `UpdatePromptModelParameters$Outbound` instead. */
|
|
1915
|
+
type Outbound = UpdatePromptModelParameters$Outbound;
|
|
1916
1916
|
}
|
|
1917
|
-
export declare function
|
|
1918
|
-
export declare function
|
|
1917
|
+
export declare function updatePromptModelParametersToJSON(updatePromptModelParameters: UpdatePromptModelParameters): string;
|
|
1918
|
+
export declare function updatePromptModelParametersFromJSON(jsonString: string): SafeParseResult<UpdatePromptModelParameters, SDKValidationError>;
|
|
1919
1919
|
/** @internal */
|
|
1920
|
-
export declare const
|
|
1920
|
+
export declare const UpdatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptProvider>;
|
|
1921
1921
|
/** @internal */
|
|
1922
|
-
export declare const
|
|
1922
|
+
export declare const UpdatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptProvider>;
|
|
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 UpdatePromptProvider$ {
|
|
1928
|
+
/** @deprecated use `UpdatePromptProvider$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 UpdatePromptPromptsProvider$ {
|
|
|
1946
1946
|
readonly Togetherai: "togetherai";
|
|
1947
1947
|
readonly Elevenlabs: "elevenlabs";
|
|
1948
1948
|
}>;
|
|
1949
|
-
/** @deprecated use `
|
|
1949
|
+
/** @deprecated use `UpdatePromptProvider$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 UpdatePromptPromptConfig$inboundSchema: z.ZodType<UpdatePromptPromptConfig, z.ZodTypeDef, unknown>;
|
|
2241
2241
|
/** @internal */
|
|
2242
|
-
export type
|
|
2242
|
+
export type UpdatePromptPromptConfig$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?: UpdatePromptModelParameters$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 UpdatePromptPromptConfig$outboundSchema: z.ZodType<UpdatePromptPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptConfig>;
|
|
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 UpdatePromptPromptConfig$ {
|
|
2260
|
+
/** @deprecated use `UpdatePromptPromptConfig$inboundSchema` instead. */
|
|
2261
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptConfig, z.ZodTypeDef, unknown>;
|
|
2262
|
+
/** @deprecated use `UpdatePromptPromptConfig$outboundSchema` instead. */
|
|
2263
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptConfig>;
|
|
2264
|
+
/** @deprecated use `UpdatePromptPromptConfig$Outbound` instead. */
|
|
2265
|
+
type Outbound = UpdatePromptPromptConfig$Outbound;
|
|
2266
2266
|
}
|
|
2267
|
-
export declare function
|
|
2268
|
-
export declare function
|
|
2267
|
+
export declare function updatePromptPromptConfigToJSON(updatePromptPromptConfig: UpdatePromptPromptConfig): string;
|
|
2268
|
+
export declare function updatePromptPromptConfigFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptConfig, SDKValidationError>;
|
|
2269
2269
|
/** @internal */
|
|
2270
|
-
export declare const
|
|
2270
|
+
export declare const UpdatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptUseCases>;
|
|
2271
2271
|
/** @internal */
|
|
2272
|
-
export declare const
|
|
2272
|
+
export declare const UpdatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptUseCases>;
|
|
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 UpdatePromptUseCases$ {
|
|
2278
|
+
/** @deprecated use `UpdatePromptUseCases$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 UpdatePromptPromptsUseCases$ {
|
|
|
2294
2294
|
readonly Summarization: "Summarization";
|
|
2295
2295
|
readonly Tagging: "Tagging";
|
|
2296
2296
|
}>;
|
|
2297
|
-
/** @deprecated use `
|
|
2297
|
+
/** @deprecated use `UpdatePromptUseCases$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 UpdatePromptPromptsUseCases$ {
|
|
|
2315
2315
|
}>;
|
|
2316
2316
|
}
|
|
2317
2317
|
/** @internal */
|
|
2318
|
-
export declare const
|
|
2318
|
+
export declare const UpdatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptLanguage>;
|
|
2319
2319
|
/** @internal */
|
|
2320
|
-
export declare const
|
|
2320
|
+
export declare const UpdatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptLanguage>;
|
|
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 UpdatePromptLanguage$ {
|
|
2326
|
+
/** @deprecated use `UpdatePromptLanguage$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 UpdatePromptPromptsLanguage$ {
|
|
|
2333
2333
|
readonly Russian: "Russian";
|
|
2334
2334
|
readonly Spanish: "Spanish";
|
|
2335
2335
|
}>;
|
|
2336
|
-
/** @deprecated use `
|
|
2336
|
+
/** @deprecated use `UpdatePromptLanguage$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 | undefined;
|
|
2382
2382
|
display_name: string;
|
|
2383
2383
|
description?: string | null | undefined;
|
|
2384
|
-
prompt_config:
|
|
2384
|
+
prompt_config: UpdatePromptPromptConfig$Outbound;
|
|
2385
2385
|
metadata?: UpdatePromptPromptsMetadata$Outbound | undefined;
|
|
2386
2386
|
};
|
|
2387
2387
|
/** @internal */
|