@orq-ai/node 3.1.0-rc.54 → 3.1.0-rc.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/docs/sdks/prompts/README.md +182 -25
- package/funcs/contactsCreate.d.ts.map +1 -1
- package/funcs/contactsCreate.js +0 -4
- package/funcs/contactsCreate.js.map +1 -1
- package/funcs/deploymentsGetConfig.d.ts.map +1 -1
- package/funcs/deploymentsGetConfig.js +0 -4
- package/funcs/deploymentsGetConfig.js.map +1 -1
- package/funcs/deploymentsList.d.ts.map +1 -1
- package/funcs/deploymentsList.js +0 -4
- package/funcs/deploymentsList.js.map +1 -1
- package/funcs/deploymentsMetricsCreate.d.ts.map +1 -1
- package/funcs/deploymentsMetricsCreate.js +0 -4
- package/funcs/deploymentsMetricsCreate.js.map +1 -1
- package/funcs/feedbackCreate.d.ts.map +1 -1
- package/funcs/feedbackCreate.js +0 -4
- package/funcs/feedbackCreate.js.map +1 -1
- package/funcs/filesDelete.d.ts.map +1 -1
- package/funcs/filesDelete.js +0 -4
- package/funcs/filesDelete.js.map +1 -1
- package/funcs/filesGet.d.ts.map +1 -1
- package/funcs/filesGet.js +0 -4
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesList.d.ts.map +1 -1
- package/funcs/filesList.js +0 -4
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpload.d.ts.map +1 -1
- package/funcs/filesUpload.js +0 -4
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/promptSnippetsCreate.d.ts.map +1 -1
- package/funcs/promptSnippetsCreate.js +0 -4
- package/funcs/promptSnippetsCreate.js.map +1 -1
- package/funcs/promptSnippetsDelete.d.ts.map +1 -1
- package/funcs/promptSnippetsDelete.js +0 -4
- package/funcs/promptSnippetsDelete.js.map +1 -1
- package/funcs/promptSnippetsGet.d.ts.map +1 -1
- package/funcs/promptSnippetsGet.js +0 -4
- package/funcs/promptSnippetsGet.js.map +1 -1
- package/funcs/promptSnippetsGetByKey.d.ts.map +1 -1
- package/funcs/promptSnippetsGetByKey.js +0 -4
- package/funcs/promptSnippetsGetByKey.js.map +1 -1
- package/funcs/promptSnippetsList.d.ts.map +1 -1
- package/funcs/promptSnippetsList.js +0 -4
- package/funcs/promptSnippetsList.js.map +1 -1
- package/funcs/promptSnippetsUpdate.d.ts.map +1 -1
- package/funcs/promptSnippetsUpdate.js +0 -4
- package/funcs/promptSnippetsUpdate.js.map +1 -1
- package/funcs/promptsCreate.d.ts.map +1 -1
- package/funcs/promptsCreate.js +0 -4
- package/funcs/promptsCreate.js.map +1 -1
- package/funcs/promptsDelete.d.ts.map +1 -1
- package/funcs/promptsDelete.js +0 -4
- package/funcs/promptsDelete.js.map +1 -1
- package/funcs/promptsGetVersion.d.ts +16 -0
- package/funcs/promptsGetVersion.d.ts.map +1 -0
- package/funcs/promptsGetVersion.js +120 -0
- package/funcs/promptsGetVersion.js.map +1 -0
- package/funcs/promptsList.d.ts +3 -0
- package/funcs/promptsList.d.ts.map +1 -1
- package/funcs/promptsList.js +3 -4
- package/funcs/promptsList.js.map +1 -1
- package/funcs/promptsListVersions.d.ts +15 -0
- package/funcs/promptsListVersions.d.ts.map +1 -0
- package/funcs/promptsListVersions.js +118 -0
- package/funcs/promptsListVersions.js.map +1 -0
- package/funcs/{promptsGet.d.ts → promptsRetrieve.d.ts} +5 -2
- package/funcs/promptsRetrieve.d.ts.map +1 -0
- package/funcs/{promptsGet.js → promptsRetrieve.js} +6 -7
- package/funcs/promptsRetrieve.js.map +1 -0
- package/funcs/promptsUpdate.d.ts.map +1 -1
- package/funcs/promptsUpdate.js +0 -4
- package/funcs/promptsUpdate.js.map +1 -1
- package/funcs/remoteconfigGetConfig.d.ts.map +1 -1
- package/funcs/remoteconfigGetConfig.js +0 -4
- package/funcs/remoteconfigGetConfig.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/errors/getpromptversion.d.ts +36 -0
- package/models/errors/getpromptversion.d.ts.map +1 -0
- package/models/errors/getpromptversion.js +79 -0
- package/models/errors/getpromptversion.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/createcontact.d.ts +0 -25
- package/models/operations/createcontact.d.ts.map +1 -1
- package/models/operations/createcontact.js +3 -30
- package/models/operations/createcontact.js.map +1 -1
- package/models/operations/createfeedback.d.ts +0 -25
- package/models/operations/createfeedback.d.ts.map +1 -1
- package/models/operations/createfeedback.js +1 -28
- package/models/operations/createfeedback.js.map +1 -1
- package/models/operations/createprompt.d.ts +690 -1932
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +49 -1105
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createpromptsnippet.d.ts +0 -25
- package/models/operations/createpromptsnippet.d.ts.map +1 -1
- package/models/operations/createpromptsnippet.js +9 -36
- package/models/operations/createpromptsnippet.js.map +1 -1
- package/models/operations/deleteprompt.d.ts +0 -25
- package/models/operations/deleteprompt.d.ts.map +1 -1
- package/models/operations/deleteprompt.js +1 -28
- package/models/operations/deleteprompt.js.map +1 -1
- package/models/operations/deletepromptsnippet.d.ts +0 -25
- package/models/operations/deletepromptsnippet.d.ts.map +1 -1
- package/models/operations/deletepromptsnippet.js +1 -28
- package/models/operations/deletepromptsnippet.js.map +1 -1
- package/models/operations/deploymentcreatemetric.d.ts +0 -25
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +2 -29
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +0 -25
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +4 -31
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +0 -25
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +3 -30
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/filedelete.d.ts +0 -25
- package/models/operations/filedelete.d.ts.map +1 -1
- package/models/operations/filedelete.js +1 -28
- package/models/operations/filedelete.js.map +1 -1
- package/models/operations/fileget.d.ts +0 -25
- package/models/operations/fileget.d.ts.map +1 -1
- package/models/operations/fileget.js +3 -30
- package/models/operations/fileget.js.map +1 -1
- package/models/operations/filelist.d.ts +0 -25
- package/models/operations/filelist.d.ts.map +1 -1
- package/models/operations/filelist.js +3 -30
- package/models/operations/filelist.js.map +1 -1
- package/models/operations/fileupload.d.ts +0 -25
- package/models/operations/fileupload.d.ts.map +1 -1
- package/models/operations/fileupload.js +3 -30
- package/models/operations/fileupload.js.map +1 -1
- package/models/operations/findonebykeypromptsnippet.d.ts +0 -25
- package/models/operations/findonebykeypromptsnippet.d.ts.map +1 -1
- package/models/operations/findonebykeypromptsnippet.js +7 -34
- package/models/operations/findonebykeypromptsnippet.js.map +1 -1
- package/models/operations/findonepromptsnippet.d.ts +0 -25
- package/models/operations/findonepromptsnippet.d.ts.map +1 -1
- package/models/operations/findonepromptsnippet.js +7 -34
- package/models/operations/findonepromptsnippet.js.map +1 -1
- package/models/operations/getallprompts.d.ts +426 -1671
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +47 -1099
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getallpromptsnippets.d.ts +0 -25
- package/models/operations/getallpromptsnippets.d.ts.map +1 -1
- package/models/operations/getallpromptsnippets.js +7 -34
- package/models/operations/getallpromptsnippets.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +0 -25
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -28
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1228 -0
- package/models/operations/getpromptversion.d.ts.map +1 -0
- package/models/operations/getpromptversion.js +1080 -0
- package/models/operations/getpromptversion.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listpromptversions.d.ts +1286 -0
- package/models/operations/listpromptversions.d.ts.map +1 -0
- package/models/operations/listpromptversions.js +1142 -0
- package/models/operations/listpromptversions.js.map +1 -0
- package/models/operations/remoteconfigsgetconfig.d.ts +0 -25
- package/models/operations/remoteconfigsgetconfig.d.ts.map +1 -1
- package/models/operations/remoteconfigsgetconfig.js +1 -28
- package/models/operations/remoteconfigsgetconfig.js.map +1 -1
- package/models/operations/updateprompt.d.ts +728 -1958
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +67 -1105
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatepromptsnippet.d.ts +0 -25
- package/models/operations/updatepromptsnippet.d.ts.map +1 -1
- package/models/operations/updatepromptsnippet.js +9 -36
- package/models/operations/updatepromptsnippet.js.map +1 -1
- package/package.json +1 -1
- package/sdk/prompts.d.ts +24 -4
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +33 -7
- package/sdk/prompts.js.map +1 -1
- package/src/funcs/contactsCreate.ts +1 -5
- package/src/funcs/deploymentsGetConfig.ts +1 -5
- package/src/funcs/deploymentsList.ts +1 -5
- package/src/funcs/deploymentsMetricsCreate.ts +0 -4
- package/src/funcs/feedbackCreate.ts +1 -5
- package/src/funcs/filesDelete.ts +0 -4
- package/src/funcs/filesGet.ts +0 -4
- package/src/funcs/filesList.ts +1 -5
- package/src/funcs/filesUpload.ts +1 -5
- package/src/funcs/promptSnippetsCreate.ts +1 -5
- package/src/funcs/promptSnippetsDelete.ts +0 -4
- package/src/funcs/promptSnippetsGet.ts +0 -4
- package/src/funcs/promptSnippetsGetByKey.ts +0 -4
- package/src/funcs/promptSnippetsList.ts +1 -5
- package/src/funcs/promptSnippetsUpdate.ts +0 -4
- package/src/funcs/promptsCreate.ts +1 -5
- package/src/funcs/promptsDelete.ts +0 -4
- package/src/funcs/promptsGetVersion.ts +146 -0
- package/src/funcs/promptsList.ts +4 -5
- package/src/funcs/promptsListVersions.ts +139 -0
- package/src/funcs/{promptsGet.ts → promptsRetrieve.ts} +4 -5
- package/src/funcs/promptsUpdate.ts +0 -4
- package/src/funcs/remoteconfigGetConfig.ts +1 -5
- package/src/lib/config.ts +2 -2
- package/src/models/errors/getpromptversion.ts +71 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/createcontact.ts +2 -60
- package/src/models/operations/createfeedback.ts +0 -58
- package/src/models/operations/createprompt.ts +1375 -3592
- package/src/models/operations/createpromptsnippet.ts +2 -60
- package/src/models/operations/deleteprompt.ts +0 -58
- package/src/models/operations/deletepromptsnippet.ts +0 -58
- package/src/models/operations/deploymentcreatemetric.ts +0 -60
- package/src/models/operations/deploymentgetconfig.ts +0 -58
- package/src/models/operations/deployments.ts +0 -58
- package/src/models/operations/filedelete.ts +0 -58
- package/src/models/operations/fileget.ts +2 -56
- package/src/models/operations/filelist.ts +2 -58
- package/src/models/operations/fileupload.ts +2 -60
- package/src/models/operations/findonebykeypromptsnippet.ts +2 -62
- package/src/models/operations/findonepromptsnippet.ts +2 -62
- package/src/models/operations/getallprompts.ts +732 -2826
- package/src/models/operations/getallpromptsnippets.ts +2 -62
- package/src/models/operations/getoneprompt.ts +0 -58
- package/src/models/operations/getpromptversion.ts +2012 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listpromptversions.ts +2146 -0
- package/src/models/operations/remoteconfigsgetconfig.ts +0 -60
- package/src/models/operations/updateprompt.ts +1544 -3731
- package/src/models/operations/updatepromptsnippet.ts +2 -60
- package/src/sdk/prompts.ts +53 -11
- package/funcs/promptsGet.d.ts.map +0 -1
- package/funcs/promptsGet.js.map +0 -1
|
@@ -2,9 +2,6 @@ import * as z from "zod";
|
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
export type UpdatePromptGlobals = {
|
|
6
|
-
contactId?: string | undefined;
|
|
7
|
-
};
|
|
8
5
|
/**
|
|
9
6
|
* The type of the model
|
|
10
7
|
*/
|
|
@@ -359,6 +356,12 @@ export type UpdatePromptMetadata = {
|
|
|
359
356
|
language?: UpdatePromptLanguage | undefined;
|
|
360
357
|
};
|
|
361
358
|
export type UpdatePromptRequestBody = {
|
|
359
|
+
owner?: string | undefined;
|
|
360
|
+
domainId?: string | undefined;
|
|
361
|
+
created?: string | undefined;
|
|
362
|
+
updated?: string | undefined;
|
|
363
|
+
createdById?: string | undefined;
|
|
364
|
+
updatedById?: string | undefined;
|
|
362
365
|
/**
|
|
363
366
|
* The prompt’s name, meant to be displayable in the UI.
|
|
364
367
|
*/
|
|
@@ -380,11 +383,10 @@ export type UpdatePromptRequest = {
|
|
|
380
383
|
id: string;
|
|
381
384
|
requestBody?: UpdatePromptRequestBody | undefined;
|
|
382
385
|
};
|
|
383
|
-
export declare const
|
|
384
|
-
readonly
|
|
386
|
+
export declare const UpdatePromptPromptsType: {
|
|
387
|
+
readonly Prompt: "prompt";
|
|
385
388
|
};
|
|
386
|
-
export type
|
|
387
|
-
export type UpdatePromptOwner = string | UpdatePromptOwner2;
|
|
389
|
+
export type UpdatePromptPromptsType = ClosedEnum<typeof UpdatePromptPromptsType>;
|
|
388
390
|
/**
|
|
389
391
|
* The type of the model
|
|
390
392
|
*/
|
|
@@ -750,1547 +752,293 @@ export type UpdatePromptPromptsMetadata = {
|
|
|
750
752
|
*/
|
|
751
753
|
language?: UpdatePromptPromptsLanguage | undefined;
|
|
752
754
|
};
|
|
753
|
-
export declare const UpdatePromptPromptsType: {
|
|
754
|
-
readonly Prompt: "prompt";
|
|
755
|
-
};
|
|
756
|
-
export type UpdatePromptPromptsType = ClosedEnum<typeof UpdatePromptPromptsType>;
|
|
757
755
|
/**
|
|
758
|
-
*
|
|
756
|
+
* Prompt updated.
|
|
759
757
|
*/
|
|
760
|
-
export
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
758
|
+
export type UpdatePromptResponseBody = {
|
|
759
|
+
id: string;
|
|
760
|
+
type: UpdatePromptPromptsType;
|
|
761
|
+
owner: string;
|
|
762
|
+
domainId: string;
|
|
763
|
+
created: string;
|
|
764
|
+
updated: string;
|
|
765
|
+
createdById?: string | undefined;
|
|
766
|
+
updatedById?: string | undefined;
|
|
767
|
+
/**
|
|
768
|
+
* The prompt’s name, meant to be displayable in the UI.
|
|
769
|
+
*/
|
|
770
|
+
displayName: string;
|
|
771
|
+
/**
|
|
772
|
+
* 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
|
|
773
|
+
*/
|
|
774
|
+
description?: string | null | undefined;
|
|
775
|
+
/**
|
|
776
|
+
* A list of messages compatible with the openAI schema
|
|
777
|
+
*/
|
|
778
|
+
promptConfig: UpdatePromptPromptsPromptConfig;
|
|
779
|
+
metadata?: UpdatePromptPromptsMetadata | undefined;
|
|
770
780
|
};
|
|
781
|
+
/** @internal */
|
|
782
|
+
export declare const UpdatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptModelType>;
|
|
783
|
+
/** @internal */
|
|
784
|
+
export declare const UpdatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptModelType>;
|
|
771
785
|
/**
|
|
772
|
-
*
|
|
786
|
+
* @internal
|
|
787
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
773
788
|
*/
|
|
774
|
-
export
|
|
789
|
+
export declare namespace UpdatePromptModelType$ {
|
|
790
|
+
/** @deprecated use `UpdatePromptModelType$inboundSchema` instead. */
|
|
791
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
792
|
+
readonly Chat: "chat";
|
|
793
|
+
readonly Completion: "completion";
|
|
794
|
+
readonly Embedding: "embedding";
|
|
795
|
+
readonly Vision: "vision";
|
|
796
|
+
readonly Image: "image";
|
|
797
|
+
readonly Tts: "tts";
|
|
798
|
+
readonly Stt: "stt";
|
|
799
|
+
readonly Rerank: "rerank";
|
|
800
|
+
readonly Moderations: "moderations";
|
|
801
|
+
}>;
|
|
802
|
+
/** @deprecated use `UpdatePromptModelType$outboundSchema` instead. */
|
|
803
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
804
|
+
readonly Chat: "chat";
|
|
805
|
+
readonly Completion: "completion";
|
|
806
|
+
readonly Embedding: "embedding";
|
|
807
|
+
readonly Vision: "vision";
|
|
808
|
+
readonly Image: "image";
|
|
809
|
+
readonly Tts: "tts";
|
|
810
|
+
readonly Stt: "stt";
|
|
811
|
+
readonly Rerank: "rerank";
|
|
812
|
+
readonly Moderations: "moderations";
|
|
813
|
+
}>;
|
|
814
|
+
}
|
|
815
|
+
/** @internal */
|
|
816
|
+
export declare const UpdatePromptFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptFormat>;
|
|
817
|
+
/** @internal */
|
|
818
|
+
export declare const UpdatePromptFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptFormat>;
|
|
775
819
|
/**
|
|
776
|
-
*
|
|
820
|
+
* @internal
|
|
821
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
777
822
|
*/
|
|
778
|
-
export declare
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
823
|
+
export declare namespace UpdatePromptFormat$ {
|
|
824
|
+
/** @deprecated use `UpdatePromptFormat$inboundSchema` instead. */
|
|
825
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
826
|
+
readonly Url: "url";
|
|
827
|
+
readonly B64Json: "b64_json";
|
|
828
|
+
readonly Text: "text";
|
|
829
|
+
readonly JsonObject: "json_object";
|
|
830
|
+
}>;
|
|
831
|
+
/** @deprecated use `UpdatePromptFormat$outboundSchema` instead. */
|
|
832
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
833
|
+
readonly Url: "url";
|
|
834
|
+
readonly B64Json: "b64_json";
|
|
835
|
+
readonly Text: "text";
|
|
836
|
+
readonly JsonObject: "json_object";
|
|
837
|
+
}>;
|
|
838
|
+
}
|
|
839
|
+
/** @internal */
|
|
840
|
+
export declare const UpdatePromptQuality$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptQuality>;
|
|
841
|
+
/** @internal */
|
|
842
|
+
export declare const UpdatePromptQuality$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptQuality>;
|
|
784
843
|
/**
|
|
785
|
-
*
|
|
844
|
+
* @internal
|
|
845
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
786
846
|
*/
|
|
787
|
-
export
|
|
847
|
+
export declare namespace UpdatePromptQuality$ {
|
|
848
|
+
/** @deprecated use `UpdatePromptQuality$inboundSchema` instead. */
|
|
849
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
850
|
+
readonly Standard: "standard";
|
|
851
|
+
readonly Hd: "hd";
|
|
852
|
+
}>;
|
|
853
|
+
/** @deprecated use `UpdatePromptQuality$outboundSchema` instead. */
|
|
854
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
855
|
+
readonly Standard: "standard";
|
|
856
|
+
readonly Hd: "hd";
|
|
857
|
+
}>;
|
|
858
|
+
}
|
|
859
|
+
/** @internal */
|
|
860
|
+
export declare const UpdatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
861
|
+
/** @internal */
|
|
862
|
+
export declare const UpdatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
788
863
|
/**
|
|
789
|
-
*
|
|
864
|
+
* @internal
|
|
865
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
790
866
|
*/
|
|
791
|
-
export declare
|
|
792
|
-
|
|
793
|
-
|
|
867
|
+
export declare namespace UpdatePromptResponseFormatPromptsType$ {
|
|
868
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsType$inboundSchema` instead. */
|
|
869
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
870
|
+
readonly JsonObject: "json_object";
|
|
871
|
+
}>;
|
|
872
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsType$outboundSchema` instead. */
|
|
873
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
874
|
+
readonly JsonObject: "json_object";
|
|
875
|
+
}>;
|
|
876
|
+
}
|
|
877
|
+
/** @internal */
|
|
878
|
+
export declare const UpdatePromptResponseFormat2$inboundSchema: z.ZodType<UpdatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
879
|
+
/** @internal */
|
|
880
|
+
export type UpdatePromptResponseFormat2$Outbound = {
|
|
881
|
+
type: string;
|
|
794
882
|
};
|
|
883
|
+
/** @internal */
|
|
884
|
+
export declare const UpdatePromptResponseFormat2$outboundSchema: z.ZodType<UpdatePromptResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat2>;
|
|
795
885
|
/**
|
|
796
|
-
*
|
|
886
|
+
* @internal
|
|
887
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
797
888
|
*/
|
|
798
|
-
export
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
type
|
|
805
|
-
}
|
|
806
|
-
export declare
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
export
|
|
810
|
-
|
|
889
|
+
export declare namespace UpdatePromptResponseFormat2$ {
|
|
890
|
+
/** @deprecated use `UpdatePromptResponseFormat2$inboundSchema` instead. */
|
|
891
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
892
|
+
/** @deprecated use `UpdatePromptResponseFormat2$outboundSchema` instead. */
|
|
893
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat2>;
|
|
894
|
+
/** @deprecated use `UpdatePromptResponseFormat2$Outbound` instead. */
|
|
895
|
+
type Outbound = UpdatePromptResponseFormat2$Outbound;
|
|
896
|
+
}
|
|
897
|
+
export declare function updatePromptResponseFormat2ToJSON(updatePromptResponseFormat2: UpdatePromptResponseFormat2): string;
|
|
898
|
+
export declare function updatePromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat2, SDKValidationError>;
|
|
899
|
+
/** @internal */
|
|
900
|
+
export declare const UpdatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatType>;
|
|
901
|
+
/** @internal */
|
|
902
|
+
export declare const UpdatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatType>;
|
|
903
|
+
/**
|
|
904
|
+
* @internal
|
|
905
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
906
|
+
*/
|
|
907
|
+
export declare namespace UpdatePromptResponseFormatType$ {
|
|
908
|
+
/** @deprecated use `UpdatePromptResponseFormatType$inboundSchema` instead. */
|
|
909
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
910
|
+
readonly JsonSchema: "json_schema";
|
|
911
|
+
}>;
|
|
912
|
+
/** @deprecated use `UpdatePromptResponseFormatType$outboundSchema` instead. */
|
|
913
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
914
|
+
readonly JsonSchema: "json_schema";
|
|
915
|
+
}>;
|
|
916
|
+
}
|
|
917
|
+
/** @internal */
|
|
918
|
+
export declare const UpdatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
919
|
+
/** @internal */
|
|
920
|
+
export type UpdatePromptResponseFormatJsonSchema$Outbound = {
|
|
811
921
|
name: string;
|
|
812
922
|
strict: boolean;
|
|
813
923
|
schema: {
|
|
814
924
|
[k: string]: any;
|
|
815
925
|
};
|
|
816
926
|
};
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
jsonSchema: UpdatePromptResponseFormatPromptsResponseJsonSchema;
|
|
820
|
-
};
|
|
821
|
-
/**
|
|
822
|
-
* An object specifying the format that the model must output.
|
|
823
|
-
*
|
|
824
|
-
* @remarks
|
|
825
|
-
*
|
|
826
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
827
|
-
*
|
|
828
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
829
|
-
*
|
|
830
|
-
* 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.
|
|
831
|
-
*/
|
|
832
|
-
export type UpdatePromptPromptsResponseResponseFormat = UpdatePromptResponseFormatPromptsResponse2 | UpdatePromptResponseFormatPromptsResponse1;
|
|
833
|
-
/**
|
|
834
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
835
|
-
*/
|
|
836
|
-
export declare const UpdatePromptPromptsResponsePhotoRealVersion: {
|
|
837
|
-
readonly V1: "v1";
|
|
838
|
-
readonly V2: "v2";
|
|
839
|
-
};
|
|
840
|
-
/**
|
|
841
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
842
|
-
*/
|
|
843
|
-
export type UpdatePromptPromptsResponsePhotoRealVersion = ClosedEnum<typeof UpdatePromptPromptsResponsePhotoRealVersion>;
|
|
927
|
+
/** @internal */
|
|
928
|
+
export declare const UpdatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatJsonSchema>;
|
|
844
929
|
/**
|
|
845
|
-
*
|
|
930
|
+
* @internal
|
|
931
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
846
932
|
*/
|
|
847
|
-
export declare
|
|
848
|
-
|
|
849
|
-
|
|
933
|
+
export declare namespace UpdatePromptResponseFormatJsonSchema$ {
|
|
934
|
+
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$inboundSchema` instead. */
|
|
935
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
936
|
+
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$outboundSchema` instead. */
|
|
937
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatJsonSchema>;
|
|
938
|
+
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$Outbound` instead. */
|
|
939
|
+
type Outbound = UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
940
|
+
}
|
|
941
|
+
export declare function updatePromptResponseFormatJsonSchemaToJSON(updatePromptResponseFormatJsonSchema: UpdatePromptResponseFormatJsonSchema): string;
|
|
942
|
+
export declare function updatePromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatJsonSchema, SDKValidationError>;
|
|
943
|
+
/** @internal */
|
|
944
|
+
export declare const UpdatePromptResponseFormat1$inboundSchema: z.ZodType<UpdatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
945
|
+
/** @internal */
|
|
946
|
+
export type UpdatePromptResponseFormat1$Outbound = {
|
|
947
|
+
type: string;
|
|
948
|
+
json_schema: UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
850
949
|
};
|
|
950
|
+
/** @internal */
|
|
951
|
+
export declare const UpdatePromptResponseFormat1$outboundSchema: z.ZodType<UpdatePromptResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat1>;
|
|
851
952
|
/**
|
|
852
|
-
*
|
|
953
|
+
* @internal
|
|
954
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
853
955
|
*/
|
|
854
|
-
export
|
|
956
|
+
export declare namespace UpdatePromptResponseFormat1$ {
|
|
957
|
+
/** @deprecated use `UpdatePromptResponseFormat1$inboundSchema` instead. */
|
|
958
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
959
|
+
/** @deprecated use `UpdatePromptResponseFormat1$outboundSchema` instead. */
|
|
960
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat1>;
|
|
961
|
+
/** @deprecated use `UpdatePromptResponseFormat1$Outbound` instead. */
|
|
962
|
+
type Outbound = UpdatePromptResponseFormat1$Outbound;
|
|
963
|
+
}
|
|
964
|
+
export declare function updatePromptResponseFormat1ToJSON(updatePromptResponseFormat1: UpdatePromptResponseFormat1): string;
|
|
965
|
+
export declare function updatePromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat1, SDKValidationError>;
|
|
966
|
+
/** @internal */
|
|
967
|
+
export declare const UpdatePromptResponseFormat$inboundSchema: z.ZodType<UpdatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
968
|
+
/** @internal */
|
|
969
|
+
export type UpdatePromptResponseFormat$Outbound = UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat1$Outbound;
|
|
970
|
+
/** @internal */
|
|
971
|
+
export declare const UpdatePromptResponseFormat$outboundSchema: z.ZodType<UpdatePromptResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat>;
|
|
855
972
|
/**
|
|
856
|
-
*
|
|
973
|
+
* @internal
|
|
974
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
857
975
|
*/
|
|
858
|
-
export declare
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
|
|
865
|
-
*/
|
|
866
|
-
export type UpdatePromptPromptsResponseReasoningEffort = ClosedEnum<typeof UpdatePromptPromptsResponseReasoningEffort>;
|
|
867
|
-
/**
|
|
868
|
-
* Model Parameters: Not all parameters apply to every model
|
|
869
|
-
*/
|
|
870
|
-
export type UpdatePromptPromptsResponseModelParameters = {
|
|
871
|
-
/**
|
|
872
|
-
* Only supported on `chat` and `completion` models.
|
|
873
|
-
*/
|
|
874
|
-
temperature?: number | undefined;
|
|
875
|
-
/**
|
|
876
|
-
* Only supported on `chat` and `completion` models.
|
|
877
|
-
*/
|
|
878
|
-
maxTokens?: number | undefined;
|
|
879
|
-
/**
|
|
880
|
-
* Only supported on `chat` and `completion` models.
|
|
881
|
-
*/
|
|
882
|
-
topK?: number | undefined;
|
|
883
|
-
/**
|
|
884
|
-
* Only supported on `chat` and `completion` models.
|
|
885
|
-
*/
|
|
886
|
-
topP?: number | undefined;
|
|
887
|
-
/**
|
|
888
|
-
* Only supported on `chat` and `completion` models.
|
|
889
|
-
*/
|
|
890
|
-
frequencyPenalty?: number | undefined;
|
|
891
|
-
/**
|
|
892
|
-
* Only supported on `chat` and `completion` models.
|
|
893
|
-
*/
|
|
894
|
-
presencePenalty?: number | undefined;
|
|
895
|
-
/**
|
|
896
|
-
* Only supported on `image` models.
|
|
897
|
-
*/
|
|
898
|
-
numImages?: number | undefined;
|
|
899
|
-
/**
|
|
900
|
-
* Best effort deterministic seed for the model. Currently only OpenAI models support these
|
|
901
|
-
*/
|
|
902
|
-
seed?: number | undefined;
|
|
903
|
-
/**
|
|
904
|
-
* Only supported on `image` models.
|
|
905
|
-
*/
|
|
906
|
-
format?: UpdatePromptPromptsResponse200Format | undefined;
|
|
907
|
-
/**
|
|
908
|
-
* Only supported on `image` models.
|
|
909
|
-
*/
|
|
910
|
-
dimensions?: string | undefined;
|
|
911
|
-
/**
|
|
912
|
-
* Only supported on `image` models.
|
|
913
|
-
*/
|
|
914
|
-
quality?: UpdatePromptPromptsResponseQuality | undefined;
|
|
915
|
-
/**
|
|
916
|
-
* Only supported on `image` models.
|
|
917
|
-
*/
|
|
918
|
-
style?: string | undefined;
|
|
919
|
-
/**
|
|
920
|
-
* An object specifying the format that the model must output.
|
|
921
|
-
*
|
|
922
|
-
* @remarks
|
|
923
|
-
*
|
|
924
|
-
* Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
|
|
925
|
-
*
|
|
926
|
-
* Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
|
|
927
|
-
*
|
|
928
|
-
* 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.
|
|
929
|
-
*/
|
|
930
|
-
responseFormat?: UpdatePromptResponseFormatPromptsResponse2 | UpdatePromptResponseFormatPromptsResponse1 | null | undefined;
|
|
931
|
-
/**
|
|
932
|
-
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
933
|
-
*/
|
|
934
|
-
photoRealVersion?: UpdatePromptPromptsResponsePhotoRealVersion | undefined;
|
|
935
|
-
/**
|
|
936
|
-
* The format to return the embeddings
|
|
937
|
-
*/
|
|
938
|
-
encodingFormat?: UpdatePromptPromptsResponseEncodingFormat | undefined;
|
|
939
|
-
/**
|
|
940
|
-
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
941
|
-
*/
|
|
942
|
-
reasoningEffort?: UpdatePromptPromptsResponseReasoningEffort | undefined;
|
|
943
|
-
};
|
|
944
|
-
export declare const UpdatePromptPromptsResponseProvider: {
|
|
945
|
-
readonly Cohere: "cohere";
|
|
946
|
-
readonly Openai: "openai";
|
|
947
|
-
readonly Anthropic: "anthropic";
|
|
948
|
-
readonly Huggingface: "huggingface";
|
|
949
|
-
readonly Replicate: "replicate";
|
|
950
|
-
readonly Google: "google";
|
|
951
|
-
readonly GoogleAi: "google-ai";
|
|
952
|
-
readonly Azure: "azure";
|
|
953
|
-
readonly Aws: "aws";
|
|
954
|
-
readonly Anyscale: "anyscale";
|
|
955
|
-
readonly Perplexity: "perplexity";
|
|
956
|
-
readonly Groq: "groq";
|
|
957
|
-
readonly Fal: "fal";
|
|
958
|
-
readonly Leonardoai: "leonardoai";
|
|
959
|
-
readonly Nvidia: "nvidia";
|
|
960
|
-
readonly Jina: "jina";
|
|
961
|
-
readonly Togetherai: "togetherai";
|
|
962
|
-
readonly Elevenlabs: "elevenlabs";
|
|
963
|
-
};
|
|
964
|
-
export type UpdatePromptPromptsResponseProvider = ClosedEnum<typeof UpdatePromptPromptsResponseProvider>;
|
|
965
|
-
/**
|
|
966
|
-
* The role of the prompt message
|
|
967
|
-
*/
|
|
968
|
-
export declare const UpdatePromptPromptsResponseRole: {
|
|
969
|
-
readonly System: "system";
|
|
970
|
-
readonly Assistant: "assistant";
|
|
971
|
-
readonly User: "user";
|
|
972
|
-
readonly Exception: "exception";
|
|
973
|
-
readonly Tool: "tool";
|
|
974
|
-
readonly Prompt: "prompt";
|
|
975
|
-
readonly Correction: "correction";
|
|
976
|
-
readonly ExpectedOutput: "expected_output";
|
|
977
|
-
};
|
|
978
|
-
/**
|
|
979
|
-
* The role of the prompt message
|
|
980
|
-
*/
|
|
981
|
-
export type UpdatePromptPromptsResponseRole = ClosedEnum<typeof UpdatePromptPromptsResponseRole>;
|
|
982
|
-
export declare const UpdatePrompt2PromptsResponse200ApplicationJSONResponseBodyType: {
|
|
983
|
-
readonly ImageUrl: "image_url";
|
|
984
|
-
};
|
|
985
|
-
export type UpdatePrompt2PromptsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof UpdatePrompt2PromptsResponse200ApplicationJSONResponseBodyType>;
|
|
986
|
-
export type UpdatePrompt2PromptsResponseImageUrl = {
|
|
987
|
-
/**
|
|
988
|
-
* The orq.ai id of the image
|
|
989
|
-
*/
|
|
990
|
-
id?: string | undefined;
|
|
991
|
-
/**
|
|
992
|
-
* Either a URL of the image or the base64 encoded data URI.
|
|
993
|
-
*/
|
|
994
|
-
url: string;
|
|
995
|
-
/**
|
|
996
|
-
* Specifies the detail level of the image. Currently only supported with OpenAI models
|
|
997
|
-
*/
|
|
998
|
-
detail?: string | undefined;
|
|
999
|
-
};
|
|
1000
|
-
/**
|
|
1001
|
-
* The image part of the prompt message. Only supported with vision models.
|
|
1002
|
-
*/
|
|
1003
|
-
export type UpdatePrompt2PromptsResponse2 = {
|
|
1004
|
-
type: UpdatePrompt2PromptsResponse200ApplicationJSONResponseBodyType;
|
|
1005
|
-
imageUrl: UpdatePrompt2PromptsResponseImageUrl;
|
|
1006
|
-
};
|
|
1007
|
-
export declare const UpdatePrompt2PromptsResponse200ApplicationJSONType: {
|
|
1008
|
-
readonly Text: "text";
|
|
1009
|
-
};
|
|
1010
|
-
export type UpdatePrompt2PromptsResponse200ApplicationJSONType = ClosedEnum<typeof UpdatePrompt2PromptsResponse200ApplicationJSONType>;
|
|
1011
|
-
/**
|
|
1012
|
-
* Text content part of a prompt message
|
|
1013
|
-
*/
|
|
1014
|
-
export type UpdatePrompt2PromptsResponse1 = {
|
|
1015
|
-
type: UpdatePrompt2PromptsResponse200ApplicationJSONType;
|
|
1016
|
-
text: string;
|
|
1017
|
-
};
|
|
1018
|
-
export type UpdatePromptContentPromptsResponse2 = UpdatePrompt2PromptsResponse1 | UpdatePrompt2PromptsResponse2;
|
|
1019
|
-
/**
|
|
1020
|
-
* 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.
|
|
1021
|
-
*/
|
|
1022
|
-
export type UpdatePromptPromptsResponseContent = string | Array<UpdatePrompt2PromptsResponse1 | UpdatePrompt2PromptsResponse2>;
|
|
1023
|
-
export declare const UpdatePromptPromptsResponse200Type: {
|
|
1024
|
-
readonly Function: "function";
|
|
1025
|
-
};
|
|
1026
|
-
export type UpdatePromptPromptsResponse200Type = ClosedEnum<typeof UpdatePromptPromptsResponse200Type>;
|
|
1027
|
-
export type UpdatePromptPromptsResponseFunction = {
|
|
1028
|
-
name: string;
|
|
1029
|
-
/**
|
|
1030
|
-
* JSON string arguments for the functions
|
|
1031
|
-
*/
|
|
1032
|
-
arguments: string;
|
|
1033
|
-
};
|
|
1034
|
-
export type UpdatePromptPromptsResponseToolCalls = {
|
|
1035
|
-
id?: string | undefined;
|
|
1036
|
-
index?: number | undefined;
|
|
1037
|
-
type: UpdatePromptPromptsResponse200Type;
|
|
1038
|
-
function: UpdatePromptPromptsResponseFunction;
|
|
1039
|
-
};
|
|
1040
|
-
export type UpdatePromptPromptsResponseMessages = {
|
|
1041
|
-
/**
|
|
1042
|
-
* The role of the prompt message
|
|
1043
|
-
*/
|
|
1044
|
-
role: UpdatePromptPromptsResponseRole;
|
|
1045
|
-
/**
|
|
1046
|
-
* 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.
|
|
1047
|
-
*/
|
|
1048
|
-
content: string | Array<UpdatePrompt2PromptsResponse1 | UpdatePrompt2PromptsResponse2>;
|
|
1049
|
-
toolCalls?: Array<UpdatePromptPromptsResponseToolCalls> | undefined;
|
|
1050
|
-
};
|
|
1051
|
-
/**
|
|
1052
|
-
* A list of messages compatible with the openAI schema
|
|
1053
|
-
*/
|
|
1054
|
-
export type UpdatePromptPromptsResponsePromptConfig = {
|
|
1055
|
-
stream?: boolean | undefined;
|
|
1056
|
-
model?: string | undefined;
|
|
1057
|
-
/**
|
|
1058
|
-
* The id of the resource
|
|
1059
|
-
*/
|
|
1060
|
-
modelDbId?: string | undefined;
|
|
1061
|
-
/**
|
|
1062
|
-
* The type of the model
|
|
1063
|
-
*/
|
|
1064
|
-
modelType?: UpdatePromptPromptsResponseModelType | undefined;
|
|
1065
|
-
/**
|
|
1066
|
-
* Model Parameters: Not all parameters apply to every model
|
|
1067
|
-
*/
|
|
1068
|
-
modelParameters?: UpdatePromptPromptsResponseModelParameters | undefined;
|
|
1069
|
-
provider?: UpdatePromptPromptsResponseProvider | undefined;
|
|
1070
|
-
/**
|
|
1071
|
-
* The id of the resource
|
|
1072
|
-
*/
|
|
1073
|
-
integrationId?: string | null | undefined;
|
|
1074
|
-
version?: string | undefined;
|
|
1075
|
-
messages: Array<UpdatePromptPromptsResponseMessages>;
|
|
1076
|
-
};
|
|
1077
|
-
export declare const UpdatePromptPromptsResponseUseCases: {
|
|
1078
|
-
readonly Agents: "Agents";
|
|
1079
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1080
|
-
readonly APIInteraction: "API interaction";
|
|
1081
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1082
|
-
readonly Chatbots: "Chatbots";
|
|
1083
|
-
readonly Classification: "Classification";
|
|
1084
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1085
|
-
readonly CodeWriting: "Code writing";
|
|
1086
|
-
readonly DocumentsQA: "Documents QA";
|
|
1087
|
-
readonly Conversation: "Conversation";
|
|
1088
|
-
readonly Extraction: "Extraction";
|
|
1089
|
-
readonly MultiModal: "Multi-modal";
|
|
1090
|
-
readonly SelfChecking: "Self-checking";
|
|
1091
|
-
readonly Sql: "SQL";
|
|
1092
|
-
readonly Summarization: "Summarization";
|
|
1093
|
-
readonly Tagging: "Tagging";
|
|
1094
|
-
};
|
|
1095
|
-
export type UpdatePromptPromptsResponseUseCases = ClosedEnum<typeof UpdatePromptPromptsResponseUseCases>;
|
|
1096
|
-
/**
|
|
1097
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
1098
|
-
*/
|
|
1099
|
-
export declare const UpdatePromptPromptsResponseLanguage: {
|
|
1100
|
-
readonly Chinese: "Chinese";
|
|
1101
|
-
readonly Dutch: "Dutch";
|
|
1102
|
-
readonly English: "English";
|
|
1103
|
-
readonly French: "French";
|
|
1104
|
-
readonly German: "German";
|
|
1105
|
-
readonly Russian: "Russian";
|
|
1106
|
-
readonly Spanish: "Spanish";
|
|
1107
|
-
};
|
|
1108
|
-
/**
|
|
1109
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
1110
|
-
*/
|
|
1111
|
-
export type UpdatePromptPromptsResponseLanguage = ClosedEnum<typeof UpdatePromptPromptsResponseLanguage>;
|
|
1112
|
-
export type UpdatePromptPromptsResponseMetadata = {
|
|
1113
|
-
/**
|
|
1114
|
-
* 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
|
|
1115
|
-
*/
|
|
1116
|
-
useCases?: Array<UpdatePromptPromptsResponseUseCases> | undefined;
|
|
1117
|
-
/**
|
|
1118
|
-
* The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
|
|
1119
|
-
*/
|
|
1120
|
-
language?: UpdatePromptPromptsResponseLanguage | undefined;
|
|
1121
|
-
};
|
|
1122
|
-
/**
|
|
1123
|
-
* Prompt version model returned from the API
|
|
1124
|
-
*/
|
|
1125
|
-
export type UpdatePromptVersions = {
|
|
1126
|
-
id: string;
|
|
1127
|
-
createdById?: string | undefined;
|
|
1128
|
-
updatedById?: string | undefined;
|
|
1129
|
-
/**
|
|
1130
|
-
* 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
|
|
1131
|
-
*/
|
|
1132
|
-
description?: string | null | undefined;
|
|
1133
|
-
/**
|
|
1134
|
-
* A list of messages compatible with the openAI schema
|
|
1135
|
-
*/
|
|
1136
|
-
promptConfig: UpdatePromptPromptsResponsePromptConfig;
|
|
1137
|
-
metadata: UpdatePromptPromptsResponseMetadata;
|
|
1138
|
-
timestamp: string;
|
|
1139
|
-
};
|
|
1140
|
-
/**
|
|
1141
|
-
* Prompt model returned from the API
|
|
1142
|
-
*/
|
|
1143
|
-
export type UpdatePromptResponseBody = {
|
|
1144
|
-
id: string;
|
|
1145
|
-
owner: string | UpdatePromptOwner2;
|
|
1146
|
-
domainId: string;
|
|
1147
|
-
createdById?: string | undefined;
|
|
1148
|
-
/**
|
|
1149
|
-
* The prompt’s name, meant to be displayable in the UI.
|
|
1150
|
-
*/
|
|
1151
|
-
displayName: string;
|
|
1152
|
-
updatedById?: string | undefined;
|
|
1153
|
-
/**
|
|
1154
|
-
* 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
|
|
1155
|
-
*/
|
|
1156
|
-
description?: string | null | undefined;
|
|
1157
|
-
/**
|
|
1158
|
-
* A list of messages compatible with the openAI schema
|
|
1159
|
-
*/
|
|
1160
|
-
promptConfig: UpdatePromptPromptsPromptConfig;
|
|
1161
|
-
metadata: UpdatePromptPromptsMetadata;
|
|
1162
|
-
/**
|
|
1163
|
-
* The date and time the resource was created
|
|
1164
|
-
*/
|
|
1165
|
-
created?: Date | undefined;
|
|
1166
|
-
/**
|
|
1167
|
-
* The date and time the resource was last updated
|
|
1168
|
-
*/
|
|
1169
|
-
updated?: Date | undefined;
|
|
1170
|
-
type: UpdatePromptPromptsType;
|
|
1171
|
-
versions: Array<UpdatePromptVersions>;
|
|
1172
|
-
};
|
|
1173
|
-
/** @internal */
|
|
1174
|
-
export declare const UpdatePromptGlobals$inboundSchema: z.ZodType<UpdatePromptGlobals, z.ZodTypeDef, unknown>;
|
|
1175
|
-
/** @internal */
|
|
1176
|
-
export type UpdatePromptGlobals$Outbound = {
|
|
1177
|
-
contactId?: string | undefined;
|
|
1178
|
-
};
|
|
1179
|
-
/** @internal */
|
|
1180
|
-
export declare const UpdatePromptGlobals$outboundSchema: z.ZodType<UpdatePromptGlobals$Outbound, z.ZodTypeDef, UpdatePromptGlobals>;
|
|
1181
|
-
/**
|
|
1182
|
-
* @internal
|
|
1183
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1184
|
-
*/
|
|
1185
|
-
export declare namespace UpdatePromptGlobals$ {
|
|
1186
|
-
/** @deprecated use `UpdatePromptGlobals$inboundSchema` instead. */
|
|
1187
|
-
const inboundSchema: z.ZodType<UpdatePromptGlobals, z.ZodTypeDef, unknown>;
|
|
1188
|
-
/** @deprecated use `UpdatePromptGlobals$outboundSchema` instead. */
|
|
1189
|
-
const outboundSchema: z.ZodType<UpdatePromptGlobals$Outbound, z.ZodTypeDef, UpdatePromptGlobals>;
|
|
1190
|
-
/** @deprecated use `UpdatePromptGlobals$Outbound` instead. */
|
|
1191
|
-
type Outbound = UpdatePromptGlobals$Outbound;
|
|
1192
|
-
}
|
|
1193
|
-
export declare function updatePromptGlobalsToJSON(updatePromptGlobals: UpdatePromptGlobals): string;
|
|
1194
|
-
export declare function updatePromptGlobalsFromJSON(jsonString: string): SafeParseResult<UpdatePromptGlobals, SDKValidationError>;
|
|
1195
|
-
/** @internal */
|
|
1196
|
-
export declare const UpdatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptModelType>;
|
|
1197
|
-
/** @internal */
|
|
1198
|
-
export declare const UpdatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptModelType>;
|
|
1199
|
-
/**
|
|
1200
|
-
* @internal
|
|
1201
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1202
|
-
*/
|
|
1203
|
-
export declare namespace UpdatePromptModelType$ {
|
|
1204
|
-
/** @deprecated use `UpdatePromptModelType$inboundSchema` instead. */
|
|
1205
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1206
|
-
readonly Chat: "chat";
|
|
1207
|
-
readonly Completion: "completion";
|
|
1208
|
-
readonly Embedding: "embedding";
|
|
1209
|
-
readonly Vision: "vision";
|
|
1210
|
-
readonly Image: "image";
|
|
1211
|
-
readonly Tts: "tts";
|
|
1212
|
-
readonly Stt: "stt";
|
|
1213
|
-
readonly Rerank: "rerank";
|
|
1214
|
-
readonly Moderations: "moderations";
|
|
1215
|
-
}>;
|
|
1216
|
-
/** @deprecated use `UpdatePromptModelType$outboundSchema` instead. */
|
|
1217
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1218
|
-
readonly Chat: "chat";
|
|
1219
|
-
readonly Completion: "completion";
|
|
1220
|
-
readonly Embedding: "embedding";
|
|
1221
|
-
readonly Vision: "vision";
|
|
1222
|
-
readonly Image: "image";
|
|
1223
|
-
readonly Tts: "tts";
|
|
1224
|
-
readonly Stt: "stt";
|
|
1225
|
-
readonly Rerank: "rerank";
|
|
1226
|
-
readonly Moderations: "moderations";
|
|
1227
|
-
}>;
|
|
1228
|
-
}
|
|
1229
|
-
/** @internal */
|
|
1230
|
-
export declare const UpdatePromptFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptFormat>;
|
|
1231
|
-
/** @internal */
|
|
1232
|
-
export declare const UpdatePromptFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptFormat>;
|
|
1233
|
-
/**
|
|
1234
|
-
* @internal
|
|
1235
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1236
|
-
*/
|
|
1237
|
-
export declare namespace UpdatePromptFormat$ {
|
|
1238
|
-
/** @deprecated use `UpdatePromptFormat$inboundSchema` instead. */
|
|
1239
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1240
|
-
readonly Url: "url";
|
|
1241
|
-
readonly B64Json: "b64_json";
|
|
1242
|
-
readonly Text: "text";
|
|
1243
|
-
readonly JsonObject: "json_object";
|
|
1244
|
-
}>;
|
|
1245
|
-
/** @deprecated use `UpdatePromptFormat$outboundSchema` instead. */
|
|
1246
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1247
|
-
readonly Url: "url";
|
|
1248
|
-
readonly B64Json: "b64_json";
|
|
1249
|
-
readonly Text: "text";
|
|
1250
|
-
readonly JsonObject: "json_object";
|
|
1251
|
-
}>;
|
|
1252
|
-
}
|
|
1253
|
-
/** @internal */
|
|
1254
|
-
export declare const UpdatePromptQuality$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptQuality>;
|
|
1255
|
-
/** @internal */
|
|
1256
|
-
export declare const UpdatePromptQuality$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptQuality>;
|
|
1257
|
-
/**
|
|
1258
|
-
* @internal
|
|
1259
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1260
|
-
*/
|
|
1261
|
-
export declare namespace UpdatePromptQuality$ {
|
|
1262
|
-
/** @deprecated use `UpdatePromptQuality$inboundSchema` instead. */
|
|
1263
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1264
|
-
readonly Standard: "standard";
|
|
1265
|
-
readonly Hd: "hd";
|
|
1266
|
-
}>;
|
|
1267
|
-
/** @deprecated use `UpdatePromptQuality$outboundSchema` instead. */
|
|
1268
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1269
|
-
readonly Standard: "standard";
|
|
1270
|
-
readonly Hd: "hd";
|
|
1271
|
-
}>;
|
|
1272
|
-
}
|
|
1273
|
-
/** @internal */
|
|
1274
|
-
export declare const UpdatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
1275
|
-
/** @internal */
|
|
1276
|
-
export declare const UpdatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsType>;
|
|
1277
|
-
/**
|
|
1278
|
-
* @internal
|
|
1279
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1280
|
-
*/
|
|
1281
|
-
export declare namespace UpdatePromptResponseFormatPromptsType$ {
|
|
1282
|
-
/** @deprecated use `UpdatePromptResponseFormatPromptsType$inboundSchema` instead. */
|
|
1283
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1284
|
-
readonly JsonObject: "json_object";
|
|
1285
|
-
}>;
|
|
1286
|
-
/** @deprecated use `UpdatePromptResponseFormatPromptsType$outboundSchema` instead. */
|
|
1287
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1288
|
-
readonly JsonObject: "json_object";
|
|
1289
|
-
}>;
|
|
1290
|
-
}
|
|
1291
|
-
/** @internal */
|
|
1292
|
-
export declare const UpdatePromptResponseFormat2$inboundSchema: z.ZodType<UpdatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
1293
|
-
/** @internal */
|
|
1294
|
-
export type UpdatePromptResponseFormat2$Outbound = {
|
|
1295
|
-
type: string;
|
|
1296
|
-
};
|
|
1297
|
-
/** @internal */
|
|
1298
|
-
export declare const UpdatePromptResponseFormat2$outboundSchema: z.ZodType<UpdatePromptResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat2>;
|
|
1299
|
-
/**
|
|
1300
|
-
* @internal
|
|
1301
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1302
|
-
*/
|
|
1303
|
-
export declare namespace UpdatePromptResponseFormat2$ {
|
|
1304
|
-
/** @deprecated use `UpdatePromptResponseFormat2$inboundSchema` instead. */
|
|
1305
|
-
const inboundSchema: z.ZodType<UpdatePromptResponseFormat2, z.ZodTypeDef, unknown>;
|
|
1306
|
-
/** @deprecated use `UpdatePromptResponseFormat2$outboundSchema` instead. */
|
|
1307
|
-
const outboundSchema: z.ZodType<UpdatePromptResponseFormat2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat2>;
|
|
1308
|
-
/** @deprecated use `UpdatePromptResponseFormat2$Outbound` instead. */
|
|
1309
|
-
type Outbound = UpdatePromptResponseFormat2$Outbound;
|
|
1310
|
-
}
|
|
1311
|
-
export declare function updatePromptResponseFormat2ToJSON(updatePromptResponseFormat2: UpdatePromptResponseFormat2): string;
|
|
1312
|
-
export declare function updatePromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat2, SDKValidationError>;
|
|
1313
|
-
/** @internal */
|
|
1314
|
-
export declare const UpdatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatType>;
|
|
1315
|
-
/** @internal */
|
|
1316
|
-
export declare const UpdatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatType>;
|
|
1317
|
-
/**
|
|
1318
|
-
* @internal
|
|
1319
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1320
|
-
*/
|
|
1321
|
-
export declare namespace UpdatePromptResponseFormatType$ {
|
|
1322
|
-
/** @deprecated use `UpdatePromptResponseFormatType$inboundSchema` instead. */
|
|
1323
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1324
|
-
readonly JsonSchema: "json_schema";
|
|
1325
|
-
}>;
|
|
1326
|
-
/** @deprecated use `UpdatePromptResponseFormatType$outboundSchema` instead. */
|
|
1327
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1328
|
-
readonly JsonSchema: "json_schema";
|
|
1329
|
-
}>;
|
|
1330
|
-
}
|
|
1331
|
-
/** @internal */
|
|
1332
|
-
export declare const UpdatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
1333
|
-
/** @internal */
|
|
1334
|
-
export type UpdatePromptResponseFormatJsonSchema$Outbound = {
|
|
1335
|
-
name: string;
|
|
1336
|
-
strict: boolean;
|
|
1337
|
-
schema: {
|
|
1338
|
-
[k: string]: any;
|
|
1339
|
-
};
|
|
1340
|
-
};
|
|
1341
|
-
/** @internal */
|
|
1342
|
-
export declare const UpdatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatJsonSchema>;
|
|
1343
|
-
/**
|
|
1344
|
-
* @internal
|
|
1345
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1346
|
-
*/
|
|
1347
|
-
export declare namespace UpdatePromptResponseFormatJsonSchema$ {
|
|
1348
|
-
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$inboundSchema` instead. */
|
|
1349
|
-
const inboundSchema: z.ZodType<UpdatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
|
|
1350
|
-
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$outboundSchema` instead. */
|
|
1351
|
-
const outboundSchema: z.ZodType<UpdatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatJsonSchema>;
|
|
1352
|
-
/** @deprecated use `UpdatePromptResponseFormatJsonSchema$Outbound` instead. */
|
|
1353
|
-
type Outbound = UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
1354
|
-
}
|
|
1355
|
-
export declare function updatePromptResponseFormatJsonSchemaToJSON(updatePromptResponseFormatJsonSchema: UpdatePromptResponseFormatJsonSchema): string;
|
|
1356
|
-
export declare function updatePromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatJsonSchema, SDKValidationError>;
|
|
1357
|
-
/** @internal */
|
|
1358
|
-
export declare const UpdatePromptResponseFormat1$inboundSchema: z.ZodType<UpdatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1359
|
-
/** @internal */
|
|
1360
|
-
export type UpdatePromptResponseFormat1$Outbound = {
|
|
1361
|
-
type: string;
|
|
1362
|
-
json_schema: UpdatePromptResponseFormatJsonSchema$Outbound;
|
|
1363
|
-
};
|
|
1364
|
-
/** @internal */
|
|
1365
|
-
export declare const UpdatePromptResponseFormat1$outboundSchema: z.ZodType<UpdatePromptResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat1>;
|
|
1366
|
-
/**
|
|
1367
|
-
* @internal
|
|
1368
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1369
|
-
*/
|
|
1370
|
-
export declare namespace UpdatePromptResponseFormat1$ {
|
|
1371
|
-
/** @deprecated use `UpdatePromptResponseFormat1$inboundSchema` instead. */
|
|
1372
|
-
const inboundSchema: z.ZodType<UpdatePromptResponseFormat1, z.ZodTypeDef, unknown>;
|
|
1373
|
-
/** @deprecated use `UpdatePromptResponseFormat1$outboundSchema` instead. */
|
|
1374
|
-
const outboundSchema: z.ZodType<UpdatePromptResponseFormat1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat1>;
|
|
1375
|
-
/** @deprecated use `UpdatePromptResponseFormat1$Outbound` instead. */
|
|
1376
|
-
type Outbound = UpdatePromptResponseFormat1$Outbound;
|
|
1377
|
-
}
|
|
1378
|
-
export declare function updatePromptResponseFormat1ToJSON(updatePromptResponseFormat1: UpdatePromptResponseFormat1): string;
|
|
1379
|
-
export declare function updatePromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat1, SDKValidationError>;
|
|
1380
|
-
/** @internal */
|
|
1381
|
-
export declare const UpdatePromptResponseFormat$inboundSchema: z.ZodType<UpdatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
1382
|
-
/** @internal */
|
|
1383
|
-
export type UpdatePromptResponseFormat$Outbound = UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat1$Outbound;
|
|
1384
|
-
/** @internal */
|
|
1385
|
-
export declare const UpdatePromptResponseFormat$outboundSchema: z.ZodType<UpdatePromptResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat>;
|
|
1386
|
-
/**
|
|
1387
|
-
* @internal
|
|
1388
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1389
|
-
*/
|
|
1390
|
-
export declare namespace UpdatePromptResponseFormat$ {
|
|
1391
|
-
/** @deprecated use `UpdatePromptResponseFormat$inboundSchema` instead. */
|
|
1392
|
-
const inboundSchema: z.ZodType<UpdatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
1393
|
-
/** @deprecated use `UpdatePromptResponseFormat$outboundSchema` instead. */
|
|
1394
|
-
const outboundSchema: z.ZodType<UpdatePromptResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat>;
|
|
1395
|
-
/** @deprecated use `UpdatePromptResponseFormat$Outbound` instead. */
|
|
1396
|
-
type Outbound = UpdatePromptResponseFormat$Outbound;
|
|
1397
|
-
}
|
|
1398
|
-
export declare function updatePromptResponseFormatToJSON(updatePromptResponseFormat: UpdatePromptResponseFormat): string;
|
|
1399
|
-
export declare function updatePromptResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat, SDKValidationError>;
|
|
1400
|
-
/** @internal */
|
|
1401
|
-
export declare const UpdatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPhotoRealVersion>;
|
|
1402
|
-
/** @internal */
|
|
1403
|
-
export declare const UpdatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPhotoRealVersion>;
|
|
1404
|
-
/**
|
|
1405
|
-
* @internal
|
|
1406
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1407
|
-
*/
|
|
1408
|
-
export declare namespace UpdatePromptPhotoRealVersion$ {
|
|
1409
|
-
/** @deprecated use `UpdatePromptPhotoRealVersion$inboundSchema` instead. */
|
|
1410
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1411
|
-
readonly V1: "v1";
|
|
1412
|
-
readonly V2: "v2";
|
|
1413
|
-
}>;
|
|
1414
|
-
/** @deprecated use `UpdatePromptPhotoRealVersion$outboundSchema` instead. */
|
|
1415
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1416
|
-
readonly V1: "v1";
|
|
1417
|
-
readonly V2: "v2";
|
|
1418
|
-
}>;
|
|
1419
|
-
}
|
|
1420
|
-
/** @internal */
|
|
1421
|
-
export declare const UpdatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptEncodingFormat>;
|
|
1422
|
-
/** @internal */
|
|
1423
|
-
export declare const UpdatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptEncodingFormat>;
|
|
1424
|
-
/**
|
|
1425
|
-
* @internal
|
|
1426
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1427
|
-
*/
|
|
1428
|
-
export declare namespace UpdatePromptEncodingFormat$ {
|
|
1429
|
-
/** @deprecated use `UpdatePromptEncodingFormat$inboundSchema` instead. */
|
|
1430
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1431
|
-
readonly Float: "float";
|
|
1432
|
-
readonly Base64: "base64";
|
|
1433
|
-
}>;
|
|
1434
|
-
/** @deprecated use `UpdatePromptEncodingFormat$outboundSchema` instead. */
|
|
1435
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1436
|
-
readonly Float: "float";
|
|
1437
|
-
readonly Base64: "base64";
|
|
1438
|
-
}>;
|
|
1439
|
-
}
|
|
1440
|
-
/** @internal */
|
|
1441
|
-
export declare const UpdatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptReasoningEffort>;
|
|
1442
|
-
/** @internal */
|
|
1443
|
-
export declare const UpdatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptReasoningEffort>;
|
|
1444
|
-
/**
|
|
1445
|
-
* @internal
|
|
1446
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1447
|
-
*/
|
|
1448
|
-
export declare namespace UpdatePromptReasoningEffort$ {
|
|
1449
|
-
/** @deprecated use `UpdatePromptReasoningEffort$inboundSchema` instead. */
|
|
1450
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1451
|
-
readonly Low: "low";
|
|
1452
|
-
readonly Medium: "medium";
|
|
1453
|
-
readonly High: "high";
|
|
1454
|
-
}>;
|
|
1455
|
-
/** @deprecated use `UpdatePromptReasoningEffort$outboundSchema` instead. */
|
|
1456
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1457
|
-
readonly Low: "low";
|
|
1458
|
-
readonly Medium: "medium";
|
|
1459
|
-
readonly High: "high";
|
|
1460
|
-
}>;
|
|
1461
|
-
}
|
|
1462
|
-
/** @internal */
|
|
1463
|
-
export declare const UpdatePromptModelParameters$inboundSchema: z.ZodType<UpdatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
1464
|
-
/** @internal */
|
|
1465
|
-
export type UpdatePromptModelParameters$Outbound = {
|
|
1466
|
-
temperature?: number | undefined;
|
|
1467
|
-
maxTokens?: number | undefined;
|
|
1468
|
-
topK?: number | undefined;
|
|
1469
|
-
topP?: number | undefined;
|
|
1470
|
-
frequencyPenalty?: number | undefined;
|
|
1471
|
-
presencePenalty?: number | undefined;
|
|
1472
|
-
numImages?: number | undefined;
|
|
1473
|
-
seed?: number | undefined;
|
|
1474
|
-
format?: string | undefined;
|
|
1475
|
-
dimensions?: string | undefined;
|
|
1476
|
-
quality?: string | undefined;
|
|
1477
|
-
style?: string | undefined;
|
|
1478
|
-
responseFormat?: UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat1$Outbound | null | undefined;
|
|
1479
|
-
photoRealVersion?: string | undefined;
|
|
1480
|
-
encoding_format?: string | undefined;
|
|
1481
|
-
reasoningEffort?: string | undefined;
|
|
1482
|
-
};
|
|
1483
|
-
/** @internal */
|
|
1484
|
-
export declare const UpdatePromptModelParameters$outboundSchema: z.ZodType<UpdatePromptModelParameters$Outbound, z.ZodTypeDef, UpdatePromptModelParameters>;
|
|
1485
|
-
/**
|
|
1486
|
-
* @internal
|
|
1487
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1488
|
-
*/
|
|
1489
|
-
export declare namespace UpdatePromptModelParameters$ {
|
|
1490
|
-
/** @deprecated use `UpdatePromptModelParameters$inboundSchema` instead. */
|
|
1491
|
-
const inboundSchema: z.ZodType<UpdatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
1492
|
-
/** @deprecated use `UpdatePromptModelParameters$outboundSchema` instead. */
|
|
1493
|
-
const outboundSchema: z.ZodType<UpdatePromptModelParameters$Outbound, z.ZodTypeDef, UpdatePromptModelParameters>;
|
|
1494
|
-
/** @deprecated use `UpdatePromptModelParameters$Outbound` instead. */
|
|
1495
|
-
type Outbound = UpdatePromptModelParameters$Outbound;
|
|
1496
|
-
}
|
|
1497
|
-
export declare function updatePromptModelParametersToJSON(updatePromptModelParameters: UpdatePromptModelParameters): string;
|
|
1498
|
-
export declare function updatePromptModelParametersFromJSON(jsonString: string): SafeParseResult<UpdatePromptModelParameters, SDKValidationError>;
|
|
1499
|
-
/** @internal */
|
|
1500
|
-
export declare const UpdatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptProvider>;
|
|
1501
|
-
/** @internal */
|
|
1502
|
-
export declare const UpdatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptProvider>;
|
|
1503
|
-
/**
|
|
1504
|
-
* @internal
|
|
1505
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1506
|
-
*/
|
|
1507
|
-
export declare namespace UpdatePromptProvider$ {
|
|
1508
|
-
/** @deprecated use `UpdatePromptProvider$inboundSchema` instead. */
|
|
1509
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1510
|
-
readonly Cohere: "cohere";
|
|
1511
|
-
readonly Openai: "openai";
|
|
1512
|
-
readonly Anthropic: "anthropic";
|
|
1513
|
-
readonly Huggingface: "huggingface";
|
|
1514
|
-
readonly Replicate: "replicate";
|
|
1515
|
-
readonly Google: "google";
|
|
1516
|
-
readonly GoogleAi: "google-ai";
|
|
1517
|
-
readonly Azure: "azure";
|
|
1518
|
-
readonly Aws: "aws";
|
|
1519
|
-
readonly Anyscale: "anyscale";
|
|
1520
|
-
readonly Perplexity: "perplexity";
|
|
1521
|
-
readonly Groq: "groq";
|
|
1522
|
-
readonly Fal: "fal";
|
|
1523
|
-
readonly Leonardoai: "leonardoai";
|
|
1524
|
-
readonly Nvidia: "nvidia";
|
|
1525
|
-
readonly Jina: "jina";
|
|
1526
|
-
readonly Togetherai: "togetherai";
|
|
1527
|
-
readonly Elevenlabs: "elevenlabs";
|
|
1528
|
-
}>;
|
|
1529
|
-
/** @deprecated use `UpdatePromptProvider$outboundSchema` instead. */
|
|
1530
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1531
|
-
readonly Cohere: "cohere";
|
|
1532
|
-
readonly Openai: "openai";
|
|
1533
|
-
readonly Anthropic: "anthropic";
|
|
1534
|
-
readonly Huggingface: "huggingface";
|
|
1535
|
-
readonly Replicate: "replicate";
|
|
1536
|
-
readonly Google: "google";
|
|
1537
|
-
readonly GoogleAi: "google-ai";
|
|
1538
|
-
readonly Azure: "azure";
|
|
1539
|
-
readonly Aws: "aws";
|
|
1540
|
-
readonly Anyscale: "anyscale";
|
|
1541
|
-
readonly Perplexity: "perplexity";
|
|
1542
|
-
readonly Groq: "groq";
|
|
1543
|
-
readonly Fal: "fal";
|
|
1544
|
-
readonly Leonardoai: "leonardoai";
|
|
1545
|
-
readonly Nvidia: "nvidia";
|
|
1546
|
-
readonly Jina: "jina";
|
|
1547
|
-
readonly Togetherai: "togetherai";
|
|
1548
|
-
readonly Elevenlabs: "elevenlabs";
|
|
1549
|
-
}>;
|
|
1550
|
-
}
|
|
1551
|
-
/** @internal */
|
|
1552
|
-
export declare const UpdatePromptRole$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptRole>;
|
|
1553
|
-
/** @internal */
|
|
1554
|
-
export declare const UpdatePromptRole$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptRole>;
|
|
1555
|
-
/**
|
|
1556
|
-
* @internal
|
|
1557
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1558
|
-
*/
|
|
1559
|
-
export declare namespace UpdatePromptRole$ {
|
|
1560
|
-
/** @deprecated use `UpdatePromptRole$inboundSchema` instead. */
|
|
1561
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1562
|
-
readonly System: "system";
|
|
1563
|
-
readonly Assistant: "assistant";
|
|
1564
|
-
readonly User: "user";
|
|
1565
|
-
readonly Exception: "exception";
|
|
1566
|
-
readonly Tool: "tool";
|
|
1567
|
-
readonly Prompt: "prompt";
|
|
1568
|
-
readonly Correction: "correction";
|
|
1569
|
-
readonly ExpectedOutput: "expected_output";
|
|
1570
|
-
}>;
|
|
1571
|
-
/** @deprecated use `UpdatePromptRole$outboundSchema` instead. */
|
|
1572
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1573
|
-
readonly System: "system";
|
|
1574
|
-
readonly Assistant: "assistant";
|
|
1575
|
-
readonly User: "user";
|
|
1576
|
-
readonly Exception: "exception";
|
|
1577
|
-
readonly Tool: "tool";
|
|
1578
|
-
readonly Prompt: "prompt";
|
|
1579
|
-
readonly Correction: "correction";
|
|
1580
|
-
readonly ExpectedOutput: "expected_output";
|
|
1581
|
-
}>;
|
|
1582
|
-
}
|
|
1583
|
-
/** @internal */
|
|
1584
|
-
export declare const UpdatePrompt2PromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsType>;
|
|
1585
|
-
/** @internal */
|
|
1586
|
-
export declare const UpdatePrompt2PromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsType>;
|
|
1587
|
-
/**
|
|
1588
|
-
* @internal
|
|
1589
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1590
|
-
*/
|
|
1591
|
-
export declare namespace UpdatePrompt2PromptsType$ {
|
|
1592
|
-
/** @deprecated use `UpdatePrompt2PromptsType$inboundSchema` instead. */
|
|
1593
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1594
|
-
readonly ImageUrl: "image_url";
|
|
1595
|
-
}>;
|
|
1596
|
-
/** @deprecated use `UpdatePrompt2PromptsType$outboundSchema` instead. */
|
|
1597
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1598
|
-
readonly ImageUrl: "image_url";
|
|
1599
|
-
}>;
|
|
1600
|
-
}
|
|
1601
|
-
/** @internal */
|
|
1602
|
-
export declare const UpdatePrompt2ImageUrl$inboundSchema: z.ZodType<UpdatePrompt2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1603
|
-
/** @internal */
|
|
1604
|
-
export type UpdatePrompt2ImageUrl$Outbound = {
|
|
1605
|
-
url: string;
|
|
1606
|
-
detail?: string | undefined;
|
|
1607
|
-
};
|
|
1608
|
-
/** @internal */
|
|
1609
|
-
export declare const UpdatePrompt2ImageUrl$outboundSchema: z.ZodType<UpdatePrompt2ImageUrl$Outbound, z.ZodTypeDef, UpdatePrompt2ImageUrl>;
|
|
1610
|
-
/**
|
|
1611
|
-
* @internal
|
|
1612
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1613
|
-
*/
|
|
1614
|
-
export declare namespace UpdatePrompt2ImageUrl$ {
|
|
1615
|
-
/** @deprecated use `UpdatePrompt2ImageUrl$inboundSchema` instead. */
|
|
1616
|
-
const inboundSchema: z.ZodType<UpdatePrompt2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1617
|
-
/** @deprecated use `UpdatePrompt2ImageUrl$outboundSchema` instead. */
|
|
1618
|
-
const outboundSchema: z.ZodType<UpdatePrompt2ImageUrl$Outbound, z.ZodTypeDef, UpdatePrompt2ImageUrl>;
|
|
1619
|
-
/** @deprecated use `UpdatePrompt2ImageUrl$Outbound` instead. */
|
|
1620
|
-
type Outbound = UpdatePrompt2ImageUrl$Outbound;
|
|
1621
|
-
}
|
|
1622
|
-
export declare function updatePrompt2ImageUrlToJSON(updatePrompt2ImageUrl: UpdatePrompt2ImageUrl): string;
|
|
1623
|
-
export declare function updatePrompt2ImageUrlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2ImageUrl, SDKValidationError>;
|
|
1624
|
-
/** @internal */
|
|
1625
|
-
export declare const UpdatePrompt22$inboundSchema: z.ZodType<UpdatePrompt22, z.ZodTypeDef, unknown>;
|
|
1626
|
-
/** @internal */
|
|
1627
|
-
export type UpdatePrompt22$Outbound = {
|
|
1628
|
-
type: string;
|
|
1629
|
-
image_url: UpdatePrompt2ImageUrl$Outbound;
|
|
1630
|
-
};
|
|
1631
|
-
/** @internal */
|
|
1632
|
-
export declare const UpdatePrompt22$outboundSchema: z.ZodType<UpdatePrompt22$Outbound, z.ZodTypeDef, UpdatePrompt22>;
|
|
1633
|
-
/**
|
|
1634
|
-
* @internal
|
|
1635
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1636
|
-
*/
|
|
1637
|
-
export declare namespace UpdatePrompt22$ {
|
|
1638
|
-
/** @deprecated use `UpdatePrompt22$inboundSchema` instead. */
|
|
1639
|
-
const inboundSchema: z.ZodType<UpdatePrompt22, z.ZodTypeDef, unknown>;
|
|
1640
|
-
/** @deprecated use `UpdatePrompt22$outboundSchema` instead. */
|
|
1641
|
-
const outboundSchema: z.ZodType<UpdatePrompt22$Outbound, z.ZodTypeDef, UpdatePrompt22>;
|
|
1642
|
-
/** @deprecated use `UpdatePrompt22$Outbound` instead. */
|
|
1643
|
-
type Outbound = UpdatePrompt22$Outbound;
|
|
1644
|
-
}
|
|
1645
|
-
export declare function updatePrompt22ToJSON(updatePrompt22: UpdatePrompt22): string;
|
|
1646
|
-
export declare function updatePrompt22FromJSON(jsonString: string): SafeParseResult<UpdatePrompt22, SDKValidationError>;
|
|
1647
|
-
/** @internal */
|
|
1648
|
-
export declare const UpdatePrompt2Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2Type>;
|
|
1649
|
-
/** @internal */
|
|
1650
|
-
export declare const UpdatePrompt2Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2Type>;
|
|
1651
|
-
/**
|
|
1652
|
-
* @internal
|
|
1653
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1654
|
-
*/
|
|
1655
|
-
export declare namespace UpdatePrompt2Type$ {
|
|
1656
|
-
/** @deprecated use `UpdatePrompt2Type$inboundSchema` instead. */
|
|
1657
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1658
|
-
readonly Text: "text";
|
|
1659
|
-
}>;
|
|
1660
|
-
/** @deprecated use `UpdatePrompt2Type$outboundSchema` instead. */
|
|
1661
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1662
|
-
readonly Text: "text";
|
|
1663
|
-
}>;
|
|
1664
|
-
}
|
|
1665
|
-
/** @internal */
|
|
1666
|
-
export declare const UpdatePrompt21$inboundSchema: z.ZodType<UpdatePrompt21, z.ZodTypeDef, unknown>;
|
|
1667
|
-
/** @internal */
|
|
1668
|
-
export type UpdatePrompt21$Outbound = {
|
|
1669
|
-
type: string;
|
|
1670
|
-
text: string;
|
|
1671
|
-
};
|
|
1672
|
-
/** @internal */
|
|
1673
|
-
export declare const UpdatePrompt21$outboundSchema: z.ZodType<UpdatePrompt21$Outbound, z.ZodTypeDef, UpdatePrompt21>;
|
|
1674
|
-
/**
|
|
1675
|
-
* @internal
|
|
1676
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1677
|
-
*/
|
|
1678
|
-
export declare namespace UpdatePrompt21$ {
|
|
1679
|
-
/** @deprecated use `UpdatePrompt21$inboundSchema` instead. */
|
|
1680
|
-
const inboundSchema: z.ZodType<UpdatePrompt21, z.ZodTypeDef, unknown>;
|
|
1681
|
-
/** @deprecated use `UpdatePrompt21$outboundSchema` instead. */
|
|
1682
|
-
const outboundSchema: z.ZodType<UpdatePrompt21$Outbound, z.ZodTypeDef, UpdatePrompt21>;
|
|
1683
|
-
/** @deprecated use `UpdatePrompt21$Outbound` instead. */
|
|
1684
|
-
type Outbound = UpdatePrompt21$Outbound;
|
|
1685
|
-
}
|
|
1686
|
-
export declare function updatePrompt21ToJSON(updatePrompt21: UpdatePrompt21): string;
|
|
1687
|
-
export declare function updatePrompt21FromJSON(jsonString: string): SafeParseResult<UpdatePrompt21, SDKValidationError>;
|
|
1688
|
-
/** @internal */
|
|
1689
|
-
export declare const UpdatePromptContent2$inboundSchema: z.ZodType<UpdatePromptContent2, z.ZodTypeDef, unknown>;
|
|
1690
|
-
/** @internal */
|
|
1691
|
-
export type UpdatePromptContent2$Outbound = UpdatePrompt21$Outbound | UpdatePrompt22$Outbound;
|
|
1692
|
-
/** @internal */
|
|
1693
|
-
export declare const UpdatePromptContent2$outboundSchema: z.ZodType<UpdatePromptContent2$Outbound, z.ZodTypeDef, UpdatePromptContent2>;
|
|
1694
|
-
/**
|
|
1695
|
-
* @internal
|
|
1696
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1697
|
-
*/
|
|
1698
|
-
export declare namespace UpdatePromptContent2$ {
|
|
1699
|
-
/** @deprecated use `UpdatePromptContent2$inboundSchema` instead. */
|
|
1700
|
-
const inboundSchema: z.ZodType<UpdatePromptContent2, z.ZodTypeDef, unknown>;
|
|
1701
|
-
/** @deprecated use `UpdatePromptContent2$outboundSchema` instead. */
|
|
1702
|
-
const outboundSchema: z.ZodType<UpdatePromptContent2$Outbound, z.ZodTypeDef, UpdatePromptContent2>;
|
|
1703
|
-
/** @deprecated use `UpdatePromptContent2$Outbound` instead. */
|
|
1704
|
-
type Outbound = UpdatePromptContent2$Outbound;
|
|
1705
|
-
}
|
|
1706
|
-
export declare function updatePromptContent2ToJSON(updatePromptContent2: UpdatePromptContent2): string;
|
|
1707
|
-
export declare function updatePromptContent2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContent2, SDKValidationError>;
|
|
1708
|
-
/** @internal */
|
|
1709
|
-
export declare const UpdatePromptContent$inboundSchema: z.ZodType<UpdatePromptContent, z.ZodTypeDef, unknown>;
|
|
1710
|
-
/** @internal */
|
|
1711
|
-
export type UpdatePromptContent$Outbound = string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound>;
|
|
1712
|
-
/** @internal */
|
|
1713
|
-
export declare const UpdatePromptContent$outboundSchema: z.ZodType<UpdatePromptContent$Outbound, z.ZodTypeDef, UpdatePromptContent>;
|
|
1714
|
-
/**
|
|
1715
|
-
* @internal
|
|
1716
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1717
|
-
*/
|
|
1718
|
-
export declare namespace UpdatePromptContent$ {
|
|
1719
|
-
/** @deprecated use `UpdatePromptContent$inboundSchema` instead. */
|
|
1720
|
-
const inboundSchema: z.ZodType<UpdatePromptContent, z.ZodTypeDef, unknown>;
|
|
1721
|
-
/** @deprecated use `UpdatePromptContent$outboundSchema` instead. */
|
|
1722
|
-
const outboundSchema: z.ZodType<UpdatePromptContent$Outbound, z.ZodTypeDef, UpdatePromptContent>;
|
|
1723
|
-
/** @deprecated use `UpdatePromptContent$Outbound` instead. */
|
|
1724
|
-
type Outbound = UpdatePromptContent$Outbound;
|
|
1725
|
-
}
|
|
1726
|
-
export declare function updatePromptContentToJSON(updatePromptContent: UpdatePromptContent): string;
|
|
1727
|
-
export declare function updatePromptContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptContent, SDKValidationError>;
|
|
1728
|
-
/** @internal */
|
|
1729
|
-
export declare const UpdatePromptType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptType>;
|
|
1730
|
-
/** @internal */
|
|
1731
|
-
export declare const UpdatePromptType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptType>;
|
|
1732
|
-
/**
|
|
1733
|
-
* @internal
|
|
1734
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1735
|
-
*/
|
|
1736
|
-
export declare namespace UpdatePromptType$ {
|
|
1737
|
-
/** @deprecated use `UpdatePromptType$inboundSchema` instead. */
|
|
1738
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1739
|
-
readonly Function: "function";
|
|
1740
|
-
}>;
|
|
1741
|
-
/** @deprecated use `UpdatePromptType$outboundSchema` instead. */
|
|
1742
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1743
|
-
readonly Function: "function";
|
|
1744
|
-
}>;
|
|
1745
|
-
}
|
|
1746
|
-
/** @internal */
|
|
1747
|
-
export declare const UpdatePromptFunction$inboundSchema: z.ZodType<UpdatePromptFunction, z.ZodTypeDef, unknown>;
|
|
1748
|
-
/** @internal */
|
|
1749
|
-
export type UpdatePromptFunction$Outbound = {
|
|
1750
|
-
name: string;
|
|
1751
|
-
arguments: string;
|
|
1752
|
-
};
|
|
1753
|
-
/** @internal */
|
|
1754
|
-
export declare const UpdatePromptFunction$outboundSchema: z.ZodType<UpdatePromptFunction$Outbound, z.ZodTypeDef, UpdatePromptFunction>;
|
|
1755
|
-
/**
|
|
1756
|
-
* @internal
|
|
1757
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1758
|
-
*/
|
|
1759
|
-
export declare namespace UpdatePromptFunction$ {
|
|
1760
|
-
/** @deprecated use `UpdatePromptFunction$inboundSchema` instead. */
|
|
1761
|
-
const inboundSchema: z.ZodType<UpdatePromptFunction, z.ZodTypeDef, unknown>;
|
|
1762
|
-
/** @deprecated use `UpdatePromptFunction$outboundSchema` instead. */
|
|
1763
|
-
const outboundSchema: z.ZodType<UpdatePromptFunction$Outbound, z.ZodTypeDef, UpdatePromptFunction>;
|
|
1764
|
-
/** @deprecated use `UpdatePromptFunction$Outbound` instead. */
|
|
1765
|
-
type Outbound = UpdatePromptFunction$Outbound;
|
|
1766
|
-
}
|
|
1767
|
-
export declare function updatePromptFunctionToJSON(updatePromptFunction: UpdatePromptFunction): string;
|
|
1768
|
-
export declare function updatePromptFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptFunction, SDKValidationError>;
|
|
1769
|
-
/** @internal */
|
|
1770
|
-
export declare const UpdatePromptToolCalls$inboundSchema: z.ZodType<UpdatePromptToolCalls, z.ZodTypeDef, unknown>;
|
|
1771
|
-
/** @internal */
|
|
1772
|
-
export type UpdatePromptToolCalls$Outbound = {
|
|
1773
|
-
id?: string | undefined;
|
|
1774
|
-
index?: number | undefined;
|
|
1775
|
-
type: string;
|
|
1776
|
-
function: UpdatePromptFunction$Outbound;
|
|
1777
|
-
};
|
|
1778
|
-
/** @internal */
|
|
1779
|
-
export declare const UpdatePromptToolCalls$outboundSchema: z.ZodType<UpdatePromptToolCalls$Outbound, z.ZodTypeDef, UpdatePromptToolCalls>;
|
|
1780
|
-
/**
|
|
1781
|
-
* @internal
|
|
1782
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1783
|
-
*/
|
|
1784
|
-
export declare namespace UpdatePromptToolCalls$ {
|
|
1785
|
-
/** @deprecated use `UpdatePromptToolCalls$inboundSchema` instead. */
|
|
1786
|
-
const inboundSchema: z.ZodType<UpdatePromptToolCalls, z.ZodTypeDef, unknown>;
|
|
1787
|
-
/** @deprecated use `UpdatePromptToolCalls$outboundSchema` instead. */
|
|
1788
|
-
const outboundSchema: z.ZodType<UpdatePromptToolCalls$Outbound, z.ZodTypeDef, UpdatePromptToolCalls>;
|
|
1789
|
-
/** @deprecated use `UpdatePromptToolCalls$Outbound` instead. */
|
|
1790
|
-
type Outbound = UpdatePromptToolCalls$Outbound;
|
|
1791
|
-
}
|
|
1792
|
-
export declare function updatePromptToolCallsToJSON(updatePromptToolCalls: UpdatePromptToolCalls): string;
|
|
1793
|
-
export declare function updatePromptToolCallsFromJSON(jsonString: string): SafeParseResult<UpdatePromptToolCalls, SDKValidationError>;
|
|
1794
|
-
/** @internal */
|
|
1795
|
-
export declare const UpdatePromptMessages$inboundSchema: z.ZodType<UpdatePromptMessages, z.ZodTypeDef, unknown>;
|
|
1796
|
-
/** @internal */
|
|
1797
|
-
export type UpdatePromptMessages$Outbound = {
|
|
1798
|
-
role: string;
|
|
1799
|
-
content: string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound>;
|
|
1800
|
-
tool_calls?: Array<UpdatePromptToolCalls$Outbound> | undefined;
|
|
1801
|
-
};
|
|
1802
|
-
/** @internal */
|
|
1803
|
-
export declare const UpdatePromptMessages$outboundSchema: z.ZodType<UpdatePromptMessages$Outbound, z.ZodTypeDef, UpdatePromptMessages>;
|
|
1804
|
-
/**
|
|
1805
|
-
* @internal
|
|
1806
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1807
|
-
*/
|
|
1808
|
-
export declare namespace UpdatePromptMessages$ {
|
|
1809
|
-
/** @deprecated use `UpdatePromptMessages$inboundSchema` instead. */
|
|
1810
|
-
const inboundSchema: z.ZodType<UpdatePromptMessages, z.ZodTypeDef, unknown>;
|
|
1811
|
-
/** @deprecated use `UpdatePromptMessages$outboundSchema` instead. */
|
|
1812
|
-
const outboundSchema: z.ZodType<UpdatePromptMessages$Outbound, z.ZodTypeDef, UpdatePromptMessages>;
|
|
1813
|
-
/** @deprecated use `UpdatePromptMessages$Outbound` instead. */
|
|
1814
|
-
type Outbound = UpdatePromptMessages$Outbound;
|
|
1815
|
-
}
|
|
1816
|
-
export declare function updatePromptMessagesToJSON(updatePromptMessages: UpdatePromptMessages): string;
|
|
1817
|
-
export declare function updatePromptMessagesFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessages, SDKValidationError>;
|
|
1818
|
-
/** @internal */
|
|
1819
|
-
export declare const UpdatePromptPromptConfig$inboundSchema: z.ZodType<UpdatePromptPromptConfig, z.ZodTypeDef, unknown>;
|
|
1820
|
-
/** @internal */
|
|
1821
|
-
export type UpdatePromptPromptConfig$Outbound = {
|
|
1822
|
-
stream?: boolean | undefined;
|
|
1823
|
-
model?: string | undefined;
|
|
1824
|
-
model_type?: string | undefined;
|
|
1825
|
-
model_parameters?: UpdatePromptModelParameters$Outbound | undefined;
|
|
1826
|
-
provider?: string | undefined;
|
|
1827
|
-
version?: string | undefined;
|
|
1828
|
-
messages: Array<UpdatePromptMessages$Outbound>;
|
|
1829
|
-
};
|
|
1830
|
-
/** @internal */
|
|
1831
|
-
export declare const UpdatePromptPromptConfig$outboundSchema: z.ZodType<UpdatePromptPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptConfig>;
|
|
1832
|
-
/**
|
|
1833
|
-
* @internal
|
|
1834
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1835
|
-
*/
|
|
1836
|
-
export declare namespace UpdatePromptPromptConfig$ {
|
|
1837
|
-
/** @deprecated use `UpdatePromptPromptConfig$inboundSchema` instead. */
|
|
1838
|
-
const inboundSchema: z.ZodType<UpdatePromptPromptConfig, z.ZodTypeDef, unknown>;
|
|
1839
|
-
/** @deprecated use `UpdatePromptPromptConfig$outboundSchema` instead. */
|
|
1840
|
-
const outboundSchema: z.ZodType<UpdatePromptPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptConfig>;
|
|
1841
|
-
/** @deprecated use `UpdatePromptPromptConfig$Outbound` instead. */
|
|
1842
|
-
type Outbound = UpdatePromptPromptConfig$Outbound;
|
|
1843
|
-
}
|
|
1844
|
-
export declare function updatePromptPromptConfigToJSON(updatePromptPromptConfig: UpdatePromptPromptConfig): string;
|
|
1845
|
-
export declare function updatePromptPromptConfigFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptConfig, SDKValidationError>;
|
|
1846
|
-
/** @internal */
|
|
1847
|
-
export declare const UpdatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptUseCases>;
|
|
1848
|
-
/** @internal */
|
|
1849
|
-
export declare const UpdatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptUseCases>;
|
|
1850
|
-
/**
|
|
1851
|
-
* @internal
|
|
1852
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1853
|
-
*/
|
|
1854
|
-
export declare namespace UpdatePromptUseCases$ {
|
|
1855
|
-
/** @deprecated use `UpdatePromptUseCases$inboundSchema` instead. */
|
|
1856
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1857
|
-
readonly Agents: "Agents";
|
|
1858
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1859
|
-
readonly APIInteraction: "API interaction";
|
|
1860
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1861
|
-
readonly Chatbots: "Chatbots";
|
|
1862
|
-
readonly Classification: "Classification";
|
|
1863
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1864
|
-
readonly CodeWriting: "Code writing";
|
|
1865
|
-
readonly DocumentsQA: "Documents QA";
|
|
1866
|
-
readonly Conversation: "Conversation";
|
|
1867
|
-
readonly Extraction: "Extraction";
|
|
1868
|
-
readonly MultiModal: "Multi-modal";
|
|
1869
|
-
readonly SelfChecking: "Self-checking";
|
|
1870
|
-
readonly Sql: "SQL";
|
|
1871
|
-
readonly Summarization: "Summarization";
|
|
1872
|
-
readonly Tagging: "Tagging";
|
|
1873
|
-
}>;
|
|
1874
|
-
/** @deprecated use `UpdatePromptUseCases$outboundSchema` instead. */
|
|
1875
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1876
|
-
readonly Agents: "Agents";
|
|
1877
|
-
readonly AgentsSimulations: "Agents simulations";
|
|
1878
|
-
readonly APIInteraction: "API interaction";
|
|
1879
|
-
readonly AutonomousAgents: "Autonomous Agents";
|
|
1880
|
-
readonly Chatbots: "Chatbots";
|
|
1881
|
-
readonly Classification: "Classification";
|
|
1882
|
-
readonly CodeUnderstanding: "Code understanding";
|
|
1883
|
-
readonly CodeWriting: "Code writing";
|
|
1884
|
-
readonly DocumentsQA: "Documents QA";
|
|
1885
|
-
readonly Conversation: "Conversation";
|
|
1886
|
-
readonly Extraction: "Extraction";
|
|
1887
|
-
readonly MultiModal: "Multi-modal";
|
|
1888
|
-
readonly SelfChecking: "Self-checking";
|
|
1889
|
-
readonly Sql: "SQL";
|
|
1890
|
-
readonly Summarization: "Summarization";
|
|
1891
|
-
readonly Tagging: "Tagging";
|
|
1892
|
-
}>;
|
|
1893
|
-
}
|
|
1894
|
-
/** @internal */
|
|
1895
|
-
export declare const UpdatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptLanguage>;
|
|
1896
|
-
/** @internal */
|
|
1897
|
-
export declare const UpdatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptLanguage>;
|
|
1898
|
-
/**
|
|
1899
|
-
* @internal
|
|
1900
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1901
|
-
*/
|
|
1902
|
-
export declare namespace UpdatePromptLanguage$ {
|
|
1903
|
-
/** @deprecated use `UpdatePromptLanguage$inboundSchema` instead. */
|
|
1904
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1905
|
-
readonly Chinese: "Chinese";
|
|
1906
|
-
readonly Dutch: "Dutch";
|
|
1907
|
-
readonly English: "English";
|
|
1908
|
-
readonly French: "French";
|
|
1909
|
-
readonly German: "German";
|
|
1910
|
-
readonly Russian: "Russian";
|
|
1911
|
-
readonly Spanish: "Spanish";
|
|
1912
|
-
}>;
|
|
1913
|
-
/** @deprecated use `UpdatePromptLanguage$outboundSchema` instead. */
|
|
1914
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1915
|
-
readonly Chinese: "Chinese";
|
|
1916
|
-
readonly Dutch: "Dutch";
|
|
1917
|
-
readonly English: "English";
|
|
1918
|
-
readonly French: "French";
|
|
1919
|
-
readonly German: "German";
|
|
1920
|
-
readonly Russian: "Russian";
|
|
1921
|
-
readonly Spanish: "Spanish";
|
|
1922
|
-
}>;
|
|
1923
|
-
}
|
|
1924
|
-
/** @internal */
|
|
1925
|
-
export declare const UpdatePromptMetadata$inboundSchema: z.ZodType<UpdatePromptMetadata, z.ZodTypeDef, unknown>;
|
|
1926
|
-
/** @internal */
|
|
1927
|
-
export type UpdatePromptMetadata$Outbound = {
|
|
1928
|
-
use_cases?: Array<string> | undefined;
|
|
1929
|
-
language?: string | undefined;
|
|
1930
|
-
};
|
|
1931
|
-
/** @internal */
|
|
1932
|
-
export declare const UpdatePromptMetadata$outboundSchema: z.ZodType<UpdatePromptMetadata$Outbound, z.ZodTypeDef, UpdatePromptMetadata>;
|
|
1933
|
-
/**
|
|
1934
|
-
* @internal
|
|
1935
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1936
|
-
*/
|
|
1937
|
-
export declare namespace UpdatePromptMetadata$ {
|
|
1938
|
-
/** @deprecated use `UpdatePromptMetadata$inboundSchema` instead. */
|
|
1939
|
-
const inboundSchema: z.ZodType<UpdatePromptMetadata, z.ZodTypeDef, unknown>;
|
|
1940
|
-
/** @deprecated use `UpdatePromptMetadata$outboundSchema` instead. */
|
|
1941
|
-
const outboundSchema: z.ZodType<UpdatePromptMetadata$Outbound, z.ZodTypeDef, UpdatePromptMetadata>;
|
|
1942
|
-
/** @deprecated use `UpdatePromptMetadata$Outbound` instead. */
|
|
1943
|
-
type Outbound = UpdatePromptMetadata$Outbound;
|
|
1944
|
-
}
|
|
1945
|
-
export declare function updatePromptMetadataToJSON(updatePromptMetadata: UpdatePromptMetadata): string;
|
|
1946
|
-
export declare function updatePromptMetadataFromJSON(jsonString: string): SafeParseResult<UpdatePromptMetadata, SDKValidationError>;
|
|
1947
|
-
/** @internal */
|
|
1948
|
-
export declare const UpdatePromptRequestBody$inboundSchema: z.ZodType<UpdatePromptRequestBody, z.ZodTypeDef, unknown>;
|
|
1949
|
-
/** @internal */
|
|
1950
|
-
export type UpdatePromptRequestBody$Outbound = {
|
|
1951
|
-
display_name?: string | undefined;
|
|
1952
|
-
description?: string | null | undefined;
|
|
1953
|
-
prompt_config?: UpdatePromptPromptConfig$Outbound | undefined;
|
|
1954
|
-
metadata?: UpdatePromptMetadata$Outbound | undefined;
|
|
1955
|
-
};
|
|
1956
|
-
/** @internal */
|
|
1957
|
-
export declare const UpdatePromptRequestBody$outboundSchema: z.ZodType<UpdatePromptRequestBody$Outbound, z.ZodTypeDef, UpdatePromptRequestBody>;
|
|
1958
|
-
/**
|
|
1959
|
-
* @internal
|
|
1960
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1961
|
-
*/
|
|
1962
|
-
export declare namespace UpdatePromptRequestBody$ {
|
|
1963
|
-
/** @deprecated use `UpdatePromptRequestBody$inboundSchema` instead. */
|
|
1964
|
-
const inboundSchema: z.ZodType<UpdatePromptRequestBody, z.ZodTypeDef, unknown>;
|
|
1965
|
-
/** @deprecated use `UpdatePromptRequestBody$outboundSchema` instead. */
|
|
1966
|
-
const outboundSchema: z.ZodType<UpdatePromptRequestBody$Outbound, z.ZodTypeDef, UpdatePromptRequestBody>;
|
|
1967
|
-
/** @deprecated use `UpdatePromptRequestBody$Outbound` instead. */
|
|
1968
|
-
type Outbound = UpdatePromptRequestBody$Outbound;
|
|
1969
|
-
}
|
|
1970
|
-
export declare function updatePromptRequestBodyToJSON(updatePromptRequestBody: UpdatePromptRequestBody): string;
|
|
1971
|
-
export declare function updatePromptRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdatePromptRequestBody, SDKValidationError>;
|
|
1972
|
-
/** @internal */
|
|
1973
|
-
export declare const UpdatePromptRequest$inboundSchema: z.ZodType<UpdatePromptRequest, z.ZodTypeDef, unknown>;
|
|
1974
|
-
/** @internal */
|
|
1975
|
-
export type UpdatePromptRequest$Outbound = {
|
|
1976
|
-
id: string;
|
|
1977
|
-
RequestBody?: UpdatePromptRequestBody$Outbound | undefined;
|
|
1978
|
-
};
|
|
1979
|
-
/** @internal */
|
|
1980
|
-
export declare const UpdatePromptRequest$outboundSchema: z.ZodType<UpdatePromptRequest$Outbound, z.ZodTypeDef, UpdatePromptRequest>;
|
|
1981
|
-
/**
|
|
1982
|
-
* @internal
|
|
1983
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1984
|
-
*/
|
|
1985
|
-
export declare namespace UpdatePromptRequest$ {
|
|
1986
|
-
/** @deprecated use `UpdatePromptRequest$inboundSchema` instead. */
|
|
1987
|
-
const inboundSchema: z.ZodType<UpdatePromptRequest, z.ZodTypeDef, unknown>;
|
|
1988
|
-
/** @deprecated use `UpdatePromptRequest$outboundSchema` instead. */
|
|
1989
|
-
const outboundSchema: z.ZodType<UpdatePromptRequest$Outbound, z.ZodTypeDef, UpdatePromptRequest>;
|
|
1990
|
-
/** @deprecated use `UpdatePromptRequest$Outbound` instead. */
|
|
1991
|
-
type Outbound = UpdatePromptRequest$Outbound;
|
|
1992
|
-
}
|
|
1993
|
-
export declare function updatePromptRequestToJSON(updatePromptRequest: UpdatePromptRequest): string;
|
|
1994
|
-
export declare function updatePromptRequestFromJSON(jsonString: string): SafeParseResult<UpdatePromptRequest, SDKValidationError>;
|
|
1995
|
-
/** @internal */
|
|
1996
|
-
export declare const UpdatePromptOwner2$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptOwner2>;
|
|
1997
|
-
/** @internal */
|
|
1998
|
-
export declare const UpdatePromptOwner2$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptOwner2>;
|
|
1999
|
-
/**
|
|
2000
|
-
* @internal
|
|
2001
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2002
|
-
*/
|
|
2003
|
-
export declare namespace UpdatePromptOwner2$ {
|
|
2004
|
-
/** @deprecated use `UpdatePromptOwner2$inboundSchema` instead. */
|
|
2005
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2006
|
-
readonly Vendor: "vendor";
|
|
2007
|
-
}>;
|
|
2008
|
-
/** @deprecated use `UpdatePromptOwner2$outboundSchema` instead. */
|
|
2009
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2010
|
-
readonly Vendor: "vendor";
|
|
2011
|
-
}>;
|
|
2012
|
-
}
|
|
2013
|
-
/** @internal */
|
|
2014
|
-
export declare const UpdatePromptOwner$inboundSchema: z.ZodType<UpdatePromptOwner, z.ZodTypeDef, unknown>;
|
|
2015
|
-
/** @internal */
|
|
2016
|
-
export type UpdatePromptOwner$Outbound = string | string;
|
|
2017
|
-
/** @internal */
|
|
2018
|
-
export declare const UpdatePromptOwner$outboundSchema: z.ZodType<UpdatePromptOwner$Outbound, z.ZodTypeDef, UpdatePromptOwner>;
|
|
2019
|
-
/**
|
|
2020
|
-
* @internal
|
|
2021
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2022
|
-
*/
|
|
2023
|
-
export declare namespace UpdatePromptOwner$ {
|
|
2024
|
-
/** @deprecated use `UpdatePromptOwner$inboundSchema` instead. */
|
|
2025
|
-
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
2026
|
-
/** @deprecated use `UpdatePromptOwner$outboundSchema` instead. */
|
|
2027
|
-
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
2028
|
-
/** @deprecated use `UpdatePromptOwner$Outbound` instead. */
|
|
2029
|
-
type Outbound = UpdatePromptOwner$Outbound;
|
|
2030
|
-
}
|
|
2031
|
-
export declare function updatePromptOwnerToJSON(updatePromptOwner: UpdatePromptOwner): string;
|
|
2032
|
-
export declare function updatePromptOwnerFromJSON(jsonString: string): SafeParseResult<UpdatePromptOwner, SDKValidationError>;
|
|
2033
|
-
/** @internal */
|
|
2034
|
-
export declare const UpdatePromptPromptsModelType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsModelType>;
|
|
2035
|
-
/** @internal */
|
|
2036
|
-
export declare const UpdatePromptPromptsModelType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsModelType>;
|
|
2037
|
-
/**
|
|
2038
|
-
* @internal
|
|
2039
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2040
|
-
*/
|
|
2041
|
-
export declare namespace UpdatePromptPromptsModelType$ {
|
|
2042
|
-
/** @deprecated use `UpdatePromptPromptsModelType$inboundSchema` instead. */
|
|
2043
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2044
|
-
readonly Chat: "chat";
|
|
2045
|
-
readonly Completion: "completion";
|
|
2046
|
-
readonly Embedding: "embedding";
|
|
2047
|
-
readonly Vision: "vision";
|
|
2048
|
-
readonly Image: "image";
|
|
2049
|
-
readonly Tts: "tts";
|
|
2050
|
-
readonly Stt: "stt";
|
|
2051
|
-
readonly Rerank: "rerank";
|
|
2052
|
-
readonly Moderations: "moderations";
|
|
2053
|
-
}>;
|
|
2054
|
-
/** @deprecated use `UpdatePromptPromptsModelType$outboundSchema` instead. */
|
|
2055
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2056
|
-
readonly Chat: "chat";
|
|
2057
|
-
readonly Completion: "completion";
|
|
2058
|
-
readonly Embedding: "embedding";
|
|
2059
|
-
readonly Vision: "vision";
|
|
2060
|
-
readonly Image: "image";
|
|
2061
|
-
readonly Tts: "tts";
|
|
2062
|
-
readonly Stt: "stt";
|
|
2063
|
-
readonly Rerank: "rerank";
|
|
2064
|
-
readonly Moderations: "moderations";
|
|
2065
|
-
}>;
|
|
2066
|
-
}
|
|
2067
|
-
/** @internal */
|
|
2068
|
-
export declare const UpdatePromptPromptsFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsFormat>;
|
|
2069
|
-
/** @internal */
|
|
2070
|
-
export declare const UpdatePromptPromptsFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsFormat>;
|
|
2071
|
-
/**
|
|
2072
|
-
* @internal
|
|
2073
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2074
|
-
*/
|
|
2075
|
-
export declare namespace UpdatePromptPromptsFormat$ {
|
|
2076
|
-
/** @deprecated use `UpdatePromptPromptsFormat$inboundSchema` instead. */
|
|
2077
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2078
|
-
readonly Url: "url";
|
|
2079
|
-
readonly B64Json: "b64_json";
|
|
2080
|
-
readonly Text: "text";
|
|
2081
|
-
readonly JsonObject: "json_object";
|
|
2082
|
-
}>;
|
|
2083
|
-
/** @deprecated use `UpdatePromptPromptsFormat$outboundSchema` instead. */
|
|
2084
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2085
|
-
readonly Url: "url";
|
|
2086
|
-
readonly B64Json: "b64_json";
|
|
2087
|
-
readonly Text: "text";
|
|
2088
|
-
readonly JsonObject: "json_object";
|
|
2089
|
-
}>;
|
|
2090
|
-
}
|
|
2091
|
-
/** @internal */
|
|
2092
|
-
export declare const UpdatePromptPromptsQuality$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsQuality>;
|
|
2093
|
-
/** @internal */
|
|
2094
|
-
export declare const UpdatePromptPromptsQuality$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsQuality>;
|
|
2095
|
-
/**
|
|
2096
|
-
* @internal
|
|
2097
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2098
|
-
*/
|
|
2099
|
-
export declare namespace UpdatePromptPromptsQuality$ {
|
|
2100
|
-
/** @deprecated use `UpdatePromptPromptsQuality$inboundSchema` instead. */
|
|
2101
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2102
|
-
readonly Standard: "standard";
|
|
2103
|
-
readonly Hd: "hd";
|
|
2104
|
-
}>;
|
|
2105
|
-
/** @deprecated use `UpdatePromptPromptsQuality$outboundSchema` instead. */
|
|
2106
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2107
|
-
readonly Standard: "standard";
|
|
2108
|
-
readonly Hd: "hd";
|
|
2109
|
-
}>;
|
|
2110
|
-
}
|
|
2111
|
-
/** @internal */
|
|
2112
|
-
export declare const UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
|
|
2113
|
-
/** @internal */
|
|
2114
|
-
export declare const UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
|
|
2115
|
-
/**
|
|
2116
|
-
* @internal
|
|
2117
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2118
|
-
*/
|
|
2119
|
-
export declare namespace UpdatePromptResponseFormatPromptsResponse200Type$ {
|
|
2120
|
-
/** @deprecated use `UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema` instead. */
|
|
2121
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2122
|
-
readonly JsonObject: "json_object";
|
|
2123
|
-
}>;
|
|
2124
|
-
/** @deprecated use `UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema` instead. */
|
|
2125
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2126
|
-
readonly JsonObject: "json_object";
|
|
2127
|
-
}>;
|
|
2128
|
-
}
|
|
2129
|
-
/** @internal */
|
|
2130
|
-
export declare const UpdatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
2131
|
-
/** @internal */
|
|
2132
|
-
export type UpdatePromptResponseFormatPrompts2$Outbound = {
|
|
2133
|
-
type: string;
|
|
2134
|
-
};
|
|
2135
|
-
/** @internal */
|
|
2136
|
-
export declare const UpdatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts2>;
|
|
2137
|
-
/**
|
|
2138
|
-
* @internal
|
|
2139
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2140
|
-
*/
|
|
2141
|
-
export declare namespace UpdatePromptResponseFormatPrompts2$ {
|
|
2142
|
-
/** @deprecated use `UpdatePromptResponseFormatPrompts2$inboundSchema` instead. */
|
|
2143
|
-
const inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
2144
|
-
/** @deprecated use `UpdatePromptResponseFormatPrompts2$outboundSchema` instead. */
|
|
2145
|
-
const outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts2>;
|
|
2146
|
-
/** @deprecated use `UpdatePromptResponseFormatPrompts2$Outbound` instead. */
|
|
2147
|
-
type Outbound = UpdatePromptResponseFormatPrompts2$Outbound;
|
|
2148
|
-
}
|
|
2149
|
-
export declare function updatePromptResponseFormatPrompts2ToJSON(updatePromptResponseFormatPrompts2: UpdatePromptResponseFormatPrompts2): string;
|
|
2150
|
-
export declare function updatePromptResponseFormatPrompts2FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPrompts2, SDKValidationError>;
|
|
2151
|
-
/** @internal */
|
|
2152
|
-
export declare const UpdatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
2153
|
-
/** @internal */
|
|
2154
|
-
export declare const UpdatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
2155
|
-
/**
|
|
2156
|
-
* @internal
|
|
2157
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2158
|
-
*/
|
|
2159
|
-
export declare namespace UpdatePromptResponseFormatPromptsResponseType$ {
|
|
2160
|
-
/** @deprecated use `UpdatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
|
|
2161
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
2162
|
-
readonly JsonSchema: "json_schema";
|
|
2163
|
-
}>;
|
|
2164
|
-
/** @deprecated use `UpdatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
|
|
2165
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
2166
|
-
readonly JsonSchema: "json_schema";
|
|
2167
|
-
}>;
|
|
2168
|
-
}
|
|
2169
|
-
/** @internal */
|
|
2170
|
-
export declare const UpdatePromptResponseFormatPromptsJsonSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
|
|
2171
|
-
/** @internal */
|
|
2172
|
-
export type UpdatePromptResponseFormatPromptsJsonSchema$Outbound = {
|
|
2173
|
-
name: string;
|
|
2174
|
-
strict: boolean;
|
|
2175
|
-
schema: {
|
|
2176
|
-
[k: string]: any;
|
|
2177
|
-
};
|
|
2178
|
-
};
|
|
2179
|
-
/** @internal */
|
|
2180
|
-
export declare const UpdatePromptResponseFormatPromptsJsonSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsJsonSchema>;
|
|
2181
|
-
/**
|
|
2182
|
-
* @internal
|
|
2183
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2184
|
-
*/
|
|
2185
|
-
export declare namespace UpdatePromptResponseFormatPromptsJsonSchema$ {
|
|
2186
|
-
/** @deprecated use `UpdatePromptResponseFormatPromptsJsonSchema$inboundSchema` instead. */
|
|
2187
|
-
const inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
|
|
2188
|
-
/** @deprecated use `UpdatePromptResponseFormatPromptsJsonSchema$outboundSchema` instead. */
|
|
2189
|
-
const outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsJsonSchema>;
|
|
2190
|
-
/** @deprecated use `UpdatePromptResponseFormatPromptsJsonSchema$Outbound` instead. */
|
|
2191
|
-
type Outbound = UpdatePromptResponseFormatPromptsJsonSchema$Outbound;
|
|
2192
|
-
}
|
|
2193
|
-
export declare function updatePromptResponseFormatPromptsJsonSchemaToJSON(updatePromptResponseFormatPromptsJsonSchema: UpdatePromptResponseFormatPromptsJsonSchema): string;
|
|
2194
|
-
export declare function updatePromptResponseFormatPromptsJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPromptsJsonSchema, SDKValidationError>;
|
|
2195
|
-
/** @internal */
|
|
2196
|
-
export declare const UpdatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
|
|
2197
|
-
/** @internal */
|
|
2198
|
-
export type UpdatePromptResponseFormatPrompts1$Outbound = {
|
|
2199
|
-
type: string;
|
|
2200
|
-
json_schema: UpdatePromptResponseFormatPromptsJsonSchema$Outbound;
|
|
2201
|
-
};
|
|
2202
|
-
/** @internal */
|
|
2203
|
-
export declare const UpdatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts1>;
|
|
2204
|
-
/**
|
|
2205
|
-
* @internal
|
|
2206
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2207
|
-
*/
|
|
2208
|
-
export declare namespace UpdatePromptResponseFormatPrompts1$ {
|
|
2209
|
-
/** @deprecated use `UpdatePromptResponseFormatPrompts1$inboundSchema` instead. */
|
|
2210
|
-
const inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
|
|
2211
|
-
/** @deprecated use `UpdatePromptResponseFormatPrompts1$outboundSchema` instead. */
|
|
2212
|
-
const outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts1>;
|
|
2213
|
-
/** @deprecated use `UpdatePromptResponseFormatPrompts1$Outbound` instead. */
|
|
2214
|
-
type Outbound = UpdatePromptResponseFormatPrompts1$Outbound;
|
|
2215
|
-
}
|
|
2216
|
-
export declare function updatePromptResponseFormatPrompts1ToJSON(updatePromptResponseFormatPrompts1: UpdatePromptResponseFormatPrompts1): string;
|
|
2217
|
-
export declare function updatePromptResponseFormatPrompts1FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPrompts1, SDKValidationError>;
|
|
2218
|
-
/** @internal */
|
|
2219
|
-
export declare const UpdatePromptPromptsResponseFormat$inboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
2220
|
-
/** @internal */
|
|
2221
|
-
export type UpdatePromptPromptsResponseFormat$Outbound = UpdatePromptResponseFormatPrompts2$Outbound | UpdatePromptResponseFormatPrompts1$Outbound;
|
|
2222
|
-
/** @internal */
|
|
2223
|
-
export declare const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseFormat>;
|
|
2224
|
-
/**
|
|
2225
|
-
* @internal
|
|
2226
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2227
|
-
*/
|
|
2228
|
-
export declare namespace UpdatePromptPromptsResponseFormat$ {
|
|
2229
|
-
/** @deprecated use `UpdatePromptPromptsResponseFormat$inboundSchema` instead. */
|
|
2230
|
-
const inboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
2231
|
-
/** @deprecated use `UpdatePromptPromptsResponseFormat$outboundSchema` instead. */
|
|
2232
|
-
const outboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseFormat>;
|
|
2233
|
-
/** @deprecated use `UpdatePromptPromptsResponseFormat$Outbound` instead. */
|
|
2234
|
-
type Outbound = UpdatePromptPromptsResponseFormat$Outbound;
|
|
976
|
+
export declare namespace UpdatePromptResponseFormat$ {
|
|
977
|
+
/** @deprecated use `UpdatePromptResponseFormat$inboundSchema` instead. */
|
|
978
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormat, z.ZodTypeDef, unknown>;
|
|
979
|
+
/** @deprecated use `UpdatePromptResponseFormat$outboundSchema` instead. */
|
|
980
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptResponseFormat>;
|
|
981
|
+
/** @deprecated use `UpdatePromptResponseFormat$Outbound` instead. */
|
|
982
|
+
type Outbound = UpdatePromptResponseFormat$Outbound;
|
|
2235
983
|
}
|
|
2236
|
-
export declare function
|
|
2237
|
-
export declare function
|
|
984
|
+
export declare function updatePromptResponseFormatToJSON(updatePromptResponseFormat: UpdatePromptResponseFormat): string;
|
|
985
|
+
export declare function updatePromptResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormat, SDKValidationError>;
|
|
2238
986
|
/** @internal */
|
|
2239
|
-
export declare const
|
|
987
|
+
export declare const UpdatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPhotoRealVersion>;
|
|
2240
988
|
/** @internal */
|
|
2241
|
-
export declare const
|
|
989
|
+
export declare const UpdatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPhotoRealVersion>;
|
|
2242
990
|
/**
|
|
2243
991
|
* @internal
|
|
2244
992
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2245
993
|
*/
|
|
2246
|
-
export declare namespace
|
|
2247
|
-
/** @deprecated use `
|
|
994
|
+
export declare namespace UpdatePromptPhotoRealVersion$ {
|
|
995
|
+
/** @deprecated use `UpdatePromptPhotoRealVersion$inboundSchema` instead. */
|
|
2248
996
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2249
997
|
readonly V1: "v1";
|
|
2250
998
|
readonly V2: "v2";
|
|
2251
999
|
}>;
|
|
2252
|
-
/** @deprecated use `
|
|
1000
|
+
/** @deprecated use `UpdatePromptPhotoRealVersion$outboundSchema` instead. */
|
|
2253
1001
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2254
1002
|
readonly V1: "v1";
|
|
2255
1003
|
readonly V2: "v2";
|
|
2256
1004
|
}>;
|
|
2257
1005
|
}
|
|
2258
1006
|
/** @internal */
|
|
2259
|
-
export declare const
|
|
1007
|
+
export declare const UpdatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptEncodingFormat>;
|
|
2260
1008
|
/** @internal */
|
|
2261
|
-
export declare const
|
|
1009
|
+
export declare const UpdatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptEncodingFormat>;
|
|
2262
1010
|
/**
|
|
2263
1011
|
* @internal
|
|
2264
1012
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2265
1013
|
*/
|
|
2266
|
-
export declare namespace
|
|
2267
|
-
/** @deprecated use `
|
|
1014
|
+
export declare namespace UpdatePromptEncodingFormat$ {
|
|
1015
|
+
/** @deprecated use `UpdatePromptEncodingFormat$inboundSchema` instead. */
|
|
2268
1016
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2269
1017
|
readonly Float: "float";
|
|
2270
1018
|
readonly Base64: "base64";
|
|
2271
1019
|
}>;
|
|
2272
|
-
/** @deprecated use `
|
|
1020
|
+
/** @deprecated use `UpdatePromptEncodingFormat$outboundSchema` instead. */
|
|
2273
1021
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2274
1022
|
readonly Float: "float";
|
|
2275
1023
|
readonly Base64: "base64";
|
|
2276
1024
|
}>;
|
|
2277
1025
|
}
|
|
2278
1026
|
/** @internal */
|
|
2279
|
-
export declare const
|
|
1027
|
+
export declare const UpdatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptReasoningEffort>;
|
|
2280
1028
|
/** @internal */
|
|
2281
|
-
export declare const
|
|
1029
|
+
export declare const UpdatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptReasoningEffort>;
|
|
2282
1030
|
/**
|
|
2283
1031
|
* @internal
|
|
2284
1032
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2285
1033
|
*/
|
|
2286
|
-
export declare namespace
|
|
2287
|
-
/** @deprecated use `
|
|
1034
|
+
export declare namespace UpdatePromptReasoningEffort$ {
|
|
1035
|
+
/** @deprecated use `UpdatePromptReasoningEffort$inboundSchema` instead. */
|
|
2288
1036
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2289
1037
|
readonly Low: "low";
|
|
2290
1038
|
readonly Medium: "medium";
|
|
2291
1039
|
readonly High: "high";
|
|
2292
1040
|
}>;
|
|
2293
|
-
/** @deprecated use `
|
|
1041
|
+
/** @deprecated use `UpdatePromptReasoningEffort$outboundSchema` instead. */
|
|
2294
1042
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2295
1043
|
readonly Low: "low";
|
|
2296
1044
|
readonly Medium: "medium";
|
|
@@ -2298,9 +1046,9 @@ export declare namespace UpdatePromptPromptsReasoningEffort$ {
|
|
|
2298
1046
|
}>;
|
|
2299
1047
|
}
|
|
2300
1048
|
/** @internal */
|
|
2301
|
-
export declare const
|
|
1049
|
+
export declare const UpdatePromptModelParameters$inboundSchema: z.ZodType<UpdatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
2302
1050
|
/** @internal */
|
|
2303
|
-
export type
|
|
1051
|
+
export type UpdatePromptModelParameters$Outbound = {
|
|
2304
1052
|
temperature?: number | undefined;
|
|
2305
1053
|
maxTokens?: number | undefined;
|
|
2306
1054
|
topK?: number | undefined;
|
|
@@ -2313,37 +1061,37 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
2313
1061
|
dimensions?: string | undefined;
|
|
2314
1062
|
quality?: string | undefined;
|
|
2315
1063
|
style?: string | undefined;
|
|
2316
|
-
responseFormat?:
|
|
1064
|
+
responseFormat?: UpdatePromptResponseFormat2$Outbound | UpdatePromptResponseFormat1$Outbound | null | undefined;
|
|
2317
1065
|
photoRealVersion?: string | undefined;
|
|
2318
1066
|
encoding_format?: string | undefined;
|
|
2319
1067
|
reasoningEffort?: string | undefined;
|
|
2320
1068
|
};
|
|
2321
1069
|
/** @internal */
|
|
2322
|
-
export declare const
|
|
1070
|
+
export declare const UpdatePromptModelParameters$outboundSchema: z.ZodType<UpdatePromptModelParameters$Outbound, z.ZodTypeDef, UpdatePromptModelParameters>;
|
|
2323
1071
|
/**
|
|
2324
1072
|
* @internal
|
|
2325
1073
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2326
1074
|
*/
|
|
2327
|
-
export declare namespace
|
|
2328
|
-
/** @deprecated use `
|
|
2329
|
-
const inboundSchema: z.ZodType<
|
|
2330
|
-
/** @deprecated use `
|
|
2331
|
-
const outboundSchema: z.ZodType<
|
|
2332
|
-
/** @deprecated use `
|
|
2333
|
-
type Outbound =
|
|
1075
|
+
export declare namespace UpdatePromptModelParameters$ {
|
|
1076
|
+
/** @deprecated use `UpdatePromptModelParameters$inboundSchema` instead. */
|
|
1077
|
+
const inboundSchema: z.ZodType<UpdatePromptModelParameters, z.ZodTypeDef, unknown>;
|
|
1078
|
+
/** @deprecated use `UpdatePromptModelParameters$outboundSchema` instead. */
|
|
1079
|
+
const outboundSchema: z.ZodType<UpdatePromptModelParameters$Outbound, z.ZodTypeDef, UpdatePromptModelParameters>;
|
|
1080
|
+
/** @deprecated use `UpdatePromptModelParameters$Outbound` instead. */
|
|
1081
|
+
type Outbound = UpdatePromptModelParameters$Outbound;
|
|
2334
1082
|
}
|
|
2335
|
-
export declare function
|
|
2336
|
-
export declare function
|
|
1083
|
+
export declare function updatePromptModelParametersToJSON(updatePromptModelParameters: UpdatePromptModelParameters): string;
|
|
1084
|
+
export declare function updatePromptModelParametersFromJSON(jsonString: string): SafeParseResult<UpdatePromptModelParameters, SDKValidationError>;
|
|
2337
1085
|
/** @internal */
|
|
2338
|
-
export declare const
|
|
1086
|
+
export declare const UpdatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptProvider>;
|
|
2339
1087
|
/** @internal */
|
|
2340
|
-
export declare const
|
|
1088
|
+
export declare const UpdatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptProvider>;
|
|
2341
1089
|
/**
|
|
2342
1090
|
* @internal
|
|
2343
1091
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2344
1092
|
*/
|
|
2345
|
-
export declare namespace
|
|
2346
|
-
/** @deprecated use `
|
|
1093
|
+
export declare namespace UpdatePromptProvider$ {
|
|
1094
|
+
/** @deprecated use `UpdatePromptProvider$inboundSchema` instead. */
|
|
2347
1095
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2348
1096
|
readonly Cohere: "cohere";
|
|
2349
1097
|
readonly Openai: "openai";
|
|
@@ -2364,7 +1112,7 @@ export declare namespace UpdatePromptPromptsProvider$ {
|
|
|
2364
1112
|
readonly Togetherai: "togetherai";
|
|
2365
1113
|
readonly Elevenlabs: "elevenlabs";
|
|
2366
1114
|
}>;
|
|
2367
|
-
/** @deprecated use `
|
|
1115
|
+
/** @deprecated use `UpdatePromptProvider$outboundSchema` instead. */
|
|
2368
1116
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2369
1117
|
readonly Cohere: "cohere";
|
|
2370
1118
|
readonly Openai: "openai";
|
|
@@ -2387,15 +1135,15 @@ export declare namespace UpdatePromptPromptsProvider$ {
|
|
|
2387
1135
|
}>;
|
|
2388
1136
|
}
|
|
2389
1137
|
/** @internal */
|
|
2390
|
-
export declare const
|
|
1138
|
+
export declare const UpdatePromptRole$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptRole>;
|
|
2391
1139
|
/** @internal */
|
|
2392
|
-
export declare const
|
|
1140
|
+
export declare const UpdatePromptRole$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptRole>;
|
|
2393
1141
|
/**
|
|
2394
1142
|
* @internal
|
|
2395
1143
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2396
1144
|
*/
|
|
2397
|
-
export declare namespace
|
|
2398
|
-
/** @deprecated use `
|
|
1145
|
+
export declare namespace UpdatePromptRole$ {
|
|
1146
|
+
/** @deprecated use `UpdatePromptRole$inboundSchema` instead. */
|
|
2399
1147
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2400
1148
|
readonly System: "system";
|
|
2401
1149
|
readonly Assistant: "assistant";
|
|
@@ -2406,7 +1154,7 @@ export declare namespace UpdatePromptPromptsRole$ {
|
|
|
2406
1154
|
readonly Correction: "correction";
|
|
2407
1155
|
readonly ExpectedOutput: "expected_output";
|
|
2408
1156
|
}>;
|
|
2409
|
-
/** @deprecated use `
|
|
1157
|
+
/** @deprecated use `UpdatePromptRole$outboundSchema` instead. */
|
|
2410
1158
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2411
1159
|
readonly System: "system";
|
|
2412
1160
|
readonly Assistant: "assistant";
|
|
@@ -2419,281 +1167,278 @@ export declare namespace UpdatePromptPromptsRole$ {
|
|
|
2419
1167
|
}>;
|
|
2420
1168
|
}
|
|
2421
1169
|
/** @internal */
|
|
2422
|
-
export declare const
|
|
1170
|
+
export declare const UpdatePrompt2PromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsType>;
|
|
2423
1171
|
/** @internal */
|
|
2424
|
-
export declare const
|
|
1172
|
+
export declare const UpdatePrompt2PromptsType$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsType>;
|
|
2425
1173
|
/**
|
|
2426
1174
|
* @internal
|
|
2427
1175
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2428
1176
|
*/
|
|
2429
|
-
export declare namespace
|
|
2430
|
-
/** @deprecated use `
|
|
1177
|
+
export declare namespace UpdatePrompt2PromptsType$ {
|
|
1178
|
+
/** @deprecated use `UpdatePrompt2PromptsType$inboundSchema` instead. */
|
|
2431
1179
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2432
1180
|
readonly ImageUrl: "image_url";
|
|
2433
1181
|
}>;
|
|
2434
|
-
/** @deprecated use `
|
|
1182
|
+
/** @deprecated use `UpdatePrompt2PromptsType$outboundSchema` instead. */
|
|
2435
1183
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2436
1184
|
readonly ImageUrl: "image_url";
|
|
2437
1185
|
}>;
|
|
2438
1186
|
}
|
|
2439
1187
|
/** @internal */
|
|
2440
|
-
export declare const
|
|
1188
|
+
export declare const UpdatePrompt2ImageUrl$inboundSchema: z.ZodType<UpdatePrompt2ImageUrl, z.ZodTypeDef, unknown>;
|
|
2441
1189
|
/** @internal */
|
|
2442
|
-
export type
|
|
2443
|
-
id?: string | undefined;
|
|
1190
|
+
export type UpdatePrompt2ImageUrl$Outbound = {
|
|
2444
1191
|
url: string;
|
|
2445
1192
|
detail?: string | undefined;
|
|
2446
1193
|
};
|
|
2447
1194
|
/** @internal */
|
|
2448
|
-
export declare const
|
|
1195
|
+
export declare const UpdatePrompt2ImageUrl$outboundSchema: z.ZodType<UpdatePrompt2ImageUrl$Outbound, z.ZodTypeDef, UpdatePrompt2ImageUrl>;
|
|
2449
1196
|
/**
|
|
2450
1197
|
* @internal
|
|
2451
1198
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2452
1199
|
*/
|
|
2453
|
-
export declare namespace
|
|
2454
|
-
/** @deprecated use `
|
|
2455
|
-
const inboundSchema: z.ZodType<
|
|
2456
|
-
/** @deprecated use `
|
|
2457
|
-
const outboundSchema: z.ZodType<
|
|
2458
|
-
/** @deprecated use `
|
|
2459
|
-
type Outbound =
|
|
1200
|
+
export declare namespace UpdatePrompt2ImageUrl$ {
|
|
1201
|
+
/** @deprecated use `UpdatePrompt2ImageUrl$inboundSchema` instead. */
|
|
1202
|
+
const inboundSchema: z.ZodType<UpdatePrompt2ImageUrl, z.ZodTypeDef, unknown>;
|
|
1203
|
+
/** @deprecated use `UpdatePrompt2ImageUrl$outboundSchema` instead. */
|
|
1204
|
+
const outboundSchema: z.ZodType<UpdatePrompt2ImageUrl$Outbound, z.ZodTypeDef, UpdatePrompt2ImageUrl>;
|
|
1205
|
+
/** @deprecated use `UpdatePrompt2ImageUrl$Outbound` instead. */
|
|
1206
|
+
type Outbound = UpdatePrompt2ImageUrl$Outbound;
|
|
2460
1207
|
}
|
|
2461
|
-
export declare function
|
|
2462
|
-
export declare function
|
|
1208
|
+
export declare function updatePrompt2ImageUrlToJSON(updatePrompt2ImageUrl: UpdatePrompt2ImageUrl): string;
|
|
1209
|
+
export declare function updatePrompt2ImageUrlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2ImageUrl, SDKValidationError>;
|
|
2463
1210
|
/** @internal */
|
|
2464
|
-
export declare const
|
|
1211
|
+
export declare const UpdatePrompt22$inboundSchema: z.ZodType<UpdatePrompt22, z.ZodTypeDef, unknown>;
|
|
2465
1212
|
/** @internal */
|
|
2466
|
-
export type
|
|
1213
|
+
export type UpdatePrompt22$Outbound = {
|
|
2467
1214
|
type: string;
|
|
2468
|
-
image_url:
|
|
1215
|
+
image_url: UpdatePrompt2ImageUrl$Outbound;
|
|
2469
1216
|
};
|
|
2470
1217
|
/** @internal */
|
|
2471
|
-
export declare const
|
|
1218
|
+
export declare const UpdatePrompt22$outboundSchema: z.ZodType<UpdatePrompt22$Outbound, z.ZodTypeDef, UpdatePrompt22>;
|
|
2472
1219
|
/**
|
|
2473
1220
|
* @internal
|
|
2474
1221
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2475
1222
|
*/
|
|
2476
|
-
export declare namespace
|
|
2477
|
-
/** @deprecated use `
|
|
2478
|
-
const inboundSchema: z.ZodType<
|
|
2479
|
-
/** @deprecated use `
|
|
2480
|
-
const outboundSchema: z.ZodType<
|
|
2481
|
-
/** @deprecated use `
|
|
2482
|
-
type Outbound =
|
|
1223
|
+
export declare namespace UpdatePrompt22$ {
|
|
1224
|
+
/** @deprecated use `UpdatePrompt22$inboundSchema` instead. */
|
|
1225
|
+
const inboundSchema: z.ZodType<UpdatePrompt22, z.ZodTypeDef, unknown>;
|
|
1226
|
+
/** @deprecated use `UpdatePrompt22$outboundSchema` instead. */
|
|
1227
|
+
const outboundSchema: z.ZodType<UpdatePrompt22$Outbound, z.ZodTypeDef, UpdatePrompt22>;
|
|
1228
|
+
/** @deprecated use `UpdatePrompt22$Outbound` instead. */
|
|
1229
|
+
type Outbound = UpdatePrompt22$Outbound;
|
|
2483
1230
|
}
|
|
2484
|
-
export declare function
|
|
2485
|
-
export declare function
|
|
1231
|
+
export declare function updatePrompt22ToJSON(updatePrompt22: UpdatePrompt22): string;
|
|
1232
|
+
export declare function updatePrompt22FromJSON(jsonString: string): SafeParseResult<UpdatePrompt22, SDKValidationError>;
|
|
2486
1233
|
/** @internal */
|
|
2487
|
-
export declare const
|
|
1234
|
+
export declare const UpdatePrompt2Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2Type>;
|
|
2488
1235
|
/** @internal */
|
|
2489
|
-
export declare const
|
|
1236
|
+
export declare const UpdatePrompt2Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2Type>;
|
|
2490
1237
|
/**
|
|
2491
1238
|
* @internal
|
|
2492
1239
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2493
1240
|
*/
|
|
2494
|
-
export declare namespace
|
|
2495
|
-
/** @deprecated use `
|
|
1241
|
+
export declare namespace UpdatePrompt2Type$ {
|
|
1242
|
+
/** @deprecated use `UpdatePrompt2Type$inboundSchema` instead. */
|
|
2496
1243
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2497
1244
|
readonly Text: "text";
|
|
2498
1245
|
}>;
|
|
2499
|
-
/** @deprecated use `
|
|
1246
|
+
/** @deprecated use `UpdatePrompt2Type$outboundSchema` instead. */
|
|
2500
1247
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2501
1248
|
readonly Text: "text";
|
|
2502
1249
|
}>;
|
|
2503
1250
|
}
|
|
2504
1251
|
/** @internal */
|
|
2505
|
-
export declare const
|
|
1252
|
+
export declare const UpdatePrompt21$inboundSchema: z.ZodType<UpdatePrompt21, z.ZodTypeDef, unknown>;
|
|
2506
1253
|
/** @internal */
|
|
2507
|
-
export type
|
|
1254
|
+
export type UpdatePrompt21$Outbound = {
|
|
2508
1255
|
type: string;
|
|
2509
1256
|
text: string;
|
|
2510
1257
|
};
|
|
2511
1258
|
/** @internal */
|
|
2512
|
-
export declare const
|
|
1259
|
+
export declare const UpdatePrompt21$outboundSchema: z.ZodType<UpdatePrompt21$Outbound, z.ZodTypeDef, UpdatePrompt21>;
|
|
2513
1260
|
/**
|
|
2514
1261
|
* @internal
|
|
2515
1262
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2516
1263
|
*/
|
|
2517
|
-
export declare namespace
|
|
2518
|
-
/** @deprecated use `
|
|
2519
|
-
const inboundSchema: z.ZodType<
|
|
2520
|
-
/** @deprecated use `
|
|
2521
|
-
const outboundSchema: z.ZodType<
|
|
2522
|
-
/** @deprecated use `
|
|
2523
|
-
type Outbound =
|
|
1264
|
+
export declare namespace UpdatePrompt21$ {
|
|
1265
|
+
/** @deprecated use `UpdatePrompt21$inboundSchema` instead. */
|
|
1266
|
+
const inboundSchema: z.ZodType<UpdatePrompt21, z.ZodTypeDef, unknown>;
|
|
1267
|
+
/** @deprecated use `UpdatePrompt21$outboundSchema` instead. */
|
|
1268
|
+
const outboundSchema: z.ZodType<UpdatePrompt21$Outbound, z.ZodTypeDef, UpdatePrompt21>;
|
|
1269
|
+
/** @deprecated use `UpdatePrompt21$Outbound` instead. */
|
|
1270
|
+
type Outbound = UpdatePrompt21$Outbound;
|
|
2524
1271
|
}
|
|
2525
|
-
export declare function
|
|
2526
|
-
export declare function
|
|
1272
|
+
export declare function updatePrompt21ToJSON(updatePrompt21: UpdatePrompt21): string;
|
|
1273
|
+
export declare function updatePrompt21FromJSON(jsonString: string): SafeParseResult<UpdatePrompt21, SDKValidationError>;
|
|
2527
1274
|
/** @internal */
|
|
2528
|
-
export declare const
|
|
1275
|
+
export declare const UpdatePromptContent2$inboundSchema: z.ZodType<UpdatePromptContent2, z.ZodTypeDef, unknown>;
|
|
2529
1276
|
/** @internal */
|
|
2530
|
-
export type
|
|
1277
|
+
export type UpdatePromptContent2$Outbound = UpdatePrompt21$Outbound | UpdatePrompt22$Outbound;
|
|
2531
1278
|
/** @internal */
|
|
2532
|
-
export declare const
|
|
1279
|
+
export declare const UpdatePromptContent2$outboundSchema: z.ZodType<UpdatePromptContent2$Outbound, z.ZodTypeDef, UpdatePromptContent2>;
|
|
2533
1280
|
/**
|
|
2534
1281
|
* @internal
|
|
2535
1282
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2536
1283
|
*/
|
|
2537
|
-
export declare namespace
|
|
2538
|
-
/** @deprecated use `
|
|
2539
|
-
const inboundSchema: z.ZodType<
|
|
2540
|
-
/** @deprecated use `
|
|
2541
|
-
const outboundSchema: z.ZodType<
|
|
2542
|
-
/** @deprecated use `
|
|
2543
|
-
type Outbound =
|
|
1284
|
+
export declare namespace UpdatePromptContent2$ {
|
|
1285
|
+
/** @deprecated use `UpdatePromptContent2$inboundSchema` instead. */
|
|
1286
|
+
const inboundSchema: z.ZodType<UpdatePromptContent2, z.ZodTypeDef, unknown>;
|
|
1287
|
+
/** @deprecated use `UpdatePromptContent2$outboundSchema` instead. */
|
|
1288
|
+
const outboundSchema: z.ZodType<UpdatePromptContent2$Outbound, z.ZodTypeDef, UpdatePromptContent2>;
|
|
1289
|
+
/** @deprecated use `UpdatePromptContent2$Outbound` instead. */
|
|
1290
|
+
type Outbound = UpdatePromptContent2$Outbound;
|
|
2544
1291
|
}
|
|
2545
|
-
export declare function
|
|
2546
|
-
export declare function
|
|
1292
|
+
export declare function updatePromptContent2ToJSON(updatePromptContent2: UpdatePromptContent2): string;
|
|
1293
|
+
export declare function updatePromptContent2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContent2, SDKValidationError>;
|
|
2547
1294
|
/** @internal */
|
|
2548
|
-
export declare const
|
|
1295
|
+
export declare const UpdatePromptContent$inboundSchema: z.ZodType<UpdatePromptContent, z.ZodTypeDef, unknown>;
|
|
2549
1296
|
/** @internal */
|
|
2550
|
-
export type
|
|
1297
|
+
export type UpdatePromptContent$Outbound = string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound>;
|
|
2551
1298
|
/** @internal */
|
|
2552
|
-
export declare const
|
|
2553
|
-
/**
|
|
2554
|
-
* @internal
|
|
2555
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2556
|
-
*/
|
|
2557
|
-
export declare namespace
|
|
2558
|
-
/** @deprecated use `
|
|
2559
|
-
const inboundSchema: z.ZodType<
|
|
2560
|
-
/** @deprecated use `
|
|
2561
|
-
const outboundSchema: z.ZodType<
|
|
2562
|
-
/** @deprecated use `
|
|
2563
|
-
type Outbound =
|
|
1299
|
+
export declare const UpdatePromptContent$outboundSchema: z.ZodType<UpdatePromptContent$Outbound, z.ZodTypeDef, UpdatePromptContent>;
|
|
1300
|
+
/**
|
|
1301
|
+
* @internal
|
|
1302
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1303
|
+
*/
|
|
1304
|
+
export declare namespace UpdatePromptContent$ {
|
|
1305
|
+
/** @deprecated use `UpdatePromptContent$inboundSchema` instead. */
|
|
1306
|
+
const inboundSchema: z.ZodType<UpdatePromptContent, z.ZodTypeDef, unknown>;
|
|
1307
|
+
/** @deprecated use `UpdatePromptContent$outboundSchema` instead. */
|
|
1308
|
+
const outboundSchema: z.ZodType<UpdatePromptContent$Outbound, z.ZodTypeDef, UpdatePromptContent>;
|
|
1309
|
+
/** @deprecated use `UpdatePromptContent$Outbound` instead. */
|
|
1310
|
+
type Outbound = UpdatePromptContent$Outbound;
|
|
2564
1311
|
}
|
|
2565
|
-
export declare function
|
|
2566
|
-
export declare function
|
|
1312
|
+
export declare function updatePromptContentToJSON(updatePromptContent: UpdatePromptContent): string;
|
|
1313
|
+
export declare function updatePromptContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptContent, SDKValidationError>;
|
|
2567
1314
|
/** @internal */
|
|
2568
|
-
export declare const
|
|
1315
|
+
export declare const UpdatePromptType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptType>;
|
|
2569
1316
|
/** @internal */
|
|
2570
|
-
export declare const
|
|
1317
|
+
export declare const UpdatePromptType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptType>;
|
|
2571
1318
|
/**
|
|
2572
1319
|
* @internal
|
|
2573
1320
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2574
1321
|
*/
|
|
2575
|
-
export declare namespace
|
|
2576
|
-
/** @deprecated use `
|
|
1322
|
+
export declare namespace UpdatePromptType$ {
|
|
1323
|
+
/** @deprecated use `UpdatePromptType$inboundSchema` instead. */
|
|
2577
1324
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2578
1325
|
readonly Function: "function";
|
|
2579
1326
|
}>;
|
|
2580
|
-
/** @deprecated use `
|
|
1327
|
+
/** @deprecated use `UpdatePromptType$outboundSchema` instead. */
|
|
2581
1328
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2582
1329
|
readonly Function: "function";
|
|
2583
1330
|
}>;
|
|
2584
1331
|
}
|
|
2585
1332
|
/** @internal */
|
|
2586
|
-
export declare const
|
|
1333
|
+
export declare const UpdatePromptFunction$inboundSchema: z.ZodType<UpdatePromptFunction, z.ZodTypeDef, unknown>;
|
|
2587
1334
|
/** @internal */
|
|
2588
|
-
export type
|
|
1335
|
+
export type UpdatePromptFunction$Outbound = {
|
|
2589
1336
|
name: string;
|
|
2590
1337
|
arguments: string;
|
|
2591
1338
|
};
|
|
2592
1339
|
/** @internal */
|
|
2593
|
-
export declare const
|
|
1340
|
+
export declare const UpdatePromptFunction$outboundSchema: z.ZodType<UpdatePromptFunction$Outbound, z.ZodTypeDef, UpdatePromptFunction>;
|
|
2594
1341
|
/**
|
|
2595
1342
|
* @internal
|
|
2596
1343
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2597
1344
|
*/
|
|
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 =
|
|
1345
|
+
export declare namespace UpdatePromptFunction$ {
|
|
1346
|
+
/** @deprecated use `UpdatePromptFunction$inboundSchema` instead. */
|
|
1347
|
+
const inboundSchema: z.ZodType<UpdatePromptFunction, z.ZodTypeDef, unknown>;
|
|
1348
|
+
/** @deprecated use `UpdatePromptFunction$outboundSchema` instead. */
|
|
1349
|
+
const outboundSchema: z.ZodType<UpdatePromptFunction$Outbound, z.ZodTypeDef, UpdatePromptFunction>;
|
|
1350
|
+
/** @deprecated use `UpdatePromptFunction$Outbound` instead. */
|
|
1351
|
+
type Outbound = UpdatePromptFunction$Outbound;
|
|
2605
1352
|
}
|
|
2606
|
-
export declare function
|
|
2607
|
-
export declare function
|
|
1353
|
+
export declare function updatePromptFunctionToJSON(updatePromptFunction: UpdatePromptFunction): string;
|
|
1354
|
+
export declare function updatePromptFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptFunction, SDKValidationError>;
|
|
2608
1355
|
/** @internal */
|
|
2609
|
-
export declare const
|
|
1356
|
+
export declare const UpdatePromptToolCalls$inboundSchema: z.ZodType<UpdatePromptToolCalls, z.ZodTypeDef, unknown>;
|
|
2610
1357
|
/** @internal */
|
|
2611
|
-
export type
|
|
1358
|
+
export type UpdatePromptToolCalls$Outbound = {
|
|
2612
1359
|
id?: string | undefined;
|
|
2613
1360
|
index?: number | undefined;
|
|
2614
1361
|
type: string;
|
|
2615
|
-
function:
|
|
1362
|
+
function: UpdatePromptFunction$Outbound;
|
|
2616
1363
|
};
|
|
2617
1364
|
/** @internal */
|
|
2618
|
-
export declare const
|
|
1365
|
+
export declare const UpdatePromptToolCalls$outboundSchema: z.ZodType<UpdatePromptToolCalls$Outbound, z.ZodTypeDef, UpdatePromptToolCalls>;
|
|
2619
1366
|
/**
|
|
2620
1367
|
* @internal
|
|
2621
1368
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2622
1369
|
*/
|
|
2623
|
-
export declare namespace
|
|
2624
|
-
/** @deprecated use `
|
|
2625
|
-
const inboundSchema: z.ZodType<
|
|
2626
|
-
/** @deprecated use `
|
|
2627
|
-
const outboundSchema: z.ZodType<
|
|
2628
|
-
/** @deprecated use `
|
|
2629
|
-
type Outbound =
|
|
1370
|
+
export declare namespace UpdatePromptToolCalls$ {
|
|
1371
|
+
/** @deprecated use `UpdatePromptToolCalls$inboundSchema` instead. */
|
|
1372
|
+
const inboundSchema: z.ZodType<UpdatePromptToolCalls, z.ZodTypeDef, unknown>;
|
|
1373
|
+
/** @deprecated use `UpdatePromptToolCalls$outboundSchema` instead. */
|
|
1374
|
+
const outboundSchema: z.ZodType<UpdatePromptToolCalls$Outbound, z.ZodTypeDef, UpdatePromptToolCalls>;
|
|
1375
|
+
/** @deprecated use `UpdatePromptToolCalls$Outbound` instead. */
|
|
1376
|
+
type Outbound = UpdatePromptToolCalls$Outbound;
|
|
2630
1377
|
}
|
|
2631
|
-
export declare function
|
|
2632
|
-
export declare function
|
|
1378
|
+
export declare function updatePromptToolCallsToJSON(updatePromptToolCalls: UpdatePromptToolCalls): string;
|
|
1379
|
+
export declare function updatePromptToolCallsFromJSON(jsonString: string): SafeParseResult<UpdatePromptToolCalls, SDKValidationError>;
|
|
2633
1380
|
/** @internal */
|
|
2634
|
-
export declare const
|
|
1381
|
+
export declare const UpdatePromptMessages$inboundSchema: z.ZodType<UpdatePromptMessages, z.ZodTypeDef, unknown>;
|
|
2635
1382
|
/** @internal */
|
|
2636
|
-
export type
|
|
1383
|
+
export type UpdatePromptMessages$Outbound = {
|
|
2637
1384
|
role: string;
|
|
2638
|
-
content: string | Array<
|
|
2639
|
-
tool_calls?: Array<
|
|
1385
|
+
content: string | Array<UpdatePrompt21$Outbound | UpdatePrompt22$Outbound>;
|
|
1386
|
+
tool_calls?: Array<UpdatePromptToolCalls$Outbound> | undefined;
|
|
2640
1387
|
};
|
|
2641
1388
|
/** @internal */
|
|
2642
|
-
export declare const
|
|
1389
|
+
export declare const UpdatePromptMessages$outboundSchema: z.ZodType<UpdatePromptMessages$Outbound, z.ZodTypeDef, UpdatePromptMessages>;
|
|
2643
1390
|
/**
|
|
2644
1391
|
* @internal
|
|
2645
1392
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2646
1393
|
*/
|
|
2647
|
-
export declare namespace
|
|
2648
|
-
/** @deprecated use `
|
|
2649
|
-
const inboundSchema: z.ZodType<
|
|
2650
|
-
/** @deprecated use `
|
|
2651
|
-
const outboundSchema: z.ZodType<
|
|
2652
|
-
/** @deprecated use `
|
|
2653
|
-
type Outbound =
|
|
1394
|
+
export declare namespace UpdatePromptMessages$ {
|
|
1395
|
+
/** @deprecated use `UpdatePromptMessages$inboundSchema` instead. */
|
|
1396
|
+
const inboundSchema: z.ZodType<UpdatePromptMessages, z.ZodTypeDef, unknown>;
|
|
1397
|
+
/** @deprecated use `UpdatePromptMessages$outboundSchema` instead. */
|
|
1398
|
+
const outboundSchema: z.ZodType<UpdatePromptMessages$Outbound, z.ZodTypeDef, UpdatePromptMessages>;
|
|
1399
|
+
/** @deprecated use `UpdatePromptMessages$Outbound` instead. */
|
|
1400
|
+
type Outbound = UpdatePromptMessages$Outbound;
|
|
2654
1401
|
}
|
|
2655
|
-
export declare function
|
|
2656
|
-
export declare function
|
|
1402
|
+
export declare function updatePromptMessagesToJSON(updatePromptMessages: UpdatePromptMessages): string;
|
|
1403
|
+
export declare function updatePromptMessagesFromJSON(jsonString: string): SafeParseResult<UpdatePromptMessages, SDKValidationError>;
|
|
2657
1404
|
/** @internal */
|
|
2658
|
-
export declare const
|
|
1405
|
+
export declare const UpdatePromptPromptConfig$inboundSchema: z.ZodType<UpdatePromptPromptConfig, z.ZodTypeDef, unknown>;
|
|
2659
1406
|
/** @internal */
|
|
2660
|
-
export type
|
|
1407
|
+
export type UpdatePromptPromptConfig$Outbound = {
|
|
2661
1408
|
stream?: boolean | undefined;
|
|
2662
1409
|
model?: string | undefined;
|
|
2663
|
-
model_db_id?: string | undefined;
|
|
2664
1410
|
model_type?: string | undefined;
|
|
2665
|
-
model_parameters?:
|
|
1411
|
+
model_parameters?: UpdatePromptModelParameters$Outbound | undefined;
|
|
2666
1412
|
provider?: string | undefined;
|
|
2667
|
-
integration_id?: string | null | undefined;
|
|
2668
1413
|
version?: string | undefined;
|
|
2669
|
-
messages: Array<
|
|
1414
|
+
messages: Array<UpdatePromptMessages$Outbound>;
|
|
2670
1415
|
};
|
|
2671
1416
|
/** @internal */
|
|
2672
|
-
export declare const
|
|
1417
|
+
export declare const UpdatePromptPromptConfig$outboundSchema: z.ZodType<UpdatePromptPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptConfig>;
|
|
2673
1418
|
/**
|
|
2674
1419
|
* @internal
|
|
2675
1420
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2676
1421
|
*/
|
|
2677
|
-
export declare namespace
|
|
2678
|
-
/** @deprecated use `
|
|
2679
|
-
const inboundSchema: z.ZodType<
|
|
2680
|
-
/** @deprecated use `
|
|
2681
|
-
const outboundSchema: z.ZodType<
|
|
2682
|
-
/** @deprecated use `
|
|
2683
|
-
type Outbound =
|
|
1422
|
+
export declare namespace UpdatePromptPromptConfig$ {
|
|
1423
|
+
/** @deprecated use `UpdatePromptPromptConfig$inboundSchema` instead. */
|
|
1424
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptConfig, z.ZodTypeDef, unknown>;
|
|
1425
|
+
/** @deprecated use `UpdatePromptPromptConfig$outboundSchema` instead. */
|
|
1426
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptConfig>;
|
|
1427
|
+
/** @deprecated use `UpdatePromptPromptConfig$Outbound` instead. */
|
|
1428
|
+
type Outbound = UpdatePromptPromptConfig$Outbound;
|
|
2684
1429
|
}
|
|
2685
|
-
export declare function
|
|
2686
|
-
export declare function
|
|
1430
|
+
export declare function updatePromptPromptConfigToJSON(updatePromptPromptConfig: UpdatePromptPromptConfig): string;
|
|
1431
|
+
export declare function updatePromptPromptConfigFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptConfig, SDKValidationError>;
|
|
2687
1432
|
/** @internal */
|
|
2688
|
-
export declare const
|
|
1433
|
+
export declare const UpdatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptUseCases>;
|
|
2689
1434
|
/** @internal */
|
|
2690
|
-
export declare const
|
|
1435
|
+
export declare const UpdatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptUseCases>;
|
|
2691
1436
|
/**
|
|
2692
1437
|
* @internal
|
|
2693
1438
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2694
1439
|
*/
|
|
2695
|
-
export declare namespace
|
|
2696
|
-
/** @deprecated use `
|
|
1440
|
+
export declare namespace UpdatePromptUseCases$ {
|
|
1441
|
+
/** @deprecated use `UpdatePromptUseCases$inboundSchema` instead. */
|
|
2697
1442
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2698
1443
|
readonly Agents: "Agents";
|
|
2699
1444
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -2712,7 +1457,7 @@ export declare namespace UpdatePromptPromptsUseCases$ {
|
|
|
2712
1457
|
readonly Summarization: "Summarization";
|
|
2713
1458
|
readonly Tagging: "Tagging";
|
|
2714
1459
|
}>;
|
|
2715
|
-
/** @deprecated use `
|
|
1460
|
+
/** @deprecated use `UpdatePromptUseCases$outboundSchema` instead. */
|
|
2716
1461
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2717
1462
|
readonly Agents: "Agents";
|
|
2718
1463
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -2733,15 +1478,15 @@ export declare namespace UpdatePromptPromptsUseCases$ {
|
|
|
2733
1478
|
}>;
|
|
2734
1479
|
}
|
|
2735
1480
|
/** @internal */
|
|
2736
|
-
export declare const
|
|
1481
|
+
export declare const UpdatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptLanguage>;
|
|
2737
1482
|
/** @internal */
|
|
2738
|
-
export declare const
|
|
1483
|
+
export declare const UpdatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptLanguage>;
|
|
2739
1484
|
/**
|
|
2740
1485
|
* @internal
|
|
2741
1486
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2742
1487
|
*/
|
|
2743
|
-
export declare namespace
|
|
2744
|
-
/** @deprecated use `
|
|
1488
|
+
export declare namespace UpdatePromptLanguage$ {
|
|
1489
|
+
/** @deprecated use `UpdatePromptLanguage$inboundSchema` instead. */
|
|
2745
1490
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2746
1491
|
readonly Chinese: "Chinese";
|
|
2747
1492
|
readonly Dutch: "Dutch";
|
|
@@ -2751,7 +1496,7 @@ export declare namespace UpdatePromptPromptsLanguage$ {
|
|
|
2751
1496
|
readonly Russian: "Russian";
|
|
2752
1497
|
readonly Spanish: "Spanish";
|
|
2753
1498
|
}>;
|
|
2754
|
-
/** @deprecated use `
|
|
1499
|
+
/** @deprecated use `UpdatePromptLanguage$outboundSchema` instead. */
|
|
2755
1500
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2756
1501
|
readonly Chinese: "Chinese";
|
|
2757
1502
|
readonly Dutch: "Dutch";
|
|
@@ -2763,28 +1508,82 @@ export declare namespace UpdatePromptPromptsLanguage$ {
|
|
|
2763
1508
|
}>;
|
|
2764
1509
|
}
|
|
2765
1510
|
/** @internal */
|
|
2766
|
-
export declare const
|
|
1511
|
+
export declare const UpdatePromptMetadata$inboundSchema: z.ZodType<UpdatePromptMetadata, z.ZodTypeDef, unknown>;
|
|
2767
1512
|
/** @internal */
|
|
2768
|
-
export type
|
|
1513
|
+
export type UpdatePromptMetadata$Outbound = {
|
|
2769
1514
|
use_cases?: Array<string> | undefined;
|
|
2770
1515
|
language?: string | undefined;
|
|
2771
1516
|
};
|
|
2772
1517
|
/** @internal */
|
|
2773
|
-
export declare const
|
|
1518
|
+
export declare const UpdatePromptMetadata$outboundSchema: z.ZodType<UpdatePromptMetadata$Outbound, z.ZodTypeDef, UpdatePromptMetadata>;
|
|
2774
1519
|
/**
|
|
2775
1520
|
* @internal
|
|
2776
1521
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2777
1522
|
*/
|
|
2778
|
-
export declare namespace
|
|
2779
|
-
/** @deprecated use `
|
|
2780
|
-
const inboundSchema: z.ZodType<
|
|
2781
|
-
/** @deprecated use `
|
|
2782
|
-
const outboundSchema: z.ZodType<
|
|
2783
|
-
/** @deprecated use `
|
|
2784
|
-
type Outbound =
|
|
1523
|
+
export declare namespace UpdatePromptMetadata$ {
|
|
1524
|
+
/** @deprecated use `UpdatePromptMetadata$inboundSchema` instead. */
|
|
1525
|
+
const inboundSchema: z.ZodType<UpdatePromptMetadata, z.ZodTypeDef, unknown>;
|
|
1526
|
+
/** @deprecated use `UpdatePromptMetadata$outboundSchema` instead. */
|
|
1527
|
+
const outboundSchema: z.ZodType<UpdatePromptMetadata$Outbound, z.ZodTypeDef, UpdatePromptMetadata>;
|
|
1528
|
+
/** @deprecated use `UpdatePromptMetadata$Outbound` instead. */
|
|
1529
|
+
type Outbound = UpdatePromptMetadata$Outbound;
|
|
2785
1530
|
}
|
|
2786
|
-
export declare function
|
|
2787
|
-
export declare function
|
|
1531
|
+
export declare function updatePromptMetadataToJSON(updatePromptMetadata: UpdatePromptMetadata): string;
|
|
1532
|
+
export declare function updatePromptMetadataFromJSON(jsonString: string): SafeParseResult<UpdatePromptMetadata, SDKValidationError>;
|
|
1533
|
+
/** @internal */
|
|
1534
|
+
export declare const UpdatePromptRequestBody$inboundSchema: z.ZodType<UpdatePromptRequestBody, z.ZodTypeDef, unknown>;
|
|
1535
|
+
/** @internal */
|
|
1536
|
+
export type UpdatePromptRequestBody$Outbound = {
|
|
1537
|
+
owner?: string | undefined;
|
|
1538
|
+
domain_id?: string | undefined;
|
|
1539
|
+
created?: string | undefined;
|
|
1540
|
+
updated?: string | undefined;
|
|
1541
|
+
created_by_id?: string | undefined;
|
|
1542
|
+
updated_by_id?: string | undefined;
|
|
1543
|
+
display_name?: string | undefined;
|
|
1544
|
+
description?: string | null | undefined;
|
|
1545
|
+
prompt_config?: UpdatePromptPromptConfig$Outbound | undefined;
|
|
1546
|
+
metadata?: UpdatePromptMetadata$Outbound | undefined;
|
|
1547
|
+
};
|
|
1548
|
+
/** @internal */
|
|
1549
|
+
export declare const UpdatePromptRequestBody$outboundSchema: z.ZodType<UpdatePromptRequestBody$Outbound, z.ZodTypeDef, UpdatePromptRequestBody>;
|
|
1550
|
+
/**
|
|
1551
|
+
* @internal
|
|
1552
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1553
|
+
*/
|
|
1554
|
+
export declare namespace UpdatePromptRequestBody$ {
|
|
1555
|
+
/** @deprecated use `UpdatePromptRequestBody$inboundSchema` instead. */
|
|
1556
|
+
const inboundSchema: z.ZodType<UpdatePromptRequestBody, z.ZodTypeDef, unknown>;
|
|
1557
|
+
/** @deprecated use `UpdatePromptRequestBody$outboundSchema` instead. */
|
|
1558
|
+
const outboundSchema: z.ZodType<UpdatePromptRequestBody$Outbound, z.ZodTypeDef, UpdatePromptRequestBody>;
|
|
1559
|
+
/** @deprecated use `UpdatePromptRequestBody$Outbound` instead. */
|
|
1560
|
+
type Outbound = UpdatePromptRequestBody$Outbound;
|
|
1561
|
+
}
|
|
1562
|
+
export declare function updatePromptRequestBodyToJSON(updatePromptRequestBody: UpdatePromptRequestBody): string;
|
|
1563
|
+
export declare function updatePromptRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdatePromptRequestBody, SDKValidationError>;
|
|
1564
|
+
/** @internal */
|
|
1565
|
+
export declare const UpdatePromptRequest$inboundSchema: z.ZodType<UpdatePromptRequest, z.ZodTypeDef, unknown>;
|
|
1566
|
+
/** @internal */
|
|
1567
|
+
export type UpdatePromptRequest$Outbound = {
|
|
1568
|
+
id: string;
|
|
1569
|
+
RequestBody?: UpdatePromptRequestBody$Outbound | undefined;
|
|
1570
|
+
};
|
|
1571
|
+
/** @internal */
|
|
1572
|
+
export declare const UpdatePromptRequest$outboundSchema: z.ZodType<UpdatePromptRequest$Outbound, z.ZodTypeDef, UpdatePromptRequest>;
|
|
1573
|
+
/**
|
|
1574
|
+
* @internal
|
|
1575
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1576
|
+
*/
|
|
1577
|
+
export declare namespace UpdatePromptRequest$ {
|
|
1578
|
+
/** @deprecated use `UpdatePromptRequest$inboundSchema` instead. */
|
|
1579
|
+
const inboundSchema: z.ZodType<UpdatePromptRequest, z.ZodTypeDef, unknown>;
|
|
1580
|
+
/** @deprecated use `UpdatePromptRequest$outboundSchema` instead. */
|
|
1581
|
+
const outboundSchema: z.ZodType<UpdatePromptRequest$Outbound, z.ZodTypeDef, UpdatePromptRequest>;
|
|
1582
|
+
/** @deprecated use `UpdatePromptRequest$Outbound` instead. */
|
|
1583
|
+
type Outbound = UpdatePromptRequest$Outbound;
|
|
1584
|
+
}
|
|
1585
|
+
export declare function updatePromptRequestToJSON(updatePromptRequest: UpdatePromptRequest): string;
|
|
1586
|
+
export declare function updatePromptRequestFromJSON(jsonString: string): SafeParseResult<UpdatePromptRequest, SDKValidationError>;
|
|
2788
1587
|
/** @internal */
|
|
2789
1588
|
export declare const UpdatePromptPromptsType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsType>;
|
|
2790
1589
|
/** @internal */
|
|
@@ -2804,15 +1603,15 @@ export declare namespace UpdatePromptPromptsType$ {
|
|
|
2804
1603
|
}>;
|
|
2805
1604
|
}
|
|
2806
1605
|
/** @internal */
|
|
2807
|
-
export declare const
|
|
1606
|
+
export declare const UpdatePromptPromptsModelType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsModelType>;
|
|
2808
1607
|
/** @internal */
|
|
2809
|
-
export declare const
|
|
1608
|
+
export declare const UpdatePromptPromptsModelType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsModelType>;
|
|
2810
1609
|
/**
|
|
2811
1610
|
* @internal
|
|
2812
1611
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2813
1612
|
*/
|
|
2814
|
-
export declare namespace
|
|
2815
|
-
/** @deprecated use `
|
|
1613
|
+
export declare namespace UpdatePromptPromptsModelType$ {
|
|
1614
|
+
/** @deprecated use `UpdatePromptPromptsModelType$inboundSchema` instead. */
|
|
2816
1615
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2817
1616
|
readonly Chat: "chat";
|
|
2818
1617
|
readonly Completion: "completion";
|
|
@@ -2824,7 +1623,7 @@ export declare namespace UpdatePromptPromptsResponseModelType$ {
|
|
|
2824
1623
|
readonly Rerank: "rerank";
|
|
2825
1624
|
readonly Moderations: "moderations";
|
|
2826
1625
|
}>;
|
|
2827
|
-
/** @deprecated use `
|
|
1626
|
+
/** @deprecated use `UpdatePromptPromptsModelType$outboundSchema` instead. */
|
|
2828
1627
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2829
1628
|
readonly Chat: "chat";
|
|
2830
1629
|
readonly Completion: "completion";
|
|
@@ -2838,22 +1637,22 @@ export declare namespace UpdatePromptPromptsResponseModelType$ {
|
|
|
2838
1637
|
}>;
|
|
2839
1638
|
}
|
|
2840
1639
|
/** @internal */
|
|
2841
|
-
export declare const
|
|
1640
|
+
export declare const UpdatePromptPromptsFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsFormat>;
|
|
2842
1641
|
/** @internal */
|
|
2843
|
-
export declare const
|
|
1642
|
+
export declare const UpdatePromptPromptsFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsFormat>;
|
|
2844
1643
|
/**
|
|
2845
1644
|
* @internal
|
|
2846
1645
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2847
1646
|
*/
|
|
2848
|
-
export declare namespace
|
|
2849
|
-
/** @deprecated use `
|
|
1647
|
+
export declare namespace UpdatePromptPromptsFormat$ {
|
|
1648
|
+
/** @deprecated use `UpdatePromptPromptsFormat$inboundSchema` instead. */
|
|
2850
1649
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2851
1650
|
readonly Url: "url";
|
|
2852
1651
|
readonly B64Json: "b64_json";
|
|
2853
1652
|
readonly Text: "text";
|
|
2854
1653
|
readonly JsonObject: "json_object";
|
|
2855
1654
|
}>;
|
|
2856
|
-
/** @deprecated use `
|
|
1655
|
+
/** @deprecated use `UpdatePromptPromptsFormat$outboundSchema` instead. */
|
|
2857
1656
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2858
1657
|
readonly Url: "url";
|
|
2859
1658
|
readonly B64Json: "b64_json";
|
|
@@ -2862,87 +1661,87 @@ export declare namespace UpdatePromptPromptsResponse200Format$ {
|
|
|
2862
1661
|
}>;
|
|
2863
1662
|
}
|
|
2864
1663
|
/** @internal */
|
|
2865
|
-
export declare const
|
|
1664
|
+
export declare const UpdatePromptPromptsQuality$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsQuality>;
|
|
2866
1665
|
/** @internal */
|
|
2867
|
-
export declare const
|
|
1666
|
+
export declare const UpdatePromptPromptsQuality$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsQuality>;
|
|
2868
1667
|
/**
|
|
2869
1668
|
* @internal
|
|
2870
1669
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2871
1670
|
*/
|
|
2872
|
-
export declare namespace
|
|
2873
|
-
/** @deprecated use `
|
|
1671
|
+
export declare namespace UpdatePromptPromptsQuality$ {
|
|
1672
|
+
/** @deprecated use `UpdatePromptPromptsQuality$inboundSchema` instead. */
|
|
2874
1673
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2875
1674
|
readonly Standard: "standard";
|
|
2876
1675
|
readonly Hd: "hd";
|
|
2877
1676
|
}>;
|
|
2878
|
-
/** @deprecated use `
|
|
1677
|
+
/** @deprecated use `UpdatePromptPromptsQuality$outboundSchema` instead. */
|
|
2879
1678
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2880
1679
|
readonly Standard: "standard";
|
|
2881
1680
|
readonly Hd: "hd";
|
|
2882
1681
|
}>;
|
|
2883
1682
|
}
|
|
2884
1683
|
/** @internal */
|
|
2885
|
-
export declare const
|
|
1684
|
+
export declare const UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
|
|
2886
1685
|
/** @internal */
|
|
2887
|
-
export declare const
|
|
1686
|
+
export declare const UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponse200Type>;
|
|
2888
1687
|
/**
|
|
2889
1688
|
* @internal
|
|
2890
1689
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2891
1690
|
*/
|
|
2892
|
-
export declare namespace
|
|
2893
|
-
/** @deprecated use `
|
|
1691
|
+
export declare namespace UpdatePromptResponseFormatPromptsResponse200Type$ {
|
|
1692
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema` instead. */
|
|
2894
1693
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2895
1694
|
readonly JsonObject: "json_object";
|
|
2896
1695
|
}>;
|
|
2897
|
-
/** @deprecated use `
|
|
1696
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema` instead. */
|
|
2898
1697
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2899
1698
|
readonly JsonObject: "json_object";
|
|
2900
1699
|
}>;
|
|
2901
1700
|
}
|
|
2902
1701
|
/** @internal */
|
|
2903
|
-
export declare const
|
|
1702
|
+
export declare const UpdatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
2904
1703
|
/** @internal */
|
|
2905
|
-
export type
|
|
1704
|
+
export type UpdatePromptResponseFormatPrompts2$Outbound = {
|
|
2906
1705
|
type: string;
|
|
2907
1706
|
};
|
|
2908
1707
|
/** @internal */
|
|
2909
|
-
export declare const
|
|
1708
|
+
export declare const UpdatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts2>;
|
|
2910
1709
|
/**
|
|
2911
1710
|
* @internal
|
|
2912
1711
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2913
1712
|
*/
|
|
2914
|
-
export declare namespace
|
|
2915
|
-
/** @deprecated use `
|
|
2916
|
-
const inboundSchema: z.ZodType<
|
|
2917
|
-
/** @deprecated use `
|
|
2918
|
-
const outboundSchema: z.ZodType<
|
|
2919
|
-
/** @deprecated use `
|
|
2920
|
-
type Outbound =
|
|
1713
|
+
export declare namespace UpdatePromptResponseFormatPrompts2$ {
|
|
1714
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts2$inboundSchema` instead. */
|
|
1715
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
|
|
1716
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts2$outboundSchema` instead. */
|
|
1717
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts2>;
|
|
1718
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts2$Outbound` instead. */
|
|
1719
|
+
type Outbound = UpdatePromptResponseFormatPrompts2$Outbound;
|
|
2921
1720
|
}
|
|
2922
|
-
export declare function
|
|
2923
|
-
export declare function
|
|
1721
|
+
export declare function updatePromptResponseFormatPrompts2ToJSON(updatePromptResponseFormatPrompts2: UpdatePromptResponseFormatPrompts2): string;
|
|
1722
|
+
export declare function updatePromptResponseFormatPrompts2FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPrompts2, SDKValidationError>;
|
|
2924
1723
|
/** @internal */
|
|
2925
|
-
export declare const
|
|
1724
|
+
export declare const UpdatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
2926
1725
|
/** @internal */
|
|
2927
|
-
export declare const
|
|
1726
|
+
export declare const UpdatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptResponseFormatPromptsResponseType>;
|
|
2928
1727
|
/**
|
|
2929
1728
|
* @internal
|
|
2930
1729
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2931
1730
|
*/
|
|
2932
|
-
export declare namespace
|
|
2933
|
-
/** @deprecated use `
|
|
1731
|
+
export declare namespace UpdatePromptResponseFormatPromptsResponseType$ {
|
|
1732
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
|
|
2934
1733
|
const inboundSchema: z.ZodNativeEnum<{
|
|
2935
1734
|
readonly JsonSchema: "json_schema";
|
|
2936
1735
|
}>;
|
|
2937
|
-
/** @deprecated use `
|
|
1736
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
|
|
2938
1737
|
const outboundSchema: z.ZodNativeEnum<{
|
|
2939
1738
|
readonly JsonSchema: "json_schema";
|
|
2940
1739
|
}>;
|
|
2941
1740
|
}
|
|
2942
1741
|
/** @internal */
|
|
2943
|
-
export declare const
|
|
1742
|
+
export declare const UpdatePromptResponseFormatPromptsJsonSchema$inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
|
|
2944
1743
|
/** @internal */
|
|
2945
|
-
export type
|
|
1744
|
+
export type UpdatePromptResponseFormatPromptsJsonSchema$Outbound = {
|
|
2946
1745
|
name: string;
|
|
2947
1746
|
strict: boolean;
|
|
2948
1747
|
schema: {
|
|
@@ -2950,120 +1749,120 @@ export type UpdatePromptResponseFormatPromptsResponseJsonSchema$Outbound = {
|
|
|
2950
1749
|
};
|
|
2951
1750
|
};
|
|
2952
1751
|
/** @internal */
|
|
2953
|
-
export declare const
|
|
1752
|
+
export declare const UpdatePromptResponseFormatPromptsJsonSchema$outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsJsonSchema>;
|
|
2954
1753
|
/**
|
|
2955
1754
|
* @internal
|
|
2956
1755
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2957
1756
|
*/
|
|
2958
|
-
export declare namespace
|
|
2959
|
-
/** @deprecated use `
|
|
2960
|
-
const inboundSchema: z.ZodType<
|
|
2961
|
-
/** @deprecated use `
|
|
2962
|
-
const outboundSchema: z.ZodType<
|
|
2963
|
-
/** @deprecated use `
|
|
2964
|
-
type Outbound =
|
|
1757
|
+
export declare namespace UpdatePromptResponseFormatPromptsJsonSchema$ {
|
|
1758
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsJsonSchema$inboundSchema` instead. */
|
|
1759
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
|
|
1760
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsJsonSchema$outboundSchema` instead. */
|
|
1761
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPromptsJsonSchema>;
|
|
1762
|
+
/** @deprecated use `UpdatePromptResponseFormatPromptsJsonSchema$Outbound` instead. */
|
|
1763
|
+
type Outbound = UpdatePromptResponseFormatPromptsJsonSchema$Outbound;
|
|
2965
1764
|
}
|
|
2966
|
-
export declare function
|
|
2967
|
-
export declare function
|
|
1765
|
+
export declare function updatePromptResponseFormatPromptsJsonSchemaToJSON(updatePromptResponseFormatPromptsJsonSchema: UpdatePromptResponseFormatPromptsJsonSchema): string;
|
|
1766
|
+
export declare function updatePromptResponseFormatPromptsJsonSchemaFromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPromptsJsonSchema, SDKValidationError>;
|
|
2968
1767
|
/** @internal */
|
|
2969
|
-
export declare const
|
|
1768
|
+
export declare const UpdatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
|
|
2970
1769
|
/** @internal */
|
|
2971
|
-
export type
|
|
1770
|
+
export type UpdatePromptResponseFormatPrompts1$Outbound = {
|
|
2972
1771
|
type: string;
|
|
2973
|
-
json_schema:
|
|
1772
|
+
json_schema: UpdatePromptResponseFormatPromptsJsonSchema$Outbound;
|
|
2974
1773
|
};
|
|
2975
1774
|
/** @internal */
|
|
2976
|
-
export declare const
|
|
1775
|
+
export declare const UpdatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts1>;
|
|
2977
1776
|
/**
|
|
2978
1777
|
* @internal
|
|
2979
1778
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2980
1779
|
*/
|
|
2981
|
-
export declare namespace
|
|
2982
|
-
/** @deprecated use `
|
|
2983
|
-
const inboundSchema: z.ZodType<
|
|
2984
|
-
/** @deprecated use `
|
|
2985
|
-
const outboundSchema: z.ZodType<
|
|
2986
|
-
/** @deprecated use `
|
|
2987
|
-
type Outbound =
|
|
1780
|
+
export declare namespace UpdatePromptResponseFormatPrompts1$ {
|
|
1781
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts1$inboundSchema` instead. */
|
|
1782
|
+
const inboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
|
|
1783
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts1$outboundSchema` instead. */
|
|
1784
|
+
const outboundSchema: z.ZodType<UpdatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, UpdatePromptResponseFormatPrompts1>;
|
|
1785
|
+
/** @deprecated use `UpdatePromptResponseFormatPrompts1$Outbound` instead. */
|
|
1786
|
+
type Outbound = UpdatePromptResponseFormatPrompts1$Outbound;
|
|
2988
1787
|
}
|
|
2989
|
-
export declare function
|
|
2990
|
-
export declare function
|
|
1788
|
+
export declare function updatePromptResponseFormatPrompts1ToJSON(updatePromptResponseFormatPrompts1: UpdatePromptResponseFormatPrompts1): string;
|
|
1789
|
+
export declare function updatePromptResponseFormatPrompts1FromJSON(jsonString: string): SafeParseResult<UpdatePromptResponseFormatPrompts1, SDKValidationError>;
|
|
2991
1790
|
/** @internal */
|
|
2992
|
-
export declare const
|
|
1791
|
+
export declare const UpdatePromptPromptsResponseFormat$inboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
2993
1792
|
/** @internal */
|
|
2994
|
-
export type
|
|
1793
|
+
export type UpdatePromptPromptsResponseFormat$Outbound = UpdatePromptResponseFormatPrompts2$Outbound | UpdatePromptResponseFormatPrompts1$Outbound;
|
|
2995
1794
|
/** @internal */
|
|
2996
|
-
export declare const
|
|
1795
|
+
export declare const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseFormat>;
|
|
2997
1796
|
/**
|
|
2998
1797
|
* @internal
|
|
2999
1798
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3000
1799
|
*/
|
|
3001
|
-
export declare namespace
|
|
3002
|
-
/** @deprecated use `
|
|
3003
|
-
const inboundSchema: z.ZodType<
|
|
3004
|
-
/** @deprecated use `
|
|
3005
|
-
const outboundSchema: z.ZodType<
|
|
3006
|
-
/** @deprecated use `
|
|
3007
|
-
type Outbound =
|
|
1800
|
+
export declare namespace UpdatePromptPromptsResponseFormat$ {
|
|
1801
|
+
/** @deprecated use `UpdatePromptPromptsResponseFormat$inboundSchema` instead. */
|
|
1802
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
|
|
1803
|
+
/** @deprecated use `UpdatePromptPromptsResponseFormat$outboundSchema` instead. */
|
|
1804
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseFormat>;
|
|
1805
|
+
/** @deprecated use `UpdatePromptPromptsResponseFormat$Outbound` instead. */
|
|
1806
|
+
type Outbound = UpdatePromptPromptsResponseFormat$Outbound;
|
|
3008
1807
|
}
|
|
3009
|
-
export declare function
|
|
3010
|
-
export declare function
|
|
1808
|
+
export declare function updatePromptPromptsResponseFormatToJSON(updatePromptPromptsResponseFormat: UpdatePromptPromptsResponseFormat): string;
|
|
1809
|
+
export declare function updatePromptPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsResponseFormat, SDKValidationError>;
|
|
3011
1810
|
/** @internal */
|
|
3012
|
-
export declare const
|
|
1811
|
+
export declare const UpdatePromptPromptsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsPhotoRealVersion>;
|
|
3013
1812
|
/** @internal */
|
|
3014
|
-
export declare const
|
|
1813
|
+
export declare const UpdatePromptPromptsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsPhotoRealVersion>;
|
|
3015
1814
|
/**
|
|
3016
1815
|
* @internal
|
|
3017
1816
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3018
1817
|
*/
|
|
3019
|
-
export declare namespace
|
|
3020
|
-
/** @deprecated use `
|
|
1818
|
+
export declare namespace UpdatePromptPromptsPhotoRealVersion$ {
|
|
1819
|
+
/** @deprecated use `UpdatePromptPromptsPhotoRealVersion$inboundSchema` instead. */
|
|
3021
1820
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3022
1821
|
readonly V1: "v1";
|
|
3023
1822
|
readonly V2: "v2";
|
|
3024
1823
|
}>;
|
|
3025
|
-
/** @deprecated use `
|
|
1824
|
+
/** @deprecated use `UpdatePromptPromptsPhotoRealVersion$outboundSchema` instead. */
|
|
3026
1825
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3027
1826
|
readonly V1: "v1";
|
|
3028
1827
|
readonly V2: "v2";
|
|
3029
1828
|
}>;
|
|
3030
1829
|
}
|
|
3031
1830
|
/** @internal */
|
|
3032
|
-
export declare const
|
|
1831
|
+
export declare const UpdatePromptPromptsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsEncodingFormat>;
|
|
3033
1832
|
/** @internal */
|
|
3034
|
-
export declare const
|
|
1833
|
+
export declare const UpdatePromptPromptsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsEncodingFormat>;
|
|
3035
1834
|
/**
|
|
3036
1835
|
* @internal
|
|
3037
1836
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3038
1837
|
*/
|
|
3039
|
-
export declare namespace
|
|
3040
|
-
/** @deprecated use `
|
|
1838
|
+
export declare namespace UpdatePromptPromptsEncodingFormat$ {
|
|
1839
|
+
/** @deprecated use `UpdatePromptPromptsEncodingFormat$inboundSchema` instead. */
|
|
3041
1840
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3042
1841
|
readonly Float: "float";
|
|
3043
1842
|
readonly Base64: "base64";
|
|
3044
1843
|
}>;
|
|
3045
|
-
/** @deprecated use `
|
|
1844
|
+
/** @deprecated use `UpdatePromptPromptsEncodingFormat$outboundSchema` instead. */
|
|
3046
1845
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3047
1846
|
readonly Float: "float";
|
|
3048
1847
|
readonly Base64: "base64";
|
|
3049
1848
|
}>;
|
|
3050
1849
|
}
|
|
3051
1850
|
/** @internal */
|
|
3052
|
-
export declare const
|
|
1851
|
+
export declare const UpdatePromptPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsReasoningEffort>;
|
|
3053
1852
|
/** @internal */
|
|
3054
|
-
export declare const
|
|
1853
|
+
export declare const UpdatePromptPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsReasoningEffort>;
|
|
3055
1854
|
/**
|
|
3056
1855
|
* @internal
|
|
3057
1856
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3058
1857
|
*/
|
|
3059
|
-
export declare namespace
|
|
3060
|
-
/** @deprecated use `
|
|
1858
|
+
export declare namespace UpdatePromptPromptsReasoningEffort$ {
|
|
1859
|
+
/** @deprecated use `UpdatePromptPromptsReasoningEffort$inboundSchema` instead. */
|
|
3061
1860
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3062
1861
|
readonly Low: "low";
|
|
3063
1862
|
readonly Medium: "medium";
|
|
3064
1863
|
readonly High: "high";
|
|
3065
1864
|
}>;
|
|
3066
|
-
/** @deprecated use `
|
|
1865
|
+
/** @deprecated use `UpdatePromptPromptsReasoningEffort$outboundSchema` instead. */
|
|
3067
1866
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3068
1867
|
readonly Low: "low";
|
|
3069
1868
|
readonly Medium: "medium";
|
|
@@ -3071,9 +1870,9 @@ export declare namespace UpdatePromptPromptsResponseReasoningEffort$ {
|
|
|
3071
1870
|
}>;
|
|
3072
1871
|
}
|
|
3073
1872
|
/** @internal */
|
|
3074
|
-
export declare const
|
|
1873
|
+
export declare const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<UpdatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
|
|
3075
1874
|
/** @internal */
|
|
3076
|
-
export type
|
|
1875
|
+
export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
3077
1876
|
temperature?: number | undefined;
|
|
3078
1877
|
maxTokens?: number | undefined;
|
|
3079
1878
|
topK?: number | undefined;
|
|
@@ -3086,37 +1885,37 @@ export type UpdatePromptPromptsResponseModelParameters$Outbound = {
|
|
|
3086
1885
|
dimensions?: string | undefined;
|
|
3087
1886
|
quality?: string | undefined;
|
|
3088
1887
|
style?: string | undefined;
|
|
3089
|
-
responseFormat?:
|
|
1888
|
+
responseFormat?: UpdatePromptResponseFormatPrompts2$Outbound | UpdatePromptResponseFormatPrompts1$Outbound | null | undefined;
|
|
3090
1889
|
photoRealVersion?: string | undefined;
|
|
3091
1890
|
encoding_format?: string | undefined;
|
|
3092
1891
|
reasoningEffort?: string | undefined;
|
|
3093
1892
|
};
|
|
3094
1893
|
/** @internal */
|
|
3095
|
-
export declare const
|
|
1894
|
+
export declare const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<UpdatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, UpdatePromptPromptsModelParameters>;
|
|
3096
1895
|
/**
|
|
3097
1896
|
* @internal
|
|
3098
1897
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3099
1898
|
*/
|
|
3100
|
-
export declare namespace
|
|
3101
|
-
/** @deprecated use `
|
|
3102
|
-
const inboundSchema: z.ZodType<
|
|
3103
|
-
/** @deprecated use `
|
|
3104
|
-
const outboundSchema: z.ZodType<
|
|
3105
|
-
/** @deprecated use `
|
|
3106
|
-
type Outbound =
|
|
1899
|
+
export declare namespace UpdatePromptPromptsModelParameters$ {
|
|
1900
|
+
/** @deprecated use `UpdatePromptPromptsModelParameters$inboundSchema` instead. */
|
|
1901
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
|
|
1902
|
+
/** @deprecated use `UpdatePromptPromptsModelParameters$outboundSchema` instead. */
|
|
1903
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, UpdatePromptPromptsModelParameters>;
|
|
1904
|
+
/** @deprecated use `UpdatePromptPromptsModelParameters$Outbound` instead. */
|
|
1905
|
+
type Outbound = UpdatePromptPromptsModelParameters$Outbound;
|
|
3107
1906
|
}
|
|
3108
|
-
export declare function
|
|
3109
|
-
export declare function
|
|
1907
|
+
export declare function updatePromptPromptsModelParametersToJSON(updatePromptPromptsModelParameters: UpdatePromptPromptsModelParameters): string;
|
|
1908
|
+
export declare function updatePromptPromptsModelParametersFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsModelParameters, SDKValidationError>;
|
|
3110
1909
|
/** @internal */
|
|
3111
|
-
export declare const
|
|
1910
|
+
export declare const UpdatePromptPromptsProvider$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsProvider>;
|
|
3112
1911
|
/** @internal */
|
|
3113
|
-
export declare const
|
|
1912
|
+
export declare const UpdatePromptPromptsProvider$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsProvider>;
|
|
3114
1913
|
/**
|
|
3115
1914
|
* @internal
|
|
3116
1915
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3117
1916
|
*/
|
|
3118
|
-
export declare namespace
|
|
3119
|
-
/** @deprecated use `
|
|
1917
|
+
export declare namespace UpdatePromptPromptsProvider$ {
|
|
1918
|
+
/** @deprecated use `UpdatePromptPromptsProvider$inboundSchema` instead. */
|
|
3120
1919
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3121
1920
|
readonly Cohere: "cohere";
|
|
3122
1921
|
readonly Openai: "openai";
|
|
@@ -3137,7 +1936,7 @@ export declare namespace UpdatePromptPromptsResponseProvider$ {
|
|
|
3137
1936
|
readonly Togetherai: "togetherai";
|
|
3138
1937
|
readonly Elevenlabs: "elevenlabs";
|
|
3139
1938
|
}>;
|
|
3140
|
-
/** @deprecated use `
|
|
1939
|
+
/** @deprecated use `UpdatePromptPromptsProvider$outboundSchema` instead. */
|
|
3141
1940
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3142
1941
|
readonly Cohere: "cohere";
|
|
3143
1942
|
readonly Openai: "openai";
|
|
@@ -3160,15 +1959,15 @@ export declare namespace UpdatePromptPromptsResponseProvider$ {
|
|
|
3160
1959
|
}>;
|
|
3161
1960
|
}
|
|
3162
1961
|
/** @internal */
|
|
3163
|
-
export declare const
|
|
1962
|
+
export declare const UpdatePromptPromptsRole$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsRole>;
|
|
3164
1963
|
/** @internal */
|
|
3165
|
-
export declare const
|
|
1964
|
+
export declare const UpdatePromptPromptsRole$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsRole>;
|
|
3166
1965
|
/**
|
|
3167
1966
|
* @internal
|
|
3168
1967
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3169
1968
|
*/
|
|
3170
|
-
export declare namespace
|
|
3171
|
-
/** @deprecated use `
|
|
1969
|
+
export declare namespace UpdatePromptPromptsRole$ {
|
|
1970
|
+
/** @deprecated use `UpdatePromptPromptsRole$inboundSchema` instead. */
|
|
3172
1971
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3173
1972
|
readonly System: "system";
|
|
3174
1973
|
readonly Assistant: "assistant";
|
|
@@ -3179,7 +1978,7 @@ export declare namespace UpdatePromptPromptsResponseRole$ {
|
|
|
3179
1978
|
readonly Correction: "correction";
|
|
3180
1979
|
readonly ExpectedOutput: "expected_output";
|
|
3181
1980
|
}>;
|
|
3182
|
-
/** @deprecated use `
|
|
1981
|
+
/** @deprecated use `UpdatePromptPromptsRole$outboundSchema` instead. */
|
|
3183
1982
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3184
1983
|
readonly System: "system";
|
|
3185
1984
|
readonly Assistant: "assistant";
|
|
@@ -3192,281 +1991,281 @@ export declare namespace UpdatePromptPromptsResponseRole$ {
|
|
|
3192
1991
|
}>;
|
|
3193
1992
|
}
|
|
3194
1993
|
/** @internal */
|
|
3195
|
-
export declare const
|
|
1994
|
+
export declare const UpdatePrompt2PromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsResponse200Type>;
|
|
3196
1995
|
/** @internal */
|
|
3197
|
-
export declare const
|
|
1996
|
+
export declare const UpdatePrompt2PromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsResponse200Type>;
|
|
3198
1997
|
/**
|
|
3199
1998
|
* @internal
|
|
3200
1999
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3201
2000
|
*/
|
|
3202
|
-
export declare namespace
|
|
3203
|
-
/** @deprecated use `
|
|
2001
|
+
export declare namespace UpdatePrompt2PromptsResponse200Type$ {
|
|
2002
|
+
/** @deprecated use `UpdatePrompt2PromptsResponse200Type$inboundSchema` instead. */
|
|
3204
2003
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3205
2004
|
readonly ImageUrl: "image_url";
|
|
3206
2005
|
}>;
|
|
3207
|
-
/** @deprecated use `
|
|
2006
|
+
/** @deprecated use `UpdatePrompt2PromptsResponse200Type$outboundSchema` instead. */
|
|
3208
2007
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3209
2008
|
readonly ImageUrl: "image_url";
|
|
3210
2009
|
}>;
|
|
3211
2010
|
}
|
|
3212
2011
|
/** @internal */
|
|
3213
|
-
export declare const
|
|
2012
|
+
export declare const UpdatePrompt2PromptsImageUrl$inboundSchema: z.ZodType<UpdatePrompt2PromptsImageUrl, z.ZodTypeDef, unknown>;
|
|
3214
2013
|
/** @internal */
|
|
3215
|
-
export type
|
|
2014
|
+
export type UpdatePrompt2PromptsImageUrl$Outbound = {
|
|
3216
2015
|
id?: string | undefined;
|
|
3217
2016
|
url: string;
|
|
3218
2017
|
detail?: string | undefined;
|
|
3219
2018
|
};
|
|
3220
2019
|
/** @internal */
|
|
3221
|
-
export declare const
|
|
2020
|
+
export declare const UpdatePrompt2PromptsImageUrl$outboundSchema: z.ZodType<UpdatePrompt2PromptsImageUrl$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsImageUrl>;
|
|
3222
2021
|
/**
|
|
3223
2022
|
* @internal
|
|
3224
2023
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3225
2024
|
*/
|
|
3226
|
-
export declare namespace
|
|
3227
|
-
/** @deprecated use `
|
|
3228
|
-
const inboundSchema: z.ZodType<
|
|
3229
|
-
/** @deprecated use `
|
|
3230
|
-
const outboundSchema: z.ZodType<
|
|
3231
|
-
/** @deprecated use `
|
|
3232
|
-
type Outbound =
|
|
2025
|
+
export declare namespace UpdatePrompt2PromptsImageUrl$ {
|
|
2026
|
+
/** @deprecated use `UpdatePrompt2PromptsImageUrl$inboundSchema` instead. */
|
|
2027
|
+
const inboundSchema: z.ZodType<UpdatePrompt2PromptsImageUrl, z.ZodTypeDef, unknown>;
|
|
2028
|
+
/** @deprecated use `UpdatePrompt2PromptsImageUrl$outboundSchema` instead. */
|
|
2029
|
+
const outboundSchema: z.ZodType<UpdatePrompt2PromptsImageUrl$Outbound, z.ZodTypeDef, UpdatePrompt2PromptsImageUrl>;
|
|
2030
|
+
/** @deprecated use `UpdatePrompt2PromptsImageUrl$Outbound` instead. */
|
|
2031
|
+
type Outbound = UpdatePrompt2PromptsImageUrl$Outbound;
|
|
3233
2032
|
}
|
|
3234
|
-
export declare function
|
|
3235
|
-
export declare function
|
|
2033
|
+
export declare function updatePrompt2PromptsImageUrlToJSON(updatePrompt2PromptsImageUrl: UpdatePrompt2PromptsImageUrl): string;
|
|
2034
|
+
export declare function updatePrompt2PromptsImageUrlFromJSON(jsonString: string): SafeParseResult<UpdatePrompt2PromptsImageUrl, SDKValidationError>;
|
|
3236
2035
|
/** @internal */
|
|
3237
|
-
export declare const
|
|
2036
|
+
export declare const UpdatePrompt2Prompts2$inboundSchema: z.ZodType<UpdatePrompt2Prompts2, z.ZodTypeDef, unknown>;
|
|
3238
2037
|
/** @internal */
|
|
3239
|
-
export type
|
|
2038
|
+
export type UpdatePrompt2Prompts2$Outbound = {
|
|
3240
2039
|
type: string;
|
|
3241
|
-
image_url:
|
|
2040
|
+
image_url: UpdatePrompt2PromptsImageUrl$Outbound;
|
|
3242
2041
|
};
|
|
3243
2042
|
/** @internal */
|
|
3244
|
-
export declare const
|
|
2043
|
+
export declare const UpdatePrompt2Prompts2$outboundSchema: z.ZodType<UpdatePrompt2Prompts2$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts2>;
|
|
3245
2044
|
/**
|
|
3246
2045
|
* @internal
|
|
3247
2046
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3248
2047
|
*/
|
|
3249
|
-
export declare namespace
|
|
3250
|
-
/** @deprecated use `
|
|
3251
|
-
const inboundSchema: z.ZodType<
|
|
3252
|
-
/** @deprecated use `
|
|
3253
|
-
const outboundSchema: z.ZodType<
|
|
3254
|
-
/** @deprecated use `
|
|
3255
|
-
type Outbound =
|
|
2048
|
+
export declare namespace UpdatePrompt2Prompts2$ {
|
|
2049
|
+
/** @deprecated use `UpdatePrompt2Prompts2$inboundSchema` instead. */
|
|
2050
|
+
const inboundSchema: z.ZodType<UpdatePrompt2Prompts2, z.ZodTypeDef, unknown>;
|
|
2051
|
+
/** @deprecated use `UpdatePrompt2Prompts2$outboundSchema` instead. */
|
|
2052
|
+
const outboundSchema: z.ZodType<UpdatePrompt2Prompts2$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts2>;
|
|
2053
|
+
/** @deprecated use `UpdatePrompt2Prompts2$Outbound` instead. */
|
|
2054
|
+
type Outbound = UpdatePrompt2Prompts2$Outbound;
|
|
3256
2055
|
}
|
|
3257
|
-
export declare function
|
|
3258
|
-
export declare function
|
|
2056
|
+
export declare function updatePrompt2Prompts2ToJSON(updatePrompt2Prompts2: UpdatePrompt2Prompts2): string;
|
|
2057
|
+
export declare function updatePrompt2Prompts2FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2Prompts2, SDKValidationError>;
|
|
3259
2058
|
/** @internal */
|
|
3260
|
-
export declare const
|
|
2059
|
+
export declare const UpdatePrompt2PromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsResponseType>;
|
|
3261
2060
|
/** @internal */
|
|
3262
|
-
export declare const
|
|
2061
|
+
export declare const UpdatePrompt2PromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePrompt2PromptsResponseType>;
|
|
3263
2062
|
/**
|
|
3264
2063
|
* @internal
|
|
3265
2064
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3266
2065
|
*/
|
|
3267
|
-
export declare namespace
|
|
3268
|
-
/** @deprecated use `
|
|
2066
|
+
export declare namespace UpdatePrompt2PromptsResponseType$ {
|
|
2067
|
+
/** @deprecated use `UpdatePrompt2PromptsResponseType$inboundSchema` instead. */
|
|
3269
2068
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3270
2069
|
readonly Text: "text";
|
|
3271
2070
|
}>;
|
|
3272
|
-
/** @deprecated use `
|
|
2071
|
+
/** @deprecated use `UpdatePrompt2PromptsResponseType$outboundSchema` instead. */
|
|
3273
2072
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3274
2073
|
readonly Text: "text";
|
|
3275
2074
|
}>;
|
|
3276
2075
|
}
|
|
3277
2076
|
/** @internal */
|
|
3278
|
-
export declare const
|
|
2077
|
+
export declare const UpdatePrompt2Prompts1$inboundSchema: z.ZodType<UpdatePrompt2Prompts1, z.ZodTypeDef, unknown>;
|
|
3279
2078
|
/** @internal */
|
|
3280
|
-
export type
|
|
2079
|
+
export type UpdatePrompt2Prompts1$Outbound = {
|
|
3281
2080
|
type: string;
|
|
3282
2081
|
text: string;
|
|
3283
2082
|
};
|
|
3284
2083
|
/** @internal */
|
|
3285
|
-
export declare const
|
|
2084
|
+
export declare const UpdatePrompt2Prompts1$outboundSchema: z.ZodType<UpdatePrompt2Prompts1$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts1>;
|
|
3286
2085
|
/**
|
|
3287
2086
|
* @internal
|
|
3288
2087
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3289
2088
|
*/
|
|
3290
|
-
export declare namespace
|
|
3291
|
-
/** @deprecated use `
|
|
3292
|
-
const inboundSchema: z.ZodType<
|
|
3293
|
-
/** @deprecated use `
|
|
3294
|
-
const outboundSchema: z.ZodType<
|
|
3295
|
-
/** @deprecated use `
|
|
3296
|
-
type Outbound =
|
|
2089
|
+
export declare namespace UpdatePrompt2Prompts1$ {
|
|
2090
|
+
/** @deprecated use `UpdatePrompt2Prompts1$inboundSchema` instead. */
|
|
2091
|
+
const inboundSchema: z.ZodType<UpdatePrompt2Prompts1, z.ZodTypeDef, unknown>;
|
|
2092
|
+
/** @deprecated use `UpdatePrompt2Prompts1$outboundSchema` instead. */
|
|
2093
|
+
const outboundSchema: z.ZodType<UpdatePrompt2Prompts1$Outbound, z.ZodTypeDef, UpdatePrompt2Prompts1>;
|
|
2094
|
+
/** @deprecated use `UpdatePrompt2Prompts1$Outbound` instead. */
|
|
2095
|
+
type Outbound = UpdatePrompt2Prompts1$Outbound;
|
|
3297
2096
|
}
|
|
3298
|
-
export declare function
|
|
3299
|
-
export declare function
|
|
2097
|
+
export declare function updatePrompt2Prompts1ToJSON(updatePrompt2Prompts1: UpdatePrompt2Prompts1): string;
|
|
2098
|
+
export declare function updatePrompt2Prompts1FromJSON(jsonString: string): SafeParseResult<UpdatePrompt2Prompts1, SDKValidationError>;
|
|
3300
2099
|
/** @internal */
|
|
3301
|
-
export declare const
|
|
2100
|
+
export declare const UpdatePromptContentPrompts2$inboundSchema: z.ZodType<UpdatePromptContentPrompts2, z.ZodTypeDef, unknown>;
|
|
3302
2101
|
/** @internal */
|
|
3303
|
-
export type
|
|
2102
|
+
export type UpdatePromptContentPrompts2$Outbound = UpdatePrompt2Prompts1$Outbound | UpdatePrompt2Prompts2$Outbound;
|
|
3304
2103
|
/** @internal */
|
|
3305
|
-
export declare const
|
|
2104
|
+
export declare const UpdatePromptContentPrompts2$outboundSchema: z.ZodType<UpdatePromptContentPrompts2$Outbound, z.ZodTypeDef, UpdatePromptContentPrompts2>;
|
|
3306
2105
|
/**
|
|
3307
2106
|
* @internal
|
|
3308
2107
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3309
2108
|
*/
|
|
3310
|
-
export declare namespace
|
|
3311
|
-
/** @deprecated use `
|
|
3312
|
-
const inboundSchema: z.ZodType<
|
|
3313
|
-
/** @deprecated use `
|
|
3314
|
-
const outboundSchema: z.ZodType<
|
|
3315
|
-
/** @deprecated use `
|
|
3316
|
-
type Outbound =
|
|
2109
|
+
export declare namespace UpdatePromptContentPrompts2$ {
|
|
2110
|
+
/** @deprecated use `UpdatePromptContentPrompts2$inboundSchema` instead. */
|
|
2111
|
+
const inboundSchema: z.ZodType<UpdatePromptContentPrompts2, z.ZodTypeDef, unknown>;
|
|
2112
|
+
/** @deprecated use `UpdatePromptContentPrompts2$outboundSchema` instead. */
|
|
2113
|
+
const outboundSchema: z.ZodType<UpdatePromptContentPrompts2$Outbound, z.ZodTypeDef, UpdatePromptContentPrompts2>;
|
|
2114
|
+
/** @deprecated use `UpdatePromptContentPrompts2$Outbound` instead. */
|
|
2115
|
+
type Outbound = UpdatePromptContentPrompts2$Outbound;
|
|
3317
2116
|
}
|
|
3318
|
-
export declare function
|
|
3319
|
-
export declare function
|
|
2117
|
+
export declare function updatePromptContentPrompts2ToJSON(updatePromptContentPrompts2: UpdatePromptContentPrompts2): string;
|
|
2118
|
+
export declare function updatePromptContentPrompts2FromJSON(jsonString: string): SafeParseResult<UpdatePromptContentPrompts2, SDKValidationError>;
|
|
3320
2119
|
/** @internal */
|
|
3321
|
-
export declare const
|
|
2120
|
+
export declare const UpdatePromptPromptsContent$inboundSchema: z.ZodType<UpdatePromptPromptsContent, z.ZodTypeDef, unknown>;
|
|
3322
2121
|
/** @internal */
|
|
3323
|
-
export type
|
|
2122
|
+
export type UpdatePromptPromptsContent$Outbound = string | Array<UpdatePrompt2Prompts1$Outbound | UpdatePrompt2Prompts2$Outbound>;
|
|
3324
2123
|
/** @internal */
|
|
3325
|
-
export declare const
|
|
2124
|
+
export declare const UpdatePromptPromptsContent$outboundSchema: z.ZodType<UpdatePromptPromptsContent$Outbound, z.ZodTypeDef, UpdatePromptPromptsContent>;
|
|
3326
2125
|
/**
|
|
3327
2126
|
* @internal
|
|
3328
2127
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3329
2128
|
*/
|
|
3330
|
-
export declare namespace
|
|
3331
|
-
/** @deprecated use `
|
|
3332
|
-
const inboundSchema: z.ZodType<
|
|
3333
|
-
/** @deprecated use `
|
|
3334
|
-
const outboundSchema: z.ZodType<
|
|
3335
|
-
/** @deprecated use `
|
|
3336
|
-
type Outbound =
|
|
2129
|
+
export declare namespace UpdatePromptPromptsContent$ {
|
|
2130
|
+
/** @deprecated use `UpdatePromptPromptsContent$inboundSchema` instead. */
|
|
2131
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptsContent, z.ZodTypeDef, unknown>;
|
|
2132
|
+
/** @deprecated use `UpdatePromptPromptsContent$outboundSchema` instead. */
|
|
2133
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptsContent$Outbound, z.ZodTypeDef, UpdatePromptPromptsContent>;
|
|
2134
|
+
/** @deprecated use `UpdatePromptPromptsContent$Outbound` instead. */
|
|
2135
|
+
type Outbound = UpdatePromptPromptsContent$Outbound;
|
|
3337
2136
|
}
|
|
3338
|
-
export declare function
|
|
3339
|
-
export declare function
|
|
2137
|
+
export declare function updatePromptPromptsContentToJSON(updatePromptPromptsContent: UpdatePromptPromptsContent): string;
|
|
2138
|
+
export declare function updatePromptPromptsContentFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsContent, SDKValidationError>;
|
|
3340
2139
|
/** @internal */
|
|
3341
|
-
export declare const
|
|
2140
|
+
export declare const UpdatePromptPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsResponseType>;
|
|
3342
2141
|
/** @internal */
|
|
3343
|
-
export declare const
|
|
2142
|
+
export declare const UpdatePromptPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsResponseType>;
|
|
3344
2143
|
/**
|
|
3345
2144
|
* @internal
|
|
3346
2145
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3347
2146
|
*/
|
|
3348
|
-
export declare namespace
|
|
3349
|
-
/** @deprecated use `
|
|
2147
|
+
export declare namespace UpdatePromptPromptsResponseType$ {
|
|
2148
|
+
/** @deprecated use `UpdatePromptPromptsResponseType$inboundSchema` instead. */
|
|
3350
2149
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3351
2150
|
readonly Function: "function";
|
|
3352
2151
|
}>;
|
|
3353
|
-
/** @deprecated use `
|
|
2152
|
+
/** @deprecated use `UpdatePromptPromptsResponseType$outboundSchema` instead. */
|
|
3354
2153
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3355
2154
|
readonly Function: "function";
|
|
3356
2155
|
}>;
|
|
3357
2156
|
}
|
|
3358
2157
|
/** @internal */
|
|
3359
|
-
export declare const
|
|
2158
|
+
export declare const UpdatePromptPromptsFunction$inboundSchema: z.ZodType<UpdatePromptPromptsFunction, z.ZodTypeDef, unknown>;
|
|
3360
2159
|
/** @internal */
|
|
3361
|
-
export type
|
|
2160
|
+
export type UpdatePromptPromptsFunction$Outbound = {
|
|
3362
2161
|
name: string;
|
|
3363
2162
|
arguments: string;
|
|
3364
2163
|
};
|
|
3365
2164
|
/** @internal */
|
|
3366
|
-
export declare const
|
|
2165
|
+
export declare const UpdatePromptPromptsFunction$outboundSchema: z.ZodType<UpdatePromptPromptsFunction$Outbound, z.ZodTypeDef, UpdatePromptPromptsFunction>;
|
|
3367
2166
|
/**
|
|
3368
2167
|
* @internal
|
|
3369
2168
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3370
2169
|
*/
|
|
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 =
|
|
2170
|
+
export declare namespace UpdatePromptPromptsFunction$ {
|
|
2171
|
+
/** @deprecated use `UpdatePromptPromptsFunction$inboundSchema` instead. */
|
|
2172
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptsFunction, z.ZodTypeDef, unknown>;
|
|
2173
|
+
/** @deprecated use `UpdatePromptPromptsFunction$outboundSchema` instead. */
|
|
2174
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptsFunction$Outbound, z.ZodTypeDef, UpdatePromptPromptsFunction>;
|
|
2175
|
+
/** @deprecated use `UpdatePromptPromptsFunction$Outbound` instead. */
|
|
2176
|
+
type Outbound = UpdatePromptPromptsFunction$Outbound;
|
|
3378
2177
|
}
|
|
3379
|
-
export declare function
|
|
3380
|
-
export declare function
|
|
2178
|
+
export declare function updatePromptPromptsFunctionToJSON(updatePromptPromptsFunction: UpdatePromptPromptsFunction): string;
|
|
2179
|
+
export declare function updatePromptPromptsFunctionFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsFunction, SDKValidationError>;
|
|
3381
2180
|
/** @internal */
|
|
3382
|
-
export declare const
|
|
2181
|
+
export declare const UpdatePromptPromptsToolCalls$inboundSchema: z.ZodType<UpdatePromptPromptsToolCalls, z.ZodTypeDef, unknown>;
|
|
3383
2182
|
/** @internal */
|
|
3384
|
-
export type
|
|
2183
|
+
export type UpdatePromptPromptsToolCalls$Outbound = {
|
|
3385
2184
|
id?: string | undefined;
|
|
3386
2185
|
index?: number | undefined;
|
|
3387
2186
|
type: string;
|
|
3388
|
-
function:
|
|
2187
|
+
function: UpdatePromptPromptsFunction$Outbound;
|
|
3389
2188
|
};
|
|
3390
2189
|
/** @internal */
|
|
3391
|
-
export declare const
|
|
2190
|
+
export declare const UpdatePromptPromptsToolCalls$outboundSchema: z.ZodType<UpdatePromptPromptsToolCalls$Outbound, z.ZodTypeDef, UpdatePromptPromptsToolCalls>;
|
|
3392
2191
|
/**
|
|
3393
2192
|
* @internal
|
|
3394
2193
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3395
2194
|
*/
|
|
3396
|
-
export declare namespace
|
|
3397
|
-
/** @deprecated use `
|
|
3398
|
-
const inboundSchema: z.ZodType<
|
|
3399
|
-
/** @deprecated use `
|
|
3400
|
-
const outboundSchema: z.ZodType<
|
|
3401
|
-
/** @deprecated use `
|
|
3402
|
-
type Outbound =
|
|
2195
|
+
export declare namespace UpdatePromptPromptsToolCalls$ {
|
|
2196
|
+
/** @deprecated use `UpdatePromptPromptsToolCalls$inboundSchema` instead. */
|
|
2197
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptsToolCalls, z.ZodTypeDef, unknown>;
|
|
2198
|
+
/** @deprecated use `UpdatePromptPromptsToolCalls$outboundSchema` instead. */
|
|
2199
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptsToolCalls$Outbound, z.ZodTypeDef, UpdatePromptPromptsToolCalls>;
|
|
2200
|
+
/** @deprecated use `UpdatePromptPromptsToolCalls$Outbound` instead. */
|
|
2201
|
+
type Outbound = UpdatePromptPromptsToolCalls$Outbound;
|
|
3403
2202
|
}
|
|
3404
|
-
export declare function
|
|
3405
|
-
export declare function
|
|
2203
|
+
export declare function updatePromptPromptsToolCallsToJSON(updatePromptPromptsToolCalls: UpdatePromptPromptsToolCalls): string;
|
|
2204
|
+
export declare function updatePromptPromptsToolCallsFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsToolCalls, SDKValidationError>;
|
|
3406
2205
|
/** @internal */
|
|
3407
|
-
export declare const
|
|
2206
|
+
export declare const UpdatePromptPromptsMessages$inboundSchema: z.ZodType<UpdatePromptPromptsMessages, z.ZodTypeDef, unknown>;
|
|
3408
2207
|
/** @internal */
|
|
3409
|
-
export type
|
|
2208
|
+
export type UpdatePromptPromptsMessages$Outbound = {
|
|
3410
2209
|
role: string;
|
|
3411
|
-
content: string | Array<
|
|
3412
|
-
tool_calls?: Array<
|
|
2210
|
+
content: string | Array<UpdatePrompt2Prompts1$Outbound | UpdatePrompt2Prompts2$Outbound>;
|
|
2211
|
+
tool_calls?: Array<UpdatePromptPromptsToolCalls$Outbound> | undefined;
|
|
3413
2212
|
};
|
|
3414
2213
|
/** @internal */
|
|
3415
|
-
export declare const
|
|
2214
|
+
export declare const UpdatePromptPromptsMessages$outboundSchema: z.ZodType<UpdatePromptPromptsMessages$Outbound, z.ZodTypeDef, UpdatePromptPromptsMessages>;
|
|
3416
2215
|
/**
|
|
3417
2216
|
* @internal
|
|
3418
2217
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3419
2218
|
*/
|
|
3420
|
-
export declare namespace
|
|
3421
|
-
/** @deprecated use `
|
|
3422
|
-
const inboundSchema: z.ZodType<
|
|
3423
|
-
/** @deprecated use `
|
|
3424
|
-
const outboundSchema: z.ZodType<
|
|
3425
|
-
/** @deprecated use `
|
|
3426
|
-
type Outbound =
|
|
2219
|
+
export declare namespace UpdatePromptPromptsMessages$ {
|
|
2220
|
+
/** @deprecated use `UpdatePromptPromptsMessages$inboundSchema` instead. */
|
|
2221
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptsMessages, z.ZodTypeDef, unknown>;
|
|
2222
|
+
/** @deprecated use `UpdatePromptPromptsMessages$outboundSchema` instead. */
|
|
2223
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptsMessages$Outbound, z.ZodTypeDef, UpdatePromptPromptsMessages>;
|
|
2224
|
+
/** @deprecated use `UpdatePromptPromptsMessages$Outbound` instead. */
|
|
2225
|
+
type Outbound = UpdatePromptPromptsMessages$Outbound;
|
|
3427
2226
|
}
|
|
3428
|
-
export declare function
|
|
3429
|
-
export declare function
|
|
2227
|
+
export declare function updatePromptPromptsMessagesToJSON(updatePromptPromptsMessages: UpdatePromptPromptsMessages): string;
|
|
2228
|
+
export declare function updatePromptPromptsMessagesFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsMessages, SDKValidationError>;
|
|
3430
2229
|
/** @internal */
|
|
3431
|
-
export declare const
|
|
2230
|
+
export declare const UpdatePromptPromptsPromptConfig$inboundSchema: z.ZodType<UpdatePromptPromptsPromptConfig, z.ZodTypeDef, unknown>;
|
|
3432
2231
|
/** @internal */
|
|
3433
|
-
export type
|
|
2232
|
+
export type UpdatePromptPromptsPromptConfig$Outbound = {
|
|
3434
2233
|
stream?: boolean | undefined;
|
|
3435
2234
|
model?: string | undefined;
|
|
3436
2235
|
model_db_id?: string | undefined;
|
|
3437
2236
|
model_type?: string | undefined;
|
|
3438
|
-
model_parameters?:
|
|
2237
|
+
model_parameters?: UpdatePromptPromptsModelParameters$Outbound | undefined;
|
|
3439
2238
|
provider?: string | undefined;
|
|
3440
2239
|
integration_id?: string | null | undefined;
|
|
3441
2240
|
version?: string | undefined;
|
|
3442
|
-
messages: Array<
|
|
2241
|
+
messages: Array<UpdatePromptPromptsMessages$Outbound>;
|
|
3443
2242
|
};
|
|
3444
2243
|
/** @internal */
|
|
3445
|
-
export declare const
|
|
2244
|
+
export declare const UpdatePromptPromptsPromptConfig$outboundSchema: z.ZodType<UpdatePromptPromptsPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptsPromptConfig>;
|
|
3446
2245
|
/**
|
|
3447
2246
|
* @internal
|
|
3448
2247
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3449
2248
|
*/
|
|
3450
|
-
export declare namespace
|
|
3451
|
-
/** @deprecated use `
|
|
3452
|
-
const inboundSchema: z.ZodType<
|
|
3453
|
-
/** @deprecated use `
|
|
3454
|
-
const outboundSchema: z.ZodType<
|
|
3455
|
-
/** @deprecated use `
|
|
3456
|
-
type Outbound =
|
|
2249
|
+
export declare namespace UpdatePromptPromptsPromptConfig$ {
|
|
2250
|
+
/** @deprecated use `UpdatePromptPromptsPromptConfig$inboundSchema` instead. */
|
|
2251
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptsPromptConfig, z.ZodTypeDef, unknown>;
|
|
2252
|
+
/** @deprecated use `UpdatePromptPromptsPromptConfig$outboundSchema` instead. */
|
|
2253
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptsPromptConfig$Outbound, z.ZodTypeDef, UpdatePromptPromptsPromptConfig>;
|
|
2254
|
+
/** @deprecated use `UpdatePromptPromptsPromptConfig$Outbound` instead. */
|
|
2255
|
+
type Outbound = UpdatePromptPromptsPromptConfig$Outbound;
|
|
3457
2256
|
}
|
|
3458
|
-
export declare function
|
|
3459
|
-
export declare function
|
|
2257
|
+
export declare function updatePromptPromptsPromptConfigToJSON(updatePromptPromptsPromptConfig: UpdatePromptPromptsPromptConfig): string;
|
|
2258
|
+
export declare function updatePromptPromptsPromptConfigFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsPromptConfig, SDKValidationError>;
|
|
3460
2259
|
/** @internal */
|
|
3461
|
-
export declare const
|
|
2260
|
+
export declare const UpdatePromptPromptsUseCases$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsUseCases>;
|
|
3462
2261
|
/** @internal */
|
|
3463
|
-
export declare const
|
|
2262
|
+
export declare const UpdatePromptPromptsUseCases$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsUseCases>;
|
|
3464
2263
|
/**
|
|
3465
2264
|
* @internal
|
|
3466
2265
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3467
2266
|
*/
|
|
3468
|
-
export declare namespace
|
|
3469
|
-
/** @deprecated use `
|
|
2267
|
+
export declare namespace UpdatePromptPromptsUseCases$ {
|
|
2268
|
+
/** @deprecated use `UpdatePromptPromptsUseCases$inboundSchema` instead. */
|
|
3470
2269
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3471
2270
|
readonly Agents: "Agents";
|
|
3472
2271
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -3485,7 +2284,7 @@ export declare namespace UpdatePromptPromptsResponseUseCases$ {
|
|
|
3485
2284
|
readonly Summarization: "Summarization";
|
|
3486
2285
|
readonly Tagging: "Tagging";
|
|
3487
2286
|
}>;
|
|
3488
|
-
/** @deprecated use `
|
|
2287
|
+
/** @deprecated use `UpdatePromptPromptsUseCases$outboundSchema` instead. */
|
|
3489
2288
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3490
2289
|
readonly Agents: "Agents";
|
|
3491
2290
|
readonly AgentsSimulations: "Agents simulations";
|
|
@@ -3506,15 +2305,15 @@ export declare namespace UpdatePromptPromptsResponseUseCases$ {
|
|
|
3506
2305
|
}>;
|
|
3507
2306
|
}
|
|
3508
2307
|
/** @internal */
|
|
3509
|
-
export declare const
|
|
2308
|
+
export declare const UpdatePromptPromptsLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsLanguage>;
|
|
3510
2309
|
/** @internal */
|
|
3511
|
-
export declare const
|
|
2310
|
+
export declare const UpdatePromptPromptsLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdatePromptPromptsLanguage>;
|
|
3512
2311
|
/**
|
|
3513
2312
|
* @internal
|
|
3514
2313
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3515
2314
|
*/
|
|
3516
|
-
export declare namespace
|
|
3517
|
-
/** @deprecated use `
|
|
2315
|
+
export declare namespace UpdatePromptPromptsLanguage$ {
|
|
2316
|
+
/** @deprecated use `UpdatePromptPromptsLanguage$inboundSchema` instead. */
|
|
3518
2317
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3519
2318
|
readonly Chinese: "Chinese";
|
|
3520
2319
|
readonly Dutch: "Dutch";
|
|
@@ -3524,7 +2323,7 @@ export declare namespace UpdatePromptPromptsResponseLanguage$ {
|
|
|
3524
2323
|
readonly Russian: "Russian";
|
|
3525
2324
|
readonly Spanish: "Spanish";
|
|
3526
2325
|
}>;
|
|
3527
|
-
/** @deprecated use `
|
|
2326
|
+
/** @deprecated use `UpdatePromptPromptsLanguage$outboundSchema` instead. */
|
|
3528
2327
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3529
2328
|
readonly Chinese: "Chinese";
|
|
3530
2329
|
readonly Dutch: "Dutch";
|
|
@@ -3536,73 +2335,44 @@ export declare namespace UpdatePromptPromptsResponseLanguage$ {
|
|
|
3536
2335
|
}>;
|
|
3537
2336
|
}
|
|
3538
2337
|
/** @internal */
|
|
3539
|
-
export declare const
|
|
2338
|
+
export declare const UpdatePromptPromptsMetadata$inboundSchema: z.ZodType<UpdatePromptPromptsMetadata, z.ZodTypeDef, unknown>;
|
|
3540
2339
|
/** @internal */
|
|
3541
|
-
export type
|
|
2340
|
+
export type UpdatePromptPromptsMetadata$Outbound = {
|
|
3542
2341
|
use_cases?: Array<string> | undefined;
|
|
3543
2342
|
language?: string | undefined;
|
|
3544
2343
|
};
|
|
3545
2344
|
/** @internal */
|
|
3546
|
-
export declare const
|
|
3547
|
-
/**
|
|
3548
|
-
* @internal
|
|
3549
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3550
|
-
*/
|
|
3551
|
-
export declare namespace UpdatePromptPromptsResponseMetadata$ {
|
|
3552
|
-
/** @deprecated use `UpdatePromptPromptsResponseMetadata$inboundSchema` instead. */
|
|
3553
|
-
const inboundSchema: z.ZodType<UpdatePromptPromptsResponseMetadata, z.ZodTypeDef, unknown>;
|
|
3554
|
-
/** @deprecated use `UpdatePromptPromptsResponseMetadata$outboundSchema` instead. */
|
|
3555
|
-
const outboundSchema: z.ZodType<UpdatePromptPromptsResponseMetadata$Outbound, z.ZodTypeDef, UpdatePromptPromptsResponseMetadata>;
|
|
3556
|
-
/** @deprecated use `UpdatePromptPromptsResponseMetadata$Outbound` instead. */
|
|
3557
|
-
type Outbound = UpdatePromptPromptsResponseMetadata$Outbound;
|
|
3558
|
-
}
|
|
3559
|
-
export declare function updatePromptPromptsResponseMetadataToJSON(updatePromptPromptsResponseMetadata: UpdatePromptPromptsResponseMetadata): string;
|
|
3560
|
-
export declare function updatePromptPromptsResponseMetadataFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsResponseMetadata, SDKValidationError>;
|
|
3561
|
-
/** @internal */
|
|
3562
|
-
export declare const UpdatePromptVersions$inboundSchema: z.ZodType<UpdatePromptVersions, z.ZodTypeDef, unknown>;
|
|
3563
|
-
/** @internal */
|
|
3564
|
-
export type UpdatePromptVersions$Outbound = {
|
|
3565
|
-
_id: string;
|
|
3566
|
-
created_by_id?: string | undefined;
|
|
3567
|
-
updated_by_id?: string | undefined;
|
|
3568
|
-
description?: string | null | undefined;
|
|
3569
|
-
prompt_config: UpdatePromptPromptsResponsePromptConfig$Outbound;
|
|
3570
|
-
metadata: UpdatePromptPromptsResponseMetadata$Outbound;
|
|
3571
|
-
timestamp: string;
|
|
3572
|
-
};
|
|
3573
|
-
/** @internal */
|
|
3574
|
-
export declare const UpdatePromptVersions$outboundSchema: z.ZodType<UpdatePromptVersions$Outbound, z.ZodTypeDef, UpdatePromptVersions>;
|
|
2345
|
+
export declare const UpdatePromptPromptsMetadata$outboundSchema: z.ZodType<UpdatePromptPromptsMetadata$Outbound, z.ZodTypeDef, UpdatePromptPromptsMetadata>;
|
|
3575
2346
|
/**
|
|
3576
2347
|
* @internal
|
|
3577
2348
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3578
2349
|
*/
|
|
3579
|
-
export declare namespace
|
|
3580
|
-
/** @deprecated use `
|
|
3581
|
-
const inboundSchema: z.ZodType<
|
|
3582
|
-
/** @deprecated use `
|
|
3583
|
-
const outboundSchema: z.ZodType<
|
|
3584
|
-
/** @deprecated use `
|
|
3585
|
-
type Outbound =
|
|
2350
|
+
export declare namespace UpdatePromptPromptsMetadata$ {
|
|
2351
|
+
/** @deprecated use `UpdatePromptPromptsMetadata$inboundSchema` instead. */
|
|
2352
|
+
const inboundSchema: z.ZodType<UpdatePromptPromptsMetadata, z.ZodTypeDef, unknown>;
|
|
2353
|
+
/** @deprecated use `UpdatePromptPromptsMetadata$outboundSchema` instead. */
|
|
2354
|
+
const outboundSchema: z.ZodType<UpdatePromptPromptsMetadata$Outbound, z.ZodTypeDef, UpdatePromptPromptsMetadata>;
|
|
2355
|
+
/** @deprecated use `UpdatePromptPromptsMetadata$Outbound` instead. */
|
|
2356
|
+
type Outbound = UpdatePromptPromptsMetadata$Outbound;
|
|
3586
2357
|
}
|
|
3587
|
-
export declare function
|
|
3588
|
-
export declare function
|
|
2358
|
+
export declare function updatePromptPromptsMetadataToJSON(updatePromptPromptsMetadata: UpdatePromptPromptsMetadata): string;
|
|
2359
|
+
export declare function updatePromptPromptsMetadataFromJSON(jsonString: string): SafeParseResult<UpdatePromptPromptsMetadata, SDKValidationError>;
|
|
3589
2360
|
/** @internal */
|
|
3590
2361
|
export declare const UpdatePromptResponseBody$inboundSchema: z.ZodType<UpdatePromptResponseBody, z.ZodTypeDef, unknown>;
|
|
3591
2362
|
/** @internal */
|
|
3592
2363
|
export type UpdatePromptResponseBody$Outbound = {
|
|
3593
2364
|
_id: string;
|
|
3594
|
-
|
|
2365
|
+
type: string;
|
|
2366
|
+
owner: string;
|
|
3595
2367
|
domain_id: string;
|
|
2368
|
+
created: string;
|
|
2369
|
+
updated: string;
|
|
3596
2370
|
created_by_id?: string | undefined;
|
|
3597
|
-
display_name: string;
|
|
3598
2371
|
updated_by_id?: string | undefined;
|
|
2372
|
+
display_name: string;
|
|
3599
2373
|
description?: string | null | undefined;
|
|
3600
2374
|
prompt_config: UpdatePromptPromptsPromptConfig$Outbound;
|
|
3601
|
-
metadata
|
|
3602
|
-
created?: string | undefined;
|
|
3603
|
-
updated: string;
|
|
3604
|
-
type: string;
|
|
3605
|
-
versions: Array<UpdatePromptVersions$Outbound>;
|
|
2375
|
+
metadata?: UpdatePromptPromptsMetadata$Outbound | undefined;
|
|
3606
2376
|
};
|
|
3607
2377
|
/** @internal */
|
|
3608
2378
|
export declare const UpdatePromptResponseBody$outboundSchema: z.ZodType<UpdatePromptResponseBody$Outbound, z.ZodTypeDef, UpdatePromptResponseBody>;
|