current-cli 0.1.80__tar.gz → 0.1.82__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.80
3
+ Version: 0.1.82
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
@@ -2860,6 +2860,210 @@ paths:
2860
2860
  schema:
2861
2861
  $ref: '#/components/schemas/CloseoutQueueResponse'
2862
2862
  description: ''
2863
+ /api/projects/projects/compare-cohorts/:
2864
+ post:
2865
+ operationId: projects_projects_compare_cohorts_create
2866
+ description: Compare complete recorded identity sets at one snapshot without
2867
+ writing state.
2868
+ tags:
2869
+ - projects
2870
+ requestBody:
2871
+ content:
2872
+ application/json:
2873
+ schema:
2874
+ additionalProperties: false
2875
+ properties:
2876
+ as_of:
2877
+ default: request_time
2878
+ title: As Of
2879
+ type: string
2880
+ identity_field:
2881
+ title: Identity Field
2882
+ type: string
2883
+ a:
2884
+ additionalProperties: false
2885
+ properties:
2886
+ name:
2887
+ maxLength: 80
2888
+ minLength: 1
2889
+ title: Name
2890
+ type: string
2891
+ filters:
2892
+ items:
2893
+ additionalProperties: false
2894
+ properties:
2895
+ field:
2896
+ title: Field
2897
+ type: string
2898
+ target:
2899
+ enum:
2900
+ - as_of
2901
+ - compare_to
2902
+ - changed
2903
+ - delta_days
2904
+ - year_changed
2905
+ title: Target
2906
+ type: string
2907
+ op:
2908
+ enum:
2909
+ - eq
2910
+ - ne
2911
+ - in
2912
+ - not_in
2913
+ - lt
2914
+ - lte
2915
+ - gt
2916
+ - gte
2917
+ - is_empty
2918
+ - is_missing
2919
+ - is_set
2920
+ title: Op
2921
+ type: string
2922
+ value:
2923
+ anyOf:
2924
+ - type: string
2925
+ - type: integer
2926
+ - type: number
2927
+ - type: boolean
2928
+ - items:
2929
+ anyOf:
2930
+ - type: string
2931
+ - type: integer
2932
+ - type: number
2933
+ - type: boolean
2934
+ type: array
2935
+ - type: 'null'
2936
+ title: Value
2937
+ required:
2938
+ - field
2939
+ - target
2940
+ - op
2941
+ - value
2942
+ title: FieldPredicate
2943
+ type: object
2944
+ maxItems: 20
2945
+ title: Filters
2946
+ type: array
2947
+ required:
2948
+ - name
2949
+ title: NamedProjectCohort
2950
+ type: object
2951
+ b:
2952
+ additionalProperties: false
2953
+ properties:
2954
+ name:
2955
+ maxLength: 80
2956
+ minLength: 1
2957
+ title: Name
2958
+ type: string
2959
+ filters:
2960
+ items:
2961
+ additionalProperties: false
2962
+ properties:
2963
+ field:
2964
+ title: Field
2965
+ type: string
2966
+ target:
2967
+ enum:
2968
+ - as_of
2969
+ - compare_to
2970
+ - changed
2971
+ - delta_days
2972
+ - year_changed
2973
+ title: Target
2974
+ type: string
2975
+ op:
2976
+ enum:
2977
+ - eq
2978
+ - ne
2979
+ - in
2980
+ - not_in
2981
+ - lt
2982
+ - lte
2983
+ - gt
2984
+ - gte
2985
+ - is_empty
2986
+ - is_missing
2987
+ - is_set
2988
+ title: Op
2989
+ type: string
2990
+ value:
2991
+ anyOf:
2992
+ - type: string
2993
+ - type: integer
2994
+ - type: number
2995
+ - type: boolean
2996
+ - items:
2997
+ anyOf:
2998
+ - type: string
2999
+ - type: integer
3000
+ - type: number
3001
+ - type: boolean
3002
+ type: array
3003
+ - type: 'null'
3004
+ title: Value
3005
+ required:
3006
+ - field
3007
+ - target
3008
+ - op
3009
+ - value
3010
+ title: FieldPredicate
3011
+ type: object
3012
+ maxItems: 20
3013
+ title: Filters
3014
+ type: array
3015
+ required:
3016
+ - name
3017
+ title: NamedProjectCohort
3018
+ type: object
3019
+ region:
3020
+ anyOf:
3021
+ - enum:
3022
+ - a
3023
+ - b
3024
+ - intersection
3025
+ - union
3026
+ - a_only
3027
+ - b_only
3028
+ type: string
3029
+ - type: 'null'
3030
+ default: null
3031
+ title: Region
3032
+ limit:
3033
+ default: 20
3034
+ maximum: 50
3035
+ minimum: 1
3036
+ title: Limit
3037
+ type: integer
3038
+ cursor:
3039
+ anyOf:
3040
+ - maxLength: 24000
3041
+ minLength: 1
3042
+ type: string
3043
+ - type: 'null'
3044
+ default: null
3045
+ title: Cursor
3046
+ workspace:
3047
+ format: uuid
3048
+ title: Workspace
3049
+ type: string
3050
+ required:
3051
+ - identity_field
3052
+ - a
3053
+ - b
3054
+ - workspace
3055
+ title: CohortComparisonRequest
3056
+ type: object
3057
+ security:
3058
+ - MessagingJobTokenAuth: []
3059
+ - tokenAuth: []
3060
+ responses:
3061
+ '200':
3062
+ content:
3063
+ application/json:
3064
+ schema:
3065
+ $ref: '#/components/schemas/CohortComparisonResponse'
3066
+ description: ''
2863
3067
  /api/projects/projects/continue-query/:
2864
3068
  post:
2865
3069
  operationId: projects_projects_continue_query_create
@@ -2896,7 +3100,7 @@ paths:
2896
3100
  content:
2897
3101
  application/json:
2898
3102
  schema:
2899
- $ref: '#/components/schemas/FieldQueryResponse'
3103
+ $ref: '#/components/schemas/QueryContinuationResponse'
2900
3104
  description: ''
2901
3105
  /api/projects/projects/inventory/:
2902
3106
  get:
@@ -7133,6 +7337,114 @@ components:
7133
7337
  nullable: true
7134
7338
  required:
7135
7339
  - outcome
7340
+ CohortComparisonResponse:
7341
+ type: object
7342
+ properties:
7343
+ unit:
7344
+ type: string
7345
+ identity_field:
7346
+ type: string
7347
+ identity_verification:
7348
+ $ref: '#/components/schemas/IdentityVerificationEnum'
7349
+ timezone:
7350
+ type: string
7351
+ time_basis:
7352
+ type: string
7353
+ as_of:
7354
+ type: string
7355
+ format: date-time
7356
+ query_clock:
7357
+ type: string
7358
+ format: date-time
7359
+ cohorts:
7360
+ type: object
7361
+ additionalProperties:
7362
+ $ref: '#/components/schemas/CohortResult'
7363
+ sets:
7364
+ type: object
7365
+ additionalProperties:
7366
+ type: integer
7367
+ calculation:
7368
+ type: string
7369
+ coverage_complete:
7370
+ type: boolean
7371
+ coverage_scope:
7372
+ type: string
7373
+ region:
7374
+ type: string
7375
+ nullable: true
7376
+ roster_count:
7377
+ type: integer
7378
+ nullable: true
7379
+ items:
7380
+ type: array
7381
+ items:
7382
+ type: object
7383
+ additionalProperties:
7384
+ type: string
7385
+ next_cursor:
7386
+ type: string
7387
+ nullable: true
7388
+ next_token:
7389
+ type: string
7390
+ nullable: true
7391
+ required:
7392
+ - as_of
7393
+ - calculation
7394
+ - cohorts
7395
+ - coverage_complete
7396
+ - coverage_scope
7397
+ - identity_field
7398
+ - identity_verification
7399
+ - items
7400
+ - next_cursor
7401
+ - next_token
7402
+ - query_clock
7403
+ - region
7404
+ - roster_count
7405
+ - sets
7406
+ - time_basis
7407
+ - timezone
7408
+ - unit
7409
+ CohortCoverage:
7410
+ type: object
7411
+ properties:
7412
+ candidate_projects:
7413
+ type: integer
7414
+ confirmed_matches:
7415
+ type: integer
7416
+ unevaluable_projects:
7417
+ type: integer
7418
+ matching_projects_without_identity:
7419
+ type: integer
7420
+ complete:
7421
+ type: boolean
7422
+ required:
7423
+ - candidate_projects
7424
+ - complete
7425
+ - confirmed_matches
7426
+ - matching_projects_without_identity
7427
+ - unevaluable_projects
7428
+ CohortResult:
7429
+ type: object
7430
+ properties:
7431
+ name:
7432
+ type: string
7433
+ project_count:
7434
+ type: integer
7435
+ identity_count:
7436
+ type: integer
7437
+ normalized_filters:
7438
+ type: array
7439
+ items: {}
7440
+ coverage:
7441
+ $ref: '#/components/schemas/CohortCoverage'
7442
+ required:
7443
+ - coverage
7444
+ - identity_count
7445
+ - name
7446
+ - normalized_filters
7447
+ - project_count
7136
7448
  ColorEnum:
7137
7449
  enum:
7138
7450
  - neutral
@@ -8489,6 +8801,16 @@ components:
8489
8801
  required:
8490
8802
  - granted
8491
8803
  - wait_seconds
8804
+ IdentityVerificationEnum:
8805
+ enum:
8806
+ - source_identity
8807
+ - unmapped
8808
+ - unavailable
8809
+ type: string
8810
+ description: |-
8811
+ * `source_identity` - source_identity
8812
+ * `unmapped` - unmapped
8813
+ * `unavailable` - unavailable
8492
8814
  InboxRoleEnum:
8493
8815
  enum:
8494
8816
  - interaction
@@ -10318,6 +10640,10 @@ components:
10318
10640
  pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{0,79}$
10319
10641
  required:
10320
10642
  - batch_id
10643
+ QueryContinuationResponse:
10644
+ oneOf:
10645
+ - $ref: '#/components/schemas/FieldQueryResponse'
10646
+ - $ref: '#/components/schemas/CohortComparisonResponse'
10321
10647
  QueryFieldDescriptor:
10322
10648
  type: object
10323
10649
  properties:
@@ -10328,6 +10654,8 @@ components:
10328
10654
  type: string
10329
10655
  label:
10330
10656
  type: string
10657
+ description:
10658
+ type: string
10331
10659
  data_type:
10332
10660
  type: string
10333
10661
  is_array:
@@ -10341,6 +10669,7 @@ components:
10341
10669
  items: {}
10342
10670
  required:
10343
10671
  - data_type
10672
+ - description
10344
10673
  - id
10345
10674
  - is_array
10346
10675
  - key
@@ -819,6 +819,15 @@ Options:
819
819
  - `--status` - Which reviewed projects to keep: 'pending' (default) for the ones asking something of a person, 'clear' for the rest, 'all' for both. A project with no closeout review is absent at every status.
820
820
  - `--workspace` - Workspace UUID
821
821
 
822
+ ### current projects compare-cohorts create
823
+
824
+ Compare complete recorded identity sets at one snapshot without writing state.
825
+
826
+ POST /api/projects/projects/compare-cohorts/
827
+
828
+ Options:
829
+ - `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
830
+
822
831
  ### current projects continue-query create
823
832
 
824
833
  Continue a read-only project query without reconstructing arguments.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.80"
3
+ version = "0.1.82"
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