current-cli 0.1.24__tar.gz → 0.1.26__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: current-cli
3
- Version: 0.1.24
3
+ Version: 0.1.26
4
4
  Summary: Command line interface for the Current API, generated from its OpenAPI schema at runtime
5
5
  Author-email: Orin <your-email@example.com>
6
6
  License-Expression: MIT
@@ -11,6 +11,7 @@ paths:
11
11
  tags:
12
12
  - accounts
13
13
  security:
14
+ - MessagingJobTokenAuth: []
14
15
  - tokenAuth: []
15
16
  responses:
16
17
  '200':
@@ -53,6 +54,7 @@ paths:
53
54
  tags:
54
55
  - accounts
55
56
  security:
57
+ - MessagingJobTokenAuth: []
56
58
  - tokenAuth: []
57
59
  responses:
58
60
  '200':
@@ -121,6 +123,7 @@ paths:
121
123
  tags:
122
124
  - contacts
123
125
  security:
126
+ - MessagingJobTokenAuth: []
124
127
  - tokenAuth: []
125
128
  responses:
126
129
  '200':
@@ -146,6 +149,7 @@ paths:
146
149
  $ref: '#/components/schemas/ContactRequest'
147
150
  required: true
148
151
  security:
152
+ - MessagingJobTokenAuth: []
149
153
  - tokenAuth: []
150
154
  responses:
151
155
  '201':
@@ -168,6 +172,7 @@ paths:
168
172
  tags:
169
173
  - contacts
170
174
  security:
175
+ - MessagingJobTokenAuth: []
171
176
  - tokenAuth: []
172
177
  responses:
173
178
  '200':
@@ -201,6 +206,7 @@ paths:
201
206
  $ref: '#/components/schemas/ContactRequest'
202
207
  required: true
203
208
  security:
209
+ - MessagingJobTokenAuth: []
204
210
  - tokenAuth: []
205
211
  responses:
206
212
  '200':
@@ -233,6 +239,7 @@ paths:
233
239
  schema:
234
240
  $ref: '#/components/schemas/PatchedContactRequest'
235
241
  security:
242
+ - MessagingJobTokenAuth: []
236
243
  - tokenAuth: []
237
244
  responses:
238
245
  '200':
@@ -254,6 +261,7 @@ paths:
254
261
  tags:
255
262
  - contacts
256
263
  security:
264
+ - MessagingJobTokenAuth: []
257
265
  - tokenAuth: []
258
266
  responses:
259
267
  '204':
@@ -284,6 +292,7 @@ paths:
284
292
  $ref: '#/components/schemas/ContactAddressCreateRequest'
285
293
  required: true
286
294
  security:
295
+ - MessagingJobTokenAuth: []
287
296
  - tokenAuth: []
288
297
  responses:
289
298
  '201':
@@ -318,6 +327,7 @@ paths:
318
327
  tags:
319
328
  - contacts
320
329
  security:
330
+ - MessagingJobTokenAuth: []
321
331
  - tokenAuth: []
322
332
  responses:
323
333
  '204':
@@ -345,6 +355,7 @@ paths:
345
355
  tags:
346
356
  - contacts
347
357
  security:
358
+ - MessagingJobTokenAuth: []
348
359
  - tokenAuth: []
349
360
  responses:
350
361
  '200':
@@ -367,6 +378,7 @@ paths:
367
378
  tags:
368
379
  - inbox
369
380
  security:
381
+ - MessagingJobTokenAuth: []
370
382
  - tokenAuth: []
371
383
  responses:
372
384
  '200':
@@ -391,6 +403,7 @@ paths:
391
403
  tags:
392
404
  - integrations
393
405
  security:
406
+ - MessagingJobTokenAuth: []
394
407
  - tokenAuth: []
395
408
  responses:
396
409
  '200':
@@ -419,6 +432,7 @@ paths:
419
432
  tags:
420
433
  - integrations
421
434
  security:
435
+ - MessagingJobTokenAuth: []
422
436
  - tokenAuth: []
423
437
  responses:
424
438
  '204':
@@ -438,6 +452,7 @@ paths:
438
452
  tags:
439
453
  - integrations
440
454
  security:
455
+ - MessagingJobTokenAuth: []
441
456
  - tokenAuth: []
442
457
  responses:
443
458
  '200':
@@ -467,6 +482,7 @@ paths:
467
482
  tags:
468
483
  - integrations
469
484
  security:
485
+ - MessagingJobTokenAuth: []
470
486
  - tokenAuth: []
471
487
  responses:
472
488
  '200':
@@ -497,6 +513,7 @@ paths:
497
513
  $ref: '#/components/schemas/AuthorizeRequestRequest'
498
514
  required: true
499
515
  security:
516
+ - MessagingJobTokenAuth: []
500
517
  - tokenAuth: []
501
518
  responses:
502
519
  '200':
@@ -529,6 +546,7 @@ paths:
529
546
  $ref: '#/components/schemas/ApiUserConnectRequestRequest'
530
547
  required: true
531
548
  security:
549
+ - MessagingJobTokenAuth: []
532
550
  - tokenAuth: []
533
551
  responses:
534
552
  '200':
@@ -561,6 +579,7 @@ paths:
561
579
  $ref: '#/components/schemas/ClientCredentialsConnectRequestRequest'
562
580
  required: true
563
581
  security:
582
+ - MessagingJobTokenAuth: []
564
583
  - tokenAuth: []
565
584
  responses:
566
585
  '200':
@@ -576,6 +595,7 @@ paths:
576
595
  tags:
577
596
  - integrations
578
597
  security:
598
+ - MessagingJobTokenAuth: []
579
599
  - tokenAuth: []
580
600
  responses:
581
601
  '200':
@@ -640,6 +660,40 @@ paths:
640
660
  schema:
641
661
  $ref: '#/components/schemas/MessagingOk'
642
662
  description: ''
663
+ /api/integrations/messaging/start-workflow/:
664
+ post:
665
+ operationId: integrations_messaging_start_workflow
666
+ description: |-
667
+ Run one of the workspace's workflows on demand, because a person asked
668
+ for it in chat.
669
+
670
+ This is not a trigger: no binding fires, and nothing here decides on its
671
+ own that a message deserves a workflow — the messaging agent does, the
672
+ same way a person clicks "run now" in the portal. The conversation rides
673
+ onto the run, so the workflow reports back into the thread that asked.
674
+ tags:
675
+ - integrations
676
+ requestBody:
677
+ content:
678
+ application/json:
679
+ schema:
680
+ $ref: '#/components/schemas/MessagingStartWorkflowRequestRequest'
681
+ application/x-www-form-urlencoded:
682
+ schema:
683
+ $ref: '#/components/schemas/MessagingStartWorkflowRequestRequest'
684
+ multipart/form-data:
685
+ schema:
686
+ $ref: '#/components/schemas/MessagingStartWorkflowRequestRequest'
687
+ required: true
688
+ security:
689
+ - MessagingJobTokenAuth: []
690
+ responses:
691
+ '200':
692
+ content:
693
+ application/json:
694
+ schema:
695
+ $ref: '#/components/schemas/MessagingStartWorkflowResponse'
696
+ description: ''
643
697
  /api/integrations/messaging/stream/:
644
698
  post:
645
699
  operationId: integrations_messaging_stream
@@ -700,6 +754,7 @@ paths:
700
754
  tags:
701
755
  - integrations
702
756
  security:
757
+ - MessagingJobTokenAuth: []
703
758
  - tokenAuth: []
704
759
  responses:
705
760
  '200':
@@ -747,6 +802,7 @@ paths:
747
802
  tags:
748
803
  - observations
749
804
  security:
805
+ - MessagingJobTokenAuth: []
750
806
  - tokenAuth: []
751
807
  responses:
752
808
  '200':
@@ -778,6 +834,7 @@ paths:
778
834
  $ref: '#/components/schemas/QuickCaptureRequest'
779
835
  required: true
780
836
  security:
837
+ - MessagingJobTokenAuth: []
781
838
  - tokenAuth: []
782
839
  responses:
783
840
  '201':
@@ -804,6 +861,7 @@ paths:
804
861
  tags:
805
862
  - observations
806
863
  security:
864
+ - MessagingJobTokenAuth: []
807
865
  - tokenAuth: []
808
866
  responses:
809
867
  '200':
@@ -825,6 +883,7 @@ paths:
825
883
  tags:
826
884
  - projects
827
885
  security:
886
+ - MessagingJobTokenAuth: []
828
887
  - tokenAuth: []
829
888
  responses:
830
889
  '200':
@@ -853,6 +912,7 @@ paths:
853
912
  $ref: '#/components/schemas/ProjectFieldDefinitionRequest'
854
913
  required: true
855
914
  security:
915
+ - MessagingJobTokenAuth: []
856
916
  - tokenAuth: []
857
917
  responses:
858
918
  '201':
@@ -876,6 +936,7 @@ paths:
876
936
  tags:
877
937
  - projects
878
938
  security:
939
+ - MessagingJobTokenAuth: []
879
940
  - tokenAuth: []
880
941
  responses:
881
942
  '200':
@@ -910,6 +971,7 @@ paths:
910
971
  $ref: '#/components/schemas/ProjectFieldDefinitionRequest'
911
972
  required: true
912
973
  security:
974
+ - MessagingJobTokenAuth: []
913
975
  - tokenAuth: []
914
976
  responses:
915
977
  '200':
@@ -943,6 +1005,7 @@ paths:
943
1005
  schema:
944
1006
  $ref: '#/components/schemas/PatchedProjectFieldDefinitionRequest'
945
1007
  security:
1008
+ - MessagingJobTokenAuth: []
946
1009
  - tokenAuth: []
947
1010
  responses:
948
1011
  '200':
@@ -965,6 +1028,7 @@ paths:
965
1028
  tags:
966
1029
  - projects
967
1030
  security:
1031
+ - MessagingJobTokenAuth: []
968
1032
  - tokenAuth: []
969
1033
  responses:
970
1034
  '204':
@@ -984,6 +1048,7 @@ paths:
984
1048
  tags:
985
1049
  - projects
986
1050
  security:
1051
+ - MessagingJobTokenAuth: []
987
1052
  - tokenAuth: []
988
1053
  responses:
989
1054
  '200':
@@ -1006,6 +1071,7 @@ paths:
1006
1071
  tags:
1007
1072
  - projects
1008
1073
  security:
1074
+ - MessagingJobTokenAuth: []
1009
1075
  - tokenAuth: []
1010
1076
  responses:
1011
1077
  '200':
@@ -1035,6 +1101,7 @@ paths:
1035
1101
  $ref: '#/components/schemas/ProjectRequest'
1036
1102
  required: true
1037
1103
  security:
1104
+ - MessagingJobTokenAuth: []
1038
1105
  - tokenAuth: []
1039
1106
  responses:
1040
1107
  '201':
@@ -1059,6 +1126,7 @@ paths:
1059
1126
  tags:
1060
1127
  - projects
1061
1128
  security:
1129
+ - MessagingJobTokenAuth: []
1062
1130
  - tokenAuth: []
1063
1131
  responses:
1064
1132
  '200':
@@ -1094,6 +1162,7 @@ paths:
1094
1162
  $ref: '#/components/schemas/ProjectRequest'
1095
1163
  required: true
1096
1164
  security:
1165
+ - MessagingJobTokenAuth: []
1097
1166
  - tokenAuth: []
1098
1167
  responses:
1099
1168
  '200':
@@ -1128,6 +1197,7 @@ paths:
1128
1197
  schema:
1129
1198
  $ref: '#/components/schemas/PatchedProjectRequest'
1130
1199
  security:
1200
+ - MessagingJobTokenAuth: []
1131
1201
  - tokenAuth: []
1132
1202
  responses:
1133
1203
  '200':
@@ -1151,6 +1221,7 @@ paths:
1151
1221
  tags:
1152
1222
  - projects
1153
1223
  security:
1224
+ - MessagingJobTokenAuth: []
1154
1225
  - tokenAuth: []
1155
1226
  responses:
1156
1227
  '204':
@@ -1180,6 +1251,7 @@ paths:
1180
1251
  tags:
1181
1252
  - projects
1182
1253
  security:
1254
+ - MessagingJobTokenAuth: []
1183
1255
  - tokenAuth: []
1184
1256
  responses:
1185
1257
  '200':
@@ -1215,6 +1287,7 @@ paths:
1215
1287
  $ref: '#/components/schemas/RevertRequestRequest'
1216
1288
  required: true
1217
1289
  security:
1290
+ - MessagingJobTokenAuth: []
1218
1291
  - tokenAuth: []
1219
1292
  responses:
1220
1293
  '200':
@@ -1231,6 +1304,7 @@ paths:
1231
1304
  tags:
1232
1305
  - tasks
1233
1306
  security:
1307
+ - MessagingJobTokenAuth: []
1234
1308
  - tokenAuth: []
1235
1309
  responses:
1236
1310
  '200':
@@ -1260,6 +1334,7 @@ paths:
1260
1334
  $ref: '#/components/schemas/TaskRequest'
1261
1335
  required: true
1262
1336
  security:
1337
+ - MessagingJobTokenAuth: []
1263
1338
  - tokenAuth: []
1264
1339
  responses:
1265
1340
  '201':
@@ -1284,6 +1359,7 @@ paths:
1284
1359
  tags:
1285
1360
  - tasks
1286
1361
  security:
1362
+ - MessagingJobTokenAuth: []
1287
1363
  - tokenAuth: []
1288
1364
  responses:
1289
1365
  '200':
@@ -1319,6 +1395,7 @@ paths:
1319
1395
  $ref: '#/components/schemas/TaskRequest'
1320
1396
  required: true
1321
1397
  security:
1398
+ - MessagingJobTokenAuth: []
1322
1399
  - tokenAuth: []
1323
1400
  responses:
1324
1401
  '200':
@@ -1353,6 +1430,7 @@ paths:
1353
1430
  schema:
1354
1431
  $ref: '#/components/schemas/PatchedTaskRequest'
1355
1432
  security:
1433
+ - MessagingJobTokenAuth: []
1356
1434
  - tokenAuth: []
1357
1435
  responses:
1358
1436
  '200':
@@ -1376,6 +1454,7 @@ paths:
1376
1454
  tags:
1377
1455
  - tasks
1378
1456
  security:
1457
+ - MessagingJobTokenAuth: []
1379
1458
  - tokenAuth: []
1380
1459
  responses:
1381
1460
  '204':
@@ -1399,6 +1478,7 @@ paths:
1399
1478
  tags:
1400
1479
  - vendors
1401
1480
  security:
1481
+ - MessagingJobTokenAuth: []
1402
1482
  - tokenAuth: []
1403
1483
  responses:
1404
1484
  '200':
@@ -1428,6 +1508,7 @@ paths:
1428
1508
  $ref: '#/components/schemas/VendorRequest'
1429
1509
  required: true
1430
1510
  security:
1511
+ - MessagingJobTokenAuth: []
1431
1512
  - tokenAuth: []
1432
1513
  responses:
1433
1514
  '201':
@@ -1452,6 +1533,7 @@ paths:
1452
1533
  tags:
1453
1534
  - vendors
1454
1535
  security:
1536
+ - MessagingJobTokenAuth: []
1455
1537
  - tokenAuth: []
1456
1538
  responses:
1457
1539
  '200':
@@ -1487,6 +1569,7 @@ paths:
1487
1569
  $ref: '#/components/schemas/VendorRequest'
1488
1570
  required: true
1489
1571
  security:
1572
+ - MessagingJobTokenAuth: []
1490
1573
  - tokenAuth: []
1491
1574
  responses:
1492
1575
  '200':
@@ -1521,6 +1604,7 @@ paths:
1521
1604
  schema:
1522
1605
  $ref: '#/components/schemas/PatchedVendorRequest'
1523
1606
  security:
1607
+ - MessagingJobTokenAuth: []
1524
1608
  - tokenAuth: []
1525
1609
  responses:
1526
1610
  '200':
@@ -1544,6 +1628,7 @@ paths:
1544
1628
  tags:
1545
1629
  - vendors
1546
1630
  security:
1631
+ - MessagingJobTokenAuth: []
1547
1632
  - tokenAuth: []
1548
1633
  responses:
1549
1634
  '204':
@@ -1620,6 +1705,7 @@ paths:
1620
1705
  tags:
1621
1706
  - workflows
1622
1707
  security:
1708
+ - MessagingJobTokenAuth: []
1623
1709
  - tokenAuth: []
1624
1710
  responses:
1625
1711
  '200':
@@ -1648,6 +1734,7 @@ paths:
1648
1734
  tags:
1649
1735
  - workflows
1650
1736
  security:
1737
+ - MessagingJobTokenAuth: []
1651
1738
  - tokenAuth: []
1652
1739
  responses:
1653
1740
  '200':
@@ -1684,6 +1771,7 @@ paths:
1684
1771
  $ref: '#/components/schemas/DefinitionApplyRequest'
1685
1772
  required: true
1686
1773
  security:
1774
+ - MessagingJobTokenAuth: []
1687
1775
  - tokenAuth: []
1688
1776
  responses:
1689
1777
  '200':
@@ -1721,6 +1809,7 @@ paths:
1721
1809
  $ref: '#/components/schemas/ProposalApprovalRequest'
1722
1810
  required: true
1723
1811
  security:
1812
+ - MessagingJobTokenAuth: []
1724
1813
  - tokenAuth: []
1725
1814
  responses:
1726
1815
  '201':
@@ -1760,6 +1849,7 @@ paths:
1760
1849
  tags:
1761
1850
  - workflows
1762
1851
  security:
1852
+ - MessagingJobTokenAuth: []
1763
1853
  - tokenAuth: []
1764
1854
  responses:
1765
1855
  '200':
@@ -1788,6 +1878,7 @@ paths:
1788
1878
  tags:
1789
1879
  - workflows
1790
1880
  security:
1881
+ - MessagingJobTokenAuth: []
1791
1882
  - tokenAuth: []
1792
1883
  responses:
1793
1884
  '200':
@@ -1832,6 +1923,7 @@ paths:
1832
1923
  tags:
1833
1924
  - workflows
1834
1925
  security:
1926
+ - MessagingJobTokenAuth: []
1835
1927
  - tokenAuth: []
1836
1928
  responses:
1837
1929
  '200':
@@ -1863,6 +1955,7 @@ paths:
1863
1955
  $ref: '#/components/schemas/WorkflowRunCreateRequest'
1864
1956
  required: true
1865
1957
  security:
1958
+ - MessagingJobTokenAuth: []
1866
1959
  - tokenAuth: []
1867
1960
  responses:
1868
1961
  '201':
@@ -1889,6 +1982,7 @@ paths:
1889
1982
  tags:
1890
1983
  - workflows
1891
1984
  security:
1985
+ - MessagingJobTokenAuth: []
1892
1986
  - tokenAuth: []
1893
1987
  responses:
1894
1988
  '200':
@@ -1915,6 +2009,7 @@ paths:
1915
2009
  tags:
1916
2010
  - workflows
1917
2011
  security:
2012
+ - MessagingJobTokenAuth: []
1918
2013
  - tokenAuth: []
1919
2014
  responses:
1920
2015
  '200':
@@ -1938,6 +2033,7 @@ paths:
1938
2033
  tags:
1939
2034
  - workflows
1940
2035
  security:
2036
+ - MessagingJobTokenAuth: []
1941
2037
  - tokenAuth: []
1942
2038
  responses:
1943
2039
  '200':
@@ -2101,6 +2197,7 @@ paths:
2101
2197
  tags:
2102
2198
  - workflows
2103
2199
  security:
2200
+ - MessagingJobTokenAuth: []
2104
2201
  - tokenAuth: []
2105
2202
  responses:
2106
2203
  '200':
@@ -2130,6 +2227,7 @@ paths:
2130
2227
  $ref: '#/components/schemas/WorkflowRequest'
2131
2228
  required: true
2132
2229
  security:
2230
+ - MessagingJobTokenAuth: []
2133
2231
  - tokenAuth: []
2134
2232
  responses:
2135
2233
  '201':
@@ -2154,6 +2252,7 @@ paths:
2154
2252
  tags:
2155
2253
  - workflows
2156
2254
  security:
2255
+ - MessagingJobTokenAuth: []
2157
2256
  - tokenAuth: []
2158
2257
  responses:
2159
2258
  '200':
@@ -2189,6 +2288,7 @@ paths:
2189
2288
  $ref: '#/components/schemas/WorkflowRequest'
2190
2289
  required: true
2191
2290
  security:
2291
+ - MessagingJobTokenAuth: []
2192
2292
  - tokenAuth: []
2193
2293
  responses:
2194
2294
  '200':
@@ -2223,6 +2323,7 @@ paths:
2223
2323
  schema:
2224
2324
  $ref: '#/components/schemas/PatchedWorkflowRequest'
2225
2325
  security:
2326
+ - MessagingJobTokenAuth: []
2226
2327
  - tokenAuth: []
2227
2328
  responses:
2228
2329
  '200':
@@ -2246,6 +2347,7 @@ paths:
2246
2347
  tags:
2247
2348
  - workflows
2248
2349
  security:
2350
+ - MessagingJobTokenAuth: []
2249
2351
  - tokenAuth: []
2250
2352
  responses:
2251
2353
  '204':
@@ -2266,6 +2368,7 @@ paths:
2266
2368
  tags:
2267
2369
  - workspaces
2268
2370
  security:
2371
+ - MessagingJobTokenAuth: []
2269
2372
  - tokenAuth: []
2270
2373
  responses:
2271
2374
  '200':
@@ -2290,6 +2393,7 @@ paths:
2290
2393
  tags:
2291
2394
  - workspaces
2292
2395
  security:
2396
+ - MessagingJobTokenAuth: []
2293
2397
  - tokenAuth: []
2294
2398
  responses:
2295
2399
  '200':
@@ -2306,6 +2410,7 @@ paths:
2306
2410
  tags:
2307
2411
  - workspaces
2308
2412
  security:
2413
+ - MessagingJobTokenAuth: []
2309
2414
  - tokenAuth: []
2310
2415
  responses:
2311
2416
  '200':
@@ -2335,6 +2440,7 @@ paths:
2335
2440
  $ref: '#/components/schemas/WorkspaceRequest'
2336
2441
  required: true
2337
2442
  security:
2443
+ - MessagingJobTokenAuth: []
2338
2444
  - tokenAuth: []
2339
2445
  responses:
2340
2446
  '201':
@@ -2359,6 +2465,7 @@ paths:
2359
2465
  tags:
2360
2466
  - workspaces
2361
2467
  security:
2468
+ - MessagingJobTokenAuth: []
2362
2469
  - tokenAuth: []
2363
2470
  responses:
2364
2471
  '200':
@@ -2394,6 +2501,7 @@ paths:
2394
2501
  $ref: '#/components/schemas/WorkspaceRequest'
2395
2502
  required: true
2396
2503
  security:
2504
+ - MessagingJobTokenAuth: []
2397
2505
  - tokenAuth: []
2398
2506
  responses:
2399
2507
  '200':
@@ -2428,6 +2536,7 @@ paths:
2428
2536
  schema:
2429
2537
  $ref: '#/components/schemas/PatchedWorkspaceRequest'
2430
2538
  security:
2539
+ - MessagingJobTokenAuth: []
2431
2540
  - tokenAuth: []
2432
2541
  responses:
2433
2542
  '200':
@@ -2451,6 +2560,7 @@ paths:
2451
2560
  tags:
2452
2561
  - workspaces
2453
2562
  security:
2563
+ - MessagingJobTokenAuth: []
2454
2564
  - tokenAuth: []
2455
2565
  responses:
2456
2566
  '204':
@@ -2469,6 +2579,7 @@ paths:
2469
2579
  tags:
2470
2580
  - workspaces
2471
2581
  security:
2582
+ - MessagingJobTokenAuth: []
2472
2583
  - tokenAuth: []
2473
2584
  responses:
2474
2585
  '200':
@@ -2504,6 +2615,7 @@ paths:
2504
2615
  $ref: '#/components/schemas/WorkspaceInviteRequest'
2505
2616
  required: true
2506
2617
  security:
2618
+ - MessagingJobTokenAuth: []
2507
2619
  - tokenAuth: []
2508
2620
  responses:
2509
2621
  '201':
@@ -2533,6 +2645,7 @@ paths:
2533
2645
  tags:
2534
2646
  - workspaces
2535
2647
  security:
2648
+ - MessagingJobTokenAuth: []
2536
2649
  - tokenAuth: []
2537
2650
  responses:
2538
2651
  '204':
@@ -2551,6 +2664,7 @@ paths:
2551
2664
  tags:
2552
2665
  - workspaces
2553
2666
  security:
2667
+ - MessagingJobTokenAuth: []
2554
2668
  - tokenAuth: []
2555
2669
  responses:
2556
2670
  '200':
@@ -2582,6 +2696,7 @@ paths:
2582
2696
  tags:
2583
2697
  - workspaces
2584
2698
  security:
2699
+ - MessagingJobTokenAuth: []
2585
2700
  - tokenAuth: []
2586
2701
  responses:
2587
2702
  '200':
@@ -2621,6 +2736,7 @@ paths:
2621
2736
  schema:
2622
2737
  $ref: '#/components/schemas/WorkspaceMembershipRequest'
2623
2738
  security:
2739
+ - MessagingJobTokenAuth: []
2624
2740
  - tokenAuth: []
2625
2741
  responses:
2626
2742
  '200':
@@ -2660,6 +2776,7 @@ paths:
2660
2776
  schema:
2661
2777
  $ref: '#/components/schemas/PatchedWorkspaceMembershipRequest'
2662
2778
  security:
2779
+ - MessagingJobTokenAuth: []
2663
2780
  - tokenAuth: []
2664
2781
  responses:
2665
2782
  '200':
@@ -2688,6 +2805,7 @@ paths:
2688
2805
  tags:
2689
2806
  - workspaces
2690
2807
  security:
2808
+ - MessagingJobTokenAuth: []
2691
2809
  - tokenAuth: []
2692
2810
  responses:
2693
2811
  '204':
@@ -3367,6 +3485,42 @@ components:
3367
3485
  - reply_ref
3368
3486
  - text
3369
3487
  - workspace
3488
+ MessagingStartWorkflowRequestRequest:
3489
+ type: object
3490
+ properties:
3491
+ workspace:
3492
+ type: string
3493
+ format: uuid
3494
+ reply_ref: {}
3495
+ workflow:
3496
+ type: string
3497
+ minLength: 1
3498
+ project:
3499
+ type: string
3500
+ format: uuid
3501
+ note:
3502
+ type: string
3503
+ required:
3504
+ - reply_ref
3505
+ - workflow
3506
+ - workspace
3507
+ MessagingStartWorkflowResponse:
3508
+ type: object
3509
+ properties:
3510
+ ok:
3511
+ type: boolean
3512
+ run:
3513
+ type: string
3514
+ format: uuid
3515
+ workflow:
3516
+ type: string
3517
+ status:
3518
+ type: string
3519
+ required:
3520
+ - ok
3521
+ - run
3522
+ - status
3523
+ - workflow
3370
3524
  MessagingStreamRequestRequest:
3371
3525
  type: object
3372
3526
  properties:
@@ -251,6 +251,21 @@ POST /api/integrations/messaging/respond/
251
251
  Options:
252
252
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
253
253
 
254
+ ### current integrations messaging start-workflow post
255
+
256
+ Run one of the workspace's workflows on demand, because a person asked
257
+ for it in chat.
258
+
259
+ This is not a trigger: no binding fires, and nothing here decides on its
260
+ own that a message deserves a workflow — the messaging agent does, the
261
+ same way a person clicks "run now" in the portal. The conversation rides
262
+ onto the run, so the workflow reports back into the thread that asked.
263
+
264
+ POST /api/integrations/messaging/start-workflow/
265
+
266
+ Options:
267
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
268
+
254
269
  ### current integrations messaging stream post
255
270
 
256
271
  Live progress UI for a sandbox agent run; the final reply is NOT part
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.24"
3
+ version = "0.1.26"
4
4
  description = "Command line interface for the Current API, generated from its OpenAPI schema at runtime"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes