|
|
|
|
@@ -157,6 +157,7 @@ export type BucketSetInputGql = {
|
|
|
|
|
|
|
|
|
|
export type CameraClaimSession = {
|
|
|
|
|
__typename?: "CameraClaimSession";
|
|
|
|
|
agreedTermsVersion?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
camera: PoolHallCamera;
|
|
|
|
|
cameraId: Scalars["ID"]["output"];
|
|
|
|
|
challengeCode: Scalars["String"]["output"];
|
|
|
|
|
@@ -284,17 +285,23 @@ 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"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -2495,7 +2502,9 @@ 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;
|
|
|
|
|
@@ -2557,7 +2566,11 @@ 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"]>;
|
|
|
|
|
videoPrivate?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCreateChallengeArgs = {
|
|
|
|
|
@@ -2645,6 +2658,15 @@ 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;
|
|
|
|
|
};
|
|
|
|
|
@@ -2931,11 +2953,13 @@ 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"];
|
|
|
|
|
@@ -2943,16 +2967,22 @@ 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"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -3802,18 +3832,24 @@ 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"]>;
|
|
|
|
|
};
|
|
|
|
|
@@ -5513,6 +5549,8 @@ 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;
|
|
|
|
|
@@ -5529,6 +5567,12 @@ 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;
|
|
|
|
|
@@ -5543,6 +5587,12 @@ 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;
|
|
|
|
|
@@ -5552,6 +5602,8 @@ 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;
|
|
|
|
|
@@ -5573,6 +5625,12 @@ 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;
|
|
|
|
|
@@ -5582,6 +5640,8 @@ 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;
|
|
|
|
|
@@ -5603,6 +5663,7 @@ export type CameraClaimSessionFieldsFragment = {
|
|
|
|
|
detectedAt?: any | null;
|
|
|
|
|
failedAt?: any | null;
|
|
|
|
|
failureReason?: string | null;
|
|
|
|
|
agreedTermsVersion?: number | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
@@ -5613,6 +5674,12 @@ 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;
|
|
|
|
|
@@ -5622,6 +5689,8 @@ 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;
|
|
|
|
|
@@ -5654,6 +5723,12 @@ 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;
|
|
|
|
|
@@ -5663,6 +5738,8 @@ 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;
|
|
|
|
|
@@ -5682,6 +5759,8 @@ 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;
|
|
|
|
|
@@ -5702,6 +5781,8 @@ 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;
|
|
|
|
|
@@ -5725,6 +5806,12 @@ 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;
|
|
|
|
|
@@ -5734,6 +5821,8 @@ 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;
|
|
|
|
|
@@ -5758,6 +5847,12 @@ 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;
|
|
|
|
|
@@ -5767,6 +5862,8 @@ 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;
|
|
|
|
|
@@ -5794,6 +5891,7 @@ export type GetCameraClaimSessionQuery = {
|
|
|
|
|
detectedAt?: any | null;
|
|
|
|
|
failedAt?: any | null;
|
|
|
|
|
failureReason?: string | null;
|
|
|
|
|
agreedTermsVersion?: number | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
@@ -5804,6 +5902,12 @@ 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;
|
|
|
|
|
@@ -5813,6 +5917,8 @@ 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;
|
|
|
|
|
@@ -5852,6 +5958,12 @@ 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;
|
|
|
|
|
@@ -5861,6 +5973,8 @@ 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;
|
|
|
|
|
@@ -5883,6 +5997,8 @@ 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;
|
|
|
|
|
@@ -5903,6 +6019,8 @@ 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;
|
|
|
|
|
@@ -5930,6 +6048,12 @@ 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;
|
|
|
|
|
@@ -5939,6 +6063,8 @@ 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;
|
|
|
|
|
@@ -5964,6 +6090,12 @@ 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;
|
|
|
|
|
@@ -5973,6 +6105,8 @@ 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;
|
|
|
|
|
@@ -6001,6 +6135,12 @@ 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;
|
|
|
|
|
@@ -6010,6 +6150,8 @@ 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;
|
|
|
|
|
@@ -6023,6 +6165,10 @@ 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"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type CreateCameraClaimSessionMutation = {
|
|
|
|
|
@@ -6038,6 +6184,7 @@ export type CreateCameraClaimSessionMutation = {
|
|
|
|
|
detectedAt?: any | null;
|
|
|
|
|
failedAt?: any | null;
|
|
|
|
|
failureReason?: string | null;
|
|
|
|
|
agreedTermsVersion?: number | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
@@ -6048,6 +6195,12 @@ 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;
|
|
|
|
|
@@ -6057,6 +6210,8 @@ 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;
|
|
|
|
|
@@ -6085,6 +6240,7 @@ export type CancelCameraClaimSessionMutation = {
|
|
|
|
|
detectedAt?: any | null;
|
|
|
|
|
failedAt?: any | null;
|
|
|
|
|
failureReason?: string | null;
|
|
|
|
|
agreedTermsVersion?: number | null;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
camera: {
|
|
|
|
|
@@ -6095,6 +6251,12 @@ 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;
|
|
|
|
|
@@ -6104,6 +6266,121 @@ 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;
|
|
|
|
|
@@ -8432,6 +8709,12 @@ export const PoolHallCameraFieldsFragmentDoc = gql`
|
|
|
|
|
tableLabel
|
|
|
|
|
streamPath
|
|
|
|
|
status
|
|
|
|
|
tableSize
|
|
|
|
|
pocketSize
|
|
|
|
|
allowsPrivateVideos
|
|
|
|
|
claimTermsText
|
|
|
|
|
claimTermsVersion
|
|
|
|
|
inUse
|
|
|
|
|
lastPublishedAt
|
|
|
|
|
lastUnpublishedAt
|
|
|
|
|
createdAt
|
|
|
|
|
@@ -8443,6 +8726,8 @@ export const PoolHallFieldsFragmentDoc = gql`
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
address
|
|
|
|
|
city
|
|
|
|
|
state
|
|
|
|
|
latitude
|
|
|
|
|
longitude
|
|
|
|
|
timezone
|
|
|
|
|
@@ -8482,6 +8767,7 @@ export const CameraClaimSessionFieldsFragmentDoc = gql`
|
|
|
|
|
detectedAt
|
|
|
|
|
failedAt
|
|
|
|
|
failureReason
|
|
|
|
|
agreedTermsVersion
|
|
|
|
|
createdAt
|
|
|
|
|
updatedAt
|
|
|
|
|
camera {
|
|
|
|
|
@@ -13058,8 +13344,20 @@ export type RotatePoolHallCameraStreamKeyMutationOptions =
|
|
|
|
|
RotatePoolHallCameraStreamKeyMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const CreateCameraClaimSessionDocument = gql`
|
|
|
|
|
mutation CreateCameraClaimSession($cameraId: ID!) {
|
|
|
|
|
createCameraClaimSession(cameraId: $cameraId) {
|
|
|
|
|
mutation CreateCameraClaimSession(
|
|
|
|
|
$cameraId: ID!
|
|
|
|
|
$durationMinutes: Int
|
|
|
|
|
$videoName: String
|
|
|
|
|
$videoPrivate: Boolean
|
|
|
|
|
$agreedTermsVersion: Int
|
|
|
|
|
) {
|
|
|
|
|
createCameraClaimSession(
|
|
|
|
|
cameraId: $cameraId
|
|
|
|
|
durationMinutes: $durationMinutes
|
|
|
|
|
videoName: $videoName
|
|
|
|
|
videoPrivate: $videoPrivate
|
|
|
|
|
agreedTermsVersion: $agreedTermsVersion
|
|
|
|
|
) {
|
|
|
|
|
...CameraClaimSessionFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@@ -13084,6 +13382,10 @@ 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'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
@@ -13161,6 +13463,112 @@ 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)
|
|
|
|
|
|