current-cli 0.1.67__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.67
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
@@ -6291,6 +6431,21 @@ components:
6291
6431
  required:
6292
6432
  - summary
6293
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
6294
6449
  Conflict:
6295
6450
  type: object
6296
6451
  properties:
@@ -7473,6 +7628,164 @@ components:
7473
7628
  description: |-
7474
7629
  * `interaction` - Interaction
7475
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
7476
7789
  IntegrationConnection:
7477
7790
  type: object
7478
7791
  description: |-
@@ -8313,6 +8626,29 @@ components:
8313
8626
  type: array
8314
8627
  items:
8315
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'
8316
8652
  PaginatedLinkList:
8317
8653
  type: object
8318
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.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.67"
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