@deepnoodle/mobius 0.0.3 → 0.0.4
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 -145
- 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,11 @@ 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
|
|
880
|
+
* server-derived signal name; when omitted the server derives the
|
|
881
|
+
* signal name from `step_name` or uses a default interaction
|
|
882
|
+
* signal name.
|
|
882
883
|
*/
|
|
883
884
|
post: operations["createJobInteraction"];
|
|
884
885
|
delete?: never;
|
|
@@ -887,7 +888,7 @@ export interface paths {
|
|
|
887
888
|
patch?: never;
|
|
888
889
|
trace?: never;
|
|
889
890
|
};
|
|
890
|
-
"/projects/{project}/jobs/{id}/actions/{actionName}": {
|
|
891
|
+
"/v1/projects/{project}/jobs/{id}/actions/{actionName}": {
|
|
891
892
|
parameters: {
|
|
892
893
|
query?: never;
|
|
893
894
|
header?: never;
|
|
@@ -911,7 +912,7 @@ export interface paths {
|
|
|
911
912
|
patch?: never;
|
|
912
913
|
trace?: never;
|
|
913
914
|
};
|
|
914
|
-
"/projects/{project}/triggers": {
|
|
915
|
+
"/v1/projects/{project}/triggers": {
|
|
915
916
|
parameters: {
|
|
916
917
|
query?: never;
|
|
917
918
|
header?: never;
|
|
@@ -938,7 +939,7 @@ export interface paths {
|
|
|
938
939
|
patch?: never;
|
|
939
940
|
trace?: never;
|
|
940
941
|
};
|
|
941
|
-
"/projects/{project}/triggers/{id}": {
|
|
942
|
+
"/v1/projects/{project}/triggers/{id}": {
|
|
942
943
|
parameters: {
|
|
943
944
|
query?: never;
|
|
944
945
|
header?: never;
|
|
@@ -963,7 +964,7 @@ export interface paths {
|
|
|
963
964
|
patch: operations["updateTrigger"];
|
|
964
965
|
trace?: never;
|
|
965
966
|
};
|
|
966
|
-
"/projects/{project}/triggers/{id}/fires": {
|
|
967
|
+
"/v1/projects/{project}/triggers/{id}/fires": {
|
|
967
968
|
parameters: {
|
|
968
969
|
query?: never;
|
|
969
970
|
header?: never;
|
|
@@ -985,7 +986,7 @@ export interface paths {
|
|
|
985
986
|
patch?: never;
|
|
986
987
|
trace?: never;
|
|
987
988
|
};
|
|
988
|
-
"/projects/{project}/workers": {
|
|
989
|
+
"/v1/projects/{project}/workers": {
|
|
989
990
|
parameters: {
|
|
990
991
|
query?: never;
|
|
991
992
|
header?: never;
|
|
@@ -1009,7 +1010,7 @@ export interface paths {
|
|
|
1009
1010
|
patch?: never;
|
|
1010
1011
|
trace?: never;
|
|
1011
1012
|
};
|
|
1012
|
-
"/projects": {
|
|
1013
|
+
"/v1/projects": {
|
|
1013
1014
|
parameters: {
|
|
1014
1015
|
query?: never;
|
|
1015
1016
|
header?: never;
|
|
@@ -1035,7 +1036,7 @@ export interface paths {
|
|
|
1035
1036
|
patch?: never;
|
|
1036
1037
|
trace?: never;
|
|
1037
1038
|
};
|
|
1038
|
-
"/projects/{id}": {
|
|
1039
|
+
"/v1/projects/{id}": {
|
|
1039
1040
|
parameters: {
|
|
1040
1041
|
query?: never;
|
|
1041
1042
|
header?: never;
|
|
@@ -1066,7 +1067,7 @@ export interface paths {
|
|
|
1066
1067
|
patch: operations["updateProject"];
|
|
1067
1068
|
trace?: never;
|
|
1068
1069
|
};
|
|
1069
|
-
"/projects/{project}/webhooks": {
|
|
1070
|
+
"/v1/projects/{project}/webhooks": {
|
|
1070
1071
|
parameters: {
|
|
1071
1072
|
query?: never;
|
|
1072
1073
|
header?: never;
|
|
@@ -1094,7 +1095,7 @@ export interface paths {
|
|
|
1094
1095
|
patch?: never;
|
|
1095
1096
|
trace?: never;
|
|
1096
1097
|
};
|
|
1097
|
-
"/projects/{project}/webhooks/{id}": {
|
|
1098
|
+
"/v1/projects/{project}/webhooks/{id}": {
|
|
1098
1099
|
parameters: {
|
|
1099
1100
|
query?: never;
|
|
1100
1101
|
header?: never;
|
|
@@ -1122,7 +1123,7 @@ export interface paths {
|
|
|
1122
1123
|
patch: operations["updateWebhook"];
|
|
1123
1124
|
trace?: never;
|
|
1124
1125
|
};
|
|
1125
|
-
"/projects/{project}/webhooks/{id}/deliveries": {
|
|
1126
|
+
"/v1/projects/{project}/webhooks/{id}/deliveries": {
|
|
1126
1127
|
parameters: {
|
|
1127
1128
|
query?: never;
|
|
1128
1129
|
header?: never;
|
|
@@ -1146,7 +1147,7 @@ export interface paths {
|
|
|
1146
1147
|
patch?: never;
|
|
1147
1148
|
trace?: never;
|
|
1148
1149
|
};
|
|
1149
|
-
"/projects/{project}/integrations": {
|
|
1150
|
+
"/v1/projects/{project}/integrations": {
|
|
1150
1151
|
parameters: {
|
|
1151
1152
|
query?: never;
|
|
1152
1153
|
header?: never;
|
|
@@ -1169,7 +1170,7 @@ export interface paths {
|
|
|
1169
1170
|
patch?: never;
|
|
1170
1171
|
trace?: never;
|
|
1171
1172
|
};
|
|
1172
|
-
"/projects/{project}/integrations/{id}": {
|
|
1173
|
+
"/v1/projects/{project}/integrations/{id}": {
|
|
1173
1174
|
parameters: {
|
|
1174
1175
|
query?: never;
|
|
1175
1176
|
header?: never;
|
|
@@ -1197,7 +1198,7 @@ export interface paths {
|
|
|
1197
1198
|
patch?: never;
|
|
1198
1199
|
trace?: never;
|
|
1199
1200
|
};
|
|
1200
|
-
"/projects/{project}/integrations/copy": {
|
|
1201
|
+
"/v1/projects/{project}/integrations/copy": {
|
|
1201
1202
|
parameters: {
|
|
1202
1203
|
query?: never;
|
|
1203
1204
|
header?: never;
|
|
@@ -1223,7 +1224,7 @@ export interface paths {
|
|
|
1223
1224
|
patch?: never;
|
|
1224
1225
|
trace?: never;
|
|
1225
1226
|
};
|
|
1226
|
-
"/projects/{project}/metrics": {
|
|
1227
|
+
"/v1/projects/{project}/metrics": {
|
|
1227
1228
|
parameters: {
|
|
1228
1229
|
query?: never;
|
|
1229
1230
|
header?: never;
|
|
@@ -1246,7 +1247,7 @@ export interface paths {
|
|
|
1246
1247
|
patch?: never;
|
|
1247
1248
|
trace?: never;
|
|
1248
1249
|
};
|
|
1249
|
-
"/roles": {
|
|
1250
|
+
"/v1/roles": {
|
|
1250
1251
|
parameters: {
|
|
1251
1252
|
query?: never;
|
|
1252
1253
|
header?: never;
|
|
@@ -1272,7 +1273,7 @@ export interface paths {
|
|
|
1272
1273
|
patch?: never;
|
|
1273
1274
|
trace?: never;
|
|
1274
1275
|
};
|
|
1275
|
-
"/roles/{id}": {
|
|
1276
|
+
"/v1/roles/{id}": {
|
|
1276
1277
|
parameters: {
|
|
1277
1278
|
query?: never;
|
|
1278
1279
|
header?: never;
|
|
@@ -1298,7 +1299,7 @@ export interface paths {
|
|
|
1298
1299
|
patch: operations["updateRole"];
|
|
1299
1300
|
trace?: never;
|
|
1300
1301
|
};
|
|
1301
|
-
"/role-assignments": {
|
|
1302
|
+
"/v1/role-assignments": {
|
|
1302
1303
|
parameters: {
|
|
1303
1304
|
query?: never;
|
|
1304
1305
|
header?: never;
|
|
@@ -1325,7 +1326,7 @@ export interface paths {
|
|
|
1325
1326
|
patch?: never;
|
|
1326
1327
|
trace?: never;
|
|
1327
1328
|
};
|
|
1328
|
-
"/role-assignments/{id}": {
|
|
1329
|
+
"/v1/role-assignments/{id}": {
|
|
1329
1330
|
parameters: {
|
|
1330
1331
|
query?: never;
|
|
1331
1332
|
header?: never;
|
|
@@ -1342,7 +1343,7 @@ export interface paths {
|
|
|
1342
1343
|
patch?: never;
|
|
1343
1344
|
trace?: never;
|
|
1344
1345
|
};
|
|
1345
|
-
"/projects/{project}/interactions": {
|
|
1346
|
+
"/v1/projects/{project}/interactions": {
|
|
1346
1347
|
parameters: {
|
|
1347
1348
|
query?: never;
|
|
1348
1349
|
header?: never;
|
|
@@ -1355,12 +1356,13 @@ export interface paths {
|
|
|
1355
1356
|
/**
|
|
1356
1357
|
* Create an interaction
|
|
1357
1358
|
* @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,
|
|
1359
|
+
* provided, `signal_name` is also required and completing the
|
|
1360
|
+
* interaction automatically delivers a signal that resumes the
|
|
1361
|
+
* suspended run. Omit both for a standalone interaction that
|
|
1362
|
+
* completes with no workflow side effect. Workers creating
|
|
1363
|
+
* interactions from within a job should use the job-scoped route
|
|
1364
|
+
* (`POST /v1/projects/{project}/jobs/{id}/interactions`) instead,
|
|
1365
|
+
* which derives the run and signal name automatically.
|
|
1364
1366
|
*/
|
|
1365
1367
|
post: operations["createInteraction"];
|
|
1366
1368
|
delete?: never;
|
|
@@ -1369,7 +1371,7 @@ export interface paths {
|
|
|
1369
1371
|
patch?: never;
|
|
1370
1372
|
trace?: never;
|
|
1371
1373
|
};
|
|
1372
|
-
"/projects/{project}/interactions/{id}": {
|
|
1374
|
+
"/v1/projects/{project}/interactions/{id}": {
|
|
1373
1375
|
parameters: {
|
|
1374
1376
|
query?: never;
|
|
1375
1377
|
header?: never;
|
|
@@ -1386,7 +1388,7 @@ export interface paths {
|
|
|
1386
1388
|
patch?: never;
|
|
1387
1389
|
trace?: never;
|
|
1388
1390
|
};
|
|
1389
|
-
"/projects/{project}/interactions/{id}/respond": {
|
|
1391
|
+
"/v1/projects/{project}/interactions/{id}/respond": {
|
|
1390
1392
|
parameters: {
|
|
1391
1393
|
query?: never;
|
|
1392
1394
|
header?: never;
|
|
@@ -1409,7 +1411,7 @@ export interface paths {
|
|
|
1409
1411
|
patch?: never;
|
|
1410
1412
|
trace?: never;
|
|
1411
1413
|
};
|
|
1412
|
-
"/projects/{project}/interactions/{id}/claim": {
|
|
1414
|
+
"/v1/projects/{project}/interactions/{id}/claim": {
|
|
1413
1415
|
parameters: {
|
|
1414
1416
|
query?: never;
|
|
1415
1417
|
header?: never;
|
|
@@ -1426,7 +1428,7 @@ export interface paths {
|
|
|
1426
1428
|
patch?: never;
|
|
1427
1429
|
trace?: never;
|
|
1428
1430
|
};
|
|
1429
|
-
"/projects/{project}/interactions/{id}/release": {
|
|
1431
|
+
"/v1/projects/{project}/interactions/{id}/release": {
|
|
1430
1432
|
parameters: {
|
|
1431
1433
|
query?: never;
|
|
1432
1434
|
header?: never;
|
|
@@ -1443,7 +1445,7 @@ export interface paths {
|
|
|
1443
1445
|
patch?: never;
|
|
1444
1446
|
trace?: never;
|
|
1445
1447
|
};
|
|
1446
|
-
"/projects/{project}/groups": {
|
|
1448
|
+
"/v1/projects/{project}/groups": {
|
|
1447
1449
|
parameters: {
|
|
1448
1450
|
query?: never;
|
|
1449
1451
|
header?: never;
|
|
@@ -1468,7 +1470,7 @@ export interface paths {
|
|
|
1468
1470
|
patch?: never;
|
|
1469
1471
|
trace?: never;
|
|
1470
1472
|
};
|
|
1471
|
-
"/projects/{project}/groups/{groupId}": {
|
|
1473
|
+
"/v1/projects/{project}/groups/{groupId}": {
|
|
1472
1474
|
parameters: {
|
|
1473
1475
|
query?: never;
|
|
1474
1476
|
header?: never;
|
|
@@ -1496,7 +1498,7 @@ export interface paths {
|
|
|
1496
1498
|
patch: operations["updateGroup"];
|
|
1497
1499
|
trace?: never;
|
|
1498
1500
|
};
|
|
1499
|
-
"/projects/{project}/groups/{groupId}/members": {
|
|
1501
|
+
"/v1/projects/{project}/groups/{groupId}/members": {
|
|
1500
1502
|
parameters: {
|
|
1501
1503
|
query?: never;
|
|
1502
1504
|
header?: never;
|
|
@@ -1520,7 +1522,7 @@ export interface paths {
|
|
|
1520
1522
|
patch?: never;
|
|
1521
1523
|
trace?: never;
|
|
1522
1524
|
};
|
|
1523
|
-
"/projects/{project}/groups/{groupId}/members/{userId}": {
|
|
1525
|
+
"/v1/projects/{project}/groups/{groupId}/members/{userId}": {
|
|
1524
1526
|
parameters: {
|
|
1525
1527
|
query?: never;
|
|
1526
1528
|
header?: never;
|
|
@@ -1540,7 +1542,7 @@ export interface paths {
|
|
|
1540
1542
|
patch?: never;
|
|
1541
1543
|
trace?: never;
|
|
1542
1544
|
};
|
|
1543
|
-
"/projects/{project}/members/{userId}/groups": {
|
|
1545
|
+
"/v1/projects/{project}/members/{userId}/groups": {
|
|
1544
1546
|
parameters: {
|
|
1545
1547
|
query?: never;
|
|
1546
1548
|
header?: never;
|
|
@@ -1557,7 +1559,7 @@ export interface paths {
|
|
|
1557
1559
|
patch?: never;
|
|
1558
1560
|
trace?: never;
|
|
1559
1561
|
};
|
|
1560
|
-
"/projects/{project}/agents": {
|
|
1562
|
+
"/v1/projects/{project}/agents": {
|
|
1561
1563
|
parameters: {
|
|
1562
1564
|
query?: never;
|
|
1563
1565
|
header?: never;
|
|
@@ -1583,7 +1585,7 @@ export interface paths {
|
|
|
1583
1585
|
patch?: never;
|
|
1584
1586
|
trace?: never;
|
|
1585
1587
|
};
|
|
1586
|
-
"/projects/{project}/agents/{id}": {
|
|
1588
|
+
"/v1/projects/{project}/agents/{id}": {
|
|
1587
1589
|
parameters: {
|
|
1588
1590
|
query?: never;
|
|
1589
1591
|
header?: never;
|
|
@@ -1610,7 +1612,7 @@ export interface paths {
|
|
|
1610
1612
|
patch: operations["updateAgent"];
|
|
1611
1613
|
trace?: never;
|
|
1612
1614
|
};
|
|
1613
|
-
"/projects/{project}/agents/{id}/sessions": {
|
|
1615
|
+
"/v1/projects/{project}/agents/{id}/sessions": {
|
|
1614
1616
|
parameters: {
|
|
1615
1617
|
query?: never;
|
|
1616
1618
|
header?: never;
|
|
@@ -1639,7 +1641,7 @@ export interface paths {
|
|
|
1639
1641
|
patch?: never;
|
|
1640
1642
|
trace?: never;
|
|
1641
1643
|
};
|
|
1642
|
-
"/projects/{project}/agents/sessions/{sessionId}": {
|
|
1644
|
+
"/v1/projects/{project}/agents/sessions/{sessionId}": {
|
|
1643
1645
|
parameters: {
|
|
1644
1646
|
query?: never;
|
|
1645
1647
|
header?: never;
|
|
@@ -1656,7 +1658,7 @@ export interface paths {
|
|
|
1656
1658
|
patch?: never;
|
|
1657
1659
|
trace?: never;
|
|
1658
1660
|
};
|
|
1659
|
-
"/projects/{project}/agents/sessions/{sessionId}/heartbeat": {
|
|
1661
|
+
"/v1/projects/{project}/agents/sessions/{sessionId}/heartbeat": {
|
|
1660
1662
|
parameters: {
|
|
1661
1663
|
query?: never;
|
|
1662
1664
|
header?: never;
|
|
@@ -1678,7 +1680,7 @@ export interface paths {
|
|
|
1678
1680
|
patch?: never;
|
|
1679
1681
|
trace?: never;
|
|
1680
1682
|
};
|
|
1681
|
-
"/projects/{project}/agents/sessions/{sessionId}/disconnect": {
|
|
1683
|
+
"/v1/projects/{project}/agents/sessions/{sessionId}/disconnect": {
|
|
1682
1684
|
parameters: {
|
|
1683
1685
|
query?: never;
|
|
1684
1686
|
header?: never;
|
|
@@ -1700,7 +1702,7 @@ export interface paths {
|
|
|
1700
1702
|
patch?: never;
|
|
1701
1703
|
trace?: never;
|
|
1702
1704
|
};
|
|
1703
|
-
"/projects/{project}/tools": {
|
|
1705
|
+
"/v1/projects/{project}/tools": {
|
|
1704
1706
|
parameters: {
|
|
1705
1707
|
query?: never;
|
|
1706
1708
|
header?: never;
|
|
@@ -1723,7 +1725,7 @@ export interface paths {
|
|
|
1723
1725
|
patch?: never;
|
|
1724
1726
|
trace?: never;
|
|
1725
1727
|
};
|
|
1726
|
-
"/projects/{project}/tools/{handle}/runs": {
|
|
1728
|
+
"/v1/projects/{project}/tools/{handle}/runs": {
|
|
1727
1729
|
parameters: {
|
|
1728
1730
|
query?: never;
|
|
1729
1731
|
header?: never;
|
|
@@ -1739,7 +1741,7 @@ export interface paths {
|
|
|
1739
1741
|
* Returns the run output directly when the workflow completes within
|
|
1740
1742
|
* the timeout. On timeout the response includes the run ID and
|
|
1741
1743
|
* `status: pending` so the caller can switch to polling via
|
|
1742
|
-
* `GET /projects/{project}/tools/{handle}/runs/{run_id}`.
|
|
1744
|
+
* `GET /v1/projects/{project}/tools/{handle}/runs/{run_id}`.
|
|
1743
1745
|
*/
|
|
1744
1746
|
post: operations["runTool"];
|
|
1745
1747
|
delete?: never;
|
|
@@ -1748,7 +1750,7 @@ export interface paths {
|
|
|
1748
1750
|
patch?: never;
|
|
1749
1751
|
trace?: never;
|
|
1750
1752
|
};
|
|
1751
|
-
"/projects/{project}/tools/{handle}/runs/{runId}": {
|
|
1753
|
+
"/v1/projects/{project}/tools/{handle}/runs/{runId}": {
|
|
1752
1754
|
parameters: {
|
|
1753
1755
|
query?: never;
|
|
1754
1756
|
header?: never;
|
|
@@ -2210,8 +2212,6 @@ export interface components {
|
|
|
2210
2212
|
CLICredential: {
|
|
2211
2213
|
/** @description Unique identifier for this credential. */
|
|
2212
2214
|
id: string;
|
|
2213
|
-
/** @description ID of the organization this credential is scoped to. */
|
|
2214
|
-
org_id: string;
|
|
2215
2215
|
/** @description ID of the user who authorized this credential. */
|
|
2216
2216
|
user_id: string;
|
|
2217
2217
|
/** @description Human-readable label identifying this credential. */
|
|
@@ -2418,7 +2418,7 @@ export interface components {
|
|
|
2418
2418
|
};
|
|
2419
2419
|
/** @description Suspends the run until a signal with the matching topic arrives. */
|
|
2420
2420
|
WorkflowWaitSignalConfig: {
|
|
2421
|
-
/** @description Signal topic to wait on. Must match the `name` field in POST /runs/{id}/signals. */
|
|
2421
|
+
/** @description Signal topic to wait on. Must match the `name` field in POST /v1/projects/{project}/runs/{id}/signals. */
|
|
2422
2422
|
topic: string;
|
|
2423
2423
|
/** @description Maximum wait duration as a Go duration string (e.g. "24h", "30m"). */
|
|
2424
2424
|
timeout: string;
|
|
@@ -2668,9 +2668,9 @@ export interface components {
|
|
|
2668
2668
|
/**
|
|
2669
2669
|
* @description Start a workflow run. Provide exactly one of `definition_id` or
|
|
2670
2670
|
* `spec` — they are mutually exclusive. When both are absent on
|
|
2671
|
-
* the path-less `POST /projects/{project}/runs` endpoint, or when both
|
|
2671
|
+
* the path-less `POST /v1/projects/{project}/runs` endpoint, or when both
|
|
2672
2672
|
* are present, the request is rejected with 400. On the
|
|
2673
|
-
* definition-bound endpoint (`POST /projects/{project}/workflows/{id}/runs`)
|
|
2673
|
+
* definition-bound endpoint (`POST /v1/projects/{project}/workflows/{id}/runs`)
|
|
2674
2674
|
* `definition_id` is implied by the path and `spec` is forbidden.
|
|
2675
2675
|
*/
|
|
2676
2676
|
StartRunRequest: {
|
|
@@ -2879,8 +2879,6 @@ export interface components {
|
|
|
2879
2879
|
Action: {
|
|
2880
2880
|
/** @description Unique identifier for this action. */
|
|
2881
2881
|
id: string;
|
|
2882
|
-
/** @description ID of the organization this action belongs to. */
|
|
2883
|
-
org_id: string;
|
|
2884
2882
|
/** @description Project-scoped stable identifier used in workflow step definitions. */
|
|
2885
2883
|
name: string;
|
|
2886
2884
|
/** @description Human-readable display title for the action. */
|
|
@@ -3053,7 +3051,7 @@ export interface components {
|
|
|
3053
3051
|
run_id: string;
|
|
3054
3052
|
/** @description Handle of the workflow definition that owns this run. */
|
|
3055
3053
|
workflow_name: string;
|
|
3056
|
-
/** @description Step label from the workflow spec — used for UI and interaction
|
|
3054
|
+
/** @description Step label from the workflow spec — used for UI and for deriving the interaction signal name when a worker creates a run-backed interaction without an explicit signal_name. */
|
|
3057
3055
|
step_name: string;
|
|
3058
3056
|
/** @description Action name the worker must execute for this step. */
|
|
3059
3057
|
action: string;
|
|
@@ -3074,7 +3072,7 @@ export interface components {
|
|
|
3074
3072
|
queue: string;
|
|
3075
3073
|
/**
|
|
3076
3074
|
* @description Recommended heartbeat interval in seconds. Workers should call
|
|
3077
|
-
* `POST /jobs/{id}/heartbeat` at this cadence to keep the lease
|
|
3075
|
+
* `POST /v1/projects/{project}/jobs/{id}/heartbeat` at this cadence to keep the lease
|
|
3078
3076
|
* alive. Typically 30 seconds.
|
|
3079
3077
|
*/
|
|
3080
3078
|
heartbeat_interval_seconds?: number;
|
|
@@ -3226,7 +3224,8 @@ export interface components {
|
|
|
3226
3224
|
};
|
|
3227
3225
|
/**
|
|
3228
3226
|
* @description Creates an interaction from a claimed job context. The server derives
|
|
3229
|
-
* the owning run from the job and may derive the
|
|
3227
|
+
* the owning run from the job and may derive the signal name when
|
|
3228
|
+
* omitted.
|
|
3230
3229
|
*/
|
|
3231
3230
|
CreateJobInteractionRequest: {
|
|
3232
3231
|
target_actor: components["schemas"]["ActorRef"];
|
|
@@ -3234,10 +3233,11 @@ export interface components {
|
|
|
3234
3233
|
/** @description Message shown to the responder. */
|
|
3235
3234
|
message: string;
|
|
3236
3235
|
/**
|
|
3237
|
-
* @description Optional signal
|
|
3238
|
-
* the
|
|
3236
|
+
* @description Optional signal name override. When omitted, the server derives
|
|
3237
|
+
* the signal name from step_name or falls back to a default
|
|
3238
|
+
* interaction signal name.
|
|
3239
3239
|
*/
|
|
3240
|
-
|
|
3240
|
+
signal_name?: string;
|
|
3241
3241
|
/** @description Optional workflow step label for UI/debugging context */
|
|
3242
3242
|
step_name?: string;
|
|
3243
3243
|
/** @description Additional key-value context surfaced in the UI alongside the message. */
|
|
@@ -3293,12 +3293,10 @@ export interface components {
|
|
|
3293
3293
|
Interaction: {
|
|
3294
3294
|
/** @description Unique identifier for this interaction. */
|
|
3295
3295
|
id: string;
|
|
3296
|
-
/** @description ID of the organization this interaction belongs to. */
|
|
3297
|
-
org_id: string;
|
|
3298
3296
|
/** @description Originating workflow run when the interaction is run-backed. */
|
|
3299
3297
|
run_id?: string | null;
|
|
3300
|
-
/** @description Signal
|
|
3301
|
-
|
|
3298
|
+
/** @description Signal name used to resume the originating run when run-backed. */
|
|
3299
|
+
signal_name?: string | null;
|
|
3302
3300
|
type: components["schemas"]["InteractionType"];
|
|
3303
3301
|
/**
|
|
3304
3302
|
* @description Current status of the interaction.
|
|
@@ -3394,8 +3392,6 @@ export interface components {
|
|
|
3394
3392
|
Trigger: {
|
|
3395
3393
|
/** @description Unique identifier for this trigger. */
|
|
3396
3394
|
id: string;
|
|
3397
|
-
/** @description ID of the organization this trigger belongs to. */
|
|
3398
|
-
org_id: string;
|
|
3399
3395
|
/** @description Human-readable trigger name, unique within the project. */
|
|
3400
3396
|
name: string;
|
|
3401
3397
|
kind: components["schemas"]["TriggerKind"];
|
|
@@ -3454,10 +3450,6 @@ export interface components {
|
|
|
3454
3450
|
TriggerFire: {
|
|
3455
3451
|
/** @description Unique identifier for this fire record. */
|
|
3456
3452
|
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
3453
|
/** @description ID of the trigger that fired. */
|
|
3462
3454
|
trigger_id: string;
|
|
3463
3455
|
/**
|
|
@@ -3551,7 +3543,7 @@ export interface components {
|
|
|
3551
3543
|
};
|
|
3552
3544
|
Worker: {
|
|
3553
3545
|
/** @description Caller-assigned stable identifier for this worker process. */
|
|
3554
|
-
|
|
3546
|
+
id: string;
|
|
3555
3547
|
/** @description Optional human-readable name supplied in the claim request. */
|
|
3556
3548
|
name?: string;
|
|
3557
3549
|
/** @description Optional version string supplied in the claim request. */
|
|
@@ -3559,7 +3551,7 @@ export interface components {
|
|
|
3559
3551
|
/**
|
|
3560
3552
|
* Format: date-time
|
|
3561
3553
|
* @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
|
|
3554
|
+
* every `POST /v1/projects/{project}/jobs/claim` call regardless of whether a job was
|
|
3563
3555
|
* returned. Used to compute `stale`.
|
|
3564
3556
|
*/
|
|
3565
3557
|
last_seen_at?: string;
|
|
@@ -3636,10 +3628,6 @@ export interface components {
|
|
|
3636
3628
|
Webhook: {
|
|
3637
3629
|
/** @description Unique identifier for this webhook. */
|
|
3638
3630
|
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
3631
|
/** @description Human-readable name, unique within the project. */
|
|
3644
3632
|
name: string;
|
|
3645
3633
|
/** @description The customer endpoint Mobius POSTs event payloads to. */
|
|
@@ -3683,8 +3671,6 @@ export interface components {
|
|
|
3683
3671
|
id: string;
|
|
3684
3672
|
/** @description ID of the webhook this delivery belongs to. */
|
|
3685
3673
|
webhook_id: string;
|
|
3686
|
-
/** @description ID of the organization this delivery belongs to. */
|
|
3687
|
-
org_id: string;
|
|
3688
3674
|
/** @description Run that triggered the event, when applicable. */
|
|
3689
3675
|
run_id?: string;
|
|
3690
3676
|
/** @description The event type that triggered this delivery (e.g. `run.completed`). */
|
|
@@ -3760,8 +3746,6 @@ export interface components {
|
|
|
3760
3746
|
Integration: {
|
|
3761
3747
|
/** @description Unique identifier for this integration. */
|
|
3762
3748
|
id: string;
|
|
3763
|
-
/** @description ID of the organization this integration belongs to. */
|
|
3764
|
-
org_id: string;
|
|
3765
3749
|
/** @description Human-readable name, unique per `(project, provider)` tuple. */
|
|
3766
3750
|
name: string;
|
|
3767
3751
|
/**
|
|
@@ -3841,8 +3825,6 @@ export interface components {
|
|
|
3841
3825
|
BillingSubscription: {
|
|
3842
3826
|
/** @description Unique identifier for this subscription. */
|
|
3843
3827
|
id: string;
|
|
3844
|
-
/** @description ID of the organization this subscription belongs to. */
|
|
3845
|
-
org_id: string;
|
|
3846
3828
|
/**
|
|
3847
3829
|
* @description Active plan: `trial`, `free`, `pro`, or `business`. New orgs
|
|
3848
3830
|
* start on `trial`; the plan downgrades to `free` when the trial
|
|
@@ -4173,8 +4155,6 @@ export interface components {
|
|
|
4173
4155
|
Role: {
|
|
4174
4156
|
/** @description Unique identifier for this role. */
|
|
4175
4157
|
id: string;
|
|
4176
|
-
/** @description Owning org. Empty for system-defined roles. */
|
|
4177
|
-
org_id?: string;
|
|
4178
4158
|
/** @description Scoping project. Empty for org-wide roles. */
|
|
4179
4159
|
project_id?: string;
|
|
4180
4160
|
/** @description Human-readable role name, unique within org+project scope. */
|
|
@@ -4199,8 +4179,6 @@ export interface components {
|
|
|
4199
4179
|
RoleAssignment: {
|
|
4200
4180
|
/** @description Unique identifier for this role assignment. */
|
|
4201
4181
|
id: string;
|
|
4202
|
-
/** @description ID of the organization this assignment belongs to. */
|
|
4203
|
-
org_id: string;
|
|
4204
4182
|
/**
|
|
4205
4183
|
* @description Type of actor this assignment applies to: `user` or `service_account`.
|
|
4206
4184
|
* @enum {string}
|
|
@@ -4342,8 +4320,6 @@ export interface components {
|
|
|
4342
4320
|
OrgMember: {
|
|
4343
4321
|
/** @description Unique identifier for this membership record. */
|
|
4344
4322
|
id: string;
|
|
4345
|
-
/** @description ID of the organization. */
|
|
4346
|
-
org_id: string;
|
|
4347
4323
|
/** @description ID of the user who is a member. */
|
|
4348
4324
|
user_id: string;
|
|
4349
4325
|
/**
|
|
@@ -4392,17 +4368,18 @@ export interface components {
|
|
|
4392
4368
|
items: components["schemas"]["Interaction"][];
|
|
4393
4369
|
};
|
|
4394
4370
|
/**
|
|
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
|
|
4371
|
+
* @description Creates an interaction directly. When `run_id` is provided,
|
|
4372
|
+
* `signal_name` is also required and the interaction is linked to that
|
|
4373
|
+
* run. When both are omitted, the interaction is standalone and
|
|
4374
|
+
* completes with no workflow resume side effect. For worker/job usage,
|
|
4375
|
+
* prefer the job-scoped route so the server can derive the owning run
|
|
4376
|
+
* from the claimed job context.
|
|
4400
4377
|
*/
|
|
4401
4378
|
CreateInteractionRequest: {
|
|
4402
4379
|
/** @description ID of the workflow run to resume when this interaction is completed. */
|
|
4403
4380
|
run_id?: string | null;
|
|
4404
|
-
/** @description Signal
|
|
4405
|
-
|
|
4381
|
+
/** @description Signal name the interaction will complete against when run-backed. */
|
|
4382
|
+
signal_name?: string | null;
|
|
4406
4383
|
target_actor: components["schemas"]["ActorRef"];
|
|
4407
4384
|
type: components["schemas"]["InteractionType"];
|
|
4408
4385
|
/** @description Message shown to the responder describing what response is needed. */
|
|
@@ -4437,8 +4414,6 @@ export interface components {
|
|
|
4437
4414
|
Group: {
|
|
4438
4415
|
/** @description Unique identifier for this group. */
|
|
4439
4416
|
id: string;
|
|
4440
|
-
/** @description ID of the organization this group belongs to. */
|
|
4441
|
-
org_id: string;
|
|
4442
4417
|
/** @description URL-safe identifier, unique within the project. Immutable after creation. */
|
|
4443
4418
|
handle: string;
|
|
4444
4419
|
/** @description Human-readable display name. */
|
|
@@ -4484,8 +4459,6 @@ export interface components {
|
|
|
4484
4459
|
id: string;
|
|
4485
4460
|
/** @description ID of the group this membership belongs to. */
|
|
4486
4461
|
group_id: string;
|
|
4487
|
-
/** @description ID of the organization this group belongs to. */
|
|
4488
|
-
org_id: string;
|
|
4489
4462
|
/** @description ID of the user who is a member. */
|
|
4490
4463
|
user_id: string;
|
|
4491
4464
|
/** @description User ID of the org member who added this person to the group. */
|
|
@@ -4550,8 +4523,6 @@ export interface components {
|
|
|
4550
4523
|
Agent: {
|
|
4551
4524
|
/** @description Unique identifier for this agent. */
|
|
4552
4525
|
id: string;
|
|
4553
|
-
/** @description ID of the organization this agent belongs to. */
|
|
4554
|
-
org_id: string;
|
|
4555
4526
|
/** @description The service account whose credentials this agent uses to authenticate. Immutable after creation. */
|
|
4556
4527
|
service_account_id: string;
|
|
4557
4528
|
/** @description Unique name within the project, used for targeting in job claims. */
|
|
@@ -4586,8 +4557,6 @@ export interface components {
|
|
|
4586
4557
|
AgentSession: {
|
|
4587
4558
|
/** @description Unique identifier for this session. */
|
|
4588
4559
|
id: string;
|
|
4589
|
-
/** @description ID of the organization this session belongs to. */
|
|
4590
|
-
org_id: string;
|
|
4591
4560
|
/** @description ID of the agent this session belongs to. */
|
|
4592
4561
|
agent_id: string;
|
|
4593
4562
|
status: components["schemas"]["AgentSessionStatus"];
|
|
@@ -4684,8 +4653,6 @@ export interface components {
|
|
|
4684
4653
|
ServiceAccount: {
|
|
4685
4654
|
/** @description Unique identifier for this service account. */
|
|
4686
4655
|
id: string;
|
|
4687
|
-
/** @description ID of the organization this service account belongs to. */
|
|
4688
|
-
org_id: string;
|
|
4689
4656
|
/** @description Stable machine-readable identifier, unique within the project. Immutable after creation. */
|
|
4690
4657
|
name: string;
|
|
4691
4658
|
/** @description Human-readable label shown in the UI. */
|