|
|
|
|
@@ -157,7 +157,6 @@ export type BucketSetInputGql = {
|
|
|
|
|
|
|
|
|
|
export type CameraClaimSession = {
|
|
|
|
|
__typename?: "CameraClaimSession";
|
|
|
|
|
agreedTermsVersion?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
camera: PoolHallCamera;
|
|
|
|
|
cameraId: Scalars["ID"]["output"];
|
|
|
|
|
challengeCode: Scalars["String"]["output"];
|
|
|
|
|
@@ -285,8 +284,6 @@ export type CreateCustomerPortalSessionResultGql = {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreatePoolHallCameraInput = {
|
|
|
|
|
allowsPrivateVideos?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
claimTermsText?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
name: Scalars["String"]["input"];
|
|
|
|
|
pocketSize?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
poolHallId: Scalars["ID"]["input"];
|
|
|
|
|
@@ -297,11 +294,9 @@ export type CreatePoolHallCameraInput = {
|
|
|
|
|
|
|
|
|
|
export type CreatePoolHallInput = {
|
|
|
|
|
address?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
city?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
latitude?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
longitude?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
name: Scalars["String"]["input"];
|
|
|
|
|
state?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
timezone?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -2431,6 +2426,13 @@ export type IntPoint2DInput = {
|
|
|
|
|
y: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type LiveTableStateGql = {
|
|
|
|
|
__typename?: "LiveTableStateGQL";
|
|
|
|
|
frameIndex: Scalars["Int"]["output"];
|
|
|
|
|
tableState: TableStateGql;
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MakePercentageIntervalGql = {
|
|
|
|
|
__typename?: "MakePercentageIntervalGQL";
|
|
|
|
|
elapsedTime: Scalars["Float"]["output"];
|
|
|
|
|
@@ -2566,7 +2568,6 @@ export type MutationCreateBucketSetArgs = {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCreateCameraClaimSessionArgs = {
|
|
|
|
|
agreedTermsVersion?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
cameraId: Scalars["ID"]["input"];
|
|
|
|
|
durationMinutes?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
@@ -2953,13 +2954,11 @@ export type PocketingIntentionInfoGql = {
|
|
|
|
|
export type PoolHall = {
|
|
|
|
|
__typename?: "PoolHall";
|
|
|
|
|
address?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
city?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
createdAt: Scalars["DateTime"]["output"];
|
|
|
|
|
id: Scalars["ID"]["output"];
|
|
|
|
|
latitude?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
longitude?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
name: Scalars["String"]["output"];
|
|
|
|
|
state?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
status: Scalars["String"]["output"];
|
|
|
|
|
timezone?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
updatedAt: Scalars["DateTime"]["output"];
|
|
|
|
|
@@ -2967,9 +2966,6 @@ export type PoolHall = {
|
|
|
|
|
|
|
|
|
|
export type PoolHallCamera = {
|
|
|
|
|
__typename?: "PoolHallCamera";
|
|
|
|
|
allowsPrivateVideos: Scalars["Boolean"]["output"];
|
|
|
|
|
claimTermsText?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
claimTermsVersion?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
createdAt: Scalars["DateTime"]["output"];
|
|
|
|
|
id: Scalars["ID"]["output"];
|
|
|
|
|
inUse: Scalars["Boolean"]["output"];
|
|
|
|
|
@@ -3040,6 +3036,7 @@ export type Query = {
|
|
|
|
|
getDrillRunLeaderboard: DrillRunLeaderboardGql;
|
|
|
|
|
getFeedVideos: VideoHistoryGql;
|
|
|
|
|
getGameTypeTagMetrics: Array<GameTypeTagMetric>;
|
|
|
|
|
getLiveTableState: LiveTableStateGql;
|
|
|
|
|
getLoggedInUser?: Maybe<UserGql>;
|
|
|
|
|
getLongestRunsLeaderboard: RunLeaderboardGql;
|
|
|
|
|
getMakesLeaderboard: CountLeaderboardGql;
|
|
|
|
|
@@ -3144,6 +3141,10 @@ export type QueryGetGameTypeTagMetricsArgs = {
|
|
|
|
|
input: GameTypeTagMetricsInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetLiveTableStateArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetLongestRunsLeaderboardArgs = {
|
|
|
|
|
interval?: InputMaybe<TimeInterval>;
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
@@ -3832,8 +3833,6 @@ export type UpdateAnnotationInputGql = {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UpdatePoolHallCameraInput = {
|
|
|
|
|
allowsPrivateVideos?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
claimTermsText?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
id: Scalars["ID"]["input"];
|
|
|
|
|
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
pocketSize?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
@@ -3844,12 +3843,10 @@ export type UpdatePoolHallCameraInput = {
|
|
|
|
|
|
|
|
|
|
export type UpdatePoolHallInput = {
|
|
|
|
|
address?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
city?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
id: Scalars["ID"]["input"];
|
|
|
|
|
latitude?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
longitude?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
state?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
status?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
timezone?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
@@ -5116,6 +5113,43 @@ export type GetMyDrillRunsQuery = {
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetLiveStreamsQueryVariables = Exact<{
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetLiveStreamsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getFeedVideos: {
|
|
|
|
|
__typename?: "VideoHistoryGQL";
|
|
|
|
|
videos: Array<{
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
name?: string | null;
|
|
|
|
|
startTime?: any | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
screenshotUri?: string | null;
|
|
|
|
|
elapsedTime?: number | null;
|
|
|
|
|
owner?: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
username: string;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
lastSegmentUploadedAt?: any | null;
|
|
|
|
|
} | null;
|
|
|
|
|
}>;
|
|
|
|
|
pageInfo: {
|
|
|
|
|
__typename?: "PageInfoGQL";
|
|
|
|
|
hasNextPage: boolean;
|
|
|
|
|
endCursor?: string | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetVideoMakePercentageIntervalsQueryVariables = Exact<{
|
|
|
|
|
videoId: Scalars["ID"]["input"];
|
|
|
|
|
intervalDuration: Scalars["Int"]["input"];
|
|
|
|
|
@@ -5549,8 +5583,6 @@ export type PoolHallFieldsFragment = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -5569,9 +5601,6 @@ export type PoolHallCameraFieldsFragment = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -5589,9 +5618,6 @@ export type PoolHallCameraWithHallFieldsFragment = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -5602,8 +5628,6 @@ export type PoolHallCameraWithHallFieldsFragment = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -5627,9 +5651,6 @@ export type PoolHallCameraStreamCredentialsFieldsFragment = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -5640,8 +5661,6 @@ export type PoolHallCameraStreamCredentialsFieldsFragment = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -5663,7 +5682,6 @@ export type CameraClaimSessionFieldsFragment = {
|
|
|
|
|
detectedAt?: any | null;
|
|
|
|
|
failedAt?: any | null;
|
|
|
|
|
failureReason?: string | null;
|
|
|
|
|
agreedTermsVersion?: number | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
@@ -5676,9 +5694,6 @@ export type CameraClaimSessionFieldsFragment = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -5689,8 +5704,6 @@ export type CameraClaimSessionFieldsFragment = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -5725,9 +5738,6 @@ export type CameraLeaseFieldsFragment = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -5738,8 +5748,6 @@ export type CameraLeaseFieldsFragment = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -5759,8 +5767,6 @@ export type GetPoolHallsQuery = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -5781,8 +5787,6 @@ export type GetClaimablePoolHallsQuery = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -5808,9 +5812,6 @@ export type GetPoolHallCamerasQuery = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -5821,8 +5822,6 @@ export type GetPoolHallCamerasQuery = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -5849,9 +5848,6 @@ export type GetClaimableCamerasQuery = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -5862,8 +5858,6 @@ export type GetClaimableCamerasQuery = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -5891,7 +5885,6 @@ export type GetCameraClaimSessionQuery = {
|
|
|
|
|
detectedAt?: any | null;
|
|
|
|
|
failedAt?: any | null;
|
|
|
|
|
failureReason?: string | null;
|
|
|
|
|
agreedTermsVersion?: number | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
@@ -5904,9 +5897,6 @@ export type GetCameraClaimSessionQuery = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -5917,8 +5907,6 @@ export type GetCameraClaimSessionQuery = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -5960,9 +5948,6 @@ export type GetActiveCameraLeaseQuery = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -5973,8 +5958,6 @@ export type GetActiveCameraLeaseQuery = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -5997,8 +5980,6 @@ export type CreatePoolHallMutation = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -6019,8 +6000,6 @@ export type UpdatePoolHallMutation = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -6050,9 +6029,6 @@ export type CreatePoolHallCameraMutation = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -6063,8 +6039,6 @@ export type CreatePoolHallCameraMutation = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -6092,9 +6066,6 @@ export type UpdatePoolHallCameraMutation = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -6105,8 +6076,6 @@ export type UpdatePoolHallCameraMutation = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -6137,9 +6106,6 @@ export type RotatePoolHallCameraStreamKeyMutation = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -6150,8 +6116,6 @@ export type RotatePoolHallCameraStreamKeyMutation = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -6168,7 +6132,6 @@ export type CreateCameraClaimSessionMutationVariables = Exact<{
|
|
|
|
|
durationMinutes?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
videoPrivate?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
agreedTermsVersion?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type CreateCameraClaimSessionMutation = {
|
|
|
|
|
@@ -6184,7 +6147,6 @@ export type CreateCameraClaimSessionMutation = {
|
|
|
|
|
detectedAt?: any | null;
|
|
|
|
|
failedAt?: any | null;
|
|
|
|
|
failureReason?: string | null;
|
|
|
|
|
agreedTermsVersion?: number | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
@@ -6197,9 +6159,6 @@ export type CreateCameraClaimSessionMutation = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -6210,8 +6169,6 @@ export type CreateCameraClaimSessionMutation = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -6240,7 +6197,6 @@ export type CancelCameraClaimSessionMutation = {
|
|
|
|
|
detectedAt?: any | null;
|
|
|
|
|
failedAt?: any | null;
|
|
|
|
|
failureReason?: string | null;
|
|
|
|
|
agreedTermsVersion?: number | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
@@ -6253,9 +6209,6 @@ export type CancelCameraClaimSessionMutation = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -6266,8 +6219,6 @@ export type CancelCameraClaimSessionMutation = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -6309,9 +6260,6 @@ export type EndCameraLeaseMutation = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -6322,8 +6270,6 @@ export type EndCameraLeaseMutation = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -6366,9 +6312,6 @@ export type ExtendCameraLeaseMutation = {
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
@@ -6379,8 +6322,6 @@ export type ExtendCameraLeaseMutation = {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -6612,6 +6553,51 @@ export type GetTableStateQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetLiveTableStateQueryVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetLiveTableStateQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getLiveTableState: {
|
|
|
|
|
__typename?: "LiveTableStateGQL";
|
|
|
|
|
videoId: number;
|
|
|
|
|
frameIndex: number;
|
|
|
|
|
tableState: {
|
|
|
|
|
__typename?: "TableStateGQL";
|
|
|
|
|
identifierToPosition: Array<Array<number>>;
|
|
|
|
|
homography?: {
|
|
|
|
|
__typename?: "HomographyInfoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
frameIndex: number;
|
|
|
|
|
crop: {
|
|
|
|
|
__typename?: "BoundingBoxGQL";
|
|
|
|
|
left: number;
|
|
|
|
|
top: number;
|
|
|
|
|
width: number;
|
|
|
|
|
height: number;
|
|
|
|
|
};
|
|
|
|
|
pockets: Array<{
|
|
|
|
|
__typename?: "BoundingBoxGQL";
|
|
|
|
|
left: number;
|
|
|
|
|
top: number;
|
|
|
|
|
width: number;
|
|
|
|
|
height: number;
|
|
|
|
|
}>;
|
|
|
|
|
sourcePoints: {
|
|
|
|
|
__typename?: "PocketPointsGQL";
|
|
|
|
|
topLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
topSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
topRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
};
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SimulateShotQueryVariables = Exact<{
|
|
|
|
|
simulationInput: SimulateShotInputGql;
|
|
|
|
|
}>;
|
|
|
|
|
@@ -8711,9 +8697,6 @@ export const PoolHallCameraFieldsFragmentDoc = gql`
|
|
|
|
|
status
|
|
|
|
|
tableSize
|
|
|
|
|
pocketSize
|
|
|
|
|
allowsPrivateVideos
|
|
|
|
|
claimTermsText
|
|
|
|
|
claimTermsVersion
|
|
|
|
|
inUse
|
|
|
|
|
lastPublishedAt
|
|
|
|
|
lastUnpublishedAt
|
|
|
|
|
@@ -8726,8 +8709,6 @@ export const PoolHallFieldsFragmentDoc = gql`
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
address
|
|
|
|
|
city
|
|
|
|
|
state
|
|
|
|
|
latitude
|
|
|
|
|
longitude
|
|
|
|
|
timezone
|
|
|
|
|
@@ -8767,7 +8748,6 @@ export const CameraClaimSessionFieldsFragmentDoc = gql`
|
|
|
|
|
detectedAt
|
|
|
|
|
failedAt
|
|
|
|
|
failureReason
|
|
|
|
|
agreedTermsVersion
|
|
|
|
|
createdAt
|
|
|
|
|
updatedAt
|
|
|
|
|
camera {
|
|
|
|
|
@@ -11500,6 +11480,105 @@ export type GetMyDrillRunsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetMyDrillRunsQuery,
|
|
|
|
|
GetMyDrillRunsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetLiveStreamsDocument = gql`
|
|
|
|
|
query GetLiveStreams($limit: Int! = 25) {
|
|
|
|
|
getFeedVideos(
|
|
|
|
|
limit: $limit
|
|
|
|
|
filters: { isStreamCompleted: false, requireCursorCompletion: false }
|
|
|
|
|
includePrivate: MINE
|
|
|
|
|
feedInput: { allUsers: true }
|
|
|
|
|
) {
|
|
|
|
|
videos {
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
startTime
|
|
|
|
|
createdAt
|
|
|
|
|
screenshotUri
|
|
|
|
|
elapsedTime
|
|
|
|
|
owner {
|
|
|
|
|
id
|
|
|
|
|
username
|
|
|
|
|
profileImageUri
|
|
|
|
|
}
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
isCompleted
|
|
|
|
|
lastSegmentUploadedAt
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
pageInfo {
|
|
|
|
|
hasNextPage
|
|
|
|
|
endCursor
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetLiveStreamsQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetLiveStreamsQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetLiveStreamsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
|
|
|
* you can use to render your UI.
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const { data, loading, error } = useGetLiveStreamsQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* limit: // value for 'limit'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetLiveStreamsQuery(
|
|
|
|
|
baseOptions?: Apollo.QueryHookOptions<
|
|
|
|
|
GetLiveStreamsQuery,
|
|
|
|
|
GetLiveStreamsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<GetLiveStreamsQuery, GetLiveStreamsQueryVariables>(
|
|
|
|
|
GetLiveStreamsDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export function useGetLiveStreamsLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetLiveStreamsQuery,
|
|
|
|
|
GetLiveStreamsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<GetLiveStreamsQuery, GetLiveStreamsQueryVariables>(
|
|
|
|
|
GetLiveStreamsDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export function useGetLiveStreamsSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetLiveStreamsQuery,
|
|
|
|
|
GetLiveStreamsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetLiveStreamsQuery,
|
|
|
|
|
GetLiveStreamsQueryVariables
|
|
|
|
|
>(GetLiveStreamsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetLiveStreamsQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetLiveStreamsQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetLiveStreamsLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetLiveStreamsLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetLiveStreamsSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetLiveStreamsSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetLiveStreamsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetLiveStreamsQuery,
|
|
|
|
|
GetLiveStreamsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetVideoMakePercentageIntervalsDocument = gql`
|
|
|
|
|
query GetVideoMakePercentageIntervals(
|
|
|
|
|
$videoId: ID!
|
|
|
|
|
@@ -13349,14 +13428,12 @@ export const CreateCameraClaimSessionDocument = gql`
|
|
|
|
|
$durationMinutes: Int
|
|
|
|
|
$videoName: String
|
|
|
|
|
$videoPrivate: Boolean
|
|
|
|
|
$agreedTermsVersion: Int
|
|
|
|
|
) {
|
|
|
|
|
createCameraClaimSession(
|
|
|
|
|
cameraId: $cameraId
|
|
|
|
|
durationMinutes: $durationMinutes
|
|
|
|
|
videoName: $videoName
|
|
|
|
|
videoPrivate: $videoPrivate
|
|
|
|
|
agreedTermsVersion: $agreedTermsVersion
|
|
|
|
|
) {
|
|
|
|
|
...CameraClaimSessionFields
|
|
|
|
|
}
|
|
|
|
|
@@ -13385,7 +13462,6 @@ export type CreateCameraClaimSessionMutationFn = Apollo.MutationFunction<
|
|
|
|
|
* durationMinutes: // value for 'durationMinutes'
|
|
|
|
|
* videoName: // value for 'videoName'
|
|
|
|
|
* videoPrivate: // value for 'videoPrivate'
|
|
|
|
|
* agreedTermsVersion: // value for 'agreedTermsVersion'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
@@ -14026,6 +14102,87 @@ export type GetTableStateQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetTableStateQuery,
|
|
|
|
|
GetTableStateQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetLiveTableStateDocument = gql`
|
|
|
|
|
query GetLiveTableState($videoId: Int!) {
|
|
|
|
|
getLiveTableState(videoId: $videoId) {
|
|
|
|
|
videoId
|
|
|
|
|
frameIndex
|
|
|
|
|
tableState {
|
|
|
|
|
identifierToPosition
|
|
|
|
|
homography {
|
|
|
|
|
...HomographyInfo
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${HomographyInfoFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetLiveTableStateQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetLiveTableStateQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetLiveTableStateQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
|
|
|
* you can use to render your UI.
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const { data, loading, error } = useGetLiveTableStateQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoId: // value for 'videoId'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetLiveTableStateQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
GetLiveTableStateQuery,
|
|
|
|
|
GetLiveTableStateQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
GetLiveTableStateQuery,
|
|
|
|
|
GetLiveTableStateQueryVariables
|
|
|
|
|
>(GetLiveTableStateDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetLiveTableStateLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetLiveTableStateQuery,
|
|
|
|
|
GetLiveTableStateQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetLiveTableStateQuery,
|
|
|
|
|
GetLiveTableStateQueryVariables
|
|
|
|
|
>(GetLiveTableStateDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetLiveTableStateSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetLiveTableStateQuery,
|
|
|
|
|
GetLiveTableStateQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetLiveTableStateQuery,
|
|
|
|
|
GetLiveTableStateQueryVariables
|
|
|
|
|
>(GetLiveTableStateDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetLiveTableStateQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetLiveTableStateQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetLiveTableStateLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetLiveTableStateLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetLiveTableStateSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetLiveTableStateSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetLiveTableStateQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetLiveTableStateQuery,
|
|
|
|
|
GetLiveTableStateQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const SimulateShotDocument = gql`
|
|
|
|
|
query SimulateShot($simulationInput: SimulateShotInputGQL!) {
|
|
|
|
|
simulateShot(simulationInput: $simulationInput) {
|
|
|
|
|
|