@orq-ai/node 3.2.0-rc.13 → 3.2.0-rc.14

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