current-cli 0.1.33__tar.gz → 0.1.34__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.5
2
2
  Name: current-cli
3
- Version: 0.1.33
3
+ Version: 0.1.34
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
@@ -2811,6 +2811,36 @@ paths:
2811
2811
  responses:
2812
2812
  '204':
2813
2813
  description: No response body
2814
+ /api/workflows/workflows/compile-condition/:
2815
+ post:
2816
+ operationId: workflows_workflows_compile_condition_create
2817
+ description: 'Turn a described field condition into a project_field trigger_config.
2818
+ Saves nothing: the caller reviews the proposal and saves it like any other
2819
+ condition.'
2820
+ tags:
2821
+ - workflows
2822
+ requestBody:
2823
+ content:
2824
+ application/json:
2825
+ schema:
2826
+ $ref: '#/components/schemas/ConditionCompileRequest'
2827
+ application/x-www-form-urlencoded:
2828
+ schema:
2829
+ $ref: '#/components/schemas/ConditionCompileRequest'
2830
+ multipart/form-data:
2831
+ schema:
2832
+ $ref: '#/components/schemas/ConditionCompileRequest'
2833
+ required: true
2834
+ security:
2835
+ - MessagingJobTokenAuth: []
2836
+ - tokenAuth: []
2837
+ responses:
2838
+ '200':
2839
+ content:
2840
+ application/json:
2841
+ schema:
2842
+ $ref: '#/components/schemas/ConditionCompileResponse'
2843
+ description: ''
2814
2844
  /api/workspaces/invites/{id}/:
2815
2845
  get:
2816
2846
  operationId: workspaces_invites_retrieve
@@ -3402,6 +3432,34 @@ components:
3402
3432
  * `secondary` - Secondary
3403
3433
  * `success` - Success
3404
3434
  * `primary` - Primary
3435
+ ConditionCompileRequest:
3436
+ type: object
3437
+ description: |-
3438
+ Body of the condition compile endpoint: a described field condition
3439
+ and the workspace whose fields it may name.
3440
+ properties:
3441
+ workspace:
3442
+ type: string
3443
+ format: uuid
3444
+ text:
3445
+ type: string
3446
+ minLength: 1
3447
+ required:
3448
+ - text
3449
+ - workspace
3450
+ ConditionCompileResponse:
3451
+ type: object
3452
+ description: |-
3453
+ A proposed project_field ``trigger_config`` and the same condition in
3454
+ words. Nothing is saved: the caller puts this in the form, and the
3455
+ person who described it decides.
3456
+ properties:
3457
+ trigger_config: {}
3458
+ summary:
3459
+ type: string
3460
+ required:
3461
+ - summary
3462
+ - trigger_config
3405
3463
  Contact:
3406
3464
  type: object
3407
3465
  properties:
@@ -780,6 +780,15 @@ Options:
780
780
 
781
781
  Show the current user and workspace memberships.
782
782
 
783
+ ### current workflows compile-condition create
784
+
785
+ Turn a described field condition into a project_field trigger_config. Saves nothing: the caller reviews the proposal and saves it like any other condition.
786
+
787
+ POST /api/workflows/workflows/compile-condition/
788
+
789
+ Options:
790
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
791
+
783
792
  ### current workflows create
784
793
 
785
794
  Workflows (actions) across the caller's workspaces. Any member can
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.33"
3
+ version = "0.1.34"
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