current-cli 0.1.37__tar.gz → 0.1.38__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.38
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
@@ -4070,6 +4127,9 @@ components:
4070
4127
  allOf:
4071
4128
  - $ref: '#/components/schemas/IntegrationConnectionStatusEnum'
4072
4129
  readOnly: true
4130
+ sync_paused:
4131
+ type: boolean
4132
+ readOnly: true
4073
4133
  auth_mode:
4074
4134
  allOf:
4075
4135
  - $ref: '#/components/schemas/AuthModeEnum'
@@ -4099,6 +4159,7 @@ components:
4099
4159
  - provider
4100
4160
  - scopes
4101
4161
  - status
4162
+ - sync_paused
4102
4163
  - updated_at
4103
4164
  - workspace
4104
4165
  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.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.37"
3
+ version = "0.1.38"
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