|
|
|
@@ -2497,9 +2497,7 @@ export type Mutation = {
|
|
|
|
editShot: EditShotReturn;
|
|
|
|
editShot: EditShotReturn;
|
|
|
|
editUploadStream: Scalars["Boolean"]["output"];
|
|
|
|
editUploadStream: Scalars["Boolean"]["output"];
|
|
|
|
editUser: UserGql;
|
|
|
|
editUser: UserGql;
|
|
|
|
endCameraLease: CameraLease;
|
|
|
|
|
|
|
|
ensureStripeCustomerExists: UserGql;
|
|
|
|
ensureStripeCustomerExists: UserGql;
|
|
|
|
extendCameraLease: CameraLease;
|
|
|
|
|
|
|
|
finalizePlayerAssignments: Array<PlayerClusterGql>;
|
|
|
|
finalizePlayerAssignments: Array<PlayerClusterGql>;
|
|
|
|
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
|
|
|
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
|
|
|
followUser: UserGql;
|
|
|
|
followUser: UserGql;
|
|
|
|
@@ -2562,9 +2560,6 @@ export type MutationCreateBucketSetArgs = {
|
|
|
|
|
|
|
|
|
|
|
|
export type MutationCreateCameraClaimSessionArgs = {
|
|
|
|
export type MutationCreateCameraClaimSessionArgs = {
|
|
|
|
cameraId: Scalars["ID"]["input"];
|
|
|
|
cameraId: Scalars["ID"]["input"];
|
|
|
|
durationMinutes?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
|
|
|
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
|
|
|
videoPrivate?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
export type MutationCreateChallengeArgs = {
|
|
|
|
export type MutationCreateChallengeArgs = {
|
|
|
|
@@ -2652,15 +2647,6 @@ export type MutationEditUserArgs = {
|
|
|
|
input: EditUserInputGql;
|
|
|
|
input: EditUserInputGql;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
export type MutationEndCameraLeaseArgs = {
|
|
|
|
|
|
|
|
leaseId: Scalars["ID"]["input"];
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type MutationExtendCameraLeaseArgs = {
|
|
|
|
|
|
|
|
additionalMinutes?: Scalars["Int"]["input"];
|
|
|
|
|
|
|
|
leaseId: Scalars["ID"]["input"];
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type MutationFinalizePlayerAssignmentsArgs = {
|
|
|
|
export type MutationFinalizePlayerAssignmentsArgs = {
|
|
|
|
input: FinalizePlayerAssignmentsInput;
|
|
|
|
input: FinalizePlayerAssignmentsInput;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
@@ -2961,7 +2947,6 @@ export type PoolHallCamera = {
|
|
|
|
__typename?: "PoolHallCamera";
|
|
|
|
__typename?: "PoolHallCamera";
|
|
|
|
createdAt: Scalars["DateTime"]["output"];
|
|
|
|
createdAt: Scalars["DateTime"]["output"];
|
|
|
|
id: Scalars["ID"]["output"];
|
|
|
|
id: Scalars["ID"]["output"];
|
|
|
|
inUse: Scalars["Boolean"]["output"];
|
|
|
|
|
|
|
|
lastPublishedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
lastPublishedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
lastUnpublishedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
lastUnpublishedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
name: Scalars["String"]["output"];
|
|
|
|
name: Scalars["String"]["output"];
|
|
|
|
@@ -5552,7 +5537,6 @@ export type PoolHallCameraFieldsFragment = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -5569,7 +5553,6 @@ export type PoolHallCameraWithHallFieldsFragment = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -5602,7 +5585,6 @@ export type PoolHallCameraStreamCredentialsFieldsFragment = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -5645,7 +5627,6 @@ export type CameraClaimSessionFieldsFragment = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -5689,7 +5670,6 @@ export type CameraLeaseFieldsFragment = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -5763,7 +5743,6 @@ export type GetPoolHallCamerasQuery = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -5799,7 +5778,6 @@ export type GetClaimableCamerasQuery = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -5848,7 +5826,6 @@ export type GetCameraClaimSessionQuery = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -5899,7 +5876,6 @@ export type GetActiveCameraLeaseQuery = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -5980,7 +5956,6 @@ export type CreatePoolHallCameraMutation = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -6017,7 +5992,6 @@ export type UpdatePoolHallCameraMutation = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -6057,7 +6031,6 @@ export type RotatePoolHallCameraStreamKeyMutation = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -6080,9 +6053,6 @@ export type RotatePoolHallCameraStreamKeyMutation = {
|
|
|
|
|
|
|
|
|
|
|
|
export type CreateCameraClaimSessionMutationVariables = Exact<{
|
|
|
|
export type CreateCameraClaimSessionMutationVariables = Exact<{
|
|
|
|
cameraId: Scalars["ID"]["input"];
|
|
|
|
cameraId: Scalars["ID"]["input"];
|
|
|
|
durationMinutes?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
|
|
|
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
|
|
|
videoPrivate?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
|
|
|
}>;
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
export type CreateCameraClaimSessionMutation = {
|
|
|
|
export type CreateCameraClaimSessionMutation = {
|
|
|
|
@@ -6110,7 +6080,6 @@ export type CreateCameraClaimSessionMutation = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -6160,110 +6129,6 @@ export type CancelCameraClaimSessionMutation = {
|
|
|
|
status: string;
|
|
|
|
status: string;
|
|
|
|
tableSize?: number | null;
|
|
|
|
tableSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
pocketSize?: number | null;
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
|
|
|
createdAt: any;
|
|
|
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
|
|
|
poolHall: {
|
|
|
|
|
|
|
|
__typename?: "PoolHall";
|
|
|
|
|
|
|
|
id: string;
|
|
|
|
|
|
|
|
name: string;
|
|
|
|
|
|
|
|
address?: 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;
|
|
|
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
|
|
|
|
createdAt: any;
|
|
|
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
|
|
|
poolHall: {
|
|
|
|
|
|
|
|
__typename?: "PoolHall";
|
|
|
|
|
|
|
|
id: string;
|
|
|
|
|
|
|
|
name: string;
|
|
|
|
|
|
|
|
address?: 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;
|
|
|
|
|
|
|
|
inUse: boolean;
|
|
|
|
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastPublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
lastUnpublishedAt?: any | null;
|
|
|
|
createdAt: any;
|
|
|
|
createdAt: any;
|
|
|
|
@@ -8603,7 +8468,6 @@ export const PoolHallCameraFieldsFragmentDoc = gql`
|
|
|
|
status
|
|
|
|
status
|
|
|
|
tableSize
|
|
|
|
tableSize
|
|
|
|
pocketSize
|
|
|
|
pocketSize
|
|
|
|
inUse
|
|
|
|
|
|
|
|
lastPublishedAt
|
|
|
|
lastPublishedAt
|
|
|
|
lastUnpublishedAt
|
|
|
|
lastUnpublishedAt
|
|
|
|
createdAt
|
|
|
|
createdAt
|
|
|
|
@@ -13230,18 +13094,8 @@ export type RotatePoolHallCameraStreamKeyMutationOptions =
|
|
|
|
RotatePoolHallCameraStreamKeyMutationVariables
|
|
|
|
RotatePoolHallCameraStreamKeyMutationVariables
|
|
|
|
>;
|
|
|
|
>;
|
|
|
|
export const CreateCameraClaimSessionDocument = gql`
|
|
|
|
export const CreateCameraClaimSessionDocument = gql`
|
|
|
|
mutation CreateCameraClaimSession(
|
|
|
|
mutation CreateCameraClaimSession($cameraId: ID!) {
|
|
|
|
$cameraId: ID!
|
|
|
|
createCameraClaimSession(cameraId: $cameraId) {
|
|
|
|
$durationMinutes: Int
|
|
|
|
|
|
|
|
$videoName: String
|
|
|
|
|
|
|
|
$videoPrivate: Boolean
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
createCameraClaimSession(
|
|
|
|
|
|
|
|
cameraId: $cameraId
|
|
|
|
|
|
|
|
durationMinutes: $durationMinutes
|
|
|
|
|
|
|
|
videoName: $videoName
|
|
|
|
|
|
|
|
videoPrivate: $videoPrivate
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
...CameraClaimSessionFields
|
|
|
|
...CameraClaimSessionFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@@ -13266,9 +13120,6 @@ export type CreateCameraClaimSessionMutationFn = Apollo.MutationFunction<
|
|
|
|
* const [createCameraClaimSessionMutation, { data, loading, error }] = useCreateCameraClaimSessionMutation({
|
|
|
|
* const [createCameraClaimSessionMutation, { data, loading, error }] = useCreateCameraClaimSessionMutation({
|
|
|
|
* variables: {
|
|
|
|
* variables: {
|
|
|
|
* cameraId: // value for 'cameraId'
|
|
|
|
* cameraId: // value for 'cameraId'
|
|
|
|
* durationMinutes: // value for 'durationMinutes'
|
|
|
|
|
|
|
|
* videoName: // value for 'videoName'
|
|
|
|
|
|
|
|
* videoPrivate: // value for 'videoPrivate'
|
|
|
|
|
|
|
|
* },
|
|
|
|
* },
|
|
|
|
* });
|
|
|
|
* });
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@@ -13346,112 +13197,6 @@ export type CancelCameraClaimSessionMutationOptions =
|
|
|
|
CancelCameraClaimSessionMutation,
|
|
|
|
CancelCameraClaimSessionMutation,
|
|
|
|
CancelCameraClaimSessionMutationVariables
|
|
|
|
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`
|
|
|
|
export const ReactToVideoDocument = gql`
|
|
|
|
mutation ReactToVideo($videoId: Int!, $reaction: ReactionEnum) {
|
|
|
|
mutation ReactToVideo($videoId: Int!, $reaction: ReactionEnum) {
|
|
|
|
reactToVideo(videoId: $videoId, reaction: $reaction)
|
|
|
|
reactToVideo(videoId: $videoId, reaction: $reaction)
|
|
|
|
|