diff --git a/src/index.tsx b/src/index.tsx index e7fdbca..9a41ba2 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1179,6 +1179,17 @@ export type PocketingIntentionFeaturesGql = { targetPocketDistance?: Maybe; }; +export enum ProcessingStatusEnum { + Created = "CREATED", + Failed = "FAILED", + Queued = "QUEUED", + ReextractingFeatures = "REEXTRACTING_FEATURES", + Running = "RUNNING", + Started = "STARTED", + Succeeded = "SUCCEEDED", + Suspended = "SUSPENDED", +} + export type Query = { __typename?: "Query"; getAggregatedShotMetrics: Array; @@ -1448,6 +1459,7 @@ export type VideoProcessingErrorGql = { export type VideoProcessingGql = { __typename?: "VideoProcessingGQL"; errors: Array; + status: ProcessingStatusEnum; }; export type VideoResolution = { diff --git a/src/schema.gql b/src/schema.gql index 05fe5d8..787ecea 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -353,6 +353,7 @@ type IntPoint2D { type VideoProcessingGQL { errors: [VideoProcessingErrorGQL!]! + status: ProcessingStatusEnum! } type VideoProcessingErrorGQL { @@ -361,6 +362,17 @@ type VideoProcessingErrorGQL { endSegmentIndex: Int } +enum ProcessingStatusEnum { + STARTED + FAILED + SUCCEEDED + SUSPENDED + CREATED + QUEUED + RUNNING + REEXTRACTING_FEATURES +} + input GetShotsPagination { createdAfter: CreatedAfter! startFrameAfter: Int!