@fireballgg/sdk 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/dist/abis/sparks.abi.json +195 -0
- package/dist/chunk-3GG7NNPX.js +2 -0
- package/dist/chunk-3GG7NNPX.js.map +1 -0
- package/dist/chunk-4C666HHU.js +2 -0
- package/dist/chunk-4C666HHU.js.map +1 -0
- package/dist/chunk-CAWVA63V.js +10 -0
- package/dist/chunk-CAWVA63V.js.map +1 -0
- package/dist/chunk-HSPNA3WS.js +40 -0
- package/dist/chunk-HSPNA3WS.js.map +1 -0
- package/dist/chunk-VFDUHPNG.js +2185 -0
- package/dist/chunk-VFDUHPNG.js.map +1 -0
- package/dist/chunk-VMT37ZHW.js +2 -0
- package/dist/chunk-VMT37ZHW.js.map +1 -0
- package/dist/chunk-ZBGOXQP5.js +4 -0
- package/dist/chunk-ZBGOXQP5.js.map +1 -0
- package/dist/data/checkpoints.json +22 -0
- package/dist/data/constants.json +9 -0
- package/dist/data/enemies.json +632 -0
- package/dist/data/fishing_cards.json +1152 -0
- package/dist/data/fishing_exchange_rates.json +236 -0
- package/dist/data/gear.json +11617 -0
- package/dist/data/hatchery.json +54 -0
- package/dist/data/items.json +6073 -0
- package/dist/data/recipes.json +9471 -0
- package/dist/fireball-api/index.d.ts +5 -0
- package/dist/fireball-api/index.js +2 -0
- package/dist/fireball-api/index.js.map +1 -0
- package/dist/gigaverse-api/index.d.ts +5 -0
- package/dist/gigaverse-api/index.js +2 -0
- package/dist/gigaverse-api/index.js.map +1 -0
- package/dist/index-BPihDahL.d.ts +2514 -0
- package/dist/index-D5hv4Edu.d.ts +2474 -0
- package/dist/index-DKZ1Igbv.d.ts +88 -0
- package/dist/index-DO_0xTs_.d.ts +7499 -0
- package/dist/index.d.ts +1691 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/juiced-api/index.d.ts +1 -0
- package/dist/juiced-api/index.js +2 -0
- package/dist/juiced-api/index.js.map +1 -0
- package/dist/juiced-subgraph/index.d.ts +3 -0
- package/dist/juiced-subgraph/index.js +2 -0
- package/dist/juiced-subgraph/index.js.map +1 -0
- package/dist/logger/index.d.ts +56 -0
- package/dist/logger/index.js +2 -0
- package/dist/logger/index.js.map +1 -0
- package/package.json +125 -0
|
@@ -0,0 +1,2185 @@
|
|
|
1
|
+
import{a as i}from"./chunk-ZBGOXQP5.js";import{a as _t}from"./chunk-4C666HHU.js";var Ia={};_t(Ia,{AccountCoreFieldsFragmentDoc:()=>m,AccountFullFieldsFragmentDoc:()=>S,AccountRefFieldsFragmentDoc:()=>s,AccountScrollFieldsFragmentDoc:()=>A,AccountServiceFieldsFragmentDoc:()=>na,AccountSortField:()=>Se,AccountSubscriptionFieldsFragmentDoc:()=>ta,AddAccountQuestDocument:()=>$t,AddAccountScrollDocument:()=>Re,AddConquestSnapshotDocument:()=>In,AddDropsDocument:()=>Cn,AddDungeonJackpotDocument:()=>Bn,AddEncounterDocument:()=>Dn,AddFactionTreasuryDocument:()=>En,AddFishingDropsDocument:()=>Yn,AddFishingEncounterDocument:()=>Kn,AddItemDocument:()=>at,AddItemSupplySnapshotDocument:()=>rt,AddQuestDocument:()=>ft,BulkUpsertAccountsDocument:()=>Je,ClaimQuestDocument:()=>Ct,ConquestMoveFieldsFragmentDoc:()=>aa,DEFAULT_MEMBER_RANK:()=>ka,DeleteQuestDocument:()=>Dt,DropFieldsFragmentDoc:()=>y,DungeonCoreFieldsFragmentDoc:()=>x,DungeonFullFieldsFragmentDoc:()=>p,DungeonJackpotFieldsFragmentDoc:()=>$,DungeonJackpotSortField:()=>Ae,DungeonJackpotWithAccountFragmentDoc:()=>v,DungeonJackpotWithDungeonFragmentDoc:()=>qe,DungeonSortField:()=>ve,EncounterCoreFieldsFragmentDoc:()=>N,EncounterFullFieldsFragmentDoc:()=>D,FactionMemberFieldsFragmentDoc:()=>C,FactionMemberPublicFieldsFragmentDoc:()=>Ve,FactionMemberSortField:()=>Ne,FactionOrderFieldsFragmentDoc:()=>ia,FactionOrderStatus:()=>Fe,FactionPermission:()=>Wt,FactionRoleFieldsFragmentDoc:()=>F,FactionRoleSortField:()=>he,FactionTreasuryFieldsFragmentDoc:()=>h,FishingCoreFieldsFragmentDoc:()=>k,FishingDropFieldsFragmentDoc:()=>I,FishingEncounterCoreFieldsFragmentDoc:()=>b,FishingEncounterFullFieldsFragmentDoc:()=>Qe,FishingSortField:()=>Me,GetAccountActivitiesDocument:()=>kn,GetAccountByIdDocument:()=>Ue,GetAccountByIdWithScrollsDocument:()=>We,GetAccountByNameDocument:()=>je,GetAccountDiscordDocument:()=>Nn,GetAccountGameOptionsDocument:()=>en,GetAccountLookupByIdDocument:()=>ze,GetAccountNameByIdDocument:()=>He,GetAccountPetSettingsDocument:()=>Mt,GetAccountQuestsDocument:()=>dn,GetAccountScrollsDocument:()=>pn,GetAccountSearchDocument:()=>Ze,GetAccountServicesDocument:()=>sn,GetAccountSkillStatsDocument:()=>bn,GetAccountStateDocument:()=>ln,GetAccountStats2Document:()=>yn,GetAccountStatsDocument:()=>tn,GetAccountStatsWithWinsDocument:()=>rn,GetAccountSubscriptionsDocument:()=>cn,GetAccountWithReferralsDocument:()=>nn,GetAccountXpDocument:()=>an,GetAccountsBasicDocument:()=>on,GetAccountsByIdsDocument:()=>Ye,GetAccountsDocument:()=>un,GetAllActiveAccountServicesDocument:()=>Vt,GetConquestSnapshotByIdDocument:()=>An,GetConquestSnapshotsDocument:()=>Sn,GetDungeonByIdDocument:()=>Gn,GetDungeonCountsByAccountDocument:()=>On,GetDungeonDropsByIdDocument:()=>Tn,GetDungeonJackpotDocument:()=>hn,GetDungeonJackpotsDocument:()=>Mn,GetDungeonJackpotsWithCountDocument:()=>fn,GetDungeonStatusByIdDocument:()=>qn,GetDungeonsDocument:()=>Vn,GetDungeonsForSimulationDocument:()=>wn,GetDungeonsWithCountDocument:()=>Qn,GetEpochDocument:()=>Pt,GetEpochSnapshotsDocument:()=>Et,GetEventTopPlayersDocument:()=>Pn,GetFactionMembersDocument:()=>Wn,GetFactionMembersPublicDocument:()=>Hn,GetFactionRolesDocument:()=>Ln,GetFactionTreasuryDocument:()=>jn,GetFishingByIdDocument:()=>zn,GetFishingDocument:()=>Zn,GetFishingWithCountDocument:()=>et,GetGameStatsDocument:()=>Rn,GetHomeStatsDocument:()=>wt,GetItemsDocument:()=>ut,GetItemsWithSnapshotsDocument:()=>ot,GetJobByIdDocument:()=>dt,GetJobDungeonDropSummaryDocument:()=>ct,GetJobFishingDropSummaryDocument:()=>mt,GetJobsDocument:()=>st,GetLatestDropsDocument:()=>Fn,GetLatestEpochDocument:()=>Jt,GetLeaderboard2CountDocument:()=>bt,GetLeaderboard2Document:()=>kt,GetLeaderboardCountDocument:()=>yt,GetLeaderboardDocument:()=>pt,GetOnlineDocument:()=>Ot,GetPaymentProcessedBlocksDocument:()=>vt,GetPricingDocument:()=>Ft,GetPublicAccountByIdDocument:()=>Xe,GetPublicAccountByNameDocument:()=>_e,GetPublicAccountsDocument:()=>Ke,GetQuestsDocument:()=>Bt,GetReferralEarningsDocument:()=>mn,GetReferrerIdDocument:()=>Le,GetScrollsDocument:()=>Qt,GetServiceByIdDocument:()=>qt,GetServicesDocument:()=>Tt,GetSparkTransactionsDocument:()=>Nt,GetStatsDocument:()=>Rt,HintStatusDocument:()=>tt,ItemSortField:()=>fe,JobFieldsFragmentDoc:()=>M,JobSortField:()=>$e,Leaderboard2SortField:()=>xe,LeaderboardSortField:()=>De,MEMBER_STATUS_LABELS:()=>ya,MemberStatus:()=>Ce,PERMISSION_LABELS:()=>pa,ProcessSparkPurchaseV2Document:()=>gt,ProcessSparksAirdropDocument:()=>It,PublicAccountFieldsFragmentDoc:()=>g,QuestSortField:()=>Be,RANK:()=>c,RANK_NAMES:()=>ba,RequestHintDocument:()=>nt,ScrollFieldsFragmentDoc:()=>f,SortOrder:()=>Ge,SparkTransactionSortField:()=>Te,StartDungeonDocument:()=>$n,StartFishingDocument:()=>_n,UnlinkDiscordDocument:()=>vn,UpdateAccountFactionDocument:()=>Pe,UpdateAccountGlhfDocument:()=>Ee,UpdateConquestSnapshotDocument:()=>gn,UpdateDungeonDocument:()=>xn,UpdateFactionMemberDocument:()=>Jn,UpdateFactionTreasuryDocument:()=>Un,UpdateFishingDocument:()=>Xn,UpdateItemDocument:()=>it,UpdateJobDocument:()=>lt,UpdateLastProcessedBlockDocument:()=>St,UpdatePricingDocument:()=>At,UpdateQuestDocument:()=>xt,UpsertAccountDocument:()=>we,UpsertAccountGameOptionsDocument:()=>Oe,UpsertAccountPetSettingsDocument:()=>ht,UseServiceDocument:()=>Gt,createFireballApi:()=>da,getFireballApiEndpoint:()=>Ut,getSdk:()=>B,graphql:()=>Yt,hasAllPermissions:()=>ca,hasAnyPermission:()=>ma,hasPermission:()=>q,isFragmentReady:()=>ea,makeFragmentData:()=>Zt,useFragment:()=>zt,withRetry:()=>G});var V={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ConquestMoveFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ConquestMove"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"q"}},{kind:"Field",name:{kind:"Name",value:"r"}},{kind:"Field",name:{kind:"Name",value:"executorId"}},{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"conquest"}},{kind:"Field",name:{kind:"Name",value:"tick"}},{kind:"Field",name:{kind:"Name",value:"isOwnFaction"}},{kind:"Field",name:{kind:"Name",value:"actionType"}},{kind:"Field",name:{kind:"Name",value:"factionId"}},{kind:"Field",name:{kind:"Name",value:"spenderId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]},Q={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"DungeonJackpotFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DungeonJackpot"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dungeonId"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"room"}},{kind:"Field",name:{kind:"Name",value:"percentage"}},{kind:"Field",name:{kind:"Name",value:"rarity"}},{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]};var O={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"DungeonCoreFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Dungeon"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"model"}},{kind:"Field",name:{kind:"Name",value:"tier"}},{kind:"Field",name:{kind:"Name",value:"isCompleted"}},{kind:"Field",name:{kind:"Name",value:"isWon"}},{kind:"Field",name:{kind:"Name",value:"isFled"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]};var R={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"AccountRefFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Account"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"glhfId"}},{kind:"Field",name:{kind:"Name",value:"glhfUrl"}},{kind:"Field",name:{kind:"Name",value:"isJuiced"}}]}}]},w={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"FactionRoleFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FactionRole"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"factionId"}},{kind:"Field",name:{kind:"Name",value:"rank"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"permissions"}},{kind:"Field",name:{kind:"Name",value:"maxCount"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}}]};var P={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"FishingCoreFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Fishing"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"jobId"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"model"}},{kind:"Field",name:{kind:"Name",value:"strategy"}},{kind:"Field",name:{kind:"Name",value:"strategyTemp"}},{kind:"Field",name:{kind:"Name",value:"isCompleted"}},{kind:"Field",name:{kind:"Name",value:"isWon"}},{kind:"Field",name:{kind:"Name",value:"isCorrupted"}},{kind:"Field",name:{kind:"Name",value:"isManual"}},{kind:"Field",name:{kind:"Name",value:"gear"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"isJebaited"}},{kind:"Field",name:{kind:"Name",value:"isDoubleYield"}},{kind:"Field",name:{kind:"Name",value:"isPlusRarity"}},{kind:"Field",name:{kind:"Name",value:"isPlusQuality"}}]}}]};var J={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"JobFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Job"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"executorId"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"options"}},{kind:"Field",name:{kind:"Name",value:"totalRuns"}},{kind:"Field",name:{kind:"Name",value:"completedRuns"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",name:{kind:"Name",value:"completedAt"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"isAutoclaimOn"}},{kind:"Field",name:{kind:"Name",value:"statusMessage"}},{kind:"Field",name:{kind:"Name",value:"wonRuns"}}]}}]},E={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpsertAccountGameOptions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"accountId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"gameType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"subType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"options"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JSON"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"upsertAccountGameOptions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"accountId"},value:{kind:"Variable",name:{kind:"Name",value:"accountId"}}},{kind:"Argument",name:{kind:"Name",value:"gameType"},value:{kind:"Variable",name:{kind:"Name",value:"gameType"}}},{kind:"Argument",name:{kind:"Name",value:"subType"},value:{kind:"Variable",name:{kind:"Name",value:"subType"}}},{kind:"Argument",name:{kind:"Name",value:"options"},value:{kind:"Variable",name:{kind:"Name",value:"options"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"gameType"}},{kind:"Field",name:{kind:"Name",value:"subType"}},{kind:"Field",name:{kind:"Name",value:"options"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}}]}}]};var U={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetAccountById"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"account"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AccountFullFields"}},{kind:"Field",name:{kind:"Name",value:"jobs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"statusIn"},value:{kind:"ListValue",values:[{kind:"StringValue",value:"queued",block:!1},{kind:"StringValue",value:"in_progress",block:!1},{kind:"StringValue",value:"paused",block:!1}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"totalRuns"}},{kind:"Field",name:{kind:"Name",value:"completedRuns"}},{kind:"Field",name:{kind:"Name",value:"wonRuns"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AccountCoreFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Account"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"tokenId"}},{kind:"Field",name:{kind:"Name",value:"glhfId"}},{kind:"Field",name:{kind:"Name",value:"glhfUrl"}},{kind:"Field",name:{kind:"Name",value:"faction"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"isJuiced"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AccountFullFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Account"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AccountCoreFields"}},{kind:"Field",name:{kind:"Name",value:"jwt"}},{kind:"Field",name:{kind:"Name",value:"jwtExp"}},{kind:"Field",name:{kind:"Name",value:"sparks"}},{kind:"Field",name:{kind:"Name",value:"xp"}},{kind:"Field",name:{kind:"Name",value:"gear"}},{kind:"Field",name:{kind:"Name",value:"consumables"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"delegateeId"}},{kind:"Field",name:{kind:"Name",value:"referrerId"}},{kind:"Field",name:{kind:"Name",value:"juicedExp"}},{kind:"Field",name:{kind:"Name",value:"accountSkills"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"skillId"}},{kind:"Field",name:{kind:"Name",value:"level"}},{kind:"Field",name:{kind:"Name",value:"stats"}}]}},{kind:"Field",name:{kind:"Name",value:"quests"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"questId"}},{kind:"Field",name:{kind:"Name",value:"isCompleted"}},{kind:"Field",name:{kind:"Name",value:"completionCount"}}]}},{kind:"Field",name:{kind:"Name",value:"checkpoints"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"checkpointId"}},{kind:"Field",name:{kind:"Name",value:"isCompleted"}},{kind:"Field",name:{kind:"Name",value:"completionCount"}}]}}]}}]};var W={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddConquestSnapshot"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ConquestSnapshotInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addConquestSnapshot"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tiles"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}}]}}]};var H={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetConquestSnapshots"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"where"}},type:{kind:"NamedType",name:{kind:"Name",value:"ConquestSnapshotWhereInput"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"conquestSnapshots"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"Variable",name:{kind:"Name",value:"where"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"tiles"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}}]}}]};var L={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UnlinkDiscord"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"unlinkDiscord"}}]}}]},j={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetAccountDiscord"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountDiscord"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"username"}},{kind:"Field",name:{kind:"Name",value:"avatarUrl"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}}]},_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetLatestDrops"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"latestDrops"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"gameId"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"accountName"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"amount"}}]}},{kind:"Field",name:{kind:"Name",value:"rarity"}},{kind:"Field",name:{kind:"Name",value:"profit"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}}]},X={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetDungeonJackpot"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"dungeonId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"accountId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"room"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dungeonJackpot"},arguments:[{kind:"Argument",name:{kind:"Name",value:"dungeonId"},value:{kind:"Variable",name:{kind:"Name",value:"dungeonId"}}},{kind:"Argument",name:{kind:"Name",value:"accountId"},value:{kind:"Variable",name:{kind:"Name",value:"accountId"}}},{kind:"Argument",name:{kind:"Name",value:"room"},value:{kind:"Variable",name:{kind:"Name",value:"room"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"DungeonJackpotWithAccount"}},{kind:"FragmentSpread",name:{kind:"Name",value:"DungeonJackpotWithDungeon"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DungeonJackpotFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DungeonJackpot"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dungeonId"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"room"}},{kind:"Field",name:{kind:"Name",value:"percentage"}},{kind:"Field",name:{kind:"Name",value:"rarity"}},{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DungeonJackpotWithAccount"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DungeonJackpot"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"DungeonJackpotFields"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"faction"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DungeonJackpotWithDungeon"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DungeonJackpot"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"DungeonJackpotFields"}},{kind:"Field",name:{kind:"Name",value:"dungeon"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"isWon"}},{kind:"Field",name:{kind:"Name",value:"isCompleted"}}]}}]}}]};var K={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"StartDungeon"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"model"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"accountId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"type"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"consumables"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JSON"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"gear"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JSON"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"jobId"}},type:{kind:"NamedType",name:{kind:"Name",value:"BigInt"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isJuiced"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"multiplier"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tier"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startDungeon"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"model"},value:{kind:"Variable",name:{kind:"Name",value:"model"}}},{kind:"Argument",name:{kind:"Name",value:"accountId"},value:{kind:"Variable",name:{kind:"Name",value:"accountId"}}},{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"Variable",name:{kind:"Name",value:"type"}}},{kind:"Argument",name:{kind:"Name",value:"consumables"},value:{kind:"Variable",name:{kind:"Name",value:"consumables"}}},{kind:"Argument",name:{kind:"Name",value:"gear"},value:{kind:"Variable",name:{kind:"Name",value:"gear"}}},{kind:"Argument",name:{kind:"Name",value:"jobId"},value:{kind:"Variable",name:{kind:"Name",value:"jobId"}}},{kind:"Argument",name:{kind:"Name",value:"isJuiced"},value:{kind:"Variable",name:{kind:"Name",value:"isJuiced"}}},{kind:"Argument",name:{kind:"Name",value:"multiplier"},value:{kind:"Variable",name:{kind:"Name",value:"multiplier"}}},{kind:"Argument",name:{kind:"Name",value:"tier"},value:{kind:"Variable",name:{kind:"Name",value:"tier"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"model"}},{kind:"Field",name:{kind:"Name",value:"isCompleted"}},{kind:"Field",name:{kind:"Name",value:"isWon"}},{kind:"Field",name:{kind:"Name",value:"isCorrupted"}},{kind:"Field",name:{kind:"Name",value:"isFled"}},{kind:"Field",name:{kind:"Name",value:"isJuiced"}},{kind:"Field",name:{kind:"Name",value:"multiplier"}},{kind:"Field",name:{kind:"Name",value:"tier"}},{kind:"Field",name:{kind:"Name",value:"consumables"}},{kind:"Field",name:{kind:"Name",value:"gear"}},{kind:"Field",name:{kind:"Name",value:"jobId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}}]};var Y={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetDungeonById"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"encountersLimit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dungeon"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"DungeonFullFields"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AccountRefFields"}}]}},{kind:"Field",name:{kind:"Name",value:"job"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"totalRuns"}},{kind:"Field",name:{kind:"Name",value:"options"}},{kind:"Field",name:{kind:"Name",value:"dungeons"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"DungeonCoreFields"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"encounters"},arguments:[{kind:"Argument",name:{kind:"Name",value:"take"},value:{kind:"Variable",name:{kind:"Name",value:"encountersLimit"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"EncounterFullFields"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AccountRefFields"}}]}},{kind:"Field",name:{kind:"Name",value:"drops"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"DropFields"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"drops"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"DropFields"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DungeonCoreFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Dungeon"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"model"}},{kind:"Field",name:{kind:"Name",value:"tier"}},{kind:"Field",name:{kind:"Name",value:"isCompleted"}},{kind:"Field",name:{kind:"Name",value:"isWon"}},{kind:"Field",name:{kind:"Name",value:"isFled"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"EncounterCoreFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Encounter"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"room"}},{kind:"Field",name:{kind:"Name",value:"isLootPhase"}},{kind:"Field",name:{kind:"Name",value:"noobHealth"}},{kind:"Field",name:{kind:"Name",value:"noobShield"}},{kind:"Field",name:{kind:"Name",value:"noobLevel"}},{kind:"Field",name:{kind:"Name",value:"enemyId"}},{kind:"Field",name:{kind:"Name",value:"enemyHealth"}},{kind:"Field",name:{kind:"Name",value:"enemyMaxHealth"}},{kind:"Field",name:{kind:"Name",value:"enemyShield"}},{kind:"Field",name:{kind:"Name",value:"enemyMaxShield"}},{kind:"Field",name:{kind:"Name",value:"isInvader"}},{kind:"Field",name:{kind:"Name",value:"invaderName"}},{kind:"Field",name:{kind:"Name",value:"invaderLevel"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DungeonFullFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Dungeon"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"DungeonCoreFields"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"jobId"}},{kind:"Field",name:{kind:"Name",value:"isCorrupted"}},{kind:"Field",name:{kind:"Name",value:"isJuiced"}},{kind:"Field",name:{kind:"Name",value:"multiplier"}},{kind:"Field",name:{kind:"Name",value:"consumables"}},{kind:"Field",name:{kind:"Name",value:"gear"}},{kind:"Field",name:{kind:"Name",value:"profit"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AccountRefFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Account"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"glhfId"}},{kind:"Field",name:{kind:"Name",value:"glhfUrl"}},{kind:"Field",name:{kind:"Name",value:"isJuiced"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"EncounterFullFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Encounter"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"EncounterCoreFields"}},{kind:"Field",name:{kind:"Name",value:"dungeonId"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"round"}},{kind:"Field",name:{kind:"Name",value:"action"}},{kind:"Field",name:{kind:"Name",value:"actionType"}},{kind:"Field",name:{kind:"Name",value:"dungeonType"}},{kind:"Field",name:{kind:"Name",value:"model"}},{kind:"Field",name:{kind:"Name",value:"timestamp"}},{kind:"Field",name:{kind:"Name",value:"noobMaxHealth"}},{kind:"Field",name:{kind:"Name",value:"noobMaxShield"}},{kind:"Field",name:{kind:"Name",value:"noobStats"}},{kind:"Field",name:{kind:"Name",value:"noobCharges"}},{kind:"Field",name:{kind:"Name",value:"noobEquipment"}},{kind:"Field",name:{kind:"Name",value:"noobEffects"}},{kind:"Field",name:{kind:"Name",value:"noobActiveEffects"}},{kind:"Field",name:{kind:"Name",value:"noobVoidStats"}},{kind:"Field",name:{kind:"Name",value:"noobProcs"}},{kind:"Field",name:{kind:"Name",value:"enemyStats"}},{kind:"Field",name:{kind:"Name",value:"enemyCharges"}},{kind:"Field",name:{kind:"Name",value:"enemyEquipment"}},{kind:"Field",name:{kind:"Name",value:"enemyEffects"}},{kind:"Field",name:{kind:"Name",value:"enemyActiveEffects"}},{kind:"Field",name:{kind:"Name",value:"enemyVoidStats"}},{kind:"Field",name:{kind:"Name",value:"enemyProcs"}},{kind:"Field",name:{kind:"Name",value:"lastNoobMove"}},{kind:"Field",name:{kind:"Name",value:"lastEnemyMove"}},{kind:"Field",name:{kind:"Name",value:"lastOutcome"}},{kind:"Field",name:{kind:"Name",value:"lootOptions"}},{kind:"Field",name:{kind:"Name",value:"consumables"}},{kind:"Field",name:{kind:"Name",value:"consumableUsed"}},{kind:"Field",name:{kind:"Name",value:"gear"}},{kind:"Field",name:{kind:"Name",value:"reason"}},{kind:"Field",name:{kind:"Name",value:"invaderId"}},{kind:"Field",name:{kind:"Name",value:"invaderGear"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"DropFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Drop"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"encounterId"}},{kind:"Field",name:{kind:"Name",value:"enemyId"}},{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"isJuiced"}}]}}]};var z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetEventTopPlayers"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"dungeonType"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"minGames"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"eventTopPlayers"},arguments:[{kind:"Argument",name:{kind:"Name",value:"dungeonType"},value:{kind:"Variable",name:{kind:"Name",value:"dungeonType"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"minGames"},value:{kind:"Variable",name:{kind:"Name",value:"minGames"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"accountName"}},{kind:"Field",name:{kind:"Name",value:"gamesCount"}},{kind:"Field",name:{kind:"Name",value:"wins"}},{kind:"Field",name:{kind:"Name",value:"winRate"}},{kind:"Field",name:{kind:"Name",value:"totalJackpots"}},{kind:"Field",name:{kind:"Name",value:"totalCandles"}},{kind:"Field",name:{kind:"Name",value:"totalGigabit"}}]}}]}}]},Z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateFactionMember"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"accountId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"factionId"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rank"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"NamedType",name:{kind:"Name",value:"MemberStatus"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"delegatedItems"}},type:{kind:"NamedType",name:{kind:"Name",value:"JSON"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateFactionMember"},arguments:[{kind:"Argument",name:{kind:"Name",value:"accountId"},value:{kind:"Variable",name:{kind:"Name",value:"accountId"}}},{kind:"Argument",name:{kind:"Name",value:"factionId"},value:{kind:"Variable",name:{kind:"Name",value:"factionId"}}},{kind:"Argument",name:{kind:"Name",value:"rank"},value:{kind:"Variable",name:{kind:"Name",value:"rank"}}},{kind:"Argument",name:{kind:"Name",value:"status"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}},{kind:"Argument",name:{kind:"Name",value:"delegatedItems"},value:{kind:"Variable",name:{kind:"Name",value:"delegatedItems"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FactionMemberFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AccountRefFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Account"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"glhfId"}},{kind:"Field",name:{kind:"Name",value:"glhfUrl"}},{kind:"Field",name:{kind:"Name",value:"isJuiced"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FactionRoleFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FactionRole"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"factionId"}},{kind:"Field",name:{kind:"Name",value:"rank"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"permissions"}},{kind:"Field",name:{kind:"Name",value:"maxCount"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FactionMemberFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FactionMember"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"factionId"}},{kind:"Field",name:{kind:"Name",value:"rank"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"delegatedItems"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AccountRefFields"}}]}},{kind:"Field",name:{kind:"Name",value:"factionRole"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FactionRoleFields"}}]}}]}}]};var ee={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetFactionMembers"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"where"}},type:{kind:"NamedType",name:{kind:"Name",value:"FactionMembersWhereInput"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"take"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"skip"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"FactionMemberSortField"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"factionMembers"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"Variable",name:{kind:"Name",value:"where"}}},{kind:"Argument",name:{kind:"Name",value:"take"},value:{kind:"Variable",name:{kind:"Name",value:"take"}}},{kind:"Argument",name:{kind:"Name",value:"skip"},value:{kind:"Variable",name:{kind:"Name",value:"skip"}}},{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FactionMemberFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AccountRefFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Account"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"glhfId"}},{kind:"Field",name:{kind:"Name",value:"glhfUrl"}},{kind:"Field",name:{kind:"Name",value:"isJuiced"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FactionRoleFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FactionRole"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"factionId"}},{kind:"Field",name:{kind:"Name",value:"rank"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"permissions"}},{kind:"Field",name:{kind:"Name",value:"maxCount"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FactionMemberFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FactionMember"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"factionId"}},{kind:"Field",name:{kind:"Name",value:"rank"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"delegatedItems"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AccountRefFields"}}]}},{kind:"Field",name:{kind:"Name",value:"factionRole"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FactionRoleFields"}}]}}]}}]};var ne={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"StartFishing"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"model"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"accountId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"type"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"gear"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JSON"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"jobId"}},type:{kind:"NamedType",name:{kind:"Name",value:"BigInt"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isManual"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startFishing"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"model"},value:{kind:"Variable",name:{kind:"Name",value:"model"}}},{kind:"Argument",name:{kind:"Name",value:"accountId"},value:{kind:"Variable",name:{kind:"Name",value:"accountId"}}},{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"Variable",name:{kind:"Name",value:"type"}}},{kind:"Argument",name:{kind:"Name",value:"gear"},value:{kind:"Variable",name:{kind:"Name",value:"gear"}}},{kind:"Argument",name:{kind:"Name",value:"jobId"},value:{kind:"Variable",name:{kind:"Name",value:"jobId"}}},{kind:"Argument",name:{kind:"Name",value:"isManual"},value:{kind:"Variable",name:{kind:"Name",value:"isManual"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"model"}},{kind:"Field",name:{kind:"Name",value:"isCompleted"}},{kind:"Field",name:{kind:"Name",value:"isWon"}},{kind:"Field",name:{kind:"Name",value:"isCorrupted"}},{kind:"Field",name:{kind:"Name",value:"isManual"}},{kind:"Field",name:{kind:"Name",value:"gear"}},{kind:"Field",name:{kind:"Name",value:"jobId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}}]};var te={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetFishingById"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"encountersLimit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fishingById"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FishingCoreFields"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AccountRefFields"}}]}},{kind:"Field",name:{kind:"Name",value:"job"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"totalRuns"}},{kind:"Field",name:{kind:"Name",value:"options"}},{kind:"Field",name:{kind:"Name",value:"fishing"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"model"}},{kind:"Field",name:{kind:"Name",value:"isCompleted"}},{kind:"Field",name:{kind:"Name",value:"isWon"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"fishingEncounters"},arguments:[{kind:"Argument",name:{kind:"Name",value:"take"},value:{kind:"Variable",name:{kind:"Name",value:"encountersLimit"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FishingEncounterFullFields"}}]}},{kind:"Field",name:{kind:"Name",value:"fishingDrops"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FishingDropFields"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FishingEncounterCoreFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FishingEncounter"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"round"}},{kind:"Field",name:{kind:"Name",value:"isLootPhase"}},{kind:"Field",name:{kind:"Name",value:"playerHp"}},{kind:"Field",name:{kind:"Name",value:"playerLevel"}},{kind:"Field",name:{kind:"Name",value:"fishHp"}},{kind:"Field",name:{kind:"Name",value:"fishMaxHp"}},{kind:"Field",name:{kind:"Name",value:"fishPosition"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FishingCoreFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Fishing"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"jobId"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"model"}},{kind:"Field",name:{kind:"Name",value:"strategy"}},{kind:"Field",name:{kind:"Name",value:"strategyTemp"}},{kind:"Field",name:{kind:"Name",value:"isCompleted"}},{kind:"Field",name:{kind:"Name",value:"isWon"}},{kind:"Field",name:{kind:"Name",value:"isCorrupted"}},{kind:"Field",name:{kind:"Name",value:"isManual"}},{kind:"Field",name:{kind:"Name",value:"gear"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"isJebaited"}},{kind:"Field",name:{kind:"Name",value:"isDoubleYield"}},{kind:"Field",name:{kind:"Name",value:"isPlusRarity"}},{kind:"Field",name:{kind:"Name",value:"isPlusQuality"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AccountRefFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Account"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"glhfId"}},{kind:"Field",name:{kind:"Name",value:"glhfUrl"}},{kind:"Field",name:{kind:"Name",value:"isJuiced"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FishingEncounterFullFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FishingEncounter"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FishingEncounterCoreFields"}},{kind:"Field",name:{kind:"Name",value:"fishingId"}},{kind:"Field",name:{kind:"Name",value:"action"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"timestamp"}},{kind:"Field",name:{kind:"Name",value:"playerMaxHp"}},{kind:"Field",name:{kind:"Name",value:"fishPrevPosition"}},{kind:"Field",name:{kind:"Name",value:"fishNextPosition"}},{kind:"Field",name:{kind:"Name",value:"deck"}},{kind:"Field",name:{kind:"Name",value:"hand"}},{kind:"Field",name:{kind:"Name",value:"discard"}},{kind:"Field",name:{kind:"Name",value:"caughtFish"}},{kind:"Field",name:{kind:"Name",value:"lootChosen"}},{kind:"Field",name:{kind:"Name",value:"lootOptions"}},{kind:"Field",name:{kind:"Name",value:"redrawCount"}},{kind:"Field",name:{kind:"Name",value:"cardPlayedId"}},{kind:"Field",name:{kind:"Name",value:"reason"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FishingDropFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FishingDrop"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"itemId"}},{kind:"Field",name:{kind:"Name",value:"amount"}},{kind:"Field",name:{kind:"Name",value:"totalCaught"}},{kind:"Field",name:{kind:"Name",value:"isNewFish"}},{kind:"Field",name:{kind:"Name",value:"isRecordGirth"}},{kind:"Field",name:{kind:"Name",value:"isRecordLength"}},{kind:"Field",name:{kind:"Name",value:"isRecordWeight"}},{kind:"Field",name:{kind:"Name",value:"isRecordQuality"}},{kind:"Field",name:{kind:"Name",value:"quality"}},{kind:"Field",name:{kind:"Name",value:"girth"}},{kind:"Field",name:{kind:"Name",value:"length"}},{kind:"Field",name:{kind:"Name",value:"weight"}}]}}]};var ae={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"RequestHint"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"gameType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"gameId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"requestHint"},arguments:[{kind:"Argument",name:{kind:"Name",value:"gameType"},value:{kind:"Variable",name:{kind:"Name",value:"gameType"}}},{kind:"Argument",name:{kind:"Name",value:"gameId"},value:{kind:"Variable",name:{kind:"Name",value:"gameId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"}},{kind:"Field",name:{kind:"Name",value:"message"}},{kind:"Field",name:{kind:"Name",value:"hint"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"action"}},{kind:"Field",name:{kind:"Name",value:"cardId"}},{kind:"Field",name:{kind:"Name",value:"cardName"}},{kind:"Field",name:{kind:"Name",value:"reason"}},{kind:"Field",name:{kind:"Name",value:"confidence"}}]}},{kind:"Field",name:{kind:"Name",value:"hintsRemaining"}},{kind:"Field",name:{kind:"Name",value:"sparkCost"}},{kind:"Field",name:{kind:"Name",value:"wasFree"}}]}}]}}]},ie={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"HintStatus"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"gameType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hintStatus"},arguments:[{kind:"Argument",name:{kind:"Name",value:"gameType"},value:{kind:"Variable",name:{kind:"Name",value:"gameType"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"freeHintsRemaining"}},{kind:"Field",name:{kind:"Name",value:"sparkCost"}},{kind:"Field",name:{kind:"Name",value:"nextResetTime"}},{kind:"Field",name:{kind:"Name",value:"isActive"}}]}}]}}]},re={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddItem"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rarity"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"type"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"imgUrl"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addItem"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"rarity"},value:{kind:"Variable",name:{kind:"Name",value:"rarity"}}},{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"Variable",name:{kind:"Name",value:"type"}}},{kind:"Argument",name:{kind:"Name",value:"imgUrl"},value:{kind:"Variable",name:{kind:"Name",value:"imgUrl"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"rarity"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"imgUrl"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}}]}}]};var ue={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetItems"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"take"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"skip"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"where"}},type:{kind:"NamedType",name:{kind:"Name",value:"ItemWhereInput"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"ItemSortField"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},arguments:[{kind:"Argument",name:{kind:"Name",value:"take"},value:{kind:"Variable",name:{kind:"Name",value:"take"}}},{kind:"Argument",name:{kind:"Name",value:"skip"},value:{kind:"Variable",name:{kind:"Name",value:"skip"}}},{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"Variable",name:{kind:"Name",value:"where"}}},{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"rarity"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"imgUrl"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}},{kind:"Field",name:{kind:"Name",value:"itemsCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"Variable",name:{kind:"Name",value:"where"}}}]}]}}]};var oe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateJob"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"BigInt"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"statusMessage"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"completedRuns"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"wonRuns"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"totalRuns"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"startedAt"}},type:{kind:"NamedType",name:{kind:"Name",value:"BigInt"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"completedAt"}},type:{kind:"NamedType",name:{kind:"Name",value:"BigInt"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateJob"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"status"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}},{kind:"Argument",name:{kind:"Name",value:"statusMessage"},value:{kind:"Variable",name:{kind:"Name",value:"statusMessage"}}},{kind:"Argument",name:{kind:"Name",value:"completedRuns"},value:{kind:"Variable",name:{kind:"Name",value:"completedRuns"}}},{kind:"Argument",name:{kind:"Name",value:"wonRuns"},value:{kind:"Variable",name:{kind:"Name",value:"wonRuns"}}},{kind:"Argument",name:{kind:"Name",value:"totalRuns"},value:{kind:"Variable",name:{kind:"Name",value:"totalRuns"}}},{kind:"Argument",name:{kind:"Name",value:"startedAt"},value:{kind:"Variable",name:{kind:"Name",value:"startedAt"}}},{kind:"Argument",name:{kind:"Name",value:"completedAt"},value:{kind:"Variable",name:{kind:"Name",value:"completedAt"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"JobFields"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"JobFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Job"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"executorId"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"options"}},{kind:"Field",name:{kind:"Name",value:"totalRuns"}},{kind:"Field",name:{kind:"Name",value:"completedRuns"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",name:{kind:"Name",value:"completedAt"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"isAutoclaimOn"}},{kind:"Field",name:{kind:"Name",value:"statusMessage"}},{kind:"Field",name:{kind:"Name",value:"wonRuns"}}]}}]},le={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetJobs"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"take"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"skip"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"where"}},type:{kind:"NamedType",name:{kind:"Name",value:"JobWhereInput"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"JobSortField"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jobs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"take"},value:{kind:"Variable",name:{kind:"Name",value:"take"}}},{kind:"Argument",name:{kind:"Name",value:"skip"},value:{kind:"Variable",name:{kind:"Name",value:"skip"}}},{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"Variable",name:{kind:"Name",value:"where"}}},{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"JobFields"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AccountRefFields"}}]}},{kind:"Field",name:{kind:"Name",value:"dungeons"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWon"}},{kind:"Field",name:{kind:"Name",value:"isFled"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"jobsCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"Variable",name:{kind:"Name",value:"where"}}}]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"JobFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Job"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"executorId"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"options"}},{kind:"Field",name:{kind:"Name",value:"totalRuns"}},{kind:"Field",name:{kind:"Name",value:"completedRuns"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",name:{kind:"Name",value:"completedAt"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"isAutoclaimOn"}},{kind:"Field",name:{kind:"Name",value:"statusMessage"}},{kind:"Field",name:{kind:"Name",value:"wonRuns"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AccountRefFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Account"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"glhfId"}},{kind:"Field",name:{kind:"Name",value:"glhfUrl"}},{kind:"Field",name:{kind:"Name",value:"isJuiced"}}]}}]};var se={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetLeaderboard"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"take"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"skip"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"LeaderboardSortField"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leaderboard"},arguments:[{kind:"Argument",name:{kind:"Name",value:"take"},value:{kind:"Variable",name:{kind:"Name",value:"take"}}},{kind:"Argument",name:{kind:"Name",value:"skip"},value:{kind:"Variable",name:{kind:"Name",value:"skip"}}},{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"games"}},{kind:"Field",name:{kind:"Name",value:"dungeonGames"}},{kind:"Field",name:{kind:"Name",value:"fishingGames"}},{kind:"Field",name:{kind:"Name",value:"xp"}},{kind:"Field",name:{kind:"Name",value:"baseXp"}},{kind:"Field",name:{kind:"Name",value:"gamesXp"}},{kind:"Field",name:{kind:"Name",value:"referrals"}}]}}]}}]};var de={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ProcessSparksAirdrop"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"accountId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"amount"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Decimal"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"transactionType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"metadata"}},type:{kind:"NamedType",name:{kind:"Name",value:"JSON"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"processSparksAirdrop"},arguments:[{kind:"Argument",name:{kind:"Name",value:"accountId"},value:{kind:"Variable",name:{kind:"Name",value:"accountId"}}},{kind:"Argument",name:{kind:"Name",value:"amount"},value:{kind:"Variable",name:{kind:"Name",value:"amount"}}},{kind:"Argument",name:{kind:"Name",value:"transactionType"},value:{kind:"Variable",name:{kind:"Name",value:"transactionType"}}},{kind:"Argument",name:{kind:"Name",value:"metadata"},value:{kind:"Variable",name:{kind:"Name",value:"metadata"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sparks"}}]}},{kind:"Field",name:{kind:"Name",value:"transactionId"}},{kind:"Field",name:{kind:"Name",value:"error"}}]}}]}}]};var ce={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPaymentProcessedBlocks"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paymentProcessedBlocks"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"lastProcessedBlock"}},{kind:"Field",name:{kind:"Name",value:"lastVerifiedBlock"}}]}}]}}]};var me={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpsertAccountPetSettings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"accountId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"petId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"foodItemId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"upsertAccountPetSettings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"accountId"},value:{kind:"Variable",name:{kind:"Name",value:"accountId"}}},{kind:"Argument",name:{kind:"Name",value:"petId"},value:{kind:"Variable",name:{kind:"Name",value:"petId"}}},{kind:"Argument",name:{kind:"Name",value:"foodItemId"},value:{kind:"Variable",name:{kind:"Name",value:"foodItemId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"petId"}},{kind:"Field",name:{kind:"Name",value:"foodItemId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}}]}}]},pe={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetAccountPetSettings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"accountId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountPetSettings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"accountId"},value:{kind:"Variable",name:{kind:"Name",value:"accountId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountId"}},{kind:"Field",name:{kind:"Name",value:"petId"}},{kind:"Field",name:{kind:"Name",value:"foodItemId"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}}]}}]}}]},ye={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddQuest"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"description"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"type"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isActive"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isVisible"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"expiresAt"}},type:{kind:"NamedType",name:{kind:"Name",value:"BigInt"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"requirementTypeIds"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"requirementIds"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"requirementAmounts"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"claimTypeIds"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"claimIds"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"claimAmounts"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rewardTypeIds"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rewardItemIds"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rewardAmounts"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"maxCompletions"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"priority"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"tags"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"imgUrl"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addQuest"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"description"},value:{kind:"Variable",name:{kind:"Name",value:"description"}}},{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"Variable",name:{kind:"Name",value:"type"}}},{kind:"Argument",name:{kind:"Name",value:"isActive"},value:{kind:"Variable",name:{kind:"Name",value:"isActive"}}},{kind:"Argument",name:{kind:"Name",value:"isVisible"},value:{kind:"Variable",name:{kind:"Name",value:"isVisible"}}},{kind:"Argument",name:{kind:"Name",value:"expiresAt"},value:{kind:"Variable",name:{kind:"Name",value:"expiresAt"}}},{kind:"Argument",name:{kind:"Name",value:"requirementTypeIds"},value:{kind:"Variable",name:{kind:"Name",value:"requirementTypeIds"}}},{kind:"Argument",name:{kind:"Name",value:"requirementIds"},value:{kind:"Variable",name:{kind:"Name",value:"requirementIds"}}},{kind:"Argument",name:{kind:"Name",value:"requirementAmounts"},value:{kind:"Variable",name:{kind:"Name",value:"requirementAmounts"}}},{kind:"Argument",name:{kind:"Name",value:"claimTypeIds"},value:{kind:"Variable",name:{kind:"Name",value:"claimTypeIds"}}},{kind:"Argument",name:{kind:"Name",value:"claimIds"},value:{kind:"Variable",name:{kind:"Name",value:"claimIds"}}},{kind:"Argument",name:{kind:"Name",value:"claimAmounts"},value:{kind:"Variable",name:{kind:"Name",value:"claimAmounts"}}},{kind:"Argument",name:{kind:"Name",value:"rewardTypeIds"},value:{kind:"Variable",name:{kind:"Name",value:"rewardTypeIds"}}},{kind:"Argument",name:{kind:"Name",value:"rewardItemIds"},value:{kind:"Variable",name:{kind:"Name",value:"rewardItemIds"}}},{kind:"Argument",name:{kind:"Name",value:"rewardAmounts"},value:{kind:"Variable",name:{kind:"Name",value:"rewardAmounts"}}},{kind:"Argument",name:{kind:"Name",value:"maxCompletions"},value:{kind:"Variable",name:{kind:"Name",value:"maxCompletions"}}},{kind:"Argument",name:{kind:"Name",value:"priority"},value:{kind:"Variable",name:{kind:"Name",value:"priority"}}},{kind:"Argument",name:{kind:"Name",value:"tags"},value:{kind:"Variable",name:{kind:"Name",value:"tags"}}},{kind:"Argument",name:{kind:"Name",value:"imgUrl"},value:{kind:"Variable",name:{kind:"Name",value:"imgUrl"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"isActive"}},{kind:"Field",name:{kind:"Name",value:"isVisible"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"expiresAt"}},{kind:"Field",name:{kind:"Name",value:"requirementTypeIds"}},{kind:"Field",name:{kind:"Name",value:"requirementIds"}},{kind:"Field",name:{kind:"Name",value:"requirementAmounts"}},{kind:"Field",name:{kind:"Name",value:"claimTypeIds"}},{kind:"Field",name:{kind:"Name",value:"claimIds"}},{kind:"Field",name:{kind:"Name",value:"claimAmounts"}},{kind:"Field",name:{kind:"Name",value:"rewardTypeIds"}},{kind:"Field",name:{kind:"Name",value:"rewardItemIds"}},{kind:"Field",name:{kind:"Name",value:"rewardAmounts"}},{kind:"Field",name:{kind:"Name",value:"maxCompletions"}},{kind:"Field",name:{kind:"Name",value:"priority"}},{kind:"Field",name:{kind:"Name",value:"tags"}},{kind:"Field",name:{kind:"Name",value:"imgUrl"}}]}}]}}]};var ke={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetQuests"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"take"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"skip"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isActive"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isVisible"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"search"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"QuestSortField"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"quests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"take"},value:{kind:"Variable",name:{kind:"Name",value:"take"}}},{kind:"Argument",name:{kind:"Name",value:"skip"},value:{kind:"Variable",name:{kind:"Name",value:"skip"}}},{kind:"Argument",name:{kind:"Name",value:"isActive"},value:{kind:"Variable",name:{kind:"Name",value:"isActive"}}},{kind:"Argument",name:{kind:"Name",value:"isVisible"},value:{kind:"Variable",name:{kind:"Name",value:"isVisible"}}},{kind:"Argument",name:{kind:"Name",value:"search"},value:{kind:"Variable",name:{kind:"Name",value:"search"}}},{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"isActive"}},{kind:"Field",name:{kind:"Name",value:"isVisible"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"expiresAt"}},{kind:"Field",name:{kind:"Name",value:"requirementTypeIds"}},{kind:"Field",name:{kind:"Name",value:"requirementIds"}},{kind:"Field",name:{kind:"Name",value:"requirementAmounts"}},{kind:"Field",name:{kind:"Name",value:"claimTypeIds"}},{kind:"Field",name:{kind:"Name",value:"claimIds"}},{kind:"Field",name:{kind:"Name",value:"claimAmounts"}},{kind:"Field",name:{kind:"Name",value:"rewardTypeIds"}},{kind:"Field",name:{kind:"Name",value:"rewardItemIds"}},{kind:"Field",name:{kind:"Name",value:"rewardAmounts"}},{kind:"Field",name:{kind:"Name",value:"maxCompletions"}},{kind:"Field",name:{kind:"Name",value:"priority"}},{kind:"Field",name:{kind:"Name",value:"tags"}},{kind:"Field",name:{kind:"Name",value:"imgUrl"}}]}},{kind:"Field",name:{kind:"Name",value:"questsCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"isActive"},value:{kind:"Variable",name:{kind:"Name",value:"isActive"}}},{kind:"Argument",name:{kind:"Name",value:"isVisible"},value:{kind:"Variable",name:{kind:"Name",value:"isVisible"}}},{kind:"Argument",name:{kind:"Name",value:"search"},value:{kind:"Variable",name:{kind:"Name",value:"search"}}}]}]}}]},be={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UseService"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"accountId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"serviceId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sparkCost"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Decimal"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"metadata"}},type:{kind:"NamedType",name:{kind:"Name",value:"JSON"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"useService"},arguments:[{kind:"Argument",name:{kind:"Name",value:"accountId"},value:{kind:"Variable",name:{kind:"Name",value:"accountId"}}},{kind:"Argument",name:{kind:"Name",value:"serviceId"},value:{kind:"Variable",name:{kind:"Name",value:"serviceId"}}},{kind:"Argument",name:{kind:"Name",value:"sparkCost"},value:{kind:"Variable",name:{kind:"Name",value:"sparkCost"}}},{kind:"Argument",name:{kind:"Name",value:"metadata"},value:{kind:"Variable",name:{kind:"Name",value:"metadata"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"}},{kind:"Field",name:{kind:"Name",value:"message"}},{kind:"Field",name:{kind:"Name",value:"actualCost"}},{kind:"Field",name:{kind:"Name",value:"transactionId"}}]}}]}}]},Ie={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetServices"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"services"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"sparkCost"}},{kind:"Field",name:{kind:"Name",value:"isActive"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}},{kind:"Field",name:{kind:"Name",value:"updatedAt"}},{kind:"Field",name:{kind:"Name",value:"imgUrl"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"index"}}]}}]}}]};var ge={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetOnline"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"online"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"queued"}},{kind:"Field",name:{kind:"Name",value:"inProgress"}}]}}]}}]};var Kt={"fragment AccountRefFields on Account {\n id\n name\n glhfId\n glhfUrl\n isJuiced\n}\n\nfragment AccountCoreFields on Account {\n id\n name\n tokenId\n glhfId\n glhfUrl\n faction\n status\n isJuiced\n}\n\nfragment PublicAccountFields on Account {\n id\n name\n tokenId\n glhfId\n glhfUrl\n faction\n status\n isJuiced\n sparks\n xp\n gear\n consumables\n createdAt\n updatedAt\n juicedExp\n}\n\nfragment AccountFullFields on Account {\n ...AccountCoreFields\n jwt\n jwtExp\n sparks\n xp\n gear\n consumables\n createdAt\n updatedAt\n delegateeId\n referrerId\n juicedExp\n accountSkills {\n skillId\n level\n stats\n }\n quests {\n questId\n isCompleted\n completionCount\n }\n checkpoints {\n checkpointId\n isCompleted\n completionCount\n }\n}\n\nfragment AccountScrollFields on AccountScroll {\n accountId\n scrollId\n level\n isActive\n expiresAt\n createdAt\n updatedAt\n scroll {\n ...ScrollFields\n }\n}\n\nfragment AccountServiceFields on AccountService {\n accountId\n serviceId\n subscribedAt\n updatedAt\n isActive\n lastRevealed\n options\n}\n\nfragment AccountSubscriptionFields on AccountSubscription {\n accountId\n endpoint\n p256dh\n auth\n isSubscribedToAll\n subscribedFor\n createdAt\n updatedAt\n}\n\nfragment ScrollFields on Scroll {\n id\n name\n description\n maxLevel\n imgUrl\n expirationDuration\n createdAt\n updatedAt\n}":R,"mutation UpsertAccountGameOptions($accountId: String!, $gameType: Int!, $subType: Int!, $options: JSON!) {\n upsertAccountGameOptions(\n accountId: $accountId\n gameType: $gameType\n subType: $subType\n options: $options\n ) {\n accountId\n gameType\n subType\n options\n createdAt\n updatedAt\n }\n}\n\nmutation AddAccountScroll($accountId: String!, $scrollId: Int!, $level: Int, $isActive: Boolean, $expiresAt: BigInt) {\n addAccountScroll(\n accountId: $accountId\n scrollId: $scrollId\n level: $level\n isActive: $isActive\n expiresAt: $expiresAt\n ) {\n ...AccountScrollFields\n }\n}\n\nmutation UpsertAccount($input: UpsertAccountInput!) {\n upsertAccount(input: $input) {\n success\n message\n id\n created\n }\n}\n\nmutation UpdateAccountFaction($accountId: String!, $faction: Int!) {\n updateAccountFaction(accountId: $accountId, faction: $faction) {\n id\n faction\n }\n}\n\nmutation BulkUpsertAccounts($inputs: [UpsertAccountInput!]!) {\n bulkUpsertAccounts(inputs: $inputs) {\n success\n updated\n created\n failed\n message\n }\n}\n\nmutation UpdateAccountGlhf($accountId: String, $glhfId: Int, $glhfUrl: String) {\n updateAccountGlhf(accountId: $accountId, glhfId: $glhfId, glhfUrl: $glhfUrl) {\n success\n message\n }\n}":E,'query GetAccountById($id: String!) {\n account(id: $id) {\n ...AccountFullFields\n jobs(where: {statusIn: ["queued", "in_progress", "paused"]}) {\n id\n status\n type\n totalRuns\n completedRuns\n wonRuns\n createdAt\n }\n }\n}\n\nquery GetAccountByIdWithScrolls($id: String!) {\n account(id: $id) {\n ...AccountFullFields\n jobs(where: {statusIn: ["queued", "in_progress", "paused"]}) {\n id\n status\n type\n totalRuns\n completedRuns\n wonRuns\n createdAt\n }\n accountScrolls {\n ...AccountScrollFields\n }\n }\n}\n\nquery GetAccountNameById($id: String!) {\n account(id: $id) {\n name\n }\n}\n\nquery GetReferrerId($name: String!) {\n accountByName(name: $name) {\n id\n name\n }\n}\n\nquery GetAccountByName($name: String!) {\n accountByName(name: $name) {\n ...AccountFullFields\n jobs(where: {statusIn: ["queued", "in_progress", "paused"]}) {\n id\n status\n type\n totalRuns\n completedRuns\n wonRuns\n createdAt\n }\n }\n}\n\nquery GetPublicAccountByName($name: String!) {\n accountByName(name: $name) {\n ...PublicAccountFields\n accountSkills {\n skillId\n level\n stats\n }\n checkpoints {\n checkpointId\n isCompleted\n completionCount\n }\n }\n}\n\nquery GetPublicAccountById($id: String!) {\n account(id: $id) {\n ...PublicAccountFields\n accountSkills {\n skillId\n level\n stats\n }\n checkpoints {\n checkpointId\n isCompleted\n completionCount\n }\n }\n}\n\nquery GetPublicAccounts($where: PublicAccountsWhereInput, $take: Int, $skip: Int) {\n publicAccounts(where: $where, take: $take, skip: $skip) {\n ...PublicAccountFields\n accountSkills {\n skillId\n level\n stats\n }\n }\n}\n\nquery GetAccountsByIds($ids: [String!]!) {\n accountsByIds(ids: $ids) {\n ...AccountCoreFields\n }\n}\n\nquery GetAccountLookupById($id: String!) {\n account(id: $id) {\n id\n name\n glhfId\n glhfUrl\n }\n}\n\nquery GetAccountSearch($query: String!, $juicedOnly: Boolean, $take: Int) {\n accountSearch(query: $query, juicedOnly: $juicedOnly, take: $take) {\n id\n name\n tokenId\n glhfId\n glhfUrl\n faction\n status\n isJuiced\n sparks\n juicedExp\n }\n}\n\nquery GetAccountGameOptions($accountId: String!, $gameType: Int!, $subType: Int!) {\n accountGameOptions(\n accountId: $accountId\n gameType: $gameType\n subType: $subType\n ) {\n accountId\n gameType\n subType\n options\n createdAt\n updatedAt\n }\n}\n\nquery GetAccountWithReferrals($id: String!) {\n account(id: $id) {\n ...AccountCoreFields\n sparks\n xp\n createdAt\n referrals {\n ...AccountCoreFields\n sparks\n xp\n createdAt\n updatedAt\n }\n }\n}\n\nquery GetAccountStats($name: String!) {\n leaderboard(take: 1, name: $name) {\n accountId\n name\n games\n dungeonGames\n fishingGames\n xp\n baseXp\n gamesXp\n referrals\n }\n}\n\nquery GetAccountXp($accountId: String!) {\n accountXp(accountId: $accountId) {\n xp\n }\n}\n\nquery GetAccountStatsWithWins($name: String!) {\n accountStats(name: $name) {\n accountId\n name\n totalGames\n totalWins\n totalWinrate\n game1Count\n game1Wins\n game1Winrate\n game2Count\n game2Wins\n game2Winrate\n game3Count\n game3Wins\n game3Winrate\n xp\n }\n}\n\nquery GetAccounts($take: Int, $skip: Int, $where: AccountsWhereInput, $sortBy: AccountSortField, $sortOrder: SortOrder) {\n accounts(\n take: $take\n skip: $skip\n where: $where\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n ...AccountCoreFields\n juicedExp\n sparks\n xp\n createdAt\n updatedAt\n referrerId\n referrer {\n ...AccountRefFields\n }\n accountSkills {\n skillId\n level\n }\n dungeonsAggregate {\n _count\n }\n accountScrolls {\n scrollId\n level\n isActive\n expiresAt\n createdAt\n }\n }\n accountsCount(where: $where)\n}\n\nquery GetAccountsBasic($take: Int, $skip: Int, $where: AccountsWhereInput) {\n accounts(take: $take, skip: $skip, where: $where) {\n id\n name\n tokenId\n glhfId\n glhfUrl\n faction\n }\n accountsCount(where: $where)\n}\n\nquery GetAccountState($accountId: String!) {\n account(id: $accountId) {\n id\n sparks\n }\n jobs(\n where: {accountId: $accountId}\n take: 1\n sortBy: createdAt\n sortOrder: desc\n ) {\n status\n }\n}\n\nquery GetAccountServices($accountId: String!) {\n accountServices(accountId: $accountId) {\n accountId\n serviceId\n subscribedAt\n updatedAt\n isActive\n options\n lastRevealed\n service {\n id\n name\n sparkCost\n isActive\n }\n }\n}\n\nquery GetAccountQuests($accountId: String!) {\n accountQuests(accountId: $accountId) {\n accountId\n questId\n startedAt\n updatedAt\n lastCompletedAt\n expiresAt\n isCompleted\n completionCount\n quest {\n id\n name\n description\n type\n isActive\n expiresAt\n requirementTypeIds\n requirementIds\n requirementAmounts\n claimTypeIds\n claimIds\n claimAmounts\n rewardTypeIds\n rewardItemIds\n rewardAmounts\n maxCompletions\n priority\n }\n }\n}\n\nquery GetAccountSubscriptions($accountId: String, $take: Int, $skip: Int) {\n accountSubscriptions(accountId: $accountId, take: $take, skip: $skip) {\n accountId\n endpoint\n p256dh\n auth\n isSubscribedToAll\n subscribedFor\n createdAt\n updatedAt\n account {\n ...AccountRefFields\n }\n }\n}\n\nquery GetReferralEarnings($referralId: String!) {\n referralEarnings(referralId: $referralId)\n}\n\nquery GetAccountScrolls($accountId: String!) {\n accountScrolls(accountId: $accountId) {\n ...AccountScrollFields\n }\n}\n\nquery GetAccountStats2($name: String!) {\n accountStats2(name: $name) {\n accountId\n name\n totalGames\n totalWins\n d5000Games\n d5000Wins\n underhaulGames\n underhaulWins\n fishingGames\n fishingWins\n xp\n activeDays\n longestStreak\n currentStreak\n firstGameAt\n lastGameAt\n updatedAt\n }\n}\n\nquery GetAccountActivities($accountId: String!) {\n accountActivities(accountId: $accountId) {\n accountId\n dayAt\n d5000Games\n d5000Wins\n d5000Profit\n underhaulGames\n underhaulWins\n underhaulProfit\n fishingGames\n fishingWins\n fishingCatches\n totalGames\n totalWins\n }\n}\n\nquery GetAccountSkillStats($accountIds: [String!]!, $skillId: Int!) {\n accountSkillStats(accountIds: $accountIds, skillId: $skillId) {\n accountId\n stats\n }\n}':U,"fragment ConquestMoveFields on ConquestMove {\n id\n q\n r\n executorId\n amount\n itemId\n conquest\n tick\n isOwnFaction\n actionType\n factionId\n spenderId\n createdAt\n}":V,"mutation AddConquestSnapshot($input: ConquestSnapshotInput!) {\n addConquestSnapshot(input: $input) {\n id\n tiles\n createdAt\n updatedAt\n }\n}\n\nmutation UpdateConquestSnapshot($id: Int!, $input: ConquestSnapshotUpdateInput!) {\n updateConquestSnapshot(id: $id, input: $input) {\n id\n tiles\n createdAt\n updatedAt\n }\n}":W,"query GetConquestSnapshots($where: ConquestSnapshotWhereInput) {\n conquestSnapshots(where: $where) {\n id\n tiles\n createdAt\n updatedAt\n }\n}\n\nquery GetConquestSnapshotById($id: Int!) {\n conquestSnapshotById(id: $id) {\n id\n tiles\n createdAt\n updatedAt\n }\n}":H,"mutation UnlinkDiscord {\n unlinkDiscord\n}":L,"query GetAccountDiscord {\n accountDiscord {\n id\n username\n avatarUrl\n createdAt\n }\n}":j,"query GetLatestDrops($limit: Int) {\n latestDrops(limit: $limit) {\n id\n type\n gameId\n accountId\n accountName\n itemId\n items {\n itemId\n amount\n }\n rarity\n profit\n createdAt\n }\n}":_,"fragment DungeonJackpotFields on DungeonJackpot {\n dungeonId\n accountId\n room\n percentage\n rarity\n amount\n itemId\n createdAt\n}\n\nfragment DungeonJackpotWithAccount on DungeonJackpot {\n ...DungeonJackpotFields\n account {\n id\n name\n faction\n }\n}\n\nfragment DungeonJackpotWithDungeon on DungeonJackpot {\n ...DungeonJackpotFields\n dungeon {\n id\n type\n isWon\n isCompleted\n }\n}":Q,"query GetDungeonJackpot($dungeonId: Int!, $accountId: String!, $room: Int!) {\n dungeonJackpot(dungeonId: $dungeonId, accountId: $accountId, room: $room) {\n ...DungeonJackpotWithAccount\n ...DungeonJackpotWithDungeon\n }\n}\n\nquery GetDungeonJackpots($take: Int, $skip: Int, $where: DungeonJackpotWhereInput, $sortBy: DungeonJackpotSortField, $sortOrder: SortOrder) {\n dungeonJackpots(\n take: $take\n skip: $skip\n where: $where\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n ...DungeonJackpotWithAccount\n }\n}\n\nquery GetDungeonJackpotsWithCount($take: Int, $skip: Int, $where: DungeonJackpotWhereInput, $sortBy: DungeonJackpotSortField, $sortOrder: SortOrder) {\n dungeonJackpots(\n take: $take\n skip: $skip\n where: $where\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n ...DungeonJackpotWithAccount\n }\n dungeonJackpotsCount(where: $where)\n}":X,"fragment DungeonCoreFields on Dungeon {\n id\n type\n model\n tier\n isCompleted\n isWon\n isFled\n createdAt\n}\n\nfragment DungeonFullFields on Dungeon {\n ...DungeonCoreFields\n accountId\n jobId\n isCorrupted\n isJuiced\n multiplier\n consumables\n gear\n profit\n}\n\nfragment DropFields on Drop {\n encounterId\n enemyId\n itemId\n amount\n isJuiced\n}\n\nfragment EncounterCoreFields on Encounter {\n id\n room\n isLootPhase\n noobHealth\n noobShield\n noobLevel\n enemyId\n enemyHealth\n enemyMaxHealth\n enemyShield\n enemyMaxShield\n isInvader\n invaderName\n invaderLevel\n}\n\nfragment EncounterFullFields on Encounter {\n ...EncounterCoreFields\n dungeonId\n accountId\n round\n action\n actionType\n dungeonType\n model\n timestamp\n noobMaxHealth\n noobMaxShield\n noobStats\n noobCharges\n noobEquipment\n noobEffects\n noobActiveEffects\n noobVoidStats\n noobProcs\n enemyStats\n enemyCharges\n enemyEquipment\n enemyEffects\n enemyActiveEffects\n enemyVoidStats\n enemyProcs\n lastNoobMove\n lastEnemyMove\n lastOutcome\n lootOptions\n consumables\n consumableUsed\n gear\n reason\n invaderId\n invaderGear\n}":O,"mutation StartDungeon($id: Int!, $model: Int!, $accountId: String!, $type: Int!, $consumables: JSON!, $gear: JSON!, $jobId: BigInt, $isJuiced: Boolean!, $multiplier: Int!, $tier: Int) {\n startDungeon(\n id: $id\n model: $model\n accountId: $accountId\n type: $type\n consumables: $consumables\n gear: $gear\n jobId: $jobId\n isJuiced: $isJuiced\n multiplier: $multiplier\n tier: $tier\n ) {\n id\n accountId\n type\n model\n isCompleted\n isWon\n isCorrupted\n isFled\n isJuiced\n multiplier\n tier\n consumables\n gear\n jobId\n createdAt\n }\n}\n\nmutation UpdateDungeon($id: Int!, $isCompleted: Boolean, $isWon: Boolean, $isCorrupted: Boolean, $isFled: Boolean, $profit: Decimal) {\n updateDungeon(\n id: $id\n isCompleted: $isCompleted\n isWon: $isWon\n isCorrupted: $isCorrupted\n isFled: $isFled\n profit: $profit\n ) {\n id\n isCompleted\n isWon\n isCorrupted\n isFled\n profit\n }\n}\n\nmutation AddEncounter($input: AddEncounterInput!) {\n addEncounter(input: $input) {\n id\n dungeonId\n accountId\n round\n room\n action\n actionType\n dungeonType\n model\n timestamp\n }\n}\n\nmutation AddDrops($drops: [DropInput!]!) {\n addDrops(drops: $drops) {\n encounterId\n dungeonId\n accountId\n enemyId\n itemId\n amount\n isJuiced\n }\n}\n\nmutation AddDungeonJackpot($jackpot: DungeonJackpotInput!) {\n addDungeonJackpot(jackpot: $jackpot) {\n dungeonId\n accountId\n room\n percentage\n rarity\n amount\n itemId\n createdAt\n }\n}":K,"query GetDungeonById($id: Int!, $encountersLimit: Int) {\n dungeon(id: $id) {\n ...DungeonFullFields\n createdAt\n account {\n ...AccountRefFields\n }\n job {\n id\n status\n totalRuns\n options\n dungeons {\n ...DungeonCoreFields\n }\n }\n encounters(take: $encountersLimit) {\n ...EncounterFullFields\n account {\n ...AccountRefFields\n }\n drops {\n ...DropFields\n }\n }\n drops {\n ...DropFields\n }\n }\n}\n\nquery GetDungeonDropsById($id: Int!) {\n dungeon(id: $id) {\n drops {\n itemId\n amount\n }\n }\n}\n\nquery GetDungeonStatusById($id: Int!) {\n dungeon(id: $id) {\n isCompleted\n isWon\n isCorrupted\n }\n}\n\nquery GetDungeons($take: Int, $skip: Int, $where: DungeonWhereInput, $sortBy: DungeonSortField, $sortOrder: SortOrder) {\n dungeons(\n take: $take\n skip: $skip\n where: $where\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n ...DungeonFullFields\n account {\n ...AccountRefFields\n }\n job {\n id\n options\n }\n encounters(take: 2) {\n ...EncounterCoreFields\n }\n drops {\n ...DropFields\n }\n }\n}\n\nquery GetDungeonsWithCount($take: Int, $skip: Int, $where: DungeonWhereInput, $sortBy: DungeonSortField, $sortOrder: SortOrder) {\n dungeons(\n take: $take\n skip: $skip\n where: $where\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n ...DungeonFullFields\n account {\n ...AccountRefFields\n }\n job {\n id\n options\n }\n encounters(take: 2) {\n ...EncounterCoreFields\n }\n drops {\n ...DropFields\n }\n }\n dungeonsCount(where: $where)\n}\n\nquery GetDungeonCountsByAccount($createdBefore: BigInt) {\n getDungeonCountsByAccount(createdBefore: $createdBefore) {\n accountId\n name\n regularCount\n juicedCount\n }\n}\n\nquery GetGameStats($createdAfter: BigInt!) {\n activeDungeonsCount: dungeonsCount(where: {isCompleted: false})\n dungeonsTodayCount: dungeonsCount(where: {createdAfter: $createdAfter})\n activeFishingCount: fishingCount(where: {isCompleted: false})\n fishingTodayCount: fishingCount(where: {createdAfter: $createdAfter})\n}\n\nquery GetDungeonsForSimulation($take: Int, $skip: Int, $where: DungeonWhereInput, $sortBy: DungeonSortField, $sortOrder: SortOrder) {\n dungeons(\n take: $take\n skip: $skip\n where: $where\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n type\n model\n createdAt\n isCompleted\n isCorrupted\n isWon\n isJuiced\n profit\n encounters {\n room\n isInvader\n isLootPhase\n lootOptions\n noobLevel\n invaderLevel\n invaderId\n enemyHealth\n enemyMaxHealth\n enemyShield\n enemyMaxShield\n enemyStats\n enemyCharges\n }\n }\n}":Y,"query GetEventTopPlayers($dungeonType: Int, $limit: Int, $minGames: Int) {\n eventTopPlayers(dungeonType: $dungeonType, limit: $limit, minGames: $minGames) {\n accountId\n accountName\n gamesCount\n wins\n winRate\n totalJackpots\n totalCandles\n totalGigabit\n }\n}":z,"fragment FactionRoleFields on FactionRole {\n factionId\n rank\n name\n permissions\n maxCount\n createdAt\n updatedAt\n}\n\nfragment FactionMemberFields on FactionMember {\n accountId\n factionId\n rank\n status\n delegatedItems\n createdAt\n updatedAt\n account {\n ...AccountRefFields\n }\n factionRole {\n ...FactionRoleFields\n }\n}\n\nfragment FactionMemberPublicFields on FactionMember {\n accountId\n factionId\n rank\n status\n createdAt\n updatedAt\n account {\n ...AccountRefFields\n }\n factionRole {\n ...FactionRoleFields\n }\n}\n\nfragment FactionTreasuryFields on FactionTreasury {\n factionId\n items\n createdAt\n updatedAt\n}\n\nfragment FactionOrderFields on FactionOrder {\n id\n factionId\n createdBy\n completedBy\n actionType\n q\n r\n amount\n itemId\n conquest\n priority\n status\n message\n expiresAt\n completedAt\n conquestMoveId\n createdAt\n updatedAt\n}":w,"mutation UpdateFactionMember($accountId: String!, $factionId: Int, $rank: Int, $status: MemberStatus, $delegatedItems: JSON) {\n updateFactionMember(\n accountId: $accountId\n factionId: $factionId\n rank: $rank\n status: $status\n delegatedItems: $delegatedItems\n ) {\n ...FactionMemberFields\n }\n}\n\nmutation AddFactionTreasury($factionId: Int!, $items: JSON) {\n addFactionTreasury(factionId: $factionId, items: $items) {\n ...FactionTreasuryFields\n }\n}\n\nmutation UpdateFactionTreasury($factionId: Int!, $items: JSON) {\n updateFactionTreasury(factionId: $factionId, items: $items) {\n ...FactionTreasuryFields\n }\n}":Z,"query GetFactionMembers($where: FactionMembersWhereInput, $take: Int, $skip: Int, $sortBy: FactionMemberSortField, $sortOrder: SortOrder) {\n factionMembers(\n where: $where\n take: $take\n skip: $skip\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n ...FactionMemberFields\n }\n}\n\nquery GetFactionMembersPublic($where: FactionMembersWhereInput, $take: Int, $skip: Int, $sortBy: FactionMemberSortField, $sortOrder: SortOrder) {\n factionMembers(\n where: $where\n take: $take\n skip: $skip\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n ...FactionMemberPublicFields\n }\n}\n\nquery GetFactionRoles($where: FactionRolesWhereInput, $take: Int, $skip: Int, $sortBy: FactionRoleSortField, $sortOrder: SortOrder) {\n factionRoles(\n where: $where\n take: $take\n skip: $skip\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n ...FactionRoleFields\n }\n}\n\nquery GetFactionTreasury($factionId: Int!) {\n factionTreasury(factionId: $factionId) {\n ...FactionTreasuryFields\n }\n}":ee,"fragment FishingCoreFields on Fishing {\n id\n accountId\n jobId\n type\n model\n strategy\n strategyTemp\n isCompleted\n isWon\n isCorrupted\n isManual\n gear\n createdAt\n isJebaited\n isDoubleYield\n isPlusRarity\n isPlusQuality\n}\n\nfragment FishingEncounterCoreFields on FishingEncounter {\n id\n round\n isLootPhase\n playerHp\n playerLevel\n fishHp\n fishMaxHp\n fishPosition\n}\n\nfragment FishingEncounterFullFields on FishingEncounter {\n ...FishingEncounterCoreFields\n fishingId\n action\n type\n timestamp\n playerMaxHp\n fishPrevPosition\n fishNextPosition\n deck\n hand\n discard\n caughtFish\n lootChosen\n lootOptions\n redrawCount\n cardPlayedId\n reason\n}\n\nfragment FishingDropFields on FishingDrop {\n itemId\n amount\n totalCaught\n isNewFish\n isRecordGirth\n isRecordLength\n isRecordWeight\n isRecordQuality\n quality\n girth\n length\n weight\n}":P,"mutation StartFishing($id: Int!, $model: Int!, $accountId: String!, $type: Int!, $gear: JSON!, $jobId: BigInt, $isManual: Boolean) {\n startFishing(\n id: $id\n model: $model\n accountId: $accountId\n type: $type\n gear: $gear\n jobId: $jobId\n isManual: $isManual\n ) {\n id\n accountId\n type\n model\n isCompleted\n isWon\n isCorrupted\n isManual\n gear\n jobId\n createdAt\n }\n}\n\nmutation UpdateFishing($id: Int!, $isCompleted: Boolean, $isWon: Boolean, $isCorrupted: Boolean, $isManual: Boolean, $isJebaited: Boolean, $strategy: Int, $strategyTemp: [Int!], $jobId: BigInt) {\n updateFishing(\n id: $id\n isCompleted: $isCompleted\n isWon: $isWon\n isCorrupted: $isCorrupted\n isManual: $isManual\n isJebaited: $isJebaited\n strategy: $strategy\n strategyTemp: $strategyTemp\n jobId: $jobId\n ) {\n id\n isCompleted\n isWon\n isCorrupted\n isManual\n isJebaited\n strategy\n strategyTemp\n jobId\n }\n}\n\nmutation AddFishingEncounter($id: String!, $fishingId: Int!, $action: String!, $type: Int!, $deck: [Int!]!, $hand: [Int!]!, $discard: [Int!]!, $playerHp: Int!, $playerMaxHp: Int!, $fishHp: Int!, $fishMaxHp: Int!, $fishPosition: JSON!, $fishPrevPosition: JSON!, $fishNextPosition: JSON, $isLootPhase: Boolean!, $caughtFish: Int, $lootChosen: Int, $lootOptions: [Int!]!, $playerLevel: Int!, $round: Int!, $reason: String, $redrawCount: Int, $cardPlayedId: Int, $timestamp: BigInt) {\n addFishingEncounter(\n id: $id\n fishingId: $fishingId\n action: $action\n type: $type\n deck: $deck\n hand: $hand\n discard: $discard\n playerHp: $playerHp\n playerMaxHp: $playerMaxHp\n fishHp: $fishHp\n fishMaxHp: $fishMaxHp\n fishPosition: $fishPosition\n fishPrevPosition: $fishPrevPosition\n fishNextPosition: $fishNextPosition\n isLootPhase: $isLootPhase\n caughtFish: $caughtFish\n lootChosen: $lootChosen\n lootOptions: $lootOptions\n playerLevel: $playerLevel\n round: $round\n reason: $reason\n redrawCount: $redrawCount\n cardPlayedId: $cardPlayedId\n timestamp: $timestamp\n ) {\n id\n fishingId\n action\n type\n round\n timestamp\n }\n}\n\nmutation AddFishingDrops($drops: [FishingDropInput!]!, $effectProcs: FishingEffectProcsInput) {\n addFishingDrops(drops: $drops, effectProcs: $effectProcs) {\n itemId\n amount\n totalCaught\n isNewFish\n isRecordGirth\n isRecordLength\n isRecordWeight\n isRecordQuality\n quality\n girth\n length\n weight\n }\n}":ne,"query GetFishingById($id: Int!, $encountersLimit: Int) {\n fishingById(id: $id) {\n ...FishingCoreFields\n account {\n ...AccountRefFields\n }\n job {\n id\n status\n totalRuns\n options\n fishing {\n id\n type\n model\n isCompleted\n isWon\n createdAt\n }\n }\n fishingEncounters(take: $encountersLimit) {\n ...FishingEncounterFullFields\n }\n fishingDrops {\n ...FishingDropFields\n }\n }\n}\n\nquery GetFishing($take: Int, $skip: Int, $where: FishingWhereInput, $sortBy: FishingSortField, $sortOrder: SortOrder) {\n fishing(\n take: $take\n skip: $skip\n where: $where\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n ...FishingCoreFields\n account {\n ...AccountRefFields\n }\n job {\n id\n options\n }\n fishingEncounters {\n ...FishingEncounterCoreFields\n }\n fishingDrops {\n ...FishingDropFields\n }\n }\n}\n\nquery GetFishingWithCount($take: Int, $skip: Int, $where: FishingWhereInput, $sortBy: FishingSortField, $sortOrder: SortOrder) {\n fishing(\n take: $take\n skip: $skip\n where: $where\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n ...FishingCoreFields\n account {\n ...AccountRefFields\n }\n job {\n id\n options\n }\n fishingEncounters {\n ...FishingEncounterCoreFields\n }\n fishingDrops {\n ...FishingDropFields\n }\n }\n fishingCount(where: $where)\n}":te,"mutation RequestHint($gameType: Int!, $gameId: Int!) {\n requestHint(gameType: $gameType, gameId: $gameId) {\n success\n message\n hint {\n action\n cardId\n cardName\n reason\n confidence\n }\n hintsRemaining\n sparkCost\n wasFree\n }\n}":ae,"query HintStatus($gameType: Int!) {\n hintStatus(gameType: $gameType) {\n freeHintsRemaining\n sparkCost\n nextResetTime\n isActive\n }\n}":ie,"mutation AddItem($id: Int!, $name: String!, $rarity: Int!, $type: String, $imgUrl: String) {\n addItem(id: $id, name: $name, rarity: $rarity, type: $type, imgUrl: $imgUrl) {\n id\n name\n rarity\n type\n imgUrl\n createdAt\n updatedAt\n }\n}\n\nmutation UpdateItem($id: Int!, $name: String, $rarity: Int, $type: String, $imgUrl: String) {\n updateItem(id: $id, name: $name, rarity: $rarity, type: $type, imgUrl: $imgUrl) {\n id\n name\n rarity\n type\n imgUrl\n createdAt\n updatedAt\n }\n}\n\nmutation AddItemSupplySnapshot($itemId: Int!, $supply: BigInt!, $equipmentCount: BigInt, $onchainCount: BigInt, $listedCount: BigInt, $timestamp: BigInt, $topHolders: JSON) {\n addItemSupplySnapshot(\n itemId: $itemId\n supply: $supply\n equipmentCount: $equipmentCount\n onchainCount: $onchainCount\n listedCount: $listedCount\n timestamp: $timestamp\n topHolders: $topHolders\n ) {\n itemId\n supply\n equipmentCount\n onchainCount\n listedCount\n timestamp\n topHolders\n }\n}":re,"query GetItems($take: Int, $skip: Int, $where: ItemWhereInput, $sortBy: ItemSortField, $sortOrder: SortOrder) {\n items(\n take: $take\n skip: $skip\n where: $where\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n id\n name\n rarity\n type\n imgUrl\n createdAt\n updatedAt\n }\n itemsCount(where: $where)\n}\n\nquery GetItemsWithSnapshots($take: Int, $skip: Int, $where: ItemWhereInput, $sortBy: ItemSortField, $sortOrder: SortOrder) {\n items(\n take: $take\n skip: $skip\n where: $where\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n id\n name\n rarity\n type\n imgUrl\n createdAt\n updatedAt\n snapshots {\n itemId\n supply\n equipmentCount\n onchainCount\n listedCount\n timestamp\n topHolders\n }\n }\n itemsCount(where: $where)\n}":ue,"fragment JobFields on Job {\n id\n accountId\n executorId\n type\n options\n totalRuns\n completedRuns\n status\n startedAt\n completedAt\n createdAt\n updatedAt\n isAutoclaimOn\n statusMessage\n wonRuns\n}":J,"mutation UpdateJob($id: BigInt!, $status: String, $statusMessage: String, $completedRuns: Int, $wonRuns: Int, $totalRuns: Int, $startedAt: BigInt, $completedAt: BigInt) {\n updateJob(\n id: $id\n status: $status\n statusMessage: $statusMessage\n completedRuns: $completedRuns\n wonRuns: $wonRuns\n totalRuns: $totalRuns\n startedAt: $startedAt\n completedAt: $completedAt\n ) {\n ...JobFields\n }\n}":oe,"query GetJobs($take: Int, $skip: Int, $where: JobWhereInput, $sortBy: JobSortField, $sortOrder: SortOrder) {\n jobs(\n take: $take\n skip: $skip\n where: $where\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n ...JobFields\n account {\n ...AccountRefFields\n }\n dungeons {\n isWon\n isFled\n }\n }\n jobsCount(where: $where)\n}\n\nquery GetJobById($id: BigInt!, $take: Int, $skip: Int) {\n jobById(id: $id) {\n ...JobFields\n account {\n ...AccountRefFields\n }\n dungeons(take: $take, skip: $skip) {\n ...DungeonFullFields\n account {\n ...AccountRefFields\n }\n job {\n id\n options\n }\n encounters(take: 2) {\n ...EncounterFullFields\n drops {\n ...DropFields\n }\n }\n }\n fishing(take: $take, skip: $skip) {\n ...FishingCoreFields\n account {\n ...AccountRefFields\n }\n job {\n id\n options\n }\n fishingEncounters(take: 2) {\n ...FishingEncounterCoreFields\n }\n fishingDrops(take: 20) {\n ...FishingDropFields\n }\n }\n }\n}\n\nquery GetJobDungeonDropSummary($jobId: BigInt!) {\n jobDungeonDropSummary(jobId: $jobId) {\n itemId\n amount\n }\n}\n\nquery GetJobFishingDropSummary($jobId: BigInt!) {\n jobFishingDropSummary(jobId: $jobId) {\n itemId\n amount\n }\n}":le,"query GetLeaderboard($take: Int, $skip: Int, $name: String, $sortBy: LeaderboardSortField, $sortOrder: SortOrder) {\n leaderboard(\n take: $take\n skip: $skip\n name: $name\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n accountId\n name\n games\n dungeonGames\n fishingGames\n xp\n baseXp\n gamesXp\n referrals\n }\n}\n\nquery GetLeaderboardCount($name: String) {\n leaderboardCount(name: $name)\n}\n\nquery GetLeaderboard2($take: Int, $skip: Int, $name: String, $isFireballAccount: Boolean, $sortBy: Leaderboard2SortField, $sortOrder: SortOrder) {\n leaderboard2(\n take: $take\n skip: $skip\n name: $name\n isFireballAccount: $isFireballAccount\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n accountId\n name\n isFireballAccount\n glhfId\n glhfUrl\n games\n dungeonGames\n fishingGames\n xp\n baseXp\n gamesXp\n referrals\n inventoryValue\n rankByXp\n updatedAt\n }\n}\n\nquery GetLeaderboard2Count($name: String, $isFireballAccount: Boolean) {\n leaderboard2Count(name: $name, isFireballAccount: $isFireballAccount)\n}":se,"mutation ProcessSparksAirdrop($accountId: String!, $amount: Decimal!, $transactionType: Int!, $metadata: JSON) {\n processSparksAirdrop(\n accountId: $accountId\n amount: $amount\n transactionType: $transactionType\n metadata: $metadata\n ) {\n success\n account {\n id\n name\n sparks\n }\n transactionId\n error\n }\n}\n\nmutation ProcessSparkPurchaseV2($purchaseId: String!, $buyerId: String!, $receiverId: String!, $sparks: Int!, $paidAmount: SafeBigInt!, $referralId: String!, $referralAmount: SafeBigInt!, $blockNumber: SafeBigInt!, $transactionType: Int!) {\n processSparkPurchaseV2(\n purchaseId: $purchaseId\n buyerId: $buyerId\n receiverId: $receiverId\n sparks: $sparks\n paidAmount: $paidAmount\n referralId: $referralId\n referralAmount: $referralAmount\n blockNumber: $blockNumber\n transactionType: $transactionType\n ) {\n success\n message\n }\n}\n\nmutation UpdateLastProcessedBlock($id: Int!, $lastProcessedBlock: SafeBigInt!) {\n updateLastProcessedBlock(id: $id, lastProcessedBlock: $lastProcessedBlock) {\n success\n message\n lastProcessedBlock\n lastVerifiedBlock\n }\n}\n\nmutation UpdatePricing($gameType: Int!, $gameSubType: Int!, $model: Int!, $cost: Decimal!) {\n updatePricing(\n gameType: $gameType\n gameSubType: $gameSubType\n model: $model\n cost: $cost\n ) {\n name\n gameType\n gameSubType\n model\n cost\n }\n}":de,"query GetPaymentProcessedBlocks {\n paymentProcessedBlocks {\n id\n lastProcessedBlock\n lastVerifiedBlock\n }\n}\n\nquery GetSparkTransactions($where: SparkTransactionWhereInput, $take: Int, $skip: Int, $sortBy: SparkTransactionSortField, $sortOrder: SortOrder) {\n sparkTransactions(\n where: $where\n take: $take\n skip: $skip\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n id\n accountId\n amount\n balanceAfter\n type\n subType\n metadata\n createdAt\n }\n sparkTransactionsCount(where: $where)\n}\n\nquery GetPricing($take: Int, $skip: Int, $where: PricingWhereInput) {\n pricing(take: $take, skip: $skip, where: $where) {\n name\n gameType\n gameSubType\n model\n cost\n }\n}":ce,"mutation UpsertAccountPetSettings($accountId: String!, $petId: Int!, $foodItemId: Int!) {\n upsertAccountPetSettings(\n accountId: $accountId\n petId: $petId\n foodItemId: $foodItemId\n ) {\n accountId\n petId\n foodItemId\n createdAt\n updatedAt\n }\n}":me,"query GetAccountPetSettings($accountId: String!) {\n accountPetSettings(accountId: $accountId) {\n accountId\n petId\n foodItemId\n createdAt\n updatedAt\n }\n}":pe,"mutation AddQuest($name: String!, $description: String, $type: Int!, $isActive: Boolean, $isVisible: Boolean, $expiresAt: BigInt, $requirementTypeIds: [Int!], $requirementIds: [Int!], $requirementAmounts: [Int!], $claimTypeIds: [Int!], $claimIds: [Int!], $claimAmounts: [Int!], $rewardTypeIds: [Int!], $rewardItemIds: [Int!], $rewardAmounts: [Int!], $maxCompletions: Int, $priority: Int, $tags: [String!], $imgUrl: String) {\n addQuest(\n name: $name\n description: $description\n type: $type\n isActive: $isActive\n isVisible: $isVisible\n expiresAt: $expiresAt\n requirementTypeIds: $requirementTypeIds\n requirementIds: $requirementIds\n requirementAmounts: $requirementAmounts\n claimTypeIds: $claimTypeIds\n claimIds: $claimIds\n claimAmounts: $claimAmounts\n rewardTypeIds: $rewardTypeIds\n rewardItemIds: $rewardItemIds\n rewardAmounts: $rewardAmounts\n maxCompletions: $maxCompletions\n priority: $priority\n tags: $tags\n imgUrl: $imgUrl\n ) {\n id\n name\n description\n type\n isActive\n isVisible\n createdAt\n updatedAt\n expiresAt\n requirementTypeIds\n requirementIds\n requirementAmounts\n claimTypeIds\n claimIds\n claimAmounts\n rewardTypeIds\n rewardItemIds\n rewardAmounts\n maxCompletions\n priority\n tags\n imgUrl\n }\n}\n\nmutation AddAccountQuest($accountId: String!, $questId: Int!, $isCompleted: Boolean, $completionCount: Int, $startedAt: BigInt, $lastCompletedAt: BigInt, $expiresAt: BigInt) {\n addAccountQuest(\n accountId: $accountId\n questId: $questId\n isCompleted: $isCompleted\n completionCount: $completionCount\n startedAt: $startedAt\n lastCompletedAt: $lastCompletedAt\n expiresAt: $expiresAt\n ) {\n accountId\n questId\n isCompleted\n completionCount\n startedAt\n updatedAt\n lastCompletedAt\n expiresAt\n }\n}\n\nmutation UpdateQuest($id: Int!, $name: String, $description: String, $type: Int, $isActive: Boolean, $isVisible: Boolean, $expiresAt: BigInt, $requirementTypeIds: [Int!], $requirementIds: [Int!], $requirementAmounts: [Int!], $claimTypeIds: [Int!], $claimIds: [Int!], $claimAmounts: [Int!], $rewardTypeIds: [Int!], $rewardItemIds: [Int!], $rewardAmounts: [Int!], $maxCompletions: Int, $priority: Int, $tags: [String!], $imgUrl: String) {\n updateQuest(\n id: $id\n name: $name\n description: $description\n type: $type\n isActive: $isActive\n isVisible: $isVisible\n expiresAt: $expiresAt\n requirementTypeIds: $requirementTypeIds\n requirementIds: $requirementIds\n requirementAmounts: $requirementAmounts\n claimTypeIds: $claimTypeIds\n claimIds: $claimIds\n claimAmounts: $claimAmounts\n rewardTypeIds: $rewardTypeIds\n rewardItemIds: $rewardItemIds\n rewardAmounts: $rewardAmounts\n maxCompletions: $maxCompletions\n priority: $priority\n tags: $tags\n imgUrl: $imgUrl\n ) {\n id\n name\n description\n type\n isActive\n isVisible\n createdAt\n updatedAt\n expiresAt\n requirementTypeIds\n requirementIds\n requirementAmounts\n claimTypeIds\n claimIds\n claimAmounts\n rewardTypeIds\n rewardItemIds\n rewardAmounts\n maxCompletions\n priority\n tags\n imgUrl\n }\n}\n\nmutation DeleteQuest($id: Int!) {\n deleteQuest(id: $id) {\n id\n name\n }\n}\n\nmutation ClaimQuest($accountId: String!, $questId: Int!) {\n claimQuest(accountId: $accountId, questId: $questId) {\n success\n message\n error\n rewards {\n type\n amount\n itemId\n }\n }\n}":ye,"query GetQuests($id: Int, $take: Int, $skip: Int, $isActive: Boolean, $isVisible: Boolean, $search: String, $sortBy: QuestSortField, $sortOrder: SortOrder) {\n quests(\n id: $id\n take: $take\n skip: $skip\n isActive: $isActive\n isVisible: $isVisible\n search: $search\n sortBy: $sortBy\n sortOrder: $sortOrder\n ) {\n id\n name\n description\n type\n isActive\n isVisible\n createdAt\n updatedAt\n expiresAt\n requirementTypeIds\n requirementIds\n requirementAmounts\n claimTypeIds\n claimIds\n claimAmounts\n rewardTypeIds\n rewardItemIds\n rewardAmounts\n maxCompletions\n priority\n tags\n imgUrl\n }\n questsCount(isActive: $isActive, isVisible: $isVisible, search: $search)\n}":ke,"mutation UseService($accountId: String!, $serviceId: Int!, $sparkCost: Decimal!, $metadata: JSON) {\n useService(\n accountId: $accountId\n serviceId: $serviceId\n sparkCost: $sparkCost\n metadata: $metadata\n ) {\n success\n message\n actualCost\n transactionId\n }\n}":be,"query GetServices {\n services {\n id\n name\n sparkCost\n isActive\n createdAt\n updatedAt\n imgUrl\n description\n index\n }\n}\n\nquery GetServiceById($id: Int!) {\n serviceById(id: $id) {\n id\n name\n sparkCost\n isActive\n createdAt\n updatedAt\n imgUrl\n description\n index\n }\n}\n\nquery GetAllActiveAccountServices($serviceId: Int) {\n allActiveAccountServices(serviceId: $serviceId) {\n accountId\n serviceId\n subscribedAt\n updatedAt\n isActive\n options\n lastRevealed\n service {\n id\n name\n sparkCost\n isActive\n }\n account {\n id\n name\n }\n }\n}\n\nquery GetScrolls($where: ScrollWhereInput) {\n scrolls(where: $where) {\n ...ScrollFields\n }\n}":Ie,"query GetOnline {\n online {\n queued\n inProgress\n }\n}\n\nquery GetStats {\n stats {\n timestamp\n lastUpdated\n accountsCount\n activeAccountsCount\n juicedAccountsCount\n activeJuicedAccountsCount\n fireballAccountsCount\n fireballJuicedAccountsCount\n activeFireballAccountsCount\n activeFireballJuicedAccountsCount\n accountsBoughtDaily\n accountsBoughtTotal\n dungeonsCount\n dungeonsWonCount\n dungeonsJuicedCount\n dungeonsNormalCount\n fishingCount\n fishingWonCount\n fishingType0Count\n fishingType1Count\n fishingType2Count\n jobsCount\n jobsFailedCount\n jobsCancelledCount\n sparksBoughtDaily\n sparksBoughtTotal\n sparksBurnedDaily\n sparksBurnedTotal\n sparksCirculation\n }\n}\n\nquery GetHomeStats {\n homeStats {\n epoch\n games\n dailyUsers\n sparksBurned\n dropValues\n totalWins\n updatedAt\n }\n}\n\nquery GetEpoch($epochId: Int!) {\n epoch(epochId: $epochId) {\n epochId\n gamesCount\n profit\n game1Count\n game2Count\n }\n}\n\nquery GetLatestEpoch {\n latestEpoch\n}\n\nquery GetEpochSnapshots($epochId: Int!) {\n epochSnapshots(epochId: $epochId) {\n epochId\n accountId\n accountName\n games\n xp\n timestamp\n referralCount\n }\n}":ge};function Yt(u){return Kt[u]??{}}function zt(u,r){return r}function Zt(u,r){return u}function ea(u,r,e){let n=u.__meta__?.deferredFields;if(!n)return!0;let t=r.definitions[0]?.name?.value,o=t&&n[t]||[];return o.length>0&&o.every(d=>e&&d in e)}var Se=(o=>(o.CreatedAt="createdAt",o.Name="name",o.Sparks="sparks",o.Status="status",o.TokenId="tokenId",o.UpdatedAt="updatedAt",o))(Se||{}),Ae=(n=>(n.Amount="amount",n.CreatedAt="createdAt",n.Rarity="rarity",n))(Ae||{}),ve=(n=>(n.CreatedAt="createdAt",n.Id="id",n.Type="type",n))(ve||{}),Ne=(n=>(n.CreatedAt="createdAt",n.Rank="rank",n.UpdatedAt="updatedAt",n))(Ne||{}),Fe=(a=>(a.Cancelled="cancelled",a.Completed="completed",a.InProgress="in_progress",a.Pending="pending",a))(Fe||{}),he=(n=>(n.CreatedAt="createdAt",n.Name="name",n.Rank="rank",n))(he||{}),Me=(n=>(n.CreatedAt="createdAt",n.Id="id",n.Type="type",n))(Me||{}),fe=(t=>(t.CreatedAt="createdAt",t.Id="id",t.Name="name",t.Rarity="rarity",t.UpdatedAt="updatedAt",t))(fe||{}),$e=(o=>(o.CompletedAt="completedAt",o.CreatedAt="createdAt",o.Id="id",o.StartedAt="startedAt",o.Status="status",o.UpdatedAt="updatedAt",o))($e||{}),xe=(d=>(d.DungeonGames="dungeon_games",d.FishingGames="fishing_games",d.Games="games",d.InventoryValue="inventory_value",d.Name="name",d.Referrals="referrals",d.Xp="xp",d))(xe||{}),De=(o=>(o.DungeonGames="dungeon_games",o.FishingGames="fishing_games",o.Games="games",o.Name="name",o.Referrals="referrals",o.Xp="xp",o))(De||{}),Ce=(n=>(n.Applied="applied",n.Approved="approved",n.Invited="invited",n))(Ce||{}),Be=(t=>(t.CreatedAt="createdAt",t.Id="id",t.IsActive="isActive",t.Name="name",t.Priority="priority",t))(Be||{}),Ge=(e=>(e.Asc="asc",e.Desc="desc",e))(Ge||{}),Te=(n=>(n.Amount="amount",n.CreatedAt="createdAt",n.Type="type",n))(Te||{}),g=i`
|
|
2
|
+
fragment PublicAccountFields on Account {
|
|
3
|
+
id
|
|
4
|
+
name
|
|
5
|
+
tokenId
|
|
6
|
+
glhfId
|
|
7
|
+
glhfUrl
|
|
8
|
+
faction
|
|
9
|
+
status
|
|
10
|
+
isJuiced
|
|
11
|
+
sparks
|
|
12
|
+
xp
|
|
13
|
+
gear
|
|
14
|
+
consumables
|
|
15
|
+
createdAt
|
|
16
|
+
updatedAt
|
|
17
|
+
juicedExp
|
|
18
|
+
}
|
|
19
|
+
`,m=i`
|
|
20
|
+
fragment AccountCoreFields on Account {
|
|
21
|
+
id
|
|
22
|
+
name
|
|
23
|
+
tokenId
|
|
24
|
+
glhfId
|
|
25
|
+
glhfUrl
|
|
26
|
+
faction
|
|
27
|
+
status
|
|
28
|
+
isJuiced
|
|
29
|
+
}
|
|
30
|
+
`,S=i`
|
|
31
|
+
fragment AccountFullFields on Account {
|
|
32
|
+
...AccountCoreFields
|
|
33
|
+
jwt
|
|
34
|
+
jwtExp
|
|
35
|
+
sparks
|
|
36
|
+
xp
|
|
37
|
+
gear
|
|
38
|
+
consumables
|
|
39
|
+
createdAt
|
|
40
|
+
updatedAt
|
|
41
|
+
delegateeId
|
|
42
|
+
referrerId
|
|
43
|
+
juicedExp
|
|
44
|
+
accountSkills {
|
|
45
|
+
skillId
|
|
46
|
+
level
|
|
47
|
+
stats
|
|
48
|
+
}
|
|
49
|
+
quests {
|
|
50
|
+
questId
|
|
51
|
+
isCompleted
|
|
52
|
+
completionCount
|
|
53
|
+
}
|
|
54
|
+
checkpoints {
|
|
55
|
+
checkpointId
|
|
56
|
+
isCompleted
|
|
57
|
+
completionCount
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
${m}`,f=i`
|
|
61
|
+
fragment ScrollFields on Scroll {
|
|
62
|
+
id
|
|
63
|
+
name
|
|
64
|
+
description
|
|
65
|
+
maxLevel
|
|
66
|
+
imgUrl
|
|
67
|
+
expirationDuration
|
|
68
|
+
createdAt
|
|
69
|
+
updatedAt
|
|
70
|
+
}
|
|
71
|
+
`,A=i`
|
|
72
|
+
fragment AccountScrollFields on AccountScroll {
|
|
73
|
+
accountId
|
|
74
|
+
scrollId
|
|
75
|
+
level
|
|
76
|
+
isActive
|
|
77
|
+
expiresAt
|
|
78
|
+
createdAt
|
|
79
|
+
updatedAt
|
|
80
|
+
scroll {
|
|
81
|
+
...ScrollFields
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
${f}`,na=i`
|
|
85
|
+
fragment AccountServiceFields on AccountService {
|
|
86
|
+
accountId
|
|
87
|
+
serviceId
|
|
88
|
+
subscribedAt
|
|
89
|
+
updatedAt
|
|
90
|
+
isActive
|
|
91
|
+
lastRevealed
|
|
92
|
+
options
|
|
93
|
+
}
|
|
94
|
+
`,ta=i`
|
|
95
|
+
fragment AccountSubscriptionFields on AccountSubscription {
|
|
96
|
+
accountId
|
|
97
|
+
endpoint
|
|
98
|
+
p256dh
|
|
99
|
+
auth
|
|
100
|
+
isSubscribedToAll
|
|
101
|
+
subscribedFor
|
|
102
|
+
createdAt
|
|
103
|
+
updatedAt
|
|
104
|
+
}
|
|
105
|
+
`,aa=i`
|
|
106
|
+
fragment ConquestMoveFields on ConquestMove {
|
|
107
|
+
id
|
|
108
|
+
q
|
|
109
|
+
r
|
|
110
|
+
executorId
|
|
111
|
+
amount
|
|
112
|
+
itemId
|
|
113
|
+
conquest
|
|
114
|
+
tick
|
|
115
|
+
isOwnFaction
|
|
116
|
+
actionType
|
|
117
|
+
factionId
|
|
118
|
+
spenderId
|
|
119
|
+
createdAt
|
|
120
|
+
}
|
|
121
|
+
`,$=i`
|
|
122
|
+
fragment DungeonJackpotFields on DungeonJackpot {
|
|
123
|
+
dungeonId
|
|
124
|
+
accountId
|
|
125
|
+
room
|
|
126
|
+
percentage
|
|
127
|
+
rarity
|
|
128
|
+
amount
|
|
129
|
+
itemId
|
|
130
|
+
createdAt
|
|
131
|
+
}
|
|
132
|
+
`,v=i`
|
|
133
|
+
fragment DungeonJackpotWithAccount on DungeonJackpot {
|
|
134
|
+
...DungeonJackpotFields
|
|
135
|
+
account {
|
|
136
|
+
id
|
|
137
|
+
name
|
|
138
|
+
faction
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
${$}`,qe=i`
|
|
142
|
+
fragment DungeonJackpotWithDungeon on DungeonJackpot {
|
|
143
|
+
...DungeonJackpotFields
|
|
144
|
+
dungeon {
|
|
145
|
+
id
|
|
146
|
+
type
|
|
147
|
+
isWon
|
|
148
|
+
isCompleted
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
${$}`,x=i`
|
|
152
|
+
fragment DungeonCoreFields on Dungeon {
|
|
153
|
+
id
|
|
154
|
+
type
|
|
155
|
+
model
|
|
156
|
+
tier
|
|
157
|
+
isCompleted
|
|
158
|
+
isWon
|
|
159
|
+
isFled
|
|
160
|
+
createdAt
|
|
161
|
+
}
|
|
162
|
+
`,p=i`
|
|
163
|
+
fragment DungeonFullFields on Dungeon {
|
|
164
|
+
...DungeonCoreFields
|
|
165
|
+
accountId
|
|
166
|
+
jobId
|
|
167
|
+
isCorrupted
|
|
168
|
+
isJuiced
|
|
169
|
+
multiplier
|
|
170
|
+
consumables
|
|
171
|
+
gear
|
|
172
|
+
profit
|
|
173
|
+
}
|
|
174
|
+
${x}`,y=i`
|
|
175
|
+
fragment DropFields on Drop {
|
|
176
|
+
encounterId
|
|
177
|
+
enemyId
|
|
178
|
+
itemId
|
|
179
|
+
amount
|
|
180
|
+
isJuiced
|
|
181
|
+
}
|
|
182
|
+
`,N=i`
|
|
183
|
+
fragment EncounterCoreFields on Encounter {
|
|
184
|
+
id
|
|
185
|
+
room
|
|
186
|
+
isLootPhase
|
|
187
|
+
noobHealth
|
|
188
|
+
noobShield
|
|
189
|
+
noobLevel
|
|
190
|
+
enemyId
|
|
191
|
+
enemyHealth
|
|
192
|
+
enemyMaxHealth
|
|
193
|
+
enemyShield
|
|
194
|
+
enemyMaxShield
|
|
195
|
+
isInvader
|
|
196
|
+
invaderName
|
|
197
|
+
invaderLevel
|
|
198
|
+
}
|
|
199
|
+
`,D=i`
|
|
200
|
+
fragment EncounterFullFields on Encounter {
|
|
201
|
+
...EncounterCoreFields
|
|
202
|
+
dungeonId
|
|
203
|
+
accountId
|
|
204
|
+
round
|
|
205
|
+
action
|
|
206
|
+
actionType
|
|
207
|
+
dungeonType
|
|
208
|
+
model
|
|
209
|
+
timestamp
|
|
210
|
+
noobMaxHealth
|
|
211
|
+
noobMaxShield
|
|
212
|
+
noobStats
|
|
213
|
+
noobCharges
|
|
214
|
+
noobEquipment
|
|
215
|
+
noobEffects
|
|
216
|
+
noobActiveEffects
|
|
217
|
+
noobVoidStats
|
|
218
|
+
noobProcs
|
|
219
|
+
enemyStats
|
|
220
|
+
enemyCharges
|
|
221
|
+
enemyEquipment
|
|
222
|
+
enemyEffects
|
|
223
|
+
enemyActiveEffects
|
|
224
|
+
enemyVoidStats
|
|
225
|
+
enemyProcs
|
|
226
|
+
lastNoobMove
|
|
227
|
+
lastEnemyMove
|
|
228
|
+
lastOutcome
|
|
229
|
+
lootOptions
|
|
230
|
+
consumables
|
|
231
|
+
consumableUsed
|
|
232
|
+
gear
|
|
233
|
+
reason
|
|
234
|
+
invaderId
|
|
235
|
+
invaderGear
|
|
236
|
+
}
|
|
237
|
+
${N}`,s=i`
|
|
238
|
+
fragment AccountRefFields on Account {
|
|
239
|
+
id
|
|
240
|
+
name
|
|
241
|
+
glhfId
|
|
242
|
+
glhfUrl
|
|
243
|
+
isJuiced
|
|
244
|
+
}
|
|
245
|
+
`,F=i`
|
|
246
|
+
fragment FactionRoleFields on FactionRole {
|
|
247
|
+
factionId
|
|
248
|
+
rank
|
|
249
|
+
name
|
|
250
|
+
permissions
|
|
251
|
+
maxCount
|
|
252
|
+
createdAt
|
|
253
|
+
updatedAt
|
|
254
|
+
}
|
|
255
|
+
`,C=i`
|
|
256
|
+
fragment FactionMemberFields on FactionMember {
|
|
257
|
+
accountId
|
|
258
|
+
factionId
|
|
259
|
+
rank
|
|
260
|
+
status
|
|
261
|
+
delegatedItems
|
|
262
|
+
createdAt
|
|
263
|
+
updatedAt
|
|
264
|
+
account {
|
|
265
|
+
...AccountRefFields
|
|
266
|
+
}
|
|
267
|
+
factionRole {
|
|
268
|
+
...FactionRoleFields
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
${s}
|
|
272
|
+
${F}`,Ve=i`
|
|
273
|
+
fragment FactionMemberPublicFields on FactionMember {
|
|
274
|
+
accountId
|
|
275
|
+
factionId
|
|
276
|
+
rank
|
|
277
|
+
status
|
|
278
|
+
createdAt
|
|
279
|
+
updatedAt
|
|
280
|
+
account {
|
|
281
|
+
...AccountRefFields
|
|
282
|
+
}
|
|
283
|
+
factionRole {
|
|
284
|
+
...FactionRoleFields
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
${s}
|
|
288
|
+
${F}`,h=i`
|
|
289
|
+
fragment FactionTreasuryFields on FactionTreasury {
|
|
290
|
+
factionId
|
|
291
|
+
items
|
|
292
|
+
createdAt
|
|
293
|
+
updatedAt
|
|
294
|
+
}
|
|
295
|
+
`,ia=i`
|
|
296
|
+
fragment FactionOrderFields on FactionOrder {
|
|
297
|
+
id
|
|
298
|
+
factionId
|
|
299
|
+
createdBy
|
|
300
|
+
completedBy
|
|
301
|
+
actionType
|
|
302
|
+
q
|
|
303
|
+
r
|
|
304
|
+
amount
|
|
305
|
+
itemId
|
|
306
|
+
conquest
|
|
307
|
+
priority
|
|
308
|
+
status
|
|
309
|
+
message
|
|
310
|
+
expiresAt
|
|
311
|
+
completedAt
|
|
312
|
+
conquestMoveId
|
|
313
|
+
createdAt
|
|
314
|
+
updatedAt
|
|
315
|
+
}
|
|
316
|
+
`,k=i`
|
|
317
|
+
fragment FishingCoreFields on Fishing {
|
|
318
|
+
id
|
|
319
|
+
accountId
|
|
320
|
+
jobId
|
|
321
|
+
type
|
|
322
|
+
model
|
|
323
|
+
strategy
|
|
324
|
+
strategyTemp
|
|
325
|
+
isCompleted
|
|
326
|
+
isWon
|
|
327
|
+
isCorrupted
|
|
328
|
+
isManual
|
|
329
|
+
gear
|
|
330
|
+
createdAt
|
|
331
|
+
isJebaited
|
|
332
|
+
isDoubleYield
|
|
333
|
+
isPlusRarity
|
|
334
|
+
isPlusQuality
|
|
335
|
+
}
|
|
336
|
+
`,b=i`
|
|
337
|
+
fragment FishingEncounterCoreFields on FishingEncounter {
|
|
338
|
+
id
|
|
339
|
+
round
|
|
340
|
+
isLootPhase
|
|
341
|
+
playerHp
|
|
342
|
+
playerLevel
|
|
343
|
+
fishHp
|
|
344
|
+
fishMaxHp
|
|
345
|
+
fishPosition
|
|
346
|
+
}
|
|
347
|
+
`,Qe=i`
|
|
348
|
+
fragment FishingEncounterFullFields on FishingEncounter {
|
|
349
|
+
...FishingEncounterCoreFields
|
|
350
|
+
fishingId
|
|
351
|
+
action
|
|
352
|
+
type
|
|
353
|
+
timestamp
|
|
354
|
+
playerMaxHp
|
|
355
|
+
fishPrevPosition
|
|
356
|
+
fishNextPosition
|
|
357
|
+
deck
|
|
358
|
+
hand
|
|
359
|
+
discard
|
|
360
|
+
caughtFish
|
|
361
|
+
lootChosen
|
|
362
|
+
lootOptions
|
|
363
|
+
redrawCount
|
|
364
|
+
cardPlayedId
|
|
365
|
+
reason
|
|
366
|
+
}
|
|
367
|
+
${b}`,I=i`
|
|
368
|
+
fragment FishingDropFields on FishingDrop {
|
|
369
|
+
itemId
|
|
370
|
+
amount
|
|
371
|
+
totalCaught
|
|
372
|
+
isNewFish
|
|
373
|
+
isRecordGirth
|
|
374
|
+
isRecordLength
|
|
375
|
+
isRecordWeight
|
|
376
|
+
isRecordQuality
|
|
377
|
+
quality
|
|
378
|
+
girth
|
|
379
|
+
length
|
|
380
|
+
weight
|
|
381
|
+
}
|
|
382
|
+
`,M=i`
|
|
383
|
+
fragment JobFields on Job {
|
|
384
|
+
id
|
|
385
|
+
accountId
|
|
386
|
+
executorId
|
|
387
|
+
type
|
|
388
|
+
options
|
|
389
|
+
totalRuns
|
|
390
|
+
completedRuns
|
|
391
|
+
status
|
|
392
|
+
startedAt
|
|
393
|
+
completedAt
|
|
394
|
+
createdAt
|
|
395
|
+
updatedAt
|
|
396
|
+
isAutoclaimOn
|
|
397
|
+
statusMessage
|
|
398
|
+
wonRuns
|
|
399
|
+
}
|
|
400
|
+
`,Oe=i`
|
|
401
|
+
mutation UpsertAccountGameOptions($accountId: String!, $gameType: Int!, $subType: Int!, $options: JSON!) {
|
|
402
|
+
upsertAccountGameOptions(
|
|
403
|
+
accountId: $accountId
|
|
404
|
+
gameType: $gameType
|
|
405
|
+
subType: $subType
|
|
406
|
+
options: $options
|
|
407
|
+
) {
|
|
408
|
+
accountId
|
|
409
|
+
gameType
|
|
410
|
+
subType
|
|
411
|
+
options
|
|
412
|
+
createdAt
|
|
413
|
+
updatedAt
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
`,Re=i`
|
|
417
|
+
mutation AddAccountScroll($accountId: String!, $scrollId: Int!, $level: Int, $isActive: Boolean, $expiresAt: BigInt) {
|
|
418
|
+
addAccountScroll(
|
|
419
|
+
accountId: $accountId
|
|
420
|
+
scrollId: $scrollId
|
|
421
|
+
level: $level
|
|
422
|
+
isActive: $isActive
|
|
423
|
+
expiresAt: $expiresAt
|
|
424
|
+
) {
|
|
425
|
+
...AccountScrollFields
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
${A}`,we=i`
|
|
429
|
+
mutation UpsertAccount($input: UpsertAccountInput!) {
|
|
430
|
+
upsertAccount(input: $input) {
|
|
431
|
+
success
|
|
432
|
+
message
|
|
433
|
+
id
|
|
434
|
+
created
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
`,Pe=i`
|
|
438
|
+
mutation UpdateAccountFaction($accountId: String!, $faction: Int!) {
|
|
439
|
+
updateAccountFaction(accountId: $accountId, faction: $faction) {
|
|
440
|
+
id
|
|
441
|
+
faction
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
`,Je=i`
|
|
445
|
+
mutation BulkUpsertAccounts($inputs: [UpsertAccountInput!]!) {
|
|
446
|
+
bulkUpsertAccounts(inputs: $inputs) {
|
|
447
|
+
success
|
|
448
|
+
updated
|
|
449
|
+
created
|
|
450
|
+
failed
|
|
451
|
+
message
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
`,Ee=i`
|
|
455
|
+
mutation UpdateAccountGlhf($accountId: String, $glhfId: Int, $glhfUrl: String) {
|
|
456
|
+
updateAccountGlhf(accountId: $accountId, glhfId: $glhfId, glhfUrl: $glhfUrl) {
|
|
457
|
+
success
|
|
458
|
+
message
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
`,Ue=i`
|
|
462
|
+
query GetAccountById($id: String!) {
|
|
463
|
+
account(id: $id) {
|
|
464
|
+
...AccountFullFields
|
|
465
|
+
jobs(where: {statusIn: ["queued", "in_progress", "paused"]}) {
|
|
466
|
+
id
|
|
467
|
+
status
|
|
468
|
+
type
|
|
469
|
+
totalRuns
|
|
470
|
+
completedRuns
|
|
471
|
+
wonRuns
|
|
472
|
+
createdAt
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
${S}`,We=i`
|
|
477
|
+
query GetAccountByIdWithScrolls($id: String!) {
|
|
478
|
+
account(id: $id) {
|
|
479
|
+
...AccountFullFields
|
|
480
|
+
jobs(where: {statusIn: ["queued", "in_progress", "paused"]}) {
|
|
481
|
+
id
|
|
482
|
+
status
|
|
483
|
+
type
|
|
484
|
+
totalRuns
|
|
485
|
+
completedRuns
|
|
486
|
+
wonRuns
|
|
487
|
+
createdAt
|
|
488
|
+
}
|
|
489
|
+
accountScrolls {
|
|
490
|
+
...AccountScrollFields
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
${S}
|
|
495
|
+
${A}`,He=i`
|
|
496
|
+
query GetAccountNameById($id: String!) {
|
|
497
|
+
account(id: $id) {
|
|
498
|
+
name
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
`,Le=i`
|
|
502
|
+
query GetReferrerId($name: String!) {
|
|
503
|
+
accountByName(name: $name) {
|
|
504
|
+
id
|
|
505
|
+
name
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
`,je=i`
|
|
509
|
+
query GetAccountByName($name: String!) {
|
|
510
|
+
accountByName(name: $name) {
|
|
511
|
+
...AccountFullFields
|
|
512
|
+
jobs(where: {statusIn: ["queued", "in_progress", "paused"]}) {
|
|
513
|
+
id
|
|
514
|
+
status
|
|
515
|
+
type
|
|
516
|
+
totalRuns
|
|
517
|
+
completedRuns
|
|
518
|
+
wonRuns
|
|
519
|
+
createdAt
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
${S}`,_e=i`
|
|
524
|
+
query GetPublicAccountByName($name: String!) {
|
|
525
|
+
accountByName(name: $name) {
|
|
526
|
+
...PublicAccountFields
|
|
527
|
+
accountSkills {
|
|
528
|
+
skillId
|
|
529
|
+
level
|
|
530
|
+
stats
|
|
531
|
+
}
|
|
532
|
+
checkpoints {
|
|
533
|
+
checkpointId
|
|
534
|
+
isCompleted
|
|
535
|
+
completionCount
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
${g}`,Xe=i`
|
|
540
|
+
query GetPublicAccountById($id: String!) {
|
|
541
|
+
account(id: $id) {
|
|
542
|
+
...PublicAccountFields
|
|
543
|
+
accountSkills {
|
|
544
|
+
skillId
|
|
545
|
+
level
|
|
546
|
+
stats
|
|
547
|
+
}
|
|
548
|
+
checkpoints {
|
|
549
|
+
checkpointId
|
|
550
|
+
isCompleted
|
|
551
|
+
completionCount
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
${g}`,Ke=i`
|
|
556
|
+
query GetPublicAccounts($where: PublicAccountsWhereInput, $take: Int, $skip: Int) {
|
|
557
|
+
publicAccounts(where: $where, take: $take, skip: $skip) {
|
|
558
|
+
...PublicAccountFields
|
|
559
|
+
accountSkills {
|
|
560
|
+
skillId
|
|
561
|
+
level
|
|
562
|
+
stats
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
${g}`,Ye=i`
|
|
567
|
+
query GetAccountsByIds($ids: [String!]!) {
|
|
568
|
+
accountsByIds(ids: $ids) {
|
|
569
|
+
...AccountCoreFields
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
${m}`,ze=i`
|
|
573
|
+
query GetAccountLookupById($id: String!) {
|
|
574
|
+
account(id: $id) {
|
|
575
|
+
id
|
|
576
|
+
name
|
|
577
|
+
glhfId
|
|
578
|
+
glhfUrl
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
`,Ze=i`
|
|
582
|
+
query GetAccountSearch($query: String!, $juicedOnly: Boolean, $take: Int) {
|
|
583
|
+
accountSearch(query: $query, juicedOnly: $juicedOnly, take: $take) {
|
|
584
|
+
id
|
|
585
|
+
name
|
|
586
|
+
tokenId
|
|
587
|
+
glhfId
|
|
588
|
+
glhfUrl
|
|
589
|
+
faction
|
|
590
|
+
status
|
|
591
|
+
isJuiced
|
|
592
|
+
sparks
|
|
593
|
+
juicedExp
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
`,en=i`
|
|
597
|
+
query GetAccountGameOptions($accountId: String!, $gameType: Int!, $subType: Int!) {
|
|
598
|
+
accountGameOptions(
|
|
599
|
+
accountId: $accountId
|
|
600
|
+
gameType: $gameType
|
|
601
|
+
subType: $subType
|
|
602
|
+
) {
|
|
603
|
+
accountId
|
|
604
|
+
gameType
|
|
605
|
+
subType
|
|
606
|
+
options
|
|
607
|
+
createdAt
|
|
608
|
+
updatedAt
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
`,nn=i`
|
|
612
|
+
query GetAccountWithReferrals($id: String!) {
|
|
613
|
+
account(id: $id) {
|
|
614
|
+
...AccountCoreFields
|
|
615
|
+
sparks
|
|
616
|
+
xp
|
|
617
|
+
createdAt
|
|
618
|
+
referrals {
|
|
619
|
+
...AccountCoreFields
|
|
620
|
+
sparks
|
|
621
|
+
xp
|
|
622
|
+
createdAt
|
|
623
|
+
updatedAt
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
${m}`,tn=i`
|
|
628
|
+
query GetAccountStats($name: String!) {
|
|
629
|
+
leaderboard(take: 1, name: $name) {
|
|
630
|
+
accountId
|
|
631
|
+
name
|
|
632
|
+
games
|
|
633
|
+
dungeonGames
|
|
634
|
+
fishingGames
|
|
635
|
+
xp
|
|
636
|
+
baseXp
|
|
637
|
+
gamesXp
|
|
638
|
+
referrals
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
`,an=i`
|
|
642
|
+
query GetAccountXp($accountId: String!) {
|
|
643
|
+
accountXp(accountId: $accountId) {
|
|
644
|
+
xp
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
`,rn=i`
|
|
648
|
+
query GetAccountStatsWithWins($name: String!) {
|
|
649
|
+
accountStats(name: $name) {
|
|
650
|
+
accountId
|
|
651
|
+
name
|
|
652
|
+
totalGames
|
|
653
|
+
totalWins
|
|
654
|
+
totalWinrate
|
|
655
|
+
game1Count
|
|
656
|
+
game1Wins
|
|
657
|
+
game1Winrate
|
|
658
|
+
game2Count
|
|
659
|
+
game2Wins
|
|
660
|
+
game2Winrate
|
|
661
|
+
game3Count
|
|
662
|
+
game3Wins
|
|
663
|
+
game3Winrate
|
|
664
|
+
xp
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
`,un=i`
|
|
668
|
+
query GetAccounts($take: Int, $skip: Int, $where: AccountsWhereInput, $sortBy: AccountSortField, $sortOrder: SortOrder) {
|
|
669
|
+
accounts(
|
|
670
|
+
take: $take
|
|
671
|
+
skip: $skip
|
|
672
|
+
where: $where
|
|
673
|
+
sortBy: $sortBy
|
|
674
|
+
sortOrder: $sortOrder
|
|
675
|
+
) {
|
|
676
|
+
...AccountCoreFields
|
|
677
|
+
juicedExp
|
|
678
|
+
sparks
|
|
679
|
+
xp
|
|
680
|
+
createdAt
|
|
681
|
+
updatedAt
|
|
682
|
+
referrerId
|
|
683
|
+
referrer {
|
|
684
|
+
...AccountRefFields
|
|
685
|
+
}
|
|
686
|
+
accountSkills {
|
|
687
|
+
skillId
|
|
688
|
+
level
|
|
689
|
+
}
|
|
690
|
+
dungeonsAggregate {
|
|
691
|
+
_count
|
|
692
|
+
}
|
|
693
|
+
accountScrolls {
|
|
694
|
+
scrollId
|
|
695
|
+
level
|
|
696
|
+
isActive
|
|
697
|
+
expiresAt
|
|
698
|
+
createdAt
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
accountsCount(where: $where)
|
|
702
|
+
}
|
|
703
|
+
${m}
|
|
704
|
+
${s}`,on=i`
|
|
705
|
+
query GetAccountsBasic($take: Int, $skip: Int, $where: AccountsWhereInput) {
|
|
706
|
+
accounts(take: $take, skip: $skip, where: $where) {
|
|
707
|
+
id
|
|
708
|
+
name
|
|
709
|
+
tokenId
|
|
710
|
+
glhfId
|
|
711
|
+
glhfUrl
|
|
712
|
+
faction
|
|
713
|
+
}
|
|
714
|
+
accountsCount(where: $where)
|
|
715
|
+
}
|
|
716
|
+
`,ln=i`
|
|
717
|
+
query GetAccountState($accountId: String!) {
|
|
718
|
+
account(id: $accountId) {
|
|
719
|
+
id
|
|
720
|
+
sparks
|
|
721
|
+
}
|
|
722
|
+
jobs(
|
|
723
|
+
where: {accountId: $accountId}
|
|
724
|
+
take: 1
|
|
725
|
+
sortBy: createdAt
|
|
726
|
+
sortOrder: desc
|
|
727
|
+
) {
|
|
728
|
+
status
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
`,sn=i`
|
|
732
|
+
query GetAccountServices($accountId: String!) {
|
|
733
|
+
accountServices(accountId: $accountId) {
|
|
734
|
+
accountId
|
|
735
|
+
serviceId
|
|
736
|
+
subscribedAt
|
|
737
|
+
updatedAt
|
|
738
|
+
isActive
|
|
739
|
+
options
|
|
740
|
+
lastRevealed
|
|
741
|
+
service {
|
|
742
|
+
id
|
|
743
|
+
name
|
|
744
|
+
sparkCost
|
|
745
|
+
isActive
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
`,dn=i`
|
|
750
|
+
query GetAccountQuests($accountId: String!) {
|
|
751
|
+
accountQuests(accountId: $accountId) {
|
|
752
|
+
accountId
|
|
753
|
+
questId
|
|
754
|
+
startedAt
|
|
755
|
+
updatedAt
|
|
756
|
+
lastCompletedAt
|
|
757
|
+
expiresAt
|
|
758
|
+
isCompleted
|
|
759
|
+
completionCount
|
|
760
|
+
quest {
|
|
761
|
+
id
|
|
762
|
+
name
|
|
763
|
+
description
|
|
764
|
+
type
|
|
765
|
+
isActive
|
|
766
|
+
expiresAt
|
|
767
|
+
requirementTypeIds
|
|
768
|
+
requirementIds
|
|
769
|
+
requirementAmounts
|
|
770
|
+
claimTypeIds
|
|
771
|
+
claimIds
|
|
772
|
+
claimAmounts
|
|
773
|
+
rewardTypeIds
|
|
774
|
+
rewardItemIds
|
|
775
|
+
rewardAmounts
|
|
776
|
+
maxCompletions
|
|
777
|
+
priority
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
`,cn=i`
|
|
782
|
+
query GetAccountSubscriptions($accountId: String, $take: Int, $skip: Int) {
|
|
783
|
+
accountSubscriptions(accountId: $accountId, take: $take, skip: $skip) {
|
|
784
|
+
accountId
|
|
785
|
+
endpoint
|
|
786
|
+
p256dh
|
|
787
|
+
auth
|
|
788
|
+
isSubscribedToAll
|
|
789
|
+
subscribedFor
|
|
790
|
+
createdAt
|
|
791
|
+
updatedAt
|
|
792
|
+
account {
|
|
793
|
+
...AccountRefFields
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
${s}`,mn=i`
|
|
798
|
+
query GetReferralEarnings($referralId: String!) {
|
|
799
|
+
referralEarnings(referralId: $referralId)
|
|
800
|
+
}
|
|
801
|
+
`,pn=i`
|
|
802
|
+
query GetAccountScrolls($accountId: String!) {
|
|
803
|
+
accountScrolls(accountId: $accountId) {
|
|
804
|
+
...AccountScrollFields
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
${A}`,yn=i`
|
|
808
|
+
query GetAccountStats2($name: String!) {
|
|
809
|
+
accountStats2(name: $name) {
|
|
810
|
+
accountId
|
|
811
|
+
name
|
|
812
|
+
totalGames
|
|
813
|
+
totalWins
|
|
814
|
+
d5000Games
|
|
815
|
+
d5000Wins
|
|
816
|
+
underhaulGames
|
|
817
|
+
underhaulWins
|
|
818
|
+
fishingGames
|
|
819
|
+
fishingWins
|
|
820
|
+
xp
|
|
821
|
+
activeDays
|
|
822
|
+
longestStreak
|
|
823
|
+
currentStreak
|
|
824
|
+
firstGameAt
|
|
825
|
+
lastGameAt
|
|
826
|
+
updatedAt
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
`,kn=i`
|
|
830
|
+
query GetAccountActivities($accountId: String!) {
|
|
831
|
+
accountActivities(accountId: $accountId) {
|
|
832
|
+
accountId
|
|
833
|
+
dayAt
|
|
834
|
+
d5000Games
|
|
835
|
+
d5000Wins
|
|
836
|
+
d5000Profit
|
|
837
|
+
underhaulGames
|
|
838
|
+
underhaulWins
|
|
839
|
+
underhaulProfit
|
|
840
|
+
fishingGames
|
|
841
|
+
fishingWins
|
|
842
|
+
fishingCatches
|
|
843
|
+
totalGames
|
|
844
|
+
totalWins
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
`,bn=i`
|
|
848
|
+
query GetAccountSkillStats($accountIds: [String!]!, $skillId: Int!) {
|
|
849
|
+
accountSkillStats(accountIds: $accountIds, skillId: $skillId) {
|
|
850
|
+
accountId
|
|
851
|
+
stats
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
`,In=i`
|
|
855
|
+
mutation AddConquestSnapshot($input: ConquestSnapshotInput!) {
|
|
856
|
+
addConquestSnapshot(input: $input) {
|
|
857
|
+
id
|
|
858
|
+
tiles
|
|
859
|
+
createdAt
|
|
860
|
+
updatedAt
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
`,gn=i`
|
|
864
|
+
mutation UpdateConquestSnapshot($id: Int!, $input: ConquestSnapshotUpdateInput!) {
|
|
865
|
+
updateConquestSnapshot(id: $id, input: $input) {
|
|
866
|
+
id
|
|
867
|
+
tiles
|
|
868
|
+
createdAt
|
|
869
|
+
updatedAt
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
`,Sn=i`
|
|
873
|
+
query GetConquestSnapshots($where: ConquestSnapshotWhereInput) {
|
|
874
|
+
conquestSnapshots(where: $where) {
|
|
875
|
+
id
|
|
876
|
+
tiles
|
|
877
|
+
createdAt
|
|
878
|
+
updatedAt
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
`,An=i`
|
|
882
|
+
query GetConquestSnapshotById($id: Int!) {
|
|
883
|
+
conquestSnapshotById(id: $id) {
|
|
884
|
+
id
|
|
885
|
+
tiles
|
|
886
|
+
createdAt
|
|
887
|
+
updatedAt
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
`,vn=i`
|
|
891
|
+
mutation UnlinkDiscord {
|
|
892
|
+
unlinkDiscord
|
|
893
|
+
}
|
|
894
|
+
`,Nn=i`
|
|
895
|
+
query GetAccountDiscord {
|
|
896
|
+
accountDiscord {
|
|
897
|
+
id
|
|
898
|
+
username
|
|
899
|
+
avatarUrl
|
|
900
|
+
createdAt
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
`,Fn=i`
|
|
904
|
+
query GetLatestDrops($limit: Int) {
|
|
905
|
+
latestDrops(limit: $limit) {
|
|
906
|
+
id
|
|
907
|
+
type
|
|
908
|
+
gameId
|
|
909
|
+
accountId
|
|
910
|
+
accountName
|
|
911
|
+
itemId
|
|
912
|
+
items {
|
|
913
|
+
itemId
|
|
914
|
+
amount
|
|
915
|
+
}
|
|
916
|
+
rarity
|
|
917
|
+
profit
|
|
918
|
+
createdAt
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
`,hn=i`
|
|
922
|
+
query GetDungeonJackpot($dungeonId: Int!, $accountId: String!, $room: Int!) {
|
|
923
|
+
dungeonJackpot(dungeonId: $dungeonId, accountId: $accountId, room: $room) {
|
|
924
|
+
...DungeonJackpotWithAccount
|
|
925
|
+
...DungeonJackpotWithDungeon
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
${v}
|
|
929
|
+
${qe}`,Mn=i`
|
|
930
|
+
query GetDungeonJackpots($take: Int, $skip: Int, $where: DungeonJackpotWhereInput, $sortBy: DungeonJackpotSortField, $sortOrder: SortOrder) {
|
|
931
|
+
dungeonJackpots(
|
|
932
|
+
take: $take
|
|
933
|
+
skip: $skip
|
|
934
|
+
where: $where
|
|
935
|
+
sortBy: $sortBy
|
|
936
|
+
sortOrder: $sortOrder
|
|
937
|
+
) {
|
|
938
|
+
...DungeonJackpotWithAccount
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
${v}`,fn=i`
|
|
942
|
+
query GetDungeonJackpotsWithCount($take: Int, $skip: Int, $where: DungeonJackpotWhereInput, $sortBy: DungeonJackpotSortField, $sortOrder: SortOrder) {
|
|
943
|
+
dungeonJackpots(
|
|
944
|
+
take: $take
|
|
945
|
+
skip: $skip
|
|
946
|
+
where: $where
|
|
947
|
+
sortBy: $sortBy
|
|
948
|
+
sortOrder: $sortOrder
|
|
949
|
+
) {
|
|
950
|
+
...DungeonJackpotWithAccount
|
|
951
|
+
}
|
|
952
|
+
dungeonJackpotsCount(where: $where)
|
|
953
|
+
}
|
|
954
|
+
${v}`,$n=i`
|
|
955
|
+
mutation StartDungeon($id: Int!, $model: Int!, $accountId: String!, $type: Int!, $consumables: JSON!, $gear: JSON!, $jobId: BigInt, $isJuiced: Boolean!, $multiplier: Int!, $tier: Int) {
|
|
956
|
+
startDungeon(
|
|
957
|
+
id: $id
|
|
958
|
+
model: $model
|
|
959
|
+
accountId: $accountId
|
|
960
|
+
type: $type
|
|
961
|
+
consumables: $consumables
|
|
962
|
+
gear: $gear
|
|
963
|
+
jobId: $jobId
|
|
964
|
+
isJuiced: $isJuiced
|
|
965
|
+
multiplier: $multiplier
|
|
966
|
+
tier: $tier
|
|
967
|
+
) {
|
|
968
|
+
id
|
|
969
|
+
accountId
|
|
970
|
+
type
|
|
971
|
+
model
|
|
972
|
+
isCompleted
|
|
973
|
+
isWon
|
|
974
|
+
isCorrupted
|
|
975
|
+
isFled
|
|
976
|
+
isJuiced
|
|
977
|
+
multiplier
|
|
978
|
+
tier
|
|
979
|
+
consumables
|
|
980
|
+
gear
|
|
981
|
+
jobId
|
|
982
|
+
createdAt
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
`,xn=i`
|
|
986
|
+
mutation UpdateDungeon($id: Int!, $isCompleted: Boolean, $isWon: Boolean, $isCorrupted: Boolean, $isFled: Boolean, $profit: Decimal) {
|
|
987
|
+
updateDungeon(
|
|
988
|
+
id: $id
|
|
989
|
+
isCompleted: $isCompleted
|
|
990
|
+
isWon: $isWon
|
|
991
|
+
isCorrupted: $isCorrupted
|
|
992
|
+
isFled: $isFled
|
|
993
|
+
profit: $profit
|
|
994
|
+
) {
|
|
995
|
+
id
|
|
996
|
+
isCompleted
|
|
997
|
+
isWon
|
|
998
|
+
isCorrupted
|
|
999
|
+
isFled
|
|
1000
|
+
profit
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
`,Dn=i`
|
|
1004
|
+
mutation AddEncounter($input: AddEncounterInput!) {
|
|
1005
|
+
addEncounter(input: $input) {
|
|
1006
|
+
id
|
|
1007
|
+
dungeonId
|
|
1008
|
+
accountId
|
|
1009
|
+
round
|
|
1010
|
+
room
|
|
1011
|
+
action
|
|
1012
|
+
actionType
|
|
1013
|
+
dungeonType
|
|
1014
|
+
model
|
|
1015
|
+
timestamp
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
`,Cn=i`
|
|
1019
|
+
mutation AddDrops($drops: [DropInput!]!) {
|
|
1020
|
+
addDrops(drops: $drops) {
|
|
1021
|
+
encounterId
|
|
1022
|
+
dungeonId
|
|
1023
|
+
accountId
|
|
1024
|
+
enemyId
|
|
1025
|
+
itemId
|
|
1026
|
+
amount
|
|
1027
|
+
isJuiced
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
`,Bn=i`
|
|
1031
|
+
mutation AddDungeonJackpot($jackpot: DungeonJackpotInput!) {
|
|
1032
|
+
addDungeonJackpot(jackpot: $jackpot) {
|
|
1033
|
+
dungeonId
|
|
1034
|
+
accountId
|
|
1035
|
+
room
|
|
1036
|
+
percentage
|
|
1037
|
+
rarity
|
|
1038
|
+
amount
|
|
1039
|
+
itemId
|
|
1040
|
+
createdAt
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
`,Gn=i`
|
|
1044
|
+
query GetDungeonById($id: Int!, $encountersLimit: Int) {
|
|
1045
|
+
dungeon(id: $id) {
|
|
1046
|
+
...DungeonFullFields
|
|
1047
|
+
createdAt
|
|
1048
|
+
account {
|
|
1049
|
+
...AccountRefFields
|
|
1050
|
+
}
|
|
1051
|
+
job {
|
|
1052
|
+
id
|
|
1053
|
+
status
|
|
1054
|
+
totalRuns
|
|
1055
|
+
options
|
|
1056
|
+
dungeons {
|
|
1057
|
+
...DungeonCoreFields
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
encounters(take: $encountersLimit) {
|
|
1061
|
+
...EncounterFullFields
|
|
1062
|
+
account {
|
|
1063
|
+
...AccountRefFields
|
|
1064
|
+
}
|
|
1065
|
+
drops {
|
|
1066
|
+
...DropFields
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
drops {
|
|
1070
|
+
...DropFields
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
${p}
|
|
1075
|
+
${s}
|
|
1076
|
+
${x}
|
|
1077
|
+
${D}
|
|
1078
|
+
${y}`,Tn=i`
|
|
1079
|
+
query GetDungeonDropsById($id: Int!) {
|
|
1080
|
+
dungeon(id: $id) {
|
|
1081
|
+
drops {
|
|
1082
|
+
itemId
|
|
1083
|
+
amount
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
`,qn=i`
|
|
1088
|
+
query GetDungeonStatusById($id: Int!) {
|
|
1089
|
+
dungeon(id: $id) {
|
|
1090
|
+
isCompleted
|
|
1091
|
+
isWon
|
|
1092
|
+
isCorrupted
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
`,Vn=i`
|
|
1096
|
+
query GetDungeons($take: Int, $skip: Int, $where: DungeonWhereInput, $sortBy: DungeonSortField, $sortOrder: SortOrder) {
|
|
1097
|
+
dungeons(
|
|
1098
|
+
take: $take
|
|
1099
|
+
skip: $skip
|
|
1100
|
+
where: $where
|
|
1101
|
+
sortBy: $sortBy
|
|
1102
|
+
sortOrder: $sortOrder
|
|
1103
|
+
) {
|
|
1104
|
+
...DungeonFullFields
|
|
1105
|
+
account {
|
|
1106
|
+
...AccountRefFields
|
|
1107
|
+
}
|
|
1108
|
+
job {
|
|
1109
|
+
id
|
|
1110
|
+
options
|
|
1111
|
+
}
|
|
1112
|
+
encounters(take: 2) {
|
|
1113
|
+
...EncounterCoreFields
|
|
1114
|
+
}
|
|
1115
|
+
drops {
|
|
1116
|
+
...DropFields
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
${p}
|
|
1121
|
+
${s}
|
|
1122
|
+
${N}
|
|
1123
|
+
${y}`,Qn=i`
|
|
1124
|
+
query GetDungeonsWithCount($take: Int, $skip: Int, $where: DungeonWhereInput, $sortBy: DungeonSortField, $sortOrder: SortOrder) {
|
|
1125
|
+
dungeons(
|
|
1126
|
+
take: $take
|
|
1127
|
+
skip: $skip
|
|
1128
|
+
where: $where
|
|
1129
|
+
sortBy: $sortBy
|
|
1130
|
+
sortOrder: $sortOrder
|
|
1131
|
+
) {
|
|
1132
|
+
...DungeonFullFields
|
|
1133
|
+
account {
|
|
1134
|
+
...AccountRefFields
|
|
1135
|
+
}
|
|
1136
|
+
job {
|
|
1137
|
+
id
|
|
1138
|
+
options
|
|
1139
|
+
}
|
|
1140
|
+
encounters(take: 2) {
|
|
1141
|
+
...EncounterCoreFields
|
|
1142
|
+
}
|
|
1143
|
+
drops {
|
|
1144
|
+
...DropFields
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
dungeonsCount(where: $where)
|
|
1148
|
+
}
|
|
1149
|
+
${p}
|
|
1150
|
+
${s}
|
|
1151
|
+
${N}
|
|
1152
|
+
${y}`,On=i`
|
|
1153
|
+
query GetDungeonCountsByAccount($createdBefore: BigInt) {
|
|
1154
|
+
getDungeonCountsByAccount(createdBefore: $createdBefore) {
|
|
1155
|
+
accountId
|
|
1156
|
+
name
|
|
1157
|
+
regularCount
|
|
1158
|
+
juicedCount
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
`,Rn=i`
|
|
1162
|
+
query GetGameStats($createdAfter: BigInt!) {
|
|
1163
|
+
activeDungeonsCount: dungeonsCount(where: {isCompleted: false})
|
|
1164
|
+
dungeonsTodayCount: dungeonsCount(where: {createdAfter: $createdAfter})
|
|
1165
|
+
activeFishingCount: fishingCount(where: {isCompleted: false})
|
|
1166
|
+
fishingTodayCount: fishingCount(where: {createdAfter: $createdAfter})
|
|
1167
|
+
}
|
|
1168
|
+
`,wn=i`
|
|
1169
|
+
query GetDungeonsForSimulation($take: Int, $skip: Int, $where: DungeonWhereInput, $sortBy: DungeonSortField, $sortOrder: SortOrder) {
|
|
1170
|
+
dungeons(
|
|
1171
|
+
take: $take
|
|
1172
|
+
skip: $skip
|
|
1173
|
+
where: $where
|
|
1174
|
+
sortBy: $sortBy
|
|
1175
|
+
sortOrder: $sortOrder
|
|
1176
|
+
) {
|
|
1177
|
+
type
|
|
1178
|
+
model
|
|
1179
|
+
createdAt
|
|
1180
|
+
isCompleted
|
|
1181
|
+
isCorrupted
|
|
1182
|
+
isWon
|
|
1183
|
+
isJuiced
|
|
1184
|
+
profit
|
|
1185
|
+
encounters {
|
|
1186
|
+
room
|
|
1187
|
+
isInvader
|
|
1188
|
+
isLootPhase
|
|
1189
|
+
lootOptions
|
|
1190
|
+
noobLevel
|
|
1191
|
+
invaderLevel
|
|
1192
|
+
invaderId
|
|
1193
|
+
enemyHealth
|
|
1194
|
+
enemyMaxHealth
|
|
1195
|
+
enemyShield
|
|
1196
|
+
enemyMaxShield
|
|
1197
|
+
enemyStats
|
|
1198
|
+
enemyCharges
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
`,Pn=i`
|
|
1203
|
+
query GetEventTopPlayers($dungeonType: Int, $limit: Int, $minGames: Int) {
|
|
1204
|
+
eventTopPlayers(dungeonType: $dungeonType, limit: $limit, minGames: $minGames) {
|
|
1205
|
+
accountId
|
|
1206
|
+
accountName
|
|
1207
|
+
gamesCount
|
|
1208
|
+
wins
|
|
1209
|
+
winRate
|
|
1210
|
+
totalJackpots
|
|
1211
|
+
totalCandles
|
|
1212
|
+
totalGigabit
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
`,Jn=i`
|
|
1216
|
+
mutation UpdateFactionMember($accountId: String!, $factionId: Int, $rank: Int, $status: MemberStatus, $delegatedItems: JSON) {
|
|
1217
|
+
updateFactionMember(
|
|
1218
|
+
accountId: $accountId
|
|
1219
|
+
factionId: $factionId
|
|
1220
|
+
rank: $rank
|
|
1221
|
+
status: $status
|
|
1222
|
+
delegatedItems: $delegatedItems
|
|
1223
|
+
) {
|
|
1224
|
+
...FactionMemberFields
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
${C}`,En=i`
|
|
1228
|
+
mutation AddFactionTreasury($factionId: Int!, $items: JSON) {
|
|
1229
|
+
addFactionTreasury(factionId: $factionId, items: $items) {
|
|
1230
|
+
...FactionTreasuryFields
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
${h}`,Un=i`
|
|
1234
|
+
mutation UpdateFactionTreasury($factionId: Int!, $items: JSON) {
|
|
1235
|
+
updateFactionTreasury(factionId: $factionId, items: $items) {
|
|
1236
|
+
...FactionTreasuryFields
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
${h}`,Wn=i`
|
|
1240
|
+
query GetFactionMembers($where: FactionMembersWhereInput, $take: Int, $skip: Int, $sortBy: FactionMemberSortField, $sortOrder: SortOrder) {
|
|
1241
|
+
factionMembers(
|
|
1242
|
+
where: $where
|
|
1243
|
+
take: $take
|
|
1244
|
+
skip: $skip
|
|
1245
|
+
sortBy: $sortBy
|
|
1246
|
+
sortOrder: $sortOrder
|
|
1247
|
+
) {
|
|
1248
|
+
...FactionMemberFields
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
${C}`,Hn=i`
|
|
1252
|
+
query GetFactionMembersPublic($where: FactionMembersWhereInput, $take: Int, $skip: Int, $sortBy: FactionMemberSortField, $sortOrder: SortOrder) {
|
|
1253
|
+
factionMembers(
|
|
1254
|
+
where: $where
|
|
1255
|
+
take: $take
|
|
1256
|
+
skip: $skip
|
|
1257
|
+
sortBy: $sortBy
|
|
1258
|
+
sortOrder: $sortOrder
|
|
1259
|
+
) {
|
|
1260
|
+
...FactionMemberPublicFields
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
${Ve}`,Ln=i`
|
|
1264
|
+
query GetFactionRoles($where: FactionRolesWhereInput, $take: Int, $skip: Int, $sortBy: FactionRoleSortField, $sortOrder: SortOrder) {
|
|
1265
|
+
factionRoles(
|
|
1266
|
+
where: $where
|
|
1267
|
+
take: $take
|
|
1268
|
+
skip: $skip
|
|
1269
|
+
sortBy: $sortBy
|
|
1270
|
+
sortOrder: $sortOrder
|
|
1271
|
+
) {
|
|
1272
|
+
...FactionRoleFields
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
${F}`,jn=i`
|
|
1276
|
+
query GetFactionTreasury($factionId: Int!) {
|
|
1277
|
+
factionTreasury(factionId: $factionId) {
|
|
1278
|
+
...FactionTreasuryFields
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
${h}`,_n=i`
|
|
1282
|
+
mutation StartFishing($id: Int!, $model: Int!, $accountId: String!, $type: Int!, $gear: JSON!, $jobId: BigInt, $isManual: Boolean) {
|
|
1283
|
+
startFishing(
|
|
1284
|
+
id: $id
|
|
1285
|
+
model: $model
|
|
1286
|
+
accountId: $accountId
|
|
1287
|
+
type: $type
|
|
1288
|
+
gear: $gear
|
|
1289
|
+
jobId: $jobId
|
|
1290
|
+
isManual: $isManual
|
|
1291
|
+
) {
|
|
1292
|
+
id
|
|
1293
|
+
accountId
|
|
1294
|
+
type
|
|
1295
|
+
model
|
|
1296
|
+
isCompleted
|
|
1297
|
+
isWon
|
|
1298
|
+
isCorrupted
|
|
1299
|
+
isManual
|
|
1300
|
+
gear
|
|
1301
|
+
jobId
|
|
1302
|
+
createdAt
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
`,Xn=i`
|
|
1306
|
+
mutation UpdateFishing($id: Int!, $isCompleted: Boolean, $isWon: Boolean, $isCorrupted: Boolean, $isManual: Boolean, $isJebaited: Boolean, $strategy: Int, $strategyTemp: [Int!], $jobId: BigInt) {
|
|
1307
|
+
updateFishing(
|
|
1308
|
+
id: $id
|
|
1309
|
+
isCompleted: $isCompleted
|
|
1310
|
+
isWon: $isWon
|
|
1311
|
+
isCorrupted: $isCorrupted
|
|
1312
|
+
isManual: $isManual
|
|
1313
|
+
isJebaited: $isJebaited
|
|
1314
|
+
strategy: $strategy
|
|
1315
|
+
strategyTemp: $strategyTemp
|
|
1316
|
+
jobId: $jobId
|
|
1317
|
+
) {
|
|
1318
|
+
id
|
|
1319
|
+
isCompleted
|
|
1320
|
+
isWon
|
|
1321
|
+
isCorrupted
|
|
1322
|
+
isManual
|
|
1323
|
+
isJebaited
|
|
1324
|
+
strategy
|
|
1325
|
+
strategyTemp
|
|
1326
|
+
jobId
|
|
1327
|
+
}
|
|
1328
|
+
}
|
|
1329
|
+
`,Kn=i`
|
|
1330
|
+
mutation AddFishingEncounter($id: String!, $fishingId: Int!, $action: String!, $type: Int!, $deck: [Int!]!, $hand: [Int!]!, $discard: [Int!]!, $playerHp: Int!, $playerMaxHp: Int!, $fishHp: Int!, $fishMaxHp: Int!, $fishPosition: JSON!, $fishPrevPosition: JSON!, $fishNextPosition: JSON, $isLootPhase: Boolean!, $caughtFish: Int, $lootChosen: Int, $lootOptions: [Int!]!, $playerLevel: Int!, $round: Int!, $reason: String, $redrawCount: Int, $cardPlayedId: Int, $timestamp: BigInt) {
|
|
1331
|
+
addFishingEncounter(
|
|
1332
|
+
id: $id
|
|
1333
|
+
fishingId: $fishingId
|
|
1334
|
+
action: $action
|
|
1335
|
+
type: $type
|
|
1336
|
+
deck: $deck
|
|
1337
|
+
hand: $hand
|
|
1338
|
+
discard: $discard
|
|
1339
|
+
playerHp: $playerHp
|
|
1340
|
+
playerMaxHp: $playerMaxHp
|
|
1341
|
+
fishHp: $fishHp
|
|
1342
|
+
fishMaxHp: $fishMaxHp
|
|
1343
|
+
fishPosition: $fishPosition
|
|
1344
|
+
fishPrevPosition: $fishPrevPosition
|
|
1345
|
+
fishNextPosition: $fishNextPosition
|
|
1346
|
+
isLootPhase: $isLootPhase
|
|
1347
|
+
caughtFish: $caughtFish
|
|
1348
|
+
lootChosen: $lootChosen
|
|
1349
|
+
lootOptions: $lootOptions
|
|
1350
|
+
playerLevel: $playerLevel
|
|
1351
|
+
round: $round
|
|
1352
|
+
reason: $reason
|
|
1353
|
+
redrawCount: $redrawCount
|
|
1354
|
+
cardPlayedId: $cardPlayedId
|
|
1355
|
+
timestamp: $timestamp
|
|
1356
|
+
) {
|
|
1357
|
+
id
|
|
1358
|
+
fishingId
|
|
1359
|
+
action
|
|
1360
|
+
type
|
|
1361
|
+
round
|
|
1362
|
+
timestamp
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
`,Yn=i`
|
|
1366
|
+
mutation AddFishingDrops($drops: [FishingDropInput!]!, $effectProcs: FishingEffectProcsInput) {
|
|
1367
|
+
addFishingDrops(drops: $drops, effectProcs: $effectProcs) {
|
|
1368
|
+
itemId
|
|
1369
|
+
amount
|
|
1370
|
+
totalCaught
|
|
1371
|
+
isNewFish
|
|
1372
|
+
isRecordGirth
|
|
1373
|
+
isRecordLength
|
|
1374
|
+
isRecordWeight
|
|
1375
|
+
isRecordQuality
|
|
1376
|
+
quality
|
|
1377
|
+
girth
|
|
1378
|
+
length
|
|
1379
|
+
weight
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
`,zn=i`
|
|
1383
|
+
query GetFishingById($id: Int!, $encountersLimit: Int) {
|
|
1384
|
+
fishingById(id: $id) {
|
|
1385
|
+
...FishingCoreFields
|
|
1386
|
+
account {
|
|
1387
|
+
...AccountRefFields
|
|
1388
|
+
}
|
|
1389
|
+
job {
|
|
1390
|
+
id
|
|
1391
|
+
status
|
|
1392
|
+
totalRuns
|
|
1393
|
+
options
|
|
1394
|
+
fishing {
|
|
1395
|
+
id
|
|
1396
|
+
type
|
|
1397
|
+
model
|
|
1398
|
+
isCompleted
|
|
1399
|
+
isWon
|
|
1400
|
+
createdAt
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
fishingEncounters(take: $encountersLimit) {
|
|
1404
|
+
...FishingEncounterFullFields
|
|
1405
|
+
}
|
|
1406
|
+
fishingDrops {
|
|
1407
|
+
...FishingDropFields
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
${k}
|
|
1412
|
+
${s}
|
|
1413
|
+
${Qe}
|
|
1414
|
+
${I}`,Zn=i`
|
|
1415
|
+
query GetFishing($take: Int, $skip: Int, $where: FishingWhereInput, $sortBy: FishingSortField, $sortOrder: SortOrder) {
|
|
1416
|
+
fishing(
|
|
1417
|
+
take: $take
|
|
1418
|
+
skip: $skip
|
|
1419
|
+
where: $where
|
|
1420
|
+
sortBy: $sortBy
|
|
1421
|
+
sortOrder: $sortOrder
|
|
1422
|
+
) {
|
|
1423
|
+
...FishingCoreFields
|
|
1424
|
+
account {
|
|
1425
|
+
...AccountRefFields
|
|
1426
|
+
}
|
|
1427
|
+
job {
|
|
1428
|
+
id
|
|
1429
|
+
options
|
|
1430
|
+
}
|
|
1431
|
+
fishingEncounters {
|
|
1432
|
+
...FishingEncounterCoreFields
|
|
1433
|
+
}
|
|
1434
|
+
fishingDrops {
|
|
1435
|
+
...FishingDropFields
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
${k}
|
|
1440
|
+
${s}
|
|
1441
|
+
${b}
|
|
1442
|
+
${I}`,et=i`
|
|
1443
|
+
query GetFishingWithCount($take: Int, $skip: Int, $where: FishingWhereInput, $sortBy: FishingSortField, $sortOrder: SortOrder) {
|
|
1444
|
+
fishing(
|
|
1445
|
+
take: $take
|
|
1446
|
+
skip: $skip
|
|
1447
|
+
where: $where
|
|
1448
|
+
sortBy: $sortBy
|
|
1449
|
+
sortOrder: $sortOrder
|
|
1450
|
+
) {
|
|
1451
|
+
...FishingCoreFields
|
|
1452
|
+
account {
|
|
1453
|
+
...AccountRefFields
|
|
1454
|
+
}
|
|
1455
|
+
job {
|
|
1456
|
+
id
|
|
1457
|
+
options
|
|
1458
|
+
}
|
|
1459
|
+
fishingEncounters {
|
|
1460
|
+
...FishingEncounterCoreFields
|
|
1461
|
+
}
|
|
1462
|
+
fishingDrops {
|
|
1463
|
+
...FishingDropFields
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
fishingCount(where: $where)
|
|
1467
|
+
}
|
|
1468
|
+
${k}
|
|
1469
|
+
${s}
|
|
1470
|
+
${b}
|
|
1471
|
+
${I}`,nt=i`
|
|
1472
|
+
mutation RequestHint($gameType: Int!, $gameId: Int!) {
|
|
1473
|
+
requestHint(gameType: $gameType, gameId: $gameId) {
|
|
1474
|
+
success
|
|
1475
|
+
message
|
|
1476
|
+
hint {
|
|
1477
|
+
action
|
|
1478
|
+
cardId
|
|
1479
|
+
cardName
|
|
1480
|
+
reason
|
|
1481
|
+
confidence
|
|
1482
|
+
}
|
|
1483
|
+
hintsRemaining
|
|
1484
|
+
sparkCost
|
|
1485
|
+
wasFree
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
`,tt=i`
|
|
1489
|
+
query HintStatus($gameType: Int!) {
|
|
1490
|
+
hintStatus(gameType: $gameType) {
|
|
1491
|
+
freeHintsRemaining
|
|
1492
|
+
sparkCost
|
|
1493
|
+
nextResetTime
|
|
1494
|
+
isActive
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
`,at=i`
|
|
1498
|
+
mutation AddItem($id: Int!, $name: String!, $rarity: Int!, $type: String, $imgUrl: String) {
|
|
1499
|
+
addItem(id: $id, name: $name, rarity: $rarity, type: $type, imgUrl: $imgUrl) {
|
|
1500
|
+
id
|
|
1501
|
+
name
|
|
1502
|
+
rarity
|
|
1503
|
+
type
|
|
1504
|
+
imgUrl
|
|
1505
|
+
createdAt
|
|
1506
|
+
updatedAt
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
`,it=i`
|
|
1510
|
+
mutation UpdateItem($id: Int!, $name: String, $rarity: Int, $type: String, $imgUrl: String) {
|
|
1511
|
+
updateItem(id: $id, name: $name, rarity: $rarity, type: $type, imgUrl: $imgUrl) {
|
|
1512
|
+
id
|
|
1513
|
+
name
|
|
1514
|
+
rarity
|
|
1515
|
+
type
|
|
1516
|
+
imgUrl
|
|
1517
|
+
createdAt
|
|
1518
|
+
updatedAt
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
`,rt=i`
|
|
1522
|
+
mutation AddItemSupplySnapshot($itemId: Int!, $supply: BigInt!, $equipmentCount: BigInt, $onchainCount: BigInt, $listedCount: BigInt, $timestamp: BigInt, $topHolders: JSON) {
|
|
1523
|
+
addItemSupplySnapshot(
|
|
1524
|
+
itemId: $itemId
|
|
1525
|
+
supply: $supply
|
|
1526
|
+
equipmentCount: $equipmentCount
|
|
1527
|
+
onchainCount: $onchainCount
|
|
1528
|
+
listedCount: $listedCount
|
|
1529
|
+
timestamp: $timestamp
|
|
1530
|
+
topHolders: $topHolders
|
|
1531
|
+
) {
|
|
1532
|
+
itemId
|
|
1533
|
+
supply
|
|
1534
|
+
equipmentCount
|
|
1535
|
+
onchainCount
|
|
1536
|
+
listedCount
|
|
1537
|
+
timestamp
|
|
1538
|
+
topHolders
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
`,ut=i`
|
|
1542
|
+
query GetItems($take: Int, $skip: Int, $where: ItemWhereInput, $sortBy: ItemSortField, $sortOrder: SortOrder) {
|
|
1543
|
+
items(
|
|
1544
|
+
take: $take
|
|
1545
|
+
skip: $skip
|
|
1546
|
+
where: $where
|
|
1547
|
+
sortBy: $sortBy
|
|
1548
|
+
sortOrder: $sortOrder
|
|
1549
|
+
) {
|
|
1550
|
+
id
|
|
1551
|
+
name
|
|
1552
|
+
rarity
|
|
1553
|
+
type
|
|
1554
|
+
imgUrl
|
|
1555
|
+
createdAt
|
|
1556
|
+
updatedAt
|
|
1557
|
+
}
|
|
1558
|
+
itemsCount(where: $where)
|
|
1559
|
+
}
|
|
1560
|
+
`,ot=i`
|
|
1561
|
+
query GetItemsWithSnapshots($take: Int, $skip: Int, $where: ItemWhereInput, $sortBy: ItemSortField, $sortOrder: SortOrder) {
|
|
1562
|
+
items(
|
|
1563
|
+
take: $take
|
|
1564
|
+
skip: $skip
|
|
1565
|
+
where: $where
|
|
1566
|
+
sortBy: $sortBy
|
|
1567
|
+
sortOrder: $sortOrder
|
|
1568
|
+
) {
|
|
1569
|
+
id
|
|
1570
|
+
name
|
|
1571
|
+
rarity
|
|
1572
|
+
type
|
|
1573
|
+
imgUrl
|
|
1574
|
+
createdAt
|
|
1575
|
+
updatedAt
|
|
1576
|
+
snapshots {
|
|
1577
|
+
itemId
|
|
1578
|
+
supply
|
|
1579
|
+
equipmentCount
|
|
1580
|
+
onchainCount
|
|
1581
|
+
listedCount
|
|
1582
|
+
timestamp
|
|
1583
|
+
topHolders
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
itemsCount(where: $where)
|
|
1587
|
+
}
|
|
1588
|
+
`,lt=i`
|
|
1589
|
+
mutation UpdateJob($id: BigInt!, $status: String, $statusMessage: String, $completedRuns: Int, $wonRuns: Int, $totalRuns: Int, $startedAt: BigInt, $completedAt: BigInt) {
|
|
1590
|
+
updateJob(
|
|
1591
|
+
id: $id
|
|
1592
|
+
status: $status
|
|
1593
|
+
statusMessage: $statusMessage
|
|
1594
|
+
completedRuns: $completedRuns
|
|
1595
|
+
wonRuns: $wonRuns
|
|
1596
|
+
totalRuns: $totalRuns
|
|
1597
|
+
startedAt: $startedAt
|
|
1598
|
+
completedAt: $completedAt
|
|
1599
|
+
) {
|
|
1600
|
+
...JobFields
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
${M}`,st=i`
|
|
1604
|
+
query GetJobs($take: Int, $skip: Int, $where: JobWhereInput, $sortBy: JobSortField, $sortOrder: SortOrder) {
|
|
1605
|
+
jobs(
|
|
1606
|
+
take: $take
|
|
1607
|
+
skip: $skip
|
|
1608
|
+
where: $where
|
|
1609
|
+
sortBy: $sortBy
|
|
1610
|
+
sortOrder: $sortOrder
|
|
1611
|
+
) {
|
|
1612
|
+
...JobFields
|
|
1613
|
+
account {
|
|
1614
|
+
...AccountRefFields
|
|
1615
|
+
}
|
|
1616
|
+
dungeons {
|
|
1617
|
+
isWon
|
|
1618
|
+
isFled
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
jobsCount(where: $where)
|
|
1622
|
+
}
|
|
1623
|
+
${M}
|
|
1624
|
+
${s}`,dt=i`
|
|
1625
|
+
query GetJobById($id: BigInt!, $take: Int, $skip: Int) {
|
|
1626
|
+
jobById(id: $id) {
|
|
1627
|
+
...JobFields
|
|
1628
|
+
account {
|
|
1629
|
+
...AccountRefFields
|
|
1630
|
+
}
|
|
1631
|
+
dungeons(take: $take, skip: $skip) {
|
|
1632
|
+
...DungeonFullFields
|
|
1633
|
+
account {
|
|
1634
|
+
...AccountRefFields
|
|
1635
|
+
}
|
|
1636
|
+
job {
|
|
1637
|
+
id
|
|
1638
|
+
options
|
|
1639
|
+
}
|
|
1640
|
+
encounters(take: 2) {
|
|
1641
|
+
...EncounterFullFields
|
|
1642
|
+
drops {
|
|
1643
|
+
...DropFields
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
fishing(take: $take, skip: $skip) {
|
|
1648
|
+
...FishingCoreFields
|
|
1649
|
+
account {
|
|
1650
|
+
...AccountRefFields
|
|
1651
|
+
}
|
|
1652
|
+
job {
|
|
1653
|
+
id
|
|
1654
|
+
options
|
|
1655
|
+
}
|
|
1656
|
+
fishingEncounters(take: 2) {
|
|
1657
|
+
...FishingEncounterCoreFields
|
|
1658
|
+
}
|
|
1659
|
+
fishingDrops(take: 20) {
|
|
1660
|
+
...FishingDropFields
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
${M}
|
|
1666
|
+
${s}
|
|
1667
|
+
${p}
|
|
1668
|
+
${D}
|
|
1669
|
+
${y}
|
|
1670
|
+
${k}
|
|
1671
|
+
${b}
|
|
1672
|
+
${I}`,ct=i`
|
|
1673
|
+
query GetJobDungeonDropSummary($jobId: BigInt!) {
|
|
1674
|
+
jobDungeonDropSummary(jobId: $jobId) {
|
|
1675
|
+
itemId
|
|
1676
|
+
amount
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
`,mt=i`
|
|
1680
|
+
query GetJobFishingDropSummary($jobId: BigInt!) {
|
|
1681
|
+
jobFishingDropSummary(jobId: $jobId) {
|
|
1682
|
+
itemId
|
|
1683
|
+
amount
|
|
1684
|
+
}
|
|
1685
|
+
}
|
|
1686
|
+
`,pt=i`
|
|
1687
|
+
query GetLeaderboard($take: Int, $skip: Int, $name: String, $sortBy: LeaderboardSortField, $sortOrder: SortOrder) {
|
|
1688
|
+
leaderboard(
|
|
1689
|
+
take: $take
|
|
1690
|
+
skip: $skip
|
|
1691
|
+
name: $name
|
|
1692
|
+
sortBy: $sortBy
|
|
1693
|
+
sortOrder: $sortOrder
|
|
1694
|
+
) {
|
|
1695
|
+
accountId
|
|
1696
|
+
name
|
|
1697
|
+
games
|
|
1698
|
+
dungeonGames
|
|
1699
|
+
fishingGames
|
|
1700
|
+
xp
|
|
1701
|
+
baseXp
|
|
1702
|
+
gamesXp
|
|
1703
|
+
referrals
|
|
1704
|
+
}
|
|
1705
|
+
}
|
|
1706
|
+
`,yt=i`
|
|
1707
|
+
query GetLeaderboardCount($name: String) {
|
|
1708
|
+
leaderboardCount(name: $name)
|
|
1709
|
+
}
|
|
1710
|
+
`,kt=i`
|
|
1711
|
+
query GetLeaderboard2($take: Int, $skip: Int, $name: String, $isFireballAccount: Boolean, $sortBy: Leaderboard2SortField, $sortOrder: SortOrder) {
|
|
1712
|
+
leaderboard2(
|
|
1713
|
+
take: $take
|
|
1714
|
+
skip: $skip
|
|
1715
|
+
name: $name
|
|
1716
|
+
isFireballAccount: $isFireballAccount
|
|
1717
|
+
sortBy: $sortBy
|
|
1718
|
+
sortOrder: $sortOrder
|
|
1719
|
+
) {
|
|
1720
|
+
accountId
|
|
1721
|
+
name
|
|
1722
|
+
isFireballAccount
|
|
1723
|
+
glhfId
|
|
1724
|
+
glhfUrl
|
|
1725
|
+
games
|
|
1726
|
+
dungeonGames
|
|
1727
|
+
fishingGames
|
|
1728
|
+
xp
|
|
1729
|
+
baseXp
|
|
1730
|
+
gamesXp
|
|
1731
|
+
referrals
|
|
1732
|
+
inventoryValue
|
|
1733
|
+
rankByXp
|
|
1734
|
+
updatedAt
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
`,bt=i`
|
|
1738
|
+
query GetLeaderboard2Count($name: String, $isFireballAccount: Boolean) {
|
|
1739
|
+
leaderboard2Count(name: $name, isFireballAccount: $isFireballAccount)
|
|
1740
|
+
}
|
|
1741
|
+
`,It=i`
|
|
1742
|
+
mutation ProcessSparksAirdrop($accountId: String!, $amount: Decimal!, $transactionType: Int!, $metadata: JSON) {
|
|
1743
|
+
processSparksAirdrop(
|
|
1744
|
+
accountId: $accountId
|
|
1745
|
+
amount: $amount
|
|
1746
|
+
transactionType: $transactionType
|
|
1747
|
+
metadata: $metadata
|
|
1748
|
+
) {
|
|
1749
|
+
success
|
|
1750
|
+
account {
|
|
1751
|
+
id
|
|
1752
|
+
name
|
|
1753
|
+
sparks
|
|
1754
|
+
}
|
|
1755
|
+
transactionId
|
|
1756
|
+
error
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
`,gt=i`
|
|
1760
|
+
mutation ProcessSparkPurchaseV2($purchaseId: String!, $buyerId: String!, $receiverId: String!, $sparks: Int!, $paidAmount: SafeBigInt!, $referralId: String!, $referralAmount: SafeBigInt!, $blockNumber: SafeBigInt!, $transactionType: Int!) {
|
|
1761
|
+
processSparkPurchaseV2(
|
|
1762
|
+
purchaseId: $purchaseId
|
|
1763
|
+
buyerId: $buyerId
|
|
1764
|
+
receiverId: $receiverId
|
|
1765
|
+
sparks: $sparks
|
|
1766
|
+
paidAmount: $paidAmount
|
|
1767
|
+
referralId: $referralId
|
|
1768
|
+
referralAmount: $referralAmount
|
|
1769
|
+
blockNumber: $blockNumber
|
|
1770
|
+
transactionType: $transactionType
|
|
1771
|
+
) {
|
|
1772
|
+
success
|
|
1773
|
+
message
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
`,St=i`
|
|
1777
|
+
mutation UpdateLastProcessedBlock($id: Int!, $lastProcessedBlock: SafeBigInt!) {
|
|
1778
|
+
updateLastProcessedBlock(id: $id, lastProcessedBlock: $lastProcessedBlock) {
|
|
1779
|
+
success
|
|
1780
|
+
message
|
|
1781
|
+
lastProcessedBlock
|
|
1782
|
+
lastVerifiedBlock
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
`,At=i`
|
|
1786
|
+
mutation UpdatePricing($gameType: Int!, $gameSubType: Int!, $model: Int!, $cost: Decimal!) {
|
|
1787
|
+
updatePricing(
|
|
1788
|
+
gameType: $gameType
|
|
1789
|
+
gameSubType: $gameSubType
|
|
1790
|
+
model: $model
|
|
1791
|
+
cost: $cost
|
|
1792
|
+
) {
|
|
1793
|
+
name
|
|
1794
|
+
gameType
|
|
1795
|
+
gameSubType
|
|
1796
|
+
model
|
|
1797
|
+
cost
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
`,vt=i`
|
|
1801
|
+
query GetPaymentProcessedBlocks {
|
|
1802
|
+
paymentProcessedBlocks {
|
|
1803
|
+
id
|
|
1804
|
+
lastProcessedBlock
|
|
1805
|
+
lastVerifiedBlock
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
`,Nt=i`
|
|
1809
|
+
query GetSparkTransactions($where: SparkTransactionWhereInput, $take: Int, $skip: Int, $sortBy: SparkTransactionSortField, $sortOrder: SortOrder) {
|
|
1810
|
+
sparkTransactions(
|
|
1811
|
+
where: $where
|
|
1812
|
+
take: $take
|
|
1813
|
+
skip: $skip
|
|
1814
|
+
sortBy: $sortBy
|
|
1815
|
+
sortOrder: $sortOrder
|
|
1816
|
+
) {
|
|
1817
|
+
id
|
|
1818
|
+
accountId
|
|
1819
|
+
amount
|
|
1820
|
+
balanceAfter
|
|
1821
|
+
type
|
|
1822
|
+
subType
|
|
1823
|
+
metadata
|
|
1824
|
+
createdAt
|
|
1825
|
+
}
|
|
1826
|
+
sparkTransactionsCount(where: $where)
|
|
1827
|
+
}
|
|
1828
|
+
`,Ft=i`
|
|
1829
|
+
query GetPricing($take: Int, $skip: Int, $where: PricingWhereInput) {
|
|
1830
|
+
pricing(take: $take, skip: $skip, where: $where) {
|
|
1831
|
+
name
|
|
1832
|
+
gameType
|
|
1833
|
+
gameSubType
|
|
1834
|
+
model
|
|
1835
|
+
cost
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
`,ht=i`
|
|
1839
|
+
mutation UpsertAccountPetSettings($accountId: String!, $petId: Int!, $foodItemId: Int!) {
|
|
1840
|
+
upsertAccountPetSettings(
|
|
1841
|
+
accountId: $accountId
|
|
1842
|
+
petId: $petId
|
|
1843
|
+
foodItemId: $foodItemId
|
|
1844
|
+
) {
|
|
1845
|
+
accountId
|
|
1846
|
+
petId
|
|
1847
|
+
foodItemId
|
|
1848
|
+
createdAt
|
|
1849
|
+
updatedAt
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
`,Mt=i`
|
|
1853
|
+
query GetAccountPetSettings($accountId: String!) {
|
|
1854
|
+
accountPetSettings(accountId: $accountId) {
|
|
1855
|
+
accountId
|
|
1856
|
+
petId
|
|
1857
|
+
foodItemId
|
|
1858
|
+
createdAt
|
|
1859
|
+
updatedAt
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
`,ft=i`
|
|
1863
|
+
mutation AddQuest($name: String!, $description: String, $type: Int!, $isActive: Boolean, $isVisible: Boolean, $expiresAt: BigInt, $requirementTypeIds: [Int!], $requirementIds: [Int!], $requirementAmounts: [Int!], $claimTypeIds: [Int!], $claimIds: [Int!], $claimAmounts: [Int!], $rewardTypeIds: [Int!], $rewardItemIds: [Int!], $rewardAmounts: [Int!], $maxCompletions: Int, $priority: Int, $tags: [String!], $imgUrl: String) {
|
|
1864
|
+
addQuest(
|
|
1865
|
+
name: $name
|
|
1866
|
+
description: $description
|
|
1867
|
+
type: $type
|
|
1868
|
+
isActive: $isActive
|
|
1869
|
+
isVisible: $isVisible
|
|
1870
|
+
expiresAt: $expiresAt
|
|
1871
|
+
requirementTypeIds: $requirementTypeIds
|
|
1872
|
+
requirementIds: $requirementIds
|
|
1873
|
+
requirementAmounts: $requirementAmounts
|
|
1874
|
+
claimTypeIds: $claimTypeIds
|
|
1875
|
+
claimIds: $claimIds
|
|
1876
|
+
claimAmounts: $claimAmounts
|
|
1877
|
+
rewardTypeIds: $rewardTypeIds
|
|
1878
|
+
rewardItemIds: $rewardItemIds
|
|
1879
|
+
rewardAmounts: $rewardAmounts
|
|
1880
|
+
maxCompletions: $maxCompletions
|
|
1881
|
+
priority: $priority
|
|
1882
|
+
tags: $tags
|
|
1883
|
+
imgUrl: $imgUrl
|
|
1884
|
+
) {
|
|
1885
|
+
id
|
|
1886
|
+
name
|
|
1887
|
+
description
|
|
1888
|
+
type
|
|
1889
|
+
isActive
|
|
1890
|
+
isVisible
|
|
1891
|
+
createdAt
|
|
1892
|
+
updatedAt
|
|
1893
|
+
expiresAt
|
|
1894
|
+
requirementTypeIds
|
|
1895
|
+
requirementIds
|
|
1896
|
+
requirementAmounts
|
|
1897
|
+
claimTypeIds
|
|
1898
|
+
claimIds
|
|
1899
|
+
claimAmounts
|
|
1900
|
+
rewardTypeIds
|
|
1901
|
+
rewardItemIds
|
|
1902
|
+
rewardAmounts
|
|
1903
|
+
maxCompletions
|
|
1904
|
+
priority
|
|
1905
|
+
tags
|
|
1906
|
+
imgUrl
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
`,$t=i`
|
|
1910
|
+
mutation AddAccountQuest($accountId: String!, $questId: Int!, $isCompleted: Boolean, $completionCount: Int, $startedAt: BigInt, $lastCompletedAt: BigInt, $expiresAt: BigInt) {
|
|
1911
|
+
addAccountQuest(
|
|
1912
|
+
accountId: $accountId
|
|
1913
|
+
questId: $questId
|
|
1914
|
+
isCompleted: $isCompleted
|
|
1915
|
+
completionCount: $completionCount
|
|
1916
|
+
startedAt: $startedAt
|
|
1917
|
+
lastCompletedAt: $lastCompletedAt
|
|
1918
|
+
expiresAt: $expiresAt
|
|
1919
|
+
) {
|
|
1920
|
+
accountId
|
|
1921
|
+
questId
|
|
1922
|
+
isCompleted
|
|
1923
|
+
completionCount
|
|
1924
|
+
startedAt
|
|
1925
|
+
updatedAt
|
|
1926
|
+
lastCompletedAt
|
|
1927
|
+
expiresAt
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
`,xt=i`
|
|
1931
|
+
mutation UpdateQuest($id: Int!, $name: String, $description: String, $type: Int, $isActive: Boolean, $isVisible: Boolean, $expiresAt: BigInt, $requirementTypeIds: [Int!], $requirementIds: [Int!], $requirementAmounts: [Int!], $claimTypeIds: [Int!], $claimIds: [Int!], $claimAmounts: [Int!], $rewardTypeIds: [Int!], $rewardItemIds: [Int!], $rewardAmounts: [Int!], $maxCompletions: Int, $priority: Int, $tags: [String!], $imgUrl: String) {
|
|
1932
|
+
updateQuest(
|
|
1933
|
+
id: $id
|
|
1934
|
+
name: $name
|
|
1935
|
+
description: $description
|
|
1936
|
+
type: $type
|
|
1937
|
+
isActive: $isActive
|
|
1938
|
+
isVisible: $isVisible
|
|
1939
|
+
expiresAt: $expiresAt
|
|
1940
|
+
requirementTypeIds: $requirementTypeIds
|
|
1941
|
+
requirementIds: $requirementIds
|
|
1942
|
+
requirementAmounts: $requirementAmounts
|
|
1943
|
+
claimTypeIds: $claimTypeIds
|
|
1944
|
+
claimIds: $claimIds
|
|
1945
|
+
claimAmounts: $claimAmounts
|
|
1946
|
+
rewardTypeIds: $rewardTypeIds
|
|
1947
|
+
rewardItemIds: $rewardItemIds
|
|
1948
|
+
rewardAmounts: $rewardAmounts
|
|
1949
|
+
maxCompletions: $maxCompletions
|
|
1950
|
+
priority: $priority
|
|
1951
|
+
tags: $tags
|
|
1952
|
+
imgUrl: $imgUrl
|
|
1953
|
+
) {
|
|
1954
|
+
id
|
|
1955
|
+
name
|
|
1956
|
+
description
|
|
1957
|
+
type
|
|
1958
|
+
isActive
|
|
1959
|
+
isVisible
|
|
1960
|
+
createdAt
|
|
1961
|
+
updatedAt
|
|
1962
|
+
expiresAt
|
|
1963
|
+
requirementTypeIds
|
|
1964
|
+
requirementIds
|
|
1965
|
+
requirementAmounts
|
|
1966
|
+
claimTypeIds
|
|
1967
|
+
claimIds
|
|
1968
|
+
claimAmounts
|
|
1969
|
+
rewardTypeIds
|
|
1970
|
+
rewardItemIds
|
|
1971
|
+
rewardAmounts
|
|
1972
|
+
maxCompletions
|
|
1973
|
+
priority
|
|
1974
|
+
tags
|
|
1975
|
+
imgUrl
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
`,Dt=i`
|
|
1979
|
+
mutation DeleteQuest($id: Int!) {
|
|
1980
|
+
deleteQuest(id: $id) {
|
|
1981
|
+
id
|
|
1982
|
+
name
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
`,Ct=i`
|
|
1986
|
+
mutation ClaimQuest($accountId: String!, $questId: Int!) {
|
|
1987
|
+
claimQuest(accountId: $accountId, questId: $questId) {
|
|
1988
|
+
success
|
|
1989
|
+
message
|
|
1990
|
+
error
|
|
1991
|
+
rewards {
|
|
1992
|
+
type
|
|
1993
|
+
amount
|
|
1994
|
+
itemId
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
`,Bt=i`
|
|
1999
|
+
query GetQuests($id: Int, $take: Int, $skip: Int, $isActive: Boolean, $isVisible: Boolean, $search: String, $sortBy: QuestSortField, $sortOrder: SortOrder) {
|
|
2000
|
+
quests(
|
|
2001
|
+
id: $id
|
|
2002
|
+
take: $take
|
|
2003
|
+
skip: $skip
|
|
2004
|
+
isActive: $isActive
|
|
2005
|
+
isVisible: $isVisible
|
|
2006
|
+
search: $search
|
|
2007
|
+
sortBy: $sortBy
|
|
2008
|
+
sortOrder: $sortOrder
|
|
2009
|
+
) {
|
|
2010
|
+
id
|
|
2011
|
+
name
|
|
2012
|
+
description
|
|
2013
|
+
type
|
|
2014
|
+
isActive
|
|
2015
|
+
isVisible
|
|
2016
|
+
createdAt
|
|
2017
|
+
updatedAt
|
|
2018
|
+
expiresAt
|
|
2019
|
+
requirementTypeIds
|
|
2020
|
+
requirementIds
|
|
2021
|
+
requirementAmounts
|
|
2022
|
+
claimTypeIds
|
|
2023
|
+
claimIds
|
|
2024
|
+
claimAmounts
|
|
2025
|
+
rewardTypeIds
|
|
2026
|
+
rewardItemIds
|
|
2027
|
+
rewardAmounts
|
|
2028
|
+
maxCompletions
|
|
2029
|
+
priority
|
|
2030
|
+
tags
|
|
2031
|
+
imgUrl
|
|
2032
|
+
}
|
|
2033
|
+
questsCount(isActive: $isActive, isVisible: $isVisible, search: $search)
|
|
2034
|
+
}
|
|
2035
|
+
`,Gt=i`
|
|
2036
|
+
mutation UseService($accountId: String!, $serviceId: Int!, $sparkCost: Decimal!, $metadata: JSON) {
|
|
2037
|
+
useService(
|
|
2038
|
+
accountId: $accountId
|
|
2039
|
+
serviceId: $serviceId
|
|
2040
|
+
sparkCost: $sparkCost
|
|
2041
|
+
metadata: $metadata
|
|
2042
|
+
) {
|
|
2043
|
+
success
|
|
2044
|
+
message
|
|
2045
|
+
actualCost
|
|
2046
|
+
transactionId
|
|
2047
|
+
}
|
|
2048
|
+
}
|
|
2049
|
+
`,Tt=i`
|
|
2050
|
+
query GetServices {
|
|
2051
|
+
services {
|
|
2052
|
+
id
|
|
2053
|
+
name
|
|
2054
|
+
sparkCost
|
|
2055
|
+
isActive
|
|
2056
|
+
createdAt
|
|
2057
|
+
updatedAt
|
|
2058
|
+
imgUrl
|
|
2059
|
+
description
|
|
2060
|
+
index
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
`,qt=i`
|
|
2064
|
+
query GetServiceById($id: Int!) {
|
|
2065
|
+
serviceById(id: $id) {
|
|
2066
|
+
id
|
|
2067
|
+
name
|
|
2068
|
+
sparkCost
|
|
2069
|
+
isActive
|
|
2070
|
+
createdAt
|
|
2071
|
+
updatedAt
|
|
2072
|
+
imgUrl
|
|
2073
|
+
description
|
|
2074
|
+
index
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
`,Vt=i`
|
|
2078
|
+
query GetAllActiveAccountServices($serviceId: Int) {
|
|
2079
|
+
allActiveAccountServices(serviceId: $serviceId) {
|
|
2080
|
+
accountId
|
|
2081
|
+
serviceId
|
|
2082
|
+
subscribedAt
|
|
2083
|
+
updatedAt
|
|
2084
|
+
isActive
|
|
2085
|
+
options
|
|
2086
|
+
lastRevealed
|
|
2087
|
+
service {
|
|
2088
|
+
id
|
|
2089
|
+
name
|
|
2090
|
+
sparkCost
|
|
2091
|
+
isActive
|
|
2092
|
+
}
|
|
2093
|
+
account {
|
|
2094
|
+
id
|
|
2095
|
+
name
|
|
2096
|
+
}
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
`,Qt=i`
|
|
2100
|
+
query GetScrolls($where: ScrollWhereInput) {
|
|
2101
|
+
scrolls(where: $where) {
|
|
2102
|
+
...ScrollFields
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
${f}`,Ot=i`
|
|
2106
|
+
query GetOnline {
|
|
2107
|
+
online {
|
|
2108
|
+
queued
|
|
2109
|
+
inProgress
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
`,Rt=i`
|
|
2113
|
+
query GetStats {
|
|
2114
|
+
stats {
|
|
2115
|
+
timestamp
|
|
2116
|
+
lastUpdated
|
|
2117
|
+
accountsCount
|
|
2118
|
+
activeAccountsCount
|
|
2119
|
+
juicedAccountsCount
|
|
2120
|
+
activeJuicedAccountsCount
|
|
2121
|
+
fireballAccountsCount
|
|
2122
|
+
fireballJuicedAccountsCount
|
|
2123
|
+
activeFireballAccountsCount
|
|
2124
|
+
activeFireballJuicedAccountsCount
|
|
2125
|
+
accountsBoughtDaily
|
|
2126
|
+
accountsBoughtTotal
|
|
2127
|
+
dungeonsCount
|
|
2128
|
+
dungeonsWonCount
|
|
2129
|
+
dungeonsJuicedCount
|
|
2130
|
+
dungeonsNormalCount
|
|
2131
|
+
fishingCount
|
|
2132
|
+
fishingWonCount
|
|
2133
|
+
fishingType0Count
|
|
2134
|
+
fishingType1Count
|
|
2135
|
+
fishingType2Count
|
|
2136
|
+
jobsCount
|
|
2137
|
+
jobsFailedCount
|
|
2138
|
+
jobsCancelledCount
|
|
2139
|
+
sparksBoughtDaily
|
|
2140
|
+
sparksBoughtTotal
|
|
2141
|
+
sparksBurnedDaily
|
|
2142
|
+
sparksBurnedTotal
|
|
2143
|
+
sparksCirculation
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
`,wt=i`
|
|
2147
|
+
query GetHomeStats {
|
|
2148
|
+
homeStats {
|
|
2149
|
+
epoch
|
|
2150
|
+
games
|
|
2151
|
+
dailyUsers
|
|
2152
|
+
sparksBurned
|
|
2153
|
+
dropValues
|
|
2154
|
+
totalWins
|
|
2155
|
+
updatedAt
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
`,Pt=i`
|
|
2159
|
+
query GetEpoch($epochId: Int!) {
|
|
2160
|
+
epoch(epochId: $epochId) {
|
|
2161
|
+
epochId
|
|
2162
|
+
gamesCount
|
|
2163
|
+
profit
|
|
2164
|
+
game1Count
|
|
2165
|
+
game2Count
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
`,Jt=i`
|
|
2169
|
+
query GetLatestEpoch {
|
|
2170
|
+
latestEpoch
|
|
2171
|
+
}
|
|
2172
|
+
`,Et=i`
|
|
2173
|
+
query GetEpochSnapshots($epochId: Int!) {
|
|
2174
|
+
epochSnapshots(epochId: $epochId) {
|
|
2175
|
+
epochId
|
|
2176
|
+
accountId
|
|
2177
|
+
accountName
|
|
2178
|
+
games
|
|
2179
|
+
xp
|
|
2180
|
+
timestamp
|
|
2181
|
+
referralCount
|
|
2182
|
+
}
|
|
2183
|
+
}
|
|
2184
|
+
`,ra=(u,r,e,n)=>u();function B(u,r=ra){return{UpsertAccountGameOptions(e,n,a){return r(t=>u.request({document:Oe,variables:e,requestHeaders:{...n,...t},signal:a}),"UpsertAccountGameOptions","mutation",e)},AddAccountScroll(e,n,a){return r(t=>u.request({document:Re,variables:e,requestHeaders:{...n,...t},signal:a}),"AddAccountScroll","mutation",e)},UpsertAccount(e,n,a){return r(t=>u.request({document:we,variables:e,requestHeaders:{...n,...t},signal:a}),"UpsertAccount","mutation",e)},UpdateAccountFaction(e,n,a){return r(t=>u.request({document:Pe,variables:e,requestHeaders:{...n,...t},signal:a}),"UpdateAccountFaction","mutation",e)},BulkUpsertAccounts(e,n,a){return r(t=>u.request({document:Je,variables:e,requestHeaders:{...n,...t},signal:a}),"BulkUpsertAccounts","mutation",e)},UpdateAccountGlhf(e,n,a){return r(t=>u.request({document:Ee,variables:e,requestHeaders:{...n,...t},signal:a}),"UpdateAccountGlhf","mutation",e)},GetAccountById(e,n,a){return r(t=>u.request({document:Ue,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountById","query",e)},GetAccountByIdWithScrolls(e,n,a){return r(t=>u.request({document:We,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountByIdWithScrolls","query",e)},GetAccountNameById(e,n,a){return r(t=>u.request({document:He,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountNameById","query",e)},GetReferrerId(e,n,a){return r(t=>u.request({document:Le,variables:e,requestHeaders:{...n,...t},signal:a}),"GetReferrerId","query",e)},GetAccountByName(e,n,a){return r(t=>u.request({document:je,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountByName","query",e)},GetPublicAccountByName(e,n,a){return r(t=>u.request({document:_e,variables:e,requestHeaders:{...n,...t},signal:a}),"GetPublicAccountByName","query",e)},GetPublicAccountById(e,n,a){return r(t=>u.request({document:Xe,variables:e,requestHeaders:{...n,...t},signal:a}),"GetPublicAccountById","query",e)},GetPublicAccounts(e,n,a){return r(t=>u.request({document:Ke,variables:e,requestHeaders:{...n,...t},signal:a}),"GetPublicAccounts","query",e)},GetAccountsByIds(e,n,a){return r(t=>u.request({document:Ye,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountsByIds","query",e)},GetAccountLookupById(e,n,a){return r(t=>u.request({document:ze,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountLookupById","query",e)},GetAccountSearch(e,n,a){return r(t=>u.request({document:Ze,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountSearch","query",e)},GetAccountGameOptions(e,n,a){return r(t=>u.request({document:en,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountGameOptions","query",e)},GetAccountWithReferrals(e,n,a){return r(t=>u.request({document:nn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountWithReferrals","query",e)},GetAccountStats(e,n,a){return r(t=>u.request({document:tn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountStats","query",e)},GetAccountXp(e,n,a){return r(t=>u.request({document:an,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountXp","query",e)},GetAccountStatsWithWins(e,n,a){return r(t=>u.request({document:rn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountStatsWithWins","query",e)},GetAccounts(e,n,a){return r(t=>u.request({document:un,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccounts","query",e)},GetAccountsBasic(e,n,a){return r(t=>u.request({document:on,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountsBasic","query",e)},GetAccountState(e,n,a){return r(t=>u.request({document:ln,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountState","query",e)},GetAccountServices(e,n,a){return r(t=>u.request({document:sn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountServices","query",e)},GetAccountQuests(e,n,a){return r(t=>u.request({document:dn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountQuests","query",e)},GetAccountSubscriptions(e,n,a){return r(t=>u.request({document:cn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountSubscriptions","query",e)},GetReferralEarnings(e,n,a){return r(t=>u.request({document:mn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetReferralEarnings","query",e)},GetAccountScrolls(e,n,a){return r(t=>u.request({document:pn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountScrolls","query",e)},GetAccountStats2(e,n,a){return r(t=>u.request({document:yn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountStats2","query",e)},GetAccountActivities(e,n,a){return r(t=>u.request({document:kn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountActivities","query",e)},GetAccountSkillStats(e,n,a){return r(t=>u.request({document:bn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountSkillStats","query",e)},AddConquestSnapshot(e,n,a){return r(t=>u.request({document:In,variables:e,requestHeaders:{...n,...t},signal:a}),"AddConquestSnapshot","mutation",e)},UpdateConquestSnapshot(e,n,a){return r(t=>u.request({document:gn,variables:e,requestHeaders:{...n,...t},signal:a}),"UpdateConquestSnapshot","mutation",e)},GetConquestSnapshots(e,n,a){return r(t=>u.request({document:Sn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetConquestSnapshots","query",e)},GetConquestSnapshotById(e,n,a){return r(t=>u.request({document:An,variables:e,requestHeaders:{...n,...t},signal:a}),"GetConquestSnapshotById","query",e)},UnlinkDiscord(e,n,a){return r(t=>u.request({document:vn,variables:e,requestHeaders:{...n,...t},signal:a}),"UnlinkDiscord","mutation",e)},GetAccountDiscord(e,n,a){return r(t=>u.request({document:Nn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountDiscord","query",e)},GetLatestDrops(e,n,a){return r(t=>u.request({document:Fn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetLatestDrops","query",e)},GetDungeonJackpot(e,n,a){return r(t=>u.request({document:hn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetDungeonJackpot","query",e)},GetDungeonJackpots(e,n,a){return r(t=>u.request({document:Mn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetDungeonJackpots","query",e)},GetDungeonJackpotsWithCount(e,n,a){return r(t=>u.request({document:fn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetDungeonJackpotsWithCount","query",e)},StartDungeon(e,n,a){return r(t=>u.request({document:$n,variables:e,requestHeaders:{...n,...t},signal:a}),"StartDungeon","mutation",e)},UpdateDungeon(e,n,a){return r(t=>u.request({document:xn,variables:e,requestHeaders:{...n,...t},signal:a}),"UpdateDungeon","mutation",e)},AddEncounter(e,n,a){return r(t=>u.request({document:Dn,variables:e,requestHeaders:{...n,...t},signal:a}),"AddEncounter","mutation",e)},AddDrops(e,n,a){return r(t=>u.request({document:Cn,variables:e,requestHeaders:{...n,...t},signal:a}),"AddDrops","mutation",e)},AddDungeonJackpot(e,n,a){return r(t=>u.request({document:Bn,variables:e,requestHeaders:{...n,...t},signal:a}),"AddDungeonJackpot","mutation",e)},GetDungeonById(e,n,a){return r(t=>u.request({document:Gn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetDungeonById","query",e)},GetDungeonDropsById(e,n,a){return r(t=>u.request({document:Tn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetDungeonDropsById","query",e)},GetDungeonStatusById(e,n,a){return r(t=>u.request({document:qn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetDungeonStatusById","query",e)},GetDungeons(e,n,a){return r(t=>u.request({document:Vn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetDungeons","query",e)},GetDungeonsWithCount(e,n,a){return r(t=>u.request({document:Qn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetDungeonsWithCount","query",e)},GetDungeonCountsByAccount(e,n,a){return r(t=>u.request({document:On,variables:e,requestHeaders:{...n,...t},signal:a}),"GetDungeonCountsByAccount","query",e)},GetGameStats(e,n,a){return r(t=>u.request({document:Rn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetGameStats","query",e)},GetDungeonsForSimulation(e,n,a){return r(t=>u.request({document:wn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetDungeonsForSimulation","query",e)},GetEventTopPlayers(e,n,a){return r(t=>u.request({document:Pn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetEventTopPlayers","query",e)},UpdateFactionMember(e,n,a){return r(t=>u.request({document:Jn,variables:e,requestHeaders:{...n,...t},signal:a}),"UpdateFactionMember","mutation",e)},AddFactionTreasury(e,n,a){return r(t=>u.request({document:En,variables:e,requestHeaders:{...n,...t},signal:a}),"AddFactionTreasury","mutation",e)},UpdateFactionTreasury(e,n,a){return r(t=>u.request({document:Un,variables:e,requestHeaders:{...n,...t},signal:a}),"UpdateFactionTreasury","mutation",e)},GetFactionMembers(e,n,a){return r(t=>u.request({document:Wn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetFactionMembers","query",e)},GetFactionMembersPublic(e,n,a){return r(t=>u.request({document:Hn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetFactionMembersPublic","query",e)},GetFactionRoles(e,n,a){return r(t=>u.request({document:Ln,variables:e,requestHeaders:{...n,...t},signal:a}),"GetFactionRoles","query",e)},GetFactionTreasury(e,n,a){return r(t=>u.request({document:jn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetFactionTreasury","query",e)},StartFishing(e,n,a){return r(t=>u.request({document:_n,variables:e,requestHeaders:{...n,...t},signal:a}),"StartFishing","mutation",e)},UpdateFishing(e,n,a){return r(t=>u.request({document:Xn,variables:e,requestHeaders:{...n,...t},signal:a}),"UpdateFishing","mutation",e)},AddFishingEncounter(e,n,a){return r(t=>u.request({document:Kn,variables:e,requestHeaders:{...n,...t},signal:a}),"AddFishingEncounter","mutation",e)},AddFishingDrops(e,n,a){return r(t=>u.request({document:Yn,variables:e,requestHeaders:{...n,...t},signal:a}),"AddFishingDrops","mutation",e)},GetFishingById(e,n,a){return r(t=>u.request({document:zn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetFishingById","query",e)},GetFishing(e,n,a){return r(t=>u.request({document:Zn,variables:e,requestHeaders:{...n,...t},signal:a}),"GetFishing","query",e)},GetFishingWithCount(e,n,a){return r(t=>u.request({document:et,variables:e,requestHeaders:{...n,...t},signal:a}),"GetFishingWithCount","query",e)},RequestHint(e,n,a){return r(t=>u.request({document:nt,variables:e,requestHeaders:{...n,...t},signal:a}),"RequestHint","mutation",e)},HintStatus(e,n,a){return r(t=>u.request({document:tt,variables:e,requestHeaders:{...n,...t},signal:a}),"HintStatus","query",e)},AddItem(e,n,a){return r(t=>u.request({document:at,variables:e,requestHeaders:{...n,...t},signal:a}),"AddItem","mutation",e)},UpdateItem(e,n,a){return r(t=>u.request({document:it,variables:e,requestHeaders:{...n,...t},signal:a}),"UpdateItem","mutation",e)},AddItemSupplySnapshot(e,n,a){return r(t=>u.request({document:rt,variables:e,requestHeaders:{...n,...t},signal:a}),"AddItemSupplySnapshot","mutation",e)},GetItems(e,n,a){return r(t=>u.request({document:ut,variables:e,requestHeaders:{...n,...t},signal:a}),"GetItems","query",e)},GetItemsWithSnapshots(e,n,a){return r(t=>u.request({document:ot,variables:e,requestHeaders:{...n,...t},signal:a}),"GetItemsWithSnapshots","query",e)},UpdateJob(e,n,a){return r(t=>u.request({document:lt,variables:e,requestHeaders:{...n,...t},signal:a}),"UpdateJob","mutation",e)},GetJobs(e,n,a){return r(t=>u.request({document:st,variables:e,requestHeaders:{...n,...t},signal:a}),"GetJobs","query",e)},GetJobById(e,n,a){return r(t=>u.request({document:dt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetJobById","query",e)},GetJobDungeonDropSummary(e,n,a){return r(t=>u.request({document:ct,variables:e,requestHeaders:{...n,...t},signal:a}),"GetJobDungeonDropSummary","query",e)},GetJobFishingDropSummary(e,n,a){return r(t=>u.request({document:mt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetJobFishingDropSummary","query",e)},GetLeaderboard(e,n,a){return r(t=>u.request({document:pt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetLeaderboard","query",e)},GetLeaderboardCount(e,n,a){return r(t=>u.request({document:yt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetLeaderboardCount","query",e)},GetLeaderboard2(e,n,a){return r(t=>u.request({document:kt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetLeaderboard2","query",e)},GetLeaderboard2Count(e,n,a){return r(t=>u.request({document:bt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetLeaderboard2Count","query",e)},ProcessSparksAirdrop(e,n,a){return r(t=>u.request({document:It,variables:e,requestHeaders:{...n,...t},signal:a}),"ProcessSparksAirdrop","mutation",e)},ProcessSparkPurchaseV2(e,n,a){return r(t=>u.request({document:gt,variables:e,requestHeaders:{...n,...t},signal:a}),"ProcessSparkPurchaseV2","mutation",e)},UpdateLastProcessedBlock(e,n,a){return r(t=>u.request({document:St,variables:e,requestHeaders:{...n,...t},signal:a}),"UpdateLastProcessedBlock","mutation",e)},UpdatePricing(e,n,a){return r(t=>u.request({document:At,variables:e,requestHeaders:{...n,...t},signal:a}),"UpdatePricing","mutation",e)},GetPaymentProcessedBlocks(e,n,a){return r(t=>u.request({document:vt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetPaymentProcessedBlocks","query",e)},GetSparkTransactions(e,n,a){return r(t=>u.request({document:Nt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetSparkTransactions","query",e)},GetPricing(e,n,a){return r(t=>u.request({document:Ft,variables:e,requestHeaders:{...n,...t},signal:a}),"GetPricing","query",e)},UpsertAccountPetSettings(e,n,a){return r(t=>u.request({document:ht,variables:e,requestHeaders:{...n,...t},signal:a}),"UpsertAccountPetSettings","mutation",e)},GetAccountPetSettings(e,n,a){return r(t=>u.request({document:Mt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAccountPetSettings","query",e)},AddQuest(e,n,a){return r(t=>u.request({document:ft,variables:e,requestHeaders:{...n,...t},signal:a}),"AddQuest","mutation",e)},AddAccountQuest(e,n,a){return r(t=>u.request({document:$t,variables:e,requestHeaders:{...n,...t},signal:a}),"AddAccountQuest","mutation",e)},UpdateQuest(e,n,a){return r(t=>u.request({document:xt,variables:e,requestHeaders:{...n,...t},signal:a}),"UpdateQuest","mutation",e)},DeleteQuest(e,n,a){return r(t=>u.request({document:Dt,variables:e,requestHeaders:{...n,...t},signal:a}),"DeleteQuest","mutation",e)},ClaimQuest(e,n,a){return r(t=>u.request({document:Ct,variables:e,requestHeaders:{...n,...t},signal:a}),"ClaimQuest","mutation",e)},GetQuests(e,n,a){return r(t=>u.request({document:Bt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetQuests","query",e)},UseService(e,n,a){return r(t=>u.request({document:Gt,variables:e,requestHeaders:{...n,...t},signal:a}),"UseService","mutation",e)},GetServices(e,n,a){return r(t=>u.request({document:Tt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetServices","query",e)},GetServiceById(e,n,a){return r(t=>u.request({document:qt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetServiceById","query",e)},GetAllActiveAccountServices(e,n,a){return r(t=>u.request({document:Vt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetAllActiveAccountServices","query",e)},GetScrolls(e,n,a){return r(t=>u.request({document:Qt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetScrolls","query",e)},GetOnline(e,n,a){return r(t=>u.request({document:Ot,variables:e,requestHeaders:{...n,...t},signal:a}),"GetOnline","query",e)},GetStats(e,n,a){return r(t=>u.request({document:Rt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetStats","query",e)},GetHomeStats(e,n,a){return r(t=>u.request({document:wt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetHomeStats","query",e)},GetEpoch(e,n,a){return r(t=>u.request({document:Pt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetEpoch","query",e)},GetLatestEpoch(e,n,a){return r(t=>u.request({document:Jt,variables:e,requestHeaders:{...n,...t},signal:a}),"GetLatestEpoch","query",e)},GetEpochSnapshots(e,n,a){return r(t=>u.request({document:Et,variables:e,requestHeaders:{...n,...t},signal:a}),"GetEpochSnapshots","query",e)}}}import{GraphQLClient as sa}from"graphql-request";import{backOff as ua}from"exponential-backoff";var oa={numOfAttempts:7,startingDelay:1e3,maxDelay:3e4},la=new Set(["getJwt","setAuthToken","setHeader","_client"]);function G(u,r={}){let{retryOptions:e={},onRetry:n}=r,a={...oa,...e};return new Proxy(u,{get(t,o,d){let l=Reflect.get(t,o,d);return typeof o!="string"||typeof l!="function"||la.has(o)?l:function(...Ht){return ua(()=>l.apply(t,Ht),{...a,...n&&{retry:(Lt,jt)=>(n(jt,Lt),!0)}})}}})}function Ut(){return process.env.FIREBALL_API_ENDPOINT?process.env.FIREBALL_API_ENDPOINT:process.env.VERCEL_URL?`https://${process.env.VERCEL_URL}/graphql`:typeof window<"u"?`${window.location.origin}/graphql`:`http://localhost:${process.env.FIREBALL_API_PORT||"3000"}/graphql`}var T=class{_client;jwt;constructor(r={}){let{endpoint:e=Ut(),jwt:n,timeout:a=3e4}=r;this.jwt=n;let t={};n&&(t.Authorization=`Bearer ${n}`),this._client=new sa(e,{headers:t,requestMiddleware:o=>({...o,signal:AbortSignal.timeout(a)})})}getJwt(){return this.jwt}setAuthToken(r){r?(this.jwt=r,this._client.setHeader("Authorization",`Bearer ${r}`)):(this.jwt=void 0,this._client.setHeader("Authorization",""))}setHeader(r,e){this._client.setHeader(r,e)}};function da(u={}){let{retriable:r,...e}=u,n=new T(e),a=B(n._client),t=Object.assign(n,a);return r&&(t=G(t,typeof r=="boolean"?{}:r)),t}var Wt=(l=>(l[l.CHANGE_MEMBER_RANK=0]="CHANGE_MEMBER_RANK",l[l.KICK_MEMBER=1]="KICK_MEMBER",l[l.APPROVE_MEMBER=2]="APPROVE_MEMBER",l[l.VIEW_FACTION_TREASURY=3]="VIEW_FACTION_TREASURY",l[l.USE_FACTION_TREASURY=4]="USE_FACTION_TREASURY",l[l.VIEW_FACTION_MOVES=5]="VIEW_FACTION_MOVES",l[l.VIEW_ORDERS=6]="VIEW_ORDERS",l[l.CREATE_ORDERS=7]="CREATE_ORDERS",l))(Wt||{});function q(u,r){return!u||!Array.isArray(u)?!1:u[r]===1}function ca(u,r){return r.every(e=>q(u,e))}function ma(u,r){return r.some(e=>q(u,e))}var pa={0:"Change Member Rank",1:"Kick Members",2:"Approve Members",3:"View Treasury",4:"Use Treasury",5:"View Faction Moves",6:"View Orders",7:"Create Orders"},ya={applied:"Pending Approval",invited:"Invited",approved:"Approved"},c={LEADER:0,WARLORD:1,SCOUT:2,DELEGATOR:3},ka=c.DELEGATOR,ba={[c.LEADER]:"Leader",[c.WARLORD]:"Warlord",[c.SCOUT]:"Scout",[c.DELEGATOR]:"Delegator"};export{Yt as a,zt as b,Zt as c,ea as d,Se as e,Ae as f,ve as g,Ne as h,Fe as i,he as j,Me as k,fe as l,$e as m,xe as n,De as o,Ce as p,Be as q,Ge as r,Te as s,g as t,m as u,S as v,f as w,A as x,na as y,ta as z,aa as A,$ as B,v as C,qe as D,x as E,p as F,y as G,N as H,D as I,s as J,F as K,C as L,Ve as M,h as N,ia as O,k as P,b as Q,Qe as R,I as S,M as T,Oe as U,Re as V,we as W,Pe as X,Je as Y,Ee as Z,Ue as _,We as $,He as aa,Le as ba,je as ca,_e as da,Xe as ea,Ke as fa,Ye as ga,ze as ha,Ze as ia,en as ja,nn as ka,tn as la,an as ma,rn as na,un as oa,on as pa,ln as qa,sn as ra,dn as sa,cn as ta,mn as ua,pn as va,yn as wa,kn as xa,bn as ya,In as za,gn as Aa,Sn as Ba,An as Ca,vn as Da,Nn as Ea,Fn as Fa,hn as Ga,Mn as Ha,fn as Ia,$n as Ja,xn as Ka,Dn as La,Cn as Ma,Bn as Na,Gn as Oa,Tn as Pa,qn as Qa,Vn as Ra,Qn as Sa,On as Ta,Rn as Ua,wn as Va,Pn as Wa,Jn as Xa,En as Ya,Un as Za,Wn as _a,Hn as $a,Ln as ab,jn as bb,_n as cb,Xn as db,Kn as eb,Yn as fb,zn as gb,Zn as hb,et as ib,nt as jb,tt as kb,at as lb,it as mb,rt as nb,ut as ob,ot as pb,lt as qb,st as rb,dt as sb,ct as tb,mt as ub,pt as vb,yt as wb,kt as xb,bt as yb,It as zb,gt as Ab,St as Bb,At as Cb,vt as Db,Nt as Eb,Ft as Fb,ht as Gb,Mt as Hb,ft as Ib,$t as Jb,xt as Kb,Dt as Lb,Ct as Mb,Bt as Nb,Gt as Ob,Tt as Pb,qt as Qb,Vt as Rb,Qt as Sb,Ot as Tb,Rt as Ub,wt as Vb,Pt as Wb,Jt as Xb,Et as Yb,B as Zb,G as _b,Ut as $b,da as ac,Wt as bc,q as cc,ca as dc,ma as ec,pa as fc,ya as gc,c as hc,ka as ic,ba as jc,Ia as kc};
|
|
2185
|
+
//# sourceMappingURL=chunk-VFDUHPNG.js.map
|