@orq-ai/node 3.2.0-rc.24 → 3.2.0-rc.26
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/bin/mcp-server.js +2187 -685
- package/bin/mcp-server.js.map +26 -26
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/cli/start/command.d.ts.map +1 -1
- package/mcp-server/cli/start/command.js +9 -0
- package/mcp-server/cli/start/command.js.map +1 -1
- package/mcp-server/cli/start/impl.d.ts +1 -0
- package/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/mcp-server/cli/start/impl.js +2 -0
- package/mcp-server/cli/start/impl.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts +1 -0
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -2
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools.d.ts +1 -1
- package/mcp-server/tools.d.ts.map +1 -1
- package/mcp-server/tools.js +4 -1
- package/mcp-server/tools.js.map +1 -1
- package/models/components/deployments.d.ts +1755 -439
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +1664 -401
- package/models/components/deployments.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/deploymentcreatemetric.d.ts +790 -132
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +770 -143
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +1863 -547
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +1814 -546
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +17 -17
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +20 -20
- package/models/operations/deploymentinvoke.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 +16 -16
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +26 -27
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/command.ts +9 -0
- package/src/mcp-server/cli/start/impl.ts +3 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +10 -2
- package/src/mcp-server/tools.ts +5 -0
- package/src/models/components/deployments.ts +3134 -673
- 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/deploymentcreatemetric.ts +1799 -327
- package/src/models/operations/deploymentgetconfig.ts +3619 -1003
- package/src/models/operations/deploymentinvoke.ts +32 -28
- 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 +34 -30
|
@@ -78,7 +78,7 @@ export type DeploymentInvokeMessageDeploymentsRole = ClosedEnum<
|
|
|
78
78
|
typeof DeploymentInvokeMessageDeploymentsRole
|
|
79
79
|
>;
|
|
80
80
|
|
|
81
|
-
export type
|
|
81
|
+
export type DeploymentInvokeMessage3 = {
|
|
82
82
|
/**
|
|
83
83
|
* The role of the prompt message
|
|
84
84
|
*/
|
|
@@ -167,14 +167,14 @@ export type DeploymentInvokeMessage1 = {
|
|
|
167
167
|
|
|
168
168
|
export type DeploymentInvokeMessage =
|
|
169
169
|
| DeploymentInvokeMessage2
|
|
170
|
-
|
|
|
170
|
+
| DeploymentInvokeMessage3
|
|
171
171
|
| DeploymentInvokeMessage1;
|
|
172
172
|
|
|
173
173
|
export type DeploymentInvokeChoices = {
|
|
174
174
|
index: number;
|
|
175
175
|
message?:
|
|
176
176
|
| DeploymentInvokeMessage2
|
|
177
|
-
|
|
|
177
|
+
| DeploymentInvokeMessage3
|
|
178
178
|
| DeploymentInvokeMessage1
|
|
179
179
|
| undefined;
|
|
180
180
|
finishReason?: string | null | undefined;
|
|
@@ -395,8 +395,8 @@ export namespace DeploymentInvokeMessageDeploymentsRole$ {
|
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
/** @internal */
|
|
398
|
-
export const
|
|
399
|
-
|
|
398
|
+
export const DeploymentInvokeMessage3$inboundSchema: z.ZodType<
|
|
399
|
+
DeploymentInvokeMessage3,
|
|
400
400
|
z.ZodTypeDef,
|
|
401
401
|
unknown
|
|
402
402
|
> = z.object({
|
|
@@ -405,16 +405,16 @@ export const Message3$inboundSchema: z.ZodType<
|
|
|
405
405
|
});
|
|
406
406
|
|
|
407
407
|
/** @internal */
|
|
408
|
-
export type
|
|
408
|
+
export type DeploymentInvokeMessage3$Outbound = {
|
|
409
409
|
role: string;
|
|
410
410
|
url: string;
|
|
411
411
|
};
|
|
412
412
|
|
|
413
413
|
/** @internal */
|
|
414
|
-
export const
|
|
415
|
-
|
|
414
|
+
export const DeploymentInvokeMessage3$outboundSchema: z.ZodType<
|
|
415
|
+
DeploymentInvokeMessage3$Outbound,
|
|
416
416
|
z.ZodTypeDef,
|
|
417
|
-
|
|
417
|
+
DeploymentInvokeMessage3
|
|
418
418
|
> = z.object({
|
|
419
419
|
role: DeploymentInvokeMessageDeploymentsRole$outboundSchema,
|
|
420
420
|
url: z.string(),
|
|
@@ -424,26 +424,30 @@ export const Message3$outboundSchema: z.ZodType<
|
|
|
424
424
|
* @internal
|
|
425
425
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
426
426
|
*/
|
|
427
|
-
export namespace
|
|
428
|
-
/** @deprecated use `
|
|
429
|
-
export const inboundSchema =
|
|
430
|
-
/** @deprecated use `
|
|
431
|
-
export const outboundSchema =
|
|
432
|
-
/** @deprecated use `
|
|
433
|
-
export type Outbound =
|
|
427
|
+
export namespace DeploymentInvokeMessage3$ {
|
|
428
|
+
/** @deprecated use `DeploymentInvokeMessage3$inboundSchema` instead. */
|
|
429
|
+
export const inboundSchema = DeploymentInvokeMessage3$inboundSchema;
|
|
430
|
+
/** @deprecated use `DeploymentInvokeMessage3$outboundSchema` instead. */
|
|
431
|
+
export const outboundSchema = DeploymentInvokeMessage3$outboundSchema;
|
|
432
|
+
/** @deprecated use `DeploymentInvokeMessage3$Outbound` instead. */
|
|
433
|
+
export type Outbound = DeploymentInvokeMessage3$Outbound;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
export function
|
|
437
|
-
|
|
436
|
+
export function deploymentInvokeMessage3ToJSON(
|
|
437
|
+
deploymentInvokeMessage3: DeploymentInvokeMessage3,
|
|
438
|
+
): string {
|
|
439
|
+
return JSON.stringify(
|
|
440
|
+
DeploymentInvokeMessage3$outboundSchema.parse(deploymentInvokeMessage3),
|
|
441
|
+
);
|
|
438
442
|
}
|
|
439
443
|
|
|
440
|
-
export function
|
|
444
|
+
export function deploymentInvokeMessage3FromJSON(
|
|
441
445
|
jsonString: string,
|
|
442
|
-
): SafeParseResult<
|
|
446
|
+
): SafeParseResult<DeploymentInvokeMessage3, SDKValidationError> {
|
|
443
447
|
return safeParse(
|
|
444
448
|
jsonString,
|
|
445
|
-
(x) =>
|
|
446
|
-
`Failed to parse '
|
|
449
|
+
(x) => DeploymentInvokeMessage3$inboundSchema.parse(JSON.parse(x)),
|
|
450
|
+
`Failed to parse 'DeploymentInvokeMessage3' from JSON`,
|
|
447
451
|
);
|
|
448
452
|
}
|
|
449
453
|
|
|
@@ -772,14 +776,14 @@ export const DeploymentInvokeMessage$inboundSchema: z.ZodType<
|
|
|
772
776
|
unknown
|
|
773
777
|
> = z.union([
|
|
774
778
|
z.lazy(() => DeploymentInvokeMessage2$inboundSchema),
|
|
775
|
-
z.lazy(() =>
|
|
779
|
+
z.lazy(() => DeploymentInvokeMessage3$inboundSchema),
|
|
776
780
|
z.lazy(() => DeploymentInvokeMessage1$inboundSchema),
|
|
777
781
|
]);
|
|
778
782
|
|
|
779
783
|
/** @internal */
|
|
780
784
|
export type DeploymentInvokeMessage$Outbound =
|
|
781
785
|
| DeploymentInvokeMessage2$Outbound
|
|
782
|
-
|
|
|
786
|
+
| DeploymentInvokeMessage3$Outbound
|
|
783
787
|
| DeploymentInvokeMessage1$Outbound;
|
|
784
788
|
|
|
785
789
|
/** @internal */
|
|
@@ -789,7 +793,7 @@ export const DeploymentInvokeMessage$outboundSchema: z.ZodType<
|
|
|
789
793
|
DeploymentInvokeMessage
|
|
790
794
|
> = z.union([
|
|
791
795
|
z.lazy(() => DeploymentInvokeMessage2$outboundSchema),
|
|
792
|
-
z.lazy(() =>
|
|
796
|
+
z.lazy(() => DeploymentInvokeMessage3$outboundSchema),
|
|
793
797
|
z.lazy(() => DeploymentInvokeMessage1$outboundSchema),
|
|
794
798
|
]);
|
|
795
799
|
|
|
@@ -833,7 +837,7 @@ export const DeploymentInvokeChoices$inboundSchema: z.ZodType<
|
|
|
833
837
|
index: z.number(),
|
|
834
838
|
message: z.union([
|
|
835
839
|
z.lazy(() => DeploymentInvokeMessage2$inboundSchema),
|
|
836
|
-
z.lazy(() =>
|
|
840
|
+
z.lazy(() => DeploymentInvokeMessage3$inboundSchema),
|
|
837
841
|
z.lazy(() => DeploymentInvokeMessage1$inboundSchema),
|
|
838
842
|
]).optional(),
|
|
839
843
|
finish_reason: z.nullable(z.string()).optional(),
|
|
@@ -848,7 +852,7 @@ export type DeploymentInvokeChoices$Outbound = {
|
|
|
848
852
|
index: number;
|
|
849
853
|
message?:
|
|
850
854
|
| DeploymentInvokeMessage2$Outbound
|
|
851
|
-
|
|
|
855
|
+
| DeploymentInvokeMessage3$Outbound
|
|
852
856
|
| DeploymentInvokeMessage1$Outbound
|
|
853
857
|
| undefined;
|
|
854
858
|
finish_reason?: string | null | undefined;
|
|
@@ -863,7 +867,7 @@ export const DeploymentInvokeChoices$outboundSchema: z.ZodType<
|
|
|
863
867
|
index: z.number(),
|
|
864
868
|
message: z.union([
|
|
865
869
|
z.lazy(() => DeploymentInvokeMessage2$outboundSchema),
|
|
866
|
-
z.lazy(() =>
|
|
870
|
+
z.lazy(() => DeploymentInvokeMessage3$outboundSchema),
|
|
867
871
|
z.lazy(() => DeploymentInvokeMessage1$outboundSchema),
|
|
868
872
|
]).optional(),
|
|
869
873
|
finishReason: z.nullable(z.string()).optional(),
|
|
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
146
146
|
file_name: z.string(),
|
|
147
147
|
workspace_id: z.string(),
|
|
148
148
|
created: z.string().datetime({ offset: true }).default(
|
|
149
|
-
"2025-03-
|
|
149
|
+
"2025-03-04T21:45:16.894Z",
|
|
150
150
|
).transform(v => new Date(v)),
|
|
151
151
|
}).transform((v) => {
|
|
152
152
|
return remap$(v, {
|
|
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
180
180
|
bytes: z.number(),
|
|
181
181
|
fileName: z.string(),
|
|
182
182
|
workspaceId: z.string(),
|
|
183
|
-
created: z.date().default(() => new Date("2025-03-
|
|
183
|
+
created: z.date().default(() => new Date("2025-03-04T21:45:16.894Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-03-
|
|
199
|
+
"2025-03-04T21:45:16.894Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
230
230
|
bytes: z.number(),
|
|
231
231
|
fileName: z.string(),
|
|
232
232
|
workspaceId: z.string(),
|
|
233
|
-
created: z.date().default(() => new Date("2025-03-
|
|
233
|
+
created: z.date().default(() => new Date("2025-03-04T21:45:16.894Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|
|
@@ -247,7 +247,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
247
247
|
file_name: z.string(),
|
|
248
248
|
workspace_id: z.string(),
|
|
249
249
|
created: z.string().datetime({ offset: true }).default(
|
|
250
|
-
"2025-03-
|
|
250
|
+
"2025-03-04T21:45:16.894Z",
|
|
251
251
|
).transform(v => new Date(v)),
|
|
252
252
|
}).transform((v) => {
|
|
253
253
|
return remap$(v, {
|
|
@@ -281,7 +281,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
281
281
|
bytes: z.number(),
|
|
282
282
|
fileName: z.string(),
|
|
283
283
|
workspaceId: z.string(),
|
|
284
|
-
created: z.date().default(() => new Date("2025-03-
|
|
284
|
+
created: z.date().default(() => new Date("2025-03-04T21:45:16.894Z"))
|
|
285
285
|
.transform(v => v.toISOString()),
|
|
286
286
|
}).transform((v) => {
|
|
287
287
|
return remap$(v, {
|
|
@@ -912,7 +912,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
912
912
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
913
913
|
.optional(),
|
|
914
914
|
updated: z.string().datetime({ offset: true }).default(
|
|
915
|
-
"2025-03-
|
|
915
|
+
"2025-03-04T21:45:15.768Z",
|
|
916
916
|
).transform(v => new Date(v)),
|
|
917
917
|
}).transform((v) => {
|
|
918
918
|
return remap$(v, {
|
|
@@ -955,7 +955,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
955
955
|
createdById: z.string().optional(),
|
|
956
956
|
updatedById: z.string().optional(),
|
|
957
957
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
958
|
-
updated: z.date().default(() => new Date("2025-03-
|
|
958
|
+
updated: z.date().default(() => new Date("2025-03-04T21:45:15.768Z"))
|
|
959
959
|
.transform(v => v.toISOString()),
|
|
960
960
|
}).transform((v) => {
|
|
961
961
|
return remap$(v, {
|
|
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
253
253
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
254
254
|
.optional(),
|
|
255
255
|
updated: z.string().datetime({ offset: true }).default(
|
|
256
|
-
"2025-03-
|
|
256
|
+
"2025-03-04T21:45:15.768Z",
|
|
257
257
|
).transform(v => new Date(v)),
|
|
258
258
|
}).transform((v) => {
|
|
259
259
|
return remap$(v, {
|
|
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
293
293
|
updatedById: z.string().optional(),
|
|
294
294
|
metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
|
|
295
295
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
296
|
-
updated: z.date().default(() => new Date("2025-03-
|
|
296
|
+
updated: z.date().default(() => new Date("2025-03-04T21:45:15.768Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -834,7 +834,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
834
834
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
835
835
|
.optional(),
|
|
836
836
|
updated: z.string().datetime({ offset: true }).default(
|
|
837
|
-
"2025-03-
|
|
837
|
+
"2025-03-04T21:45:15.768Z",
|
|
838
838
|
).transform(v => new Date(v)),
|
|
839
839
|
}).transform((v) => {
|
|
840
840
|
return remap$(v, {
|
|
@@ -877,7 +877,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
877
877
|
createdById: z.string().optional(),
|
|
878
878
|
updatedById: z.string().optional(),
|
|
879
879
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
880
|
-
updated: z.date().default(() => new Date("2025-03-
|
|
880
|
+
updated: z.date().default(() => new Date("2025-03-04T21:45:15.768Z"))
|
|
881
881
|
.transform(v => v.toISOString()),
|
|
882
882
|
}).transform((v) => {
|
|
883
883
|
return remap$(v, {
|
|
@@ -201,7 +201,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
201
201
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
202
202
|
.optional(),
|
|
203
203
|
updated: z.string().datetime({ offset: true }).default(
|
|
204
|
-
"2025-03-
|
|
204
|
+
"2025-03-04T21:45:15.768Z",
|
|
205
205
|
).transform(v => new Date(v)),
|
|
206
206
|
}).transform((v) => {
|
|
207
207
|
return remap$(v, {
|
|
@@ -241,7 +241,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
241
241
|
updatedById: z.string().optional(),
|
|
242
242
|
metadata: z.lazy(() => RetrieveDatasetMetadata$outboundSchema),
|
|
243
243
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
244
|
-
updated: z.date().default(() => new Date("2025-03-
|
|
244
|
+
updated: z.date().default(() => new Date("2025-03-04T21:45:15.768Z"))
|
|
245
245
|
.transform(v => v.toISOString()),
|
|
246
246
|
}).transform((v) => {
|
|
247
247
|
return remap$(v, {
|
|
@@ -1638,7 +1638,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1638
1638
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1639
1639
|
.optional(),
|
|
1640
1640
|
updated: z.string().datetime({ offset: true }).default(
|
|
1641
|
-
"2025-03-
|
|
1641
|
+
"2025-03-04T21:45:15.768Z",
|
|
1642
1642
|
).transform(v => new Date(v)),
|
|
1643
1643
|
}).transform((v) => {
|
|
1644
1644
|
return remap$(v, {
|
|
@@ -1682,7 +1682,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
1682
1682
|
createdById: z.string().optional(),
|
|
1683
1683
|
updatedById: z.string().optional(),
|
|
1684
1684
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
1685
|
-
updated: z.date().default(() => new Date("2025-03-
|
|
1685
|
+
updated: z.date().default(() => new Date("2025-03-04T21:45:15.768Z"))
|
|
1686
1686
|
.transform(v => v.toISOString()),
|
|
1687
1687
|
}).transform((v) => {
|
|
1688
1688
|
return remap$(v, {
|
|
@@ -283,7 +283,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
283
283
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
284
284
|
.optional(),
|
|
285
285
|
updated: z.string().datetime({ offset: true }).default(
|
|
286
|
-
"2025-03-
|
|
286
|
+
"2025-03-04T21:45:15.768Z",
|
|
287
287
|
).transform(v => new Date(v)),
|
|
288
288
|
}).transform((v) => {
|
|
289
289
|
return remap$(v, {
|
|
@@ -328,7 +328,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
328
328
|
parentId: z.string().optional(),
|
|
329
329
|
version: z.string().optional(),
|
|
330
330
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
331
|
-
updated: z.date().default(() => new Date("2025-03-
|
|
331
|
+
updated: z.date().default(() => new Date("2025-03-04T21:45:15.768Z"))
|
|
332
332
|
.transform(v => v.toISOString()),
|
|
333
333
|
}).transform((v) => {
|
|
334
334
|
return remap$(v, {
|
|
@@ -31,7 +31,7 @@ export type ModelType = ClosedEnum<typeof ModelType>;
|
|
|
31
31
|
/**
|
|
32
32
|
* Only supported on `image` models.
|
|
33
33
|
*/
|
|
34
|
-
export const
|
|
34
|
+
export const UpdatePromptFormat = {
|
|
35
35
|
Url: "url",
|
|
36
36
|
B64Json: "b64_json",
|
|
37
37
|
Text: "text",
|
|
@@ -40,7 +40,7 @@ export const Format = {
|
|
|
40
40
|
/**
|
|
41
41
|
* Only supported on `image` models.
|
|
42
42
|
*/
|
|
43
|
-
export type
|
|
43
|
+
export type UpdatePromptFormat = ClosedEnum<typeof UpdatePromptFormat>;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Only supported on `image` models.
|
|
@@ -170,7 +170,7 @@ export type ModelParameters = {
|
|
|
170
170
|
/**
|
|
171
171
|
* Only supported on `image` models.
|
|
172
172
|
*/
|
|
173
|
-
format?:
|
|
173
|
+
format?: UpdatePromptFormat | undefined;
|
|
174
174
|
/**
|
|
175
175
|
* Only supported on `image` models.
|
|
176
176
|
*/
|
|
@@ -459,7 +459,7 @@ export type UpdatePromptModelType = ClosedEnum<typeof UpdatePromptModelType>;
|
|
|
459
459
|
/**
|
|
460
460
|
* Only supported on `image` models.
|
|
461
461
|
*/
|
|
462
|
-
export const
|
|
462
|
+
export const UpdatePromptPromptsFormat = {
|
|
463
463
|
Url: "url",
|
|
464
464
|
B64Json: "b64_json",
|
|
465
465
|
Text: "text",
|
|
@@ -468,7 +468,9 @@ export const UpdatePromptFormat = {
|
|
|
468
468
|
/**
|
|
469
469
|
* Only supported on `image` models.
|
|
470
470
|
*/
|
|
471
|
-
export type
|
|
471
|
+
export type UpdatePromptPromptsFormat = ClosedEnum<
|
|
472
|
+
typeof UpdatePromptPromptsFormat
|
|
473
|
+
>;
|
|
472
474
|
|
|
473
475
|
/**
|
|
474
476
|
* Only supported on `image` models.
|
|
@@ -608,7 +610,7 @@ export type UpdatePromptModelParameters = {
|
|
|
608
610
|
/**
|
|
609
611
|
* Only supported on `image` models.
|
|
610
612
|
*/
|
|
611
|
-
format?:
|
|
613
|
+
format?: UpdatePromptPromptsFormat | undefined;
|
|
612
614
|
/**
|
|
613
615
|
* Only supported on `image` models.
|
|
614
616
|
*/
|
|
@@ -909,22 +911,24 @@ export namespace ModelType$ {
|
|
|
909
911
|
}
|
|
910
912
|
|
|
911
913
|
/** @internal */
|
|
912
|
-
export const
|
|
913
|
-
|
|
914
|
+
export const UpdatePromptFormat$inboundSchema: z.ZodNativeEnum<
|
|
915
|
+
typeof UpdatePromptFormat
|
|
916
|
+
> = z.nativeEnum(UpdatePromptFormat);
|
|
914
917
|
|
|
915
918
|
/** @internal */
|
|
916
|
-
export const
|
|
917
|
-
|
|
919
|
+
export const UpdatePromptFormat$outboundSchema: z.ZodNativeEnum<
|
|
920
|
+
typeof UpdatePromptFormat
|
|
921
|
+
> = UpdatePromptFormat$inboundSchema;
|
|
918
922
|
|
|
919
923
|
/**
|
|
920
924
|
* @internal
|
|
921
925
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
922
926
|
*/
|
|
923
|
-
export namespace
|
|
924
|
-
/** @deprecated use `
|
|
925
|
-
export const inboundSchema =
|
|
926
|
-
/** @deprecated use `
|
|
927
|
-
export const outboundSchema =
|
|
927
|
+
export namespace UpdatePromptFormat$ {
|
|
928
|
+
/** @deprecated use `UpdatePromptFormat$inboundSchema` instead. */
|
|
929
|
+
export const inboundSchema = UpdatePromptFormat$inboundSchema;
|
|
930
|
+
/** @deprecated use `UpdatePromptFormat$outboundSchema` instead. */
|
|
931
|
+
export const outboundSchema = UpdatePromptFormat$outboundSchema;
|
|
928
932
|
}
|
|
929
933
|
|
|
930
934
|
/** @internal */
|
|
@@ -1288,7 +1292,7 @@ export const ModelParameters$inboundSchema: z.ZodType<
|
|
|
1288
1292
|
presencePenalty: z.number().optional(),
|
|
1289
1293
|
numImages: z.number().optional(),
|
|
1290
1294
|
seed: z.number().optional(),
|
|
1291
|
-
format:
|
|
1295
|
+
format: UpdatePromptFormat$inboundSchema.optional(),
|
|
1292
1296
|
dimensions: z.string().optional(),
|
|
1293
1297
|
quality: Quality$inboundSchema.optional(),
|
|
1294
1298
|
style: z.string().optional(),
|
|
@@ -1347,7 +1351,7 @@ export const ModelParameters$outboundSchema: z.ZodType<
|
|
|
1347
1351
|
presencePenalty: z.number().optional(),
|
|
1348
1352
|
numImages: z.number().optional(),
|
|
1349
1353
|
seed: z.number().optional(),
|
|
1350
|
-
format:
|
|
1354
|
+
format: UpdatePromptFormat$outboundSchema.optional(),
|
|
1351
1355
|
dimensions: z.string().optional(),
|
|
1352
1356
|
quality: Quality$outboundSchema.optional(),
|
|
1353
1357
|
style: z.string().optional(),
|
|
@@ -2376,24 +2380,24 @@ export namespace UpdatePromptModelType$ {
|
|
|
2376
2380
|
}
|
|
2377
2381
|
|
|
2378
2382
|
/** @internal */
|
|
2379
|
-
export const
|
|
2380
|
-
typeof
|
|
2381
|
-
> = z.nativeEnum(
|
|
2383
|
+
export const UpdatePromptPromptsFormat$inboundSchema: z.ZodNativeEnum<
|
|
2384
|
+
typeof UpdatePromptPromptsFormat
|
|
2385
|
+
> = z.nativeEnum(UpdatePromptPromptsFormat);
|
|
2382
2386
|
|
|
2383
2387
|
/** @internal */
|
|
2384
|
-
export const
|
|
2385
|
-
typeof
|
|
2386
|
-
> =
|
|
2388
|
+
export const UpdatePromptPromptsFormat$outboundSchema: z.ZodNativeEnum<
|
|
2389
|
+
typeof UpdatePromptPromptsFormat
|
|
2390
|
+
> = UpdatePromptPromptsFormat$inboundSchema;
|
|
2387
2391
|
|
|
2388
2392
|
/**
|
|
2389
2393
|
* @internal
|
|
2390
2394
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2391
2395
|
*/
|
|
2392
|
-
export namespace
|
|
2393
|
-
/** @deprecated use `
|
|
2394
|
-
export const inboundSchema =
|
|
2395
|
-
/** @deprecated use `
|
|
2396
|
-
export const outboundSchema =
|
|
2396
|
+
export namespace UpdatePromptPromptsFormat$ {
|
|
2397
|
+
/** @deprecated use `UpdatePromptPromptsFormat$inboundSchema` instead. */
|
|
2398
|
+
export const inboundSchema = UpdatePromptPromptsFormat$inboundSchema;
|
|
2399
|
+
/** @deprecated use `UpdatePromptPromptsFormat$outboundSchema` instead. */
|
|
2400
|
+
export const outboundSchema = UpdatePromptPromptsFormat$outboundSchema;
|
|
2397
2401
|
}
|
|
2398
2402
|
|
|
2399
2403
|
/** @internal */
|
|
@@ -2785,7 +2789,7 @@ export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
2785
2789
|
presencePenalty: z.number().optional(),
|
|
2786
2790
|
numImages: z.number().optional(),
|
|
2787
2791
|
seed: z.number().optional(),
|
|
2788
|
-
format:
|
|
2792
|
+
format: UpdatePromptPromptsFormat$inboundSchema.optional(),
|
|
2789
2793
|
dimensions: z.string().optional(),
|
|
2790
2794
|
quality: UpdatePromptQuality$inboundSchema.optional(),
|
|
2791
2795
|
style: z.string().optional(),
|
|
@@ -2844,7 +2848,7 @@ export const UpdatePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
2844
2848
|
presencePenalty: z.number().optional(),
|
|
2845
2849
|
numImages: z.number().optional(),
|
|
2846
2850
|
seed: z.number().optional(),
|
|
2847
|
-
format:
|
|
2851
|
+
format: UpdatePromptPromptsFormat$outboundSchema.optional(),
|
|
2848
2852
|
dimensions: z.string().optional(),
|
|
2849
2853
|
quality: UpdatePromptQuality$outboundSchema.optional(),
|
|
2850
2854
|
style: z.string().optional(),
|