current-cli 0.1.3__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.3
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:
@@ -1453,6 +1459,11 @@ paths:
1453
1459
  schema:
1454
1460
  type: string
1455
1461
  description: Filter by workflow UUID
1462
+ - in: query
1463
+ name: workspace
1464
+ schema:
1465
+ type: string
1466
+ description: Filter by workspace UUID
1456
1467
  tags:
1457
1468
  - workflows
1458
1469
  security:
@@ -2921,6 +2932,7 @@ components:
2921
2932
  trigger:
2922
2933
  $ref: '#/components/schemas/TriggerEnum'
2923
2934
  trigger_config: {}
2935
+ approval_config: {}
2924
2936
  definition:
2925
2937
  type: string
2926
2938
  format: uuid
@@ -3663,10 +3675,14 @@ components:
3663
3675
  trigger:
3664
3676
  $ref: '#/components/schemas/TriggerEnum'
3665
3677
  trigger_config: {}
3678
+ approval_config: {}
3666
3679
  definition:
3667
3680
  type: string
3668
3681
  format: uuid
3669
3682
  nullable: true
3683
+ has_admin_gate:
3684
+ type: boolean
3685
+ readOnly: true
3670
3686
  last_run:
3671
3687
  allOf:
3672
3688
  - $ref: '#/components/schemas/WorkflowRun'
@@ -3686,6 +3702,7 @@ components:
3686
3702
  readOnly: true
3687
3703
  required:
3688
3704
  - created_at
3705
+ - has_admin_gate
3689
3706
  - id
3690
3707
  - last_run
3691
3708
  - name
@@ -3741,6 +3758,7 @@ components:
3741
3758
  trigger:
3742
3759
  $ref: '#/components/schemas/TriggerEnum'
3743
3760
  trigger_config: {}
3761
+ approval_config: {}
3744
3762
  definition:
3745
3763
  type: string
3746
3764
  format: uuid
@@ -3761,6 +3779,9 @@ components:
3761
3779
  format: uuid
3762
3780
  readOnly: true
3763
3781
  nullable: true
3782
+ workflow_name:
3783
+ type: string
3784
+ readOnly: true
3764
3785
  definition:
3765
3786
  type: string
3766
3787
  format: uuid
@@ -3816,6 +3837,7 @@ components:
3816
3837
  - summary
3817
3838
  - transitions
3818
3839
  - workflow
3840
+ - workflow_name
3819
3841
  WorkflowRunCounts:
3820
3842
  type: object
3821
3843
  description: Run counts by status over the last 30 days.
@@ -3834,7 +3856,10 @@ components:
3834
3856
  type: object
3835
3857
  description: |-
3836
3858
  Body of the user run-creation endpoint. ``definition`` accepts a
3837
- 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.
3838
3863
  properties:
3839
3864
  definition:
3840
3865
  type: string
@@ -3843,6 +3868,10 @@ components:
3843
3868
  type: string
3844
3869
  format: uuid
3845
3870
  nullable: true
3871
+ workflow:
3872
+ type: string
3873
+ format: uuid
3874
+ nullable: true
3846
3875
  required:
3847
3876
  - definition
3848
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}/
@@ -558,6 +561,7 @@ Options:
558
561
  - `--definition` - Filter by definition UUID
559
562
  - `--project` - Filter by project UUID
560
563
  - `--workflow` - Filter by workflow UUID
564
+ - `--workspace` - Filter by workspace UUID
561
565
 
562
566
  ### current workflows runs records create <run_id>
563
567
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.3"
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