Compare commits
5 Commits
dean/recor
...
8655cb75fc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8655cb75fc | ||
|
|
87d40eb990 | ||
| 64bc5c723a | |||
| 8111042936 | |||
| d6fd68c1f6 |
690
src/index.tsx
690
src/index.tsx
File diff suppressed because it is too large
Load Diff
@@ -7,8 +7,6 @@ query getDeployedConfig {
|
|||||||
minimumAllowedAppVersion
|
minimumAllowedAppVersion
|
||||||
subscriptionGatingEnabled
|
subscriptionGatingEnabled
|
||||||
quotaEnforcementEnabled
|
quotaEnforcementEnabled
|
||||||
storageLimitEnforcementEnabled
|
|
||||||
capabilityEnforcementEnabled
|
|
||||||
bannerMessages {
|
bannerMessages {
|
||||||
color
|
color
|
||||||
dismissible
|
dismissible
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ fragment VideoCardFields on VideoGQL {
|
|||||||
streamSegmentType
|
streamSegmentType
|
||||||
isCompleted
|
isCompleted
|
||||||
lastSegmentUploadedAt
|
lastSegmentUploadedAt
|
||||||
clientUploadStatus
|
|
||||||
}
|
}
|
||||||
tableSize
|
tableSize
|
||||||
pocketSize
|
pocketSize
|
||||||
|
|||||||
@@ -49,20 +49,6 @@ query GetAvailableSubscriptionOptions {
|
|||||||
proMonthlyProductId
|
proMonthlyProductId
|
||||||
productIds
|
productIds
|
||||||
}
|
}
|
||||||
tierOptions {
|
|
||||||
tierName
|
|
||||||
tierDisplayName
|
|
||||||
billingInterval
|
|
||||||
platform
|
|
||||||
isConfigured
|
|
||||||
isAvailable
|
|
||||||
stripeProductId
|
|
||||||
stripePriceId
|
|
||||||
appleProductId
|
|
||||||
currency
|
|
||||||
unitAmount
|
|
||||||
recurringIntervalCount
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -81,37 +67,6 @@ query GetSubscriptionStatus {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
query GetResolvedTier {
|
|
||||||
getResolvedTier {
|
|
||||||
tierName
|
|
||||||
tierDisplayName
|
|
||||||
hasActiveSubscription
|
|
||||||
entitlementSource
|
|
||||||
entitlementStatus
|
|
||||||
entitlementStartsAt
|
|
||||||
entitlementEndsAt
|
|
||||||
capabilities
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
query GetStorageStatus {
|
|
||||||
getStorageStatus {
|
|
||||||
userId
|
|
||||||
tierName
|
|
||||||
retainedStorageUsedBytes
|
|
||||||
retainedStorageLimitBytes
|
|
||||||
isUnlimited
|
|
||||||
policyConfigured
|
|
||||||
remainingStorageBytes
|
|
||||||
storageUsageRatio
|
|
||||||
isNearLimit
|
|
||||||
isOverLimit
|
|
||||||
usageCalculated
|
|
||||||
usageSource
|
|
||||||
lastCalculatedAt
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
query GetAppleAppAccountToken {
|
query GetAppleAppAccountToken {
|
||||||
getAppleAppAccountToken
|
getAppleAppAccountToken
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ fragment PoolHallFields on PoolHall {
|
|||||||
id
|
id
|
||||||
name
|
name
|
||||||
address
|
address
|
||||||
city
|
|
||||||
state
|
|
||||||
latitude
|
latitude
|
||||||
longitude
|
longitude
|
||||||
timezone
|
timezone
|
||||||
@@ -19,12 +17,6 @@ fragment PoolHallCameraFields on PoolHallCamera {
|
|||||||
tableLabel
|
tableLabel
|
||||||
streamPath
|
streamPath
|
||||||
status
|
status
|
||||||
tableSize
|
|
||||||
pocketSize
|
|
||||||
allowsPrivateVideos
|
|
||||||
claimTermsText
|
|
||||||
claimTermsVersion
|
|
||||||
inUse
|
|
||||||
lastPublishedAt
|
lastPublishedAt
|
||||||
lastUnpublishedAt
|
lastUnpublishedAt
|
||||||
createdAt
|
createdAt
|
||||||
@@ -56,7 +48,6 @@ fragment CameraClaimSessionFields on CameraClaimSession {
|
|||||||
detectedAt
|
detectedAt
|
||||||
failedAt
|
failedAt
|
||||||
failureReason
|
failureReason
|
||||||
agreedTermsVersion
|
|
||||||
createdAt
|
createdAt
|
||||||
updatedAt
|
updatedAt
|
||||||
camera {
|
camera {
|
||||||
@@ -148,22 +139,8 @@ mutation RotatePoolHallCameraStreamKey($cameraId: ID!) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mutation CreateCameraClaimSession(
|
mutation CreateCameraClaimSession($cameraId: ID!) {
|
||||||
$cameraId: ID!
|
createCameraClaimSession(cameraId: $cameraId) {
|
||||||
$durationMinutes: Int
|
|
||||||
$videoName: String
|
|
||||||
$videoPrivate: Boolean
|
|
||||||
$agreedTermsVersion: Int
|
|
||||||
$tags: [VideoTagInput!]
|
|
||||||
) {
|
|
||||||
createCameraClaimSession(
|
|
||||||
cameraId: $cameraId
|
|
||||||
durationMinutes: $durationMinutes
|
|
||||||
videoName: $videoName
|
|
||||||
videoPrivate: $videoPrivate
|
|
||||||
agreedTermsVersion: $agreedTermsVersion
|
|
||||||
tags: $tags
|
|
||||||
) {
|
|
||||||
...CameraClaimSessionFields
|
...CameraClaimSessionFields
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -173,15 +150,3 @@ mutation CancelCameraClaimSession($claimSessionId: ID!) {
|
|||||||
...CameraClaimSessionFields
|
...CameraClaimSessionFields
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mutation EndCameraLease($leaseId: ID!) {
|
|
||||||
endCameraLease(leaseId: $leaseId) {
|
|
||||||
...CameraLeaseFields
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
mutation ExtendCameraLease($leaseId: ID!, $additionalMinutes: Int! = 60) {
|
|
||||||
extendCameraLease(leaseId: $leaseId, additionalMinutes: $additionalMinutes) {
|
|
||||||
...CameraLeaseFields
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -37,13 +37,6 @@ mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
... on StorageLimitExceededErr {
|
|
||||||
reason
|
|
||||||
tierName
|
|
||||||
retainedStorageUsedBytes
|
|
||||||
retainedStorageLimitBytes
|
|
||||||
remainingStorageBytes
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -892,8 +892,6 @@ type PoolHall {
|
|||||||
id: ID!
|
id: ID!
|
||||||
name: String!
|
name: String!
|
||||||
address: String
|
address: String
|
||||||
city: String
|
|
||||||
state: String
|
|
||||||
latitude: Float
|
latitude: Float
|
||||||
longitude: Float
|
longitude: Float
|
||||||
timezone: String
|
timezone: String
|
||||||
@@ -909,16 +907,10 @@ type PoolHallCamera {
|
|||||||
tableLabel: String
|
tableLabel: String
|
||||||
streamPath: String!
|
streamPath: String!
|
||||||
status: String!
|
status: String!
|
||||||
tableSize: Float
|
|
||||||
pocketSize: Float
|
|
||||||
allowsPrivateVideos: Boolean!
|
|
||||||
claimTermsText: String
|
|
||||||
claimTermsVersion: Int
|
|
||||||
lastPublishedAt: DateTime
|
lastPublishedAt: DateTime
|
||||||
lastUnpublishedAt: DateTime
|
lastUnpublishedAt: DateTime
|
||||||
createdAt: DateTime!
|
createdAt: DateTime!
|
||||||
updatedAt: DateTime!
|
updatedAt: DateTime!
|
||||||
inUse: Boolean!
|
|
||||||
poolHall: PoolHall!
|
poolHall: PoolHall!
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -932,7 +924,6 @@ type CameraClaimSession {
|
|||||||
detectedAt: DateTime
|
detectedAt: DateTime
|
||||||
failedAt: DateTime
|
failedAt: DateTime
|
||||||
failureReason: String
|
failureReason: String
|
||||||
agreedTermsVersion: Int
|
|
||||||
createdAt: DateTime!
|
createdAt: DateTime!
|
||||||
updatedAt: DateTime!
|
updatedAt: DateTime!
|
||||||
camera: PoolHallCamera!
|
camera: PoolHallCamera!
|
||||||
@@ -1168,7 +1159,6 @@ type StripeSubscriptionOptionsGQL {
|
|||||||
products: [StripeProductGQL!]!
|
products: [StripeProductGQL!]!
|
||||||
trialPeriodDays: Int
|
trialPeriodDays: Int
|
||||||
appleIap: AppleIapSubscriptionOptionsGQL!
|
appleIap: AppleIapSubscriptionOptionsGQL!
|
||||||
tierOptions: [SubscriptionTierPurchaseOptionGQL!]!
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type StripeProductGQL {
|
type StripeProductGQL {
|
||||||
@@ -1195,21 +1185,6 @@ type AppleIapSubscriptionOptionsGQL {
|
|||||||
productIds: [String!]!
|
productIds: [String!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
type SubscriptionTierPurchaseOptionGQL {
|
|
||||||
tierName: String!
|
|
||||||
tierDisplayName: String!
|
|
||||||
billingInterval: String!
|
|
||||||
platform: String!
|
|
||||||
isConfigured: Boolean!
|
|
||||||
isAvailable: Boolean!
|
|
||||||
stripeProductId: String
|
|
||||||
stripePriceId: String
|
|
||||||
appleProductId: String
|
|
||||||
currency: String
|
|
||||||
unitAmount: Int
|
|
||||||
recurringIntervalCount: Int
|
|
||||||
}
|
|
||||||
|
|
||||||
type UserSubscriptionStatusGQL {
|
type UserSubscriptionStatusGQL {
|
||||||
hasActiveSubscription: Boolean!
|
hasActiveSubscription: Boolean!
|
||||||
entitlementSource: EntitlementSourceTypeEnum
|
entitlementSource: EntitlementSourceTypeEnum
|
||||||
@@ -1426,17 +1401,8 @@ type Mutation {
|
|||||||
): PoolHallCameraStreamCredentials!
|
): PoolHallCameraStreamCredentials!
|
||||||
updatePoolHallCamera(input: UpdatePoolHallCameraInput!): PoolHallCamera!
|
updatePoolHallCamera(input: UpdatePoolHallCameraInput!): PoolHallCamera!
|
||||||
rotatePoolHallCameraStreamKey(cameraId: ID!): PoolHallCameraStreamCredentials!
|
rotatePoolHallCameraStreamKey(cameraId: ID!): PoolHallCameraStreamCredentials!
|
||||||
createCameraClaimSession(
|
createCameraClaimSession(cameraId: ID!): CameraClaimSession!
|
||||||
cameraId: ID!
|
|
||||||
durationMinutes: Int = null
|
|
||||||
videoName: String = null
|
|
||||||
videoPrivate: Boolean = null
|
|
||||||
agreedTermsVersion: Int = null
|
|
||||||
tags: [VideoTagInput!] = null
|
|
||||||
): CameraClaimSession!
|
|
||||||
cancelCameraClaimSession(claimSessionId: ID!): CameraClaimSession!
|
cancelCameraClaimSession(claimSessionId: ID!): CameraClaimSession!
|
||||||
endCameraLease(leaseId: ID!): CameraLease!
|
|
||||||
extendCameraLease(leaseId: ID!, additionalMinutes: Int! = 60): CameraLease!
|
|
||||||
finalizePlayerAssignments(
|
finalizePlayerAssignments(
|
||||||
input: FinalizePlayerAssignmentsInput!
|
input: FinalizePlayerAssignmentsInput!
|
||||||
): [PlayerClusterGQL!]!
|
): [PlayerClusterGQL!]!
|
||||||
@@ -1519,8 +1485,6 @@ enum ReportReasonEnum {
|
|||||||
input CreatePoolHallInput {
|
input CreatePoolHallInput {
|
||||||
name: String!
|
name: String!
|
||||||
address: String = null
|
address: String = null
|
||||||
city: String = null
|
|
||||||
state: String = null
|
|
||||||
latitude: Float = null
|
latitude: Float = null
|
||||||
longitude: Float = null
|
longitude: Float = null
|
||||||
timezone: String = null
|
timezone: String = null
|
||||||
@@ -1530,8 +1494,6 @@ input UpdatePoolHallInput {
|
|||||||
id: ID!
|
id: ID!
|
||||||
name: String = null
|
name: String = null
|
||||||
address: String = null
|
address: String = null
|
||||||
city: String = null
|
|
||||||
state: String = null
|
|
||||||
latitude: Float = null
|
latitude: Float = null
|
||||||
longitude: Float = null
|
longitude: Float = null
|
||||||
timezone: String = null
|
timezone: String = null
|
||||||
@@ -1549,10 +1511,6 @@ input CreatePoolHallCameraInput {
|
|||||||
name: String!
|
name: String!
|
||||||
tableLabel: String = null
|
tableLabel: String = null
|
||||||
streamPath: String = null
|
streamPath: String = null
|
||||||
tableSize: Float = null
|
|
||||||
pocketSize: Float = null
|
|
||||||
allowsPrivateVideos: Boolean = null
|
|
||||||
claimTermsText: String = null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input UpdatePoolHallCameraInput {
|
input UpdatePoolHallCameraInput {
|
||||||
@@ -1560,10 +1518,6 @@ input UpdatePoolHallCameraInput {
|
|||||||
name: String = null
|
name: String = null
|
||||||
tableLabel: String = null
|
tableLabel: String = null
|
||||||
status: String = null
|
status: String = null
|
||||||
tableSize: Float = null
|
|
||||||
pocketSize: Float = null
|
|
||||||
allowsPrivateVideos: Boolean = null
|
|
||||||
claimTermsText: String = null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input FinalizePlayerAssignmentsInput {
|
input FinalizePlayerAssignmentsInput {
|
||||||
|
|||||||
Reference in New Issue
Block a user