current-cli 0.1.84__tar.gz → 0.1.86__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.84
3
+ Version: 0.1.86
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
@@ -890,8 +890,8 @@ paths:
890
890
  post:
891
891
  operationId: files_delete
892
892
  description: |-
893
- Delete workspace files. The bucket is versioned, so this writes
894
- delete markers — recoverable by an operator, invisible to the portal.
893
+ Delete workspace files. Each keeps a copy under ``_trash/`` for 30
894
+ days — recoverable by an operator, invisible to the portal.
895
895
  tags:
896
896
  - files
897
897
  requestBody:
@@ -5618,7 +5618,8 @@ paths:
5618
5618
 
5619
5619
  This endpoint is intentionally narrower than the member-facing file
5620
5620
  deletion API. A workflow can remove only a draft PDF in its own project's
5621
- ``po/`` directory, and bucket versioning keeps the operation recoverable.
5621
+ ``po/`` directory, and the copy under ``_trash/`` keeps the operation
5622
+ recoverable for 30 days.
5622
5623
  parameters:
5623
5624
  - in: path
5624
5625
  name: run_id
@@ -6245,6 +6246,18 @@ paths:
6245
6246
  operationId: workspaces_models_records_retrieve
6246
6247
  description: Discover and read models belonging to the caller's workspace.
6247
6248
  parameters:
6249
+ - in: query
6250
+ name: fields
6251
+ schema:
6252
+ type: array
6253
+ items:
6254
+ type: string
6255
+ description: Output field keys. Omit for all fields.
6256
+ - in: query
6257
+ name: filters
6258
+ schema:
6259
+ type: string
6260
+ description: JSON object of field-key/scalar equality filters (AND).
6248
6261
  - in: path
6249
6262
  name: id
6250
6263
  schema:
@@ -6257,6 +6270,11 @@ paths:
6257
6270
  schema:
6258
6271
  type: string
6259
6272
  description: Exact record key.
6273
+ - in: query
6274
+ name: limit
6275
+ schema:
6276
+ type: integer
6277
+ description: Maximum records, 1–100; pages are also byte bounded.
6260
6278
  - in: query
6261
6279
  name: offset
6262
6280
  schema:
@@ -13521,6 +13539,26 @@ components:
13521
13539
  preloaded:
13522
13540
  type: boolean
13523
13541
  readOnly: true
13542
+ source_managed:
13543
+ type: boolean
13544
+ readOnly: true
13545
+ last_synced_at:
13546
+ type: string
13547
+ format: date-time
13548
+ readOnly: true
13549
+ nullable: true
13550
+ last_sync_error:
13551
+ type: string
13552
+ readOnly: true
13553
+ last_sync_failed_at:
13554
+ type: string
13555
+ format: date-time
13556
+ readOnly: true
13557
+ nullable: true
13558
+ sync_coverage:
13559
+ type: object
13560
+ additionalProperties: {}
13561
+ readOnly: true
13524
13562
  bindings:
13525
13563
  type: array
13526
13564
  items:
@@ -13532,8 +13570,13 @@ components:
13532
13570
  - id
13533
13571
  - key
13534
13572
  - label
13573
+ - last_sync_error
13574
+ - last_sync_failed_at
13575
+ - last_synced_at
13535
13576
  - preloaded
13536
13577
  - revision
13578
+ - source_managed
13579
+ - sync_coverage
13537
13580
  - workspace
13538
13581
  WorkspaceModelBinding:
13539
13582
  type: object
@@ -13576,6 +13619,26 @@ components:
13576
13619
  preloaded:
13577
13620
  type: boolean
13578
13621
  readOnly: true
13622
+ source_managed:
13623
+ type: boolean
13624
+ readOnly: true
13625
+ last_synced_at:
13626
+ type: string
13627
+ format: date-time
13628
+ readOnly: true
13629
+ nullable: true
13630
+ last_sync_error:
13631
+ type: string
13632
+ readOnly: true
13633
+ last_sync_failed_at:
13634
+ type: string
13635
+ format: date-time
13636
+ readOnly: true
13637
+ nullable: true
13638
+ sync_coverage:
13639
+ type: object
13640
+ additionalProperties: {}
13641
+ readOnly: true
13579
13642
  bindings:
13580
13643
  type: array
13581
13644
  items:
@@ -13593,8 +13656,13 @@ components:
13593
13656
  - id
13594
13657
  - key
13595
13658
  - label
13659
+ - last_sync_error
13660
+ - last_sync_failed_at
13661
+ - last_synced_at
13596
13662
  - preloaded
13597
13663
  - revision
13664
+ - source_managed
13665
+ - sync_coverage
13598
13666
  - workspace
13599
13667
  WorkspaceModelField:
13600
13668
  type: object
@@ -292,8 +292,8 @@ Options:
292
292
 
293
293
  ### current files delete post
294
294
 
295
- Delete workspace files. The bucket is versioned, so this writes
296
- delete markers — recoverable by an operator, invisible to the portal.
295
+ Delete workspace files. Each keeps a copy under ``_trash/`` for 30
296
+ days — recoverable by an operator, invisible to the portal.
297
297
 
298
298
  POST /api/files/delete/
299
299
 
@@ -1715,7 +1715,8 @@ Remove superseded generated PDFs from this run's project.
1715
1715
 
1716
1716
  This endpoint is intentionally narrower than the member-facing file
1717
1717
  deletion API. A workflow can remove only a draft PDF in its own project's
1718
- ``po/`` directory, and bucket versioning keeps the operation recoverable.
1718
+ ``po/`` directory, and the copy under ``_trash/`` keeps the operation
1719
+ recoverable for 30 days.
1719
1720
 
1720
1721
  POST /api/workflows/runs/{run_id}/files/delete/
1721
1722
 
@@ -1928,7 +1929,10 @@ Discover and read models belonging to the caller's workspace.
1928
1929
  GET /api/workspaces/models/{id}/records/
1929
1930
 
1930
1931
  Options:
1932
+ - `--fields` - Output field keys. Omit for all fields.
1933
+ - `--filters` - JSON object of field-key/scalar equality filters (AND).
1931
1934
  - `--key` - Exact record key.
1935
+ - `--limit` - Maximum records, 1–100; pages are also byte bounded.
1932
1936
  - `--offset` - Record offset. Pages contain at most 100 records.
1933
1937
  - `--rolled-out` - Only models with a binding while rollout is enabled. Always enforced for members.
1934
1938
  - `--workspace` - Filter to one readable workspace.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.84"
3
+ version = "0.1.86"
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