@getmodus/sdk 0.2.1 → 0.2.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/CHANGELOG.md +5 -3
- package/README.md +4 -0
- package/dist/{chunk-UOBVSNOW.js → chunk-OUFN2O5C.js} +124 -93
- package/dist/chunk-OUFN2O5C.js.map +1 -0
- package/dist/{conversations-DoyTcWk6.d.cts → conversations-BP2sI3Q5.d.cts} +108 -90
- package/dist/{conversations-DoyTcWk6.d.ts → conversations-BP2sI3Q5.d.ts} +108 -90
- package/dist/index.cjs +237 -125
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -10
- package/dist/index.d.ts +26 -10
- package/dist/index.js +114 -34
- package/dist/index.js.map +1 -1
- package/dist/management/index.cjs +129 -93
- package/dist/management/index.cjs.map +1 -1
- package/dist/management/index.d.cts +1 -1
- package/dist/management/index.d.ts +1 -1
- package/dist/management/index.js +7 -2
- package/dist/management/index.js.map +1 -1
- package/package.json +2 -1
- package/dist/chunk-UOBVSNOW.js.map +0 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
interface ModusOptions {
|
|
2
2
|
apiKey?: string;
|
|
3
3
|
baseUrl?: string;
|
|
4
|
+
/** Agent host origin for streaming runs (default https://agent.getmodus.com). */
|
|
5
|
+
agentHost?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Optional Clerk organization id for agent-host run bodies. Usually omit —
|
|
8
|
+
* agent-service uses the PAT principal's org.
|
|
9
|
+
*/
|
|
10
|
+
organizationId?: string;
|
|
4
11
|
/**
|
|
5
12
|
* Override service-specific API origins, for example:
|
|
6
13
|
* `{ 'agent-service': 'http://localhost:3130' }`.
|
|
@@ -15,6 +22,8 @@ interface ModusOptions {
|
|
|
15
22
|
interface ModusConfig {
|
|
16
23
|
readonly apiKey: string;
|
|
17
24
|
readonly baseUrl: string;
|
|
25
|
+
readonly agentHost: string;
|
|
26
|
+
readonly organizationId?: string;
|
|
18
27
|
readonly baseUrls: Readonly<Record<string, string>>;
|
|
19
28
|
readonly timeoutMs: number;
|
|
20
29
|
readonly maxRetries: number;
|
|
@@ -18310,7 +18319,7 @@ declare const OPERATIONS: {
|
|
|
18310
18319
|
readonly method: "GET";
|
|
18311
18320
|
readonly path: "/api/v1/connections";
|
|
18312
18321
|
readonly service: "modus-api";
|
|
18313
|
-
readonly serverUrl: "https://api.
|
|
18322
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18314
18323
|
readonly pathParams: readonly [];
|
|
18315
18324
|
readonly queryParams: readonly ["pageToken", "pageSize", "type"];
|
|
18316
18325
|
readonly requestSchema: null;
|
|
@@ -18320,7 +18329,7 @@ declare const OPERATIONS: {
|
|
|
18320
18329
|
readonly method: "POST";
|
|
18321
18330
|
readonly path: "/api/v1/context/links";
|
|
18322
18331
|
readonly service: "modus-api";
|
|
18323
|
-
readonly serverUrl: "https://api.
|
|
18332
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18324
18333
|
readonly pathParams: readonly [];
|
|
18325
18334
|
readonly queryParams: readonly [];
|
|
18326
18335
|
readonly requestSchema: "CreateLinkDto";
|
|
@@ -18330,7 +18339,7 @@ declare const OPERATIONS: {
|
|
|
18330
18339
|
readonly method: "POST";
|
|
18331
18340
|
readonly path: "/api/v1/context/notes";
|
|
18332
18341
|
readonly service: "modus-api";
|
|
18333
|
-
readonly serverUrl: "https://api.
|
|
18342
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18334
18343
|
readonly pathParams: readonly [];
|
|
18335
18344
|
readonly queryParams: readonly [];
|
|
18336
18345
|
readonly requestSchema: "CreateNoteDto";
|
|
@@ -18340,7 +18349,7 @@ declare const OPERATIONS: {
|
|
|
18340
18349
|
readonly method: "POST";
|
|
18341
18350
|
readonly path: "/api/v1/context/saved-queries";
|
|
18342
18351
|
readonly service: "modus-api";
|
|
18343
|
-
readonly serverUrl: "https://api.
|
|
18352
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18344
18353
|
readonly pathParams: readonly [];
|
|
18345
18354
|
readonly queryParams: readonly [];
|
|
18346
18355
|
readonly requestSchema: "CreateSavedQueryDto";
|
|
@@ -18350,7 +18359,7 @@ declare const OPERATIONS: {
|
|
|
18350
18359
|
readonly method: "DELETE";
|
|
18351
18360
|
readonly path: "/api/v1/context/items/{uid}";
|
|
18352
18361
|
readonly service: "modus-api";
|
|
18353
|
-
readonly serverUrl: "https://api.
|
|
18362
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18354
18363
|
readonly pathParams: readonly ["uid"];
|
|
18355
18364
|
readonly queryParams: readonly [];
|
|
18356
18365
|
readonly requestSchema: null;
|
|
@@ -18360,7 +18369,7 @@ declare const OPERATIONS: {
|
|
|
18360
18369
|
readonly method: "GET";
|
|
18361
18370
|
readonly path: "/api/v1/context/items/{uid}";
|
|
18362
18371
|
readonly service: "modus-api";
|
|
18363
|
-
readonly serverUrl: "https://api.
|
|
18372
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18364
18373
|
readonly pathParams: readonly ["uid"];
|
|
18365
18374
|
readonly queryParams: readonly [];
|
|
18366
18375
|
readonly requestSchema: null;
|
|
@@ -18370,7 +18379,7 @@ declare const OPERATIONS: {
|
|
|
18370
18379
|
readonly method: "GET";
|
|
18371
18380
|
readonly path: "/api/v1/context/items";
|
|
18372
18381
|
readonly service: "modus-api";
|
|
18373
|
-
readonly serverUrl: "https://api.
|
|
18382
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18374
18383
|
readonly pathParams: readonly [];
|
|
18375
18384
|
readonly queryParams: readonly ["pageToken", "pageSize", "contextTypes", "verificationStatuses", "searchQuery", "topics"];
|
|
18376
18385
|
readonly requestSchema: null;
|
|
@@ -18380,7 +18389,7 @@ declare const OPERATIONS: {
|
|
|
18380
18389
|
readonly method: "GET";
|
|
18381
18390
|
readonly path: "/api/v1/context/items/{uid}/values";
|
|
18382
18391
|
readonly service: "modus-api";
|
|
18383
|
-
readonly serverUrl: "https://api.
|
|
18392
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18384
18393
|
readonly pathParams: readonly ["uid"];
|
|
18385
18394
|
readonly queryParams: readonly ["contextType", "contentKeyPath", "pageSize", "offset", "pageToken", "searchQuery", "dataPathPrefix"];
|
|
18386
18395
|
readonly requestSchema: null;
|
|
@@ -18390,7 +18399,7 @@ declare const OPERATIONS: {
|
|
|
18390
18399
|
readonly method: "POST";
|
|
18391
18400
|
readonly path: "/api/v1/context/items/lookup";
|
|
18392
18401
|
readonly service: "modus-api";
|
|
18393
|
-
readonly serverUrl: "https://api.
|
|
18402
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18394
18403
|
readonly pathParams: readonly [];
|
|
18395
18404
|
readonly queryParams: readonly [];
|
|
18396
18405
|
readonly requestSchema: "LookupContextItemDto";
|
|
@@ -18400,7 +18409,7 @@ declare const OPERATIONS: {
|
|
|
18400
18409
|
readonly method: "PATCH";
|
|
18401
18410
|
readonly path: "/api/v1/context/items/{uid}";
|
|
18402
18411
|
readonly service: "modus-api";
|
|
18403
|
-
readonly serverUrl: "https://api.
|
|
18412
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18404
18413
|
readonly pathParams: readonly ["uid"];
|
|
18405
18414
|
readonly queryParams: readonly ["updateMask"];
|
|
18406
18415
|
readonly requestSchema: "UpdateContextItemDto";
|
|
@@ -18410,7 +18419,7 @@ declare const OPERATIONS: {
|
|
|
18410
18419
|
readonly method: "POST";
|
|
18411
18420
|
readonly path: "/api/v1/context/custom-items/batch";
|
|
18412
18421
|
readonly service: "modus-api";
|
|
18413
|
-
readonly serverUrl: "https://api.
|
|
18422
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18414
18423
|
readonly pathParams: readonly [];
|
|
18415
18424
|
readonly queryParams: readonly [];
|
|
18416
18425
|
readonly requestSchema: "BatchCreateCustomContextItemsDto";
|
|
@@ -18420,7 +18429,7 @@ declare const OPERATIONS: {
|
|
|
18420
18429
|
readonly method: "POST";
|
|
18421
18430
|
readonly path: "/api/v1/context/custom-items";
|
|
18422
18431
|
readonly service: "modus-api";
|
|
18423
|
-
readonly serverUrl: "https://api.
|
|
18432
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18424
18433
|
readonly pathParams: readonly [];
|
|
18425
18434
|
readonly queryParams: readonly [];
|
|
18426
18435
|
readonly requestSchema: "CreateCustomContextItemDto";
|
|
@@ -18430,7 +18439,7 @@ declare const OPERATIONS: {
|
|
|
18430
18439
|
readonly method: "DELETE";
|
|
18431
18440
|
readonly path: "/api/v1/context/custom-items/{uid}";
|
|
18432
18441
|
readonly service: "modus-api";
|
|
18433
|
-
readonly serverUrl: "https://api.
|
|
18442
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18434
18443
|
readonly pathParams: readonly ["uid"];
|
|
18435
18444
|
readonly queryParams: readonly [];
|
|
18436
18445
|
readonly requestSchema: null;
|
|
@@ -18440,7 +18449,7 @@ declare const OPERATIONS: {
|
|
|
18440
18449
|
readonly method: "GET";
|
|
18441
18450
|
readonly path: "/api/v1/context/custom-items/{uid}";
|
|
18442
18451
|
readonly service: "modus-api";
|
|
18443
|
-
readonly serverUrl: "https://api.
|
|
18452
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18444
18453
|
readonly pathParams: readonly ["uid"];
|
|
18445
18454
|
readonly queryParams: readonly [];
|
|
18446
18455
|
readonly requestSchema: null;
|
|
@@ -18450,7 +18459,7 @@ declare const OPERATIONS: {
|
|
|
18450
18459
|
readonly method: "GET";
|
|
18451
18460
|
readonly path: "/api/v1/context/custom-items";
|
|
18452
18461
|
readonly service: "modus-api";
|
|
18453
|
-
readonly serverUrl: "https://api.
|
|
18462
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18454
18463
|
readonly pathParams: readonly [];
|
|
18455
18464
|
readonly queryParams: readonly ["pageToken", "pageSize", "contextTypes", "verificationStatuses", "searchQuery", "topics"];
|
|
18456
18465
|
readonly requestSchema: null;
|
|
@@ -18460,7 +18469,7 @@ declare const OPERATIONS: {
|
|
|
18460
18469
|
readonly method: "PATCH";
|
|
18461
18470
|
readonly path: "/api/v1/context/custom-items/{uid}";
|
|
18462
18471
|
readonly service: "modus-api";
|
|
18463
|
-
readonly serverUrl: "https://api.
|
|
18472
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18464
18473
|
readonly pathParams: readonly ["uid"];
|
|
18465
18474
|
readonly queryParams: readonly [];
|
|
18466
18475
|
readonly requestSchema: "UpdateCustomContextItemDto";
|
|
@@ -18470,7 +18479,7 @@ declare const OPERATIONS: {
|
|
|
18470
18479
|
readonly method: "GET";
|
|
18471
18480
|
readonly path: "/api/v1/scopes/{id}/evaluations/config";
|
|
18472
18481
|
readonly service: "modus-api";
|
|
18473
|
-
readonly serverUrl: "https://api.
|
|
18482
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18474
18483
|
readonly pathParams: readonly ["id"];
|
|
18475
18484
|
readonly queryParams: readonly [];
|
|
18476
18485
|
readonly requestSchema: null;
|
|
@@ -18480,7 +18489,7 @@ declare const OPERATIONS: {
|
|
|
18480
18489
|
readonly method: "GET";
|
|
18481
18490
|
readonly path: "/api/v1/scopes/{id}/evaluations/runs/{runId}";
|
|
18482
18491
|
readonly service: "modus-api";
|
|
18483
|
-
readonly serverUrl: "https://api.
|
|
18492
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18484
18493
|
readonly pathParams: readonly ["id", "runId"];
|
|
18485
18494
|
readonly queryParams: readonly [];
|
|
18486
18495
|
readonly requestSchema: null;
|
|
@@ -18490,7 +18499,7 @@ declare const OPERATIONS: {
|
|
|
18490
18499
|
readonly method: "GET";
|
|
18491
18500
|
readonly path: "/api/v1/scopes/{id}/evaluations/runs";
|
|
18492
18501
|
readonly service: "modus-api";
|
|
18493
|
-
readonly serverUrl: "https://api.
|
|
18502
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18494
18503
|
readonly pathParams: readonly ["id"];
|
|
18495
18504
|
readonly queryParams: readonly ["pageSize", "pageToken"];
|
|
18496
18505
|
readonly requestSchema: null;
|
|
@@ -18500,7 +18509,7 @@ declare const OPERATIONS: {
|
|
|
18500
18509
|
readonly method: "POST";
|
|
18501
18510
|
readonly path: "/api/v1/scopes/{id}/evaluations/runs";
|
|
18502
18511
|
readonly service: "modus-api";
|
|
18503
|
-
readonly serverUrl: "https://api.
|
|
18512
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18504
18513
|
readonly pathParams: readonly ["id"];
|
|
18505
18514
|
readonly queryParams: readonly [];
|
|
18506
18515
|
readonly requestSchema: null;
|
|
@@ -18510,7 +18519,7 @@ declare const OPERATIONS: {
|
|
|
18510
18519
|
readonly method: "PUT";
|
|
18511
18520
|
readonly path: "/api/v1/scopes/{id}/evaluations/config";
|
|
18512
18521
|
readonly service: "modus-api";
|
|
18513
|
-
readonly serverUrl: "https://api.
|
|
18522
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18514
18523
|
readonly pathParams: readonly ["id"];
|
|
18515
18524
|
readonly queryParams: readonly [];
|
|
18516
18525
|
readonly requestSchema: "UpdateEvaluationConfigDto";
|
|
@@ -18520,7 +18529,7 @@ declare const OPERATIONS: {
|
|
|
18520
18529
|
readonly method: "GET";
|
|
18521
18530
|
readonly path: "/api/v1/users/member-groups";
|
|
18522
18531
|
readonly service: "modus-api";
|
|
18523
|
-
readonly serverUrl: "https://api.
|
|
18532
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18524
18533
|
readonly pathParams: readonly [];
|
|
18525
18534
|
readonly queryParams: readonly ["pageSize", "pageToken"];
|
|
18526
18535
|
readonly requestSchema: null;
|
|
@@ -18530,7 +18539,7 @@ declare const OPERATIONS: {
|
|
|
18530
18539
|
readonly method: "POST";
|
|
18531
18540
|
readonly path: "/api/v1/modus/chat";
|
|
18532
18541
|
readonly service: "modus-api";
|
|
18533
|
-
readonly serverUrl: "https://api.
|
|
18542
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18534
18543
|
readonly pathParams: readonly [];
|
|
18535
18544
|
readonly queryParams: readonly [];
|
|
18536
18545
|
readonly requestSchema: "ModusChatRequestDto";
|
|
@@ -18540,7 +18549,7 @@ declare const OPERATIONS: {
|
|
|
18540
18549
|
readonly method: "POST";
|
|
18541
18550
|
readonly path: "/api/v1/modus/conversations/{threadId}/chat";
|
|
18542
18551
|
readonly service: "modus-api";
|
|
18543
|
-
readonly serverUrl: "https://api.
|
|
18552
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18544
18553
|
readonly pathParams: readonly ["threadId"];
|
|
18545
18554
|
readonly queryParams: readonly [];
|
|
18546
18555
|
readonly requestSchema: "ModusChatRequestDto";
|
|
@@ -18550,7 +18559,7 @@ declare const OPERATIONS: {
|
|
|
18550
18559
|
readonly method: "POST";
|
|
18551
18560
|
readonly path: "/api/v1/modus/context";
|
|
18552
18561
|
readonly service: "modus-api";
|
|
18553
|
-
readonly serverUrl: "https://api.
|
|
18562
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18554
18563
|
readonly pathParams: readonly [];
|
|
18555
18564
|
readonly queryParams: readonly [];
|
|
18556
18565
|
readonly requestSchema: "ModusContextRequestDto";
|
|
@@ -18560,7 +18569,7 @@ declare const OPERATIONS: {
|
|
|
18560
18569
|
readonly method: "GET";
|
|
18561
18570
|
readonly path: "/api/v1/modus/conversations/{threadId}";
|
|
18562
18571
|
readonly service: "modus-api";
|
|
18563
|
-
readonly serverUrl: "https://api.
|
|
18572
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18564
18573
|
readonly pathParams: readonly ["threadId"];
|
|
18565
18574
|
readonly queryParams: readonly [];
|
|
18566
18575
|
readonly requestSchema: null;
|
|
@@ -18570,7 +18579,7 @@ declare const OPERATIONS: {
|
|
|
18570
18579
|
readonly method: "GET";
|
|
18571
18580
|
readonly path: "/api/v1/modus/conversations";
|
|
18572
18581
|
readonly service: "modus-api";
|
|
18573
|
-
readonly serverUrl: "https://api.
|
|
18582
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18574
18583
|
readonly pathParams: readonly [];
|
|
18575
18584
|
readonly queryParams: readonly ["pageToken", "page", "pageSize", "userId", "toolName", "timeframe", "includeTools", "kind"];
|
|
18576
18585
|
readonly requestSchema: null;
|
|
@@ -18580,7 +18589,7 @@ declare const OPERATIONS: {
|
|
|
18580
18589
|
readonly method: "POST";
|
|
18581
18590
|
readonly path: "/agent/v1/modus/runs";
|
|
18582
18591
|
readonly service: "agent-service";
|
|
18583
|
-
readonly serverUrl: "https://agent.
|
|
18592
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
18584
18593
|
readonly pathParams: readonly [];
|
|
18585
18594
|
readonly queryParams: readonly [];
|
|
18586
18595
|
readonly requestSchema: "ModusRunDto";
|
|
@@ -18590,7 +18599,7 @@ declare const OPERATIONS: {
|
|
|
18590
18599
|
readonly method: "GET";
|
|
18591
18600
|
readonly path: "/api/v1/users/org-members";
|
|
18592
18601
|
readonly service: "modus-api";
|
|
18593
|
-
readonly serverUrl: "https://api.
|
|
18602
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18594
18603
|
readonly pathParams: readonly [];
|
|
18595
18604
|
readonly queryParams: readonly ["pageSize", "pageToken"];
|
|
18596
18605
|
readonly requestSchema: null;
|
|
@@ -18600,7 +18609,7 @@ declare const OPERATIONS: {
|
|
|
18600
18609
|
readonly method: "DELETE";
|
|
18601
18610
|
readonly path: "/api/v1/users/organization";
|
|
18602
18611
|
readonly service: "modus-api";
|
|
18603
|
-
readonly serverUrl: "https://api.
|
|
18612
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18604
18613
|
readonly pathParams: readonly [];
|
|
18605
18614
|
readonly queryParams: readonly [];
|
|
18606
18615
|
readonly requestSchema: null;
|
|
@@ -18610,7 +18619,7 @@ declare const OPERATIONS: {
|
|
|
18610
18619
|
readonly method: "POST";
|
|
18611
18620
|
readonly path: "/agent/v1/runs/{runId}/resume";
|
|
18612
18621
|
readonly service: "agent-service";
|
|
18613
|
-
readonly serverUrl: "https://agent.
|
|
18622
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
18614
18623
|
readonly pathParams: readonly ["runId"];
|
|
18615
18624
|
readonly queryParams: readonly [];
|
|
18616
18625
|
readonly requestSchema: "ResumeRunDto";
|
|
@@ -18620,7 +18629,7 @@ declare const OPERATIONS: {
|
|
|
18620
18629
|
readonly method: "GET";
|
|
18621
18630
|
readonly path: "/agent/v1/runs/active";
|
|
18622
18631
|
readonly service: "agent-service";
|
|
18623
|
-
readonly serverUrl: "https://agent.
|
|
18632
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
18624
18633
|
readonly pathParams: readonly [];
|
|
18625
18634
|
readonly queryParams: readonly ["pageToken", "pageSize"];
|
|
18626
18635
|
readonly requestSchema: null;
|
|
@@ -18630,7 +18639,7 @@ declare const OPERATIONS: {
|
|
|
18630
18639
|
readonly method: "POST";
|
|
18631
18640
|
readonly path: "/agent/v1/runs/active-by-session";
|
|
18632
18641
|
readonly service: "agent-service";
|
|
18633
|
-
readonly serverUrl: "https://agent.
|
|
18642
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
18634
18643
|
readonly pathParams: readonly [];
|
|
18635
18644
|
readonly queryParams: readonly [];
|
|
18636
18645
|
readonly requestSchema: "ActiveRunsBySessionDto";
|
|
@@ -18640,7 +18649,7 @@ declare const OPERATIONS: {
|
|
|
18640
18649
|
readonly method: "POST";
|
|
18641
18650
|
readonly path: "/agent/v1/runs/{runId}/cancel";
|
|
18642
18651
|
readonly service: "agent-service";
|
|
18643
|
-
readonly serverUrl: "https://agent.
|
|
18652
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
18644
18653
|
readonly pathParams: readonly ["runId"];
|
|
18645
18654
|
readonly queryParams: readonly [];
|
|
18646
18655
|
readonly requestSchema: "CancelRunDto";
|
|
@@ -18650,7 +18659,7 @@ declare const OPERATIONS: {
|
|
|
18650
18659
|
readonly method: "POST";
|
|
18651
18660
|
readonly path: "/agent/v1/runs/{runId}/queue-edit";
|
|
18652
18661
|
readonly service: "agent-service";
|
|
18653
|
-
readonly serverUrl: "https://agent.
|
|
18662
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
18654
18663
|
readonly pathParams: readonly ["runId"];
|
|
18655
18664
|
readonly queryParams: readonly [];
|
|
18656
18665
|
readonly requestSchema: "EditQueuedRunDto";
|
|
@@ -18660,7 +18669,7 @@ declare const OPERATIONS: {
|
|
|
18660
18669
|
readonly method: "GET";
|
|
18661
18670
|
readonly path: "/agent/v1/runs/{runId}/events";
|
|
18662
18671
|
readonly service: "agent-service";
|
|
18663
|
-
readonly serverUrl: "https://agent.
|
|
18672
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
18664
18673
|
readonly pathParams: readonly ["runId"];
|
|
18665
18674
|
readonly queryParams: readonly [];
|
|
18666
18675
|
readonly requestSchema: null;
|
|
@@ -18670,7 +18679,7 @@ declare const OPERATIONS: {
|
|
|
18670
18679
|
readonly method: "POST";
|
|
18671
18680
|
readonly path: "/agent/v1/runs/{runId}/interrupt";
|
|
18672
18681
|
readonly service: "agent-service";
|
|
18673
|
-
readonly serverUrl: "https://agent.
|
|
18682
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
18674
18683
|
readonly pathParams: readonly ["runId"];
|
|
18675
18684
|
readonly queryParams: readonly [];
|
|
18676
18685
|
readonly requestSchema: "InterruptRunDto";
|
|
@@ -18680,7 +18689,7 @@ declare const OPERATIONS: {
|
|
|
18680
18689
|
readonly method: "GET";
|
|
18681
18690
|
readonly path: "/agent/v1/runs/{runId}/stream";
|
|
18682
18691
|
readonly service: "agent-service";
|
|
18683
|
-
readonly serverUrl: "https://agent.
|
|
18692
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
18684
18693
|
readonly pathParams: readonly ["runId"];
|
|
18685
18694
|
readonly queryParams: readonly [];
|
|
18686
18695
|
readonly requestSchema: null;
|
|
@@ -18690,7 +18699,7 @@ declare const OPERATIONS: {
|
|
|
18690
18699
|
readonly method: "POST";
|
|
18691
18700
|
readonly path: "/api/v1/scopes/{id}/chat";
|
|
18692
18701
|
readonly service: "modus-api";
|
|
18693
|
-
readonly serverUrl: "https://api.
|
|
18702
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18694
18703
|
readonly pathParams: readonly ["id"];
|
|
18695
18704
|
readonly queryParams: readonly [];
|
|
18696
18705
|
readonly requestSchema: "SkillChatRequestDto";
|
|
@@ -18700,7 +18709,7 @@ declare const OPERATIONS: {
|
|
|
18700
18709
|
readonly method: "POST";
|
|
18701
18710
|
readonly path: "/api/v1/scopes/{id}/conversations/{threadId}/chat";
|
|
18702
18711
|
readonly service: "modus-api";
|
|
18703
|
-
readonly serverUrl: "https://api.
|
|
18712
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18704
18713
|
readonly pathParams: readonly ["id", "threadId"];
|
|
18705
18714
|
readonly queryParams: readonly [];
|
|
18706
18715
|
readonly requestSchema: "SkillChatRequestDto";
|
|
@@ -18710,7 +18719,7 @@ declare const OPERATIONS: {
|
|
|
18710
18719
|
readonly method: "POST";
|
|
18711
18720
|
readonly path: "/api/v1/scopes/{id}/context";
|
|
18712
18721
|
readonly service: "modus-api";
|
|
18713
|
-
readonly serverUrl: "https://api.
|
|
18722
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18714
18723
|
readonly pathParams: readonly ["id"];
|
|
18715
18724
|
readonly queryParams: readonly [];
|
|
18716
18725
|
readonly requestSchema: "ComposeSkillContextRequestDto";
|
|
@@ -18720,7 +18729,7 @@ declare const OPERATIONS: {
|
|
|
18720
18729
|
readonly method: "GET";
|
|
18721
18730
|
readonly path: "/api/v1/scopes/{id}/conversations/{threadId}";
|
|
18722
18731
|
readonly service: "modus-api";
|
|
18723
|
-
readonly serverUrl: "https://api.
|
|
18732
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18724
18733
|
readonly pathParams: readonly ["id", "threadId"];
|
|
18725
18734
|
readonly queryParams: readonly ["messageLimit", "beforeMessageIndex"];
|
|
18726
18735
|
readonly requestSchema: null;
|
|
@@ -18730,7 +18739,7 @@ declare const OPERATIONS: {
|
|
|
18730
18739
|
readonly method: "GET";
|
|
18731
18740
|
readonly path: "/api/v1/scopes/{id}/conversations";
|
|
18732
18741
|
readonly service: "modus-api";
|
|
18733
|
-
readonly serverUrl: "https://api.
|
|
18742
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18734
18743
|
readonly pathParams: readonly ["id"];
|
|
18735
18744
|
readonly queryParams: readonly ["pageToken", "page", "pageSize", "userId", "toolName", "timeframe", "includeTools"];
|
|
18736
18745
|
readonly requestSchema: null;
|
|
@@ -18740,7 +18749,7 @@ declare const OPERATIONS: {
|
|
|
18740
18749
|
readonly method: "DELETE";
|
|
18741
18750
|
readonly path: "/api/v1/scopes/{id}/memories/{memoryId}";
|
|
18742
18751
|
readonly service: "modus-api";
|
|
18743
|
-
readonly serverUrl: "https://api.
|
|
18752
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18744
18753
|
readonly pathParams: readonly ["id", "memoryId"];
|
|
18745
18754
|
readonly queryParams: readonly [];
|
|
18746
18755
|
readonly requestSchema: null;
|
|
@@ -18750,7 +18759,7 @@ declare const OPERATIONS: {
|
|
|
18750
18759
|
readonly method: "GET";
|
|
18751
18760
|
readonly path: "/api/v1/scopes/{id}/memories";
|
|
18752
18761
|
readonly service: "modus-api";
|
|
18753
|
-
readonly serverUrl: "https://api.
|
|
18762
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18754
18763
|
readonly pathParams: readonly ["id"];
|
|
18755
18764
|
readonly queryParams: readonly ["pageToken", "pageSize", "userId", "limit"];
|
|
18756
18765
|
readonly requestSchema: null;
|
|
@@ -18760,7 +18769,7 @@ declare const OPERATIONS: {
|
|
|
18760
18769
|
readonly method: "POST";
|
|
18761
18770
|
readonly path: "/api/v1/scopes/{id}/memories/search";
|
|
18762
18771
|
readonly service: "modus-api";
|
|
18763
|
-
readonly serverUrl: "https://api.
|
|
18772
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18764
18773
|
readonly pathParams: readonly ["id"];
|
|
18765
18774
|
readonly queryParams: readonly [];
|
|
18766
18775
|
readonly requestSchema: "SearchMemoriesRequestDto";
|
|
@@ -18770,7 +18779,7 @@ declare const OPERATIONS: {
|
|
|
18770
18779
|
readonly method: "PATCH";
|
|
18771
18780
|
readonly path: "/api/v1/scopes/{id}/memories/{memoryId}";
|
|
18772
18781
|
readonly service: "modus-api";
|
|
18773
|
-
readonly serverUrl: "https://api.
|
|
18782
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18774
18783
|
readonly pathParams: readonly ["id", "memoryId"];
|
|
18775
18784
|
readonly queryParams: readonly ["updateMask"];
|
|
18776
18785
|
readonly requestSchema: "UpdateMemoryRequestDto";
|
|
@@ -18780,7 +18789,7 @@ declare const OPERATIONS: {
|
|
|
18780
18789
|
readonly method: "POST";
|
|
18781
18790
|
readonly path: "/agent/v1/scopes/{id}/runs";
|
|
18782
18791
|
readonly service: "agent-service";
|
|
18783
|
-
readonly serverUrl: "https://agent.
|
|
18792
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
18784
18793
|
readonly pathParams: readonly ["id"];
|
|
18785
18794
|
readonly queryParams: readonly [];
|
|
18786
18795
|
readonly requestSchema: "SkillRunDto";
|
|
@@ -18790,7 +18799,7 @@ declare const OPERATIONS: {
|
|
|
18790
18799
|
readonly method: "GET";
|
|
18791
18800
|
readonly path: "/api/v1/scopes/{id}/supervision";
|
|
18792
18801
|
readonly service: "modus-api";
|
|
18793
|
-
readonly serverUrl: "https://api.
|
|
18802
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18794
18803
|
readonly pathParams: readonly ["id"];
|
|
18795
18804
|
readonly queryParams: readonly ["view"];
|
|
18796
18805
|
readonly requestSchema: null;
|
|
@@ -18800,7 +18809,7 @@ declare const OPERATIONS: {
|
|
|
18800
18809
|
readonly method: "PUT";
|
|
18801
18810
|
readonly path: "/api/v1/scopes/{id}/supervision";
|
|
18802
18811
|
readonly service: "modus-api";
|
|
18803
|
-
readonly serverUrl: "https://api.
|
|
18812
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18804
18813
|
readonly pathParams: readonly ["id"];
|
|
18805
18814
|
readonly queryParams: readonly [];
|
|
18806
18815
|
readonly requestSchema: "SetSupervisionRequestDto";
|
|
@@ -18810,7 +18819,7 @@ declare const OPERATIONS: {
|
|
|
18810
18819
|
readonly method: "PUT";
|
|
18811
18820
|
readonly path: "/api/v1/scopes/{id}/supervision/active";
|
|
18812
18821
|
readonly service: "modus-api";
|
|
18813
|
-
readonly serverUrl: "https://api.
|
|
18822
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18814
18823
|
readonly pathParams: readonly ["id"];
|
|
18815
18824
|
readonly queryParams: readonly [];
|
|
18816
18825
|
readonly requestSchema: "SetSupervisionRequestDto";
|
|
@@ -18820,7 +18829,7 @@ declare const OPERATIONS: {
|
|
|
18820
18829
|
readonly method: "POST";
|
|
18821
18830
|
readonly path: "/api/v1/scopes/{id}/transfer-ownership/accept";
|
|
18822
18831
|
readonly service: "modus-api";
|
|
18823
|
-
readonly serverUrl: "https://api.
|
|
18832
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18824
18833
|
readonly pathParams: readonly ["id"];
|
|
18825
18834
|
readonly queryParams: readonly [];
|
|
18826
18835
|
readonly requestSchema: null;
|
|
@@ -18830,7 +18839,7 @@ declare const OPERATIONS: {
|
|
|
18830
18839
|
readonly method: "DELETE";
|
|
18831
18840
|
readonly path: "/api/v1/scopes/{id}/transfer-ownership";
|
|
18832
18841
|
readonly service: "modus-api";
|
|
18833
|
-
readonly serverUrl: "https://api.
|
|
18842
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18834
18843
|
readonly pathParams: readonly ["id"];
|
|
18835
18844
|
readonly queryParams: readonly [];
|
|
18836
18845
|
readonly requestSchema: null;
|
|
@@ -18840,7 +18849,7 @@ declare const OPERATIONS: {
|
|
|
18840
18849
|
readonly method: "POST";
|
|
18841
18850
|
readonly path: "/api/v1/scopes";
|
|
18842
18851
|
readonly service: "modus-api";
|
|
18843
|
-
readonly serverUrl: "https://api.
|
|
18852
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18844
18853
|
readonly pathParams: readonly [];
|
|
18845
18854
|
readonly queryParams: readonly [];
|
|
18846
18855
|
readonly requestSchema: "CreateSkillDto";
|
|
@@ -18850,7 +18859,7 @@ declare const OPERATIONS: {
|
|
|
18850
18859
|
readonly method: "DELETE";
|
|
18851
18860
|
readonly path: "/api/v1/scopes/{id}";
|
|
18852
18861
|
readonly service: "modus-api";
|
|
18853
|
-
readonly serverUrl: "https://api.
|
|
18862
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18854
18863
|
readonly pathParams: readonly ["id"];
|
|
18855
18864
|
readonly queryParams: readonly [];
|
|
18856
18865
|
readonly requestSchema: null;
|
|
@@ -18860,7 +18869,7 @@ declare const OPERATIONS: {
|
|
|
18860
18869
|
readonly method: "POST";
|
|
18861
18870
|
readonly path: "/api/v1/scopes/{id}/deploy";
|
|
18862
18871
|
readonly service: "modus-api";
|
|
18863
|
-
readonly serverUrl: "https://api.
|
|
18872
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18864
18873
|
readonly pathParams: readonly ["id"];
|
|
18865
18874
|
readonly queryParams: readonly [];
|
|
18866
18875
|
readonly requestSchema: "DeploySkillDto";
|
|
@@ -18870,7 +18879,7 @@ declare const OPERATIONS: {
|
|
|
18870
18879
|
readonly method: "GET";
|
|
18871
18880
|
readonly path: "/api/v1/scopes/{id}";
|
|
18872
18881
|
readonly service: "modus-api";
|
|
18873
|
-
readonly serverUrl: "https://api.
|
|
18882
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18874
18883
|
readonly pathParams: readonly ["id"];
|
|
18875
18884
|
readonly queryParams: readonly ["view"];
|
|
18876
18885
|
readonly requestSchema: null;
|
|
@@ -18880,7 +18889,7 @@ declare const OPERATIONS: {
|
|
|
18880
18889
|
readonly method: "GET";
|
|
18881
18890
|
readonly path: "/api/v1/scopes/{id}/variations/{variationUid}";
|
|
18882
18891
|
readonly service: "modus-api";
|
|
18883
|
-
readonly serverUrl: "https://api.
|
|
18892
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18884
18893
|
readonly pathParams: readonly ["id", "variationUid"];
|
|
18885
18894
|
readonly queryParams: readonly [];
|
|
18886
18895
|
readonly requestSchema: null;
|
|
@@ -18890,7 +18899,7 @@ declare const OPERATIONS: {
|
|
|
18890
18899
|
readonly method: "GET";
|
|
18891
18900
|
readonly path: "/api/v1/scopes";
|
|
18892
18901
|
readonly service: "modus-api";
|
|
18893
|
-
readonly serverUrl: "https://api.
|
|
18902
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18894
18903
|
readonly pathParams: readonly [];
|
|
18895
18904
|
readonly queryParams: readonly ["pageToken", "pageSize", "view", "search", "managerId", "includeVariation"];
|
|
18896
18905
|
readonly requestSchema: null;
|
|
@@ -18900,7 +18909,7 @@ declare const OPERATIONS: {
|
|
|
18900
18909
|
readonly method: "PATCH";
|
|
18901
18910
|
readonly path: "/api/v1/scopes/{id}/mcp-config";
|
|
18902
18911
|
readonly service: "modus-api";
|
|
18903
|
-
readonly serverUrl: "https://api.
|
|
18912
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18904
18913
|
readonly pathParams: readonly ["id"];
|
|
18905
18914
|
readonly queryParams: readonly [];
|
|
18906
18915
|
readonly requestSchema: "PatchSkillMcpConfigDto";
|
|
@@ -18910,7 +18919,7 @@ declare const OPERATIONS: {
|
|
|
18910
18919
|
readonly method: "POST";
|
|
18911
18920
|
readonly path: "/api/v1/scopes/{id}/transfer-ownership";
|
|
18912
18921
|
readonly service: "modus-api";
|
|
18913
|
-
readonly serverUrl: "https://api.
|
|
18922
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18914
18923
|
readonly pathParams: readonly ["id"];
|
|
18915
18924
|
readonly queryParams: readonly [];
|
|
18916
18925
|
readonly requestSchema: "TransferOwnershipDto";
|
|
@@ -18920,7 +18929,7 @@ declare const OPERATIONS: {
|
|
|
18920
18929
|
readonly method: "POST";
|
|
18921
18930
|
readonly path: "/api/v1/scopes/{id}/restore";
|
|
18922
18931
|
readonly service: "modus-api";
|
|
18923
|
-
readonly serverUrl: "https://api.
|
|
18932
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18924
18933
|
readonly pathParams: readonly ["id"];
|
|
18925
18934
|
readonly queryParams: readonly [];
|
|
18926
18935
|
readonly requestSchema: null;
|
|
@@ -18930,7 +18939,7 @@ declare const OPERATIONS: {
|
|
|
18930
18939
|
readonly method: "PATCH";
|
|
18931
18940
|
readonly path: "/api/v1/scopes/{id}";
|
|
18932
18941
|
readonly service: "modus-api";
|
|
18933
|
-
readonly serverUrl: "https://api.
|
|
18942
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18934
18943
|
readonly pathParams: readonly ["id"];
|
|
18935
18944
|
readonly queryParams: readonly ["updateMask"];
|
|
18936
18945
|
readonly requestSchema: "UpdateSkillDto";
|
|
@@ -18940,7 +18949,7 @@ declare const OPERATIONS: {
|
|
|
18940
18949
|
readonly method: "GET";
|
|
18941
18950
|
readonly path: "/api/v1/suggestions/questions";
|
|
18942
18951
|
readonly service: "modus-api";
|
|
18943
|
-
readonly serverUrl: "https://api.
|
|
18952
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18944
18953
|
readonly pathParams: readonly [];
|
|
18945
18954
|
readonly queryParams: readonly ["pageToken", "pageSize", "skill_id", "skill_ids"];
|
|
18946
18955
|
readonly requestSchema: null;
|
|
@@ -18950,7 +18959,7 @@ declare const OPERATIONS: {
|
|
|
18950
18959
|
readonly method: "POST";
|
|
18951
18960
|
readonly path: "/api/v1/suggestions/questions/{id}/events";
|
|
18952
18961
|
readonly service: "modus-api";
|
|
18953
|
-
readonly serverUrl: "https://api.
|
|
18962
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18954
18963
|
readonly pathParams: readonly ["id"];
|
|
18955
18964
|
readonly queryParams: readonly [];
|
|
18956
18965
|
readonly requestSchema: "RecordSuggestionEventDto";
|
|
@@ -18960,7 +18969,7 @@ declare const OPERATIONS: {
|
|
|
18960
18969
|
readonly method: "GET";
|
|
18961
18970
|
readonly path: "/api/v1/usage";
|
|
18962
18971
|
readonly service: "modus-api";
|
|
18963
|
-
readonly serverUrl: "https://api.
|
|
18972
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18964
18973
|
readonly pathParams: readonly [];
|
|
18965
18974
|
readonly queryParams: readonly ["since", "until", "rollup", "model", "group_by", "skill_id", "agent_id", "user_id", "interface"];
|
|
18966
18975
|
readonly requestSchema: null;
|
|
@@ -18970,7 +18979,7 @@ declare const OPERATIONS: {
|
|
|
18970
18979
|
readonly method: "POST";
|
|
18971
18980
|
readonly path: "/agent/v1/workflow-actions/{runId}/cancel";
|
|
18972
18981
|
readonly service: "agent-service";
|
|
18973
|
-
readonly serverUrl: "https://agent.
|
|
18982
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
18974
18983
|
readonly pathParams: readonly ["runId"];
|
|
18975
18984
|
readonly queryParams: readonly [];
|
|
18976
18985
|
readonly requestSchema: "CancelRunDto";
|
|
@@ -18980,7 +18989,7 @@ declare const OPERATIONS: {
|
|
|
18980
18989
|
readonly method: "POST";
|
|
18981
18990
|
readonly path: "/agent/v1/workflow-actions";
|
|
18982
18991
|
readonly service: "agent-service";
|
|
18983
|
-
readonly serverUrl: "https://agent.
|
|
18992
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
18984
18993
|
readonly pathParams: readonly [];
|
|
18985
18994
|
readonly queryParams: readonly [];
|
|
18986
18995
|
readonly requestSchema: "WorkflowActionDto";
|
|
@@ -18990,7 +18999,7 @@ declare const OPERATIONS: {
|
|
|
18990
18999
|
readonly method: "POST";
|
|
18991
19000
|
readonly path: "/api/v1/workflows/{id}/interfaces";
|
|
18992
19001
|
readonly service: "modus-api";
|
|
18993
|
-
readonly serverUrl: "https://api.
|
|
19002
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
18994
19003
|
readonly pathParams: readonly ["id"];
|
|
18995
19004
|
readonly queryParams: readonly [];
|
|
18996
19005
|
readonly requestSchema: "AddAgentInterfaceDto";
|
|
@@ -19000,7 +19009,7 @@ declare const OPERATIONS: {
|
|
|
19000
19009
|
readonly method: "DELETE";
|
|
19001
19010
|
readonly path: "/api/v1/workflows/{id}/interfaces/{interfaceId}";
|
|
19002
19011
|
readonly service: "modus-api";
|
|
19003
|
-
readonly serverUrl: "https://api.
|
|
19012
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19004
19013
|
readonly pathParams: readonly ["id", "interfaceId"];
|
|
19005
19014
|
readonly queryParams: readonly [];
|
|
19006
19015
|
readonly requestSchema: null;
|
|
@@ -19010,7 +19019,7 @@ declare const OPERATIONS: {
|
|
|
19010
19019
|
readonly method: "DELETE";
|
|
19011
19020
|
readonly path: "/api/v1/workflows/{id}/interfaces";
|
|
19012
19021
|
readonly service: "modus-api";
|
|
19013
|
-
readonly serverUrl: "https://api.
|
|
19022
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19014
19023
|
readonly pathParams: readonly ["id"];
|
|
19015
19024
|
readonly queryParams: readonly [];
|
|
19016
19025
|
readonly requestSchema: null;
|
|
@@ -19020,7 +19029,7 @@ declare const OPERATIONS: {
|
|
|
19020
19029
|
readonly method: "GET";
|
|
19021
19030
|
readonly path: "/api/v1/workflows/{id}/interfaces";
|
|
19022
19031
|
readonly service: "modus-api";
|
|
19023
|
-
readonly serverUrl: "https://api.
|
|
19032
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19024
19033
|
readonly pathParams: readonly ["id"];
|
|
19025
19034
|
readonly queryParams: readonly ["pageSize", "pageToken"];
|
|
19026
19035
|
readonly requestSchema: null;
|
|
@@ -19030,7 +19039,7 @@ declare const OPERATIONS: {
|
|
|
19030
19039
|
readonly method: "PATCH";
|
|
19031
19040
|
readonly path: "/api/v1/workflows/{id}/interfaces/{interfaceId}";
|
|
19032
19041
|
readonly service: "modus-api";
|
|
19033
|
-
readonly serverUrl: "https://api.
|
|
19042
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19034
19043
|
readonly pathParams: readonly ["id", "interfaceId"];
|
|
19035
19044
|
readonly queryParams: readonly ["updateMask"];
|
|
19036
19045
|
readonly requestSchema: "UpdateAgentInterfaceDto";
|
|
@@ -19040,7 +19049,7 @@ declare const OPERATIONS: {
|
|
|
19040
19049
|
readonly method: "POST";
|
|
19041
19050
|
readonly path: "/agent/v1/workflows/{id}/runs";
|
|
19042
19051
|
readonly service: "agent-service";
|
|
19043
|
-
readonly serverUrl: "https://agent.
|
|
19052
|
+
readonly serverUrl: "https://agent.getmodus.com";
|
|
19044
19053
|
readonly pathParams: readonly ["id"];
|
|
19045
19054
|
readonly queryParams: readonly [];
|
|
19046
19055
|
readonly requestSchema: "AgentRunDto";
|
|
@@ -19050,7 +19059,7 @@ declare const OPERATIONS: {
|
|
|
19050
19059
|
readonly method: "GET";
|
|
19051
19060
|
readonly path: "/api/v1/workflows/{id}/runs/{runId}";
|
|
19052
19061
|
readonly service: "modus-api";
|
|
19053
|
-
readonly serverUrl: "https://api.
|
|
19062
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19054
19063
|
readonly pathParams: readonly ["id", "runId"];
|
|
19055
19064
|
readonly queryParams: readonly ["temporalRunId"];
|
|
19056
19065
|
readonly requestSchema: null;
|
|
@@ -19060,7 +19069,7 @@ declare const OPERATIONS: {
|
|
|
19060
19069
|
readonly method: "GET";
|
|
19061
19070
|
readonly path: "/api/v1/workflows/{id}/runs";
|
|
19062
19071
|
readonly service: "modus-api";
|
|
19063
|
-
readonly serverUrl: "https://api.
|
|
19072
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19064
19073
|
readonly pathParams: readonly ["id"];
|
|
19065
19074
|
readonly queryParams: readonly ["status", "timeframe", "approvalScope", "search", "pageSize", "pageToken"];
|
|
19066
19075
|
readonly requestSchema: null;
|
|
@@ -19070,7 +19079,7 @@ declare const OPERATIONS: {
|
|
|
19070
19079
|
readonly method: "POST";
|
|
19071
19080
|
readonly path: "/api/v1/workflows/{id}/transfer-ownership/accept";
|
|
19072
19081
|
readonly service: "modus-api";
|
|
19073
|
-
readonly serverUrl: "https://api.
|
|
19082
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19074
19083
|
readonly pathParams: readonly ["id"];
|
|
19075
19084
|
readonly queryParams: readonly [];
|
|
19076
19085
|
readonly requestSchema: null;
|
|
@@ -19080,7 +19089,7 @@ declare const OPERATIONS: {
|
|
|
19080
19089
|
readonly method: "DELETE";
|
|
19081
19090
|
readonly path: "/api/v1/workflows/{id}/transfer-ownership";
|
|
19082
19091
|
readonly service: "modus-api";
|
|
19083
|
-
readonly serverUrl: "https://api.
|
|
19092
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19084
19093
|
readonly pathParams: readonly ["id"];
|
|
19085
19094
|
readonly queryParams: readonly [];
|
|
19086
19095
|
readonly requestSchema: null;
|
|
@@ -19090,7 +19099,7 @@ declare const OPERATIONS: {
|
|
|
19090
19099
|
readonly method: "POST";
|
|
19091
19100
|
readonly path: "/api/v1/workflows";
|
|
19092
19101
|
readonly service: "modus-api";
|
|
19093
|
-
readonly serverUrl: "https://api.
|
|
19102
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19094
19103
|
readonly pathParams: readonly [];
|
|
19095
19104
|
readonly queryParams: readonly [];
|
|
19096
19105
|
readonly requestSchema: "CreateAgentDto";
|
|
@@ -19100,7 +19109,7 @@ declare const OPERATIONS: {
|
|
|
19100
19109
|
readonly method: "DELETE";
|
|
19101
19110
|
readonly path: "/api/v1/workflows/{id}";
|
|
19102
19111
|
readonly service: "modus-api";
|
|
19103
|
-
readonly serverUrl: "https://api.
|
|
19112
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19104
19113
|
readonly pathParams: readonly ["id"];
|
|
19105
19114
|
readonly queryParams: readonly [];
|
|
19106
19115
|
readonly requestSchema: null;
|
|
@@ -19110,7 +19119,7 @@ declare const OPERATIONS: {
|
|
|
19110
19119
|
readonly method: "POST";
|
|
19111
19120
|
readonly path: "/api/v1/workflows/{id}/deploy";
|
|
19112
19121
|
readonly service: "modus-api";
|
|
19113
|
-
readonly serverUrl: "https://api.
|
|
19122
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19114
19123
|
readonly pathParams: readonly ["id"];
|
|
19115
19124
|
readonly queryParams: readonly [];
|
|
19116
19125
|
readonly requestSchema: "DeployAgentDto";
|
|
@@ -19120,7 +19129,7 @@ declare const OPERATIONS: {
|
|
|
19120
19129
|
readonly method: "GET";
|
|
19121
19130
|
readonly path: "/api/v1/workflows/{id}";
|
|
19122
19131
|
readonly service: "modus-api";
|
|
19123
|
-
readonly serverUrl: "https://api.
|
|
19132
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19124
19133
|
readonly pathParams: readonly ["id"];
|
|
19125
19134
|
readonly queryParams: readonly ["view"];
|
|
19126
19135
|
readonly requestSchema: null;
|
|
@@ -19130,7 +19139,7 @@ declare const OPERATIONS: {
|
|
|
19130
19139
|
readonly method: "GET";
|
|
19131
19140
|
readonly path: "/api/v1/workflows";
|
|
19132
19141
|
readonly service: "modus-api";
|
|
19133
|
-
readonly serverUrl: "https://api.
|
|
19142
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19134
19143
|
readonly pathParams: readonly [];
|
|
19135
19144
|
readonly queryParams: readonly ["pageToken", "pageSize", "view", "type", "search", "includeVariation"];
|
|
19136
19145
|
readonly requestSchema: null;
|
|
@@ -19140,7 +19149,7 @@ declare const OPERATIONS: {
|
|
|
19140
19149
|
readonly method: "POST";
|
|
19141
19150
|
readonly path: "/api/v1/workflows/{id}/transfer-ownership";
|
|
19142
19151
|
readonly service: "modus-api";
|
|
19143
|
-
readonly serverUrl: "https://api.
|
|
19152
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19144
19153
|
readonly pathParams: readonly ["id"];
|
|
19145
19154
|
readonly queryParams: readonly [];
|
|
19146
19155
|
readonly requestSchema: "TransferOwnershipDto";
|
|
@@ -19150,7 +19159,7 @@ declare const OPERATIONS: {
|
|
|
19150
19159
|
readonly method: "POST";
|
|
19151
19160
|
readonly path: "/api/v1/workflows/{id}/restore";
|
|
19152
19161
|
readonly service: "modus-api";
|
|
19153
|
-
readonly serverUrl: "https://api.
|
|
19162
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19154
19163
|
readonly pathParams: readonly ["id"];
|
|
19155
19164
|
readonly queryParams: readonly [];
|
|
19156
19165
|
readonly requestSchema: null;
|
|
@@ -19160,7 +19169,7 @@ declare const OPERATIONS: {
|
|
|
19160
19169
|
readonly method: "POST";
|
|
19161
19170
|
readonly path: "/api/v1/workflows/{id}/toggle";
|
|
19162
19171
|
readonly service: "modus-api";
|
|
19163
|
-
readonly serverUrl: "https://api.
|
|
19172
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19164
19173
|
readonly pathParams: readonly ["id"];
|
|
19165
19174
|
readonly queryParams: readonly [];
|
|
19166
19175
|
readonly requestSchema: "ToggleAgentDto";
|
|
@@ -19170,7 +19179,7 @@ declare const OPERATIONS: {
|
|
|
19170
19179
|
readonly method: "PATCH";
|
|
19171
19180
|
readonly path: "/api/v1/workflows/{id}";
|
|
19172
19181
|
readonly service: "modus-api";
|
|
19173
|
-
readonly serverUrl: "https://api.
|
|
19182
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
19174
19183
|
readonly pathParams: readonly ["id"];
|
|
19175
19184
|
readonly queryParams: readonly ["updateMask"];
|
|
19176
19185
|
readonly requestSchema: "UpdateAgentDto";
|
|
@@ -19192,6 +19201,7 @@ declare class HttpClient {
|
|
|
19192
19201
|
private request;
|
|
19193
19202
|
get(path: string, params?: QueryParams, options?: RequestOptions): Promise<unknown>;
|
|
19194
19203
|
post(path: string, json?: unknown, options?: RequestOptions): Promise<unknown>;
|
|
19204
|
+
put(path: string, json?: unknown, options?: RequestOptions): Promise<unknown>;
|
|
19195
19205
|
patch(path: string, json?: unknown, params?: QueryParams, options?: RequestOptions): Promise<unknown>;
|
|
19196
19206
|
delete(path: string, options?: RequestOptions): Promise<unknown>;
|
|
19197
19207
|
private stream;
|
|
@@ -19215,7 +19225,12 @@ type SkillStatus = Skill['status'];
|
|
|
19215
19225
|
type SkillVariation = components['schemas']['SkillVariationDto'];
|
|
19216
19226
|
|
|
19217
19227
|
type Agent = components['schemas']['AgentDto'];
|
|
19218
|
-
type AgentType
|
|
19228
|
+
/** Runtime + type for agent kinds (use `AgentType.task`, not only as a type). */
|
|
19229
|
+
declare const AgentType: {
|
|
19230
|
+
readonly task: "task";
|
|
19231
|
+
readonly workflow: "workflow";
|
|
19232
|
+
};
|
|
19233
|
+
type AgentType = (typeof AgentType)[keyof typeof AgentType];
|
|
19219
19234
|
|
|
19220
19235
|
type Conversation = components['schemas']['ConversationDto'];
|
|
19221
19236
|
type ConversationListItem = components['schemas']['ConversationListItemDto'];
|
|
@@ -19229,7 +19244,10 @@ type VariationView = 'active' | 'draft';
|
|
|
19229
19244
|
type ContextItem = components['schemas']['ContextItemDto'];
|
|
19230
19245
|
type ContextItemLookupRow = components['schemas']['LookupContextItemRowDto'];
|
|
19231
19246
|
type ContextItemDeletion = components['schemas']['DeleteContextItemResponseDto'];
|
|
19232
|
-
|
|
19247
|
+
/** Create response; ``uid`` mirrors ``contextItemId`` for list/get parity. */
|
|
19248
|
+
type CreatedContextItem = components['schemas']['CreatedContextItemResponseDto'] & {
|
|
19249
|
+
uid: string;
|
|
19250
|
+
};
|
|
19233
19251
|
type ContextType = string;
|
|
19234
19252
|
|
|
19235
19253
|
/**
|
|
@@ -19321,4 +19339,4 @@ declare class ScopeConversationsResource {
|
|
|
19321
19339
|
}): Promise<Conversation>;
|
|
19322
19340
|
}
|
|
19323
19341
|
|
|
19324
|
-
export {
|
|
19342
|
+
export { AgentType as A, type ContextItem as C, HttpClient as H, type ModusConfig as M, OPERATIONS as O, Page as P, ScopeConversationsResource as S, type VariationView as V, type Agent as a, type ContextItemLookupRow as b, type components as c, CustomContextItemsResource as d, type ConversationKind as e, type ConversationListItem as f, type Conversation as g, type Skill as h, ModusClientBase as i, type ModusOptions as j, type ContextType as k, type Message as l, type OperationId as m, type OperationSpec as n, type SkillStatus as o, type SkillVariation as p, conversationSkillId as q, type operations as r, type paths as s, type ContextItemDeletion as t, type CreatedContextItem as u };
|