@orq-ai/node 3.1.0-rc.53 → 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 CreatePromptGlobals = {
|
|
6
|
-
contactId?: string | undefined;
|
|
7
|
-
};
|
|
8
5
|
/**
|
|
9
6
|
* The type of the model
|
|
10
7
|
*/
|
|
@@ -377,11 +374,10 @@ export type CreatePromptRequestBody = {
|
|
|
377
374
|
*/
|
|
378
375
|
path: string;
|
|
379
376
|
};
|
|
380
|
-
export declare const
|
|
381
|
-
readonly
|
|
377
|
+
export declare const CreatePromptPromptsType: {
|
|
378
|
+
readonly Prompt: "prompt";
|
|
382
379
|
};
|
|
383
|
-
export type
|
|
384
|
-
export type CreatePromptOwner = string | CreatePromptOwner2;
|
|
380
|
+
export type CreatePromptPromptsType = ClosedEnum<typeof CreatePromptPromptsType>;
|
|
385
381
|
/**
|
|
386
382
|
* The type of the model
|
|
387
383
|
*/
|
|
@@ -747,1525 +743,293 @@ export type CreatePromptPromptsMetadata = {
|
|
|
747
743
|
*/
|
|
748
744
|
language?: CreatePromptPromptsLanguage | undefined;
|
|
749
745
|
};
|
|
750
|
-
export declare const CreatePromptPromptsType: {
|
|
751
|
-
readonly Prompt: "prompt";
|
|
752
|
-
};
|
|
753
|
-
export type CreatePromptPromptsType = ClosedEnum<typeof CreatePromptPromptsType>;
|
|
754
746
|
/**
|
|
755
|
-
*
|
|
747
|
+
* Prompt created.
|
|
756
748
|
*/
|
|
757
|
-
export
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
749
|
+
export type CreatePromptResponseBody = {
|
|
750
|
+
id: string;
|
|
751
|
+
type: CreatePromptPromptsType;
|
|
752
|
+
owner: string;
|
|
753
|
+
domainId: string;
|
|
754
|
+
created: string;
|
|
755
|
+
updated: string;
|
|
756
|
+
createdById?: string | undefined;
|
|
757
|
+
updatedById?: string | undefined;
|
|
758
|
+
/**
|
|
759
|
+
* The prompt’s name, meant to be displayable in the UI.
|
|
760
|
+
*/
|
|
761
|
+
displayName: string;
|
|
762
|
+
/**
|
|
763
|
+
* 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
|
|
764
|
+
*/
|
|
765
|
+
description?: string | null | undefined;
|
|
766
|
+
/**
|
|
767
|
+
* A list of messages compatible with the openAI schema
|
|
768
|
+
*/
|
|
769
|
+
promptConfig: CreatePromptPromptsPromptConfig;
|
|
770
|
+
metadata?: CreatePromptPromptsMetadata | undefined;
|
|
767
771
|
};
|
|
772
|
+
/** @internal */
|
|
773
|
+
export declare const CreatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
|
|
774
|
+
/** @internal */
|
|
775
|
+
export declare const CreatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
|
|
768
776
|
/**
|
|
769
|
-
*
|
|
777
|
+
* @internal
|
|
778
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
770
779
|
*/
|
|
771
|
-
export
|
|
780
|
+
export declare namespace CreatePromptModelType$ {
|
|
781
|
+
/** @deprecated use `CreatePromptModelType$inboundSchema` instead. */
|
|
782
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
783
|
+
readonly Chat: "chat";
|
|
784
|
+
readonly Completion: "completion";
|
|
785
|
+
readonly Embedding: "embedding";
|
|
786
|
+
readonly Vision: "vision";
|
|
787
|
+
readonly Image: "image";
|
|
788
|
+
readonly Tts: "tts";
|
|
789
|
+
readonly Stt: "stt";
|
|
790
|
+
readonly Rerank: "rerank";
|
|
791
|
+
readonly Moderations: "moderations";
|
|
792
|
+
}>;
|
|
793
|
+
/** @deprecated use `CreatePromptModelType$outboundSchema` instead. */
|
|
794
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
795
|
+
readonly Chat: "chat";
|
|
796
|
+
readonly Completion: "completion";
|
|
797
|
+
readonly Embedding: "embedding";
|
|
798
|
+
readonly Vision: "vision";
|
|
799
|
+
readonly Image: "image";
|
|
800
|
+
readonly Tts: "tts";
|
|
801
|
+
readonly Stt: "stt";
|
|
802
|
+
readonly Rerank: "rerank";
|
|
803
|
+
readonly Moderations: "moderations";
|
|
804
|
+
}>;
|
|
805
|
+
}
|
|
806
|
+
/** @internal */
|
|
807
|
+
export declare const CreatePromptFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptFormat>;
|
|
808
|
+
/** @internal */
|
|
809
|
+
export declare const CreatePromptFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptFormat>;
|
|
772
810
|
/**
|
|
773
|
-
*
|
|
811
|
+
* @internal
|
|
812
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
774
813
|
*/
|
|
775
|
-
export declare
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
814
|
+
export declare namespace CreatePromptFormat$ {
|
|
815
|
+
/** @deprecated use `CreatePromptFormat$inboundSchema` instead. */
|
|
816
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
817
|
+
readonly Url: "url";
|
|
818
|
+
readonly B64Json: "b64_json";
|
|
819
|
+
readonly Text: "text";
|
|
820
|
+
readonly JsonObject: "json_object";
|
|
821
|
+
}>;
|
|
822
|
+
/** @deprecated use `CreatePromptFormat$outboundSchema` instead. */
|
|
823
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
824
|
+
readonly Url: "url";
|
|
825
|
+
readonly B64Json: "b64_json";
|
|
826
|
+
readonly Text: "text";
|
|
827
|
+
readonly JsonObject: "json_object";
|
|
828
|
+
}>;
|
|
829
|
+
}
|
|
830
|
+
/** @internal */
|
|
831
|
+
export declare const CreatePromptQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
|
|
832
|
+
/** @internal */
|
|
833
|
+
export declare const CreatePromptQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
|
|
781
834
|
/**
|
|
782
|
-
*
|
|
835
|
+
* @internal
|
|
836
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
783
837
|
*/
|
|
784
|
-
export
|
|
838
|
+
export declare namespace CreatePromptQuality$ {
|
|
839
|
+
/** @deprecated use `CreatePromptQuality$inboundSchema` instead. */
|
|
840
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
841
|
+
readonly Standard: "standard";
|
|
842
|
+
readonly Hd: "hd";
|
|
843
|
+
}>;
|
|
844
|
+
/** @deprecated use `CreatePromptQuality$outboundSchema` instead. */
|
|
845
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
846
|
+
readonly Standard: "standard";
|
|
847
|
+
readonly Hd: "hd";
|
|
848
|
+
}>;
|
|
849
|
+
}
|
|
850
|
+
/** @internal */
|
|
851
|
+
export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
|
|
852
|
+
/** @internal */
|
|
853
|
+
export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
|
|
785
854
|
/**
|
|
786
|
-
*
|
|
855
|
+
* @internal
|
|
856
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
787
857
|
*/
|
|
788
|
-
export declare
|
|
789
|
-
|
|
790
|
-
|
|
858
|
+
export declare namespace CreatePromptResponseFormatPromptsType$ {
|
|
859
|
+
/** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
|
|
860
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
861
|
+
readonly JsonObject: "json_object";
|
|
862
|
+
}>;
|
|
863
|
+
/** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
|
|
864
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
865
|
+
readonly JsonObject: "json_object";
|
|
866
|
+
}>;
|
|
867
|
+
}
|
|
868
|
+
/** @internal */
|
|
869
|
+
export declare const CreatePromptResponseFormat2$inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
870
|
+
/** @internal */
|
|
871
|
+
export type CreatePromptResponseFormat2$Outbound = {
|
|
872
|
+
type: string;
|
|
791
873
|
};
|
|
874
|
+
/** @internal */
|
|
875
|
+
export declare const CreatePromptResponseFormat2$outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
|
|
792
876
|
/**
|
|
793
|
-
*
|
|
877
|
+
* @internal
|
|
878
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
794
879
|
*/
|
|
795
|
-
export
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
type
|
|
802
|
-
}
|
|
803
|
-
export declare
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
export
|
|
807
|
-
|
|
880
|
+
export declare namespace CreatePromptResponseFormat2$ {
|
|
881
|
+
/** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
|
|
882
|
+
const inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
883
|
+
/** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
|
|
884
|
+
const outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
|
|
885
|
+
/** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
|
|
886
|
+
type Outbound = CreatePromptResponseFormat2$Outbound;
|
|
887
|
+
}
|
|
888
|
+
export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
|
|
889
|
+
export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
|
|
890
|
+
/** @internal */
|
|
891
|
+
export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
|
|
892
|
+
/** @internal */
|
|
893
|
+
export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
|
|
894
|
+
/**
|
|
895
|
+
* @internal
|
|
896
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
897
|
+
*/
|
|
898
|
+
export declare namespace CreatePromptResponseFormatType$ {
|
|
899
|
+
/** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
|
|
900
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
901
|
+
readonly JsonSchema: "json_schema";
|
|
902
|
+
}>;
|
|
903
|
+
/** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
|
|
904
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
905
|
+
readonly JsonSchema: "json_schema";
|
|
906
|
+
}>;
|
|
907
|
+
}
|
|
908
|
+
/** @internal */
|
|
909
|
+
export declare const CreatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
910
|
+
/** @internal */
|
|
911
|
+
export type CreatePromptResponseFormatJsonSchema$Outbound = {
|
|
808
912
|
name: string;
|
|
809
913
|
strict: boolean;
|
|
810
914
|
schema: {
|
|
811
915
|
[k: string]: any;
|
|
812
916
|
};
|
|
813
917
|
};
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
jsonSchema: CreatePromptResponseFormatPromptsResponseJsonSchema;
|
|
817
|
-
};
|
|
818
|
-
/**
|
|
819
|
-
* An object specifying the format that the model must output.
|
|
820
|
-
*
|
|
821
|
-
* @remarks
|
|
822
|
-
*
|
|
823
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
824
|
-
*
|
|
825
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
826
|
-
*
|
|
827
|
-
* 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.
|
|
828
|
-
*/
|
|
829
|
-
export type CreatePromptPromptsResponseResponseFormat = CreatePromptResponseFormatPromptsResponse2 | CreatePromptResponseFormatPromptsResponse1;
|
|
830
|
-
/**
|
|
831
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
832
|
-
*/
|
|
833
|
-
export declare const CreatePromptPromptsResponsePhotoRealVersion: {
|
|
834
|
-
readonly V1: "v1";
|
|
835
|
-
readonly V2: "v2";
|
|
836
|
-
};
|
|
837
|
-
/**
|
|
838
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
839
|
-
*/
|
|
840
|
-
export type CreatePromptPromptsResponsePhotoRealVersion = ClosedEnum<typeof CreatePromptPromptsResponsePhotoRealVersion>;
|
|
918
|
+
/** @internal */
|
|
919
|
+
export declare const CreatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
|
|
841
920
|
/**
|
|
842
|
-
*
|
|
921
|
+
* @internal
|
|
922
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
843
923
|
*/
|
|
844
|
-
export declare
|
|
845
|
-
|
|
846
|
-
|
|
924
|
+
export declare namespace CreatePromptResponseFormatJsonSchema$ {
|
|
925
|
+
/** @deprecated use `CreatePromptResponseFormatJsonSchema$inboundSchema` instead. */
|
|
926
|
+
const inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
927
|
+
/** @deprecated use `CreatePromptResponseFormatJsonSchema$outboundSchema` instead. */
|
|
928
|
+
const outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
|
|
929
|
+
/** @deprecated use `CreatePromptResponseFormatJsonSchema$Outbound` instead. */
|
|
930
|
+
type Outbound = CreatePromptResponseFormatJsonSchema$Outbound;
|
|
931
|
+
}
|
|
932
|
+
export declare function createPromptResponseFormatJsonSchemaToJSON(createPromptResponseFormatJsonSchema: CreatePromptResponseFormatJsonSchema): string;
|
|
933
|
+
export declare function createPromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatJsonSchema, SDKValidationError>;
|
|
934
|
+
/** @internal */
|
|
935
|
+
export declare const CreatePromptResponseFormat1$inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
936
|
+
/** @internal */
|
|
937
|
+
export type CreatePromptResponseFormat1$Outbound = {
|
|
938
|
+
type: string;
|
|
939
|
+
json_schema: CreatePromptResponseFormatJsonSchema$Outbound;
|
|
847
940
|
};
|
|
941
|
+
/** @internal */
|
|
942
|
+
export declare const CreatePromptResponseFormat1$outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
|
|
848
943
|
/**
|
|
849
|
-
*
|
|
944
|
+
* @internal
|
|
945
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
850
946
|
*/
|
|
851
|
-
export
|
|
947
|
+
export declare namespace CreatePromptResponseFormat1$ {
|
|
948
|
+
/** @deprecated use `CreatePromptResponseFormat1$inboundSchema` instead. */
|
|
949
|
+
const inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
950
|
+
/** @deprecated use `CreatePromptResponseFormat1$outboundSchema` instead. */
|
|
951
|
+
const outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
|
|
952
|
+
/** @deprecated use `CreatePromptResponseFormat1$Outbound` instead. */
|
|
953
|
+
type Outbound = CreatePromptResponseFormat1$Outbound;
|
|
954
|
+
}
|
|
955
|
+
export declare function createPromptResponseFormat1ToJSON(createPromptResponseFormat1: CreatePromptResponseFormat1): string;
|
|
956
|
+
export declare function createPromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat1, SDKValidationError>;
|
|
957
|
+
/** @internal */
|
|
958
|
+
export declare const CreatePromptResponseFormat$inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
959
|
+
/** @internal */
|
|
960
|
+
export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound;
|
|
961
|
+
/** @internal */
|
|
962
|
+
export declare const CreatePromptResponseFormat$outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
|
|
852
963
|
/**
|
|
853
|
-
*
|
|
964
|
+
* @internal
|
|
965
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
854
966
|
*/
|
|
855
|
-
export declare
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
/**
|
|
861
|
-
|
|
862
|
-
*/
|
|
863
|
-
export type CreatePromptPromptsResponseReasoningEffort = ClosedEnum<typeof CreatePromptPromptsResponseReasoningEffort>;
|
|
864
|
-
/**
|
|
865
|
-
* Model Parameters: Not all parameters apply to every model
|
|
866
|
-
*/
|
|
867
|
-
export type CreatePromptPromptsResponseModelParameters = {
|
|
868
|
-
/**
|
|
869
|
-
* Only supported on `chat` and `completion` models.
|
|
870
|
-
*/
|
|
871
|
-
temperature?: number | undefined;
|
|
872
|
-
/**
|
|
873
|
-
* Only supported on `chat` and `completion` models.
|
|
874
|
-
*/
|
|
875
|
-
maxTokens?: number | undefined;
|
|
876
|
-
/**
|
|
877
|
-
* Only supported on `chat` and `completion` models.
|
|
878
|
-
*/
|
|
879
|
-
topK?: number | undefined;
|
|
880
|
-
/**
|
|
881
|
-
* Only supported on `chat` and `completion` models.
|
|
882
|
-
*/
|
|
883
|
-
topP?: number | undefined;
|
|
884
|
-
/**
|
|
885
|
-
* Only supported on `chat` and `completion` models.
|
|
886
|
-
*/
|
|
887
|
-
frequencyPenalty?: number | undefined;
|
|
888
|
-
/**
|
|
889
|
-
* Only supported on `chat` and `completion` models.
|
|
890
|
-
*/
|
|
891
|
-
presencePenalty?: number | undefined;
|
|
892
|
-
/**
|
|
893
|
-
* Only supported on `image` models.
|
|
894
|
-
*/
|
|
895
|
-
numImages?: number | undefined;
|
|
896
|
-
/**
|
|
897
|
-
* Best effort deterministic seed for the model. Currently only OpenAI models support these
|
|
898
|
-
*/
|
|
899
|
-
seed?: number | undefined;
|
|
900
|
-
/**
|
|
901
|
-
* Only supported on `image` models.
|
|
902
|
-
*/
|
|
903
|
-
format?: CreatePromptPromptsResponse200Format | undefined;
|
|
904
|
-
/**
|
|
905
|
-
* Only supported on `image` models.
|
|
906
|
-
*/
|
|
907
|
-
dimensions?: string | undefined;
|
|
908
|
-
/**
|
|
909
|
-
* Only supported on `image` models.
|
|
910
|
-
*/
|
|
911
|
-
quality?: CreatePromptPromptsResponseQuality | undefined;
|
|
912
|
-
/**
|
|
913
|
-
* Only supported on `image` models.
|
|
914
|
-
*/
|
|
915
|
-
style?: string | undefined;
|
|
916
|
-
/**
|
|
917
|
-
* An object specifying the format that the model must output.
|
|
918
|
-
*
|
|
919
|
-
* @remarks
|
|
920
|
-
*
|
|
921
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
922
|
-
*
|
|
923
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
924
|
-
*
|
|
925
|
-
* 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.
|
|
926
|
-
*/
|
|
927
|
-
responseFormat?: CreatePromptResponseFormatPromptsResponse2 | CreatePromptResponseFormatPromptsResponse1 | null | undefined;
|
|
928
|
-
/**
|
|
929
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
930
|
-
*/
|
|
931
|
-
photoRealVersion?: CreatePromptPromptsResponsePhotoRealVersion | undefined;
|
|
932
|
-
/**
|
|
933
|
-
* The format to return the embeddings
|
|
934
|
-
*/
|
|
935
|
-
encodingFormat?: CreatePromptPromptsResponseEncodingFormat | undefined;
|
|
936
|
-
/**
|
|
937
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
938
|
-
*/
|
|
939
|
-
reasoningEffort?: CreatePromptPromptsResponseReasoningEffort | undefined;
|
|
940
|
-
};
|
|
941
|
-
export declare const CreatePromptPromptsResponseProvider: {
|
|
942
|
-
readonly Cohere: "cohere";
|
|
943
|
-
readonly Openai: "openai";
|
|
944
|
-
readonly Anthropic: "anthropic";
|
|
945
|
-
readonly Huggingface: "huggingface";
|
|
946
|
-
readonly Replicate: "replicate";
|
|
947
|
-
readonly Google: "google";
|
|
948
|
-
readonly GoogleAi: "google-ai";
|
|
949
|
-
readonly Azure: "azure";
|
|
950
|
-
readonly Aws: "aws";
|
|
951
|
-
readonly Anyscale: "anyscale";
|
|
952
|
-
readonly Perplexity: "perplexity";
|
|
953
|
-
readonly Groq: "groq";
|
|
954
|
-
readonly Fal: "fal";
|
|
955
|
-
readonly Leonardoai: "leonardoai";
|
|
956
|
-
readonly Nvidia: "nvidia";
|
|
957
|
-
readonly Jina: "jina";
|
|
958
|
-
readonly Togetherai: "togetherai";
|
|
959
|
-
readonly Elevenlabs: "elevenlabs";
|
|
960
|
-
};
|
|
961
|
-
export type CreatePromptPromptsResponseProvider = ClosedEnum<typeof CreatePromptPromptsResponseProvider>;
|
|
962
|
-
/**
|
|
963
|
-
* The role of the prompt message
|
|
964
|
-
*/
|
|
965
|
-
export declare const CreatePromptPromptsResponseRole: {
|
|
966
|
-
readonly System: "system";
|
|
967
|
-
readonly Assistant: "assistant";
|
|
968
|
-
readonly User: "user";
|
|
969
|
-
readonly Exception: "exception";
|
|
970
|
-
readonly Tool: "tool";
|
|
971
|
-
readonly Prompt: "prompt";
|
|
972
|
-
readonly Correction: "correction";
|
|
973
|
-
readonly ExpectedOutput: "expected_output";
|
|
974
|
-
};
|
|
975
|
-
/**
|
|
976
|
-
* The role of the prompt message
|
|
977
|
-
*/
|
|
978
|
-
export type CreatePromptPromptsResponseRole = ClosedEnum<typeof CreatePromptPromptsResponseRole>;
|
|
979
|
-
export declare const CreatePrompt2PromptsResponse200ApplicationJSONResponseBodyType: {
|
|
980
|
-
readonly ImageUrl: "image_url";
|
|
981
|
-
};
|
|
982
|
-
export type CreatePrompt2PromptsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof CreatePrompt2PromptsResponse200ApplicationJSONResponseBodyType>;
|
|
983
|
-
export type CreatePrompt2PromptsResponseImageUrl = {
|
|
984
|
-
/**
|
|
985
|
-
* The orq.ai id of the image
|
|
986
|
-
*/
|
|
987
|
-
id?: string | undefined;
|
|
988
|
-
/**
|
|
989
|
-
* Either a URL of the image or the base64 encoded data URI.
|
|
990
|
-
*/
|
|
991
|
-
url: string;
|
|
992
|
-
/**
|
|
993
|
-
* Specifies the detail level of the image. Currently only supported with OpenAI models
|
|
994
|
-
*/
|
|
995
|
-
detail?: string | undefined;
|
|
996
|
-
};
|
|
997
|
-
/**
|
|
998
|
-
* The image part of the prompt message. Only supported with vision models.
|
|
999
|
-
*/
|
|
1000
|
-
export type CreatePrompt2PromptsResponse2 = {
|
|
1001
|
-
type: CreatePrompt2PromptsResponse200ApplicationJSONResponseBodyType;
|
|
1002
|
-
imageUrl: CreatePrompt2PromptsResponseImageUrl;
|
|
1003
|
-
};
|
|
1004
|
-
export declare const CreatePrompt2PromptsResponse200ApplicationJSONType: {
|
|
1005
|
-
readonly Text: "text";
|
|
1006
|
-
};
|
|
1007
|
-
export type CreatePrompt2PromptsResponse200ApplicationJSONType = ClosedEnum<typeof CreatePrompt2PromptsResponse200ApplicationJSONType>;
|
|
1008
|
-
/**
|
|
1009
|
-
* Text content part of a prompt message
|
|
1010
|
-
*/
|
|
1011
|
-
export type CreatePrompt2PromptsResponse1 = {
|
|
1012
|
-
type: CreatePrompt2PromptsResponse200ApplicationJSONType;
|
|
1013
|
-
text: string;
|
|
1014
|
-
};
|
|
1015
|
-
export type CreatePromptContentPromptsResponse2 = CreatePrompt2PromptsResponse1 | CreatePrompt2PromptsResponse2;
|
|
1016
|
-
/**
|
|
1017
|
-
* 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.
|
|
1018
|
-
*/
|
|
1019
|
-
export type CreatePromptPromptsResponseContent = string | Array<CreatePrompt2PromptsResponse1 | CreatePrompt2PromptsResponse2>;
|
|
1020
|
-
export declare const CreatePromptPromptsResponse200Type: {
|
|
1021
|
-
readonly Function: "function";
|
|
1022
|
-
};
|
|
1023
|
-
export type CreatePromptPromptsResponse200Type = ClosedEnum<typeof CreatePromptPromptsResponse200Type>;
|
|
1024
|
-
export type CreatePromptPromptsResponseFunction = {
|
|
1025
|
-
name: string;
|
|
1026
|
-
/**
|
|
1027
|
-
* JSON string arguments for the functions
|
|
1028
|
-
*/
|
|
1029
|
-
arguments: string;
|
|
1030
|
-
};
|
|
1031
|
-
export type CreatePromptPromptsResponseToolCalls = {
|
|
1032
|
-
id?: string | undefined;
|
|
1033
|
-
index?: number | undefined;
|
|
1034
|
-
type: CreatePromptPromptsResponse200Type;
|
|
1035
|
-
function: CreatePromptPromptsResponseFunction;
|
|
1036
|
-
};
|
|
1037
|
-
export type CreatePromptPromptsResponseMessages = {
|
|
1038
|
-
/**
|
|
1039
|
-
* The role of the prompt message
|
|
1040
|
-
*/
|
|
1041
|
-
role: CreatePromptPromptsResponseRole;
|
|
1042
|
-
/**
|
|
1043
|
-
* 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.
|
|
1044
|
-
*/
|
|
1045
|
-
content: string | Array<CreatePrompt2PromptsResponse1 | CreatePrompt2PromptsResponse2>;
|
|
1046
|
-
toolCalls?: Array<CreatePromptPromptsResponseToolCalls> | undefined;
|
|
1047
|
-
};
|
|
1048
|
-
/**
|
|
1049
|
-
* A list of messages compatible with the openAI schema
|
|
1050
|
-
*/
|
|
1051
|
-
export type CreatePromptPromptsResponsePromptConfig = {
|
|
1052
|
-
stream?: boolean | undefined;
|
|
1053
|
-
model?: string | undefined;
|
|
1054
|
-
/**
|
|
1055
|
-
* The id of the resource
|
|
1056
|
-
*/
|
|
1057
|
-
modelDbId?: string | undefined;
|
|
1058
|
-
/**
|
|
1059
|
-
* The type of the model
|
|
1060
|
-
*/
|
|
1061
|
-
modelType?: CreatePromptPromptsResponseModelType | undefined;
|
|
1062
|
-
/**
|
|
1063
|
-
* Model Parameters: Not all parameters apply to every model
|
|
1064
|
-
*/
|
|
1065
|
-
modelParameters?: CreatePromptPromptsResponseModelParameters | undefined;
|
|
1066
|
-
provider?: CreatePromptPromptsResponseProvider | undefined;
|
|
1067
|
-
/**
|
|
1068
|
-
* The id of the resource
|
|
1069
|
-
*/
|
|
1070
|
-
integrationId?: string | null | undefined;
|
|
1071
|
-
version?: string | undefined;
|
|
1072
|
-
messages: Array<CreatePromptPromptsResponseMessages>;
|
|
1073
|
-
};
|
|
1074
|
-
export declare const CreatePromptPromptsResponseUseCases: {
|
|
1075
|
-
readonly Agents: "Agents";
|
|
1076
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1077
|
-
readonly APIInteraction: "API interaction";
|
|
1078
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1079
|
-
readonly Chatbots: "Chatbots";
|
|
1080
|
-
readonly Classification: "Classification";
|
|
1081
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1082
|
-
readonly CodeWriting: "Code writing";
|
|
1083
|
-
readonly DocumentsQA: "Documents QA";
|
|
1084
|
-
readonly Conversation: "Conversation";
|
|
1085
|
-
readonly Extraction: "Extraction";
|
|
1086
|
-
readonly MultiModal: "Multi-modal";
|
|
1087
|
-
readonly SelfChecking: "Self-checking";
|
|
1088
|
-
readonly Sql: "SQL";
|
|
1089
|
-
readonly Summarization: "Summarization";
|
|
1090
|
-
readonly Tagging: "Tagging";
|
|
1091
|
-
};
|
|
1092
|
-
export type CreatePromptPromptsResponseUseCases = ClosedEnum<typeof CreatePromptPromptsResponseUseCases>;
|
|
1093
|
-
/**
|
|
1094
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
1095
|
-
*/
|
|
1096
|
-
export declare const CreatePromptPromptsResponseLanguage: {
|
|
1097
|
-
readonly Chinese: "Chinese";
|
|
1098
|
-
readonly Dutch: "Dutch";
|
|
1099
|
-
readonly English: "English";
|
|
1100
|
-
readonly French: "French";
|
|
1101
|
-
readonly German: "German";
|
|
1102
|
-
readonly Russian: "Russian";
|
|
1103
|
-
readonly Spanish: "Spanish";
|
|
1104
|
-
};
|
|
1105
|
-
/**
|
|
1106
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
1107
|
-
*/
|
|
1108
|
-
export type CreatePromptPromptsResponseLanguage = ClosedEnum<typeof CreatePromptPromptsResponseLanguage>;
|
|
1109
|
-
export type CreatePromptPromptsResponseMetadata = {
|
|
1110
|
-
/**
|
|
1111
|
-
* 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
|
|
1112
|
-
*/
|
|
1113
|
-
useCases?: Array<CreatePromptPromptsResponseUseCases> | undefined;
|
|
1114
|
-
/**
|
|
1115
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
1116
|
-
*/
|
|
1117
|
-
language?: CreatePromptPromptsResponseLanguage | undefined;
|
|
1118
|
-
};
|
|
1119
|
-
/**
|
|
1120
|
-
* Prompt version model returned from the API
|
|
1121
|
-
*/
|
|
1122
|
-
export type CreatePromptVersions = {
|
|
1123
|
-
id: string;
|
|
1124
|
-
createdById?: string | undefined;
|
|
1125
|
-
updatedById?: string | undefined;
|
|
1126
|
-
/**
|
|
1127
|
-
* 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
|
|
1128
|
-
*/
|
|
1129
|
-
description?: string | null | undefined;
|
|
1130
|
-
/**
|
|
1131
|
-
* A list of messages compatible with the openAI schema
|
|
1132
|
-
*/
|
|
1133
|
-
promptConfig: CreatePromptPromptsResponsePromptConfig;
|
|
1134
|
-
metadata: CreatePromptPromptsResponseMetadata;
|
|
1135
|
-
timestamp: string;
|
|
1136
|
-
};
|
|
1137
|
-
/**
|
|
1138
|
-
* Prompt model returned from the API
|
|
1139
|
-
*/
|
|
1140
|
-
export type CreatePromptResponseBody = {
|
|
1141
|
-
id: string;
|
|
1142
|
-
owner: string | CreatePromptOwner2;
|
|
1143
|
-
domainId: string;
|
|
1144
|
-
createdById?: string | undefined;
|
|
1145
|
-
/**
|
|
1146
|
-
* The prompt’s name, meant to be displayable in the UI.
|
|
1147
|
-
*/
|
|
1148
|
-
displayName: string;
|
|
1149
|
-
updatedById?: string | undefined;
|
|
1150
|
-
/**
|
|
1151
|
-
* 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
|
|
1152
|
-
*/
|
|
1153
|
-
description?: string | null | undefined;
|
|
1154
|
-
/**
|
|
1155
|
-
* A list of messages compatible with the openAI schema
|
|
1156
|
-
*/
|
|
1157
|
-
promptConfig: CreatePromptPromptsPromptConfig;
|
|
1158
|
-
metadata: CreatePromptPromptsMetadata;
|
|
1159
|
-
/**
|
|
1160
|
-
* The date and time the resource was created
|
|
1161
|
-
*/
|
|
1162
|
-
created?: Date | undefined;
|
|
1163
|
-
/**
|
|
1164
|
-
* The date and time the resource was last updated
|
|
1165
|
-
*/
|
|
1166
|
-
updated?: Date | undefined;
|
|
1167
|
-
type: CreatePromptPromptsType;
|
|
1168
|
-
versions: Array<CreatePromptVersions>;
|
|
1169
|
-
};
|
|
1170
|
-
/** @internal */
|
|
1171
|
-
export declare const CreatePromptGlobals$inboundSchema: z.ZodType<CreatePromptGlobals, z.ZodTypeDef, unknown>;
|
|
1172
|
-
/** @internal */
|
|
1173
|
-
export type CreatePromptGlobals$Outbound = {
|
|
1174
|
-
contactId?: string | undefined;
|
|
1175
|
-
};
|
|
1176
|
-
/** @internal */
|
|
1177
|
-
export declare const CreatePromptGlobals$outboundSchema: z.ZodType<CreatePromptGlobals$Outbound, z.ZodTypeDef, CreatePromptGlobals>;
|
|
1178
|
-
/**
|
|
1179
|
-
* @internal
|
|
1180
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1181
|
-
*/
|
|
1182
|
-
export declare namespace CreatePromptGlobals$ {
|
|
1183
|
-
/** @deprecated use `CreatePromptGlobals$inboundSchema` instead. */
|
|
1184
|
-
const inboundSchema: z.ZodType<CreatePromptGlobals, z.ZodTypeDef, unknown>;
|
|
1185
|
-
/** @deprecated use `CreatePromptGlobals$outboundSchema` instead. */
|
|
1186
|
-
const outboundSchema: z.ZodType<CreatePromptGlobals$Outbound, z.ZodTypeDef, CreatePromptGlobals>;
|
|
1187
|
-
/** @deprecated use `CreatePromptGlobals$Outbound` instead. */
|
|
1188
|
-
type Outbound = CreatePromptGlobals$Outbound;
|
|
1189
|
-
}
|
|
1190
|
-
export declare function createPromptGlobalsToJSON(createPromptGlobals: CreatePromptGlobals): string;
|
|
1191
|
-
export declare function createPromptGlobalsFromJSON(jsonString: string): SafeParseResult<CreatePromptGlobals, SDKValidationError>;
|
|
1192
|
-
/** @internal */
|
|
1193
|
-
export declare const CreatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
|
|
1194
|
-
/** @internal */
|
|
1195
|
-
export declare const CreatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
|
|
1196
|
-
/**
|
|
1197
|
-
* @internal
|
|
1198
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1199
|
-
*/
|
|
1200
|
-
export declare namespace CreatePromptModelType$ {
|
|
1201
|
-
/** @deprecated use `CreatePromptModelType$inboundSchema` instead. */
|
|
1202
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1203
|
-
readonly Chat: "chat";
|
|
1204
|
-
readonly Completion: "completion";
|
|
1205
|
-
readonly Embedding: "embedding";
|
|
1206
|
-
readonly Vision: "vision";
|
|
1207
|
-
readonly Image: "image";
|
|
1208
|
-
readonly Tts: "tts";
|
|
1209
|
-
readonly Stt: "stt";
|
|
1210
|
-
readonly Rerank: "rerank";
|
|
1211
|
-
readonly Moderations: "moderations";
|
|
1212
|
-
}>;
|
|
1213
|
-
/** @deprecated use `CreatePromptModelType$outboundSchema` instead. */
|
|
1214
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1215
|
-
readonly Chat: "chat";
|
|
1216
|
-
readonly Completion: "completion";
|
|
1217
|
-
readonly Embedding: "embedding";
|
|
1218
|
-
readonly Vision: "vision";
|
|
1219
|
-
readonly Image: "image";
|
|
1220
|
-
readonly Tts: "tts";
|
|
1221
|
-
readonly Stt: "stt";
|
|
1222
|
-
readonly Rerank: "rerank";
|
|
1223
|
-
readonly Moderations: "moderations";
|
|
1224
|
-
}>;
|
|
1225
|
-
}
|
|
1226
|
-
/** @internal */
|
|
1227
|
-
export declare const CreatePromptFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptFormat>;
|
|
1228
|
-
/** @internal */
|
|
1229
|
-
export declare const CreatePromptFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptFormat>;
|
|
1230
|
-
/**
|
|
1231
|
-
* @internal
|
|
1232
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1233
|
-
*/
|
|
1234
|
-
export declare namespace CreatePromptFormat$ {
|
|
1235
|
-
/** @deprecated use `CreatePromptFormat$inboundSchema` instead. */
|
|
1236
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1237
|
-
readonly Url: "url";
|
|
1238
|
-
readonly B64Json: "b64_json";
|
|
1239
|
-
readonly Text: "text";
|
|
1240
|
-
readonly JsonObject: "json_object";
|
|
1241
|
-
}>;
|
|
1242
|
-
/** @deprecated use `CreatePromptFormat$outboundSchema` instead. */
|
|
1243
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1244
|
-
readonly Url: "url";
|
|
1245
|
-
readonly B64Json: "b64_json";
|
|
1246
|
-
readonly Text: "text";
|
|
1247
|
-
readonly JsonObject: "json_object";
|
|
1248
|
-
}>;
|
|
1249
|
-
}
|
|
1250
|
-
/** @internal */
|
|
1251
|
-
export declare const CreatePromptQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
|
|
1252
|
-
/** @internal */
|
|
1253
|
-
export declare const CreatePromptQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
|
|
1254
|
-
/**
|
|
1255
|
-
* @internal
|
|
1256
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1257
|
-
*/
|
|
1258
|
-
export declare namespace CreatePromptQuality$ {
|
|
1259
|
-
/** @deprecated use `CreatePromptQuality$inboundSchema` instead. */
|
|
1260
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1261
|
-
readonly Standard: "standard";
|
|
1262
|
-
readonly Hd: "hd";
|
|
1263
|
-
}>;
|
|
1264
|
-
/** @deprecated use `CreatePromptQuality$outboundSchema` instead. */
|
|
1265
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1266
|
-
readonly Standard: "standard";
|
|
1267
|
-
readonly Hd: "hd";
|
|
1268
|
-
}>;
|
|
1269
|
-
}
|
|
1270
|
-
/** @internal */
|
|
1271
|
-
export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
|
|
1272
|
-
/** @internal */
|
|
1273
|
-
export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
|
|
1274
|
-
/**
|
|
1275
|
-
* @internal
|
|
1276
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1277
|
-
*/
|
|
1278
|
-
export declare namespace CreatePromptResponseFormatPromptsType$ {
|
|
1279
|
-
/** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
|
|
1280
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1281
|
-
readonly JsonObject: "json_object";
|
|
1282
|
-
}>;
|
|
1283
|
-
/** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
|
|
1284
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1285
|
-
readonly JsonObject: "json_object";
|
|
1286
|
-
}>;
|
|
1287
|
-
}
|
|
1288
|
-
/** @internal */
|
|
1289
|
-
export declare const CreatePromptResponseFormat2$inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
1290
|
-
/** @internal */
|
|
1291
|
-
export type CreatePromptResponseFormat2$Outbound = {
|
|
1292
|
-
type: string;
|
|
1293
|
-
};
|
|
1294
|
-
/** @internal */
|
|
1295
|
-
export declare const CreatePromptResponseFormat2$outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
|
|
1296
|
-
/**
|
|
1297
|
-
* @internal
|
|
1298
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1299
|
-
*/
|
|
1300
|
-
export declare namespace CreatePromptResponseFormat2$ {
|
|
1301
|
-
/** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
|
|
1302
|
-
const inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
1303
|
-
/** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
|
|
1304
|
-
const outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
|
|
1305
|
-
/** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
|
|
1306
|
-
type Outbound = CreatePromptResponseFormat2$Outbound;
|
|
1307
|
-
}
|
|
1308
|
-
export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
|
|
1309
|
-
export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
|
|
1310
|
-
/** @internal */
|
|
1311
|
-
export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
|
|
1312
|
-
/** @internal */
|
|
1313
|
-
export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
|
|
1314
|
-
/**
|
|
1315
|
-
* @internal
|
|
1316
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1317
|
-
*/
|
|
1318
|
-
export declare namespace CreatePromptResponseFormatType$ {
|
|
1319
|
-
/** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
|
|
1320
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1321
|
-
readonly JsonSchema: "json_schema";
|
|
1322
|
-
}>;
|
|
1323
|
-
/** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
|
|
1324
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1325
|
-
readonly JsonSchema: "json_schema";
|
|
1326
|
-
}>;
|
|
1327
|
-
}
|
|
1328
|
-
/** @internal */
|
|
1329
|
-
export declare const CreatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
1330
|
-
/** @internal */
|
|
1331
|
-
export type CreatePromptResponseFormatJsonSchema$Outbound = {
|
|
1332
|
-
name: string;
|
|
1333
|
-
strict: boolean;
|
|
1334
|
-
schema: {
|
|
1335
|
-
[k: string]: any;
|
|
1336
|
-
};
|
|
1337
|
-
};
|
|
1338
|
-
/** @internal */
|
|
1339
|
-
export declare const CreatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
|
|
1340
|
-
/**
|
|
1341
|
-
* @internal
|
|
1342
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1343
|
-
*/
|
|
1344
|
-
export declare namespace CreatePromptResponseFormatJsonSchema$ {
|
|
1345
|
-
/** @deprecated use `CreatePromptResponseFormatJsonSchema$inboundSchema` instead. */
|
|
1346
|
-
const inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
1347
|
-
/** @deprecated use `CreatePromptResponseFormatJsonSchema$outboundSchema` instead. */
|
|
1348
|
-
const outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
|
|
1349
|
-
/** @deprecated use `CreatePromptResponseFormatJsonSchema$Outbound` instead. */
|
|
1350
|
-
type Outbound = CreatePromptResponseFormatJsonSchema$Outbound;
|
|
1351
|
-
}
|
|
1352
|
-
export declare function createPromptResponseFormatJsonSchemaToJSON(createPromptResponseFormatJsonSchema: CreatePromptResponseFormatJsonSchema): string;
|
|
1353
|
-
export declare function createPromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatJsonSchema, SDKValidationError>;
|
|
1354
|
-
/** @internal */
|
|
1355
|
-
export declare const CreatePromptResponseFormat1$inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1356
|
-
/** @internal */
|
|
1357
|
-
export type CreatePromptResponseFormat1$Outbound = {
|
|
1358
|
-
type: string;
|
|
1359
|
-
json_schema: CreatePromptResponseFormatJsonSchema$Outbound;
|
|
1360
|
-
};
|
|
1361
|
-
/** @internal */
|
|
1362
|
-
export declare const CreatePromptResponseFormat1$outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
|
|
1363
|
-
/**
|
|
1364
|
-
* @internal
|
|
1365
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1366
|
-
*/
|
|
1367
|
-
export declare namespace CreatePromptResponseFormat1$ {
|
|
1368
|
-
/** @deprecated use `CreatePromptResponseFormat1$inboundSchema` instead. */
|
|
1369
|
-
const inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1370
|
-
/** @deprecated use `CreatePromptResponseFormat1$outboundSchema` instead. */
|
|
1371
|
-
const outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
|
|
1372
|
-
/** @deprecated use `CreatePromptResponseFormat1$Outbound` instead. */
|
|
1373
|
-
type Outbound = CreatePromptResponseFormat1$Outbound;
|
|
1374
|
-
}
|
|
1375
|
-
export declare function createPromptResponseFormat1ToJSON(createPromptResponseFormat1: CreatePromptResponseFormat1): string;
|
|
1376
|
-
export declare function createPromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat1, SDKValidationError>;
|
|
1377
|
-
/** @internal */
|
|
1378
|
-
export declare const CreatePromptResponseFormat$inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
1379
|
-
/** @internal */
|
|
1380
|
-
export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound;
|
|
1381
|
-
/** @internal */
|
|
1382
|
-
export declare const CreatePromptResponseFormat$outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
|
|
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 CreatePromptResponseFormat$ {
|
|
1388
|
-
/** @deprecated use `CreatePromptResponseFormat$inboundSchema` instead. */
|
|
1389
|
-
const inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
1390
|
-
/** @deprecated use `CreatePromptResponseFormat$outboundSchema` instead. */
|
|
1391
|
-
const outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
|
|
1392
|
-
/** @deprecated use `CreatePromptResponseFormat$Outbound` instead. */
|
|
1393
|
-
type Outbound = CreatePromptResponseFormat$Outbound;
|
|
1394
|
-
}
|
|
1395
|
-
export declare function createPromptResponseFormatToJSON(createPromptResponseFormat: CreatePromptResponseFormat): string;
|
|
1396
|
-
export declare function createPromptResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat, SDKValidationError>;
|
|
1397
|
-
/** @internal */
|
|
1398
|
-
export declare const CreatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
|
|
1399
|
-
/** @internal */
|
|
1400
|
-
export declare const CreatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
|
|
1401
|
-
/**
|
|
1402
|
-
* @internal
|
|
1403
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1404
|
-
*/
|
|
1405
|
-
export declare namespace CreatePromptPhotoRealVersion$ {
|
|
1406
|
-
/** @deprecated use `CreatePromptPhotoRealVersion$inboundSchema` instead. */
|
|
1407
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1408
|
-
readonly V1: "v1";
|
|
1409
|
-
readonly V2: "v2";
|
|
1410
|
-
}>;
|
|
1411
|
-
/** @deprecated use `CreatePromptPhotoRealVersion$outboundSchema` instead. */
|
|
1412
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1413
|
-
readonly V1: "v1";
|
|
1414
|
-
readonly V2: "v2";
|
|
1415
|
-
}>;
|
|
1416
|
-
}
|
|
1417
|
-
/** @internal */
|
|
1418
|
-
export declare const CreatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
|
|
1419
|
-
/** @internal */
|
|
1420
|
-
export declare const CreatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
|
|
1421
|
-
/**
|
|
1422
|
-
* @internal
|
|
1423
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1424
|
-
*/
|
|
1425
|
-
export declare namespace CreatePromptEncodingFormat$ {
|
|
1426
|
-
/** @deprecated use `CreatePromptEncodingFormat$inboundSchema` instead. */
|
|
1427
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1428
|
-
readonly Float: "float";
|
|
1429
|
-
readonly Base64: "base64";
|
|
1430
|
-
}>;
|
|
1431
|
-
/** @deprecated use `CreatePromptEncodingFormat$outboundSchema` instead. */
|
|
1432
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1433
|
-
readonly Float: "float";
|
|
1434
|
-
readonly Base64: "base64";
|
|
1435
|
-
}>;
|
|
1436
|
-
}
|
|
1437
|
-
/** @internal */
|
|
1438
|
-
export declare const CreatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
|
|
1439
|
-
/** @internal */
|
|
1440
|
-
export declare const CreatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
|
|
1441
|
-
/**
|
|
1442
|
-
* @internal
|
|
1443
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1444
|
-
*/
|
|
1445
|
-
export declare namespace CreatePromptReasoningEffort$ {
|
|
1446
|
-
/** @deprecated use `CreatePromptReasoningEffort$inboundSchema` instead. */
|
|
1447
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1448
|
-
readonly Low: "low";
|
|
1449
|
-
readonly Medium: "medium";
|
|
1450
|
-
readonly High: "high";
|
|
1451
|
-
}>;
|
|
1452
|
-
/** @deprecated use `CreatePromptReasoningEffort$outboundSchema` instead. */
|
|
1453
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1454
|
-
readonly Low: "low";
|
|
1455
|
-
readonly Medium: "medium";
|
|
1456
|
-
readonly High: "high";
|
|
1457
|
-
}>;
|
|
1458
|
-
}
|
|
1459
|
-
/** @internal */
|
|
1460
|
-
export declare const CreatePromptModelParameters$inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
1461
|
-
/** @internal */
|
|
1462
|
-
export type CreatePromptModelParameters$Outbound = {
|
|
1463
|
-
temperature?: number | undefined;
|
|
1464
|
-
maxTokens?: number | undefined;
|
|
1465
|
-
topK?: number | undefined;
|
|
1466
|
-
topP?: number | undefined;
|
|
1467
|
-
frequencyPenalty?: number | undefined;
|
|
1468
|
-
presencePenalty?: number | undefined;
|
|
1469
|
-
numImages?: number | undefined;
|
|
1470
|
-
seed?: number | undefined;
|
|
1471
|
-
format?: string | undefined;
|
|
1472
|
-
dimensions?: string | undefined;
|
|
1473
|
-
quality?: string | undefined;
|
|
1474
|
-
style?: string | undefined;
|
|
1475
|
-
responseFormat?: CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound | null | undefined;
|
|
1476
|
-
photoRealVersion?: string | undefined;
|
|
1477
|
-
encoding_format?: string | undefined;
|
|
1478
|
-
reasoningEffort?: string | undefined;
|
|
1479
|
-
};
|
|
1480
|
-
/** @internal */
|
|
1481
|
-
export declare const CreatePromptModelParameters$outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
|
|
1482
|
-
/**
|
|
1483
|
-
* @internal
|
|
1484
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1485
|
-
*/
|
|
1486
|
-
export declare namespace CreatePromptModelParameters$ {
|
|
1487
|
-
/** @deprecated use `CreatePromptModelParameters$inboundSchema` instead. */
|
|
1488
|
-
const inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
1489
|
-
/** @deprecated use `CreatePromptModelParameters$outboundSchema` instead. */
|
|
1490
|
-
const outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
|
|
1491
|
-
/** @deprecated use `CreatePromptModelParameters$Outbound` instead. */
|
|
1492
|
-
type Outbound = CreatePromptModelParameters$Outbound;
|
|
1493
|
-
}
|
|
1494
|
-
export declare function createPromptModelParametersToJSON(createPromptModelParameters: CreatePromptModelParameters): string;
|
|
1495
|
-
export declare function createPromptModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptModelParameters, SDKValidationError>;
|
|
1496
|
-
/** @internal */
|
|
1497
|
-
export declare const CreatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
|
|
1498
|
-
/** @internal */
|
|
1499
|
-
export declare const CreatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
|
|
1500
|
-
/**
|
|
1501
|
-
* @internal
|
|
1502
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1503
|
-
*/
|
|
1504
|
-
export declare namespace CreatePromptProvider$ {
|
|
1505
|
-
/** @deprecated use `CreatePromptProvider$inboundSchema` instead. */
|
|
1506
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1507
|
-
readonly Cohere: "cohere";
|
|
1508
|
-
readonly Openai: "openai";
|
|
1509
|
-
readonly Anthropic: "anthropic";
|
|
1510
|
-
readonly Huggingface: "huggingface";
|
|
1511
|
-
readonly Replicate: "replicate";
|
|
1512
|
-
readonly Google: "google";
|
|
1513
|
-
readonly GoogleAi: "google-ai";
|
|
1514
|
-
readonly Azure: "azure";
|
|
1515
|
-
readonly Aws: "aws";
|
|
1516
|
-
readonly Anyscale: "anyscale";
|
|
1517
|
-
readonly Perplexity: "perplexity";
|
|
1518
|
-
readonly Groq: "groq";
|
|
1519
|
-
readonly Fal: "fal";
|
|
1520
|
-
readonly Leonardoai: "leonardoai";
|
|
1521
|
-
readonly Nvidia: "nvidia";
|
|
1522
|
-
readonly Jina: "jina";
|
|
1523
|
-
readonly Togetherai: "togetherai";
|
|
1524
|
-
readonly Elevenlabs: "elevenlabs";
|
|
1525
|
-
}>;
|
|
1526
|
-
/** @deprecated use `CreatePromptProvider$outboundSchema` instead. */
|
|
1527
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1528
|
-
readonly Cohere: "cohere";
|
|
1529
|
-
readonly Openai: "openai";
|
|
1530
|
-
readonly Anthropic: "anthropic";
|
|
1531
|
-
readonly Huggingface: "huggingface";
|
|
1532
|
-
readonly Replicate: "replicate";
|
|
1533
|
-
readonly Google: "google";
|
|
1534
|
-
readonly GoogleAi: "google-ai";
|
|
1535
|
-
readonly Azure: "azure";
|
|
1536
|
-
readonly Aws: "aws";
|
|
1537
|
-
readonly Anyscale: "anyscale";
|
|
1538
|
-
readonly Perplexity: "perplexity";
|
|
1539
|
-
readonly Groq: "groq";
|
|
1540
|
-
readonly Fal: "fal";
|
|
1541
|
-
readonly Leonardoai: "leonardoai";
|
|
1542
|
-
readonly Nvidia: "nvidia";
|
|
1543
|
-
readonly Jina: "jina";
|
|
1544
|
-
readonly Togetherai: "togetherai";
|
|
1545
|
-
readonly Elevenlabs: "elevenlabs";
|
|
1546
|
-
}>;
|
|
1547
|
-
}
|
|
1548
|
-
/** @internal */
|
|
1549
|
-
export declare const CreatePromptRole$inboundSchema: z.ZodNativeEnum<typeof CreatePromptRole>;
|
|
1550
|
-
/** @internal */
|
|
1551
|
-
export declare const CreatePromptRole$outboundSchema: z.ZodNativeEnum<typeof CreatePromptRole>;
|
|
1552
|
-
/**
|
|
1553
|
-
* @internal
|
|
1554
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1555
|
-
*/
|
|
1556
|
-
export declare namespace CreatePromptRole$ {
|
|
1557
|
-
/** @deprecated use `CreatePromptRole$inboundSchema` instead. */
|
|
1558
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1559
|
-
readonly System: "system";
|
|
1560
|
-
readonly Assistant: "assistant";
|
|
1561
|
-
readonly User: "user";
|
|
1562
|
-
readonly Exception: "exception";
|
|
1563
|
-
readonly Tool: "tool";
|
|
1564
|
-
readonly Prompt: "prompt";
|
|
1565
|
-
readonly Correction: "correction";
|
|
1566
|
-
readonly ExpectedOutput: "expected_output";
|
|
1567
|
-
}>;
|
|
1568
|
-
/** @deprecated use `CreatePromptRole$outboundSchema` instead. */
|
|
1569
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1570
|
-
readonly System: "system";
|
|
1571
|
-
readonly Assistant: "assistant";
|
|
1572
|
-
readonly User: "user";
|
|
1573
|
-
readonly Exception: "exception";
|
|
1574
|
-
readonly Tool: "tool";
|
|
1575
|
-
readonly Prompt: "prompt";
|
|
1576
|
-
readonly Correction: "correction";
|
|
1577
|
-
readonly ExpectedOutput: "expected_output";
|
|
1578
|
-
}>;
|
|
1579
|
-
}
|
|
1580
|
-
/** @internal */
|
|
1581
|
-
export declare const CreatePrompt2PromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsType>;
|
|
1582
|
-
/** @internal */
|
|
1583
|
-
export declare const CreatePrompt2PromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsType>;
|
|
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 CreatePrompt2PromptsType$ {
|
|
1589
|
-
/** @deprecated use `CreatePrompt2PromptsType$inboundSchema` instead. */
|
|
1590
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1591
|
-
readonly ImageUrl: "image_url";
|
|
1592
|
-
}>;
|
|
1593
|
-
/** @deprecated use `CreatePrompt2PromptsType$outboundSchema` instead. */
|
|
1594
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1595
|
-
readonly ImageUrl: "image_url";
|
|
1596
|
-
}>;
|
|
1597
|
-
}
|
|
1598
|
-
/** @internal */
|
|
1599
|
-
export declare const CreatePrompt2ImageUrl$inboundSchema: z.ZodType<CreatePrompt2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1600
|
-
/** @internal */
|
|
1601
|
-
export type CreatePrompt2ImageUrl$Outbound = {
|
|
1602
|
-
url: string;
|
|
1603
|
-
detail?: string | undefined;
|
|
1604
|
-
};
|
|
1605
|
-
/** @internal */
|
|
1606
|
-
export declare const CreatePrompt2ImageUrl$outboundSchema: z.ZodType<CreatePrompt2ImageUrl$Outbound, z.ZodTypeDef, CreatePrompt2ImageUrl>;
|
|
1607
|
-
/**
|
|
1608
|
-
* @internal
|
|
1609
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1610
|
-
*/
|
|
1611
|
-
export declare namespace CreatePrompt2ImageUrl$ {
|
|
1612
|
-
/** @deprecated use `CreatePrompt2ImageUrl$inboundSchema` instead. */
|
|
1613
|
-
const inboundSchema: z.ZodType<CreatePrompt2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1614
|
-
/** @deprecated use `CreatePrompt2ImageUrl$outboundSchema` instead. */
|
|
1615
|
-
const outboundSchema: z.ZodType<CreatePrompt2ImageUrl$Outbound, z.ZodTypeDef, CreatePrompt2ImageUrl>;
|
|
1616
|
-
/** @deprecated use `CreatePrompt2ImageUrl$Outbound` instead. */
|
|
1617
|
-
type Outbound = CreatePrompt2ImageUrl$Outbound;
|
|
1618
|
-
}
|
|
1619
|
-
export declare function createPrompt2ImageUrlToJSON(createPrompt2ImageUrl: CreatePrompt2ImageUrl): string;
|
|
1620
|
-
export declare function createPrompt2ImageUrlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2ImageUrl, SDKValidationError>;
|
|
1621
|
-
/** @internal */
|
|
1622
|
-
export declare const CreatePrompt22$inboundSchema: z.ZodType<CreatePrompt22, z.ZodTypeDef, unknown>;
|
|
1623
|
-
/** @internal */
|
|
1624
|
-
export type CreatePrompt22$Outbound = {
|
|
1625
|
-
type: string;
|
|
1626
|
-
image_url: CreatePrompt2ImageUrl$Outbound;
|
|
1627
|
-
};
|
|
1628
|
-
/** @internal */
|
|
1629
|
-
export declare const CreatePrompt22$outboundSchema: z.ZodType<CreatePrompt22$Outbound, z.ZodTypeDef, CreatePrompt22>;
|
|
1630
|
-
/**
|
|
1631
|
-
* @internal
|
|
1632
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1633
|
-
*/
|
|
1634
|
-
export declare namespace CreatePrompt22$ {
|
|
1635
|
-
/** @deprecated use `CreatePrompt22$inboundSchema` instead. */
|
|
1636
|
-
const inboundSchema: z.ZodType<CreatePrompt22, z.ZodTypeDef, unknown>;
|
|
1637
|
-
/** @deprecated use `CreatePrompt22$outboundSchema` instead. */
|
|
1638
|
-
const outboundSchema: z.ZodType<CreatePrompt22$Outbound, z.ZodTypeDef, CreatePrompt22>;
|
|
1639
|
-
/** @deprecated use `CreatePrompt22$Outbound` instead. */
|
|
1640
|
-
type Outbound = CreatePrompt22$Outbound;
|
|
1641
|
-
}
|
|
1642
|
-
export declare function createPrompt22ToJSON(createPrompt22: CreatePrompt22): string;
|
|
1643
|
-
export declare function createPrompt22FromJSON(jsonString: string): SafeParseResult<CreatePrompt22, SDKValidationError>;
|
|
1644
|
-
/** @internal */
|
|
1645
|
-
export declare const CreatePrompt2Type$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2Type>;
|
|
1646
|
-
/** @internal */
|
|
1647
|
-
export declare const CreatePrompt2Type$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2Type>;
|
|
1648
|
-
/**
|
|
1649
|
-
* @internal
|
|
1650
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1651
|
-
*/
|
|
1652
|
-
export declare namespace CreatePrompt2Type$ {
|
|
1653
|
-
/** @deprecated use `CreatePrompt2Type$inboundSchema` instead. */
|
|
1654
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1655
|
-
readonly Text: "text";
|
|
1656
|
-
}>;
|
|
1657
|
-
/** @deprecated use `CreatePrompt2Type$outboundSchema` instead. */
|
|
1658
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1659
|
-
readonly Text: "text";
|
|
1660
|
-
}>;
|
|
1661
|
-
}
|
|
1662
|
-
/** @internal */
|
|
1663
|
-
export declare const CreatePrompt21$inboundSchema: z.ZodType<CreatePrompt21, z.ZodTypeDef, unknown>;
|
|
1664
|
-
/** @internal */
|
|
1665
|
-
export type CreatePrompt21$Outbound = {
|
|
1666
|
-
type: string;
|
|
1667
|
-
text: string;
|
|
1668
|
-
};
|
|
1669
|
-
/** @internal */
|
|
1670
|
-
export declare const CreatePrompt21$outboundSchema: z.ZodType<CreatePrompt21$Outbound, z.ZodTypeDef, CreatePrompt21>;
|
|
1671
|
-
/**
|
|
1672
|
-
* @internal
|
|
1673
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1674
|
-
*/
|
|
1675
|
-
export declare namespace CreatePrompt21$ {
|
|
1676
|
-
/** @deprecated use `CreatePrompt21$inboundSchema` instead. */
|
|
1677
|
-
const inboundSchema: z.ZodType<CreatePrompt21, z.ZodTypeDef, unknown>;
|
|
1678
|
-
/** @deprecated use `CreatePrompt21$outboundSchema` instead. */
|
|
1679
|
-
const outboundSchema: z.ZodType<CreatePrompt21$Outbound, z.ZodTypeDef, CreatePrompt21>;
|
|
1680
|
-
/** @deprecated use `CreatePrompt21$Outbound` instead. */
|
|
1681
|
-
type Outbound = CreatePrompt21$Outbound;
|
|
1682
|
-
}
|
|
1683
|
-
export declare function createPrompt21ToJSON(createPrompt21: CreatePrompt21): string;
|
|
1684
|
-
export declare function createPrompt21FromJSON(jsonString: string): SafeParseResult<CreatePrompt21, SDKValidationError>;
|
|
1685
|
-
/** @internal */
|
|
1686
|
-
export declare const CreatePromptContent2$inboundSchema: z.ZodType<CreatePromptContent2, z.ZodTypeDef, unknown>;
|
|
1687
|
-
/** @internal */
|
|
1688
|
-
export type CreatePromptContent2$Outbound = CreatePrompt21$Outbound | CreatePrompt22$Outbound;
|
|
1689
|
-
/** @internal */
|
|
1690
|
-
export declare const CreatePromptContent2$outboundSchema: z.ZodType<CreatePromptContent2$Outbound, z.ZodTypeDef, CreatePromptContent2>;
|
|
1691
|
-
/**
|
|
1692
|
-
* @internal
|
|
1693
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1694
|
-
*/
|
|
1695
|
-
export declare namespace CreatePromptContent2$ {
|
|
1696
|
-
/** @deprecated use `CreatePromptContent2$inboundSchema` instead. */
|
|
1697
|
-
const inboundSchema: z.ZodType<CreatePromptContent2, z.ZodTypeDef, unknown>;
|
|
1698
|
-
/** @deprecated use `CreatePromptContent2$outboundSchema` instead. */
|
|
1699
|
-
const outboundSchema: z.ZodType<CreatePromptContent2$Outbound, z.ZodTypeDef, CreatePromptContent2>;
|
|
1700
|
-
/** @deprecated use `CreatePromptContent2$Outbound` instead. */
|
|
1701
|
-
type Outbound = CreatePromptContent2$Outbound;
|
|
1702
|
-
}
|
|
1703
|
-
export declare function createPromptContent2ToJSON(createPromptContent2: CreatePromptContent2): string;
|
|
1704
|
-
export declare function createPromptContent2FromJSON(jsonString: string): SafeParseResult<CreatePromptContent2, SDKValidationError>;
|
|
1705
|
-
/** @internal */
|
|
1706
|
-
export declare const CreatePromptContent$inboundSchema: z.ZodType<CreatePromptContent, z.ZodTypeDef, unknown>;
|
|
1707
|
-
/** @internal */
|
|
1708
|
-
export type CreatePromptContent$Outbound = string | Array<CreatePrompt21$Outbound | CreatePrompt22$Outbound>;
|
|
1709
|
-
/** @internal */
|
|
1710
|
-
export declare const CreatePromptContent$outboundSchema: z.ZodType<CreatePromptContent$Outbound, z.ZodTypeDef, CreatePromptContent>;
|
|
1711
|
-
/**
|
|
1712
|
-
* @internal
|
|
1713
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1714
|
-
*/
|
|
1715
|
-
export declare namespace CreatePromptContent$ {
|
|
1716
|
-
/** @deprecated use `CreatePromptContent$inboundSchema` instead. */
|
|
1717
|
-
const inboundSchema: z.ZodType<CreatePromptContent, z.ZodTypeDef, unknown>;
|
|
1718
|
-
/** @deprecated use `CreatePromptContent$outboundSchema` instead. */
|
|
1719
|
-
const outboundSchema: z.ZodType<CreatePromptContent$Outbound, z.ZodTypeDef, CreatePromptContent>;
|
|
1720
|
-
/** @deprecated use `CreatePromptContent$Outbound` instead. */
|
|
1721
|
-
type Outbound = CreatePromptContent$Outbound;
|
|
1722
|
-
}
|
|
1723
|
-
export declare function createPromptContentToJSON(createPromptContent: CreatePromptContent): string;
|
|
1724
|
-
export declare function createPromptContentFromJSON(jsonString: string): SafeParseResult<CreatePromptContent, SDKValidationError>;
|
|
1725
|
-
/** @internal */
|
|
1726
|
-
export declare const CreatePromptType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptType>;
|
|
1727
|
-
/** @internal */
|
|
1728
|
-
export declare const CreatePromptType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptType>;
|
|
1729
|
-
/**
|
|
1730
|
-
* @internal
|
|
1731
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1732
|
-
*/
|
|
1733
|
-
export declare namespace CreatePromptType$ {
|
|
1734
|
-
/** @deprecated use `CreatePromptType$inboundSchema` instead. */
|
|
1735
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1736
|
-
readonly Function: "function";
|
|
1737
|
-
}>;
|
|
1738
|
-
/** @deprecated use `CreatePromptType$outboundSchema` instead. */
|
|
1739
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1740
|
-
readonly Function: "function";
|
|
1741
|
-
}>;
|
|
1742
|
-
}
|
|
1743
|
-
/** @internal */
|
|
1744
|
-
export declare const CreatePromptFunction$inboundSchema: z.ZodType<CreatePromptFunction, z.ZodTypeDef, unknown>;
|
|
1745
|
-
/** @internal */
|
|
1746
|
-
export type CreatePromptFunction$Outbound = {
|
|
1747
|
-
name: string;
|
|
1748
|
-
arguments: string;
|
|
1749
|
-
};
|
|
1750
|
-
/** @internal */
|
|
1751
|
-
export declare const CreatePromptFunction$outboundSchema: z.ZodType<CreatePromptFunction$Outbound, z.ZodTypeDef, CreatePromptFunction>;
|
|
1752
|
-
/**
|
|
1753
|
-
* @internal
|
|
1754
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1755
|
-
*/
|
|
1756
|
-
export declare namespace CreatePromptFunction$ {
|
|
1757
|
-
/** @deprecated use `CreatePromptFunction$inboundSchema` instead. */
|
|
1758
|
-
const inboundSchema: z.ZodType<CreatePromptFunction, z.ZodTypeDef, unknown>;
|
|
1759
|
-
/** @deprecated use `CreatePromptFunction$outboundSchema` instead. */
|
|
1760
|
-
const outboundSchema: z.ZodType<CreatePromptFunction$Outbound, z.ZodTypeDef, CreatePromptFunction>;
|
|
1761
|
-
/** @deprecated use `CreatePromptFunction$Outbound` instead. */
|
|
1762
|
-
type Outbound = CreatePromptFunction$Outbound;
|
|
1763
|
-
}
|
|
1764
|
-
export declare function createPromptFunctionToJSON(createPromptFunction: CreatePromptFunction): string;
|
|
1765
|
-
export declare function createPromptFunctionFromJSON(jsonString: string): SafeParseResult<CreatePromptFunction, SDKValidationError>;
|
|
1766
|
-
/** @internal */
|
|
1767
|
-
export declare const CreatePromptToolCalls$inboundSchema: z.ZodType<CreatePromptToolCalls, z.ZodTypeDef, unknown>;
|
|
1768
|
-
/** @internal */
|
|
1769
|
-
export type CreatePromptToolCalls$Outbound = {
|
|
1770
|
-
id?: string | undefined;
|
|
1771
|
-
index?: number | undefined;
|
|
1772
|
-
type: string;
|
|
1773
|
-
function: CreatePromptFunction$Outbound;
|
|
1774
|
-
};
|
|
1775
|
-
/** @internal */
|
|
1776
|
-
export declare const CreatePromptToolCalls$outboundSchema: z.ZodType<CreatePromptToolCalls$Outbound, z.ZodTypeDef, CreatePromptToolCalls>;
|
|
1777
|
-
/**
|
|
1778
|
-
* @internal
|
|
1779
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1780
|
-
*/
|
|
1781
|
-
export declare namespace CreatePromptToolCalls$ {
|
|
1782
|
-
/** @deprecated use `CreatePromptToolCalls$inboundSchema` instead. */
|
|
1783
|
-
const inboundSchema: z.ZodType<CreatePromptToolCalls, z.ZodTypeDef, unknown>;
|
|
1784
|
-
/** @deprecated use `CreatePromptToolCalls$outboundSchema` instead. */
|
|
1785
|
-
const outboundSchema: z.ZodType<CreatePromptToolCalls$Outbound, z.ZodTypeDef, CreatePromptToolCalls>;
|
|
1786
|
-
/** @deprecated use `CreatePromptToolCalls$Outbound` instead. */
|
|
1787
|
-
type Outbound = CreatePromptToolCalls$Outbound;
|
|
1788
|
-
}
|
|
1789
|
-
export declare function createPromptToolCallsToJSON(createPromptToolCalls: CreatePromptToolCalls): string;
|
|
1790
|
-
export declare function createPromptToolCallsFromJSON(jsonString: string): SafeParseResult<CreatePromptToolCalls, SDKValidationError>;
|
|
1791
|
-
/** @internal */
|
|
1792
|
-
export declare const CreatePromptMessages$inboundSchema: z.ZodType<CreatePromptMessages, z.ZodTypeDef, unknown>;
|
|
1793
|
-
/** @internal */
|
|
1794
|
-
export type CreatePromptMessages$Outbound = {
|
|
1795
|
-
role: string;
|
|
1796
|
-
content: string | Array<CreatePrompt21$Outbound | CreatePrompt22$Outbound>;
|
|
1797
|
-
tool_calls?: Array<CreatePromptToolCalls$Outbound> | undefined;
|
|
1798
|
-
};
|
|
1799
|
-
/** @internal */
|
|
1800
|
-
export declare const CreatePromptMessages$outboundSchema: z.ZodType<CreatePromptMessages$Outbound, z.ZodTypeDef, CreatePromptMessages>;
|
|
1801
|
-
/**
|
|
1802
|
-
* @internal
|
|
1803
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1804
|
-
*/
|
|
1805
|
-
export declare namespace CreatePromptMessages$ {
|
|
1806
|
-
/** @deprecated use `CreatePromptMessages$inboundSchema` instead. */
|
|
1807
|
-
const inboundSchema: z.ZodType<CreatePromptMessages, z.ZodTypeDef, unknown>;
|
|
1808
|
-
/** @deprecated use `CreatePromptMessages$outboundSchema` instead. */
|
|
1809
|
-
const outboundSchema: z.ZodType<CreatePromptMessages$Outbound, z.ZodTypeDef, CreatePromptMessages>;
|
|
1810
|
-
/** @deprecated use `CreatePromptMessages$Outbound` instead. */
|
|
1811
|
-
type Outbound = CreatePromptMessages$Outbound;
|
|
1812
|
-
}
|
|
1813
|
-
export declare function createPromptMessagesToJSON(createPromptMessages: CreatePromptMessages): string;
|
|
1814
|
-
export declare function createPromptMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptMessages, SDKValidationError>;
|
|
1815
|
-
/** @internal */
|
|
1816
|
-
export declare const CreatePromptPromptConfig$inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
|
|
1817
|
-
/** @internal */
|
|
1818
|
-
export type CreatePromptPromptConfig$Outbound = {
|
|
1819
|
-
stream?: boolean | undefined;
|
|
1820
|
-
model?: string | undefined;
|
|
1821
|
-
model_type?: string | undefined;
|
|
1822
|
-
model_parameters?: CreatePromptModelParameters$Outbound | undefined;
|
|
1823
|
-
provider?: string | undefined;
|
|
1824
|
-
version?: string | undefined;
|
|
1825
|
-
messages: Array<CreatePromptMessages$Outbound>;
|
|
1826
|
-
};
|
|
1827
|
-
/** @internal */
|
|
1828
|
-
export declare const CreatePromptPromptConfig$outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
|
|
1829
|
-
/**
|
|
1830
|
-
* @internal
|
|
1831
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1832
|
-
*/
|
|
1833
|
-
export declare namespace CreatePromptPromptConfig$ {
|
|
1834
|
-
/** @deprecated use `CreatePromptPromptConfig$inboundSchema` instead. */
|
|
1835
|
-
const inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
|
|
1836
|
-
/** @deprecated use `CreatePromptPromptConfig$outboundSchema` instead. */
|
|
1837
|
-
const outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
|
|
1838
|
-
/** @deprecated use `CreatePromptPromptConfig$Outbound` instead. */
|
|
1839
|
-
type Outbound = CreatePromptPromptConfig$Outbound;
|
|
1840
|
-
}
|
|
1841
|
-
export declare function createPromptPromptConfigToJSON(createPromptPromptConfig: CreatePromptPromptConfig): string;
|
|
1842
|
-
export declare function createPromptPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptConfig, SDKValidationError>;
|
|
1843
|
-
/** @internal */
|
|
1844
|
-
export declare const CreatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
|
|
1845
|
-
/** @internal */
|
|
1846
|
-
export declare const CreatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
|
|
1847
|
-
/**
|
|
1848
|
-
* @internal
|
|
1849
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1850
|
-
*/
|
|
1851
|
-
export declare namespace CreatePromptUseCases$ {
|
|
1852
|
-
/** @deprecated use `CreatePromptUseCases$inboundSchema` instead. */
|
|
1853
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1854
|
-
readonly Agents: "Agents";
|
|
1855
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1856
|
-
readonly APIInteraction: "API interaction";
|
|
1857
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1858
|
-
readonly Chatbots: "Chatbots";
|
|
1859
|
-
readonly Classification: "Classification";
|
|
1860
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1861
|
-
readonly CodeWriting: "Code writing";
|
|
1862
|
-
readonly DocumentsQA: "Documents QA";
|
|
1863
|
-
readonly Conversation: "Conversation";
|
|
1864
|
-
readonly Extraction: "Extraction";
|
|
1865
|
-
readonly MultiModal: "Multi-modal";
|
|
1866
|
-
readonly SelfChecking: "Self-checking";
|
|
1867
|
-
readonly Sql: "SQL";
|
|
1868
|
-
readonly Summarization: "Summarization";
|
|
1869
|
-
readonly Tagging: "Tagging";
|
|
1870
|
-
}>;
|
|
1871
|
-
/** @deprecated use `CreatePromptUseCases$outboundSchema` instead. */
|
|
1872
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1873
|
-
readonly Agents: "Agents";
|
|
1874
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1875
|
-
readonly APIInteraction: "API interaction";
|
|
1876
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1877
|
-
readonly Chatbots: "Chatbots";
|
|
1878
|
-
readonly Classification: "Classification";
|
|
1879
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1880
|
-
readonly CodeWriting: "Code writing";
|
|
1881
|
-
readonly DocumentsQA: "Documents QA";
|
|
1882
|
-
readonly Conversation: "Conversation";
|
|
1883
|
-
readonly Extraction: "Extraction";
|
|
1884
|
-
readonly MultiModal: "Multi-modal";
|
|
1885
|
-
readonly SelfChecking: "Self-checking";
|
|
1886
|
-
readonly Sql: "SQL";
|
|
1887
|
-
readonly Summarization: "Summarization";
|
|
1888
|
-
readonly Tagging: "Tagging";
|
|
1889
|
-
}>;
|
|
1890
|
-
}
|
|
1891
|
-
/** @internal */
|
|
1892
|
-
export declare const CreatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
|
|
1893
|
-
/** @internal */
|
|
1894
|
-
export declare const CreatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
|
|
1895
|
-
/**
|
|
1896
|
-
* @internal
|
|
1897
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1898
|
-
*/
|
|
1899
|
-
export declare namespace CreatePromptLanguage$ {
|
|
1900
|
-
/** @deprecated use `CreatePromptLanguage$inboundSchema` instead. */
|
|
1901
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1902
|
-
readonly Chinese: "Chinese";
|
|
1903
|
-
readonly Dutch: "Dutch";
|
|
1904
|
-
readonly English: "English";
|
|
1905
|
-
readonly French: "French";
|
|
1906
|
-
readonly German: "German";
|
|
1907
|
-
readonly Russian: "Russian";
|
|
1908
|
-
readonly Spanish: "Spanish";
|
|
1909
|
-
}>;
|
|
1910
|
-
/** @deprecated use `CreatePromptLanguage$outboundSchema` instead. */
|
|
1911
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1912
|
-
readonly Chinese: "Chinese";
|
|
1913
|
-
readonly Dutch: "Dutch";
|
|
1914
|
-
readonly English: "English";
|
|
1915
|
-
readonly French: "French";
|
|
1916
|
-
readonly German: "German";
|
|
1917
|
-
readonly Russian: "Russian";
|
|
1918
|
-
readonly Spanish: "Spanish";
|
|
1919
|
-
}>;
|
|
1920
|
-
}
|
|
1921
|
-
/** @internal */
|
|
1922
|
-
export declare const CreatePromptMetadata$inboundSchema: z.ZodType<CreatePromptMetadata, z.ZodTypeDef, unknown>;
|
|
1923
|
-
/** @internal */
|
|
1924
|
-
export type CreatePromptMetadata$Outbound = {
|
|
1925
|
-
use_cases?: Array<string> | undefined;
|
|
1926
|
-
language?: string | undefined;
|
|
1927
|
-
};
|
|
1928
|
-
/** @internal */
|
|
1929
|
-
export declare const CreatePromptMetadata$outboundSchema: z.ZodType<CreatePromptMetadata$Outbound, z.ZodTypeDef, CreatePromptMetadata>;
|
|
1930
|
-
/**
|
|
1931
|
-
* @internal
|
|
1932
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1933
|
-
*/
|
|
1934
|
-
export declare namespace CreatePromptMetadata$ {
|
|
1935
|
-
/** @deprecated use `CreatePromptMetadata$inboundSchema` instead. */
|
|
1936
|
-
const inboundSchema: z.ZodType<CreatePromptMetadata, z.ZodTypeDef, unknown>;
|
|
1937
|
-
/** @deprecated use `CreatePromptMetadata$outboundSchema` instead. */
|
|
1938
|
-
const outboundSchema: z.ZodType<CreatePromptMetadata$Outbound, z.ZodTypeDef, CreatePromptMetadata>;
|
|
1939
|
-
/** @deprecated use `CreatePromptMetadata$Outbound` instead. */
|
|
1940
|
-
type Outbound = CreatePromptMetadata$Outbound;
|
|
1941
|
-
}
|
|
1942
|
-
export declare function createPromptMetadataToJSON(createPromptMetadata: CreatePromptMetadata): string;
|
|
1943
|
-
export declare function createPromptMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptMetadata, SDKValidationError>;
|
|
1944
|
-
/** @internal */
|
|
1945
|
-
export declare const CreatePromptRequestBody$inboundSchema: z.ZodType<CreatePromptRequestBody, z.ZodTypeDef, unknown>;
|
|
1946
|
-
/** @internal */
|
|
1947
|
-
export type CreatePromptRequestBody$Outbound = {
|
|
1948
|
-
display_name: string;
|
|
1949
|
-
description?: string | null | undefined;
|
|
1950
|
-
prompt_config: CreatePromptPromptConfig$Outbound;
|
|
1951
|
-
metadata?: CreatePromptMetadata$Outbound | undefined;
|
|
1952
|
-
path: string;
|
|
1953
|
-
};
|
|
1954
|
-
/** @internal */
|
|
1955
|
-
export declare const CreatePromptRequestBody$outboundSchema: z.ZodType<CreatePromptRequestBody$Outbound, z.ZodTypeDef, CreatePromptRequestBody>;
|
|
1956
|
-
/**
|
|
1957
|
-
* @internal
|
|
1958
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1959
|
-
*/
|
|
1960
|
-
export declare namespace CreatePromptRequestBody$ {
|
|
1961
|
-
/** @deprecated use `CreatePromptRequestBody$inboundSchema` instead. */
|
|
1962
|
-
const inboundSchema: z.ZodType<CreatePromptRequestBody, z.ZodTypeDef, unknown>;
|
|
1963
|
-
/** @deprecated use `CreatePromptRequestBody$outboundSchema` instead. */
|
|
1964
|
-
const outboundSchema: z.ZodType<CreatePromptRequestBody$Outbound, z.ZodTypeDef, CreatePromptRequestBody>;
|
|
1965
|
-
/** @deprecated use `CreatePromptRequestBody$Outbound` instead. */
|
|
1966
|
-
type Outbound = CreatePromptRequestBody$Outbound;
|
|
1967
|
-
}
|
|
1968
|
-
export declare function createPromptRequestBodyToJSON(createPromptRequestBody: CreatePromptRequestBody): string;
|
|
1969
|
-
export declare function createPromptRequestBodyFromJSON(jsonString: string): SafeParseResult<CreatePromptRequestBody, SDKValidationError>;
|
|
1970
|
-
/** @internal */
|
|
1971
|
-
export declare const CreatePromptOwner2$inboundSchema: z.ZodNativeEnum<typeof CreatePromptOwner2>;
|
|
1972
|
-
/** @internal */
|
|
1973
|
-
export declare const CreatePromptOwner2$outboundSchema: z.ZodNativeEnum<typeof CreatePromptOwner2>;
|
|
1974
|
-
/**
|
|
1975
|
-
* @internal
|
|
1976
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1977
|
-
*/
|
|
1978
|
-
export declare namespace CreatePromptOwner2$ {
|
|
1979
|
-
/** @deprecated use `CreatePromptOwner2$inboundSchema` instead. */
|
|
1980
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1981
|
-
readonly Vendor: "vendor";
|
|
1982
|
-
}>;
|
|
1983
|
-
/** @deprecated use `CreatePromptOwner2$outboundSchema` instead. */
|
|
1984
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1985
|
-
readonly Vendor: "vendor";
|
|
1986
|
-
}>;
|
|
1987
|
-
}
|
|
1988
|
-
/** @internal */
|
|
1989
|
-
export declare const CreatePromptOwner$inboundSchema: z.ZodType<CreatePromptOwner, z.ZodTypeDef, unknown>;
|
|
1990
|
-
/** @internal */
|
|
1991
|
-
export type CreatePromptOwner$Outbound = string | string;
|
|
1992
|
-
/** @internal */
|
|
1993
|
-
export declare const CreatePromptOwner$outboundSchema: z.ZodType<CreatePromptOwner$Outbound, z.ZodTypeDef, CreatePromptOwner>;
|
|
1994
|
-
/**
|
|
1995
|
-
* @internal
|
|
1996
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1997
|
-
*/
|
|
1998
|
-
export declare namespace CreatePromptOwner$ {
|
|
1999
|
-
/** @deprecated use `CreatePromptOwner$inboundSchema` instead. */
|
|
2000
|
-
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
2001
|
-
/** @deprecated use `CreatePromptOwner$outboundSchema` instead. */
|
|
2002
|
-
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
2003
|
-
/** @deprecated use `CreatePromptOwner$Outbound` instead. */
|
|
2004
|
-
type Outbound = CreatePromptOwner$Outbound;
|
|
2005
|
-
}
|
|
2006
|
-
export declare function createPromptOwnerToJSON(createPromptOwner: CreatePromptOwner): string;
|
|
2007
|
-
export declare function createPromptOwnerFromJSON(jsonString: string): SafeParseResult<CreatePromptOwner, SDKValidationError>;
|
|
2008
|
-
/** @internal */
|
|
2009
|
-
export declare const CreatePromptPromptsModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsModelType>;
|
|
2010
|
-
/** @internal */
|
|
2011
|
-
export declare const CreatePromptPromptsModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsModelType>;
|
|
2012
|
-
/**
|
|
2013
|
-
* @internal
|
|
2014
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2015
|
-
*/
|
|
2016
|
-
export declare namespace CreatePromptPromptsModelType$ {
|
|
2017
|
-
/** @deprecated use `CreatePromptPromptsModelType$inboundSchema` instead. */
|
|
2018
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2019
|
-
readonly Chat: "chat";
|
|
2020
|
-
readonly Completion: "completion";
|
|
2021
|
-
readonly Embedding: "embedding";
|
|
2022
|
-
readonly Vision: "vision";
|
|
2023
|
-
readonly Image: "image";
|
|
2024
|
-
readonly Tts: "tts";
|
|
2025
|
-
readonly Stt: "stt";
|
|
2026
|
-
readonly Rerank: "rerank";
|
|
2027
|
-
readonly Moderations: "moderations";
|
|
2028
|
-
}>;
|
|
2029
|
-
/** @deprecated use `CreatePromptPromptsModelType$outboundSchema` instead. */
|
|
2030
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2031
|
-
readonly Chat: "chat";
|
|
2032
|
-
readonly Completion: "completion";
|
|
2033
|
-
readonly Embedding: "embedding";
|
|
2034
|
-
readonly Vision: "vision";
|
|
2035
|
-
readonly Image: "image";
|
|
2036
|
-
readonly Tts: "tts";
|
|
2037
|
-
readonly Stt: "stt";
|
|
2038
|
-
readonly Rerank: "rerank";
|
|
2039
|
-
readonly Moderations: "moderations";
|
|
2040
|
-
}>;
|
|
2041
|
-
}
|
|
2042
|
-
/** @internal */
|
|
2043
|
-
export declare const CreatePromptPromptsFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsFormat>;
|
|
2044
|
-
/** @internal */
|
|
2045
|
-
export declare const CreatePromptPromptsFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsFormat>;
|
|
2046
|
-
/**
|
|
2047
|
-
* @internal
|
|
2048
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2049
|
-
*/
|
|
2050
|
-
export declare namespace CreatePromptPromptsFormat$ {
|
|
2051
|
-
/** @deprecated use `CreatePromptPromptsFormat$inboundSchema` instead. */
|
|
2052
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2053
|
-
readonly Url: "url";
|
|
2054
|
-
readonly B64Json: "b64_json";
|
|
2055
|
-
readonly Text: "text";
|
|
2056
|
-
readonly JsonObject: "json_object";
|
|
2057
|
-
}>;
|
|
2058
|
-
/** @deprecated use `CreatePromptPromptsFormat$outboundSchema` instead. */
|
|
2059
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2060
|
-
readonly Url: "url";
|
|
2061
|
-
readonly B64Json: "b64_json";
|
|
2062
|
-
readonly Text: "text";
|
|
2063
|
-
readonly JsonObject: "json_object";
|
|
2064
|
-
}>;
|
|
2065
|
-
}
|
|
2066
|
-
/** @internal */
|
|
2067
|
-
export declare const CreatePromptPromptsQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsQuality>;
|
|
2068
|
-
/** @internal */
|
|
2069
|
-
export declare const CreatePromptPromptsQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsQuality>;
|
|
2070
|
-
/**
|
|
2071
|
-
* @internal
|
|
2072
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2073
|
-
*/
|
|
2074
|
-
export declare namespace CreatePromptPromptsQuality$ {
|
|
2075
|
-
/** @deprecated use `CreatePromptPromptsQuality$inboundSchema` instead. */
|
|
2076
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2077
|
-
readonly Standard: "standard";
|
|
2078
|
-
readonly Hd: "hd";
|
|
2079
|
-
}>;
|
|
2080
|
-
/** @deprecated use `CreatePromptPromptsQuality$outboundSchema` instead. */
|
|
2081
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2082
|
-
readonly Standard: "standard";
|
|
2083
|
-
readonly Hd: "hd";
|
|
2084
|
-
}>;
|
|
2085
|
-
}
|
|
2086
|
-
/** @internal */
|
|
2087
|
-
export declare const CreatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
|
|
2088
|
-
/** @internal */
|
|
2089
|
-
export declare const CreatePromptResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
|
|
2090
|
-
/**
|
|
2091
|
-
* @internal
|
|
2092
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2093
|
-
*/
|
|
2094
|
-
export declare namespace CreatePromptResponseFormatPromptsResponse200Type$ {
|
|
2095
|
-
/** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$inboundSchema` instead. */
|
|
2096
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2097
|
-
readonly JsonObject: "json_object";
|
|
2098
|
-
}>;
|
|
2099
|
-
/** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$outboundSchema` instead. */
|
|
2100
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2101
|
-
readonly JsonObject: "json_object";
|
|
2102
|
-
}>;
|
|
2103
|
-
}
|
|
2104
|
-
/** @internal */
|
|
2105
|
-
export declare const CreatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
2106
|
-
/** @internal */
|
|
2107
|
-
export type CreatePromptResponseFormatPrompts2$Outbound = {
|
|
2108
|
-
type: string;
|
|
2109
|
-
};
|
|
2110
|
-
/** @internal */
|
|
2111
|
-
export declare const CreatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
|
|
2112
|
-
/**
|
|
2113
|
-
* @internal
|
|
2114
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2115
|
-
*/
|
|
2116
|
-
export declare namespace CreatePromptResponseFormatPrompts2$ {
|
|
2117
|
-
/** @deprecated use `CreatePromptResponseFormatPrompts2$inboundSchema` instead. */
|
|
2118
|
-
const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
2119
|
-
/** @deprecated use `CreatePromptResponseFormatPrompts2$outboundSchema` instead. */
|
|
2120
|
-
const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
|
|
2121
|
-
/** @deprecated use `CreatePromptResponseFormatPrompts2$Outbound` instead. */
|
|
2122
|
-
type Outbound = CreatePromptResponseFormatPrompts2$Outbound;
|
|
2123
|
-
}
|
|
2124
|
-
export declare function createPromptResponseFormatPrompts2ToJSON(createPromptResponseFormatPrompts2: CreatePromptResponseFormatPrompts2): string;
|
|
2125
|
-
export declare function createPromptResponseFormatPrompts2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts2, SDKValidationError>;
|
|
2126
|
-
/** @internal */
|
|
2127
|
-
export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
|
|
2128
|
-
/** @internal */
|
|
2129
|
-
export declare const CreatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
|
|
2130
|
-
/**
|
|
2131
|
-
* @internal
|
|
2132
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2133
|
-
*/
|
|
2134
|
-
export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
|
|
2135
|
-
/** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
|
|
2136
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2137
|
-
readonly JsonSchema: "json_schema";
|
|
2138
|
-
}>;
|
|
2139
|
-
/** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
|
|
2140
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2141
|
-
readonly JsonSchema: "json_schema";
|
|
2142
|
-
}>;
|
|
2143
|
-
}
|
|
2144
|
-
/** @internal */
|
|
2145
|
-
export declare const CreatePromptResponseFormatPromptsJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
|
|
2146
|
-
/** @internal */
|
|
2147
|
-
export type CreatePromptResponseFormatPromptsJsonSchema$Outbound = {
|
|
2148
|
-
name: string;
|
|
2149
|
-
strict: boolean;
|
|
2150
|
-
schema: {
|
|
2151
|
-
[k: string]: any;
|
|
2152
|
-
};
|
|
2153
|
-
};
|
|
2154
|
-
/** @internal */
|
|
2155
|
-
export declare const CreatePromptResponseFormatPromptsJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsJsonSchema>;
|
|
2156
|
-
/**
|
|
2157
|
-
* @internal
|
|
2158
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2159
|
-
*/
|
|
2160
|
-
export declare namespace CreatePromptResponseFormatPromptsJsonSchema$ {
|
|
2161
|
-
/** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$inboundSchema` instead. */
|
|
2162
|
-
const inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
|
|
2163
|
-
/** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$outboundSchema` instead. */
|
|
2164
|
-
const outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsJsonSchema>;
|
|
2165
|
-
/** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$Outbound` instead. */
|
|
2166
|
-
type Outbound = CreatePromptResponseFormatPromptsJsonSchema$Outbound;
|
|
2167
|
-
}
|
|
2168
|
-
export declare function createPromptResponseFormatPromptsJsonSchemaToJSON(createPromptResponseFormatPromptsJsonSchema: CreatePromptResponseFormatPromptsJsonSchema): string;
|
|
2169
|
-
export declare function createPromptResponseFormatPromptsJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPromptsJsonSchema, SDKValidationError>;
|
|
2170
|
-
/** @internal */
|
|
2171
|
-
export declare const CreatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
|
|
2172
|
-
/** @internal */
|
|
2173
|
-
export type CreatePromptResponseFormatPrompts1$Outbound = {
|
|
2174
|
-
type: string;
|
|
2175
|
-
json_schema: CreatePromptResponseFormatPromptsJsonSchema$Outbound;
|
|
2176
|
-
};
|
|
2177
|
-
/** @internal */
|
|
2178
|
-
export declare const CreatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
|
|
2179
|
-
/**
|
|
2180
|
-
* @internal
|
|
2181
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2182
|
-
*/
|
|
2183
|
-
export declare namespace CreatePromptResponseFormatPrompts1$ {
|
|
2184
|
-
/** @deprecated use `CreatePromptResponseFormatPrompts1$inboundSchema` instead. */
|
|
2185
|
-
const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
|
|
2186
|
-
/** @deprecated use `CreatePromptResponseFormatPrompts1$outboundSchema` instead. */
|
|
2187
|
-
const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
|
|
2188
|
-
/** @deprecated use `CreatePromptResponseFormatPrompts1$Outbound` instead. */
|
|
2189
|
-
type Outbound = CreatePromptResponseFormatPrompts1$Outbound;
|
|
2190
|
-
}
|
|
2191
|
-
export declare function createPromptResponseFormatPrompts1ToJSON(createPromptResponseFormatPrompts1: CreatePromptResponseFormatPrompts1): string;
|
|
2192
|
-
export declare function createPromptResponseFormatPrompts1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts1, SDKValidationError>;
|
|
2193
|
-
/** @internal */
|
|
2194
|
-
export declare const CreatePromptPromptsResponseFormat$inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
2195
|
-
/** @internal */
|
|
2196
|
-
export type CreatePromptPromptsResponseFormat$Outbound = CreatePromptResponseFormatPrompts2$Outbound | CreatePromptResponseFormatPrompts1$Outbound;
|
|
2197
|
-
/** @internal */
|
|
2198
|
-
export declare const CreatePromptPromptsResponseFormat$outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
|
|
2199
|
-
/**
|
|
2200
|
-
* @internal
|
|
2201
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2202
|
-
*/
|
|
2203
|
-
export declare namespace CreatePromptPromptsResponseFormat$ {
|
|
2204
|
-
/** @deprecated use `CreatePromptPromptsResponseFormat$inboundSchema` instead. */
|
|
2205
|
-
const inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
2206
|
-
/** @deprecated use `CreatePromptPromptsResponseFormat$outboundSchema` instead. */
|
|
2207
|
-
const outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
|
|
2208
|
-
/** @deprecated use `CreatePromptPromptsResponseFormat$Outbound` instead. */
|
|
2209
|
-
type Outbound = CreatePromptPromptsResponseFormat$Outbound;
|
|
967
|
+
export declare namespace CreatePromptResponseFormat$ {
|
|
968
|
+
/** @deprecated use `CreatePromptResponseFormat$inboundSchema` instead. */
|
|
969
|
+
const inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
970
|
+
/** @deprecated use `CreatePromptResponseFormat$outboundSchema` instead. */
|
|
971
|
+
const outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
|
|
972
|
+
/** @deprecated use `CreatePromptResponseFormat$Outbound` instead. */
|
|
973
|
+
type Outbound = CreatePromptResponseFormat$Outbound;
|
|
2210
974
|
}
|
|
2211
|
-
export declare function
|
|
2212
|
-
export declare function
|
|
975
|
+
export declare function createPromptResponseFormatToJSON(createPromptResponseFormat: CreatePromptResponseFormat): string;
|
|
976
|
+
export declare function createPromptResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat, SDKValidationError>;
|
|
2213
977
|
/** @internal */
|
|
2214
|
-
export declare const
|
|
978
|
+
export declare const CreatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
|
|
2215
979
|
/** @internal */
|
|
2216
|
-
export declare const
|
|
980
|
+
export declare const CreatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
|
|
2217
981
|
/**
|
|
2218
982
|
* @internal
|
|
2219
983
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2220
984
|
*/
|
|
2221
|
-
export declare namespace
|
|
2222
|
-
/** @deprecated use `
|
|
985
|
+
export declare namespace CreatePromptPhotoRealVersion$ {
|
|
986
|
+
/** @deprecated use `CreatePromptPhotoRealVersion$inboundSchema` instead. */
|
|
2223
987
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2224
988
|
readonly V1: "v1";
|
|
2225
989
|
readonly V2: "v2";
|
|
2226
990
|
}>;
|
|
2227
|
-
/** @deprecated use `
|
|
991
|
+
/** @deprecated use `CreatePromptPhotoRealVersion$outboundSchema` instead. */
|
|
2228
992
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2229
993
|
readonly V1: "v1";
|
|
2230
994
|
readonly V2: "v2";
|
|
2231
995
|
}>;
|
|
2232
996
|
}
|
|
2233
997
|
/** @internal */
|
|
2234
|
-
export declare const
|
|
998
|
+
export declare const CreatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
|
|
2235
999
|
/** @internal */
|
|
2236
|
-
export declare const
|
|
1000
|
+
export declare const CreatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
|
|
2237
1001
|
/**
|
|
2238
1002
|
* @internal
|
|
2239
1003
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2240
1004
|
*/
|
|
2241
|
-
export declare namespace
|
|
2242
|
-
/** @deprecated use `
|
|
1005
|
+
export declare namespace CreatePromptEncodingFormat$ {
|
|
1006
|
+
/** @deprecated use `CreatePromptEncodingFormat$inboundSchema` instead. */
|
|
2243
1007
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2244
1008
|
readonly Float: "float";
|
|
2245
1009
|
readonly Base64: "base64";
|
|
2246
1010
|
}>;
|
|
2247
|
-
/** @deprecated use `
|
|
1011
|
+
/** @deprecated use `CreatePromptEncodingFormat$outboundSchema` instead. */
|
|
2248
1012
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2249
1013
|
readonly Float: "float";
|
|
2250
1014
|
readonly Base64: "base64";
|
|
2251
1015
|
}>;
|
|
2252
1016
|
}
|
|
2253
1017
|
/** @internal */
|
|
2254
|
-
export declare const
|
|
1018
|
+
export declare const CreatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
|
|
2255
1019
|
/** @internal */
|
|
2256
|
-
export declare const
|
|
1020
|
+
export declare const CreatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
|
|
2257
1021
|
/**
|
|
2258
1022
|
* @internal
|
|
2259
1023
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2260
1024
|
*/
|
|
2261
|
-
export declare namespace
|
|
2262
|
-
/** @deprecated use `
|
|
1025
|
+
export declare namespace CreatePromptReasoningEffort$ {
|
|
1026
|
+
/** @deprecated use `CreatePromptReasoningEffort$inboundSchema` instead. */
|
|
2263
1027
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2264
1028
|
readonly Low: "low";
|
|
2265
1029
|
readonly Medium: "medium";
|
|
2266
1030
|
readonly High: "high";
|
|
2267
1031
|
}>;
|
|
2268
|
-
/** @deprecated use `
|
|
1032
|
+
/** @deprecated use `CreatePromptReasoningEffort$outboundSchema` instead. */
|
|
2269
1033
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2270
1034
|
readonly Low: "low";
|
|
2271
1035
|
readonly Medium: "medium";
|
|
@@ -2273,9 +1037,9 @@ export declare namespace CreatePromptPromptsReasoningEffort$ {
|
|
|
2273
1037
|
}>;
|
|
2274
1038
|
}
|
|
2275
1039
|
/** @internal */
|
|
2276
|
-
export declare const
|
|
1040
|
+
export declare const CreatePromptModelParameters$inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
2277
1041
|
/** @internal */
|
|
2278
|
-
export type
|
|
1042
|
+
export type CreatePromptModelParameters$Outbound = {
|
|
2279
1043
|
temperature?: number | undefined;
|
|
2280
1044
|
maxTokens?: number | undefined;
|
|
2281
1045
|
topK?: number | undefined;
|
|
@@ -2288,37 +1052,37 @@ export type CreatePromptPromptsModelParameters$Outbound = {
|
|
|
2288
1052
|
dimensions?: string | undefined;
|
|
2289
1053
|
quality?: string | undefined;
|
|
2290
1054
|
style?: string | undefined;
|
|
2291
|
-
responseFormat?:
|
|
1055
|
+
responseFormat?: CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound | null | undefined;
|
|
2292
1056
|
photoRealVersion?: string | undefined;
|
|
2293
1057
|
encoding_format?: string | undefined;
|
|
2294
1058
|
reasoningEffort?: string | undefined;
|
|
2295
1059
|
};
|
|
2296
1060
|
/** @internal */
|
|
2297
|
-
export declare const
|
|
1061
|
+
export declare const CreatePromptModelParameters$outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
|
|
2298
1062
|
/**
|
|
2299
1063
|
* @internal
|
|
2300
1064
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2301
1065
|
*/
|
|
2302
|
-
export declare namespace
|
|
2303
|
-
/** @deprecated use `
|
|
2304
|
-
const inboundSchema: z.ZodType<
|
|
2305
|
-
/** @deprecated use `
|
|
2306
|
-
const outboundSchema: z.ZodType<
|
|
2307
|
-
/** @deprecated use `
|
|
2308
|
-
type Outbound =
|
|
1066
|
+
export declare namespace CreatePromptModelParameters$ {
|
|
1067
|
+
/** @deprecated use `CreatePromptModelParameters$inboundSchema` instead. */
|
|
1068
|
+
const inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
1069
|
+
/** @deprecated use `CreatePromptModelParameters$outboundSchema` instead. */
|
|
1070
|
+
const outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
|
|
1071
|
+
/** @deprecated use `CreatePromptModelParameters$Outbound` instead. */
|
|
1072
|
+
type Outbound = CreatePromptModelParameters$Outbound;
|
|
2309
1073
|
}
|
|
2310
|
-
export declare function
|
|
2311
|
-
export declare function
|
|
1074
|
+
export declare function createPromptModelParametersToJSON(createPromptModelParameters: CreatePromptModelParameters): string;
|
|
1075
|
+
export declare function createPromptModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptModelParameters, SDKValidationError>;
|
|
2312
1076
|
/** @internal */
|
|
2313
|
-
export declare const
|
|
1077
|
+
export declare const CreatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
|
|
2314
1078
|
/** @internal */
|
|
2315
|
-
export declare const
|
|
1079
|
+
export declare const CreatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
|
|
2316
1080
|
/**
|
|
2317
1081
|
* @internal
|
|
2318
1082
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2319
1083
|
*/
|
|
2320
|
-
export declare namespace
|
|
2321
|
-
/** @deprecated use `
|
|
1084
|
+
export declare namespace CreatePromptProvider$ {
|
|
1085
|
+
/** @deprecated use `CreatePromptProvider$inboundSchema` instead. */
|
|
2322
1086
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2323
1087
|
readonly Cohere: "cohere";
|
|
2324
1088
|
readonly Openai: "openai";
|
|
@@ -2339,7 +1103,7 @@ export declare namespace CreatePromptPromptsProvider$ {
|
|
|
2339
1103
|
readonly Togetherai: "togetherai";
|
|
2340
1104
|
readonly Elevenlabs: "elevenlabs";
|
|
2341
1105
|
}>;
|
|
2342
|
-
/** @deprecated use `
|
|
1106
|
+
/** @deprecated use `CreatePromptProvider$outboundSchema` instead. */
|
|
2343
1107
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2344
1108
|
readonly Cohere: "cohere";
|
|
2345
1109
|
readonly Openai: "openai";
|
|
@@ -2362,15 +1126,15 @@ export declare namespace CreatePromptPromptsProvider$ {
|
|
|
2362
1126
|
}>;
|
|
2363
1127
|
}
|
|
2364
1128
|
/** @internal */
|
|
2365
|
-
export declare const
|
|
1129
|
+
export declare const CreatePromptRole$inboundSchema: z.ZodNativeEnum<typeof CreatePromptRole>;
|
|
2366
1130
|
/** @internal */
|
|
2367
|
-
export declare const
|
|
1131
|
+
export declare const CreatePromptRole$outboundSchema: z.ZodNativeEnum<typeof CreatePromptRole>;
|
|
2368
1132
|
/**
|
|
2369
1133
|
* @internal
|
|
2370
1134
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2371
1135
|
*/
|
|
2372
|
-
export declare namespace
|
|
2373
|
-
/** @deprecated use `
|
|
1136
|
+
export declare namespace CreatePromptRole$ {
|
|
1137
|
+
/** @deprecated use `CreatePromptRole$inboundSchema` instead. */
|
|
2374
1138
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2375
1139
|
readonly System: "system";
|
|
2376
1140
|
readonly Assistant: "assistant";
|
|
@@ -2381,7 +1145,7 @@ export declare namespace CreatePromptPromptsRole$ {
|
|
|
2381
1145
|
readonly Correction: "correction";
|
|
2382
1146
|
readonly ExpectedOutput: "expected_output";
|
|
2383
1147
|
}>;
|
|
2384
|
-
/** @deprecated use `
|
|
1148
|
+
/** @deprecated use `CreatePromptRole$outboundSchema` instead. */
|
|
2385
1149
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2386
1150
|
readonly System: "system";
|
|
2387
1151
|
readonly Assistant: "assistant";
|
|
@@ -2394,281 +1158,278 @@ export declare namespace CreatePromptPromptsRole$ {
|
|
|
2394
1158
|
}>;
|
|
2395
1159
|
}
|
|
2396
1160
|
/** @internal */
|
|
2397
|
-
export declare const
|
|
1161
|
+
export declare const CreatePrompt2PromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsType>;
|
|
2398
1162
|
/** @internal */
|
|
2399
|
-
export declare const
|
|
1163
|
+
export declare const CreatePrompt2PromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsType>;
|
|
2400
1164
|
/**
|
|
2401
1165
|
* @internal
|
|
2402
1166
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2403
1167
|
*/
|
|
2404
|
-
export declare namespace
|
|
2405
|
-
/** @deprecated use `
|
|
1168
|
+
export declare namespace CreatePrompt2PromptsType$ {
|
|
1169
|
+
/** @deprecated use `CreatePrompt2PromptsType$inboundSchema` instead. */
|
|
2406
1170
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2407
1171
|
readonly ImageUrl: "image_url";
|
|
2408
1172
|
}>;
|
|
2409
|
-
/** @deprecated use `
|
|
1173
|
+
/** @deprecated use `CreatePrompt2PromptsType$outboundSchema` instead. */
|
|
2410
1174
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2411
1175
|
readonly ImageUrl: "image_url";
|
|
2412
1176
|
}>;
|
|
2413
1177
|
}
|
|
2414
1178
|
/** @internal */
|
|
2415
|
-
export declare const
|
|
1179
|
+
export declare const CreatePrompt2ImageUrl$inboundSchema: z.ZodType<CreatePrompt2ImageUrl, z.ZodTypeDef, unknown>;
|
|
2416
1180
|
/** @internal */
|
|
2417
|
-
export type
|
|
2418
|
-
id?: string | undefined;
|
|
1181
|
+
export type CreatePrompt2ImageUrl$Outbound = {
|
|
2419
1182
|
url: string;
|
|
2420
1183
|
detail?: string | undefined;
|
|
2421
1184
|
};
|
|
2422
1185
|
/** @internal */
|
|
2423
|
-
export declare const
|
|
1186
|
+
export declare const CreatePrompt2ImageUrl$outboundSchema: z.ZodType<CreatePrompt2ImageUrl$Outbound, z.ZodTypeDef, CreatePrompt2ImageUrl>;
|
|
2424
1187
|
/**
|
|
2425
1188
|
* @internal
|
|
2426
1189
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2427
1190
|
*/
|
|
2428
|
-
export declare namespace
|
|
2429
|
-
/** @deprecated use `
|
|
2430
|
-
const inboundSchema: z.ZodType<
|
|
2431
|
-
/** @deprecated use `
|
|
2432
|
-
const outboundSchema: z.ZodType<
|
|
2433
|
-
/** @deprecated use `
|
|
2434
|
-
type Outbound =
|
|
1191
|
+
export declare namespace CreatePrompt2ImageUrl$ {
|
|
1192
|
+
/** @deprecated use `CreatePrompt2ImageUrl$inboundSchema` instead. */
|
|
1193
|
+
const inboundSchema: z.ZodType<CreatePrompt2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1194
|
+
/** @deprecated use `CreatePrompt2ImageUrl$outboundSchema` instead. */
|
|
1195
|
+
const outboundSchema: z.ZodType<CreatePrompt2ImageUrl$Outbound, z.ZodTypeDef, CreatePrompt2ImageUrl>;
|
|
1196
|
+
/** @deprecated use `CreatePrompt2ImageUrl$Outbound` instead. */
|
|
1197
|
+
type Outbound = CreatePrompt2ImageUrl$Outbound;
|
|
2435
1198
|
}
|
|
2436
|
-
export declare function
|
|
2437
|
-
export declare function
|
|
1199
|
+
export declare function createPrompt2ImageUrlToJSON(createPrompt2ImageUrl: CreatePrompt2ImageUrl): string;
|
|
1200
|
+
export declare function createPrompt2ImageUrlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2ImageUrl, SDKValidationError>;
|
|
2438
1201
|
/** @internal */
|
|
2439
|
-
export declare const
|
|
1202
|
+
export declare const CreatePrompt22$inboundSchema: z.ZodType<CreatePrompt22, z.ZodTypeDef, unknown>;
|
|
2440
1203
|
/** @internal */
|
|
2441
|
-
export type
|
|
1204
|
+
export type CreatePrompt22$Outbound = {
|
|
2442
1205
|
type: string;
|
|
2443
|
-
image_url:
|
|
1206
|
+
image_url: CreatePrompt2ImageUrl$Outbound;
|
|
2444
1207
|
};
|
|
2445
1208
|
/** @internal */
|
|
2446
|
-
export declare const
|
|
1209
|
+
export declare const CreatePrompt22$outboundSchema: z.ZodType<CreatePrompt22$Outbound, z.ZodTypeDef, CreatePrompt22>;
|
|
2447
1210
|
/**
|
|
2448
1211
|
* @internal
|
|
2449
1212
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2450
1213
|
*/
|
|
2451
|
-
export declare namespace
|
|
2452
|
-
/** @deprecated use `
|
|
2453
|
-
const inboundSchema: z.ZodType<
|
|
2454
|
-
/** @deprecated use `
|
|
2455
|
-
const outboundSchema: z.ZodType<
|
|
2456
|
-
/** @deprecated use `
|
|
2457
|
-
type Outbound =
|
|
1214
|
+
export declare namespace CreatePrompt22$ {
|
|
1215
|
+
/** @deprecated use `CreatePrompt22$inboundSchema` instead. */
|
|
1216
|
+
const inboundSchema: z.ZodType<CreatePrompt22, z.ZodTypeDef, unknown>;
|
|
1217
|
+
/** @deprecated use `CreatePrompt22$outboundSchema` instead. */
|
|
1218
|
+
const outboundSchema: z.ZodType<CreatePrompt22$Outbound, z.ZodTypeDef, CreatePrompt22>;
|
|
1219
|
+
/** @deprecated use `CreatePrompt22$Outbound` instead. */
|
|
1220
|
+
type Outbound = CreatePrompt22$Outbound;
|
|
2458
1221
|
}
|
|
2459
|
-
export declare function
|
|
2460
|
-
export declare function
|
|
1222
|
+
export declare function createPrompt22ToJSON(createPrompt22: CreatePrompt22): string;
|
|
1223
|
+
export declare function createPrompt22FromJSON(jsonString: string): SafeParseResult<CreatePrompt22, SDKValidationError>;
|
|
2461
1224
|
/** @internal */
|
|
2462
|
-
export declare const
|
|
1225
|
+
export declare const CreatePrompt2Type$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2Type>;
|
|
2463
1226
|
/** @internal */
|
|
2464
|
-
export declare const
|
|
1227
|
+
export declare const CreatePrompt2Type$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2Type>;
|
|
2465
1228
|
/**
|
|
2466
1229
|
* @internal
|
|
2467
1230
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2468
1231
|
*/
|
|
2469
|
-
export declare namespace
|
|
2470
|
-
/** @deprecated use `
|
|
1232
|
+
export declare namespace CreatePrompt2Type$ {
|
|
1233
|
+
/** @deprecated use `CreatePrompt2Type$inboundSchema` instead. */
|
|
2471
1234
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2472
1235
|
readonly Text: "text";
|
|
2473
1236
|
}>;
|
|
2474
|
-
/** @deprecated use `
|
|
1237
|
+
/** @deprecated use `CreatePrompt2Type$outboundSchema` instead. */
|
|
2475
1238
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2476
1239
|
readonly Text: "text";
|
|
2477
1240
|
}>;
|
|
2478
1241
|
}
|
|
2479
1242
|
/** @internal */
|
|
2480
|
-
export declare const
|
|
1243
|
+
export declare const CreatePrompt21$inboundSchema: z.ZodType<CreatePrompt21, z.ZodTypeDef, unknown>;
|
|
2481
1244
|
/** @internal */
|
|
2482
|
-
export type
|
|
1245
|
+
export type CreatePrompt21$Outbound = {
|
|
2483
1246
|
type: string;
|
|
2484
1247
|
text: string;
|
|
2485
1248
|
};
|
|
2486
1249
|
/** @internal */
|
|
2487
|
-
export declare const
|
|
1250
|
+
export declare const CreatePrompt21$outboundSchema: z.ZodType<CreatePrompt21$Outbound, z.ZodTypeDef, CreatePrompt21>;
|
|
2488
1251
|
/**
|
|
2489
1252
|
* @internal
|
|
2490
1253
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2491
1254
|
*/
|
|
2492
|
-
export declare namespace
|
|
2493
|
-
/** @deprecated use `
|
|
2494
|
-
const inboundSchema: z.ZodType<
|
|
2495
|
-
/** @deprecated use `
|
|
2496
|
-
const outboundSchema: z.ZodType<
|
|
2497
|
-
/** @deprecated use `
|
|
2498
|
-
type Outbound =
|
|
1255
|
+
export declare namespace CreatePrompt21$ {
|
|
1256
|
+
/** @deprecated use `CreatePrompt21$inboundSchema` instead. */
|
|
1257
|
+
const inboundSchema: z.ZodType<CreatePrompt21, z.ZodTypeDef, unknown>;
|
|
1258
|
+
/** @deprecated use `CreatePrompt21$outboundSchema` instead. */
|
|
1259
|
+
const outboundSchema: z.ZodType<CreatePrompt21$Outbound, z.ZodTypeDef, CreatePrompt21>;
|
|
1260
|
+
/** @deprecated use `CreatePrompt21$Outbound` instead. */
|
|
1261
|
+
type Outbound = CreatePrompt21$Outbound;
|
|
2499
1262
|
}
|
|
2500
|
-
export declare function
|
|
2501
|
-
export declare function
|
|
1263
|
+
export declare function createPrompt21ToJSON(createPrompt21: CreatePrompt21): string;
|
|
1264
|
+
export declare function createPrompt21FromJSON(jsonString: string): SafeParseResult<CreatePrompt21, SDKValidationError>;
|
|
2502
1265
|
/** @internal */
|
|
2503
|
-
export declare const
|
|
1266
|
+
export declare const CreatePromptContent2$inboundSchema: z.ZodType<CreatePromptContent2, z.ZodTypeDef, unknown>;
|
|
2504
1267
|
/** @internal */
|
|
2505
|
-
export type
|
|
1268
|
+
export type CreatePromptContent2$Outbound = CreatePrompt21$Outbound | CreatePrompt22$Outbound;
|
|
2506
1269
|
/** @internal */
|
|
2507
|
-
export declare const
|
|
1270
|
+
export declare const CreatePromptContent2$outboundSchema: z.ZodType<CreatePromptContent2$Outbound, z.ZodTypeDef, CreatePromptContent2>;
|
|
2508
1271
|
/**
|
|
2509
1272
|
* @internal
|
|
2510
1273
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2511
1274
|
*/
|
|
2512
|
-
export declare namespace
|
|
2513
|
-
/** @deprecated use `
|
|
2514
|
-
const inboundSchema: z.ZodType<
|
|
2515
|
-
/** @deprecated use `
|
|
2516
|
-
const outboundSchema: z.ZodType<
|
|
2517
|
-
/** @deprecated use `
|
|
2518
|
-
type Outbound =
|
|
1275
|
+
export declare namespace CreatePromptContent2$ {
|
|
1276
|
+
/** @deprecated use `CreatePromptContent2$inboundSchema` instead. */
|
|
1277
|
+
const inboundSchema: z.ZodType<CreatePromptContent2, z.ZodTypeDef, unknown>;
|
|
1278
|
+
/** @deprecated use `CreatePromptContent2$outboundSchema` instead. */
|
|
1279
|
+
const outboundSchema: z.ZodType<CreatePromptContent2$Outbound, z.ZodTypeDef, CreatePromptContent2>;
|
|
1280
|
+
/** @deprecated use `CreatePromptContent2$Outbound` instead. */
|
|
1281
|
+
type Outbound = CreatePromptContent2$Outbound;
|
|
2519
1282
|
}
|
|
2520
|
-
export declare function
|
|
2521
|
-
export declare function
|
|
1283
|
+
export declare function createPromptContent2ToJSON(createPromptContent2: CreatePromptContent2): string;
|
|
1284
|
+
export declare function createPromptContent2FromJSON(jsonString: string): SafeParseResult<CreatePromptContent2, SDKValidationError>;
|
|
2522
1285
|
/** @internal */
|
|
2523
|
-
export declare const
|
|
1286
|
+
export declare const CreatePromptContent$inboundSchema: z.ZodType<CreatePromptContent, z.ZodTypeDef, unknown>;
|
|
2524
1287
|
/** @internal */
|
|
2525
|
-
export type
|
|
1288
|
+
export type CreatePromptContent$Outbound = string | Array<CreatePrompt21$Outbound | CreatePrompt22$Outbound>;
|
|
2526
1289
|
/** @internal */
|
|
2527
|
-
export declare const
|
|
1290
|
+
export declare const CreatePromptContent$outboundSchema: z.ZodType<CreatePromptContent$Outbound, z.ZodTypeDef, CreatePromptContent>;
|
|
2528
1291
|
/**
|
|
2529
1292
|
* @internal
|
|
2530
1293
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2531
1294
|
*/
|
|
2532
|
-
export declare namespace
|
|
2533
|
-
/** @deprecated use `
|
|
2534
|
-
const inboundSchema: z.ZodType<
|
|
2535
|
-
/** @deprecated use `
|
|
2536
|
-
const outboundSchema: z.ZodType<
|
|
2537
|
-
/** @deprecated use `
|
|
2538
|
-
type Outbound =
|
|
1295
|
+
export declare namespace CreatePromptContent$ {
|
|
1296
|
+
/** @deprecated use `CreatePromptContent$inboundSchema` instead. */
|
|
1297
|
+
const inboundSchema: z.ZodType<CreatePromptContent, z.ZodTypeDef, unknown>;
|
|
1298
|
+
/** @deprecated use `CreatePromptContent$outboundSchema` instead. */
|
|
1299
|
+
const outboundSchema: z.ZodType<CreatePromptContent$Outbound, z.ZodTypeDef, CreatePromptContent>;
|
|
1300
|
+
/** @deprecated use `CreatePromptContent$Outbound` instead. */
|
|
1301
|
+
type Outbound = CreatePromptContent$Outbound;
|
|
2539
1302
|
}
|
|
2540
|
-
export declare function
|
|
2541
|
-
export declare function
|
|
1303
|
+
export declare function createPromptContentToJSON(createPromptContent: CreatePromptContent): string;
|
|
1304
|
+
export declare function createPromptContentFromJSON(jsonString: string): SafeParseResult<CreatePromptContent, SDKValidationError>;
|
|
2542
1305
|
/** @internal */
|
|
2543
|
-
export declare const
|
|
1306
|
+
export declare const CreatePromptType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptType>;
|
|
2544
1307
|
/** @internal */
|
|
2545
|
-
export declare const
|
|
1308
|
+
export declare const CreatePromptType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptType>;
|
|
2546
1309
|
/**
|
|
2547
1310
|
* @internal
|
|
2548
1311
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2549
1312
|
*/
|
|
2550
|
-
export declare namespace
|
|
2551
|
-
/** @deprecated use `
|
|
1313
|
+
export declare namespace CreatePromptType$ {
|
|
1314
|
+
/** @deprecated use `CreatePromptType$inboundSchema` instead. */
|
|
2552
1315
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2553
1316
|
readonly Function: "function";
|
|
2554
1317
|
}>;
|
|
2555
|
-
/** @deprecated use `
|
|
1318
|
+
/** @deprecated use `CreatePromptType$outboundSchema` instead. */
|
|
2556
1319
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2557
1320
|
readonly Function: "function";
|
|
2558
1321
|
}>;
|
|
2559
1322
|
}
|
|
2560
1323
|
/** @internal */
|
|
2561
|
-
export declare const
|
|
1324
|
+
export declare const CreatePromptFunction$inboundSchema: z.ZodType<CreatePromptFunction, z.ZodTypeDef, unknown>;
|
|
2562
1325
|
/** @internal */
|
|
2563
|
-
export type
|
|
1326
|
+
export type CreatePromptFunction$Outbound = {
|
|
2564
1327
|
name: string;
|
|
2565
1328
|
arguments: string;
|
|
2566
1329
|
};
|
|
2567
1330
|
/** @internal */
|
|
2568
|
-
export declare const
|
|
1331
|
+
export declare const CreatePromptFunction$outboundSchema: z.ZodType<CreatePromptFunction$Outbound, z.ZodTypeDef, CreatePromptFunction>;
|
|
2569
1332
|
/**
|
|
2570
1333
|
* @internal
|
|
2571
1334
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2572
1335
|
*/
|
|
2573
|
-
export declare namespace
|
|
2574
|
-
/** @deprecated use `
|
|
2575
|
-
const inboundSchema: z.ZodType<
|
|
2576
|
-
/** @deprecated use `
|
|
2577
|
-
const outboundSchema: z.ZodType<
|
|
2578
|
-
/** @deprecated use `
|
|
2579
|
-
type Outbound =
|
|
1336
|
+
export declare namespace CreatePromptFunction$ {
|
|
1337
|
+
/** @deprecated use `CreatePromptFunction$inboundSchema` instead. */
|
|
1338
|
+
const inboundSchema: z.ZodType<CreatePromptFunction, z.ZodTypeDef, unknown>;
|
|
1339
|
+
/** @deprecated use `CreatePromptFunction$outboundSchema` instead. */
|
|
1340
|
+
const outboundSchema: z.ZodType<CreatePromptFunction$Outbound, z.ZodTypeDef, CreatePromptFunction>;
|
|
1341
|
+
/** @deprecated use `CreatePromptFunction$Outbound` instead. */
|
|
1342
|
+
type Outbound = CreatePromptFunction$Outbound;
|
|
2580
1343
|
}
|
|
2581
|
-
export declare function
|
|
2582
|
-
export declare function
|
|
1344
|
+
export declare function createPromptFunctionToJSON(createPromptFunction: CreatePromptFunction): string;
|
|
1345
|
+
export declare function createPromptFunctionFromJSON(jsonString: string): SafeParseResult<CreatePromptFunction, SDKValidationError>;
|
|
2583
1346
|
/** @internal */
|
|
2584
|
-
export declare const
|
|
1347
|
+
export declare const CreatePromptToolCalls$inboundSchema: z.ZodType<CreatePromptToolCalls, z.ZodTypeDef, unknown>;
|
|
2585
1348
|
/** @internal */
|
|
2586
|
-
export type
|
|
1349
|
+
export type CreatePromptToolCalls$Outbound = {
|
|
2587
1350
|
id?: string | undefined;
|
|
2588
1351
|
index?: number | undefined;
|
|
2589
1352
|
type: string;
|
|
2590
|
-
function:
|
|
1353
|
+
function: CreatePromptFunction$Outbound;
|
|
2591
1354
|
};
|
|
2592
1355
|
/** @internal */
|
|
2593
|
-
export declare const
|
|
1356
|
+
export declare const CreatePromptToolCalls$outboundSchema: z.ZodType<CreatePromptToolCalls$Outbound, z.ZodTypeDef, CreatePromptToolCalls>;
|
|
2594
1357
|
/**
|
|
2595
1358
|
* @internal
|
|
2596
1359
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2597
1360
|
*/
|
|
2598
|
-
export declare namespace
|
|
2599
|
-
/** @deprecated use `
|
|
2600
|
-
const inboundSchema: z.ZodType<
|
|
2601
|
-
/** @deprecated use `
|
|
2602
|
-
const outboundSchema: z.ZodType<
|
|
2603
|
-
/** @deprecated use `
|
|
2604
|
-
type Outbound =
|
|
1361
|
+
export declare namespace CreatePromptToolCalls$ {
|
|
1362
|
+
/** @deprecated use `CreatePromptToolCalls$inboundSchema` instead. */
|
|
1363
|
+
const inboundSchema: z.ZodType<CreatePromptToolCalls, z.ZodTypeDef, unknown>;
|
|
1364
|
+
/** @deprecated use `CreatePromptToolCalls$outboundSchema` instead. */
|
|
1365
|
+
const outboundSchema: z.ZodType<CreatePromptToolCalls$Outbound, z.ZodTypeDef, CreatePromptToolCalls>;
|
|
1366
|
+
/** @deprecated use `CreatePromptToolCalls$Outbound` instead. */
|
|
1367
|
+
type Outbound = CreatePromptToolCalls$Outbound;
|
|
2605
1368
|
}
|
|
2606
|
-
export declare function
|
|
2607
|
-
export declare function
|
|
1369
|
+
export declare function createPromptToolCallsToJSON(createPromptToolCalls: CreatePromptToolCalls): string;
|
|
1370
|
+
export declare function createPromptToolCallsFromJSON(jsonString: string): SafeParseResult<CreatePromptToolCalls, SDKValidationError>;
|
|
2608
1371
|
/** @internal */
|
|
2609
|
-
export declare const
|
|
1372
|
+
export declare const CreatePromptMessages$inboundSchema: z.ZodType<CreatePromptMessages, z.ZodTypeDef, unknown>;
|
|
2610
1373
|
/** @internal */
|
|
2611
|
-
export type
|
|
1374
|
+
export type CreatePromptMessages$Outbound = {
|
|
2612
1375
|
role: string;
|
|
2613
|
-
content: string | Array<
|
|
2614
|
-
tool_calls?: Array<
|
|
1376
|
+
content: string | Array<CreatePrompt21$Outbound | CreatePrompt22$Outbound>;
|
|
1377
|
+
tool_calls?: Array<CreatePromptToolCalls$Outbound> | undefined;
|
|
2615
1378
|
};
|
|
2616
1379
|
/** @internal */
|
|
2617
|
-
export declare const
|
|
1380
|
+
export declare const CreatePromptMessages$outboundSchema: z.ZodType<CreatePromptMessages$Outbound, z.ZodTypeDef, CreatePromptMessages>;
|
|
2618
1381
|
/**
|
|
2619
1382
|
* @internal
|
|
2620
1383
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2621
1384
|
*/
|
|
2622
|
-
export declare namespace
|
|
2623
|
-
/** @deprecated use `
|
|
2624
|
-
const inboundSchema: z.ZodType<
|
|
2625
|
-
/** @deprecated use `
|
|
2626
|
-
const outboundSchema: z.ZodType<
|
|
2627
|
-
/** @deprecated use `
|
|
2628
|
-
type Outbound =
|
|
1385
|
+
export declare namespace CreatePromptMessages$ {
|
|
1386
|
+
/** @deprecated use `CreatePromptMessages$inboundSchema` instead. */
|
|
1387
|
+
const inboundSchema: z.ZodType<CreatePromptMessages, z.ZodTypeDef, unknown>;
|
|
1388
|
+
/** @deprecated use `CreatePromptMessages$outboundSchema` instead. */
|
|
1389
|
+
const outboundSchema: z.ZodType<CreatePromptMessages$Outbound, z.ZodTypeDef, CreatePromptMessages>;
|
|
1390
|
+
/** @deprecated use `CreatePromptMessages$Outbound` instead. */
|
|
1391
|
+
type Outbound = CreatePromptMessages$Outbound;
|
|
2629
1392
|
}
|
|
2630
|
-
export declare function
|
|
2631
|
-
export declare function
|
|
1393
|
+
export declare function createPromptMessagesToJSON(createPromptMessages: CreatePromptMessages): string;
|
|
1394
|
+
export declare function createPromptMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptMessages, SDKValidationError>;
|
|
2632
1395
|
/** @internal */
|
|
2633
|
-
export declare const
|
|
1396
|
+
export declare const CreatePromptPromptConfig$inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
|
|
2634
1397
|
/** @internal */
|
|
2635
|
-
export type
|
|
1398
|
+
export type CreatePromptPromptConfig$Outbound = {
|
|
2636
1399
|
stream?: boolean | undefined;
|
|
2637
1400
|
model?: string | undefined;
|
|
2638
|
-
model_db_id?: string | undefined;
|
|
2639
1401
|
model_type?: string | undefined;
|
|
2640
|
-
model_parameters?:
|
|
1402
|
+
model_parameters?: CreatePromptModelParameters$Outbound | undefined;
|
|
2641
1403
|
provider?: string | undefined;
|
|
2642
|
-
integration_id?: string | null | undefined;
|
|
2643
1404
|
version?: string | undefined;
|
|
2644
|
-
messages: Array<
|
|
1405
|
+
messages: Array<CreatePromptMessages$Outbound>;
|
|
2645
1406
|
};
|
|
2646
1407
|
/** @internal */
|
|
2647
|
-
export declare const
|
|
1408
|
+
export declare const CreatePromptPromptConfig$outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
|
|
2648
1409
|
/**
|
|
2649
1410
|
* @internal
|
|
2650
1411
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2651
1412
|
*/
|
|
2652
|
-
export declare namespace
|
|
2653
|
-
/** @deprecated use `
|
|
2654
|
-
const inboundSchema: z.ZodType<
|
|
2655
|
-
/** @deprecated use `
|
|
2656
|
-
const outboundSchema: z.ZodType<
|
|
2657
|
-
/** @deprecated use `
|
|
2658
|
-
type Outbound =
|
|
1413
|
+
export declare namespace CreatePromptPromptConfig$ {
|
|
1414
|
+
/** @deprecated use `CreatePromptPromptConfig$inboundSchema` instead. */
|
|
1415
|
+
const inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
|
|
1416
|
+
/** @deprecated use `CreatePromptPromptConfig$outboundSchema` instead. */
|
|
1417
|
+
const outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
|
|
1418
|
+
/** @deprecated use `CreatePromptPromptConfig$Outbound` instead. */
|
|
1419
|
+
type Outbound = CreatePromptPromptConfig$Outbound;
|
|
2659
1420
|
}
|
|
2660
|
-
export declare function
|
|
2661
|
-
export declare function
|
|
1421
|
+
export declare function createPromptPromptConfigToJSON(createPromptPromptConfig: CreatePromptPromptConfig): string;
|
|
1422
|
+
export declare function createPromptPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptConfig, SDKValidationError>;
|
|
2662
1423
|
/** @internal */
|
|
2663
|
-
export declare const
|
|
1424
|
+
export declare const CreatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
|
|
2664
1425
|
/** @internal */
|
|
2665
|
-
export declare const
|
|
1426
|
+
export declare const CreatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
|
|
2666
1427
|
/**
|
|
2667
1428
|
* @internal
|
|
2668
1429
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2669
1430
|
*/
|
|
2670
|
-
export declare namespace
|
|
2671
|
-
/** @deprecated use `
|
|
1431
|
+
export declare namespace CreatePromptUseCases$ {
|
|
1432
|
+
/** @deprecated use `CreatePromptUseCases$inboundSchema` instead. */
|
|
2672
1433
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2673
1434
|
readonly Agents: "Agents";
|
|
2674
1435
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -2687,7 +1448,7 @@ export declare namespace CreatePromptPromptsUseCases$ {
|
|
|
2687
1448
|
readonly Summarization: "Summarization";
|
|
2688
1449
|
readonly Tagging: "Tagging";
|
|
2689
1450
|
}>;
|
|
2690
|
-
/** @deprecated use `
|
|
1451
|
+
/** @deprecated use `CreatePromptUseCases$outboundSchema` instead. */
|
|
2691
1452
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2692
1453
|
readonly Agents: "Agents";
|
|
2693
1454
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -2708,15 +1469,15 @@ export declare namespace CreatePromptPromptsUseCases$ {
|
|
|
2708
1469
|
}>;
|
|
2709
1470
|
}
|
|
2710
1471
|
/** @internal */
|
|
2711
|
-
export declare const
|
|
1472
|
+
export declare const CreatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
|
|
2712
1473
|
/** @internal */
|
|
2713
|
-
export declare const
|
|
1474
|
+
export declare const CreatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
|
|
2714
1475
|
/**
|
|
2715
1476
|
* @internal
|
|
2716
1477
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2717
1478
|
*/
|
|
2718
|
-
export declare namespace
|
|
2719
|
-
/** @deprecated use `
|
|
1479
|
+
export declare namespace CreatePromptLanguage$ {
|
|
1480
|
+
/** @deprecated use `CreatePromptLanguage$inboundSchema` instead. */
|
|
2720
1481
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2721
1482
|
readonly Chinese: "Chinese";
|
|
2722
1483
|
readonly Dutch: "Dutch";
|
|
@@ -2726,7 +1487,7 @@ export declare namespace CreatePromptPromptsLanguage$ {
|
|
|
2726
1487
|
readonly Russian: "Russian";
|
|
2727
1488
|
readonly Spanish: "Spanish";
|
|
2728
1489
|
}>;
|
|
2729
|
-
/** @deprecated use `
|
|
1490
|
+
/** @deprecated use `CreatePromptLanguage$outboundSchema` instead. */
|
|
2730
1491
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2731
1492
|
readonly Chinese: "Chinese";
|
|
2732
1493
|
readonly Dutch: "Dutch";
|
|
@@ -2738,28 +1499,54 @@ export declare namespace CreatePromptPromptsLanguage$ {
|
|
|
2738
1499
|
}>;
|
|
2739
1500
|
}
|
|
2740
1501
|
/** @internal */
|
|
2741
|
-
export declare const
|
|
1502
|
+
export declare const CreatePromptMetadata$inboundSchema: z.ZodType<CreatePromptMetadata, z.ZodTypeDef, unknown>;
|
|
2742
1503
|
/** @internal */
|
|
2743
|
-
export type
|
|
1504
|
+
export type CreatePromptMetadata$Outbound = {
|
|
2744
1505
|
use_cases?: Array<string> | undefined;
|
|
2745
1506
|
language?: string | undefined;
|
|
2746
1507
|
};
|
|
2747
1508
|
/** @internal */
|
|
2748
|
-
export declare const
|
|
1509
|
+
export declare const CreatePromptMetadata$outboundSchema: z.ZodType<CreatePromptMetadata$Outbound, z.ZodTypeDef, CreatePromptMetadata>;
|
|
2749
1510
|
/**
|
|
2750
1511
|
* @internal
|
|
2751
1512
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2752
1513
|
*/
|
|
2753
|
-
export declare namespace
|
|
2754
|
-
/** @deprecated use `
|
|
2755
|
-
const inboundSchema: z.ZodType<
|
|
2756
|
-
/** @deprecated use `
|
|
2757
|
-
const outboundSchema: z.ZodType<
|
|
2758
|
-
/** @deprecated use `
|
|
2759
|
-
type Outbound =
|
|
1514
|
+
export declare namespace CreatePromptMetadata$ {
|
|
1515
|
+
/** @deprecated use `CreatePromptMetadata$inboundSchema` instead. */
|
|
1516
|
+
const inboundSchema: z.ZodType<CreatePromptMetadata, z.ZodTypeDef, unknown>;
|
|
1517
|
+
/** @deprecated use `CreatePromptMetadata$outboundSchema` instead. */
|
|
1518
|
+
const outboundSchema: z.ZodType<CreatePromptMetadata$Outbound, z.ZodTypeDef, CreatePromptMetadata>;
|
|
1519
|
+
/** @deprecated use `CreatePromptMetadata$Outbound` instead. */
|
|
1520
|
+
type Outbound = CreatePromptMetadata$Outbound;
|
|
2760
1521
|
}
|
|
2761
|
-
export declare function
|
|
2762
|
-
export declare function
|
|
1522
|
+
export declare function createPromptMetadataToJSON(createPromptMetadata: CreatePromptMetadata): string;
|
|
1523
|
+
export declare function createPromptMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptMetadata, SDKValidationError>;
|
|
1524
|
+
/** @internal */
|
|
1525
|
+
export declare const CreatePromptRequestBody$inboundSchema: z.ZodType<CreatePromptRequestBody, z.ZodTypeDef, unknown>;
|
|
1526
|
+
/** @internal */
|
|
1527
|
+
export type CreatePromptRequestBody$Outbound = {
|
|
1528
|
+
display_name: string;
|
|
1529
|
+
description?: string | null | undefined;
|
|
1530
|
+
prompt_config: CreatePromptPromptConfig$Outbound;
|
|
1531
|
+
metadata?: CreatePromptMetadata$Outbound | undefined;
|
|
1532
|
+
path: string;
|
|
1533
|
+
};
|
|
1534
|
+
/** @internal */
|
|
1535
|
+
export declare const CreatePromptRequestBody$outboundSchema: z.ZodType<CreatePromptRequestBody$Outbound, z.ZodTypeDef, CreatePromptRequestBody>;
|
|
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 CreatePromptRequestBody$ {
|
|
1541
|
+
/** @deprecated use `CreatePromptRequestBody$inboundSchema` instead. */
|
|
1542
|
+
const inboundSchema: z.ZodType<CreatePromptRequestBody, z.ZodTypeDef, unknown>;
|
|
1543
|
+
/** @deprecated use `CreatePromptRequestBody$outboundSchema` instead. */
|
|
1544
|
+
const outboundSchema: z.ZodType<CreatePromptRequestBody$Outbound, z.ZodTypeDef, CreatePromptRequestBody>;
|
|
1545
|
+
/** @deprecated use `CreatePromptRequestBody$Outbound` instead. */
|
|
1546
|
+
type Outbound = CreatePromptRequestBody$Outbound;
|
|
1547
|
+
}
|
|
1548
|
+
export declare function createPromptRequestBodyToJSON(createPromptRequestBody: CreatePromptRequestBody): string;
|
|
1549
|
+
export declare function createPromptRequestBodyFromJSON(jsonString: string): SafeParseResult<CreatePromptRequestBody, SDKValidationError>;
|
|
2763
1550
|
/** @internal */
|
|
2764
1551
|
export declare const CreatePromptPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsType>;
|
|
2765
1552
|
/** @internal */
|
|
@@ -2779,15 +1566,15 @@ export declare namespace CreatePromptPromptsType$ {
|
|
|
2779
1566
|
}>;
|
|
2780
1567
|
}
|
|
2781
1568
|
/** @internal */
|
|
2782
|
-
export declare const
|
|
1569
|
+
export declare const CreatePromptPromptsModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsModelType>;
|
|
2783
1570
|
/** @internal */
|
|
2784
|
-
export declare const
|
|
1571
|
+
export declare const CreatePromptPromptsModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsModelType>;
|
|
2785
1572
|
/**
|
|
2786
1573
|
* @internal
|
|
2787
1574
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2788
1575
|
*/
|
|
2789
|
-
export declare namespace
|
|
2790
|
-
/** @deprecated use `
|
|
1576
|
+
export declare namespace CreatePromptPromptsModelType$ {
|
|
1577
|
+
/** @deprecated use `CreatePromptPromptsModelType$inboundSchema` instead. */
|
|
2791
1578
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2792
1579
|
readonly Chat: "chat";
|
|
2793
1580
|
readonly Completion: "completion";
|
|
@@ -2799,7 +1586,7 @@ export declare namespace CreatePromptPromptsResponseModelType$ {
|
|
|
2799
1586
|
readonly Rerank: "rerank";
|
|
2800
1587
|
readonly Moderations: "moderations";
|
|
2801
1588
|
}>;
|
|
2802
|
-
/** @deprecated use `
|
|
1589
|
+
/** @deprecated use `CreatePromptPromptsModelType$outboundSchema` instead. */
|
|
2803
1590
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2804
1591
|
readonly Chat: "chat";
|
|
2805
1592
|
readonly Completion: "completion";
|
|
@@ -2813,22 +1600,22 @@ export declare namespace CreatePromptPromptsResponseModelType$ {
|
|
|
2813
1600
|
}>;
|
|
2814
1601
|
}
|
|
2815
1602
|
/** @internal */
|
|
2816
|
-
export declare const
|
|
1603
|
+
export declare const CreatePromptPromptsFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsFormat>;
|
|
2817
1604
|
/** @internal */
|
|
2818
|
-
export declare const
|
|
1605
|
+
export declare const CreatePromptPromptsFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsFormat>;
|
|
2819
1606
|
/**
|
|
2820
1607
|
* @internal
|
|
2821
1608
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2822
1609
|
*/
|
|
2823
|
-
export declare namespace
|
|
2824
|
-
/** @deprecated use `
|
|
1610
|
+
export declare namespace CreatePromptPromptsFormat$ {
|
|
1611
|
+
/** @deprecated use `CreatePromptPromptsFormat$inboundSchema` instead. */
|
|
2825
1612
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2826
1613
|
readonly Url: "url";
|
|
2827
1614
|
readonly B64Json: "b64_json";
|
|
2828
1615
|
readonly Text: "text";
|
|
2829
1616
|
readonly JsonObject: "json_object";
|
|
2830
1617
|
}>;
|
|
2831
|
-
/** @deprecated use `
|
|
1618
|
+
/** @deprecated use `CreatePromptPromptsFormat$outboundSchema` instead. */
|
|
2832
1619
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2833
1620
|
readonly Url: "url";
|
|
2834
1621
|
readonly B64Json: "b64_json";
|
|
@@ -2837,87 +1624,87 @@ export declare namespace CreatePromptPromptsResponse200Format$ {
|
|
|
2837
1624
|
}>;
|
|
2838
1625
|
}
|
|
2839
1626
|
/** @internal */
|
|
2840
|
-
export declare const
|
|
1627
|
+
export declare const CreatePromptPromptsQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsQuality>;
|
|
2841
1628
|
/** @internal */
|
|
2842
|
-
export declare const
|
|
1629
|
+
export declare const CreatePromptPromptsQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsQuality>;
|
|
2843
1630
|
/**
|
|
2844
1631
|
* @internal
|
|
2845
1632
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2846
1633
|
*/
|
|
2847
|
-
export declare namespace
|
|
2848
|
-
/** @deprecated use `
|
|
1634
|
+
export declare namespace CreatePromptPromptsQuality$ {
|
|
1635
|
+
/** @deprecated use `CreatePromptPromptsQuality$inboundSchema` instead. */
|
|
2849
1636
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2850
1637
|
readonly Standard: "standard";
|
|
2851
1638
|
readonly Hd: "hd";
|
|
2852
1639
|
}>;
|
|
2853
|
-
/** @deprecated use `
|
|
1640
|
+
/** @deprecated use `CreatePromptPromptsQuality$outboundSchema` instead. */
|
|
2854
1641
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2855
1642
|
readonly Standard: "standard";
|
|
2856
1643
|
readonly Hd: "hd";
|
|
2857
1644
|
}>;
|
|
2858
1645
|
}
|
|
2859
1646
|
/** @internal */
|
|
2860
|
-
export declare const
|
|
1647
|
+
export declare const CreatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
|
|
2861
1648
|
/** @internal */
|
|
2862
|
-
export declare const
|
|
1649
|
+
export declare const CreatePromptResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
|
|
2863
1650
|
/**
|
|
2864
1651
|
* @internal
|
|
2865
1652
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2866
1653
|
*/
|
|
2867
|
-
export declare namespace
|
|
2868
|
-
/** @deprecated use `
|
|
1654
|
+
export declare namespace CreatePromptResponseFormatPromptsResponse200Type$ {
|
|
1655
|
+
/** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$inboundSchema` instead. */
|
|
2869
1656
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2870
1657
|
readonly JsonObject: "json_object";
|
|
2871
1658
|
}>;
|
|
2872
|
-
/** @deprecated use `
|
|
1659
|
+
/** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$outboundSchema` instead. */
|
|
2873
1660
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2874
1661
|
readonly JsonObject: "json_object";
|
|
2875
1662
|
}>;
|
|
2876
1663
|
}
|
|
2877
1664
|
/** @internal */
|
|
2878
|
-
export declare const
|
|
1665
|
+
export declare const CreatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
2879
1666
|
/** @internal */
|
|
2880
|
-
export type
|
|
1667
|
+
export type CreatePromptResponseFormatPrompts2$Outbound = {
|
|
2881
1668
|
type: string;
|
|
2882
1669
|
};
|
|
2883
1670
|
/** @internal */
|
|
2884
|
-
export declare const
|
|
1671
|
+
export declare const CreatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
|
|
2885
1672
|
/**
|
|
2886
1673
|
* @internal
|
|
2887
1674
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2888
1675
|
*/
|
|
2889
|
-
export declare namespace
|
|
2890
|
-
/** @deprecated use `
|
|
2891
|
-
const inboundSchema: z.ZodType<
|
|
2892
|
-
/** @deprecated use `
|
|
2893
|
-
const outboundSchema: z.ZodType<
|
|
2894
|
-
/** @deprecated use `
|
|
2895
|
-
type Outbound =
|
|
1676
|
+
export declare namespace CreatePromptResponseFormatPrompts2$ {
|
|
1677
|
+
/** @deprecated use `CreatePromptResponseFormatPrompts2$inboundSchema` instead. */
|
|
1678
|
+
const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
1679
|
+
/** @deprecated use `CreatePromptResponseFormatPrompts2$outboundSchema` instead. */
|
|
1680
|
+
const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
|
|
1681
|
+
/** @deprecated use `CreatePromptResponseFormatPrompts2$Outbound` instead. */
|
|
1682
|
+
type Outbound = CreatePromptResponseFormatPrompts2$Outbound;
|
|
2896
1683
|
}
|
|
2897
|
-
export declare function
|
|
2898
|
-
export declare function
|
|
1684
|
+
export declare function createPromptResponseFormatPrompts2ToJSON(createPromptResponseFormatPrompts2: CreatePromptResponseFormatPrompts2): string;
|
|
1685
|
+
export declare function createPromptResponseFormatPrompts2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts2, SDKValidationError>;
|
|
2899
1686
|
/** @internal */
|
|
2900
|
-
export declare const
|
|
1687
|
+
export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
|
|
2901
1688
|
/** @internal */
|
|
2902
|
-
export declare const
|
|
1689
|
+
export declare const CreatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
|
|
2903
1690
|
/**
|
|
2904
1691
|
* @internal
|
|
2905
1692
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2906
1693
|
*/
|
|
2907
|
-
export declare namespace
|
|
2908
|
-
/** @deprecated use `
|
|
1694
|
+
export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
|
|
1695
|
+
/** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
|
|
2909
1696
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2910
1697
|
readonly JsonSchema: "json_schema";
|
|
2911
1698
|
}>;
|
|
2912
|
-
/** @deprecated use `
|
|
1699
|
+
/** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
|
|
2913
1700
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2914
1701
|
readonly JsonSchema: "json_schema";
|
|
2915
1702
|
}>;
|
|
2916
1703
|
}
|
|
2917
1704
|
/** @internal */
|
|
2918
|
-
export declare const
|
|
1705
|
+
export declare const CreatePromptResponseFormatPromptsJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
|
|
2919
1706
|
/** @internal */
|
|
2920
|
-
export type
|
|
1707
|
+
export type CreatePromptResponseFormatPromptsJsonSchema$Outbound = {
|
|
2921
1708
|
name: string;
|
|
2922
1709
|
strict: boolean;
|
|
2923
1710
|
schema: {
|
|
@@ -2925,120 +1712,120 @@ export type CreatePromptResponseFormatPromptsResponseJsonSchema$Outbound = {
|
|
|
2925
1712
|
};
|
|
2926
1713
|
};
|
|
2927
1714
|
/** @internal */
|
|
2928
|
-
export declare const
|
|
1715
|
+
export declare const CreatePromptResponseFormatPromptsJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsJsonSchema>;
|
|
2929
1716
|
/**
|
|
2930
1717
|
* @internal
|
|
2931
1718
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2932
1719
|
*/
|
|
2933
|
-
export declare namespace
|
|
2934
|
-
/** @deprecated use `
|
|
2935
|
-
const inboundSchema: z.ZodType<
|
|
2936
|
-
/** @deprecated use `
|
|
2937
|
-
const outboundSchema: z.ZodType<
|
|
2938
|
-
/** @deprecated use `
|
|
2939
|
-
type Outbound =
|
|
1720
|
+
export declare namespace CreatePromptResponseFormatPromptsJsonSchema$ {
|
|
1721
|
+
/** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$inboundSchema` instead. */
|
|
1722
|
+
const inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
|
|
1723
|
+
/** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$outboundSchema` instead. */
|
|
1724
|
+
const outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsJsonSchema>;
|
|
1725
|
+
/** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$Outbound` instead. */
|
|
1726
|
+
type Outbound = CreatePromptResponseFormatPromptsJsonSchema$Outbound;
|
|
2940
1727
|
}
|
|
2941
|
-
export declare function
|
|
2942
|
-
export declare function
|
|
1728
|
+
export declare function createPromptResponseFormatPromptsJsonSchemaToJSON(createPromptResponseFormatPromptsJsonSchema: CreatePromptResponseFormatPromptsJsonSchema): string;
|
|
1729
|
+
export declare function createPromptResponseFormatPromptsJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPromptsJsonSchema, SDKValidationError>;
|
|
2943
1730
|
/** @internal */
|
|
2944
|
-
export declare const
|
|
1731
|
+
export declare const CreatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
|
|
2945
1732
|
/** @internal */
|
|
2946
|
-
export type
|
|
1733
|
+
export type CreatePromptResponseFormatPrompts1$Outbound = {
|
|
2947
1734
|
type: string;
|
|
2948
|
-
json_schema:
|
|
1735
|
+
json_schema: CreatePromptResponseFormatPromptsJsonSchema$Outbound;
|
|
2949
1736
|
};
|
|
2950
1737
|
/** @internal */
|
|
2951
|
-
export declare const
|
|
1738
|
+
export declare const CreatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
|
|
2952
1739
|
/**
|
|
2953
1740
|
* @internal
|
|
2954
1741
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2955
1742
|
*/
|
|
2956
|
-
export declare namespace
|
|
2957
|
-
/** @deprecated use `
|
|
2958
|
-
const inboundSchema: z.ZodType<
|
|
2959
|
-
/** @deprecated use `
|
|
2960
|
-
const outboundSchema: z.ZodType<
|
|
2961
|
-
/** @deprecated use `
|
|
2962
|
-
type Outbound =
|
|
1743
|
+
export declare namespace CreatePromptResponseFormatPrompts1$ {
|
|
1744
|
+
/** @deprecated use `CreatePromptResponseFormatPrompts1$inboundSchema` instead. */
|
|
1745
|
+
const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
|
|
1746
|
+
/** @deprecated use `CreatePromptResponseFormatPrompts1$outboundSchema` instead. */
|
|
1747
|
+
const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
|
|
1748
|
+
/** @deprecated use `CreatePromptResponseFormatPrompts1$Outbound` instead. */
|
|
1749
|
+
type Outbound = CreatePromptResponseFormatPrompts1$Outbound;
|
|
2963
1750
|
}
|
|
2964
|
-
export declare function
|
|
2965
|
-
export declare function
|
|
1751
|
+
export declare function createPromptResponseFormatPrompts1ToJSON(createPromptResponseFormatPrompts1: CreatePromptResponseFormatPrompts1): string;
|
|
1752
|
+
export declare function createPromptResponseFormatPrompts1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts1, SDKValidationError>;
|
|
2966
1753
|
/** @internal */
|
|
2967
|
-
export declare const
|
|
1754
|
+
export declare const CreatePromptPromptsResponseFormat$inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
2968
1755
|
/** @internal */
|
|
2969
|
-
export type
|
|
1756
|
+
export type CreatePromptPromptsResponseFormat$Outbound = CreatePromptResponseFormatPrompts2$Outbound | CreatePromptResponseFormatPrompts1$Outbound;
|
|
2970
1757
|
/** @internal */
|
|
2971
|
-
export declare const
|
|
1758
|
+
export declare const CreatePromptPromptsResponseFormat$outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
|
|
2972
1759
|
/**
|
|
2973
1760
|
* @internal
|
|
2974
1761
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2975
1762
|
*/
|
|
2976
|
-
export declare namespace
|
|
2977
|
-
/** @deprecated use `
|
|
2978
|
-
const inboundSchema: z.ZodType<
|
|
2979
|
-
/** @deprecated use `
|
|
2980
|
-
const outboundSchema: z.ZodType<
|
|
2981
|
-
/** @deprecated use `
|
|
2982
|
-
type Outbound =
|
|
1763
|
+
export declare namespace CreatePromptPromptsResponseFormat$ {
|
|
1764
|
+
/** @deprecated use `CreatePromptPromptsResponseFormat$inboundSchema` instead. */
|
|
1765
|
+
const inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
1766
|
+
/** @deprecated use `CreatePromptPromptsResponseFormat$outboundSchema` instead. */
|
|
1767
|
+
const outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
|
|
1768
|
+
/** @deprecated use `CreatePromptPromptsResponseFormat$Outbound` instead. */
|
|
1769
|
+
type Outbound = CreatePromptPromptsResponseFormat$Outbound;
|
|
2983
1770
|
}
|
|
2984
|
-
export declare function
|
|
2985
|
-
export declare function
|
|
1771
|
+
export declare function createPromptPromptsResponseFormatToJSON(createPromptPromptsResponseFormat: CreatePromptPromptsResponseFormat): string;
|
|
1772
|
+
export declare function createPromptPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsResponseFormat, SDKValidationError>;
|
|
2986
1773
|
/** @internal */
|
|
2987
|
-
export declare const
|
|
1774
|
+
export declare const CreatePromptPromptsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsPhotoRealVersion>;
|
|
2988
1775
|
/** @internal */
|
|
2989
|
-
export declare const
|
|
1776
|
+
export declare const CreatePromptPromptsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsPhotoRealVersion>;
|
|
2990
1777
|
/**
|
|
2991
1778
|
* @internal
|
|
2992
1779
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2993
1780
|
*/
|
|
2994
|
-
export declare namespace
|
|
2995
|
-
/** @deprecated use `
|
|
1781
|
+
export declare namespace CreatePromptPromptsPhotoRealVersion$ {
|
|
1782
|
+
/** @deprecated use `CreatePromptPromptsPhotoRealVersion$inboundSchema` instead. */
|
|
2996
1783
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2997
1784
|
readonly V1: "v1";
|
|
2998
1785
|
readonly V2: "v2";
|
|
2999
1786
|
}>;
|
|
3000
|
-
/** @deprecated use `
|
|
1787
|
+
/** @deprecated use `CreatePromptPromptsPhotoRealVersion$outboundSchema` instead. */
|
|
3001
1788
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3002
1789
|
readonly V1: "v1";
|
|
3003
1790
|
readonly V2: "v2";
|
|
3004
1791
|
}>;
|
|
3005
1792
|
}
|
|
3006
1793
|
/** @internal */
|
|
3007
|
-
export declare const
|
|
1794
|
+
export declare const CreatePromptPromptsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsEncodingFormat>;
|
|
3008
1795
|
/** @internal */
|
|
3009
|
-
export declare const
|
|
1796
|
+
export declare const CreatePromptPromptsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsEncodingFormat>;
|
|
3010
1797
|
/**
|
|
3011
1798
|
* @internal
|
|
3012
1799
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3013
1800
|
*/
|
|
3014
|
-
export declare namespace
|
|
3015
|
-
/** @deprecated use `
|
|
1801
|
+
export declare namespace CreatePromptPromptsEncodingFormat$ {
|
|
1802
|
+
/** @deprecated use `CreatePromptPromptsEncodingFormat$inboundSchema` instead. */
|
|
3016
1803
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3017
1804
|
readonly Float: "float";
|
|
3018
1805
|
readonly Base64: "base64";
|
|
3019
1806
|
}>;
|
|
3020
|
-
/** @deprecated use `
|
|
1807
|
+
/** @deprecated use `CreatePromptPromptsEncodingFormat$outboundSchema` instead. */
|
|
3021
1808
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3022
1809
|
readonly Float: "float";
|
|
3023
1810
|
readonly Base64: "base64";
|
|
3024
1811
|
}>;
|
|
3025
1812
|
}
|
|
3026
1813
|
/** @internal */
|
|
3027
|
-
export declare const
|
|
1814
|
+
export declare const CreatePromptPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsReasoningEffort>;
|
|
3028
1815
|
/** @internal */
|
|
3029
|
-
export declare const
|
|
1816
|
+
export declare const CreatePromptPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsReasoningEffort>;
|
|
3030
1817
|
/**
|
|
3031
1818
|
* @internal
|
|
3032
1819
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3033
1820
|
*/
|
|
3034
|
-
export declare namespace
|
|
3035
|
-
/** @deprecated use `
|
|
1821
|
+
export declare namespace CreatePromptPromptsReasoningEffort$ {
|
|
1822
|
+
/** @deprecated use `CreatePromptPromptsReasoningEffort$inboundSchema` instead. */
|
|
3036
1823
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3037
1824
|
readonly Low: "low";
|
|
3038
1825
|
readonly Medium: "medium";
|
|
3039
1826
|
readonly High: "high";
|
|
3040
1827
|
}>;
|
|
3041
|
-
/** @deprecated use `
|
|
1828
|
+
/** @deprecated use `CreatePromptPromptsReasoningEffort$outboundSchema` instead. */
|
|
3042
1829
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3043
1830
|
readonly Low: "low";
|
|
3044
1831
|
readonly Medium: "medium";
|
|
@@ -3046,9 +1833,9 @@ export declare namespace CreatePromptPromptsResponseReasoningEffort$ {
|
|
|
3046
1833
|
}>;
|
|
3047
1834
|
}
|
|
3048
1835
|
/** @internal */
|
|
3049
|
-
export declare const
|
|
1836
|
+
export declare const CreatePromptPromptsModelParameters$inboundSchema: z.ZodType<CreatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
|
|
3050
1837
|
/** @internal */
|
|
3051
|
-
export type
|
|
1838
|
+
export type CreatePromptPromptsModelParameters$Outbound = {
|
|
3052
1839
|
temperature?: number | undefined;
|
|
3053
1840
|
maxTokens?: number | undefined;
|
|
3054
1841
|
topK?: number | undefined;
|
|
@@ -3061,37 +1848,37 @@ export type CreatePromptPromptsResponseModelParameters$Outbound = {
|
|
|
3061
1848
|
dimensions?: string | undefined;
|
|
3062
1849
|
quality?: string | undefined;
|
|
3063
1850
|
style?: string | undefined;
|
|
3064
|
-
responseFormat?:
|
|
1851
|
+
responseFormat?: CreatePromptResponseFormatPrompts2$Outbound | CreatePromptResponseFormatPrompts1$Outbound | null | undefined;
|
|
3065
1852
|
photoRealVersion?: string | undefined;
|
|
3066
1853
|
encoding_format?: string | undefined;
|
|
3067
1854
|
reasoningEffort?: string | undefined;
|
|
3068
1855
|
};
|
|
3069
1856
|
/** @internal */
|
|
3070
|
-
export declare const
|
|
1857
|
+
export declare const CreatePromptPromptsModelParameters$outboundSchema: z.ZodType<CreatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, CreatePromptPromptsModelParameters>;
|
|
3071
1858
|
/**
|
|
3072
1859
|
* @internal
|
|
3073
1860
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3074
1861
|
*/
|
|
3075
|
-
export declare namespace
|
|
3076
|
-
/** @deprecated use `
|
|
3077
|
-
const inboundSchema: z.ZodType<
|
|
3078
|
-
/** @deprecated use `
|
|
3079
|
-
const outboundSchema: z.ZodType<
|
|
3080
|
-
/** @deprecated use `
|
|
3081
|
-
type Outbound =
|
|
1862
|
+
export declare namespace CreatePromptPromptsModelParameters$ {
|
|
1863
|
+
/** @deprecated use `CreatePromptPromptsModelParameters$inboundSchema` instead. */
|
|
1864
|
+
const inboundSchema: z.ZodType<CreatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
|
|
1865
|
+
/** @deprecated use `CreatePromptPromptsModelParameters$outboundSchema` instead. */
|
|
1866
|
+
const outboundSchema: z.ZodType<CreatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, CreatePromptPromptsModelParameters>;
|
|
1867
|
+
/** @deprecated use `CreatePromptPromptsModelParameters$Outbound` instead. */
|
|
1868
|
+
type Outbound = CreatePromptPromptsModelParameters$Outbound;
|
|
3082
1869
|
}
|
|
3083
|
-
export declare function
|
|
3084
|
-
export declare function
|
|
1870
|
+
export declare function createPromptPromptsModelParametersToJSON(createPromptPromptsModelParameters: CreatePromptPromptsModelParameters): string;
|
|
1871
|
+
export declare function createPromptPromptsModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsModelParameters, SDKValidationError>;
|
|
3085
1872
|
/** @internal */
|
|
3086
|
-
export declare const
|
|
1873
|
+
export declare const CreatePromptPromptsProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsProvider>;
|
|
3087
1874
|
/** @internal */
|
|
3088
|
-
export declare const
|
|
1875
|
+
export declare const CreatePromptPromptsProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsProvider>;
|
|
3089
1876
|
/**
|
|
3090
1877
|
* @internal
|
|
3091
1878
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3092
1879
|
*/
|
|
3093
|
-
export declare namespace
|
|
3094
|
-
/** @deprecated use `
|
|
1880
|
+
export declare namespace CreatePromptPromptsProvider$ {
|
|
1881
|
+
/** @deprecated use `CreatePromptPromptsProvider$inboundSchema` instead. */
|
|
3095
1882
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3096
1883
|
readonly Cohere: "cohere";
|
|
3097
1884
|
readonly Openai: "openai";
|
|
@@ -3112,7 +1899,7 @@ export declare namespace CreatePromptPromptsResponseProvider$ {
|
|
|
3112
1899
|
readonly Togetherai: "togetherai";
|
|
3113
1900
|
readonly Elevenlabs: "elevenlabs";
|
|
3114
1901
|
}>;
|
|
3115
|
-
/** @deprecated use `
|
|
1902
|
+
/** @deprecated use `CreatePromptPromptsProvider$outboundSchema` instead. */
|
|
3116
1903
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3117
1904
|
readonly Cohere: "cohere";
|
|
3118
1905
|
readonly Openai: "openai";
|
|
@@ -3135,15 +1922,15 @@ export declare namespace CreatePromptPromptsResponseProvider$ {
|
|
|
3135
1922
|
}>;
|
|
3136
1923
|
}
|
|
3137
1924
|
/** @internal */
|
|
3138
|
-
export declare const
|
|
1925
|
+
export declare const CreatePromptPromptsRole$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsRole>;
|
|
3139
1926
|
/** @internal */
|
|
3140
|
-
export declare const
|
|
1927
|
+
export declare const CreatePromptPromptsRole$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsRole>;
|
|
3141
1928
|
/**
|
|
3142
1929
|
* @internal
|
|
3143
1930
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3144
1931
|
*/
|
|
3145
|
-
export declare namespace
|
|
3146
|
-
/** @deprecated use `
|
|
1932
|
+
export declare namespace CreatePromptPromptsRole$ {
|
|
1933
|
+
/** @deprecated use `CreatePromptPromptsRole$inboundSchema` instead. */
|
|
3147
1934
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3148
1935
|
readonly System: "system";
|
|
3149
1936
|
readonly Assistant: "assistant";
|
|
@@ -3154,7 +1941,7 @@ export declare namespace CreatePromptPromptsResponseRole$ {
|
|
|
3154
1941
|
readonly Correction: "correction";
|
|
3155
1942
|
readonly ExpectedOutput: "expected_output";
|
|
3156
1943
|
}>;
|
|
3157
|
-
/** @deprecated use `
|
|
1944
|
+
/** @deprecated use `CreatePromptPromptsRole$outboundSchema` instead. */
|
|
3158
1945
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3159
1946
|
readonly System: "system";
|
|
3160
1947
|
readonly Assistant: "assistant";
|
|
@@ -3167,281 +1954,281 @@ export declare namespace CreatePromptPromptsResponseRole$ {
|
|
|
3167
1954
|
}>;
|
|
3168
1955
|
}
|
|
3169
1956
|
/** @internal */
|
|
3170
|
-
export declare const
|
|
1957
|
+
export declare const CreatePrompt2PromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsResponse200Type>;
|
|
3171
1958
|
/** @internal */
|
|
3172
|
-
export declare const
|
|
1959
|
+
export declare const CreatePrompt2PromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsResponse200Type>;
|
|
3173
1960
|
/**
|
|
3174
1961
|
* @internal
|
|
3175
1962
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3176
1963
|
*/
|
|
3177
|
-
export declare namespace
|
|
3178
|
-
/** @deprecated use `
|
|
1964
|
+
export declare namespace CreatePrompt2PromptsResponse200Type$ {
|
|
1965
|
+
/** @deprecated use `CreatePrompt2PromptsResponse200Type$inboundSchema` instead. */
|
|
3179
1966
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3180
1967
|
readonly ImageUrl: "image_url";
|
|
3181
1968
|
}>;
|
|
3182
|
-
/** @deprecated use `
|
|
1969
|
+
/** @deprecated use `CreatePrompt2PromptsResponse200Type$outboundSchema` instead. */
|
|
3183
1970
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3184
1971
|
readonly ImageUrl: "image_url";
|
|
3185
1972
|
}>;
|
|
3186
1973
|
}
|
|
3187
1974
|
/** @internal */
|
|
3188
|
-
export declare const
|
|
1975
|
+
export declare const CreatePrompt2PromptsImageUrl$inboundSchema: z.ZodType<CreatePrompt2PromptsImageUrl, z.ZodTypeDef, unknown>;
|
|
3189
1976
|
/** @internal */
|
|
3190
|
-
export type
|
|
1977
|
+
export type CreatePrompt2PromptsImageUrl$Outbound = {
|
|
3191
1978
|
id?: string | undefined;
|
|
3192
1979
|
url: string;
|
|
3193
1980
|
detail?: string | undefined;
|
|
3194
1981
|
};
|
|
3195
1982
|
/** @internal */
|
|
3196
|
-
export declare const
|
|
1983
|
+
export declare const CreatePrompt2PromptsImageUrl$outboundSchema: z.ZodType<CreatePrompt2PromptsImageUrl$Outbound, z.ZodTypeDef, CreatePrompt2PromptsImageUrl>;
|
|
3197
1984
|
/**
|
|
3198
1985
|
* @internal
|
|
3199
1986
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3200
1987
|
*/
|
|
3201
|
-
export declare namespace
|
|
3202
|
-
/** @deprecated use `
|
|
3203
|
-
const inboundSchema: z.ZodType<
|
|
3204
|
-
/** @deprecated use `
|
|
3205
|
-
const outboundSchema: z.ZodType<
|
|
3206
|
-
/** @deprecated use `
|
|
3207
|
-
type Outbound =
|
|
1988
|
+
export declare namespace CreatePrompt2PromptsImageUrl$ {
|
|
1989
|
+
/** @deprecated use `CreatePrompt2PromptsImageUrl$inboundSchema` instead. */
|
|
1990
|
+
const inboundSchema: z.ZodType<CreatePrompt2PromptsImageUrl, z.ZodTypeDef, unknown>;
|
|
1991
|
+
/** @deprecated use `CreatePrompt2PromptsImageUrl$outboundSchema` instead. */
|
|
1992
|
+
const outboundSchema: z.ZodType<CreatePrompt2PromptsImageUrl$Outbound, z.ZodTypeDef, CreatePrompt2PromptsImageUrl>;
|
|
1993
|
+
/** @deprecated use `CreatePrompt2PromptsImageUrl$Outbound` instead. */
|
|
1994
|
+
type Outbound = CreatePrompt2PromptsImageUrl$Outbound;
|
|
3208
1995
|
}
|
|
3209
|
-
export declare function
|
|
3210
|
-
export declare function
|
|
1996
|
+
export declare function createPrompt2PromptsImageUrlToJSON(createPrompt2PromptsImageUrl: CreatePrompt2PromptsImageUrl): string;
|
|
1997
|
+
export declare function createPrompt2PromptsImageUrlFromJSON(jsonString: string): SafeParseResult<CreatePrompt2PromptsImageUrl, SDKValidationError>;
|
|
3211
1998
|
/** @internal */
|
|
3212
|
-
export declare const
|
|
1999
|
+
export declare const CreatePrompt2Prompts2$inboundSchema: z.ZodType<CreatePrompt2Prompts2, z.ZodTypeDef, unknown>;
|
|
3213
2000
|
/** @internal */
|
|
3214
|
-
export type
|
|
2001
|
+
export type CreatePrompt2Prompts2$Outbound = {
|
|
3215
2002
|
type: string;
|
|
3216
|
-
image_url:
|
|
2003
|
+
image_url: CreatePrompt2PromptsImageUrl$Outbound;
|
|
3217
2004
|
};
|
|
3218
2005
|
/** @internal */
|
|
3219
|
-
export declare const
|
|
2006
|
+
export declare const CreatePrompt2Prompts2$outboundSchema: z.ZodType<CreatePrompt2Prompts2$Outbound, z.ZodTypeDef, CreatePrompt2Prompts2>;
|
|
3220
2007
|
/**
|
|
3221
2008
|
* @internal
|
|
3222
2009
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3223
2010
|
*/
|
|
3224
|
-
export declare namespace
|
|
3225
|
-
/** @deprecated use `
|
|
3226
|
-
const inboundSchema: z.ZodType<
|
|
3227
|
-
/** @deprecated use `
|
|
3228
|
-
const outboundSchema: z.ZodType<
|
|
3229
|
-
/** @deprecated use `
|
|
3230
|
-
type Outbound =
|
|
2011
|
+
export declare namespace CreatePrompt2Prompts2$ {
|
|
2012
|
+
/** @deprecated use `CreatePrompt2Prompts2$inboundSchema` instead. */
|
|
2013
|
+
const inboundSchema: z.ZodType<CreatePrompt2Prompts2, z.ZodTypeDef, unknown>;
|
|
2014
|
+
/** @deprecated use `CreatePrompt2Prompts2$outboundSchema` instead. */
|
|
2015
|
+
const outboundSchema: z.ZodType<CreatePrompt2Prompts2$Outbound, z.ZodTypeDef, CreatePrompt2Prompts2>;
|
|
2016
|
+
/** @deprecated use `CreatePrompt2Prompts2$Outbound` instead. */
|
|
2017
|
+
type Outbound = CreatePrompt2Prompts2$Outbound;
|
|
3231
2018
|
}
|
|
3232
|
-
export declare function
|
|
3233
|
-
export declare function
|
|
2019
|
+
export declare function createPrompt2Prompts2ToJSON(createPrompt2Prompts2: CreatePrompt2Prompts2): string;
|
|
2020
|
+
export declare function createPrompt2Prompts2FromJSON(jsonString: string): SafeParseResult<CreatePrompt2Prompts2, SDKValidationError>;
|
|
3234
2021
|
/** @internal */
|
|
3235
|
-
export declare const
|
|
2022
|
+
export declare const CreatePrompt2PromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsResponseType>;
|
|
3236
2023
|
/** @internal */
|
|
3237
|
-
export declare const
|
|
2024
|
+
export declare const CreatePrompt2PromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePrompt2PromptsResponseType>;
|
|
3238
2025
|
/**
|
|
3239
2026
|
* @internal
|
|
3240
2027
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3241
2028
|
*/
|
|
3242
|
-
export declare namespace
|
|
3243
|
-
/** @deprecated use `
|
|
2029
|
+
export declare namespace CreatePrompt2PromptsResponseType$ {
|
|
2030
|
+
/** @deprecated use `CreatePrompt2PromptsResponseType$inboundSchema` instead. */
|
|
3244
2031
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3245
2032
|
readonly Text: "text";
|
|
3246
2033
|
}>;
|
|
3247
|
-
/** @deprecated use `
|
|
2034
|
+
/** @deprecated use `CreatePrompt2PromptsResponseType$outboundSchema` instead. */
|
|
3248
2035
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3249
2036
|
readonly Text: "text";
|
|
3250
2037
|
}>;
|
|
3251
2038
|
}
|
|
3252
2039
|
/** @internal */
|
|
3253
|
-
export declare const
|
|
2040
|
+
export declare const CreatePrompt2Prompts1$inboundSchema: z.ZodType<CreatePrompt2Prompts1, z.ZodTypeDef, unknown>;
|
|
3254
2041
|
/** @internal */
|
|
3255
|
-
export type
|
|
2042
|
+
export type CreatePrompt2Prompts1$Outbound = {
|
|
3256
2043
|
type: string;
|
|
3257
2044
|
text: string;
|
|
3258
2045
|
};
|
|
3259
2046
|
/** @internal */
|
|
3260
|
-
export declare const
|
|
2047
|
+
export declare const CreatePrompt2Prompts1$outboundSchema: z.ZodType<CreatePrompt2Prompts1$Outbound, z.ZodTypeDef, CreatePrompt2Prompts1>;
|
|
3261
2048
|
/**
|
|
3262
2049
|
* @internal
|
|
3263
2050
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3264
2051
|
*/
|
|
3265
|
-
export declare namespace
|
|
3266
|
-
/** @deprecated use `
|
|
3267
|
-
const inboundSchema: z.ZodType<
|
|
3268
|
-
/** @deprecated use `
|
|
3269
|
-
const outboundSchema: z.ZodType<
|
|
3270
|
-
/** @deprecated use `
|
|
3271
|
-
type Outbound =
|
|
2052
|
+
export declare namespace CreatePrompt2Prompts1$ {
|
|
2053
|
+
/** @deprecated use `CreatePrompt2Prompts1$inboundSchema` instead. */
|
|
2054
|
+
const inboundSchema: z.ZodType<CreatePrompt2Prompts1, z.ZodTypeDef, unknown>;
|
|
2055
|
+
/** @deprecated use `CreatePrompt2Prompts1$outboundSchema` instead. */
|
|
2056
|
+
const outboundSchema: z.ZodType<CreatePrompt2Prompts1$Outbound, z.ZodTypeDef, CreatePrompt2Prompts1>;
|
|
2057
|
+
/** @deprecated use `CreatePrompt2Prompts1$Outbound` instead. */
|
|
2058
|
+
type Outbound = CreatePrompt2Prompts1$Outbound;
|
|
3272
2059
|
}
|
|
3273
|
-
export declare function
|
|
3274
|
-
export declare function
|
|
2060
|
+
export declare function createPrompt2Prompts1ToJSON(createPrompt2Prompts1: CreatePrompt2Prompts1): string;
|
|
2061
|
+
export declare function createPrompt2Prompts1FromJSON(jsonString: string): SafeParseResult<CreatePrompt2Prompts1, SDKValidationError>;
|
|
3275
2062
|
/** @internal */
|
|
3276
|
-
export declare const
|
|
2063
|
+
export declare const CreatePromptContentPrompts2$inboundSchema: z.ZodType<CreatePromptContentPrompts2, z.ZodTypeDef, unknown>;
|
|
3277
2064
|
/** @internal */
|
|
3278
|
-
export type
|
|
2065
|
+
export type CreatePromptContentPrompts2$Outbound = CreatePrompt2Prompts1$Outbound | CreatePrompt2Prompts2$Outbound;
|
|
3279
2066
|
/** @internal */
|
|
3280
|
-
export declare const
|
|
2067
|
+
export declare const CreatePromptContentPrompts2$outboundSchema: z.ZodType<CreatePromptContentPrompts2$Outbound, z.ZodTypeDef, CreatePromptContentPrompts2>;
|
|
3281
2068
|
/**
|
|
3282
2069
|
* @internal
|
|
3283
2070
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3284
2071
|
*/
|
|
3285
|
-
export declare namespace
|
|
3286
|
-
/** @deprecated use `
|
|
3287
|
-
const inboundSchema: z.ZodType<
|
|
3288
|
-
/** @deprecated use `
|
|
3289
|
-
const outboundSchema: z.ZodType<
|
|
3290
|
-
/** @deprecated use `
|
|
3291
|
-
type Outbound =
|
|
2072
|
+
export declare namespace CreatePromptContentPrompts2$ {
|
|
2073
|
+
/** @deprecated use `CreatePromptContentPrompts2$inboundSchema` instead. */
|
|
2074
|
+
const inboundSchema: z.ZodType<CreatePromptContentPrompts2, z.ZodTypeDef, unknown>;
|
|
2075
|
+
/** @deprecated use `CreatePromptContentPrompts2$outboundSchema` instead. */
|
|
2076
|
+
const outboundSchema: z.ZodType<CreatePromptContentPrompts2$Outbound, z.ZodTypeDef, CreatePromptContentPrompts2>;
|
|
2077
|
+
/** @deprecated use `CreatePromptContentPrompts2$Outbound` instead. */
|
|
2078
|
+
type Outbound = CreatePromptContentPrompts2$Outbound;
|
|
3292
2079
|
}
|
|
3293
|
-
export declare function
|
|
3294
|
-
export declare function
|
|
2080
|
+
export declare function createPromptContentPrompts2ToJSON(createPromptContentPrompts2: CreatePromptContentPrompts2): string;
|
|
2081
|
+
export declare function createPromptContentPrompts2FromJSON(jsonString: string): SafeParseResult<CreatePromptContentPrompts2, SDKValidationError>;
|
|
3295
2082
|
/** @internal */
|
|
3296
|
-
export declare const
|
|
2083
|
+
export declare const CreatePromptPromptsContent$inboundSchema: z.ZodType<CreatePromptPromptsContent, z.ZodTypeDef, unknown>;
|
|
3297
2084
|
/** @internal */
|
|
3298
|
-
export type
|
|
2085
|
+
export type CreatePromptPromptsContent$Outbound = string | Array<CreatePrompt2Prompts1$Outbound | CreatePrompt2Prompts2$Outbound>;
|
|
3299
2086
|
/** @internal */
|
|
3300
|
-
export declare const
|
|
2087
|
+
export declare const CreatePromptPromptsContent$outboundSchema: z.ZodType<CreatePromptPromptsContent$Outbound, z.ZodTypeDef, CreatePromptPromptsContent>;
|
|
3301
2088
|
/**
|
|
3302
2089
|
* @internal
|
|
3303
2090
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3304
2091
|
*/
|
|
3305
|
-
export declare namespace
|
|
3306
|
-
/** @deprecated use `
|
|
3307
|
-
const inboundSchema: z.ZodType<
|
|
3308
|
-
/** @deprecated use `
|
|
3309
|
-
const outboundSchema: z.ZodType<
|
|
3310
|
-
/** @deprecated use `
|
|
3311
|
-
type Outbound =
|
|
2092
|
+
export declare namespace CreatePromptPromptsContent$ {
|
|
2093
|
+
/** @deprecated use `CreatePromptPromptsContent$inboundSchema` instead. */
|
|
2094
|
+
const inboundSchema: z.ZodType<CreatePromptPromptsContent, z.ZodTypeDef, unknown>;
|
|
2095
|
+
/** @deprecated use `CreatePromptPromptsContent$outboundSchema` instead. */
|
|
2096
|
+
const outboundSchema: z.ZodType<CreatePromptPromptsContent$Outbound, z.ZodTypeDef, CreatePromptPromptsContent>;
|
|
2097
|
+
/** @deprecated use `CreatePromptPromptsContent$Outbound` instead. */
|
|
2098
|
+
type Outbound = CreatePromptPromptsContent$Outbound;
|
|
3312
2099
|
}
|
|
3313
|
-
export declare function
|
|
3314
|
-
export declare function
|
|
2100
|
+
export declare function createPromptPromptsContentToJSON(createPromptPromptsContent: CreatePromptPromptsContent): string;
|
|
2101
|
+
export declare function createPromptPromptsContentFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsContent, SDKValidationError>;
|
|
3315
2102
|
/** @internal */
|
|
3316
|
-
export declare const
|
|
2103
|
+
export declare const CreatePromptPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponseType>;
|
|
3317
2104
|
/** @internal */
|
|
3318
|
-
export declare const
|
|
2105
|
+
export declare const CreatePromptPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponseType>;
|
|
3319
2106
|
/**
|
|
3320
2107
|
* @internal
|
|
3321
2108
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3322
2109
|
*/
|
|
3323
|
-
export declare namespace
|
|
3324
|
-
/** @deprecated use `
|
|
2110
|
+
export declare namespace CreatePromptPromptsResponseType$ {
|
|
2111
|
+
/** @deprecated use `CreatePromptPromptsResponseType$inboundSchema` instead. */
|
|
3325
2112
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3326
2113
|
readonly Function: "function";
|
|
3327
2114
|
}>;
|
|
3328
|
-
/** @deprecated use `
|
|
2115
|
+
/** @deprecated use `CreatePromptPromptsResponseType$outboundSchema` instead. */
|
|
3329
2116
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3330
2117
|
readonly Function: "function";
|
|
3331
2118
|
}>;
|
|
3332
2119
|
}
|
|
3333
2120
|
/** @internal */
|
|
3334
|
-
export declare const
|
|
2121
|
+
export declare const CreatePromptPromptsFunction$inboundSchema: z.ZodType<CreatePromptPromptsFunction, z.ZodTypeDef, unknown>;
|
|
3335
2122
|
/** @internal */
|
|
3336
|
-
export type
|
|
2123
|
+
export type CreatePromptPromptsFunction$Outbound = {
|
|
3337
2124
|
name: string;
|
|
3338
2125
|
arguments: string;
|
|
3339
2126
|
};
|
|
3340
2127
|
/** @internal */
|
|
3341
|
-
export declare const
|
|
2128
|
+
export declare const CreatePromptPromptsFunction$outboundSchema: z.ZodType<CreatePromptPromptsFunction$Outbound, z.ZodTypeDef, CreatePromptPromptsFunction>;
|
|
3342
2129
|
/**
|
|
3343
2130
|
* @internal
|
|
3344
2131
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3345
2132
|
*/
|
|
3346
|
-
export declare namespace
|
|
3347
|
-
/** @deprecated use `
|
|
3348
|
-
const inboundSchema: z.ZodType<
|
|
3349
|
-
/** @deprecated use `
|
|
3350
|
-
const outboundSchema: z.ZodType<
|
|
3351
|
-
/** @deprecated use `
|
|
3352
|
-
type Outbound =
|
|
2133
|
+
export declare namespace CreatePromptPromptsFunction$ {
|
|
2134
|
+
/** @deprecated use `CreatePromptPromptsFunction$inboundSchema` instead. */
|
|
2135
|
+
const inboundSchema: z.ZodType<CreatePromptPromptsFunction, z.ZodTypeDef, unknown>;
|
|
2136
|
+
/** @deprecated use `CreatePromptPromptsFunction$outboundSchema` instead. */
|
|
2137
|
+
const outboundSchema: z.ZodType<CreatePromptPromptsFunction$Outbound, z.ZodTypeDef, CreatePromptPromptsFunction>;
|
|
2138
|
+
/** @deprecated use `CreatePromptPromptsFunction$Outbound` instead. */
|
|
2139
|
+
type Outbound = CreatePromptPromptsFunction$Outbound;
|
|
3353
2140
|
}
|
|
3354
|
-
export declare function
|
|
3355
|
-
export declare function
|
|
2141
|
+
export declare function createPromptPromptsFunctionToJSON(createPromptPromptsFunction: CreatePromptPromptsFunction): string;
|
|
2142
|
+
export declare function createPromptPromptsFunctionFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsFunction, SDKValidationError>;
|
|
3356
2143
|
/** @internal */
|
|
3357
|
-
export declare const
|
|
2144
|
+
export declare const CreatePromptPromptsToolCalls$inboundSchema: z.ZodType<CreatePromptPromptsToolCalls, z.ZodTypeDef, unknown>;
|
|
3358
2145
|
/** @internal */
|
|
3359
|
-
export type
|
|
2146
|
+
export type CreatePromptPromptsToolCalls$Outbound = {
|
|
3360
2147
|
id?: string | undefined;
|
|
3361
2148
|
index?: number | undefined;
|
|
3362
2149
|
type: string;
|
|
3363
|
-
function:
|
|
2150
|
+
function: CreatePromptPromptsFunction$Outbound;
|
|
3364
2151
|
};
|
|
3365
2152
|
/** @internal */
|
|
3366
|
-
export declare const
|
|
2153
|
+
export declare const CreatePromptPromptsToolCalls$outboundSchema: z.ZodType<CreatePromptPromptsToolCalls$Outbound, z.ZodTypeDef, CreatePromptPromptsToolCalls>;
|
|
3367
2154
|
/**
|
|
3368
2155
|
* @internal
|
|
3369
2156
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3370
2157
|
*/
|
|
3371
|
-
export declare namespace
|
|
3372
|
-
/** @deprecated use `
|
|
3373
|
-
const inboundSchema: z.ZodType<
|
|
3374
|
-
/** @deprecated use `
|
|
3375
|
-
const outboundSchema: z.ZodType<
|
|
3376
|
-
/** @deprecated use `
|
|
3377
|
-
type Outbound =
|
|
2158
|
+
export declare namespace CreatePromptPromptsToolCalls$ {
|
|
2159
|
+
/** @deprecated use `CreatePromptPromptsToolCalls$inboundSchema` instead. */
|
|
2160
|
+
const inboundSchema: z.ZodType<CreatePromptPromptsToolCalls, z.ZodTypeDef, unknown>;
|
|
2161
|
+
/** @deprecated use `CreatePromptPromptsToolCalls$outboundSchema` instead. */
|
|
2162
|
+
const outboundSchema: z.ZodType<CreatePromptPromptsToolCalls$Outbound, z.ZodTypeDef, CreatePromptPromptsToolCalls>;
|
|
2163
|
+
/** @deprecated use `CreatePromptPromptsToolCalls$Outbound` instead. */
|
|
2164
|
+
type Outbound = CreatePromptPromptsToolCalls$Outbound;
|
|
3378
2165
|
}
|
|
3379
|
-
export declare function
|
|
3380
|
-
export declare function
|
|
2166
|
+
export declare function createPromptPromptsToolCallsToJSON(createPromptPromptsToolCalls: CreatePromptPromptsToolCalls): string;
|
|
2167
|
+
export declare function createPromptPromptsToolCallsFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsToolCalls, SDKValidationError>;
|
|
3381
2168
|
/** @internal */
|
|
3382
|
-
export declare const
|
|
2169
|
+
export declare const CreatePromptPromptsMessages$inboundSchema: z.ZodType<CreatePromptPromptsMessages, z.ZodTypeDef, unknown>;
|
|
3383
2170
|
/** @internal */
|
|
3384
|
-
export type
|
|
2171
|
+
export type CreatePromptPromptsMessages$Outbound = {
|
|
3385
2172
|
role: string;
|
|
3386
|
-
content: string | Array<
|
|
3387
|
-
tool_calls?: Array<
|
|
2173
|
+
content: string | Array<CreatePrompt2Prompts1$Outbound | CreatePrompt2Prompts2$Outbound>;
|
|
2174
|
+
tool_calls?: Array<CreatePromptPromptsToolCalls$Outbound> | undefined;
|
|
3388
2175
|
};
|
|
3389
2176
|
/** @internal */
|
|
3390
|
-
export declare const
|
|
2177
|
+
export declare const CreatePromptPromptsMessages$outboundSchema: z.ZodType<CreatePromptPromptsMessages$Outbound, z.ZodTypeDef, CreatePromptPromptsMessages>;
|
|
3391
2178
|
/**
|
|
3392
2179
|
* @internal
|
|
3393
2180
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3394
2181
|
*/
|
|
3395
|
-
export declare namespace
|
|
3396
|
-
/** @deprecated use `
|
|
3397
|
-
const inboundSchema: z.ZodType<
|
|
3398
|
-
/** @deprecated use `
|
|
3399
|
-
const outboundSchema: z.ZodType<
|
|
3400
|
-
/** @deprecated use `
|
|
3401
|
-
type Outbound =
|
|
2182
|
+
export declare namespace CreatePromptPromptsMessages$ {
|
|
2183
|
+
/** @deprecated use `CreatePromptPromptsMessages$inboundSchema` instead. */
|
|
2184
|
+
const inboundSchema: z.ZodType<CreatePromptPromptsMessages, z.ZodTypeDef, unknown>;
|
|
2185
|
+
/** @deprecated use `CreatePromptPromptsMessages$outboundSchema` instead. */
|
|
2186
|
+
const outboundSchema: z.ZodType<CreatePromptPromptsMessages$Outbound, z.ZodTypeDef, CreatePromptPromptsMessages>;
|
|
2187
|
+
/** @deprecated use `CreatePromptPromptsMessages$Outbound` instead. */
|
|
2188
|
+
type Outbound = CreatePromptPromptsMessages$Outbound;
|
|
3402
2189
|
}
|
|
3403
|
-
export declare function
|
|
3404
|
-
export declare function
|
|
2190
|
+
export declare function createPromptPromptsMessagesToJSON(createPromptPromptsMessages: CreatePromptPromptsMessages): string;
|
|
2191
|
+
export declare function createPromptPromptsMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsMessages, SDKValidationError>;
|
|
3405
2192
|
/** @internal */
|
|
3406
|
-
export declare const
|
|
2193
|
+
export declare const CreatePromptPromptsPromptConfig$inboundSchema: z.ZodType<CreatePromptPromptsPromptConfig, z.ZodTypeDef, unknown>;
|
|
3407
2194
|
/** @internal */
|
|
3408
|
-
export type
|
|
2195
|
+
export type CreatePromptPromptsPromptConfig$Outbound = {
|
|
3409
2196
|
stream?: boolean | undefined;
|
|
3410
2197
|
model?: string | undefined;
|
|
3411
2198
|
model_db_id?: string | undefined;
|
|
3412
2199
|
model_type?: string | undefined;
|
|
3413
|
-
model_parameters?:
|
|
2200
|
+
model_parameters?: CreatePromptPromptsModelParameters$Outbound | undefined;
|
|
3414
2201
|
provider?: string | undefined;
|
|
3415
2202
|
integration_id?: string | null | undefined;
|
|
3416
2203
|
version?: string | undefined;
|
|
3417
|
-
messages: Array<
|
|
2204
|
+
messages: Array<CreatePromptPromptsMessages$Outbound>;
|
|
3418
2205
|
};
|
|
3419
2206
|
/** @internal */
|
|
3420
|
-
export declare const
|
|
2207
|
+
export declare const CreatePromptPromptsPromptConfig$outboundSchema: z.ZodType<CreatePromptPromptsPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptsPromptConfig>;
|
|
3421
2208
|
/**
|
|
3422
2209
|
* @internal
|
|
3423
2210
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3424
2211
|
*/
|
|
3425
|
-
export declare namespace
|
|
3426
|
-
/** @deprecated use `
|
|
3427
|
-
const inboundSchema: z.ZodType<
|
|
3428
|
-
/** @deprecated use `
|
|
3429
|
-
const outboundSchema: z.ZodType<
|
|
3430
|
-
/** @deprecated use `
|
|
3431
|
-
type Outbound =
|
|
2212
|
+
export declare namespace CreatePromptPromptsPromptConfig$ {
|
|
2213
|
+
/** @deprecated use `CreatePromptPromptsPromptConfig$inboundSchema` instead. */
|
|
2214
|
+
const inboundSchema: z.ZodType<CreatePromptPromptsPromptConfig, z.ZodTypeDef, unknown>;
|
|
2215
|
+
/** @deprecated use `CreatePromptPromptsPromptConfig$outboundSchema` instead. */
|
|
2216
|
+
const outboundSchema: z.ZodType<CreatePromptPromptsPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptsPromptConfig>;
|
|
2217
|
+
/** @deprecated use `CreatePromptPromptsPromptConfig$Outbound` instead. */
|
|
2218
|
+
type Outbound = CreatePromptPromptsPromptConfig$Outbound;
|
|
3432
2219
|
}
|
|
3433
|
-
export declare function
|
|
3434
|
-
export declare function
|
|
2220
|
+
export declare function createPromptPromptsPromptConfigToJSON(createPromptPromptsPromptConfig: CreatePromptPromptsPromptConfig): string;
|
|
2221
|
+
export declare function createPromptPromptsPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsPromptConfig, SDKValidationError>;
|
|
3435
2222
|
/** @internal */
|
|
3436
|
-
export declare const
|
|
2223
|
+
export declare const CreatePromptPromptsUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsUseCases>;
|
|
3437
2224
|
/** @internal */
|
|
3438
|
-
export declare const
|
|
2225
|
+
export declare const CreatePromptPromptsUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsUseCases>;
|
|
3439
2226
|
/**
|
|
3440
2227
|
* @internal
|
|
3441
2228
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3442
2229
|
*/
|
|
3443
|
-
export declare namespace
|
|
3444
|
-
/** @deprecated use `
|
|
2230
|
+
export declare namespace CreatePromptPromptsUseCases$ {
|
|
2231
|
+
/** @deprecated use `CreatePromptPromptsUseCases$inboundSchema` instead. */
|
|
3445
2232
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3446
2233
|
readonly Agents: "Agents";
|
|
3447
2234
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -3460,7 +2247,7 @@ export declare namespace CreatePromptPromptsResponseUseCases$ {
|
|
|
3460
2247
|
readonly Summarization: "Summarization";
|
|
3461
2248
|
readonly Tagging: "Tagging";
|
|
3462
2249
|
}>;
|
|
3463
|
-
/** @deprecated use `
|
|
2250
|
+
/** @deprecated use `CreatePromptPromptsUseCases$outboundSchema` instead. */
|
|
3464
2251
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3465
2252
|
readonly Agents: "Agents";
|
|
3466
2253
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -3481,15 +2268,15 @@ export declare namespace CreatePromptPromptsResponseUseCases$ {
|
|
|
3481
2268
|
}>;
|
|
3482
2269
|
}
|
|
3483
2270
|
/** @internal */
|
|
3484
|
-
export declare const
|
|
2271
|
+
export declare const CreatePromptPromptsLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsLanguage>;
|
|
3485
2272
|
/** @internal */
|
|
3486
|
-
export declare const
|
|
2273
|
+
export declare const CreatePromptPromptsLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsLanguage>;
|
|
3487
2274
|
/**
|
|
3488
2275
|
* @internal
|
|
3489
2276
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3490
2277
|
*/
|
|
3491
|
-
export declare namespace
|
|
3492
|
-
/** @deprecated use `
|
|
2278
|
+
export declare namespace CreatePromptPromptsLanguage$ {
|
|
2279
|
+
/** @deprecated use `CreatePromptPromptsLanguage$inboundSchema` instead. */
|
|
3493
2280
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3494
2281
|
readonly Chinese: "Chinese";
|
|
3495
2282
|
readonly Dutch: "Dutch";
|
|
@@ -3499,7 +2286,7 @@ export declare namespace CreatePromptPromptsResponseLanguage$ {
|
|
|
3499
2286
|
readonly Russian: "Russian";
|
|
3500
2287
|
readonly Spanish: "Spanish";
|
|
3501
2288
|
}>;
|
|
3502
|
-
/** @deprecated use `
|
|
2289
|
+
/** @deprecated use `CreatePromptPromptsLanguage$outboundSchema` instead. */
|
|
3503
2290
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3504
2291
|
readonly Chinese: "Chinese";
|
|
3505
2292
|
readonly Dutch: "Dutch";
|
|
@@ -3511,73 +2298,44 @@ export declare namespace CreatePromptPromptsResponseLanguage$ {
|
|
|
3511
2298
|
}>;
|
|
3512
2299
|
}
|
|
3513
2300
|
/** @internal */
|
|
3514
|
-
export declare const
|
|
2301
|
+
export declare const CreatePromptPromptsMetadata$inboundSchema: z.ZodType<CreatePromptPromptsMetadata, z.ZodTypeDef, unknown>;
|
|
3515
2302
|
/** @internal */
|
|
3516
|
-
export type
|
|
2303
|
+
export type CreatePromptPromptsMetadata$Outbound = {
|
|
3517
2304
|
use_cases?: Array<string> | undefined;
|
|
3518
2305
|
language?: string | undefined;
|
|
3519
2306
|
};
|
|
3520
2307
|
/** @internal */
|
|
3521
|
-
export declare const
|
|
3522
|
-
/**
|
|
3523
|
-
* @internal
|
|
3524
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3525
|
-
*/
|
|
3526
|
-
export declare namespace CreatePromptPromptsResponseMetadata$ {
|
|
3527
|
-
/** @deprecated use `CreatePromptPromptsResponseMetadata$inboundSchema` instead. */
|
|
3528
|
-
const inboundSchema: z.ZodType<CreatePromptPromptsResponseMetadata, z.ZodTypeDef, unknown>;
|
|
3529
|
-
/** @deprecated use `CreatePromptPromptsResponseMetadata$outboundSchema` instead. */
|
|
3530
|
-
const outboundSchema: z.ZodType<CreatePromptPromptsResponseMetadata$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseMetadata>;
|
|
3531
|
-
/** @deprecated use `CreatePromptPromptsResponseMetadata$Outbound` instead. */
|
|
3532
|
-
type Outbound = CreatePromptPromptsResponseMetadata$Outbound;
|
|
3533
|
-
}
|
|
3534
|
-
export declare function createPromptPromptsResponseMetadataToJSON(createPromptPromptsResponseMetadata: CreatePromptPromptsResponseMetadata): string;
|
|
3535
|
-
export declare function createPromptPromptsResponseMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsResponseMetadata, SDKValidationError>;
|
|
3536
|
-
/** @internal */
|
|
3537
|
-
export declare const CreatePromptVersions$inboundSchema: z.ZodType<CreatePromptVersions, z.ZodTypeDef, unknown>;
|
|
3538
|
-
/** @internal */
|
|
3539
|
-
export type CreatePromptVersions$Outbound = {
|
|
3540
|
-
_id: string;
|
|
3541
|
-
created_by_id?: string | undefined;
|
|
3542
|
-
updated_by_id?: string | undefined;
|
|
3543
|
-
description?: string | null | undefined;
|
|
3544
|
-
prompt_config: CreatePromptPromptsResponsePromptConfig$Outbound;
|
|
3545
|
-
metadata: CreatePromptPromptsResponseMetadata$Outbound;
|
|
3546
|
-
timestamp: string;
|
|
3547
|
-
};
|
|
3548
|
-
/** @internal */
|
|
3549
|
-
export declare const CreatePromptVersions$outboundSchema: z.ZodType<CreatePromptVersions$Outbound, z.ZodTypeDef, CreatePromptVersions>;
|
|
2308
|
+
export declare const CreatePromptPromptsMetadata$outboundSchema: z.ZodType<CreatePromptPromptsMetadata$Outbound, z.ZodTypeDef, CreatePromptPromptsMetadata>;
|
|
3550
2309
|
/**
|
|
3551
2310
|
* @internal
|
|
3552
2311
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3553
2312
|
*/
|
|
3554
|
-
export declare namespace
|
|
3555
|
-
/** @deprecated use `
|
|
3556
|
-
const inboundSchema: z.ZodType<
|
|
3557
|
-
/** @deprecated use `
|
|
3558
|
-
const outboundSchema: z.ZodType<
|
|
3559
|
-
/** @deprecated use `
|
|
3560
|
-
type Outbound =
|
|
2313
|
+
export declare namespace CreatePromptPromptsMetadata$ {
|
|
2314
|
+
/** @deprecated use `CreatePromptPromptsMetadata$inboundSchema` instead. */
|
|
2315
|
+
const inboundSchema: z.ZodType<CreatePromptPromptsMetadata, z.ZodTypeDef, unknown>;
|
|
2316
|
+
/** @deprecated use `CreatePromptPromptsMetadata$outboundSchema` instead. */
|
|
2317
|
+
const outboundSchema: z.ZodType<CreatePromptPromptsMetadata$Outbound, z.ZodTypeDef, CreatePromptPromptsMetadata>;
|
|
2318
|
+
/** @deprecated use `CreatePromptPromptsMetadata$Outbound` instead. */
|
|
2319
|
+
type Outbound = CreatePromptPromptsMetadata$Outbound;
|
|
3561
2320
|
}
|
|
3562
|
-
export declare function
|
|
3563
|
-
export declare function
|
|
2321
|
+
export declare function createPromptPromptsMetadataToJSON(createPromptPromptsMetadata: CreatePromptPromptsMetadata): string;
|
|
2322
|
+
export declare function createPromptPromptsMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsMetadata, SDKValidationError>;
|
|
3564
2323
|
/** @internal */
|
|
3565
2324
|
export declare const CreatePromptResponseBody$inboundSchema: z.ZodType<CreatePromptResponseBody, z.ZodTypeDef, unknown>;
|
|
3566
2325
|
/** @internal */
|
|
3567
2326
|
export type CreatePromptResponseBody$Outbound = {
|
|
3568
2327
|
_id: string;
|
|
3569
|
-
|
|
2328
|
+
type: string;
|
|
2329
|
+
owner: string;
|
|
3570
2330
|
domain_id: string;
|
|
2331
|
+
created: string;
|
|
2332
|
+
updated: string;
|
|
3571
2333
|
created_by_id?: string | undefined;
|
|
3572
|
-
display_name: string;
|
|
3573
2334
|
updated_by_id?: string | undefined;
|
|
2335
|
+
display_name: string;
|
|
3574
2336
|
description?: string | null | undefined;
|
|
3575
2337
|
prompt_config: CreatePromptPromptsPromptConfig$Outbound;
|
|
3576
|
-
metadata
|
|
3577
|
-
created?: string | undefined;
|
|
3578
|
-
updated: string;
|
|
3579
|
-
type: string;
|
|
3580
|
-
versions: Array<CreatePromptVersions$Outbound>;
|
|
2338
|
+
metadata?: CreatePromptPromptsMetadata$Outbound | undefined;
|
|
3581
2339
|
};
|
|
3582
2340
|
/** @internal */
|
|
3583
2341
|
export declare const CreatePromptResponseBody$outboundSchema: z.ZodType<CreatePromptResponseBody$Outbound, z.ZodTypeDef, CreatePromptResponseBody>;
|