@orq-ai/node 3.2.5 → 3.2.6

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.
Files changed (58) hide show
  1. package/README.md +1 -1
  2. package/bin/mcp-server.js +569 -569
  3. package/bin/mcp-server.js.map +21 -21
  4. package/docs/sdks/prompts/README.md +110 -110
  5. package/funcs/promptsList.js +1 -1
  6. package/funcs/promptsList.js.map +1 -1
  7. package/jsr.json +1 -1
  8. package/lib/config.d.ts +2 -2
  9. package/lib/config.js +2 -2
  10. package/mcp-server/mcp-server.js +1 -1
  11. package/mcp-server/server.js +2 -2
  12. package/mcp-server/server.js.map +1 -1
  13. package/models/operations/bulkcreatedatapoints.js +2 -2
  14. package/models/operations/createcontact.js +2 -2
  15. package/models/operations/createdataset.js +2 -2
  16. package/models/operations/createdatasetitem.js +2 -2
  17. package/models/operations/createprompt.d.ts +317 -317
  18. package/models/operations/createprompt.d.ts.map +1 -1
  19. package/models/operations/createprompt.js +444 -442
  20. package/models/operations/createprompt.js.map +1 -1
  21. package/models/operations/fileget.js +2 -2
  22. package/models/operations/filelist.js +2 -2
  23. package/models/operations/fileupload.js +2 -2
  24. package/models/operations/listdatasetdatapoints.js +2 -2
  25. package/models/operations/listdatasets.js +2 -2
  26. package/models/operations/retrievedatapoint.js +2 -2
  27. package/models/operations/retrievedataset.js +2 -2
  28. package/models/operations/updatedatapoint.js +2 -2
  29. package/models/operations/updatedataset.js +2 -2
  30. package/models/operations/updateprompt.d.ts +317 -317
  31. package/models/operations/updateprompt.d.ts.map +1 -1
  32. package/models/operations/updateprompt.js +444 -444
  33. package/models/operations/updateprompt.js.map +1 -1
  34. package/package.json +1 -1
  35. package/sdk/prompts.d.ts +4 -4
  36. package/sdk/prompts.d.ts.map +1 -1
  37. package/sdk/prompts.js +6 -6
  38. package/sdk/prompts.js.map +1 -1
  39. package/src/funcs/promptsList.ts +1 -1
  40. package/src/lib/config.ts +2 -2
  41. package/src/mcp-server/mcp-server.ts +1 -1
  42. package/src/mcp-server/server.ts +2 -2
  43. package/src/models/operations/bulkcreatedatapoints.ts +2 -2
  44. package/src/models/operations/createcontact.ts +2 -2
  45. package/src/models/operations/createdataset.ts +2 -2
  46. package/src/models/operations/createdatasetitem.ts +2 -2
  47. package/src/models/operations/createprompt.ts +599 -680
  48. package/src/models/operations/fileget.ts +2 -2
  49. package/src/models/operations/filelist.ts +2 -2
  50. package/src/models/operations/fileupload.ts +2 -2
  51. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  52. package/src/models/operations/listdatasets.ts +2 -2
  53. package/src/models/operations/retrievedatapoint.ts +2 -2
  54. package/src/models/operations/retrievedataset.ts +2 -2
  55. package/src/models/operations/updatedatapoint.ts +2 -2
  56. package/src/models/operations/updatedataset.ts +2 -2
  57. package/src/models/operations/updateprompt.ts +682 -599
  58. 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 CreatePromptModelType: {
8
+ export declare const ModelType: {
9
9
  readonly Chat: "chat";
10
10
  readonly Completion: "completion";
11
11
  readonly Embedding: "embedding";
@@ -19,7 +19,7 @@ export declare const CreatePromptModelType: {
19
19
  /**
20
20
  * The type of the model
21
21
  */
22
- export type CreatePromptModelType = ClosedEnum<typeof CreatePromptModelType>;
22
+ export type ModelType = ClosedEnum<typeof ModelType>;
23
23
  /**
24
24
  * Only supported on `image` models.
25
25
  */
@@ -36,35 +36,35 @@ export type CreatePromptFormat = ClosedEnum<typeof CreatePromptFormat>;
36
36
  /**
37
37
  * Only supported on `image` models.
38
38
  */
39
- export declare const CreatePromptQuality: {
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 CreatePromptQuality = ClosedEnum<typeof CreatePromptQuality>;
47
- export declare const CreatePromptResponseFormatPromptsType: {
46
+ export type Quality = ClosedEnum<typeof Quality>;
47
+ export declare const CreatePromptResponseFormatType: {
48
48
  readonly JsonObject: "json_object";
49
49
  };
50
- export type CreatePromptResponseFormatPromptsType = ClosedEnum<typeof CreatePromptResponseFormatPromptsType>;
51
- export type CreatePromptResponseFormat2 = {
52
- type: CreatePromptResponseFormatPromptsType;
50
+ export type CreatePromptResponseFormatType = ClosedEnum<typeof CreatePromptResponseFormatType>;
51
+ export type ResponseFormat2 = {
52
+ type: CreatePromptResponseFormatType;
53
53
  };
54
- export declare const CreatePromptResponseFormatType: {
54
+ export declare const ResponseFormatType: {
55
55
  readonly JsonSchema: "json_schema";
56
56
  };
57
- export type CreatePromptResponseFormatType = ClosedEnum<typeof CreatePromptResponseFormatType>;
58
- export type ResponseFormatJsonSchema = {
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 CreatePromptResponseFormat1 = {
66
- type: CreatePromptResponseFormatType;
67
- jsonSchema: ResponseFormatJsonSchema;
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 CreatePromptResponseFormat1 = {
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 CreatePromptResponseFormat = CreatePromptResponseFormat2 | CreatePromptResponseFormat1;
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 CreatePromptPhotoRealVersion: {
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 CreatePromptPhotoRealVersion = ClosedEnum<typeof CreatePromptPhotoRealVersion>;
91
+ export type PhotoRealVersion = ClosedEnum<typeof PhotoRealVersion>;
92
92
  /**
93
93
  * The format to return the embeddings
94
94
  */
95
- export declare const CreatePromptEncodingFormat: {
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 CreatePromptEncodingFormat = ClosedEnum<typeof CreatePromptEncodingFormat>;
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 CreatePromptReasoningEffort: {
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 CreatePromptReasoningEffort: {
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 CreatePromptReasoningEffort = ClosedEnum<typeof CreatePromptReasoningEffort>;
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 CreatePromptModelParameters = {
118
+ export type ModelParameters = {
119
119
  /**
120
120
  * Only supported on `chat` and `completion` models.
121
121
  */
@@ -159,7 +159,7 @@ export type CreatePromptModelParameters = {
159
159
  /**
160
160
  * Only supported on `image` models.
161
161
  */
162
- quality?: CreatePromptQuality | undefined;
162
+ quality?: Quality | undefined;
163
163
  /**
164
164
  * Only supported on `image` models.
165
165
  */
@@ -175,25 +175,25 @@ export type CreatePromptModelParameters = {
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?: CreatePromptResponseFormat2 | CreatePromptResponseFormat1 | null | undefined;
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?: CreatePromptPhotoRealVersion | undefined;
182
+ photoRealVersion?: PhotoRealVersion | undefined;
183
183
  /**
184
184
  * The format to return the embeddings
185
185
  */
186
- encodingFormat?: CreatePromptEncodingFormat | undefined;
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?: CreatePromptReasoningEffort | undefined;
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 CreatePromptProvider: {
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 CreatePromptProvider: {
213
213
  readonly Togetherai: "togetherai";
214
214
  readonly Elevenlabs: "elevenlabs";
215
215
  };
216
- export type CreatePromptProvider = ClosedEnum<typeof CreatePromptProvider>;
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 CreatePromptMessages = {
299
299
  /**
300
300
  * A list of messages compatible with the openAI schema
301
301
  */
302
- export type CreatePromptPromptConfig = {
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?: CreatePromptModelType | undefined;
308
+ modelType?: ModelType | undefined;
309
309
  /**
310
310
  * Model Parameters: Not all parameters apply to every model
311
311
  */
312
- modelParameters?: CreatePromptModelParameters | undefined;
313
- provider?: CreatePromptProvider | undefined;
312
+ modelParameters?: ModelParameters | undefined;
313
+ provider?: Provider | undefined;
314
314
  version?: string | undefined;
315
315
  messages: Array<CreatePromptMessages>;
316
316
  };
317
- export declare const CreatePromptUseCases: {
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 CreatePromptUseCases: {
332
332
  readonly Summarization: "Summarization";
333
333
  readonly Tagging: "Tagging";
334
334
  };
335
- export type CreatePromptUseCases = ClosedEnum<typeof CreatePromptUseCases>;
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 CreatePromptLanguage: {
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 CreatePromptLanguage: {
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 CreatePromptLanguage = ClosedEnum<typeof CreatePromptLanguage>;
351
+ export type Language = ClosedEnum<typeof Language>;
352
352
  export type CreatePromptMetadata = {
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<CreatePromptUseCases> | undefined;
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?: CreatePromptLanguage | undefined;
360
+ language?: Language | undefined;
361
361
  };
362
362
  export type CreatePromptRequestBody = {
363
363
  /**
@@ -371,7 +371,7 @@ export type CreatePromptRequestBody = {
371
371
  /**
372
372
  * A list of messages compatible with the openAI schema
373
373
  */
374
- promptConfig: CreatePromptPromptConfig;
374
+ promptConfig: PromptConfig;
375
375
  metadata?: CreatePromptMetadata | undefined;
376
376
  /**
377
377
  * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
@@ -385,7 +385,7 @@ export type CreatePromptPromptsType = ClosedEnum<typeof CreatePromptPromptsType>
385
385
  /**
386
386
  * The type of the model
387
387
  */
388
- export declare const CreatePromptPromptsModelType: {
388
+ export declare const CreatePromptModelType: {
389
389
  readonly Chat: "chat";
390
390
  readonly Completion: "completion";
391
391
  readonly Embedding: "embedding";
@@ -399,7 +399,7 @@ export declare const CreatePromptPromptsModelType: {
399
399
  /**
400
400
  * The type of the model
401
401
  */
402
- export type CreatePromptPromptsModelType = ClosedEnum<typeof CreatePromptPromptsModelType>;
402
+ export type CreatePromptModelType = ClosedEnum<typeof CreatePromptModelType>;
403
403
  /**
404
404
  * Only supported on `image` models.
405
405
  */
@@ -416,25 +416,25 @@ export type CreatePromptPromptsFormat = ClosedEnum<typeof CreatePromptPromptsFor
416
416
  /**
417
417
  * Only supported on `image` models.
418
418
  */
419
- export declare const CreatePromptPromptsQuality: {
419
+ export declare const CreatePromptQuality: {
420
420
  readonly Standard: "standard";
421
421
  readonly Hd: "hd";
422
422
  };
423
423
  /**
424
424
  * Only supported on `image` models.
425
425
  */
426
- export type CreatePromptPromptsQuality = ClosedEnum<typeof CreatePromptPromptsQuality>;
427
- export declare const CreatePromptResponseFormatPromptsResponse200Type: {
426
+ export type CreatePromptQuality = ClosedEnum<typeof CreatePromptQuality>;
427
+ export declare const CreatePromptResponseFormatPromptsResponseType: {
428
428
  readonly JsonObject: "json_object";
429
429
  };
430
- export type CreatePromptResponseFormatPromptsResponse200Type = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
431
- export type CreatePromptResponseFormatPrompts2 = {
432
- type: CreatePromptResponseFormatPromptsResponse200Type;
430
+ export type CreatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
431
+ export type CreatePromptResponseFormat2 = {
432
+ type: CreatePromptResponseFormatPromptsResponseType;
433
433
  };
434
- export declare const CreatePromptResponseFormatPromptsResponseType: {
434
+ export declare const CreatePromptResponseFormatPromptsType: {
435
435
  readonly JsonSchema: "json_schema";
436
436
  };
437
- export type CreatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
437
+ export type CreatePromptResponseFormatPromptsType = ClosedEnum<typeof CreatePromptResponseFormatPromptsType>;
438
438
  export type CreatePromptResponseFormatJsonSchema = {
439
439
  name: string;
440
440
  strict: boolean;
@@ -442,8 +442,8 @@ export type CreatePromptResponseFormatJsonSchema = {
442
442
  [k: string]: any;
443
443
  };
444
444
  };
445
- export type CreatePromptResponseFormatPrompts1 = {
446
- type: CreatePromptResponseFormatPromptsResponseType;
445
+ export type CreatePromptResponseFormat1 = {
446
+ type: CreatePromptResponseFormatPromptsType;
447
447
  jsonSchema: CreatePromptResponseFormatJsonSchema;
448
448
  };
449
449
  /**
@@ -457,33 +457,33 @@ export type CreatePromptResponseFormatPrompts1 = {
457
457
  *
458
458
  * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
459
459
  */
460
- export type CreatePromptPromptsResponseFormat = CreatePromptResponseFormatPrompts2 | CreatePromptResponseFormatPrompts1;
460
+ export type CreatePromptResponseFormat = CreatePromptResponseFormat2 | CreatePromptResponseFormat1;
461
461
  /**
462
462
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
463
463
  */
464
- export declare const CreatePromptPromptsPhotoRealVersion: {
464
+ export declare const CreatePromptPhotoRealVersion: {
465
465
  readonly V1: "v1";
466
466
  readonly V2: "v2";
467
467
  };
468
468
  /**
469
469
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
470
470
  */
471
- export type CreatePromptPromptsPhotoRealVersion = ClosedEnum<typeof CreatePromptPromptsPhotoRealVersion>;
471
+ export type CreatePromptPhotoRealVersion = ClosedEnum<typeof CreatePromptPhotoRealVersion>;
472
472
  /**
473
473
  * The format to return the embeddings
474
474
  */
475
- export declare const CreatePromptPromptsEncodingFormat: {
475
+ export declare const CreatePromptEncodingFormat: {
476
476
  readonly Float: "float";
477
477
  readonly Base64: "base64";
478
478
  };
479
479
  /**
480
480
  * The format to return the embeddings
481
481
  */
482
- export type CreatePromptPromptsEncodingFormat = ClosedEnum<typeof CreatePromptPromptsEncodingFormat>;
482
+ export type CreatePromptEncodingFormat = ClosedEnum<typeof CreatePromptEncodingFormat>;
483
483
  /**
484
484
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
485
485
  */
486
- export declare const CreatePromptPromptsReasoningEffort: {
486
+ export declare const CreatePromptReasoningEffort: {
487
487
  readonly Low: "low";
488
488
  readonly Medium: "medium";
489
489
  readonly High: "high";
@@ -491,11 +491,11 @@ export declare const CreatePromptPromptsReasoningEffort: {
491
491
  /**
492
492
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
493
493
  */
494
- export type CreatePromptPromptsReasoningEffort = ClosedEnum<typeof CreatePromptPromptsReasoningEffort>;
494
+ export type CreatePromptReasoningEffort = ClosedEnum<typeof CreatePromptReasoningEffort>;
495
495
  /**
496
496
  * Model Parameters: Not all parameters apply to every model
497
497
  */
498
- export type CreatePromptPromptsModelParameters = {
498
+ export type CreatePromptModelParameters = {
499
499
  /**
500
500
  * Only supported on `chat` and `completion` models.
501
501
  */
@@ -539,7 +539,7 @@ export type CreatePromptPromptsModelParameters = {
539
539
  /**
540
540
  * Only supported on `image` models.
541
541
  */
542
- quality?: CreatePromptPromptsQuality | undefined;
542
+ quality?: CreatePromptQuality | undefined;
543
543
  /**
544
544
  * Only supported on `image` models.
545
545
  */
@@ -555,25 +555,25 @@ export type CreatePromptPromptsModelParameters = {
555
555
  *
556
556
  * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
557
557
  */
558
- responseFormat?: CreatePromptResponseFormatPrompts2 | CreatePromptResponseFormatPrompts1 | null | undefined;
558
+ responseFormat?: CreatePromptResponseFormat2 | CreatePromptResponseFormat1 | null | undefined;
559
559
  /**
560
560
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
561
561
  */
562
- photoRealVersion?: CreatePromptPromptsPhotoRealVersion | undefined;
562
+ photoRealVersion?: CreatePromptPhotoRealVersion | undefined;
563
563
  /**
564
564
  * The format to return the embeddings
565
565
  */
566
- encodingFormat?: CreatePromptPromptsEncodingFormat | undefined;
566
+ encodingFormat?: CreatePromptEncodingFormat | undefined;
567
567
  /**
568
568
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
569
569
  */
570
- reasoningEffort?: CreatePromptPromptsReasoningEffort | undefined;
570
+ reasoningEffort?: CreatePromptReasoningEffort | undefined;
571
571
  /**
572
572
  * 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`
573
573
  */
574
574
  budgetTokens?: number | undefined;
575
575
  };
576
- export declare const CreatePromptPromptsProvider: {
576
+ export declare const CreatePromptProvider: {
577
577
  readonly Cohere: "cohere";
578
578
  readonly Openai: "openai";
579
579
  readonly Anthropic: "anthropic";
@@ -593,7 +593,7 @@ export declare const CreatePromptPromptsProvider: {
593
593
  readonly Togetherai: "togetherai";
594
594
  readonly Elevenlabs: "elevenlabs";
595
595
  };
596
- export type CreatePromptPromptsProvider = ClosedEnum<typeof CreatePromptPromptsProvider>;
596
+ export type CreatePromptProvider = ClosedEnum<typeof CreatePromptProvider>;
597
597
  /**
598
598
  * The role of the prompt message
599
599
  */
@@ -683,7 +683,7 @@ export type CreatePromptPromptsMessages = {
683
683
  /**
684
684
  * A list of messages compatible with the openAI schema
685
685
  */
686
- export type CreatePromptPromptsPromptConfig = {
686
+ export type CreatePromptPromptConfig = {
687
687
  stream?: boolean | undefined;
688
688
  model?: string | undefined;
689
689
  /**
@@ -693,12 +693,12 @@ export type CreatePromptPromptsPromptConfig = {
693
693
  /**
694
694
  * The type of the model
695
695
  */
696
- modelType?: CreatePromptPromptsModelType | undefined;
696
+ modelType?: CreatePromptModelType | undefined;
697
697
  /**
698
698
  * Model Parameters: Not all parameters apply to every model
699
699
  */
700
- modelParameters?: CreatePromptPromptsModelParameters | undefined;
701
- provider?: CreatePromptPromptsProvider | undefined;
700
+ modelParameters?: CreatePromptModelParameters | undefined;
701
+ provider?: CreatePromptProvider | undefined;
702
702
  /**
703
703
  * The id of the resource
704
704
  */
@@ -706,7 +706,7 @@ export type CreatePromptPromptsPromptConfig = {
706
706
  version?: string | undefined;
707
707
  messages: Array<CreatePromptPromptsMessages>;
708
708
  };
709
- export declare const CreatePromptPromptsUseCases: {
709
+ export declare const CreatePromptUseCases: {
710
710
  readonly Agents: "Agents";
711
711
  readonly AgentsSimulations: "Agents simulations";
712
712
  readonly APIInteraction: "API interaction";
@@ -724,11 +724,11 @@ export declare const CreatePromptPromptsUseCases: {
724
724
  readonly Summarization: "Summarization";
725
725
  readonly Tagging: "Tagging";
726
726
  };
727
- export type CreatePromptPromptsUseCases = ClosedEnum<typeof CreatePromptPromptsUseCases>;
727
+ export type CreatePromptUseCases = ClosedEnum<typeof CreatePromptUseCases>;
728
728
  /**
729
729
  * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
730
730
  */
731
- export declare const CreatePromptPromptsLanguage: {
731
+ export declare const CreatePromptLanguage: {
732
732
  readonly Chinese: "Chinese";
733
733
  readonly Dutch: "Dutch";
734
734
  readonly English: "English";
@@ -740,16 +740,16 @@ export declare const CreatePromptPromptsLanguage: {
740
740
  /**
741
741
  * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
742
742
  */
743
- export type CreatePromptPromptsLanguage = ClosedEnum<typeof CreatePromptPromptsLanguage>;
743
+ export type CreatePromptLanguage = ClosedEnum<typeof CreatePromptLanguage>;
744
744
  export type CreatePromptPromptsMetadata = {
745
745
  /**
746
746
  * 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
747
747
  */
748
- useCases?: Array<CreatePromptPromptsUseCases> | undefined;
748
+ useCases?: Array<CreatePromptUseCases> | undefined;
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
- language?: CreatePromptPromptsLanguage | undefined;
752
+ language?: CreatePromptLanguage | undefined;
753
753
  };
754
754
  /**
755
755
  * Prompt created.
@@ -774,19 +774,19 @@ export type CreatePromptResponseBody = {
774
774
  /**
775
775
  * A list of messages compatible with the openAI schema
776
776
  */
777
- promptConfig: CreatePromptPromptsPromptConfig;
777
+ promptConfig: CreatePromptPromptConfig;
778
778
  metadata?: CreatePromptPromptsMetadata | undefined;
779
779
  };
780
780
  /** @internal */
781
- export declare const CreatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
781
+ export declare const ModelType$inboundSchema: z.ZodNativeEnum<typeof ModelType>;
782
782
  /** @internal */
783
- export declare const CreatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
783
+ export declare const ModelType$outboundSchema: z.ZodNativeEnum<typeof ModelType>;
784
784
  /**
785
785
  * @internal
786
786
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
787
787
  */
788
- export declare namespace CreatePromptModelType$ {
789
- /** @deprecated use `CreatePromptModelType$inboundSchema` instead. */
788
+ export declare namespace ModelType$ {
789
+ /** @deprecated use `ModelType$inboundSchema` instead. */
790
790
  const inboundSchema: z.ZodNativeEnum<{
791
791
  readonly Chat: "chat";
792
792
  readonly Completion: "completion";
@@ -798,7 +798,7 @@ export declare namespace CreatePromptModelType$ {
798
798
  readonly Rerank: "rerank";
799
799
  readonly Moderations: "moderations";
800
800
  }>;
801
- /** @deprecated use `CreatePromptModelType$outboundSchema` instead. */
801
+ /** @deprecated use `ModelType$outboundSchema` instead. */
802
802
  const outboundSchema: z.ZodNativeEnum<{
803
803
  readonly Chat: "chat";
804
804
  readonly Completion: "completion";
@@ -836,87 +836,87 @@ export declare namespace CreatePromptFormat$ {
836
836
  }>;
837
837
  }
838
838
  /** @internal */
839
- export declare const CreatePromptQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
839
+ export declare const Quality$inboundSchema: z.ZodNativeEnum<typeof Quality>;
840
840
  /** @internal */
841
- export declare const CreatePromptQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
841
+ export declare const Quality$outboundSchema: z.ZodNativeEnum<typeof Quality>;
842
842
  /**
843
843
  * @internal
844
844
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
845
845
  */
846
- export declare namespace CreatePromptQuality$ {
847
- /** @deprecated use `CreatePromptQuality$inboundSchema` instead. */
846
+ export declare namespace Quality$ {
847
+ /** @deprecated use `Quality$inboundSchema` instead. */
848
848
  const inboundSchema: z.ZodNativeEnum<{
849
849
  readonly Standard: "standard";
850
850
  readonly Hd: "hd";
851
851
  }>;
852
- /** @deprecated use `CreatePromptQuality$outboundSchema` instead. */
852
+ /** @deprecated use `Quality$outboundSchema` instead. */
853
853
  const outboundSchema: z.ZodNativeEnum<{
854
854
  readonly Standard: "standard";
855
855
  readonly Hd: "hd";
856
856
  }>;
857
857
  }
858
858
  /** @internal */
859
- export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
859
+ export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
860
860
  /** @internal */
861
- export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
861
+ export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
862
862
  /**
863
863
  * @internal
864
864
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
865
865
  */
866
- export declare namespace CreatePromptResponseFormatPromptsType$ {
867
- /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
866
+ export declare namespace CreatePromptResponseFormatType$ {
867
+ /** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
868
868
  const inboundSchema: z.ZodNativeEnum<{
869
869
  readonly JsonObject: "json_object";
870
870
  }>;
871
- /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
871
+ /** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
872
872
  const outboundSchema: z.ZodNativeEnum<{
873
873
  readonly JsonObject: "json_object";
874
874
  }>;
875
875
  }
876
876
  /** @internal */
877
- export declare const CreatePromptResponseFormat2$inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
877
+ export declare const ResponseFormat2$inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
878
878
  /** @internal */
879
- export type CreatePromptResponseFormat2$Outbound = {
879
+ export type ResponseFormat2$Outbound = {
880
880
  type: string;
881
881
  };
882
882
  /** @internal */
883
- export declare const CreatePromptResponseFormat2$outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
883
+ export declare const ResponseFormat2$outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
884
884
  /**
885
885
  * @internal
886
886
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
887
887
  */
888
- export declare namespace CreatePromptResponseFormat2$ {
889
- /** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
890
- const inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
891
- /** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
892
- const outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
893
- /** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
894
- type Outbound = CreatePromptResponseFormat2$Outbound;
888
+ export declare namespace ResponseFormat2$ {
889
+ /** @deprecated use `ResponseFormat2$inboundSchema` instead. */
890
+ const inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
891
+ /** @deprecated use `ResponseFormat2$outboundSchema` instead. */
892
+ const outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
893
+ /** @deprecated use `ResponseFormat2$Outbound` instead. */
894
+ type Outbound = ResponseFormat2$Outbound;
895
895
  }
896
- export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
897
- export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
896
+ export declare function responseFormat2ToJSON(responseFormat2: ResponseFormat2): string;
897
+ export declare function responseFormat2FromJSON(jsonString: string): SafeParseResult<ResponseFormat2, SDKValidationError>;
898
898
  /** @internal */
899
- export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
899
+ export declare const ResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
900
900
  /** @internal */
901
- export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
901
+ export declare const ResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
902
902
  /**
903
903
  * @internal
904
904
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
905
905
  */
906
- export declare namespace CreatePromptResponseFormatType$ {
907
- /** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
906
+ export declare namespace ResponseFormatType$ {
907
+ /** @deprecated use `ResponseFormatType$inboundSchema` instead. */
908
908
  const inboundSchema: z.ZodNativeEnum<{
909
909
  readonly JsonSchema: "json_schema";
910
910
  }>;
911
- /** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
911
+ /** @deprecated use `ResponseFormatType$outboundSchema` instead. */
912
912
  const outboundSchema: z.ZodNativeEnum<{
913
913
  readonly JsonSchema: "json_schema";
914
914
  }>;
915
915
  }
916
916
  /** @internal */
917
- export declare const ResponseFormatJsonSchema$inboundSchema: z.ZodType<ResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
917
+ export declare const JsonSchema$inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
918
918
  /** @internal */
919
- export type ResponseFormatJsonSchema$Outbound = {
919
+ export type JsonSchema$Outbound = {
920
920
  name: string;
921
921
  strict: boolean;
922
922
  schema: {
@@ -924,120 +924,120 @@ export type ResponseFormatJsonSchema$Outbound = {
924
924
  };
925
925
  };
926
926
  /** @internal */
927
- export declare const ResponseFormatJsonSchema$outboundSchema: z.ZodType<ResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ResponseFormatJsonSchema>;
927
+ export declare const JsonSchema$outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
928
928
  /**
929
929
  * @internal
930
930
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
931
931
  */
932
- export declare namespace ResponseFormatJsonSchema$ {
933
- /** @deprecated use `ResponseFormatJsonSchema$inboundSchema` instead. */
934
- const inboundSchema: z.ZodType<ResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
935
- /** @deprecated use `ResponseFormatJsonSchema$outboundSchema` instead. */
936
- const outboundSchema: z.ZodType<ResponseFormatJsonSchema$Outbound, z.ZodTypeDef, ResponseFormatJsonSchema>;
937
- /** @deprecated use `ResponseFormatJsonSchema$Outbound` instead. */
938
- type Outbound = ResponseFormatJsonSchema$Outbound;
932
+ export declare namespace JsonSchema$ {
933
+ /** @deprecated use `JsonSchema$inboundSchema` instead. */
934
+ const inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
935
+ /** @deprecated use `JsonSchema$outboundSchema` instead. */
936
+ const outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
937
+ /** @deprecated use `JsonSchema$Outbound` instead. */
938
+ type Outbound = JsonSchema$Outbound;
939
939
  }
940
- export declare function responseFormatJsonSchemaToJSON(responseFormatJsonSchema: ResponseFormatJsonSchema): string;
941
- export declare function responseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<ResponseFormatJsonSchema, SDKValidationError>;
940
+ export declare function jsonSchemaToJSON(jsonSchema: JsonSchema): string;
941
+ export declare function jsonSchemaFromJSON(jsonString: string): SafeParseResult<JsonSchema, SDKValidationError>;
942
942
  /** @internal */
943
- export declare const CreatePromptResponseFormat1$inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
943
+ export declare const ResponseFormat1$inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
944
944
  /** @internal */
945
- export type CreatePromptResponseFormat1$Outbound = {
945
+ export type ResponseFormat1$Outbound = {
946
946
  type: string;
947
- json_schema: ResponseFormatJsonSchema$Outbound;
947
+ json_schema: JsonSchema$Outbound;
948
948
  };
949
949
  /** @internal */
950
- export declare const CreatePromptResponseFormat1$outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
950
+ export declare const ResponseFormat1$outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
951
951
  /**
952
952
  * @internal
953
953
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
954
954
  */
955
- export declare namespace CreatePromptResponseFormat1$ {
956
- /** @deprecated use `CreatePromptResponseFormat1$inboundSchema` instead. */
957
- const inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
958
- /** @deprecated use `CreatePromptResponseFormat1$outboundSchema` instead. */
959
- const outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
960
- /** @deprecated use `CreatePromptResponseFormat1$Outbound` instead. */
961
- type Outbound = CreatePromptResponseFormat1$Outbound;
955
+ export declare namespace ResponseFormat1$ {
956
+ /** @deprecated use `ResponseFormat1$inboundSchema` instead. */
957
+ const inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
958
+ /** @deprecated use `ResponseFormat1$outboundSchema` instead. */
959
+ const outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
960
+ /** @deprecated use `ResponseFormat1$Outbound` instead. */
961
+ type Outbound = ResponseFormat1$Outbound;
962
962
  }
963
- export declare function createPromptResponseFormat1ToJSON(createPromptResponseFormat1: CreatePromptResponseFormat1): string;
964
- export declare function createPromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat1, SDKValidationError>;
963
+ export declare function responseFormat1ToJSON(responseFormat1: ResponseFormat1): string;
964
+ export declare function responseFormat1FromJSON(jsonString: string): SafeParseResult<ResponseFormat1, SDKValidationError>;
965
965
  /** @internal */
966
- export declare const CreatePromptResponseFormat$inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
966
+ export declare const ResponseFormat$inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
967
967
  /** @internal */
968
- export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound;
968
+ export type ResponseFormat$Outbound = ResponseFormat2$Outbound | ResponseFormat1$Outbound;
969
969
  /** @internal */
970
- export declare const CreatePromptResponseFormat$outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
970
+ export declare const ResponseFormat$outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
971
971
  /**
972
972
  * @internal
973
973
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
974
974
  */
975
- export declare namespace CreatePromptResponseFormat$ {
976
- /** @deprecated use `CreatePromptResponseFormat$inboundSchema` instead. */
977
- const inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
978
- /** @deprecated use `CreatePromptResponseFormat$outboundSchema` instead. */
979
- const outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
980
- /** @deprecated use `CreatePromptResponseFormat$Outbound` instead. */
981
- type Outbound = CreatePromptResponseFormat$Outbound;
975
+ export declare namespace ResponseFormat$ {
976
+ /** @deprecated use `ResponseFormat$inboundSchema` instead. */
977
+ const inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
978
+ /** @deprecated use `ResponseFormat$outboundSchema` instead. */
979
+ const outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
980
+ /** @deprecated use `ResponseFormat$Outbound` instead. */
981
+ type Outbound = ResponseFormat$Outbound;
982
982
  }
983
- export declare function createPromptResponseFormatToJSON(createPromptResponseFormat: CreatePromptResponseFormat): string;
984
- export declare function createPromptResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat, SDKValidationError>;
983
+ export declare function responseFormatToJSON(responseFormat: ResponseFormat): string;
984
+ export declare function responseFormatFromJSON(jsonString: string): SafeParseResult<ResponseFormat, SDKValidationError>;
985
985
  /** @internal */
986
- export declare const CreatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
986
+ export declare const PhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
987
987
  /** @internal */
988
- export declare const CreatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
988
+ export declare const PhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
989
989
  /**
990
990
  * @internal
991
991
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
992
992
  */
993
- export declare namespace CreatePromptPhotoRealVersion$ {
994
- /** @deprecated use `CreatePromptPhotoRealVersion$inboundSchema` instead. */
993
+ export declare namespace PhotoRealVersion$ {
994
+ /** @deprecated use `PhotoRealVersion$inboundSchema` instead. */
995
995
  const inboundSchema: z.ZodNativeEnum<{
996
996
  readonly V1: "v1";
997
997
  readonly V2: "v2";
998
998
  }>;
999
- /** @deprecated use `CreatePromptPhotoRealVersion$outboundSchema` instead. */
999
+ /** @deprecated use `PhotoRealVersion$outboundSchema` instead. */
1000
1000
  const outboundSchema: z.ZodNativeEnum<{
1001
1001
  readonly V1: "v1";
1002
1002
  readonly V2: "v2";
1003
1003
  }>;
1004
1004
  }
1005
1005
  /** @internal */
1006
- export declare const CreatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
1006
+ export declare const EncodingFormat$inboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
1007
1007
  /** @internal */
1008
- export declare const CreatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
1008
+ export declare const EncodingFormat$outboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
1009
1009
  /**
1010
1010
  * @internal
1011
1011
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1012
1012
  */
1013
- export declare namespace CreatePromptEncodingFormat$ {
1014
- /** @deprecated use `CreatePromptEncodingFormat$inboundSchema` instead. */
1013
+ export declare namespace EncodingFormat$ {
1014
+ /** @deprecated use `EncodingFormat$inboundSchema` instead. */
1015
1015
  const inboundSchema: z.ZodNativeEnum<{
1016
1016
  readonly Float: "float";
1017
1017
  readonly Base64: "base64";
1018
1018
  }>;
1019
- /** @deprecated use `CreatePromptEncodingFormat$outboundSchema` instead. */
1019
+ /** @deprecated use `EncodingFormat$outboundSchema` instead. */
1020
1020
  const outboundSchema: z.ZodNativeEnum<{
1021
1021
  readonly Float: "float";
1022
1022
  readonly Base64: "base64";
1023
1023
  }>;
1024
1024
  }
1025
1025
  /** @internal */
1026
- export declare const CreatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
1026
+ export declare const ReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
1027
1027
  /** @internal */
1028
- export declare const CreatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
1028
+ export declare const ReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
1029
1029
  /**
1030
1030
  * @internal
1031
1031
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1032
1032
  */
1033
- export declare namespace CreatePromptReasoningEffort$ {
1034
- /** @deprecated use `CreatePromptReasoningEffort$inboundSchema` instead. */
1033
+ export declare namespace ReasoningEffort$ {
1034
+ /** @deprecated use `ReasoningEffort$inboundSchema` instead. */
1035
1035
  const inboundSchema: z.ZodNativeEnum<{
1036
1036
  readonly Low: "low";
1037
1037
  readonly Medium: "medium";
1038
1038
  readonly High: "high";
1039
1039
  }>;
1040
- /** @deprecated use `CreatePromptReasoningEffort$outboundSchema` instead. */
1040
+ /** @deprecated use `ReasoningEffort$outboundSchema` instead. */
1041
1041
  const outboundSchema: z.ZodNativeEnum<{
1042
1042
  readonly Low: "low";
1043
1043
  readonly Medium: "medium";
@@ -1045,9 +1045,9 @@ export declare namespace CreatePromptReasoningEffort$ {
1045
1045
  }>;
1046
1046
  }
1047
1047
  /** @internal */
1048
- export declare const CreatePromptModelParameters$inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
1048
+ export declare const ModelParameters$inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
1049
1049
  /** @internal */
1050
- export type CreatePromptModelParameters$Outbound = {
1050
+ export type ModelParameters$Outbound = {
1051
1051
  temperature?: number | undefined;
1052
1052
  maxTokens?: number | undefined;
1053
1053
  topK?: number | undefined;
@@ -1060,38 +1060,38 @@ export type CreatePromptModelParameters$Outbound = {
1060
1060
  dimensions?: string | undefined;
1061
1061
  quality?: string | undefined;
1062
1062
  style?: string | undefined;
1063
- responseFormat?: CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound | null | undefined;
1063
+ responseFormat?: ResponseFormat2$Outbound | ResponseFormat1$Outbound | null | undefined;
1064
1064
  photoRealVersion?: string | undefined;
1065
1065
  encoding_format?: string | undefined;
1066
1066
  reasoningEffort?: string | undefined;
1067
1067
  budgetTokens?: number | undefined;
1068
1068
  };
1069
1069
  /** @internal */
1070
- export declare const CreatePromptModelParameters$outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
1070
+ export declare const ModelParameters$outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
1071
1071
  /**
1072
1072
  * @internal
1073
1073
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1074
1074
  */
1075
- export declare namespace CreatePromptModelParameters$ {
1076
- /** @deprecated use `CreatePromptModelParameters$inboundSchema` instead. */
1077
- const inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
1078
- /** @deprecated use `CreatePromptModelParameters$outboundSchema` instead. */
1079
- const outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
1080
- /** @deprecated use `CreatePromptModelParameters$Outbound` instead. */
1081
- type Outbound = CreatePromptModelParameters$Outbound;
1075
+ export declare namespace ModelParameters$ {
1076
+ /** @deprecated use `ModelParameters$inboundSchema` instead. */
1077
+ const inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
1078
+ /** @deprecated use `ModelParameters$outboundSchema` instead. */
1079
+ const outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
1080
+ /** @deprecated use `ModelParameters$Outbound` instead. */
1081
+ type Outbound = ModelParameters$Outbound;
1082
1082
  }
1083
- export declare function createPromptModelParametersToJSON(createPromptModelParameters: CreatePromptModelParameters): string;
1084
- export declare function createPromptModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptModelParameters, SDKValidationError>;
1083
+ export declare function modelParametersToJSON(modelParameters: ModelParameters): string;
1084
+ export declare function modelParametersFromJSON(jsonString: string): SafeParseResult<ModelParameters, SDKValidationError>;
1085
1085
  /** @internal */
1086
- export declare const CreatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
1086
+ export declare const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider>;
1087
1087
  /** @internal */
1088
- export declare const CreatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
1088
+ export declare const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider>;
1089
1089
  /**
1090
1090
  * @internal
1091
1091
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1092
1092
  */
1093
- export declare namespace CreatePromptProvider$ {
1094
- /** @deprecated use `CreatePromptProvider$inboundSchema` instead. */
1093
+ export declare namespace Provider$ {
1094
+ /** @deprecated use `Provider$inboundSchema` instead. */
1095
1095
  const inboundSchema: z.ZodNativeEnum<{
1096
1096
  readonly Cohere: "cohere";
1097
1097
  readonly Openai: "openai";
@@ -1112,7 +1112,7 @@ export declare namespace CreatePromptProvider$ {
1112
1112
  readonly Togetherai: "togetherai";
1113
1113
  readonly Elevenlabs: "elevenlabs";
1114
1114
  }>;
1115
- /** @deprecated use `CreatePromptProvider$outboundSchema` instead. */
1115
+ /** @deprecated use `Provider$outboundSchema` instead. */
1116
1116
  const outboundSchema: z.ZodNativeEnum<{
1117
1117
  readonly Cohere: "cohere";
1118
1118
  readonly Openai: "openai";
@@ -1402,43 +1402,43 @@ export declare namespace CreatePromptMessages$ {
1402
1402
  export declare function createPromptMessagesToJSON(createPromptMessages: CreatePromptMessages): string;
1403
1403
  export declare function createPromptMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptMessages, SDKValidationError>;
1404
1404
  /** @internal */
1405
- export declare const CreatePromptPromptConfig$inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
1405
+ export declare const PromptConfig$inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
1406
1406
  /** @internal */
1407
- export type CreatePromptPromptConfig$Outbound = {
1407
+ export type PromptConfig$Outbound = {
1408
1408
  stream?: boolean | undefined;
1409
1409
  model?: string | undefined;
1410
1410
  model_type?: string | undefined;
1411
- model_parameters?: CreatePromptModelParameters$Outbound | undefined;
1411
+ model_parameters?: ModelParameters$Outbound | undefined;
1412
1412
  provider?: string | undefined;
1413
1413
  version?: string | undefined;
1414
1414
  messages: Array<CreatePromptMessages$Outbound>;
1415
1415
  };
1416
1416
  /** @internal */
1417
- export declare const CreatePromptPromptConfig$outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
1417
+ export declare const PromptConfig$outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
1418
1418
  /**
1419
1419
  * @internal
1420
1420
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1421
1421
  */
1422
- export declare namespace CreatePromptPromptConfig$ {
1423
- /** @deprecated use `CreatePromptPromptConfig$inboundSchema` instead. */
1424
- const inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
1425
- /** @deprecated use `CreatePromptPromptConfig$outboundSchema` instead. */
1426
- const outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
1427
- /** @deprecated use `CreatePromptPromptConfig$Outbound` instead. */
1428
- type Outbound = CreatePromptPromptConfig$Outbound;
1422
+ export declare namespace PromptConfig$ {
1423
+ /** @deprecated use `PromptConfig$inboundSchema` instead. */
1424
+ const inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
1425
+ /** @deprecated use `PromptConfig$outboundSchema` instead. */
1426
+ const outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
1427
+ /** @deprecated use `PromptConfig$Outbound` instead. */
1428
+ type Outbound = PromptConfig$Outbound;
1429
1429
  }
1430
- export declare function createPromptPromptConfigToJSON(createPromptPromptConfig: CreatePromptPromptConfig): string;
1431
- export declare function createPromptPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptConfig, SDKValidationError>;
1430
+ export declare function promptConfigToJSON(promptConfig: PromptConfig): string;
1431
+ export declare function promptConfigFromJSON(jsonString: string): SafeParseResult<PromptConfig, SDKValidationError>;
1432
1432
  /** @internal */
1433
- export declare const CreatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
1433
+ export declare const UseCases$inboundSchema: z.ZodNativeEnum<typeof UseCases>;
1434
1434
  /** @internal */
1435
- export declare const CreatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
1435
+ export declare const UseCases$outboundSchema: z.ZodNativeEnum<typeof UseCases>;
1436
1436
  /**
1437
1437
  * @internal
1438
1438
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1439
1439
  */
1440
- export declare namespace CreatePromptUseCases$ {
1441
- /** @deprecated use `CreatePromptUseCases$inboundSchema` instead. */
1440
+ export declare namespace UseCases$ {
1441
+ /** @deprecated use `UseCases$inboundSchema` instead. */
1442
1442
  const inboundSchema: z.ZodNativeEnum<{
1443
1443
  readonly Agents: "Agents";
1444
1444
  readonly AgentsSimulations: "Agents simulations";
@@ -1457,7 +1457,7 @@ export declare namespace CreatePromptUseCases$ {
1457
1457
  readonly Summarization: "Summarization";
1458
1458
  readonly Tagging: "Tagging";
1459
1459
  }>;
1460
- /** @deprecated use `CreatePromptUseCases$outboundSchema` instead. */
1460
+ /** @deprecated use `UseCases$outboundSchema` instead. */
1461
1461
  const outboundSchema: z.ZodNativeEnum<{
1462
1462
  readonly Agents: "Agents";
1463
1463
  readonly AgentsSimulations: "Agents simulations";
@@ -1478,15 +1478,15 @@ export declare namespace CreatePromptUseCases$ {
1478
1478
  }>;
1479
1479
  }
1480
1480
  /** @internal */
1481
- export declare const CreatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
1481
+ export declare const Language$inboundSchema: z.ZodNativeEnum<typeof Language>;
1482
1482
  /** @internal */
1483
- export declare const CreatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
1483
+ export declare const Language$outboundSchema: z.ZodNativeEnum<typeof Language>;
1484
1484
  /**
1485
1485
  * @internal
1486
1486
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1487
1487
  */
1488
- export declare namespace CreatePromptLanguage$ {
1489
- /** @deprecated use `CreatePromptLanguage$inboundSchema` instead. */
1488
+ export declare namespace Language$ {
1489
+ /** @deprecated use `Language$inboundSchema` instead. */
1490
1490
  const inboundSchema: z.ZodNativeEnum<{
1491
1491
  readonly Chinese: "Chinese";
1492
1492
  readonly Dutch: "Dutch";
@@ -1496,7 +1496,7 @@ export declare namespace CreatePromptLanguage$ {
1496
1496
  readonly Russian: "Russian";
1497
1497
  readonly Spanish: "Spanish";
1498
1498
  }>;
1499
- /** @deprecated use `CreatePromptLanguage$outboundSchema` instead. */
1499
+ /** @deprecated use `Language$outboundSchema` instead. */
1500
1500
  const outboundSchema: z.ZodNativeEnum<{
1501
1501
  readonly Chinese: "Chinese";
1502
1502
  readonly Dutch: "Dutch";
@@ -1536,7 +1536,7 @@ export declare const CreatePromptRequestBody$inboundSchema: z.ZodType<CreateProm
1536
1536
  export type CreatePromptRequestBody$Outbound = {
1537
1537
  display_name: string;
1538
1538
  description?: string | null | undefined;
1539
- prompt_config: CreatePromptPromptConfig$Outbound;
1539
+ prompt_config: PromptConfig$Outbound;
1540
1540
  metadata?: CreatePromptMetadata$Outbound | undefined;
1541
1541
  path: string;
1542
1542
  };
@@ -1575,15 +1575,15 @@ export declare namespace CreatePromptPromptsType$ {
1575
1575
  }>;
1576
1576
  }
1577
1577
  /** @internal */
1578
- export declare const CreatePromptPromptsModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsModelType>;
1578
+ export declare const CreatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
1579
1579
  /** @internal */
1580
- export declare const CreatePromptPromptsModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsModelType>;
1580
+ export declare const CreatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
1581
1581
  /**
1582
1582
  * @internal
1583
1583
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1584
1584
  */
1585
- export declare namespace CreatePromptPromptsModelType$ {
1586
- /** @deprecated use `CreatePromptPromptsModelType$inboundSchema` instead. */
1585
+ export declare namespace CreatePromptModelType$ {
1586
+ /** @deprecated use `CreatePromptModelType$inboundSchema` instead. */
1587
1587
  const inboundSchema: z.ZodNativeEnum<{
1588
1588
  readonly Chat: "chat";
1589
1589
  readonly Completion: "completion";
@@ -1595,7 +1595,7 @@ export declare namespace CreatePromptPromptsModelType$ {
1595
1595
  readonly Rerank: "rerank";
1596
1596
  readonly Moderations: "moderations";
1597
1597
  }>;
1598
- /** @deprecated use `CreatePromptPromptsModelType$outboundSchema` instead. */
1598
+ /** @deprecated use `CreatePromptModelType$outboundSchema` instead. */
1599
1599
  const outboundSchema: z.ZodNativeEnum<{
1600
1600
  readonly Chat: "chat";
1601
1601
  readonly Completion: "completion";
@@ -1633,79 +1633,79 @@ export declare namespace CreatePromptPromptsFormat$ {
1633
1633
  }>;
1634
1634
  }
1635
1635
  /** @internal */
1636
- export declare const CreatePromptPromptsQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsQuality>;
1636
+ export declare const CreatePromptQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
1637
1637
  /** @internal */
1638
- export declare const CreatePromptPromptsQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsQuality>;
1638
+ export declare const CreatePromptQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
1639
1639
  /**
1640
1640
  * @internal
1641
1641
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1642
1642
  */
1643
- export declare namespace CreatePromptPromptsQuality$ {
1644
- /** @deprecated use `CreatePromptPromptsQuality$inboundSchema` instead. */
1643
+ export declare namespace CreatePromptQuality$ {
1644
+ /** @deprecated use `CreatePromptQuality$inboundSchema` instead. */
1645
1645
  const inboundSchema: z.ZodNativeEnum<{
1646
1646
  readonly Standard: "standard";
1647
1647
  readonly Hd: "hd";
1648
1648
  }>;
1649
- /** @deprecated use `CreatePromptPromptsQuality$outboundSchema` instead. */
1649
+ /** @deprecated use `CreatePromptQuality$outboundSchema` instead. */
1650
1650
  const outboundSchema: z.ZodNativeEnum<{
1651
1651
  readonly Standard: "standard";
1652
1652
  readonly Hd: "hd";
1653
1653
  }>;
1654
1654
  }
1655
1655
  /** @internal */
1656
- export declare const CreatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
1656
+ export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1657
1657
  /** @internal */
1658
- export declare const CreatePromptResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
1658
+ export declare const CreatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1659
1659
  /**
1660
1660
  * @internal
1661
1661
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1662
1662
  */
1663
- export declare namespace CreatePromptResponseFormatPromptsResponse200Type$ {
1664
- /** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$inboundSchema` instead. */
1663
+ export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
1664
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
1665
1665
  const inboundSchema: z.ZodNativeEnum<{
1666
1666
  readonly JsonObject: "json_object";
1667
1667
  }>;
1668
- /** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$outboundSchema` instead. */
1668
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
1669
1669
  const outboundSchema: z.ZodNativeEnum<{
1670
1670
  readonly JsonObject: "json_object";
1671
1671
  }>;
1672
1672
  }
1673
1673
  /** @internal */
1674
- export declare const CreatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
1674
+ export declare const CreatePromptResponseFormat2$inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1675
1675
  /** @internal */
1676
- export type CreatePromptResponseFormatPrompts2$Outbound = {
1676
+ export type CreatePromptResponseFormat2$Outbound = {
1677
1677
  type: string;
1678
1678
  };
1679
1679
  /** @internal */
1680
- export declare const CreatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
1680
+ export declare const CreatePromptResponseFormat2$outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
1681
1681
  /**
1682
1682
  * @internal
1683
1683
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1684
1684
  */
1685
- export declare namespace CreatePromptResponseFormatPrompts2$ {
1686
- /** @deprecated use `CreatePromptResponseFormatPrompts2$inboundSchema` instead. */
1687
- const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
1688
- /** @deprecated use `CreatePromptResponseFormatPrompts2$outboundSchema` instead. */
1689
- const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
1690
- /** @deprecated use `CreatePromptResponseFormatPrompts2$Outbound` instead. */
1691
- type Outbound = CreatePromptResponseFormatPrompts2$Outbound;
1685
+ export declare namespace CreatePromptResponseFormat2$ {
1686
+ /** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
1687
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1688
+ /** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
1689
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
1690
+ /** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
1691
+ type Outbound = CreatePromptResponseFormat2$Outbound;
1692
1692
  }
1693
- export declare function createPromptResponseFormatPrompts2ToJSON(createPromptResponseFormatPrompts2: CreatePromptResponseFormatPrompts2): string;
1694
- export declare function createPromptResponseFormatPrompts2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts2, SDKValidationError>;
1693
+ export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
1694
+ export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
1695
1695
  /** @internal */
1696
- export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1696
+ export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1697
1697
  /** @internal */
1698
- export declare const CreatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1698
+ export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1699
1699
  /**
1700
1700
  * @internal
1701
1701
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1702
1702
  */
1703
- export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
1704
- /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
1703
+ export declare namespace CreatePromptResponseFormatPromptsType$ {
1704
+ /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
1705
1705
  const inboundSchema: z.ZodNativeEnum<{
1706
1706
  readonly JsonSchema: "json_schema";
1707
1707
  }>;
1708
- /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
1708
+ /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
1709
1709
  const outboundSchema: z.ZodNativeEnum<{
1710
1710
  readonly JsonSchema: "json_schema";
1711
1711
  }>;
@@ -1737,104 +1737,104 @@ export declare namespace CreatePromptResponseFormatJsonSchema$ {
1737
1737
  export declare function createPromptResponseFormatJsonSchemaToJSON(createPromptResponseFormatJsonSchema: CreatePromptResponseFormatJsonSchema): string;
1738
1738
  export declare function createPromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatJsonSchema, SDKValidationError>;
1739
1739
  /** @internal */
1740
- export declare const CreatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
1740
+ export declare const CreatePromptResponseFormat1$inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
1741
1741
  /** @internal */
1742
- export type CreatePromptResponseFormatPrompts1$Outbound = {
1742
+ export type CreatePromptResponseFormat1$Outbound = {
1743
1743
  type: string;
1744
1744
  json_schema: CreatePromptResponseFormatJsonSchema$Outbound;
1745
1745
  };
1746
1746
  /** @internal */
1747
- export declare const CreatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
1747
+ export declare const CreatePromptResponseFormat1$outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
1748
1748
  /**
1749
1749
  * @internal
1750
1750
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1751
1751
  */
1752
- export declare namespace CreatePromptResponseFormatPrompts1$ {
1753
- /** @deprecated use `CreatePromptResponseFormatPrompts1$inboundSchema` instead. */
1754
- const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
1755
- /** @deprecated use `CreatePromptResponseFormatPrompts1$outboundSchema` instead. */
1756
- const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
1757
- /** @deprecated use `CreatePromptResponseFormatPrompts1$Outbound` instead. */
1758
- type Outbound = CreatePromptResponseFormatPrompts1$Outbound;
1752
+ export declare namespace CreatePromptResponseFormat1$ {
1753
+ /** @deprecated use `CreatePromptResponseFormat1$inboundSchema` instead. */
1754
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
1755
+ /** @deprecated use `CreatePromptResponseFormat1$outboundSchema` instead. */
1756
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
1757
+ /** @deprecated use `CreatePromptResponseFormat1$Outbound` instead. */
1758
+ type Outbound = CreatePromptResponseFormat1$Outbound;
1759
1759
  }
1760
- export declare function createPromptResponseFormatPrompts1ToJSON(createPromptResponseFormatPrompts1: CreatePromptResponseFormatPrompts1): string;
1761
- export declare function createPromptResponseFormatPrompts1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts1, SDKValidationError>;
1760
+ export declare function createPromptResponseFormat1ToJSON(createPromptResponseFormat1: CreatePromptResponseFormat1): string;
1761
+ export declare function createPromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat1, SDKValidationError>;
1762
1762
  /** @internal */
1763
- export declare const CreatePromptPromptsResponseFormat$inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
1763
+ export declare const CreatePromptResponseFormat$inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
1764
1764
  /** @internal */
1765
- export type CreatePromptPromptsResponseFormat$Outbound = CreatePromptResponseFormatPrompts2$Outbound | CreatePromptResponseFormatPrompts1$Outbound;
1765
+ export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound;
1766
1766
  /** @internal */
1767
- export declare const CreatePromptPromptsResponseFormat$outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
1767
+ export declare const CreatePromptResponseFormat$outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
1768
1768
  /**
1769
1769
  * @internal
1770
1770
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1771
1771
  */
1772
- export declare namespace CreatePromptPromptsResponseFormat$ {
1773
- /** @deprecated use `CreatePromptPromptsResponseFormat$inboundSchema` instead. */
1774
- const inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
1775
- /** @deprecated use `CreatePromptPromptsResponseFormat$outboundSchema` instead. */
1776
- const outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
1777
- /** @deprecated use `CreatePromptPromptsResponseFormat$Outbound` instead. */
1778
- type Outbound = CreatePromptPromptsResponseFormat$Outbound;
1772
+ export declare namespace CreatePromptResponseFormat$ {
1773
+ /** @deprecated use `CreatePromptResponseFormat$inboundSchema` instead. */
1774
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
1775
+ /** @deprecated use `CreatePromptResponseFormat$outboundSchema` instead. */
1776
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
1777
+ /** @deprecated use `CreatePromptResponseFormat$Outbound` instead. */
1778
+ type Outbound = CreatePromptResponseFormat$Outbound;
1779
1779
  }
1780
- export declare function createPromptPromptsResponseFormatToJSON(createPromptPromptsResponseFormat: CreatePromptPromptsResponseFormat): string;
1781
- export declare function createPromptPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsResponseFormat, SDKValidationError>;
1780
+ export declare function createPromptResponseFormatToJSON(createPromptResponseFormat: CreatePromptResponseFormat): string;
1781
+ export declare function createPromptResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat, SDKValidationError>;
1782
1782
  /** @internal */
1783
- export declare const CreatePromptPromptsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsPhotoRealVersion>;
1783
+ export declare const CreatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
1784
1784
  /** @internal */
1785
- export declare const CreatePromptPromptsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsPhotoRealVersion>;
1785
+ export declare const CreatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
1786
1786
  /**
1787
1787
  * @internal
1788
1788
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1789
1789
  */
1790
- export declare namespace CreatePromptPromptsPhotoRealVersion$ {
1791
- /** @deprecated use `CreatePromptPromptsPhotoRealVersion$inboundSchema` instead. */
1790
+ export declare namespace CreatePromptPhotoRealVersion$ {
1791
+ /** @deprecated use `CreatePromptPhotoRealVersion$inboundSchema` instead. */
1792
1792
  const inboundSchema: z.ZodNativeEnum<{
1793
1793
  readonly V1: "v1";
1794
1794
  readonly V2: "v2";
1795
1795
  }>;
1796
- /** @deprecated use `CreatePromptPromptsPhotoRealVersion$outboundSchema` instead. */
1796
+ /** @deprecated use `CreatePromptPhotoRealVersion$outboundSchema` instead. */
1797
1797
  const outboundSchema: z.ZodNativeEnum<{
1798
1798
  readonly V1: "v1";
1799
1799
  readonly V2: "v2";
1800
1800
  }>;
1801
1801
  }
1802
1802
  /** @internal */
1803
- export declare const CreatePromptPromptsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsEncodingFormat>;
1803
+ export declare const CreatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
1804
1804
  /** @internal */
1805
- export declare const CreatePromptPromptsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsEncodingFormat>;
1805
+ export declare const CreatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
1806
1806
  /**
1807
1807
  * @internal
1808
1808
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1809
1809
  */
1810
- export declare namespace CreatePromptPromptsEncodingFormat$ {
1811
- /** @deprecated use `CreatePromptPromptsEncodingFormat$inboundSchema` instead. */
1810
+ export declare namespace CreatePromptEncodingFormat$ {
1811
+ /** @deprecated use `CreatePromptEncodingFormat$inboundSchema` instead. */
1812
1812
  const inboundSchema: z.ZodNativeEnum<{
1813
1813
  readonly Float: "float";
1814
1814
  readonly Base64: "base64";
1815
1815
  }>;
1816
- /** @deprecated use `CreatePromptPromptsEncodingFormat$outboundSchema` instead. */
1816
+ /** @deprecated use `CreatePromptEncodingFormat$outboundSchema` instead. */
1817
1817
  const outboundSchema: z.ZodNativeEnum<{
1818
1818
  readonly Float: "float";
1819
1819
  readonly Base64: "base64";
1820
1820
  }>;
1821
1821
  }
1822
1822
  /** @internal */
1823
- export declare const CreatePromptPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsReasoningEffort>;
1823
+ export declare const CreatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
1824
1824
  /** @internal */
1825
- export declare const CreatePromptPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsReasoningEffort>;
1825
+ export declare const CreatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
1826
1826
  /**
1827
1827
  * @internal
1828
1828
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1829
1829
  */
1830
- export declare namespace CreatePromptPromptsReasoningEffort$ {
1831
- /** @deprecated use `CreatePromptPromptsReasoningEffort$inboundSchema` instead. */
1830
+ export declare namespace CreatePromptReasoningEffort$ {
1831
+ /** @deprecated use `CreatePromptReasoningEffort$inboundSchema` instead. */
1832
1832
  const inboundSchema: z.ZodNativeEnum<{
1833
1833
  readonly Low: "low";
1834
1834
  readonly Medium: "medium";
1835
1835
  readonly High: "high";
1836
1836
  }>;
1837
- /** @deprecated use `CreatePromptPromptsReasoningEffort$outboundSchema` instead. */
1837
+ /** @deprecated use `CreatePromptReasoningEffort$outboundSchema` instead. */
1838
1838
  const outboundSchema: z.ZodNativeEnum<{
1839
1839
  readonly Low: "low";
1840
1840
  readonly Medium: "medium";
@@ -1842,9 +1842,9 @@ export declare namespace CreatePromptPromptsReasoningEffort$ {
1842
1842
  }>;
1843
1843
  }
1844
1844
  /** @internal */
1845
- export declare const CreatePromptPromptsModelParameters$inboundSchema: z.ZodType<CreatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
1845
+ export declare const CreatePromptModelParameters$inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
1846
1846
  /** @internal */
1847
- export type CreatePromptPromptsModelParameters$Outbound = {
1847
+ export type CreatePromptModelParameters$Outbound = {
1848
1848
  temperature?: number | undefined;
1849
1849
  maxTokens?: number | undefined;
1850
1850
  topK?: number | undefined;
@@ -1857,38 +1857,38 @@ export type CreatePromptPromptsModelParameters$Outbound = {
1857
1857
  dimensions?: string | undefined;
1858
1858
  quality?: string | undefined;
1859
1859
  style?: string | undefined;
1860
- responseFormat?: CreatePromptResponseFormatPrompts2$Outbound | CreatePromptResponseFormatPrompts1$Outbound | null | undefined;
1860
+ responseFormat?: CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound | null | undefined;
1861
1861
  photoRealVersion?: string | undefined;
1862
1862
  encoding_format?: string | undefined;
1863
1863
  reasoningEffort?: string | undefined;
1864
1864
  budgetTokens?: number | undefined;
1865
1865
  };
1866
1866
  /** @internal */
1867
- export declare const CreatePromptPromptsModelParameters$outboundSchema: z.ZodType<CreatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, CreatePromptPromptsModelParameters>;
1867
+ export declare const CreatePromptModelParameters$outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
1868
1868
  /**
1869
1869
  * @internal
1870
1870
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1871
1871
  */
1872
- export declare namespace CreatePromptPromptsModelParameters$ {
1873
- /** @deprecated use `CreatePromptPromptsModelParameters$inboundSchema` instead. */
1874
- const inboundSchema: z.ZodType<CreatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
1875
- /** @deprecated use `CreatePromptPromptsModelParameters$outboundSchema` instead. */
1876
- const outboundSchema: z.ZodType<CreatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, CreatePromptPromptsModelParameters>;
1877
- /** @deprecated use `CreatePromptPromptsModelParameters$Outbound` instead. */
1878
- type Outbound = CreatePromptPromptsModelParameters$Outbound;
1872
+ export declare namespace CreatePromptModelParameters$ {
1873
+ /** @deprecated use `CreatePromptModelParameters$inboundSchema` instead. */
1874
+ const inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
1875
+ /** @deprecated use `CreatePromptModelParameters$outboundSchema` instead. */
1876
+ const outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
1877
+ /** @deprecated use `CreatePromptModelParameters$Outbound` instead. */
1878
+ type Outbound = CreatePromptModelParameters$Outbound;
1879
1879
  }
1880
- export declare function createPromptPromptsModelParametersToJSON(createPromptPromptsModelParameters: CreatePromptPromptsModelParameters): string;
1881
- export declare function createPromptPromptsModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsModelParameters, SDKValidationError>;
1880
+ export declare function createPromptModelParametersToJSON(createPromptModelParameters: CreatePromptModelParameters): string;
1881
+ export declare function createPromptModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptModelParameters, SDKValidationError>;
1882
1882
  /** @internal */
1883
- export declare const CreatePromptPromptsProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsProvider>;
1883
+ export declare const CreatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
1884
1884
  /** @internal */
1885
- export declare const CreatePromptPromptsProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsProvider>;
1885
+ export declare const CreatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
1886
1886
  /**
1887
1887
  * @internal
1888
1888
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1889
1889
  */
1890
- export declare namespace CreatePromptPromptsProvider$ {
1891
- /** @deprecated use `CreatePromptPromptsProvider$inboundSchema` instead. */
1890
+ export declare namespace CreatePromptProvider$ {
1891
+ /** @deprecated use `CreatePromptProvider$inboundSchema` instead. */
1892
1892
  const inboundSchema: z.ZodNativeEnum<{
1893
1893
  readonly Cohere: "cohere";
1894
1894
  readonly Openai: "openai";
@@ -1909,7 +1909,7 @@ export declare namespace CreatePromptPromptsProvider$ {
1909
1909
  readonly Togetherai: "togetherai";
1910
1910
  readonly Elevenlabs: "elevenlabs";
1911
1911
  }>;
1912
- /** @deprecated use `CreatePromptPromptsProvider$outboundSchema` instead. */
1912
+ /** @deprecated use `CreatePromptProvider$outboundSchema` instead. */
1913
1913
  const outboundSchema: z.ZodNativeEnum<{
1914
1914
  readonly Cohere: "cohere";
1915
1915
  readonly Openai: "openai";
@@ -2200,45 +2200,45 @@ export declare namespace CreatePromptPromptsMessages$ {
2200
2200
  export declare function createPromptPromptsMessagesToJSON(createPromptPromptsMessages: CreatePromptPromptsMessages): string;
2201
2201
  export declare function createPromptPromptsMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsMessages, SDKValidationError>;
2202
2202
  /** @internal */
2203
- export declare const CreatePromptPromptsPromptConfig$inboundSchema: z.ZodType<CreatePromptPromptsPromptConfig, z.ZodTypeDef, unknown>;
2203
+ export declare const CreatePromptPromptConfig$inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
2204
2204
  /** @internal */
2205
- export type CreatePromptPromptsPromptConfig$Outbound = {
2205
+ export type CreatePromptPromptConfig$Outbound = {
2206
2206
  stream?: boolean | undefined;
2207
2207
  model?: string | undefined;
2208
2208
  model_db_id?: string | undefined;
2209
2209
  model_type?: string | undefined;
2210
- model_parameters?: CreatePromptPromptsModelParameters$Outbound | undefined;
2210
+ model_parameters?: CreatePromptModelParameters$Outbound | undefined;
2211
2211
  provider?: string | undefined;
2212
2212
  integration_id?: string | null | undefined;
2213
2213
  version?: string | undefined;
2214
2214
  messages: Array<CreatePromptPromptsMessages$Outbound>;
2215
2215
  };
2216
2216
  /** @internal */
2217
- export declare const CreatePromptPromptsPromptConfig$outboundSchema: z.ZodType<CreatePromptPromptsPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptsPromptConfig>;
2217
+ export declare const CreatePromptPromptConfig$outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
2218
2218
  /**
2219
2219
  * @internal
2220
2220
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2221
2221
  */
2222
- export declare namespace CreatePromptPromptsPromptConfig$ {
2223
- /** @deprecated use `CreatePromptPromptsPromptConfig$inboundSchema` instead. */
2224
- const inboundSchema: z.ZodType<CreatePromptPromptsPromptConfig, z.ZodTypeDef, unknown>;
2225
- /** @deprecated use `CreatePromptPromptsPromptConfig$outboundSchema` instead. */
2226
- const outboundSchema: z.ZodType<CreatePromptPromptsPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptsPromptConfig>;
2227
- /** @deprecated use `CreatePromptPromptsPromptConfig$Outbound` instead. */
2228
- type Outbound = CreatePromptPromptsPromptConfig$Outbound;
2222
+ export declare namespace CreatePromptPromptConfig$ {
2223
+ /** @deprecated use `CreatePromptPromptConfig$inboundSchema` instead. */
2224
+ const inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
2225
+ /** @deprecated use `CreatePromptPromptConfig$outboundSchema` instead. */
2226
+ const outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
2227
+ /** @deprecated use `CreatePromptPromptConfig$Outbound` instead. */
2228
+ type Outbound = CreatePromptPromptConfig$Outbound;
2229
2229
  }
2230
- export declare function createPromptPromptsPromptConfigToJSON(createPromptPromptsPromptConfig: CreatePromptPromptsPromptConfig): string;
2231
- export declare function createPromptPromptsPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsPromptConfig, SDKValidationError>;
2230
+ export declare function createPromptPromptConfigToJSON(createPromptPromptConfig: CreatePromptPromptConfig): string;
2231
+ export declare function createPromptPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptConfig, SDKValidationError>;
2232
2232
  /** @internal */
2233
- export declare const CreatePromptPromptsUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsUseCases>;
2233
+ export declare const CreatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
2234
2234
  /** @internal */
2235
- export declare const CreatePromptPromptsUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsUseCases>;
2235
+ export declare const CreatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
2236
2236
  /**
2237
2237
  * @internal
2238
2238
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2239
2239
  */
2240
- export declare namespace CreatePromptPromptsUseCases$ {
2241
- /** @deprecated use `CreatePromptPromptsUseCases$inboundSchema` instead. */
2240
+ export declare namespace CreatePromptUseCases$ {
2241
+ /** @deprecated use `CreatePromptUseCases$inboundSchema` instead. */
2242
2242
  const inboundSchema: z.ZodNativeEnum<{
2243
2243
  readonly Agents: "Agents";
2244
2244
  readonly AgentsSimulations: "Agents simulations";
@@ -2257,7 +2257,7 @@ export declare namespace CreatePromptPromptsUseCases$ {
2257
2257
  readonly Summarization: "Summarization";
2258
2258
  readonly Tagging: "Tagging";
2259
2259
  }>;
2260
- /** @deprecated use `CreatePromptPromptsUseCases$outboundSchema` instead. */
2260
+ /** @deprecated use `CreatePromptUseCases$outboundSchema` instead. */
2261
2261
  const outboundSchema: z.ZodNativeEnum<{
2262
2262
  readonly Agents: "Agents";
2263
2263
  readonly AgentsSimulations: "Agents simulations";
@@ -2278,15 +2278,15 @@ export declare namespace CreatePromptPromptsUseCases$ {
2278
2278
  }>;
2279
2279
  }
2280
2280
  /** @internal */
2281
- export declare const CreatePromptPromptsLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsLanguage>;
2281
+ export declare const CreatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
2282
2282
  /** @internal */
2283
- export declare const CreatePromptPromptsLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsLanguage>;
2283
+ export declare const CreatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
2284
2284
  /**
2285
2285
  * @internal
2286
2286
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2287
2287
  */
2288
- export declare namespace CreatePromptPromptsLanguage$ {
2289
- /** @deprecated use `CreatePromptPromptsLanguage$inboundSchema` instead. */
2288
+ export declare namespace CreatePromptLanguage$ {
2289
+ /** @deprecated use `CreatePromptLanguage$inboundSchema` instead. */
2290
2290
  const inboundSchema: z.ZodNativeEnum<{
2291
2291
  readonly Chinese: "Chinese";
2292
2292
  readonly Dutch: "Dutch";
@@ -2296,7 +2296,7 @@ export declare namespace CreatePromptPromptsLanguage$ {
2296
2296
  readonly Russian: "Russian";
2297
2297
  readonly Spanish: "Spanish";
2298
2298
  }>;
2299
- /** @deprecated use `CreatePromptPromptsLanguage$outboundSchema` instead. */
2299
+ /** @deprecated use `CreatePromptLanguage$outboundSchema` instead. */
2300
2300
  const outboundSchema: z.ZodNativeEnum<{
2301
2301
  readonly Chinese: "Chinese";
2302
2302
  readonly Dutch: "Dutch";
@@ -2344,7 +2344,7 @@ export type CreatePromptResponseBody$Outbound = {
2344
2344
  updated_by_id?: string | null | undefined;
2345
2345
  display_name: string;
2346
2346
  description?: string | null | undefined;
2347
- prompt_config: CreatePromptPromptsPromptConfig$Outbound;
2347
+ prompt_config: CreatePromptPromptConfig$Outbound;
2348
2348
  metadata?: CreatePromptPromptsMetadata$Outbound | undefined;
2349
2349
  };
2350
2350
  /** @internal */