|
|
|
|
@@ -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,23 +284,17 @@ 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"];
|
|
|
|
|
streamPath?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
tableLabel?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
tableSize?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -2502,9 +2495,7 @@ export type Mutation = {
|
|
|
|
|
editShot: EditShotReturn;
|
|
|
|
|
editUploadStream: Scalars["Boolean"]["output"];
|
|
|
|
|
editUser: UserGql;
|
|
|
|
|
endCameraLease: CameraLease;
|
|
|
|
|
ensureStripeCustomerExists: UserGql;
|
|
|
|
|
extendCameraLease: CameraLease;
|
|
|
|
|
finalizePlayerAssignments: Array<PlayerClusterGql>;
|
|
|
|
|
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
|
|
|
|
followUser: UserGql;
|
|
|
|
|
@@ -2566,12 +2557,7 @@ export type MutationCreateBucketSetArgs = {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCreateCameraClaimSessionArgs = {
|
|
|
|
|
agreedTermsVersion?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
cameraId: Scalars["ID"]["input"];
|
|
|
|
|
durationMinutes?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
tags?: InputMaybe<Array<VideoTagInput>>;
|
|
|
|
|
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
videoPrivate?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCreateChallengeArgs = {
|
|
|
|
|
@@ -2659,15 +2645,6 @@ export type MutationEditUserArgs = {
|
|
|
|
|
input: EditUserInputGql;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationEndCameraLeaseArgs = {
|
|
|
|
|
leaseId: Scalars["ID"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationExtendCameraLeaseArgs = {
|
|
|
|
|
additionalMinutes?: Scalars["Int"]["input"];
|
|
|
|
|
leaseId: Scalars["ID"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationFinalizePlayerAssignmentsArgs = {
|
|
|
|
|
input: FinalizePlayerAssignmentsInput;
|
|
|
|
|
};
|
|
|
|
|
@@ -2954,13 +2931,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"];
|
|
|
|
|
@@ -2968,22 +2943,16 @@ 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"];
|
|
|
|
|
lastPublishedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
lastUnpublishedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
name: Scalars["String"]["output"];
|
|
|
|
|
pocketSize?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
poolHall: PoolHall;
|
|
|
|
|
poolHallId: Scalars["ID"]["output"];
|
|
|
|
|
status: Scalars["String"]["output"];
|
|
|
|
|
streamPath: Scalars["String"]["output"];
|
|
|
|
|
tableLabel?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
tableSize?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
updatedAt: Scalars["DateTime"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -3833,24 +3802,18 @@ 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"]>;
|
|
|
|
|
status?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
tableLabel?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
tableSize?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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"]>;
|
|
|
|
|
};
|
|
|
|
|
@@ -5550,8 +5513,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;
|
|
|
|
|
@@ -5568,12 +5529,6 @@ export type PoolHallCameraFieldsFragment = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -5588,12 +5543,6 @@ export type PoolHallCameraWithHallFieldsFragment = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -5603,8 +5552,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;
|
|
|
|
|
@@ -5626,12 +5573,6 @@ export type PoolHallCameraStreamCredentialsFieldsFragment = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -5641,8 +5582,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;
|
|
|
|
|
@@ -5664,7 +5603,6 @@ export type CameraClaimSessionFieldsFragment = {
|
|
|
|
|
detectedAt?: any | null;
|
|
|
|
|
failedAt?: any | null;
|
|
|
|
|
failureReason?: string | null;
|
|
|
|
|
agreedTermsVersion?: number | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
@@ -5675,12 +5613,6 @@ export type CameraClaimSessionFieldsFragment = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -5690,8 +5622,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;
|
|
|
|
|
@@ -5724,12 +5654,6 @@ export type CameraLeaseFieldsFragment = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -5739,8 +5663,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;
|
|
|
|
|
@@ -5760,8 +5682,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;
|
|
|
|
|
@@ -5782,8 +5702,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;
|
|
|
|
|
@@ -5807,12 +5725,6 @@ export type GetPoolHallCamerasQuery = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -5822,8 +5734,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;
|
|
|
|
|
@@ -5848,12 +5758,6 @@ export type GetClaimableCamerasQuery = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -5863,8 +5767,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;
|
|
|
|
|
@@ -5892,7 +5794,6 @@ export type GetCameraClaimSessionQuery = {
|
|
|
|
|
detectedAt?: any | null;
|
|
|
|
|
failedAt?: any | null;
|
|
|
|
|
failureReason?: string | null;
|
|
|
|
|
agreedTermsVersion?: number | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
@@ -5903,12 +5804,6 @@ export type GetCameraClaimSessionQuery = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -5918,8 +5813,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;
|
|
|
|
|
@@ -5959,12 +5852,6 @@ export type GetActiveCameraLeaseQuery = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -5974,8 +5861,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;
|
|
|
|
|
@@ -5998,8 +5883,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;
|
|
|
|
|
@@ -6020,8 +5903,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;
|
|
|
|
|
@@ -6049,12 +5930,6 @@ export type CreatePoolHallCameraMutation = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -6064,8 +5939,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;
|
|
|
|
|
@@ -6091,12 +5964,6 @@ export type UpdatePoolHallCameraMutation = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -6106,8 +5973,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;
|
|
|
|
|
@@ -6136,12 +6001,6 @@ export type RotatePoolHallCameraStreamKeyMutation = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -6151,8 +6010,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;
|
|
|
|
|
@@ -6166,11 +6023,6 @@ export type RotatePoolHallCameraStreamKeyMutation = {
|
|
|
|
|
|
|
|
|
|
export type CreateCameraClaimSessionMutationVariables = Exact<{
|
|
|
|
|
cameraId: Scalars["ID"]["input"];
|
|
|
|
|
durationMinutes?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
videoPrivate?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
agreedTermsVersion?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
tags?: InputMaybe<Array<VideoTagInput> | VideoTagInput>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type CreateCameraClaimSessionMutation = {
|
|
|
|
|
@@ -6186,7 +6038,6 @@ export type CreateCameraClaimSessionMutation = {
|
|
|
|
|
detectedAt?: any | null;
|
|
|
|
|
failedAt?: any | null;
|
|
|
|
|
failureReason?: string | null;
|
|
|
|
|
agreedTermsVersion?: number | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
@@ -6197,12 +6048,6 @@ export type CreateCameraClaimSessionMutation = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -6212,8 +6057,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;
|
|
|
|
|
@@ -6242,7 +6085,6 @@ export type CancelCameraClaimSessionMutation = {
|
|
|
|
|
detectedAt?: any | null;
|
|
|
|
|
failedAt?: any | null;
|
|
|
|
|
failureReason?: string | null;
|
|
|
|
|
agreedTermsVersion?: number | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
@@ -6253,12 +6095,6 @@ export type CancelCameraClaimSessionMutation = {
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
@@ -6268,121 +6104,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;
|
|
|
|
|
status: string;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type EndCameraLeaseMutationVariables = Exact<{
|
|
|
|
|
leaseId: Scalars["ID"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type EndCameraLeaseMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
endCameraLease: {
|
|
|
|
|
__typename?: "CameraLease";
|
|
|
|
|
id: string;
|
|
|
|
|
cameraId: string;
|
|
|
|
|
claimSessionId?: string | null;
|
|
|
|
|
userId: string;
|
|
|
|
|
videoId?: string | null;
|
|
|
|
|
status: string;
|
|
|
|
|
startedAt: any;
|
|
|
|
|
endedAt?: any | null;
|
|
|
|
|
expiresAt?: any | null;
|
|
|
|
|
endReason?: string | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
__typename?: "PoolHallCamera";
|
|
|
|
|
id: string;
|
|
|
|
|
poolHallId: string;
|
|
|
|
|
name: string;
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
poolHall: {
|
|
|
|
|
__typename?: "PoolHall";
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
status: string;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type ExtendCameraLeaseMutationVariables = Exact<{
|
|
|
|
|
leaseId: Scalars["ID"]["input"];
|
|
|
|
|
additionalMinutes?: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type ExtendCameraLeaseMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
extendCameraLease: {
|
|
|
|
|
__typename?: "CameraLease";
|
|
|
|
|
id: string;
|
|
|
|
|
cameraId: string;
|
|
|
|
|
claimSessionId?: string | null;
|
|
|
|
|
userId: string;
|
|
|
|
|
videoId?: string | null;
|
|
|
|
|
status: string;
|
|
|
|
|
startedAt: any;
|
|
|
|
|
endedAt?: any | null;
|
|
|
|
|
expiresAt?: any | null;
|
|
|
|
|
endReason?: string | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
__typename?: "PoolHallCamera";
|
|
|
|
|
id: string;
|
|
|
|
|
poolHallId: string;
|
|
|
|
|
name: string;
|
|
|
|
|
tableLabel?: string | null;
|
|
|
|
|
streamPath: string;
|
|
|
|
|
status: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
pocketSize?: number | null;
|
|
|
|
|
allowsPrivateVideos: boolean;
|
|
|
|
|
claimTermsText?: string | null;
|
|
|
|
|
claimTermsVersion?: number | null;
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
poolHall: {
|
|
|
|
|
__typename?: "PoolHall";
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
address?: string | null;
|
|
|
|
|
city?: string | null;
|
|
|
|
|
state?: string | null;
|
|
|
|
|
latitude?: number | null;
|
|
|
|
|
longitude?: number | null;
|
|
|
|
|
timezone?: string | null;
|
|
|
|
|
@@ -8711,12 +8432,6 @@ export const PoolHallCameraFieldsFragmentDoc = gql`
|
|
|
|
|
tableLabel
|
|
|
|
|
streamPath
|
|
|
|
|
status
|
|
|
|
|
tableSize
|
|
|
|
|
pocketSize
|
|
|
|
|
allowsPrivateVideos
|
|
|
|
|
claimTermsText
|
|
|
|
|
claimTermsVersion
|
|
|
|
|
inUse
|
|
|
|
|
lastPublishedAt
|
|
|
|
|
lastUnpublishedAt
|
|
|
|
|
createdAt
|
|
|
|
|
@@ -8728,8 +8443,6 @@ export const PoolHallFieldsFragmentDoc = gql`
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
address
|
|
|
|
|
city
|
|
|
|
|
state
|
|
|
|
|
latitude
|
|
|
|
|
longitude
|
|
|
|
|
timezone
|
|
|
|
|
@@ -8769,7 +8482,6 @@ export const CameraClaimSessionFieldsFragmentDoc = gql`
|
|
|
|
|
detectedAt
|
|
|
|
|
failedAt
|
|
|
|
|
failureReason
|
|
|
|
|
agreedTermsVersion
|
|
|
|
|
createdAt
|
|
|
|
|
updatedAt
|
|
|
|
|
camera {
|
|
|
|
|
@@ -13346,22 +13058,8 @@ export type RotatePoolHallCameraStreamKeyMutationOptions =
|
|
|
|
|
RotatePoolHallCameraStreamKeyMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const CreateCameraClaimSessionDocument = gql`
|
|
|
|
|
mutation CreateCameraClaimSession(
|
|
|
|
|
$cameraId: ID!
|
|
|
|
|
$durationMinutes: Int
|
|
|
|
|
$videoName: String
|
|
|
|
|
$videoPrivate: Boolean
|
|
|
|
|
$agreedTermsVersion: Int
|
|
|
|
|
$tags: [VideoTagInput!]
|
|
|
|
|
) {
|
|
|
|
|
createCameraClaimSession(
|
|
|
|
|
cameraId: $cameraId
|
|
|
|
|
durationMinutes: $durationMinutes
|
|
|
|
|
videoName: $videoName
|
|
|
|
|
videoPrivate: $videoPrivate
|
|
|
|
|
agreedTermsVersion: $agreedTermsVersion
|
|
|
|
|
tags: $tags
|
|
|
|
|
) {
|
|
|
|
|
mutation CreateCameraClaimSession($cameraId: ID!) {
|
|
|
|
|
createCameraClaimSession(cameraId: $cameraId) {
|
|
|
|
|
...CameraClaimSessionFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@@ -13386,11 +13084,6 @@ export type CreateCameraClaimSessionMutationFn = Apollo.MutationFunction<
|
|
|
|
|
* const [createCameraClaimSessionMutation, { data, loading, error }] = useCreateCameraClaimSessionMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* cameraId: // value for 'cameraId'
|
|
|
|
|
* durationMinutes: // value for 'durationMinutes'
|
|
|
|
|
* videoName: // value for 'videoName'
|
|
|
|
|
* videoPrivate: // value for 'videoPrivate'
|
|
|
|
|
* agreedTermsVersion: // value for 'agreedTermsVersion'
|
|
|
|
|
* tags: // value for 'tags'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
@@ -13468,112 +13161,6 @@ export type CancelCameraClaimSessionMutationOptions =
|
|
|
|
|
CancelCameraClaimSessionMutation,
|
|
|
|
|
CancelCameraClaimSessionMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const EndCameraLeaseDocument = gql`
|
|
|
|
|
mutation EndCameraLease($leaseId: ID!) {
|
|
|
|
|
endCameraLease(leaseId: $leaseId) {
|
|
|
|
|
...CameraLeaseFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${CameraLeaseFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
export type EndCameraLeaseMutationFn = Apollo.MutationFunction<
|
|
|
|
|
EndCameraLeaseMutation,
|
|
|
|
|
EndCameraLeaseMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useEndCameraLeaseMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useEndCameraLeaseMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useEndCameraLeaseMutation` returns a tuple that includes:
|
|
|
|
|
* - A mutate function that you can call at any time to execute the mutation
|
|
|
|
|
* - An object with fields that represent the current status of the mutation's execution
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const [endCameraLeaseMutation, { data, loading, error }] = useEndCameraLeaseMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* leaseId: // value for 'leaseId'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useEndCameraLeaseMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
EndCameraLeaseMutation,
|
|
|
|
|
EndCameraLeaseMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
EndCameraLeaseMutation,
|
|
|
|
|
EndCameraLeaseMutationVariables
|
|
|
|
|
>(EndCameraLeaseDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type EndCameraLeaseMutationHookResult = ReturnType<
|
|
|
|
|
typeof useEndCameraLeaseMutation
|
|
|
|
|
>;
|
|
|
|
|
export type EndCameraLeaseMutationResult =
|
|
|
|
|
Apollo.MutationResult<EndCameraLeaseMutation>;
|
|
|
|
|
export type EndCameraLeaseMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
EndCameraLeaseMutation,
|
|
|
|
|
EndCameraLeaseMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const ExtendCameraLeaseDocument = gql`
|
|
|
|
|
mutation ExtendCameraLease($leaseId: ID!, $additionalMinutes: Int! = 60) {
|
|
|
|
|
extendCameraLease(
|
|
|
|
|
leaseId: $leaseId
|
|
|
|
|
additionalMinutes: $additionalMinutes
|
|
|
|
|
) {
|
|
|
|
|
...CameraLeaseFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${CameraLeaseFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
export type ExtendCameraLeaseMutationFn = Apollo.MutationFunction<
|
|
|
|
|
ExtendCameraLeaseMutation,
|
|
|
|
|
ExtendCameraLeaseMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useExtendCameraLeaseMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useExtendCameraLeaseMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useExtendCameraLeaseMutation` returns a tuple that includes:
|
|
|
|
|
* - A mutate function that you can call at any time to execute the mutation
|
|
|
|
|
* - An object with fields that represent the current status of the mutation's execution
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const [extendCameraLeaseMutation, { data, loading, error }] = useExtendCameraLeaseMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* leaseId: // value for 'leaseId'
|
|
|
|
|
* additionalMinutes: // value for 'additionalMinutes'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useExtendCameraLeaseMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
ExtendCameraLeaseMutation,
|
|
|
|
|
ExtendCameraLeaseMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
ExtendCameraLeaseMutation,
|
|
|
|
|
ExtendCameraLeaseMutationVariables
|
|
|
|
|
>(ExtendCameraLeaseDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type ExtendCameraLeaseMutationHookResult = ReturnType<
|
|
|
|
|
typeof useExtendCameraLeaseMutation
|
|
|
|
|
>;
|
|
|
|
|
export type ExtendCameraLeaseMutationResult =
|
|
|
|
|
Apollo.MutationResult<ExtendCameraLeaseMutation>;
|
|
|
|
|
export type ExtendCameraLeaseMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
ExtendCameraLeaseMutation,
|
|
|
|
|
ExtendCameraLeaseMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const ReactToVideoDocument = gql`
|
|
|
|
|
mutation ReactToVideo($videoId: Int!, $reaction: ReactionEnum) {
|
|
|
|
|
reactToVideo(videoId: $videoId, reaction: $reaction)
|
|
|
|
|
|