@orq-ai/node 3.3.0 → 3.3.2
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 +70 -163
- package/bin/mcp-server.js.map +24 -24
- package/funcs/knowledgeDeleteDatasource.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createchunk.d.ts +54 -153
- package/models/operations/createchunk.d.ts.map +1 -1
- package/models/operations/createchunk.js +36 -170
- package/models/operations/createchunk.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- 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/listdatasources.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/package.json +1 -1
- package/src/funcs/knowledgeDeleteDatasource.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createchunk.ts +59 -337
- 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/createdatasource.ts +2 -2
- 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/listdatasources.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
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.3.
|
|
34237
|
+
sdkVersion: "3.3.2",
|
|
34238
34238
|
genVersion: "2.565.1",
|
|
34239
|
-
userAgent: "speakeasy-sdk/typescript 3.3.
|
|
34239
|
+
userAgent: "speakeasy-sdk/typescript 3.3.2 2.565.1 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-04-
|
|
36274
|
+
updated: stringType().datetime({ offset: true }).default("2025-04-03T20:49:20.627Z").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-04-
|
|
36295
|
+
updated: dateType().default(() => new Date("2025-04-03T20:49:20.627Z")).transform((v2) => v2.toISOString())
|
|
36296
36296
|
}).transform((v2) => {
|
|
36297
36297
|
return remap(v2, {
|
|
36298
36298
|
id: "_id",
|
|
@@ -36335,10 +36335,17 @@ var init_cleardataset = __esm(() => {
|
|
|
36335
36335
|
});
|
|
36336
36336
|
|
|
36337
36337
|
// src/models/operations/createchunk.ts
|
|
36338
|
-
var CreateChunkMetadata$inboundSchema, CreateChunkMetadata$outboundSchema, CreateChunkMetadata$, RequestBody$inboundSchema, RequestBody$outboundSchema, RequestBody$, CreateChunkRequest$inboundSchema, CreateChunkRequest$outboundSchema, CreateChunkRequest$,
|
|
36338
|
+
var CreateChunkStatus, CreateChunkMetadata$inboundSchema, CreateChunkMetadata$outboundSchema, CreateChunkMetadata$, RequestBody$inboundSchema, RequestBody$outboundSchema, RequestBody$, CreateChunkRequest$inboundSchema, CreateChunkRequest$outboundSchema, CreateChunkRequest$, CreateChunkStatus$inboundSchema, CreateChunkStatus$outboundSchema, CreateChunkStatus$, CreateChunkResponseBody$inboundSchema, CreateChunkResponseBody$outboundSchema, CreateChunkResponseBody$;
|
|
36339
36339
|
var init_createchunk = __esm(() => {
|
|
36340
36340
|
init_lib();
|
|
36341
36341
|
init_primitives();
|
|
36342
|
+
CreateChunkStatus = {
|
|
36343
|
+
Pending: "pending",
|
|
36344
|
+
Processing: "processing",
|
|
36345
|
+
Completed: "completed",
|
|
36346
|
+
Failed: "failed",
|
|
36347
|
+
Queued: "queued"
|
|
36348
|
+
};
|
|
36342
36349
|
CreateChunkMetadata$inboundSchema = objectType({
|
|
36343
36350
|
page_number: numberType().optional()
|
|
36344
36351
|
}).transform((v2) => {
|
|
@@ -36397,144 +36404,44 @@ var init_createchunk = __esm(() => {
|
|
|
36397
36404
|
CreateChunkRequest$.inboundSchema = CreateChunkRequest$inboundSchema;
|
|
36398
36405
|
CreateChunkRequest$.outboundSchema = CreateChunkRequest$outboundSchema;
|
|
36399
36406
|
})(CreateChunkRequest$ ||= {});
|
|
36400
|
-
|
|
36401
|
-
|
|
36402
|
-
|
|
36403
|
-
|
|
36404
|
-
|
|
36405
|
-
|
|
36406
|
-
words_count: numberType().optional(),
|
|
36407
|
-
sentences_count: numberType().optional(),
|
|
36408
|
-
paragraphs_count: numberType().optional(),
|
|
36409
|
-
tokens_count: numberType().optional(),
|
|
36410
|
-
characters_count: numberType().optional(),
|
|
36411
|
-
chunks_count: numberType().optional()
|
|
36412
|
-
}).transform((v2) => {
|
|
36413
|
-
return remap(v2, {
|
|
36414
|
-
last_modified: "lastModified",
|
|
36415
|
-
page_number: "pageNumber",
|
|
36416
|
-
words_count: "wordsCount",
|
|
36417
|
-
sentences_count: "sentencesCount",
|
|
36418
|
-
paragraphs_count: "paragraphsCount",
|
|
36419
|
-
tokens_count: "tokensCount",
|
|
36420
|
-
characters_count: "charactersCount",
|
|
36421
|
-
chunks_count: "chunksCount"
|
|
36422
|
-
});
|
|
36423
|
-
});
|
|
36424
|
-
CreateChunkKnowledgeMetadata$outboundSchema = objectType({
|
|
36425
|
-
filename: stringType().optional(),
|
|
36426
|
-
lastModified: stringType().optional(),
|
|
36427
|
-
filetype: stringType().optional(),
|
|
36428
|
-
languages: arrayType(stringType()).optional(),
|
|
36429
|
-
pageNumber: nullableType(numberType()).optional(),
|
|
36430
|
-
wordsCount: numberType().optional(),
|
|
36431
|
-
sentencesCount: numberType().optional(),
|
|
36432
|
-
paragraphsCount: numberType().optional(),
|
|
36433
|
-
tokensCount: numberType().optional(),
|
|
36434
|
-
charactersCount: numberType().optional(),
|
|
36435
|
-
chunksCount: numberType().optional()
|
|
36436
|
-
}).transform((v2) => {
|
|
36437
|
-
return remap(v2, {
|
|
36438
|
-
lastModified: "last_modified",
|
|
36439
|
-
pageNumber: "page_number",
|
|
36440
|
-
wordsCount: "words_count",
|
|
36441
|
-
sentencesCount: "sentences_count",
|
|
36442
|
-
paragraphsCount: "paragraphs_count",
|
|
36443
|
-
tokensCount: "tokens_count",
|
|
36444
|
-
charactersCount: "characters_count",
|
|
36445
|
-
chunksCount: "chunks_count"
|
|
36446
|
-
});
|
|
36447
|
-
});
|
|
36448
|
-
((CreateChunkKnowledgeMetadata$) => {
|
|
36449
|
-
CreateChunkKnowledgeMetadata$.inboundSchema = CreateChunkKnowledgeMetadata$inboundSchema;
|
|
36450
|
-
CreateChunkKnowledgeMetadata$.outboundSchema = CreateChunkKnowledgeMetadata$outboundSchema;
|
|
36451
|
-
})(CreateChunkKnowledgeMetadata$ ||= {});
|
|
36452
|
-
Errors$inboundSchema = objectType({
|
|
36453
|
-
code: numberType(),
|
|
36454
|
-
message: stringType()
|
|
36455
|
-
});
|
|
36456
|
-
Errors$outboundSchema = objectType({
|
|
36457
|
-
code: numberType(),
|
|
36458
|
-
message: stringType()
|
|
36459
|
-
});
|
|
36460
|
-
((Errors$) => {
|
|
36461
|
-
Errors$.inboundSchema = Errors$inboundSchema;
|
|
36462
|
-
Errors$.outboundSchema = Errors$outboundSchema;
|
|
36463
|
-
})(Errors$ ||= {});
|
|
36464
|
-
ProcessingAttempts$inboundSchema = objectType({
|
|
36465
|
-
id: stringType(),
|
|
36466
|
-
started_at: stringType(),
|
|
36467
|
-
queued_at: stringType().optional(),
|
|
36468
|
-
completed_at: stringType().optional(),
|
|
36469
|
-
errors: arrayType(lazyType(() => Errors$inboundSchema)).optional()
|
|
36470
|
-
}).transform((v2) => {
|
|
36471
|
-
return remap(v2, {
|
|
36472
|
-
started_at: "startedAt",
|
|
36473
|
-
queued_at: "queuedAt",
|
|
36474
|
-
completed_at: "completedAt"
|
|
36475
|
-
});
|
|
36476
|
-
});
|
|
36477
|
-
ProcessingAttempts$outboundSchema = objectType({
|
|
36478
|
-
id: stringType(),
|
|
36479
|
-
startedAt: stringType(),
|
|
36480
|
-
queuedAt: stringType().optional(),
|
|
36481
|
-
completedAt: stringType().optional(),
|
|
36482
|
-
errors: arrayType(lazyType(() => Errors$outboundSchema)).optional()
|
|
36483
|
-
}).transform((v2) => {
|
|
36484
|
-
return remap(v2, {
|
|
36485
|
-
startedAt: "started_at",
|
|
36486
|
-
queuedAt: "queued_at",
|
|
36487
|
-
completedAt: "completed_at"
|
|
36488
|
-
});
|
|
36489
|
-
});
|
|
36490
|
-
((ProcessingAttempts$) => {
|
|
36491
|
-
ProcessingAttempts$.inboundSchema = ProcessingAttempts$inboundSchema;
|
|
36492
|
-
ProcessingAttempts$.outboundSchema = ProcessingAttempts$outboundSchema;
|
|
36493
|
-
})(ProcessingAttempts$ ||= {});
|
|
36407
|
+
CreateChunkStatus$inboundSchema = nativeEnumType(CreateChunkStatus);
|
|
36408
|
+
CreateChunkStatus$outboundSchema = CreateChunkStatus$inboundSchema;
|
|
36409
|
+
((CreateChunkStatus$) => {
|
|
36410
|
+
CreateChunkStatus$.inboundSchema = CreateChunkStatus$inboundSchema;
|
|
36411
|
+
CreateChunkStatus$.outboundSchema = CreateChunkStatus$outboundSchema;
|
|
36412
|
+
})(CreateChunkStatus$ ||= {});
|
|
36494
36413
|
CreateChunkResponseBody$inboundSchema = objectType({
|
|
36495
|
-
|
|
36496
|
-
workspace_id: stringType(),
|
|
36497
|
-
data_source_id: stringType(),
|
|
36498
|
-
id: stringType().default("chunk_01JQYJSBSRYKECXYPB02KAAFGW"),
|
|
36414
|
+
_id: stringType(),
|
|
36499
36415
|
text: stringType(),
|
|
36500
|
-
|
|
36501
|
-
|
|
36502
|
-
|
|
36416
|
+
metadata: recordType(stringType()).optional(),
|
|
36417
|
+
enabled: booleanType(),
|
|
36418
|
+
status: CreateChunkStatus$inboundSchema,
|
|
36503
36419
|
created: stringType(),
|
|
36504
36420
|
updated: stringType(),
|
|
36505
|
-
created_by_id: stringType(),
|
|
36506
|
-
|
|
36421
|
+
created_by_id: stringType().optional(),
|
|
36422
|
+
update_by_id: stringType().optional()
|
|
36507
36423
|
}).transform((v2) => {
|
|
36508
36424
|
return remap(v2, {
|
|
36509
|
-
|
|
36510
|
-
workspace_id: "workspaceId",
|
|
36511
|
-
data_source_id: "dataSourceId",
|
|
36512
|
-
processing_attempts: "processingAttempts",
|
|
36425
|
+
_id: "id",
|
|
36513
36426
|
created_by_id: "createdById",
|
|
36514
|
-
|
|
36427
|
+
update_by_id: "updateById"
|
|
36515
36428
|
});
|
|
36516
36429
|
});
|
|
36517
36430
|
CreateChunkResponseBody$outboundSchema = objectType({
|
|
36518
|
-
|
|
36519
|
-
workspaceId: stringType(),
|
|
36520
|
-
dataSourceId: stringType(),
|
|
36521
|
-
id: stringType().default("chunk_01JQYJSBSRYKECXYPB02KAAFGW"),
|
|
36431
|
+
id: stringType(),
|
|
36522
36432
|
text: stringType(),
|
|
36523
|
-
|
|
36524
|
-
|
|
36525
|
-
|
|
36433
|
+
metadata: recordType(stringType()).optional(),
|
|
36434
|
+
enabled: booleanType(),
|
|
36435
|
+
status: CreateChunkStatus$outboundSchema,
|
|
36526
36436
|
created: stringType(),
|
|
36527
36437
|
updated: stringType(),
|
|
36528
|
-
createdById: stringType(),
|
|
36529
|
-
|
|
36438
|
+
createdById: stringType().optional(),
|
|
36439
|
+
updateById: stringType().optional()
|
|
36530
36440
|
}).transform((v2) => {
|
|
36531
36441
|
return remap(v2, {
|
|
36532
|
-
|
|
36533
|
-
workspaceId: "workspace_id",
|
|
36534
|
-
dataSourceId: "data_source_id",
|
|
36535
|
-
processingAttempts: "processing_attempts",
|
|
36442
|
+
id: "_id",
|
|
36536
36443
|
createdById: "created_by_id",
|
|
36537
|
-
|
|
36444
|
+
updateById: "update_by_id"
|
|
36538
36445
|
});
|
|
36539
36446
|
});
|
|
36540
36447
|
((CreateChunkResponseBody$) => {
|
|
@@ -36589,7 +36496,7 @@ var init_createcontact = __esm(() => {
|
|
|
36589
36496
|
tags: arrayType(stringType()).optional(),
|
|
36590
36497
|
metadata: recordType(anyType()).optional(),
|
|
36591
36498
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36592
|
-
updated: stringType().datetime({ offset: true }).default("2025-04-
|
|
36499
|
+
updated: stringType().datetime({ offset: true }).default("2025-04-03T20:49:20.627Z").transform((v2) => new Date(v2))
|
|
36593
36500
|
}).transform((v2) => {
|
|
36594
36501
|
return remap(v2, {
|
|
36595
36502
|
external_id: "externalId",
|
|
@@ -36606,7 +36513,7 @@ var init_createcontact = __esm(() => {
|
|
|
36606
36513
|
tags: arrayType(stringType()).optional(),
|
|
36607
36514
|
metadata: recordType(anyType()).optional(),
|
|
36608
36515
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36609
|
-
updated: dateType().default(() => new Date("2025-04-
|
|
36516
|
+
updated: dateType().default(() => new Date("2025-04-03T20:49:20.627Z")).transform((v2) => v2.toISOString())
|
|
36610
36517
|
}).transform((v2) => {
|
|
36611
36518
|
return remap(v2, {
|
|
36612
36519
|
externalId: "external_id",
|
|
@@ -36676,7 +36583,7 @@ var init_createdataset = __esm(() => {
|
|
|
36676
36583
|
updated_by_id: stringType().optional(),
|
|
36677
36584
|
metadata: lazyType(() => CreateDatasetMetadata$inboundSchema),
|
|
36678
36585
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36679
|
-
updated: stringType().datetime({ offset: true }).default("2025-04-
|
|
36586
|
+
updated: stringType().datetime({ offset: true }).default("2025-04-03T20:49:20.627Z").transform((v2) => new Date(v2))
|
|
36680
36587
|
}).transform((v2) => {
|
|
36681
36588
|
return remap(v2, {
|
|
36682
36589
|
_id: "id",
|
|
@@ -36696,7 +36603,7 @@ var init_createdataset = __esm(() => {
|
|
|
36696
36603
|
updatedById: stringType().optional(),
|
|
36697
36604
|
metadata: lazyType(() => CreateDatasetMetadata$outboundSchema),
|
|
36698
36605
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36699
|
-
updated: dateType().default(() => new Date("2025-04-
|
|
36606
|
+
updated: dateType().default(() => new Date("2025-04-03T20:49:20.627Z")).transform((v2) => v2.toISOString())
|
|
36700
36607
|
}).transform((v2) => {
|
|
36701
36608
|
return remap(v2, {
|
|
36702
36609
|
id: "_id",
|
|
@@ -37132,7 +37039,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37132
37039
|
created_by_id: stringType().optional(),
|
|
37133
37040
|
updated_by_id: stringType().optional(),
|
|
37134
37041
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
37135
|
-
updated: stringType().datetime({ offset: true }).default("2025-04-
|
|
37042
|
+
updated: stringType().datetime({ offset: true }).default("2025-04-03T20:49:20.627Z").transform((v2) => new Date(v2))
|
|
37136
37043
|
}).transform((v2) => {
|
|
37137
37044
|
return remap(v2, {
|
|
37138
37045
|
_id: "id",
|
|
@@ -37153,7 +37060,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37153
37060
|
createdById: stringType().optional(),
|
|
37154
37061
|
updatedById: stringType().optional(),
|
|
37155
37062
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
37156
|
-
updated: dateType().default(() => new Date("2025-04-
|
|
37063
|
+
updated: dateType().default(() => new Date("2025-04-03T20:49:20.627Z")).transform((v2) => v2.toISOString())
|
|
37157
37064
|
}).transform((v2) => {
|
|
37158
37065
|
return remap(v2, {
|
|
37159
37066
|
id: "_id",
|
|
@@ -37375,7 +37282,7 @@ var init_createdatasource = __esm(() => {
|
|
|
37375
37282
|
CreateDatasourceStatus$.outboundSchema = CreateDatasourceStatus$outboundSchema;
|
|
37376
37283
|
})(CreateDatasourceStatus$ ||= {});
|
|
37377
37284
|
CreateDatasourceResponseBody$inboundSchema = objectType({
|
|
37378
|
-
_id: stringType().default("
|
|
37285
|
+
_id: stringType().default("01JQYPMWQHD57SBKSH17RQ7ZMQ"),
|
|
37379
37286
|
display_name: stringType(),
|
|
37380
37287
|
description: stringType().optional(),
|
|
37381
37288
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -37398,7 +37305,7 @@ var init_createdatasource = __esm(() => {
|
|
|
37398
37305
|
});
|
|
37399
37306
|
});
|
|
37400
37307
|
CreateDatasourceResponseBody$outboundSchema = objectType({
|
|
37401
|
-
id: stringType().default("
|
|
37308
|
+
id: stringType().default("01JQYPMWQHD57SBKSH17RQ7ZMQ"),
|
|
37402
37309
|
displayName: stringType(),
|
|
37403
37310
|
description: stringType().optional(),
|
|
37404
37311
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -43925,7 +43832,7 @@ var init_fileget = __esm(() => {
|
|
|
43925
43832
|
bytes: numberType(),
|
|
43926
43833
|
file_name: stringType(),
|
|
43927
43834
|
workspace_id: stringType(),
|
|
43928
|
-
created: stringType().datetime({ offset: true }).default("2025-04-
|
|
43835
|
+
created: stringType().datetime({ offset: true }).default("2025-04-03T20:49:22.217Z").transform((v2) => new Date(v2))
|
|
43929
43836
|
}).transform((v2) => {
|
|
43930
43837
|
return remap(v2, {
|
|
43931
43838
|
_id: "id",
|
|
@@ -43941,7 +43848,7 @@ var init_fileget = __esm(() => {
|
|
|
43941
43848
|
bytes: numberType(),
|
|
43942
43849
|
fileName: stringType(),
|
|
43943
43850
|
workspaceId: stringType(),
|
|
43944
|
-
created: dateType().default(() => new Date("2025-04-
|
|
43851
|
+
created: dateType().default(() => new Date("2025-04-03T20:49:22.217Z")).transform((v2) => v2.toISOString())
|
|
43945
43852
|
}).transform((v2) => {
|
|
43946
43853
|
return remap(v2, {
|
|
43947
43854
|
id: "_id",
|
|
@@ -44012,7 +43919,7 @@ var init_filelist = __esm(() => {
|
|
|
44012
43919
|
bytes: numberType(),
|
|
44013
43920
|
file_name: stringType(),
|
|
44014
43921
|
workspace_id: stringType(),
|
|
44015
|
-
created: stringType().datetime({ offset: true }).default("2025-04-
|
|
43922
|
+
created: stringType().datetime({ offset: true }).default("2025-04-03T20:49:22.217Z").transform((v2) => new Date(v2))
|
|
44016
43923
|
}).transform((v2) => {
|
|
44017
43924
|
return remap(v2, {
|
|
44018
43925
|
_id: "id",
|
|
@@ -44028,7 +43935,7 @@ var init_filelist = __esm(() => {
|
|
|
44028
43935
|
bytes: numberType(),
|
|
44029
43936
|
fileName: stringType(),
|
|
44030
43937
|
workspaceId: stringType(),
|
|
44031
|
-
created: dateType().default(() => new Date("2025-04-
|
|
43938
|
+
created: dateType().default(() => new Date("2025-04-03T20:49:22.217Z")).transform((v2) => v2.toISOString())
|
|
44032
43939
|
}).transform((v2) => {
|
|
44033
43940
|
return remap(v2, {
|
|
44034
43941
|
id: "_id",
|
|
@@ -44160,7 +44067,7 @@ var init_fileupload = __esm(() => {
|
|
|
44160
44067
|
bytes: numberType(),
|
|
44161
44068
|
file_name: stringType(),
|
|
44162
44069
|
workspace_id: stringType(),
|
|
44163
|
-
created: stringType().datetime({ offset: true }).default("2025-04-
|
|
44070
|
+
created: stringType().datetime({ offset: true }).default("2025-04-03T20:49:22.217Z").transform((v2) => new Date(v2))
|
|
44164
44071
|
}).transform((v2) => {
|
|
44165
44072
|
return remap(v2, {
|
|
44166
44073
|
_id: "id",
|
|
@@ -44176,7 +44083,7 @@ var init_fileupload = __esm(() => {
|
|
|
44176
44083
|
bytes: numberType(),
|
|
44177
44084
|
fileName: stringType(),
|
|
44178
44085
|
workspaceId: stringType(),
|
|
44179
|
-
created: dateType().default(() => new Date("2025-04-
|
|
44086
|
+
created: dateType().default(() => new Date("2025-04-03T20:49:22.217Z")).transform((v2) => v2.toISOString())
|
|
44180
44087
|
}).transform((v2) => {
|
|
44181
44088
|
return remap(v2, {
|
|
44182
44089
|
id: "_id",
|
|
@@ -46559,7 +46466,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
46559
46466
|
created_by_id: stringType().optional(),
|
|
46560
46467
|
updated_by_id: stringType().optional(),
|
|
46561
46468
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
46562
|
-
updated: stringType().datetime({ offset: true }).default("2025-04-
|
|
46469
|
+
updated: stringType().datetime({ offset: true }).default("2025-04-03T20:49:20.627Z").transform((v2) => new Date(v2))
|
|
46563
46470
|
}).transform((v2) => {
|
|
46564
46471
|
return remap(v2, {
|
|
46565
46472
|
_id: "id",
|
|
@@ -46580,7 +46487,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
46580
46487
|
createdById: stringType().optional(),
|
|
46581
46488
|
updatedById: stringType().optional(),
|
|
46582
46489
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
46583
|
-
updated: dateType().default(() => new Date("2025-04-
|
|
46490
|
+
updated: dateType().default(() => new Date("2025-04-03T20:49:20.627Z")).transform((v2) => v2.toISOString())
|
|
46584
46491
|
}).transform((v2) => {
|
|
46585
46492
|
return remap(v2, {
|
|
46586
46493
|
id: "_id",
|
|
@@ -46688,7 +46595,7 @@ var init_listdatasets = __esm(() => {
|
|
|
46688
46595
|
updated_by_id: stringType().optional(),
|
|
46689
46596
|
metadata: lazyType(() => ListDatasetsMetadata$inboundSchema),
|
|
46690
46597
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
46691
|
-
updated: stringType().datetime({ offset: true }).default("2025-04-
|
|
46598
|
+
updated: stringType().datetime({ offset: true }).default("2025-04-03T20:49:20.627Z").transform((v2) => new Date(v2))
|
|
46692
46599
|
}).transform((v2) => {
|
|
46693
46600
|
return remap(v2, {
|
|
46694
46601
|
_id: "id",
|
|
@@ -46708,7 +46615,7 @@ var init_listdatasets = __esm(() => {
|
|
|
46708
46615
|
updatedById: stringType().optional(),
|
|
46709
46616
|
metadata: lazyType(() => ListDatasetsMetadata$outboundSchema),
|
|
46710
46617
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
46711
|
-
updated: dateType().default(() => new Date("2025-04-
|
|
46618
|
+
updated: dateType().default(() => new Date("2025-04-03T20:49:20.627Z")).transform((v2) => v2.toISOString())
|
|
46712
46619
|
}).transform((v2) => {
|
|
46713
46620
|
return remap(v2, {
|
|
46714
46621
|
id: "_id",
|
|
@@ -46813,7 +46720,7 @@ var init_listdatasources = __esm(() => {
|
|
|
46813
46720
|
ListDatasourcesStatus$.outboundSchema = ListDatasourcesStatus$outboundSchema;
|
|
46814
46721
|
})(ListDatasourcesStatus$ ||= {});
|
|
46815
46722
|
ListDatasourcesData$inboundSchema = objectType({
|
|
46816
|
-
_id: stringType().default("
|
|
46723
|
+
_id: stringType().default("01JQYPMWQFCYY75G59GZ5CRZNE"),
|
|
46817
46724
|
display_name: stringType(),
|
|
46818
46725
|
description: stringType().optional(),
|
|
46819
46726
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -46836,7 +46743,7 @@ var init_listdatasources = __esm(() => {
|
|
|
46836
46743
|
});
|
|
46837
46744
|
});
|
|
46838
46745
|
ListDatasourcesData$outboundSchema = objectType({
|
|
46839
|
-
id: stringType().default("
|
|
46746
|
+
id: stringType().default("01JQYPMWQFCYY75G59GZ5CRZNE"),
|
|
46840
46747
|
displayName: stringType(),
|
|
46841
46748
|
description: stringType().optional(),
|
|
46842
46749
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -47928,7 +47835,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
47928
47835
|
created_by_id: stringType().optional(),
|
|
47929
47836
|
updated_by_id: stringType().optional(),
|
|
47930
47837
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
47931
|
-
updated: stringType().datetime({ offset: true }).default("2025-04-
|
|
47838
|
+
updated: stringType().datetime({ offset: true }).default("2025-04-03T20:49:20.627Z").transform((v2) => new Date(v2))
|
|
47932
47839
|
}).transform((v2) => {
|
|
47933
47840
|
return remap(v2, {
|
|
47934
47841
|
_id: "id",
|
|
@@ -47949,7 +47856,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
47949
47856
|
createdById: stringType().optional(),
|
|
47950
47857
|
updatedById: stringType().optional(),
|
|
47951
47858
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
47952
|
-
updated: dateType().default(() => new Date("2025-04-
|
|
47859
|
+
updated: dateType().default(() => new Date("2025-04-03T20:49:20.627Z")).transform((v2) => v2.toISOString())
|
|
47953
47860
|
}).transform((v2) => {
|
|
47954
47861
|
return remap(v2, {
|
|
47955
47862
|
id: "_id",
|
|
@@ -48020,7 +47927,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
48020
47927
|
updated_by_id: stringType().optional(),
|
|
48021
47928
|
metadata: lazyType(() => RetrieveDatasetMetadata$inboundSchema),
|
|
48022
47929
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
48023
|
-
updated: stringType().datetime({ offset: true }).default("2025-04-
|
|
47930
|
+
updated: stringType().datetime({ offset: true }).default("2025-04-03T20:49:20.627Z").transform((v2) => new Date(v2))
|
|
48024
47931
|
}).transform((v2) => {
|
|
48025
47932
|
return remap(v2, {
|
|
48026
47933
|
_id: "id",
|
|
@@ -48040,7 +47947,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
48040
47947
|
updatedById: stringType().optional(),
|
|
48041
47948
|
metadata: lazyType(() => RetrieveDatasetMetadata$outboundSchema),
|
|
48042
47949
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
48043
|
-
updated: dateType().default(() => new Date("2025-04-
|
|
47950
|
+
updated: dateType().default(() => new Date("2025-04-03T20:49:20.627Z")).transform((v2) => v2.toISOString())
|
|
48044
47951
|
}).transform((v2) => {
|
|
48045
47952
|
return remap(v2, {
|
|
48046
47953
|
id: "_id",
|
|
@@ -48098,7 +48005,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
48098
48005
|
RetrieveDatasourceStatus$.outboundSchema = RetrieveDatasourceStatus$outboundSchema;
|
|
48099
48006
|
})(RetrieveDatasourceStatus$ ||= {});
|
|
48100
48007
|
RetrieveDatasourceResponseBody$inboundSchema = objectType({
|
|
48101
|
-
_id: stringType().default("
|
|
48008
|
+
_id: stringType().default("01JQYPMWQHFA1YG3BADX3Q9RCX"),
|
|
48102
48009
|
display_name: stringType(),
|
|
48103
48010
|
description: stringType().optional(),
|
|
48104
48011
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -48121,7 +48028,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
48121
48028
|
});
|
|
48122
48029
|
});
|
|
48123
48030
|
RetrieveDatasourceResponseBody$outboundSchema = objectType({
|
|
48124
|
-
id: stringType().default("
|
|
48031
|
+
id: stringType().default("01JQYPMWQHFA1YG3BADX3Q9RCX"),
|
|
48125
48032
|
displayName: stringType(),
|
|
48126
48033
|
description: stringType().optional(),
|
|
48127
48034
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -49185,7 +49092,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
49185
49092
|
created_by_id: stringType().optional(),
|
|
49186
49093
|
updated_by_id: stringType().optional(),
|
|
49187
49094
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
49188
|
-
updated: stringType().datetime({ offset: true }).default("2025-04-
|
|
49095
|
+
updated: stringType().datetime({ offset: true }).default("2025-04-03T20:49:20.627Z").transform((v2) => new Date(v2))
|
|
49189
49096
|
}).transform((v2) => {
|
|
49190
49097
|
return remap(v2, {
|
|
49191
49098
|
_id: "id",
|
|
@@ -49206,7 +49113,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
49206
49113
|
createdById: stringType().optional(),
|
|
49207
49114
|
updatedById: stringType().optional(),
|
|
49208
49115
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
49209
|
-
updated: dateType().default(() => new Date("2025-04-
|
|
49116
|
+
updated: dateType().default(() => new Date("2025-04-03T20:49:20.627Z")).transform((v2) => v2.toISOString())
|
|
49210
49117
|
}).transform((v2) => {
|
|
49211
49118
|
return remap(v2, {
|
|
49212
49119
|
id: "_id",
|
|
@@ -49307,7 +49214,7 @@ var init_updatedataset = __esm(() => {
|
|
|
49307
49214
|
parent_id: stringType().optional(),
|
|
49308
49215
|
version: stringType().optional(),
|
|
49309
49216
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
49310
|
-
updated: stringType().datetime({ offset: true }).default("2025-04-
|
|
49217
|
+
updated: stringType().datetime({ offset: true }).default("2025-04-03T20:49:20.627Z").transform((v2) => new Date(v2))
|
|
49311
49218
|
}).transform((v2) => {
|
|
49312
49219
|
return remap(v2, {
|
|
49313
49220
|
_id: "id",
|
|
@@ -49330,7 +49237,7 @@ var init_updatedataset = __esm(() => {
|
|
|
49330
49237
|
parentId: stringType().optional(),
|
|
49331
49238
|
version: stringType().optional(),
|
|
49332
49239
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
49333
|
-
updated: dateType().default(() => new Date("2025-04-
|
|
49240
|
+
updated: dateType().default(() => new Date("2025-04-03T20:49:20.627Z")).transform((v2) => v2.toISOString())
|
|
49334
49241
|
}).transform((v2) => {
|
|
49335
49242
|
return remap(v2, {
|
|
49336
49243
|
id: "_id",
|
|
@@ -49411,7 +49318,7 @@ var init_updatedatasource = __esm(() => {
|
|
|
49411
49318
|
UpdateDatasourceStatus$.outboundSchema = UpdateDatasourceStatus$outboundSchema;
|
|
49412
49319
|
})(UpdateDatasourceStatus$ ||= {});
|
|
49413
49320
|
UpdateDatasourceResponseBody$inboundSchema = objectType({
|
|
49414
|
-
_id: stringType().default("
|
|
49321
|
+
_id: stringType().default("01JQYPMWQKKZEW8DE5A9GZASYP"),
|
|
49415
49322
|
display_name: stringType(),
|
|
49416
49323
|
description: stringType().optional(),
|
|
49417
49324
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -49434,7 +49341,7 @@ var init_updatedatasource = __esm(() => {
|
|
|
49434
49341
|
});
|
|
49435
49342
|
});
|
|
49436
49343
|
UpdateDatasourceResponseBody$outboundSchema = objectType({
|
|
49437
|
-
id: stringType().default("
|
|
49344
|
+
id: stringType().default("01JQYPMWQKKZEW8DE5A9GZASYP"),
|
|
49438
49345
|
displayName: stringType(),
|
|
49439
49346
|
description: stringType().optional(),
|
|
49440
49347
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -55085,7 +54992,7 @@ async function $do29(client, request, options) {
|
|
|
55085
54992
|
return [doResult, { status: "request-error", request: req }];
|
|
55086
54993
|
}
|
|
55087
54994
|
const response = doResult.value;
|
|
55088
|
-
const [result] = await match(nil(
|
|
54995
|
+
const [result] = await match(nil(204, voidType()), fail("4XX"), fail("5XX"))(response);
|
|
55089
54996
|
if (!result.ok) {
|
|
55090
54997
|
return [result, { status: "complete", request: req, response }];
|
|
55091
54998
|
}
|
|
@@ -57004,7 +56911,7 @@ var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
|
57004
56911
|
function createMCPServer(deps) {
|
|
57005
56912
|
const server = new McpServer({
|
|
57006
56913
|
name: "Orq",
|
|
57007
|
-
version: "3.3.
|
|
56914
|
+
version: "3.3.2"
|
|
57008
56915
|
});
|
|
57009
56916
|
const client = new OrqCore({
|
|
57010
56917
|
apiKey: deps.apiKey,
|
|
@@ -58331,7 +58238,7 @@ var routes = rn({
|
|
|
58331
58238
|
var app = Ve(routes, {
|
|
58332
58239
|
name: "mcp",
|
|
58333
58240
|
versionInfo: {
|
|
58334
|
-
currentVersion: "3.3.
|
|
58241
|
+
currentVersion: "3.3.2"
|
|
58335
58242
|
}
|
|
58336
58243
|
});
|
|
58337
58244
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -58339,5 +58246,5 @@ export {
|
|
|
58339
58246
|
app
|
|
58340
58247
|
};
|
|
58341
58248
|
|
|
58342
|
-
//# debugId=
|
|
58249
|
+
//# debugId=373BB7C726E8D86064756E2164756E21
|
|
58343
58250
|
//# sourceMappingURL=mcp-server.js.map
|