@orq-ai/node 3.2.0-rc.13 → 3.2.0-rc.17
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 +1 -1
- package/bin/mcp-server.js +606 -606
- package/bin/mcp-server.js.map +21 -21
- package/docs/sdks/prompts/README.md +110 -110
- package/funcs/promptsList.js +1 -1
- package/funcs/promptsList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +2 -2
- package/mcp-server/server.js.map +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createprompt.d.ts +333 -333
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +466 -469
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updateprompt.d.ts +333 -333
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +469 -468
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/sdk/prompts.d.ts +4 -4
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +6 -6
- package/sdk/prompts.js.map +1 -1
- package/src/funcs/promptsList.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -2
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createprompt.ts +714 -629
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updateprompt.ts +629 -716
- package/src/sdk/prompts.ts +14 -14
package/bin/mcp-server.js
CHANGED
|
@@ -34231,9 +34231,9 @@ var init_config = __esm(() => {
|
|
|
34231
34231
|
SDK_METADATA = {
|
|
34232
34232
|
language: "typescript",
|
|
34233
34233
|
openapiDocVersion: "2.0",
|
|
34234
|
-
sdkVersion: "3.2.0-rc.
|
|
34235
|
-
genVersion: "2.
|
|
34236
|
-
userAgent: "speakeasy-sdk/typescript 3.2.0-rc.
|
|
34234
|
+
sdkVersion: "3.2.0-rc.17",
|
|
34235
|
+
genVersion: "2.529.2",
|
|
34236
|
+
userAgent: "speakeasy-sdk/typescript 3.2.0-rc.17 2.529.2 2.0 @orq-ai/node"
|
|
34237
34237
|
};
|
|
34238
34238
|
});
|
|
34239
34239
|
|
|
@@ -35998,7 +35998,7 @@ var init_bulkcreatedatapoints = __esm(() => {
|
|
|
35998
35998
|
created_by_id: stringType().optional(),
|
|
35999
35999
|
updated_by_id: stringType().optional(),
|
|
36000
36000
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36001
|
-
updated: stringType().datetime({ offset: true }).default("2025-02-
|
|
36001
|
+
updated: stringType().datetime({ offset: true }).default("2025-02-26T10:55:47.554Z").transform((v2) => new Date(v2))
|
|
36002
36002
|
}).transform((v2) => {
|
|
36003
36003
|
return remap(v2, {
|
|
36004
36004
|
_id: "id",
|
|
@@ -36019,7 +36019,7 @@ var init_bulkcreatedatapoints = __esm(() => {
|
|
|
36019
36019
|
createdById: stringType().optional(),
|
|
36020
36020
|
updatedById: stringType().optional(),
|
|
36021
36021
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36022
|
-
updated: dateType().default(() => new Date("2025-02-
|
|
36022
|
+
updated: dateType().default(() => new Date("2025-02-26T10:55:47.554Z")).transform((v2) => v2.toISOString())
|
|
36023
36023
|
}).transform((v2) => {
|
|
36024
36024
|
return remap(v2, {
|
|
36025
36025
|
id: "_id",
|
|
@@ -36107,7 +36107,7 @@ var init_createcontact = __esm(() => {
|
|
|
36107
36107
|
tags: arrayType(stringType()).optional(),
|
|
36108
36108
|
metadata: recordType(anyType()).optional(),
|
|
36109
36109
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36110
|
-
updated: stringType().datetime({ offset: true }).default("2025-02-
|
|
36110
|
+
updated: stringType().datetime({ offset: true }).default("2025-02-26T10:55:47.554Z").transform((v2) => new Date(v2))
|
|
36111
36111
|
}).transform((v2) => {
|
|
36112
36112
|
return remap(v2, {
|
|
36113
36113
|
external_id: "externalId",
|
|
@@ -36124,7 +36124,7 @@ var init_createcontact = __esm(() => {
|
|
|
36124
36124
|
tags: arrayType(stringType()).optional(),
|
|
36125
36125
|
metadata: recordType(anyType()).optional(),
|
|
36126
36126
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36127
|
-
updated: dateType().default(() => new Date("2025-02-
|
|
36127
|
+
updated: dateType().default(() => new Date("2025-02-26T10:55:47.554Z")).transform((v2) => v2.toISOString())
|
|
36128
36128
|
}).transform((v2) => {
|
|
36129
36129
|
return remap(v2, {
|
|
36130
36130
|
externalId: "external_id",
|
|
@@ -36194,7 +36194,7 @@ var init_createdataset = __esm(() => {
|
|
|
36194
36194
|
updated_by_id: stringType().optional(),
|
|
36195
36195
|
metadata: lazyType(() => CreateDatasetMetadata$inboundSchema),
|
|
36196
36196
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36197
|
-
updated: stringType().datetime({ offset: true }).default("2025-02-
|
|
36197
|
+
updated: stringType().datetime({ offset: true }).default("2025-02-26T10:55:47.554Z").transform((v2) => new Date(v2))
|
|
36198
36198
|
}).transform((v2) => {
|
|
36199
36199
|
return remap(v2, {
|
|
36200
36200
|
_id: "id",
|
|
@@ -36214,7 +36214,7 @@ var init_createdataset = __esm(() => {
|
|
|
36214
36214
|
updatedById: stringType().optional(),
|
|
36215
36215
|
metadata: lazyType(() => CreateDatasetMetadata$outboundSchema),
|
|
36216
36216
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36217
|
-
updated: dateType().default(() => new Date("2025-02-
|
|
36217
|
+
updated: dateType().default(() => new Date("2025-02-26T10:55:47.554Z")).transform((v2) => v2.toISOString())
|
|
36218
36218
|
}).transform((v2) => {
|
|
36219
36219
|
return remap(v2, {
|
|
36220
36220
|
id: "_id",
|
|
@@ -36650,7 +36650,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
36650
36650
|
created_by_id: stringType().optional(),
|
|
36651
36651
|
updated_by_id: stringType().optional(),
|
|
36652
36652
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36653
|
-
updated: stringType().datetime({ offset: true }).default("2025-02-
|
|
36653
|
+
updated: stringType().datetime({ offset: true }).default("2025-02-26T10:55:47.554Z").transform((v2) => new Date(v2))
|
|
36654
36654
|
}).transform((v2) => {
|
|
36655
36655
|
return remap(v2, {
|
|
36656
36656
|
_id: "id",
|
|
@@ -36671,7 +36671,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
36671
36671
|
createdById: stringType().optional(),
|
|
36672
36672
|
updatedById: stringType().optional(),
|
|
36673
36673
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36674
|
-
updated: dateType().default(() => new Date("2025-02-
|
|
36674
|
+
updated: dateType().default(() => new Date("2025-02-26T10:55:47.554Z")).transform((v2) => v2.toISOString())
|
|
36675
36675
|
}).transform((v2) => {
|
|
36676
36676
|
return remap(v2, {
|
|
36677
36677
|
id: "_id",
|
|
@@ -36756,11 +36756,11 @@ var init_createfeedback = __esm(() => {
|
|
|
36756
36756
|
});
|
|
36757
36757
|
|
|
36758
36758
|
// src/models/operations/createprompt.ts
|
|
36759
|
-
var
|
|
36759
|
+
var CreatePromptModelType, CreatePromptFormat, CreatePromptQuality, CreatePromptResponseFormatPromptsType, CreatePromptResponseFormatType, CreatePromptPhotoRealVersion, CreatePromptEncodingFormat, CreatePromptReasoningEffort, CreatePromptProvider, CreatePromptRole, CreatePrompt2PromptsType, CreatePrompt2Type, CreatePromptType, CreatePromptUseCases, CreatePromptLanguage, CreatePromptPromptsType, CreatePromptPromptsModelType, CreatePromptPromptsFormat, CreatePromptPromptsQuality, CreatePromptResponseFormatPromptsResponse200Type, CreatePromptResponseFormatPromptsResponseType, CreatePromptPromptsPhotoRealVersion, CreatePromptPromptsEncodingFormat, CreatePromptPromptsReasoningEffort, CreatePromptPromptsProvider, CreatePromptPromptsRole, CreatePrompt2PromptsResponse200Type, CreatePrompt2PromptsResponseType, CreatePromptPromptsResponseType, CreatePromptPromptsUseCases, CreatePromptPromptsLanguage, CreatePromptModelType$inboundSchema, CreatePromptModelType$outboundSchema, CreatePromptModelType$, CreatePromptFormat$inboundSchema, CreatePromptFormat$outboundSchema, CreatePromptFormat$, CreatePromptQuality$inboundSchema, CreatePromptQuality$outboundSchema, CreatePromptQuality$, CreatePromptResponseFormatPromptsType$inboundSchema, CreatePromptResponseFormatPromptsType$outboundSchema, CreatePromptResponseFormatPromptsType$, CreatePromptResponseFormat2$inboundSchema, CreatePromptResponseFormat2$outboundSchema, CreatePromptResponseFormat2$, CreatePromptResponseFormatType$inboundSchema, CreatePromptResponseFormatType$outboundSchema, CreatePromptResponseFormatType$, ResponseFormatJsonSchema$inboundSchema, ResponseFormatJsonSchema$outboundSchema, ResponseFormatJsonSchema$, CreatePromptResponseFormat1$inboundSchema, CreatePromptResponseFormat1$outboundSchema, CreatePromptResponseFormat1$, CreatePromptResponseFormat$inboundSchema, CreatePromptResponseFormat$outboundSchema, CreatePromptResponseFormat$, CreatePromptPhotoRealVersion$inboundSchema, CreatePromptPhotoRealVersion$outboundSchema, CreatePromptPhotoRealVersion$, CreatePromptEncodingFormat$inboundSchema, CreatePromptEncodingFormat$outboundSchema, CreatePromptEncodingFormat$, CreatePromptReasoningEffort$inboundSchema, CreatePromptReasoningEffort$outboundSchema, CreatePromptReasoningEffort$, CreatePromptModelParameters$inboundSchema, CreatePromptModelParameters$outboundSchema, CreatePromptModelParameters$, CreatePromptProvider$inboundSchema, CreatePromptProvider$outboundSchema, CreatePromptProvider$, CreatePromptRole$inboundSchema, CreatePromptRole$outboundSchema, CreatePromptRole$, CreatePrompt2PromptsType$inboundSchema, CreatePrompt2PromptsType$outboundSchema, CreatePrompt2PromptsType$, CreatePrompt2ImageUrl$inboundSchema, CreatePrompt2ImageUrl$outboundSchema, CreatePrompt2ImageUrl$, CreatePrompt22$inboundSchema, CreatePrompt22$outboundSchema, CreatePrompt22$, CreatePrompt2Type$inboundSchema, CreatePrompt2Type$outboundSchema, CreatePrompt2Type$, CreatePrompt21$inboundSchema, CreatePrompt21$outboundSchema, CreatePrompt21$, CreatePromptContent2$inboundSchema, CreatePromptContent2$outboundSchema, CreatePromptContent2$, CreatePromptContent$inboundSchema, CreatePromptContent$outboundSchema, CreatePromptContent$, CreatePromptType$inboundSchema, CreatePromptType$outboundSchema, CreatePromptType$, CreatePromptFunction$inboundSchema, CreatePromptFunction$outboundSchema, CreatePromptFunction$, CreatePromptToolCalls$inboundSchema, CreatePromptToolCalls$outboundSchema, CreatePromptToolCalls$, CreatePromptMessages$inboundSchema, CreatePromptMessages$outboundSchema, CreatePromptMessages$, CreatePromptPromptConfig$inboundSchema, CreatePromptPromptConfig$outboundSchema, CreatePromptPromptConfig$, CreatePromptUseCases$inboundSchema, CreatePromptUseCases$outboundSchema, CreatePromptUseCases$, CreatePromptLanguage$inboundSchema, CreatePromptLanguage$outboundSchema, CreatePromptLanguage$, CreatePromptMetadata$inboundSchema, CreatePromptMetadata$outboundSchema, CreatePromptMetadata$, CreatePromptRequestBody$inboundSchema, CreatePromptRequestBody$outboundSchema, CreatePromptRequestBody$, CreatePromptPromptsType$inboundSchema, CreatePromptPromptsType$outboundSchema, CreatePromptPromptsType$, CreatePromptPromptsModelType$inboundSchema, CreatePromptPromptsModelType$outboundSchema, CreatePromptPromptsModelType$, CreatePromptPromptsFormat$inboundSchema, CreatePromptPromptsFormat$outboundSchema, CreatePromptPromptsFormat$, CreatePromptPromptsQuality$inboundSchema, CreatePromptPromptsQuality$outboundSchema, CreatePromptPromptsQuality$, CreatePromptResponseFormatPromptsResponse200Type$inboundSchema, CreatePromptResponseFormatPromptsResponse200Type$outboundSchema, CreatePromptResponseFormatPromptsResponse200Type$, CreatePromptResponseFormatPrompts2$inboundSchema, CreatePromptResponseFormatPrompts2$outboundSchema, CreatePromptResponseFormatPrompts2$, CreatePromptResponseFormatPromptsResponseType$inboundSchema, CreatePromptResponseFormatPromptsResponseType$outboundSchema, CreatePromptResponseFormatPromptsResponseType$, CreatePromptResponseFormatJsonSchema$inboundSchema, CreatePromptResponseFormatJsonSchema$outboundSchema, CreatePromptResponseFormatJsonSchema$, CreatePromptResponseFormatPrompts1$inboundSchema, CreatePromptResponseFormatPrompts1$outboundSchema, CreatePromptResponseFormatPrompts1$, CreatePromptPromptsResponseFormat$inboundSchema, CreatePromptPromptsResponseFormat$outboundSchema, CreatePromptPromptsResponseFormat$, CreatePromptPromptsPhotoRealVersion$inboundSchema, CreatePromptPromptsPhotoRealVersion$outboundSchema, CreatePromptPromptsPhotoRealVersion$, CreatePromptPromptsEncodingFormat$inboundSchema, CreatePromptPromptsEncodingFormat$outboundSchema, CreatePromptPromptsEncodingFormat$, CreatePromptPromptsReasoningEffort$inboundSchema, CreatePromptPromptsReasoningEffort$outboundSchema, CreatePromptPromptsReasoningEffort$, CreatePromptPromptsModelParameters$inboundSchema, CreatePromptPromptsModelParameters$outboundSchema, CreatePromptPromptsModelParameters$, CreatePromptPromptsProvider$inboundSchema, CreatePromptPromptsProvider$outboundSchema, CreatePromptPromptsProvider$, CreatePromptPromptsRole$inboundSchema, CreatePromptPromptsRole$outboundSchema, CreatePromptPromptsRole$, CreatePrompt2PromptsResponse200Type$inboundSchema, CreatePrompt2PromptsResponse200Type$outboundSchema, CreatePrompt2PromptsResponse200Type$, CreatePrompt2PromptsImageUrl$inboundSchema, CreatePrompt2PromptsImageUrl$outboundSchema, CreatePrompt2PromptsImageUrl$, CreatePrompt2Prompts2$inboundSchema, CreatePrompt2Prompts2$outboundSchema, CreatePrompt2Prompts2$, CreatePrompt2PromptsResponseType$inboundSchema, CreatePrompt2PromptsResponseType$outboundSchema, CreatePrompt2PromptsResponseType$, CreatePrompt2Prompts1$inboundSchema, CreatePrompt2Prompts1$outboundSchema, CreatePrompt2Prompts1$, CreatePromptContentPrompts2$inboundSchema, CreatePromptContentPrompts2$outboundSchema, CreatePromptContentPrompts2$, CreatePromptPromptsContent$inboundSchema, CreatePromptPromptsContent$outboundSchema, CreatePromptPromptsContent$, CreatePromptPromptsResponseType$inboundSchema, CreatePromptPromptsResponseType$outboundSchema, CreatePromptPromptsResponseType$, CreatePromptPromptsFunction$inboundSchema, CreatePromptPromptsFunction$outboundSchema, CreatePromptPromptsFunction$, CreatePromptPromptsToolCalls$inboundSchema, CreatePromptPromptsToolCalls$outboundSchema, CreatePromptPromptsToolCalls$, CreatePromptPromptsMessages$inboundSchema, CreatePromptPromptsMessages$outboundSchema, CreatePromptPromptsMessages$, CreatePromptPromptsPromptConfig$inboundSchema, CreatePromptPromptsPromptConfig$outboundSchema, CreatePromptPromptsPromptConfig$, CreatePromptPromptsUseCases$inboundSchema, CreatePromptPromptsUseCases$outboundSchema, CreatePromptPromptsUseCases$, CreatePromptPromptsLanguage$inboundSchema, CreatePromptPromptsLanguage$outboundSchema, CreatePromptPromptsLanguage$, CreatePromptPromptsMetadata$inboundSchema, CreatePromptPromptsMetadata$outboundSchema, CreatePromptPromptsMetadata$, CreatePromptResponseBody$inboundSchema, CreatePromptResponseBody$outboundSchema, CreatePromptResponseBody$;
|
|
36760
36760
|
var init_createprompt = __esm(() => {
|
|
36761
36761
|
init_lib();
|
|
36762
36762
|
init_primitives();
|
|
36763
|
-
|
|
36763
|
+
CreatePromptModelType = {
|
|
36764
36764
|
Chat: "chat",
|
|
36765
36765
|
Completion: "completion",
|
|
36766
36766
|
Embedding: "embedding",
|
|
@@ -36771,36 +36771,36 @@ var init_createprompt = __esm(() => {
|
|
|
36771
36771
|
Rerank: "rerank",
|
|
36772
36772
|
Moderations: "moderations"
|
|
36773
36773
|
};
|
|
36774
|
-
|
|
36774
|
+
CreatePromptFormat = {
|
|
36775
36775
|
Url: "url",
|
|
36776
36776
|
B64Json: "b64_json",
|
|
36777
36777
|
Text: "text",
|
|
36778
36778
|
JsonObject: "json_object"
|
|
36779
36779
|
};
|
|
36780
|
-
|
|
36780
|
+
CreatePromptQuality = {
|
|
36781
36781
|
Standard: "standard",
|
|
36782
36782
|
Hd: "hd"
|
|
36783
36783
|
};
|
|
36784
|
-
|
|
36784
|
+
CreatePromptResponseFormatPromptsType = {
|
|
36785
36785
|
JsonObject: "json_object"
|
|
36786
36786
|
};
|
|
36787
|
-
|
|
36787
|
+
CreatePromptResponseFormatType = {
|
|
36788
36788
|
JsonSchema: "json_schema"
|
|
36789
36789
|
};
|
|
36790
|
-
|
|
36790
|
+
CreatePromptPhotoRealVersion = {
|
|
36791
36791
|
V1: "v1",
|
|
36792
36792
|
V2: "v2"
|
|
36793
36793
|
};
|
|
36794
|
-
|
|
36794
|
+
CreatePromptEncodingFormat = {
|
|
36795
36795
|
Float: "float",
|
|
36796
36796
|
Base64: "base64"
|
|
36797
36797
|
};
|
|
36798
|
-
|
|
36798
|
+
CreatePromptReasoningEffort = {
|
|
36799
36799
|
Low: "low",
|
|
36800
36800
|
Medium: "medium",
|
|
36801
36801
|
High: "high"
|
|
36802
36802
|
};
|
|
36803
|
-
|
|
36803
|
+
CreatePromptProvider = {
|
|
36804
36804
|
Cohere: "cohere",
|
|
36805
36805
|
Openai: "openai",
|
|
36806
36806
|
Anthropic: "anthropic",
|
|
@@ -36839,7 +36839,7 @@ var init_createprompt = __esm(() => {
|
|
|
36839
36839
|
CreatePromptType = {
|
|
36840
36840
|
Function: "function"
|
|
36841
36841
|
};
|
|
36842
|
-
|
|
36842
|
+
CreatePromptUseCases = {
|
|
36843
36843
|
Agents: "Agents",
|
|
36844
36844
|
AgentsSimulations: "Agents simulations",
|
|
36845
36845
|
APIInteraction: "API interaction",
|
|
@@ -36857,7 +36857,7 @@ var init_createprompt = __esm(() => {
|
|
|
36857
36857
|
Summarization: "Summarization",
|
|
36858
36858
|
Tagging: "Tagging"
|
|
36859
36859
|
};
|
|
36860
|
-
|
|
36860
|
+
CreatePromptLanguage = {
|
|
36861
36861
|
Chinese: "Chinese",
|
|
36862
36862
|
Dutch: "Dutch",
|
|
36863
36863
|
English: "English",
|
|
@@ -36869,7 +36869,7 @@ var init_createprompt = __esm(() => {
|
|
|
36869
36869
|
CreatePromptPromptsType = {
|
|
36870
36870
|
Prompt: "prompt"
|
|
36871
36871
|
};
|
|
36872
|
-
|
|
36872
|
+
CreatePromptPromptsModelType = {
|
|
36873
36873
|
Chat: "chat",
|
|
36874
36874
|
Completion: "completion",
|
|
36875
36875
|
Embedding: "embedding",
|
|
@@ -36880,36 +36880,36 @@ var init_createprompt = __esm(() => {
|
|
|
36880
36880
|
Rerank: "rerank",
|
|
36881
36881
|
Moderations: "moderations"
|
|
36882
36882
|
};
|
|
36883
|
-
|
|
36883
|
+
CreatePromptPromptsFormat = {
|
|
36884
36884
|
Url: "url",
|
|
36885
36885
|
B64Json: "b64_json",
|
|
36886
36886
|
Text: "text",
|
|
36887
36887
|
JsonObject: "json_object"
|
|
36888
36888
|
};
|
|
36889
|
-
|
|
36889
|
+
CreatePromptPromptsQuality = {
|
|
36890
36890
|
Standard: "standard",
|
|
36891
36891
|
Hd: "hd"
|
|
36892
36892
|
};
|
|
36893
|
-
|
|
36893
|
+
CreatePromptResponseFormatPromptsResponse200Type = {
|
|
36894
36894
|
JsonObject: "json_object"
|
|
36895
36895
|
};
|
|
36896
|
-
|
|
36896
|
+
CreatePromptResponseFormatPromptsResponseType = {
|
|
36897
36897
|
JsonSchema: "json_schema"
|
|
36898
36898
|
};
|
|
36899
|
-
|
|
36899
|
+
CreatePromptPromptsPhotoRealVersion = {
|
|
36900
36900
|
V1: "v1",
|
|
36901
36901
|
V2: "v2"
|
|
36902
36902
|
};
|
|
36903
|
-
|
|
36903
|
+
CreatePromptPromptsEncodingFormat = {
|
|
36904
36904
|
Float: "float",
|
|
36905
36905
|
Base64: "base64"
|
|
36906
36906
|
};
|
|
36907
|
-
|
|
36907
|
+
CreatePromptPromptsReasoningEffort = {
|
|
36908
36908
|
Low: "low",
|
|
36909
36909
|
Medium: "medium",
|
|
36910
36910
|
High: "high"
|
|
36911
36911
|
};
|
|
36912
|
-
|
|
36912
|
+
CreatePromptPromptsProvider = {
|
|
36913
36913
|
Cohere: "cohere",
|
|
36914
36914
|
Openai: "openai",
|
|
36915
36915
|
Anthropic: "anthropic",
|
|
@@ -36948,7 +36948,7 @@ var init_createprompt = __esm(() => {
|
|
|
36948
36948
|
CreatePromptPromptsResponseType = {
|
|
36949
36949
|
Function: "function"
|
|
36950
36950
|
};
|
|
36951
|
-
|
|
36951
|
+
CreatePromptPromptsUseCases = {
|
|
36952
36952
|
Agents: "Agents",
|
|
36953
36953
|
AgentsSimulations: "Agents simulations",
|
|
36954
36954
|
APIInteraction: "API interaction",
|
|
@@ -36966,7 +36966,7 @@ var init_createprompt = __esm(() => {
|
|
|
36966
36966
|
Summarization: "Summarization",
|
|
36967
36967
|
Tagging: "Tagging"
|
|
36968
36968
|
};
|
|
36969
|
-
|
|
36969
|
+
CreatePromptPromptsLanguage = {
|
|
36970
36970
|
Chinese: "Chinese",
|
|
36971
36971
|
Dutch: "Dutch",
|
|
36972
36972
|
English: "English",
|
|
@@ -36975,111 +36975,111 @@ var init_createprompt = __esm(() => {
|
|
|
36975
36975
|
Russian: "Russian",
|
|
36976
36976
|
Spanish: "Spanish"
|
|
36977
36977
|
};
|
|
36978
|
-
|
|
36979
|
-
|
|
36980
|
-
((
|
|
36981
|
-
|
|
36982
|
-
|
|
36983
|
-
})(
|
|
36984
|
-
|
|
36985
|
-
|
|
36986
|
-
((
|
|
36987
|
-
|
|
36988
|
-
|
|
36989
|
-
})(
|
|
36990
|
-
|
|
36991
|
-
|
|
36992
|
-
((
|
|
36993
|
-
|
|
36994
|
-
|
|
36995
|
-
})(
|
|
36978
|
+
CreatePromptModelType$inboundSchema = nativeEnumType(CreatePromptModelType);
|
|
36979
|
+
CreatePromptModelType$outboundSchema = CreatePromptModelType$inboundSchema;
|
|
36980
|
+
((CreatePromptModelType$) => {
|
|
36981
|
+
CreatePromptModelType$.inboundSchema = CreatePromptModelType$inboundSchema;
|
|
36982
|
+
CreatePromptModelType$.outboundSchema = CreatePromptModelType$outboundSchema;
|
|
36983
|
+
})(CreatePromptModelType$ ||= {});
|
|
36984
|
+
CreatePromptFormat$inboundSchema = nativeEnumType(CreatePromptFormat);
|
|
36985
|
+
CreatePromptFormat$outboundSchema = CreatePromptFormat$inboundSchema;
|
|
36986
|
+
((CreatePromptFormat$) => {
|
|
36987
|
+
CreatePromptFormat$.inboundSchema = CreatePromptFormat$inboundSchema;
|
|
36988
|
+
CreatePromptFormat$.outboundSchema = CreatePromptFormat$outboundSchema;
|
|
36989
|
+
})(CreatePromptFormat$ ||= {});
|
|
36990
|
+
CreatePromptQuality$inboundSchema = nativeEnumType(CreatePromptQuality);
|
|
36991
|
+
CreatePromptQuality$outboundSchema = CreatePromptQuality$inboundSchema;
|
|
36992
|
+
((CreatePromptQuality$) => {
|
|
36993
|
+
CreatePromptQuality$.inboundSchema = CreatePromptQuality$inboundSchema;
|
|
36994
|
+
CreatePromptQuality$.outboundSchema = CreatePromptQuality$outboundSchema;
|
|
36995
|
+
})(CreatePromptQuality$ ||= {});
|
|
36996
|
+
CreatePromptResponseFormatPromptsType$inboundSchema = nativeEnumType(CreatePromptResponseFormatPromptsType);
|
|
36997
|
+
CreatePromptResponseFormatPromptsType$outboundSchema = CreatePromptResponseFormatPromptsType$inboundSchema;
|
|
36998
|
+
((CreatePromptResponseFormatPromptsType$) => {
|
|
36999
|
+
CreatePromptResponseFormatPromptsType$.inboundSchema = CreatePromptResponseFormatPromptsType$inboundSchema;
|
|
37000
|
+
CreatePromptResponseFormatPromptsType$.outboundSchema = CreatePromptResponseFormatPromptsType$outboundSchema;
|
|
37001
|
+
})(CreatePromptResponseFormatPromptsType$ ||= {});
|
|
37002
|
+
CreatePromptResponseFormat2$inboundSchema = objectType({
|
|
37003
|
+
type: CreatePromptResponseFormatPromptsType$inboundSchema
|
|
37004
|
+
});
|
|
37005
|
+
CreatePromptResponseFormat2$outboundSchema = objectType({
|
|
37006
|
+
type: CreatePromptResponseFormatPromptsType$outboundSchema
|
|
37007
|
+
});
|
|
37008
|
+
((CreatePromptResponseFormat2$) => {
|
|
37009
|
+
CreatePromptResponseFormat2$.inboundSchema = CreatePromptResponseFormat2$inboundSchema;
|
|
37010
|
+
CreatePromptResponseFormat2$.outboundSchema = CreatePromptResponseFormat2$outboundSchema;
|
|
37011
|
+
})(CreatePromptResponseFormat2$ ||= {});
|
|
36996
37012
|
CreatePromptResponseFormatType$inboundSchema = nativeEnumType(CreatePromptResponseFormatType);
|
|
36997
37013
|
CreatePromptResponseFormatType$outboundSchema = CreatePromptResponseFormatType$inboundSchema;
|
|
36998
37014
|
((CreatePromptResponseFormatType$) => {
|
|
36999
37015
|
CreatePromptResponseFormatType$.inboundSchema = CreatePromptResponseFormatType$inboundSchema;
|
|
37000
37016
|
CreatePromptResponseFormatType$.outboundSchema = CreatePromptResponseFormatType$outboundSchema;
|
|
37001
37017
|
})(CreatePromptResponseFormatType$ ||= {});
|
|
37002
|
-
|
|
37003
|
-
type: CreatePromptResponseFormatType$inboundSchema
|
|
37004
|
-
});
|
|
37005
|
-
ResponseFormat2$outboundSchema = objectType({
|
|
37006
|
-
type: CreatePromptResponseFormatType$outboundSchema
|
|
37007
|
-
});
|
|
37008
|
-
((ResponseFormat2$) => {
|
|
37009
|
-
ResponseFormat2$.inboundSchema = ResponseFormat2$inboundSchema;
|
|
37010
|
-
ResponseFormat2$.outboundSchema = ResponseFormat2$outboundSchema;
|
|
37011
|
-
})(ResponseFormat2$ ||= {});
|
|
37012
|
-
ResponseFormatType$inboundSchema = nativeEnumType(ResponseFormatType);
|
|
37013
|
-
ResponseFormatType$outboundSchema = ResponseFormatType$inboundSchema;
|
|
37014
|
-
((ResponseFormatType$) => {
|
|
37015
|
-
ResponseFormatType$.inboundSchema = ResponseFormatType$inboundSchema;
|
|
37016
|
-
ResponseFormatType$.outboundSchema = ResponseFormatType$outboundSchema;
|
|
37017
|
-
})(ResponseFormatType$ ||= {});
|
|
37018
|
-
JsonSchema$inboundSchema = objectType({
|
|
37018
|
+
ResponseFormatJsonSchema$inboundSchema = objectType({
|
|
37019
37019
|
name: stringType(),
|
|
37020
37020
|
strict: booleanType(),
|
|
37021
37021
|
schema: recordType(anyType())
|
|
37022
37022
|
});
|
|
37023
|
-
|
|
37023
|
+
ResponseFormatJsonSchema$outboundSchema = objectType({
|
|
37024
37024
|
name: stringType(),
|
|
37025
37025
|
strict: booleanType(),
|
|
37026
37026
|
schema: recordType(anyType())
|
|
37027
37027
|
});
|
|
37028
|
-
((
|
|
37029
|
-
|
|
37030
|
-
|
|
37031
|
-
})(
|
|
37032
|
-
|
|
37033
|
-
type:
|
|
37034
|
-
json_schema: lazyType(() =>
|
|
37028
|
+
((ResponseFormatJsonSchema$) => {
|
|
37029
|
+
ResponseFormatJsonSchema$.inboundSchema = ResponseFormatJsonSchema$inboundSchema;
|
|
37030
|
+
ResponseFormatJsonSchema$.outboundSchema = ResponseFormatJsonSchema$outboundSchema;
|
|
37031
|
+
})(ResponseFormatJsonSchema$ ||= {});
|
|
37032
|
+
CreatePromptResponseFormat1$inboundSchema = objectType({
|
|
37033
|
+
type: CreatePromptResponseFormatType$inboundSchema,
|
|
37034
|
+
json_schema: lazyType(() => ResponseFormatJsonSchema$inboundSchema)
|
|
37035
37035
|
}).transform((v2) => {
|
|
37036
37036
|
return remap(v2, {
|
|
37037
37037
|
json_schema: "jsonSchema"
|
|
37038
37038
|
});
|
|
37039
37039
|
});
|
|
37040
|
-
|
|
37041
|
-
type:
|
|
37042
|
-
jsonSchema: lazyType(() =>
|
|
37040
|
+
CreatePromptResponseFormat1$outboundSchema = objectType({
|
|
37041
|
+
type: CreatePromptResponseFormatType$outboundSchema,
|
|
37042
|
+
jsonSchema: lazyType(() => ResponseFormatJsonSchema$outboundSchema)
|
|
37043
37043
|
}).transform((v2) => {
|
|
37044
37044
|
return remap(v2, {
|
|
37045
37045
|
jsonSchema: "json_schema"
|
|
37046
37046
|
});
|
|
37047
37047
|
});
|
|
37048
|
-
((
|
|
37049
|
-
|
|
37050
|
-
|
|
37051
|
-
})(
|
|
37052
|
-
|
|
37053
|
-
lazyType(() =>
|
|
37054
|
-
lazyType(() =>
|
|
37048
|
+
((CreatePromptResponseFormat1$) => {
|
|
37049
|
+
CreatePromptResponseFormat1$.inboundSchema = CreatePromptResponseFormat1$inboundSchema;
|
|
37050
|
+
CreatePromptResponseFormat1$.outboundSchema = CreatePromptResponseFormat1$outboundSchema;
|
|
37051
|
+
})(CreatePromptResponseFormat1$ ||= {});
|
|
37052
|
+
CreatePromptResponseFormat$inboundSchema = unionType([
|
|
37053
|
+
lazyType(() => CreatePromptResponseFormat2$inboundSchema),
|
|
37054
|
+
lazyType(() => CreatePromptResponseFormat1$inboundSchema)
|
|
37055
37055
|
]);
|
|
37056
|
-
|
|
37057
|
-
lazyType(() =>
|
|
37058
|
-
lazyType(() =>
|
|
37056
|
+
CreatePromptResponseFormat$outboundSchema = unionType([
|
|
37057
|
+
lazyType(() => CreatePromptResponseFormat2$outboundSchema),
|
|
37058
|
+
lazyType(() => CreatePromptResponseFormat1$outboundSchema)
|
|
37059
37059
|
]);
|
|
37060
|
-
((
|
|
37061
|
-
|
|
37062
|
-
|
|
37063
|
-
})(
|
|
37064
|
-
|
|
37065
|
-
|
|
37066
|
-
((
|
|
37067
|
-
|
|
37068
|
-
|
|
37069
|
-
})(
|
|
37070
|
-
|
|
37071
|
-
|
|
37072
|
-
((
|
|
37073
|
-
|
|
37074
|
-
|
|
37075
|
-
})(
|
|
37076
|
-
|
|
37077
|
-
|
|
37078
|
-
((
|
|
37079
|
-
|
|
37080
|
-
|
|
37081
|
-
})(
|
|
37082
|
-
|
|
37060
|
+
((CreatePromptResponseFormat$) => {
|
|
37061
|
+
CreatePromptResponseFormat$.inboundSchema = CreatePromptResponseFormat$inboundSchema;
|
|
37062
|
+
CreatePromptResponseFormat$.outboundSchema = CreatePromptResponseFormat$outboundSchema;
|
|
37063
|
+
})(CreatePromptResponseFormat$ ||= {});
|
|
37064
|
+
CreatePromptPhotoRealVersion$inboundSchema = nativeEnumType(CreatePromptPhotoRealVersion);
|
|
37065
|
+
CreatePromptPhotoRealVersion$outboundSchema = CreatePromptPhotoRealVersion$inboundSchema;
|
|
37066
|
+
((CreatePromptPhotoRealVersion$) => {
|
|
37067
|
+
CreatePromptPhotoRealVersion$.inboundSchema = CreatePromptPhotoRealVersion$inboundSchema;
|
|
37068
|
+
CreatePromptPhotoRealVersion$.outboundSchema = CreatePromptPhotoRealVersion$outboundSchema;
|
|
37069
|
+
})(CreatePromptPhotoRealVersion$ ||= {});
|
|
37070
|
+
CreatePromptEncodingFormat$inboundSchema = nativeEnumType(CreatePromptEncodingFormat);
|
|
37071
|
+
CreatePromptEncodingFormat$outboundSchema = CreatePromptEncodingFormat$inboundSchema;
|
|
37072
|
+
((CreatePromptEncodingFormat$) => {
|
|
37073
|
+
CreatePromptEncodingFormat$.inboundSchema = CreatePromptEncodingFormat$inboundSchema;
|
|
37074
|
+
CreatePromptEncodingFormat$.outboundSchema = CreatePromptEncodingFormat$outboundSchema;
|
|
37075
|
+
})(CreatePromptEncodingFormat$ ||= {});
|
|
37076
|
+
CreatePromptReasoningEffort$inboundSchema = nativeEnumType(CreatePromptReasoningEffort);
|
|
37077
|
+
CreatePromptReasoningEffort$outboundSchema = CreatePromptReasoningEffort$inboundSchema;
|
|
37078
|
+
((CreatePromptReasoningEffort$) => {
|
|
37079
|
+
CreatePromptReasoningEffort$.inboundSchema = CreatePromptReasoningEffort$inboundSchema;
|
|
37080
|
+
CreatePromptReasoningEffort$.outboundSchema = CreatePromptReasoningEffort$outboundSchema;
|
|
37081
|
+
})(CreatePromptReasoningEffort$ ||= {});
|
|
37082
|
+
CreatePromptModelParameters$inboundSchema = objectType({
|
|
37083
37083
|
temperature: numberType().optional(),
|
|
37084
37084
|
maxTokens: numberType().optional(),
|
|
37085
37085
|
topK: numberType().optional(),
|
|
@@ -37088,24 +37088,24 @@ var init_createprompt = __esm(() => {
|
|
|
37088
37088
|
presencePenalty: numberType().optional(),
|
|
37089
37089
|
numImages: numberType().optional(),
|
|
37090
37090
|
seed: numberType().optional(),
|
|
37091
|
-
format:
|
|
37091
|
+
format: CreatePromptFormat$inboundSchema.optional(),
|
|
37092
37092
|
dimensions: stringType().optional(),
|
|
37093
|
-
quality:
|
|
37093
|
+
quality: CreatePromptQuality$inboundSchema.optional(),
|
|
37094
37094
|
style: stringType().optional(),
|
|
37095
37095
|
responseFormat: nullableType(unionType([
|
|
37096
|
-
lazyType(() =>
|
|
37097
|
-
lazyType(() =>
|
|
37096
|
+
lazyType(() => CreatePromptResponseFormat2$inboundSchema),
|
|
37097
|
+
lazyType(() => CreatePromptResponseFormat1$inboundSchema)
|
|
37098
37098
|
])).optional(),
|
|
37099
|
-
photoRealVersion:
|
|
37100
|
-
encoding_format:
|
|
37101
|
-
reasoningEffort:
|
|
37099
|
+
photoRealVersion: CreatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
37100
|
+
encoding_format: CreatePromptEncodingFormat$inboundSchema.optional(),
|
|
37101
|
+
reasoningEffort: CreatePromptReasoningEffort$inboundSchema.optional(),
|
|
37102
37102
|
budgetTokens: numberType().optional()
|
|
37103
37103
|
}).transform((v2) => {
|
|
37104
37104
|
return remap(v2, {
|
|
37105
37105
|
encoding_format: "encodingFormat"
|
|
37106
37106
|
});
|
|
37107
37107
|
});
|
|
37108
|
-
|
|
37108
|
+
CreatePromptModelParameters$outboundSchema = objectType({
|
|
37109
37109
|
temperature: numberType().optional(),
|
|
37110
37110
|
maxTokens: numberType().optional(),
|
|
37111
37111
|
topK: numberType().optional(),
|
|
@@ -37114,33 +37114,33 @@ var init_createprompt = __esm(() => {
|
|
|
37114
37114
|
presencePenalty: numberType().optional(),
|
|
37115
37115
|
numImages: numberType().optional(),
|
|
37116
37116
|
seed: numberType().optional(),
|
|
37117
|
-
format:
|
|
37117
|
+
format: CreatePromptFormat$outboundSchema.optional(),
|
|
37118
37118
|
dimensions: stringType().optional(),
|
|
37119
|
-
quality:
|
|
37119
|
+
quality: CreatePromptQuality$outboundSchema.optional(),
|
|
37120
37120
|
style: stringType().optional(),
|
|
37121
37121
|
responseFormat: nullableType(unionType([
|
|
37122
|
-
lazyType(() =>
|
|
37123
|
-
lazyType(() =>
|
|
37122
|
+
lazyType(() => CreatePromptResponseFormat2$outboundSchema),
|
|
37123
|
+
lazyType(() => CreatePromptResponseFormat1$outboundSchema)
|
|
37124
37124
|
])).optional(),
|
|
37125
|
-
photoRealVersion:
|
|
37126
|
-
encodingFormat:
|
|
37127
|
-
reasoningEffort:
|
|
37125
|
+
photoRealVersion: CreatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
37126
|
+
encodingFormat: CreatePromptEncodingFormat$outboundSchema.optional(),
|
|
37127
|
+
reasoningEffort: CreatePromptReasoningEffort$outboundSchema.optional(),
|
|
37128
37128
|
budgetTokens: numberType().optional()
|
|
37129
37129
|
}).transform((v2) => {
|
|
37130
37130
|
return remap(v2, {
|
|
37131
37131
|
encodingFormat: "encoding_format"
|
|
37132
37132
|
});
|
|
37133
37133
|
});
|
|
37134
|
-
((
|
|
37135
|
-
|
|
37136
|
-
|
|
37137
|
-
})(
|
|
37138
|
-
|
|
37139
|
-
|
|
37140
|
-
((
|
|
37141
|
-
|
|
37142
|
-
|
|
37143
|
-
})(
|
|
37134
|
+
((CreatePromptModelParameters$) => {
|
|
37135
|
+
CreatePromptModelParameters$.inboundSchema = CreatePromptModelParameters$inboundSchema;
|
|
37136
|
+
CreatePromptModelParameters$.outboundSchema = CreatePromptModelParameters$outboundSchema;
|
|
37137
|
+
})(CreatePromptModelParameters$ ||= {});
|
|
37138
|
+
CreatePromptProvider$inboundSchema = nativeEnumType(CreatePromptProvider);
|
|
37139
|
+
CreatePromptProvider$outboundSchema = CreatePromptProvider$inboundSchema;
|
|
37140
|
+
((CreatePromptProvider$) => {
|
|
37141
|
+
CreatePromptProvider$.inboundSchema = CreatePromptProvider$inboundSchema;
|
|
37142
|
+
CreatePromptProvider$.outboundSchema = CreatePromptProvider$outboundSchema;
|
|
37143
|
+
})(CreatePromptProvider$ ||= {});
|
|
37144
37144
|
CreatePromptRole$inboundSchema = nativeEnumType(CreatePromptRole);
|
|
37145
37145
|
CreatePromptRole$outboundSchema = CreatePromptRole$inboundSchema;
|
|
37146
37146
|
((CreatePromptRole$) => {
|
|
@@ -37301,12 +37301,12 @@ var init_createprompt = __esm(() => {
|
|
|
37301
37301
|
CreatePromptMessages$.inboundSchema = CreatePromptMessages$inboundSchema;
|
|
37302
37302
|
CreatePromptMessages$.outboundSchema = CreatePromptMessages$outboundSchema;
|
|
37303
37303
|
})(CreatePromptMessages$ ||= {});
|
|
37304
|
-
|
|
37304
|
+
CreatePromptPromptConfig$inboundSchema = objectType({
|
|
37305
37305
|
stream: booleanType().optional(),
|
|
37306
37306
|
model: stringType().optional(),
|
|
37307
|
-
model_type:
|
|
37308
|
-
model_parameters: lazyType(() =>
|
|
37309
|
-
provider:
|
|
37307
|
+
model_type: CreatePromptModelType$inboundSchema.optional(),
|
|
37308
|
+
model_parameters: lazyType(() => CreatePromptModelParameters$inboundSchema).optional(),
|
|
37309
|
+
provider: CreatePromptProvider$inboundSchema.optional(),
|
|
37310
37310
|
version: stringType().optional(),
|
|
37311
37311
|
messages: arrayType(lazyType(() => CreatePromptMessages$inboundSchema))
|
|
37312
37312
|
}).transform((v2) => {
|
|
@@ -37315,12 +37315,12 @@ var init_createprompt = __esm(() => {
|
|
|
37315
37315
|
model_parameters: "modelParameters"
|
|
37316
37316
|
});
|
|
37317
37317
|
});
|
|
37318
|
-
|
|
37318
|
+
CreatePromptPromptConfig$outboundSchema = objectType({
|
|
37319
37319
|
stream: booleanType().optional(),
|
|
37320
37320
|
model: stringType().optional(),
|
|
37321
|
-
modelType:
|
|
37322
|
-
modelParameters: lazyType(() =>
|
|
37323
|
-
provider:
|
|
37321
|
+
modelType: CreatePromptModelType$outboundSchema.optional(),
|
|
37322
|
+
modelParameters: lazyType(() => CreatePromptModelParameters$outboundSchema).optional(),
|
|
37323
|
+
provider: CreatePromptProvider$outboundSchema.optional(),
|
|
37324
37324
|
version: stringType().optional(),
|
|
37325
37325
|
messages: arrayType(lazyType(() => CreatePromptMessages$outboundSchema))
|
|
37326
37326
|
}).transform((v2) => {
|
|
@@ -37329,33 +37329,33 @@ var init_createprompt = __esm(() => {
|
|
|
37329
37329
|
modelParameters: "model_parameters"
|
|
37330
37330
|
});
|
|
37331
37331
|
});
|
|
37332
|
-
((
|
|
37333
|
-
|
|
37334
|
-
|
|
37335
|
-
})(
|
|
37336
|
-
|
|
37337
|
-
|
|
37338
|
-
((
|
|
37339
|
-
|
|
37340
|
-
|
|
37341
|
-
})(
|
|
37342
|
-
|
|
37343
|
-
|
|
37344
|
-
((
|
|
37345
|
-
|
|
37346
|
-
|
|
37347
|
-
})(
|
|
37332
|
+
((CreatePromptPromptConfig$) => {
|
|
37333
|
+
CreatePromptPromptConfig$.inboundSchema = CreatePromptPromptConfig$inboundSchema;
|
|
37334
|
+
CreatePromptPromptConfig$.outboundSchema = CreatePromptPromptConfig$outboundSchema;
|
|
37335
|
+
})(CreatePromptPromptConfig$ ||= {});
|
|
37336
|
+
CreatePromptUseCases$inboundSchema = nativeEnumType(CreatePromptUseCases);
|
|
37337
|
+
CreatePromptUseCases$outboundSchema = CreatePromptUseCases$inboundSchema;
|
|
37338
|
+
((CreatePromptUseCases$) => {
|
|
37339
|
+
CreatePromptUseCases$.inboundSchema = CreatePromptUseCases$inboundSchema;
|
|
37340
|
+
CreatePromptUseCases$.outboundSchema = CreatePromptUseCases$outboundSchema;
|
|
37341
|
+
})(CreatePromptUseCases$ ||= {});
|
|
37342
|
+
CreatePromptLanguage$inboundSchema = nativeEnumType(CreatePromptLanguage);
|
|
37343
|
+
CreatePromptLanguage$outboundSchema = CreatePromptLanguage$inboundSchema;
|
|
37344
|
+
((CreatePromptLanguage$) => {
|
|
37345
|
+
CreatePromptLanguage$.inboundSchema = CreatePromptLanguage$inboundSchema;
|
|
37346
|
+
CreatePromptLanguage$.outboundSchema = CreatePromptLanguage$outboundSchema;
|
|
37347
|
+
})(CreatePromptLanguage$ ||= {});
|
|
37348
37348
|
CreatePromptMetadata$inboundSchema = objectType({
|
|
37349
|
-
use_cases: arrayType(
|
|
37350
|
-
language:
|
|
37349
|
+
use_cases: arrayType(CreatePromptUseCases$inboundSchema).optional(),
|
|
37350
|
+
language: CreatePromptLanguage$inboundSchema.optional()
|
|
37351
37351
|
}).transform((v2) => {
|
|
37352
37352
|
return remap(v2, {
|
|
37353
37353
|
use_cases: "useCases"
|
|
37354
37354
|
});
|
|
37355
37355
|
});
|
|
37356
37356
|
CreatePromptMetadata$outboundSchema = objectType({
|
|
37357
|
-
useCases: arrayType(
|
|
37358
|
-
language:
|
|
37357
|
+
useCases: arrayType(CreatePromptUseCases$outboundSchema).optional(),
|
|
37358
|
+
language: CreatePromptLanguage$outboundSchema.optional()
|
|
37359
37359
|
}).transform((v2) => {
|
|
37360
37360
|
return remap(v2, {
|
|
37361
37361
|
useCases: "use_cases"
|
|
@@ -37368,7 +37368,7 @@ var init_createprompt = __esm(() => {
|
|
|
37368
37368
|
CreatePromptRequestBody$inboundSchema = objectType({
|
|
37369
37369
|
display_name: stringType(),
|
|
37370
37370
|
description: nullableType(stringType()).optional(),
|
|
37371
|
-
prompt_config: lazyType(() =>
|
|
37371
|
+
prompt_config: lazyType(() => CreatePromptPromptConfig$inboundSchema),
|
|
37372
37372
|
metadata: lazyType(() => CreatePromptMetadata$inboundSchema).optional(),
|
|
37373
37373
|
path: stringType()
|
|
37374
37374
|
}).transform((v2) => {
|
|
@@ -37380,7 +37380,7 @@ var init_createprompt = __esm(() => {
|
|
|
37380
37380
|
CreatePromptRequestBody$outboundSchema = objectType({
|
|
37381
37381
|
displayName: stringType(),
|
|
37382
37382
|
description: nullableType(stringType()).optional(),
|
|
37383
|
-
promptConfig: lazyType(() =>
|
|
37383
|
+
promptConfig: lazyType(() => CreatePromptPromptConfig$outboundSchema),
|
|
37384
37384
|
metadata: lazyType(() => CreatePromptMetadata$outboundSchema).optional(),
|
|
37385
37385
|
path: stringType()
|
|
37386
37386
|
}).transform((v2) => {
|
|
@@ -37399,46 +37399,46 @@ var init_createprompt = __esm(() => {
|
|
|
37399
37399
|
CreatePromptPromptsType$.inboundSchema = CreatePromptPromptsType$inboundSchema;
|
|
37400
37400
|
CreatePromptPromptsType$.outboundSchema = CreatePromptPromptsType$outboundSchema;
|
|
37401
37401
|
})(CreatePromptPromptsType$ ||= {});
|
|
37402
|
-
|
|
37403
|
-
|
|
37404
|
-
((
|
|
37405
|
-
|
|
37406
|
-
|
|
37407
|
-
})(
|
|
37408
|
-
|
|
37409
|
-
|
|
37410
|
-
((
|
|
37411
|
-
|
|
37412
|
-
|
|
37413
|
-
})(
|
|
37414
|
-
|
|
37415
|
-
|
|
37416
|
-
((
|
|
37417
|
-
|
|
37418
|
-
|
|
37419
|
-
})(
|
|
37402
|
+
CreatePromptPromptsModelType$inboundSchema = nativeEnumType(CreatePromptPromptsModelType);
|
|
37403
|
+
CreatePromptPromptsModelType$outboundSchema = CreatePromptPromptsModelType$inboundSchema;
|
|
37404
|
+
((CreatePromptPromptsModelType$) => {
|
|
37405
|
+
CreatePromptPromptsModelType$.inboundSchema = CreatePromptPromptsModelType$inboundSchema;
|
|
37406
|
+
CreatePromptPromptsModelType$.outboundSchema = CreatePromptPromptsModelType$outboundSchema;
|
|
37407
|
+
})(CreatePromptPromptsModelType$ ||= {});
|
|
37408
|
+
CreatePromptPromptsFormat$inboundSchema = nativeEnumType(CreatePromptPromptsFormat);
|
|
37409
|
+
CreatePromptPromptsFormat$outboundSchema = CreatePromptPromptsFormat$inboundSchema;
|
|
37410
|
+
((CreatePromptPromptsFormat$) => {
|
|
37411
|
+
CreatePromptPromptsFormat$.inboundSchema = CreatePromptPromptsFormat$inboundSchema;
|
|
37412
|
+
CreatePromptPromptsFormat$.outboundSchema = CreatePromptPromptsFormat$outboundSchema;
|
|
37413
|
+
})(CreatePromptPromptsFormat$ ||= {});
|
|
37414
|
+
CreatePromptPromptsQuality$inboundSchema = nativeEnumType(CreatePromptPromptsQuality);
|
|
37415
|
+
CreatePromptPromptsQuality$outboundSchema = CreatePromptPromptsQuality$inboundSchema;
|
|
37416
|
+
((CreatePromptPromptsQuality$) => {
|
|
37417
|
+
CreatePromptPromptsQuality$.inboundSchema = CreatePromptPromptsQuality$inboundSchema;
|
|
37418
|
+
CreatePromptPromptsQuality$.outboundSchema = CreatePromptPromptsQuality$outboundSchema;
|
|
37419
|
+
})(CreatePromptPromptsQuality$ ||= {});
|
|
37420
|
+
CreatePromptResponseFormatPromptsResponse200Type$inboundSchema = nativeEnumType(CreatePromptResponseFormatPromptsResponse200Type);
|
|
37421
|
+
CreatePromptResponseFormatPromptsResponse200Type$outboundSchema = CreatePromptResponseFormatPromptsResponse200Type$inboundSchema;
|
|
37422
|
+
((CreatePromptResponseFormatPromptsResponse200Type$) => {
|
|
37423
|
+
CreatePromptResponseFormatPromptsResponse200Type$.inboundSchema = CreatePromptResponseFormatPromptsResponse200Type$inboundSchema;
|
|
37424
|
+
CreatePromptResponseFormatPromptsResponse200Type$.outboundSchema = CreatePromptResponseFormatPromptsResponse200Type$outboundSchema;
|
|
37425
|
+
})(CreatePromptResponseFormatPromptsResponse200Type$ ||= {});
|
|
37426
|
+
CreatePromptResponseFormatPrompts2$inboundSchema = objectType({
|
|
37427
|
+
type: CreatePromptResponseFormatPromptsResponse200Type$inboundSchema
|
|
37428
|
+
});
|
|
37429
|
+
CreatePromptResponseFormatPrompts2$outboundSchema = objectType({
|
|
37430
|
+
type: CreatePromptResponseFormatPromptsResponse200Type$outboundSchema
|
|
37431
|
+
});
|
|
37432
|
+
((CreatePromptResponseFormatPrompts2$) => {
|
|
37433
|
+
CreatePromptResponseFormatPrompts2$.inboundSchema = CreatePromptResponseFormatPrompts2$inboundSchema;
|
|
37434
|
+
CreatePromptResponseFormatPrompts2$.outboundSchema = CreatePromptResponseFormatPrompts2$outboundSchema;
|
|
37435
|
+
})(CreatePromptResponseFormatPrompts2$ ||= {});
|
|
37420
37436
|
CreatePromptResponseFormatPromptsResponseType$inboundSchema = nativeEnumType(CreatePromptResponseFormatPromptsResponseType);
|
|
37421
|
-
CreatePromptResponseFormatPromptsResponseType$outboundSchema = CreatePromptResponseFormatPromptsResponseType$inboundSchema;
|
|
37422
|
-
((CreatePromptResponseFormatPromptsResponseType$) => {
|
|
37423
|
-
CreatePromptResponseFormatPromptsResponseType$.inboundSchema = CreatePromptResponseFormatPromptsResponseType$inboundSchema;
|
|
37424
|
-
CreatePromptResponseFormatPromptsResponseType$.outboundSchema = CreatePromptResponseFormatPromptsResponseType$outboundSchema;
|
|
37425
|
-
})(CreatePromptResponseFormatPromptsResponseType$ ||= {});
|
|
37426
|
-
CreatePromptResponseFormat2$inboundSchema = objectType({
|
|
37427
|
-
type: CreatePromptResponseFormatPromptsResponseType$inboundSchema
|
|
37428
|
-
});
|
|
37429
|
-
CreatePromptResponseFormat2$outboundSchema = objectType({
|
|
37430
|
-
type: CreatePromptResponseFormatPromptsResponseType$outboundSchema
|
|
37431
|
-
});
|
|
37432
|
-
((CreatePromptResponseFormat2$) => {
|
|
37433
|
-
CreatePromptResponseFormat2$.inboundSchema = CreatePromptResponseFormat2$inboundSchema;
|
|
37434
|
-
CreatePromptResponseFormat2$.outboundSchema = CreatePromptResponseFormat2$outboundSchema;
|
|
37435
|
-
})(CreatePromptResponseFormat2$ ||= {});
|
|
37436
|
-
CreatePromptResponseFormatPromptsType$inboundSchema = nativeEnumType(CreatePromptResponseFormatPromptsType);
|
|
37437
|
-
CreatePromptResponseFormatPromptsType$outboundSchema = CreatePromptResponseFormatPromptsType$inboundSchema;
|
|
37438
|
-
((CreatePromptResponseFormatPromptsType$) => {
|
|
37439
|
-
CreatePromptResponseFormatPromptsType$.inboundSchema = CreatePromptResponseFormatPromptsType$inboundSchema;
|
|
37440
|
-
CreatePromptResponseFormatPromptsType$.outboundSchema = CreatePromptResponseFormatPromptsType$outboundSchema;
|
|
37441
|
-
})(CreatePromptResponseFormatPromptsType$ ||= {});
|
|
37437
|
+
CreatePromptResponseFormatPromptsResponseType$outboundSchema = CreatePromptResponseFormatPromptsResponseType$inboundSchema;
|
|
37438
|
+
((CreatePromptResponseFormatPromptsResponseType$) => {
|
|
37439
|
+
CreatePromptResponseFormatPromptsResponseType$.inboundSchema = CreatePromptResponseFormatPromptsResponseType$inboundSchema;
|
|
37440
|
+
CreatePromptResponseFormatPromptsResponseType$.outboundSchema = CreatePromptResponseFormatPromptsResponseType$outboundSchema;
|
|
37441
|
+
})(CreatePromptResponseFormatPromptsResponseType$ ||= {});
|
|
37442
37442
|
CreatePromptResponseFormatJsonSchema$inboundSchema = objectType({
|
|
37443
37443
|
name: stringType(),
|
|
37444
37444
|
strict: booleanType(),
|
|
@@ -37453,57 +37453,57 @@ var init_createprompt = __esm(() => {
|
|
|
37453
37453
|
CreatePromptResponseFormatJsonSchema$.inboundSchema = CreatePromptResponseFormatJsonSchema$inboundSchema;
|
|
37454
37454
|
CreatePromptResponseFormatJsonSchema$.outboundSchema = CreatePromptResponseFormatJsonSchema$outboundSchema;
|
|
37455
37455
|
})(CreatePromptResponseFormatJsonSchema$ ||= {});
|
|
37456
|
-
|
|
37457
|
-
type:
|
|
37456
|
+
CreatePromptResponseFormatPrompts1$inboundSchema = objectType({
|
|
37457
|
+
type: CreatePromptResponseFormatPromptsResponseType$inboundSchema,
|
|
37458
37458
|
json_schema: lazyType(() => CreatePromptResponseFormatJsonSchema$inboundSchema)
|
|
37459
37459
|
}).transform((v2) => {
|
|
37460
37460
|
return remap(v2, {
|
|
37461
37461
|
json_schema: "jsonSchema"
|
|
37462
37462
|
});
|
|
37463
37463
|
});
|
|
37464
|
-
|
|
37465
|
-
type:
|
|
37464
|
+
CreatePromptResponseFormatPrompts1$outboundSchema = objectType({
|
|
37465
|
+
type: CreatePromptResponseFormatPromptsResponseType$outboundSchema,
|
|
37466
37466
|
jsonSchema: lazyType(() => CreatePromptResponseFormatJsonSchema$outboundSchema)
|
|
37467
37467
|
}).transform((v2) => {
|
|
37468
37468
|
return remap(v2, {
|
|
37469
37469
|
jsonSchema: "json_schema"
|
|
37470
37470
|
});
|
|
37471
37471
|
});
|
|
37472
|
-
((
|
|
37473
|
-
|
|
37474
|
-
|
|
37475
|
-
})(
|
|
37476
|
-
|
|
37477
|
-
lazyType(() =>
|
|
37478
|
-
lazyType(() =>
|
|
37472
|
+
((CreatePromptResponseFormatPrompts1$) => {
|
|
37473
|
+
CreatePromptResponseFormatPrompts1$.inboundSchema = CreatePromptResponseFormatPrompts1$inboundSchema;
|
|
37474
|
+
CreatePromptResponseFormatPrompts1$.outboundSchema = CreatePromptResponseFormatPrompts1$outboundSchema;
|
|
37475
|
+
})(CreatePromptResponseFormatPrompts1$ ||= {});
|
|
37476
|
+
CreatePromptPromptsResponseFormat$inboundSchema = unionType([
|
|
37477
|
+
lazyType(() => CreatePromptResponseFormatPrompts2$inboundSchema),
|
|
37478
|
+
lazyType(() => CreatePromptResponseFormatPrompts1$inboundSchema)
|
|
37479
37479
|
]);
|
|
37480
|
-
|
|
37481
|
-
lazyType(() =>
|
|
37482
|
-
lazyType(() =>
|
|
37480
|
+
CreatePromptPromptsResponseFormat$outboundSchema = unionType([
|
|
37481
|
+
lazyType(() => CreatePromptResponseFormatPrompts2$outboundSchema),
|
|
37482
|
+
lazyType(() => CreatePromptResponseFormatPrompts1$outboundSchema)
|
|
37483
37483
|
]);
|
|
37484
|
-
((
|
|
37485
|
-
|
|
37486
|
-
|
|
37487
|
-
})(
|
|
37488
|
-
|
|
37489
|
-
|
|
37490
|
-
((
|
|
37491
|
-
|
|
37492
|
-
|
|
37493
|
-
})(
|
|
37494
|
-
|
|
37495
|
-
|
|
37496
|
-
((
|
|
37497
|
-
|
|
37498
|
-
|
|
37499
|
-
})(
|
|
37500
|
-
|
|
37501
|
-
|
|
37502
|
-
((
|
|
37503
|
-
|
|
37504
|
-
|
|
37505
|
-
})(
|
|
37506
|
-
|
|
37484
|
+
((CreatePromptPromptsResponseFormat$) => {
|
|
37485
|
+
CreatePromptPromptsResponseFormat$.inboundSchema = CreatePromptPromptsResponseFormat$inboundSchema;
|
|
37486
|
+
CreatePromptPromptsResponseFormat$.outboundSchema = CreatePromptPromptsResponseFormat$outboundSchema;
|
|
37487
|
+
})(CreatePromptPromptsResponseFormat$ ||= {});
|
|
37488
|
+
CreatePromptPromptsPhotoRealVersion$inboundSchema = nativeEnumType(CreatePromptPromptsPhotoRealVersion);
|
|
37489
|
+
CreatePromptPromptsPhotoRealVersion$outboundSchema = CreatePromptPromptsPhotoRealVersion$inboundSchema;
|
|
37490
|
+
((CreatePromptPromptsPhotoRealVersion$) => {
|
|
37491
|
+
CreatePromptPromptsPhotoRealVersion$.inboundSchema = CreatePromptPromptsPhotoRealVersion$inboundSchema;
|
|
37492
|
+
CreatePromptPromptsPhotoRealVersion$.outboundSchema = CreatePromptPromptsPhotoRealVersion$outboundSchema;
|
|
37493
|
+
})(CreatePromptPromptsPhotoRealVersion$ ||= {});
|
|
37494
|
+
CreatePromptPromptsEncodingFormat$inboundSchema = nativeEnumType(CreatePromptPromptsEncodingFormat);
|
|
37495
|
+
CreatePromptPromptsEncodingFormat$outboundSchema = CreatePromptPromptsEncodingFormat$inboundSchema;
|
|
37496
|
+
((CreatePromptPromptsEncodingFormat$) => {
|
|
37497
|
+
CreatePromptPromptsEncodingFormat$.inboundSchema = CreatePromptPromptsEncodingFormat$inboundSchema;
|
|
37498
|
+
CreatePromptPromptsEncodingFormat$.outboundSchema = CreatePromptPromptsEncodingFormat$outboundSchema;
|
|
37499
|
+
})(CreatePromptPromptsEncodingFormat$ ||= {});
|
|
37500
|
+
CreatePromptPromptsReasoningEffort$inboundSchema = nativeEnumType(CreatePromptPromptsReasoningEffort);
|
|
37501
|
+
CreatePromptPromptsReasoningEffort$outboundSchema = CreatePromptPromptsReasoningEffort$inboundSchema;
|
|
37502
|
+
((CreatePromptPromptsReasoningEffort$) => {
|
|
37503
|
+
CreatePromptPromptsReasoningEffort$.inboundSchema = CreatePromptPromptsReasoningEffort$inboundSchema;
|
|
37504
|
+
CreatePromptPromptsReasoningEffort$.outboundSchema = CreatePromptPromptsReasoningEffort$outboundSchema;
|
|
37505
|
+
})(CreatePromptPromptsReasoningEffort$ ||= {});
|
|
37506
|
+
CreatePromptPromptsModelParameters$inboundSchema = objectType({
|
|
37507
37507
|
temperature: numberType().optional(),
|
|
37508
37508
|
maxTokens: numberType().optional(),
|
|
37509
37509
|
topK: numberType().optional(),
|
|
@@ -37512,24 +37512,24 @@ var init_createprompt = __esm(() => {
|
|
|
37512
37512
|
presencePenalty: numberType().optional(),
|
|
37513
37513
|
numImages: numberType().optional(),
|
|
37514
37514
|
seed: numberType().optional(),
|
|
37515
|
-
format:
|
|
37515
|
+
format: CreatePromptPromptsFormat$inboundSchema.optional(),
|
|
37516
37516
|
dimensions: stringType().optional(),
|
|
37517
|
-
quality:
|
|
37517
|
+
quality: CreatePromptPromptsQuality$inboundSchema.optional(),
|
|
37518
37518
|
style: stringType().optional(),
|
|
37519
37519
|
responseFormat: nullableType(unionType([
|
|
37520
|
-
lazyType(() =>
|
|
37521
|
-
lazyType(() =>
|
|
37520
|
+
lazyType(() => CreatePromptResponseFormatPrompts2$inboundSchema),
|
|
37521
|
+
lazyType(() => CreatePromptResponseFormatPrompts1$inboundSchema)
|
|
37522
37522
|
])).optional(),
|
|
37523
|
-
photoRealVersion:
|
|
37524
|
-
encoding_format:
|
|
37525
|
-
reasoningEffort:
|
|
37523
|
+
photoRealVersion: CreatePromptPromptsPhotoRealVersion$inboundSchema.optional(),
|
|
37524
|
+
encoding_format: CreatePromptPromptsEncodingFormat$inboundSchema.optional(),
|
|
37525
|
+
reasoningEffort: CreatePromptPromptsReasoningEffort$inboundSchema.optional(),
|
|
37526
37526
|
budgetTokens: numberType().optional()
|
|
37527
37527
|
}).transform((v2) => {
|
|
37528
37528
|
return remap(v2, {
|
|
37529
37529
|
encoding_format: "encodingFormat"
|
|
37530
37530
|
});
|
|
37531
37531
|
});
|
|
37532
|
-
|
|
37532
|
+
CreatePromptPromptsModelParameters$outboundSchema = objectType({
|
|
37533
37533
|
temperature: numberType().optional(),
|
|
37534
37534
|
maxTokens: numberType().optional(),
|
|
37535
37535
|
topK: numberType().optional(),
|
|
@@ -37538,33 +37538,33 @@ var init_createprompt = __esm(() => {
|
|
|
37538
37538
|
presencePenalty: numberType().optional(),
|
|
37539
37539
|
numImages: numberType().optional(),
|
|
37540
37540
|
seed: numberType().optional(),
|
|
37541
|
-
format:
|
|
37541
|
+
format: CreatePromptPromptsFormat$outboundSchema.optional(),
|
|
37542
37542
|
dimensions: stringType().optional(),
|
|
37543
|
-
quality:
|
|
37543
|
+
quality: CreatePromptPromptsQuality$outboundSchema.optional(),
|
|
37544
37544
|
style: stringType().optional(),
|
|
37545
37545
|
responseFormat: nullableType(unionType([
|
|
37546
|
-
lazyType(() =>
|
|
37547
|
-
lazyType(() =>
|
|
37546
|
+
lazyType(() => CreatePromptResponseFormatPrompts2$outboundSchema),
|
|
37547
|
+
lazyType(() => CreatePromptResponseFormatPrompts1$outboundSchema)
|
|
37548
37548
|
])).optional(),
|
|
37549
|
-
photoRealVersion:
|
|
37550
|
-
encodingFormat:
|
|
37551
|
-
reasoningEffort:
|
|
37549
|
+
photoRealVersion: CreatePromptPromptsPhotoRealVersion$outboundSchema.optional(),
|
|
37550
|
+
encodingFormat: CreatePromptPromptsEncodingFormat$outboundSchema.optional(),
|
|
37551
|
+
reasoningEffort: CreatePromptPromptsReasoningEffort$outboundSchema.optional(),
|
|
37552
37552
|
budgetTokens: numberType().optional()
|
|
37553
37553
|
}).transform((v2) => {
|
|
37554
37554
|
return remap(v2, {
|
|
37555
37555
|
encodingFormat: "encoding_format"
|
|
37556
37556
|
});
|
|
37557
37557
|
});
|
|
37558
|
-
((
|
|
37559
|
-
|
|
37560
|
-
|
|
37561
|
-
})(
|
|
37562
|
-
|
|
37563
|
-
|
|
37564
|
-
((
|
|
37565
|
-
|
|
37566
|
-
|
|
37567
|
-
})(
|
|
37558
|
+
((CreatePromptPromptsModelParameters$) => {
|
|
37559
|
+
CreatePromptPromptsModelParameters$.inboundSchema = CreatePromptPromptsModelParameters$inboundSchema;
|
|
37560
|
+
CreatePromptPromptsModelParameters$.outboundSchema = CreatePromptPromptsModelParameters$outboundSchema;
|
|
37561
|
+
})(CreatePromptPromptsModelParameters$ ||= {});
|
|
37562
|
+
CreatePromptPromptsProvider$inboundSchema = nativeEnumType(CreatePromptPromptsProvider);
|
|
37563
|
+
CreatePromptPromptsProvider$outboundSchema = CreatePromptPromptsProvider$inboundSchema;
|
|
37564
|
+
((CreatePromptPromptsProvider$) => {
|
|
37565
|
+
CreatePromptPromptsProvider$.inboundSchema = CreatePromptPromptsProvider$inboundSchema;
|
|
37566
|
+
CreatePromptPromptsProvider$.outboundSchema = CreatePromptPromptsProvider$outboundSchema;
|
|
37567
|
+
})(CreatePromptPromptsProvider$ ||= {});
|
|
37568
37568
|
CreatePromptPromptsRole$inboundSchema = nativeEnumType(CreatePromptPromptsRole);
|
|
37569
37569
|
CreatePromptPromptsRole$outboundSchema = CreatePromptPromptsRole$inboundSchema;
|
|
37570
37570
|
((CreatePromptPromptsRole$) => {
|
|
@@ -37727,13 +37727,13 @@ var init_createprompt = __esm(() => {
|
|
|
37727
37727
|
CreatePromptPromptsMessages$.inboundSchema = CreatePromptPromptsMessages$inboundSchema;
|
|
37728
37728
|
CreatePromptPromptsMessages$.outboundSchema = CreatePromptPromptsMessages$outboundSchema;
|
|
37729
37729
|
})(CreatePromptPromptsMessages$ ||= {});
|
|
37730
|
-
|
|
37730
|
+
CreatePromptPromptsPromptConfig$inboundSchema = objectType({
|
|
37731
37731
|
stream: booleanType().optional(),
|
|
37732
37732
|
model: stringType().optional(),
|
|
37733
37733
|
model_db_id: stringType().optional(),
|
|
37734
|
-
model_type:
|
|
37735
|
-
model_parameters: lazyType(() =>
|
|
37736
|
-
provider:
|
|
37734
|
+
model_type: CreatePromptPromptsModelType$inboundSchema.optional(),
|
|
37735
|
+
model_parameters: lazyType(() => CreatePromptPromptsModelParameters$inboundSchema).optional(),
|
|
37736
|
+
provider: CreatePromptPromptsProvider$inboundSchema.optional(),
|
|
37737
37737
|
integration_id: nullableType(stringType()).optional(),
|
|
37738
37738
|
version: stringType().optional(),
|
|
37739
37739
|
messages: arrayType(lazyType(() => CreatePromptPromptsMessages$inboundSchema))
|
|
@@ -37745,13 +37745,13 @@ var init_createprompt = __esm(() => {
|
|
|
37745
37745
|
integration_id: "integrationId"
|
|
37746
37746
|
});
|
|
37747
37747
|
});
|
|
37748
|
-
|
|
37748
|
+
CreatePromptPromptsPromptConfig$outboundSchema = objectType({
|
|
37749
37749
|
stream: booleanType().optional(),
|
|
37750
37750
|
model: stringType().optional(),
|
|
37751
37751
|
modelDbId: stringType().optional(),
|
|
37752
|
-
modelType:
|
|
37753
|
-
modelParameters: lazyType(() =>
|
|
37754
|
-
provider:
|
|
37752
|
+
modelType: CreatePromptPromptsModelType$outboundSchema.optional(),
|
|
37753
|
+
modelParameters: lazyType(() => CreatePromptPromptsModelParameters$outboundSchema).optional(),
|
|
37754
|
+
provider: CreatePromptPromptsProvider$outboundSchema.optional(),
|
|
37755
37755
|
integrationId: nullableType(stringType()).optional(),
|
|
37756
37756
|
version: stringType().optional(),
|
|
37757
37757
|
messages: arrayType(lazyType(() => CreatePromptPromptsMessages$outboundSchema))
|
|
@@ -37763,33 +37763,33 @@ var init_createprompt = __esm(() => {
|
|
|
37763
37763
|
integrationId: "integration_id"
|
|
37764
37764
|
});
|
|
37765
37765
|
});
|
|
37766
|
-
((
|
|
37767
|
-
|
|
37768
|
-
|
|
37769
|
-
})(
|
|
37770
|
-
|
|
37771
|
-
|
|
37772
|
-
((
|
|
37773
|
-
|
|
37774
|
-
|
|
37775
|
-
})(
|
|
37776
|
-
|
|
37777
|
-
|
|
37778
|
-
((
|
|
37779
|
-
|
|
37780
|
-
|
|
37781
|
-
})(
|
|
37766
|
+
((CreatePromptPromptsPromptConfig$) => {
|
|
37767
|
+
CreatePromptPromptsPromptConfig$.inboundSchema = CreatePromptPromptsPromptConfig$inboundSchema;
|
|
37768
|
+
CreatePromptPromptsPromptConfig$.outboundSchema = CreatePromptPromptsPromptConfig$outboundSchema;
|
|
37769
|
+
})(CreatePromptPromptsPromptConfig$ ||= {});
|
|
37770
|
+
CreatePromptPromptsUseCases$inboundSchema = nativeEnumType(CreatePromptPromptsUseCases);
|
|
37771
|
+
CreatePromptPromptsUseCases$outboundSchema = CreatePromptPromptsUseCases$inboundSchema;
|
|
37772
|
+
((CreatePromptPromptsUseCases$) => {
|
|
37773
|
+
CreatePromptPromptsUseCases$.inboundSchema = CreatePromptPromptsUseCases$inboundSchema;
|
|
37774
|
+
CreatePromptPromptsUseCases$.outboundSchema = CreatePromptPromptsUseCases$outboundSchema;
|
|
37775
|
+
})(CreatePromptPromptsUseCases$ ||= {});
|
|
37776
|
+
CreatePromptPromptsLanguage$inboundSchema = nativeEnumType(CreatePromptPromptsLanguage);
|
|
37777
|
+
CreatePromptPromptsLanguage$outboundSchema = CreatePromptPromptsLanguage$inboundSchema;
|
|
37778
|
+
((CreatePromptPromptsLanguage$) => {
|
|
37779
|
+
CreatePromptPromptsLanguage$.inboundSchema = CreatePromptPromptsLanguage$inboundSchema;
|
|
37780
|
+
CreatePromptPromptsLanguage$.outboundSchema = CreatePromptPromptsLanguage$outboundSchema;
|
|
37781
|
+
})(CreatePromptPromptsLanguage$ ||= {});
|
|
37782
37782
|
CreatePromptPromptsMetadata$inboundSchema = objectType({
|
|
37783
|
-
use_cases: arrayType(
|
|
37784
|
-
language:
|
|
37783
|
+
use_cases: arrayType(CreatePromptPromptsUseCases$inboundSchema).optional(),
|
|
37784
|
+
language: CreatePromptPromptsLanguage$inboundSchema.optional()
|
|
37785
37785
|
}).transform((v2) => {
|
|
37786
37786
|
return remap(v2, {
|
|
37787
37787
|
use_cases: "useCases"
|
|
37788
37788
|
});
|
|
37789
37789
|
});
|
|
37790
37790
|
CreatePromptPromptsMetadata$outboundSchema = objectType({
|
|
37791
|
-
useCases: arrayType(
|
|
37792
|
-
language:
|
|
37791
|
+
useCases: arrayType(CreatePromptPromptsUseCases$outboundSchema).optional(),
|
|
37792
|
+
language: CreatePromptPromptsLanguage$outboundSchema.optional()
|
|
37793
37793
|
}).transform((v2) => {
|
|
37794
37794
|
return remap(v2, {
|
|
37795
37795
|
useCases: "use_cases"
|
|
@@ -37810,7 +37810,7 @@ var init_createprompt = __esm(() => {
|
|
|
37810
37810
|
updated_by_id: stringType().optional(),
|
|
37811
37811
|
display_name: stringType(),
|
|
37812
37812
|
description: nullableType(stringType()).optional(),
|
|
37813
|
-
prompt_config: lazyType(() =>
|
|
37813
|
+
prompt_config: lazyType(() => CreatePromptPromptsPromptConfig$inboundSchema),
|
|
37814
37814
|
metadata: lazyType(() => CreatePromptPromptsMetadata$inboundSchema).optional()
|
|
37815
37815
|
}).transform((v2) => {
|
|
37816
37816
|
return remap(v2, {
|
|
@@ -37833,7 +37833,7 @@ var init_createprompt = __esm(() => {
|
|
|
37833
37833
|
updatedById: stringType().optional(),
|
|
37834
37834
|
displayName: stringType(),
|
|
37835
37835
|
description: nullableType(stringType()).optional(),
|
|
37836
|
-
promptConfig: lazyType(() =>
|
|
37836
|
+
promptConfig: lazyType(() => CreatePromptPromptsPromptConfig$outboundSchema),
|
|
37837
37837
|
metadata: lazyType(() => CreatePromptPromptsMetadata$outboundSchema).optional()
|
|
37838
37838
|
}).transform((v2) => {
|
|
37839
37839
|
return remap(v2, {
|
|
@@ -40275,7 +40275,7 @@ var init_fileget = __esm(() => {
|
|
|
40275
40275
|
bytes: numberType(),
|
|
40276
40276
|
file_name: stringType(),
|
|
40277
40277
|
workspace_id: stringType(),
|
|
40278
|
-
created: stringType().datetime({ offset: true }).default("2025-02-
|
|
40278
|
+
created: stringType().datetime({ offset: true }).default("2025-02-26T10:55:48.615Z").transform((v2) => new Date(v2))
|
|
40279
40279
|
}).transform((v2) => {
|
|
40280
40280
|
return remap(v2, {
|
|
40281
40281
|
_id: "id",
|
|
@@ -40291,7 +40291,7 @@ var init_fileget = __esm(() => {
|
|
|
40291
40291
|
bytes: numberType(),
|
|
40292
40292
|
fileName: stringType(),
|
|
40293
40293
|
workspaceId: stringType(),
|
|
40294
|
-
created: dateType().default(() => new Date("2025-02-
|
|
40294
|
+
created: dateType().default(() => new Date("2025-02-26T10:55:48.615Z")).transform((v2) => v2.toISOString())
|
|
40295
40295
|
}).transform((v2) => {
|
|
40296
40296
|
return remap(v2, {
|
|
40297
40297
|
id: "_id",
|
|
@@ -40361,7 +40361,7 @@ var init_filelist = __esm(() => {
|
|
|
40361
40361
|
bytes: numberType(),
|
|
40362
40362
|
file_name: stringType(),
|
|
40363
40363
|
workspace_id: stringType(),
|
|
40364
|
-
created: stringType().datetime({ offset: true }).default("2025-02-
|
|
40364
|
+
created: stringType().datetime({ offset: true }).default("2025-02-26T10:55:48.615Z").transform((v2) => new Date(v2))
|
|
40365
40365
|
}).transform((v2) => {
|
|
40366
40366
|
return remap(v2, {
|
|
40367
40367
|
_id: "id",
|
|
@@ -40377,7 +40377,7 @@ var init_filelist = __esm(() => {
|
|
|
40377
40377
|
bytes: numberType(),
|
|
40378
40378
|
fileName: stringType(),
|
|
40379
40379
|
workspaceId: stringType(),
|
|
40380
|
-
created: dateType().default(() => new Date("2025-02-
|
|
40380
|
+
created: dateType().default(() => new Date("2025-02-26T10:55:48.615Z")).transform((v2) => v2.toISOString())
|
|
40381
40381
|
}).transform((v2) => {
|
|
40382
40382
|
return remap(v2, {
|
|
40383
40383
|
id: "_id",
|
|
@@ -40507,7 +40507,7 @@ var init_fileupload = __esm(() => {
|
|
|
40507
40507
|
bytes: numberType(),
|
|
40508
40508
|
file_name: stringType(),
|
|
40509
40509
|
workspace_id: stringType(),
|
|
40510
|
-
created: stringType().datetime({ offset: true }).default("2025-02-
|
|
40510
|
+
created: stringType().datetime({ offset: true }).default("2025-02-26T10:55:48.615Z").transform((v2) => new Date(v2))
|
|
40511
40511
|
}).transform((v2) => {
|
|
40512
40512
|
return remap(v2, {
|
|
40513
40513
|
_id: "id",
|
|
@@ -40523,7 +40523,7 @@ var init_fileupload = __esm(() => {
|
|
|
40523
40523
|
bytes: numberType(),
|
|
40524
40524
|
fileName: stringType(),
|
|
40525
40525
|
workspaceId: stringType(),
|
|
40526
|
-
created: dateType().default(() => new Date("2025-02-
|
|
40526
|
+
created: dateType().default(() => new Date("2025-02-26T10:55:48.615Z")).transform((v2) => v2.toISOString())
|
|
40527
40527
|
}).transform((v2) => {
|
|
40528
40528
|
return remap(v2, {
|
|
40529
40529
|
id: "_id",
|
|
@@ -42551,7 +42551,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
42551
42551
|
created_by_id: stringType().optional(),
|
|
42552
42552
|
updated_by_id: stringType().optional(),
|
|
42553
42553
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
42554
|
-
updated: stringType().datetime({ offset: true }).default("2025-02-
|
|
42554
|
+
updated: stringType().datetime({ offset: true }).default("2025-02-26T10:55:47.554Z").transform((v2) => new Date(v2))
|
|
42555
42555
|
}).transform((v2) => {
|
|
42556
42556
|
return remap(v2, {
|
|
42557
42557
|
_id: "id",
|
|
@@ -42572,7 +42572,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
42572
42572
|
createdById: stringType().optional(),
|
|
42573
42573
|
updatedById: stringType().optional(),
|
|
42574
42574
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
42575
|
-
updated: dateType().default(() => new Date("2025-02-
|
|
42575
|
+
updated: dateType().default(() => new Date("2025-02-26T10:55:47.554Z")).transform((v2) => v2.toISOString())
|
|
42576
42576
|
}).transform((v2) => {
|
|
42577
42577
|
return remap(v2, {
|
|
42578
42578
|
id: "_id",
|
|
@@ -42680,7 +42680,7 @@ var init_listdatasets = __esm(() => {
|
|
|
42680
42680
|
updated_by_id: stringType().optional(),
|
|
42681
42681
|
metadata: lazyType(() => ListDatasetsMetadata$inboundSchema),
|
|
42682
42682
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
42683
|
-
updated: stringType().datetime({ offset: true }).default("2025-02-
|
|
42683
|
+
updated: stringType().datetime({ offset: true }).default("2025-02-26T10:55:47.554Z").transform((v2) => new Date(v2))
|
|
42684
42684
|
}).transform((v2) => {
|
|
42685
42685
|
return remap(v2, {
|
|
42686
42686
|
_id: "id",
|
|
@@ -42700,7 +42700,7 @@ var init_listdatasets = __esm(() => {
|
|
|
42700
42700
|
updatedById: stringType().optional(),
|
|
42701
42701
|
metadata: lazyType(() => ListDatasetsMetadata$outboundSchema),
|
|
42702
42702
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
42703
|
-
updated: dateType().default(() => new Date("2025-02-
|
|
42703
|
+
updated: dateType().default(() => new Date("2025-02-26T10:55:47.554Z")).transform((v2) => v2.toISOString())
|
|
42704
42704
|
}).transform((v2) => {
|
|
42705
42705
|
return remap(v2, {
|
|
42706
42706
|
id: "_id",
|
|
@@ -43612,7 +43612,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
43612
43612
|
created_by_id: stringType().optional(),
|
|
43613
43613
|
updated_by_id: stringType().optional(),
|
|
43614
43614
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
43615
|
-
updated: stringType().datetime({ offset: true }).default("2025-02-
|
|
43615
|
+
updated: stringType().datetime({ offset: true }).default("2025-02-26T10:55:47.554Z").transform((v2) => new Date(v2))
|
|
43616
43616
|
}).transform((v2) => {
|
|
43617
43617
|
return remap(v2, {
|
|
43618
43618
|
_id: "id",
|
|
@@ -43633,7 +43633,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
43633
43633
|
createdById: stringType().optional(),
|
|
43634
43634
|
updatedById: stringType().optional(),
|
|
43635
43635
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
43636
|
-
updated: dateType().default(() => new Date("2025-02-
|
|
43636
|
+
updated: dateType().default(() => new Date("2025-02-26T10:55:47.554Z")).transform((v2) => v2.toISOString())
|
|
43637
43637
|
}).transform((v2) => {
|
|
43638
43638
|
return remap(v2, {
|
|
43639
43639
|
id: "_id",
|
|
@@ -43704,7 +43704,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
43704
43704
|
updated_by_id: stringType().optional(),
|
|
43705
43705
|
metadata: lazyType(() => RetrieveDatasetMetadata$inboundSchema),
|
|
43706
43706
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
43707
|
-
updated: stringType().datetime({ offset: true }).default("2025-02-
|
|
43707
|
+
updated: stringType().datetime({ offset: true }).default("2025-02-26T10:55:47.554Z").transform((v2) => new Date(v2))
|
|
43708
43708
|
}).transform((v2) => {
|
|
43709
43709
|
return remap(v2, {
|
|
43710
43710
|
_id: "id",
|
|
@@ -43724,7 +43724,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
43724
43724
|
updatedById: stringType().optional(),
|
|
43725
43725
|
metadata: lazyType(() => RetrieveDatasetMetadata$outboundSchema),
|
|
43726
43726
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
43727
|
-
updated: dateType().default(() => new Date("2025-02-
|
|
43727
|
+
updated: dateType().default(() => new Date("2025-02-26T10:55:47.554Z")).transform((v2) => v2.toISOString())
|
|
43728
43728
|
}).transform((v2) => {
|
|
43729
43729
|
return remap(v2, {
|
|
43730
43730
|
id: "_id",
|
|
@@ -44164,7 +44164,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
44164
44164
|
created_by_id: stringType().optional(),
|
|
44165
44165
|
updated_by_id: stringType().optional(),
|
|
44166
44166
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
44167
|
-
updated: stringType().datetime({ offset: true }).default("2025-02-
|
|
44167
|
+
updated: stringType().datetime({ offset: true }).default("2025-02-26T10:55:47.554Z").transform((v2) => new Date(v2))
|
|
44168
44168
|
}).transform((v2) => {
|
|
44169
44169
|
return remap(v2, {
|
|
44170
44170
|
_id: "id",
|
|
@@ -44185,7 +44185,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
44185
44185
|
createdById: stringType().optional(),
|
|
44186
44186
|
updatedById: stringType().optional(),
|
|
44187
44187
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
44188
|
-
updated: dateType().default(() => new Date("2025-02-
|
|
44188
|
+
updated: dateType().default(() => new Date("2025-02-26T10:55:47.554Z")).transform((v2) => v2.toISOString())
|
|
44189
44189
|
}).transform((v2) => {
|
|
44190
44190
|
return remap(v2, {
|
|
44191
44191
|
id: "_id",
|
|
@@ -44280,7 +44280,7 @@ var init_updatedataset = __esm(() => {
|
|
|
44280
44280
|
parent_id: stringType().optional(),
|
|
44281
44281
|
version: stringType().optional(),
|
|
44282
44282
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
44283
|
-
updated: stringType().datetime({ offset: true }).default("2025-02-
|
|
44283
|
+
updated: stringType().datetime({ offset: true }).default("2025-02-26T10:55:47.554Z").transform((v2) => new Date(v2))
|
|
44284
44284
|
}).transform((v2) => {
|
|
44285
44285
|
return remap(v2, {
|
|
44286
44286
|
_id: "id",
|
|
@@ -44303,7 +44303,7 @@ var init_updatedataset = __esm(() => {
|
|
|
44303
44303
|
parentId: stringType().optional(),
|
|
44304
44304
|
version: stringType().optional(),
|
|
44305
44305
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
44306
|
-
updated: dateType().default(() => new Date("2025-02-
|
|
44306
|
+
updated: dateType().default(() => new Date("2025-02-26T10:55:47.554Z")).transform((v2) => v2.toISOString())
|
|
44307
44307
|
}).transform((v2) => {
|
|
44308
44308
|
return remap(v2, {
|
|
44309
44309
|
id: "_id",
|
|
@@ -44322,11 +44322,11 @@ var init_updatedataset = __esm(() => {
|
|
|
44322
44322
|
});
|
|
44323
44323
|
|
|
44324
44324
|
// src/models/operations/updateprompt.ts
|
|
44325
|
-
var
|
|
44325
|
+
var ModelType, Format, Quality, UpdatePromptResponseFormatType, ResponseFormatType, PhotoRealVersion, EncodingFormat, ReasoningEffort, Provider, UpdatePromptRole, UpdatePrompt2PromptsType, UpdatePrompt2Type, UpdatePromptType, UseCases, Language, UpdatePromptPromptsType, UpdatePromptModelType, UpdatePromptFormat, UpdatePromptQuality, UpdatePromptResponseFormatPromptsResponseType, UpdatePromptResponseFormatPromptsType, UpdatePromptPhotoRealVersion, UpdatePromptEncodingFormat, UpdatePromptReasoningEffort, UpdatePromptProvider, UpdatePromptPromptsRole, UpdatePrompt2PromptsResponse200Type, UpdatePrompt2PromptsResponseType, UpdatePromptPromptsResponseType, UpdatePromptUseCases, UpdatePromptLanguage, ModelType$inboundSchema, ModelType$outboundSchema, ModelType$, Format$inboundSchema, Format$outboundSchema, Format$, Quality$inboundSchema, Quality$outboundSchema, Quality$, UpdatePromptResponseFormatType$inboundSchema, UpdatePromptResponseFormatType$outboundSchema, UpdatePromptResponseFormatType$, ResponseFormat2$inboundSchema, ResponseFormat2$outboundSchema, ResponseFormat2$, ResponseFormatType$inboundSchema, ResponseFormatType$outboundSchema, ResponseFormatType$, JsonSchema$inboundSchema, JsonSchema$outboundSchema, JsonSchema$, ResponseFormat1$inboundSchema, ResponseFormat1$outboundSchema, ResponseFormat1$, ResponseFormat$inboundSchema, ResponseFormat$outboundSchema, ResponseFormat$, PhotoRealVersion$inboundSchema, PhotoRealVersion$outboundSchema, PhotoRealVersion$, EncodingFormat$inboundSchema, EncodingFormat$outboundSchema, EncodingFormat$, ReasoningEffort$inboundSchema, ReasoningEffort$outboundSchema, ReasoningEffort$, ModelParameters$inboundSchema, ModelParameters$outboundSchema, ModelParameters$, Provider$inboundSchema, Provider$outboundSchema, Provider$, UpdatePromptRole$inboundSchema, UpdatePromptRole$outboundSchema, UpdatePromptRole$, UpdatePrompt2PromptsType$inboundSchema, UpdatePrompt2PromptsType$outboundSchema, UpdatePrompt2PromptsType$, UpdatePrompt2ImageUrl$inboundSchema, UpdatePrompt2ImageUrl$outboundSchema, UpdatePrompt2ImageUrl$, UpdatePrompt22$inboundSchema, UpdatePrompt22$outboundSchema, UpdatePrompt22$, UpdatePrompt2Type$inboundSchema, UpdatePrompt2Type$outboundSchema, UpdatePrompt2Type$, UpdatePrompt21$inboundSchema, UpdatePrompt21$outboundSchema, UpdatePrompt21$, UpdatePromptContent2$inboundSchema, UpdatePromptContent2$outboundSchema, UpdatePromptContent2$, UpdatePromptContent$inboundSchema, UpdatePromptContent$outboundSchema, UpdatePromptContent$, UpdatePromptType$inboundSchema, UpdatePromptType$outboundSchema, UpdatePromptType$, UpdatePromptFunction$inboundSchema, UpdatePromptFunction$outboundSchema, UpdatePromptFunction$, UpdatePromptToolCalls$inboundSchema, UpdatePromptToolCalls$outboundSchema, UpdatePromptToolCalls$, UpdatePromptMessages$inboundSchema, UpdatePromptMessages$outboundSchema, UpdatePromptMessages$, PromptConfig$inboundSchema, PromptConfig$outboundSchema, PromptConfig$, UseCases$inboundSchema, UseCases$outboundSchema, UseCases$, Language$inboundSchema, Language$outboundSchema, Language$, UpdatePromptMetadata$inboundSchema, UpdatePromptMetadata$outboundSchema, UpdatePromptMetadata$, UpdatePromptRequestBody$inboundSchema, UpdatePromptRequestBody$outboundSchema, UpdatePromptRequestBody$, UpdatePromptRequest$inboundSchema, UpdatePromptRequest$outboundSchema, UpdatePromptRequest$, UpdatePromptPromptsType$inboundSchema, UpdatePromptPromptsType$outboundSchema, UpdatePromptPromptsType$, UpdatePromptModelType$inboundSchema, UpdatePromptModelType$outboundSchema, UpdatePromptModelType$, UpdatePromptFormat$inboundSchema, UpdatePromptFormat$outboundSchema, UpdatePromptFormat$, UpdatePromptQuality$inboundSchema, UpdatePromptQuality$outboundSchema, UpdatePromptQuality$, UpdatePromptResponseFormatPromptsResponseType$inboundSchema, UpdatePromptResponseFormatPromptsResponseType$outboundSchema, UpdatePromptResponseFormatPromptsResponseType$, UpdatePromptResponseFormat2$inboundSchema, UpdatePromptResponseFormat2$outboundSchema, UpdatePromptResponseFormat2$, UpdatePromptResponseFormatPromptsType$inboundSchema, UpdatePromptResponseFormatPromptsType$outboundSchema, UpdatePromptResponseFormatPromptsType$, UpdatePromptResponseFormatJsonSchema$inboundSchema, UpdatePromptResponseFormatJsonSchema$outboundSchema, UpdatePromptResponseFormatJsonSchema$, UpdatePromptResponseFormat1$inboundSchema, UpdatePromptResponseFormat1$outboundSchema, UpdatePromptResponseFormat1$, UpdatePromptResponseFormat$inboundSchema, UpdatePromptResponseFormat$outboundSchema, UpdatePromptResponseFormat$, UpdatePromptPhotoRealVersion$inboundSchema, UpdatePromptPhotoRealVersion$outboundSchema, UpdatePromptPhotoRealVersion$, UpdatePromptEncodingFormat$inboundSchema, UpdatePromptEncodingFormat$outboundSchema, UpdatePromptEncodingFormat$, UpdatePromptReasoningEffort$inboundSchema, UpdatePromptReasoningEffort$outboundSchema, UpdatePromptReasoningEffort$, UpdatePromptModelParameters$inboundSchema, UpdatePromptModelParameters$outboundSchema, UpdatePromptModelParameters$, UpdatePromptProvider$inboundSchema, UpdatePromptProvider$outboundSchema, UpdatePromptProvider$, UpdatePromptPromptsRole$inboundSchema, UpdatePromptPromptsRole$outboundSchema, UpdatePromptPromptsRole$, UpdatePrompt2PromptsResponse200Type$inboundSchema, UpdatePrompt2PromptsResponse200Type$outboundSchema, UpdatePrompt2PromptsResponse200Type$, UpdatePrompt2PromptsImageUrl$inboundSchema, UpdatePrompt2PromptsImageUrl$outboundSchema, UpdatePrompt2PromptsImageUrl$, UpdatePrompt2Prompts2$inboundSchema, UpdatePrompt2Prompts2$outboundSchema, UpdatePrompt2Prompts2$, UpdatePrompt2PromptsResponseType$inboundSchema, UpdatePrompt2PromptsResponseType$outboundSchema, UpdatePrompt2PromptsResponseType$, UpdatePrompt2Prompts1$inboundSchema, UpdatePrompt2Prompts1$outboundSchema, UpdatePrompt2Prompts1$, UpdatePromptContentPrompts2$inboundSchema, UpdatePromptContentPrompts2$outboundSchema, UpdatePromptContentPrompts2$, UpdatePromptPromptsContent$inboundSchema, UpdatePromptPromptsContent$outboundSchema, UpdatePromptPromptsContent$, UpdatePromptPromptsResponseType$inboundSchema, UpdatePromptPromptsResponseType$outboundSchema, UpdatePromptPromptsResponseType$, UpdatePromptPromptsFunction$inboundSchema, UpdatePromptPromptsFunction$outboundSchema, UpdatePromptPromptsFunction$, UpdatePromptPromptsToolCalls$inboundSchema, UpdatePromptPromptsToolCalls$outboundSchema, UpdatePromptPromptsToolCalls$, UpdatePromptPromptsMessages$inboundSchema, UpdatePromptPromptsMessages$outboundSchema, UpdatePromptPromptsMessages$, UpdatePromptPromptConfig$inboundSchema, UpdatePromptPromptConfig$outboundSchema, UpdatePromptPromptConfig$, UpdatePromptUseCases$inboundSchema, UpdatePromptUseCases$outboundSchema, UpdatePromptUseCases$, UpdatePromptLanguage$inboundSchema, UpdatePromptLanguage$outboundSchema, UpdatePromptLanguage$, UpdatePromptPromptsMetadata$inboundSchema, UpdatePromptPromptsMetadata$outboundSchema, UpdatePromptPromptsMetadata$, UpdatePromptResponseBody$inboundSchema, UpdatePromptResponseBody$outboundSchema, UpdatePromptResponseBody$;
|
|
44326
44326
|
var init_updateprompt = __esm(() => {
|
|
44327
44327
|
init_lib();
|
|
44328
44328
|
init_primitives();
|
|
44329
|
-
|
|
44329
|
+
ModelType = {
|
|
44330
44330
|
Chat: "chat",
|
|
44331
44331
|
Completion: "completion",
|
|
44332
44332
|
Embedding: "embedding",
|
|
@@ -44337,36 +44337,36 @@ var init_updateprompt = __esm(() => {
|
|
|
44337
44337
|
Rerank: "rerank",
|
|
44338
44338
|
Moderations: "moderations"
|
|
44339
44339
|
};
|
|
44340
|
-
|
|
44340
|
+
Format = {
|
|
44341
44341
|
Url: "url",
|
|
44342
44342
|
B64Json: "b64_json",
|
|
44343
44343
|
Text: "text",
|
|
44344
44344
|
JsonObject: "json_object"
|
|
44345
44345
|
};
|
|
44346
|
-
|
|
44346
|
+
Quality = {
|
|
44347
44347
|
Standard: "standard",
|
|
44348
44348
|
Hd: "hd"
|
|
44349
44349
|
};
|
|
44350
|
-
|
|
44350
|
+
UpdatePromptResponseFormatType = {
|
|
44351
44351
|
JsonObject: "json_object"
|
|
44352
44352
|
};
|
|
44353
|
-
|
|
44353
|
+
ResponseFormatType = {
|
|
44354
44354
|
JsonSchema: "json_schema"
|
|
44355
44355
|
};
|
|
44356
|
-
|
|
44356
|
+
PhotoRealVersion = {
|
|
44357
44357
|
V1: "v1",
|
|
44358
44358
|
V2: "v2"
|
|
44359
44359
|
};
|
|
44360
|
-
|
|
44360
|
+
EncodingFormat = {
|
|
44361
44361
|
Float: "float",
|
|
44362
44362
|
Base64: "base64"
|
|
44363
44363
|
};
|
|
44364
|
-
|
|
44364
|
+
ReasoningEffort = {
|
|
44365
44365
|
Low: "low",
|
|
44366
44366
|
Medium: "medium",
|
|
44367
44367
|
High: "high"
|
|
44368
44368
|
};
|
|
44369
|
-
|
|
44369
|
+
Provider = {
|
|
44370
44370
|
Cohere: "cohere",
|
|
44371
44371
|
Openai: "openai",
|
|
44372
44372
|
Anthropic: "anthropic",
|
|
@@ -44405,7 +44405,7 @@ var init_updateprompt = __esm(() => {
|
|
|
44405
44405
|
UpdatePromptType = {
|
|
44406
44406
|
Function: "function"
|
|
44407
44407
|
};
|
|
44408
|
-
|
|
44408
|
+
UseCases = {
|
|
44409
44409
|
Agents: "Agents",
|
|
44410
44410
|
AgentsSimulations: "Agents simulations",
|
|
44411
44411
|
APIInteraction: "API interaction",
|
|
@@ -44423,7 +44423,7 @@ var init_updateprompt = __esm(() => {
|
|
|
44423
44423
|
Summarization: "Summarization",
|
|
44424
44424
|
Tagging: "Tagging"
|
|
44425
44425
|
};
|
|
44426
|
-
|
|
44426
|
+
Language = {
|
|
44427
44427
|
Chinese: "Chinese",
|
|
44428
44428
|
Dutch: "Dutch",
|
|
44429
44429
|
English: "English",
|
|
@@ -44435,7 +44435,7 @@ var init_updateprompt = __esm(() => {
|
|
|
44435
44435
|
UpdatePromptPromptsType = {
|
|
44436
44436
|
Prompt: "prompt"
|
|
44437
44437
|
};
|
|
44438
|
-
|
|
44438
|
+
UpdatePromptModelType = {
|
|
44439
44439
|
Chat: "chat",
|
|
44440
44440
|
Completion: "completion",
|
|
44441
44441
|
Embedding: "embedding",
|
|
@@ -44446,36 +44446,36 @@ var init_updateprompt = __esm(() => {
|
|
|
44446
44446
|
Rerank: "rerank",
|
|
44447
44447
|
Moderations: "moderations"
|
|
44448
44448
|
};
|
|
44449
|
-
|
|
44449
|
+
UpdatePromptFormat = {
|
|
44450
44450
|
Url: "url",
|
|
44451
44451
|
B64Json: "b64_json",
|
|
44452
44452
|
Text: "text",
|
|
44453
44453
|
JsonObject: "json_object"
|
|
44454
44454
|
};
|
|
44455
|
-
|
|
44455
|
+
UpdatePromptQuality = {
|
|
44456
44456
|
Standard: "standard",
|
|
44457
44457
|
Hd: "hd"
|
|
44458
44458
|
};
|
|
44459
|
-
|
|
44459
|
+
UpdatePromptResponseFormatPromptsResponseType = {
|
|
44460
44460
|
JsonObject: "json_object"
|
|
44461
44461
|
};
|
|
44462
|
-
|
|
44462
|
+
UpdatePromptResponseFormatPromptsType = {
|
|
44463
44463
|
JsonSchema: "json_schema"
|
|
44464
44464
|
};
|
|
44465
|
-
|
|
44465
|
+
UpdatePromptPhotoRealVersion = {
|
|
44466
44466
|
V1: "v1",
|
|
44467
44467
|
V2: "v2"
|
|
44468
44468
|
};
|
|
44469
|
-
|
|
44469
|
+
UpdatePromptEncodingFormat = {
|
|
44470
44470
|
Float: "float",
|
|
44471
44471
|
Base64: "base64"
|
|
44472
44472
|
};
|
|
44473
|
-
|
|
44473
|
+
UpdatePromptReasoningEffort = {
|
|
44474
44474
|
Low: "low",
|
|
44475
44475
|
Medium: "medium",
|
|
44476
44476
|
High: "high"
|
|
44477
44477
|
};
|
|
44478
|
-
|
|
44478
|
+
UpdatePromptProvider = {
|
|
44479
44479
|
Cohere: "cohere",
|
|
44480
44480
|
Openai: "openai",
|
|
44481
44481
|
Anthropic: "anthropic",
|
|
@@ -44514,7 +44514,7 @@ var init_updateprompt = __esm(() => {
|
|
|
44514
44514
|
UpdatePromptPromptsResponseType = {
|
|
44515
44515
|
Function: "function"
|
|
44516
44516
|
};
|
|
44517
|
-
|
|
44517
|
+
UpdatePromptUseCases = {
|
|
44518
44518
|
Agents: "Agents",
|
|
44519
44519
|
AgentsSimulations: "Agents simulations",
|
|
44520
44520
|
APIInteraction: "API interaction",
|
|
@@ -44532,7 +44532,7 @@ var init_updateprompt = __esm(() => {
|
|
|
44532
44532
|
Summarization: "Summarization",
|
|
44533
44533
|
Tagging: "Tagging"
|
|
44534
44534
|
};
|
|
44535
|
-
|
|
44535
|
+
UpdatePromptLanguage = {
|
|
44536
44536
|
Chinese: "Chinese",
|
|
44537
44537
|
Dutch: "Dutch",
|
|
44538
44538
|
English: "English",
|
|
@@ -44541,111 +44541,111 @@ var init_updateprompt = __esm(() => {
|
|
|
44541
44541
|
Russian: "Russian",
|
|
44542
44542
|
Spanish: "Spanish"
|
|
44543
44543
|
};
|
|
44544
|
-
|
|
44545
|
-
|
|
44546
|
-
((
|
|
44547
|
-
|
|
44548
|
-
|
|
44549
|
-
})(
|
|
44550
|
-
|
|
44551
|
-
|
|
44552
|
-
((
|
|
44553
|
-
|
|
44554
|
-
|
|
44555
|
-
})(
|
|
44556
|
-
|
|
44557
|
-
|
|
44558
|
-
((
|
|
44559
|
-
|
|
44560
|
-
|
|
44561
|
-
})(
|
|
44562
|
-
UpdatePromptResponseFormatPromptsType$inboundSchema = nativeEnumType(UpdatePromptResponseFormatPromptsType);
|
|
44563
|
-
UpdatePromptResponseFormatPromptsType$outboundSchema = UpdatePromptResponseFormatPromptsType$inboundSchema;
|
|
44564
|
-
((UpdatePromptResponseFormatPromptsType$) => {
|
|
44565
|
-
UpdatePromptResponseFormatPromptsType$.inboundSchema = UpdatePromptResponseFormatPromptsType$inboundSchema;
|
|
44566
|
-
UpdatePromptResponseFormatPromptsType$.outboundSchema = UpdatePromptResponseFormatPromptsType$outboundSchema;
|
|
44567
|
-
})(UpdatePromptResponseFormatPromptsType$ ||= {});
|
|
44568
|
-
UpdatePromptResponseFormat2$inboundSchema = objectType({
|
|
44569
|
-
type: UpdatePromptResponseFormatPromptsType$inboundSchema
|
|
44570
|
-
});
|
|
44571
|
-
UpdatePromptResponseFormat2$outboundSchema = objectType({
|
|
44572
|
-
type: UpdatePromptResponseFormatPromptsType$outboundSchema
|
|
44573
|
-
});
|
|
44574
|
-
((UpdatePromptResponseFormat2$) => {
|
|
44575
|
-
UpdatePromptResponseFormat2$.inboundSchema = UpdatePromptResponseFormat2$inboundSchema;
|
|
44576
|
-
UpdatePromptResponseFormat2$.outboundSchema = UpdatePromptResponseFormat2$outboundSchema;
|
|
44577
|
-
})(UpdatePromptResponseFormat2$ ||= {});
|
|
44544
|
+
ModelType$inboundSchema = nativeEnumType(ModelType);
|
|
44545
|
+
ModelType$outboundSchema = ModelType$inboundSchema;
|
|
44546
|
+
((ModelType$) => {
|
|
44547
|
+
ModelType$.inboundSchema = ModelType$inboundSchema;
|
|
44548
|
+
ModelType$.outboundSchema = ModelType$outboundSchema;
|
|
44549
|
+
})(ModelType$ ||= {});
|
|
44550
|
+
Format$inboundSchema = nativeEnumType(Format);
|
|
44551
|
+
Format$outboundSchema = Format$inboundSchema;
|
|
44552
|
+
((Format$) => {
|
|
44553
|
+
Format$.inboundSchema = Format$inboundSchema;
|
|
44554
|
+
Format$.outboundSchema = Format$outboundSchema;
|
|
44555
|
+
})(Format$ ||= {});
|
|
44556
|
+
Quality$inboundSchema = nativeEnumType(Quality);
|
|
44557
|
+
Quality$outboundSchema = Quality$inboundSchema;
|
|
44558
|
+
((Quality$) => {
|
|
44559
|
+
Quality$.inboundSchema = Quality$inboundSchema;
|
|
44560
|
+
Quality$.outboundSchema = Quality$outboundSchema;
|
|
44561
|
+
})(Quality$ ||= {});
|
|
44578
44562
|
UpdatePromptResponseFormatType$inboundSchema = nativeEnumType(UpdatePromptResponseFormatType);
|
|
44579
44563
|
UpdatePromptResponseFormatType$outboundSchema = UpdatePromptResponseFormatType$inboundSchema;
|
|
44580
44564
|
((UpdatePromptResponseFormatType$) => {
|
|
44581
44565
|
UpdatePromptResponseFormatType$.inboundSchema = UpdatePromptResponseFormatType$inboundSchema;
|
|
44582
44566
|
UpdatePromptResponseFormatType$.outboundSchema = UpdatePromptResponseFormatType$outboundSchema;
|
|
44583
44567
|
})(UpdatePromptResponseFormatType$ ||= {});
|
|
44584
|
-
|
|
44568
|
+
ResponseFormat2$inboundSchema = objectType({
|
|
44569
|
+
type: UpdatePromptResponseFormatType$inboundSchema
|
|
44570
|
+
});
|
|
44571
|
+
ResponseFormat2$outboundSchema = objectType({
|
|
44572
|
+
type: UpdatePromptResponseFormatType$outboundSchema
|
|
44573
|
+
});
|
|
44574
|
+
((ResponseFormat2$) => {
|
|
44575
|
+
ResponseFormat2$.inboundSchema = ResponseFormat2$inboundSchema;
|
|
44576
|
+
ResponseFormat2$.outboundSchema = ResponseFormat2$outboundSchema;
|
|
44577
|
+
})(ResponseFormat2$ ||= {});
|
|
44578
|
+
ResponseFormatType$inboundSchema = nativeEnumType(ResponseFormatType);
|
|
44579
|
+
ResponseFormatType$outboundSchema = ResponseFormatType$inboundSchema;
|
|
44580
|
+
((ResponseFormatType$) => {
|
|
44581
|
+
ResponseFormatType$.inboundSchema = ResponseFormatType$inboundSchema;
|
|
44582
|
+
ResponseFormatType$.outboundSchema = ResponseFormatType$outboundSchema;
|
|
44583
|
+
})(ResponseFormatType$ ||= {});
|
|
44584
|
+
JsonSchema$inboundSchema = objectType({
|
|
44585
44585
|
name: stringType(),
|
|
44586
44586
|
strict: booleanType(),
|
|
44587
44587
|
schema: recordType(anyType())
|
|
44588
44588
|
});
|
|
44589
|
-
|
|
44589
|
+
JsonSchema$outboundSchema = objectType({
|
|
44590
44590
|
name: stringType(),
|
|
44591
44591
|
strict: booleanType(),
|
|
44592
44592
|
schema: recordType(anyType())
|
|
44593
44593
|
});
|
|
44594
|
-
((
|
|
44595
|
-
|
|
44596
|
-
|
|
44597
|
-
})(
|
|
44598
|
-
|
|
44599
|
-
type:
|
|
44600
|
-
json_schema: lazyType(() =>
|
|
44594
|
+
((JsonSchema$) => {
|
|
44595
|
+
JsonSchema$.inboundSchema = JsonSchema$inboundSchema;
|
|
44596
|
+
JsonSchema$.outboundSchema = JsonSchema$outboundSchema;
|
|
44597
|
+
})(JsonSchema$ ||= {});
|
|
44598
|
+
ResponseFormat1$inboundSchema = objectType({
|
|
44599
|
+
type: ResponseFormatType$inboundSchema,
|
|
44600
|
+
json_schema: lazyType(() => JsonSchema$inboundSchema)
|
|
44601
44601
|
}).transform((v2) => {
|
|
44602
44602
|
return remap(v2, {
|
|
44603
44603
|
json_schema: "jsonSchema"
|
|
44604
44604
|
});
|
|
44605
44605
|
});
|
|
44606
|
-
|
|
44607
|
-
type:
|
|
44608
|
-
jsonSchema: lazyType(() =>
|
|
44606
|
+
ResponseFormat1$outboundSchema = objectType({
|
|
44607
|
+
type: ResponseFormatType$outboundSchema,
|
|
44608
|
+
jsonSchema: lazyType(() => JsonSchema$outboundSchema)
|
|
44609
44609
|
}).transform((v2) => {
|
|
44610
44610
|
return remap(v2, {
|
|
44611
44611
|
jsonSchema: "json_schema"
|
|
44612
44612
|
});
|
|
44613
44613
|
});
|
|
44614
|
-
((
|
|
44615
|
-
|
|
44616
|
-
|
|
44617
|
-
})(
|
|
44618
|
-
|
|
44619
|
-
lazyType(() =>
|
|
44620
|
-
lazyType(() =>
|
|
44621
|
-
]);
|
|
44622
|
-
UpdatePromptResponseFormat$outboundSchema = unionType([
|
|
44623
|
-
lazyType(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
44624
|
-
lazyType(() => UpdatePromptResponseFormat1$outboundSchema)
|
|
44614
|
+
((ResponseFormat1$) => {
|
|
44615
|
+
ResponseFormat1$.inboundSchema = ResponseFormat1$inboundSchema;
|
|
44616
|
+
ResponseFormat1$.outboundSchema = ResponseFormat1$outboundSchema;
|
|
44617
|
+
})(ResponseFormat1$ ||= {});
|
|
44618
|
+
ResponseFormat$inboundSchema = unionType([
|
|
44619
|
+
lazyType(() => ResponseFormat2$inboundSchema),
|
|
44620
|
+
lazyType(() => ResponseFormat1$inboundSchema)
|
|
44625
44621
|
]);
|
|
44626
|
-
|
|
44627
|
-
|
|
44628
|
-
|
|
44629
|
-
|
|
44630
|
-
|
|
44631
|
-
|
|
44632
|
-
|
|
44633
|
-
|
|
44634
|
-
|
|
44635
|
-
|
|
44636
|
-
|
|
44637
|
-
|
|
44638
|
-
|
|
44639
|
-
|
|
44640
|
-
|
|
44641
|
-
|
|
44642
|
-
|
|
44643
|
-
|
|
44644
|
-
|
|
44645
|
-
|
|
44646
|
-
|
|
44647
|
-
|
|
44648
|
-
|
|
44622
|
+
ResponseFormat$outboundSchema = unionType([
|
|
44623
|
+
lazyType(() => ResponseFormat2$outboundSchema),
|
|
44624
|
+
lazyType(() => ResponseFormat1$outboundSchema)
|
|
44625
|
+
]);
|
|
44626
|
+
((ResponseFormat$) => {
|
|
44627
|
+
ResponseFormat$.inboundSchema = ResponseFormat$inboundSchema;
|
|
44628
|
+
ResponseFormat$.outboundSchema = ResponseFormat$outboundSchema;
|
|
44629
|
+
})(ResponseFormat$ ||= {});
|
|
44630
|
+
PhotoRealVersion$inboundSchema = nativeEnumType(PhotoRealVersion);
|
|
44631
|
+
PhotoRealVersion$outboundSchema = PhotoRealVersion$inboundSchema;
|
|
44632
|
+
((PhotoRealVersion$) => {
|
|
44633
|
+
PhotoRealVersion$.inboundSchema = PhotoRealVersion$inboundSchema;
|
|
44634
|
+
PhotoRealVersion$.outboundSchema = PhotoRealVersion$outboundSchema;
|
|
44635
|
+
})(PhotoRealVersion$ ||= {});
|
|
44636
|
+
EncodingFormat$inboundSchema = nativeEnumType(EncodingFormat);
|
|
44637
|
+
EncodingFormat$outboundSchema = EncodingFormat$inboundSchema;
|
|
44638
|
+
((EncodingFormat$) => {
|
|
44639
|
+
EncodingFormat$.inboundSchema = EncodingFormat$inboundSchema;
|
|
44640
|
+
EncodingFormat$.outboundSchema = EncodingFormat$outboundSchema;
|
|
44641
|
+
})(EncodingFormat$ ||= {});
|
|
44642
|
+
ReasoningEffort$inboundSchema = nativeEnumType(ReasoningEffort);
|
|
44643
|
+
ReasoningEffort$outboundSchema = ReasoningEffort$inboundSchema;
|
|
44644
|
+
((ReasoningEffort$) => {
|
|
44645
|
+
ReasoningEffort$.inboundSchema = ReasoningEffort$inboundSchema;
|
|
44646
|
+
ReasoningEffort$.outboundSchema = ReasoningEffort$outboundSchema;
|
|
44647
|
+
})(ReasoningEffort$ ||= {});
|
|
44648
|
+
ModelParameters$inboundSchema = objectType({
|
|
44649
44649
|
temperature: numberType().optional(),
|
|
44650
44650
|
maxTokens: numberType().optional(),
|
|
44651
44651
|
topK: numberType().optional(),
|
|
@@ -44654,24 +44654,24 @@ var init_updateprompt = __esm(() => {
|
|
|
44654
44654
|
presencePenalty: numberType().optional(),
|
|
44655
44655
|
numImages: numberType().optional(),
|
|
44656
44656
|
seed: numberType().optional(),
|
|
44657
|
-
format:
|
|
44657
|
+
format: Format$inboundSchema.optional(),
|
|
44658
44658
|
dimensions: stringType().optional(),
|
|
44659
|
-
quality:
|
|
44659
|
+
quality: Quality$inboundSchema.optional(),
|
|
44660
44660
|
style: stringType().optional(),
|
|
44661
44661
|
responseFormat: nullableType(unionType([
|
|
44662
|
-
lazyType(() =>
|
|
44663
|
-
lazyType(() =>
|
|
44662
|
+
lazyType(() => ResponseFormat2$inboundSchema),
|
|
44663
|
+
lazyType(() => ResponseFormat1$inboundSchema)
|
|
44664
44664
|
])).optional(),
|
|
44665
|
-
photoRealVersion:
|
|
44666
|
-
encoding_format:
|
|
44667
|
-
reasoningEffort:
|
|
44665
|
+
photoRealVersion: PhotoRealVersion$inboundSchema.optional(),
|
|
44666
|
+
encoding_format: EncodingFormat$inboundSchema.optional(),
|
|
44667
|
+
reasoningEffort: ReasoningEffort$inboundSchema.optional(),
|
|
44668
44668
|
budgetTokens: numberType().optional()
|
|
44669
44669
|
}).transform((v2) => {
|
|
44670
44670
|
return remap(v2, {
|
|
44671
44671
|
encoding_format: "encodingFormat"
|
|
44672
44672
|
});
|
|
44673
44673
|
});
|
|
44674
|
-
|
|
44674
|
+
ModelParameters$outboundSchema = objectType({
|
|
44675
44675
|
temperature: numberType().optional(),
|
|
44676
44676
|
maxTokens: numberType().optional(),
|
|
44677
44677
|
topK: numberType().optional(),
|
|
@@ -44680,33 +44680,33 @@ var init_updateprompt = __esm(() => {
|
|
|
44680
44680
|
presencePenalty: numberType().optional(),
|
|
44681
44681
|
numImages: numberType().optional(),
|
|
44682
44682
|
seed: numberType().optional(),
|
|
44683
|
-
format:
|
|
44683
|
+
format: Format$outboundSchema.optional(),
|
|
44684
44684
|
dimensions: stringType().optional(),
|
|
44685
|
-
quality:
|
|
44685
|
+
quality: Quality$outboundSchema.optional(),
|
|
44686
44686
|
style: stringType().optional(),
|
|
44687
44687
|
responseFormat: nullableType(unionType([
|
|
44688
|
-
lazyType(() =>
|
|
44689
|
-
lazyType(() =>
|
|
44688
|
+
lazyType(() => ResponseFormat2$outboundSchema),
|
|
44689
|
+
lazyType(() => ResponseFormat1$outboundSchema)
|
|
44690
44690
|
])).optional(),
|
|
44691
|
-
photoRealVersion:
|
|
44692
|
-
encodingFormat:
|
|
44693
|
-
reasoningEffort:
|
|
44691
|
+
photoRealVersion: PhotoRealVersion$outboundSchema.optional(),
|
|
44692
|
+
encodingFormat: EncodingFormat$outboundSchema.optional(),
|
|
44693
|
+
reasoningEffort: ReasoningEffort$outboundSchema.optional(),
|
|
44694
44694
|
budgetTokens: numberType().optional()
|
|
44695
44695
|
}).transform((v2) => {
|
|
44696
44696
|
return remap(v2, {
|
|
44697
44697
|
encodingFormat: "encoding_format"
|
|
44698
44698
|
});
|
|
44699
44699
|
});
|
|
44700
|
-
((
|
|
44701
|
-
|
|
44702
|
-
|
|
44703
|
-
})(
|
|
44704
|
-
|
|
44705
|
-
|
|
44706
|
-
((
|
|
44707
|
-
|
|
44708
|
-
|
|
44709
|
-
})(
|
|
44700
|
+
((ModelParameters$) => {
|
|
44701
|
+
ModelParameters$.inboundSchema = ModelParameters$inboundSchema;
|
|
44702
|
+
ModelParameters$.outboundSchema = ModelParameters$outboundSchema;
|
|
44703
|
+
})(ModelParameters$ ||= {});
|
|
44704
|
+
Provider$inboundSchema = nativeEnumType(Provider);
|
|
44705
|
+
Provider$outboundSchema = Provider$inboundSchema;
|
|
44706
|
+
((Provider$) => {
|
|
44707
|
+
Provider$.inboundSchema = Provider$inboundSchema;
|
|
44708
|
+
Provider$.outboundSchema = Provider$outboundSchema;
|
|
44709
|
+
})(Provider$ ||= {});
|
|
44710
44710
|
UpdatePromptRole$inboundSchema = nativeEnumType(UpdatePromptRole);
|
|
44711
44711
|
UpdatePromptRole$outboundSchema = UpdatePromptRole$inboundSchema;
|
|
44712
44712
|
((UpdatePromptRole$) => {
|
|
@@ -44867,12 +44867,12 @@ var init_updateprompt = __esm(() => {
|
|
|
44867
44867
|
UpdatePromptMessages$.inboundSchema = UpdatePromptMessages$inboundSchema;
|
|
44868
44868
|
UpdatePromptMessages$.outboundSchema = UpdatePromptMessages$outboundSchema;
|
|
44869
44869
|
})(UpdatePromptMessages$ ||= {});
|
|
44870
|
-
|
|
44870
|
+
PromptConfig$inboundSchema = objectType({
|
|
44871
44871
|
stream: booleanType().optional(),
|
|
44872
44872
|
model: stringType().optional(),
|
|
44873
|
-
model_type:
|
|
44874
|
-
model_parameters: lazyType(() =>
|
|
44875
|
-
provider:
|
|
44873
|
+
model_type: ModelType$inboundSchema.optional(),
|
|
44874
|
+
model_parameters: lazyType(() => ModelParameters$inboundSchema).optional(),
|
|
44875
|
+
provider: Provider$inboundSchema.optional(),
|
|
44876
44876
|
version: stringType().optional(),
|
|
44877
44877
|
messages: arrayType(lazyType(() => UpdatePromptMessages$inboundSchema))
|
|
44878
44878
|
}).transform((v2) => {
|
|
@@ -44881,12 +44881,12 @@ var init_updateprompt = __esm(() => {
|
|
|
44881
44881
|
model_parameters: "modelParameters"
|
|
44882
44882
|
});
|
|
44883
44883
|
});
|
|
44884
|
-
|
|
44884
|
+
PromptConfig$outboundSchema = objectType({
|
|
44885
44885
|
stream: booleanType().optional(),
|
|
44886
44886
|
model: stringType().optional(),
|
|
44887
|
-
modelType:
|
|
44888
|
-
modelParameters: lazyType(() =>
|
|
44889
|
-
provider:
|
|
44887
|
+
modelType: ModelType$outboundSchema.optional(),
|
|
44888
|
+
modelParameters: lazyType(() => ModelParameters$outboundSchema).optional(),
|
|
44889
|
+
provider: Provider$outboundSchema.optional(),
|
|
44890
44890
|
version: stringType().optional(),
|
|
44891
44891
|
messages: arrayType(lazyType(() => UpdatePromptMessages$outboundSchema))
|
|
44892
44892
|
}).transform((v2) => {
|
|
@@ -44895,33 +44895,33 @@ var init_updateprompt = __esm(() => {
|
|
|
44895
44895
|
modelParameters: "model_parameters"
|
|
44896
44896
|
});
|
|
44897
44897
|
});
|
|
44898
|
-
((
|
|
44899
|
-
|
|
44900
|
-
|
|
44901
|
-
})(
|
|
44902
|
-
|
|
44903
|
-
|
|
44904
|
-
((
|
|
44905
|
-
|
|
44906
|
-
|
|
44907
|
-
})(
|
|
44908
|
-
|
|
44909
|
-
|
|
44910
|
-
((
|
|
44911
|
-
|
|
44912
|
-
|
|
44913
|
-
})(
|
|
44898
|
+
((PromptConfig$) => {
|
|
44899
|
+
PromptConfig$.inboundSchema = PromptConfig$inboundSchema;
|
|
44900
|
+
PromptConfig$.outboundSchema = PromptConfig$outboundSchema;
|
|
44901
|
+
})(PromptConfig$ ||= {});
|
|
44902
|
+
UseCases$inboundSchema = nativeEnumType(UseCases);
|
|
44903
|
+
UseCases$outboundSchema = UseCases$inboundSchema;
|
|
44904
|
+
((UseCases$) => {
|
|
44905
|
+
UseCases$.inboundSchema = UseCases$inboundSchema;
|
|
44906
|
+
UseCases$.outboundSchema = UseCases$outboundSchema;
|
|
44907
|
+
})(UseCases$ ||= {});
|
|
44908
|
+
Language$inboundSchema = nativeEnumType(Language);
|
|
44909
|
+
Language$outboundSchema = Language$inboundSchema;
|
|
44910
|
+
((Language$) => {
|
|
44911
|
+
Language$.inboundSchema = Language$inboundSchema;
|
|
44912
|
+
Language$.outboundSchema = Language$outboundSchema;
|
|
44913
|
+
})(Language$ ||= {});
|
|
44914
44914
|
UpdatePromptMetadata$inboundSchema = objectType({
|
|
44915
|
-
use_cases: arrayType(
|
|
44916
|
-
language:
|
|
44915
|
+
use_cases: arrayType(UseCases$inboundSchema).optional(),
|
|
44916
|
+
language: Language$inboundSchema.optional()
|
|
44917
44917
|
}).transform((v2) => {
|
|
44918
44918
|
return remap(v2, {
|
|
44919
44919
|
use_cases: "useCases"
|
|
44920
44920
|
});
|
|
44921
44921
|
});
|
|
44922
44922
|
UpdatePromptMetadata$outboundSchema = objectType({
|
|
44923
|
-
useCases: arrayType(
|
|
44924
|
-
language:
|
|
44923
|
+
useCases: arrayType(UseCases$outboundSchema).optional(),
|
|
44924
|
+
language: Language$outboundSchema.optional()
|
|
44925
44925
|
}).transform((v2) => {
|
|
44926
44926
|
return remap(v2, {
|
|
44927
44927
|
useCases: "use_cases"
|
|
@@ -44940,7 +44940,7 @@ var init_updateprompt = __esm(() => {
|
|
|
44940
44940
|
updated_by_id: stringType().optional(),
|
|
44941
44941
|
display_name: stringType().optional(),
|
|
44942
44942
|
description: nullableType(stringType()).optional(),
|
|
44943
|
-
prompt_config: lazyType(() =>
|
|
44943
|
+
prompt_config: lazyType(() => PromptConfig$inboundSchema).optional(),
|
|
44944
44944
|
metadata: lazyType(() => UpdatePromptMetadata$inboundSchema).optional()
|
|
44945
44945
|
}).transform((v2) => {
|
|
44946
44946
|
return remap(v2, {
|
|
@@ -44960,7 +44960,7 @@ var init_updateprompt = __esm(() => {
|
|
|
44960
44960
|
updatedById: stringType().optional(),
|
|
44961
44961
|
displayName: stringType().optional(),
|
|
44962
44962
|
description: nullableType(stringType()).optional(),
|
|
44963
|
-
promptConfig: lazyType(() =>
|
|
44963
|
+
promptConfig: lazyType(() => PromptConfig$outboundSchema).optional(),
|
|
44964
44964
|
metadata: lazyType(() => UpdatePromptMetadata$outboundSchema).optional()
|
|
44965
44965
|
}).transform((v2) => {
|
|
44966
44966
|
return remap(v2, {
|
|
@@ -45001,46 +45001,46 @@ var init_updateprompt = __esm(() => {
|
|
|
45001
45001
|
UpdatePromptPromptsType$.inboundSchema = UpdatePromptPromptsType$inboundSchema;
|
|
45002
45002
|
UpdatePromptPromptsType$.outboundSchema = UpdatePromptPromptsType$outboundSchema;
|
|
45003
45003
|
})(UpdatePromptPromptsType$ ||= {});
|
|
45004
|
-
|
|
45005
|
-
|
|
45006
|
-
((
|
|
45007
|
-
|
|
45008
|
-
|
|
45009
|
-
})(
|
|
45010
|
-
|
|
45011
|
-
|
|
45012
|
-
((
|
|
45013
|
-
|
|
45014
|
-
|
|
45015
|
-
})(
|
|
45016
|
-
|
|
45017
|
-
|
|
45018
|
-
((
|
|
45019
|
-
|
|
45020
|
-
|
|
45021
|
-
})(
|
|
45022
|
-
UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema = nativeEnumType(UpdatePromptResponseFormatPromptsResponse200Type);
|
|
45023
|
-
UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema = UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema;
|
|
45024
|
-
((UpdatePromptResponseFormatPromptsResponse200Type$) => {
|
|
45025
|
-
UpdatePromptResponseFormatPromptsResponse200Type$.inboundSchema = UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema;
|
|
45026
|
-
UpdatePromptResponseFormatPromptsResponse200Type$.outboundSchema = UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema;
|
|
45027
|
-
})(UpdatePromptResponseFormatPromptsResponse200Type$ ||= {});
|
|
45028
|
-
UpdatePromptResponseFormatPrompts2$inboundSchema = objectType({
|
|
45029
|
-
type: UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema
|
|
45030
|
-
});
|
|
45031
|
-
UpdatePromptResponseFormatPrompts2$outboundSchema = objectType({
|
|
45032
|
-
type: UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema
|
|
45033
|
-
});
|
|
45034
|
-
((UpdatePromptResponseFormatPrompts2$) => {
|
|
45035
|
-
UpdatePromptResponseFormatPrompts2$.inboundSchema = UpdatePromptResponseFormatPrompts2$inboundSchema;
|
|
45036
|
-
UpdatePromptResponseFormatPrompts2$.outboundSchema = UpdatePromptResponseFormatPrompts2$outboundSchema;
|
|
45037
|
-
})(UpdatePromptResponseFormatPrompts2$ ||= {});
|
|
45004
|
+
UpdatePromptModelType$inboundSchema = nativeEnumType(UpdatePromptModelType);
|
|
45005
|
+
UpdatePromptModelType$outboundSchema = UpdatePromptModelType$inboundSchema;
|
|
45006
|
+
((UpdatePromptModelType$) => {
|
|
45007
|
+
UpdatePromptModelType$.inboundSchema = UpdatePromptModelType$inboundSchema;
|
|
45008
|
+
UpdatePromptModelType$.outboundSchema = UpdatePromptModelType$outboundSchema;
|
|
45009
|
+
})(UpdatePromptModelType$ ||= {});
|
|
45010
|
+
UpdatePromptFormat$inboundSchema = nativeEnumType(UpdatePromptFormat);
|
|
45011
|
+
UpdatePromptFormat$outboundSchema = UpdatePromptFormat$inboundSchema;
|
|
45012
|
+
((UpdatePromptFormat$) => {
|
|
45013
|
+
UpdatePromptFormat$.inboundSchema = UpdatePromptFormat$inboundSchema;
|
|
45014
|
+
UpdatePromptFormat$.outboundSchema = UpdatePromptFormat$outboundSchema;
|
|
45015
|
+
})(UpdatePromptFormat$ ||= {});
|
|
45016
|
+
UpdatePromptQuality$inboundSchema = nativeEnumType(UpdatePromptQuality);
|
|
45017
|
+
UpdatePromptQuality$outboundSchema = UpdatePromptQuality$inboundSchema;
|
|
45018
|
+
((UpdatePromptQuality$) => {
|
|
45019
|
+
UpdatePromptQuality$.inboundSchema = UpdatePromptQuality$inboundSchema;
|
|
45020
|
+
UpdatePromptQuality$.outboundSchema = UpdatePromptQuality$outboundSchema;
|
|
45021
|
+
})(UpdatePromptQuality$ ||= {});
|
|
45038
45022
|
UpdatePromptResponseFormatPromptsResponseType$inboundSchema = nativeEnumType(UpdatePromptResponseFormatPromptsResponseType);
|
|
45039
45023
|
UpdatePromptResponseFormatPromptsResponseType$outboundSchema = UpdatePromptResponseFormatPromptsResponseType$inboundSchema;
|
|
45040
45024
|
((UpdatePromptResponseFormatPromptsResponseType$) => {
|
|
45041
45025
|
UpdatePromptResponseFormatPromptsResponseType$.inboundSchema = UpdatePromptResponseFormatPromptsResponseType$inboundSchema;
|
|
45042
45026
|
UpdatePromptResponseFormatPromptsResponseType$.outboundSchema = UpdatePromptResponseFormatPromptsResponseType$outboundSchema;
|
|
45043
45027
|
})(UpdatePromptResponseFormatPromptsResponseType$ ||= {});
|
|
45028
|
+
UpdatePromptResponseFormat2$inboundSchema = objectType({
|
|
45029
|
+
type: UpdatePromptResponseFormatPromptsResponseType$inboundSchema
|
|
45030
|
+
});
|
|
45031
|
+
UpdatePromptResponseFormat2$outboundSchema = objectType({
|
|
45032
|
+
type: UpdatePromptResponseFormatPromptsResponseType$outboundSchema
|
|
45033
|
+
});
|
|
45034
|
+
((UpdatePromptResponseFormat2$) => {
|
|
45035
|
+
UpdatePromptResponseFormat2$.inboundSchema = UpdatePromptResponseFormat2$inboundSchema;
|
|
45036
|
+
UpdatePromptResponseFormat2$.outboundSchema = UpdatePromptResponseFormat2$outboundSchema;
|
|
45037
|
+
})(UpdatePromptResponseFormat2$ ||= {});
|
|
45038
|
+
UpdatePromptResponseFormatPromptsType$inboundSchema = nativeEnumType(UpdatePromptResponseFormatPromptsType);
|
|
45039
|
+
UpdatePromptResponseFormatPromptsType$outboundSchema = UpdatePromptResponseFormatPromptsType$inboundSchema;
|
|
45040
|
+
((UpdatePromptResponseFormatPromptsType$) => {
|
|
45041
|
+
UpdatePromptResponseFormatPromptsType$.inboundSchema = UpdatePromptResponseFormatPromptsType$inboundSchema;
|
|
45042
|
+
UpdatePromptResponseFormatPromptsType$.outboundSchema = UpdatePromptResponseFormatPromptsType$outboundSchema;
|
|
45043
|
+
})(UpdatePromptResponseFormatPromptsType$ ||= {});
|
|
45044
45044
|
UpdatePromptResponseFormatJsonSchema$inboundSchema = objectType({
|
|
45045
45045
|
name: stringType(),
|
|
45046
45046
|
strict: booleanType(),
|
|
@@ -45055,57 +45055,57 @@ var init_updateprompt = __esm(() => {
|
|
|
45055
45055
|
UpdatePromptResponseFormatJsonSchema$.inboundSchema = UpdatePromptResponseFormatJsonSchema$inboundSchema;
|
|
45056
45056
|
UpdatePromptResponseFormatJsonSchema$.outboundSchema = UpdatePromptResponseFormatJsonSchema$outboundSchema;
|
|
45057
45057
|
})(UpdatePromptResponseFormatJsonSchema$ ||= {});
|
|
45058
|
-
|
|
45059
|
-
type:
|
|
45058
|
+
UpdatePromptResponseFormat1$inboundSchema = objectType({
|
|
45059
|
+
type: UpdatePromptResponseFormatPromptsType$inboundSchema,
|
|
45060
45060
|
json_schema: lazyType(() => UpdatePromptResponseFormatJsonSchema$inboundSchema)
|
|
45061
45061
|
}).transform((v2) => {
|
|
45062
45062
|
return remap(v2, {
|
|
45063
45063
|
json_schema: "jsonSchema"
|
|
45064
45064
|
});
|
|
45065
45065
|
});
|
|
45066
|
-
|
|
45067
|
-
type:
|
|
45066
|
+
UpdatePromptResponseFormat1$outboundSchema = objectType({
|
|
45067
|
+
type: UpdatePromptResponseFormatPromptsType$outboundSchema,
|
|
45068
45068
|
jsonSchema: lazyType(() => UpdatePromptResponseFormatJsonSchema$outboundSchema)
|
|
45069
45069
|
}).transform((v2) => {
|
|
45070
45070
|
return remap(v2, {
|
|
45071
45071
|
jsonSchema: "json_schema"
|
|
45072
45072
|
});
|
|
45073
45073
|
});
|
|
45074
|
-
((
|
|
45075
|
-
|
|
45076
|
-
|
|
45077
|
-
})(
|
|
45078
|
-
|
|
45079
|
-
lazyType(() =>
|
|
45080
|
-
lazyType(() =>
|
|
45074
|
+
((UpdatePromptResponseFormat1$) => {
|
|
45075
|
+
UpdatePromptResponseFormat1$.inboundSchema = UpdatePromptResponseFormat1$inboundSchema;
|
|
45076
|
+
UpdatePromptResponseFormat1$.outboundSchema = UpdatePromptResponseFormat1$outboundSchema;
|
|
45077
|
+
})(UpdatePromptResponseFormat1$ ||= {});
|
|
45078
|
+
UpdatePromptResponseFormat$inboundSchema = unionType([
|
|
45079
|
+
lazyType(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
45080
|
+
lazyType(() => UpdatePromptResponseFormat1$inboundSchema)
|
|
45081
45081
|
]);
|
|
45082
|
-
|
|
45083
|
-
lazyType(() =>
|
|
45084
|
-
lazyType(() =>
|
|
45082
|
+
UpdatePromptResponseFormat$outboundSchema = unionType([
|
|
45083
|
+
lazyType(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
45084
|
+
lazyType(() => UpdatePromptResponseFormat1$outboundSchema)
|
|
45085
45085
|
]);
|
|
45086
|
-
((
|
|
45087
|
-
|
|
45088
|
-
|
|
45089
|
-
})(
|
|
45090
|
-
|
|
45091
|
-
|
|
45092
|
-
((
|
|
45093
|
-
|
|
45094
|
-
|
|
45095
|
-
})(
|
|
45096
|
-
|
|
45097
|
-
|
|
45098
|
-
((
|
|
45099
|
-
|
|
45100
|
-
|
|
45101
|
-
})(
|
|
45102
|
-
|
|
45103
|
-
|
|
45104
|
-
((
|
|
45105
|
-
|
|
45106
|
-
|
|
45107
|
-
})(
|
|
45108
|
-
|
|
45086
|
+
((UpdatePromptResponseFormat$) => {
|
|
45087
|
+
UpdatePromptResponseFormat$.inboundSchema = UpdatePromptResponseFormat$inboundSchema;
|
|
45088
|
+
UpdatePromptResponseFormat$.outboundSchema = UpdatePromptResponseFormat$outboundSchema;
|
|
45089
|
+
})(UpdatePromptResponseFormat$ ||= {});
|
|
45090
|
+
UpdatePromptPhotoRealVersion$inboundSchema = nativeEnumType(UpdatePromptPhotoRealVersion);
|
|
45091
|
+
UpdatePromptPhotoRealVersion$outboundSchema = UpdatePromptPhotoRealVersion$inboundSchema;
|
|
45092
|
+
((UpdatePromptPhotoRealVersion$) => {
|
|
45093
|
+
UpdatePromptPhotoRealVersion$.inboundSchema = UpdatePromptPhotoRealVersion$inboundSchema;
|
|
45094
|
+
UpdatePromptPhotoRealVersion$.outboundSchema = UpdatePromptPhotoRealVersion$outboundSchema;
|
|
45095
|
+
})(UpdatePromptPhotoRealVersion$ ||= {});
|
|
45096
|
+
UpdatePromptEncodingFormat$inboundSchema = nativeEnumType(UpdatePromptEncodingFormat);
|
|
45097
|
+
UpdatePromptEncodingFormat$outboundSchema = UpdatePromptEncodingFormat$inboundSchema;
|
|
45098
|
+
((UpdatePromptEncodingFormat$) => {
|
|
45099
|
+
UpdatePromptEncodingFormat$.inboundSchema = UpdatePromptEncodingFormat$inboundSchema;
|
|
45100
|
+
UpdatePromptEncodingFormat$.outboundSchema = UpdatePromptEncodingFormat$outboundSchema;
|
|
45101
|
+
})(UpdatePromptEncodingFormat$ ||= {});
|
|
45102
|
+
UpdatePromptReasoningEffort$inboundSchema = nativeEnumType(UpdatePromptReasoningEffort);
|
|
45103
|
+
UpdatePromptReasoningEffort$outboundSchema = UpdatePromptReasoningEffort$inboundSchema;
|
|
45104
|
+
((UpdatePromptReasoningEffort$) => {
|
|
45105
|
+
UpdatePromptReasoningEffort$.inboundSchema = UpdatePromptReasoningEffort$inboundSchema;
|
|
45106
|
+
UpdatePromptReasoningEffort$.outboundSchema = UpdatePromptReasoningEffort$outboundSchema;
|
|
45107
|
+
})(UpdatePromptReasoningEffort$ ||= {});
|
|
45108
|
+
UpdatePromptModelParameters$inboundSchema = objectType({
|
|
45109
45109
|
temperature: numberType().optional(),
|
|
45110
45110
|
maxTokens: numberType().optional(),
|
|
45111
45111
|
topK: numberType().optional(),
|
|
@@ -45114,24 +45114,24 @@ var init_updateprompt = __esm(() => {
|
|
|
45114
45114
|
presencePenalty: numberType().optional(),
|
|
45115
45115
|
numImages: numberType().optional(),
|
|
45116
45116
|
seed: numberType().optional(),
|
|
45117
|
-
format:
|
|
45117
|
+
format: UpdatePromptFormat$inboundSchema.optional(),
|
|
45118
45118
|
dimensions: stringType().optional(),
|
|
45119
|
-
quality:
|
|
45119
|
+
quality: UpdatePromptQuality$inboundSchema.optional(),
|
|
45120
45120
|
style: stringType().optional(),
|
|
45121
45121
|
responseFormat: nullableType(unionType([
|
|
45122
|
-
lazyType(() =>
|
|
45123
|
-
lazyType(() =>
|
|
45122
|
+
lazyType(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
45123
|
+
lazyType(() => UpdatePromptResponseFormat1$inboundSchema)
|
|
45124
45124
|
])).optional(),
|
|
45125
|
-
photoRealVersion:
|
|
45126
|
-
encoding_format:
|
|
45127
|
-
reasoningEffort:
|
|
45125
|
+
photoRealVersion: UpdatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
45126
|
+
encoding_format: UpdatePromptEncodingFormat$inboundSchema.optional(),
|
|
45127
|
+
reasoningEffort: UpdatePromptReasoningEffort$inboundSchema.optional(),
|
|
45128
45128
|
budgetTokens: numberType().optional()
|
|
45129
45129
|
}).transform((v2) => {
|
|
45130
45130
|
return remap(v2, {
|
|
45131
45131
|
encoding_format: "encodingFormat"
|
|
45132
45132
|
});
|
|
45133
45133
|
});
|
|
45134
|
-
|
|
45134
|
+
UpdatePromptModelParameters$outboundSchema = objectType({
|
|
45135
45135
|
temperature: numberType().optional(),
|
|
45136
45136
|
maxTokens: numberType().optional(),
|
|
45137
45137
|
topK: numberType().optional(),
|
|
@@ -45140,33 +45140,33 @@ var init_updateprompt = __esm(() => {
|
|
|
45140
45140
|
presencePenalty: numberType().optional(),
|
|
45141
45141
|
numImages: numberType().optional(),
|
|
45142
45142
|
seed: numberType().optional(),
|
|
45143
|
-
format:
|
|
45143
|
+
format: UpdatePromptFormat$outboundSchema.optional(),
|
|
45144
45144
|
dimensions: stringType().optional(),
|
|
45145
|
-
quality:
|
|
45145
|
+
quality: UpdatePromptQuality$outboundSchema.optional(),
|
|
45146
45146
|
style: stringType().optional(),
|
|
45147
45147
|
responseFormat: nullableType(unionType([
|
|
45148
|
-
lazyType(() =>
|
|
45149
|
-
lazyType(() =>
|
|
45148
|
+
lazyType(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
45149
|
+
lazyType(() => UpdatePromptResponseFormat1$outboundSchema)
|
|
45150
45150
|
])).optional(),
|
|
45151
|
-
photoRealVersion:
|
|
45152
|
-
encodingFormat:
|
|
45153
|
-
reasoningEffort:
|
|
45151
|
+
photoRealVersion: UpdatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
45152
|
+
encodingFormat: UpdatePromptEncodingFormat$outboundSchema.optional(),
|
|
45153
|
+
reasoningEffort: UpdatePromptReasoningEffort$outboundSchema.optional(),
|
|
45154
45154
|
budgetTokens: numberType().optional()
|
|
45155
45155
|
}).transform((v2) => {
|
|
45156
45156
|
return remap(v2, {
|
|
45157
45157
|
encodingFormat: "encoding_format"
|
|
45158
45158
|
});
|
|
45159
45159
|
});
|
|
45160
|
-
((
|
|
45161
|
-
|
|
45162
|
-
|
|
45163
|
-
})(
|
|
45164
|
-
|
|
45165
|
-
|
|
45166
|
-
((
|
|
45167
|
-
|
|
45168
|
-
|
|
45169
|
-
})(
|
|
45160
|
+
((UpdatePromptModelParameters$) => {
|
|
45161
|
+
UpdatePromptModelParameters$.inboundSchema = UpdatePromptModelParameters$inboundSchema;
|
|
45162
|
+
UpdatePromptModelParameters$.outboundSchema = UpdatePromptModelParameters$outboundSchema;
|
|
45163
|
+
})(UpdatePromptModelParameters$ ||= {});
|
|
45164
|
+
UpdatePromptProvider$inboundSchema = nativeEnumType(UpdatePromptProvider);
|
|
45165
|
+
UpdatePromptProvider$outboundSchema = UpdatePromptProvider$inboundSchema;
|
|
45166
|
+
((UpdatePromptProvider$) => {
|
|
45167
|
+
UpdatePromptProvider$.inboundSchema = UpdatePromptProvider$inboundSchema;
|
|
45168
|
+
UpdatePromptProvider$.outboundSchema = UpdatePromptProvider$outboundSchema;
|
|
45169
|
+
})(UpdatePromptProvider$ ||= {});
|
|
45170
45170
|
UpdatePromptPromptsRole$inboundSchema = nativeEnumType(UpdatePromptPromptsRole);
|
|
45171
45171
|
UpdatePromptPromptsRole$outboundSchema = UpdatePromptPromptsRole$inboundSchema;
|
|
45172
45172
|
((UpdatePromptPromptsRole$) => {
|
|
@@ -45329,13 +45329,13 @@ var init_updateprompt = __esm(() => {
|
|
|
45329
45329
|
UpdatePromptPromptsMessages$.inboundSchema = UpdatePromptPromptsMessages$inboundSchema;
|
|
45330
45330
|
UpdatePromptPromptsMessages$.outboundSchema = UpdatePromptPromptsMessages$outboundSchema;
|
|
45331
45331
|
})(UpdatePromptPromptsMessages$ ||= {});
|
|
45332
|
-
|
|
45332
|
+
UpdatePromptPromptConfig$inboundSchema = objectType({
|
|
45333
45333
|
stream: booleanType().optional(),
|
|
45334
45334
|
model: stringType().optional(),
|
|
45335
45335
|
model_db_id: stringType().optional(),
|
|
45336
|
-
model_type:
|
|
45337
|
-
model_parameters: lazyType(() =>
|
|
45338
|
-
provider:
|
|
45336
|
+
model_type: UpdatePromptModelType$inboundSchema.optional(),
|
|
45337
|
+
model_parameters: lazyType(() => UpdatePromptModelParameters$inboundSchema).optional(),
|
|
45338
|
+
provider: UpdatePromptProvider$inboundSchema.optional(),
|
|
45339
45339
|
integration_id: nullableType(stringType()).optional(),
|
|
45340
45340
|
version: stringType().optional(),
|
|
45341
45341
|
messages: arrayType(lazyType(() => UpdatePromptPromptsMessages$inboundSchema))
|
|
@@ -45347,13 +45347,13 @@ var init_updateprompt = __esm(() => {
|
|
|
45347
45347
|
integration_id: "integrationId"
|
|
45348
45348
|
});
|
|
45349
45349
|
});
|
|
45350
|
-
|
|
45350
|
+
UpdatePromptPromptConfig$outboundSchema = objectType({
|
|
45351
45351
|
stream: booleanType().optional(),
|
|
45352
45352
|
model: stringType().optional(),
|
|
45353
45353
|
modelDbId: stringType().optional(),
|
|
45354
|
-
modelType:
|
|
45355
|
-
modelParameters: lazyType(() =>
|
|
45356
|
-
provider:
|
|
45354
|
+
modelType: UpdatePromptModelType$outboundSchema.optional(),
|
|
45355
|
+
modelParameters: lazyType(() => UpdatePromptModelParameters$outboundSchema).optional(),
|
|
45356
|
+
provider: UpdatePromptProvider$outboundSchema.optional(),
|
|
45357
45357
|
integrationId: nullableType(stringType()).optional(),
|
|
45358
45358
|
version: stringType().optional(),
|
|
45359
45359
|
messages: arrayType(lazyType(() => UpdatePromptPromptsMessages$outboundSchema))
|
|
@@ -45365,33 +45365,33 @@ var init_updateprompt = __esm(() => {
|
|
|
45365
45365
|
integrationId: "integration_id"
|
|
45366
45366
|
});
|
|
45367
45367
|
});
|
|
45368
|
-
((
|
|
45369
|
-
|
|
45370
|
-
|
|
45371
|
-
})(
|
|
45372
|
-
|
|
45373
|
-
|
|
45374
|
-
((
|
|
45375
|
-
|
|
45376
|
-
|
|
45377
|
-
})(
|
|
45378
|
-
|
|
45379
|
-
|
|
45380
|
-
((
|
|
45381
|
-
|
|
45382
|
-
|
|
45383
|
-
})(
|
|
45368
|
+
((UpdatePromptPromptConfig$) => {
|
|
45369
|
+
UpdatePromptPromptConfig$.inboundSchema = UpdatePromptPromptConfig$inboundSchema;
|
|
45370
|
+
UpdatePromptPromptConfig$.outboundSchema = UpdatePromptPromptConfig$outboundSchema;
|
|
45371
|
+
})(UpdatePromptPromptConfig$ ||= {});
|
|
45372
|
+
UpdatePromptUseCases$inboundSchema = nativeEnumType(UpdatePromptUseCases);
|
|
45373
|
+
UpdatePromptUseCases$outboundSchema = UpdatePromptUseCases$inboundSchema;
|
|
45374
|
+
((UpdatePromptUseCases$) => {
|
|
45375
|
+
UpdatePromptUseCases$.inboundSchema = UpdatePromptUseCases$inboundSchema;
|
|
45376
|
+
UpdatePromptUseCases$.outboundSchema = UpdatePromptUseCases$outboundSchema;
|
|
45377
|
+
})(UpdatePromptUseCases$ ||= {});
|
|
45378
|
+
UpdatePromptLanguage$inboundSchema = nativeEnumType(UpdatePromptLanguage);
|
|
45379
|
+
UpdatePromptLanguage$outboundSchema = UpdatePromptLanguage$inboundSchema;
|
|
45380
|
+
((UpdatePromptLanguage$) => {
|
|
45381
|
+
UpdatePromptLanguage$.inboundSchema = UpdatePromptLanguage$inboundSchema;
|
|
45382
|
+
UpdatePromptLanguage$.outboundSchema = UpdatePromptLanguage$outboundSchema;
|
|
45383
|
+
})(UpdatePromptLanguage$ ||= {});
|
|
45384
45384
|
UpdatePromptPromptsMetadata$inboundSchema = objectType({
|
|
45385
|
-
use_cases: arrayType(
|
|
45386
|
-
language:
|
|
45385
|
+
use_cases: arrayType(UpdatePromptUseCases$inboundSchema).optional(),
|
|
45386
|
+
language: UpdatePromptLanguage$inboundSchema.optional()
|
|
45387
45387
|
}).transform((v2) => {
|
|
45388
45388
|
return remap(v2, {
|
|
45389
45389
|
use_cases: "useCases"
|
|
45390
45390
|
});
|
|
45391
45391
|
});
|
|
45392
45392
|
UpdatePromptPromptsMetadata$outboundSchema = objectType({
|
|
45393
|
-
useCases: arrayType(
|
|
45394
|
-
language:
|
|
45393
|
+
useCases: arrayType(UpdatePromptUseCases$outboundSchema).optional(),
|
|
45394
|
+
language: UpdatePromptLanguage$outboundSchema.optional()
|
|
45395
45395
|
}).transform((v2) => {
|
|
45396
45396
|
return remap(v2, {
|
|
45397
45397
|
useCases: "use_cases"
|
|
@@ -45412,7 +45412,7 @@ var init_updateprompt = __esm(() => {
|
|
|
45412
45412
|
updated_by_id: stringType().optional(),
|
|
45413
45413
|
display_name: stringType(),
|
|
45414
45414
|
description: nullableType(stringType()).optional(),
|
|
45415
|
-
prompt_config: lazyType(() =>
|
|
45415
|
+
prompt_config: lazyType(() => UpdatePromptPromptConfig$inboundSchema),
|
|
45416
45416
|
metadata: lazyType(() => UpdatePromptPromptsMetadata$inboundSchema).optional()
|
|
45417
45417
|
}).transform((v2) => {
|
|
45418
45418
|
return remap(v2, {
|
|
@@ -45435,7 +45435,7 @@ var init_updateprompt = __esm(() => {
|
|
|
45435
45435
|
updatedById: stringType().optional(),
|
|
45436
45436
|
displayName: stringType(),
|
|
45437
45437
|
description: nullableType(stringType()).optional(),
|
|
45438
|
-
promptConfig: lazyType(() =>
|
|
45438
|
+
promptConfig: lazyType(() => UpdatePromptPromptConfig$outboundSchema),
|
|
45439
45439
|
metadata: lazyType(() => UpdatePromptPromptsMetadata$outboundSchema).optional()
|
|
45440
45440
|
}).transform((v2) => {
|
|
45441
45441
|
return remap(v2, {
|
|
@@ -48733,7 +48733,7 @@ async function $do26(client, request, options) {
|
|
|
48733
48733
|
}
|
|
48734
48734
|
const payload = parsed.value;
|
|
48735
48735
|
const body = null;
|
|
48736
|
-
const path = pathToFunc("/v2/prompts")();
|
|
48736
|
+
const path = pathToFunc("/v2/prompts/")();
|
|
48737
48737
|
const query = encodeFormQuery({
|
|
48738
48738
|
ending_before: payload?.ending_before,
|
|
48739
48739
|
limit: payload?.limit,
|
|
@@ -49238,7 +49238,7 @@ var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
|
49238
49238
|
function createMCPServer(deps) {
|
|
49239
49239
|
const server = new McpServer({
|
|
49240
49240
|
name: "Orq",
|
|
49241
|
-
version: "3.2.0-rc.
|
|
49241
|
+
version: "3.2.0-rc.17"
|
|
49242
49242
|
});
|
|
49243
49243
|
const client = new OrqCore({
|
|
49244
49244
|
apiKey: deps.apiKey,
|
|
@@ -49259,10 +49259,10 @@ function createMCPServer(deps) {
|
|
|
49259
49259
|
tool(tool$filesGet);
|
|
49260
49260
|
tool(tool$filesDelete);
|
|
49261
49261
|
tool(tool$promptsList);
|
|
49262
|
-
tool(tool$promptsCreate);
|
|
49263
49262
|
tool(tool$promptsRetrieve);
|
|
49264
49263
|
tool(tool$promptsUpdate);
|
|
49265
49264
|
tool(tool$promptsDelete);
|
|
49265
|
+
tool(tool$promptsCreate);
|
|
49266
49266
|
tool(tool$promptsListVersions);
|
|
49267
49267
|
tool(tool$promptsGetVersion);
|
|
49268
49268
|
tool(tool$remoteconfigsRetrieve);
|
|
@@ -50514,7 +50514,7 @@ var routes = rn({
|
|
|
50514
50514
|
var app = Ve(routes, {
|
|
50515
50515
|
name: "mcp",
|
|
50516
50516
|
versionInfo: {
|
|
50517
|
-
currentVersion: "3.2.0-rc.
|
|
50517
|
+
currentVersion: "3.2.0-rc.17"
|
|
50518
50518
|
}
|
|
50519
50519
|
});
|
|
50520
50520
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -50522,5 +50522,5 @@ export {
|
|
|
50522
50522
|
app
|
|
50523
50523
|
};
|
|
50524
50524
|
|
|
50525
|
-
//# debugId=
|
|
50525
|
+
//# debugId=96478669A37239D064756E2164756E21
|
|
50526
50526
|
//# sourceMappingURL=mcp-server.js.map
|