current-cli 0.1.4__tar.gz → 0.1.5__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.4
3
+ Version: 0.1.5
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
@@ -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:
@@ -2926,6 +2932,7 @@ components:
2926
2932
  trigger:
2927
2933
  $ref: '#/components/schemas/TriggerEnum'
2928
2934
  trigger_config: {}
2935
+ approval_config: {}
2929
2936
  definition:
2930
2937
  type: string
2931
2938
  format: uuid
@@ -3668,10 +3675,14 @@ components:
3668
3675
  trigger:
3669
3676
  $ref: '#/components/schemas/TriggerEnum'
3670
3677
  trigger_config: {}
3678
+ approval_config: {}
3671
3679
  definition:
3672
3680
  type: string
3673
3681
  format: uuid
3674
3682
  nullable: true
3683
+ has_admin_gate:
3684
+ type: boolean
3685
+ readOnly: true
3675
3686
  last_run:
3676
3687
  allOf:
3677
3688
  - $ref: '#/components/schemas/WorkflowRun'
@@ -3691,6 +3702,7 @@ components:
3691
3702
  readOnly: true
3692
3703
  required:
3693
3704
  - created_at
3705
+ - has_admin_gate
3694
3706
  - id
3695
3707
  - last_run
3696
3708
  - name
@@ -3746,6 +3758,7 @@ components:
3746
3758
  trigger:
3747
3759
  $ref: '#/components/schemas/TriggerEnum'
3748
3760
  trigger_config: {}
3761
+ approval_config: {}
3749
3762
  definition:
3750
3763
  type: string
3751
3764
  format: uuid
@@ -3843,7 +3856,10 @@ components:
3843
3856
  type: object
3844
3857
  description: |-
3845
3858
  Body of the user run-creation endpoint. ``definition`` accepts a
3846
- WorkflowDefinition UUID or its (workspace-unique) name.
3859
+ WorkflowDefinition UUID or its (workspace-unique) name. ``workflow``
3860
+ optionally names the binding the run acts for (approval routing); when
3861
+ omitted and the definition has exactly one binding, that binding is
3862
+ used.
3847
3863
  properties:
3848
3864
  definition:
3849
3865
  type: string
@@ -3852,6 +3868,10 @@ components:
3852
3868
  type: string
3853
3869
  format: uuid
3854
3870
  nullable: true
3871
+ workflow:
3872
+ type: string
3873
+ format: uuid
3874
+ nullable: true
3855
3875
  required:
3856
3876
  - definition
3857
3877
  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}/
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.4"
3
+ version = "0.1.5"
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