@orq-ai/node 3.1.3 → 3.1.4

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 (149) hide show
  1. package/README.md +8 -23
  2. package/docs/sdks/files/README.md +8 -8
  3. package/docs/sdks/{remoteconfig → remoteconfigs}/README.md +8 -8
  4. package/funcs/{filesUpload.d.ts → filesCreate.d.ts} +3 -3
  5. package/funcs/{filesUpload.d.ts.map → filesCreate.d.ts.map} +1 -1
  6. package/funcs/{filesUpload.js → filesCreate.js} +4 -4
  7. package/funcs/{filesUpload.js.map → filesCreate.js.map} +1 -1
  8. package/funcs/filesGet.d.ts +4 -1
  9. package/funcs/filesGet.d.ts.map +1 -1
  10. package/funcs/filesGet.js +4 -1
  11. package/funcs/filesGet.js.map +1 -1
  12. package/funcs/filesList.d.ts +3 -0
  13. package/funcs/filesList.d.ts.map +1 -1
  14. package/funcs/filesList.js +5 -3
  15. package/funcs/filesList.js.map +1 -1
  16. package/funcs/{remoteconfigGetConfig.d.ts → remoteconfigsRetrieve.d.ts} +3 -3
  17. package/funcs/{remoteconfigGetConfig.d.ts.map → remoteconfigsRetrieve.d.ts.map} +1 -1
  18. package/funcs/{remoteconfigGetConfig.js → remoteconfigsRetrieve.js} +4 -4
  19. package/funcs/{remoteconfigGetConfig.js.map → remoteconfigsRetrieve.js.map} +1 -1
  20. package/jsr.json +1 -1
  21. package/lib/config.d.ts +2 -2
  22. package/lib/config.js +2 -2
  23. package/models/errors/index.d.ts +0 -1
  24. package/models/errors/index.d.ts.map +1 -1
  25. package/models/errors/index.js +0 -1
  26. package/models/errors/index.js.map +1 -1
  27. package/models/operations/createcontact.js +2 -2
  28. package/models/operations/createprompt.d.ts +348 -348
  29. package/models/operations/createprompt.d.ts.map +1 -1
  30. package/models/operations/createprompt.js +486 -483
  31. package/models/operations/createprompt.js.map +1 -1
  32. package/models/operations/fileget.js +2 -2
  33. package/models/operations/filelist.d.ts +13 -6
  34. package/models/operations/filelist.d.ts.map +1 -1
  35. package/models/operations/filelist.js +18 -10
  36. package/models/operations/filelist.js.map +1 -1
  37. package/models/operations/fileupload.js +2 -2
  38. package/models/operations/index.d.ts +0 -6
  39. package/models/operations/index.d.ts.map +1 -1
  40. package/models/operations/index.js +0 -6
  41. package/models/operations/index.js.map +1 -1
  42. package/models/operations/updateprompt.d.ts +30 -30
  43. package/models/operations/updateprompt.d.ts.map +1 -1
  44. package/models/operations/updateprompt.js +38 -38
  45. package/models/operations/updateprompt.js.map +1 -1
  46. package/package.json +1 -1
  47. package/sdk/files.d.ts +9 -3
  48. package/sdk/files.d.ts.map +1 -1
  49. package/sdk/files.js +11 -5
  50. package/sdk/files.js.map +1 -1
  51. package/sdk/remoteconfigs.d.ts +9 -0
  52. package/sdk/remoteconfigs.d.ts.map +1 -0
  53. package/sdk/remoteconfigs.js +19 -0
  54. package/sdk/remoteconfigs.js.map +1 -0
  55. package/sdk/sdk.d.ts +3 -6
  56. package/sdk/sdk.d.ts.map +1 -1
  57. package/sdk/sdk.js +3 -7
  58. package/sdk/sdk.js.map +1 -1
  59. package/src/funcs/{filesUpload.ts → filesCreate.ts} +2 -2
  60. package/src/funcs/filesGet.ts +4 -1
  61. package/src/funcs/filesList.ts +5 -3
  62. package/src/funcs/{remoteconfigGetConfig.ts → remoteconfigsRetrieve.ts} +2 -2
  63. package/src/lib/config.ts +2 -2
  64. package/src/models/errors/index.ts +0 -1
  65. package/src/models/operations/createcontact.ts +2 -2
  66. package/src/models/operations/createprompt.ts +668 -770
  67. package/src/models/operations/fileget.ts +2 -2
  68. package/src/models/operations/filelist.ts +31 -16
  69. package/src/models/operations/fileupload.ts +2 -2
  70. package/src/models/operations/index.ts +0 -6
  71. package/src/models/operations/updateprompt.ts +64 -81
  72. package/src/sdk/files.ts +11 -5
  73. package/src/sdk/{remoteconfig.ts → remoteconfigs.ts} +5 -5
  74. package/src/sdk/sdk.ts +4 -10
  75. package/docs/sdks/promptsnippets/README.md +0 -488
  76. package/funcs/promptSnippetsCreate.d.ts +0 -12
  77. package/funcs/promptSnippetsCreate.d.ts.map +0 -1
  78. package/funcs/promptSnippetsCreate.js +0 -106
  79. package/funcs/promptSnippetsCreate.js.map +0 -1
  80. package/funcs/promptSnippetsDelete.d.ts +0 -12
  81. package/funcs/promptSnippetsDelete.d.ts.map +0 -1
  82. package/funcs/promptSnippetsDelete.js +0 -110
  83. package/funcs/promptSnippetsDelete.js.map +0 -1
  84. package/funcs/promptSnippetsGet.d.ts +0 -12
  85. package/funcs/promptSnippetsGet.d.ts.map +0 -1
  86. package/funcs/promptSnippetsGet.js +0 -109
  87. package/funcs/promptSnippetsGet.js.map +0 -1
  88. package/funcs/promptSnippetsGetByKey.d.ts +0 -12
  89. package/funcs/promptSnippetsGetByKey.d.ts.map +0 -1
  90. package/funcs/promptSnippetsGetByKey.js +0 -109
  91. package/funcs/promptSnippetsGetByKey.js.map +0 -1
  92. package/funcs/promptSnippetsList.d.ts +0 -12
  93. package/funcs/promptSnippetsList.d.ts.map +0 -1
  94. package/funcs/promptSnippetsList.js +0 -109
  95. package/funcs/promptSnippetsList.js.map +0 -1
  96. package/funcs/promptSnippetsUpdate.d.ts +0 -13
  97. package/funcs/promptSnippetsUpdate.d.ts.map +0 -1
  98. package/funcs/promptSnippetsUpdate.js +0 -114
  99. package/funcs/promptSnippetsUpdate.js.map +0 -1
  100. package/models/errors/updatepromptsnippet.d.ts +0 -36
  101. package/models/errors/updatepromptsnippet.d.ts.map +0 -1
  102. package/models/errors/updatepromptsnippet.js +0 -79
  103. package/models/errors/updatepromptsnippet.js.map +0 -1
  104. package/models/operations/createpromptsnippet.d.ts +0 -3567
  105. package/models/operations/createpromptsnippet.d.ts.map +0 -1
  106. package/models/operations/createpromptsnippet.js +0 -3056
  107. package/models/operations/createpromptsnippet.js.map +0 -1
  108. package/models/operations/deletepromptsnippet.d.ts +0 -32
  109. package/models/operations/deletepromptsnippet.d.ts.map +0 -1
  110. package/models/operations/deletepromptsnippet.js +0 -69
  111. package/models/operations/deletepromptsnippet.js.map +0 -1
  112. package/models/operations/findonebykeypromptsnippet.d.ts +0 -2448
  113. package/models/operations/findonebykeypromptsnippet.d.ts.map +0 -1
  114. package/models/operations/findonebykeypromptsnippet.js +0 -2133
  115. package/models/operations/findonebykeypromptsnippet.js.map +0 -1
  116. package/models/operations/findonepromptsnippet.d.ts +0 -2448
  117. package/models/operations/findonepromptsnippet.d.ts.map +0 -1
  118. package/models/operations/findonepromptsnippet.js +0 -2124
  119. package/models/operations/findonepromptsnippet.js.map +0 -1
  120. package/models/operations/getallpromptsnippets.d.ts +0 -2512
  121. package/models/operations/getallpromptsnippets.d.ts.map +0 -1
  122. package/models/operations/getallpromptsnippets.js +0 -2195
  123. package/models/operations/getallpromptsnippets.js.map +0 -1
  124. package/models/operations/updatepromptsnippet.d.ts +0 -3595
  125. package/models/operations/updatepromptsnippet.d.ts.map +0 -1
  126. package/models/operations/updatepromptsnippet.js +0 -3116
  127. package/models/operations/updatepromptsnippet.js.map +0 -1
  128. package/sdk/promptsnippets.d.ts +0 -29
  129. package/sdk/promptsnippets.d.ts.map +0 -1
  130. package/sdk/promptsnippets.js +0 -54
  131. package/sdk/promptsnippets.js.map +0 -1
  132. package/sdk/remoteconfig.d.ts +0 -9
  133. package/sdk/remoteconfig.d.ts.map +0 -1
  134. package/sdk/remoteconfig.js +0 -19
  135. package/sdk/remoteconfig.js.map +0 -1
  136. package/src/funcs/promptSnippetsCreate.ts +0 -128
  137. package/src/funcs/promptSnippetsDelete.ts +0 -131
  138. package/src/funcs/promptSnippetsGet.ts +0 -130
  139. package/src/funcs/promptSnippetsGetByKey.ts +0 -132
  140. package/src/funcs/promptSnippetsList.ts +0 -132
  141. package/src/funcs/promptSnippetsUpdate.ts +0 -139
  142. package/src/models/errors/updatepromptsnippet.ts +0 -71
  143. package/src/models/operations/createpromptsnippet.ts +0 -6239
  144. package/src/models/operations/deletepromptsnippet.ts +0 -69
  145. package/src/models/operations/findonebykeypromptsnippet.ts +0 -4483
  146. package/src/models/operations/findonepromptsnippet.ts +0 -4343
  147. package/src/models/operations/getallpromptsnippets.ts +0 -4472
  148. package/src/models/operations/updatepromptsnippet.ts +0 -6544
  149. package/src/sdk/promptsnippets.ts +0 -99
@@ -5,7 +5,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
5
  /**
6
6
  * The type of the model
7
7
  */
8
- export declare const CreatePromptModelType: {
8
+ export declare const ModelType: {
9
9
  readonly Chat: "chat";
10
10
  readonly Completion: "completion";
11
11
  readonly Embedding: "embedding";
@@ -19,11 +19,11 @@ export declare const CreatePromptModelType: {
19
19
  /**
20
20
  * The type of the model
21
21
  */
22
- export type CreatePromptModelType = ClosedEnum<typeof CreatePromptModelType>;
22
+ export type ModelType = ClosedEnum<typeof ModelType>;
23
23
  /**
24
24
  * Only supported on `image` models.
25
25
  */
26
- export declare const CreatePromptFormat: {
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 CreatePromptFormat: {
32
32
  /**
33
33
  * Only supported on `image` models.
34
34
  */
35
- export type CreatePromptFormat = ClosedEnum<typeof CreatePromptFormat>;
35
+ export type Format = ClosedEnum<typeof Format>;
36
36
  /**
37
37
  * Only supported on `image` models.
38
38
  */
39
- export declare const CreatePromptQuality: {
39
+ export declare const Quality: {
40
40
  readonly Standard: "standard";
41
41
  readonly Hd: "hd";
42
42
  };
43
43
  /**
44
44
  * Only supported on `image` models.
45
45
  */
46
- export type CreatePromptQuality = ClosedEnum<typeof CreatePromptQuality>;
47
- export declare const CreatePromptResponseFormatPromptsType: {
46
+ export type Quality = ClosedEnum<typeof Quality>;
47
+ export declare const CreatePromptResponseFormatType: {
48
48
  readonly JsonObject: "json_object";
49
49
  };
50
- export type CreatePromptResponseFormatPromptsType = ClosedEnum<typeof CreatePromptResponseFormatPromptsType>;
51
- export type CreatePromptResponseFormat2 = {
52
- type: CreatePromptResponseFormatPromptsType;
50
+ export type CreatePromptResponseFormatType = ClosedEnum<typeof CreatePromptResponseFormatType>;
51
+ export type ResponseFormat2 = {
52
+ type: CreatePromptResponseFormatType;
53
53
  };
54
- export declare const CreatePromptResponseFormatType: {
54
+ export declare const ResponseFormatType: {
55
55
  readonly JsonSchema: "json_schema";
56
56
  };
57
- export type CreatePromptResponseFormatType = ClosedEnum<typeof CreatePromptResponseFormatType>;
58
- export type CreatePromptResponseFormatJsonSchema = {
57
+ export type ResponseFormatType = ClosedEnum<typeof ResponseFormatType>;
58
+ export type JsonSchema = {
59
59
  name: string;
60
60
  strict: boolean;
61
61
  schema: {
62
62
  [k: string]: any;
63
63
  };
64
64
  };
65
- export type CreatePromptResponseFormat1 = {
66
- type: CreatePromptResponseFormatType;
67
- jsonSchema: CreatePromptResponseFormatJsonSchema;
65
+ export type ResponseFormat1 = {
66
+ type: ResponseFormatType;
67
+ jsonSchema: JsonSchema;
68
68
  };
69
69
  /**
70
70
  * An object specifying the format that the model must output.
@@ -77,33 +77,33 @@ export type CreatePromptResponseFormat1 = {
77
77
  *
78
78
  * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
79
79
  */
80
- export type CreatePromptResponseFormat = CreatePromptResponseFormat2 | CreatePromptResponseFormat1;
80
+ export type ResponseFormat = ResponseFormat2 | ResponseFormat1;
81
81
  /**
82
82
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
83
83
  */
84
- export declare const CreatePromptPhotoRealVersion: {
84
+ export declare const PhotoRealVersion: {
85
85
  readonly V1: "v1";
86
86
  readonly V2: "v2";
87
87
  };
88
88
  /**
89
89
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
90
90
  */
91
- export type CreatePromptPhotoRealVersion = ClosedEnum<typeof CreatePromptPhotoRealVersion>;
91
+ export type PhotoRealVersion = ClosedEnum<typeof PhotoRealVersion>;
92
92
  /**
93
93
  * The format to return the embeddings
94
94
  */
95
- export declare const CreatePromptEncodingFormat: {
95
+ export declare const EncodingFormat: {
96
96
  readonly Float: "float";
97
97
  readonly Base64: "base64";
98
98
  };
99
99
  /**
100
100
  * The format to return the embeddings
101
101
  */
102
- export type CreatePromptEncodingFormat = ClosedEnum<typeof CreatePromptEncodingFormat>;
102
+ export type EncodingFormat = ClosedEnum<typeof EncodingFormat>;
103
103
  /**
104
104
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
105
105
  */
106
- export declare const CreatePromptReasoningEffort: {
106
+ export declare const ReasoningEffort: {
107
107
  readonly Low: "low";
108
108
  readonly Medium: "medium";
109
109
  readonly High: "high";
@@ -111,11 +111,11 @@ export declare const CreatePromptReasoningEffort: {
111
111
  /**
112
112
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
113
113
  */
114
- export type CreatePromptReasoningEffort = ClosedEnum<typeof CreatePromptReasoningEffort>;
114
+ export type ReasoningEffort = ClosedEnum<typeof ReasoningEffort>;
115
115
  /**
116
116
  * Model Parameters: Not all parameters apply to every model
117
117
  */
118
- export type CreatePromptModelParameters = {
118
+ export type ModelParameters = {
119
119
  /**
120
120
  * Only supported on `chat` and `completion` models.
121
121
  */
@@ -151,7 +151,7 @@ export type CreatePromptModelParameters = {
151
151
  /**
152
152
  * Only supported on `image` models.
153
153
  */
154
- format?: CreatePromptFormat | undefined;
154
+ format?: Format | undefined;
155
155
  /**
156
156
  * Only supported on `image` models.
157
157
  */
@@ -159,7 +159,7 @@ export type CreatePromptModelParameters = {
159
159
  /**
160
160
  * Only supported on `image` models.
161
161
  */
162
- quality?: CreatePromptQuality | undefined;
162
+ quality?: Quality | undefined;
163
163
  /**
164
164
  * Only supported on `image` models.
165
165
  */
@@ -175,21 +175,21 @@ export type CreatePromptModelParameters = {
175
175
  *
176
176
  * Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
177
177
  */
178
- responseFormat?: CreatePromptResponseFormat2 | CreatePromptResponseFormat1 | null | undefined;
178
+ responseFormat?: ResponseFormat2 | ResponseFormat1 | null | undefined;
179
179
  /**
180
180
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
181
181
  */
182
- photoRealVersion?: CreatePromptPhotoRealVersion | undefined;
182
+ photoRealVersion?: PhotoRealVersion | undefined;
183
183
  /**
184
184
  * The format to return the embeddings
185
185
  */
186
- encodingFormat?: CreatePromptEncodingFormat | undefined;
186
+ encodingFormat?: EncodingFormat | undefined;
187
187
  /**
188
188
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
189
189
  */
190
- reasoningEffort?: CreatePromptReasoningEffort | undefined;
190
+ reasoningEffort?: ReasoningEffort | undefined;
191
191
  };
192
- export declare const CreatePromptProvider: {
192
+ export declare const Provider: {
193
193
  readonly Cohere: "cohere";
194
194
  readonly Openai: "openai";
195
195
  readonly Anthropic: "anthropic";
@@ -209,7 +209,7 @@ export declare const CreatePromptProvider: {
209
209
  readonly Togetherai: "togetherai";
210
210
  readonly Elevenlabs: "elevenlabs";
211
211
  };
212
- export type CreatePromptProvider = ClosedEnum<typeof CreatePromptProvider>;
212
+ export type Provider = ClosedEnum<typeof Provider>;
213
213
  /**
214
214
  * The role of the prompt message
215
215
  */
@@ -295,22 +295,22 @@ export type CreatePromptMessages = {
295
295
  /**
296
296
  * A list of messages compatible with the openAI schema
297
297
  */
298
- export type CreatePromptPromptConfig = {
298
+ export type PromptConfig = {
299
299
  stream?: boolean | undefined;
300
300
  model?: string | undefined;
301
301
  /**
302
302
  * The type of the model
303
303
  */
304
- modelType?: CreatePromptModelType | undefined;
304
+ modelType?: ModelType | undefined;
305
305
  /**
306
306
  * Model Parameters: Not all parameters apply to every model
307
307
  */
308
- modelParameters?: CreatePromptModelParameters | undefined;
309
- provider?: CreatePromptProvider | undefined;
308
+ modelParameters?: ModelParameters | undefined;
309
+ provider?: Provider | undefined;
310
310
  version?: string | undefined;
311
311
  messages: Array<CreatePromptMessages>;
312
312
  };
313
- export declare const CreatePromptUseCases: {
313
+ export declare const UseCases: {
314
314
  readonly Agents: "Agents";
315
315
  readonly AgentsSimulations: "Agents simulations";
316
316
  readonly APIInteraction: "API interaction";
@@ -328,11 +328,11 @@ export declare const CreatePromptUseCases: {
328
328
  readonly Summarization: "Summarization";
329
329
  readonly Tagging: "Tagging";
330
330
  };
331
- export type CreatePromptUseCases = ClosedEnum<typeof CreatePromptUseCases>;
331
+ export type UseCases = ClosedEnum<typeof UseCases>;
332
332
  /**
333
333
  * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
334
334
  */
335
- export declare const CreatePromptLanguage: {
335
+ export declare const Language: {
336
336
  readonly Chinese: "Chinese";
337
337
  readonly Dutch: "Dutch";
338
338
  readonly English: "English";
@@ -344,16 +344,16 @@ export declare const CreatePromptLanguage: {
344
344
  /**
345
345
  * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
346
346
  */
347
- export type CreatePromptLanguage = ClosedEnum<typeof CreatePromptLanguage>;
347
+ export type Language = ClosedEnum<typeof Language>;
348
348
  export type CreatePromptMetadata = {
349
349
  /**
350
350
  * 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
351
351
  */
352
- useCases?: Array<CreatePromptUseCases> | undefined;
352
+ useCases?: Array<UseCases> | undefined;
353
353
  /**
354
354
  * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
355
355
  */
356
- language?: CreatePromptLanguage | undefined;
356
+ language?: Language | undefined;
357
357
  };
358
358
  export type CreatePromptRequestBody = {
359
359
  /**
@@ -367,7 +367,7 @@ export type CreatePromptRequestBody = {
367
367
  /**
368
368
  * A list of messages compatible with the openAI schema
369
369
  */
370
- promptConfig: CreatePromptPromptConfig;
370
+ promptConfig: PromptConfig;
371
371
  metadata?: CreatePromptMetadata | undefined;
372
372
  /**
373
373
  * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
@@ -381,7 +381,7 @@ export type CreatePromptPromptsType = ClosedEnum<typeof CreatePromptPromptsType>
381
381
  /**
382
382
  * The type of the model
383
383
  */
384
- export declare const CreatePromptPromptsModelType: {
384
+ export declare const CreatePromptModelType: {
385
385
  readonly Chat: "chat";
386
386
  readonly Completion: "completion";
387
387
  readonly Embedding: "embedding";
@@ -395,11 +395,11 @@ export declare const CreatePromptPromptsModelType: {
395
395
  /**
396
396
  * The type of the model
397
397
  */
398
- export type CreatePromptPromptsModelType = ClosedEnum<typeof CreatePromptPromptsModelType>;
398
+ export type CreatePromptModelType = ClosedEnum<typeof CreatePromptModelType>;
399
399
  /**
400
400
  * Only supported on `image` models.
401
401
  */
402
- export declare const CreatePromptPromptsFormat: {
402
+ export declare const CreatePromptFormat: {
403
403
  readonly Url: "url";
404
404
  readonly B64Json: "b64_json";
405
405
  readonly Text: "text";
@@ -408,39 +408,39 @@ export declare const CreatePromptPromptsFormat: {
408
408
  /**
409
409
  * Only supported on `image` models.
410
410
  */
411
- export type CreatePromptPromptsFormat = ClosedEnum<typeof CreatePromptPromptsFormat>;
411
+ export type CreatePromptFormat = ClosedEnum<typeof CreatePromptFormat>;
412
412
  /**
413
413
  * Only supported on `image` models.
414
414
  */
415
- export declare const CreatePromptPromptsQuality: {
415
+ export declare const CreatePromptQuality: {
416
416
  readonly Standard: "standard";
417
417
  readonly Hd: "hd";
418
418
  };
419
419
  /**
420
420
  * Only supported on `image` models.
421
421
  */
422
- export type CreatePromptPromptsQuality = ClosedEnum<typeof CreatePromptPromptsQuality>;
423
- export declare const CreatePromptResponseFormatPromptsResponse200Type: {
422
+ export type CreatePromptQuality = ClosedEnum<typeof CreatePromptQuality>;
423
+ export declare const CreatePromptResponseFormatPromptsResponseType: {
424
424
  readonly JsonObject: "json_object";
425
425
  };
426
- export type CreatePromptResponseFormatPromptsResponse200Type = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
427
- export type CreatePromptResponseFormatPrompts2 = {
428
- type: CreatePromptResponseFormatPromptsResponse200Type;
426
+ export type CreatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
427
+ export type CreatePromptResponseFormat2 = {
428
+ type: CreatePromptResponseFormatPromptsResponseType;
429
429
  };
430
- export declare const CreatePromptResponseFormatPromptsResponseType: {
430
+ export declare const CreatePromptResponseFormatPromptsType: {
431
431
  readonly JsonSchema: "json_schema";
432
432
  };
433
- export type CreatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
434
- export type CreatePromptResponseFormatPromptsJsonSchema = {
433
+ export type CreatePromptResponseFormatPromptsType = ClosedEnum<typeof CreatePromptResponseFormatPromptsType>;
434
+ export type CreatePromptResponseFormatJsonSchema = {
435
435
  name: string;
436
436
  strict: boolean;
437
437
  schema: {
438
438
  [k: string]: any;
439
439
  };
440
440
  };
441
- export type CreatePromptResponseFormatPrompts1 = {
442
- type: CreatePromptResponseFormatPromptsResponseType;
443
- jsonSchema: CreatePromptResponseFormatPromptsJsonSchema;
441
+ export type CreatePromptResponseFormat1 = {
442
+ type: CreatePromptResponseFormatPromptsType;
443
+ jsonSchema: CreatePromptResponseFormatJsonSchema;
444
444
  };
445
445
  /**
446
446
  * An object specifying the format that the model must output.
@@ -453,33 +453,33 @@ export type CreatePromptResponseFormatPrompts1 = {
453
453
  *
454
454
  * 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.
455
455
  */
456
- export type CreatePromptPromptsResponseFormat = CreatePromptResponseFormatPrompts2 | CreatePromptResponseFormatPrompts1;
456
+ export type CreatePromptResponseFormat = CreatePromptResponseFormat2 | CreatePromptResponseFormat1;
457
457
  /**
458
458
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
459
459
  */
460
- export declare const CreatePromptPromptsPhotoRealVersion: {
460
+ export declare const CreatePromptPhotoRealVersion: {
461
461
  readonly V1: "v1";
462
462
  readonly V2: "v2";
463
463
  };
464
464
  /**
465
465
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
466
466
  */
467
- export type CreatePromptPromptsPhotoRealVersion = ClosedEnum<typeof CreatePromptPromptsPhotoRealVersion>;
467
+ export type CreatePromptPhotoRealVersion = ClosedEnum<typeof CreatePromptPhotoRealVersion>;
468
468
  /**
469
469
  * The format to return the embeddings
470
470
  */
471
- export declare const CreatePromptPromptsEncodingFormat: {
471
+ export declare const CreatePromptEncodingFormat: {
472
472
  readonly Float: "float";
473
473
  readonly Base64: "base64";
474
474
  };
475
475
  /**
476
476
  * The format to return the embeddings
477
477
  */
478
- export type CreatePromptPromptsEncodingFormat = ClosedEnum<typeof CreatePromptPromptsEncodingFormat>;
478
+ export type CreatePromptEncodingFormat = ClosedEnum<typeof CreatePromptEncodingFormat>;
479
479
  /**
480
480
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
481
481
  */
482
- export declare const CreatePromptPromptsReasoningEffort: {
482
+ export declare const CreatePromptReasoningEffort: {
483
483
  readonly Low: "low";
484
484
  readonly Medium: "medium";
485
485
  readonly High: "high";
@@ -487,11 +487,11 @@ export declare const CreatePromptPromptsReasoningEffort: {
487
487
  /**
488
488
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
489
489
  */
490
- export type CreatePromptPromptsReasoningEffort = ClosedEnum<typeof CreatePromptPromptsReasoningEffort>;
490
+ export type CreatePromptReasoningEffort = ClosedEnum<typeof CreatePromptReasoningEffort>;
491
491
  /**
492
492
  * Model Parameters: Not all parameters apply to every model
493
493
  */
494
- export type CreatePromptPromptsModelParameters = {
494
+ export type CreatePromptModelParameters = {
495
495
  /**
496
496
  * Only supported on `chat` and `completion` models.
497
497
  */
@@ -527,7 +527,7 @@ export type CreatePromptPromptsModelParameters = {
527
527
  /**
528
528
  * Only supported on `image` models.
529
529
  */
530
- format?: CreatePromptPromptsFormat | undefined;
530
+ format?: CreatePromptFormat | undefined;
531
531
  /**
532
532
  * Only supported on `image` models.
533
533
  */
@@ -535,7 +535,7 @@ export type CreatePromptPromptsModelParameters = {
535
535
  /**
536
536
  * Only supported on `image` models.
537
537
  */
538
- quality?: CreatePromptPromptsQuality | undefined;
538
+ quality?: CreatePromptQuality | undefined;
539
539
  /**
540
540
  * Only supported on `image` models.
541
541
  */
@@ -551,21 +551,21 @@ export type CreatePromptPromptsModelParameters = {
551
551
  *
552
552
  * 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.
553
553
  */
554
- responseFormat?: CreatePromptResponseFormatPrompts2 | CreatePromptResponseFormatPrompts1 | null | undefined;
554
+ responseFormat?: CreatePromptResponseFormat2 | CreatePromptResponseFormat1 | null | undefined;
555
555
  /**
556
556
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
557
557
  */
558
- photoRealVersion?: CreatePromptPromptsPhotoRealVersion | undefined;
558
+ photoRealVersion?: CreatePromptPhotoRealVersion | undefined;
559
559
  /**
560
560
  * The format to return the embeddings
561
561
  */
562
- encodingFormat?: CreatePromptPromptsEncodingFormat | undefined;
562
+ encodingFormat?: CreatePromptEncodingFormat | undefined;
563
563
  /**
564
564
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
565
565
  */
566
- reasoningEffort?: CreatePromptPromptsReasoningEffort | undefined;
566
+ reasoningEffort?: CreatePromptReasoningEffort | undefined;
567
567
  };
568
- export declare const CreatePromptPromptsProvider: {
568
+ export declare const CreatePromptProvider: {
569
569
  readonly Cohere: "cohere";
570
570
  readonly Openai: "openai";
571
571
  readonly Anthropic: "anthropic";
@@ -585,7 +585,7 @@ export declare const CreatePromptPromptsProvider: {
585
585
  readonly Togetherai: "togetherai";
586
586
  readonly Elevenlabs: "elevenlabs";
587
587
  };
588
- export type CreatePromptPromptsProvider = ClosedEnum<typeof CreatePromptPromptsProvider>;
588
+ export type CreatePromptProvider = ClosedEnum<typeof CreatePromptProvider>;
589
589
  /**
590
590
  * The role of the prompt message
591
591
  */
@@ -675,7 +675,7 @@ export type CreatePromptPromptsMessages = {
675
675
  /**
676
676
  * A list of messages compatible with the openAI schema
677
677
  */
678
- export type CreatePromptPromptsPromptConfig = {
678
+ export type CreatePromptPromptConfig = {
679
679
  stream?: boolean | undefined;
680
680
  model?: string | undefined;
681
681
  /**
@@ -685,12 +685,12 @@ export type CreatePromptPromptsPromptConfig = {
685
685
  /**
686
686
  * The type of the model
687
687
  */
688
- modelType?: CreatePromptPromptsModelType | undefined;
688
+ modelType?: CreatePromptModelType | undefined;
689
689
  /**
690
690
  * Model Parameters: Not all parameters apply to every model
691
691
  */
692
- modelParameters?: CreatePromptPromptsModelParameters | undefined;
693
- provider?: CreatePromptPromptsProvider | undefined;
692
+ modelParameters?: CreatePromptModelParameters | undefined;
693
+ provider?: CreatePromptProvider | undefined;
694
694
  /**
695
695
  * The id of the resource
696
696
  */
@@ -698,7 +698,7 @@ export type CreatePromptPromptsPromptConfig = {
698
698
  version?: string | undefined;
699
699
  messages: Array<CreatePromptPromptsMessages>;
700
700
  };
701
- export declare const CreatePromptPromptsUseCases: {
701
+ export declare const CreatePromptUseCases: {
702
702
  readonly Agents: "Agents";
703
703
  readonly AgentsSimulations: "Agents simulations";
704
704
  readonly APIInteraction: "API interaction";
@@ -716,11 +716,11 @@ export declare const CreatePromptPromptsUseCases: {
716
716
  readonly Summarization: "Summarization";
717
717
  readonly Tagging: "Tagging";
718
718
  };
719
- export type CreatePromptPromptsUseCases = ClosedEnum<typeof CreatePromptPromptsUseCases>;
719
+ export type CreatePromptUseCases = ClosedEnum<typeof CreatePromptUseCases>;
720
720
  /**
721
721
  * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
722
722
  */
723
- export declare const CreatePromptPromptsLanguage: {
723
+ export declare const CreatePromptLanguage: {
724
724
  readonly Chinese: "Chinese";
725
725
  readonly Dutch: "Dutch";
726
726
  readonly English: "English";
@@ -732,16 +732,16 @@ export declare const CreatePromptPromptsLanguage: {
732
732
  /**
733
733
  * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
734
734
  */
735
- export type CreatePromptPromptsLanguage = ClosedEnum<typeof CreatePromptPromptsLanguage>;
735
+ export type CreatePromptLanguage = ClosedEnum<typeof CreatePromptLanguage>;
736
736
  export type CreatePromptPromptsMetadata = {
737
737
  /**
738
738
  * 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
739
739
  */
740
- useCases?: Array<CreatePromptPromptsUseCases> | undefined;
740
+ useCases?: Array<CreatePromptUseCases> | undefined;
741
741
  /**
742
742
  * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
743
743
  */
744
- language?: CreatePromptPromptsLanguage | undefined;
744
+ language?: CreatePromptLanguage | undefined;
745
745
  };
746
746
  /**
747
747
  * Prompt created.
@@ -766,19 +766,19 @@ export type CreatePromptResponseBody = {
766
766
  /**
767
767
  * A list of messages compatible with the openAI schema
768
768
  */
769
- promptConfig: CreatePromptPromptsPromptConfig;
769
+ promptConfig: CreatePromptPromptConfig;
770
770
  metadata?: CreatePromptPromptsMetadata | undefined;
771
771
  };
772
772
  /** @internal */
773
- export declare const CreatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
773
+ export declare const ModelType$inboundSchema: z.ZodNativeEnum<typeof ModelType>;
774
774
  /** @internal */
775
- export declare const CreatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
775
+ export declare const ModelType$outboundSchema: z.ZodNativeEnum<typeof ModelType>;
776
776
  /**
777
777
  * @internal
778
778
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
779
779
  */
780
- export declare namespace CreatePromptModelType$ {
781
- /** @deprecated use `CreatePromptModelType$inboundSchema` instead. */
780
+ export declare namespace ModelType$ {
781
+ /** @deprecated use `ModelType$inboundSchema` instead. */
782
782
  const inboundSchema: z.ZodNativeEnum<{
783
783
  readonly Chat: "chat";
784
784
  readonly Completion: "completion";
@@ -790,7 +790,7 @@ export declare namespace CreatePromptModelType$ {
790
790
  readonly Rerank: "rerank";
791
791
  readonly Moderations: "moderations";
792
792
  }>;
793
- /** @deprecated use `CreatePromptModelType$outboundSchema` instead. */
793
+ /** @deprecated use `ModelType$outboundSchema` instead. */
794
794
  const outboundSchema: z.ZodNativeEnum<{
795
795
  readonly Chat: "chat";
796
796
  readonly Completion: "completion";
@@ -804,22 +804,22 @@ export declare namespace CreatePromptModelType$ {
804
804
  }>;
805
805
  }
806
806
  /** @internal */
807
- export declare const CreatePromptFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptFormat>;
807
+ export declare const Format$inboundSchema: z.ZodNativeEnum<typeof Format>;
808
808
  /** @internal */
809
- export declare const CreatePromptFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptFormat>;
809
+ export declare const Format$outboundSchema: z.ZodNativeEnum<typeof Format>;
810
810
  /**
811
811
  * @internal
812
812
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
813
813
  */
814
- export declare namespace CreatePromptFormat$ {
815
- /** @deprecated use `CreatePromptFormat$inboundSchema` instead. */
814
+ export declare namespace Format$ {
815
+ /** @deprecated use `Format$inboundSchema` instead. */
816
816
  const inboundSchema: z.ZodNativeEnum<{
817
817
  readonly Url: "url";
818
818
  readonly B64Json: "b64_json";
819
819
  readonly Text: "text";
820
820
  readonly JsonObject: "json_object";
821
821
  }>;
822
- /** @deprecated use `CreatePromptFormat$outboundSchema` instead. */
822
+ /** @deprecated use `Format$outboundSchema` instead. */
823
823
  const outboundSchema: z.ZodNativeEnum<{
824
824
  readonly Url: "url";
825
825
  readonly B64Json: "b64_json";
@@ -828,87 +828,87 @@ export declare namespace CreatePromptFormat$ {
828
828
  }>;
829
829
  }
830
830
  /** @internal */
831
- export declare const CreatePromptQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
831
+ export declare const Quality$inboundSchema: z.ZodNativeEnum<typeof Quality>;
832
832
  /** @internal */
833
- export declare const CreatePromptQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
833
+ export declare const Quality$outboundSchema: z.ZodNativeEnum<typeof Quality>;
834
834
  /**
835
835
  * @internal
836
836
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
837
837
  */
838
- export declare namespace CreatePromptQuality$ {
839
- /** @deprecated use `CreatePromptQuality$inboundSchema` instead. */
838
+ export declare namespace Quality$ {
839
+ /** @deprecated use `Quality$inboundSchema` instead. */
840
840
  const inboundSchema: z.ZodNativeEnum<{
841
841
  readonly Standard: "standard";
842
842
  readonly Hd: "hd";
843
843
  }>;
844
- /** @deprecated use `CreatePromptQuality$outboundSchema` instead. */
844
+ /** @deprecated use `Quality$outboundSchema` instead. */
845
845
  const outboundSchema: z.ZodNativeEnum<{
846
846
  readonly Standard: "standard";
847
847
  readonly Hd: "hd";
848
848
  }>;
849
849
  }
850
850
  /** @internal */
851
- export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
851
+ export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
852
852
  /** @internal */
853
- export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
853
+ export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
854
854
  /**
855
855
  * @internal
856
856
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
857
857
  */
858
- export declare namespace CreatePromptResponseFormatPromptsType$ {
859
- /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
858
+ export declare namespace CreatePromptResponseFormatType$ {
859
+ /** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
860
860
  const inboundSchema: z.ZodNativeEnum<{
861
861
  readonly JsonObject: "json_object";
862
862
  }>;
863
- /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
863
+ /** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
864
864
  const outboundSchema: z.ZodNativeEnum<{
865
865
  readonly JsonObject: "json_object";
866
866
  }>;
867
867
  }
868
868
  /** @internal */
869
- export declare const CreatePromptResponseFormat2$inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
869
+ export declare const ResponseFormat2$inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
870
870
  /** @internal */
871
- export type CreatePromptResponseFormat2$Outbound = {
871
+ export type ResponseFormat2$Outbound = {
872
872
  type: string;
873
873
  };
874
874
  /** @internal */
875
- export declare const CreatePromptResponseFormat2$outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
875
+ export declare const ResponseFormat2$outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
876
876
  /**
877
877
  * @internal
878
878
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
879
879
  */
880
- export declare namespace CreatePromptResponseFormat2$ {
881
- /** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
882
- const inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
883
- /** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
884
- const outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
885
- /** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
886
- type Outbound = CreatePromptResponseFormat2$Outbound;
880
+ export declare namespace ResponseFormat2$ {
881
+ /** @deprecated use `ResponseFormat2$inboundSchema` instead. */
882
+ const inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
883
+ /** @deprecated use `ResponseFormat2$outboundSchema` instead. */
884
+ const outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
885
+ /** @deprecated use `ResponseFormat2$Outbound` instead. */
886
+ type Outbound = ResponseFormat2$Outbound;
887
887
  }
888
- export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
889
- export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
888
+ export declare function responseFormat2ToJSON(responseFormat2: ResponseFormat2): string;
889
+ export declare function responseFormat2FromJSON(jsonString: string): SafeParseResult<ResponseFormat2, SDKValidationError>;
890
890
  /** @internal */
891
- export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
891
+ export declare const ResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
892
892
  /** @internal */
893
- export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
893
+ export declare const ResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
894
894
  /**
895
895
  * @internal
896
896
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
897
897
  */
898
- export declare namespace CreatePromptResponseFormatType$ {
899
- /** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
898
+ export declare namespace ResponseFormatType$ {
899
+ /** @deprecated use `ResponseFormatType$inboundSchema` instead. */
900
900
  const inboundSchema: z.ZodNativeEnum<{
901
901
  readonly JsonSchema: "json_schema";
902
902
  }>;
903
- /** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
903
+ /** @deprecated use `ResponseFormatType$outboundSchema` instead. */
904
904
  const outboundSchema: z.ZodNativeEnum<{
905
905
  readonly JsonSchema: "json_schema";
906
906
  }>;
907
907
  }
908
908
  /** @internal */
909
- export declare const CreatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
909
+ export declare const JsonSchema$inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
910
910
  /** @internal */
911
- export type CreatePromptResponseFormatJsonSchema$Outbound = {
911
+ export type JsonSchema$Outbound = {
912
912
  name: string;
913
913
  strict: boolean;
914
914
  schema: {
@@ -916,120 +916,120 @@ export type CreatePromptResponseFormatJsonSchema$Outbound = {
916
916
  };
917
917
  };
918
918
  /** @internal */
919
- export declare const CreatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
919
+ export declare const JsonSchema$outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
920
920
  /**
921
921
  * @internal
922
922
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
923
923
  */
924
- export declare namespace CreatePromptResponseFormatJsonSchema$ {
925
- /** @deprecated use `CreatePromptResponseFormatJsonSchema$inboundSchema` instead. */
926
- const inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
927
- /** @deprecated use `CreatePromptResponseFormatJsonSchema$outboundSchema` instead. */
928
- const outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
929
- /** @deprecated use `CreatePromptResponseFormatJsonSchema$Outbound` instead. */
930
- type Outbound = CreatePromptResponseFormatJsonSchema$Outbound;
924
+ export declare namespace JsonSchema$ {
925
+ /** @deprecated use `JsonSchema$inboundSchema` instead. */
926
+ const inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
927
+ /** @deprecated use `JsonSchema$outboundSchema` instead. */
928
+ const outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
929
+ /** @deprecated use `JsonSchema$Outbound` instead. */
930
+ type Outbound = JsonSchema$Outbound;
931
931
  }
932
- export declare function createPromptResponseFormatJsonSchemaToJSON(createPromptResponseFormatJsonSchema: CreatePromptResponseFormatJsonSchema): string;
933
- export declare function createPromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatJsonSchema, SDKValidationError>;
932
+ export declare function jsonSchemaToJSON(jsonSchema: JsonSchema): string;
933
+ export declare function jsonSchemaFromJSON(jsonString: string): SafeParseResult<JsonSchema, SDKValidationError>;
934
934
  /** @internal */
935
- export declare const CreatePromptResponseFormat1$inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
935
+ export declare const ResponseFormat1$inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
936
936
  /** @internal */
937
- export type CreatePromptResponseFormat1$Outbound = {
937
+ export type ResponseFormat1$Outbound = {
938
938
  type: string;
939
- json_schema: CreatePromptResponseFormatJsonSchema$Outbound;
939
+ json_schema: JsonSchema$Outbound;
940
940
  };
941
941
  /** @internal */
942
- export declare const CreatePromptResponseFormat1$outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
942
+ export declare const ResponseFormat1$outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
943
943
  /**
944
944
  * @internal
945
945
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
946
946
  */
947
- export declare namespace CreatePromptResponseFormat1$ {
948
- /** @deprecated use `CreatePromptResponseFormat1$inboundSchema` instead. */
949
- const inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
950
- /** @deprecated use `CreatePromptResponseFormat1$outboundSchema` instead. */
951
- const outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
952
- /** @deprecated use `CreatePromptResponseFormat1$Outbound` instead. */
953
- type Outbound = CreatePromptResponseFormat1$Outbound;
947
+ export declare namespace ResponseFormat1$ {
948
+ /** @deprecated use `ResponseFormat1$inboundSchema` instead. */
949
+ const inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
950
+ /** @deprecated use `ResponseFormat1$outboundSchema` instead. */
951
+ const outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
952
+ /** @deprecated use `ResponseFormat1$Outbound` instead. */
953
+ type Outbound = ResponseFormat1$Outbound;
954
954
  }
955
- export declare function createPromptResponseFormat1ToJSON(createPromptResponseFormat1: CreatePromptResponseFormat1): string;
956
- export declare function createPromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat1, SDKValidationError>;
955
+ export declare function responseFormat1ToJSON(responseFormat1: ResponseFormat1): string;
956
+ export declare function responseFormat1FromJSON(jsonString: string): SafeParseResult<ResponseFormat1, SDKValidationError>;
957
957
  /** @internal */
958
- export declare const CreatePromptResponseFormat$inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
958
+ export declare const ResponseFormat$inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
959
959
  /** @internal */
960
- export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound;
960
+ export type ResponseFormat$Outbound = ResponseFormat2$Outbound | ResponseFormat1$Outbound;
961
961
  /** @internal */
962
- export declare const CreatePromptResponseFormat$outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
962
+ export declare const ResponseFormat$outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
963
963
  /**
964
964
  * @internal
965
965
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
966
966
  */
967
- export declare namespace CreatePromptResponseFormat$ {
968
- /** @deprecated use `CreatePromptResponseFormat$inboundSchema` instead. */
969
- const inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
970
- /** @deprecated use `CreatePromptResponseFormat$outboundSchema` instead. */
971
- const outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
972
- /** @deprecated use `CreatePromptResponseFormat$Outbound` instead. */
973
- type Outbound = CreatePromptResponseFormat$Outbound;
967
+ export declare namespace ResponseFormat$ {
968
+ /** @deprecated use `ResponseFormat$inboundSchema` instead. */
969
+ const inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
970
+ /** @deprecated use `ResponseFormat$outboundSchema` instead. */
971
+ const outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
972
+ /** @deprecated use `ResponseFormat$Outbound` instead. */
973
+ type Outbound = ResponseFormat$Outbound;
974
974
  }
975
- export declare function createPromptResponseFormatToJSON(createPromptResponseFormat: CreatePromptResponseFormat): string;
976
- export declare function createPromptResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat, SDKValidationError>;
975
+ export declare function responseFormatToJSON(responseFormat: ResponseFormat): string;
976
+ export declare function responseFormatFromJSON(jsonString: string): SafeParseResult<ResponseFormat, SDKValidationError>;
977
977
  /** @internal */
978
- export declare const CreatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
978
+ export declare const PhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
979
979
  /** @internal */
980
- export declare const CreatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
980
+ export declare const PhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
981
981
  /**
982
982
  * @internal
983
983
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
984
984
  */
985
- export declare namespace CreatePromptPhotoRealVersion$ {
986
- /** @deprecated use `CreatePromptPhotoRealVersion$inboundSchema` instead. */
985
+ export declare namespace PhotoRealVersion$ {
986
+ /** @deprecated use `PhotoRealVersion$inboundSchema` instead. */
987
987
  const inboundSchema: z.ZodNativeEnum<{
988
988
  readonly V1: "v1";
989
989
  readonly V2: "v2";
990
990
  }>;
991
- /** @deprecated use `CreatePromptPhotoRealVersion$outboundSchema` instead. */
991
+ /** @deprecated use `PhotoRealVersion$outboundSchema` instead. */
992
992
  const outboundSchema: z.ZodNativeEnum<{
993
993
  readonly V1: "v1";
994
994
  readonly V2: "v2";
995
995
  }>;
996
996
  }
997
997
  /** @internal */
998
- export declare const CreatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
998
+ export declare const EncodingFormat$inboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
999
999
  /** @internal */
1000
- export declare const CreatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
1000
+ export declare const EncodingFormat$outboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
1001
1001
  /**
1002
1002
  * @internal
1003
1003
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1004
1004
  */
1005
- export declare namespace CreatePromptEncodingFormat$ {
1006
- /** @deprecated use `CreatePromptEncodingFormat$inboundSchema` instead. */
1005
+ export declare namespace EncodingFormat$ {
1006
+ /** @deprecated use `EncodingFormat$inboundSchema` instead. */
1007
1007
  const inboundSchema: z.ZodNativeEnum<{
1008
1008
  readonly Float: "float";
1009
1009
  readonly Base64: "base64";
1010
1010
  }>;
1011
- /** @deprecated use `CreatePromptEncodingFormat$outboundSchema` instead. */
1011
+ /** @deprecated use `EncodingFormat$outboundSchema` instead. */
1012
1012
  const outboundSchema: z.ZodNativeEnum<{
1013
1013
  readonly Float: "float";
1014
1014
  readonly Base64: "base64";
1015
1015
  }>;
1016
1016
  }
1017
1017
  /** @internal */
1018
- export declare const CreatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
1018
+ export declare const ReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
1019
1019
  /** @internal */
1020
- export declare const CreatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
1020
+ export declare const ReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
1021
1021
  /**
1022
1022
  * @internal
1023
1023
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1024
1024
  */
1025
- export declare namespace CreatePromptReasoningEffort$ {
1026
- /** @deprecated use `CreatePromptReasoningEffort$inboundSchema` instead. */
1025
+ export declare namespace ReasoningEffort$ {
1026
+ /** @deprecated use `ReasoningEffort$inboundSchema` instead. */
1027
1027
  const inboundSchema: z.ZodNativeEnum<{
1028
1028
  readonly Low: "low";
1029
1029
  readonly Medium: "medium";
1030
1030
  readonly High: "high";
1031
1031
  }>;
1032
- /** @deprecated use `CreatePromptReasoningEffort$outboundSchema` instead. */
1032
+ /** @deprecated use `ReasoningEffort$outboundSchema` instead. */
1033
1033
  const outboundSchema: z.ZodNativeEnum<{
1034
1034
  readonly Low: "low";
1035
1035
  readonly Medium: "medium";
@@ -1037,9 +1037,9 @@ export declare namespace CreatePromptReasoningEffort$ {
1037
1037
  }>;
1038
1038
  }
1039
1039
  /** @internal */
1040
- export declare const CreatePromptModelParameters$inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
1040
+ export declare const ModelParameters$inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
1041
1041
  /** @internal */
1042
- export type CreatePromptModelParameters$Outbound = {
1042
+ export type ModelParameters$Outbound = {
1043
1043
  temperature?: number | undefined;
1044
1044
  maxTokens?: number | undefined;
1045
1045
  topK?: number | undefined;
@@ -1052,37 +1052,37 @@ export type CreatePromptModelParameters$Outbound = {
1052
1052
  dimensions?: string | undefined;
1053
1053
  quality?: string | undefined;
1054
1054
  style?: string | undefined;
1055
- responseFormat?: CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound | null | undefined;
1055
+ responseFormat?: ResponseFormat2$Outbound | ResponseFormat1$Outbound | null | undefined;
1056
1056
  photoRealVersion?: string | undefined;
1057
1057
  encoding_format?: string | undefined;
1058
1058
  reasoningEffort?: string | undefined;
1059
1059
  };
1060
1060
  /** @internal */
1061
- export declare const CreatePromptModelParameters$outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
1061
+ export declare const ModelParameters$outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
1062
1062
  /**
1063
1063
  * @internal
1064
1064
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1065
1065
  */
1066
- export declare namespace CreatePromptModelParameters$ {
1067
- /** @deprecated use `CreatePromptModelParameters$inboundSchema` instead. */
1068
- const inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
1069
- /** @deprecated use `CreatePromptModelParameters$outboundSchema` instead. */
1070
- const outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
1071
- /** @deprecated use `CreatePromptModelParameters$Outbound` instead. */
1072
- type Outbound = CreatePromptModelParameters$Outbound;
1066
+ export declare namespace ModelParameters$ {
1067
+ /** @deprecated use `ModelParameters$inboundSchema` instead. */
1068
+ const inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
1069
+ /** @deprecated use `ModelParameters$outboundSchema` instead. */
1070
+ const outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
1071
+ /** @deprecated use `ModelParameters$Outbound` instead. */
1072
+ type Outbound = ModelParameters$Outbound;
1073
1073
  }
1074
- export declare function createPromptModelParametersToJSON(createPromptModelParameters: CreatePromptModelParameters): string;
1075
- export declare function createPromptModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptModelParameters, SDKValidationError>;
1074
+ export declare function modelParametersToJSON(modelParameters: ModelParameters): string;
1075
+ export declare function modelParametersFromJSON(jsonString: string): SafeParseResult<ModelParameters, SDKValidationError>;
1076
1076
  /** @internal */
1077
- export declare const CreatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
1077
+ export declare const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider>;
1078
1078
  /** @internal */
1079
- export declare const CreatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
1079
+ export declare const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider>;
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 CreatePromptProvider$ {
1085
- /** @deprecated use `CreatePromptProvider$inboundSchema` instead. */
1084
+ export declare namespace Provider$ {
1085
+ /** @deprecated use `Provider$inboundSchema` instead. */
1086
1086
  const inboundSchema: z.ZodNativeEnum<{
1087
1087
  readonly Cohere: "cohere";
1088
1088
  readonly Openai: "openai";
@@ -1103,7 +1103,7 @@ export declare namespace CreatePromptProvider$ {
1103
1103
  readonly Togetherai: "togetherai";
1104
1104
  readonly Elevenlabs: "elevenlabs";
1105
1105
  }>;
1106
- /** @deprecated use `CreatePromptProvider$outboundSchema` instead. */
1106
+ /** @deprecated use `Provider$outboundSchema` instead. */
1107
1107
  const outboundSchema: z.ZodNativeEnum<{
1108
1108
  readonly Cohere: "cohere";
1109
1109
  readonly Openai: "openai";
@@ -1393,43 +1393,43 @@ export declare namespace CreatePromptMessages$ {
1393
1393
  export declare function createPromptMessagesToJSON(createPromptMessages: CreatePromptMessages): string;
1394
1394
  export declare function createPromptMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptMessages, SDKValidationError>;
1395
1395
  /** @internal */
1396
- export declare const CreatePromptPromptConfig$inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
1396
+ export declare const PromptConfig$inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
1397
1397
  /** @internal */
1398
- export type CreatePromptPromptConfig$Outbound = {
1398
+ export type PromptConfig$Outbound = {
1399
1399
  stream?: boolean | undefined;
1400
1400
  model?: string | undefined;
1401
1401
  model_type?: string | undefined;
1402
- model_parameters?: CreatePromptModelParameters$Outbound | undefined;
1402
+ model_parameters?: ModelParameters$Outbound | undefined;
1403
1403
  provider?: string | undefined;
1404
1404
  version?: string | undefined;
1405
1405
  messages: Array<CreatePromptMessages$Outbound>;
1406
1406
  };
1407
1407
  /** @internal */
1408
- export declare const CreatePromptPromptConfig$outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
1408
+ export declare const PromptConfig$outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
1409
1409
  /**
1410
1410
  * @internal
1411
1411
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1412
1412
  */
1413
- export declare namespace CreatePromptPromptConfig$ {
1414
- /** @deprecated use `CreatePromptPromptConfig$inboundSchema` instead. */
1415
- const inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
1416
- /** @deprecated use `CreatePromptPromptConfig$outboundSchema` instead. */
1417
- const outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
1418
- /** @deprecated use `CreatePromptPromptConfig$Outbound` instead. */
1419
- type Outbound = CreatePromptPromptConfig$Outbound;
1413
+ export declare namespace PromptConfig$ {
1414
+ /** @deprecated use `PromptConfig$inboundSchema` instead. */
1415
+ const inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
1416
+ /** @deprecated use `PromptConfig$outboundSchema` instead. */
1417
+ const outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
1418
+ /** @deprecated use `PromptConfig$Outbound` instead. */
1419
+ type Outbound = PromptConfig$Outbound;
1420
1420
  }
1421
- export declare function createPromptPromptConfigToJSON(createPromptPromptConfig: CreatePromptPromptConfig): string;
1422
- export declare function createPromptPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptConfig, SDKValidationError>;
1421
+ export declare function promptConfigToJSON(promptConfig: PromptConfig): string;
1422
+ export declare function promptConfigFromJSON(jsonString: string): SafeParseResult<PromptConfig, SDKValidationError>;
1423
1423
  /** @internal */
1424
- export declare const CreatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
1424
+ export declare const UseCases$inboundSchema: z.ZodNativeEnum<typeof UseCases>;
1425
1425
  /** @internal */
1426
- export declare const CreatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
1426
+ export declare const UseCases$outboundSchema: z.ZodNativeEnum<typeof UseCases>;
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 CreatePromptUseCases$ {
1432
- /** @deprecated use `CreatePromptUseCases$inboundSchema` instead. */
1431
+ export declare namespace UseCases$ {
1432
+ /** @deprecated use `UseCases$inboundSchema` instead. */
1433
1433
  const inboundSchema: z.ZodNativeEnum<{
1434
1434
  readonly Agents: "Agents";
1435
1435
  readonly AgentsSimulations: "Agents simulations";
@@ -1448,7 +1448,7 @@ export declare namespace CreatePromptUseCases$ {
1448
1448
  readonly Summarization: "Summarization";
1449
1449
  readonly Tagging: "Tagging";
1450
1450
  }>;
1451
- /** @deprecated use `CreatePromptUseCases$outboundSchema` instead. */
1451
+ /** @deprecated use `UseCases$outboundSchema` instead. */
1452
1452
  const outboundSchema: z.ZodNativeEnum<{
1453
1453
  readonly Agents: "Agents";
1454
1454
  readonly AgentsSimulations: "Agents simulations";
@@ -1469,15 +1469,15 @@ export declare namespace CreatePromptUseCases$ {
1469
1469
  }>;
1470
1470
  }
1471
1471
  /** @internal */
1472
- export declare const CreatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
1472
+ export declare const Language$inboundSchema: z.ZodNativeEnum<typeof Language>;
1473
1473
  /** @internal */
1474
- export declare const CreatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
1474
+ export declare const Language$outboundSchema: z.ZodNativeEnum<typeof Language>;
1475
1475
  /**
1476
1476
  * @internal
1477
1477
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1478
1478
  */
1479
- export declare namespace CreatePromptLanguage$ {
1480
- /** @deprecated use `CreatePromptLanguage$inboundSchema` instead. */
1479
+ export declare namespace Language$ {
1480
+ /** @deprecated use `Language$inboundSchema` instead. */
1481
1481
  const inboundSchema: z.ZodNativeEnum<{
1482
1482
  readonly Chinese: "Chinese";
1483
1483
  readonly Dutch: "Dutch";
@@ -1487,7 +1487,7 @@ export declare namespace CreatePromptLanguage$ {
1487
1487
  readonly Russian: "Russian";
1488
1488
  readonly Spanish: "Spanish";
1489
1489
  }>;
1490
- /** @deprecated use `CreatePromptLanguage$outboundSchema` instead. */
1490
+ /** @deprecated use `Language$outboundSchema` instead. */
1491
1491
  const outboundSchema: z.ZodNativeEnum<{
1492
1492
  readonly Chinese: "Chinese";
1493
1493
  readonly Dutch: "Dutch";
@@ -1527,7 +1527,7 @@ export declare const CreatePromptRequestBody$inboundSchema: z.ZodType<CreateProm
1527
1527
  export type CreatePromptRequestBody$Outbound = {
1528
1528
  display_name: string;
1529
1529
  description?: string | null | undefined;
1530
- prompt_config: CreatePromptPromptConfig$Outbound;
1530
+ prompt_config: PromptConfig$Outbound;
1531
1531
  metadata?: CreatePromptMetadata$Outbound | undefined;
1532
1532
  path: string;
1533
1533
  };
@@ -1566,15 +1566,15 @@ export declare namespace CreatePromptPromptsType$ {
1566
1566
  }>;
1567
1567
  }
1568
1568
  /** @internal */
1569
- export declare const CreatePromptPromptsModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsModelType>;
1569
+ export declare const CreatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
1570
1570
  /** @internal */
1571
- export declare const CreatePromptPromptsModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsModelType>;
1571
+ export declare const CreatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
1572
1572
  /**
1573
1573
  * @internal
1574
1574
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1575
1575
  */
1576
- export declare namespace CreatePromptPromptsModelType$ {
1577
- /** @deprecated use `CreatePromptPromptsModelType$inboundSchema` instead. */
1576
+ export declare namespace CreatePromptModelType$ {
1577
+ /** @deprecated use `CreatePromptModelType$inboundSchema` instead. */
1578
1578
  const inboundSchema: z.ZodNativeEnum<{
1579
1579
  readonly Chat: "chat";
1580
1580
  readonly Completion: "completion";
@@ -1586,7 +1586,7 @@ export declare namespace CreatePromptPromptsModelType$ {
1586
1586
  readonly Rerank: "rerank";
1587
1587
  readonly Moderations: "moderations";
1588
1588
  }>;
1589
- /** @deprecated use `CreatePromptPromptsModelType$outboundSchema` instead. */
1589
+ /** @deprecated use `CreatePromptModelType$outboundSchema` instead. */
1590
1590
  const outboundSchema: z.ZodNativeEnum<{
1591
1591
  readonly Chat: "chat";
1592
1592
  readonly Completion: "completion";
@@ -1600,22 +1600,22 @@ export declare namespace CreatePromptPromptsModelType$ {
1600
1600
  }>;
1601
1601
  }
1602
1602
  /** @internal */
1603
- export declare const CreatePromptPromptsFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsFormat>;
1603
+ export declare const CreatePromptFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptFormat>;
1604
1604
  /** @internal */
1605
- export declare const CreatePromptPromptsFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsFormat>;
1605
+ export declare const CreatePromptFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptFormat>;
1606
1606
  /**
1607
1607
  * @internal
1608
1608
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1609
1609
  */
1610
- export declare namespace CreatePromptPromptsFormat$ {
1611
- /** @deprecated use `CreatePromptPromptsFormat$inboundSchema` instead. */
1610
+ export declare namespace CreatePromptFormat$ {
1611
+ /** @deprecated use `CreatePromptFormat$inboundSchema` instead. */
1612
1612
  const inboundSchema: z.ZodNativeEnum<{
1613
1613
  readonly Url: "url";
1614
1614
  readonly B64Json: "b64_json";
1615
1615
  readonly Text: "text";
1616
1616
  readonly JsonObject: "json_object";
1617
1617
  }>;
1618
- /** @deprecated use `CreatePromptPromptsFormat$outboundSchema` instead. */
1618
+ /** @deprecated use `CreatePromptFormat$outboundSchema` instead. */
1619
1619
  const outboundSchema: z.ZodNativeEnum<{
1620
1620
  readonly Url: "url";
1621
1621
  readonly B64Json: "b64_json";
@@ -1624,87 +1624,87 @@ export declare namespace CreatePromptPromptsFormat$ {
1624
1624
  }>;
1625
1625
  }
1626
1626
  /** @internal */
1627
- export declare const CreatePromptPromptsQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsQuality>;
1627
+ export declare const CreatePromptQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
1628
1628
  /** @internal */
1629
- export declare const CreatePromptPromptsQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsQuality>;
1629
+ export declare const CreatePromptQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
1630
1630
  /**
1631
1631
  * @internal
1632
1632
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1633
1633
  */
1634
- export declare namespace CreatePromptPromptsQuality$ {
1635
- /** @deprecated use `CreatePromptPromptsQuality$inboundSchema` instead. */
1634
+ export declare namespace CreatePromptQuality$ {
1635
+ /** @deprecated use `CreatePromptQuality$inboundSchema` instead. */
1636
1636
  const inboundSchema: z.ZodNativeEnum<{
1637
1637
  readonly Standard: "standard";
1638
1638
  readonly Hd: "hd";
1639
1639
  }>;
1640
- /** @deprecated use `CreatePromptPromptsQuality$outboundSchema` instead. */
1640
+ /** @deprecated use `CreatePromptQuality$outboundSchema` instead. */
1641
1641
  const outboundSchema: z.ZodNativeEnum<{
1642
1642
  readonly Standard: "standard";
1643
1643
  readonly Hd: "hd";
1644
1644
  }>;
1645
1645
  }
1646
1646
  /** @internal */
1647
- export declare const CreatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
1647
+ export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1648
1648
  /** @internal */
1649
- export declare const CreatePromptResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
1649
+ export declare const CreatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1650
1650
  /**
1651
1651
  * @internal
1652
1652
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1653
1653
  */
1654
- export declare namespace CreatePromptResponseFormatPromptsResponse200Type$ {
1655
- /** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$inboundSchema` instead. */
1654
+ export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
1655
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
1656
1656
  const inboundSchema: z.ZodNativeEnum<{
1657
1657
  readonly JsonObject: "json_object";
1658
1658
  }>;
1659
- /** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$outboundSchema` instead. */
1659
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
1660
1660
  const outboundSchema: z.ZodNativeEnum<{
1661
1661
  readonly JsonObject: "json_object";
1662
1662
  }>;
1663
1663
  }
1664
1664
  /** @internal */
1665
- export declare const CreatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
1665
+ export declare const CreatePromptResponseFormat2$inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1666
1666
  /** @internal */
1667
- export type CreatePromptResponseFormatPrompts2$Outbound = {
1667
+ export type CreatePromptResponseFormat2$Outbound = {
1668
1668
  type: string;
1669
1669
  };
1670
1670
  /** @internal */
1671
- export declare const CreatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
1671
+ export declare const CreatePromptResponseFormat2$outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
1672
1672
  /**
1673
1673
  * @internal
1674
1674
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1675
1675
  */
1676
- export declare namespace CreatePromptResponseFormatPrompts2$ {
1677
- /** @deprecated use `CreatePromptResponseFormatPrompts2$inboundSchema` instead. */
1678
- const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
1679
- /** @deprecated use `CreatePromptResponseFormatPrompts2$outboundSchema` instead. */
1680
- const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
1681
- /** @deprecated use `CreatePromptResponseFormatPrompts2$Outbound` instead. */
1682
- type Outbound = CreatePromptResponseFormatPrompts2$Outbound;
1676
+ export declare namespace CreatePromptResponseFormat2$ {
1677
+ /** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
1678
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1679
+ /** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
1680
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
1681
+ /** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
1682
+ type Outbound = CreatePromptResponseFormat2$Outbound;
1683
1683
  }
1684
- export declare function createPromptResponseFormatPrompts2ToJSON(createPromptResponseFormatPrompts2: CreatePromptResponseFormatPrompts2): string;
1685
- export declare function createPromptResponseFormatPrompts2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts2, SDKValidationError>;
1684
+ export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
1685
+ export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
1686
1686
  /** @internal */
1687
- export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1687
+ export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1688
1688
  /** @internal */
1689
- export declare const CreatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1689
+ export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1690
1690
  /**
1691
1691
  * @internal
1692
1692
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1693
1693
  */
1694
- export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
1695
- /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
1694
+ export declare namespace CreatePromptResponseFormatPromptsType$ {
1695
+ /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
1696
1696
  const inboundSchema: z.ZodNativeEnum<{
1697
1697
  readonly JsonSchema: "json_schema";
1698
1698
  }>;
1699
- /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
1699
+ /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
1700
1700
  const outboundSchema: z.ZodNativeEnum<{
1701
1701
  readonly JsonSchema: "json_schema";
1702
1702
  }>;
1703
1703
  }
1704
1704
  /** @internal */
1705
- export declare const CreatePromptResponseFormatPromptsJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
1705
+ export declare const CreatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1706
1706
  /** @internal */
1707
- export type CreatePromptResponseFormatPromptsJsonSchema$Outbound = {
1707
+ export type CreatePromptResponseFormatJsonSchema$Outbound = {
1708
1708
  name: string;
1709
1709
  strict: boolean;
1710
1710
  schema: {
@@ -1712,120 +1712,120 @@ export type CreatePromptResponseFormatPromptsJsonSchema$Outbound = {
1712
1712
  };
1713
1713
  };
1714
1714
  /** @internal */
1715
- export declare const CreatePromptResponseFormatPromptsJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsJsonSchema>;
1715
+ export declare const CreatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
1716
1716
  /**
1717
1717
  * @internal
1718
1718
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1719
1719
  */
1720
- export declare namespace CreatePromptResponseFormatPromptsJsonSchema$ {
1721
- /** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$inboundSchema` instead. */
1722
- const inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
1723
- /** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$outboundSchema` instead. */
1724
- const outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsJsonSchema>;
1725
- /** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$Outbound` instead. */
1726
- type Outbound = CreatePromptResponseFormatPromptsJsonSchema$Outbound;
1720
+ export declare namespace CreatePromptResponseFormatJsonSchema$ {
1721
+ /** @deprecated use `CreatePromptResponseFormatJsonSchema$inboundSchema` instead. */
1722
+ const inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1723
+ /** @deprecated use `CreatePromptResponseFormatJsonSchema$outboundSchema` instead. */
1724
+ const outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
1725
+ /** @deprecated use `CreatePromptResponseFormatJsonSchema$Outbound` instead. */
1726
+ type Outbound = CreatePromptResponseFormatJsonSchema$Outbound;
1727
1727
  }
1728
- export declare function createPromptResponseFormatPromptsJsonSchemaToJSON(createPromptResponseFormatPromptsJsonSchema: CreatePromptResponseFormatPromptsJsonSchema): string;
1729
- export declare function createPromptResponseFormatPromptsJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPromptsJsonSchema, SDKValidationError>;
1728
+ export declare function createPromptResponseFormatJsonSchemaToJSON(createPromptResponseFormatJsonSchema: CreatePromptResponseFormatJsonSchema): string;
1729
+ export declare function createPromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatJsonSchema, SDKValidationError>;
1730
1730
  /** @internal */
1731
- export declare const CreatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
1731
+ export declare const CreatePromptResponseFormat1$inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
1732
1732
  /** @internal */
1733
- export type CreatePromptResponseFormatPrompts1$Outbound = {
1733
+ export type CreatePromptResponseFormat1$Outbound = {
1734
1734
  type: string;
1735
- json_schema: CreatePromptResponseFormatPromptsJsonSchema$Outbound;
1735
+ json_schema: CreatePromptResponseFormatJsonSchema$Outbound;
1736
1736
  };
1737
1737
  /** @internal */
1738
- export declare const CreatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
1738
+ export declare const CreatePromptResponseFormat1$outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
1739
1739
  /**
1740
1740
  * @internal
1741
1741
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1742
1742
  */
1743
- export declare namespace CreatePromptResponseFormatPrompts1$ {
1744
- /** @deprecated use `CreatePromptResponseFormatPrompts1$inboundSchema` instead. */
1745
- const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
1746
- /** @deprecated use `CreatePromptResponseFormatPrompts1$outboundSchema` instead. */
1747
- const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
1748
- /** @deprecated use `CreatePromptResponseFormatPrompts1$Outbound` instead. */
1749
- type Outbound = CreatePromptResponseFormatPrompts1$Outbound;
1743
+ export declare namespace CreatePromptResponseFormat1$ {
1744
+ /** @deprecated use `CreatePromptResponseFormat1$inboundSchema` instead. */
1745
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
1746
+ /** @deprecated use `CreatePromptResponseFormat1$outboundSchema` instead. */
1747
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
1748
+ /** @deprecated use `CreatePromptResponseFormat1$Outbound` instead. */
1749
+ type Outbound = CreatePromptResponseFormat1$Outbound;
1750
1750
  }
1751
- export declare function createPromptResponseFormatPrompts1ToJSON(createPromptResponseFormatPrompts1: CreatePromptResponseFormatPrompts1): string;
1752
- export declare function createPromptResponseFormatPrompts1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts1, SDKValidationError>;
1751
+ export declare function createPromptResponseFormat1ToJSON(createPromptResponseFormat1: CreatePromptResponseFormat1): string;
1752
+ export declare function createPromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat1, SDKValidationError>;
1753
1753
  /** @internal */
1754
- export declare const CreatePromptPromptsResponseFormat$inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
1754
+ export declare const CreatePromptResponseFormat$inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
1755
1755
  /** @internal */
1756
- export type CreatePromptPromptsResponseFormat$Outbound = CreatePromptResponseFormatPrompts2$Outbound | CreatePromptResponseFormatPrompts1$Outbound;
1756
+ export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound;
1757
1757
  /** @internal */
1758
- export declare const CreatePromptPromptsResponseFormat$outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
1758
+ export declare const CreatePromptResponseFormat$outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
1759
1759
  /**
1760
1760
  * @internal
1761
1761
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1762
1762
  */
1763
- export declare namespace CreatePromptPromptsResponseFormat$ {
1764
- /** @deprecated use `CreatePromptPromptsResponseFormat$inboundSchema` instead. */
1765
- const inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
1766
- /** @deprecated use `CreatePromptPromptsResponseFormat$outboundSchema` instead. */
1767
- const outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
1768
- /** @deprecated use `CreatePromptPromptsResponseFormat$Outbound` instead. */
1769
- type Outbound = CreatePromptPromptsResponseFormat$Outbound;
1763
+ export declare namespace CreatePromptResponseFormat$ {
1764
+ /** @deprecated use `CreatePromptResponseFormat$inboundSchema` instead. */
1765
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
1766
+ /** @deprecated use `CreatePromptResponseFormat$outboundSchema` instead. */
1767
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
1768
+ /** @deprecated use `CreatePromptResponseFormat$Outbound` instead. */
1769
+ type Outbound = CreatePromptResponseFormat$Outbound;
1770
1770
  }
1771
- export declare function createPromptPromptsResponseFormatToJSON(createPromptPromptsResponseFormat: CreatePromptPromptsResponseFormat): string;
1772
- export declare function createPromptPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsResponseFormat, SDKValidationError>;
1771
+ export declare function createPromptResponseFormatToJSON(createPromptResponseFormat: CreatePromptResponseFormat): string;
1772
+ export declare function createPromptResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat, SDKValidationError>;
1773
1773
  /** @internal */
1774
- export declare const CreatePromptPromptsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsPhotoRealVersion>;
1774
+ export declare const CreatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
1775
1775
  /** @internal */
1776
- export declare const CreatePromptPromptsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsPhotoRealVersion>;
1776
+ export declare const CreatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
1777
1777
  /**
1778
1778
  * @internal
1779
1779
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1780
1780
  */
1781
- export declare namespace CreatePromptPromptsPhotoRealVersion$ {
1782
- /** @deprecated use `CreatePromptPromptsPhotoRealVersion$inboundSchema` instead. */
1781
+ export declare namespace CreatePromptPhotoRealVersion$ {
1782
+ /** @deprecated use `CreatePromptPhotoRealVersion$inboundSchema` instead. */
1783
1783
  const inboundSchema: z.ZodNativeEnum<{
1784
1784
  readonly V1: "v1";
1785
1785
  readonly V2: "v2";
1786
1786
  }>;
1787
- /** @deprecated use `CreatePromptPromptsPhotoRealVersion$outboundSchema` instead. */
1787
+ /** @deprecated use `CreatePromptPhotoRealVersion$outboundSchema` instead. */
1788
1788
  const outboundSchema: z.ZodNativeEnum<{
1789
1789
  readonly V1: "v1";
1790
1790
  readonly V2: "v2";
1791
1791
  }>;
1792
1792
  }
1793
1793
  /** @internal */
1794
- export declare const CreatePromptPromptsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsEncodingFormat>;
1794
+ export declare const CreatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
1795
1795
  /** @internal */
1796
- export declare const CreatePromptPromptsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsEncodingFormat>;
1796
+ export declare const CreatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
1797
1797
  /**
1798
1798
  * @internal
1799
1799
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1800
1800
  */
1801
- export declare namespace CreatePromptPromptsEncodingFormat$ {
1802
- /** @deprecated use `CreatePromptPromptsEncodingFormat$inboundSchema` instead. */
1801
+ export declare namespace CreatePromptEncodingFormat$ {
1802
+ /** @deprecated use `CreatePromptEncodingFormat$inboundSchema` instead. */
1803
1803
  const inboundSchema: z.ZodNativeEnum<{
1804
1804
  readonly Float: "float";
1805
1805
  readonly Base64: "base64";
1806
1806
  }>;
1807
- /** @deprecated use `CreatePromptPromptsEncodingFormat$outboundSchema` instead. */
1807
+ /** @deprecated use `CreatePromptEncodingFormat$outboundSchema` instead. */
1808
1808
  const outboundSchema: z.ZodNativeEnum<{
1809
1809
  readonly Float: "float";
1810
1810
  readonly Base64: "base64";
1811
1811
  }>;
1812
1812
  }
1813
1813
  /** @internal */
1814
- export declare const CreatePromptPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsReasoningEffort>;
1814
+ export declare const CreatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
1815
1815
  /** @internal */
1816
- export declare const CreatePromptPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsReasoningEffort>;
1816
+ export declare const CreatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
1817
1817
  /**
1818
1818
  * @internal
1819
1819
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1820
1820
  */
1821
- export declare namespace CreatePromptPromptsReasoningEffort$ {
1822
- /** @deprecated use `CreatePromptPromptsReasoningEffort$inboundSchema` instead. */
1821
+ export declare namespace CreatePromptReasoningEffort$ {
1822
+ /** @deprecated use `CreatePromptReasoningEffort$inboundSchema` instead. */
1823
1823
  const inboundSchema: z.ZodNativeEnum<{
1824
1824
  readonly Low: "low";
1825
1825
  readonly Medium: "medium";
1826
1826
  readonly High: "high";
1827
1827
  }>;
1828
- /** @deprecated use `CreatePromptPromptsReasoningEffort$outboundSchema` instead. */
1828
+ /** @deprecated use `CreatePromptReasoningEffort$outboundSchema` instead. */
1829
1829
  const outboundSchema: z.ZodNativeEnum<{
1830
1830
  readonly Low: "low";
1831
1831
  readonly Medium: "medium";
@@ -1833,9 +1833,9 @@ export declare namespace CreatePromptPromptsReasoningEffort$ {
1833
1833
  }>;
1834
1834
  }
1835
1835
  /** @internal */
1836
- export declare const CreatePromptPromptsModelParameters$inboundSchema: z.ZodType<CreatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
1836
+ export declare const CreatePromptModelParameters$inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
1837
1837
  /** @internal */
1838
- export type CreatePromptPromptsModelParameters$Outbound = {
1838
+ export type CreatePromptModelParameters$Outbound = {
1839
1839
  temperature?: number | undefined;
1840
1840
  maxTokens?: number | undefined;
1841
1841
  topK?: number | undefined;
@@ -1848,37 +1848,37 @@ export type CreatePromptPromptsModelParameters$Outbound = {
1848
1848
  dimensions?: string | undefined;
1849
1849
  quality?: string | undefined;
1850
1850
  style?: string | undefined;
1851
- responseFormat?: CreatePromptResponseFormatPrompts2$Outbound | CreatePromptResponseFormatPrompts1$Outbound | null | undefined;
1851
+ responseFormat?: CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound | null | undefined;
1852
1852
  photoRealVersion?: string | undefined;
1853
1853
  encoding_format?: string | undefined;
1854
1854
  reasoningEffort?: string | undefined;
1855
1855
  };
1856
1856
  /** @internal */
1857
- export declare const CreatePromptPromptsModelParameters$outboundSchema: z.ZodType<CreatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, CreatePromptPromptsModelParameters>;
1857
+ export declare const CreatePromptModelParameters$outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
1858
1858
  /**
1859
1859
  * @internal
1860
1860
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1861
1861
  */
1862
- export declare namespace CreatePromptPromptsModelParameters$ {
1863
- /** @deprecated use `CreatePromptPromptsModelParameters$inboundSchema` instead. */
1864
- const inboundSchema: z.ZodType<CreatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
1865
- /** @deprecated use `CreatePromptPromptsModelParameters$outboundSchema` instead. */
1866
- const outboundSchema: z.ZodType<CreatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, CreatePromptPromptsModelParameters>;
1867
- /** @deprecated use `CreatePromptPromptsModelParameters$Outbound` instead. */
1868
- type Outbound = CreatePromptPromptsModelParameters$Outbound;
1862
+ export declare namespace CreatePromptModelParameters$ {
1863
+ /** @deprecated use `CreatePromptModelParameters$inboundSchema` instead. */
1864
+ const inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
1865
+ /** @deprecated use `CreatePromptModelParameters$outboundSchema` instead. */
1866
+ const outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
1867
+ /** @deprecated use `CreatePromptModelParameters$Outbound` instead. */
1868
+ type Outbound = CreatePromptModelParameters$Outbound;
1869
1869
  }
1870
- export declare function createPromptPromptsModelParametersToJSON(createPromptPromptsModelParameters: CreatePromptPromptsModelParameters): string;
1871
- export declare function createPromptPromptsModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsModelParameters, SDKValidationError>;
1870
+ export declare function createPromptModelParametersToJSON(createPromptModelParameters: CreatePromptModelParameters): string;
1871
+ export declare function createPromptModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptModelParameters, SDKValidationError>;
1872
1872
  /** @internal */
1873
- export declare const CreatePromptPromptsProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsProvider>;
1873
+ export declare const CreatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
1874
1874
  /** @internal */
1875
- export declare const CreatePromptPromptsProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsProvider>;
1875
+ export declare const CreatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
1876
1876
  /**
1877
1877
  * @internal
1878
1878
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1879
1879
  */
1880
- export declare namespace CreatePromptPromptsProvider$ {
1881
- /** @deprecated use `CreatePromptPromptsProvider$inboundSchema` instead. */
1880
+ export declare namespace CreatePromptProvider$ {
1881
+ /** @deprecated use `CreatePromptProvider$inboundSchema` instead. */
1882
1882
  const inboundSchema: z.ZodNativeEnum<{
1883
1883
  readonly Cohere: "cohere";
1884
1884
  readonly Openai: "openai";
@@ -1899,7 +1899,7 @@ export declare namespace CreatePromptPromptsProvider$ {
1899
1899
  readonly Togetherai: "togetherai";
1900
1900
  readonly Elevenlabs: "elevenlabs";
1901
1901
  }>;
1902
- /** @deprecated use `CreatePromptPromptsProvider$outboundSchema` instead. */
1902
+ /** @deprecated use `CreatePromptProvider$outboundSchema` instead. */
1903
1903
  const outboundSchema: z.ZodNativeEnum<{
1904
1904
  readonly Cohere: "cohere";
1905
1905
  readonly Openai: "openai";
@@ -2190,45 +2190,45 @@ export declare namespace CreatePromptPromptsMessages$ {
2190
2190
  export declare function createPromptPromptsMessagesToJSON(createPromptPromptsMessages: CreatePromptPromptsMessages): string;
2191
2191
  export declare function createPromptPromptsMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsMessages, SDKValidationError>;
2192
2192
  /** @internal */
2193
- export declare const CreatePromptPromptsPromptConfig$inboundSchema: z.ZodType<CreatePromptPromptsPromptConfig, z.ZodTypeDef, unknown>;
2193
+ export declare const CreatePromptPromptConfig$inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
2194
2194
  /** @internal */
2195
- export type CreatePromptPromptsPromptConfig$Outbound = {
2195
+ export type CreatePromptPromptConfig$Outbound = {
2196
2196
  stream?: boolean | undefined;
2197
2197
  model?: string | undefined;
2198
2198
  model_db_id?: string | undefined;
2199
2199
  model_type?: string | undefined;
2200
- model_parameters?: CreatePromptPromptsModelParameters$Outbound | undefined;
2200
+ model_parameters?: CreatePromptModelParameters$Outbound | undefined;
2201
2201
  provider?: string | undefined;
2202
2202
  integration_id?: string | null | undefined;
2203
2203
  version?: string | undefined;
2204
2204
  messages: Array<CreatePromptPromptsMessages$Outbound>;
2205
2205
  };
2206
2206
  /** @internal */
2207
- export declare const CreatePromptPromptsPromptConfig$outboundSchema: z.ZodType<CreatePromptPromptsPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptsPromptConfig>;
2207
+ export declare const CreatePromptPromptConfig$outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
2208
2208
  /**
2209
2209
  * @internal
2210
2210
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2211
2211
  */
2212
- export declare namespace CreatePromptPromptsPromptConfig$ {
2213
- /** @deprecated use `CreatePromptPromptsPromptConfig$inboundSchema` instead. */
2214
- const inboundSchema: z.ZodType<CreatePromptPromptsPromptConfig, z.ZodTypeDef, unknown>;
2215
- /** @deprecated use `CreatePromptPromptsPromptConfig$outboundSchema` instead. */
2216
- const outboundSchema: z.ZodType<CreatePromptPromptsPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptsPromptConfig>;
2217
- /** @deprecated use `CreatePromptPromptsPromptConfig$Outbound` instead. */
2218
- type Outbound = CreatePromptPromptsPromptConfig$Outbound;
2212
+ export declare namespace CreatePromptPromptConfig$ {
2213
+ /** @deprecated use `CreatePromptPromptConfig$inboundSchema` instead. */
2214
+ const inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
2215
+ /** @deprecated use `CreatePromptPromptConfig$outboundSchema` instead. */
2216
+ const outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
2217
+ /** @deprecated use `CreatePromptPromptConfig$Outbound` instead. */
2218
+ type Outbound = CreatePromptPromptConfig$Outbound;
2219
2219
  }
2220
- export declare function createPromptPromptsPromptConfigToJSON(createPromptPromptsPromptConfig: CreatePromptPromptsPromptConfig): string;
2221
- export declare function createPromptPromptsPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsPromptConfig, SDKValidationError>;
2220
+ export declare function createPromptPromptConfigToJSON(createPromptPromptConfig: CreatePromptPromptConfig): string;
2221
+ export declare function createPromptPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptConfig, SDKValidationError>;
2222
2222
  /** @internal */
2223
- export declare const CreatePromptPromptsUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsUseCases>;
2223
+ export declare const CreatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
2224
2224
  /** @internal */
2225
- export declare const CreatePromptPromptsUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsUseCases>;
2225
+ export declare const CreatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
2226
2226
  /**
2227
2227
  * @internal
2228
2228
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2229
2229
  */
2230
- export declare namespace CreatePromptPromptsUseCases$ {
2231
- /** @deprecated use `CreatePromptPromptsUseCases$inboundSchema` instead. */
2230
+ export declare namespace CreatePromptUseCases$ {
2231
+ /** @deprecated use `CreatePromptUseCases$inboundSchema` instead. */
2232
2232
  const inboundSchema: z.ZodNativeEnum<{
2233
2233
  readonly Agents: "Agents";
2234
2234
  readonly AgentsSimulations: "Agents simulations";
@@ -2247,7 +2247,7 @@ export declare namespace CreatePromptPromptsUseCases$ {
2247
2247
  readonly Summarization: "Summarization";
2248
2248
  readonly Tagging: "Tagging";
2249
2249
  }>;
2250
- /** @deprecated use `CreatePromptPromptsUseCases$outboundSchema` instead. */
2250
+ /** @deprecated use `CreatePromptUseCases$outboundSchema` instead. */
2251
2251
  const outboundSchema: z.ZodNativeEnum<{
2252
2252
  readonly Agents: "Agents";
2253
2253
  readonly AgentsSimulations: "Agents simulations";
@@ -2268,15 +2268,15 @@ export declare namespace CreatePromptPromptsUseCases$ {
2268
2268
  }>;
2269
2269
  }
2270
2270
  /** @internal */
2271
- export declare const CreatePromptPromptsLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsLanguage>;
2271
+ export declare const CreatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
2272
2272
  /** @internal */
2273
- export declare const CreatePromptPromptsLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsLanguage>;
2273
+ export declare const CreatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
2274
2274
  /**
2275
2275
  * @internal
2276
2276
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2277
2277
  */
2278
- export declare namespace CreatePromptPromptsLanguage$ {
2279
- /** @deprecated use `CreatePromptPromptsLanguage$inboundSchema` instead. */
2278
+ export declare namespace CreatePromptLanguage$ {
2279
+ /** @deprecated use `CreatePromptLanguage$inboundSchema` instead. */
2280
2280
  const inboundSchema: z.ZodNativeEnum<{
2281
2281
  readonly Chinese: "Chinese";
2282
2282
  readonly Dutch: "Dutch";
@@ -2286,7 +2286,7 @@ export declare namespace CreatePromptPromptsLanguage$ {
2286
2286
  readonly Russian: "Russian";
2287
2287
  readonly Spanish: "Spanish";
2288
2288
  }>;
2289
- /** @deprecated use `CreatePromptPromptsLanguage$outboundSchema` instead. */
2289
+ /** @deprecated use `CreatePromptLanguage$outboundSchema` instead. */
2290
2290
  const outboundSchema: z.ZodNativeEnum<{
2291
2291
  readonly Chinese: "Chinese";
2292
2292
  readonly Dutch: "Dutch";
@@ -2334,7 +2334,7 @@ export type CreatePromptResponseBody$Outbound = {
2334
2334
  updated_by_id?: string | undefined;
2335
2335
  display_name: string;
2336
2336
  description?: string | null | undefined;
2337
- prompt_config: CreatePromptPromptsPromptConfig$Outbound;
2337
+ prompt_config: CreatePromptPromptConfig$Outbound;
2338
2338
  metadata?: CreatePromptPromptsMetadata$Outbound | undefined;
2339
2339
  };
2340
2340
  /** @internal */