current-cli 0.1.37__tar.gz → 0.1.39__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.37
3
+ Version: 0.1.39
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
@@ -767,7 +767,7 @@ paths:
767
767
  description: |-
768
768
  Workspace integration connections. Created via the OAuth callback, or
769
769
  via connect-api-user for providers that support credentials; any member
770
- can list, only admins can connect or disconnect.
770
+ can list, only admins can connect, pause a sync, or disconnect.
771
771
  parameters:
772
772
  - in: query
773
773
  name: workspace
@@ -794,7 +794,7 @@ paths:
794
794
  description: |-
795
795
  Workspace integration connections. Created via the OAuth callback, or
796
796
  via connect-api-user for providers that support credentials; any member
797
- can list, only admins can connect or disconnect.
797
+ can list, only admins can connect, pause a sync, or disconnect.
798
798
  parameters:
799
799
  - in: path
800
800
  name: id
@@ -863,6 +863,63 @@ paths:
863
863
  items:
864
864
  $ref: '#/components/schemas/SlackChannel'
865
865
  description: ''
866
+ /api/integrations/connections/{id}/pause-sync/:
867
+ post:
868
+ operationId: integrations_connections_pause_sync_create
869
+ description: |-
870
+ Stop the scheduled sync for this connection.
871
+
872
+ The connection stays active: workflow tools, webhooks, and manual
873
+ reads keep working. Only the recurring job stops. Data already in the
874
+ workspace is left alone.
875
+ parameters:
876
+ - in: path
877
+ name: id
878
+ schema:
879
+ type: string
880
+ format: uuid
881
+ description: A UUID string identifying this integration connection.
882
+ required: true
883
+ tags:
884
+ - integrations
885
+ security:
886
+ - MessagingJobTokenAuth: []
887
+ - tokenAuth: []
888
+ responses:
889
+ '200':
890
+ content:
891
+ application/json:
892
+ schema:
893
+ $ref: '#/components/schemas/IntegrationConnection'
894
+ description: ''
895
+ /api/integrations/connections/{id}/resume-sync/:
896
+ post:
897
+ operationId: integrations_connections_resume_sync_create
898
+ description: |-
899
+ Let the scheduled sync run again.
900
+
901
+ The sync keeps no watermark, so the next run reads the current state
902
+ of the provider and closes whatever gap the pause opened.
903
+ parameters:
904
+ - in: path
905
+ name: id
906
+ schema:
907
+ type: string
908
+ format: uuid
909
+ description: A UUID string identifying this integration connection.
910
+ required: true
911
+ tags:
912
+ - integrations
913
+ security:
914
+ - MessagingJobTokenAuth: []
915
+ - tokenAuth: []
916
+ responses:
917
+ '200':
918
+ content:
919
+ application/json:
920
+ schema:
921
+ $ref: '#/components/schemas/IntegrationConnection'
922
+ description: ''
866
923
  /api/integrations/connections/{id}/select-basecamp-account/:
867
924
  post:
868
925
  operationId: integrations_connections_select_basecamp_account_create
@@ -1777,6 +1834,34 @@ paths:
1777
1834
  responses:
1778
1835
  '204':
1779
1836
  description: No response body
1837
+ /api/projects/projects/{id}/closeout/:
1838
+ get:
1839
+ operationId: projects_projects_closeout_retrieve
1840
+ description: |-
1841
+ The project's current closeout review — the review.json a
1842
+ closeout workflow run wrote to workspace storage, parsed and
1843
+ validated server-side. ``review`` is null when no run has written
1844
+ one yet.
1845
+ parameters:
1846
+ - in: path
1847
+ name: id
1848
+ schema:
1849
+ type: string
1850
+ format: uuid
1851
+ description: A UUID string identifying this project.
1852
+ required: true
1853
+ tags:
1854
+ - projects
1855
+ security:
1856
+ - MessagingJobTokenAuth: []
1857
+ - tokenAuth: []
1858
+ responses:
1859
+ '200':
1860
+ content:
1861
+ application/json:
1862
+ schema:
1863
+ $ref: '#/components/schemas/CloseoutResponse'
1864
+ description: ''
1780
1865
  /api/projects/projects/{id}/feed/:
1781
1866
  get:
1782
1867
  operationId: projects_projects_feed_retrieve
@@ -3539,6 +3624,17 @@ components:
3539
3624
  - client_secret
3540
3625
  - login_host
3541
3626
  - workspace
3627
+ CloseoutResponse:
3628
+ type: object
3629
+ description: |-
3630
+ Response of the project closeout endpoint: the validated review
3631
+ document (the ``core.review.ReviewDocument`` contract), or null when no
3632
+ closeout run has written one yet.
3633
+ properties:
3634
+ review:
3635
+ nullable: true
3636
+ required:
3637
+ - review
3542
3638
  ColorEnum:
3543
3639
  enum:
3544
3640
  - neutral
@@ -4070,6 +4166,9 @@ components:
4070
4166
  allOf:
4071
4167
  - $ref: '#/components/schemas/IntegrationConnectionStatusEnum'
4072
4168
  readOnly: true
4169
+ sync_paused:
4170
+ type: boolean
4171
+ readOnly: true
4073
4172
  auth_mode:
4074
4173
  allOf:
4075
4174
  - $ref: '#/components/schemas/AuthModeEnum'
@@ -4099,6 +4198,7 @@ components:
4099
4198
  - provider
4100
4199
  - scopes
4101
4200
  - status
4201
+ - sync_paused
4102
4202
  - updated_at
4103
4203
  - workspace
4104
4204
  IntegrationConnectionStatusEnum:
@@ -335,7 +335,7 @@ Options:
335
335
 
336
336
  Workspace integration connections. Created via the OAuth callback, or
337
337
  via connect-api-user for providers that support credentials; any member
338
- can list, only admins can connect or disconnect.
338
+ can list, only admins can connect, pause a sync, or disconnect.
339
339
 
340
340
  DELETE /api/integrations/connections/{id}/
341
341
 
@@ -343,19 +343,38 @@ DELETE /api/integrations/connections/{id}/
343
343
 
344
344
  Workspace integration connections. Created via the OAuth callback, or
345
345
  via connect-api-user for providers that support credentials; any member
346
- can list, only admins can connect or disconnect.
346
+ can list, only admins can connect, pause a sync, or disconnect.
347
347
 
348
348
  GET /api/integrations/connections/
349
349
 
350
350
  Options:
351
351
  - `--workspace` - Filter by workspace UUID
352
352
 
353
+ ### current integrations connections pause-sync create <id>
354
+
355
+ Stop the scheduled sync for this connection.
356
+
357
+ The connection stays active: workflow tools, webhooks, and manual
358
+ reads keep working. Only the recurring job stops. Data already in the
359
+ workspace is left alone.
360
+
361
+ POST /api/integrations/connections/{id}/pause-sync/
362
+
353
363
  ### current integrations connections providers list
354
364
 
355
365
  All known providers and whether OAuth credentials are configured.
356
366
 
357
367
  GET /api/integrations/connections/providers/
358
368
 
369
+ ### current integrations connections resume-sync create <id>
370
+
371
+ Let the scheduled sync run again.
372
+
373
+ The sync keeps no watermark, so the next run reads the current state
374
+ of the provider and closes whatever gap the pause opened.
375
+
376
+ POST /api/integrations/connections/{id}/resume-sync/
377
+
359
378
  ### current integrations connections select-basecamp-account create <id>
360
379
 
361
380
  Choose the one Basecamp account synchronized into this workspace.
@@ -542,6 +561,15 @@ newest happening first.
542
561
 
543
562
  GET /api/observations/observations/{id}/
544
563
 
564
+ ### current projects closeout retrieve <id>
565
+
566
+ The project's current closeout review — the review.json a
567
+ closeout workflow run wrote to workspace storage, parsed and
568
+ validated server-side. ``review`` is null when no run has written
569
+ one yet.
570
+
571
+ GET /api/projects/projects/{id}/closeout/
572
+
545
573
  ### current projects create
546
574
 
547
575
  Projects across the caller's workspaces. Any member can create a
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.37"
3
+ version = "0.1.39"
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