@deepnoodle/mobius 0.0.3 → 0.0.5
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/dist/api/schema.d.ts +112 -146
- package/dist/api/schema.d.ts.map +1 -1
- package/dist/client.js +4 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
package/dist/api/schema.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
-
"/projects/{project}/channels": {
|
|
6
|
+
"/v1/projects/{project}/channels": {
|
|
7
7
|
parameters: {
|
|
8
8
|
query?: never;
|
|
9
9
|
header?: never;
|
|
@@ -30,7 +30,7 @@ export interface paths {
|
|
|
30
30
|
patch?: never;
|
|
31
31
|
trace?: never;
|
|
32
32
|
};
|
|
33
|
-
"/projects/{project}/channels/{id}": {
|
|
33
|
+
"/v1/projects/{project}/channels/{id}": {
|
|
34
34
|
parameters: {
|
|
35
35
|
query?: never;
|
|
36
36
|
header?: never;
|
|
@@ -56,7 +56,7 @@ export interface paths {
|
|
|
56
56
|
patch: operations["updateChannel"];
|
|
57
57
|
trace?: never;
|
|
58
58
|
};
|
|
59
|
-
"/projects/{project}/channels/{id}/members": {
|
|
59
|
+
"/v1/projects/{project}/channels/{id}/members": {
|
|
60
60
|
parameters: {
|
|
61
61
|
query?: never;
|
|
62
62
|
header?: never;
|
|
@@ -80,7 +80,7 @@ export interface paths {
|
|
|
80
80
|
patch?: never;
|
|
81
81
|
trace?: never;
|
|
82
82
|
};
|
|
83
|
-
"/projects/{project}/channels/{id}/members/{userId}": {
|
|
83
|
+
"/v1/projects/{project}/channels/{id}/members/{userId}": {
|
|
84
84
|
parameters: {
|
|
85
85
|
query?: never;
|
|
86
86
|
header?: never;
|
|
@@ -97,7 +97,7 @@ export interface paths {
|
|
|
97
97
|
patch?: never;
|
|
98
98
|
trace?: never;
|
|
99
99
|
};
|
|
100
|
-
"/projects/{project}/channels/{id}/messages": {
|
|
100
|
+
"/v1/projects/{project}/channels/{id}/messages": {
|
|
101
101
|
parameters: {
|
|
102
102
|
query?: never;
|
|
103
103
|
header?: never;
|
|
@@ -125,7 +125,7 @@ export interface paths {
|
|
|
125
125
|
patch?: never;
|
|
126
126
|
trace?: never;
|
|
127
127
|
};
|
|
128
|
-
"/projects/{project}/channels/{id}/messages/{messageId}": {
|
|
128
|
+
"/v1/projects/{project}/channels/{id}/messages/{messageId}": {
|
|
129
129
|
parameters: {
|
|
130
130
|
query?: never;
|
|
131
131
|
header?: never;
|
|
@@ -146,7 +146,7 @@ export interface paths {
|
|
|
146
146
|
patch: operations["updateChannelMessage"];
|
|
147
147
|
trace?: never;
|
|
148
148
|
};
|
|
149
|
-
"/audit-logs": {
|
|
149
|
+
"/v1/audit-logs": {
|
|
150
150
|
parameters: {
|
|
151
151
|
query?: never;
|
|
152
152
|
header?: never;
|
|
@@ -173,7 +173,7 @@ export interface paths {
|
|
|
173
173
|
patch?: never;
|
|
174
174
|
trace?: never;
|
|
175
175
|
};
|
|
176
|
-
"/api-keys": {
|
|
176
|
+
"/v1/api-keys": {
|
|
177
177
|
parameters: {
|
|
178
178
|
query?: never;
|
|
179
179
|
header?: never;
|
|
@@ -206,7 +206,7 @@ export interface paths {
|
|
|
206
206
|
patch?: never;
|
|
207
207
|
trace?: never;
|
|
208
208
|
};
|
|
209
|
-
"/api-keys/{id}": {
|
|
209
|
+
"/v1/api-keys/{id}": {
|
|
210
210
|
parameters: {
|
|
211
211
|
query?: never;
|
|
212
212
|
header?: never;
|
|
@@ -231,7 +231,7 @@ export interface paths {
|
|
|
231
231
|
patch?: never;
|
|
232
232
|
trace?: never;
|
|
233
233
|
};
|
|
234
|
-
"/projects/{project}/workflows": {
|
|
234
|
+
"/v1/projects/{project}/workflows": {
|
|
235
235
|
parameters: {
|
|
236
236
|
query?: never;
|
|
237
237
|
header?: never;
|
|
@@ -258,7 +258,7 @@ export interface paths {
|
|
|
258
258
|
patch?: never;
|
|
259
259
|
trace?: never;
|
|
260
260
|
};
|
|
261
|
-
"/projects/{project}/workflows/{id}": {
|
|
261
|
+
"/v1/projects/{project}/workflows/{id}": {
|
|
262
262
|
parameters: {
|
|
263
263
|
query?: never;
|
|
264
264
|
header?: never;
|
|
@@ -287,7 +287,7 @@ export interface paths {
|
|
|
287
287
|
patch: operations["updateWorkflow"];
|
|
288
288
|
trace?: never;
|
|
289
289
|
};
|
|
290
|
-
"/projects/{project}/workflows/{id}/versions": {
|
|
290
|
+
"/v1/projects/{project}/workflows/{id}/versions": {
|
|
291
291
|
parameters: {
|
|
292
292
|
query?: never;
|
|
293
293
|
header?: never;
|
|
@@ -307,7 +307,7 @@ export interface paths {
|
|
|
307
307
|
patch?: never;
|
|
308
308
|
trace?: never;
|
|
309
309
|
};
|
|
310
|
-
"/projects/{project}/workflows/{id}/runs": {
|
|
310
|
+
"/v1/projects/{project}/workflows/{id}/runs": {
|
|
311
311
|
parameters: {
|
|
312
312
|
query?: never;
|
|
313
313
|
header?: never;
|
|
@@ -323,7 +323,7 @@ export interface paths {
|
|
|
323
323
|
/**
|
|
324
324
|
* Start a new workflow run against a saved definition
|
|
325
325
|
* @description Enqueues a run using the latest version of the specified workflow
|
|
326
|
-
* definition. Equivalent to POST /projects/{project}/runs with
|
|
326
|
+
* definition. Equivalent to POST /v1/projects/{project}/runs with
|
|
327
327
|
* `definition_id` set to this workflow's ID. The `spec` field is
|
|
328
328
|
* forbidden on this path-bound endpoint.
|
|
329
329
|
*/
|
|
@@ -334,7 +334,7 @@ export interface paths {
|
|
|
334
334
|
patch?: never;
|
|
335
335
|
trace?: never;
|
|
336
336
|
};
|
|
337
|
-
"/projects/{project}/runs": {
|
|
337
|
+
"/v1/projects/{project}/runs": {
|
|
338
338
|
parameters: {
|
|
339
339
|
query?: never;
|
|
340
340
|
header?: never;
|
|
@@ -365,7 +365,7 @@ export interface paths {
|
|
|
365
365
|
patch?: never;
|
|
366
366
|
trace?: never;
|
|
367
367
|
};
|
|
368
|
-
"/projects/{project}/runs/cancellations": {
|
|
368
|
+
"/v1/projects/{project}/runs/cancellations": {
|
|
369
369
|
parameters: {
|
|
370
370
|
query?: never;
|
|
371
371
|
header?: never;
|
|
@@ -388,7 +388,7 @@ export interface paths {
|
|
|
388
388
|
patch?: never;
|
|
389
389
|
trace?: never;
|
|
390
390
|
};
|
|
391
|
-
"/projects/{project}/runs/retries": {
|
|
391
|
+
"/v1/projects/{project}/runs/retries": {
|
|
392
392
|
parameters: {
|
|
393
393
|
query?: never;
|
|
394
394
|
header?: never;
|
|
@@ -411,7 +411,7 @@ export interface paths {
|
|
|
411
411
|
patch?: never;
|
|
412
412
|
trace?: never;
|
|
413
413
|
};
|
|
414
|
-
"/projects/{project}/runs/{id}": {
|
|
414
|
+
"/v1/projects/{project}/runs/{id}": {
|
|
415
415
|
parameters: {
|
|
416
416
|
query?: never;
|
|
417
417
|
header?: never;
|
|
@@ -428,7 +428,7 @@ export interface paths {
|
|
|
428
428
|
patch?: never;
|
|
429
429
|
trace?: never;
|
|
430
430
|
};
|
|
431
|
-
"/projects/{project}/runs/{id}/action-log": {
|
|
431
|
+
"/v1/projects/{project}/runs/{id}/action-log": {
|
|
432
432
|
parameters: {
|
|
433
433
|
query?: never;
|
|
434
434
|
header?: never;
|
|
@@ -445,7 +445,7 @@ export interface paths {
|
|
|
445
445
|
patch?: never;
|
|
446
446
|
trace?: never;
|
|
447
447
|
};
|
|
448
|
-
"/projects/{project}/runs/{id}/jobs": {
|
|
448
|
+
"/v1/projects/{project}/runs/{id}/jobs": {
|
|
449
449
|
parameters: {
|
|
450
450
|
query?: never;
|
|
451
451
|
header?: never;
|
|
@@ -462,7 +462,7 @@ export interface paths {
|
|
|
462
462
|
patch?: never;
|
|
463
463
|
trace?: never;
|
|
464
464
|
};
|
|
465
|
-
"/projects/{project}/runs/events": {
|
|
465
|
+
"/v1/projects/{project}/runs/events": {
|
|
466
466
|
parameters: {
|
|
467
467
|
query?: never;
|
|
468
468
|
header?: never;
|
|
@@ -493,7 +493,7 @@ export interface paths {
|
|
|
493
493
|
patch?: never;
|
|
494
494
|
trace?: never;
|
|
495
495
|
};
|
|
496
|
-
"/projects/{project}/runs/{id}/cancellations": {
|
|
496
|
+
"/v1/projects/{project}/runs/{id}/cancellations": {
|
|
497
497
|
parameters: {
|
|
498
498
|
query?: never;
|
|
499
499
|
header?: never;
|
|
@@ -515,7 +515,7 @@ export interface paths {
|
|
|
515
515
|
patch?: never;
|
|
516
516
|
trace?: never;
|
|
517
517
|
};
|
|
518
|
-
"/projects/{project}/runs/{id}/resumptions": {
|
|
518
|
+
"/v1/projects/{project}/runs/{id}/resumptions": {
|
|
519
519
|
parameters: {
|
|
520
520
|
query?: never;
|
|
521
521
|
header?: never;
|
|
@@ -535,7 +535,7 @@ export interface paths {
|
|
|
535
535
|
patch?: never;
|
|
536
536
|
trace?: never;
|
|
537
537
|
};
|
|
538
|
-
"/projects/{project}/runs/{id}/signals": {
|
|
538
|
+
"/v1/projects/{project}/runs/{id}/signals": {
|
|
539
539
|
parameters: {
|
|
540
540
|
query?: never;
|
|
541
541
|
header?: never;
|
|
@@ -559,7 +559,7 @@ export interface paths {
|
|
|
559
559
|
patch?: never;
|
|
560
560
|
trace?: never;
|
|
561
561
|
};
|
|
562
|
-
"/projects/{project}/runs/{id}/events": {
|
|
562
|
+
"/v1/projects/{project}/runs/{id}/events": {
|
|
563
563
|
parameters: {
|
|
564
564
|
query?: never;
|
|
565
565
|
header?: never;
|
|
@@ -568,7 +568,7 @@ export interface paths {
|
|
|
568
568
|
};
|
|
569
569
|
/**
|
|
570
570
|
* Subscribe to a stream of events for a single run (SSE)
|
|
571
|
-
* @description Same envelope as `/projects/{project}/runs/events` but filtered to a single run.
|
|
571
|
+
* @description Same envelope as `/v1/projects/{project}/runs/events` but filtered to a single run.
|
|
572
572
|
* The server writes one seed `run_updated` frame on connection
|
|
573
573
|
* so reconnects do not miss the latest state, and supports
|
|
574
574
|
* `?since=<seq>` replay for durable events recorded since the
|
|
@@ -583,7 +583,7 @@ export interface paths {
|
|
|
583
583
|
patch?: never;
|
|
584
584
|
trace?: never;
|
|
585
585
|
};
|
|
586
|
-
"/projects/{project}/actions": {
|
|
586
|
+
"/v1/projects/{project}/actions": {
|
|
587
587
|
parameters: {
|
|
588
588
|
query?: never;
|
|
589
589
|
header?: never;
|
|
@@ -610,7 +610,7 @@ export interface paths {
|
|
|
610
610
|
patch?: never;
|
|
611
611
|
trace?: never;
|
|
612
612
|
};
|
|
613
|
-
"/projects/{project}/actions/{actionName}": {
|
|
613
|
+
"/v1/projects/{project}/actions/{actionName}": {
|
|
614
614
|
parameters: {
|
|
615
615
|
query?: never;
|
|
616
616
|
header?: never;
|
|
@@ -638,7 +638,7 @@ export interface paths {
|
|
|
638
638
|
patch: operations["updateAction"];
|
|
639
639
|
trace?: never;
|
|
640
640
|
};
|
|
641
|
-
"/projects/{project}/actions/{actionName}/secret/rotate": {
|
|
641
|
+
"/v1/projects/{project}/actions/{actionName}/secret/rotate": {
|
|
642
642
|
parameters: {
|
|
643
643
|
query?: never;
|
|
644
644
|
header?: never;
|
|
@@ -662,7 +662,7 @@ export interface paths {
|
|
|
662
662
|
patch?: never;
|
|
663
663
|
trace?: never;
|
|
664
664
|
};
|
|
665
|
-
"/projects/{project}/action-audit-log": {
|
|
665
|
+
"/v1/projects/{project}/action-audit-log": {
|
|
666
666
|
parameters: {
|
|
667
667
|
query?: never;
|
|
668
668
|
header?: never;
|
|
@@ -686,7 +686,7 @@ export interface paths {
|
|
|
686
686
|
patch?: never;
|
|
687
687
|
trace?: never;
|
|
688
688
|
};
|
|
689
|
-
"/projects/{project}/actions/catalog": {
|
|
689
|
+
"/v1/projects/{project}/actions/catalog": {
|
|
690
690
|
parameters: {
|
|
691
691
|
query?: never;
|
|
692
692
|
header?: never;
|
|
@@ -710,7 +710,7 @@ export interface paths {
|
|
|
710
710
|
patch?: never;
|
|
711
711
|
trace?: never;
|
|
712
712
|
};
|
|
713
|
-
"/projects/{project}/actions/catalog/{actionName}": {
|
|
713
|
+
"/v1/projects/{project}/actions/catalog/{actionName}": {
|
|
714
714
|
parameters: {
|
|
715
715
|
query?: never;
|
|
716
716
|
header?: never;
|
|
@@ -730,7 +730,7 @@ export interface paths {
|
|
|
730
730
|
patch?: never;
|
|
731
731
|
trace?: never;
|
|
732
732
|
};
|
|
733
|
-
"/projects/{project}/jobs/claim": {
|
|
733
|
+
"/v1/projects/{project}/jobs/claim": {
|
|
734
734
|
parameters: {
|
|
735
735
|
query?: never;
|
|
736
736
|
header?: never;
|
|
@@ -749,7 +749,7 @@ export interface paths {
|
|
|
749
749
|
* window closes empty.
|
|
750
750
|
*
|
|
751
751
|
* Each successful call also registers or refreshes the worker in the
|
|
752
|
-
* worker registry (used by `GET /projects/{project}/workers`), so no
|
|
752
|
+
* worker registry (used by `GET /v1/projects/{project}/workers`), so no
|
|
753
753
|
* separate registration step is needed.
|
|
754
754
|
*
|
|
755
755
|
* The returned `JobClaim` includes the `heartbeat_interval_seconds`
|
|
@@ -762,7 +762,7 @@ export interface paths {
|
|
|
762
762
|
patch?: never;
|
|
763
763
|
trace?: never;
|
|
764
764
|
};
|
|
765
|
-
"/projects/{project}/jobs/{id}/heartbeat": {
|
|
765
|
+
"/v1/projects/{project}/jobs/{id}/heartbeat": {
|
|
766
766
|
parameters: {
|
|
767
767
|
query?: never;
|
|
768
768
|
header?: never;
|
|
@@ -785,7 +785,7 @@ export interface paths {
|
|
|
785
785
|
*
|
|
786
786
|
* When `directives.should_cancel` is true, the run has received a
|
|
787
787
|
* cancellation request; the worker must stop processing and call
|
|
788
|
-
* `POST /jobs/{id}/complete` with `status: failed`.
|
|
788
|
+
* `POST /v1/projects/{project}/jobs/{id}/complete` with `status: failed`.
|
|
789
789
|
*/
|
|
790
790
|
post: operations["heartbeatJob"];
|
|
791
791
|
delete?: never;
|
|
@@ -794,7 +794,7 @@ export interface paths {
|
|
|
794
794
|
patch?: never;
|
|
795
795
|
trace?: never;
|
|
796
796
|
};
|
|
797
|
-
"/projects/{project}/jobs/{id}/complete": {
|
|
797
|
+
"/v1/projects/{project}/jobs/{id}/complete": {
|
|
798
798
|
parameters: {
|
|
799
799
|
query?: never;
|
|
800
800
|
header?: never;
|
|
@@ -826,7 +826,7 @@ export interface paths {
|
|
|
826
826
|
patch?: never;
|
|
827
827
|
trace?: never;
|
|
828
828
|
};
|
|
829
|
-
"/projects/{project}/jobs/{id}/events": {
|
|
829
|
+
"/v1/projects/{project}/jobs/{id}/events": {
|
|
830
830
|
parameters: {
|
|
831
831
|
query?: never;
|
|
832
832
|
header?: never;
|
|
@@ -861,7 +861,7 @@ export interface paths {
|
|
|
861
861
|
patch?: never;
|
|
862
862
|
trace?: never;
|
|
863
863
|
};
|
|
864
|
-
"/projects/{project}/jobs/{id}/interactions": {
|
|
864
|
+
"/v1/projects/{project}/jobs/{id}/interactions": {
|
|
865
865
|
parameters: {
|
|
866
866
|
query?: never;
|
|
867
867
|
header?: never;
|
|
@@ -875,10 +875,10 @@ export interface paths {
|
|
|
875
875
|
* @description Job-scoped form of interaction creation for the step-claim runtime.
|
|
876
876
|
* The server derives the owning run and project scope from the job,
|
|
877
877
|
* so workers do not need to pass `run_id` explicitly. Prefer this
|
|
878
|
-
* route over `POST /projects/{project}/interactions` from within a
|
|
879
|
-
* job context. The optional `
|
|
880
|
-
* derived signal
|
|
881
|
-
* from `step_name` or uses a default interaction
|
|
878
|
+
* route over `POST /v1/projects/{project}/interactions` from within a
|
|
879
|
+
* job context. The optional `signal_name` field overrides the server-
|
|
880
|
+
* derived signal name; when omitted the server derives the signal name
|
|
881
|
+
* from `step_name` or uses a default interaction signal name.
|
|
882
882
|
*/
|
|
883
883
|
post: operations["createJobInteraction"];
|
|
884
884
|
delete?: never;
|
|
@@ -887,7 +887,7 @@ export interface paths {
|
|
|
887
887
|
patch?: never;
|
|
888
888
|
trace?: never;
|
|
889
889
|
};
|
|
890
|
-
"/projects/{project}/jobs/{id}/actions/{actionName}": {
|
|
890
|
+
"/v1/projects/{project}/jobs/{id}/actions/{actionName}": {
|
|
891
891
|
parameters: {
|
|
892
892
|
query?: never;
|
|
893
893
|
header?: never;
|
|
@@ -911,7 +911,7 @@ export interface paths {
|
|
|
911
911
|
patch?: never;
|
|
912
912
|
trace?: never;
|
|
913
913
|
};
|
|
914
|
-
"/projects/{project}/triggers": {
|
|
914
|
+
"/v1/projects/{project}/triggers": {
|
|
915
915
|
parameters: {
|
|
916
916
|
query?: never;
|
|
917
917
|
header?: never;
|
|
@@ -938,7 +938,7 @@ export interface paths {
|
|
|
938
938
|
patch?: never;
|
|
939
939
|
trace?: never;
|
|
940
940
|
};
|
|
941
|
-
"/projects/{project}/triggers/{id}": {
|
|
941
|
+
"/v1/projects/{project}/triggers/{id}": {
|
|
942
942
|
parameters: {
|
|
943
943
|
query?: never;
|
|
944
944
|
header?: never;
|
|
@@ -963,7 +963,7 @@ export interface paths {
|
|
|
963
963
|
patch: operations["updateTrigger"];
|
|
964
964
|
trace?: never;
|
|
965
965
|
};
|
|
966
|
-
"/projects/{project}/triggers/{id}/fires": {
|
|
966
|
+
"/v1/projects/{project}/triggers/{id}/fires": {
|
|
967
967
|
parameters: {
|
|
968
968
|
query?: never;
|
|
969
969
|
header?: never;
|
|
@@ -985,7 +985,7 @@ export interface paths {
|
|
|
985
985
|
patch?: never;
|
|
986
986
|
trace?: never;
|
|
987
987
|
};
|
|
988
|
-
"/projects/{project}/workers": {
|
|
988
|
+
"/v1/projects/{project}/workers": {
|
|
989
989
|
parameters: {
|
|
990
990
|
query?: never;
|
|
991
991
|
header?: never;
|
|
@@ -1009,7 +1009,7 @@ export interface paths {
|
|
|
1009
1009
|
patch?: never;
|
|
1010
1010
|
trace?: never;
|
|
1011
1011
|
};
|
|
1012
|
-
"/projects": {
|
|
1012
|
+
"/v1/projects": {
|
|
1013
1013
|
parameters: {
|
|
1014
1014
|
query?: never;
|
|
1015
1015
|
header?: never;
|
|
@@ -1035,7 +1035,7 @@ export interface paths {
|
|
|
1035
1035
|
patch?: never;
|
|
1036
1036
|
trace?: never;
|
|
1037
1037
|
};
|
|
1038
|
-
"/projects/{id}": {
|
|
1038
|
+
"/v1/projects/{id}": {
|
|
1039
1039
|
parameters: {
|
|
1040
1040
|
query?: never;
|
|
1041
1041
|
header?: never;
|
|
@@ -1066,7 +1066,7 @@ export interface paths {
|
|
|
1066
1066
|
patch: operations["updateProject"];
|
|
1067
1067
|
trace?: never;
|
|
1068
1068
|
};
|
|
1069
|
-
"/projects/{project}/webhooks": {
|
|
1069
|
+
"/v1/projects/{project}/webhooks": {
|
|
1070
1070
|
parameters: {
|
|
1071
1071
|
query?: never;
|
|
1072
1072
|
header?: never;
|
|
@@ -1094,7 +1094,7 @@ export interface paths {
|
|
|
1094
1094
|
patch?: never;
|
|
1095
1095
|
trace?: never;
|
|
1096
1096
|
};
|
|
1097
|
-
"/projects/{project}/webhooks/{id}": {
|
|
1097
|
+
"/v1/projects/{project}/webhooks/{id}": {
|
|
1098
1098
|
parameters: {
|
|
1099
1099
|
query?: never;
|
|
1100
1100
|
header?: never;
|
|
@@ -1122,7 +1122,7 @@ export interface paths {
|
|
|
1122
1122
|
patch: operations["updateWebhook"];
|
|
1123
1123
|
trace?: never;
|
|
1124
1124
|
};
|
|
1125
|
-
"/projects/{project}/webhooks/{id}/deliveries": {
|
|
1125
|
+
"/v1/projects/{project}/webhooks/{id}/deliveries": {
|
|
1126
1126
|
parameters: {
|
|
1127
1127
|
query?: never;
|
|
1128
1128
|
header?: never;
|
|
@@ -1146,7 +1146,7 @@ export interface paths {
|
|
|
1146
1146
|
patch?: never;
|
|
1147
1147
|
trace?: never;
|
|
1148
1148
|
};
|
|
1149
|
-
"/projects/{project}/integrations": {
|
|
1149
|
+
"/v1/projects/{project}/integrations": {
|
|
1150
1150
|
parameters: {
|
|
1151
1151
|
query?: never;
|
|
1152
1152
|
header?: never;
|
|
@@ -1169,7 +1169,7 @@ export interface paths {
|
|
|
1169
1169
|
patch?: never;
|
|
1170
1170
|
trace?: never;
|
|
1171
1171
|
};
|
|
1172
|
-
"/projects/{project}/integrations/{id}": {
|
|
1172
|
+
"/v1/projects/{project}/integrations/{id}": {
|
|
1173
1173
|
parameters: {
|
|
1174
1174
|
query?: never;
|
|
1175
1175
|
header?: never;
|
|
@@ -1197,7 +1197,7 @@ export interface paths {
|
|
|
1197
1197
|
patch?: never;
|
|
1198
1198
|
trace?: never;
|
|
1199
1199
|
};
|
|
1200
|
-
"/projects/{project}/integrations/copy": {
|
|
1200
|
+
"/v1/projects/{project}/integrations/copy": {
|
|
1201
1201
|
parameters: {
|
|
1202
1202
|
query?: never;
|
|
1203
1203
|
header?: never;
|
|
@@ -1223,7 +1223,7 @@ export interface paths {
|
|
|
1223
1223
|
patch?: never;
|
|
1224
1224
|
trace?: never;
|
|
1225
1225
|
};
|
|
1226
|
-
"/projects/{project}/metrics": {
|
|
1226
|
+
"/v1/projects/{project}/metrics": {
|
|
1227
1227
|
parameters: {
|
|
1228
1228
|
query?: never;
|
|
1229
1229
|
header?: never;
|
|
@@ -1246,7 +1246,7 @@ export interface paths {
|
|
|
1246
1246
|
patch?: never;
|
|
1247
1247
|
trace?: never;
|
|
1248
1248
|
};
|
|
1249
|
-
"/roles": {
|
|
1249
|
+
"/v1/roles": {
|
|
1250
1250
|
parameters: {
|
|
1251
1251
|
query?: never;
|
|
1252
1252
|
header?: never;
|
|
@@ -1272,7 +1272,7 @@ export interface paths {
|
|
|
1272
1272
|
patch?: never;
|
|
1273
1273
|
trace?: never;
|
|
1274
1274
|
};
|
|
1275
|
-
"/roles/{id}": {
|
|
1275
|
+
"/v1/roles/{id}": {
|
|
1276
1276
|
parameters: {
|
|
1277
1277
|
query?: never;
|
|
1278
1278
|
header?: never;
|
|
@@ -1298,7 +1298,7 @@ export interface paths {
|
|
|
1298
1298
|
patch: operations["updateRole"];
|
|
1299
1299
|
trace?: never;
|
|
1300
1300
|
};
|
|
1301
|
-
"/role-assignments": {
|
|
1301
|
+
"/v1/role-assignments": {
|
|
1302
1302
|
parameters: {
|
|
1303
1303
|
query?: never;
|
|
1304
1304
|
header?: never;
|
|
@@ -1325,7 +1325,7 @@ export interface paths {
|
|
|
1325
1325
|
patch?: never;
|
|
1326
1326
|
trace?: never;
|
|
1327
1327
|
};
|
|
1328
|
-
"/role-assignments/{id}": {
|
|
1328
|
+
"/v1/role-assignments/{id}": {
|
|
1329
1329
|
parameters: {
|
|
1330
1330
|
query?: never;
|
|
1331
1331
|
header?: never;
|
|
@@ -1342,7 +1342,7 @@ export interface paths {
|
|
|
1342
1342
|
patch?: never;
|
|
1343
1343
|
trace?: never;
|
|
1344
1344
|
};
|
|
1345
|
-
"/projects/{project}/interactions": {
|
|
1345
|
+
"/v1/projects/{project}/interactions": {
|
|
1346
1346
|
parameters: {
|
|
1347
1347
|
query?: never;
|
|
1348
1348
|
header?: never;
|
|
@@ -1355,12 +1355,13 @@ export interface paths {
|
|
|
1355
1355
|
/**
|
|
1356
1356
|
* Create an interaction
|
|
1357
1357
|
* @description Creates a standalone or run-backed interaction. When `run_id` is
|
|
1358
|
-
* provided, `
|
|
1359
|
-
* automatically delivers a signal that resumes the
|
|
1360
|
-
* Omit both for a standalone interaction that
|
|
1361
|
-
* workflow side effect. Workers creating
|
|
1362
|
-
* job should use the job-scoped route
|
|
1363
|
-
* instead,
|
|
1358
|
+
* provided, `signal_name` is also required and completing the
|
|
1359
|
+
* interaction automatically delivers a signal that resumes the
|
|
1360
|
+
* suspended run. Omit both for a standalone interaction that
|
|
1361
|
+
* completes with no workflow side effect. Workers creating
|
|
1362
|
+
* interactions from within a job should use the job-scoped route
|
|
1363
|
+
* (`POST /v1/projects/{project}/jobs/{id}/interactions`) instead,
|
|
1364
|
+
* which derives the run and signal name automatically.
|
|
1364
1365
|
*/
|
|
1365
1366
|
post: operations["createInteraction"];
|
|
1366
1367
|
delete?: never;
|
|
@@ -1369,7 +1370,7 @@ export interface paths {
|
|
|
1369
1370
|
patch?: never;
|
|
1370
1371
|
trace?: never;
|
|
1371
1372
|
};
|
|
1372
|
-
"/projects/{project}/interactions/{id}": {
|
|
1373
|
+
"/v1/projects/{project}/interactions/{id}": {
|
|
1373
1374
|
parameters: {
|
|
1374
1375
|
query?: never;
|
|
1375
1376
|
header?: never;
|
|
@@ -1386,7 +1387,7 @@ export interface paths {
|
|
|
1386
1387
|
patch?: never;
|
|
1387
1388
|
trace?: never;
|
|
1388
1389
|
};
|
|
1389
|
-
"/projects/{project}/interactions/{id}/respond": {
|
|
1390
|
+
"/v1/projects/{project}/interactions/{id}/respond": {
|
|
1390
1391
|
parameters: {
|
|
1391
1392
|
query?: never;
|
|
1392
1393
|
header?: never;
|
|
@@ -1409,7 +1410,7 @@ export interface paths {
|
|
|
1409
1410
|
patch?: never;
|
|
1410
1411
|
trace?: never;
|
|
1411
1412
|
};
|
|
1412
|
-
"/projects/{project}/interactions/{id}/claim": {
|
|
1413
|
+
"/v1/projects/{project}/interactions/{id}/claim": {
|
|
1413
1414
|
parameters: {
|
|
1414
1415
|
query?: never;
|
|
1415
1416
|
header?: never;
|
|
@@ -1426,7 +1427,7 @@ export interface paths {
|
|
|
1426
1427
|
patch?: never;
|
|
1427
1428
|
trace?: never;
|
|
1428
1429
|
};
|
|
1429
|
-
"/projects/{project}/interactions/{id}/release": {
|
|
1430
|
+
"/v1/projects/{project}/interactions/{id}/release": {
|
|
1430
1431
|
parameters: {
|
|
1431
1432
|
query?: never;
|
|
1432
1433
|
header?: never;
|
|
@@ -1443,7 +1444,7 @@ export interface paths {
|
|
|
1443
1444
|
patch?: never;
|
|
1444
1445
|
trace?: never;
|
|
1445
1446
|
};
|
|
1446
|
-
"/projects/{project}/groups": {
|
|
1447
|
+
"/v1/projects/{project}/groups": {
|
|
1447
1448
|
parameters: {
|
|
1448
1449
|
query?: never;
|
|
1449
1450
|
header?: never;
|
|
@@ -1468,7 +1469,7 @@ export interface paths {
|
|
|
1468
1469
|
patch?: never;
|
|
1469
1470
|
trace?: never;
|
|
1470
1471
|
};
|
|
1471
|
-
"/projects/{project}/groups/{groupId}": {
|
|
1472
|
+
"/v1/projects/{project}/groups/{groupId}": {
|
|
1472
1473
|
parameters: {
|
|
1473
1474
|
query?: never;
|
|
1474
1475
|
header?: never;
|
|
@@ -1496,7 +1497,7 @@ export interface paths {
|
|
|
1496
1497
|
patch: operations["updateGroup"];
|
|
1497
1498
|
trace?: never;
|
|
1498
1499
|
};
|
|
1499
|
-
"/projects/{project}/groups/{groupId}/members": {
|
|
1500
|
+
"/v1/projects/{project}/groups/{groupId}/members": {
|
|
1500
1501
|
parameters: {
|
|
1501
1502
|
query?: never;
|
|
1502
1503
|
header?: never;
|
|
@@ -1520,7 +1521,7 @@ export interface paths {
|
|
|
1520
1521
|
patch?: never;
|
|
1521
1522
|
trace?: never;
|
|
1522
1523
|
};
|
|
1523
|
-
"/projects/{project}/groups/{groupId}/members/{userId}": {
|
|
1524
|
+
"/v1/projects/{project}/groups/{groupId}/members/{userId}": {
|
|
1524
1525
|
parameters: {
|
|
1525
1526
|
query?: never;
|
|
1526
1527
|
header?: never;
|
|
@@ -1540,7 +1541,7 @@ export interface paths {
|
|
|
1540
1541
|
patch?: never;
|
|
1541
1542
|
trace?: never;
|
|
1542
1543
|
};
|
|
1543
|
-
"/projects/{project}/members/{userId}/groups": {
|
|
1544
|
+
"/v1/projects/{project}/members/{userId}/groups": {
|
|
1544
1545
|
parameters: {
|
|
1545
1546
|
query?: never;
|
|
1546
1547
|
header?: never;
|
|
@@ -1557,7 +1558,7 @@ export interface paths {
|
|
|
1557
1558
|
patch?: never;
|
|
1558
1559
|
trace?: never;
|
|
1559
1560
|
};
|
|
1560
|
-
"/projects/{project}/agents": {
|
|
1561
|
+
"/v1/projects/{project}/agents": {
|
|
1561
1562
|
parameters: {
|
|
1562
1563
|
query?: never;
|
|
1563
1564
|
header?: never;
|
|
@@ -1583,7 +1584,7 @@ export interface paths {
|
|
|
1583
1584
|
patch?: never;
|
|
1584
1585
|
trace?: never;
|
|
1585
1586
|
};
|
|
1586
|
-
"/projects/{project}/agents/{id}": {
|
|
1587
|
+
"/v1/projects/{project}/agents/{id}": {
|
|
1587
1588
|
parameters: {
|
|
1588
1589
|
query?: never;
|
|
1589
1590
|
header?: never;
|
|
@@ -1610,7 +1611,7 @@ export interface paths {
|
|
|
1610
1611
|
patch: operations["updateAgent"];
|
|
1611
1612
|
trace?: never;
|
|
1612
1613
|
};
|
|
1613
|
-
"/projects/{project}/agents/{id}/sessions": {
|
|
1614
|
+
"/v1/projects/{project}/agents/{id}/sessions": {
|
|
1614
1615
|
parameters: {
|
|
1615
1616
|
query?: never;
|
|
1616
1617
|
header?: never;
|
|
@@ -1639,7 +1640,7 @@ export interface paths {
|
|
|
1639
1640
|
patch?: never;
|
|
1640
1641
|
trace?: never;
|
|
1641
1642
|
};
|
|
1642
|
-
"/projects/{project}/agents/sessions/{sessionId}": {
|
|
1643
|
+
"/v1/projects/{project}/agents/sessions/{sessionId}": {
|
|
1643
1644
|
parameters: {
|
|
1644
1645
|
query?: never;
|
|
1645
1646
|
header?: never;
|
|
@@ -1656,7 +1657,7 @@ export interface paths {
|
|
|
1656
1657
|
patch?: never;
|
|
1657
1658
|
trace?: never;
|
|
1658
1659
|
};
|
|
1659
|
-
"/projects/{project}/agents/sessions/{sessionId}/heartbeat": {
|
|
1660
|
+
"/v1/projects/{project}/agents/sessions/{sessionId}/heartbeat": {
|
|
1660
1661
|
parameters: {
|
|
1661
1662
|
query?: never;
|
|
1662
1663
|
header?: never;
|
|
@@ -1678,7 +1679,7 @@ export interface paths {
|
|
|
1678
1679
|
patch?: never;
|
|
1679
1680
|
trace?: never;
|
|
1680
1681
|
};
|
|
1681
|
-
"/projects/{project}/agents/sessions/{sessionId}/disconnect": {
|
|
1682
|
+
"/v1/projects/{project}/agents/sessions/{sessionId}/disconnect": {
|
|
1682
1683
|
parameters: {
|
|
1683
1684
|
query?: never;
|
|
1684
1685
|
header?: never;
|
|
@@ -1700,7 +1701,7 @@ export interface paths {
|
|
|
1700
1701
|
patch?: never;
|
|
1701
1702
|
trace?: never;
|
|
1702
1703
|
};
|
|
1703
|
-
"/projects/{project}/tools": {
|
|
1704
|
+
"/v1/projects/{project}/tools": {
|
|
1704
1705
|
parameters: {
|
|
1705
1706
|
query?: never;
|
|
1706
1707
|
header?: never;
|
|
@@ -1723,7 +1724,7 @@ export interface paths {
|
|
|
1723
1724
|
patch?: never;
|
|
1724
1725
|
trace?: never;
|
|
1725
1726
|
};
|
|
1726
|
-
"/projects/{project}/tools/{handle}/runs": {
|
|
1727
|
+
"/v1/projects/{project}/tools/{handle}/runs": {
|
|
1727
1728
|
parameters: {
|
|
1728
1729
|
query?: never;
|
|
1729
1730
|
header?: never;
|
|
@@ -1739,7 +1740,7 @@ export interface paths {
|
|
|
1739
1740
|
* Returns the run output directly when the workflow completes within
|
|
1740
1741
|
* the timeout. On timeout the response includes the run ID and
|
|
1741
1742
|
* `status: pending` so the caller can switch to polling via
|
|
1742
|
-
* `GET /projects/{project}/tools/{handle}/runs/{run_id}`.
|
|
1743
|
+
* `GET /v1/projects/{project}/tools/{handle}/runs/{run_id}`.
|
|
1743
1744
|
*/
|
|
1744
1745
|
post: operations["runTool"];
|
|
1745
1746
|
delete?: never;
|
|
@@ -1748,7 +1749,7 @@ export interface paths {
|
|
|
1748
1749
|
patch?: never;
|
|
1749
1750
|
trace?: never;
|
|
1750
1751
|
};
|
|
1751
|
-
"/projects/{project}/tools/{handle}/runs/{runId}": {
|
|
1752
|
+
"/v1/projects/{project}/tools/{handle}/runs/{runId}": {
|
|
1752
1753
|
parameters: {
|
|
1753
1754
|
query?: never;
|
|
1754
1755
|
header?: never;
|
|
@@ -2210,8 +2211,6 @@ export interface components {
|
|
|
2210
2211
|
CLICredential: {
|
|
2211
2212
|
/** @description Unique identifier for this credential. */
|
|
2212
2213
|
id: string;
|
|
2213
|
-
/** @description ID of the organization this credential is scoped to. */
|
|
2214
|
-
org_id: string;
|
|
2215
2214
|
/** @description ID of the user who authorized this credential. */
|
|
2216
2215
|
user_id: string;
|
|
2217
2216
|
/** @description Human-readable label identifying this credential. */
|
|
@@ -2418,7 +2417,7 @@ export interface components {
|
|
|
2418
2417
|
};
|
|
2419
2418
|
/** @description Suspends the run until a signal with the matching topic arrives. */
|
|
2420
2419
|
WorkflowWaitSignalConfig: {
|
|
2421
|
-
/** @description Signal topic to wait on. Must match the `name` field in POST /runs/{id}/signals. */
|
|
2420
|
+
/** @description Signal topic to wait on. Must match the `name` field in POST /v1/projects/{project}/runs/{id}/signals. */
|
|
2422
2421
|
topic: string;
|
|
2423
2422
|
/** @description Maximum wait duration as a Go duration string (e.g. "24h", "30m"). */
|
|
2424
2423
|
timeout: string;
|
|
@@ -2668,9 +2667,9 @@ export interface components {
|
|
|
2668
2667
|
/**
|
|
2669
2668
|
* @description Start a workflow run. Provide exactly one of `definition_id` or
|
|
2670
2669
|
* `spec` — they are mutually exclusive. When both are absent on
|
|
2671
|
-
* the path-less `POST /projects/{project}/runs` endpoint, or when both
|
|
2670
|
+
* the path-less `POST /v1/projects/{project}/runs` endpoint, or when both
|
|
2672
2671
|
* are present, the request is rejected with 400. On the
|
|
2673
|
-
* definition-bound endpoint (`POST /projects/{project}/workflows/{id}/runs`)
|
|
2672
|
+
* definition-bound endpoint (`POST /v1/projects/{project}/workflows/{id}/runs`)
|
|
2674
2673
|
* `definition_id` is implied by the path and `spec` is forbidden.
|
|
2675
2674
|
*/
|
|
2676
2675
|
StartRunRequest: {
|
|
@@ -2879,8 +2878,6 @@ export interface components {
|
|
|
2879
2878
|
Action: {
|
|
2880
2879
|
/** @description Unique identifier for this action. */
|
|
2881
2880
|
id: string;
|
|
2882
|
-
/** @description ID of the organization this action belongs to. */
|
|
2883
|
-
org_id: string;
|
|
2884
2881
|
/** @description Project-scoped stable identifier used in workflow step definitions. */
|
|
2885
2882
|
name: string;
|
|
2886
2883
|
/** @description Human-readable display title for the action. */
|
|
@@ -3053,7 +3050,7 @@ export interface components {
|
|
|
3053
3050
|
run_id: string;
|
|
3054
3051
|
/** @description Handle of the workflow definition that owns this run. */
|
|
3055
3052
|
workflow_name: string;
|
|
3056
|
-
/** @description Step
|
|
3053
|
+
/** @description Step name from the workflow spec — used for UI and interaction topic derivation. */
|
|
3057
3054
|
step_name: string;
|
|
3058
3055
|
/** @description Action name the worker must execute for this step. */
|
|
3059
3056
|
action: string;
|
|
@@ -3074,7 +3071,7 @@ export interface components {
|
|
|
3074
3071
|
queue: string;
|
|
3075
3072
|
/**
|
|
3076
3073
|
* @description Recommended heartbeat interval in seconds. Workers should call
|
|
3077
|
-
* `POST /jobs/{id}/heartbeat` at this cadence to keep the lease
|
|
3074
|
+
* `POST /v1/projects/{project}/jobs/{id}/heartbeat` at this cadence to keep the lease
|
|
3078
3075
|
* alive. Typically 30 seconds.
|
|
3079
3076
|
*/
|
|
3080
3077
|
heartbeat_interval_seconds?: number;
|
|
@@ -3226,7 +3223,8 @@ export interface components {
|
|
|
3226
3223
|
};
|
|
3227
3224
|
/**
|
|
3228
3225
|
* @description Creates an interaction from a claimed job context. The server derives
|
|
3229
|
-
* the owning run from the job and may derive the
|
|
3226
|
+
* the owning run from the job and may derive the signal name when
|
|
3227
|
+
* omitted.
|
|
3230
3228
|
*/
|
|
3231
3229
|
CreateJobInteractionRequest: {
|
|
3232
3230
|
target_actor: components["schemas"]["ActorRef"];
|
|
@@ -3234,10 +3232,11 @@ export interface components {
|
|
|
3234
3232
|
/** @description Message shown to the responder. */
|
|
3235
3233
|
message: string;
|
|
3236
3234
|
/**
|
|
3237
|
-
* @description Optional signal
|
|
3238
|
-
* the
|
|
3235
|
+
* @description Optional signal name override. When omitted, the server derives
|
|
3236
|
+
* the signal name from step_name or falls back to a default
|
|
3237
|
+
* interaction signal name.
|
|
3239
3238
|
*/
|
|
3240
|
-
|
|
3239
|
+
signal_name?: string;
|
|
3241
3240
|
/** @description Optional workflow step label for UI/debugging context */
|
|
3242
3241
|
step_name?: string;
|
|
3243
3242
|
/** @description Additional key-value context surfaced in the UI alongside the message. */
|
|
@@ -3293,12 +3292,10 @@ export interface components {
|
|
|
3293
3292
|
Interaction: {
|
|
3294
3293
|
/** @description Unique identifier for this interaction. */
|
|
3295
3294
|
id: string;
|
|
3296
|
-
/** @description ID of the organization this interaction belongs to. */
|
|
3297
|
-
org_id: string;
|
|
3298
3295
|
/** @description Originating workflow run when the interaction is run-backed. */
|
|
3299
3296
|
run_id?: string | null;
|
|
3300
|
-
/** @description Signal
|
|
3301
|
-
|
|
3297
|
+
/** @description Signal name used to resume the originating run when run-backed. */
|
|
3298
|
+
signal_name?: string | null;
|
|
3302
3299
|
type: components["schemas"]["InteractionType"];
|
|
3303
3300
|
/**
|
|
3304
3301
|
* @description Current status of the interaction.
|
|
@@ -3394,8 +3391,6 @@ export interface components {
|
|
|
3394
3391
|
Trigger: {
|
|
3395
3392
|
/** @description Unique identifier for this trigger. */
|
|
3396
3393
|
id: string;
|
|
3397
|
-
/** @description ID of the organization this trigger belongs to. */
|
|
3398
|
-
org_id: string;
|
|
3399
3394
|
/** @description Human-readable trigger name, unique within the project. */
|
|
3400
3395
|
name: string;
|
|
3401
3396
|
kind: components["schemas"]["TriggerKind"];
|
|
@@ -3454,10 +3449,6 @@ export interface components {
|
|
|
3454
3449
|
TriggerFire: {
|
|
3455
3450
|
/** @description Unique identifier for this fire record. */
|
|
3456
3451
|
id: string;
|
|
3457
|
-
/** @description ID of the organization this trigger belongs to. */
|
|
3458
|
-
org_id: string;
|
|
3459
|
-
/** @description ID of the project this trigger belongs to. */
|
|
3460
|
-
project_id: string;
|
|
3461
3452
|
/** @description ID of the trigger that fired. */
|
|
3462
3453
|
trigger_id: string;
|
|
3463
3454
|
/**
|
|
@@ -3551,7 +3542,7 @@ export interface components {
|
|
|
3551
3542
|
};
|
|
3552
3543
|
Worker: {
|
|
3553
3544
|
/** @description Caller-assigned stable identifier for this worker process. */
|
|
3554
|
-
|
|
3545
|
+
id: string;
|
|
3555
3546
|
/** @description Optional human-readable name supplied in the claim request. */
|
|
3556
3547
|
name?: string;
|
|
3557
3548
|
/** @description Optional version string supplied in the claim request. */
|
|
@@ -3559,7 +3550,7 @@ export interface components {
|
|
|
3559
3550
|
/**
|
|
3560
3551
|
* Format: date-time
|
|
3561
3552
|
* @description Timestamp of the worker's most recent job claim poll. Updated on
|
|
3562
|
-
* every `POST /jobs/claim` call regardless of whether a job was
|
|
3553
|
+
* every `POST /v1/projects/{project}/jobs/claim` call regardless of whether a job was
|
|
3563
3554
|
* returned. Used to compute `stale`.
|
|
3564
3555
|
*/
|
|
3565
3556
|
last_seen_at?: string;
|
|
@@ -3636,10 +3627,6 @@ export interface components {
|
|
|
3636
3627
|
Webhook: {
|
|
3637
3628
|
/** @description Unique identifier for this webhook. */
|
|
3638
3629
|
id: string;
|
|
3639
|
-
/** @description ID of the organization this webhook belongs to. */
|
|
3640
|
-
org_id: string;
|
|
3641
|
-
/** @description ID of the project this webhook belongs to. */
|
|
3642
|
-
project_id: string;
|
|
3643
3630
|
/** @description Human-readable name, unique within the project. */
|
|
3644
3631
|
name: string;
|
|
3645
3632
|
/** @description The customer endpoint Mobius POSTs event payloads to. */
|
|
@@ -3683,8 +3670,6 @@ export interface components {
|
|
|
3683
3670
|
id: string;
|
|
3684
3671
|
/** @description ID of the webhook this delivery belongs to. */
|
|
3685
3672
|
webhook_id: string;
|
|
3686
|
-
/** @description ID of the organization this delivery belongs to. */
|
|
3687
|
-
org_id: string;
|
|
3688
3673
|
/** @description Run that triggered the event, when applicable. */
|
|
3689
3674
|
run_id?: string;
|
|
3690
3675
|
/** @description The event type that triggered this delivery (e.g. `run.completed`). */
|
|
@@ -3760,8 +3745,6 @@ export interface components {
|
|
|
3760
3745
|
Integration: {
|
|
3761
3746
|
/** @description Unique identifier for this integration. */
|
|
3762
3747
|
id: string;
|
|
3763
|
-
/** @description ID of the organization this integration belongs to. */
|
|
3764
|
-
org_id: string;
|
|
3765
3748
|
/** @description Human-readable name, unique per `(project, provider)` tuple. */
|
|
3766
3749
|
name: string;
|
|
3767
3750
|
/**
|
|
@@ -3841,8 +3824,6 @@ export interface components {
|
|
|
3841
3824
|
BillingSubscription: {
|
|
3842
3825
|
/** @description Unique identifier for this subscription. */
|
|
3843
3826
|
id: string;
|
|
3844
|
-
/** @description ID of the organization this subscription belongs to. */
|
|
3845
|
-
org_id: string;
|
|
3846
3827
|
/**
|
|
3847
3828
|
* @description Active plan: `trial`, `free`, `pro`, or `business`. New orgs
|
|
3848
3829
|
* start on `trial`; the plan downgrades to `free` when the trial
|
|
@@ -4173,8 +4154,6 @@ export interface components {
|
|
|
4173
4154
|
Role: {
|
|
4174
4155
|
/** @description Unique identifier for this role. */
|
|
4175
4156
|
id: string;
|
|
4176
|
-
/** @description Owning org. Empty for system-defined roles. */
|
|
4177
|
-
org_id?: string;
|
|
4178
4157
|
/** @description Scoping project. Empty for org-wide roles. */
|
|
4179
4158
|
project_id?: string;
|
|
4180
4159
|
/** @description Human-readable role name, unique within org+project scope. */
|
|
@@ -4199,8 +4178,6 @@ export interface components {
|
|
|
4199
4178
|
RoleAssignment: {
|
|
4200
4179
|
/** @description Unique identifier for this role assignment. */
|
|
4201
4180
|
id: string;
|
|
4202
|
-
/** @description ID of the organization this assignment belongs to. */
|
|
4203
|
-
org_id: string;
|
|
4204
4181
|
/**
|
|
4205
4182
|
* @description Type of actor this assignment applies to: `user` or `service_account`.
|
|
4206
4183
|
* @enum {string}
|
|
@@ -4342,8 +4319,6 @@ export interface components {
|
|
|
4342
4319
|
OrgMember: {
|
|
4343
4320
|
/** @description Unique identifier for this membership record. */
|
|
4344
4321
|
id: string;
|
|
4345
|
-
/** @description ID of the organization. */
|
|
4346
|
-
org_id: string;
|
|
4347
4322
|
/** @description ID of the user who is a member. */
|
|
4348
4323
|
user_id: string;
|
|
4349
4324
|
/**
|
|
@@ -4392,17 +4367,18 @@ export interface components {
|
|
|
4392
4367
|
items: components["schemas"]["Interaction"][];
|
|
4393
4368
|
};
|
|
4394
4369
|
/**
|
|
4395
|
-
* @description Creates an interaction directly. When `run_id` is provided,
|
|
4396
|
-
* also required and the interaction is linked to that
|
|
4397
|
-
* omitted, the interaction is standalone and
|
|
4398
|
-
* resume side effect. For worker/job usage,
|
|
4399
|
-
* so the server can derive the owning run
|
|
4370
|
+
* @description Creates an interaction directly. When `run_id` is provided,
|
|
4371
|
+
* `signal_name` is also required and the interaction is linked to that
|
|
4372
|
+
* run. When both are omitted, the interaction is standalone and
|
|
4373
|
+
* completes with no workflow resume side effect. For worker/job usage,
|
|
4374
|
+
* prefer the job-scoped route so the server can derive the owning run
|
|
4375
|
+
* from the claimed job context.
|
|
4400
4376
|
*/
|
|
4401
4377
|
CreateInteractionRequest: {
|
|
4402
|
-
/** @description ID of the workflow run to resume when this interaction is completed. */
|
|
4378
|
+
/** @description ID of the workflow run to resume when this interaction is completed. Provide together with `signal_name` for run-backed interactions; omit or null both fields for standalone interactions. */
|
|
4403
4379
|
run_id?: string | null;
|
|
4404
|
-
/** @description Signal
|
|
4405
|
-
|
|
4380
|
+
/** @description Signal name the interaction will complete against when run-backed. Provide together with `run_id` for run-backed interactions; omit or null both fields for standalone interactions. */
|
|
4381
|
+
signal_name?: string | null;
|
|
4406
4382
|
target_actor: components["schemas"]["ActorRef"];
|
|
4407
4383
|
type: components["schemas"]["InteractionType"];
|
|
4408
4384
|
/** @description Message shown to the responder describing what response is needed. */
|
|
@@ -4437,8 +4413,6 @@ export interface components {
|
|
|
4437
4413
|
Group: {
|
|
4438
4414
|
/** @description Unique identifier for this group. */
|
|
4439
4415
|
id: string;
|
|
4440
|
-
/** @description ID of the organization this group belongs to. */
|
|
4441
|
-
org_id: string;
|
|
4442
4416
|
/** @description URL-safe identifier, unique within the project. Immutable after creation. */
|
|
4443
4417
|
handle: string;
|
|
4444
4418
|
/** @description Human-readable display name. */
|
|
@@ -4484,8 +4458,6 @@ export interface components {
|
|
|
4484
4458
|
id: string;
|
|
4485
4459
|
/** @description ID of the group this membership belongs to. */
|
|
4486
4460
|
group_id: string;
|
|
4487
|
-
/** @description ID of the organization this group belongs to. */
|
|
4488
|
-
org_id: string;
|
|
4489
4461
|
/** @description ID of the user who is a member. */
|
|
4490
4462
|
user_id: string;
|
|
4491
4463
|
/** @description User ID of the org member who added this person to the group. */
|
|
@@ -4550,8 +4522,6 @@ export interface components {
|
|
|
4550
4522
|
Agent: {
|
|
4551
4523
|
/** @description Unique identifier for this agent. */
|
|
4552
4524
|
id: string;
|
|
4553
|
-
/** @description ID of the organization this agent belongs to. */
|
|
4554
|
-
org_id: string;
|
|
4555
4525
|
/** @description The service account whose credentials this agent uses to authenticate. Immutable after creation. */
|
|
4556
4526
|
service_account_id: string;
|
|
4557
4527
|
/** @description Unique name within the project, used for targeting in job claims. */
|
|
@@ -4586,8 +4556,6 @@ export interface components {
|
|
|
4586
4556
|
AgentSession: {
|
|
4587
4557
|
/** @description Unique identifier for this session. */
|
|
4588
4558
|
id: string;
|
|
4589
|
-
/** @description ID of the organization this session belongs to. */
|
|
4590
|
-
org_id: string;
|
|
4591
4559
|
/** @description ID of the agent this session belongs to. */
|
|
4592
4560
|
agent_id: string;
|
|
4593
4561
|
status: components["schemas"]["AgentSessionStatus"];
|
|
@@ -4684,8 +4652,6 @@ export interface components {
|
|
|
4684
4652
|
ServiceAccount: {
|
|
4685
4653
|
/** @description Unique identifier for this service account. */
|
|
4686
4654
|
id: string;
|
|
4687
|
-
/** @description ID of the organization this service account belongs to. */
|
|
4688
|
-
org_id: string;
|
|
4689
4655
|
/** @description Stable machine-readable identifier, unique within the project. Immutable after creation. */
|
|
4690
4656
|
name: string;
|
|
4691
4657
|
/** @description Human-readable label shown in the UI. */
|