current-cli 0.1.67__tar.gz → 0.1.69__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.69
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,174 @@ 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: queue
414
+ schema:
415
+ type: string
416
+ enum:
417
+ - attention
418
+ - history
419
+ - in: query
420
+ name: status
421
+ schema:
422
+ type: string
423
+ - in: query
424
+ name: workspace
425
+ schema:
426
+ type: string
427
+ tags:
428
+ - closeout-intake
429
+ security:
430
+ - MessagingJobTokenAuth: []
431
+ - tokenAuth: []
432
+ responses:
433
+ '200':
434
+ content:
435
+ application/json:
436
+ schema:
437
+ $ref: '#/components/schemas/PaginatedIntakeBatchList'
438
+ description: ''
439
+ /api/closeout-intake/batches/{id}/:
440
+ get:
441
+ operationId: closeout_intake_batches_retrieve
442
+ parameters:
443
+ - in: path
444
+ name: id
445
+ schema:
446
+ type: string
447
+ format: uuid
448
+ description: A UUID string identifying this intake batch.
449
+ required: true
450
+ tags:
451
+ - closeout-intake
452
+ security:
453
+ - MessagingJobTokenAuth: []
454
+ - tokenAuth: []
455
+ responses:
456
+ '200':
457
+ content:
458
+ application/json:
459
+ schema:
460
+ $ref: '#/components/schemas/IntakeBatch'
461
+ description: ''
462
+ /api/closeout-intake/batches/{id}/confirm/:
463
+ post:
464
+ operationId: closeout_intake_batches_confirm_create
465
+ parameters:
466
+ - in: path
467
+ name: id
468
+ schema:
469
+ type: string
470
+ format: uuid
471
+ description: A UUID string identifying this intake batch.
472
+ required: true
473
+ tags:
474
+ - closeout-intake
475
+ requestBody:
476
+ content:
477
+ application/json:
478
+ schema:
479
+ $ref: '#/components/schemas/ConfirmRequest'
480
+ application/x-www-form-urlencoded:
481
+ schema:
482
+ $ref: '#/components/schemas/ConfirmRequest'
483
+ multipart/form-data:
484
+ schema:
485
+ $ref: '#/components/schemas/ConfirmRequest'
486
+ required: true
487
+ security:
488
+ - MessagingJobTokenAuth: []
489
+ - tokenAuth: []
490
+ responses:
491
+ '200':
492
+ content:
493
+ application/json:
494
+ schema:
495
+ $ref: '#/components/schemas/IntakeBatch'
496
+ description: ''
497
+ /api/closeout-intake/batches/{id}/dismiss/:
498
+ post:
499
+ operationId: closeout_intake_batches_dismiss_create
500
+ parameters:
501
+ - in: path
502
+ name: id
503
+ schema:
504
+ type: string
505
+ format: uuid
506
+ description: A UUID string identifying this intake batch.
507
+ required: true
508
+ tags:
509
+ - closeout-intake
510
+ security:
511
+ - MessagingJobTokenAuth: []
512
+ - tokenAuth: []
513
+ responses:
514
+ '200':
515
+ content:
516
+ application/json:
517
+ schema:
518
+ $ref: '#/components/schemas/IntakeBatch'
519
+ description: ''
520
+ /api/closeout-intake/batches/{id}/retry/:
521
+ post:
522
+ operationId: closeout_intake_batches_retry_create
523
+ parameters:
524
+ - in: path
525
+ name: id
526
+ schema:
527
+ type: string
528
+ format: uuid
529
+ description: A UUID string identifying this intake batch.
530
+ required: true
531
+ tags:
532
+ - closeout-intake
533
+ security:
534
+ - MessagingJobTokenAuth: []
535
+ - tokenAuth: []
536
+ responses:
537
+ '200':
538
+ content:
539
+ application/json:
540
+ schema:
541
+ $ref: '#/components/schemas/IntakeBatch'
542
+ description: ''
543
+ /api/closeout-intake/batches/availability/:
544
+ get:
545
+ operationId: closeout_intake_batches_availability_retrieve
546
+ parameters:
547
+ - in: query
548
+ name: workspace
549
+ schema:
550
+ type: string
551
+ required: true
552
+ tags:
553
+ - closeout-intake
554
+ security:
555
+ - MessagingJobTokenAuth: []
556
+ - tokenAuth: []
557
+ responses:
558
+ '200':
559
+ content:
560
+ application/json:
561
+ schema:
562
+ $ref: '#/components/schemas/IntakeAvailability'
563
+ description: ''
396
564
  /api/contacts/contacts/:
397
565
  get:
398
566
  operationId: contacts_contacts_list
@@ -6291,6 +6459,21 @@ components:
6291
6459
  required:
6292
6460
  - summary
6293
6461
  - trigger_config
6462
+ ConfirmRequest:
6463
+ type: object
6464
+ properties:
6465
+ project:
6466
+ type: string
6467
+ format: uuid
6468
+ file_ids:
6469
+ type: array
6470
+ items:
6471
+ type: string
6472
+ format: uuid
6473
+ maxItems: 100
6474
+ required:
6475
+ - file_ids
6476
+ - project
6294
6477
  Conflict:
6295
6478
  type: object
6296
6479
  properties:
@@ -7473,6 +7656,174 @@ components:
7473
7656
  description: |-
7474
7657
  * `interaction` - Interaction
7475
7658
  * `ingest` - Ingest
7659
+ IntakeAvailability:
7660
+ type: object
7661
+ properties:
7662
+ visible:
7663
+ type: boolean
7664
+ attention_count:
7665
+ type: integer
7666
+ required:
7667
+ - attention_count
7668
+ - visible
7669
+ IntakeBatch:
7670
+ type: object
7671
+ properties:
7672
+ id:
7673
+ type: string
7674
+ format: uuid
7675
+ readOnly: true
7676
+ workspace:
7677
+ type: string
7678
+ format: uuid
7679
+ readOnly: true
7680
+ observation:
7681
+ type: string
7682
+ format: uuid
7683
+ readOnly: true
7684
+ run:
7685
+ type: string
7686
+ format: uuid
7687
+ readOnly: true
7688
+ nullable: true
7689
+ status:
7690
+ allOf:
7691
+ - $ref: '#/components/schemas/IntakeBatchStatusEnum'
7692
+ readOnly: true
7693
+ inbox_address:
7694
+ type: string
7695
+ format: email
7696
+ readOnly: true
7697
+ project:
7698
+ type: string
7699
+ format: uuid
7700
+ readOnly: true
7701
+ nullable: true
7702
+ subject:
7703
+ type: string
7704
+ readOnly: true
7705
+ default: ''
7706
+ email_body:
7707
+ type: string
7708
+ readOnly: true
7709
+ assessment:
7710
+ readOnly: true
7711
+ staging_errors:
7712
+ readOnly: true
7713
+ error:
7714
+ type: string
7715
+ readOnly: true
7716
+ dry_run:
7717
+ type: boolean
7718
+ readOnly: true
7719
+ reviewed_by:
7720
+ type: integer
7721
+ readOnly: true
7722
+ nullable: true
7723
+ reviewed_at:
7724
+ type: string
7725
+ format: date-time
7726
+ readOnly: true
7727
+ nullable: true
7728
+ selected_file_ids:
7729
+ readOnly: true
7730
+ created_at:
7731
+ type: string
7732
+ format: date-time
7733
+ readOnly: true
7734
+ updated_at:
7735
+ type: string
7736
+ format: date-time
7737
+ readOnly: true
7738
+ files:
7739
+ type: array
7740
+ items:
7741
+ $ref: '#/components/schemas/IntakeFile'
7742
+ readOnly: true
7743
+ required:
7744
+ - assessment
7745
+ - created_at
7746
+ - dry_run
7747
+ - email_body
7748
+ - error
7749
+ - files
7750
+ - id
7751
+ - inbox_address
7752
+ - observation
7753
+ - project
7754
+ - reviewed_at
7755
+ - reviewed_by
7756
+ - run
7757
+ - selected_file_ids
7758
+ - staging_errors
7759
+ - status
7760
+ - subject
7761
+ - updated_at
7762
+ - workspace
7763
+ IntakeBatchStatusEnum:
7764
+ enum:
7765
+ - queued
7766
+ - processing
7767
+ - review
7768
+ - filing
7769
+ - filed
7770
+ - ignored
7771
+ - dismissed
7772
+ - failed
7773
+ type: string
7774
+ description: |-
7775
+ * `queued` - Queued
7776
+ * `processing` - Processing
7777
+ * `review` - Needs review
7778
+ * `filing` - Filing
7779
+ * `filed` - Filed
7780
+ * `ignored` - Ignored
7781
+ * `dismissed` - Dismissed
7782
+ * `failed` - Failed
7783
+ IntakeFile:
7784
+ type: object
7785
+ properties:
7786
+ id:
7787
+ type: string
7788
+ format: uuid
7789
+ readOnly: true
7790
+ filename:
7791
+ type: string
7792
+ readOnly: true
7793
+ mime:
7794
+ type: string
7795
+ readOnly: true
7796
+ inline:
7797
+ type: boolean
7798
+ readOnly: true
7799
+ archive:
7800
+ type: boolean
7801
+ readOnly: true
7802
+ sha256:
7803
+ type: string
7804
+ readOnly: true
7805
+ size:
7806
+ type: integer
7807
+ readOnly: true
7808
+ destination_path:
7809
+ type: string
7810
+ readOnly: true
7811
+ classification:
7812
+ readOnly: true
7813
+ preview_url:
7814
+ type: string
7815
+ readOnly: true
7816
+ required:
7817
+ - archive
7818
+ - classification
7819
+ - destination_path
7820
+ - filename
7821
+ - id
7822
+ - inline
7823
+ - mime
7824
+ - preview_url
7825
+ - sha256
7826
+ - size
7476
7827
  IntegrationConnection:
7477
7828
  type: object
7478
7829
  description: |-
@@ -8313,6 +8664,29 @@ components:
8313
8664
  type: array
8314
8665
  items:
8315
8666
  $ref: '#/components/schemas/Extraction'
8667
+ PaginatedIntakeBatchList:
8668
+ type: object
8669
+ required:
8670
+ - count
8671
+ - results
8672
+ properties:
8673
+ count:
8674
+ type: integer
8675
+ example: 123
8676
+ next:
8677
+ type: string
8678
+ nullable: true
8679
+ format: uri
8680
+ example: http://api.example.org/accounts/?offset=400&limit=100
8681
+ previous:
8682
+ type: string
8683
+ nullable: true
8684
+ format: uri
8685
+ example: http://api.example.org/accounts/?offset=200&limit=100
8686
+ results:
8687
+ type: array
8688
+ items:
8689
+ $ref: '#/components/schemas/IntakeBatch'
8316
8690
  PaginatedLinkList:
8317
8691
  type: object
8318
8692
  required:
@@ -161,6 +161,43 @@ 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 availability retrieve
165
+
166
+ GET /api/closeout-intake/batches/availability/
167
+
168
+ Options:
169
+ - `--workspace`
170
+
171
+ ### current closeout-intake batches confirm create <id>
172
+
173
+ POST /api/closeout-intake/batches/{id}/confirm/
174
+
175
+ Options:
176
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
177
+
178
+ ### current closeout-intake batches dismiss create <id>
179
+
180
+ POST /api/closeout-intake/batches/{id}/dismiss/
181
+
182
+ ### current closeout-intake batches list
183
+
184
+ GET /api/closeout-intake/batches/
185
+
186
+ Options:
187
+ - `--limit` - Number of results to return per page.
188
+ - `--offset` - The initial index from which to return the results.
189
+ - `--queue`
190
+ - `--status`
191
+ - `--workspace`
192
+
193
+ ### current closeout-intake batches retrieve <id>
194
+
195
+ GET /api/closeout-intake/batches/{id}/
196
+
197
+ ### current closeout-intake batches retry create <id>
198
+
199
+ POST /api/closeout-intake/batches/{id}/retry/
200
+
164
201
  ### current config get <key>
165
202
 
166
203
  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.69"
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