@orq-ai/node 3.1.0-rc.54 → 3.1.0-rc.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/docs/sdks/prompts/README.md +182 -25
- package/funcs/contactsCreate.d.ts.map +1 -1
- package/funcs/contactsCreate.js +0 -4
- package/funcs/contactsCreate.js.map +1 -1
- package/funcs/deploymentsGetConfig.d.ts.map +1 -1
- package/funcs/deploymentsGetConfig.js +0 -4
- package/funcs/deploymentsGetConfig.js.map +1 -1
- package/funcs/deploymentsList.d.ts.map +1 -1
- package/funcs/deploymentsList.js +0 -4
- package/funcs/deploymentsList.js.map +1 -1
- package/funcs/deploymentsMetricsCreate.d.ts.map +1 -1
- package/funcs/deploymentsMetricsCreate.js +0 -4
- package/funcs/deploymentsMetricsCreate.js.map +1 -1
- package/funcs/feedbackCreate.d.ts.map +1 -1
- package/funcs/feedbackCreate.js +0 -4
- package/funcs/feedbackCreate.js.map +1 -1
- package/funcs/filesDelete.d.ts.map +1 -1
- package/funcs/filesDelete.js +0 -4
- package/funcs/filesDelete.js.map +1 -1
- package/funcs/filesGet.d.ts.map +1 -1
- package/funcs/filesGet.js +0 -4
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesList.d.ts.map +1 -1
- package/funcs/filesList.js +0 -4
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpload.d.ts.map +1 -1
- package/funcs/filesUpload.js +0 -4
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/promptSnippetsCreate.d.ts.map +1 -1
- package/funcs/promptSnippetsCreate.js +0 -4
- package/funcs/promptSnippetsCreate.js.map +1 -1
- package/funcs/promptSnippetsDelete.d.ts.map +1 -1
- package/funcs/promptSnippetsDelete.js +0 -4
- package/funcs/promptSnippetsDelete.js.map +1 -1
- package/funcs/promptSnippetsGet.d.ts.map +1 -1
- package/funcs/promptSnippetsGet.js +0 -4
- package/funcs/promptSnippetsGet.js.map +1 -1
- package/funcs/promptSnippetsGetByKey.d.ts.map +1 -1
- package/funcs/promptSnippetsGetByKey.js +0 -4
- package/funcs/promptSnippetsGetByKey.js.map +1 -1
- package/funcs/promptSnippetsList.d.ts.map +1 -1
- package/funcs/promptSnippetsList.js +0 -4
- package/funcs/promptSnippetsList.js.map +1 -1
- package/funcs/promptSnippetsUpdate.d.ts.map +1 -1
- package/funcs/promptSnippetsUpdate.js +0 -4
- package/funcs/promptSnippetsUpdate.js.map +1 -1
- package/funcs/promptsCreate.d.ts.map +1 -1
- package/funcs/promptsCreate.js +0 -4
- package/funcs/promptsCreate.js.map +1 -1
- package/funcs/promptsDelete.d.ts.map +1 -1
- package/funcs/promptsDelete.js +0 -4
- package/funcs/promptsDelete.js.map +1 -1
- package/funcs/promptsGetVersion.d.ts +16 -0
- package/funcs/promptsGetVersion.d.ts.map +1 -0
- package/funcs/promptsGetVersion.js +120 -0
- package/funcs/promptsGetVersion.js.map +1 -0
- package/funcs/promptsList.d.ts +3 -0
- package/funcs/promptsList.d.ts.map +1 -1
- package/funcs/promptsList.js +3 -4
- package/funcs/promptsList.js.map +1 -1
- package/funcs/promptsListVersions.d.ts +15 -0
- package/funcs/promptsListVersions.d.ts.map +1 -0
- package/funcs/promptsListVersions.js +118 -0
- package/funcs/promptsListVersions.js.map +1 -0
- package/funcs/{promptsGet.d.ts → promptsRetrieve.d.ts} +5 -2
- package/funcs/promptsRetrieve.d.ts.map +1 -0
- package/funcs/{promptsGet.js → promptsRetrieve.js} +6 -7
- package/funcs/promptsRetrieve.js.map +1 -0
- package/funcs/promptsUpdate.d.ts.map +1 -1
- package/funcs/promptsUpdate.js +0 -4
- package/funcs/promptsUpdate.js.map +1 -1
- package/funcs/remoteconfigGetConfig.d.ts.map +1 -1
- package/funcs/remoteconfigGetConfig.js +0 -4
- package/funcs/remoteconfigGetConfig.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/errors/getpromptversion.d.ts +36 -0
- package/models/errors/getpromptversion.d.ts.map +1 -0
- package/models/errors/getpromptversion.js +79 -0
- package/models/errors/getpromptversion.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/createcontact.d.ts +0 -25
- package/models/operations/createcontact.d.ts.map +1 -1
- package/models/operations/createcontact.js +3 -30
- package/models/operations/createcontact.js.map +1 -1
- package/models/operations/createfeedback.d.ts +0 -25
- package/models/operations/createfeedback.d.ts.map +1 -1
- package/models/operations/createfeedback.js +1 -28
- package/models/operations/createfeedback.js.map +1 -1
- package/models/operations/createprompt.d.ts +690 -1932
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +49 -1105
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createpromptsnippet.d.ts +0 -25
- package/models/operations/createpromptsnippet.d.ts.map +1 -1
- package/models/operations/createpromptsnippet.js +9 -36
- package/models/operations/createpromptsnippet.js.map +1 -1
- package/models/operations/deleteprompt.d.ts +0 -25
- package/models/operations/deleteprompt.d.ts.map +1 -1
- package/models/operations/deleteprompt.js +1 -28
- package/models/operations/deleteprompt.js.map +1 -1
- package/models/operations/deletepromptsnippet.d.ts +0 -25
- package/models/operations/deletepromptsnippet.d.ts.map +1 -1
- package/models/operations/deletepromptsnippet.js +1 -28
- package/models/operations/deletepromptsnippet.js.map +1 -1
- package/models/operations/deploymentcreatemetric.d.ts +0 -25
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +2 -29
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +0 -25
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +4 -31
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +0 -25
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +3 -30
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/filedelete.d.ts +0 -25
- package/models/operations/filedelete.d.ts.map +1 -1
- package/models/operations/filedelete.js +1 -28
- package/models/operations/filedelete.js.map +1 -1
- package/models/operations/fileget.d.ts +0 -25
- package/models/operations/fileget.d.ts.map +1 -1
- package/models/operations/fileget.js +3 -30
- package/models/operations/fileget.js.map +1 -1
- package/models/operations/filelist.d.ts +0 -25
- package/models/operations/filelist.d.ts.map +1 -1
- package/models/operations/filelist.js +3 -30
- package/models/operations/filelist.js.map +1 -1
- package/models/operations/fileupload.d.ts +0 -25
- package/models/operations/fileupload.d.ts.map +1 -1
- package/models/operations/fileupload.js +3 -30
- package/models/operations/fileupload.js.map +1 -1
- package/models/operations/findonebykeypromptsnippet.d.ts +0 -25
- package/models/operations/findonebykeypromptsnippet.d.ts.map +1 -1
- package/models/operations/findonebykeypromptsnippet.js +7 -34
- package/models/operations/findonebykeypromptsnippet.js.map +1 -1
- package/models/operations/findonepromptsnippet.d.ts +0 -25
- package/models/operations/findonepromptsnippet.d.ts.map +1 -1
- package/models/operations/findonepromptsnippet.js +7 -34
- package/models/operations/findonepromptsnippet.js.map +1 -1
- package/models/operations/getallprompts.d.ts +426 -1671
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +47 -1099
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getallpromptsnippets.d.ts +0 -25
- package/models/operations/getallpromptsnippets.d.ts.map +1 -1
- package/models/operations/getallpromptsnippets.js +7 -34
- package/models/operations/getallpromptsnippets.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +0 -25
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -28
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1228 -0
- package/models/operations/getpromptversion.d.ts.map +1 -0
- package/models/operations/getpromptversion.js +1080 -0
- package/models/operations/getpromptversion.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +1286 -0
- package/models/operations/listpromptversions.d.ts.map +1 -0
- package/models/operations/listpromptversions.js +1142 -0
- package/models/operations/listpromptversions.js.map +1 -0
- package/models/operations/remoteconfigsgetconfig.d.ts +0 -25
- package/models/operations/remoteconfigsgetconfig.d.ts.map +1 -1
- package/models/operations/remoteconfigsgetconfig.js +1 -28
- package/models/operations/remoteconfigsgetconfig.js.map +1 -1
- package/models/operations/updateprompt.d.ts +728 -1958
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +67 -1105
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatepromptsnippet.d.ts +0 -25
- package/models/operations/updatepromptsnippet.d.ts.map +1 -1
- package/models/operations/updatepromptsnippet.js +9 -36
- package/models/operations/updatepromptsnippet.js.map +1 -1
- package/package.json +1 -1
- package/sdk/prompts.d.ts +24 -4
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +33 -7
- package/sdk/prompts.js.map +1 -1
- package/src/funcs/contactsCreate.ts +1 -5
- package/src/funcs/deploymentsGetConfig.ts +1 -5
- package/src/funcs/deploymentsList.ts +1 -5
- package/src/funcs/deploymentsMetricsCreate.ts +0 -4
- package/src/funcs/feedbackCreate.ts +1 -5
- package/src/funcs/filesDelete.ts +0 -4
- package/src/funcs/filesGet.ts +0 -4
- package/src/funcs/filesList.ts +1 -5
- package/src/funcs/filesUpload.ts +1 -5
- package/src/funcs/promptSnippetsCreate.ts +1 -5
- package/src/funcs/promptSnippetsDelete.ts +0 -4
- package/src/funcs/promptSnippetsGet.ts +0 -4
- package/src/funcs/promptSnippetsGetByKey.ts +0 -4
- package/src/funcs/promptSnippetsList.ts +1 -5
- package/src/funcs/promptSnippetsUpdate.ts +0 -4
- package/src/funcs/promptsCreate.ts +1 -5
- package/src/funcs/promptsDelete.ts +0 -4
- package/src/funcs/promptsGetVersion.ts +146 -0
- package/src/funcs/promptsList.ts +4 -5
- package/src/funcs/promptsListVersions.ts +139 -0
- package/src/funcs/{promptsGet.ts → promptsRetrieve.ts} +4 -5
- package/src/funcs/promptsUpdate.ts +0 -4
- package/src/funcs/remoteconfigGetConfig.ts +1 -5
- package/src/lib/config.ts +2 -2
- package/src/models/errors/getpromptversion.ts +71 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/createcontact.ts +2 -60
- package/src/models/operations/createfeedback.ts +0 -58
- package/src/models/operations/createprompt.ts +1375 -3592
- package/src/models/operations/createpromptsnippet.ts +2 -60
- package/src/models/operations/deleteprompt.ts +0 -58
- package/src/models/operations/deletepromptsnippet.ts +0 -58
- package/src/models/operations/deploymentcreatemetric.ts +0 -60
- package/src/models/operations/deploymentgetconfig.ts +0 -58
- package/src/models/operations/deployments.ts +0 -58
- package/src/models/operations/filedelete.ts +0 -58
- package/src/models/operations/fileget.ts +2 -56
- package/src/models/operations/filelist.ts +2 -58
- package/src/models/operations/fileupload.ts +2 -60
- package/src/models/operations/findonebykeypromptsnippet.ts +2 -62
- package/src/models/operations/findonepromptsnippet.ts +2 -62
- package/src/models/operations/getallprompts.ts +732 -2826
- package/src/models/operations/getallpromptsnippets.ts +2 -62
- package/src/models/operations/getoneprompt.ts +0 -58
- package/src/models/operations/getpromptversion.ts +2012 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listpromptversions.ts +2146 -0
- package/src/models/operations/remoteconfigsgetconfig.ts +0 -60
- package/src/models/operations/updateprompt.ts +1544 -3731
- package/src/models/operations/updatepromptsnippet.ts +2 -60
- package/src/sdk/prompts.ts +53 -11
- package/funcs/promptsGet.d.ts.map +0 -1
- package/funcs/promptsGet.js.map +0 -1
|
@@ -2,9 +2,6 @@ import * as z from "zod";
|
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
export type GetAllPromptsGlobals = {
|
|
6
|
-
contactId?: string | undefined;
|
|
7
|
-
};
|
|
8
5
|
export type GetAllPromptsRequest = {
|
|
9
6
|
/**
|
|
10
7
|
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
@@ -23,11 +20,10 @@ export declare const GetAllPromptsObject: {
|
|
|
23
20
|
readonly List: "list";
|
|
24
21
|
};
|
|
25
22
|
export type GetAllPromptsObject = ClosedEnum<typeof GetAllPromptsObject>;
|
|
26
|
-
export declare const
|
|
27
|
-
readonly
|
|
23
|
+
export declare const GetAllPromptsType: {
|
|
24
|
+
readonly Prompt: "prompt";
|
|
28
25
|
};
|
|
29
|
-
export type
|
|
30
|
-
export type GetAllPromptsOwner = string | GetAllPromptsOwner2;
|
|
26
|
+
export type GetAllPromptsType = ClosedEnum<typeof GetAllPromptsType>;
|
|
31
27
|
/**
|
|
32
28
|
* The type of the model
|
|
33
29
|
*/
|
|
@@ -393,1449 +389,237 @@ export type GetAllPromptsMetadata = {
|
|
|
393
389
|
*/
|
|
394
390
|
language?: GetAllPromptsLanguage | undefined;
|
|
395
391
|
};
|
|
396
|
-
export
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
392
|
+
export type GetAllPromptsData = {
|
|
393
|
+
id: string;
|
|
394
|
+
type: GetAllPromptsType;
|
|
395
|
+
owner: string;
|
|
396
|
+
domainId: string;
|
|
397
|
+
created: string;
|
|
398
|
+
updated: string;
|
|
399
|
+
createdById?: string | undefined;
|
|
400
|
+
updatedById?: string | undefined;
|
|
401
|
+
/**
|
|
402
|
+
* The prompt’s name, meant to be displayable in the UI.
|
|
403
|
+
*/
|
|
404
|
+
displayName: string;
|
|
405
|
+
/**
|
|
406
|
+
* The prompt’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
|
|
407
|
+
*/
|
|
408
|
+
description?: string | null | undefined;
|
|
409
|
+
/**
|
|
410
|
+
* A list of messages compatible with the openAI schema
|
|
411
|
+
*/
|
|
412
|
+
promptConfig: GetAllPromptsPromptConfig;
|
|
413
|
+
metadata?: GetAllPromptsMetadata | undefined;
|
|
413
414
|
};
|
|
414
415
|
/**
|
|
415
|
-
*
|
|
416
|
-
*/
|
|
417
|
-
export type GetAllPromptsPromptsModelType = ClosedEnum<typeof GetAllPromptsPromptsModelType>;
|
|
418
|
-
/**
|
|
419
|
-
* Only supported on `image` models.
|
|
416
|
+
* Prompts retrieved.
|
|
420
417
|
*/
|
|
421
|
-
export
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
readonly JsonObject: "json_object";
|
|
418
|
+
export type GetAllPromptsResponseBody = {
|
|
419
|
+
object: GetAllPromptsObject;
|
|
420
|
+
data: Array<GetAllPromptsData>;
|
|
421
|
+
hasMore: boolean;
|
|
426
422
|
};
|
|
427
|
-
/**
|
|
428
|
-
|
|
429
|
-
*/
|
|
430
|
-
export type
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
export declare const GetAllPromptsPromptsQuality: {
|
|
435
|
-
readonly Standard: "standard";
|
|
436
|
-
readonly Hd: "hd";
|
|
423
|
+
/** @internal */
|
|
424
|
+
export declare const GetAllPromptsRequest$inboundSchema: z.ZodType<GetAllPromptsRequest, z.ZodTypeDef, unknown>;
|
|
425
|
+
/** @internal */
|
|
426
|
+
export type GetAllPromptsRequest$Outbound = {
|
|
427
|
+
limit: number;
|
|
428
|
+
starting_after?: string | undefined;
|
|
429
|
+
ending_before?: string | undefined;
|
|
437
430
|
};
|
|
431
|
+
/** @internal */
|
|
432
|
+
export declare const GetAllPromptsRequest$outboundSchema: z.ZodType<GetAllPromptsRequest$Outbound, z.ZodTypeDef, GetAllPromptsRequest>;
|
|
438
433
|
/**
|
|
439
|
-
*
|
|
434
|
+
* @internal
|
|
435
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
440
436
|
*/
|
|
441
|
-
export
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
type
|
|
448
|
-
}
|
|
449
|
-
export declare
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
export
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
strict: boolean;
|
|
456
|
-
schema: {
|
|
457
|
-
[k: string]: any;
|
|
458
|
-
};
|
|
459
|
-
};
|
|
460
|
-
export type GetAllPromptsResponseFormatPrompts1 = {
|
|
461
|
-
type: GetAllPromptsResponseFormatPromptsResponseType;
|
|
462
|
-
jsonSchema: GetAllPromptsResponseFormatPromptsJsonSchema;
|
|
463
|
-
};
|
|
437
|
+
export declare namespace GetAllPromptsRequest$ {
|
|
438
|
+
/** @deprecated use `GetAllPromptsRequest$inboundSchema` instead. */
|
|
439
|
+
const inboundSchema: z.ZodType<GetAllPromptsRequest, z.ZodTypeDef, unknown>;
|
|
440
|
+
/** @deprecated use `GetAllPromptsRequest$outboundSchema` instead. */
|
|
441
|
+
const outboundSchema: z.ZodType<GetAllPromptsRequest$Outbound, z.ZodTypeDef, GetAllPromptsRequest>;
|
|
442
|
+
/** @deprecated use `GetAllPromptsRequest$Outbound` instead. */
|
|
443
|
+
type Outbound = GetAllPromptsRequest$Outbound;
|
|
444
|
+
}
|
|
445
|
+
export declare function getAllPromptsRequestToJSON(getAllPromptsRequest: GetAllPromptsRequest): string;
|
|
446
|
+
export declare function getAllPromptsRequestFromJSON(jsonString: string): SafeParseResult<GetAllPromptsRequest, SDKValidationError>;
|
|
447
|
+
/** @internal */
|
|
448
|
+
export declare const GetAllPromptsObject$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsObject>;
|
|
449
|
+
/** @internal */
|
|
450
|
+
export declare const GetAllPromptsObject$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsObject>;
|
|
464
451
|
/**
|
|
465
|
-
*
|
|
466
|
-
*
|
|
467
|
-
* @remarks
|
|
468
|
-
*
|
|
469
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
470
|
-
*
|
|
471
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
472
|
-
*
|
|
473
|
-
* 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.
|
|
452
|
+
* @internal
|
|
453
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
474
454
|
*/
|
|
475
|
-
export
|
|
455
|
+
export declare namespace GetAllPromptsObject$ {
|
|
456
|
+
/** @deprecated use `GetAllPromptsObject$inboundSchema` instead. */
|
|
457
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
458
|
+
readonly List: "list";
|
|
459
|
+
}>;
|
|
460
|
+
/** @deprecated use `GetAllPromptsObject$outboundSchema` instead. */
|
|
461
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
462
|
+
readonly List: "list";
|
|
463
|
+
}>;
|
|
464
|
+
}
|
|
465
|
+
/** @internal */
|
|
466
|
+
export declare const GetAllPromptsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsType>;
|
|
467
|
+
/** @internal */
|
|
468
|
+
export declare const GetAllPromptsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsType>;
|
|
476
469
|
/**
|
|
477
|
-
*
|
|
470
|
+
* @internal
|
|
471
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
478
472
|
*/
|
|
479
|
-
export declare
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
473
|
+
export declare namespace GetAllPromptsType$ {
|
|
474
|
+
/** @deprecated use `GetAllPromptsType$inboundSchema` instead. */
|
|
475
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
476
|
+
readonly Prompt: "prompt";
|
|
477
|
+
}>;
|
|
478
|
+
/** @deprecated use `GetAllPromptsType$outboundSchema` instead. */
|
|
479
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
480
|
+
readonly Prompt: "prompt";
|
|
481
|
+
}>;
|
|
482
|
+
}
|
|
483
|
+
/** @internal */
|
|
484
|
+
export declare const GetAllPromptsModelType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsModelType>;
|
|
485
|
+
/** @internal */
|
|
486
|
+
export declare const GetAllPromptsModelType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsModelType>;
|
|
483
487
|
/**
|
|
484
|
-
*
|
|
488
|
+
* @internal
|
|
489
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
485
490
|
*/
|
|
486
|
-
export
|
|
491
|
+
export declare namespace GetAllPromptsModelType$ {
|
|
492
|
+
/** @deprecated use `GetAllPromptsModelType$inboundSchema` instead. */
|
|
493
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
494
|
+
readonly Chat: "chat";
|
|
495
|
+
readonly Completion: "completion";
|
|
496
|
+
readonly Embedding: "embedding";
|
|
497
|
+
readonly Vision: "vision";
|
|
498
|
+
readonly Image: "image";
|
|
499
|
+
readonly Tts: "tts";
|
|
500
|
+
readonly Stt: "stt";
|
|
501
|
+
readonly Rerank: "rerank";
|
|
502
|
+
readonly Moderations: "moderations";
|
|
503
|
+
}>;
|
|
504
|
+
/** @deprecated use `GetAllPromptsModelType$outboundSchema` instead. */
|
|
505
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
506
|
+
readonly Chat: "chat";
|
|
507
|
+
readonly Completion: "completion";
|
|
508
|
+
readonly Embedding: "embedding";
|
|
509
|
+
readonly Vision: "vision";
|
|
510
|
+
readonly Image: "image";
|
|
511
|
+
readonly Tts: "tts";
|
|
512
|
+
readonly Stt: "stt";
|
|
513
|
+
readonly Rerank: "rerank";
|
|
514
|
+
readonly Moderations: "moderations";
|
|
515
|
+
}>;
|
|
516
|
+
}
|
|
517
|
+
/** @internal */
|
|
518
|
+
export declare const GetAllPromptsFormat$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsFormat>;
|
|
519
|
+
/** @internal */
|
|
520
|
+
export declare const GetAllPromptsFormat$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsFormat>;
|
|
487
521
|
/**
|
|
488
|
-
*
|
|
522
|
+
* @internal
|
|
523
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
489
524
|
*/
|
|
490
|
-
export declare
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
525
|
+
export declare namespace GetAllPromptsFormat$ {
|
|
526
|
+
/** @deprecated use `GetAllPromptsFormat$inboundSchema` instead. */
|
|
527
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
528
|
+
readonly Url: "url";
|
|
529
|
+
readonly B64Json: "b64_json";
|
|
530
|
+
readonly Text: "text";
|
|
531
|
+
readonly JsonObject: "json_object";
|
|
532
|
+
}>;
|
|
533
|
+
/** @deprecated use `GetAllPromptsFormat$outboundSchema` instead. */
|
|
534
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
535
|
+
readonly Url: "url";
|
|
536
|
+
readonly B64Json: "b64_json";
|
|
537
|
+
readonly Text: "text";
|
|
538
|
+
readonly JsonObject: "json_object";
|
|
539
|
+
}>;
|
|
540
|
+
}
|
|
541
|
+
/** @internal */
|
|
542
|
+
export declare const GetAllPromptsQuality$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsQuality>;
|
|
543
|
+
/** @internal */
|
|
544
|
+
export declare const GetAllPromptsQuality$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsQuality>;
|
|
494
545
|
/**
|
|
495
|
-
*
|
|
546
|
+
* @internal
|
|
547
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
496
548
|
*/
|
|
497
|
-
export
|
|
549
|
+
export declare namespace GetAllPromptsQuality$ {
|
|
550
|
+
/** @deprecated use `GetAllPromptsQuality$inboundSchema` instead. */
|
|
551
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
552
|
+
readonly Standard: "standard";
|
|
553
|
+
readonly Hd: "hd";
|
|
554
|
+
}>;
|
|
555
|
+
/** @deprecated use `GetAllPromptsQuality$outboundSchema` instead. */
|
|
556
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
557
|
+
readonly Standard: "standard";
|
|
558
|
+
readonly Hd: "hd";
|
|
559
|
+
}>;
|
|
560
|
+
}
|
|
561
|
+
/** @internal */
|
|
562
|
+
export declare const GetAllPromptsResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsType>;
|
|
563
|
+
/** @internal */
|
|
564
|
+
export declare const GetAllPromptsResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsType>;
|
|
498
565
|
/**
|
|
499
|
-
*
|
|
566
|
+
* @internal
|
|
567
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
500
568
|
*/
|
|
501
|
-
export declare
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
569
|
+
export declare namespace GetAllPromptsResponseFormatPromptsType$ {
|
|
570
|
+
/** @deprecated use `GetAllPromptsResponseFormatPromptsType$inboundSchema` instead. */
|
|
571
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
572
|
+
readonly JsonObject: "json_object";
|
|
573
|
+
}>;
|
|
574
|
+
/** @deprecated use `GetAllPromptsResponseFormatPromptsType$outboundSchema` instead. */
|
|
575
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
576
|
+
readonly JsonObject: "json_object";
|
|
577
|
+
}>;
|
|
578
|
+
}
|
|
579
|
+
/** @internal */
|
|
580
|
+
export declare const GetAllPromptsResponseFormat2$inboundSchema: z.ZodType<GetAllPromptsResponseFormat2, z.ZodTypeDef, unknown>;
|
|
581
|
+
/** @internal */
|
|
582
|
+
export type GetAllPromptsResponseFormat2$Outbound = {
|
|
583
|
+
type: string;
|
|
505
584
|
};
|
|
585
|
+
/** @internal */
|
|
586
|
+
export declare const GetAllPromptsResponseFormat2$outboundSchema: z.ZodType<GetAllPromptsResponseFormat2$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat2>;
|
|
506
587
|
/**
|
|
507
|
-
*
|
|
508
|
-
|
|
509
|
-
export type GetAllPromptsPromptsReasoningEffort = ClosedEnum<typeof GetAllPromptsPromptsReasoningEffort>;
|
|
510
|
-
/**
|
|
511
|
-
* Model Parameters: Not all parameters apply to every model
|
|
588
|
+
* @internal
|
|
589
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
512
590
|
*/
|
|
513
|
-
export
|
|
514
|
-
/**
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
|
|
520
|
-
*/
|
|
521
|
-
maxTokens?: number | undefined;
|
|
522
|
-
/**
|
|
523
|
-
* Only supported on `chat` and `completion` models.
|
|
524
|
-
*/
|
|
525
|
-
topK?: number | undefined;
|
|
526
|
-
/**
|
|
527
|
-
* Only supported on `chat` and `completion` models.
|
|
528
|
-
*/
|
|
529
|
-
topP?: number | undefined;
|
|
530
|
-
/**
|
|
531
|
-
* Only supported on `chat` and `completion` models.
|
|
532
|
-
*/
|
|
533
|
-
frequencyPenalty?: number | undefined;
|
|
534
|
-
/**
|
|
535
|
-
* Only supported on `chat` and `completion` models.
|
|
536
|
-
*/
|
|
537
|
-
presencePenalty?: number | undefined;
|
|
538
|
-
/**
|
|
539
|
-
* Only supported on `image` models.
|
|
540
|
-
*/
|
|
541
|
-
numImages?: number | undefined;
|
|
542
|
-
/**
|
|
543
|
-
* Best effort deterministic seed for the model. Currently only OpenAI models support these
|
|
544
|
-
*/
|
|
545
|
-
seed?: number | undefined;
|
|
546
|
-
/**
|
|
547
|
-
* Only supported on `image` models.
|
|
548
|
-
*/
|
|
549
|
-
format?: GetAllPromptsPromptsFormat | undefined;
|
|
550
|
-
/**
|
|
551
|
-
* Only supported on `image` models.
|
|
552
|
-
*/
|
|
553
|
-
dimensions?: string | undefined;
|
|
554
|
-
/**
|
|
555
|
-
* Only supported on `image` models.
|
|
556
|
-
*/
|
|
557
|
-
quality?: GetAllPromptsPromptsQuality | undefined;
|
|
558
|
-
/**
|
|
559
|
-
* Only supported on `image` models.
|
|
560
|
-
*/
|
|
561
|
-
style?: string | undefined;
|
|
562
|
-
/**
|
|
563
|
-
* An object specifying the format that the model must output.
|
|
564
|
-
*
|
|
565
|
-
* @remarks
|
|
566
|
-
*
|
|
567
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
568
|
-
*
|
|
569
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
570
|
-
*
|
|
571
|
-
* 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.
|
|
572
|
-
*/
|
|
573
|
-
responseFormat?: GetAllPromptsResponseFormatPrompts2 | GetAllPromptsResponseFormatPrompts1 | null | undefined;
|
|
574
|
-
/**
|
|
575
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
576
|
-
*/
|
|
577
|
-
photoRealVersion?: GetAllPromptsPromptsPhotoRealVersion | undefined;
|
|
578
|
-
/**
|
|
579
|
-
* The format to return the embeddings
|
|
580
|
-
*/
|
|
581
|
-
encodingFormat?: GetAllPromptsPromptsEncodingFormat | undefined;
|
|
582
|
-
/**
|
|
583
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
584
|
-
*/
|
|
585
|
-
reasoningEffort?: GetAllPromptsPromptsReasoningEffort | undefined;
|
|
586
|
-
};
|
|
587
|
-
export declare const GetAllPromptsPromptsProvider: {
|
|
588
|
-
readonly Cohere: "cohere";
|
|
589
|
-
readonly Openai: "openai";
|
|
590
|
-
readonly Anthropic: "anthropic";
|
|
591
|
-
readonly Huggingface: "huggingface";
|
|
592
|
-
readonly Replicate: "replicate";
|
|
593
|
-
readonly Google: "google";
|
|
594
|
-
readonly GoogleAi: "google-ai";
|
|
595
|
-
readonly Azure: "azure";
|
|
596
|
-
readonly Aws: "aws";
|
|
597
|
-
readonly Anyscale: "anyscale";
|
|
598
|
-
readonly Perplexity: "perplexity";
|
|
599
|
-
readonly Groq: "groq";
|
|
600
|
-
readonly Fal: "fal";
|
|
601
|
-
readonly Leonardoai: "leonardoai";
|
|
602
|
-
readonly Nvidia: "nvidia";
|
|
603
|
-
readonly Jina: "jina";
|
|
604
|
-
readonly Togetherai: "togetherai";
|
|
605
|
-
readonly Elevenlabs: "elevenlabs";
|
|
606
|
-
};
|
|
607
|
-
export type GetAllPromptsPromptsProvider = ClosedEnum<typeof GetAllPromptsPromptsProvider>;
|
|
608
|
-
/**
|
|
609
|
-
* The role of the prompt message
|
|
610
|
-
*/
|
|
611
|
-
export declare const GetAllPromptsPromptsRole: {
|
|
612
|
-
readonly System: "system";
|
|
613
|
-
readonly Assistant: "assistant";
|
|
614
|
-
readonly User: "user";
|
|
615
|
-
readonly Exception: "exception";
|
|
616
|
-
readonly Tool: "tool";
|
|
617
|
-
readonly Prompt: "prompt";
|
|
618
|
-
readonly Correction: "correction";
|
|
619
|
-
readonly ExpectedOutput: "expected_output";
|
|
620
|
-
};
|
|
621
|
-
/**
|
|
622
|
-
* The role of the prompt message
|
|
623
|
-
*/
|
|
624
|
-
export type GetAllPromptsPromptsRole = ClosedEnum<typeof GetAllPromptsPromptsRole>;
|
|
625
|
-
export declare const GetAllPrompts2PromptsResponse200Type: {
|
|
626
|
-
readonly ImageUrl: "image_url";
|
|
627
|
-
};
|
|
628
|
-
export type GetAllPrompts2PromptsResponse200Type = ClosedEnum<typeof GetAllPrompts2PromptsResponse200Type>;
|
|
629
|
-
export type GetAllPrompts2PromptsImageUrl = {
|
|
630
|
-
/**
|
|
631
|
-
* The orq.ai id of the image
|
|
632
|
-
*/
|
|
633
|
-
id?: string | undefined;
|
|
634
|
-
/**
|
|
635
|
-
* Either a URL of the image or the base64 encoded data URI.
|
|
636
|
-
*/
|
|
637
|
-
url: string;
|
|
638
|
-
/**
|
|
639
|
-
* Specifies the detail level of the image. Currently only supported with OpenAI models
|
|
640
|
-
*/
|
|
641
|
-
detail?: string | undefined;
|
|
642
|
-
};
|
|
643
|
-
/**
|
|
644
|
-
* The image part of the prompt message. Only supported with vision models.
|
|
645
|
-
*/
|
|
646
|
-
export type GetAllPrompts2Prompts2 = {
|
|
647
|
-
type: GetAllPrompts2PromptsResponse200Type;
|
|
648
|
-
imageUrl: GetAllPrompts2PromptsImageUrl;
|
|
649
|
-
};
|
|
650
|
-
export declare const GetAllPrompts2PromptsResponseType: {
|
|
651
|
-
readonly Text: "text";
|
|
652
|
-
};
|
|
653
|
-
export type GetAllPrompts2PromptsResponseType = ClosedEnum<typeof GetAllPrompts2PromptsResponseType>;
|
|
654
|
-
/**
|
|
655
|
-
* Text content part of a prompt message
|
|
656
|
-
*/
|
|
657
|
-
export type GetAllPrompts2Prompts1 = {
|
|
658
|
-
type: GetAllPrompts2PromptsResponseType;
|
|
659
|
-
text: string;
|
|
660
|
-
};
|
|
661
|
-
export type GetAllPromptsContentPrompts2 = GetAllPrompts2Prompts1 | GetAllPrompts2Prompts2;
|
|
662
|
-
/**
|
|
663
|
-
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
664
|
-
*/
|
|
665
|
-
export type GetAllPromptsPromptsContent = string | Array<GetAllPrompts2Prompts1 | GetAllPrompts2Prompts2>;
|
|
666
|
-
export declare const GetAllPromptsPromptsResponseType: {
|
|
667
|
-
readonly Function: "function";
|
|
668
|
-
};
|
|
669
|
-
export type GetAllPromptsPromptsResponseType = ClosedEnum<typeof GetAllPromptsPromptsResponseType>;
|
|
670
|
-
export type GetAllPromptsPromptsFunction = {
|
|
671
|
-
name: string;
|
|
672
|
-
/**
|
|
673
|
-
* JSON string arguments for the functions
|
|
674
|
-
*/
|
|
675
|
-
arguments: string;
|
|
676
|
-
};
|
|
677
|
-
export type GetAllPromptsPromptsToolCalls = {
|
|
678
|
-
id?: string | undefined;
|
|
679
|
-
index?: number | undefined;
|
|
680
|
-
type: GetAllPromptsPromptsResponseType;
|
|
681
|
-
function: GetAllPromptsPromptsFunction;
|
|
682
|
-
};
|
|
683
|
-
export type GetAllPromptsPromptsMessages = {
|
|
684
|
-
/**
|
|
685
|
-
* The role of the prompt message
|
|
686
|
-
*/
|
|
687
|
-
role: GetAllPromptsPromptsRole;
|
|
688
|
-
/**
|
|
689
|
-
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
|
|
690
|
-
*/
|
|
691
|
-
content: string | Array<GetAllPrompts2Prompts1 | GetAllPrompts2Prompts2>;
|
|
692
|
-
toolCalls?: Array<GetAllPromptsPromptsToolCalls> | undefined;
|
|
693
|
-
};
|
|
694
|
-
/**
|
|
695
|
-
* A list of messages compatible with the openAI schema
|
|
696
|
-
*/
|
|
697
|
-
export type GetAllPromptsPromptsPromptConfig = {
|
|
698
|
-
stream?: boolean | undefined;
|
|
699
|
-
model?: string | undefined;
|
|
700
|
-
/**
|
|
701
|
-
* The id of the resource
|
|
702
|
-
*/
|
|
703
|
-
modelDbId?: string | undefined;
|
|
704
|
-
/**
|
|
705
|
-
* The type of the model
|
|
706
|
-
*/
|
|
707
|
-
modelType?: GetAllPromptsPromptsModelType | undefined;
|
|
708
|
-
/**
|
|
709
|
-
* Model Parameters: Not all parameters apply to every model
|
|
710
|
-
*/
|
|
711
|
-
modelParameters?: GetAllPromptsPromptsModelParameters | undefined;
|
|
712
|
-
provider?: GetAllPromptsPromptsProvider | undefined;
|
|
713
|
-
/**
|
|
714
|
-
* The id of the resource
|
|
715
|
-
*/
|
|
716
|
-
integrationId?: string | null | undefined;
|
|
717
|
-
version?: string | undefined;
|
|
718
|
-
messages: Array<GetAllPromptsPromptsMessages>;
|
|
719
|
-
};
|
|
720
|
-
export declare const GetAllPromptsPromptsUseCases: {
|
|
721
|
-
readonly Agents: "Agents";
|
|
722
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
723
|
-
readonly APIInteraction: "API interaction";
|
|
724
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
725
|
-
readonly Chatbots: "Chatbots";
|
|
726
|
-
readonly Classification: "Classification";
|
|
727
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
728
|
-
readonly CodeWriting: "Code writing";
|
|
729
|
-
readonly DocumentsQA: "Documents QA";
|
|
730
|
-
readonly Conversation: "Conversation";
|
|
731
|
-
readonly Extraction: "Extraction";
|
|
732
|
-
readonly MultiModal: "Multi-modal";
|
|
733
|
-
readonly SelfChecking: "Self-checking";
|
|
734
|
-
readonly Sql: "SQL";
|
|
735
|
-
readonly Summarization: "Summarization";
|
|
736
|
-
readonly Tagging: "Tagging";
|
|
737
|
-
};
|
|
738
|
-
export type GetAllPromptsPromptsUseCases = ClosedEnum<typeof GetAllPromptsPromptsUseCases>;
|
|
739
|
-
/**
|
|
740
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
741
|
-
*/
|
|
742
|
-
export declare const GetAllPromptsPromptsLanguage: {
|
|
743
|
-
readonly Chinese: "Chinese";
|
|
744
|
-
readonly Dutch: "Dutch";
|
|
745
|
-
readonly English: "English";
|
|
746
|
-
readonly French: "French";
|
|
747
|
-
readonly German: "German";
|
|
748
|
-
readonly Russian: "Russian";
|
|
749
|
-
readonly Spanish: "Spanish";
|
|
750
|
-
};
|
|
751
|
-
/**
|
|
752
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
753
|
-
*/
|
|
754
|
-
export type GetAllPromptsPromptsLanguage = ClosedEnum<typeof GetAllPromptsPromptsLanguage>;
|
|
755
|
-
export type GetAllPromptsPromptsMetadata = {
|
|
756
|
-
/**
|
|
757
|
-
* 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
|
|
758
|
-
*/
|
|
759
|
-
useCases?: Array<GetAllPromptsPromptsUseCases> | undefined;
|
|
760
|
-
/**
|
|
761
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
762
|
-
*/
|
|
763
|
-
language?: GetAllPromptsPromptsLanguage | undefined;
|
|
764
|
-
};
|
|
765
|
-
/**
|
|
766
|
-
* Prompt version model returned from the API
|
|
767
|
-
*/
|
|
768
|
-
export type GetAllPromptsVersions = {
|
|
769
|
-
id: string;
|
|
770
|
-
createdById?: string | undefined;
|
|
771
|
-
updatedById?: string | undefined;
|
|
772
|
-
/**
|
|
773
|
-
* The prompt’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
|
|
774
|
-
*/
|
|
775
|
-
description?: string | null | undefined;
|
|
776
|
-
/**
|
|
777
|
-
* A list of messages compatible with the openAI schema
|
|
778
|
-
*/
|
|
779
|
-
promptConfig: GetAllPromptsPromptsPromptConfig;
|
|
780
|
-
metadata: GetAllPromptsPromptsMetadata;
|
|
781
|
-
timestamp: string;
|
|
782
|
-
};
|
|
783
|
-
/**
|
|
784
|
-
* Prompt model returned from the API
|
|
785
|
-
*/
|
|
786
|
-
export type GetAllPromptsData = {
|
|
787
|
-
id: string;
|
|
788
|
-
owner: string | GetAllPromptsOwner2;
|
|
789
|
-
domainId: string;
|
|
790
|
-
createdById?: string | undefined;
|
|
791
|
-
/**
|
|
792
|
-
* The prompt’s name, meant to be displayable in the UI.
|
|
793
|
-
*/
|
|
794
|
-
displayName: string;
|
|
795
|
-
updatedById?: string | undefined;
|
|
796
|
-
/**
|
|
797
|
-
* The prompt’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
|
|
798
|
-
*/
|
|
799
|
-
description?: string | null | undefined;
|
|
800
|
-
/**
|
|
801
|
-
* A list of messages compatible with the openAI schema
|
|
802
|
-
*/
|
|
803
|
-
promptConfig: GetAllPromptsPromptConfig;
|
|
804
|
-
metadata: GetAllPromptsMetadata;
|
|
805
|
-
/**
|
|
806
|
-
* The date and time the resource was created
|
|
807
|
-
*/
|
|
808
|
-
created?: Date | undefined;
|
|
809
|
-
/**
|
|
810
|
-
* The date and time the resource was last updated
|
|
811
|
-
*/
|
|
812
|
-
updated?: Date | undefined;
|
|
813
|
-
type: GetAllPromptsType;
|
|
814
|
-
versions: Array<GetAllPromptsVersions>;
|
|
815
|
-
};
|
|
816
|
-
/**
|
|
817
|
-
* Prompts retrieved.
|
|
818
|
-
*/
|
|
819
|
-
export type GetAllPromptsResponseBody = {
|
|
820
|
-
object: GetAllPromptsObject;
|
|
821
|
-
data: Array<GetAllPromptsData>;
|
|
822
|
-
hasMore: boolean;
|
|
823
|
-
};
|
|
824
|
-
/** @internal */
|
|
825
|
-
export declare const GetAllPromptsGlobals$inboundSchema: z.ZodType<GetAllPromptsGlobals, z.ZodTypeDef, unknown>;
|
|
826
|
-
/** @internal */
|
|
827
|
-
export type GetAllPromptsGlobals$Outbound = {
|
|
828
|
-
contactId?: string | undefined;
|
|
829
|
-
};
|
|
830
|
-
/** @internal */
|
|
831
|
-
export declare const GetAllPromptsGlobals$outboundSchema: z.ZodType<GetAllPromptsGlobals$Outbound, z.ZodTypeDef, GetAllPromptsGlobals>;
|
|
832
|
-
/**
|
|
833
|
-
* @internal
|
|
834
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
835
|
-
*/
|
|
836
|
-
export declare namespace GetAllPromptsGlobals$ {
|
|
837
|
-
/** @deprecated use `GetAllPromptsGlobals$inboundSchema` instead. */
|
|
838
|
-
const inboundSchema: z.ZodType<GetAllPromptsGlobals, z.ZodTypeDef, unknown>;
|
|
839
|
-
/** @deprecated use `GetAllPromptsGlobals$outboundSchema` instead. */
|
|
840
|
-
const outboundSchema: z.ZodType<GetAllPromptsGlobals$Outbound, z.ZodTypeDef, GetAllPromptsGlobals>;
|
|
841
|
-
/** @deprecated use `GetAllPromptsGlobals$Outbound` instead. */
|
|
842
|
-
type Outbound = GetAllPromptsGlobals$Outbound;
|
|
843
|
-
}
|
|
844
|
-
export declare function getAllPromptsGlobalsToJSON(getAllPromptsGlobals: GetAllPromptsGlobals): string;
|
|
845
|
-
export declare function getAllPromptsGlobalsFromJSON(jsonString: string): SafeParseResult<GetAllPromptsGlobals, SDKValidationError>;
|
|
846
|
-
/** @internal */
|
|
847
|
-
export declare const GetAllPromptsRequest$inboundSchema: z.ZodType<GetAllPromptsRequest, z.ZodTypeDef, unknown>;
|
|
848
|
-
/** @internal */
|
|
849
|
-
export type GetAllPromptsRequest$Outbound = {
|
|
850
|
-
limit: number;
|
|
851
|
-
starting_after?: string | undefined;
|
|
852
|
-
ending_before?: string | undefined;
|
|
853
|
-
};
|
|
854
|
-
/** @internal */
|
|
855
|
-
export declare const GetAllPromptsRequest$outboundSchema: z.ZodType<GetAllPromptsRequest$Outbound, z.ZodTypeDef, GetAllPromptsRequest>;
|
|
856
|
-
/**
|
|
857
|
-
* @internal
|
|
858
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
859
|
-
*/
|
|
860
|
-
export declare namespace GetAllPromptsRequest$ {
|
|
861
|
-
/** @deprecated use `GetAllPromptsRequest$inboundSchema` instead. */
|
|
862
|
-
const inboundSchema: z.ZodType<GetAllPromptsRequest, z.ZodTypeDef, unknown>;
|
|
863
|
-
/** @deprecated use `GetAllPromptsRequest$outboundSchema` instead. */
|
|
864
|
-
const outboundSchema: z.ZodType<GetAllPromptsRequest$Outbound, z.ZodTypeDef, GetAllPromptsRequest>;
|
|
865
|
-
/** @deprecated use `GetAllPromptsRequest$Outbound` instead. */
|
|
866
|
-
type Outbound = GetAllPromptsRequest$Outbound;
|
|
867
|
-
}
|
|
868
|
-
export declare function getAllPromptsRequestToJSON(getAllPromptsRequest: GetAllPromptsRequest): string;
|
|
869
|
-
export declare function getAllPromptsRequestFromJSON(jsonString: string): SafeParseResult<GetAllPromptsRequest, SDKValidationError>;
|
|
870
|
-
/** @internal */
|
|
871
|
-
export declare const GetAllPromptsObject$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsObject>;
|
|
872
|
-
/** @internal */
|
|
873
|
-
export declare const GetAllPromptsObject$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsObject>;
|
|
874
|
-
/**
|
|
875
|
-
* @internal
|
|
876
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
877
|
-
*/
|
|
878
|
-
export declare namespace GetAllPromptsObject$ {
|
|
879
|
-
/** @deprecated use `GetAllPromptsObject$inboundSchema` instead. */
|
|
880
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
881
|
-
readonly List: "list";
|
|
882
|
-
}>;
|
|
883
|
-
/** @deprecated use `GetAllPromptsObject$outboundSchema` instead. */
|
|
884
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
885
|
-
readonly List: "list";
|
|
886
|
-
}>;
|
|
887
|
-
}
|
|
888
|
-
/** @internal */
|
|
889
|
-
export declare const GetAllPromptsOwner2$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsOwner2>;
|
|
890
|
-
/** @internal */
|
|
891
|
-
export declare const GetAllPromptsOwner2$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsOwner2>;
|
|
892
|
-
/**
|
|
893
|
-
* @internal
|
|
894
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
895
|
-
*/
|
|
896
|
-
export declare namespace GetAllPromptsOwner2$ {
|
|
897
|
-
/** @deprecated use `GetAllPromptsOwner2$inboundSchema` instead. */
|
|
898
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
899
|
-
readonly Vendor: "vendor";
|
|
900
|
-
}>;
|
|
901
|
-
/** @deprecated use `GetAllPromptsOwner2$outboundSchema` instead. */
|
|
902
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
903
|
-
readonly Vendor: "vendor";
|
|
904
|
-
}>;
|
|
905
|
-
}
|
|
906
|
-
/** @internal */
|
|
907
|
-
export declare const GetAllPromptsOwner$inboundSchema: z.ZodType<GetAllPromptsOwner, z.ZodTypeDef, unknown>;
|
|
908
|
-
/** @internal */
|
|
909
|
-
export type GetAllPromptsOwner$Outbound = string | string;
|
|
910
|
-
/** @internal */
|
|
911
|
-
export declare const GetAllPromptsOwner$outboundSchema: z.ZodType<GetAllPromptsOwner$Outbound, z.ZodTypeDef, GetAllPromptsOwner>;
|
|
912
|
-
/**
|
|
913
|
-
* @internal
|
|
914
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
915
|
-
*/
|
|
916
|
-
export declare namespace GetAllPromptsOwner$ {
|
|
917
|
-
/** @deprecated use `GetAllPromptsOwner$inboundSchema` instead. */
|
|
918
|
-
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
919
|
-
/** @deprecated use `GetAllPromptsOwner$outboundSchema` instead. */
|
|
920
|
-
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
921
|
-
/** @deprecated use `GetAllPromptsOwner$Outbound` instead. */
|
|
922
|
-
type Outbound = GetAllPromptsOwner$Outbound;
|
|
923
|
-
}
|
|
924
|
-
export declare function getAllPromptsOwnerToJSON(getAllPromptsOwner: GetAllPromptsOwner): string;
|
|
925
|
-
export declare function getAllPromptsOwnerFromJSON(jsonString: string): SafeParseResult<GetAllPromptsOwner, SDKValidationError>;
|
|
926
|
-
/** @internal */
|
|
927
|
-
export declare const GetAllPromptsModelType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsModelType>;
|
|
928
|
-
/** @internal */
|
|
929
|
-
export declare const GetAllPromptsModelType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsModelType>;
|
|
930
|
-
/**
|
|
931
|
-
* @internal
|
|
932
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
933
|
-
*/
|
|
934
|
-
export declare namespace GetAllPromptsModelType$ {
|
|
935
|
-
/** @deprecated use `GetAllPromptsModelType$inboundSchema` instead. */
|
|
936
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
937
|
-
readonly Chat: "chat";
|
|
938
|
-
readonly Completion: "completion";
|
|
939
|
-
readonly Embedding: "embedding";
|
|
940
|
-
readonly Vision: "vision";
|
|
941
|
-
readonly Image: "image";
|
|
942
|
-
readonly Tts: "tts";
|
|
943
|
-
readonly Stt: "stt";
|
|
944
|
-
readonly Rerank: "rerank";
|
|
945
|
-
readonly Moderations: "moderations";
|
|
946
|
-
}>;
|
|
947
|
-
/** @deprecated use `GetAllPromptsModelType$outboundSchema` instead. */
|
|
948
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
949
|
-
readonly Chat: "chat";
|
|
950
|
-
readonly Completion: "completion";
|
|
951
|
-
readonly Embedding: "embedding";
|
|
952
|
-
readonly Vision: "vision";
|
|
953
|
-
readonly Image: "image";
|
|
954
|
-
readonly Tts: "tts";
|
|
955
|
-
readonly Stt: "stt";
|
|
956
|
-
readonly Rerank: "rerank";
|
|
957
|
-
readonly Moderations: "moderations";
|
|
958
|
-
}>;
|
|
959
|
-
}
|
|
960
|
-
/** @internal */
|
|
961
|
-
export declare const GetAllPromptsFormat$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsFormat>;
|
|
962
|
-
/** @internal */
|
|
963
|
-
export declare const GetAllPromptsFormat$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsFormat>;
|
|
964
|
-
/**
|
|
965
|
-
* @internal
|
|
966
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
967
|
-
*/
|
|
968
|
-
export declare namespace GetAllPromptsFormat$ {
|
|
969
|
-
/** @deprecated use `GetAllPromptsFormat$inboundSchema` instead. */
|
|
970
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
971
|
-
readonly Url: "url";
|
|
972
|
-
readonly B64Json: "b64_json";
|
|
973
|
-
readonly Text: "text";
|
|
974
|
-
readonly JsonObject: "json_object";
|
|
975
|
-
}>;
|
|
976
|
-
/** @deprecated use `GetAllPromptsFormat$outboundSchema` instead. */
|
|
977
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
978
|
-
readonly Url: "url";
|
|
979
|
-
readonly B64Json: "b64_json";
|
|
980
|
-
readonly Text: "text";
|
|
981
|
-
readonly JsonObject: "json_object";
|
|
982
|
-
}>;
|
|
983
|
-
}
|
|
984
|
-
/** @internal */
|
|
985
|
-
export declare const GetAllPromptsQuality$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsQuality>;
|
|
986
|
-
/** @internal */
|
|
987
|
-
export declare const GetAllPromptsQuality$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsQuality>;
|
|
988
|
-
/**
|
|
989
|
-
* @internal
|
|
990
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
991
|
-
*/
|
|
992
|
-
export declare namespace GetAllPromptsQuality$ {
|
|
993
|
-
/** @deprecated use `GetAllPromptsQuality$inboundSchema` instead. */
|
|
994
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
995
|
-
readonly Standard: "standard";
|
|
996
|
-
readonly Hd: "hd";
|
|
997
|
-
}>;
|
|
998
|
-
/** @deprecated use `GetAllPromptsQuality$outboundSchema` instead. */
|
|
999
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1000
|
-
readonly Standard: "standard";
|
|
1001
|
-
readonly Hd: "hd";
|
|
1002
|
-
}>;
|
|
1003
|
-
}
|
|
1004
|
-
/** @internal */
|
|
1005
|
-
export declare const GetAllPromptsResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsType>;
|
|
1006
|
-
/** @internal */
|
|
1007
|
-
export declare const GetAllPromptsResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsType>;
|
|
1008
|
-
/**
|
|
1009
|
-
* @internal
|
|
1010
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1011
|
-
*/
|
|
1012
|
-
export declare namespace GetAllPromptsResponseFormatPromptsType$ {
|
|
1013
|
-
/** @deprecated use `GetAllPromptsResponseFormatPromptsType$inboundSchema` instead. */
|
|
1014
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1015
|
-
readonly JsonObject: "json_object";
|
|
1016
|
-
}>;
|
|
1017
|
-
/** @deprecated use `GetAllPromptsResponseFormatPromptsType$outboundSchema` instead. */
|
|
1018
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1019
|
-
readonly JsonObject: "json_object";
|
|
1020
|
-
}>;
|
|
1021
|
-
}
|
|
1022
|
-
/** @internal */
|
|
1023
|
-
export declare const GetAllPromptsResponseFormat2$inboundSchema: z.ZodType<GetAllPromptsResponseFormat2, z.ZodTypeDef, unknown>;
|
|
1024
|
-
/** @internal */
|
|
1025
|
-
export type GetAllPromptsResponseFormat2$Outbound = {
|
|
1026
|
-
type: string;
|
|
1027
|
-
};
|
|
1028
|
-
/** @internal */
|
|
1029
|
-
export declare const GetAllPromptsResponseFormat2$outboundSchema: z.ZodType<GetAllPromptsResponseFormat2$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat2>;
|
|
1030
|
-
/**
|
|
1031
|
-
* @internal
|
|
1032
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1033
|
-
*/
|
|
1034
|
-
export declare namespace GetAllPromptsResponseFormat2$ {
|
|
1035
|
-
/** @deprecated use `GetAllPromptsResponseFormat2$inboundSchema` instead. */
|
|
1036
|
-
const inboundSchema: z.ZodType<GetAllPromptsResponseFormat2, z.ZodTypeDef, unknown>;
|
|
1037
|
-
/** @deprecated use `GetAllPromptsResponseFormat2$outboundSchema` instead. */
|
|
1038
|
-
const outboundSchema: z.ZodType<GetAllPromptsResponseFormat2$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat2>;
|
|
1039
|
-
/** @deprecated use `GetAllPromptsResponseFormat2$Outbound` instead. */
|
|
1040
|
-
type Outbound = GetAllPromptsResponseFormat2$Outbound;
|
|
1041
|
-
}
|
|
1042
|
-
export declare function getAllPromptsResponseFormat2ToJSON(getAllPromptsResponseFormat2: GetAllPromptsResponseFormat2): string;
|
|
1043
|
-
export declare function getAllPromptsResponseFormat2FromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormat2, SDKValidationError>;
|
|
1044
|
-
/** @internal */
|
|
1045
|
-
export declare const GetAllPromptsResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatType>;
|
|
1046
|
-
/** @internal */
|
|
1047
|
-
export declare const GetAllPromptsResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatType>;
|
|
1048
|
-
/**
|
|
1049
|
-
* @internal
|
|
1050
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1051
|
-
*/
|
|
1052
|
-
export declare namespace GetAllPromptsResponseFormatType$ {
|
|
1053
|
-
/** @deprecated use `GetAllPromptsResponseFormatType$inboundSchema` instead. */
|
|
1054
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1055
|
-
readonly JsonSchema: "json_schema";
|
|
1056
|
-
}>;
|
|
1057
|
-
/** @deprecated use `GetAllPromptsResponseFormatType$outboundSchema` instead. */
|
|
1058
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1059
|
-
readonly JsonSchema: "json_schema";
|
|
1060
|
-
}>;
|
|
1061
|
-
}
|
|
1062
|
-
/** @internal */
|
|
1063
|
-
export declare const GetAllPromptsResponseFormatJsonSchema$inboundSchema: z.ZodType<GetAllPromptsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
1064
|
-
/** @internal */
|
|
1065
|
-
export type GetAllPromptsResponseFormatJsonSchema$Outbound = {
|
|
1066
|
-
name: string;
|
|
1067
|
-
strict: boolean;
|
|
1068
|
-
schema: {
|
|
1069
|
-
[k: string]: any;
|
|
1070
|
-
};
|
|
1071
|
-
};
|
|
1072
|
-
/** @internal */
|
|
1073
|
-
export declare const GetAllPromptsResponseFormatJsonSchema$outboundSchema: z.ZodType<GetAllPromptsResponseFormatJsonSchema$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormatJsonSchema>;
|
|
1074
|
-
/**
|
|
1075
|
-
* @internal
|
|
1076
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1077
|
-
*/
|
|
1078
|
-
export declare namespace GetAllPromptsResponseFormatJsonSchema$ {
|
|
1079
|
-
/** @deprecated use `GetAllPromptsResponseFormatJsonSchema$inboundSchema` instead. */
|
|
1080
|
-
const inboundSchema: z.ZodType<GetAllPromptsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
1081
|
-
/** @deprecated use `GetAllPromptsResponseFormatJsonSchema$outboundSchema` instead. */
|
|
1082
|
-
const outboundSchema: z.ZodType<GetAllPromptsResponseFormatJsonSchema$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormatJsonSchema>;
|
|
1083
|
-
/** @deprecated use `GetAllPromptsResponseFormatJsonSchema$Outbound` instead. */
|
|
1084
|
-
type Outbound = GetAllPromptsResponseFormatJsonSchema$Outbound;
|
|
1085
|
-
}
|
|
1086
|
-
export declare function getAllPromptsResponseFormatJsonSchemaToJSON(getAllPromptsResponseFormatJsonSchema: GetAllPromptsResponseFormatJsonSchema): string;
|
|
1087
|
-
export declare function getAllPromptsResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormatJsonSchema, SDKValidationError>;
|
|
1088
|
-
/** @internal */
|
|
1089
|
-
export declare const GetAllPromptsResponseFormat1$inboundSchema: z.ZodType<GetAllPromptsResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1090
|
-
/** @internal */
|
|
1091
|
-
export type GetAllPromptsResponseFormat1$Outbound = {
|
|
1092
|
-
type: string;
|
|
1093
|
-
json_schema: GetAllPromptsResponseFormatJsonSchema$Outbound;
|
|
1094
|
-
};
|
|
1095
|
-
/** @internal */
|
|
1096
|
-
export declare const GetAllPromptsResponseFormat1$outboundSchema: z.ZodType<GetAllPromptsResponseFormat1$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat1>;
|
|
1097
|
-
/**
|
|
1098
|
-
* @internal
|
|
1099
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1100
|
-
*/
|
|
1101
|
-
export declare namespace GetAllPromptsResponseFormat1$ {
|
|
1102
|
-
/** @deprecated use `GetAllPromptsResponseFormat1$inboundSchema` instead. */
|
|
1103
|
-
const inboundSchema: z.ZodType<GetAllPromptsResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1104
|
-
/** @deprecated use `GetAllPromptsResponseFormat1$outboundSchema` instead. */
|
|
1105
|
-
const outboundSchema: z.ZodType<GetAllPromptsResponseFormat1$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat1>;
|
|
1106
|
-
/** @deprecated use `GetAllPromptsResponseFormat1$Outbound` instead. */
|
|
1107
|
-
type Outbound = GetAllPromptsResponseFormat1$Outbound;
|
|
1108
|
-
}
|
|
1109
|
-
export declare function getAllPromptsResponseFormat1ToJSON(getAllPromptsResponseFormat1: GetAllPromptsResponseFormat1): string;
|
|
1110
|
-
export declare function getAllPromptsResponseFormat1FromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormat1, SDKValidationError>;
|
|
1111
|
-
/** @internal */
|
|
1112
|
-
export declare const GetAllPromptsResponseFormat$inboundSchema: z.ZodType<GetAllPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
1113
|
-
/** @internal */
|
|
1114
|
-
export type GetAllPromptsResponseFormat$Outbound = GetAllPromptsResponseFormat2$Outbound | GetAllPromptsResponseFormat1$Outbound;
|
|
1115
|
-
/** @internal */
|
|
1116
|
-
export declare const GetAllPromptsResponseFormat$outboundSchema: z.ZodType<GetAllPromptsResponseFormat$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat>;
|
|
1117
|
-
/**
|
|
1118
|
-
* @internal
|
|
1119
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1120
|
-
*/
|
|
1121
|
-
export declare namespace GetAllPromptsResponseFormat$ {
|
|
1122
|
-
/** @deprecated use `GetAllPromptsResponseFormat$inboundSchema` instead. */
|
|
1123
|
-
const inboundSchema: z.ZodType<GetAllPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
1124
|
-
/** @deprecated use `GetAllPromptsResponseFormat$outboundSchema` instead. */
|
|
1125
|
-
const outboundSchema: z.ZodType<GetAllPromptsResponseFormat$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat>;
|
|
1126
|
-
/** @deprecated use `GetAllPromptsResponseFormat$Outbound` instead. */
|
|
1127
|
-
type Outbound = GetAllPromptsResponseFormat$Outbound;
|
|
1128
|
-
}
|
|
1129
|
-
export declare function getAllPromptsResponseFormatToJSON(getAllPromptsResponseFormat: GetAllPromptsResponseFormat): string;
|
|
1130
|
-
export declare function getAllPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormat, SDKValidationError>;
|
|
1131
|
-
/** @internal */
|
|
1132
|
-
export declare const GetAllPromptsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPhotoRealVersion>;
|
|
1133
|
-
/** @internal */
|
|
1134
|
-
export declare const GetAllPromptsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPhotoRealVersion>;
|
|
1135
|
-
/**
|
|
1136
|
-
* @internal
|
|
1137
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1138
|
-
*/
|
|
1139
|
-
export declare namespace GetAllPromptsPhotoRealVersion$ {
|
|
1140
|
-
/** @deprecated use `GetAllPromptsPhotoRealVersion$inboundSchema` instead. */
|
|
1141
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1142
|
-
readonly V1: "v1";
|
|
1143
|
-
readonly V2: "v2";
|
|
1144
|
-
}>;
|
|
1145
|
-
/** @deprecated use `GetAllPromptsPhotoRealVersion$outboundSchema` instead. */
|
|
1146
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1147
|
-
readonly V1: "v1";
|
|
1148
|
-
readonly V2: "v2";
|
|
1149
|
-
}>;
|
|
1150
|
-
}
|
|
1151
|
-
/** @internal */
|
|
1152
|
-
export declare const GetAllPromptsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsEncodingFormat>;
|
|
1153
|
-
/** @internal */
|
|
1154
|
-
export declare const GetAllPromptsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsEncodingFormat>;
|
|
1155
|
-
/**
|
|
1156
|
-
* @internal
|
|
1157
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1158
|
-
*/
|
|
1159
|
-
export declare namespace GetAllPromptsEncodingFormat$ {
|
|
1160
|
-
/** @deprecated use `GetAllPromptsEncodingFormat$inboundSchema` instead. */
|
|
1161
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1162
|
-
readonly Float: "float";
|
|
1163
|
-
readonly Base64: "base64";
|
|
1164
|
-
}>;
|
|
1165
|
-
/** @deprecated use `GetAllPromptsEncodingFormat$outboundSchema` instead. */
|
|
1166
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1167
|
-
readonly Float: "float";
|
|
1168
|
-
readonly Base64: "base64";
|
|
1169
|
-
}>;
|
|
1170
|
-
}
|
|
1171
|
-
/** @internal */
|
|
1172
|
-
export declare const GetAllPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsReasoningEffort>;
|
|
1173
|
-
/** @internal */
|
|
1174
|
-
export declare const GetAllPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsReasoningEffort>;
|
|
1175
|
-
/**
|
|
1176
|
-
* @internal
|
|
1177
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1178
|
-
*/
|
|
1179
|
-
export declare namespace GetAllPromptsReasoningEffort$ {
|
|
1180
|
-
/** @deprecated use `GetAllPromptsReasoningEffort$inboundSchema` instead. */
|
|
1181
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1182
|
-
readonly Low: "low";
|
|
1183
|
-
readonly Medium: "medium";
|
|
1184
|
-
readonly High: "high";
|
|
1185
|
-
}>;
|
|
1186
|
-
/** @deprecated use `GetAllPromptsReasoningEffort$outboundSchema` instead. */
|
|
1187
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1188
|
-
readonly Low: "low";
|
|
1189
|
-
readonly Medium: "medium";
|
|
1190
|
-
readonly High: "high";
|
|
1191
|
-
}>;
|
|
1192
|
-
}
|
|
1193
|
-
/** @internal */
|
|
1194
|
-
export declare const GetAllPromptsModelParameters$inboundSchema: z.ZodType<GetAllPromptsModelParameters, z.ZodTypeDef, unknown>;
|
|
1195
|
-
/** @internal */
|
|
1196
|
-
export type GetAllPromptsModelParameters$Outbound = {
|
|
1197
|
-
temperature?: number | undefined;
|
|
1198
|
-
maxTokens?: number | undefined;
|
|
1199
|
-
topK?: number | undefined;
|
|
1200
|
-
topP?: number | undefined;
|
|
1201
|
-
frequencyPenalty?: number | undefined;
|
|
1202
|
-
presencePenalty?: number | undefined;
|
|
1203
|
-
numImages?: number | undefined;
|
|
1204
|
-
seed?: number | undefined;
|
|
1205
|
-
format?: string | undefined;
|
|
1206
|
-
dimensions?: string | undefined;
|
|
1207
|
-
quality?: string | undefined;
|
|
1208
|
-
style?: string | undefined;
|
|
1209
|
-
responseFormat?: GetAllPromptsResponseFormat2$Outbound | GetAllPromptsResponseFormat1$Outbound | null | undefined;
|
|
1210
|
-
photoRealVersion?: string | undefined;
|
|
1211
|
-
encoding_format?: string | undefined;
|
|
1212
|
-
reasoningEffort?: string | undefined;
|
|
1213
|
-
};
|
|
1214
|
-
/** @internal */
|
|
1215
|
-
export declare const GetAllPromptsModelParameters$outboundSchema: z.ZodType<GetAllPromptsModelParameters$Outbound, z.ZodTypeDef, GetAllPromptsModelParameters>;
|
|
1216
|
-
/**
|
|
1217
|
-
* @internal
|
|
1218
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1219
|
-
*/
|
|
1220
|
-
export declare namespace GetAllPromptsModelParameters$ {
|
|
1221
|
-
/** @deprecated use `GetAllPromptsModelParameters$inboundSchema` instead. */
|
|
1222
|
-
const inboundSchema: z.ZodType<GetAllPromptsModelParameters, z.ZodTypeDef, unknown>;
|
|
1223
|
-
/** @deprecated use `GetAllPromptsModelParameters$outboundSchema` instead. */
|
|
1224
|
-
const outboundSchema: z.ZodType<GetAllPromptsModelParameters$Outbound, z.ZodTypeDef, GetAllPromptsModelParameters>;
|
|
1225
|
-
/** @deprecated use `GetAllPromptsModelParameters$Outbound` instead. */
|
|
1226
|
-
type Outbound = GetAllPromptsModelParameters$Outbound;
|
|
1227
|
-
}
|
|
1228
|
-
export declare function getAllPromptsModelParametersToJSON(getAllPromptsModelParameters: GetAllPromptsModelParameters): string;
|
|
1229
|
-
export declare function getAllPromptsModelParametersFromJSON(jsonString: string): SafeParseResult<GetAllPromptsModelParameters, SDKValidationError>;
|
|
1230
|
-
/** @internal */
|
|
1231
|
-
export declare const GetAllPromptsProvider$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsProvider>;
|
|
1232
|
-
/** @internal */
|
|
1233
|
-
export declare const GetAllPromptsProvider$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsProvider>;
|
|
1234
|
-
/**
|
|
1235
|
-
* @internal
|
|
1236
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1237
|
-
*/
|
|
1238
|
-
export declare namespace GetAllPromptsProvider$ {
|
|
1239
|
-
/** @deprecated use `GetAllPromptsProvider$inboundSchema` instead. */
|
|
1240
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1241
|
-
readonly Cohere: "cohere";
|
|
1242
|
-
readonly Openai: "openai";
|
|
1243
|
-
readonly Anthropic: "anthropic";
|
|
1244
|
-
readonly Huggingface: "huggingface";
|
|
1245
|
-
readonly Replicate: "replicate";
|
|
1246
|
-
readonly Google: "google";
|
|
1247
|
-
readonly GoogleAi: "google-ai";
|
|
1248
|
-
readonly Azure: "azure";
|
|
1249
|
-
readonly Aws: "aws";
|
|
1250
|
-
readonly Anyscale: "anyscale";
|
|
1251
|
-
readonly Perplexity: "perplexity";
|
|
1252
|
-
readonly Groq: "groq";
|
|
1253
|
-
readonly Fal: "fal";
|
|
1254
|
-
readonly Leonardoai: "leonardoai";
|
|
1255
|
-
readonly Nvidia: "nvidia";
|
|
1256
|
-
readonly Jina: "jina";
|
|
1257
|
-
readonly Togetherai: "togetherai";
|
|
1258
|
-
readonly Elevenlabs: "elevenlabs";
|
|
1259
|
-
}>;
|
|
1260
|
-
/** @deprecated use `GetAllPromptsProvider$outboundSchema` instead. */
|
|
1261
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1262
|
-
readonly Cohere: "cohere";
|
|
1263
|
-
readonly Openai: "openai";
|
|
1264
|
-
readonly Anthropic: "anthropic";
|
|
1265
|
-
readonly Huggingface: "huggingface";
|
|
1266
|
-
readonly Replicate: "replicate";
|
|
1267
|
-
readonly Google: "google";
|
|
1268
|
-
readonly GoogleAi: "google-ai";
|
|
1269
|
-
readonly Azure: "azure";
|
|
1270
|
-
readonly Aws: "aws";
|
|
1271
|
-
readonly Anyscale: "anyscale";
|
|
1272
|
-
readonly Perplexity: "perplexity";
|
|
1273
|
-
readonly Groq: "groq";
|
|
1274
|
-
readonly Fal: "fal";
|
|
1275
|
-
readonly Leonardoai: "leonardoai";
|
|
1276
|
-
readonly Nvidia: "nvidia";
|
|
1277
|
-
readonly Jina: "jina";
|
|
1278
|
-
readonly Togetherai: "togetherai";
|
|
1279
|
-
readonly Elevenlabs: "elevenlabs";
|
|
1280
|
-
}>;
|
|
1281
|
-
}
|
|
1282
|
-
/** @internal */
|
|
1283
|
-
export declare const GetAllPromptsRole$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsRole>;
|
|
1284
|
-
/** @internal */
|
|
1285
|
-
export declare const GetAllPromptsRole$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsRole>;
|
|
1286
|
-
/**
|
|
1287
|
-
* @internal
|
|
1288
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1289
|
-
*/
|
|
1290
|
-
export declare namespace GetAllPromptsRole$ {
|
|
1291
|
-
/** @deprecated use `GetAllPromptsRole$inboundSchema` instead. */
|
|
1292
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1293
|
-
readonly System: "system";
|
|
1294
|
-
readonly Assistant: "assistant";
|
|
1295
|
-
readonly User: "user";
|
|
1296
|
-
readonly Exception: "exception";
|
|
1297
|
-
readonly Tool: "tool";
|
|
1298
|
-
readonly Prompt: "prompt";
|
|
1299
|
-
readonly Correction: "correction";
|
|
1300
|
-
readonly ExpectedOutput: "expected_output";
|
|
1301
|
-
}>;
|
|
1302
|
-
/** @deprecated use `GetAllPromptsRole$outboundSchema` instead. */
|
|
1303
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1304
|
-
readonly System: "system";
|
|
1305
|
-
readonly Assistant: "assistant";
|
|
1306
|
-
readonly User: "user";
|
|
1307
|
-
readonly Exception: "exception";
|
|
1308
|
-
readonly Tool: "tool";
|
|
1309
|
-
readonly Prompt: "prompt";
|
|
1310
|
-
readonly Correction: "correction";
|
|
1311
|
-
readonly ExpectedOutput: "expected_output";
|
|
1312
|
-
}>;
|
|
1313
|
-
}
|
|
1314
|
-
/** @internal */
|
|
1315
|
-
export declare const GetAllPrompts2PromptsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPrompts2PromptsType>;
|
|
1316
|
-
/** @internal */
|
|
1317
|
-
export declare const GetAllPrompts2PromptsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPrompts2PromptsType>;
|
|
1318
|
-
/**
|
|
1319
|
-
* @internal
|
|
1320
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1321
|
-
*/
|
|
1322
|
-
export declare namespace GetAllPrompts2PromptsType$ {
|
|
1323
|
-
/** @deprecated use `GetAllPrompts2PromptsType$inboundSchema` instead. */
|
|
1324
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1325
|
-
readonly ImageUrl: "image_url";
|
|
1326
|
-
}>;
|
|
1327
|
-
/** @deprecated use `GetAllPrompts2PromptsType$outboundSchema` instead. */
|
|
1328
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1329
|
-
readonly ImageUrl: "image_url";
|
|
1330
|
-
}>;
|
|
1331
|
-
}
|
|
1332
|
-
/** @internal */
|
|
1333
|
-
export declare const GetAllPrompts2ImageUrl$inboundSchema: z.ZodType<GetAllPrompts2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1334
|
-
/** @internal */
|
|
1335
|
-
export type GetAllPrompts2ImageUrl$Outbound = {
|
|
1336
|
-
id?: string | undefined;
|
|
1337
|
-
url: string;
|
|
1338
|
-
detail?: string | undefined;
|
|
1339
|
-
};
|
|
1340
|
-
/** @internal */
|
|
1341
|
-
export declare const GetAllPrompts2ImageUrl$outboundSchema: z.ZodType<GetAllPrompts2ImageUrl$Outbound, z.ZodTypeDef, GetAllPrompts2ImageUrl>;
|
|
1342
|
-
/**
|
|
1343
|
-
* @internal
|
|
1344
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1345
|
-
*/
|
|
1346
|
-
export declare namespace GetAllPrompts2ImageUrl$ {
|
|
1347
|
-
/** @deprecated use `GetAllPrompts2ImageUrl$inboundSchema` instead. */
|
|
1348
|
-
const inboundSchema: z.ZodType<GetAllPrompts2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1349
|
-
/** @deprecated use `GetAllPrompts2ImageUrl$outboundSchema` instead. */
|
|
1350
|
-
const outboundSchema: z.ZodType<GetAllPrompts2ImageUrl$Outbound, z.ZodTypeDef, GetAllPrompts2ImageUrl>;
|
|
1351
|
-
/** @deprecated use `GetAllPrompts2ImageUrl$Outbound` instead. */
|
|
1352
|
-
type Outbound = GetAllPrompts2ImageUrl$Outbound;
|
|
1353
|
-
}
|
|
1354
|
-
export declare function getAllPrompts2ImageUrlToJSON(getAllPrompts2ImageUrl: GetAllPrompts2ImageUrl): string;
|
|
1355
|
-
export declare function getAllPrompts2ImageUrlFromJSON(jsonString: string): SafeParseResult<GetAllPrompts2ImageUrl, SDKValidationError>;
|
|
1356
|
-
/** @internal */
|
|
1357
|
-
export declare const GetAllPrompts22$inboundSchema: z.ZodType<GetAllPrompts22, z.ZodTypeDef, unknown>;
|
|
1358
|
-
/** @internal */
|
|
1359
|
-
export type GetAllPrompts22$Outbound = {
|
|
1360
|
-
type: string;
|
|
1361
|
-
image_url: GetAllPrompts2ImageUrl$Outbound;
|
|
1362
|
-
};
|
|
1363
|
-
/** @internal */
|
|
1364
|
-
export declare const GetAllPrompts22$outboundSchema: z.ZodType<GetAllPrompts22$Outbound, z.ZodTypeDef, GetAllPrompts22>;
|
|
1365
|
-
/**
|
|
1366
|
-
* @internal
|
|
1367
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1368
|
-
*/
|
|
1369
|
-
export declare namespace GetAllPrompts22$ {
|
|
1370
|
-
/** @deprecated use `GetAllPrompts22$inboundSchema` instead. */
|
|
1371
|
-
const inboundSchema: z.ZodType<GetAllPrompts22, z.ZodTypeDef, unknown>;
|
|
1372
|
-
/** @deprecated use `GetAllPrompts22$outboundSchema` instead. */
|
|
1373
|
-
const outboundSchema: z.ZodType<GetAllPrompts22$Outbound, z.ZodTypeDef, GetAllPrompts22>;
|
|
1374
|
-
/** @deprecated use `GetAllPrompts22$Outbound` instead. */
|
|
1375
|
-
type Outbound = GetAllPrompts22$Outbound;
|
|
1376
|
-
}
|
|
1377
|
-
export declare function getAllPrompts22ToJSON(getAllPrompts22: GetAllPrompts22): string;
|
|
1378
|
-
export declare function getAllPrompts22FromJSON(jsonString: string): SafeParseResult<GetAllPrompts22, SDKValidationError>;
|
|
1379
|
-
/** @internal */
|
|
1380
|
-
export declare const GetAllPrompts2Type$inboundSchema: z.ZodNativeEnum<typeof GetAllPrompts2Type>;
|
|
1381
|
-
/** @internal */
|
|
1382
|
-
export declare const GetAllPrompts2Type$outboundSchema: z.ZodNativeEnum<typeof GetAllPrompts2Type>;
|
|
1383
|
-
/**
|
|
1384
|
-
* @internal
|
|
1385
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1386
|
-
*/
|
|
1387
|
-
export declare namespace GetAllPrompts2Type$ {
|
|
1388
|
-
/** @deprecated use `GetAllPrompts2Type$inboundSchema` instead. */
|
|
1389
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1390
|
-
readonly Text: "text";
|
|
1391
|
-
}>;
|
|
1392
|
-
/** @deprecated use `GetAllPrompts2Type$outboundSchema` instead. */
|
|
1393
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1394
|
-
readonly Text: "text";
|
|
1395
|
-
}>;
|
|
1396
|
-
}
|
|
1397
|
-
/** @internal */
|
|
1398
|
-
export declare const GetAllPrompts21$inboundSchema: z.ZodType<GetAllPrompts21, z.ZodTypeDef, unknown>;
|
|
1399
|
-
/** @internal */
|
|
1400
|
-
export type GetAllPrompts21$Outbound = {
|
|
1401
|
-
type: string;
|
|
1402
|
-
text: string;
|
|
1403
|
-
};
|
|
1404
|
-
/** @internal */
|
|
1405
|
-
export declare const GetAllPrompts21$outboundSchema: z.ZodType<GetAllPrompts21$Outbound, z.ZodTypeDef, GetAllPrompts21>;
|
|
1406
|
-
/**
|
|
1407
|
-
* @internal
|
|
1408
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1409
|
-
*/
|
|
1410
|
-
export declare namespace GetAllPrompts21$ {
|
|
1411
|
-
/** @deprecated use `GetAllPrompts21$inboundSchema` instead. */
|
|
1412
|
-
const inboundSchema: z.ZodType<GetAllPrompts21, z.ZodTypeDef, unknown>;
|
|
1413
|
-
/** @deprecated use `GetAllPrompts21$outboundSchema` instead. */
|
|
1414
|
-
const outboundSchema: z.ZodType<GetAllPrompts21$Outbound, z.ZodTypeDef, GetAllPrompts21>;
|
|
1415
|
-
/** @deprecated use `GetAllPrompts21$Outbound` instead. */
|
|
1416
|
-
type Outbound = GetAllPrompts21$Outbound;
|
|
1417
|
-
}
|
|
1418
|
-
export declare function getAllPrompts21ToJSON(getAllPrompts21: GetAllPrompts21): string;
|
|
1419
|
-
export declare function getAllPrompts21FromJSON(jsonString: string): SafeParseResult<GetAllPrompts21, SDKValidationError>;
|
|
1420
|
-
/** @internal */
|
|
1421
|
-
export declare const GetAllPromptsContent2$inboundSchema: z.ZodType<GetAllPromptsContent2, z.ZodTypeDef, unknown>;
|
|
1422
|
-
/** @internal */
|
|
1423
|
-
export type GetAllPromptsContent2$Outbound = GetAllPrompts21$Outbound | GetAllPrompts22$Outbound;
|
|
1424
|
-
/** @internal */
|
|
1425
|
-
export declare const GetAllPromptsContent2$outboundSchema: z.ZodType<GetAllPromptsContent2$Outbound, z.ZodTypeDef, GetAllPromptsContent2>;
|
|
1426
|
-
/**
|
|
1427
|
-
* @internal
|
|
1428
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1429
|
-
*/
|
|
1430
|
-
export declare namespace GetAllPromptsContent2$ {
|
|
1431
|
-
/** @deprecated use `GetAllPromptsContent2$inboundSchema` instead. */
|
|
1432
|
-
const inboundSchema: z.ZodType<GetAllPromptsContent2, z.ZodTypeDef, unknown>;
|
|
1433
|
-
/** @deprecated use `GetAllPromptsContent2$outboundSchema` instead. */
|
|
1434
|
-
const outboundSchema: z.ZodType<GetAllPromptsContent2$Outbound, z.ZodTypeDef, GetAllPromptsContent2>;
|
|
1435
|
-
/** @deprecated use `GetAllPromptsContent2$Outbound` instead. */
|
|
1436
|
-
type Outbound = GetAllPromptsContent2$Outbound;
|
|
1437
|
-
}
|
|
1438
|
-
export declare function getAllPromptsContent2ToJSON(getAllPromptsContent2: GetAllPromptsContent2): string;
|
|
1439
|
-
export declare function getAllPromptsContent2FromJSON(jsonString: string): SafeParseResult<GetAllPromptsContent2, SDKValidationError>;
|
|
1440
|
-
/** @internal */
|
|
1441
|
-
export declare const GetAllPromptsContent$inboundSchema: z.ZodType<GetAllPromptsContent, z.ZodTypeDef, unknown>;
|
|
1442
|
-
/** @internal */
|
|
1443
|
-
export type GetAllPromptsContent$Outbound = string | Array<GetAllPrompts21$Outbound | GetAllPrompts22$Outbound>;
|
|
1444
|
-
/** @internal */
|
|
1445
|
-
export declare const GetAllPromptsContent$outboundSchema: z.ZodType<GetAllPromptsContent$Outbound, z.ZodTypeDef, GetAllPromptsContent>;
|
|
1446
|
-
/**
|
|
1447
|
-
* @internal
|
|
1448
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1449
|
-
*/
|
|
1450
|
-
export declare namespace GetAllPromptsContent$ {
|
|
1451
|
-
/** @deprecated use `GetAllPromptsContent$inboundSchema` instead. */
|
|
1452
|
-
const inboundSchema: z.ZodType<GetAllPromptsContent, z.ZodTypeDef, unknown>;
|
|
1453
|
-
/** @deprecated use `GetAllPromptsContent$outboundSchema` instead. */
|
|
1454
|
-
const outboundSchema: z.ZodType<GetAllPromptsContent$Outbound, z.ZodTypeDef, GetAllPromptsContent>;
|
|
1455
|
-
/** @deprecated use `GetAllPromptsContent$Outbound` instead. */
|
|
1456
|
-
type Outbound = GetAllPromptsContent$Outbound;
|
|
1457
|
-
}
|
|
1458
|
-
export declare function getAllPromptsContentToJSON(getAllPromptsContent: GetAllPromptsContent): string;
|
|
1459
|
-
export declare function getAllPromptsContentFromJSON(jsonString: string): SafeParseResult<GetAllPromptsContent, SDKValidationError>;
|
|
1460
|
-
/** @internal */
|
|
1461
|
-
export declare const GetAllPromptsPromptsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsType>;
|
|
1462
|
-
/** @internal */
|
|
1463
|
-
export declare const GetAllPromptsPromptsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsType>;
|
|
1464
|
-
/**
|
|
1465
|
-
* @internal
|
|
1466
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1467
|
-
*/
|
|
1468
|
-
export declare namespace GetAllPromptsPromptsType$ {
|
|
1469
|
-
/** @deprecated use `GetAllPromptsPromptsType$inboundSchema` instead. */
|
|
1470
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1471
|
-
readonly Function: "function";
|
|
1472
|
-
}>;
|
|
1473
|
-
/** @deprecated use `GetAllPromptsPromptsType$outboundSchema` instead. */
|
|
1474
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1475
|
-
readonly Function: "function";
|
|
1476
|
-
}>;
|
|
1477
|
-
}
|
|
1478
|
-
/** @internal */
|
|
1479
|
-
export declare const GetAllPromptsFunction$inboundSchema: z.ZodType<GetAllPromptsFunction, z.ZodTypeDef, unknown>;
|
|
1480
|
-
/** @internal */
|
|
1481
|
-
export type GetAllPromptsFunction$Outbound = {
|
|
1482
|
-
name: string;
|
|
1483
|
-
arguments: string;
|
|
1484
|
-
};
|
|
1485
|
-
/** @internal */
|
|
1486
|
-
export declare const GetAllPromptsFunction$outboundSchema: z.ZodType<GetAllPromptsFunction$Outbound, z.ZodTypeDef, GetAllPromptsFunction>;
|
|
1487
|
-
/**
|
|
1488
|
-
* @internal
|
|
1489
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1490
|
-
*/
|
|
1491
|
-
export declare namespace GetAllPromptsFunction$ {
|
|
1492
|
-
/** @deprecated use `GetAllPromptsFunction$inboundSchema` instead. */
|
|
1493
|
-
const inboundSchema: z.ZodType<GetAllPromptsFunction, z.ZodTypeDef, unknown>;
|
|
1494
|
-
/** @deprecated use `GetAllPromptsFunction$outboundSchema` instead. */
|
|
1495
|
-
const outboundSchema: z.ZodType<GetAllPromptsFunction$Outbound, z.ZodTypeDef, GetAllPromptsFunction>;
|
|
1496
|
-
/** @deprecated use `GetAllPromptsFunction$Outbound` instead. */
|
|
1497
|
-
type Outbound = GetAllPromptsFunction$Outbound;
|
|
1498
|
-
}
|
|
1499
|
-
export declare function getAllPromptsFunctionToJSON(getAllPromptsFunction: GetAllPromptsFunction): string;
|
|
1500
|
-
export declare function getAllPromptsFunctionFromJSON(jsonString: string): SafeParseResult<GetAllPromptsFunction, SDKValidationError>;
|
|
1501
|
-
/** @internal */
|
|
1502
|
-
export declare const GetAllPromptsToolCalls$inboundSchema: z.ZodType<GetAllPromptsToolCalls, z.ZodTypeDef, unknown>;
|
|
1503
|
-
/** @internal */
|
|
1504
|
-
export type GetAllPromptsToolCalls$Outbound = {
|
|
1505
|
-
id?: string | undefined;
|
|
1506
|
-
index?: number | undefined;
|
|
1507
|
-
type: string;
|
|
1508
|
-
function: GetAllPromptsFunction$Outbound;
|
|
1509
|
-
};
|
|
1510
|
-
/** @internal */
|
|
1511
|
-
export declare const GetAllPromptsToolCalls$outboundSchema: z.ZodType<GetAllPromptsToolCalls$Outbound, z.ZodTypeDef, GetAllPromptsToolCalls>;
|
|
1512
|
-
/**
|
|
1513
|
-
* @internal
|
|
1514
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1515
|
-
*/
|
|
1516
|
-
export declare namespace GetAllPromptsToolCalls$ {
|
|
1517
|
-
/** @deprecated use `GetAllPromptsToolCalls$inboundSchema` instead. */
|
|
1518
|
-
const inboundSchema: z.ZodType<GetAllPromptsToolCalls, z.ZodTypeDef, unknown>;
|
|
1519
|
-
/** @deprecated use `GetAllPromptsToolCalls$outboundSchema` instead. */
|
|
1520
|
-
const outboundSchema: z.ZodType<GetAllPromptsToolCalls$Outbound, z.ZodTypeDef, GetAllPromptsToolCalls>;
|
|
1521
|
-
/** @deprecated use `GetAllPromptsToolCalls$Outbound` instead. */
|
|
1522
|
-
type Outbound = GetAllPromptsToolCalls$Outbound;
|
|
1523
|
-
}
|
|
1524
|
-
export declare function getAllPromptsToolCallsToJSON(getAllPromptsToolCalls: GetAllPromptsToolCalls): string;
|
|
1525
|
-
export declare function getAllPromptsToolCallsFromJSON(jsonString: string): SafeParseResult<GetAllPromptsToolCalls, SDKValidationError>;
|
|
1526
|
-
/** @internal */
|
|
1527
|
-
export declare const GetAllPromptsMessages$inboundSchema: z.ZodType<GetAllPromptsMessages, z.ZodTypeDef, unknown>;
|
|
1528
|
-
/** @internal */
|
|
1529
|
-
export type GetAllPromptsMessages$Outbound = {
|
|
1530
|
-
role: string;
|
|
1531
|
-
content: string | Array<GetAllPrompts21$Outbound | GetAllPrompts22$Outbound>;
|
|
1532
|
-
tool_calls?: Array<GetAllPromptsToolCalls$Outbound> | undefined;
|
|
1533
|
-
};
|
|
1534
|
-
/** @internal */
|
|
1535
|
-
export declare const GetAllPromptsMessages$outboundSchema: z.ZodType<GetAllPromptsMessages$Outbound, z.ZodTypeDef, GetAllPromptsMessages>;
|
|
1536
|
-
/**
|
|
1537
|
-
* @internal
|
|
1538
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1539
|
-
*/
|
|
1540
|
-
export declare namespace GetAllPromptsMessages$ {
|
|
1541
|
-
/** @deprecated use `GetAllPromptsMessages$inboundSchema` instead. */
|
|
1542
|
-
const inboundSchema: z.ZodType<GetAllPromptsMessages, z.ZodTypeDef, unknown>;
|
|
1543
|
-
/** @deprecated use `GetAllPromptsMessages$outboundSchema` instead. */
|
|
1544
|
-
const outboundSchema: z.ZodType<GetAllPromptsMessages$Outbound, z.ZodTypeDef, GetAllPromptsMessages>;
|
|
1545
|
-
/** @deprecated use `GetAllPromptsMessages$Outbound` instead. */
|
|
1546
|
-
type Outbound = GetAllPromptsMessages$Outbound;
|
|
1547
|
-
}
|
|
1548
|
-
export declare function getAllPromptsMessagesToJSON(getAllPromptsMessages: GetAllPromptsMessages): string;
|
|
1549
|
-
export declare function getAllPromptsMessagesFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessages, SDKValidationError>;
|
|
1550
|
-
/** @internal */
|
|
1551
|
-
export declare const GetAllPromptsPromptConfig$inboundSchema: z.ZodType<GetAllPromptsPromptConfig, z.ZodTypeDef, unknown>;
|
|
1552
|
-
/** @internal */
|
|
1553
|
-
export type GetAllPromptsPromptConfig$Outbound = {
|
|
1554
|
-
stream?: boolean | undefined;
|
|
1555
|
-
model?: string | undefined;
|
|
1556
|
-
model_db_id?: string | undefined;
|
|
1557
|
-
model_type?: string | undefined;
|
|
1558
|
-
model_parameters?: GetAllPromptsModelParameters$Outbound | undefined;
|
|
1559
|
-
provider?: string | undefined;
|
|
1560
|
-
integration_id?: string | null | undefined;
|
|
1561
|
-
version?: string | undefined;
|
|
1562
|
-
messages: Array<GetAllPromptsMessages$Outbound>;
|
|
1563
|
-
};
|
|
1564
|
-
/** @internal */
|
|
1565
|
-
export declare const GetAllPromptsPromptConfig$outboundSchema: z.ZodType<GetAllPromptsPromptConfig$Outbound, z.ZodTypeDef, GetAllPromptsPromptConfig>;
|
|
1566
|
-
/**
|
|
1567
|
-
* @internal
|
|
1568
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1569
|
-
*/
|
|
1570
|
-
export declare namespace GetAllPromptsPromptConfig$ {
|
|
1571
|
-
/** @deprecated use `GetAllPromptsPromptConfig$inboundSchema` instead. */
|
|
1572
|
-
const inboundSchema: z.ZodType<GetAllPromptsPromptConfig, z.ZodTypeDef, unknown>;
|
|
1573
|
-
/** @deprecated use `GetAllPromptsPromptConfig$outboundSchema` instead. */
|
|
1574
|
-
const outboundSchema: z.ZodType<GetAllPromptsPromptConfig$Outbound, z.ZodTypeDef, GetAllPromptsPromptConfig>;
|
|
1575
|
-
/** @deprecated use `GetAllPromptsPromptConfig$Outbound` instead. */
|
|
1576
|
-
type Outbound = GetAllPromptsPromptConfig$Outbound;
|
|
1577
|
-
}
|
|
1578
|
-
export declare function getAllPromptsPromptConfigToJSON(getAllPromptsPromptConfig: GetAllPromptsPromptConfig): string;
|
|
1579
|
-
export declare function getAllPromptsPromptConfigFromJSON(jsonString: string): SafeParseResult<GetAllPromptsPromptConfig, SDKValidationError>;
|
|
1580
|
-
/** @internal */
|
|
1581
|
-
export declare const GetAllPromptsUseCases$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsUseCases>;
|
|
1582
|
-
/** @internal */
|
|
1583
|
-
export declare const GetAllPromptsUseCases$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsUseCases>;
|
|
1584
|
-
/**
|
|
1585
|
-
* @internal
|
|
1586
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1587
|
-
*/
|
|
1588
|
-
export declare namespace GetAllPromptsUseCases$ {
|
|
1589
|
-
/** @deprecated use `GetAllPromptsUseCases$inboundSchema` instead. */
|
|
1590
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1591
|
-
readonly Agents: "Agents";
|
|
1592
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1593
|
-
readonly APIInteraction: "API interaction";
|
|
1594
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1595
|
-
readonly Chatbots: "Chatbots";
|
|
1596
|
-
readonly Classification: "Classification";
|
|
1597
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1598
|
-
readonly CodeWriting: "Code writing";
|
|
1599
|
-
readonly DocumentsQA: "Documents QA";
|
|
1600
|
-
readonly Conversation: "Conversation";
|
|
1601
|
-
readonly Extraction: "Extraction";
|
|
1602
|
-
readonly MultiModal: "Multi-modal";
|
|
1603
|
-
readonly SelfChecking: "Self-checking";
|
|
1604
|
-
readonly Sql: "SQL";
|
|
1605
|
-
readonly Summarization: "Summarization";
|
|
1606
|
-
readonly Tagging: "Tagging";
|
|
1607
|
-
}>;
|
|
1608
|
-
/** @deprecated use `GetAllPromptsUseCases$outboundSchema` instead. */
|
|
1609
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1610
|
-
readonly Agents: "Agents";
|
|
1611
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1612
|
-
readonly APIInteraction: "API interaction";
|
|
1613
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1614
|
-
readonly Chatbots: "Chatbots";
|
|
1615
|
-
readonly Classification: "Classification";
|
|
1616
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1617
|
-
readonly CodeWriting: "Code writing";
|
|
1618
|
-
readonly DocumentsQA: "Documents QA";
|
|
1619
|
-
readonly Conversation: "Conversation";
|
|
1620
|
-
readonly Extraction: "Extraction";
|
|
1621
|
-
readonly MultiModal: "Multi-modal";
|
|
1622
|
-
readonly SelfChecking: "Self-checking";
|
|
1623
|
-
readonly Sql: "SQL";
|
|
1624
|
-
readonly Summarization: "Summarization";
|
|
1625
|
-
readonly Tagging: "Tagging";
|
|
1626
|
-
}>;
|
|
1627
|
-
}
|
|
1628
|
-
/** @internal */
|
|
1629
|
-
export declare const GetAllPromptsLanguage$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsLanguage>;
|
|
1630
|
-
/** @internal */
|
|
1631
|
-
export declare const GetAllPromptsLanguage$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsLanguage>;
|
|
1632
|
-
/**
|
|
1633
|
-
* @internal
|
|
1634
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1635
|
-
*/
|
|
1636
|
-
export declare namespace GetAllPromptsLanguage$ {
|
|
1637
|
-
/** @deprecated use `GetAllPromptsLanguage$inboundSchema` instead. */
|
|
1638
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1639
|
-
readonly Chinese: "Chinese";
|
|
1640
|
-
readonly Dutch: "Dutch";
|
|
1641
|
-
readonly English: "English";
|
|
1642
|
-
readonly French: "French";
|
|
1643
|
-
readonly German: "German";
|
|
1644
|
-
readonly Russian: "Russian";
|
|
1645
|
-
readonly Spanish: "Spanish";
|
|
1646
|
-
}>;
|
|
1647
|
-
/** @deprecated use `GetAllPromptsLanguage$outboundSchema` instead. */
|
|
1648
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1649
|
-
readonly Chinese: "Chinese";
|
|
1650
|
-
readonly Dutch: "Dutch";
|
|
1651
|
-
readonly English: "English";
|
|
1652
|
-
readonly French: "French";
|
|
1653
|
-
readonly German: "German";
|
|
1654
|
-
readonly Russian: "Russian";
|
|
1655
|
-
readonly Spanish: "Spanish";
|
|
1656
|
-
}>;
|
|
1657
|
-
}
|
|
1658
|
-
/** @internal */
|
|
1659
|
-
export declare const GetAllPromptsMetadata$inboundSchema: z.ZodType<GetAllPromptsMetadata, z.ZodTypeDef, unknown>;
|
|
1660
|
-
/** @internal */
|
|
1661
|
-
export type GetAllPromptsMetadata$Outbound = {
|
|
1662
|
-
use_cases?: Array<string> | undefined;
|
|
1663
|
-
language?: string | undefined;
|
|
1664
|
-
};
|
|
1665
|
-
/** @internal */
|
|
1666
|
-
export declare const GetAllPromptsMetadata$outboundSchema: z.ZodType<GetAllPromptsMetadata$Outbound, z.ZodTypeDef, GetAllPromptsMetadata>;
|
|
1667
|
-
/**
|
|
1668
|
-
* @internal
|
|
1669
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1670
|
-
*/
|
|
1671
|
-
export declare namespace GetAllPromptsMetadata$ {
|
|
1672
|
-
/** @deprecated use `GetAllPromptsMetadata$inboundSchema` instead. */
|
|
1673
|
-
const inboundSchema: z.ZodType<GetAllPromptsMetadata, z.ZodTypeDef, unknown>;
|
|
1674
|
-
/** @deprecated use `GetAllPromptsMetadata$outboundSchema` instead. */
|
|
1675
|
-
const outboundSchema: z.ZodType<GetAllPromptsMetadata$Outbound, z.ZodTypeDef, GetAllPromptsMetadata>;
|
|
1676
|
-
/** @deprecated use `GetAllPromptsMetadata$Outbound` instead. */
|
|
1677
|
-
type Outbound = GetAllPromptsMetadata$Outbound;
|
|
1678
|
-
}
|
|
1679
|
-
export declare function getAllPromptsMetadataToJSON(getAllPromptsMetadata: GetAllPromptsMetadata): string;
|
|
1680
|
-
export declare function getAllPromptsMetadataFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMetadata, SDKValidationError>;
|
|
1681
|
-
/** @internal */
|
|
1682
|
-
export declare const GetAllPromptsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsType>;
|
|
1683
|
-
/** @internal */
|
|
1684
|
-
export declare const GetAllPromptsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsType>;
|
|
1685
|
-
/**
|
|
1686
|
-
* @internal
|
|
1687
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1688
|
-
*/
|
|
1689
|
-
export declare namespace GetAllPromptsType$ {
|
|
1690
|
-
/** @deprecated use `GetAllPromptsType$inboundSchema` instead. */
|
|
1691
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1692
|
-
readonly Prompt: "prompt";
|
|
1693
|
-
}>;
|
|
1694
|
-
/** @deprecated use `GetAllPromptsType$outboundSchema` instead. */
|
|
1695
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1696
|
-
readonly Prompt: "prompt";
|
|
1697
|
-
}>;
|
|
1698
|
-
}
|
|
1699
|
-
/** @internal */
|
|
1700
|
-
export declare const GetAllPromptsPromptsModelType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsModelType>;
|
|
1701
|
-
/** @internal */
|
|
1702
|
-
export declare const GetAllPromptsPromptsModelType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsModelType>;
|
|
1703
|
-
/**
|
|
1704
|
-
* @internal
|
|
1705
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1706
|
-
*/
|
|
1707
|
-
export declare namespace GetAllPromptsPromptsModelType$ {
|
|
1708
|
-
/** @deprecated use `GetAllPromptsPromptsModelType$inboundSchema` instead. */
|
|
1709
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1710
|
-
readonly Chat: "chat";
|
|
1711
|
-
readonly Completion: "completion";
|
|
1712
|
-
readonly Embedding: "embedding";
|
|
1713
|
-
readonly Vision: "vision";
|
|
1714
|
-
readonly Image: "image";
|
|
1715
|
-
readonly Tts: "tts";
|
|
1716
|
-
readonly Stt: "stt";
|
|
1717
|
-
readonly Rerank: "rerank";
|
|
1718
|
-
readonly Moderations: "moderations";
|
|
1719
|
-
}>;
|
|
1720
|
-
/** @deprecated use `GetAllPromptsPromptsModelType$outboundSchema` instead. */
|
|
1721
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1722
|
-
readonly Chat: "chat";
|
|
1723
|
-
readonly Completion: "completion";
|
|
1724
|
-
readonly Embedding: "embedding";
|
|
1725
|
-
readonly Vision: "vision";
|
|
1726
|
-
readonly Image: "image";
|
|
1727
|
-
readonly Tts: "tts";
|
|
1728
|
-
readonly Stt: "stt";
|
|
1729
|
-
readonly Rerank: "rerank";
|
|
1730
|
-
readonly Moderations: "moderations";
|
|
1731
|
-
}>;
|
|
1732
|
-
}
|
|
1733
|
-
/** @internal */
|
|
1734
|
-
export declare const GetAllPromptsPromptsFormat$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsFormat>;
|
|
1735
|
-
/** @internal */
|
|
1736
|
-
export declare const GetAllPromptsPromptsFormat$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsFormat>;
|
|
1737
|
-
/**
|
|
1738
|
-
* @internal
|
|
1739
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1740
|
-
*/
|
|
1741
|
-
export declare namespace GetAllPromptsPromptsFormat$ {
|
|
1742
|
-
/** @deprecated use `GetAllPromptsPromptsFormat$inboundSchema` instead. */
|
|
1743
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1744
|
-
readonly Url: "url";
|
|
1745
|
-
readonly B64Json: "b64_json";
|
|
1746
|
-
readonly Text: "text";
|
|
1747
|
-
readonly JsonObject: "json_object";
|
|
1748
|
-
}>;
|
|
1749
|
-
/** @deprecated use `GetAllPromptsPromptsFormat$outboundSchema` instead. */
|
|
1750
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1751
|
-
readonly Url: "url";
|
|
1752
|
-
readonly B64Json: "b64_json";
|
|
1753
|
-
readonly Text: "text";
|
|
1754
|
-
readonly JsonObject: "json_object";
|
|
1755
|
-
}>;
|
|
1756
|
-
}
|
|
1757
|
-
/** @internal */
|
|
1758
|
-
export declare const GetAllPromptsPromptsQuality$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsQuality>;
|
|
1759
|
-
/** @internal */
|
|
1760
|
-
export declare const GetAllPromptsPromptsQuality$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsQuality>;
|
|
1761
|
-
/**
|
|
1762
|
-
* @internal
|
|
1763
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1764
|
-
*/
|
|
1765
|
-
export declare namespace GetAllPromptsPromptsQuality$ {
|
|
1766
|
-
/** @deprecated use `GetAllPromptsPromptsQuality$inboundSchema` instead. */
|
|
1767
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1768
|
-
readonly Standard: "standard";
|
|
1769
|
-
readonly Hd: "hd";
|
|
1770
|
-
}>;
|
|
1771
|
-
/** @deprecated use `GetAllPromptsPromptsQuality$outboundSchema` instead. */
|
|
1772
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1773
|
-
readonly Standard: "standard";
|
|
1774
|
-
readonly Hd: "hd";
|
|
1775
|
-
}>;
|
|
1776
|
-
}
|
|
1777
|
-
/** @internal */
|
|
1778
|
-
export declare const GetAllPromptsResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsResponse200Type>;
|
|
1779
|
-
/** @internal */
|
|
1780
|
-
export declare const GetAllPromptsResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatPromptsResponse200Type>;
|
|
1781
|
-
/**
|
|
1782
|
-
* @internal
|
|
1783
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1784
|
-
*/
|
|
1785
|
-
export declare namespace GetAllPromptsResponseFormatPromptsResponse200Type$ {
|
|
1786
|
-
/** @deprecated use `GetAllPromptsResponseFormatPromptsResponse200Type$inboundSchema` instead. */
|
|
1787
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1788
|
-
readonly JsonObject: "json_object";
|
|
1789
|
-
}>;
|
|
1790
|
-
/** @deprecated use `GetAllPromptsResponseFormatPromptsResponse200Type$outboundSchema` instead. */
|
|
1791
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1792
|
-
readonly JsonObject: "json_object";
|
|
1793
|
-
}>;
|
|
1794
|
-
}
|
|
1795
|
-
/** @internal */
|
|
1796
|
-
export declare const GetAllPromptsResponseFormatPrompts2$inboundSchema: z.ZodType<GetAllPromptsResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
1797
|
-
/** @internal */
|
|
1798
|
-
export type GetAllPromptsResponseFormatPrompts2$Outbound = {
|
|
1799
|
-
type: string;
|
|
1800
|
-
};
|
|
1801
|
-
/** @internal */
|
|
1802
|
-
export declare const GetAllPromptsResponseFormatPrompts2$outboundSchema: z.ZodType<GetAllPromptsResponseFormatPrompts2$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormatPrompts2>;
|
|
1803
|
-
/**
|
|
1804
|
-
* @internal
|
|
1805
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1806
|
-
*/
|
|
1807
|
-
export declare namespace GetAllPromptsResponseFormatPrompts2$ {
|
|
1808
|
-
/** @deprecated use `GetAllPromptsResponseFormatPrompts2$inboundSchema` instead. */
|
|
1809
|
-
const inboundSchema: z.ZodType<GetAllPromptsResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
1810
|
-
/** @deprecated use `GetAllPromptsResponseFormatPrompts2$outboundSchema` instead. */
|
|
1811
|
-
const outboundSchema: z.ZodType<GetAllPromptsResponseFormatPrompts2$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormatPrompts2>;
|
|
1812
|
-
/** @deprecated use `GetAllPromptsResponseFormatPrompts2$Outbound` instead. */
|
|
1813
|
-
type Outbound = GetAllPromptsResponseFormatPrompts2$Outbound;
|
|
591
|
+
export declare namespace GetAllPromptsResponseFormat2$ {
|
|
592
|
+
/** @deprecated use `GetAllPromptsResponseFormat2$inboundSchema` instead. */
|
|
593
|
+
const inboundSchema: z.ZodType<GetAllPromptsResponseFormat2, z.ZodTypeDef, unknown>;
|
|
594
|
+
/** @deprecated use `GetAllPromptsResponseFormat2$outboundSchema` instead. */
|
|
595
|
+
const outboundSchema: z.ZodType<GetAllPromptsResponseFormat2$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat2>;
|
|
596
|
+
/** @deprecated use `GetAllPromptsResponseFormat2$Outbound` instead. */
|
|
597
|
+
type Outbound = GetAllPromptsResponseFormat2$Outbound;
|
|
1814
598
|
}
|
|
1815
|
-
export declare function
|
|
1816
|
-
export declare function
|
|
599
|
+
export declare function getAllPromptsResponseFormat2ToJSON(getAllPromptsResponseFormat2: GetAllPromptsResponseFormat2): string;
|
|
600
|
+
export declare function getAllPromptsResponseFormat2FromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormat2, SDKValidationError>;
|
|
1817
601
|
/** @internal */
|
|
1818
|
-
export declare const
|
|
602
|
+
export declare const GetAllPromptsResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatType>;
|
|
1819
603
|
/** @internal */
|
|
1820
|
-
export declare const
|
|
604
|
+
export declare const GetAllPromptsResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsResponseFormatType>;
|
|
1821
605
|
/**
|
|
1822
606
|
* @internal
|
|
1823
607
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1824
608
|
*/
|
|
1825
|
-
export declare namespace
|
|
1826
|
-
/** @deprecated use `
|
|
609
|
+
export declare namespace GetAllPromptsResponseFormatType$ {
|
|
610
|
+
/** @deprecated use `GetAllPromptsResponseFormatType$inboundSchema` instead. */
|
|
1827
611
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1828
612
|
readonly JsonSchema: "json_schema";
|
|
1829
613
|
}>;
|
|
1830
|
-
/** @deprecated use `
|
|
614
|
+
/** @deprecated use `GetAllPromptsResponseFormatType$outboundSchema` instead. */
|
|
1831
615
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1832
616
|
readonly JsonSchema: "json_schema";
|
|
1833
617
|
}>;
|
|
1834
618
|
}
|
|
1835
619
|
/** @internal */
|
|
1836
|
-
export declare const
|
|
620
|
+
export declare const GetAllPromptsResponseFormatJsonSchema$inboundSchema: z.ZodType<GetAllPromptsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
1837
621
|
/** @internal */
|
|
1838
|
-
export type
|
|
622
|
+
export type GetAllPromptsResponseFormatJsonSchema$Outbound = {
|
|
1839
623
|
name: string;
|
|
1840
624
|
strict: boolean;
|
|
1841
625
|
schema: {
|
|
@@ -1843,120 +627,120 @@ export type GetAllPromptsResponseFormatPromptsJsonSchema$Outbound = {
|
|
|
1843
627
|
};
|
|
1844
628
|
};
|
|
1845
629
|
/** @internal */
|
|
1846
|
-
export declare const
|
|
630
|
+
export declare const GetAllPromptsResponseFormatJsonSchema$outboundSchema: z.ZodType<GetAllPromptsResponseFormatJsonSchema$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormatJsonSchema>;
|
|
1847
631
|
/**
|
|
1848
632
|
* @internal
|
|
1849
633
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1850
634
|
*/
|
|
1851
|
-
export declare namespace
|
|
1852
|
-
/** @deprecated use `
|
|
1853
|
-
const inboundSchema: z.ZodType<
|
|
1854
|
-
/** @deprecated use `
|
|
1855
|
-
const outboundSchema: z.ZodType<
|
|
1856
|
-
/** @deprecated use `
|
|
1857
|
-
type Outbound =
|
|
635
|
+
export declare namespace GetAllPromptsResponseFormatJsonSchema$ {
|
|
636
|
+
/** @deprecated use `GetAllPromptsResponseFormatJsonSchema$inboundSchema` instead. */
|
|
637
|
+
const inboundSchema: z.ZodType<GetAllPromptsResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
638
|
+
/** @deprecated use `GetAllPromptsResponseFormatJsonSchema$outboundSchema` instead. */
|
|
639
|
+
const outboundSchema: z.ZodType<GetAllPromptsResponseFormatJsonSchema$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormatJsonSchema>;
|
|
640
|
+
/** @deprecated use `GetAllPromptsResponseFormatJsonSchema$Outbound` instead. */
|
|
641
|
+
type Outbound = GetAllPromptsResponseFormatJsonSchema$Outbound;
|
|
1858
642
|
}
|
|
1859
|
-
export declare function
|
|
1860
|
-
export declare function
|
|
643
|
+
export declare function getAllPromptsResponseFormatJsonSchemaToJSON(getAllPromptsResponseFormatJsonSchema: GetAllPromptsResponseFormatJsonSchema): string;
|
|
644
|
+
export declare function getAllPromptsResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormatJsonSchema, SDKValidationError>;
|
|
1861
645
|
/** @internal */
|
|
1862
|
-
export declare const
|
|
646
|
+
export declare const GetAllPromptsResponseFormat1$inboundSchema: z.ZodType<GetAllPromptsResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1863
647
|
/** @internal */
|
|
1864
|
-
export type
|
|
648
|
+
export type GetAllPromptsResponseFormat1$Outbound = {
|
|
1865
649
|
type: string;
|
|
1866
|
-
json_schema:
|
|
650
|
+
json_schema: GetAllPromptsResponseFormatJsonSchema$Outbound;
|
|
1867
651
|
};
|
|
1868
652
|
/** @internal */
|
|
1869
|
-
export declare const
|
|
653
|
+
export declare const GetAllPromptsResponseFormat1$outboundSchema: z.ZodType<GetAllPromptsResponseFormat1$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat1>;
|
|
1870
654
|
/**
|
|
1871
655
|
* @internal
|
|
1872
656
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1873
657
|
*/
|
|
1874
|
-
export declare namespace
|
|
1875
|
-
/** @deprecated use `
|
|
1876
|
-
const inboundSchema: z.ZodType<
|
|
1877
|
-
/** @deprecated use `
|
|
1878
|
-
const outboundSchema: z.ZodType<
|
|
1879
|
-
/** @deprecated use `
|
|
1880
|
-
type Outbound =
|
|
658
|
+
export declare namespace GetAllPromptsResponseFormat1$ {
|
|
659
|
+
/** @deprecated use `GetAllPromptsResponseFormat1$inboundSchema` instead. */
|
|
660
|
+
const inboundSchema: z.ZodType<GetAllPromptsResponseFormat1, z.ZodTypeDef, unknown>;
|
|
661
|
+
/** @deprecated use `GetAllPromptsResponseFormat1$outboundSchema` instead. */
|
|
662
|
+
const outboundSchema: z.ZodType<GetAllPromptsResponseFormat1$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat1>;
|
|
663
|
+
/** @deprecated use `GetAllPromptsResponseFormat1$Outbound` instead. */
|
|
664
|
+
type Outbound = GetAllPromptsResponseFormat1$Outbound;
|
|
1881
665
|
}
|
|
1882
|
-
export declare function
|
|
1883
|
-
export declare function
|
|
666
|
+
export declare function getAllPromptsResponseFormat1ToJSON(getAllPromptsResponseFormat1: GetAllPromptsResponseFormat1): string;
|
|
667
|
+
export declare function getAllPromptsResponseFormat1FromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormat1, SDKValidationError>;
|
|
1884
668
|
/** @internal */
|
|
1885
|
-
export declare const
|
|
669
|
+
export declare const GetAllPromptsResponseFormat$inboundSchema: z.ZodType<GetAllPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
1886
670
|
/** @internal */
|
|
1887
|
-
export type
|
|
671
|
+
export type GetAllPromptsResponseFormat$Outbound = GetAllPromptsResponseFormat2$Outbound | GetAllPromptsResponseFormat1$Outbound;
|
|
1888
672
|
/** @internal */
|
|
1889
|
-
export declare const
|
|
673
|
+
export declare const GetAllPromptsResponseFormat$outboundSchema: z.ZodType<GetAllPromptsResponseFormat$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat>;
|
|
1890
674
|
/**
|
|
1891
675
|
* @internal
|
|
1892
676
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1893
677
|
*/
|
|
1894
|
-
export declare namespace
|
|
1895
|
-
/** @deprecated use `
|
|
1896
|
-
const inboundSchema: z.ZodType<
|
|
1897
|
-
/** @deprecated use `
|
|
1898
|
-
const outboundSchema: z.ZodType<
|
|
1899
|
-
/** @deprecated use `
|
|
1900
|
-
type Outbound =
|
|
678
|
+
export declare namespace GetAllPromptsResponseFormat$ {
|
|
679
|
+
/** @deprecated use `GetAllPromptsResponseFormat$inboundSchema` instead. */
|
|
680
|
+
const inboundSchema: z.ZodType<GetAllPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
681
|
+
/** @deprecated use `GetAllPromptsResponseFormat$outboundSchema` instead. */
|
|
682
|
+
const outboundSchema: z.ZodType<GetAllPromptsResponseFormat$Outbound, z.ZodTypeDef, GetAllPromptsResponseFormat>;
|
|
683
|
+
/** @deprecated use `GetAllPromptsResponseFormat$Outbound` instead. */
|
|
684
|
+
type Outbound = GetAllPromptsResponseFormat$Outbound;
|
|
1901
685
|
}
|
|
1902
|
-
export declare function
|
|
1903
|
-
export declare function
|
|
686
|
+
export declare function getAllPromptsResponseFormatToJSON(getAllPromptsResponseFormat: GetAllPromptsResponseFormat): string;
|
|
687
|
+
export declare function getAllPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<GetAllPromptsResponseFormat, SDKValidationError>;
|
|
1904
688
|
/** @internal */
|
|
1905
|
-
export declare const
|
|
689
|
+
export declare const GetAllPromptsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPhotoRealVersion>;
|
|
1906
690
|
/** @internal */
|
|
1907
|
-
export declare const
|
|
691
|
+
export declare const GetAllPromptsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPhotoRealVersion>;
|
|
1908
692
|
/**
|
|
1909
693
|
* @internal
|
|
1910
694
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1911
695
|
*/
|
|
1912
|
-
export declare namespace
|
|
1913
|
-
/** @deprecated use `
|
|
696
|
+
export declare namespace GetAllPromptsPhotoRealVersion$ {
|
|
697
|
+
/** @deprecated use `GetAllPromptsPhotoRealVersion$inboundSchema` instead. */
|
|
1914
698
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1915
699
|
readonly V1: "v1";
|
|
1916
700
|
readonly V2: "v2";
|
|
1917
701
|
}>;
|
|
1918
|
-
/** @deprecated use `
|
|
702
|
+
/** @deprecated use `GetAllPromptsPhotoRealVersion$outboundSchema` instead. */
|
|
1919
703
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1920
704
|
readonly V1: "v1";
|
|
1921
705
|
readonly V2: "v2";
|
|
1922
706
|
}>;
|
|
1923
707
|
}
|
|
1924
708
|
/** @internal */
|
|
1925
|
-
export declare const
|
|
709
|
+
export declare const GetAllPromptsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsEncodingFormat>;
|
|
1926
710
|
/** @internal */
|
|
1927
|
-
export declare const
|
|
711
|
+
export declare const GetAllPromptsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsEncodingFormat>;
|
|
1928
712
|
/**
|
|
1929
713
|
* @internal
|
|
1930
714
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1931
715
|
*/
|
|
1932
|
-
export declare namespace
|
|
1933
|
-
/** @deprecated use `
|
|
716
|
+
export declare namespace GetAllPromptsEncodingFormat$ {
|
|
717
|
+
/** @deprecated use `GetAllPromptsEncodingFormat$inboundSchema` instead. */
|
|
1934
718
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1935
719
|
readonly Float: "float";
|
|
1936
720
|
readonly Base64: "base64";
|
|
1937
721
|
}>;
|
|
1938
|
-
/** @deprecated use `
|
|
722
|
+
/** @deprecated use `GetAllPromptsEncodingFormat$outboundSchema` instead. */
|
|
1939
723
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1940
724
|
readonly Float: "float";
|
|
1941
725
|
readonly Base64: "base64";
|
|
1942
726
|
}>;
|
|
1943
727
|
}
|
|
1944
728
|
/** @internal */
|
|
1945
|
-
export declare const
|
|
729
|
+
export declare const GetAllPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsReasoningEffort>;
|
|
1946
730
|
/** @internal */
|
|
1947
|
-
export declare const
|
|
731
|
+
export declare const GetAllPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsReasoningEffort>;
|
|
1948
732
|
/**
|
|
1949
733
|
* @internal
|
|
1950
734
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1951
735
|
*/
|
|
1952
|
-
export declare namespace
|
|
1953
|
-
/** @deprecated use `
|
|
736
|
+
export declare namespace GetAllPromptsReasoningEffort$ {
|
|
737
|
+
/** @deprecated use `GetAllPromptsReasoningEffort$inboundSchema` instead. */
|
|
1954
738
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1955
739
|
readonly Low: "low";
|
|
1956
740
|
readonly Medium: "medium";
|
|
1957
741
|
readonly High: "high";
|
|
1958
742
|
}>;
|
|
1959
|
-
/** @deprecated use `
|
|
743
|
+
/** @deprecated use `GetAllPromptsReasoningEffort$outboundSchema` instead. */
|
|
1960
744
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1961
745
|
readonly Low: "low";
|
|
1962
746
|
readonly Medium: "medium";
|
|
@@ -1964,9 +748,9 @@ export declare namespace GetAllPromptsPromptsReasoningEffort$ {
|
|
|
1964
748
|
}>;
|
|
1965
749
|
}
|
|
1966
750
|
/** @internal */
|
|
1967
|
-
export declare const
|
|
751
|
+
export declare const GetAllPromptsModelParameters$inboundSchema: z.ZodType<GetAllPromptsModelParameters, z.ZodTypeDef, unknown>;
|
|
1968
752
|
/** @internal */
|
|
1969
|
-
export type
|
|
753
|
+
export type GetAllPromptsModelParameters$Outbound = {
|
|
1970
754
|
temperature?: number | undefined;
|
|
1971
755
|
maxTokens?: number | undefined;
|
|
1972
756
|
topK?: number | undefined;
|
|
@@ -1979,37 +763,37 @@ export type GetAllPromptsPromptsModelParameters$Outbound = {
|
|
|
1979
763
|
dimensions?: string | undefined;
|
|
1980
764
|
quality?: string | undefined;
|
|
1981
765
|
style?: string | undefined;
|
|
1982
|
-
responseFormat?:
|
|
766
|
+
responseFormat?: GetAllPromptsResponseFormat2$Outbound | GetAllPromptsResponseFormat1$Outbound | null | undefined;
|
|
1983
767
|
photoRealVersion?: string | undefined;
|
|
1984
768
|
encoding_format?: string | undefined;
|
|
1985
769
|
reasoningEffort?: string | undefined;
|
|
1986
770
|
};
|
|
1987
771
|
/** @internal */
|
|
1988
|
-
export declare const
|
|
772
|
+
export declare const GetAllPromptsModelParameters$outboundSchema: z.ZodType<GetAllPromptsModelParameters$Outbound, z.ZodTypeDef, GetAllPromptsModelParameters>;
|
|
1989
773
|
/**
|
|
1990
774
|
* @internal
|
|
1991
775
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1992
776
|
*/
|
|
1993
|
-
export declare namespace
|
|
1994
|
-
/** @deprecated use `
|
|
1995
|
-
const inboundSchema: z.ZodType<
|
|
1996
|
-
/** @deprecated use `
|
|
1997
|
-
const outboundSchema: z.ZodType<
|
|
1998
|
-
/** @deprecated use `
|
|
1999
|
-
type Outbound =
|
|
777
|
+
export declare namespace GetAllPromptsModelParameters$ {
|
|
778
|
+
/** @deprecated use `GetAllPromptsModelParameters$inboundSchema` instead. */
|
|
779
|
+
const inboundSchema: z.ZodType<GetAllPromptsModelParameters, z.ZodTypeDef, unknown>;
|
|
780
|
+
/** @deprecated use `GetAllPromptsModelParameters$outboundSchema` instead. */
|
|
781
|
+
const outboundSchema: z.ZodType<GetAllPromptsModelParameters$Outbound, z.ZodTypeDef, GetAllPromptsModelParameters>;
|
|
782
|
+
/** @deprecated use `GetAllPromptsModelParameters$Outbound` instead. */
|
|
783
|
+
type Outbound = GetAllPromptsModelParameters$Outbound;
|
|
2000
784
|
}
|
|
2001
|
-
export declare function
|
|
2002
|
-
export declare function
|
|
785
|
+
export declare function getAllPromptsModelParametersToJSON(getAllPromptsModelParameters: GetAllPromptsModelParameters): string;
|
|
786
|
+
export declare function getAllPromptsModelParametersFromJSON(jsonString: string): SafeParseResult<GetAllPromptsModelParameters, SDKValidationError>;
|
|
2003
787
|
/** @internal */
|
|
2004
|
-
export declare const
|
|
788
|
+
export declare const GetAllPromptsProvider$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsProvider>;
|
|
2005
789
|
/** @internal */
|
|
2006
|
-
export declare const
|
|
790
|
+
export declare const GetAllPromptsProvider$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsProvider>;
|
|
2007
791
|
/**
|
|
2008
792
|
* @internal
|
|
2009
793
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2010
794
|
*/
|
|
2011
|
-
export declare namespace
|
|
2012
|
-
/** @deprecated use `
|
|
795
|
+
export declare namespace GetAllPromptsProvider$ {
|
|
796
|
+
/** @deprecated use `GetAllPromptsProvider$inboundSchema` instead. */
|
|
2013
797
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2014
798
|
readonly Cohere: "cohere";
|
|
2015
799
|
readonly Openai: "openai";
|
|
@@ -2030,7 +814,7 @@ export declare namespace GetAllPromptsPromptsProvider$ {
|
|
|
2030
814
|
readonly Togetherai: "togetherai";
|
|
2031
815
|
readonly Elevenlabs: "elevenlabs";
|
|
2032
816
|
}>;
|
|
2033
|
-
/** @deprecated use `
|
|
817
|
+
/** @deprecated use `GetAllPromptsProvider$outboundSchema` instead. */
|
|
2034
818
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2035
819
|
readonly Cohere: "cohere";
|
|
2036
820
|
readonly Openai: "openai";
|
|
@@ -2053,15 +837,15 @@ export declare namespace GetAllPromptsPromptsProvider$ {
|
|
|
2053
837
|
}>;
|
|
2054
838
|
}
|
|
2055
839
|
/** @internal */
|
|
2056
|
-
export declare const
|
|
840
|
+
export declare const GetAllPromptsRole$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsRole>;
|
|
2057
841
|
/** @internal */
|
|
2058
|
-
export declare const
|
|
842
|
+
export declare const GetAllPromptsRole$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsRole>;
|
|
2059
843
|
/**
|
|
2060
844
|
* @internal
|
|
2061
845
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2062
846
|
*/
|
|
2063
|
-
export declare namespace
|
|
2064
|
-
/** @deprecated use `
|
|
847
|
+
export declare namespace GetAllPromptsRole$ {
|
|
848
|
+
/** @deprecated use `GetAllPromptsRole$inboundSchema` instead. */
|
|
2065
849
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2066
850
|
readonly System: "system";
|
|
2067
851
|
readonly Assistant: "assistant";
|
|
@@ -2072,7 +856,7 @@ export declare namespace GetAllPromptsPromptsRole$ {
|
|
|
2072
856
|
readonly Correction: "correction";
|
|
2073
857
|
readonly ExpectedOutput: "expected_output";
|
|
2074
858
|
}>;
|
|
2075
|
-
/** @deprecated use `
|
|
859
|
+
/** @deprecated use `GetAllPromptsRole$outboundSchema` instead. */
|
|
2076
860
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2077
861
|
readonly System: "system";
|
|
2078
862
|
readonly Assistant: "assistant";
|
|
@@ -2085,281 +869,281 @@ export declare namespace GetAllPromptsPromptsRole$ {
|
|
|
2085
869
|
}>;
|
|
2086
870
|
}
|
|
2087
871
|
/** @internal */
|
|
2088
|
-
export declare const
|
|
872
|
+
export declare const GetAllPrompts2PromptsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPrompts2PromptsType>;
|
|
2089
873
|
/** @internal */
|
|
2090
|
-
export declare const
|
|
874
|
+
export declare const GetAllPrompts2PromptsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPrompts2PromptsType>;
|
|
2091
875
|
/**
|
|
2092
876
|
* @internal
|
|
2093
877
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2094
878
|
*/
|
|
2095
|
-
export declare namespace
|
|
2096
|
-
/** @deprecated use `
|
|
879
|
+
export declare namespace GetAllPrompts2PromptsType$ {
|
|
880
|
+
/** @deprecated use `GetAllPrompts2PromptsType$inboundSchema` instead. */
|
|
2097
881
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2098
882
|
readonly ImageUrl: "image_url";
|
|
2099
883
|
}>;
|
|
2100
|
-
/** @deprecated use `
|
|
884
|
+
/** @deprecated use `GetAllPrompts2PromptsType$outboundSchema` instead. */
|
|
2101
885
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2102
886
|
readonly ImageUrl: "image_url";
|
|
2103
887
|
}>;
|
|
2104
888
|
}
|
|
2105
889
|
/** @internal */
|
|
2106
|
-
export declare const
|
|
890
|
+
export declare const GetAllPrompts2ImageUrl$inboundSchema: z.ZodType<GetAllPrompts2ImageUrl, z.ZodTypeDef, unknown>;
|
|
2107
891
|
/** @internal */
|
|
2108
|
-
export type
|
|
892
|
+
export type GetAllPrompts2ImageUrl$Outbound = {
|
|
2109
893
|
id?: string | undefined;
|
|
2110
894
|
url: string;
|
|
2111
895
|
detail?: string | undefined;
|
|
2112
896
|
};
|
|
2113
897
|
/** @internal */
|
|
2114
|
-
export declare const
|
|
898
|
+
export declare const GetAllPrompts2ImageUrl$outboundSchema: z.ZodType<GetAllPrompts2ImageUrl$Outbound, z.ZodTypeDef, GetAllPrompts2ImageUrl>;
|
|
2115
899
|
/**
|
|
2116
900
|
* @internal
|
|
2117
901
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2118
902
|
*/
|
|
2119
|
-
export declare namespace
|
|
2120
|
-
/** @deprecated use `
|
|
2121
|
-
const inboundSchema: z.ZodType<
|
|
2122
|
-
/** @deprecated use `
|
|
2123
|
-
const outboundSchema: z.ZodType<
|
|
2124
|
-
/** @deprecated use `
|
|
2125
|
-
type Outbound =
|
|
903
|
+
export declare namespace GetAllPrompts2ImageUrl$ {
|
|
904
|
+
/** @deprecated use `GetAllPrompts2ImageUrl$inboundSchema` instead. */
|
|
905
|
+
const inboundSchema: z.ZodType<GetAllPrompts2ImageUrl, z.ZodTypeDef, unknown>;
|
|
906
|
+
/** @deprecated use `GetAllPrompts2ImageUrl$outboundSchema` instead. */
|
|
907
|
+
const outboundSchema: z.ZodType<GetAllPrompts2ImageUrl$Outbound, z.ZodTypeDef, GetAllPrompts2ImageUrl>;
|
|
908
|
+
/** @deprecated use `GetAllPrompts2ImageUrl$Outbound` instead. */
|
|
909
|
+
type Outbound = GetAllPrompts2ImageUrl$Outbound;
|
|
2126
910
|
}
|
|
2127
|
-
export declare function
|
|
2128
|
-
export declare function
|
|
911
|
+
export declare function getAllPrompts2ImageUrlToJSON(getAllPrompts2ImageUrl: GetAllPrompts2ImageUrl): string;
|
|
912
|
+
export declare function getAllPrompts2ImageUrlFromJSON(jsonString: string): SafeParseResult<GetAllPrompts2ImageUrl, SDKValidationError>;
|
|
2129
913
|
/** @internal */
|
|
2130
|
-
export declare const
|
|
914
|
+
export declare const GetAllPrompts22$inboundSchema: z.ZodType<GetAllPrompts22, z.ZodTypeDef, unknown>;
|
|
2131
915
|
/** @internal */
|
|
2132
|
-
export type
|
|
916
|
+
export type GetAllPrompts22$Outbound = {
|
|
2133
917
|
type: string;
|
|
2134
|
-
image_url:
|
|
918
|
+
image_url: GetAllPrompts2ImageUrl$Outbound;
|
|
2135
919
|
};
|
|
2136
920
|
/** @internal */
|
|
2137
|
-
export declare const
|
|
921
|
+
export declare const GetAllPrompts22$outboundSchema: z.ZodType<GetAllPrompts22$Outbound, z.ZodTypeDef, GetAllPrompts22>;
|
|
2138
922
|
/**
|
|
2139
923
|
* @internal
|
|
2140
924
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2141
925
|
*/
|
|
2142
|
-
export declare namespace
|
|
2143
|
-
/** @deprecated use `
|
|
2144
|
-
const inboundSchema: z.ZodType<
|
|
2145
|
-
/** @deprecated use `
|
|
2146
|
-
const outboundSchema: z.ZodType<
|
|
2147
|
-
/** @deprecated use `
|
|
2148
|
-
type Outbound =
|
|
926
|
+
export declare namespace GetAllPrompts22$ {
|
|
927
|
+
/** @deprecated use `GetAllPrompts22$inboundSchema` instead. */
|
|
928
|
+
const inboundSchema: z.ZodType<GetAllPrompts22, z.ZodTypeDef, unknown>;
|
|
929
|
+
/** @deprecated use `GetAllPrompts22$outboundSchema` instead. */
|
|
930
|
+
const outboundSchema: z.ZodType<GetAllPrompts22$Outbound, z.ZodTypeDef, GetAllPrompts22>;
|
|
931
|
+
/** @deprecated use `GetAllPrompts22$Outbound` instead. */
|
|
932
|
+
type Outbound = GetAllPrompts22$Outbound;
|
|
2149
933
|
}
|
|
2150
|
-
export declare function
|
|
2151
|
-
export declare function
|
|
934
|
+
export declare function getAllPrompts22ToJSON(getAllPrompts22: GetAllPrompts22): string;
|
|
935
|
+
export declare function getAllPrompts22FromJSON(jsonString: string): SafeParseResult<GetAllPrompts22, SDKValidationError>;
|
|
2152
936
|
/** @internal */
|
|
2153
|
-
export declare const
|
|
937
|
+
export declare const GetAllPrompts2Type$inboundSchema: z.ZodNativeEnum<typeof GetAllPrompts2Type>;
|
|
2154
938
|
/** @internal */
|
|
2155
|
-
export declare const
|
|
939
|
+
export declare const GetAllPrompts2Type$outboundSchema: z.ZodNativeEnum<typeof GetAllPrompts2Type>;
|
|
2156
940
|
/**
|
|
2157
941
|
* @internal
|
|
2158
942
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2159
943
|
*/
|
|
2160
|
-
export declare namespace
|
|
2161
|
-
/** @deprecated use `
|
|
944
|
+
export declare namespace GetAllPrompts2Type$ {
|
|
945
|
+
/** @deprecated use `GetAllPrompts2Type$inboundSchema` instead. */
|
|
2162
946
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2163
947
|
readonly Text: "text";
|
|
2164
948
|
}>;
|
|
2165
|
-
/** @deprecated use `
|
|
949
|
+
/** @deprecated use `GetAllPrompts2Type$outboundSchema` instead. */
|
|
2166
950
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2167
951
|
readonly Text: "text";
|
|
2168
952
|
}>;
|
|
2169
953
|
}
|
|
2170
954
|
/** @internal */
|
|
2171
|
-
export declare const
|
|
955
|
+
export declare const GetAllPrompts21$inboundSchema: z.ZodType<GetAllPrompts21, z.ZodTypeDef, unknown>;
|
|
2172
956
|
/** @internal */
|
|
2173
|
-
export type
|
|
957
|
+
export type GetAllPrompts21$Outbound = {
|
|
2174
958
|
type: string;
|
|
2175
959
|
text: string;
|
|
2176
960
|
};
|
|
2177
961
|
/** @internal */
|
|
2178
|
-
export declare const
|
|
962
|
+
export declare const GetAllPrompts21$outboundSchema: z.ZodType<GetAllPrompts21$Outbound, z.ZodTypeDef, GetAllPrompts21>;
|
|
2179
963
|
/**
|
|
2180
964
|
* @internal
|
|
2181
965
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2182
966
|
*/
|
|
2183
|
-
export declare namespace
|
|
2184
|
-
/** @deprecated use `
|
|
2185
|
-
const inboundSchema: z.ZodType<
|
|
2186
|
-
/** @deprecated use `
|
|
2187
|
-
const outboundSchema: z.ZodType<
|
|
2188
|
-
/** @deprecated use `
|
|
2189
|
-
type Outbound =
|
|
967
|
+
export declare namespace GetAllPrompts21$ {
|
|
968
|
+
/** @deprecated use `GetAllPrompts21$inboundSchema` instead. */
|
|
969
|
+
const inboundSchema: z.ZodType<GetAllPrompts21, z.ZodTypeDef, unknown>;
|
|
970
|
+
/** @deprecated use `GetAllPrompts21$outboundSchema` instead. */
|
|
971
|
+
const outboundSchema: z.ZodType<GetAllPrompts21$Outbound, z.ZodTypeDef, GetAllPrompts21>;
|
|
972
|
+
/** @deprecated use `GetAllPrompts21$Outbound` instead. */
|
|
973
|
+
type Outbound = GetAllPrompts21$Outbound;
|
|
2190
974
|
}
|
|
2191
|
-
export declare function
|
|
2192
|
-
export declare function
|
|
975
|
+
export declare function getAllPrompts21ToJSON(getAllPrompts21: GetAllPrompts21): string;
|
|
976
|
+
export declare function getAllPrompts21FromJSON(jsonString: string): SafeParseResult<GetAllPrompts21, SDKValidationError>;
|
|
2193
977
|
/** @internal */
|
|
2194
|
-
export declare const
|
|
978
|
+
export declare const GetAllPromptsContent2$inboundSchema: z.ZodType<GetAllPromptsContent2, z.ZodTypeDef, unknown>;
|
|
2195
979
|
/** @internal */
|
|
2196
|
-
export type
|
|
980
|
+
export type GetAllPromptsContent2$Outbound = GetAllPrompts21$Outbound | GetAllPrompts22$Outbound;
|
|
2197
981
|
/** @internal */
|
|
2198
|
-
export declare const
|
|
982
|
+
export declare const GetAllPromptsContent2$outboundSchema: z.ZodType<GetAllPromptsContent2$Outbound, z.ZodTypeDef, GetAllPromptsContent2>;
|
|
2199
983
|
/**
|
|
2200
984
|
* @internal
|
|
2201
985
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2202
986
|
*/
|
|
2203
|
-
export declare namespace
|
|
2204
|
-
/** @deprecated use `
|
|
2205
|
-
const inboundSchema: z.ZodType<
|
|
2206
|
-
/** @deprecated use `
|
|
2207
|
-
const outboundSchema: z.ZodType<
|
|
2208
|
-
/** @deprecated use `
|
|
2209
|
-
type Outbound =
|
|
987
|
+
export declare namespace GetAllPromptsContent2$ {
|
|
988
|
+
/** @deprecated use `GetAllPromptsContent2$inboundSchema` instead. */
|
|
989
|
+
const inboundSchema: z.ZodType<GetAllPromptsContent2, z.ZodTypeDef, unknown>;
|
|
990
|
+
/** @deprecated use `GetAllPromptsContent2$outboundSchema` instead. */
|
|
991
|
+
const outboundSchema: z.ZodType<GetAllPromptsContent2$Outbound, z.ZodTypeDef, GetAllPromptsContent2>;
|
|
992
|
+
/** @deprecated use `GetAllPromptsContent2$Outbound` instead. */
|
|
993
|
+
type Outbound = GetAllPromptsContent2$Outbound;
|
|
2210
994
|
}
|
|
2211
|
-
export declare function
|
|
2212
|
-
export declare function
|
|
995
|
+
export declare function getAllPromptsContent2ToJSON(getAllPromptsContent2: GetAllPromptsContent2): string;
|
|
996
|
+
export declare function getAllPromptsContent2FromJSON(jsonString: string): SafeParseResult<GetAllPromptsContent2, SDKValidationError>;
|
|
2213
997
|
/** @internal */
|
|
2214
|
-
export declare const
|
|
998
|
+
export declare const GetAllPromptsContent$inboundSchema: z.ZodType<GetAllPromptsContent, z.ZodTypeDef, unknown>;
|
|
2215
999
|
/** @internal */
|
|
2216
|
-
export type
|
|
1000
|
+
export type GetAllPromptsContent$Outbound = string | Array<GetAllPrompts21$Outbound | GetAllPrompts22$Outbound>;
|
|
2217
1001
|
/** @internal */
|
|
2218
|
-
export declare const
|
|
1002
|
+
export declare const GetAllPromptsContent$outboundSchema: z.ZodType<GetAllPromptsContent$Outbound, z.ZodTypeDef, GetAllPromptsContent>;
|
|
2219
1003
|
/**
|
|
2220
1004
|
* @internal
|
|
2221
1005
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2222
1006
|
*/
|
|
2223
|
-
export declare namespace
|
|
2224
|
-
/** @deprecated use `
|
|
2225
|
-
const inboundSchema: z.ZodType<
|
|
2226
|
-
/** @deprecated use `
|
|
2227
|
-
const outboundSchema: z.ZodType<
|
|
2228
|
-
/** @deprecated use `
|
|
2229
|
-
type Outbound =
|
|
1007
|
+
export declare namespace GetAllPromptsContent$ {
|
|
1008
|
+
/** @deprecated use `GetAllPromptsContent$inboundSchema` instead. */
|
|
1009
|
+
const inboundSchema: z.ZodType<GetAllPromptsContent, z.ZodTypeDef, unknown>;
|
|
1010
|
+
/** @deprecated use `GetAllPromptsContent$outboundSchema` instead. */
|
|
1011
|
+
const outboundSchema: z.ZodType<GetAllPromptsContent$Outbound, z.ZodTypeDef, GetAllPromptsContent>;
|
|
1012
|
+
/** @deprecated use `GetAllPromptsContent$Outbound` instead. */
|
|
1013
|
+
type Outbound = GetAllPromptsContent$Outbound;
|
|
2230
1014
|
}
|
|
2231
|
-
export declare function
|
|
2232
|
-
export declare function
|
|
1015
|
+
export declare function getAllPromptsContentToJSON(getAllPromptsContent: GetAllPromptsContent): string;
|
|
1016
|
+
export declare function getAllPromptsContentFromJSON(jsonString: string): SafeParseResult<GetAllPromptsContent, SDKValidationError>;
|
|
2233
1017
|
/** @internal */
|
|
2234
|
-
export declare const
|
|
1018
|
+
export declare const GetAllPromptsPromptsType$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsType>;
|
|
2235
1019
|
/** @internal */
|
|
2236
|
-
export declare const
|
|
1020
|
+
export declare const GetAllPromptsPromptsType$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsPromptsType>;
|
|
2237
1021
|
/**
|
|
2238
1022
|
* @internal
|
|
2239
1023
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2240
1024
|
*/
|
|
2241
|
-
export declare namespace
|
|
2242
|
-
/** @deprecated use `
|
|
1025
|
+
export declare namespace GetAllPromptsPromptsType$ {
|
|
1026
|
+
/** @deprecated use `GetAllPromptsPromptsType$inboundSchema` instead. */
|
|
2243
1027
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2244
1028
|
readonly Function: "function";
|
|
2245
1029
|
}>;
|
|
2246
|
-
/** @deprecated use `
|
|
1030
|
+
/** @deprecated use `GetAllPromptsPromptsType$outboundSchema` instead. */
|
|
2247
1031
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2248
1032
|
readonly Function: "function";
|
|
2249
1033
|
}>;
|
|
2250
1034
|
}
|
|
2251
1035
|
/** @internal */
|
|
2252
|
-
export declare const
|
|
1036
|
+
export declare const GetAllPromptsFunction$inboundSchema: z.ZodType<GetAllPromptsFunction, z.ZodTypeDef, unknown>;
|
|
2253
1037
|
/** @internal */
|
|
2254
|
-
export type
|
|
1038
|
+
export type GetAllPromptsFunction$Outbound = {
|
|
2255
1039
|
name: string;
|
|
2256
1040
|
arguments: string;
|
|
2257
1041
|
};
|
|
2258
1042
|
/** @internal */
|
|
2259
|
-
export declare const
|
|
1043
|
+
export declare const GetAllPromptsFunction$outboundSchema: z.ZodType<GetAllPromptsFunction$Outbound, z.ZodTypeDef, GetAllPromptsFunction>;
|
|
2260
1044
|
/**
|
|
2261
1045
|
* @internal
|
|
2262
1046
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2263
1047
|
*/
|
|
2264
|
-
export declare namespace
|
|
2265
|
-
/** @deprecated use `
|
|
2266
|
-
const inboundSchema: z.ZodType<
|
|
2267
|
-
/** @deprecated use `
|
|
2268
|
-
const outboundSchema: z.ZodType<
|
|
2269
|
-
/** @deprecated use `
|
|
2270
|
-
type Outbound =
|
|
1048
|
+
export declare namespace GetAllPromptsFunction$ {
|
|
1049
|
+
/** @deprecated use `GetAllPromptsFunction$inboundSchema` instead. */
|
|
1050
|
+
const inboundSchema: z.ZodType<GetAllPromptsFunction, z.ZodTypeDef, unknown>;
|
|
1051
|
+
/** @deprecated use `GetAllPromptsFunction$outboundSchema` instead. */
|
|
1052
|
+
const outboundSchema: z.ZodType<GetAllPromptsFunction$Outbound, z.ZodTypeDef, GetAllPromptsFunction>;
|
|
1053
|
+
/** @deprecated use `GetAllPromptsFunction$Outbound` instead. */
|
|
1054
|
+
type Outbound = GetAllPromptsFunction$Outbound;
|
|
2271
1055
|
}
|
|
2272
|
-
export declare function
|
|
2273
|
-
export declare function
|
|
1056
|
+
export declare function getAllPromptsFunctionToJSON(getAllPromptsFunction: GetAllPromptsFunction): string;
|
|
1057
|
+
export declare function getAllPromptsFunctionFromJSON(jsonString: string): SafeParseResult<GetAllPromptsFunction, SDKValidationError>;
|
|
2274
1058
|
/** @internal */
|
|
2275
|
-
export declare const
|
|
1059
|
+
export declare const GetAllPromptsToolCalls$inboundSchema: z.ZodType<GetAllPromptsToolCalls, z.ZodTypeDef, unknown>;
|
|
2276
1060
|
/** @internal */
|
|
2277
|
-
export type
|
|
1061
|
+
export type GetAllPromptsToolCalls$Outbound = {
|
|
2278
1062
|
id?: string | undefined;
|
|
2279
1063
|
index?: number | undefined;
|
|
2280
1064
|
type: string;
|
|
2281
|
-
function:
|
|
1065
|
+
function: GetAllPromptsFunction$Outbound;
|
|
2282
1066
|
};
|
|
2283
1067
|
/** @internal */
|
|
2284
|
-
export declare const
|
|
1068
|
+
export declare const GetAllPromptsToolCalls$outboundSchema: z.ZodType<GetAllPromptsToolCalls$Outbound, z.ZodTypeDef, GetAllPromptsToolCalls>;
|
|
2285
1069
|
/**
|
|
2286
1070
|
* @internal
|
|
2287
1071
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2288
1072
|
*/
|
|
2289
|
-
export declare namespace
|
|
2290
|
-
/** @deprecated use `
|
|
2291
|
-
const inboundSchema: z.ZodType<
|
|
2292
|
-
/** @deprecated use `
|
|
2293
|
-
const outboundSchema: z.ZodType<
|
|
2294
|
-
/** @deprecated use `
|
|
2295
|
-
type Outbound =
|
|
1073
|
+
export declare namespace GetAllPromptsToolCalls$ {
|
|
1074
|
+
/** @deprecated use `GetAllPromptsToolCalls$inboundSchema` instead. */
|
|
1075
|
+
const inboundSchema: z.ZodType<GetAllPromptsToolCalls, z.ZodTypeDef, unknown>;
|
|
1076
|
+
/** @deprecated use `GetAllPromptsToolCalls$outboundSchema` instead. */
|
|
1077
|
+
const outboundSchema: z.ZodType<GetAllPromptsToolCalls$Outbound, z.ZodTypeDef, GetAllPromptsToolCalls>;
|
|
1078
|
+
/** @deprecated use `GetAllPromptsToolCalls$Outbound` instead. */
|
|
1079
|
+
type Outbound = GetAllPromptsToolCalls$Outbound;
|
|
2296
1080
|
}
|
|
2297
|
-
export declare function
|
|
2298
|
-
export declare function
|
|
1081
|
+
export declare function getAllPromptsToolCallsToJSON(getAllPromptsToolCalls: GetAllPromptsToolCalls): string;
|
|
1082
|
+
export declare function getAllPromptsToolCallsFromJSON(jsonString: string): SafeParseResult<GetAllPromptsToolCalls, SDKValidationError>;
|
|
2299
1083
|
/** @internal */
|
|
2300
|
-
export declare const
|
|
1084
|
+
export declare const GetAllPromptsMessages$inboundSchema: z.ZodType<GetAllPromptsMessages, z.ZodTypeDef, unknown>;
|
|
2301
1085
|
/** @internal */
|
|
2302
|
-
export type
|
|
1086
|
+
export type GetAllPromptsMessages$Outbound = {
|
|
2303
1087
|
role: string;
|
|
2304
|
-
content: string | Array<
|
|
2305
|
-
tool_calls?: Array<
|
|
1088
|
+
content: string | Array<GetAllPrompts21$Outbound | GetAllPrompts22$Outbound>;
|
|
1089
|
+
tool_calls?: Array<GetAllPromptsToolCalls$Outbound> | undefined;
|
|
2306
1090
|
};
|
|
2307
1091
|
/** @internal */
|
|
2308
|
-
export declare const
|
|
1092
|
+
export declare const GetAllPromptsMessages$outboundSchema: z.ZodType<GetAllPromptsMessages$Outbound, z.ZodTypeDef, GetAllPromptsMessages>;
|
|
2309
1093
|
/**
|
|
2310
1094
|
* @internal
|
|
2311
1095
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2312
1096
|
*/
|
|
2313
|
-
export declare namespace
|
|
2314
|
-
/** @deprecated use `
|
|
2315
|
-
const inboundSchema: z.ZodType<
|
|
2316
|
-
/** @deprecated use `
|
|
2317
|
-
const outboundSchema: z.ZodType<
|
|
2318
|
-
/** @deprecated use `
|
|
2319
|
-
type Outbound =
|
|
1097
|
+
export declare namespace GetAllPromptsMessages$ {
|
|
1098
|
+
/** @deprecated use `GetAllPromptsMessages$inboundSchema` instead. */
|
|
1099
|
+
const inboundSchema: z.ZodType<GetAllPromptsMessages, z.ZodTypeDef, unknown>;
|
|
1100
|
+
/** @deprecated use `GetAllPromptsMessages$outboundSchema` instead. */
|
|
1101
|
+
const outboundSchema: z.ZodType<GetAllPromptsMessages$Outbound, z.ZodTypeDef, GetAllPromptsMessages>;
|
|
1102
|
+
/** @deprecated use `GetAllPromptsMessages$Outbound` instead. */
|
|
1103
|
+
type Outbound = GetAllPromptsMessages$Outbound;
|
|
2320
1104
|
}
|
|
2321
|
-
export declare function
|
|
2322
|
-
export declare function
|
|
1105
|
+
export declare function getAllPromptsMessagesToJSON(getAllPromptsMessages: GetAllPromptsMessages): string;
|
|
1106
|
+
export declare function getAllPromptsMessagesFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMessages, SDKValidationError>;
|
|
2323
1107
|
/** @internal */
|
|
2324
|
-
export declare const
|
|
1108
|
+
export declare const GetAllPromptsPromptConfig$inboundSchema: z.ZodType<GetAllPromptsPromptConfig, z.ZodTypeDef, unknown>;
|
|
2325
1109
|
/** @internal */
|
|
2326
|
-
export type
|
|
1110
|
+
export type GetAllPromptsPromptConfig$Outbound = {
|
|
2327
1111
|
stream?: boolean | undefined;
|
|
2328
1112
|
model?: string | undefined;
|
|
2329
1113
|
model_db_id?: string | undefined;
|
|
2330
1114
|
model_type?: string | undefined;
|
|
2331
|
-
model_parameters?:
|
|
1115
|
+
model_parameters?: GetAllPromptsModelParameters$Outbound | undefined;
|
|
2332
1116
|
provider?: string | undefined;
|
|
2333
1117
|
integration_id?: string | null | undefined;
|
|
2334
1118
|
version?: string | undefined;
|
|
2335
|
-
messages: Array<
|
|
1119
|
+
messages: Array<GetAllPromptsMessages$Outbound>;
|
|
2336
1120
|
};
|
|
2337
1121
|
/** @internal */
|
|
2338
|
-
export declare const
|
|
1122
|
+
export declare const GetAllPromptsPromptConfig$outboundSchema: z.ZodType<GetAllPromptsPromptConfig$Outbound, z.ZodTypeDef, GetAllPromptsPromptConfig>;
|
|
2339
1123
|
/**
|
|
2340
1124
|
* @internal
|
|
2341
1125
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2342
1126
|
*/
|
|
2343
|
-
export declare namespace
|
|
2344
|
-
/** @deprecated use `
|
|
2345
|
-
const inboundSchema: z.ZodType<
|
|
2346
|
-
/** @deprecated use `
|
|
2347
|
-
const outboundSchema: z.ZodType<
|
|
2348
|
-
/** @deprecated use `
|
|
2349
|
-
type Outbound =
|
|
1127
|
+
export declare namespace GetAllPromptsPromptConfig$ {
|
|
1128
|
+
/** @deprecated use `GetAllPromptsPromptConfig$inboundSchema` instead. */
|
|
1129
|
+
const inboundSchema: z.ZodType<GetAllPromptsPromptConfig, z.ZodTypeDef, unknown>;
|
|
1130
|
+
/** @deprecated use `GetAllPromptsPromptConfig$outboundSchema` instead. */
|
|
1131
|
+
const outboundSchema: z.ZodType<GetAllPromptsPromptConfig$Outbound, z.ZodTypeDef, GetAllPromptsPromptConfig>;
|
|
1132
|
+
/** @deprecated use `GetAllPromptsPromptConfig$Outbound` instead. */
|
|
1133
|
+
type Outbound = GetAllPromptsPromptConfig$Outbound;
|
|
2350
1134
|
}
|
|
2351
|
-
export declare function
|
|
2352
|
-
export declare function
|
|
1135
|
+
export declare function getAllPromptsPromptConfigToJSON(getAllPromptsPromptConfig: GetAllPromptsPromptConfig): string;
|
|
1136
|
+
export declare function getAllPromptsPromptConfigFromJSON(jsonString: string): SafeParseResult<GetAllPromptsPromptConfig, SDKValidationError>;
|
|
2353
1137
|
/** @internal */
|
|
2354
|
-
export declare const
|
|
1138
|
+
export declare const GetAllPromptsUseCases$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsUseCases>;
|
|
2355
1139
|
/** @internal */
|
|
2356
|
-
export declare const
|
|
1140
|
+
export declare const GetAllPromptsUseCases$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsUseCases>;
|
|
2357
1141
|
/**
|
|
2358
1142
|
* @internal
|
|
2359
1143
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2360
1144
|
*/
|
|
2361
|
-
export declare namespace
|
|
2362
|
-
/** @deprecated use `
|
|
1145
|
+
export declare namespace GetAllPromptsUseCases$ {
|
|
1146
|
+
/** @deprecated use `GetAllPromptsUseCases$inboundSchema` instead. */
|
|
2363
1147
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2364
1148
|
readonly Agents: "Agents";
|
|
2365
1149
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -2378,7 +1162,7 @@ export declare namespace GetAllPromptsPromptsUseCases$ {
|
|
|
2378
1162
|
readonly Summarization: "Summarization";
|
|
2379
1163
|
readonly Tagging: "Tagging";
|
|
2380
1164
|
}>;
|
|
2381
|
-
/** @deprecated use `
|
|
1165
|
+
/** @deprecated use `GetAllPromptsUseCases$outboundSchema` instead. */
|
|
2382
1166
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2383
1167
|
readonly Agents: "Agents";
|
|
2384
1168
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -2399,15 +1183,15 @@ export declare namespace GetAllPromptsPromptsUseCases$ {
|
|
|
2399
1183
|
}>;
|
|
2400
1184
|
}
|
|
2401
1185
|
/** @internal */
|
|
2402
|
-
export declare const
|
|
1186
|
+
export declare const GetAllPromptsLanguage$inboundSchema: z.ZodNativeEnum<typeof GetAllPromptsLanguage>;
|
|
2403
1187
|
/** @internal */
|
|
2404
|
-
export declare const
|
|
1188
|
+
export declare const GetAllPromptsLanguage$outboundSchema: z.ZodNativeEnum<typeof GetAllPromptsLanguage>;
|
|
2405
1189
|
/**
|
|
2406
1190
|
* @internal
|
|
2407
1191
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2408
1192
|
*/
|
|
2409
|
-
export declare namespace
|
|
2410
|
-
/** @deprecated use `
|
|
1193
|
+
export declare namespace GetAllPromptsLanguage$ {
|
|
1194
|
+
/** @deprecated use `GetAllPromptsLanguage$inboundSchema` instead. */
|
|
2411
1195
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2412
1196
|
readonly Chinese: "Chinese";
|
|
2413
1197
|
readonly Dutch: "Dutch";
|
|
@@ -2417,7 +1201,7 @@ export declare namespace GetAllPromptsPromptsLanguage$ {
|
|
|
2417
1201
|
readonly Russian: "Russian";
|
|
2418
1202
|
readonly Spanish: "Spanish";
|
|
2419
1203
|
}>;
|
|
2420
|
-
/** @deprecated use `
|
|
1204
|
+
/** @deprecated use `GetAllPromptsLanguage$outboundSchema` instead. */
|
|
2421
1205
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2422
1206
|
readonly Chinese: "Chinese";
|
|
2423
1207
|
readonly Dutch: "Dutch";
|
|
@@ -2429,73 +1213,44 @@ export declare namespace GetAllPromptsPromptsLanguage$ {
|
|
|
2429
1213
|
}>;
|
|
2430
1214
|
}
|
|
2431
1215
|
/** @internal */
|
|
2432
|
-
export declare const
|
|
1216
|
+
export declare const GetAllPromptsMetadata$inboundSchema: z.ZodType<GetAllPromptsMetadata, z.ZodTypeDef, unknown>;
|
|
2433
1217
|
/** @internal */
|
|
2434
|
-
export type
|
|
1218
|
+
export type GetAllPromptsMetadata$Outbound = {
|
|
2435
1219
|
use_cases?: Array<string> | undefined;
|
|
2436
1220
|
language?: string | undefined;
|
|
2437
1221
|
};
|
|
2438
1222
|
/** @internal */
|
|
2439
|
-
export declare const
|
|
2440
|
-
/**
|
|
2441
|
-
* @internal
|
|
2442
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2443
|
-
*/
|
|
2444
|
-
export declare namespace GetAllPromptsPromptsMetadata$ {
|
|
2445
|
-
/** @deprecated use `GetAllPromptsPromptsMetadata$inboundSchema` instead. */
|
|
2446
|
-
const inboundSchema: z.ZodType<GetAllPromptsPromptsMetadata, z.ZodTypeDef, unknown>;
|
|
2447
|
-
/** @deprecated use `GetAllPromptsPromptsMetadata$outboundSchema` instead. */
|
|
2448
|
-
const outboundSchema: z.ZodType<GetAllPromptsPromptsMetadata$Outbound, z.ZodTypeDef, GetAllPromptsPromptsMetadata>;
|
|
2449
|
-
/** @deprecated use `GetAllPromptsPromptsMetadata$Outbound` instead. */
|
|
2450
|
-
type Outbound = GetAllPromptsPromptsMetadata$Outbound;
|
|
2451
|
-
}
|
|
2452
|
-
export declare function getAllPromptsPromptsMetadataToJSON(getAllPromptsPromptsMetadata: GetAllPromptsPromptsMetadata): string;
|
|
2453
|
-
export declare function getAllPromptsPromptsMetadataFromJSON(jsonString: string): SafeParseResult<GetAllPromptsPromptsMetadata, SDKValidationError>;
|
|
2454
|
-
/** @internal */
|
|
2455
|
-
export declare const GetAllPromptsVersions$inboundSchema: z.ZodType<GetAllPromptsVersions, z.ZodTypeDef, unknown>;
|
|
2456
|
-
/** @internal */
|
|
2457
|
-
export type GetAllPromptsVersions$Outbound = {
|
|
2458
|
-
_id: string;
|
|
2459
|
-
created_by_id?: string | undefined;
|
|
2460
|
-
updated_by_id?: string | undefined;
|
|
2461
|
-
description?: string | null | undefined;
|
|
2462
|
-
prompt_config: GetAllPromptsPromptsPromptConfig$Outbound;
|
|
2463
|
-
metadata: GetAllPromptsPromptsMetadata$Outbound;
|
|
2464
|
-
timestamp: string;
|
|
2465
|
-
};
|
|
2466
|
-
/** @internal */
|
|
2467
|
-
export declare const GetAllPromptsVersions$outboundSchema: z.ZodType<GetAllPromptsVersions$Outbound, z.ZodTypeDef, GetAllPromptsVersions>;
|
|
1223
|
+
export declare const GetAllPromptsMetadata$outboundSchema: z.ZodType<GetAllPromptsMetadata$Outbound, z.ZodTypeDef, GetAllPromptsMetadata>;
|
|
2468
1224
|
/**
|
|
2469
1225
|
* @internal
|
|
2470
1226
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2471
1227
|
*/
|
|
2472
|
-
export declare namespace
|
|
2473
|
-
/** @deprecated use `
|
|
2474
|
-
const inboundSchema: z.ZodType<
|
|
2475
|
-
/** @deprecated use `
|
|
2476
|
-
const outboundSchema: z.ZodType<
|
|
2477
|
-
/** @deprecated use `
|
|
2478
|
-
type Outbound =
|
|
1228
|
+
export declare namespace GetAllPromptsMetadata$ {
|
|
1229
|
+
/** @deprecated use `GetAllPromptsMetadata$inboundSchema` instead. */
|
|
1230
|
+
const inboundSchema: z.ZodType<GetAllPromptsMetadata, z.ZodTypeDef, unknown>;
|
|
1231
|
+
/** @deprecated use `GetAllPromptsMetadata$outboundSchema` instead. */
|
|
1232
|
+
const outboundSchema: z.ZodType<GetAllPromptsMetadata$Outbound, z.ZodTypeDef, GetAllPromptsMetadata>;
|
|
1233
|
+
/** @deprecated use `GetAllPromptsMetadata$Outbound` instead. */
|
|
1234
|
+
type Outbound = GetAllPromptsMetadata$Outbound;
|
|
2479
1235
|
}
|
|
2480
|
-
export declare function
|
|
2481
|
-
export declare function
|
|
1236
|
+
export declare function getAllPromptsMetadataToJSON(getAllPromptsMetadata: GetAllPromptsMetadata): string;
|
|
1237
|
+
export declare function getAllPromptsMetadataFromJSON(jsonString: string): SafeParseResult<GetAllPromptsMetadata, SDKValidationError>;
|
|
2482
1238
|
/** @internal */
|
|
2483
1239
|
export declare const GetAllPromptsData$inboundSchema: z.ZodType<GetAllPromptsData, z.ZodTypeDef, unknown>;
|
|
2484
1240
|
/** @internal */
|
|
2485
1241
|
export type GetAllPromptsData$Outbound = {
|
|
2486
1242
|
_id: string;
|
|
2487
|
-
|
|
1243
|
+
type: string;
|
|
1244
|
+
owner: string;
|
|
2488
1245
|
domain_id: string;
|
|
1246
|
+
created: string;
|
|
1247
|
+
updated: string;
|
|
2489
1248
|
created_by_id?: string | undefined;
|
|
2490
|
-
display_name: string;
|
|
2491
1249
|
updated_by_id?: string | undefined;
|
|
1250
|
+
display_name: string;
|
|
2492
1251
|
description?: string | null | undefined;
|
|
2493
1252
|
prompt_config: GetAllPromptsPromptConfig$Outbound;
|
|
2494
|
-
metadata
|
|
2495
|
-
created?: string | undefined;
|
|
2496
|
-
updated: string;
|
|
2497
|
-
type: string;
|
|
2498
|
-
versions: Array<GetAllPromptsVersions$Outbound>;
|
|
1253
|
+
metadata?: GetAllPromptsMetadata$Outbound | undefined;
|
|
2499
1254
|
};
|
|
2500
1255
|
/** @internal */
|
|
2501
1256
|
export declare const GetAllPromptsData$outboundSchema: z.ZodType<GetAllPromptsData$Outbound, z.ZodTypeDef, GetAllPromptsData>;
|