current-cli 0.1.11__tar.gz → 0.1.13__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.
- {current_cli-0.1.11 → current_cli-0.1.13}/PKG-INFO +1 -1
- {current_cli-0.1.11 → current_cli-0.1.13}/current_cli/schema.yml +239 -1
- {current_cli-0.1.11 → current_cli-0.1.13}/llms.txt +6 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/pyproject.toml +1 -1
- {current_cli-0.1.11 → current_cli-0.1.13}/.gitignore +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/README.md +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/current_cli/__init__.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/current_cli/build.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/current_cli/config.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/current_cli/docs.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/current_cli/http.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/current_cli/main.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/current_cli/schema.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/scripts/bump_version.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/tests/__init__.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/tests/conftest.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/tests/test_auth.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/tests/test_docs.py +0 -0
- {current_cli-0.1.11 → current_cli-0.1.13}/tests/test_requests.py +0 -0
|
@@ -768,6 +768,29 @@ paths:
|
|
|
768
768
|
responses:
|
|
769
769
|
'204':
|
|
770
770
|
description: No response body
|
|
771
|
+
/api/projects/field-definitions/{id}/option_usage/:
|
|
772
|
+
get:
|
|
773
|
+
operationId: projects_field_definitions_option_usage_retrieve
|
|
774
|
+
description: Count projects whose current value uses each option on this field.
|
|
775
|
+
parameters:
|
|
776
|
+
- in: path
|
|
777
|
+
name: id
|
|
778
|
+
schema:
|
|
779
|
+
type: string
|
|
780
|
+
format: uuid
|
|
781
|
+
description: A UUID string identifying this project field definition.
|
|
782
|
+
required: true
|
|
783
|
+
tags:
|
|
784
|
+
- projects
|
|
785
|
+
security:
|
|
786
|
+
- tokenAuth: []
|
|
787
|
+
responses:
|
|
788
|
+
'200':
|
|
789
|
+
content:
|
|
790
|
+
application/json:
|
|
791
|
+
schema:
|
|
792
|
+
$ref: '#/components/schemas/OptionUsage'
|
|
793
|
+
description: ''
|
|
771
794
|
/api/projects/projects/:
|
|
772
795
|
get:
|
|
773
796
|
operationId: projects_projects_list
|
|
@@ -1665,7 +1688,7 @@ paths:
|
|
|
1665
1688
|
content:
|
|
1666
1689
|
application/json:
|
|
1667
1690
|
schema:
|
|
1668
|
-
$ref: '#/components/schemas/
|
|
1691
|
+
$ref: '#/components/schemas/WorkflowRunDetail'
|
|
1669
1692
|
description: ''
|
|
1670
1693
|
/api/workflows/runs/{id}/archive/:
|
|
1671
1694
|
post:
|
|
@@ -2736,6 +2759,12 @@ components:
|
|
|
2736
2759
|
format: uuid
|
|
2737
2760
|
written_by_email:
|
|
2738
2761
|
type: string
|
|
2762
|
+
written_by_name:
|
|
2763
|
+
type: string
|
|
2764
|
+
workflow_name:
|
|
2765
|
+
type: string
|
|
2766
|
+
workflow_id:
|
|
2767
|
+
type: string
|
|
2739
2768
|
created_at:
|
|
2740
2769
|
type: string
|
|
2741
2770
|
format: date-time
|
|
@@ -2748,8 +2777,11 @@ components:
|
|
|
2748
2777
|
- reason
|
|
2749
2778
|
- source
|
|
2750
2779
|
- value
|
|
2780
|
+
- workflow_id
|
|
2781
|
+
- workflow_name
|
|
2751
2782
|
- write_id
|
|
2752
2783
|
- written_by_email
|
|
2784
|
+
- written_by_name
|
|
2753
2785
|
FeedResponse:
|
|
2754
2786
|
type: object
|
|
2755
2787
|
properties:
|
|
@@ -2802,6 +2834,31 @@ components:
|
|
|
2802
2834
|
required:
|
|
2803
2835
|
- label
|
|
2804
2836
|
- value
|
|
2837
|
+
FieldProvenance:
|
|
2838
|
+
type: object
|
|
2839
|
+
properties:
|
|
2840
|
+
source:
|
|
2841
|
+
type: string
|
|
2842
|
+
written_by_email:
|
|
2843
|
+
type: string
|
|
2844
|
+
written_by_name:
|
|
2845
|
+
type: string
|
|
2846
|
+
workflow_name:
|
|
2847
|
+
type: string
|
|
2848
|
+
workflow_id:
|
|
2849
|
+
type: string
|
|
2850
|
+
run_id:
|
|
2851
|
+
type: string
|
|
2852
|
+
reason:
|
|
2853
|
+
type: string
|
|
2854
|
+
required:
|
|
2855
|
+
- reason
|
|
2856
|
+
- run_id
|
|
2857
|
+
- source
|
|
2858
|
+
- workflow_id
|
|
2859
|
+
- workflow_name
|
|
2860
|
+
- written_by_email
|
|
2861
|
+
- written_by_name
|
|
2805
2862
|
IntegrationConnection:
|
|
2806
2863
|
type: object
|
|
2807
2864
|
description: |-
|
|
@@ -3023,6 +3080,39 @@ components:
|
|
|
3023
3080
|
description: |-
|
|
3024
3081
|
* `pending` - Pending
|
|
3025
3082
|
* `ingested` - Ingested
|
|
3083
|
+
OptionMigration:
|
|
3084
|
+
type: object
|
|
3085
|
+
properties:
|
|
3086
|
+
from_option_id:
|
|
3087
|
+
type: string
|
|
3088
|
+
format: uuid
|
|
3089
|
+
to_option_id:
|
|
3090
|
+
type: string
|
|
3091
|
+
format: uuid
|
|
3092
|
+
required:
|
|
3093
|
+
- from_option_id
|
|
3094
|
+
- to_option_id
|
|
3095
|
+
OptionMigrationRequest:
|
|
3096
|
+
type: object
|
|
3097
|
+
properties:
|
|
3098
|
+
from_option_id:
|
|
3099
|
+
type: string
|
|
3100
|
+
format: uuid
|
|
3101
|
+
to_option_id:
|
|
3102
|
+
type: string
|
|
3103
|
+
format: uuid
|
|
3104
|
+
required:
|
|
3105
|
+
- from_option_id
|
|
3106
|
+
- to_option_id
|
|
3107
|
+
OptionUsage:
|
|
3108
|
+
type: object
|
|
3109
|
+
properties:
|
|
3110
|
+
counts:
|
|
3111
|
+
type: object
|
|
3112
|
+
additionalProperties:
|
|
3113
|
+
type: integer
|
|
3114
|
+
required:
|
|
3115
|
+
- counts
|
|
3026
3116
|
PatchedContactRequest:
|
|
3027
3117
|
type: object
|
|
3028
3118
|
properties:
|
|
@@ -3064,6 +3154,11 @@ components:
|
|
|
3064
3154
|
type: array
|
|
3065
3155
|
items:
|
|
3066
3156
|
$ref: '#/components/schemas/FieldOptionRequest'
|
|
3157
|
+
option_migrations:
|
|
3158
|
+
type: array
|
|
3159
|
+
items:
|
|
3160
|
+
$ref: '#/components/schemas/OptionMigrationRequest'
|
|
3161
|
+
writeOnly: true
|
|
3067
3162
|
PatchedProjectRequest:
|
|
3068
3163
|
type: object
|
|
3069
3164
|
properties:
|
|
@@ -3180,6 +3275,11 @@ components:
|
|
|
3180
3275
|
type: string
|
|
3181
3276
|
format: date-time
|
|
3182
3277
|
readOnly: true
|
|
3278
|
+
field_provenance:
|
|
3279
|
+
type: object
|
|
3280
|
+
additionalProperties:
|
|
3281
|
+
$ref: '#/components/schemas/FieldProvenance'
|
|
3282
|
+
readOnly: true
|
|
3183
3283
|
created_at:
|
|
3184
3284
|
type: string
|
|
3185
3285
|
format: date-time
|
|
@@ -3191,6 +3291,7 @@ components:
|
|
|
3191
3291
|
required:
|
|
3192
3292
|
- created_at
|
|
3193
3293
|
- field_freshness
|
|
3294
|
+
- field_provenance
|
|
3194
3295
|
- id
|
|
3195
3296
|
- updated_at
|
|
3196
3297
|
- workspace
|
|
@@ -3261,6 +3362,11 @@ components:
|
|
|
3261
3362
|
type: array
|
|
3262
3363
|
items:
|
|
3263
3364
|
$ref: '#/components/schemas/FieldOptionRequest'
|
|
3365
|
+
option_migrations:
|
|
3366
|
+
type: array
|
|
3367
|
+
items:
|
|
3368
|
+
$ref: '#/components/schemas/OptionMigrationRequest'
|
|
3369
|
+
writeOnly: true
|
|
3264
3370
|
required:
|
|
3265
3371
|
- data_type
|
|
3266
3372
|
- key
|
|
@@ -3509,6 +3615,47 @@ components:
|
|
|
3509
3615
|
- steps_state
|
|
3510
3616
|
- trigger
|
|
3511
3617
|
- workspace
|
|
3618
|
+
RunTrigger:
|
|
3619
|
+
type: object
|
|
3620
|
+
description: 'Why a run exists: trigger kind plus the triggering messages.'
|
|
3621
|
+
properties:
|
|
3622
|
+
kind:
|
|
3623
|
+
type: string
|
|
3624
|
+
conversation_key:
|
|
3625
|
+
type: string
|
|
3626
|
+
note:
|
|
3627
|
+
type: string
|
|
3628
|
+
observations:
|
|
3629
|
+
type: array
|
|
3630
|
+
items:
|
|
3631
|
+
$ref: '#/components/schemas/RunTriggerObservation'
|
|
3632
|
+
required:
|
|
3633
|
+
- conversation_key
|
|
3634
|
+
- kind
|
|
3635
|
+
- note
|
|
3636
|
+
- observations
|
|
3637
|
+
RunTriggerObservation:
|
|
3638
|
+
type: object
|
|
3639
|
+
description: One message that triggered a run, from its trigger context.
|
|
3640
|
+
properties:
|
|
3641
|
+
id:
|
|
3642
|
+
type: string
|
|
3643
|
+
format: uuid
|
|
3644
|
+
source:
|
|
3645
|
+
type: string
|
|
3646
|
+
sender:
|
|
3647
|
+
type: string
|
|
3648
|
+
body:
|
|
3649
|
+
type: string
|
|
3650
|
+
occurred_at:
|
|
3651
|
+
type: string
|
|
3652
|
+
format: date-time
|
|
3653
|
+
required:
|
|
3654
|
+
- body
|
|
3655
|
+
- id
|
|
3656
|
+
- occurred_at
|
|
3657
|
+
- sender
|
|
3658
|
+
- source
|
|
3512
3659
|
SlackChannel:
|
|
3513
3660
|
type: object
|
|
3514
3661
|
properties:
|
|
@@ -4113,6 +4260,97 @@ components:
|
|
|
4113
4260
|
nullable: true
|
|
4114
4261
|
required:
|
|
4115
4262
|
- definition
|
|
4263
|
+
WorkflowRunDetail:
|
|
4264
|
+
type: object
|
|
4265
|
+
description: |-
|
|
4266
|
+
Run detail shape: the list shape plus the structured trigger. Only
|
|
4267
|
+
the retrieve route pays the observation lookup; lists and the SSE
|
|
4268
|
+
snapshot stay thin.
|
|
4269
|
+
properties:
|
|
4270
|
+
id:
|
|
4271
|
+
type: string
|
|
4272
|
+
format: uuid
|
|
4273
|
+
readOnly: true
|
|
4274
|
+
workflow:
|
|
4275
|
+
type: string
|
|
4276
|
+
format: uuid
|
|
4277
|
+
readOnly: true
|
|
4278
|
+
nullable: true
|
|
4279
|
+
workflow_name:
|
|
4280
|
+
type: string
|
|
4281
|
+
readOnly: true
|
|
4282
|
+
definition:
|
|
4283
|
+
type: string
|
|
4284
|
+
format: uuid
|
|
4285
|
+
readOnly: true
|
|
4286
|
+
nullable: true
|
|
4287
|
+
project:
|
|
4288
|
+
type: string
|
|
4289
|
+
format: uuid
|
|
4290
|
+
readOnly: true
|
|
4291
|
+
nullable: true
|
|
4292
|
+
status:
|
|
4293
|
+
allOf:
|
|
4294
|
+
- $ref: '#/components/schemas/WorkflowRunStatusEnum'
|
|
4295
|
+
readOnly: true
|
|
4296
|
+
sandbox_id:
|
|
4297
|
+
type: string
|
|
4298
|
+
readOnly: true
|
|
4299
|
+
dispatched_at:
|
|
4300
|
+
type: string
|
|
4301
|
+
format: date-time
|
|
4302
|
+
readOnly: true
|
|
4303
|
+
nullable: true
|
|
4304
|
+
started_at:
|
|
4305
|
+
type: string
|
|
4306
|
+
format: date-time
|
|
4307
|
+
readOnly: true
|
|
4308
|
+
finished_at:
|
|
4309
|
+
type: string
|
|
4310
|
+
format: date-time
|
|
4311
|
+
readOnly: true
|
|
4312
|
+
nullable: true
|
|
4313
|
+
summary:
|
|
4314
|
+
type: string
|
|
4315
|
+
readOnly: true
|
|
4316
|
+
error:
|
|
4317
|
+
type: string
|
|
4318
|
+
readOnly: true
|
|
4319
|
+
archived:
|
|
4320
|
+
type: boolean
|
|
4321
|
+
readOnly: true
|
|
4322
|
+
archived_at:
|
|
4323
|
+
type: string
|
|
4324
|
+
format: date-time
|
|
4325
|
+
readOnly: true
|
|
4326
|
+
nullable: true
|
|
4327
|
+
transitions:
|
|
4328
|
+
type: array
|
|
4329
|
+
items:
|
|
4330
|
+
$ref: '#/components/schemas/StepTransition'
|
|
4331
|
+
readOnly: true
|
|
4332
|
+
trigger:
|
|
4333
|
+
allOf:
|
|
4334
|
+
- $ref: '#/components/schemas/RunTrigger'
|
|
4335
|
+
nullable: true
|
|
4336
|
+
readOnly: true
|
|
4337
|
+
required:
|
|
4338
|
+
- archived
|
|
4339
|
+
- archived_at
|
|
4340
|
+
- definition
|
|
4341
|
+
- dispatched_at
|
|
4342
|
+
- error
|
|
4343
|
+
- finished_at
|
|
4344
|
+
- id
|
|
4345
|
+
- project
|
|
4346
|
+
- sandbox_id
|
|
4347
|
+
- started_at
|
|
4348
|
+
- status
|
|
4349
|
+
- summary
|
|
4350
|
+
- transitions
|
|
4351
|
+
- trigger
|
|
4352
|
+
- workflow
|
|
4353
|
+
- workflow_name
|
|
4116
4354
|
WorkflowRunStatusEnum:
|
|
4117
4355
|
enum:
|
|
4118
4356
|
- queued
|
|
@@ -294,6 +294,12 @@ GET /api/projects/field-definitions/
|
|
|
294
294
|
Options:
|
|
295
295
|
- `--workspace` - Filter by workspace UUID
|
|
296
296
|
|
|
297
|
+
### current projects field-definitions option_usage retrieve <id>
|
|
298
|
+
|
|
299
|
+
Count projects whose current value uses each option on this field.
|
|
300
|
+
|
|
301
|
+
GET /api/projects/field-definitions/{id}/option_usage/
|
|
302
|
+
|
|
297
303
|
### current projects field-definitions partial-update <id>
|
|
298
304
|
|
|
299
305
|
Workspace-level custom field definitions. Only admins can mutate.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|