current-cli 0.1.11__tar.gz → 0.1.12__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.4
2
2
  Name: current-cli
3
- Version: 0.1.11
3
+ Version: 0.1.12
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
@@ -1665,7 +1665,7 @@ paths:
1665
1665
  content:
1666
1666
  application/json:
1667
1667
  schema:
1668
- $ref: '#/components/schemas/WorkflowRun'
1668
+ $ref: '#/components/schemas/WorkflowRunDetail'
1669
1669
  description: ''
1670
1670
  /api/workflows/runs/{id}/archive/:
1671
1671
  post:
@@ -3509,6 +3509,47 @@ components:
3509
3509
  - steps_state
3510
3510
  - trigger
3511
3511
  - workspace
3512
+ RunTrigger:
3513
+ type: object
3514
+ description: 'Why a run exists: trigger kind plus the triggering messages.'
3515
+ properties:
3516
+ kind:
3517
+ type: string
3518
+ conversation_key:
3519
+ type: string
3520
+ note:
3521
+ type: string
3522
+ observations:
3523
+ type: array
3524
+ items:
3525
+ $ref: '#/components/schemas/RunTriggerObservation'
3526
+ required:
3527
+ - conversation_key
3528
+ - kind
3529
+ - note
3530
+ - observations
3531
+ RunTriggerObservation:
3532
+ type: object
3533
+ description: One message that triggered a run, from its trigger context.
3534
+ properties:
3535
+ id:
3536
+ type: string
3537
+ format: uuid
3538
+ source:
3539
+ type: string
3540
+ sender:
3541
+ type: string
3542
+ body:
3543
+ type: string
3544
+ occurred_at:
3545
+ type: string
3546
+ format: date-time
3547
+ required:
3548
+ - body
3549
+ - id
3550
+ - occurred_at
3551
+ - sender
3552
+ - source
3512
3553
  SlackChannel:
3513
3554
  type: object
3514
3555
  properties:
@@ -4113,6 +4154,97 @@ components:
4113
4154
  nullable: true
4114
4155
  required:
4115
4156
  - definition
4157
+ WorkflowRunDetail:
4158
+ type: object
4159
+ description: |-
4160
+ Run detail shape: the list shape plus the structured trigger. Only
4161
+ the retrieve route pays the observation lookup; lists and the SSE
4162
+ snapshot stay thin.
4163
+ properties:
4164
+ id:
4165
+ type: string
4166
+ format: uuid
4167
+ readOnly: true
4168
+ workflow:
4169
+ type: string
4170
+ format: uuid
4171
+ readOnly: true
4172
+ nullable: true
4173
+ workflow_name:
4174
+ type: string
4175
+ readOnly: true
4176
+ definition:
4177
+ type: string
4178
+ format: uuid
4179
+ readOnly: true
4180
+ nullable: true
4181
+ project:
4182
+ type: string
4183
+ format: uuid
4184
+ readOnly: true
4185
+ nullable: true
4186
+ status:
4187
+ allOf:
4188
+ - $ref: '#/components/schemas/WorkflowRunStatusEnum'
4189
+ readOnly: true
4190
+ sandbox_id:
4191
+ type: string
4192
+ readOnly: true
4193
+ dispatched_at:
4194
+ type: string
4195
+ format: date-time
4196
+ readOnly: true
4197
+ nullable: true
4198
+ started_at:
4199
+ type: string
4200
+ format: date-time
4201
+ readOnly: true
4202
+ finished_at:
4203
+ type: string
4204
+ format: date-time
4205
+ readOnly: true
4206
+ nullable: true
4207
+ summary:
4208
+ type: string
4209
+ readOnly: true
4210
+ error:
4211
+ type: string
4212
+ readOnly: true
4213
+ archived:
4214
+ type: boolean
4215
+ readOnly: true
4216
+ archived_at:
4217
+ type: string
4218
+ format: date-time
4219
+ readOnly: true
4220
+ nullable: true
4221
+ transitions:
4222
+ type: array
4223
+ items:
4224
+ $ref: '#/components/schemas/StepTransition'
4225
+ readOnly: true
4226
+ trigger:
4227
+ allOf:
4228
+ - $ref: '#/components/schemas/RunTrigger'
4229
+ nullable: true
4230
+ readOnly: true
4231
+ required:
4232
+ - archived
4233
+ - archived_at
4234
+ - definition
4235
+ - dispatched_at
4236
+ - error
4237
+ - finished_at
4238
+ - id
4239
+ - project
4240
+ - sandbox_id
4241
+ - started_at
4242
+ - status
4243
+ - summary
4244
+ - transitions
4245
+ - trigger
4246
+ - workflow
4247
+ - workflow_name
4116
4248
  WorkflowRunStatusEnum:
4117
4249
  enum:
4118
4250
  - queued
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.11"
3
+ version = "0.1.12"
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
File without changes