current-cli 0.1.66__tar.gz → 0.1.68__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.66
3
+ Version: 0.1.68
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
@@ -393,6 +393,146 @@ paths:
393
393
  schema:
394
394
  $ref: '#/components/schemas/CredentialCodeVerified'
395
395
  description: ''
396
+ /api/closeout-intake/batches/:
397
+ get:
398
+ operationId: closeout_intake_batches_list
399
+ parameters:
400
+ - name: limit
401
+ required: false
402
+ in: query
403
+ description: Number of results to return per page.
404
+ schema:
405
+ type: integer
406
+ - name: offset
407
+ required: false
408
+ in: query
409
+ description: The initial index from which to return the results.
410
+ schema:
411
+ type: integer
412
+ - in: query
413
+ name: status
414
+ schema:
415
+ type: string
416
+ - in: query
417
+ name: workspace
418
+ schema:
419
+ type: string
420
+ tags:
421
+ - closeout-intake
422
+ security:
423
+ - MessagingJobTokenAuth: []
424
+ - tokenAuth: []
425
+ responses:
426
+ '200':
427
+ content:
428
+ application/json:
429
+ schema:
430
+ $ref: '#/components/schemas/PaginatedIntakeBatchList'
431
+ description: ''
432
+ /api/closeout-intake/batches/{id}/:
433
+ get:
434
+ operationId: closeout_intake_batches_retrieve
435
+ parameters:
436
+ - in: path
437
+ name: id
438
+ schema:
439
+ type: string
440
+ format: uuid
441
+ description: A UUID string identifying this intake batch.
442
+ required: true
443
+ tags:
444
+ - closeout-intake
445
+ security:
446
+ - MessagingJobTokenAuth: []
447
+ - tokenAuth: []
448
+ responses:
449
+ '200':
450
+ content:
451
+ application/json:
452
+ schema:
453
+ $ref: '#/components/schemas/IntakeBatch'
454
+ description: ''
455
+ /api/closeout-intake/batches/{id}/confirm/:
456
+ post:
457
+ operationId: closeout_intake_batches_confirm_create
458
+ parameters:
459
+ - in: path
460
+ name: id
461
+ schema:
462
+ type: string
463
+ format: uuid
464
+ description: A UUID string identifying this intake batch.
465
+ required: true
466
+ tags:
467
+ - closeout-intake
468
+ requestBody:
469
+ content:
470
+ application/json:
471
+ schema:
472
+ $ref: '#/components/schemas/ConfirmRequest'
473
+ application/x-www-form-urlencoded:
474
+ schema:
475
+ $ref: '#/components/schemas/ConfirmRequest'
476
+ multipart/form-data:
477
+ schema:
478
+ $ref: '#/components/schemas/ConfirmRequest'
479
+ required: true
480
+ security:
481
+ - MessagingJobTokenAuth: []
482
+ - tokenAuth: []
483
+ responses:
484
+ '200':
485
+ content:
486
+ application/json:
487
+ schema:
488
+ $ref: '#/components/schemas/IntakeBatch'
489
+ description: ''
490
+ /api/closeout-intake/batches/{id}/dismiss/:
491
+ post:
492
+ operationId: closeout_intake_batches_dismiss_create
493
+ parameters:
494
+ - in: path
495
+ name: id
496
+ schema:
497
+ type: string
498
+ format: uuid
499
+ description: A UUID string identifying this intake batch.
500
+ required: true
501
+ tags:
502
+ - closeout-intake
503
+ security:
504
+ - MessagingJobTokenAuth: []
505
+ - tokenAuth: []
506
+ responses:
507
+ '200':
508
+ content:
509
+ application/json:
510
+ schema:
511
+ $ref: '#/components/schemas/IntakeBatch'
512
+ description: ''
513
+ /api/closeout-intake/batches/{id}/retry/:
514
+ post:
515
+ operationId: closeout_intake_batches_retry_create
516
+ parameters:
517
+ - in: path
518
+ name: id
519
+ schema:
520
+ type: string
521
+ format: uuid
522
+ description: A UUID string identifying this intake batch.
523
+ required: true
524
+ tags:
525
+ - closeout-intake
526
+ security:
527
+ - MessagingJobTokenAuth: []
528
+ - tokenAuth: []
529
+ responses:
530
+ '200':
531
+ content:
532
+ application/json:
533
+ schema:
534
+ $ref: '#/components/schemas/IntakeBatch'
535
+ description: ''
396
536
  /api/contacts/contacts/:
397
537
  get:
398
538
  operationId: contacts_contacts_list
@@ -4736,6 +4876,39 @@ paths:
4736
4876
  schema:
4737
4877
  $ref: '#/components/schemas/WorkflowRun'
4738
4878
  description: ''
4879
+ /api/workflows/runs/{run_id}/checkpoints/:
4880
+ post:
4881
+ operationId: workflows_runs_checkpoints_create
4882
+ parameters:
4883
+ - in: path
4884
+ name: run_id
4885
+ schema:
4886
+ type: string
4887
+ format: uuid
4888
+ required: true
4889
+ tags:
4890
+ - workflows
4891
+ requestBody:
4892
+ content:
4893
+ application/json:
4894
+ schema:
4895
+ $ref: '#/components/schemas/CheckpointRequestRequest'
4896
+ application/x-www-form-urlencoded:
4897
+ schema:
4898
+ $ref: '#/components/schemas/CheckpointRequestRequest'
4899
+ multipart/form-data:
4900
+ schema:
4901
+ $ref: '#/components/schemas/CheckpointRequestRequest'
4902
+ required: true
4903
+ security:
4904
+ - RunTokenAuth: []
4905
+ responses:
4906
+ '200':
4907
+ content:
4908
+ application/json:
4909
+ schema:
4910
+ $ref: '#/components/schemas/CheckpointResponse'
4911
+ description: ''
4739
4912
  /api/workflows/runs/{run_id}/complete/:
4740
4913
  post:
4741
4914
  operationId: workflows_runs_complete_create
@@ -4887,6 +5060,39 @@ paths:
4887
5060
  schema:
4888
5061
  $ref: '#/components/schemas/PromoteResponse'
4889
5062
  description: ''
5063
+ /api/workflows/runs/{run_id}/model-gate/:
5064
+ post:
5065
+ operationId: workflows_runs_model_gate_create
5066
+ parameters:
5067
+ - in: path
5068
+ name: run_id
5069
+ schema:
5070
+ type: string
5071
+ format: uuid
5072
+ required: true
5073
+ tags:
5074
+ - workflows
5075
+ requestBody:
5076
+ content:
5077
+ application/json:
5078
+ schema:
5079
+ $ref: '#/components/schemas/GateRequestRequest'
5080
+ application/x-www-form-urlencoded:
5081
+ schema:
5082
+ $ref: '#/components/schemas/GateRequestRequest'
5083
+ multipart/form-data:
5084
+ schema:
5085
+ $ref: '#/components/schemas/GateRequestRequest'
5086
+ required: true
5087
+ security:
5088
+ - RunTokenAuth: []
5089
+ responses:
5090
+ '200':
5091
+ content:
5092
+ application/json:
5093
+ schema:
5094
+ $ref: '#/components/schemas/GateResponse'
5095
+ description: ''
4890
5096
  /api/workflows/runs/{run_id}/models/snapshots/:
4891
5097
  get:
4892
5098
  operationId: workflows_runs_models_snapshots_retrieve
@@ -5997,6 +6203,28 @@ components:
5997
6203
  minLength: 1
5998
6204
  required:
5999
6205
  - account_id
6206
+ CheckpointRequestRequest:
6207
+ type: object
6208
+ properties:
6209
+ namespace:
6210
+ type: string
6211
+ minLength: 1
6212
+ pattern: ^[a-z0-9][a-z0-9._-]{0,63}$
6213
+ fingerprint:
6214
+ type: string
6215
+ minLength: 1
6216
+ pattern: ^[a-f0-9]{64}$
6217
+ payload: {}
6218
+ required:
6219
+ - fingerprint
6220
+ - namespace
6221
+ CheckpointResponse:
6222
+ type: object
6223
+ properties:
6224
+ payload:
6225
+ nullable: true
6226
+ required:
6227
+ - payload
6000
6228
  ClientCredentialsConnectRequestRequest:
6001
6229
  type: object
6002
6230
  description: |-
@@ -6203,6 +6431,21 @@ components:
6203
6431
  required:
6204
6432
  - summary
6205
6433
  - trigger_config
6434
+ ConfirmRequest:
6435
+ type: object
6436
+ properties:
6437
+ project:
6438
+ type: string
6439
+ format: uuid
6440
+ file_ids:
6441
+ type: array
6442
+ items:
6443
+ type: string
6444
+ format: uuid
6445
+ maxItems: 100
6446
+ required:
6447
+ - file_ids
6448
+ - project
6206
6449
  Conflict:
6207
6450
  type: object
6208
6451
  properties:
@@ -7351,6 +7594,32 @@ components:
7351
7594
  type: string
7352
7595
  required:
7353
7596
  - detail
7597
+ GateRequestRequest:
7598
+ type: object
7599
+ properties:
7600
+ model:
7601
+ type: string
7602
+ minLength: 1
7603
+ maxLength: 200
7604
+ cooldown:
7605
+ type: number
7606
+ format: double
7607
+ maximum: 86400
7608
+ minimum: 0
7609
+ default: 0.0
7610
+ required:
7611
+ - model
7612
+ GateResponse:
7613
+ type: object
7614
+ properties:
7615
+ granted:
7616
+ type: boolean
7617
+ wait_seconds:
7618
+ type: number
7619
+ format: double
7620
+ required:
7621
+ - granted
7622
+ - wait_seconds
7354
7623
  InboxRoleEnum:
7355
7624
  enum:
7356
7625
  - interaction
@@ -7359,6 +7628,164 @@ components:
7359
7628
  description: |-
7360
7629
  * `interaction` - Interaction
7361
7630
  * `ingest` - Ingest
7631
+ IntakeBatch:
7632
+ type: object
7633
+ properties:
7634
+ id:
7635
+ type: string
7636
+ format: uuid
7637
+ readOnly: true
7638
+ workspace:
7639
+ type: string
7640
+ format: uuid
7641
+ readOnly: true
7642
+ observation:
7643
+ type: string
7644
+ format: uuid
7645
+ readOnly: true
7646
+ run:
7647
+ type: string
7648
+ format: uuid
7649
+ readOnly: true
7650
+ nullable: true
7651
+ status:
7652
+ allOf:
7653
+ - $ref: '#/components/schemas/IntakeBatchStatusEnum'
7654
+ readOnly: true
7655
+ inbox_address:
7656
+ type: string
7657
+ format: email
7658
+ readOnly: true
7659
+ project:
7660
+ type: string
7661
+ format: uuid
7662
+ readOnly: true
7663
+ nullable: true
7664
+ subject:
7665
+ type: string
7666
+ readOnly: true
7667
+ default: ''
7668
+ email_body:
7669
+ type: string
7670
+ readOnly: true
7671
+ assessment:
7672
+ readOnly: true
7673
+ staging_errors:
7674
+ readOnly: true
7675
+ error:
7676
+ type: string
7677
+ readOnly: true
7678
+ dry_run:
7679
+ type: boolean
7680
+ readOnly: true
7681
+ reviewed_by:
7682
+ type: integer
7683
+ readOnly: true
7684
+ nullable: true
7685
+ reviewed_at:
7686
+ type: string
7687
+ format: date-time
7688
+ readOnly: true
7689
+ nullable: true
7690
+ selected_file_ids:
7691
+ readOnly: true
7692
+ created_at:
7693
+ type: string
7694
+ format: date-time
7695
+ readOnly: true
7696
+ updated_at:
7697
+ type: string
7698
+ format: date-time
7699
+ readOnly: true
7700
+ files:
7701
+ type: array
7702
+ items:
7703
+ $ref: '#/components/schemas/IntakeFile'
7704
+ readOnly: true
7705
+ required:
7706
+ - assessment
7707
+ - created_at
7708
+ - dry_run
7709
+ - email_body
7710
+ - error
7711
+ - files
7712
+ - id
7713
+ - inbox_address
7714
+ - observation
7715
+ - project
7716
+ - reviewed_at
7717
+ - reviewed_by
7718
+ - run
7719
+ - selected_file_ids
7720
+ - staging_errors
7721
+ - status
7722
+ - subject
7723
+ - updated_at
7724
+ - workspace
7725
+ IntakeBatchStatusEnum:
7726
+ enum:
7727
+ - queued
7728
+ - processing
7729
+ - review
7730
+ - filing
7731
+ - filed
7732
+ - ignored
7733
+ - dismissed
7734
+ - failed
7735
+ type: string
7736
+ description: |-
7737
+ * `queued` - Queued
7738
+ * `processing` - Processing
7739
+ * `review` - Needs review
7740
+ * `filing` - Filing
7741
+ * `filed` - Filed
7742
+ * `ignored` - Ignored
7743
+ * `dismissed` - Dismissed
7744
+ * `failed` - Failed
7745
+ IntakeFile:
7746
+ type: object
7747
+ properties:
7748
+ id:
7749
+ type: string
7750
+ format: uuid
7751
+ readOnly: true
7752
+ filename:
7753
+ type: string
7754
+ readOnly: true
7755
+ mime:
7756
+ type: string
7757
+ readOnly: true
7758
+ inline:
7759
+ type: boolean
7760
+ readOnly: true
7761
+ archive:
7762
+ type: boolean
7763
+ readOnly: true
7764
+ sha256:
7765
+ type: string
7766
+ readOnly: true
7767
+ size:
7768
+ type: integer
7769
+ readOnly: true
7770
+ destination_path:
7771
+ type: string
7772
+ readOnly: true
7773
+ classification:
7774
+ readOnly: true
7775
+ preview_url:
7776
+ type: string
7777
+ readOnly: true
7778
+ required:
7779
+ - archive
7780
+ - classification
7781
+ - destination_path
7782
+ - filename
7783
+ - id
7784
+ - inline
7785
+ - mime
7786
+ - preview_url
7787
+ - sha256
7788
+ - size
7362
7789
  IntegrationConnection:
7363
7790
  type: object
7364
7791
  description: |-
@@ -8199,6 +8626,29 @@ components:
8199
8626
  type: array
8200
8627
  items:
8201
8628
  $ref: '#/components/schemas/Extraction'
8629
+ PaginatedIntakeBatchList:
8630
+ type: object
8631
+ required:
8632
+ - count
8633
+ - results
8634
+ properties:
8635
+ count:
8636
+ type: integer
8637
+ example: 123
8638
+ next:
8639
+ type: string
8640
+ nullable: true
8641
+ format: uri
8642
+ example: http://api.example.org/accounts/?offset=400&limit=100
8643
+ previous:
8644
+ type: string
8645
+ nullable: true
8646
+ format: uri
8647
+ example: http://api.example.org/accounts/?offset=200&limit=100
8648
+ results:
8649
+ type: array
8650
+ items:
8651
+ $ref: '#/components/schemas/IntakeBatch'
8202
8652
  PaginatedLinkList:
8203
8653
  type: object
8204
8654
  required:
@@ -161,6 +161,35 @@ POST /api/accounts/credential-requests/verify/
161
161
  Options:
162
162
  - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
163
163
 
164
+ ### current closeout-intake batches confirm create <id>
165
+
166
+ POST /api/closeout-intake/batches/{id}/confirm/
167
+
168
+ Options:
169
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
170
+
171
+ ### current closeout-intake batches dismiss create <id>
172
+
173
+ POST /api/closeout-intake/batches/{id}/dismiss/
174
+
175
+ ### current closeout-intake batches list
176
+
177
+ GET /api/closeout-intake/batches/
178
+
179
+ Options:
180
+ - `--limit` - Number of results to return per page.
181
+ - `--offset` - The initial index from which to return the results.
182
+ - `--status`
183
+ - `--workspace`
184
+
185
+ ### current closeout-intake batches retrieve <id>
186
+
187
+ GET /api/closeout-intake/batches/{id}/
188
+
189
+ ### current closeout-intake batches retry create <id>
190
+
191
+ POST /api/closeout-intake/batches/{id}/retry/
192
+
164
193
  ### current config get <key>
165
194
 
166
195
  Print one configuration value.
@@ -1514,6 +1543,13 @@ while dispatch keeps working on it.
1514
1543
 
1515
1544
  POST /api/workflows/runs/{id}/archive/
1516
1545
 
1546
+ ### current workflows runs checkpoints create <run_id>
1547
+
1548
+ POST /api/workflows/runs/{run_id}/checkpoints/
1549
+
1550
+ Options:
1551
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
1552
+
1517
1553
  ### current workflows runs complete create <run_id>
1518
1554
 
1519
1555
  Machine endpoint: the runner reports the run's terminal outcome —
@@ -1586,6 +1622,13 @@ Options:
1586
1622
  - `--workflow` - Filter by workflow UUID
1587
1623
  - `--workspace` - Filter by workspace UUID
1588
1624
 
1625
+ ### current workflows runs model-gate create <run_id>
1626
+
1627
+ POST /api/workflows/runs/{run_id}/model-gate/
1628
+
1629
+ Options:
1630
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
1631
+
1589
1632
  ### current workflows runs models snapshots retrieve <run_id>
1590
1633
 
1591
1634
  GET /api/workflows/runs/{run_id}/models/snapshots/
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.66"
3
+ version = "0.1.68"
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