current-cli 0.1.33__tar.gz → 0.1.35__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.35
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
@@ -811,6 +811,32 @@ paths:
811
811
  responses:
812
812
  '204':
813
813
  description: No response body
814
+ /api/integrations/connections/{id}/basecamp-accounts/:
815
+ get:
816
+ operationId: integrations_connections_basecamp_accounts_list
817
+ description: Basecamp accounts visible to the connected identity.
818
+ parameters:
819
+ - in: path
820
+ name: id
821
+ schema:
822
+ type: string
823
+ format: uuid
824
+ description: A UUID string identifying this integration connection.
825
+ required: true
826
+ tags:
827
+ - integrations
828
+ security:
829
+ - MessagingJobTokenAuth: []
830
+ - tokenAuth: []
831
+ responses:
832
+ '200':
833
+ content:
834
+ application/json:
835
+ schema:
836
+ type: array
837
+ items:
838
+ $ref: '#/components/schemas/BasecampAccount'
839
+ description: ''
814
840
  /api/integrations/connections/{id}/channels/:
815
841
  get:
816
842
  operationId: integrations_connections_channels_list
@@ -837,6 +863,42 @@ paths:
837
863
  items:
838
864
  $ref: '#/components/schemas/SlackChannel'
839
865
  description: ''
866
+ /api/integrations/connections/{id}/select-basecamp-account/:
867
+ post:
868
+ operationId: integrations_connections_select_basecamp_account_create
869
+ description: Choose the one Basecamp account synchronized into this workspace.
870
+ parameters:
871
+ - in: path
872
+ name: id
873
+ schema:
874
+ type: string
875
+ format: uuid
876
+ description: A UUID string identifying this integration connection.
877
+ required: true
878
+ tags:
879
+ - integrations
880
+ requestBody:
881
+ content:
882
+ application/json:
883
+ schema:
884
+ $ref: '#/components/schemas/BasecampAccountSelectionRequest'
885
+ application/x-www-form-urlencoded:
886
+ schema:
887
+ $ref: '#/components/schemas/BasecampAccountSelectionRequest'
888
+ multipart/form-data:
889
+ schema:
890
+ $ref: '#/components/schemas/BasecampAccountSelectionRequest'
891
+ required: true
892
+ security:
893
+ - MessagingJobTokenAuth: []
894
+ - tokenAuth: []
895
+ responses:
896
+ '200':
897
+ content:
898
+ application/json:
899
+ schema:
900
+ $ref: '#/components/schemas/IntegrationConnection'
901
+ description: ''
840
902
  /api/integrations/connections/{id}/teams-conversations/:
841
903
  get:
842
904
  operationId: integrations_connections_teams_conversations_list
@@ -2811,6 +2873,36 @@ paths:
2811
2873
  responses:
2812
2874
  '204':
2813
2875
  description: No response body
2876
+ /api/workflows/workflows/compile-condition/:
2877
+ post:
2878
+ operationId: workflows_workflows_compile_condition_create
2879
+ description: 'Turn a described field condition into a project_field trigger_config.
2880
+ Saves nothing: the caller reviews the proposal and saves it like any other
2881
+ condition.'
2882
+ tags:
2883
+ - workflows
2884
+ requestBody:
2885
+ content:
2886
+ application/json:
2887
+ schema:
2888
+ $ref: '#/components/schemas/ConditionCompileRequest'
2889
+ application/x-www-form-urlencoded:
2890
+ schema:
2891
+ $ref: '#/components/schemas/ConditionCompileRequest'
2892
+ multipart/form-data:
2893
+ schema:
2894
+ $ref: '#/components/schemas/ConditionCompileRequest'
2895
+ required: true
2896
+ security:
2897
+ - MessagingJobTokenAuth: []
2898
+ - tokenAuth: []
2899
+ responses:
2900
+ '200':
2901
+ content:
2902
+ application/json:
2903
+ schema:
2904
+ $ref: '#/components/schemas/ConditionCompileResponse'
2905
+ description: ''
2814
2906
  /api/workspaces/invites/{id}/:
2815
2907
  get:
2816
2908
  operationId: workspaces_invites_retrieve
@@ -3360,6 +3452,34 @@ components:
3360
3452
  format: uri
3361
3453
  required:
3362
3454
  - authorize_url
3455
+ BasecampAccount:
3456
+ type: object
3457
+ properties:
3458
+ account_id:
3459
+ type: string
3460
+ name:
3461
+ type: string
3462
+ href:
3463
+ type: string
3464
+ format: uri
3465
+ app_href:
3466
+ oneOf:
3467
+ - type: string
3468
+ format: uri
3469
+ - type: string
3470
+ maxLength: 0
3471
+ required:
3472
+ - account_id
3473
+ - href
3474
+ - name
3475
+ BasecampAccountSelectionRequest:
3476
+ type: object
3477
+ properties:
3478
+ account_id:
3479
+ type: string
3480
+ minLength: 1
3481
+ required:
3482
+ - account_id
3363
3483
  ClientCredentialsConnectRequestRequest:
3364
3484
  type: object
3365
3485
  description: |-
@@ -3402,6 +3522,34 @@ components:
3402
3522
  * `secondary` - Secondary
3403
3523
  * `success` - Success
3404
3524
  * `primary` - Primary
3525
+ ConditionCompileRequest:
3526
+ type: object
3527
+ description: |-
3528
+ Body of the condition compile endpoint: a described field condition
3529
+ and the workspace whose fields it may name.
3530
+ properties:
3531
+ workspace:
3532
+ type: string
3533
+ format: uuid
3534
+ text:
3535
+ type: string
3536
+ minLength: 1
3537
+ required:
3538
+ - text
3539
+ - workspace
3540
+ ConditionCompileResponse:
3541
+ type: object
3542
+ description: |-
3543
+ A proposed project_field ``trigger_config`` and the same condition in
3544
+ words. Nothing is saved: the caller puts this in the form, and the
3545
+ person who described it decides.
3546
+ properties:
3547
+ trigger_config: {}
3548
+ summary:
3549
+ type: string
3550
+ required:
3551
+ - summary
3552
+ - trigger_config
3405
3553
  Contact:
3406
3554
  type: object
3407
3555
  properties:
@@ -3922,16 +4070,19 @@ components:
3922
4070
  - workspace
3923
4071
  IntegrationConnectionStatusEnum:
3924
4072
  enum:
4073
+ - setup_required
3925
4074
  - active
3926
4075
  - error
3927
4076
  - revoked
3928
4077
  type: string
3929
4078
  description: |-
4079
+ * `setup_required` - Setup required
3930
4080
  * `active` - Active
3931
4081
  * `error` - Error
3932
4082
  * `revoked` - Revoked
3933
4083
  IntegrationProviderEnum:
3934
4084
  enum:
4085
+ - basecamp
3935
4086
  - slack
3936
4087
  - teams
3937
4088
  - sharepoint
@@ -3939,6 +4090,7 @@ components:
3939
4090
  - salesforce
3940
4091
  type: string
3941
4092
  description: |-
4093
+ * `basecamp` - Basecamp
3942
4094
  * `slack` - Slack
3943
4095
  * `teams` - Microsoft Teams
3944
4096
  * `sharepoint` - SharePoint
@@ -293,6 +293,12 @@ POST /api/integrations/connections/authorize/
293
293
  Options:
294
294
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
295
295
 
296
+ ### current integrations connections basecamp-accounts list <id>
297
+
298
+ Basecamp accounts visible to the connected identity.
299
+
300
+ GET /api/integrations/connections/{id}/basecamp-accounts/
301
+
296
302
  ### current integrations connections channels list <id>
297
303
 
298
304
  List public Slack channels — verifies a Slack connection works.
@@ -350,6 +356,15 @@ All known providers and whether OAuth credentials are configured.
350
356
 
351
357
  GET /api/integrations/connections/providers/
352
358
 
359
+ ### current integrations connections select-basecamp-account create <id>
360
+
361
+ Choose the one Basecamp account synchronized into this workspace.
362
+
363
+ POST /api/integrations/connections/{id}/select-basecamp-account/
364
+
365
+ Options:
366
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
367
+
353
368
  ### current integrations connections teams-conversations list <id>
354
369
 
355
370
  Teams conversations the bot has seen, derived from the
@@ -780,6 +795,15 @@ Options:
780
795
 
781
796
  Show the current user and workspace memberships.
782
797
 
798
+ ### current workflows compile-condition create
799
+
800
+ 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.
801
+
802
+ POST /api/workflows/workflows/compile-condition/
803
+
804
+ Options:
805
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
806
+
783
807
  ### current workflows create
784
808
 
785
809
  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.35"
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