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
|
||||
subscriptionGatingEnabled
|
||||
quotaEnforcementEnabled
|
||||
storageLimitEnforcementEnabled
|
||||
capabilityEnforcementEnabled
|
||||
bannerMessages {
|
||||
color
|
||||
dismissible
|
||||
|
||||
@@ -44,7 +44,6 @@ fragment VideoCardFields on VideoGQL {
|
||||
streamSegmentType
|
||||
isCompleted
|
||||
lastSegmentUploadedAt
|
||||
clientUploadStatus
|
||||
}
|
||||
tableSize
|
||||
pocketSize
|
||||
|
||||
@@ -49,20 +49,6 @@ query GetAvailableSubscriptionOptions {
|
||||
proMonthlyProductId
|
||||
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 {
|
||||
getAppleAppAccountToken
|
||||
}
|
||||
|
||||
@@ -2,8 +2,6 @@ fragment PoolHallFields on PoolHall {
|
||||
id
|
||||
name
|
||||
address
|
||||
city
|
||||
state
|
||||
latitude
|
||||
longitude
|
||||
timezone
|
||||
@@ -19,12 +17,6 @@ fragment PoolHallCameraFields on PoolHallCamera {
|
||||
tableLabel
|
||||
streamPath
|
||||
status
|
||||
tableSize
|
||||
pocketSize
|
||||
allowsPrivateVideos
|
||||
claimTermsText
|
||||
claimTermsVersion
|
||||
inUse
|
||||
lastPublishedAt
|
||||
lastUnpublishedAt
|
||||
createdAt
|
||||
@@ -56,7 +48,6 @@ fragment CameraClaimSessionFields on CameraClaimSession {
|
||||
detectedAt
|
||||
failedAt
|
||||
failureReason
|
||||
agreedTermsVersion
|
||||
createdAt
|
||||
updatedAt
|
||||
camera {
|
||||
@@ -148,22 +139,8 @@ mutation RotatePoolHallCameraStreamKey($cameraId: ID!) {
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
@@ -173,15 +150,3 @@ mutation CancelCameraClaimSession($claimSessionId: ID!) {
|
||||
...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!
|
||||
name: String!
|
||||
address: String
|
||||
city: String
|
||||
state: String
|
||||
latitude: Float
|
||||
longitude: Float
|
||||
timezone: String
|
||||
@@ -909,16 +907,10 @@ type PoolHallCamera {
|
||||
tableLabel: String
|
||||
streamPath: String!
|
||||
status: String!
|
||||
tableSize: Float
|
||||
pocketSize: Float
|
||||
allowsPrivateVideos: Boolean!
|
||||
claimTermsText: String
|
||||
claimTermsVersion: Int
|
||||
lastPublishedAt: DateTime
|
||||
lastUnpublishedAt: DateTime
|
||||
createdAt: DateTime!
|
||||
updatedAt: DateTime!
|
||||
inUse: Boolean!
|
||||
poolHall: PoolHall!
|
||||
}
|
||||
|
||||
@@ -932,7 +924,6 @@ type CameraClaimSession {
|
||||
detectedAt: DateTime
|
||||
failedAt: DateTime
|
||||
failureReason: String
|
||||
agreedTermsVersion: Int
|
||||
createdAt: DateTime!
|
||||
updatedAt: DateTime!
|
||||
camera: PoolHallCamera!
|
||||
@@ -1168,7 +1159,6 @@ type StripeSubscriptionOptionsGQL {
|
||||
products: [StripeProductGQL!]!
|
||||
trialPeriodDays: Int
|
||||
appleIap: AppleIapSubscriptionOptionsGQL!
|
||||
tierOptions: [SubscriptionTierPurchaseOptionGQL!]!
|
||||
}
|
||||
|
||||
type StripeProductGQL {
|
||||
@@ -1195,21 +1185,6 @@ type AppleIapSubscriptionOptionsGQL {
|
||||
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 {
|
||||
hasActiveSubscription: Boolean!
|
||||
entitlementSource: EntitlementSourceTypeEnum
|
||||
@@ -1426,17 +1401,8 @@ type Mutation {
|
||||
): PoolHallCameraStreamCredentials!
|
||||
updatePoolHallCamera(input: UpdatePoolHallCameraInput!): PoolHallCamera!
|
||||
rotatePoolHallCameraStreamKey(cameraId: ID!): PoolHallCameraStreamCredentials!
|
||||
createCameraClaimSession(
|
||||
cameraId: ID!
|
||||
durationMinutes: Int = null
|
||||
videoName: String = null
|
||||
videoPrivate: Boolean = null
|
||||
agreedTermsVersion: Int = null
|
||||
tags: [VideoTagInput!] = null
|
||||
): CameraClaimSession!
|
||||
createCameraClaimSession(cameraId: ID!): CameraClaimSession!
|
||||
cancelCameraClaimSession(claimSessionId: ID!): CameraClaimSession!
|
||||
endCameraLease(leaseId: ID!): CameraLease!
|
||||
extendCameraLease(leaseId: ID!, additionalMinutes: Int! = 60): CameraLease!
|
||||
finalizePlayerAssignments(
|
||||
input: FinalizePlayerAssignmentsInput!
|
||||
): [PlayerClusterGQL!]!
|
||||
@@ -1519,8 +1485,6 @@ enum ReportReasonEnum {
|
||||
input CreatePoolHallInput {
|
||||
name: String!
|
||||
address: String = null
|
||||
city: String = null
|
||||
state: String = null
|
||||
latitude: Float = null
|
||||
longitude: Float = null
|
||||
timezone: String = null
|
||||
@@ -1530,8 +1494,6 @@ input UpdatePoolHallInput {
|
||||
id: ID!
|
||||
name: String = null
|
||||
address: String = null
|
||||
city: String = null
|
||||
state: String = null
|
||||
latitude: Float = null
|
||||
longitude: Float = null
|
||||
timezone: String = null
|
||||
@@ -1549,10 +1511,6 @@ input CreatePoolHallCameraInput {
|
||||
name: String!
|
||||
tableLabel: String = null
|
||||
streamPath: String = null
|
||||
tableSize: Float = null
|
||||
pocketSize: Float = null
|
||||
allowsPrivateVideos: Boolean = null
|
||||
claimTermsText: String = null
|
||||
}
|
||||
|
||||
input UpdatePoolHallCameraInput {
|
||||
@@ -1560,10 +1518,6 @@ input UpdatePoolHallCameraInput {
|
||||
name: String = null
|
||||
tableLabel: String = null
|
||||
status: String = null
|
||||
tableSize: Float = null
|
||||
pocketSize: Float = null
|
||||
allowsPrivateVideos: Boolean = null
|
||||
claimTermsText: String = null
|
||||
}
|
||||
|
||||
input FinalizePlayerAssignmentsInput {
|
||||
|
||||
Reference in New Issue
Block a user