@orq-ai/node 3.2.5 → 3.2.8
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 +570 -570
- 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 +317 -317
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +444 -442
- 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 +317 -317
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +444 -444
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/README.md +39 -1
- package/packages/orq-rc/docs/sdks/deployments/README.md +81 -0
- package/packages/orq-rc/docs/sdks/prompts/README.md +110 -110
- package/packages/orq-rc/jsr.json +2 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/deploymentsStream.ts +178 -0
- package/packages/orq-rc/src/funcs/promptsList.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/event-streams.ts +264 -0
- package/packages/orq-rc/src/lib/matchers.ts +4 -1
- package/packages/orq-rc/src/lib/security.ts +11 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +4 -2
- package/packages/orq-rc/src/mcp-server/tools/deploymentsStream.ts +37 -0
- package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createprompt.ts +599 -680
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +5960 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +1 -0
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateprompt.ts +682 -599
- package/packages/orq-rc/src/sdk/deployments.ts +19 -0
- package/packages/orq-rc/src/sdk/prompts.ts +14 -14
- 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 +599 -680
- 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 +682 -599
- package/src/sdk/prompts.ts +14 -14
package/bin/mcp-server.js
CHANGED
|
@@ -34234,9 +34234,9 @@ var init_config = __esm(() => {
|
|
|
34234
34234
|
SDK_METADATA = {
|
|
34235
34235
|
language: "typescript",
|
|
34236
34236
|
openapiDocVersion: "2.0",
|
|
34237
|
-
sdkVersion: "3.2.
|
|
34238
|
-
genVersion: "2.558.
|
|
34239
|
-
userAgent: "speakeasy-sdk/typescript 3.2.
|
|
34237
|
+
sdkVersion: "3.2.8",
|
|
34238
|
+
genVersion: "2.558.5",
|
|
34239
|
+
userAgent: "speakeasy-sdk/typescript 3.2.8 2.558.5 2.0 @orq-ai/node"
|
|
34240
34240
|
};
|
|
34241
34241
|
});
|
|
34242
34242
|
|
|
@@ -36271,7 +36271,7 @@ var init_bulkcreatedatapoints = __esm(() => {
|
|
|
36271
36271
|
created_by_id: stringType().optional(),
|
|
36272
36272
|
updated_by_id: stringType().optional(),
|
|
36273
36273
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36274
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
36274
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-21T14:27:17.865Z").transform((v2) => new Date(v2))
|
|
36275
36275
|
}).transform((v2) => {
|
|
36276
36276
|
return remap(v2, {
|
|
36277
36277
|
_id: "id",
|
|
@@ -36292,7 +36292,7 @@ var init_bulkcreatedatapoints = __esm(() => {
|
|
|
36292
36292
|
createdById: stringType().optional(),
|
|
36293
36293
|
updatedById: stringType().optional(),
|
|
36294
36294
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36295
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
36295
|
+
updated: dateType().default(() => new Date("2025-03-21T14:27:17.865Z")).transform((v2) => v2.toISOString())
|
|
36296
36296
|
}).transform((v2) => {
|
|
36297
36297
|
return remap(v2, {
|
|
36298
36298
|
id: "_id",
|
|
@@ -36380,7 +36380,7 @@ var init_createcontact = __esm(() => {
|
|
|
36380
36380
|
tags: arrayType(stringType()).optional(),
|
|
36381
36381
|
metadata: recordType(anyType()).optional(),
|
|
36382
36382
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36383
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
36383
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-21T14:27:17.865Z").transform((v2) => new Date(v2))
|
|
36384
36384
|
}).transform((v2) => {
|
|
36385
36385
|
return remap(v2, {
|
|
36386
36386
|
external_id: "externalId",
|
|
@@ -36397,7 +36397,7 @@ var init_createcontact = __esm(() => {
|
|
|
36397
36397
|
tags: arrayType(stringType()).optional(),
|
|
36398
36398
|
metadata: recordType(anyType()).optional(),
|
|
36399
36399
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36400
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
36400
|
+
updated: dateType().default(() => new Date("2025-03-21T14:27:17.865Z")).transform((v2) => v2.toISOString())
|
|
36401
36401
|
}).transform((v2) => {
|
|
36402
36402
|
return remap(v2, {
|
|
36403
36403
|
externalId: "external_id",
|
|
@@ -36467,7 +36467,7 @@ var init_createdataset = __esm(() => {
|
|
|
36467
36467
|
updated_by_id: stringType().optional(),
|
|
36468
36468
|
metadata: lazyType(() => CreateDatasetMetadata$inboundSchema),
|
|
36469
36469
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36470
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
36470
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-21T14:27:17.865Z").transform((v2) => new Date(v2))
|
|
36471
36471
|
}).transform((v2) => {
|
|
36472
36472
|
return remap(v2, {
|
|
36473
36473
|
_id: "id",
|
|
@@ -36487,7 +36487,7 @@ var init_createdataset = __esm(() => {
|
|
|
36487
36487
|
updatedById: stringType().optional(),
|
|
36488
36488
|
metadata: lazyType(() => CreateDatasetMetadata$outboundSchema),
|
|
36489
36489
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36490
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
36490
|
+
updated: dateType().default(() => new Date("2025-03-21T14:27:17.865Z")).transform((v2) => v2.toISOString())
|
|
36491
36491
|
}).transform((v2) => {
|
|
36492
36492
|
return remap(v2, {
|
|
36493
36493
|
id: "_id",
|
|
@@ -36923,7 +36923,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
36923
36923
|
created_by_id: stringType().optional(),
|
|
36924
36924
|
updated_by_id: stringType().optional(),
|
|
36925
36925
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36926
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
36926
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-21T14:27:17.865Z").transform((v2) => new Date(v2))
|
|
36927
36927
|
}).transform((v2) => {
|
|
36928
36928
|
return remap(v2, {
|
|
36929
36929
|
_id: "id",
|
|
@@ -36944,7 +36944,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
36944
36944
|
createdById: stringType().optional(),
|
|
36945
36945
|
updatedById: stringType().optional(),
|
|
36946
36946
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36947
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
36947
|
+
updated: dateType().default(() => new Date("2025-03-21T14:27:17.865Z")).transform((v2) => v2.toISOString())
|
|
36948
36948
|
}).transform((v2) => {
|
|
36949
36949
|
return remap(v2, {
|
|
36950
36950
|
id: "_id",
|
|
@@ -37029,11 +37029,11 @@ var init_createfeedback = __esm(() => {
|
|
|
37029
37029
|
});
|
|
37030
37030
|
|
|
37031
37031
|
// src/models/operations/createprompt.ts
|
|
37032
|
-
var
|
|
37032
|
+
var ModelType, CreatePromptFormat, Quality, CreatePromptResponseFormatType, ResponseFormatType, PhotoRealVersion, EncodingFormat, ReasoningEffort, Provider, CreatePromptRole, CreatePrompt2PromptsType, CreatePrompt2Type, CreatePromptType, UseCases, Language, CreatePromptPromptsType, CreatePromptModelType, CreatePromptPromptsFormat, CreatePromptQuality, CreatePromptResponseFormatPromptsResponseType, CreatePromptResponseFormatPromptsType, CreatePromptPhotoRealVersion, CreatePromptEncodingFormat, CreatePromptReasoningEffort, CreatePromptProvider, CreatePromptPromptsRole, CreatePrompt2PromptsResponse200Type, CreatePrompt2PromptsResponseType, CreatePromptPromptsResponseType, CreatePromptUseCases, CreatePromptLanguage, ModelType$inboundSchema, ModelType$outboundSchema, ModelType$, CreatePromptFormat$inboundSchema, CreatePromptFormat$outboundSchema, CreatePromptFormat$, Quality$inboundSchema, Quality$outboundSchema, Quality$, CreatePromptResponseFormatType$inboundSchema, CreatePromptResponseFormatType$outboundSchema, CreatePromptResponseFormatType$, 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$, 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$, PromptConfig$inboundSchema, PromptConfig$outboundSchema, PromptConfig$, UseCases$inboundSchema, UseCases$outboundSchema, UseCases$, Language$inboundSchema, Language$outboundSchema, Language$, CreatePromptMetadata$inboundSchema, CreatePromptMetadata$outboundSchema, CreatePromptMetadata$, CreatePromptRequestBody$inboundSchema, CreatePromptRequestBody$outboundSchema, CreatePromptRequestBody$, CreatePromptPromptsType$inboundSchema, CreatePromptPromptsType$outboundSchema, CreatePromptPromptsType$, CreatePromptModelType$inboundSchema, CreatePromptModelType$outboundSchema, CreatePromptModelType$, CreatePromptPromptsFormat$inboundSchema, CreatePromptPromptsFormat$outboundSchema, CreatePromptPromptsFormat$, CreatePromptQuality$inboundSchema, CreatePromptQuality$outboundSchema, CreatePromptQuality$, CreatePromptResponseFormatPromptsResponseType$inboundSchema, CreatePromptResponseFormatPromptsResponseType$outboundSchema, CreatePromptResponseFormatPromptsResponseType$, CreatePromptResponseFormat2$inboundSchema, CreatePromptResponseFormat2$outboundSchema, CreatePromptResponseFormat2$, CreatePromptResponseFormatPromptsType$inboundSchema, CreatePromptResponseFormatPromptsType$outboundSchema, CreatePromptResponseFormatPromptsType$, CreatePromptResponseFormatJsonSchema$inboundSchema, CreatePromptResponseFormatJsonSchema$outboundSchema, CreatePromptResponseFormatJsonSchema$, 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$, 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$, CreatePromptPromptConfig$inboundSchema, CreatePromptPromptConfig$outboundSchema, CreatePromptPromptConfig$, CreatePromptUseCases$inboundSchema, CreatePromptUseCases$outboundSchema, CreatePromptUseCases$, CreatePromptLanguage$inboundSchema, CreatePromptLanguage$outboundSchema, CreatePromptLanguage$, CreatePromptPromptsMetadata$inboundSchema, CreatePromptPromptsMetadata$outboundSchema, CreatePromptPromptsMetadata$, CreatePromptResponseBody$inboundSchema, CreatePromptResponseBody$outboundSchema, CreatePromptResponseBody$;
|
|
37033
37033
|
var init_createprompt = __esm(() => {
|
|
37034
37034
|
init_lib();
|
|
37035
37035
|
init_primitives();
|
|
37036
|
-
|
|
37036
|
+
ModelType = {
|
|
37037
37037
|
Chat: "chat",
|
|
37038
37038
|
Completion: "completion",
|
|
37039
37039
|
Embedding: "embedding",
|
|
@@ -37050,30 +37050,30 @@ var init_createprompt = __esm(() => {
|
|
|
37050
37050
|
Text: "text",
|
|
37051
37051
|
JsonObject: "json_object"
|
|
37052
37052
|
};
|
|
37053
|
-
|
|
37053
|
+
Quality = {
|
|
37054
37054
|
Standard: "standard",
|
|
37055
37055
|
Hd: "hd"
|
|
37056
37056
|
};
|
|
37057
|
-
|
|
37057
|
+
CreatePromptResponseFormatType = {
|
|
37058
37058
|
JsonObject: "json_object"
|
|
37059
37059
|
};
|
|
37060
|
-
|
|
37060
|
+
ResponseFormatType = {
|
|
37061
37061
|
JsonSchema: "json_schema"
|
|
37062
37062
|
};
|
|
37063
|
-
|
|
37063
|
+
PhotoRealVersion = {
|
|
37064
37064
|
V1: "v1",
|
|
37065
37065
|
V2: "v2"
|
|
37066
37066
|
};
|
|
37067
|
-
|
|
37067
|
+
EncodingFormat = {
|
|
37068
37068
|
Float: "float",
|
|
37069
37069
|
Base64: "base64"
|
|
37070
37070
|
};
|
|
37071
|
-
|
|
37071
|
+
ReasoningEffort = {
|
|
37072
37072
|
Low: "low",
|
|
37073
37073
|
Medium: "medium",
|
|
37074
37074
|
High: "high"
|
|
37075
37075
|
};
|
|
37076
|
-
|
|
37076
|
+
Provider = {
|
|
37077
37077
|
Cohere: "cohere",
|
|
37078
37078
|
Openai: "openai",
|
|
37079
37079
|
Anthropic: "anthropic",
|
|
@@ -37112,7 +37112,7 @@ var init_createprompt = __esm(() => {
|
|
|
37112
37112
|
CreatePromptType = {
|
|
37113
37113
|
Function: "function"
|
|
37114
37114
|
};
|
|
37115
|
-
|
|
37115
|
+
UseCases = {
|
|
37116
37116
|
Agents: "Agents",
|
|
37117
37117
|
AgentsSimulations: "Agents simulations",
|
|
37118
37118
|
APIInteraction: "API interaction",
|
|
@@ -37130,7 +37130,7 @@ var init_createprompt = __esm(() => {
|
|
|
37130
37130
|
Summarization: "Summarization",
|
|
37131
37131
|
Tagging: "Tagging"
|
|
37132
37132
|
};
|
|
37133
|
-
|
|
37133
|
+
Language = {
|
|
37134
37134
|
Chinese: "Chinese",
|
|
37135
37135
|
Dutch: "Dutch",
|
|
37136
37136
|
English: "English",
|
|
@@ -37142,7 +37142,7 @@ var init_createprompt = __esm(() => {
|
|
|
37142
37142
|
CreatePromptPromptsType = {
|
|
37143
37143
|
Prompt: "prompt"
|
|
37144
37144
|
};
|
|
37145
|
-
|
|
37145
|
+
CreatePromptModelType = {
|
|
37146
37146
|
Chat: "chat",
|
|
37147
37147
|
Completion: "completion",
|
|
37148
37148
|
Embedding: "embedding",
|
|
@@ -37159,30 +37159,30 @@ var init_createprompt = __esm(() => {
|
|
|
37159
37159
|
Text: "text",
|
|
37160
37160
|
JsonObject: "json_object"
|
|
37161
37161
|
};
|
|
37162
|
-
|
|
37162
|
+
CreatePromptQuality = {
|
|
37163
37163
|
Standard: "standard",
|
|
37164
37164
|
Hd: "hd"
|
|
37165
37165
|
};
|
|
37166
|
-
|
|
37166
|
+
CreatePromptResponseFormatPromptsResponseType = {
|
|
37167
37167
|
JsonObject: "json_object"
|
|
37168
37168
|
};
|
|
37169
|
-
|
|
37169
|
+
CreatePromptResponseFormatPromptsType = {
|
|
37170
37170
|
JsonSchema: "json_schema"
|
|
37171
37171
|
};
|
|
37172
|
-
|
|
37172
|
+
CreatePromptPhotoRealVersion = {
|
|
37173
37173
|
V1: "v1",
|
|
37174
37174
|
V2: "v2"
|
|
37175
37175
|
};
|
|
37176
|
-
|
|
37176
|
+
CreatePromptEncodingFormat = {
|
|
37177
37177
|
Float: "float",
|
|
37178
37178
|
Base64: "base64"
|
|
37179
37179
|
};
|
|
37180
|
-
|
|
37180
|
+
CreatePromptReasoningEffort = {
|
|
37181
37181
|
Low: "low",
|
|
37182
37182
|
Medium: "medium",
|
|
37183
37183
|
High: "high"
|
|
37184
37184
|
};
|
|
37185
|
-
|
|
37185
|
+
CreatePromptProvider = {
|
|
37186
37186
|
Cohere: "cohere",
|
|
37187
37187
|
Openai: "openai",
|
|
37188
37188
|
Anthropic: "anthropic",
|
|
@@ -37221,7 +37221,7 @@ var init_createprompt = __esm(() => {
|
|
|
37221
37221
|
CreatePromptPromptsResponseType = {
|
|
37222
37222
|
Function: "function"
|
|
37223
37223
|
};
|
|
37224
|
-
|
|
37224
|
+
CreatePromptUseCases = {
|
|
37225
37225
|
Agents: "Agents",
|
|
37226
37226
|
AgentsSimulations: "Agents simulations",
|
|
37227
37227
|
APIInteraction: "API interaction",
|
|
@@ -37239,7 +37239,7 @@ var init_createprompt = __esm(() => {
|
|
|
37239
37239
|
Summarization: "Summarization",
|
|
37240
37240
|
Tagging: "Tagging"
|
|
37241
37241
|
};
|
|
37242
|
-
|
|
37242
|
+
CreatePromptLanguage = {
|
|
37243
37243
|
Chinese: "Chinese",
|
|
37244
37244
|
Dutch: "Dutch",
|
|
37245
37245
|
English: "English",
|
|
@@ -37248,111 +37248,111 @@ var init_createprompt = __esm(() => {
|
|
|
37248
37248
|
Russian: "Russian",
|
|
37249
37249
|
Spanish: "Spanish"
|
|
37250
37250
|
};
|
|
37251
|
-
|
|
37252
|
-
|
|
37253
|
-
((
|
|
37254
|
-
|
|
37255
|
-
|
|
37256
|
-
})(
|
|
37251
|
+
ModelType$inboundSchema = nativeEnumType(ModelType);
|
|
37252
|
+
ModelType$outboundSchema = ModelType$inboundSchema;
|
|
37253
|
+
((ModelType$) => {
|
|
37254
|
+
ModelType$.inboundSchema = ModelType$inboundSchema;
|
|
37255
|
+
ModelType$.outboundSchema = ModelType$outboundSchema;
|
|
37256
|
+
})(ModelType$ ||= {});
|
|
37257
37257
|
CreatePromptFormat$inboundSchema = nativeEnumType(CreatePromptFormat);
|
|
37258
37258
|
CreatePromptFormat$outboundSchema = CreatePromptFormat$inboundSchema;
|
|
37259
37259
|
((CreatePromptFormat$) => {
|
|
37260
37260
|
CreatePromptFormat$.inboundSchema = CreatePromptFormat$inboundSchema;
|
|
37261
37261
|
CreatePromptFormat$.outboundSchema = CreatePromptFormat$outboundSchema;
|
|
37262
37262
|
})(CreatePromptFormat$ ||= {});
|
|
37263
|
-
|
|
37264
|
-
|
|
37265
|
-
((
|
|
37266
|
-
|
|
37267
|
-
|
|
37268
|
-
})(
|
|
37269
|
-
CreatePromptResponseFormatPromptsType$inboundSchema = nativeEnumType(CreatePromptResponseFormatPromptsType);
|
|
37270
|
-
CreatePromptResponseFormatPromptsType$outboundSchema = CreatePromptResponseFormatPromptsType$inboundSchema;
|
|
37271
|
-
((CreatePromptResponseFormatPromptsType$) => {
|
|
37272
|
-
CreatePromptResponseFormatPromptsType$.inboundSchema = CreatePromptResponseFormatPromptsType$inboundSchema;
|
|
37273
|
-
CreatePromptResponseFormatPromptsType$.outboundSchema = CreatePromptResponseFormatPromptsType$outboundSchema;
|
|
37274
|
-
})(CreatePromptResponseFormatPromptsType$ ||= {});
|
|
37275
|
-
CreatePromptResponseFormat2$inboundSchema = objectType({
|
|
37276
|
-
type: CreatePromptResponseFormatPromptsType$inboundSchema
|
|
37277
|
-
});
|
|
37278
|
-
CreatePromptResponseFormat2$outboundSchema = objectType({
|
|
37279
|
-
type: CreatePromptResponseFormatPromptsType$outboundSchema
|
|
37280
|
-
});
|
|
37281
|
-
((CreatePromptResponseFormat2$) => {
|
|
37282
|
-
CreatePromptResponseFormat2$.inboundSchema = CreatePromptResponseFormat2$inboundSchema;
|
|
37283
|
-
CreatePromptResponseFormat2$.outboundSchema = CreatePromptResponseFormat2$outboundSchema;
|
|
37284
|
-
})(CreatePromptResponseFormat2$ ||= {});
|
|
37263
|
+
Quality$inboundSchema = nativeEnumType(Quality);
|
|
37264
|
+
Quality$outboundSchema = Quality$inboundSchema;
|
|
37265
|
+
((Quality$) => {
|
|
37266
|
+
Quality$.inboundSchema = Quality$inboundSchema;
|
|
37267
|
+
Quality$.outboundSchema = Quality$outboundSchema;
|
|
37268
|
+
})(Quality$ ||= {});
|
|
37285
37269
|
CreatePromptResponseFormatType$inboundSchema = nativeEnumType(CreatePromptResponseFormatType);
|
|
37286
37270
|
CreatePromptResponseFormatType$outboundSchema = CreatePromptResponseFormatType$inboundSchema;
|
|
37287
37271
|
((CreatePromptResponseFormatType$) => {
|
|
37288
37272
|
CreatePromptResponseFormatType$.inboundSchema = CreatePromptResponseFormatType$inboundSchema;
|
|
37289
37273
|
CreatePromptResponseFormatType$.outboundSchema = CreatePromptResponseFormatType$outboundSchema;
|
|
37290
37274
|
})(CreatePromptResponseFormatType$ ||= {});
|
|
37291
|
-
|
|
37275
|
+
ResponseFormat2$inboundSchema = objectType({
|
|
37276
|
+
type: CreatePromptResponseFormatType$inboundSchema
|
|
37277
|
+
});
|
|
37278
|
+
ResponseFormat2$outboundSchema = objectType({
|
|
37279
|
+
type: CreatePromptResponseFormatType$outboundSchema
|
|
37280
|
+
});
|
|
37281
|
+
((ResponseFormat2$) => {
|
|
37282
|
+
ResponseFormat2$.inboundSchema = ResponseFormat2$inboundSchema;
|
|
37283
|
+
ResponseFormat2$.outboundSchema = ResponseFormat2$outboundSchema;
|
|
37284
|
+
})(ResponseFormat2$ ||= {});
|
|
37285
|
+
ResponseFormatType$inboundSchema = nativeEnumType(ResponseFormatType);
|
|
37286
|
+
ResponseFormatType$outboundSchema = ResponseFormatType$inboundSchema;
|
|
37287
|
+
((ResponseFormatType$) => {
|
|
37288
|
+
ResponseFormatType$.inboundSchema = ResponseFormatType$inboundSchema;
|
|
37289
|
+
ResponseFormatType$.outboundSchema = ResponseFormatType$outboundSchema;
|
|
37290
|
+
})(ResponseFormatType$ ||= {});
|
|
37291
|
+
JsonSchema$inboundSchema = objectType({
|
|
37292
37292
|
name: stringType(),
|
|
37293
37293
|
strict: booleanType(),
|
|
37294
37294
|
schema: recordType(anyType())
|
|
37295
37295
|
});
|
|
37296
|
-
|
|
37296
|
+
JsonSchema$outboundSchema = objectType({
|
|
37297
37297
|
name: stringType(),
|
|
37298
37298
|
strict: booleanType(),
|
|
37299
37299
|
schema: recordType(anyType())
|
|
37300
37300
|
});
|
|
37301
|
-
((
|
|
37302
|
-
|
|
37303
|
-
|
|
37304
|
-
})(
|
|
37305
|
-
|
|
37306
|
-
type:
|
|
37307
|
-
json_schema: lazyType(() =>
|
|
37301
|
+
((JsonSchema$) => {
|
|
37302
|
+
JsonSchema$.inboundSchema = JsonSchema$inboundSchema;
|
|
37303
|
+
JsonSchema$.outboundSchema = JsonSchema$outboundSchema;
|
|
37304
|
+
})(JsonSchema$ ||= {});
|
|
37305
|
+
ResponseFormat1$inboundSchema = objectType({
|
|
37306
|
+
type: ResponseFormatType$inboundSchema,
|
|
37307
|
+
json_schema: lazyType(() => JsonSchema$inboundSchema)
|
|
37308
37308
|
}).transform((v2) => {
|
|
37309
37309
|
return remap(v2, {
|
|
37310
37310
|
json_schema: "jsonSchema"
|
|
37311
37311
|
});
|
|
37312
37312
|
});
|
|
37313
|
-
|
|
37314
|
-
type:
|
|
37315
|
-
jsonSchema: lazyType(() =>
|
|
37313
|
+
ResponseFormat1$outboundSchema = objectType({
|
|
37314
|
+
type: ResponseFormatType$outboundSchema,
|
|
37315
|
+
jsonSchema: lazyType(() => JsonSchema$outboundSchema)
|
|
37316
37316
|
}).transform((v2) => {
|
|
37317
37317
|
return remap(v2, {
|
|
37318
37318
|
jsonSchema: "json_schema"
|
|
37319
37319
|
});
|
|
37320
37320
|
});
|
|
37321
|
-
((
|
|
37322
|
-
|
|
37323
|
-
|
|
37324
|
-
})(
|
|
37325
|
-
|
|
37326
|
-
lazyType(() =>
|
|
37327
|
-
lazyType(() =>
|
|
37321
|
+
((ResponseFormat1$) => {
|
|
37322
|
+
ResponseFormat1$.inboundSchema = ResponseFormat1$inboundSchema;
|
|
37323
|
+
ResponseFormat1$.outboundSchema = ResponseFormat1$outboundSchema;
|
|
37324
|
+
})(ResponseFormat1$ ||= {});
|
|
37325
|
+
ResponseFormat$inboundSchema = unionType([
|
|
37326
|
+
lazyType(() => ResponseFormat2$inboundSchema),
|
|
37327
|
+
lazyType(() => ResponseFormat1$inboundSchema)
|
|
37328
37328
|
]);
|
|
37329
|
-
|
|
37330
|
-
lazyType(() =>
|
|
37331
|
-
lazyType(() =>
|
|
37329
|
+
ResponseFormat$outboundSchema = unionType([
|
|
37330
|
+
lazyType(() => ResponseFormat2$outboundSchema),
|
|
37331
|
+
lazyType(() => ResponseFormat1$outboundSchema)
|
|
37332
37332
|
]);
|
|
37333
|
-
((
|
|
37334
|
-
|
|
37335
|
-
|
|
37336
|
-
})(
|
|
37337
|
-
|
|
37338
|
-
|
|
37339
|
-
((
|
|
37340
|
-
|
|
37341
|
-
|
|
37342
|
-
})(
|
|
37343
|
-
|
|
37344
|
-
|
|
37345
|
-
((
|
|
37346
|
-
|
|
37347
|
-
|
|
37348
|
-
})(
|
|
37349
|
-
|
|
37350
|
-
|
|
37351
|
-
((
|
|
37352
|
-
|
|
37353
|
-
|
|
37354
|
-
})(
|
|
37355
|
-
|
|
37333
|
+
((ResponseFormat$) => {
|
|
37334
|
+
ResponseFormat$.inboundSchema = ResponseFormat$inboundSchema;
|
|
37335
|
+
ResponseFormat$.outboundSchema = ResponseFormat$outboundSchema;
|
|
37336
|
+
})(ResponseFormat$ ||= {});
|
|
37337
|
+
PhotoRealVersion$inboundSchema = nativeEnumType(PhotoRealVersion);
|
|
37338
|
+
PhotoRealVersion$outboundSchema = PhotoRealVersion$inboundSchema;
|
|
37339
|
+
((PhotoRealVersion$) => {
|
|
37340
|
+
PhotoRealVersion$.inboundSchema = PhotoRealVersion$inboundSchema;
|
|
37341
|
+
PhotoRealVersion$.outboundSchema = PhotoRealVersion$outboundSchema;
|
|
37342
|
+
})(PhotoRealVersion$ ||= {});
|
|
37343
|
+
EncodingFormat$inboundSchema = nativeEnumType(EncodingFormat);
|
|
37344
|
+
EncodingFormat$outboundSchema = EncodingFormat$inboundSchema;
|
|
37345
|
+
((EncodingFormat$) => {
|
|
37346
|
+
EncodingFormat$.inboundSchema = EncodingFormat$inboundSchema;
|
|
37347
|
+
EncodingFormat$.outboundSchema = EncodingFormat$outboundSchema;
|
|
37348
|
+
})(EncodingFormat$ ||= {});
|
|
37349
|
+
ReasoningEffort$inboundSchema = nativeEnumType(ReasoningEffort);
|
|
37350
|
+
ReasoningEffort$outboundSchema = ReasoningEffort$inboundSchema;
|
|
37351
|
+
((ReasoningEffort$) => {
|
|
37352
|
+
ReasoningEffort$.inboundSchema = ReasoningEffort$inboundSchema;
|
|
37353
|
+
ReasoningEffort$.outboundSchema = ReasoningEffort$outboundSchema;
|
|
37354
|
+
})(ReasoningEffort$ ||= {});
|
|
37355
|
+
ModelParameters$inboundSchema = objectType({
|
|
37356
37356
|
temperature: numberType().optional(),
|
|
37357
37357
|
maxTokens: numberType().optional(),
|
|
37358
37358
|
topK: numberType().optional(),
|
|
@@ -37363,22 +37363,22 @@ var init_createprompt = __esm(() => {
|
|
|
37363
37363
|
seed: numberType().optional(),
|
|
37364
37364
|
format: CreatePromptFormat$inboundSchema.optional(),
|
|
37365
37365
|
dimensions: stringType().optional(),
|
|
37366
|
-
quality:
|
|
37366
|
+
quality: Quality$inboundSchema.optional(),
|
|
37367
37367
|
style: stringType().optional(),
|
|
37368
37368
|
responseFormat: nullableType(unionType([
|
|
37369
|
-
lazyType(() =>
|
|
37370
|
-
lazyType(() =>
|
|
37369
|
+
lazyType(() => ResponseFormat2$inboundSchema),
|
|
37370
|
+
lazyType(() => ResponseFormat1$inboundSchema)
|
|
37371
37371
|
])).optional(),
|
|
37372
|
-
photoRealVersion:
|
|
37373
|
-
encoding_format:
|
|
37374
|
-
reasoningEffort:
|
|
37372
|
+
photoRealVersion: PhotoRealVersion$inboundSchema.optional(),
|
|
37373
|
+
encoding_format: EncodingFormat$inboundSchema.optional(),
|
|
37374
|
+
reasoningEffort: ReasoningEffort$inboundSchema.optional(),
|
|
37375
37375
|
budgetTokens: numberType().optional()
|
|
37376
37376
|
}).transform((v2) => {
|
|
37377
37377
|
return remap(v2, {
|
|
37378
37378
|
encoding_format: "encodingFormat"
|
|
37379
37379
|
});
|
|
37380
37380
|
});
|
|
37381
|
-
|
|
37381
|
+
ModelParameters$outboundSchema = objectType({
|
|
37382
37382
|
temperature: numberType().optional(),
|
|
37383
37383
|
maxTokens: numberType().optional(),
|
|
37384
37384
|
topK: numberType().optional(),
|
|
@@ -37389,31 +37389,31 @@ var init_createprompt = __esm(() => {
|
|
|
37389
37389
|
seed: numberType().optional(),
|
|
37390
37390
|
format: CreatePromptFormat$outboundSchema.optional(),
|
|
37391
37391
|
dimensions: stringType().optional(),
|
|
37392
|
-
quality:
|
|
37392
|
+
quality: Quality$outboundSchema.optional(),
|
|
37393
37393
|
style: stringType().optional(),
|
|
37394
37394
|
responseFormat: nullableType(unionType([
|
|
37395
|
-
lazyType(() =>
|
|
37396
|
-
lazyType(() =>
|
|
37395
|
+
lazyType(() => ResponseFormat2$outboundSchema),
|
|
37396
|
+
lazyType(() => ResponseFormat1$outboundSchema)
|
|
37397
37397
|
])).optional(),
|
|
37398
|
-
photoRealVersion:
|
|
37399
|
-
encodingFormat:
|
|
37400
|
-
reasoningEffort:
|
|
37398
|
+
photoRealVersion: PhotoRealVersion$outboundSchema.optional(),
|
|
37399
|
+
encodingFormat: EncodingFormat$outboundSchema.optional(),
|
|
37400
|
+
reasoningEffort: ReasoningEffort$outboundSchema.optional(),
|
|
37401
37401
|
budgetTokens: numberType().optional()
|
|
37402
37402
|
}).transform((v2) => {
|
|
37403
37403
|
return remap(v2, {
|
|
37404
37404
|
encodingFormat: "encoding_format"
|
|
37405
37405
|
});
|
|
37406
37406
|
});
|
|
37407
|
-
((
|
|
37408
|
-
|
|
37409
|
-
|
|
37410
|
-
})(
|
|
37411
|
-
|
|
37412
|
-
|
|
37413
|
-
((
|
|
37414
|
-
|
|
37415
|
-
|
|
37416
|
-
})(
|
|
37407
|
+
((ModelParameters$) => {
|
|
37408
|
+
ModelParameters$.inboundSchema = ModelParameters$inboundSchema;
|
|
37409
|
+
ModelParameters$.outboundSchema = ModelParameters$outboundSchema;
|
|
37410
|
+
})(ModelParameters$ ||= {});
|
|
37411
|
+
Provider$inboundSchema = nativeEnumType(Provider);
|
|
37412
|
+
Provider$outboundSchema = Provider$inboundSchema;
|
|
37413
|
+
((Provider$) => {
|
|
37414
|
+
Provider$.inboundSchema = Provider$inboundSchema;
|
|
37415
|
+
Provider$.outboundSchema = Provider$outboundSchema;
|
|
37416
|
+
})(Provider$ ||= {});
|
|
37417
37417
|
CreatePromptRole$inboundSchema = nativeEnumType(CreatePromptRole);
|
|
37418
37418
|
CreatePromptRole$outboundSchema = CreatePromptRole$inboundSchema;
|
|
37419
37419
|
((CreatePromptRole$) => {
|
|
@@ -37574,12 +37574,12 @@ var init_createprompt = __esm(() => {
|
|
|
37574
37574
|
CreatePromptMessages$.inboundSchema = CreatePromptMessages$inboundSchema;
|
|
37575
37575
|
CreatePromptMessages$.outboundSchema = CreatePromptMessages$outboundSchema;
|
|
37576
37576
|
})(CreatePromptMessages$ ||= {});
|
|
37577
|
-
|
|
37577
|
+
PromptConfig$inboundSchema = objectType({
|
|
37578
37578
|
stream: booleanType().optional(),
|
|
37579
37579
|
model: stringType().optional(),
|
|
37580
|
-
model_type:
|
|
37581
|
-
model_parameters: lazyType(() =>
|
|
37582
|
-
provider:
|
|
37580
|
+
model_type: ModelType$inboundSchema.optional(),
|
|
37581
|
+
model_parameters: lazyType(() => ModelParameters$inboundSchema).optional(),
|
|
37582
|
+
provider: Provider$inboundSchema.optional(),
|
|
37583
37583
|
version: stringType().optional(),
|
|
37584
37584
|
messages: arrayType(lazyType(() => CreatePromptMessages$inboundSchema))
|
|
37585
37585
|
}).transform((v2) => {
|
|
@@ -37588,12 +37588,12 @@ var init_createprompt = __esm(() => {
|
|
|
37588
37588
|
model_parameters: "modelParameters"
|
|
37589
37589
|
});
|
|
37590
37590
|
});
|
|
37591
|
-
|
|
37591
|
+
PromptConfig$outboundSchema = objectType({
|
|
37592
37592
|
stream: booleanType().optional(),
|
|
37593
37593
|
model: stringType().optional(),
|
|
37594
|
-
modelType:
|
|
37595
|
-
modelParameters: lazyType(() =>
|
|
37596
|
-
provider:
|
|
37594
|
+
modelType: ModelType$outboundSchema.optional(),
|
|
37595
|
+
modelParameters: lazyType(() => ModelParameters$outboundSchema).optional(),
|
|
37596
|
+
provider: Provider$outboundSchema.optional(),
|
|
37597
37597
|
version: stringType().optional(),
|
|
37598
37598
|
messages: arrayType(lazyType(() => CreatePromptMessages$outboundSchema))
|
|
37599
37599
|
}).transform((v2) => {
|
|
@@ -37602,33 +37602,33 @@ var init_createprompt = __esm(() => {
|
|
|
37602
37602
|
modelParameters: "model_parameters"
|
|
37603
37603
|
});
|
|
37604
37604
|
});
|
|
37605
|
-
((
|
|
37606
|
-
|
|
37607
|
-
|
|
37608
|
-
})(
|
|
37609
|
-
|
|
37610
|
-
|
|
37611
|
-
((
|
|
37612
|
-
|
|
37613
|
-
|
|
37614
|
-
})(
|
|
37615
|
-
|
|
37616
|
-
|
|
37617
|
-
((
|
|
37618
|
-
|
|
37619
|
-
|
|
37620
|
-
})(
|
|
37605
|
+
((PromptConfig$) => {
|
|
37606
|
+
PromptConfig$.inboundSchema = PromptConfig$inboundSchema;
|
|
37607
|
+
PromptConfig$.outboundSchema = PromptConfig$outboundSchema;
|
|
37608
|
+
})(PromptConfig$ ||= {});
|
|
37609
|
+
UseCases$inboundSchema = nativeEnumType(UseCases);
|
|
37610
|
+
UseCases$outboundSchema = UseCases$inboundSchema;
|
|
37611
|
+
((UseCases$) => {
|
|
37612
|
+
UseCases$.inboundSchema = UseCases$inboundSchema;
|
|
37613
|
+
UseCases$.outboundSchema = UseCases$outboundSchema;
|
|
37614
|
+
})(UseCases$ ||= {});
|
|
37615
|
+
Language$inboundSchema = nativeEnumType(Language);
|
|
37616
|
+
Language$outboundSchema = Language$inboundSchema;
|
|
37617
|
+
((Language$) => {
|
|
37618
|
+
Language$.inboundSchema = Language$inboundSchema;
|
|
37619
|
+
Language$.outboundSchema = Language$outboundSchema;
|
|
37620
|
+
})(Language$ ||= {});
|
|
37621
37621
|
CreatePromptMetadata$inboundSchema = objectType({
|
|
37622
|
-
use_cases: arrayType(
|
|
37623
|
-
language:
|
|
37622
|
+
use_cases: arrayType(UseCases$inboundSchema).optional(),
|
|
37623
|
+
language: Language$inboundSchema.optional()
|
|
37624
37624
|
}).transform((v2) => {
|
|
37625
37625
|
return remap(v2, {
|
|
37626
37626
|
use_cases: "useCases"
|
|
37627
37627
|
});
|
|
37628
37628
|
});
|
|
37629
37629
|
CreatePromptMetadata$outboundSchema = objectType({
|
|
37630
|
-
useCases: arrayType(
|
|
37631
|
-
language:
|
|
37630
|
+
useCases: arrayType(UseCases$outboundSchema).optional(),
|
|
37631
|
+
language: Language$outboundSchema.optional()
|
|
37632
37632
|
}).transform((v2) => {
|
|
37633
37633
|
return remap(v2, {
|
|
37634
37634
|
useCases: "use_cases"
|
|
@@ -37641,7 +37641,7 @@ var init_createprompt = __esm(() => {
|
|
|
37641
37641
|
CreatePromptRequestBody$inboundSchema = objectType({
|
|
37642
37642
|
display_name: stringType(),
|
|
37643
37643
|
description: nullableType(stringType()).optional(),
|
|
37644
|
-
prompt_config: lazyType(() =>
|
|
37644
|
+
prompt_config: lazyType(() => PromptConfig$inboundSchema),
|
|
37645
37645
|
metadata: lazyType(() => CreatePromptMetadata$inboundSchema).optional(),
|
|
37646
37646
|
path: stringType()
|
|
37647
37647
|
}).transform((v2) => {
|
|
@@ -37653,7 +37653,7 @@ var init_createprompt = __esm(() => {
|
|
|
37653
37653
|
CreatePromptRequestBody$outboundSchema = objectType({
|
|
37654
37654
|
displayName: stringType(),
|
|
37655
37655
|
description: nullableType(stringType()).optional(),
|
|
37656
|
-
promptConfig: lazyType(() =>
|
|
37656
|
+
promptConfig: lazyType(() => PromptConfig$outboundSchema),
|
|
37657
37657
|
metadata: lazyType(() => CreatePromptMetadata$outboundSchema).optional(),
|
|
37658
37658
|
path: stringType()
|
|
37659
37659
|
}).transform((v2) => {
|
|
@@ -37672,46 +37672,46 @@ var init_createprompt = __esm(() => {
|
|
|
37672
37672
|
CreatePromptPromptsType$.inboundSchema = CreatePromptPromptsType$inboundSchema;
|
|
37673
37673
|
CreatePromptPromptsType$.outboundSchema = CreatePromptPromptsType$outboundSchema;
|
|
37674
37674
|
})(CreatePromptPromptsType$ ||= {});
|
|
37675
|
-
|
|
37676
|
-
|
|
37677
|
-
((
|
|
37678
|
-
|
|
37679
|
-
|
|
37680
|
-
})(
|
|
37675
|
+
CreatePromptModelType$inboundSchema = nativeEnumType(CreatePromptModelType);
|
|
37676
|
+
CreatePromptModelType$outboundSchema = CreatePromptModelType$inboundSchema;
|
|
37677
|
+
((CreatePromptModelType$) => {
|
|
37678
|
+
CreatePromptModelType$.inboundSchema = CreatePromptModelType$inboundSchema;
|
|
37679
|
+
CreatePromptModelType$.outboundSchema = CreatePromptModelType$outboundSchema;
|
|
37680
|
+
})(CreatePromptModelType$ ||= {});
|
|
37681
37681
|
CreatePromptPromptsFormat$inboundSchema = nativeEnumType(CreatePromptPromptsFormat);
|
|
37682
37682
|
CreatePromptPromptsFormat$outboundSchema = CreatePromptPromptsFormat$inboundSchema;
|
|
37683
37683
|
((CreatePromptPromptsFormat$) => {
|
|
37684
37684
|
CreatePromptPromptsFormat$.inboundSchema = CreatePromptPromptsFormat$inboundSchema;
|
|
37685
37685
|
CreatePromptPromptsFormat$.outboundSchema = CreatePromptPromptsFormat$outboundSchema;
|
|
37686
37686
|
})(CreatePromptPromptsFormat$ ||= {});
|
|
37687
|
-
|
|
37688
|
-
|
|
37689
|
-
((
|
|
37690
|
-
|
|
37691
|
-
|
|
37692
|
-
})(
|
|
37693
|
-
CreatePromptResponseFormatPromptsResponse200Type$inboundSchema = nativeEnumType(CreatePromptResponseFormatPromptsResponse200Type);
|
|
37694
|
-
CreatePromptResponseFormatPromptsResponse200Type$outboundSchema = CreatePromptResponseFormatPromptsResponse200Type$inboundSchema;
|
|
37695
|
-
((CreatePromptResponseFormatPromptsResponse200Type$) => {
|
|
37696
|
-
CreatePromptResponseFormatPromptsResponse200Type$.inboundSchema = CreatePromptResponseFormatPromptsResponse200Type$inboundSchema;
|
|
37697
|
-
CreatePromptResponseFormatPromptsResponse200Type$.outboundSchema = CreatePromptResponseFormatPromptsResponse200Type$outboundSchema;
|
|
37698
|
-
})(CreatePromptResponseFormatPromptsResponse200Type$ ||= {});
|
|
37699
|
-
CreatePromptResponseFormatPrompts2$inboundSchema = objectType({
|
|
37700
|
-
type: CreatePromptResponseFormatPromptsResponse200Type$inboundSchema
|
|
37701
|
-
});
|
|
37702
|
-
CreatePromptResponseFormatPrompts2$outboundSchema = objectType({
|
|
37703
|
-
type: CreatePromptResponseFormatPromptsResponse200Type$outboundSchema
|
|
37704
|
-
});
|
|
37705
|
-
((CreatePromptResponseFormatPrompts2$) => {
|
|
37706
|
-
CreatePromptResponseFormatPrompts2$.inboundSchema = CreatePromptResponseFormatPrompts2$inboundSchema;
|
|
37707
|
-
CreatePromptResponseFormatPrompts2$.outboundSchema = CreatePromptResponseFormatPrompts2$outboundSchema;
|
|
37708
|
-
})(CreatePromptResponseFormatPrompts2$ ||= {});
|
|
37687
|
+
CreatePromptQuality$inboundSchema = nativeEnumType(CreatePromptQuality);
|
|
37688
|
+
CreatePromptQuality$outboundSchema = CreatePromptQuality$inboundSchema;
|
|
37689
|
+
((CreatePromptQuality$) => {
|
|
37690
|
+
CreatePromptQuality$.inboundSchema = CreatePromptQuality$inboundSchema;
|
|
37691
|
+
CreatePromptQuality$.outboundSchema = CreatePromptQuality$outboundSchema;
|
|
37692
|
+
})(CreatePromptQuality$ ||= {});
|
|
37709
37693
|
CreatePromptResponseFormatPromptsResponseType$inboundSchema = nativeEnumType(CreatePromptResponseFormatPromptsResponseType);
|
|
37710
37694
|
CreatePromptResponseFormatPromptsResponseType$outboundSchema = CreatePromptResponseFormatPromptsResponseType$inboundSchema;
|
|
37711
37695
|
((CreatePromptResponseFormatPromptsResponseType$) => {
|
|
37712
37696
|
CreatePromptResponseFormatPromptsResponseType$.inboundSchema = CreatePromptResponseFormatPromptsResponseType$inboundSchema;
|
|
37713
37697
|
CreatePromptResponseFormatPromptsResponseType$.outboundSchema = CreatePromptResponseFormatPromptsResponseType$outboundSchema;
|
|
37714
37698
|
})(CreatePromptResponseFormatPromptsResponseType$ ||= {});
|
|
37699
|
+
CreatePromptResponseFormat2$inboundSchema = objectType({
|
|
37700
|
+
type: CreatePromptResponseFormatPromptsResponseType$inboundSchema
|
|
37701
|
+
});
|
|
37702
|
+
CreatePromptResponseFormat2$outboundSchema = objectType({
|
|
37703
|
+
type: CreatePromptResponseFormatPromptsResponseType$outboundSchema
|
|
37704
|
+
});
|
|
37705
|
+
((CreatePromptResponseFormat2$) => {
|
|
37706
|
+
CreatePromptResponseFormat2$.inboundSchema = CreatePromptResponseFormat2$inboundSchema;
|
|
37707
|
+
CreatePromptResponseFormat2$.outboundSchema = CreatePromptResponseFormat2$outboundSchema;
|
|
37708
|
+
})(CreatePromptResponseFormat2$ ||= {});
|
|
37709
|
+
CreatePromptResponseFormatPromptsType$inboundSchema = nativeEnumType(CreatePromptResponseFormatPromptsType);
|
|
37710
|
+
CreatePromptResponseFormatPromptsType$outboundSchema = CreatePromptResponseFormatPromptsType$inboundSchema;
|
|
37711
|
+
((CreatePromptResponseFormatPromptsType$) => {
|
|
37712
|
+
CreatePromptResponseFormatPromptsType$.inboundSchema = CreatePromptResponseFormatPromptsType$inboundSchema;
|
|
37713
|
+
CreatePromptResponseFormatPromptsType$.outboundSchema = CreatePromptResponseFormatPromptsType$outboundSchema;
|
|
37714
|
+
})(CreatePromptResponseFormatPromptsType$ ||= {});
|
|
37715
37715
|
CreatePromptResponseFormatJsonSchema$inboundSchema = objectType({
|
|
37716
37716
|
name: stringType(),
|
|
37717
37717
|
strict: booleanType(),
|
|
@@ -37726,57 +37726,57 @@ var init_createprompt = __esm(() => {
|
|
|
37726
37726
|
CreatePromptResponseFormatJsonSchema$.inboundSchema = CreatePromptResponseFormatJsonSchema$inboundSchema;
|
|
37727
37727
|
CreatePromptResponseFormatJsonSchema$.outboundSchema = CreatePromptResponseFormatJsonSchema$outboundSchema;
|
|
37728
37728
|
})(CreatePromptResponseFormatJsonSchema$ ||= {});
|
|
37729
|
-
|
|
37730
|
-
type:
|
|
37729
|
+
CreatePromptResponseFormat1$inboundSchema = objectType({
|
|
37730
|
+
type: CreatePromptResponseFormatPromptsType$inboundSchema,
|
|
37731
37731
|
json_schema: lazyType(() => CreatePromptResponseFormatJsonSchema$inboundSchema)
|
|
37732
37732
|
}).transform((v2) => {
|
|
37733
37733
|
return remap(v2, {
|
|
37734
37734
|
json_schema: "jsonSchema"
|
|
37735
37735
|
});
|
|
37736
37736
|
});
|
|
37737
|
-
|
|
37738
|
-
type:
|
|
37737
|
+
CreatePromptResponseFormat1$outboundSchema = objectType({
|
|
37738
|
+
type: CreatePromptResponseFormatPromptsType$outboundSchema,
|
|
37739
37739
|
jsonSchema: lazyType(() => CreatePromptResponseFormatJsonSchema$outboundSchema)
|
|
37740
37740
|
}).transform((v2) => {
|
|
37741
37741
|
return remap(v2, {
|
|
37742
37742
|
jsonSchema: "json_schema"
|
|
37743
37743
|
});
|
|
37744
37744
|
});
|
|
37745
|
-
((
|
|
37746
|
-
|
|
37747
|
-
|
|
37748
|
-
})(
|
|
37749
|
-
|
|
37750
|
-
lazyType(() =>
|
|
37751
|
-
lazyType(() =>
|
|
37745
|
+
((CreatePromptResponseFormat1$) => {
|
|
37746
|
+
CreatePromptResponseFormat1$.inboundSchema = CreatePromptResponseFormat1$inboundSchema;
|
|
37747
|
+
CreatePromptResponseFormat1$.outboundSchema = CreatePromptResponseFormat1$outboundSchema;
|
|
37748
|
+
})(CreatePromptResponseFormat1$ ||= {});
|
|
37749
|
+
CreatePromptResponseFormat$inboundSchema = unionType([
|
|
37750
|
+
lazyType(() => CreatePromptResponseFormat2$inboundSchema),
|
|
37751
|
+
lazyType(() => CreatePromptResponseFormat1$inboundSchema)
|
|
37752
37752
|
]);
|
|
37753
|
-
|
|
37754
|
-
lazyType(() =>
|
|
37755
|
-
lazyType(() =>
|
|
37753
|
+
CreatePromptResponseFormat$outboundSchema = unionType([
|
|
37754
|
+
lazyType(() => CreatePromptResponseFormat2$outboundSchema),
|
|
37755
|
+
lazyType(() => CreatePromptResponseFormat1$outboundSchema)
|
|
37756
37756
|
]);
|
|
37757
|
-
((
|
|
37758
|
-
|
|
37759
|
-
|
|
37760
|
-
})(
|
|
37761
|
-
|
|
37762
|
-
|
|
37763
|
-
((
|
|
37764
|
-
|
|
37765
|
-
|
|
37766
|
-
})(
|
|
37767
|
-
|
|
37768
|
-
|
|
37769
|
-
((
|
|
37770
|
-
|
|
37771
|
-
|
|
37772
|
-
})(
|
|
37773
|
-
|
|
37774
|
-
|
|
37775
|
-
((
|
|
37776
|
-
|
|
37777
|
-
|
|
37778
|
-
})(
|
|
37779
|
-
|
|
37757
|
+
((CreatePromptResponseFormat$) => {
|
|
37758
|
+
CreatePromptResponseFormat$.inboundSchema = CreatePromptResponseFormat$inboundSchema;
|
|
37759
|
+
CreatePromptResponseFormat$.outboundSchema = CreatePromptResponseFormat$outboundSchema;
|
|
37760
|
+
})(CreatePromptResponseFormat$ ||= {});
|
|
37761
|
+
CreatePromptPhotoRealVersion$inboundSchema = nativeEnumType(CreatePromptPhotoRealVersion);
|
|
37762
|
+
CreatePromptPhotoRealVersion$outboundSchema = CreatePromptPhotoRealVersion$inboundSchema;
|
|
37763
|
+
((CreatePromptPhotoRealVersion$) => {
|
|
37764
|
+
CreatePromptPhotoRealVersion$.inboundSchema = CreatePromptPhotoRealVersion$inboundSchema;
|
|
37765
|
+
CreatePromptPhotoRealVersion$.outboundSchema = CreatePromptPhotoRealVersion$outboundSchema;
|
|
37766
|
+
})(CreatePromptPhotoRealVersion$ ||= {});
|
|
37767
|
+
CreatePromptEncodingFormat$inboundSchema = nativeEnumType(CreatePromptEncodingFormat);
|
|
37768
|
+
CreatePromptEncodingFormat$outboundSchema = CreatePromptEncodingFormat$inboundSchema;
|
|
37769
|
+
((CreatePromptEncodingFormat$) => {
|
|
37770
|
+
CreatePromptEncodingFormat$.inboundSchema = CreatePromptEncodingFormat$inboundSchema;
|
|
37771
|
+
CreatePromptEncodingFormat$.outboundSchema = CreatePromptEncodingFormat$outboundSchema;
|
|
37772
|
+
})(CreatePromptEncodingFormat$ ||= {});
|
|
37773
|
+
CreatePromptReasoningEffort$inboundSchema = nativeEnumType(CreatePromptReasoningEffort);
|
|
37774
|
+
CreatePromptReasoningEffort$outboundSchema = CreatePromptReasoningEffort$inboundSchema;
|
|
37775
|
+
((CreatePromptReasoningEffort$) => {
|
|
37776
|
+
CreatePromptReasoningEffort$.inboundSchema = CreatePromptReasoningEffort$inboundSchema;
|
|
37777
|
+
CreatePromptReasoningEffort$.outboundSchema = CreatePromptReasoningEffort$outboundSchema;
|
|
37778
|
+
})(CreatePromptReasoningEffort$ ||= {});
|
|
37779
|
+
CreatePromptModelParameters$inboundSchema = objectType({
|
|
37780
37780
|
temperature: numberType().optional(),
|
|
37781
37781
|
maxTokens: numberType().optional(),
|
|
37782
37782
|
topK: numberType().optional(),
|
|
@@ -37787,22 +37787,22 @@ var init_createprompt = __esm(() => {
|
|
|
37787
37787
|
seed: numberType().optional(),
|
|
37788
37788
|
format: CreatePromptPromptsFormat$inboundSchema.optional(),
|
|
37789
37789
|
dimensions: stringType().optional(),
|
|
37790
|
-
quality:
|
|
37790
|
+
quality: CreatePromptQuality$inboundSchema.optional(),
|
|
37791
37791
|
style: stringType().optional(),
|
|
37792
37792
|
responseFormat: nullableType(unionType([
|
|
37793
|
-
lazyType(() =>
|
|
37794
|
-
lazyType(() =>
|
|
37793
|
+
lazyType(() => CreatePromptResponseFormat2$inboundSchema),
|
|
37794
|
+
lazyType(() => CreatePromptResponseFormat1$inboundSchema)
|
|
37795
37795
|
])).optional(),
|
|
37796
|
-
photoRealVersion:
|
|
37797
|
-
encoding_format:
|
|
37798
|
-
reasoningEffort:
|
|
37796
|
+
photoRealVersion: CreatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
37797
|
+
encoding_format: CreatePromptEncodingFormat$inboundSchema.optional(),
|
|
37798
|
+
reasoningEffort: CreatePromptReasoningEffort$inboundSchema.optional(),
|
|
37799
37799
|
budgetTokens: numberType().optional()
|
|
37800
37800
|
}).transform((v2) => {
|
|
37801
37801
|
return remap(v2, {
|
|
37802
37802
|
encoding_format: "encodingFormat"
|
|
37803
37803
|
});
|
|
37804
37804
|
});
|
|
37805
|
-
|
|
37805
|
+
CreatePromptModelParameters$outboundSchema = objectType({
|
|
37806
37806
|
temperature: numberType().optional(),
|
|
37807
37807
|
maxTokens: numberType().optional(),
|
|
37808
37808
|
topK: numberType().optional(),
|
|
@@ -37813,31 +37813,31 @@ var init_createprompt = __esm(() => {
|
|
|
37813
37813
|
seed: numberType().optional(),
|
|
37814
37814
|
format: CreatePromptPromptsFormat$outboundSchema.optional(),
|
|
37815
37815
|
dimensions: stringType().optional(),
|
|
37816
|
-
quality:
|
|
37816
|
+
quality: CreatePromptQuality$outboundSchema.optional(),
|
|
37817
37817
|
style: stringType().optional(),
|
|
37818
37818
|
responseFormat: nullableType(unionType([
|
|
37819
|
-
lazyType(() =>
|
|
37820
|
-
lazyType(() =>
|
|
37819
|
+
lazyType(() => CreatePromptResponseFormat2$outboundSchema),
|
|
37820
|
+
lazyType(() => CreatePromptResponseFormat1$outboundSchema)
|
|
37821
37821
|
])).optional(),
|
|
37822
|
-
photoRealVersion:
|
|
37823
|
-
encodingFormat:
|
|
37824
|
-
reasoningEffort:
|
|
37822
|
+
photoRealVersion: CreatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
37823
|
+
encodingFormat: CreatePromptEncodingFormat$outboundSchema.optional(),
|
|
37824
|
+
reasoningEffort: CreatePromptReasoningEffort$outboundSchema.optional(),
|
|
37825
37825
|
budgetTokens: numberType().optional()
|
|
37826
37826
|
}).transform((v2) => {
|
|
37827
37827
|
return remap(v2, {
|
|
37828
37828
|
encodingFormat: "encoding_format"
|
|
37829
37829
|
});
|
|
37830
37830
|
});
|
|
37831
|
-
((
|
|
37832
|
-
|
|
37833
|
-
|
|
37834
|
-
})(
|
|
37835
|
-
|
|
37836
|
-
|
|
37837
|
-
((
|
|
37838
|
-
|
|
37839
|
-
|
|
37840
|
-
})(
|
|
37831
|
+
((CreatePromptModelParameters$) => {
|
|
37832
|
+
CreatePromptModelParameters$.inboundSchema = CreatePromptModelParameters$inboundSchema;
|
|
37833
|
+
CreatePromptModelParameters$.outboundSchema = CreatePromptModelParameters$outboundSchema;
|
|
37834
|
+
})(CreatePromptModelParameters$ ||= {});
|
|
37835
|
+
CreatePromptProvider$inboundSchema = nativeEnumType(CreatePromptProvider);
|
|
37836
|
+
CreatePromptProvider$outboundSchema = CreatePromptProvider$inboundSchema;
|
|
37837
|
+
((CreatePromptProvider$) => {
|
|
37838
|
+
CreatePromptProvider$.inboundSchema = CreatePromptProvider$inboundSchema;
|
|
37839
|
+
CreatePromptProvider$.outboundSchema = CreatePromptProvider$outboundSchema;
|
|
37840
|
+
})(CreatePromptProvider$ ||= {});
|
|
37841
37841
|
CreatePromptPromptsRole$inboundSchema = nativeEnumType(CreatePromptPromptsRole);
|
|
37842
37842
|
CreatePromptPromptsRole$outboundSchema = CreatePromptPromptsRole$inboundSchema;
|
|
37843
37843
|
((CreatePromptPromptsRole$) => {
|
|
@@ -38000,13 +38000,13 @@ var init_createprompt = __esm(() => {
|
|
|
38000
38000
|
CreatePromptPromptsMessages$.inboundSchema = CreatePromptPromptsMessages$inboundSchema;
|
|
38001
38001
|
CreatePromptPromptsMessages$.outboundSchema = CreatePromptPromptsMessages$outboundSchema;
|
|
38002
38002
|
})(CreatePromptPromptsMessages$ ||= {});
|
|
38003
|
-
|
|
38003
|
+
CreatePromptPromptConfig$inboundSchema = objectType({
|
|
38004
38004
|
stream: booleanType().optional(),
|
|
38005
38005
|
model: stringType().optional(),
|
|
38006
38006
|
model_db_id: stringType().optional(),
|
|
38007
|
-
model_type:
|
|
38008
|
-
model_parameters: lazyType(() =>
|
|
38009
|
-
provider:
|
|
38007
|
+
model_type: CreatePromptModelType$inboundSchema.optional(),
|
|
38008
|
+
model_parameters: lazyType(() => CreatePromptModelParameters$inboundSchema).optional(),
|
|
38009
|
+
provider: CreatePromptProvider$inboundSchema.optional(),
|
|
38010
38010
|
integration_id: nullableType(stringType()).optional(),
|
|
38011
38011
|
version: stringType().optional(),
|
|
38012
38012
|
messages: arrayType(lazyType(() => CreatePromptPromptsMessages$inboundSchema))
|
|
@@ -38018,13 +38018,13 @@ var init_createprompt = __esm(() => {
|
|
|
38018
38018
|
integration_id: "integrationId"
|
|
38019
38019
|
});
|
|
38020
38020
|
});
|
|
38021
|
-
|
|
38021
|
+
CreatePromptPromptConfig$outboundSchema = objectType({
|
|
38022
38022
|
stream: booleanType().optional(),
|
|
38023
38023
|
model: stringType().optional(),
|
|
38024
38024
|
modelDbId: stringType().optional(),
|
|
38025
|
-
modelType:
|
|
38026
|
-
modelParameters: lazyType(() =>
|
|
38027
|
-
provider:
|
|
38025
|
+
modelType: CreatePromptModelType$outboundSchema.optional(),
|
|
38026
|
+
modelParameters: lazyType(() => CreatePromptModelParameters$outboundSchema).optional(),
|
|
38027
|
+
provider: CreatePromptProvider$outboundSchema.optional(),
|
|
38028
38028
|
integrationId: nullableType(stringType()).optional(),
|
|
38029
38029
|
version: stringType().optional(),
|
|
38030
38030
|
messages: arrayType(lazyType(() => CreatePromptPromptsMessages$outboundSchema))
|
|
@@ -38036,33 +38036,33 @@ var init_createprompt = __esm(() => {
|
|
|
38036
38036
|
integrationId: "integration_id"
|
|
38037
38037
|
});
|
|
38038
38038
|
});
|
|
38039
|
-
((
|
|
38040
|
-
|
|
38041
|
-
|
|
38042
|
-
})(
|
|
38043
|
-
|
|
38044
|
-
|
|
38045
|
-
((
|
|
38046
|
-
|
|
38047
|
-
|
|
38048
|
-
})(
|
|
38049
|
-
|
|
38050
|
-
|
|
38051
|
-
((
|
|
38052
|
-
|
|
38053
|
-
|
|
38054
|
-
})(
|
|
38039
|
+
((CreatePromptPromptConfig$) => {
|
|
38040
|
+
CreatePromptPromptConfig$.inboundSchema = CreatePromptPromptConfig$inboundSchema;
|
|
38041
|
+
CreatePromptPromptConfig$.outboundSchema = CreatePromptPromptConfig$outboundSchema;
|
|
38042
|
+
})(CreatePromptPromptConfig$ ||= {});
|
|
38043
|
+
CreatePromptUseCases$inboundSchema = nativeEnumType(CreatePromptUseCases);
|
|
38044
|
+
CreatePromptUseCases$outboundSchema = CreatePromptUseCases$inboundSchema;
|
|
38045
|
+
((CreatePromptUseCases$) => {
|
|
38046
|
+
CreatePromptUseCases$.inboundSchema = CreatePromptUseCases$inboundSchema;
|
|
38047
|
+
CreatePromptUseCases$.outboundSchema = CreatePromptUseCases$outboundSchema;
|
|
38048
|
+
})(CreatePromptUseCases$ ||= {});
|
|
38049
|
+
CreatePromptLanguage$inboundSchema = nativeEnumType(CreatePromptLanguage);
|
|
38050
|
+
CreatePromptLanguage$outboundSchema = CreatePromptLanguage$inboundSchema;
|
|
38051
|
+
((CreatePromptLanguage$) => {
|
|
38052
|
+
CreatePromptLanguage$.inboundSchema = CreatePromptLanguage$inboundSchema;
|
|
38053
|
+
CreatePromptLanguage$.outboundSchema = CreatePromptLanguage$outboundSchema;
|
|
38054
|
+
})(CreatePromptLanguage$ ||= {});
|
|
38055
38055
|
CreatePromptPromptsMetadata$inboundSchema = objectType({
|
|
38056
|
-
use_cases: arrayType(
|
|
38057
|
-
language:
|
|
38056
|
+
use_cases: arrayType(CreatePromptUseCases$inboundSchema).optional(),
|
|
38057
|
+
language: CreatePromptLanguage$inboundSchema.optional()
|
|
38058
38058
|
}).transform((v2) => {
|
|
38059
38059
|
return remap(v2, {
|
|
38060
38060
|
use_cases: "useCases"
|
|
38061
38061
|
});
|
|
38062
38062
|
});
|
|
38063
38063
|
CreatePromptPromptsMetadata$outboundSchema = objectType({
|
|
38064
|
-
useCases: arrayType(
|
|
38065
|
-
language:
|
|
38064
|
+
useCases: arrayType(CreatePromptUseCases$outboundSchema).optional(),
|
|
38065
|
+
language: CreatePromptLanguage$outboundSchema.optional()
|
|
38066
38066
|
}).transform((v2) => {
|
|
38067
38067
|
return remap(v2, {
|
|
38068
38068
|
useCases: "use_cases"
|
|
@@ -38083,7 +38083,7 @@ var init_createprompt = __esm(() => {
|
|
|
38083
38083
|
updated_by_id: nullableType(stringType()).optional(),
|
|
38084
38084
|
display_name: stringType(),
|
|
38085
38085
|
description: nullableType(stringType()).optional(),
|
|
38086
|
-
prompt_config: lazyType(() =>
|
|
38086
|
+
prompt_config: lazyType(() => CreatePromptPromptConfig$inboundSchema),
|
|
38087
38087
|
metadata: lazyType(() => CreatePromptPromptsMetadata$inboundSchema).optional()
|
|
38088
38088
|
}).transform((v2) => {
|
|
38089
38089
|
return remap(v2, {
|
|
@@ -38106,7 +38106,7 @@ var init_createprompt = __esm(() => {
|
|
|
38106
38106
|
updatedById: nullableType(stringType()).optional(),
|
|
38107
38107
|
displayName: stringType(),
|
|
38108
38108
|
description: nullableType(stringType()).optional(),
|
|
38109
|
-
promptConfig: lazyType(() =>
|
|
38109
|
+
promptConfig: lazyType(() => CreatePromptPromptConfig$outboundSchema),
|
|
38110
38110
|
metadata: lazyType(() => CreatePromptPromptsMetadata$outboundSchema).optional()
|
|
38111
38111
|
}).transform((v2) => {
|
|
38112
38112
|
return remap(v2, {
|
|
@@ -43178,7 +43178,7 @@ var init_fileget = __esm(() => {
|
|
|
43178
43178
|
bytes: numberType(),
|
|
43179
43179
|
file_name: stringType(),
|
|
43180
43180
|
workspace_id: stringType(),
|
|
43181
|
-
created: stringType().datetime({ offset: true }).default("2025-03-
|
|
43181
|
+
created: stringType().datetime({ offset: true }).default("2025-03-21T14:27:19.052Z").transform((v2) => new Date(v2))
|
|
43182
43182
|
}).transform((v2) => {
|
|
43183
43183
|
return remap(v2, {
|
|
43184
43184
|
_id: "id",
|
|
@@ -43194,7 +43194,7 @@ var init_fileget = __esm(() => {
|
|
|
43194
43194
|
bytes: numberType(),
|
|
43195
43195
|
fileName: stringType(),
|
|
43196
43196
|
workspaceId: stringType(),
|
|
43197
|
-
created: dateType().default(() => new Date("2025-03-
|
|
43197
|
+
created: dateType().default(() => new Date("2025-03-21T14:27:19.052Z")).transform((v2) => v2.toISOString())
|
|
43198
43198
|
}).transform((v2) => {
|
|
43199
43199
|
return remap(v2, {
|
|
43200
43200
|
id: "_id",
|
|
@@ -43277,7 +43277,7 @@ var init_filelist = __esm(() => {
|
|
|
43277
43277
|
bytes: numberType(),
|
|
43278
43278
|
file_name: stringType(),
|
|
43279
43279
|
workspace_id: stringType(),
|
|
43280
|
-
created: stringType().datetime({ offset: true }).default("2025-03-
|
|
43280
|
+
created: stringType().datetime({ offset: true }).default("2025-03-21T14:27:19.052Z").transform((v2) => new Date(v2))
|
|
43281
43281
|
}).transform((v2) => {
|
|
43282
43282
|
return remap(v2, {
|
|
43283
43283
|
_id: "id",
|
|
@@ -43293,7 +43293,7 @@ var init_filelist = __esm(() => {
|
|
|
43293
43293
|
bytes: numberType(),
|
|
43294
43294
|
fileName: stringType(),
|
|
43295
43295
|
workspaceId: stringType(),
|
|
43296
|
-
created: dateType().default(() => new Date("2025-03-
|
|
43296
|
+
created: dateType().default(() => new Date("2025-03-21T14:27:19.052Z")).transform((v2) => v2.toISOString())
|
|
43297
43297
|
}).transform((v2) => {
|
|
43298
43298
|
return remap(v2, {
|
|
43299
43299
|
id: "_id",
|
|
@@ -43425,7 +43425,7 @@ var init_fileupload = __esm(() => {
|
|
|
43425
43425
|
bytes: numberType(),
|
|
43426
43426
|
file_name: stringType(),
|
|
43427
43427
|
workspace_id: stringType(),
|
|
43428
|
-
created: stringType().datetime({ offset: true }).default("2025-03-
|
|
43428
|
+
created: stringType().datetime({ offset: true }).default("2025-03-21T14:27:19.052Z").transform((v2) => new Date(v2))
|
|
43429
43429
|
}).transform((v2) => {
|
|
43430
43430
|
return remap(v2, {
|
|
43431
43431
|
_id: "id",
|
|
@@ -43441,7 +43441,7 @@ var init_fileupload = __esm(() => {
|
|
|
43441
43441
|
bytes: numberType(),
|
|
43442
43442
|
fileName: stringType(),
|
|
43443
43443
|
workspaceId: stringType(),
|
|
43444
|
-
created: dateType().default(() => new Date("2025-03-
|
|
43444
|
+
created: dateType().default(() => new Date("2025-03-21T14:27:19.052Z")).transform((v2) => v2.toISOString())
|
|
43445
43445
|
}).transform((v2) => {
|
|
43446
43446
|
return remap(v2, {
|
|
43447
43447
|
id: "_id",
|
|
@@ -45493,7 +45493,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
45493
45493
|
created_by_id: stringType().optional(),
|
|
45494
45494
|
updated_by_id: stringType().optional(),
|
|
45495
45495
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
45496
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
45496
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-21T14:27:17.865Z").transform((v2) => new Date(v2))
|
|
45497
45497
|
}).transform((v2) => {
|
|
45498
45498
|
return remap(v2, {
|
|
45499
45499
|
_id: "id",
|
|
@@ -45514,7 +45514,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
45514
45514
|
createdById: stringType().optional(),
|
|
45515
45515
|
updatedById: stringType().optional(),
|
|
45516
45516
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
45517
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
45517
|
+
updated: dateType().default(() => new Date("2025-03-21T14:27:17.865Z")).transform((v2) => v2.toISOString())
|
|
45518
45518
|
}).transform((v2) => {
|
|
45519
45519
|
return remap(v2, {
|
|
45520
45520
|
id: "_id",
|
|
@@ -45634,7 +45634,7 @@ var init_listdatasets = __esm(() => {
|
|
|
45634
45634
|
updated_by_id: stringType().optional(),
|
|
45635
45635
|
metadata: lazyType(() => ListDatasetsMetadata$inboundSchema),
|
|
45636
45636
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
45637
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
45637
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-21T14:27:17.865Z").transform((v2) => new Date(v2))
|
|
45638
45638
|
}).transform((v2) => {
|
|
45639
45639
|
return remap(v2, {
|
|
45640
45640
|
_id: "id",
|
|
@@ -45654,7 +45654,7 @@ var init_listdatasets = __esm(() => {
|
|
|
45654
45654
|
updatedById: stringType().optional(),
|
|
45655
45655
|
metadata: lazyType(() => ListDatasetsMetadata$outboundSchema),
|
|
45656
45656
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
45657
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
45657
|
+
updated: dateType().default(() => new Date("2025-03-21T14:27:17.865Z")).transform((v2) => v2.toISOString())
|
|
45658
45658
|
}).transform((v2) => {
|
|
45659
45659
|
return remap(v2, {
|
|
45660
45660
|
id: "_id",
|
|
@@ -46578,7 +46578,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
46578
46578
|
created_by_id: stringType().optional(),
|
|
46579
46579
|
updated_by_id: stringType().optional(),
|
|
46580
46580
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
46581
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
46581
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-21T14:27:17.865Z").transform((v2) => new Date(v2))
|
|
46582
46582
|
}).transform((v2) => {
|
|
46583
46583
|
return remap(v2, {
|
|
46584
46584
|
_id: "id",
|
|
@@ -46599,7 +46599,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
46599
46599
|
createdById: stringType().optional(),
|
|
46600
46600
|
updatedById: stringType().optional(),
|
|
46601
46601
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
46602
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
46602
|
+
updated: dateType().default(() => new Date("2025-03-21T14:27:17.865Z")).transform((v2) => v2.toISOString())
|
|
46603
46603
|
}).transform((v2) => {
|
|
46604
46604
|
return remap(v2, {
|
|
46605
46605
|
id: "_id",
|
|
@@ -46670,7 +46670,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
46670
46670
|
updated_by_id: stringType().optional(),
|
|
46671
46671
|
metadata: lazyType(() => RetrieveDatasetMetadata$inboundSchema),
|
|
46672
46672
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
46673
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
46673
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-21T14:27:17.865Z").transform((v2) => new Date(v2))
|
|
46674
46674
|
}).transform((v2) => {
|
|
46675
46675
|
return remap(v2, {
|
|
46676
46676
|
_id: "id",
|
|
@@ -46690,7 +46690,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
46690
46690
|
updatedById: stringType().optional(),
|
|
46691
46691
|
metadata: lazyType(() => RetrieveDatasetMetadata$outboundSchema),
|
|
46692
46692
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
46693
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
46693
|
+
updated: dateType().default(() => new Date("2025-03-21T14:27:17.865Z")).transform((v2) => v2.toISOString())
|
|
46694
46694
|
}).transform((v2) => {
|
|
46695
46695
|
return remap(v2, {
|
|
46696
46696
|
id: "_id",
|
|
@@ -47130,7 +47130,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
47130
47130
|
created_by_id: stringType().optional(),
|
|
47131
47131
|
updated_by_id: stringType().optional(),
|
|
47132
47132
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
47133
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
47133
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-21T14:27:17.865Z").transform((v2) => new Date(v2))
|
|
47134
47134
|
}).transform((v2) => {
|
|
47135
47135
|
return remap(v2, {
|
|
47136
47136
|
_id: "id",
|
|
@@ -47151,7 +47151,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
47151
47151
|
createdById: stringType().optional(),
|
|
47152
47152
|
updatedById: stringType().optional(),
|
|
47153
47153
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
47154
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
47154
|
+
updated: dateType().default(() => new Date("2025-03-21T14:27:17.865Z")).transform((v2) => v2.toISOString())
|
|
47155
47155
|
}).transform((v2) => {
|
|
47156
47156
|
return remap(v2, {
|
|
47157
47157
|
id: "_id",
|
|
@@ -47246,7 +47246,7 @@ var init_updatedataset = __esm(() => {
|
|
|
47246
47246
|
parent_id: stringType().optional(),
|
|
47247
47247
|
version: stringType().optional(),
|
|
47248
47248
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
47249
|
-
updated: stringType().datetime({ offset: true }).default("2025-03-
|
|
47249
|
+
updated: stringType().datetime({ offset: true }).default("2025-03-21T14:27:17.865Z").transform((v2) => new Date(v2))
|
|
47250
47250
|
}).transform((v2) => {
|
|
47251
47251
|
return remap(v2, {
|
|
47252
47252
|
_id: "id",
|
|
@@ -47269,7 +47269,7 @@ var init_updatedataset = __esm(() => {
|
|
|
47269
47269
|
parentId: stringType().optional(),
|
|
47270
47270
|
version: stringType().optional(),
|
|
47271
47271
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
47272
|
-
updated: dateType().default(() => new Date("2025-03-
|
|
47272
|
+
updated: dateType().default(() => new Date("2025-03-21T14:27:17.865Z")).transform((v2) => v2.toISOString())
|
|
47273
47273
|
}).transform((v2) => {
|
|
47274
47274
|
return remap(v2, {
|
|
47275
47275
|
id: "_id",
|
|
@@ -47288,11 +47288,11 @@ var init_updatedataset = __esm(() => {
|
|
|
47288
47288
|
});
|
|
47289
47289
|
|
|
47290
47290
|
// src/models/operations/updateprompt.ts
|
|
47291
|
-
var
|
|
47291
|
+
var UpdatePromptModelType, UpdatePromptFormat, UpdatePromptQuality, UpdatePromptResponseFormatPromptsType, UpdatePromptResponseFormatType, UpdatePromptPhotoRealVersion, UpdatePromptEncodingFormat, UpdatePromptReasoningEffort, UpdatePromptProvider, UpdatePromptRole, UpdatePrompt2PromptsType, UpdatePrompt2Type, UpdatePromptType, UpdatePromptUseCases, UpdatePromptLanguage, UpdatePromptPromptsType, UpdatePromptPromptsModelType, UpdatePromptPromptsFormat, UpdatePromptPromptsQuality, UpdatePromptResponseFormatPromptsResponse200Type, UpdatePromptResponseFormatPromptsResponseType, UpdatePromptPromptsPhotoRealVersion, UpdatePromptPromptsEncodingFormat, UpdatePromptPromptsReasoningEffort, UpdatePromptPromptsProvider, UpdatePromptPromptsRole, UpdatePrompt2PromptsResponse200Type, UpdatePrompt2PromptsResponseType, UpdatePromptPromptsResponseType, UpdatePromptPromptsUseCases, UpdatePromptPromptsLanguage, UpdatePromptModelType$inboundSchema, UpdatePromptModelType$outboundSchema, UpdatePromptModelType$, UpdatePromptFormat$inboundSchema, UpdatePromptFormat$outboundSchema, UpdatePromptFormat$, UpdatePromptQuality$inboundSchema, UpdatePromptQuality$outboundSchema, UpdatePromptQuality$, UpdatePromptResponseFormatPromptsType$inboundSchema, UpdatePromptResponseFormatPromptsType$outboundSchema, UpdatePromptResponseFormatPromptsType$, UpdatePromptResponseFormat2$inboundSchema, UpdatePromptResponseFormat2$outboundSchema, UpdatePromptResponseFormat2$, UpdatePromptResponseFormatType$inboundSchema, UpdatePromptResponseFormatType$outboundSchema, UpdatePromptResponseFormatType$, ResponseFormatJsonSchema$inboundSchema, ResponseFormatJsonSchema$outboundSchema, ResponseFormatJsonSchema$, 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$, 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$, UpdatePromptPromptConfig$inboundSchema, UpdatePromptPromptConfig$outboundSchema, UpdatePromptPromptConfig$, UpdatePromptUseCases$inboundSchema, UpdatePromptUseCases$outboundSchema, UpdatePromptUseCases$, UpdatePromptLanguage$inboundSchema, UpdatePromptLanguage$outboundSchema, UpdatePromptLanguage$, UpdatePromptMetadata$inboundSchema, UpdatePromptMetadata$outboundSchema, UpdatePromptMetadata$, UpdatePromptRequestBody$inboundSchema, UpdatePromptRequestBody$outboundSchema, UpdatePromptRequestBody$, UpdatePromptRequest$inboundSchema, UpdatePromptRequest$outboundSchema, UpdatePromptRequest$, UpdatePromptPromptsType$inboundSchema, UpdatePromptPromptsType$outboundSchema, UpdatePromptPromptsType$, UpdatePromptPromptsModelType$inboundSchema, UpdatePromptPromptsModelType$outboundSchema, UpdatePromptPromptsModelType$, UpdatePromptPromptsFormat$inboundSchema, UpdatePromptPromptsFormat$outboundSchema, UpdatePromptPromptsFormat$, UpdatePromptPromptsQuality$inboundSchema, UpdatePromptPromptsQuality$outboundSchema, UpdatePromptPromptsQuality$, UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema, UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema, UpdatePromptResponseFormatPromptsResponse200Type$, UpdatePromptResponseFormatPrompts2$inboundSchema, UpdatePromptResponseFormatPrompts2$outboundSchema, UpdatePromptResponseFormatPrompts2$, UpdatePromptResponseFormatPromptsResponseType$inboundSchema, UpdatePromptResponseFormatPromptsResponseType$outboundSchema, UpdatePromptResponseFormatPromptsResponseType$, UpdatePromptResponseFormatJsonSchema$inboundSchema, UpdatePromptResponseFormatJsonSchema$outboundSchema, UpdatePromptResponseFormatJsonSchema$, UpdatePromptResponseFormatPrompts1$inboundSchema, UpdatePromptResponseFormatPrompts1$outboundSchema, UpdatePromptResponseFormatPrompts1$, UpdatePromptPromptsResponseFormat$inboundSchema, UpdatePromptPromptsResponseFormat$outboundSchema, UpdatePromptPromptsResponseFormat$, UpdatePromptPromptsPhotoRealVersion$inboundSchema, UpdatePromptPromptsPhotoRealVersion$outboundSchema, UpdatePromptPromptsPhotoRealVersion$, UpdatePromptPromptsEncodingFormat$inboundSchema, UpdatePromptPromptsEncodingFormat$outboundSchema, UpdatePromptPromptsEncodingFormat$, UpdatePromptPromptsReasoningEffort$inboundSchema, UpdatePromptPromptsReasoningEffort$outboundSchema, UpdatePromptPromptsReasoningEffort$, UpdatePromptPromptsModelParameters$inboundSchema, UpdatePromptPromptsModelParameters$outboundSchema, UpdatePromptPromptsModelParameters$, UpdatePromptPromptsProvider$inboundSchema, UpdatePromptPromptsProvider$outboundSchema, UpdatePromptPromptsProvider$, 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$, UpdatePromptPromptsPromptConfig$inboundSchema, UpdatePromptPromptsPromptConfig$outboundSchema, UpdatePromptPromptsPromptConfig$, UpdatePromptPromptsUseCases$inboundSchema, UpdatePromptPromptsUseCases$outboundSchema, UpdatePromptPromptsUseCases$, UpdatePromptPromptsLanguage$inboundSchema, UpdatePromptPromptsLanguage$outboundSchema, UpdatePromptPromptsLanguage$, UpdatePromptPromptsMetadata$inboundSchema, UpdatePromptPromptsMetadata$outboundSchema, UpdatePromptPromptsMetadata$, UpdatePromptResponseBody$inboundSchema, UpdatePromptResponseBody$outboundSchema, UpdatePromptResponseBody$;
|
|
47292
47292
|
var init_updateprompt = __esm(() => {
|
|
47293
47293
|
init_lib();
|
|
47294
47294
|
init_primitives();
|
|
47295
|
-
|
|
47295
|
+
UpdatePromptModelType = {
|
|
47296
47296
|
Chat: "chat",
|
|
47297
47297
|
Completion: "completion",
|
|
47298
47298
|
Embedding: "embedding",
|
|
@@ -47309,30 +47309,30 @@ var init_updateprompt = __esm(() => {
|
|
|
47309
47309
|
Text: "text",
|
|
47310
47310
|
JsonObject: "json_object"
|
|
47311
47311
|
};
|
|
47312
|
-
|
|
47312
|
+
UpdatePromptQuality = {
|
|
47313
47313
|
Standard: "standard",
|
|
47314
47314
|
Hd: "hd"
|
|
47315
47315
|
};
|
|
47316
|
-
|
|
47316
|
+
UpdatePromptResponseFormatPromptsType = {
|
|
47317
47317
|
JsonObject: "json_object"
|
|
47318
47318
|
};
|
|
47319
|
-
|
|
47319
|
+
UpdatePromptResponseFormatType = {
|
|
47320
47320
|
JsonSchema: "json_schema"
|
|
47321
47321
|
};
|
|
47322
|
-
|
|
47322
|
+
UpdatePromptPhotoRealVersion = {
|
|
47323
47323
|
V1: "v1",
|
|
47324
47324
|
V2: "v2"
|
|
47325
47325
|
};
|
|
47326
|
-
|
|
47326
|
+
UpdatePromptEncodingFormat = {
|
|
47327
47327
|
Float: "float",
|
|
47328
47328
|
Base64: "base64"
|
|
47329
47329
|
};
|
|
47330
|
-
|
|
47330
|
+
UpdatePromptReasoningEffort = {
|
|
47331
47331
|
Low: "low",
|
|
47332
47332
|
Medium: "medium",
|
|
47333
47333
|
High: "high"
|
|
47334
47334
|
};
|
|
47335
|
-
|
|
47335
|
+
UpdatePromptProvider = {
|
|
47336
47336
|
Cohere: "cohere",
|
|
47337
47337
|
Openai: "openai",
|
|
47338
47338
|
Anthropic: "anthropic",
|
|
@@ -47371,7 +47371,7 @@ var init_updateprompt = __esm(() => {
|
|
|
47371
47371
|
UpdatePromptType = {
|
|
47372
47372
|
Function: "function"
|
|
47373
47373
|
};
|
|
47374
|
-
|
|
47374
|
+
UpdatePromptUseCases = {
|
|
47375
47375
|
Agents: "Agents",
|
|
47376
47376
|
AgentsSimulations: "Agents simulations",
|
|
47377
47377
|
APIInteraction: "API interaction",
|
|
@@ -47389,7 +47389,7 @@ var init_updateprompt = __esm(() => {
|
|
|
47389
47389
|
Summarization: "Summarization",
|
|
47390
47390
|
Tagging: "Tagging"
|
|
47391
47391
|
};
|
|
47392
|
-
|
|
47392
|
+
UpdatePromptLanguage = {
|
|
47393
47393
|
Chinese: "Chinese",
|
|
47394
47394
|
Dutch: "Dutch",
|
|
47395
47395
|
English: "English",
|
|
@@ -47401,7 +47401,7 @@ var init_updateprompt = __esm(() => {
|
|
|
47401
47401
|
UpdatePromptPromptsType = {
|
|
47402
47402
|
Prompt: "prompt"
|
|
47403
47403
|
};
|
|
47404
|
-
|
|
47404
|
+
UpdatePromptPromptsModelType = {
|
|
47405
47405
|
Chat: "chat",
|
|
47406
47406
|
Completion: "completion",
|
|
47407
47407
|
Embedding: "embedding",
|
|
@@ -47418,30 +47418,30 @@ var init_updateprompt = __esm(() => {
|
|
|
47418
47418
|
Text: "text",
|
|
47419
47419
|
JsonObject: "json_object"
|
|
47420
47420
|
};
|
|
47421
|
-
|
|
47421
|
+
UpdatePromptPromptsQuality = {
|
|
47422
47422
|
Standard: "standard",
|
|
47423
47423
|
Hd: "hd"
|
|
47424
47424
|
};
|
|
47425
|
-
|
|
47425
|
+
UpdatePromptResponseFormatPromptsResponse200Type = {
|
|
47426
47426
|
JsonObject: "json_object"
|
|
47427
47427
|
};
|
|
47428
|
-
|
|
47428
|
+
UpdatePromptResponseFormatPromptsResponseType = {
|
|
47429
47429
|
JsonSchema: "json_schema"
|
|
47430
47430
|
};
|
|
47431
|
-
|
|
47431
|
+
UpdatePromptPromptsPhotoRealVersion = {
|
|
47432
47432
|
V1: "v1",
|
|
47433
47433
|
V2: "v2"
|
|
47434
47434
|
};
|
|
47435
|
-
|
|
47435
|
+
UpdatePromptPromptsEncodingFormat = {
|
|
47436
47436
|
Float: "float",
|
|
47437
47437
|
Base64: "base64"
|
|
47438
47438
|
};
|
|
47439
|
-
|
|
47439
|
+
UpdatePromptPromptsReasoningEffort = {
|
|
47440
47440
|
Low: "low",
|
|
47441
47441
|
Medium: "medium",
|
|
47442
47442
|
High: "high"
|
|
47443
47443
|
};
|
|
47444
|
-
|
|
47444
|
+
UpdatePromptPromptsProvider = {
|
|
47445
47445
|
Cohere: "cohere",
|
|
47446
47446
|
Openai: "openai",
|
|
47447
47447
|
Anthropic: "anthropic",
|
|
@@ -47480,7 +47480,7 @@ var init_updateprompt = __esm(() => {
|
|
|
47480
47480
|
UpdatePromptPromptsResponseType = {
|
|
47481
47481
|
Function: "function"
|
|
47482
47482
|
};
|
|
47483
|
-
|
|
47483
|
+
UpdatePromptPromptsUseCases = {
|
|
47484
47484
|
Agents: "Agents",
|
|
47485
47485
|
AgentsSimulations: "Agents simulations",
|
|
47486
47486
|
APIInteraction: "API interaction",
|
|
@@ -47498,7 +47498,7 @@ var init_updateprompt = __esm(() => {
|
|
|
47498
47498
|
Summarization: "Summarization",
|
|
47499
47499
|
Tagging: "Tagging"
|
|
47500
47500
|
};
|
|
47501
|
-
|
|
47501
|
+
UpdatePromptPromptsLanguage = {
|
|
47502
47502
|
Chinese: "Chinese",
|
|
47503
47503
|
Dutch: "Dutch",
|
|
47504
47504
|
English: "English",
|
|
@@ -47507,111 +47507,111 @@ var init_updateprompt = __esm(() => {
|
|
|
47507
47507
|
Russian: "Russian",
|
|
47508
47508
|
Spanish: "Spanish"
|
|
47509
47509
|
};
|
|
47510
|
-
|
|
47511
|
-
|
|
47512
|
-
((
|
|
47513
|
-
|
|
47514
|
-
|
|
47515
|
-
})(
|
|
47510
|
+
UpdatePromptModelType$inboundSchema = nativeEnumType(UpdatePromptModelType);
|
|
47511
|
+
UpdatePromptModelType$outboundSchema = UpdatePromptModelType$inboundSchema;
|
|
47512
|
+
((UpdatePromptModelType$) => {
|
|
47513
|
+
UpdatePromptModelType$.inboundSchema = UpdatePromptModelType$inboundSchema;
|
|
47514
|
+
UpdatePromptModelType$.outboundSchema = UpdatePromptModelType$outboundSchema;
|
|
47515
|
+
})(UpdatePromptModelType$ ||= {});
|
|
47516
47516
|
UpdatePromptFormat$inboundSchema = nativeEnumType(UpdatePromptFormat);
|
|
47517
47517
|
UpdatePromptFormat$outboundSchema = UpdatePromptFormat$inboundSchema;
|
|
47518
47518
|
((UpdatePromptFormat$) => {
|
|
47519
47519
|
UpdatePromptFormat$.inboundSchema = UpdatePromptFormat$inboundSchema;
|
|
47520
47520
|
UpdatePromptFormat$.outboundSchema = UpdatePromptFormat$outboundSchema;
|
|
47521
47521
|
})(UpdatePromptFormat$ ||= {});
|
|
47522
|
-
|
|
47523
|
-
|
|
47524
|
-
((
|
|
47525
|
-
|
|
47526
|
-
|
|
47527
|
-
})(
|
|
47522
|
+
UpdatePromptQuality$inboundSchema = nativeEnumType(UpdatePromptQuality);
|
|
47523
|
+
UpdatePromptQuality$outboundSchema = UpdatePromptQuality$inboundSchema;
|
|
47524
|
+
((UpdatePromptQuality$) => {
|
|
47525
|
+
UpdatePromptQuality$.inboundSchema = UpdatePromptQuality$inboundSchema;
|
|
47526
|
+
UpdatePromptQuality$.outboundSchema = UpdatePromptQuality$outboundSchema;
|
|
47527
|
+
})(UpdatePromptQuality$ ||= {});
|
|
47528
|
+
UpdatePromptResponseFormatPromptsType$inboundSchema = nativeEnumType(UpdatePromptResponseFormatPromptsType);
|
|
47529
|
+
UpdatePromptResponseFormatPromptsType$outboundSchema = UpdatePromptResponseFormatPromptsType$inboundSchema;
|
|
47530
|
+
((UpdatePromptResponseFormatPromptsType$) => {
|
|
47531
|
+
UpdatePromptResponseFormatPromptsType$.inboundSchema = UpdatePromptResponseFormatPromptsType$inboundSchema;
|
|
47532
|
+
UpdatePromptResponseFormatPromptsType$.outboundSchema = UpdatePromptResponseFormatPromptsType$outboundSchema;
|
|
47533
|
+
})(UpdatePromptResponseFormatPromptsType$ ||= {});
|
|
47534
|
+
UpdatePromptResponseFormat2$inboundSchema = objectType({
|
|
47535
|
+
type: UpdatePromptResponseFormatPromptsType$inboundSchema
|
|
47536
|
+
});
|
|
47537
|
+
UpdatePromptResponseFormat2$outboundSchema = objectType({
|
|
47538
|
+
type: UpdatePromptResponseFormatPromptsType$outboundSchema
|
|
47539
|
+
});
|
|
47540
|
+
((UpdatePromptResponseFormat2$) => {
|
|
47541
|
+
UpdatePromptResponseFormat2$.inboundSchema = UpdatePromptResponseFormat2$inboundSchema;
|
|
47542
|
+
UpdatePromptResponseFormat2$.outboundSchema = UpdatePromptResponseFormat2$outboundSchema;
|
|
47543
|
+
})(UpdatePromptResponseFormat2$ ||= {});
|
|
47528
47544
|
UpdatePromptResponseFormatType$inboundSchema = nativeEnumType(UpdatePromptResponseFormatType);
|
|
47529
47545
|
UpdatePromptResponseFormatType$outboundSchema = UpdatePromptResponseFormatType$inboundSchema;
|
|
47530
47546
|
((UpdatePromptResponseFormatType$) => {
|
|
47531
47547
|
UpdatePromptResponseFormatType$.inboundSchema = UpdatePromptResponseFormatType$inboundSchema;
|
|
47532
47548
|
UpdatePromptResponseFormatType$.outboundSchema = UpdatePromptResponseFormatType$outboundSchema;
|
|
47533
47549
|
})(UpdatePromptResponseFormatType$ ||= {});
|
|
47534
|
-
|
|
47535
|
-
type: UpdatePromptResponseFormatType$inboundSchema
|
|
47536
|
-
});
|
|
47537
|
-
ResponseFormat2$outboundSchema = objectType({
|
|
47538
|
-
type: UpdatePromptResponseFormatType$outboundSchema
|
|
47539
|
-
});
|
|
47540
|
-
((ResponseFormat2$) => {
|
|
47541
|
-
ResponseFormat2$.inboundSchema = ResponseFormat2$inboundSchema;
|
|
47542
|
-
ResponseFormat2$.outboundSchema = ResponseFormat2$outboundSchema;
|
|
47543
|
-
})(ResponseFormat2$ ||= {});
|
|
47544
|
-
ResponseFormatType$inboundSchema = nativeEnumType(ResponseFormatType);
|
|
47545
|
-
ResponseFormatType$outboundSchema = ResponseFormatType$inboundSchema;
|
|
47546
|
-
((ResponseFormatType$) => {
|
|
47547
|
-
ResponseFormatType$.inboundSchema = ResponseFormatType$inboundSchema;
|
|
47548
|
-
ResponseFormatType$.outboundSchema = ResponseFormatType$outboundSchema;
|
|
47549
|
-
})(ResponseFormatType$ ||= {});
|
|
47550
|
-
JsonSchema$inboundSchema = objectType({
|
|
47550
|
+
ResponseFormatJsonSchema$inboundSchema = objectType({
|
|
47551
47551
|
name: stringType(),
|
|
47552
47552
|
strict: booleanType(),
|
|
47553
47553
|
schema: recordType(anyType())
|
|
47554
47554
|
});
|
|
47555
|
-
|
|
47555
|
+
ResponseFormatJsonSchema$outboundSchema = objectType({
|
|
47556
47556
|
name: stringType(),
|
|
47557
47557
|
strict: booleanType(),
|
|
47558
47558
|
schema: recordType(anyType())
|
|
47559
47559
|
});
|
|
47560
|
-
((
|
|
47561
|
-
|
|
47562
|
-
|
|
47563
|
-
})(
|
|
47564
|
-
|
|
47565
|
-
type:
|
|
47566
|
-
json_schema: lazyType(() =>
|
|
47560
|
+
((ResponseFormatJsonSchema$) => {
|
|
47561
|
+
ResponseFormatJsonSchema$.inboundSchema = ResponseFormatJsonSchema$inboundSchema;
|
|
47562
|
+
ResponseFormatJsonSchema$.outboundSchema = ResponseFormatJsonSchema$outboundSchema;
|
|
47563
|
+
})(ResponseFormatJsonSchema$ ||= {});
|
|
47564
|
+
UpdatePromptResponseFormat1$inboundSchema = objectType({
|
|
47565
|
+
type: UpdatePromptResponseFormatType$inboundSchema,
|
|
47566
|
+
json_schema: lazyType(() => ResponseFormatJsonSchema$inboundSchema)
|
|
47567
47567
|
}).transform((v2) => {
|
|
47568
47568
|
return remap(v2, {
|
|
47569
47569
|
json_schema: "jsonSchema"
|
|
47570
47570
|
});
|
|
47571
47571
|
});
|
|
47572
|
-
|
|
47573
|
-
type:
|
|
47574
|
-
jsonSchema: lazyType(() =>
|
|
47572
|
+
UpdatePromptResponseFormat1$outboundSchema = objectType({
|
|
47573
|
+
type: UpdatePromptResponseFormatType$outboundSchema,
|
|
47574
|
+
jsonSchema: lazyType(() => ResponseFormatJsonSchema$outboundSchema)
|
|
47575
47575
|
}).transform((v2) => {
|
|
47576
|
-
return remap(v2, {
|
|
47577
|
-
jsonSchema: "json_schema"
|
|
47578
|
-
});
|
|
47579
|
-
});
|
|
47580
|
-
((
|
|
47581
|
-
|
|
47582
|
-
|
|
47583
|
-
})(
|
|
47584
|
-
|
|
47585
|
-
lazyType(() =>
|
|
47586
|
-
lazyType(() =>
|
|
47587
|
-
]);
|
|
47588
|
-
|
|
47589
|
-
lazyType(() =>
|
|
47590
|
-
lazyType(() =>
|
|
47591
|
-
]);
|
|
47592
|
-
((
|
|
47593
|
-
|
|
47594
|
-
|
|
47595
|
-
})(
|
|
47596
|
-
|
|
47597
|
-
|
|
47598
|
-
((
|
|
47599
|
-
|
|
47600
|
-
|
|
47601
|
-
})(
|
|
47602
|
-
|
|
47603
|
-
|
|
47604
|
-
((
|
|
47605
|
-
|
|
47606
|
-
|
|
47607
|
-
})(
|
|
47608
|
-
|
|
47609
|
-
|
|
47610
|
-
((
|
|
47611
|
-
|
|
47612
|
-
|
|
47613
|
-
})(
|
|
47614
|
-
|
|
47576
|
+
return remap(v2, {
|
|
47577
|
+
jsonSchema: "json_schema"
|
|
47578
|
+
});
|
|
47579
|
+
});
|
|
47580
|
+
((UpdatePromptResponseFormat1$) => {
|
|
47581
|
+
UpdatePromptResponseFormat1$.inboundSchema = UpdatePromptResponseFormat1$inboundSchema;
|
|
47582
|
+
UpdatePromptResponseFormat1$.outboundSchema = UpdatePromptResponseFormat1$outboundSchema;
|
|
47583
|
+
})(UpdatePromptResponseFormat1$ ||= {});
|
|
47584
|
+
UpdatePromptResponseFormat$inboundSchema = unionType([
|
|
47585
|
+
lazyType(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
47586
|
+
lazyType(() => UpdatePromptResponseFormat1$inboundSchema)
|
|
47587
|
+
]);
|
|
47588
|
+
UpdatePromptResponseFormat$outboundSchema = unionType([
|
|
47589
|
+
lazyType(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
47590
|
+
lazyType(() => UpdatePromptResponseFormat1$outboundSchema)
|
|
47591
|
+
]);
|
|
47592
|
+
((UpdatePromptResponseFormat$) => {
|
|
47593
|
+
UpdatePromptResponseFormat$.inboundSchema = UpdatePromptResponseFormat$inboundSchema;
|
|
47594
|
+
UpdatePromptResponseFormat$.outboundSchema = UpdatePromptResponseFormat$outboundSchema;
|
|
47595
|
+
})(UpdatePromptResponseFormat$ ||= {});
|
|
47596
|
+
UpdatePromptPhotoRealVersion$inboundSchema = nativeEnumType(UpdatePromptPhotoRealVersion);
|
|
47597
|
+
UpdatePromptPhotoRealVersion$outboundSchema = UpdatePromptPhotoRealVersion$inboundSchema;
|
|
47598
|
+
((UpdatePromptPhotoRealVersion$) => {
|
|
47599
|
+
UpdatePromptPhotoRealVersion$.inboundSchema = UpdatePromptPhotoRealVersion$inboundSchema;
|
|
47600
|
+
UpdatePromptPhotoRealVersion$.outboundSchema = UpdatePromptPhotoRealVersion$outboundSchema;
|
|
47601
|
+
})(UpdatePromptPhotoRealVersion$ ||= {});
|
|
47602
|
+
UpdatePromptEncodingFormat$inboundSchema = nativeEnumType(UpdatePromptEncodingFormat);
|
|
47603
|
+
UpdatePromptEncodingFormat$outboundSchema = UpdatePromptEncodingFormat$inboundSchema;
|
|
47604
|
+
((UpdatePromptEncodingFormat$) => {
|
|
47605
|
+
UpdatePromptEncodingFormat$.inboundSchema = UpdatePromptEncodingFormat$inboundSchema;
|
|
47606
|
+
UpdatePromptEncodingFormat$.outboundSchema = UpdatePromptEncodingFormat$outboundSchema;
|
|
47607
|
+
})(UpdatePromptEncodingFormat$ ||= {});
|
|
47608
|
+
UpdatePromptReasoningEffort$inboundSchema = nativeEnumType(UpdatePromptReasoningEffort);
|
|
47609
|
+
UpdatePromptReasoningEffort$outboundSchema = UpdatePromptReasoningEffort$inboundSchema;
|
|
47610
|
+
((UpdatePromptReasoningEffort$) => {
|
|
47611
|
+
UpdatePromptReasoningEffort$.inboundSchema = UpdatePromptReasoningEffort$inboundSchema;
|
|
47612
|
+
UpdatePromptReasoningEffort$.outboundSchema = UpdatePromptReasoningEffort$outboundSchema;
|
|
47613
|
+
})(UpdatePromptReasoningEffort$ ||= {});
|
|
47614
|
+
UpdatePromptModelParameters$inboundSchema = objectType({
|
|
47615
47615
|
temperature: numberType().optional(),
|
|
47616
47616
|
maxTokens: numberType().optional(),
|
|
47617
47617
|
topK: numberType().optional(),
|
|
@@ -47622,22 +47622,22 @@ var init_updateprompt = __esm(() => {
|
|
|
47622
47622
|
seed: numberType().optional(),
|
|
47623
47623
|
format: UpdatePromptFormat$inboundSchema.optional(),
|
|
47624
47624
|
dimensions: stringType().optional(),
|
|
47625
|
-
quality:
|
|
47625
|
+
quality: UpdatePromptQuality$inboundSchema.optional(),
|
|
47626
47626
|
style: stringType().optional(),
|
|
47627
47627
|
responseFormat: nullableType(unionType([
|
|
47628
|
-
lazyType(() =>
|
|
47629
|
-
lazyType(() =>
|
|
47628
|
+
lazyType(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
47629
|
+
lazyType(() => UpdatePromptResponseFormat1$inboundSchema)
|
|
47630
47630
|
])).optional(),
|
|
47631
|
-
photoRealVersion:
|
|
47632
|
-
encoding_format:
|
|
47633
|
-
reasoningEffort:
|
|
47631
|
+
photoRealVersion: UpdatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
47632
|
+
encoding_format: UpdatePromptEncodingFormat$inboundSchema.optional(),
|
|
47633
|
+
reasoningEffort: UpdatePromptReasoningEffort$inboundSchema.optional(),
|
|
47634
47634
|
budgetTokens: numberType().optional()
|
|
47635
47635
|
}).transform((v2) => {
|
|
47636
47636
|
return remap(v2, {
|
|
47637
47637
|
encoding_format: "encodingFormat"
|
|
47638
47638
|
});
|
|
47639
47639
|
});
|
|
47640
|
-
|
|
47640
|
+
UpdatePromptModelParameters$outboundSchema = objectType({
|
|
47641
47641
|
temperature: numberType().optional(),
|
|
47642
47642
|
maxTokens: numberType().optional(),
|
|
47643
47643
|
topK: numberType().optional(),
|
|
@@ -47648,31 +47648,31 @@ var init_updateprompt = __esm(() => {
|
|
|
47648
47648
|
seed: numberType().optional(),
|
|
47649
47649
|
format: UpdatePromptFormat$outboundSchema.optional(),
|
|
47650
47650
|
dimensions: stringType().optional(),
|
|
47651
|
-
quality:
|
|
47651
|
+
quality: UpdatePromptQuality$outboundSchema.optional(),
|
|
47652
47652
|
style: stringType().optional(),
|
|
47653
47653
|
responseFormat: nullableType(unionType([
|
|
47654
|
-
lazyType(() =>
|
|
47655
|
-
lazyType(() =>
|
|
47654
|
+
lazyType(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
47655
|
+
lazyType(() => UpdatePromptResponseFormat1$outboundSchema)
|
|
47656
47656
|
])).optional(),
|
|
47657
|
-
photoRealVersion:
|
|
47658
|
-
encodingFormat:
|
|
47659
|
-
reasoningEffort:
|
|
47657
|
+
photoRealVersion: UpdatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
47658
|
+
encodingFormat: UpdatePromptEncodingFormat$outboundSchema.optional(),
|
|
47659
|
+
reasoningEffort: UpdatePromptReasoningEffort$outboundSchema.optional(),
|
|
47660
47660
|
budgetTokens: numberType().optional()
|
|
47661
47661
|
}).transform((v2) => {
|
|
47662
47662
|
return remap(v2, {
|
|
47663
47663
|
encodingFormat: "encoding_format"
|
|
47664
47664
|
});
|
|
47665
47665
|
});
|
|
47666
|
-
((
|
|
47667
|
-
|
|
47668
|
-
|
|
47669
|
-
})(
|
|
47670
|
-
|
|
47671
|
-
|
|
47672
|
-
((
|
|
47673
|
-
|
|
47674
|
-
|
|
47675
|
-
})(
|
|
47666
|
+
((UpdatePromptModelParameters$) => {
|
|
47667
|
+
UpdatePromptModelParameters$.inboundSchema = UpdatePromptModelParameters$inboundSchema;
|
|
47668
|
+
UpdatePromptModelParameters$.outboundSchema = UpdatePromptModelParameters$outboundSchema;
|
|
47669
|
+
})(UpdatePromptModelParameters$ ||= {});
|
|
47670
|
+
UpdatePromptProvider$inboundSchema = nativeEnumType(UpdatePromptProvider);
|
|
47671
|
+
UpdatePromptProvider$outboundSchema = UpdatePromptProvider$inboundSchema;
|
|
47672
|
+
((UpdatePromptProvider$) => {
|
|
47673
|
+
UpdatePromptProvider$.inboundSchema = UpdatePromptProvider$inboundSchema;
|
|
47674
|
+
UpdatePromptProvider$.outboundSchema = UpdatePromptProvider$outboundSchema;
|
|
47675
|
+
})(UpdatePromptProvider$ ||= {});
|
|
47676
47676
|
UpdatePromptRole$inboundSchema = nativeEnumType(UpdatePromptRole);
|
|
47677
47677
|
UpdatePromptRole$outboundSchema = UpdatePromptRole$inboundSchema;
|
|
47678
47678
|
((UpdatePromptRole$) => {
|
|
@@ -47833,12 +47833,12 @@ var init_updateprompt = __esm(() => {
|
|
|
47833
47833
|
UpdatePromptMessages$.inboundSchema = UpdatePromptMessages$inboundSchema;
|
|
47834
47834
|
UpdatePromptMessages$.outboundSchema = UpdatePromptMessages$outboundSchema;
|
|
47835
47835
|
})(UpdatePromptMessages$ ||= {});
|
|
47836
|
-
|
|
47836
|
+
UpdatePromptPromptConfig$inboundSchema = objectType({
|
|
47837
47837
|
stream: booleanType().optional(),
|
|
47838
47838
|
model: stringType().optional(),
|
|
47839
|
-
model_type:
|
|
47840
|
-
model_parameters: lazyType(() =>
|
|
47841
|
-
provider:
|
|
47839
|
+
model_type: UpdatePromptModelType$inboundSchema.optional(),
|
|
47840
|
+
model_parameters: lazyType(() => UpdatePromptModelParameters$inboundSchema).optional(),
|
|
47841
|
+
provider: UpdatePromptProvider$inboundSchema.optional(),
|
|
47842
47842
|
version: stringType().optional(),
|
|
47843
47843
|
messages: arrayType(lazyType(() => UpdatePromptMessages$inboundSchema))
|
|
47844
47844
|
}).transform((v2) => {
|
|
@@ -47847,12 +47847,12 @@ var init_updateprompt = __esm(() => {
|
|
|
47847
47847
|
model_parameters: "modelParameters"
|
|
47848
47848
|
});
|
|
47849
47849
|
});
|
|
47850
|
-
|
|
47850
|
+
UpdatePromptPromptConfig$outboundSchema = objectType({
|
|
47851
47851
|
stream: booleanType().optional(),
|
|
47852
47852
|
model: stringType().optional(),
|
|
47853
|
-
modelType:
|
|
47854
|
-
modelParameters: lazyType(() =>
|
|
47855
|
-
provider:
|
|
47853
|
+
modelType: UpdatePromptModelType$outboundSchema.optional(),
|
|
47854
|
+
modelParameters: lazyType(() => UpdatePromptModelParameters$outboundSchema).optional(),
|
|
47855
|
+
provider: UpdatePromptProvider$outboundSchema.optional(),
|
|
47856
47856
|
version: stringType().optional(),
|
|
47857
47857
|
messages: arrayType(lazyType(() => UpdatePromptMessages$outboundSchema))
|
|
47858
47858
|
}).transform((v2) => {
|
|
@@ -47861,33 +47861,33 @@ var init_updateprompt = __esm(() => {
|
|
|
47861
47861
|
modelParameters: "model_parameters"
|
|
47862
47862
|
});
|
|
47863
47863
|
});
|
|
47864
|
-
((
|
|
47865
|
-
|
|
47866
|
-
|
|
47867
|
-
})(
|
|
47868
|
-
|
|
47869
|
-
|
|
47870
|
-
((
|
|
47871
|
-
|
|
47872
|
-
|
|
47873
|
-
})(
|
|
47874
|
-
|
|
47875
|
-
|
|
47876
|
-
((
|
|
47877
|
-
|
|
47878
|
-
|
|
47879
|
-
})(
|
|
47864
|
+
((UpdatePromptPromptConfig$) => {
|
|
47865
|
+
UpdatePromptPromptConfig$.inboundSchema = UpdatePromptPromptConfig$inboundSchema;
|
|
47866
|
+
UpdatePromptPromptConfig$.outboundSchema = UpdatePromptPromptConfig$outboundSchema;
|
|
47867
|
+
})(UpdatePromptPromptConfig$ ||= {});
|
|
47868
|
+
UpdatePromptUseCases$inboundSchema = nativeEnumType(UpdatePromptUseCases);
|
|
47869
|
+
UpdatePromptUseCases$outboundSchema = UpdatePromptUseCases$inboundSchema;
|
|
47870
|
+
((UpdatePromptUseCases$) => {
|
|
47871
|
+
UpdatePromptUseCases$.inboundSchema = UpdatePromptUseCases$inboundSchema;
|
|
47872
|
+
UpdatePromptUseCases$.outboundSchema = UpdatePromptUseCases$outboundSchema;
|
|
47873
|
+
})(UpdatePromptUseCases$ ||= {});
|
|
47874
|
+
UpdatePromptLanguage$inboundSchema = nativeEnumType(UpdatePromptLanguage);
|
|
47875
|
+
UpdatePromptLanguage$outboundSchema = UpdatePromptLanguage$inboundSchema;
|
|
47876
|
+
((UpdatePromptLanguage$) => {
|
|
47877
|
+
UpdatePromptLanguage$.inboundSchema = UpdatePromptLanguage$inboundSchema;
|
|
47878
|
+
UpdatePromptLanguage$.outboundSchema = UpdatePromptLanguage$outboundSchema;
|
|
47879
|
+
})(UpdatePromptLanguage$ ||= {});
|
|
47880
47880
|
UpdatePromptMetadata$inboundSchema = objectType({
|
|
47881
|
-
use_cases: arrayType(
|
|
47882
|
-
language:
|
|
47881
|
+
use_cases: arrayType(UpdatePromptUseCases$inboundSchema).optional(),
|
|
47882
|
+
language: UpdatePromptLanguage$inboundSchema.optional()
|
|
47883
47883
|
}).transform((v2) => {
|
|
47884
47884
|
return remap(v2, {
|
|
47885
47885
|
use_cases: "useCases"
|
|
47886
47886
|
});
|
|
47887
47887
|
});
|
|
47888
47888
|
UpdatePromptMetadata$outboundSchema = objectType({
|
|
47889
|
-
useCases: arrayType(
|
|
47890
|
-
language:
|
|
47889
|
+
useCases: arrayType(UpdatePromptUseCases$outboundSchema).optional(),
|
|
47890
|
+
language: UpdatePromptLanguage$outboundSchema.optional()
|
|
47891
47891
|
}).transform((v2) => {
|
|
47892
47892
|
return remap(v2, {
|
|
47893
47893
|
useCases: "use_cases"
|
|
@@ -47906,7 +47906,7 @@ var init_updateprompt = __esm(() => {
|
|
|
47906
47906
|
updated_by_id: nullableType(stringType()).optional(),
|
|
47907
47907
|
display_name: stringType().optional(),
|
|
47908
47908
|
description: nullableType(stringType()).optional(),
|
|
47909
|
-
prompt_config: lazyType(() =>
|
|
47909
|
+
prompt_config: lazyType(() => UpdatePromptPromptConfig$inboundSchema).optional(),
|
|
47910
47910
|
metadata: lazyType(() => UpdatePromptMetadata$inboundSchema).optional()
|
|
47911
47911
|
}).transform((v2) => {
|
|
47912
47912
|
return remap(v2, {
|
|
@@ -47926,7 +47926,7 @@ var init_updateprompt = __esm(() => {
|
|
|
47926
47926
|
updatedById: nullableType(stringType()).optional(),
|
|
47927
47927
|
displayName: stringType().optional(),
|
|
47928
47928
|
description: nullableType(stringType()).optional(),
|
|
47929
|
-
promptConfig: lazyType(() =>
|
|
47929
|
+
promptConfig: lazyType(() => UpdatePromptPromptConfig$outboundSchema).optional(),
|
|
47930
47930
|
metadata: lazyType(() => UpdatePromptMetadata$outboundSchema).optional()
|
|
47931
47931
|
}).transform((v2) => {
|
|
47932
47932
|
return remap(v2, {
|
|
@@ -47967,46 +47967,46 @@ var init_updateprompt = __esm(() => {
|
|
|
47967
47967
|
UpdatePromptPromptsType$.inboundSchema = UpdatePromptPromptsType$inboundSchema;
|
|
47968
47968
|
UpdatePromptPromptsType$.outboundSchema = UpdatePromptPromptsType$outboundSchema;
|
|
47969
47969
|
})(UpdatePromptPromptsType$ ||= {});
|
|
47970
|
-
|
|
47971
|
-
|
|
47972
|
-
((
|
|
47973
|
-
|
|
47974
|
-
|
|
47975
|
-
})(
|
|
47970
|
+
UpdatePromptPromptsModelType$inboundSchema = nativeEnumType(UpdatePromptPromptsModelType);
|
|
47971
|
+
UpdatePromptPromptsModelType$outboundSchema = UpdatePromptPromptsModelType$inboundSchema;
|
|
47972
|
+
((UpdatePromptPromptsModelType$) => {
|
|
47973
|
+
UpdatePromptPromptsModelType$.inboundSchema = UpdatePromptPromptsModelType$inboundSchema;
|
|
47974
|
+
UpdatePromptPromptsModelType$.outboundSchema = UpdatePromptPromptsModelType$outboundSchema;
|
|
47975
|
+
})(UpdatePromptPromptsModelType$ ||= {});
|
|
47976
47976
|
UpdatePromptPromptsFormat$inboundSchema = nativeEnumType(UpdatePromptPromptsFormat);
|
|
47977
47977
|
UpdatePromptPromptsFormat$outboundSchema = UpdatePromptPromptsFormat$inboundSchema;
|
|
47978
47978
|
((UpdatePromptPromptsFormat$) => {
|
|
47979
47979
|
UpdatePromptPromptsFormat$.inboundSchema = UpdatePromptPromptsFormat$inboundSchema;
|
|
47980
47980
|
UpdatePromptPromptsFormat$.outboundSchema = UpdatePromptPromptsFormat$outboundSchema;
|
|
47981
47981
|
})(UpdatePromptPromptsFormat$ ||= {});
|
|
47982
|
-
|
|
47983
|
-
|
|
47984
|
-
((
|
|
47985
|
-
|
|
47986
|
-
|
|
47987
|
-
})(
|
|
47982
|
+
UpdatePromptPromptsQuality$inboundSchema = nativeEnumType(UpdatePromptPromptsQuality);
|
|
47983
|
+
UpdatePromptPromptsQuality$outboundSchema = UpdatePromptPromptsQuality$inboundSchema;
|
|
47984
|
+
((UpdatePromptPromptsQuality$) => {
|
|
47985
|
+
UpdatePromptPromptsQuality$.inboundSchema = UpdatePromptPromptsQuality$inboundSchema;
|
|
47986
|
+
UpdatePromptPromptsQuality$.outboundSchema = UpdatePromptPromptsQuality$outboundSchema;
|
|
47987
|
+
})(UpdatePromptPromptsQuality$ ||= {});
|
|
47988
|
+
UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema = nativeEnumType(UpdatePromptResponseFormatPromptsResponse200Type);
|
|
47989
|
+
UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema = UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema;
|
|
47990
|
+
((UpdatePromptResponseFormatPromptsResponse200Type$) => {
|
|
47991
|
+
UpdatePromptResponseFormatPromptsResponse200Type$.inboundSchema = UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema;
|
|
47992
|
+
UpdatePromptResponseFormatPromptsResponse200Type$.outboundSchema = UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema;
|
|
47993
|
+
})(UpdatePromptResponseFormatPromptsResponse200Type$ ||= {});
|
|
47994
|
+
UpdatePromptResponseFormatPrompts2$inboundSchema = objectType({
|
|
47995
|
+
type: UpdatePromptResponseFormatPromptsResponse200Type$inboundSchema
|
|
47996
|
+
});
|
|
47997
|
+
UpdatePromptResponseFormatPrompts2$outboundSchema = objectType({
|
|
47998
|
+
type: UpdatePromptResponseFormatPromptsResponse200Type$outboundSchema
|
|
47999
|
+
});
|
|
48000
|
+
((UpdatePromptResponseFormatPrompts2$) => {
|
|
48001
|
+
UpdatePromptResponseFormatPrompts2$.inboundSchema = UpdatePromptResponseFormatPrompts2$inboundSchema;
|
|
48002
|
+
UpdatePromptResponseFormatPrompts2$.outboundSchema = UpdatePromptResponseFormatPrompts2$outboundSchema;
|
|
48003
|
+
})(UpdatePromptResponseFormatPrompts2$ ||= {});
|
|
47988
48004
|
UpdatePromptResponseFormatPromptsResponseType$inboundSchema = nativeEnumType(UpdatePromptResponseFormatPromptsResponseType);
|
|
47989
48005
|
UpdatePromptResponseFormatPromptsResponseType$outboundSchema = UpdatePromptResponseFormatPromptsResponseType$inboundSchema;
|
|
47990
48006
|
((UpdatePromptResponseFormatPromptsResponseType$) => {
|
|
47991
48007
|
UpdatePromptResponseFormatPromptsResponseType$.inboundSchema = UpdatePromptResponseFormatPromptsResponseType$inboundSchema;
|
|
47992
48008
|
UpdatePromptResponseFormatPromptsResponseType$.outboundSchema = UpdatePromptResponseFormatPromptsResponseType$outboundSchema;
|
|
47993
48009
|
})(UpdatePromptResponseFormatPromptsResponseType$ ||= {});
|
|
47994
|
-
UpdatePromptResponseFormat2$inboundSchema = objectType({
|
|
47995
|
-
type: UpdatePromptResponseFormatPromptsResponseType$inboundSchema
|
|
47996
|
-
});
|
|
47997
|
-
UpdatePromptResponseFormat2$outboundSchema = objectType({
|
|
47998
|
-
type: UpdatePromptResponseFormatPromptsResponseType$outboundSchema
|
|
47999
|
-
});
|
|
48000
|
-
((UpdatePromptResponseFormat2$) => {
|
|
48001
|
-
UpdatePromptResponseFormat2$.inboundSchema = UpdatePromptResponseFormat2$inboundSchema;
|
|
48002
|
-
UpdatePromptResponseFormat2$.outboundSchema = UpdatePromptResponseFormat2$outboundSchema;
|
|
48003
|
-
})(UpdatePromptResponseFormat2$ ||= {});
|
|
48004
|
-
UpdatePromptResponseFormatPromptsType$inboundSchema = nativeEnumType(UpdatePromptResponseFormatPromptsType);
|
|
48005
|
-
UpdatePromptResponseFormatPromptsType$outboundSchema = UpdatePromptResponseFormatPromptsType$inboundSchema;
|
|
48006
|
-
((UpdatePromptResponseFormatPromptsType$) => {
|
|
48007
|
-
UpdatePromptResponseFormatPromptsType$.inboundSchema = UpdatePromptResponseFormatPromptsType$inboundSchema;
|
|
48008
|
-
UpdatePromptResponseFormatPromptsType$.outboundSchema = UpdatePromptResponseFormatPromptsType$outboundSchema;
|
|
48009
|
-
})(UpdatePromptResponseFormatPromptsType$ ||= {});
|
|
48010
48010
|
UpdatePromptResponseFormatJsonSchema$inboundSchema = objectType({
|
|
48011
48011
|
name: stringType(),
|
|
48012
48012
|
strict: booleanType(),
|
|
@@ -48021,57 +48021,57 @@ var init_updateprompt = __esm(() => {
|
|
|
48021
48021
|
UpdatePromptResponseFormatJsonSchema$.inboundSchema = UpdatePromptResponseFormatJsonSchema$inboundSchema;
|
|
48022
48022
|
UpdatePromptResponseFormatJsonSchema$.outboundSchema = UpdatePromptResponseFormatJsonSchema$outboundSchema;
|
|
48023
48023
|
})(UpdatePromptResponseFormatJsonSchema$ ||= {});
|
|
48024
|
-
|
|
48025
|
-
type:
|
|
48024
|
+
UpdatePromptResponseFormatPrompts1$inboundSchema = objectType({
|
|
48025
|
+
type: UpdatePromptResponseFormatPromptsResponseType$inboundSchema,
|
|
48026
48026
|
json_schema: lazyType(() => UpdatePromptResponseFormatJsonSchema$inboundSchema)
|
|
48027
48027
|
}).transform((v2) => {
|
|
48028
48028
|
return remap(v2, {
|
|
48029
48029
|
json_schema: "jsonSchema"
|
|
48030
48030
|
});
|
|
48031
48031
|
});
|
|
48032
|
-
|
|
48033
|
-
type:
|
|
48032
|
+
UpdatePromptResponseFormatPrompts1$outboundSchema = objectType({
|
|
48033
|
+
type: UpdatePromptResponseFormatPromptsResponseType$outboundSchema,
|
|
48034
48034
|
jsonSchema: lazyType(() => UpdatePromptResponseFormatJsonSchema$outboundSchema)
|
|
48035
48035
|
}).transform((v2) => {
|
|
48036
48036
|
return remap(v2, {
|
|
48037
48037
|
jsonSchema: "json_schema"
|
|
48038
48038
|
});
|
|
48039
48039
|
});
|
|
48040
|
-
((
|
|
48041
|
-
|
|
48042
|
-
|
|
48043
|
-
})(
|
|
48044
|
-
|
|
48045
|
-
lazyType(() =>
|
|
48046
|
-
lazyType(() =>
|
|
48040
|
+
((UpdatePromptResponseFormatPrompts1$) => {
|
|
48041
|
+
UpdatePromptResponseFormatPrompts1$.inboundSchema = UpdatePromptResponseFormatPrompts1$inboundSchema;
|
|
48042
|
+
UpdatePromptResponseFormatPrompts1$.outboundSchema = UpdatePromptResponseFormatPrompts1$outboundSchema;
|
|
48043
|
+
})(UpdatePromptResponseFormatPrompts1$ ||= {});
|
|
48044
|
+
UpdatePromptPromptsResponseFormat$inboundSchema = unionType([
|
|
48045
|
+
lazyType(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
48046
|
+
lazyType(() => UpdatePromptResponseFormatPrompts1$inboundSchema)
|
|
48047
48047
|
]);
|
|
48048
|
-
|
|
48049
|
-
lazyType(() =>
|
|
48050
|
-
lazyType(() =>
|
|
48048
|
+
UpdatePromptPromptsResponseFormat$outboundSchema = unionType([
|
|
48049
|
+
lazyType(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
48050
|
+
lazyType(() => UpdatePromptResponseFormatPrompts1$outboundSchema)
|
|
48051
48051
|
]);
|
|
48052
|
-
((
|
|
48053
|
-
|
|
48054
|
-
|
|
48055
|
-
})(
|
|
48056
|
-
|
|
48057
|
-
|
|
48058
|
-
((
|
|
48059
|
-
|
|
48060
|
-
|
|
48061
|
-
})(
|
|
48062
|
-
|
|
48063
|
-
|
|
48064
|
-
((
|
|
48065
|
-
|
|
48066
|
-
|
|
48067
|
-
})(
|
|
48068
|
-
|
|
48069
|
-
|
|
48070
|
-
((
|
|
48071
|
-
|
|
48072
|
-
|
|
48073
|
-
})(
|
|
48074
|
-
|
|
48052
|
+
((UpdatePromptPromptsResponseFormat$) => {
|
|
48053
|
+
UpdatePromptPromptsResponseFormat$.inboundSchema = UpdatePromptPromptsResponseFormat$inboundSchema;
|
|
48054
|
+
UpdatePromptPromptsResponseFormat$.outboundSchema = UpdatePromptPromptsResponseFormat$outboundSchema;
|
|
48055
|
+
})(UpdatePromptPromptsResponseFormat$ ||= {});
|
|
48056
|
+
UpdatePromptPromptsPhotoRealVersion$inboundSchema = nativeEnumType(UpdatePromptPromptsPhotoRealVersion);
|
|
48057
|
+
UpdatePromptPromptsPhotoRealVersion$outboundSchema = UpdatePromptPromptsPhotoRealVersion$inboundSchema;
|
|
48058
|
+
((UpdatePromptPromptsPhotoRealVersion$) => {
|
|
48059
|
+
UpdatePromptPromptsPhotoRealVersion$.inboundSchema = UpdatePromptPromptsPhotoRealVersion$inboundSchema;
|
|
48060
|
+
UpdatePromptPromptsPhotoRealVersion$.outboundSchema = UpdatePromptPromptsPhotoRealVersion$outboundSchema;
|
|
48061
|
+
})(UpdatePromptPromptsPhotoRealVersion$ ||= {});
|
|
48062
|
+
UpdatePromptPromptsEncodingFormat$inboundSchema = nativeEnumType(UpdatePromptPromptsEncodingFormat);
|
|
48063
|
+
UpdatePromptPromptsEncodingFormat$outboundSchema = UpdatePromptPromptsEncodingFormat$inboundSchema;
|
|
48064
|
+
((UpdatePromptPromptsEncodingFormat$) => {
|
|
48065
|
+
UpdatePromptPromptsEncodingFormat$.inboundSchema = UpdatePromptPromptsEncodingFormat$inboundSchema;
|
|
48066
|
+
UpdatePromptPromptsEncodingFormat$.outboundSchema = UpdatePromptPromptsEncodingFormat$outboundSchema;
|
|
48067
|
+
})(UpdatePromptPromptsEncodingFormat$ ||= {});
|
|
48068
|
+
UpdatePromptPromptsReasoningEffort$inboundSchema = nativeEnumType(UpdatePromptPromptsReasoningEffort);
|
|
48069
|
+
UpdatePromptPromptsReasoningEffort$outboundSchema = UpdatePromptPromptsReasoningEffort$inboundSchema;
|
|
48070
|
+
((UpdatePromptPromptsReasoningEffort$) => {
|
|
48071
|
+
UpdatePromptPromptsReasoningEffort$.inboundSchema = UpdatePromptPromptsReasoningEffort$inboundSchema;
|
|
48072
|
+
UpdatePromptPromptsReasoningEffort$.outboundSchema = UpdatePromptPromptsReasoningEffort$outboundSchema;
|
|
48073
|
+
})(UpdatePromptPromptsReasoningEffort$ ||= {});
|
|
48074
|
+
UpdatePromptPromptsModelParameters$inboundSchema = objectType({
|
|
48075
48075
|
temperature: numberType().optional(),
|
|
48076
48076
|
maxTokens: numberType().optional(),
|
|
48077
48077
|
topK: numberType().optional(),
|
|
@@ -48082,22 +48082,22 @@ var init_updateprompt = __esm(() => {
|
|
|
48082
48082
|
seed: numberType().optional(),
|
|
48083
48083
|
format: UpdatePromptPromptsFormat$inboundSchema.optional(),
|
|
48084
48084
|
dimensions: stringType().optional(),
|
|
48085
|
-
quality:
|
|
48085
|
+
quality: UpdatePromptPromptsQuality$inboundSchema.optional(),
|
|
48086
48086
|
style: stringType().optional(),
|
|
48087
48087
|
responseFormat: nullableType(unionType([
|
|
48088
|
-
lazyType(() =>
|
|
48089
|
-
lazyType(() =>
|
|
48088
|
+
lazyType(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
48089
|
+
lazyType(() => UpdatePromptResponseFormatPrompts1$inboundSchema)
|
|
48090
48090
|
])).optional(),
|
|
48091
|
-
photoRealVersion:
|
|
48092
|
-
encoding_format:
|
|
48093
|
-
reasoningEffort:
|
|
48091
|
+
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$inboundSchema.optional(),
|
|
48092
|
+
encoding_format: UpdatePromptPromptsEncodingFormat$inboundSchema.optional(),
|
|
48093
|
+
reasoningEffort: UpdatePromptPromptsReasoningEffort$inboundSchema.optional(),
|
|
48094
48094
|
budgetTokens: numberType().optional()
|
|
48095
48095
|
}).transform((v2) => {
|
|
48096
48096
|
return remap(v2, {
|
|
48097
48097
|
encoding_format: "encodingFormat"
|
|
48098
48098
|
});
|
|
48099
48099
|
});
|
|
48100
|
-
|
|
48100
|
+
UpdatePromptPromptsModelParameters$outboundSchema = objectType({
|
|
48101
48101
|
temperature: numberType().optional(),
|
|
48102
48102
|
maxTokens: numberType().optional(),
|
|
48103
48103
|
topK: numberType().optional(),
|
|
@@ -48108,31 +48108,31 @@ var init_updateprompt = __esm(() => {
|
|
|
48108
48108
|
seed: numberType().optional(),
|
|
48109
48109
|
format: UpdatePromptPromptsFormat$outboundSchema.optional(),
|
|
48110
48110
|
dimensions: stringType().optional(),
|
|
48111
|
-
quality:
|
|
48111
|
+
quality: UpdatePromptPromptsQuality$outboundSchema.optional(),
|
|
48112
48112
|
style: stringType().optional(),
|
|
48113
48113
|
responseFormat: nullableType(unionType([
|
|
48114
|
-
lazyType(() =>
|
|
48115
|
-
lazyType(() =>
|
|
48114
|
+
lazyType(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
48115
|
+
lazyType(() => UpdatePromptResponseFormatPrompts1$outboundSchema)
|
|
48116
48116
|
])).optional(),
|
|
48117
|
-
photoRealVersion:
|
|
48118
|
-
encodingFormat:
|
|
48119
|
-
reasoningEffort:
|
|
48117
|
+
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$outboundSchema.optional(),
|
|
48118
|
+
encodingFormat: UpdatePromptPromptsEncodingFormat$outboundSchema.optional(),
|
|
48119
|
+
reasoningEffort: UpdatePromptPromptsReasoningEffort$outboundSchema.optional(),
|
|
48120
48120
|
budgetTokens: numberType().optional()
|
|
48121
48121
|
}).transform((v2) => {
|
|
48122
48122
|
return remap(v2, {
|
|
48123
48123
|
encodingFormat: "encoding_format"
|
|
48124
48124
|
});
|
|
48125
48125
|
});
|
|
48126
|
-
((
|
|
48127
|
-
|
|
48128
|
-
|
|
48129
|
-
})(
|
|
48130
|
-
|
|
48131
|
-
|
|
48132
|
-
((
|
|
48133
|
-
|
|
48134
|
-
|
|
48135
|
-
})(
|
|
48126
|
+
((UpdatePromptPromptsModelParameters$) => {
|
|
48127
|
+
UpdatePromptPromptsModelParameters$.inboundSchema = UpdatePromptPromptsModelParameters$inboundSchema;
|
|
48128
|
+
UpdatePromptPromptsModelParameters$.outboundSchema = UpdatePromptPromptsModelParameters$outboundSchema;
|
|
48129
|
+
})(UpdatePromptPromptsModelParameters$ ||= {});
|
|
48130
|
+
UpdatePromptPromptsProvider$inboundSchema = nativeEnumType(UpdatePromptPromptsProvider);
|
|
48131
|
+
UpdatePromptPromptsProvider$outboundSchema = UpdatePromptPromptsProvider$inboundSchema;
|
|
48132
|
+
((UpdatePromptPromptsProvider$) => {
|
|
48133
|
+
UpdatePromptPromptsProvider$.inboundSchema = UpdatePromptPromptsProvider$inboundSchema;
|
|
48134
|
+
UpdatePromptPromptsProvider$.outboundSchema = UpdatePromptPromptsProvider$outboundSchema;
|
|
48135
|
+
})(UpdatePromptPromptsProvider$ ||= {});
|
|
48136
48136
|
UpdatePromptPromptsRole$inboundSchema = nativeEnumType(UpdatePromptPromptsRole);
|
|
48137
48137
|
UpdatePromptPromptsRole$outboundSchema = UpdatePromptPromptsRole$inboundSchema;
|
|
48138
48138
|
((UpdatePromptPromptsRole$) => {
|
|
@@ -48295,13 +48295,13 @@ var init_updateprompt = __esm(() => {
|
|
|
48295
48295
|
UpdatePromptPromptsMessages$.inboundSchema = UpdatePromptPromptsMessages$inboundSchema;
|
|
48296
48296
|
UpdatePromptPromptsMessages$.outboundSchema = UpdatePromptPromptsMessages$outboundSchema;
|
|
48297
48297
|
})(UpdatePromptPromptsMessages$ ||= {});
|
|
48298
|
-
|
|
48298
|
+
UpdatePromptPromptsPromptConfig$inboundSchema = objectType({
|
|
48299
48299
|
stream: booleanType().optional(),
|
|
48300
48300
|
model: stringType().optional(),
|
|
48301
48301
|
model_db_id: stringType().optional(),
|
|
48302
|
-
model_type:
|
|
48303
|
-
model_parameters: lazyType(() =>
|
|
48304
|
-
provider:
|
|
48302
|
+
model_type: UpdatePromptPromptsModelType$inboundSchema.optional(),
|
|
48303
|
+
model_parameters: lazyType(() => UpdatePromptPromptsModelParameters$inboundSchema).optional(),
|
|
48304
|
+
provider: UpdatePromptPromptsProvider$inboundSchema.optional(),
|
|
48305
48305
|
integration_id: nullableType(stringType()).optional(),
|
|
48306
48306
|
version: stringType().optional(),
|
|
48307
48307
|
messages: arrayType(lazyType(() => UpdatePromptPromptsMessages$inboundSchema))
|
|
@@ -48313,13 +48313,13 @@ var init_updateprompt = __esm(() => {
|
|
|
48313
48313
|
integration_id: "integrationId"
|
|
48314
48314
|
});
|
|
48315
48315
|
});
|
|
48316
|
-
|
|
48316
|
+
UpdatePromptPromptsPromptConfig$outboundSchema = objectType({
|
|
48317
48317
|
stream: booleanType().optional(),
|
|
48318
48318
|
model: stringType().optional(),
|
|
48319
48319
|
modelDbId: stringType().optional(),
|
|
48320
|
-
modelType:
|
|
48321
|
-
modelParameters: lazyType(() =>
|
|
48322
|
-
provider:
|
|
48320
|
+
modelType: UpdatePromptPromptsModelType$outboundSchema.optional(),
|
|
48321
|
+
modelParameters: lazyType(() => UpdatePromptPromptsModelParameters$outboundSchema).optional(),
|
|
48322
|
+
provider: UpdatePromptPromptsProvider$outboundSchema.optional(),
|
|
48323
48323
|
integrationId: nullableType(stringType()).optional(),
|
|
48324
48324
|
version: stringType().optional(),
|
|
48325
48325
|
messages: arrayType(lazyType(() => UpdatePromptPromptsMessages$outboundSchema))
|
|
@@ -48331,33 +48331,33 @@ var init_updateprompt = __esm(() => {
|
|
|
48331
48331
|
integrationId: "integration_id"
|
|
48332
48332
|
});
|
|
48333
48333
|
});
|
|
48334
|
-
((
|
|
48335
|
-
|
|
48336
|
-
|
|
48337
|
-
})(
|
|
48338
|
-
|
|
48339
|
-
|
|
48340
|
-
((
|
|
48341
|
-
|
|
48342
|
-
|
|
48343
|
-
})(
|
|
48344
|
-
|
|
48345
|
-
|
|
48346
|
-
((
|
|
48347
|
-
|
|
48348
|
-
|
|
48349
|
-
})(
|
|
48334
|
+
((UpdatePromptPromptsPromptConfig$) => {
|
|
48335
|
+
UpdatePromptPromptsPromptConfig$.inboundSchema = UpdatePromptPromptsPromptConfig$inboundSchema;
|
|
48336
|
+
UpdatePromptPromptsPromptConfig$.outboundSchema = UpdatePromptPromptsPromptConfig$outboundSchema;
|
|
48337
|
+
})(UpdatePromptPromptsPromptConfig$ ||= {});
|
|
48338
|
+
UpdatePromptPromptsUseCases$inboundSchema = nativeEnumType(UpdatePromptPromptsUseCases);
|
|
48339
|
+
UpdatePromptPromptsUseCases$outboundSchema = UpdatePromptPromptsUseCases$inboundSchema;
|
|
48340
|
+
((UpdatePromptPromptsUseCases$) => {
|
|
48341
|
+
UpdatePromptPromptsUseCases$.inboundSchema = UpdatePromptPromptsUseCases$inboundSchema;
|
|
48342
|
+
UpdatePromptPromptsUseCases$.outboundSchema = UpdatePromptPromptsUseCases$outboundSchema;
|
|
48343
|
+
})(UpdatePromptPromptsUseCases$ ||= {});
|
|
48344
|
+
UpdatePromptPromptsLanguage$inboundSchema = nativeEnumType(UpdatePromptPromptsLanguage);
|
|
48345
|
+
UpdatePromptPromptsLanguage$outboundSchema = UpdatePromptPromptsLanguage$inboundSchema;
|
|
48346
|
+
((UpdatePromptPromptsLanguage$) => {
|
|
48347
|
+
UpdatePromptPromptsLanguage$.inboundSchema = UpdatePromptPromptsLanguage$inboundSchema;
|
|
48348
|
+
UpdatePromptPromptsLanguage$.outboundSchema = UpdatePromptPromptsLanguage$outboundSchema;
|
|
48349
|
+
})(UpdatePromptPromptsLanguage$ ||= {});
|
|
48350
48350
|
UpdatePromptPromptsMetadata$inboundSchema = objectType({
|
|
48351
|
-
use_cases: arrayType(
|
|
48352
|
-
language:
|
|
48351
|
+
use_cases: arrayType(UpdatePromptPromptsUseCases$inboundSchema).optional(),
|
|
48352
|
+
language: UpdatePromptPromptsLanguage$inboundSchema.optional()
|
|
48353
48353
|
}).transform((v2) => {
|
|
48354
48354
|
return remap(v2, {
|
|
48355
48355
|
use_cases: "useCases"
|
|
48356
48356
|
});
|
|
48357
48357
|
});
|
|
48358
48358
|
UpdatePromptPromptsMetadata$outboundSchema = objectType({
|
|
48359
|
-
useCases: arrayType(
|
|
48360
|
-
language:
|
|
48359
|
+
useCases: arrayType(UpdatePromptPromptsUseCases$outboundSchema).optional(),
|
|
48360
|
+
language: UpdatePromptPromptsLanguage$outboundSchema.optional()
|
|
48361
48361
|
}).transform((v2) => {
|
|
48362
48362
|
return remap(v2, {
|
|
48363
48363
|
useCases: "use_cases"
|
|
@@ -48378,7 +48378,7 @@ var init_updateprompt = __esm(() => {
|
|
|
48378
48378
|
updated_by_id: nullableType(stringType()).optional(),
|
|
48379
48379
|
display_name: stringType(),
|
|
48380
48380
|
description: nullableType(stringType()).optional(),
|
|
48381
|
-
prompt_config: lazyType(() =>
|
|
48381
|
+
prompt_config: lazyType(() => UpdatePromptPromptsPromptConfig$inboundSchema),
|
|
48382
48382
|
metadata: lazyType(() => UpdatePromptPromptsMetadata$inboundSchema).optional()
|
|
48383
48383
|
}).transform((v2) => {
|
|
48384
48384
|
return remap(v2, {
|
|
@@ -48401,7 +48401,7 @@ var init_updateprompt = __esm(() => {
|
|
|
48401
48401
|
updatedById: nullableType(stringType()).optional(),
|
|
48402
48402
|
displayName: stringType(),
|
|
48403
48403
|
description: nullableType(stringType()).optional(),
|
|
48404
|
-
promptConfig: lazyType(() =>
|
|
48404
|
+
promptConfig: lazyType(() => UpdatePromptPromptsPromptConfig$outboundSchema),
|
|
48405
48405
|
metadata: lazyType(() => UpdatePromptPromptsMetadata$outboundSchema).optional()
|
|
48406
48406
|
}).transform((v2) => {
|
|
48407
48407
|
return remap(v2, {
|
|
@@ -52415,7 +52415,7 @@ async function $do27(client, request, options) {
|
|
|
52415
52415
|
}
|
|
52416
52416
|
const payload = parsed.value;
|
|
52417
52417
|
const body = null;
|
|
52418
|
-
const path = pathToFunc("/v2/prompts
|
|
52418
|
+
const path = pathToFunc("/v2/prompts")();
|
|
52419
52419
|
const query = encodeFormQuery({
|
|
52420
52420
|
ending_before: payload?.ending_before,
|
|
52421
52421
|
limit: payload?.limit,
|
|
@@ -52922,7 +52922,7 @@ var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
|
52922
52922
|
function createMCPServer(deps) {
|
|
52923
52923
|
const server = new McpServer({
|
|
52924
52924
|
name: "Orq",
|
|
52925
|
-
version: "3.2.
|
|
52925
|
+
version: "3.2.8"
|
|
52926
52926
|
});
|
|
52927
52927
|
const client = new OrqCore({
|
|
52928
52928
|
apiKey: deps.apiKey,
|
|
@@ -52949,10 +52949,10 @@ function createMCPServer(deps) {
|
|
|
52949
52949
|
tool(tool$filesGet);
|
|
52950
52950
|
tool(tool$filesDelete);
|
|
52951
52951
|
tool(tool$promptsList);
|
|
52952
|
+
tool(tool$promptsCreate);
|
|
52952
52953
|
tool(tool$promptsRetrieve);
|
|
52953
52954
|
tool(tool$promptsUpdate);
|
|
52954
52955
|
tool(tool$promptsDelete);
|
|
52955
|
-
tool(tool$promptsCreate);
|
|
52956
52956
|
tool(tool$promptsListVersions);
|
|
52957
52957
|
tool(tool$promptsGetVersion);
|
|
52958
52958
|
tool(tool$remoteconfigsRetrieve);
|
|
@@ -54217,7 +54217,7 @@ var routes = rn({
|
|
|
54217
54217
|
var app = Ve(routes, {
|
|
54218
54218
|
name: "mcp",
|
|
54219
54219
|
versionInfo: {
|
|
54220
|
-
currentVersion: "3.2.
|
|
54220
|
+
currentVersion: "3.2.8"
|
|
54221
54221
|
}
|
|
54222
54222
|
});
|
|
54223
54223
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -54225,5 +54225,5 @@ export {
|
|
|
54225
54225
|
app
|
|
54226
54226
|
};
|
|
54227
54227
|
|
|
54228
|
-
//# debugId=
|
|
54228
|
+
//# debugId=B9744B10A930718964756E2164756E21
|
|
54229
54229
|
//# sourceMappingURL=mcp-server.js.map
|