current-cli 0.1.4__tar.gz → 0.1.6__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.
- {current_cli-0.1.4 → current_cli-0.1.6}/PKG-INFO +1 -1
- {current_cli-0.1.4 → current_cli-0.1.6}/current_cli/schema.yml +73 -1
- {current_cli-0.1.4 → current_cli-0.1.6}/llms.txt +22 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/pyproject.toml +1 -1
- {current_cli-0.1.4 → current_cli-0.1.6}/.gitignore +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/README.md +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/current_cli/__init__.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/current_cli/build.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/current_cli/config.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/current_cli/docs.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/current_cli/http.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/current_cli/main.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/current_cli/schema.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/scripts/bump_version.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/tests/__init__.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/tests/conftest.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/tests/test_auth.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/tests/test_docs.py +0 -0
- {current_cli-0.1.4 → current_cli-0.1.6}/tests/test_requests.py +0 -0
|
@@ -91,6 +91,12 @@ paths:
|
|
|
91
91
|
/api/contacts/contacts/:
|
|
92
92
|
get:
|
|
93
93
|
operationId: contacts_contacts_list
|
|
94
|
+
parameters:
|
|
95
|
+
- in: query
|
|
96
|
+
name: workspace
|
|
97
|
+
schema:
|
|
98
|
+
type: string
|
|
99
|
+
description: Filter by workspace UUID
|
|
94
100
|
tags:
|
|
95
101
|
- contacts
|
|
96
102
|
security:
|
|
@@ -1296,6 +1302,58 @@ paths:
|
|
|
1296
1302
|
schema:
|
|
1297
1303
|
$ref: '#/components/schemas/ApprovalDecideResponse'
|
|
1298
1304
|
description: ''
|
|
1305
|
+
/api/workflows/definitions/:
|
|
1306
|
+
get:
|
|
1307
|
+
operationId: workflows_definitions_list
|
|
1308
|
+
description: |-
|
|
1309
|
+
Applied workflow definitions across the caller's workspaces. The
|
|
1310
|
+
portal reads this to offer definitions when binding a new trigger;
|
|
1311
|
+
writes go through the apply endpoint.
|
|
1312
|
+
parameters:
|
|
1313
|
+
- in: query
|
|
1314
|
+
name: workspace
|
|
1315
|
+
schema:
|
|
1316
|
+
type: string
|
|
1317
|
+
description: Filter by workspace UUID
|
|
1318
|
+
tags:
|
|
1319
|
+
- workflows
|
|
1320
|
+
security:
|
|
1321
|
+
- tokenAuth: []
|
|
1322
|
+
responses:
|
|
1323
|
+
'200':
|
|
1324
|
+
content:
|
|
1325
|
+
application/json:
|
|
1326
|
+
schema:
|
|
1327
|
+
type: array
|
|
1328
|
+
items:
|
|
1329
|
+
$ref: '#/components/schemas/WorkflowDefinition'
|
|
1330
|
+
description: ''
|
|
1331
|
+
/api/workflows/definitions/{id}/:
|
|
1332
|
+
get:
|
|
1333
|
+
operationId: workflows_definitions_retrieve
|
|
1334
|
+
description: |-
|
|
1335
|
+
Applied workflow definitions across the caller's workspaces. The
|
|
1336
|
+
portal reads this to offer definitions when binding a new trigger;
|
|
1337
|
+
writes go through the apply endpoint.
|
|
1338
|
+
parameters:
|
|
1339
|
+
- in: path
|
|
1340
|
+
name: id
|
|
1341
|
+
schema:
|
|
1342
|
+
type: string
|
|
1343
|
+
format: uuid
|
|
1344
|
+
description: A UUID string identifying this workflow definition.
|
|
1345
|
+
required: true
|
|
1346
|
+
tags:
|
|
1347
|
+
- workflows
|
|
1348
|
+
security:
|
|
1349
|
+
- tokenAuth: []
|
|
1350
|
+
responses:
|
|
1351
|
+
'200':
|
|
1352
|
+
content:
|
|
1353
|
+
application/json:
|
|
1354
|
+
schema:
|
|
1355
|
+
$ref: '#/components/schemas/WorkflowDefinition'
|
|
1356
|
+
description: ''
|
|
1299
1357
|
/api/workflows/definitions/apply/:
|
|
1300
1358
|
post:
|
|
1301
1359
|
operationId: workflows_definitions_apply_create
|
|
@@ -2926,6 +2984,7 @@ components:
|
|
|
2926
2984
|
trigger:
|
|
2927
2985
|
$ref: '#/components/schemas/TriggerEnum'
|
|
2928
2986
|
trigger_config: {}
|
|
2987
|
+
approval_config: {}
|
|
2929
2988
|
definition:
|
|
2930
2989
|
type: string
|
|
2931
2990
|
format: uuid
|
|
@@ -3668,10 +3727,14 @@ components:
|
|
|
3668
3727
|
trigger:
|
|
3669
3728
|
$ref: '#/components/schemas/TriggerEnum'
|
|
3670
3729
|
trigger_config: {}
|
|
3730
|
+
approval_config: {}
|
|
3671
3731
|
definition:
|
|
3672
3732
|
type: string
|
|
3673
3733
|
format: uuid
|
|
3674
3734
|
nullable: true
|
|
3735
|
+
has_admin_gate:
|
|
3736
|
+
type: boolean
|
|
3737
|
+
readOnly: true
|
|
3675
3738
|
last_run:
|
|
3676
3739
|
allOf:
|
|
3677
3740
|
- $ref: '#/components/schemas/WorkflowRun'
|
|
@@ -3691,6 +3754,7 @@ components:
|
|
|
3691
3754
|
readOnly: true
|
|
3692
3755
|
required:
|
|
3693
3756
|
- created_at
|
|
3757
|
+
- has_admin_gate
|
|
3694
3758
|
- id
|
|
3695
3759
|
- last_run
|
|
3696
3760
|
- name
|
|
@@ -3746,6 +3810,7 @@ components:
|
|
|
3746
3810
|
trigger:
|
|
3747
3811
|
$ref: '#/components/schemas/TriggerEnum'
|
|
3748
3812
|
trigger_config: {}
|
|
3813
|
+
approval_config: {}
|
|
3749
3814
|
definition:
|
|
3750
3815
|
type: string
|
|
3751
3816
|
format: uuid
|
|
@@ -3843,7 +3908,10 @@ components:
|
|
|
3843
3908
|
type: object
|
|
3844
3909
|
description: |-
|
|
3845
3910
|
Body of the user run-creation endpoint. ``definition`` accepts a
|
|
3846
|
-
WorkflowDefinition UUID or its (workspace-unique) name.
|
|
3911
|
+
WorkflowDefinition UUID or its (workspace-unique) name. ``workflow``
|
|
3912
|
+
optionally names the binding the run acts for (approval routing); when
|
|
3913
|
+
omitted and the definition has exactly one binding, that binding is
|
|
3914
|
+
used.
|
|
3847
3915
|
properties:
|
|
3848
3916
|
definition:
|
|
3849
3917
|
type: string
|
|
@@ -3852,6 +3920,10 @@ components:
|
|
|
3852
3920
|
type: string
|
|
3853
3921
|
format: uuid
|
|
3854
3922
|
nullable: true
|
|
3923
|
+
workflow:
|
|
3924
|
+
type: string
|
|
3925
|
+
format: uuid
|
|
3926
|
+
nullable: true
|
|
3855
3927
|
required:
|
|
3856
3928
|
- definition
|
|
3857
3929
|
WorkflowRunStatusEnum:
|
|
@@ -106,6 +106,9 @@ DELETE /api/contacts/contacts/{id}/
|
|
|
106
106
|
|
|
107
107
|
GET /api/contacts/contacts/
|
|
108
108
|
|
|
109
|
+
Options:
|
|
110
|
+
- `--workspace` - Filter by workspace UUID
|
|
111
|
+
|
|
109
112
|
### current contacts partial-update <id>
|
|
110
113
|
|
|
111
114
|
PATCH /api/contacts/contacts/{id}/
|
|
@@ -464,6 +467,25 @@ POST /api/workflows/definitions/apply/
|
|
|
464
467
|
Options:
|
|
465
468
|
- `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
|
|
466
469
|
|
|
470
|
+
### current workflows definitions list
|
|
471
|
+
|
|
472
|
+
Applied workflow definitions across the caller's workspaces. The
|
|
473
|
+
portal reads this to offer definitions when binding a new trigger;
|
|
474
|
+
writes go through the apply endpoint.
|
|
475
|
+
|
|
476
|
+
GET /api/workflows/definitions/
|
|
477
|
+
|
|
478
|
+
Options:
|
|
479
|
+
- `--workspace` - Filter by workspace UUID
|
|
480
|
+
|
|
481
|
+
### current workflows definitions retrieve <id>
|
|
482
|
+
|
|
483
|
+
Applied workflow definitions across the caller's workspaces. The
|
|
484
|
+
portal reads this to offer definitions when binding a new trigger;
|
|
485
|
+
writes go through the apply endpoint.
|
|
486
|
+
|
|
487
|
+
GET /api/workflows/definitions/{id}/
|
|
488
|
+
|
|
467
489
|
### current workflows destroy <id>
|
|
468
490
|
|
|
469
491
|
Workflows across the caller's workspaces. Any member can create and edit.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|