@opexa/portal-sdk 0.59.96 → 0.59.98
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/dist/{chunk-MJLXQ6HC.js → chunk-QDA6QPFR.js} +20 -2
- package/dist/chunk-QDA6QPFR.js.map +1 -0
- package/dist/index.cjs +111 -48
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +94 -49
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +18 -0
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +3 -2
- package/dist/services/index.d.ts +3 -2
- package/dist/services/index.js +1 -1
- package/dist/{types-CNyq_tWA.d.cts → types-AijGHxca.d.cts} +4 -1
- package/dist/{types-CFrQAxhE.d.ts → types-DeKD2Ta0.d.ts} +4 -1
- package/package.json +1 -1
- package/dist/chunk-MJLXQ6HC.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { ObjectId } from '@opexa/object-id';
|
|
2
2
|
import { G as GraphQLClientMiddleware, A as Assign } from './graphql-client-Cr5nXEyQ.cjs';
|
|
3
3
|
export { H as HttpError, O as OperationError, a as OperationResult } from './graphql-client-Cr5nXEyQ.cjs';
|
|
4
|
-
import { E as Environment, N as NameAndPasswordSignInInput, a as NameAndPasswordSignInReturn, M as MobileNumberSignInInput, b as MobileNumberSignInReturn, c as MayaSignInInput, d as MayaSignInReturn, T as TokenSignInInput, e as TokenSignInReturn, S as SocialsSignInInput, f as SocialsSignInReturn, C as CabinetSignInInput, g as CabinetSignInReturn, h as SingleUseTokenSignInInput, i as SingleUseTokenSignInReturn, A as AuthenticateInput, j as AuthenticateReturn, W as WatchSessionInput, k as SessionReturn, V as ValidateMayaSessionReturn, l as CreateSingleUseTokenReturn, m as SiteReturn, n as CabinetSiteMachineReturn, o as CabinetWithdrawalReturn, P as PlatformReturn, p as PlatformReturn__Next, q as PaymentSettingsReturn, r as MemberLevelSettingsReturn, G as GeneralMemberLevelSettingsReturn, s as AchievementSettingsReturn, t as AccountReturn, u as CreateAccountInput, v as CreateAccountReturn, w as CreateAccountInput__Next, R as RegisterMayaAccountInput, x as RegisterMayaAccountReturn, y as RegisterAgentAccountInput, z as RegisterAgentAccountReturn, U as UpdateAccountInput, B as UpdateAccountReturn, D as DeleteAccountReturn, F as UpdateDailyBetLimitInput, H as UpdateAccountLimitReturn, I as UpdateMonthlyBetLimitInput, J as UpdateDailyDepositLimitInput, K as UpdateMonthlyDepositLimitInput, L as VerificationDetailsReturn, O as SubmitVerificationDetailsInput, Q as SubmitVerificationDetailsReturn, X as SubmitVerificationDetailsInputNext, Y as UpdateVerificationDetailsInput, Z as UpdateVerificationDetailsReturn, _ as SubmitMemberVerificationReturn, $ as ResetPasswordInput, a0 as ResetPasswordReturn, a1 as UpdatePasswordInput, a2 as UpdatePasswordReturn, a3 as VerifyMobileNumberReturn, a4 as ProfileCompletionReturn, a5 as SendVerificationCodeReturn, a6 as SendVerificationCodeInput__Next, a7 as SendVerificationCodeReturn__Next, a8 as WalletReturn, a9 as MemberWalletAccountReturn, aa as MemberLevelHistoryReturn, ab as AnnouncementsInput, ac as AnnouncementsReturn, ad as CreateWithdrawalInput, ae as CreateWithdrawalReturn, af as WithdrawalRecordsInput, ag as WithdrawalRecordsReturn, ah as RemainingDailyWithdrawalsCountReturn, ai as InstapayBankListReturn, aj as CreateDepositInput, ak as CreateDepositReturn, al as DepositReturn, am as DepositRecordsInput, an as DepositRecordsReturn, ao as DepositsCountReturn, ap as TouchDepositInput, aq as TouchDepositReturn, ar as RedeemVoucherInput, as as RedeemVoucherReturn, at as BetRecordsInput, au as BetRecordsReturn, av as LatestBetRecordsReturn, aw as FreeBetDropsInput, ax as FreeBetDropsReturn, ay as MemberFreeBetDropsInput, az as MemberFreeBetDropsReturn, aA as CancelFreeBetDropInput, aB as CancelFreeBetDropReturn, aC as TransactionRecordsInput, aD as TransactionRecordsReturn, aE as PromosReturn, aF as PromoFilterInput, aG as AvailablePromosReturn, aH as CashbacksReturn, aI as PromosAndCashbacksReturn, aJ as BonusReturn, aK as BonusesReturn, aL as CashbackBonusReturn, aM as ClaimCashbackBonusReturn, aN as ClaimRebateReturn, aO as ClaimSpotBonusReturn, aP as PromoByCodeReturn, aQ as GameReturn, aR as GamesInput, aS as GamesReturn, aT as WalletGameInput, aU as WalletGamesReturn, aV as PlatformGamesInput, aW as PlatformGamesReturn, aX as GameGroupsInput, aY as GameGroupsReturn, aZ as GameGroupInput, a_ as GameGroupReturn, a$ as _GamesInput, b0 as _GamesReturn, b1 as _GameGroupsReturn, b2 as GameGroupId, b3 as _GameGroupReturn, b4 as PortalGameId, b5 as _GameReturn, b6 as GamesInput__Next, b7 as RecommendedGamesInput, b8 as RecommendedGamesReturn, b9 as GameProvider, ba as GameSessionReturn, bb as CreateGameSessionInput, bc as CreateGameSessionReturn, bd as EndGameSessionReturn, be as MarkGameAsFavoriteInput, bf as MarkGameAsFavoriteReturn, bg as UnmarkGameAsFavoriteInput, bh as UnmarkGameAsFavoriteReturn, bi as FavoriteGamesReturn, bj as FavoriteGamesReturn__Next, bk as RecentGamesReturn, bl as AddFavoriteGameInput, bm as AddFavoriteGameReturn, bn as RemoveFavoriteGameInput, bo as RemoveFavoriteGameReturn, bp as FileReturn, bq as UploadImageFileInput, br as UploadImageFileReturn, bs as PointsWalletReturn, bt as RedeemPointsInput, bu as RedeemPointsReturn, bv as PointsWalletTransactionsInput, bw as PointsWalletTransactionsReturn, bx as AchievementPointsHistoryRecordInput, by as AchievementPointsHistoryRecordReturn, bz as MemberAchievementReturn, bA as MemberRebatesInput, bB as MemberRebatesReturn, bC as MemberRebateContributionInput, bD as MemberRebateContributionReturn, bE as ActivityRecordsInput, bF as ActivityRecordsReturn, bG as ReferralCodeReturn, bH as UpdateReferralCodeInput, bI as UpdateReferralCodeReturn, bJ as ReferralsInput, bK as ReferralsReturn, bL as QualifiedReferralsInput, bM as QualifiedReferralsReturn, bN as ReferralCommissionReturn, bO as UplinesByNameInput, bP as UplinesByNameReturn, bQ as DownlinesByNameInput, bR as DownlinesByNameReturn, bS as PointsClubSettingsReturn, bT as MessagesInput, bU as MessagesReturn, bV as UnreadMessagesCountInput, bW as UnreadMessagesCountReturn, bX as MarkMessageAsReadReturn, bY as MarkAllMessagesAsReadReturn, bZ as ClaimRewardReturn, b_ as OnboardingStatusReturn, b$ as CompleteOnboardingInput, c0 as CompleteOnboardingReturn, c1 as SkipOnboardingReturn, c2 as AvailableQuestsReturn, c3 as CheckInDailyQuestReturn, c4 as TopWinsReturn, c5 as TopWinsReturn__Next, c6 as JackpotsInput, c7 as JackpotsReturn, c8 as JackpotsIdsInput, c9 as JackpotsIdsReturn, ca as _JackpotsInput, cb as _JackpotsReturn, cc as JackpotPayoutsInput, cd as JackpotPayoutsReturn, ce as TournamentsInput, cf as TournamentsReturn, cg as TournamentsIdsInput, ch as TournamentsIdsReturn, ci as RegisterFCMDeviceInput, cj as RegisterFCMDeviceReturn, ck as UnregisterFCMDeviceInput, cl as UnregisterFCMDeviceReturn, cm as LinkFirebaseCloudMessagingDeviceInput, cn as LinkFirebaseCloudMessagingDeviceReturn, co as UnlinkFirebaseCloudMessagingDeviceInput, cp as UnlinkFirebaseCloudMessagingDeviceReturn, cq as GoogleClientIdReturn, cr as RequireFirstDepositReturn, cs as MemberVerificationRequestReturn, ct as SubmitMemberVerificationRequestBasicDetailsInput, cu as SubmitMemberVerificationRequestBasicDetailsReturn, cv as SubmitMemberVerificationRequestImageDetailsInput, cw as SubmitMemberVerificationRequestImageDetailsReturn, cx as SubmitMemberVerificationRequestPersonalDetailsInput, cy as SubmitMemberVerificationRequestPersonalDetailsReturn, cz as MemberVerificationRequestAutomaticApprovalEnabledReturn, cA as MemberVerificationRequestFaceLivenessSessionReturn, cB as SubmitMemberVerificationRequestImageDetailsInput__Next, cC as StartMemberVerificationRequestFaceLivenessSessionReturn, cD as VerifyMemberVerificationRequestFaceLivenessSessionInput, cE as VerifyMemberVerificationRequestFaceLivenessSessionReturn, cF as FinalizeMemberVerificationRequestReturn, cG as Site, cH as Site$1, cI as Platform, cJ as Platform$1, cK as MemberAccount, cL as Member, cM as Account, cN as Wallet, cO as Wallet$1, cP as MemberVerification, cQ as VerificationDetails, cR as ProfileCompletion, cS as ProfileCompletion$1, cT as Announcement, cU as Announcement$1, cV as WithdrawalRecord, cW as WithdrawalRecord$1, cX as Deposit, cY as Deposit$1, cZ as CabinetWithdrawal, c_ as CabinetWithdrawalRecord, c$ as DepositRecord, d0 as DepositRecord$1, d1 as BetRecord, d2 as Game, d3 as BetRecord$1, d4 as LatestBetRecord, d5 as LatestBetRecord$1, d6 as TransactionRecord, d7 as TransactionRecord$1, d8 as Game$1, d9 as GameSession, da as GameSession$1, db as Promo, dc as Promo$1, dd as Cashback, de as Cashback$1, df as Bonus, dg as Bonus$1, dh as CashbackBonus, di as CashbackBonus$1, dj as CabinetSiteMachine, dk as CabinetSiteMachine$1, dl as File, dm as File$1, dn as PointsWallet, dp as PointsWallet$1, dq as PointsWalletTransaction, dr as PointsWalletTransaction$1, ds as Rebate, dt as Rebate$1, du as MemberRebateContribution, dv as MemberRebateContribution$1, dw as ActivityRecord, dx as ActivityRecord$1, dy as Referral, dz as Referral$1, dA as ReferralCommission, dB as ReferralCommission$1, dC as Platform__Next, dD as Platform__Next$1, dE as PointsClubSettings, dF as PointsClubSettings$1, dG as PaymentSettings, dH as PaymentSettings$1, dI as Message, dJ as Message$1, dK as InstapayBank, dL as InstapayBank$1, dM as SpotBonusPromo, dN as SpotBonusPromo$1, dO as Quest, dP as Quest$1, dQ as TopWin, dR as TopWin$1, dS as TopWin__Next, dT as TopWin__Next$1, dU as Jackpot, dV as Jackpot$1, dW as JackpotPayout, dX as JackpotPayout$1, dY as Tournament, dZ as Tournament$1, d_ as MemberLevelSettings, d$ as MemberLevelSettings$1, e0 as AchievementSettingsResponse, e1 as AchievementSettingsResponse$1, e2 as AchievementPointsHistoryRecord, e3 as AchievementPointsHistoryRecord$1, e4 as MemberAchievement, e5 as MemberAchievement$1, e6 as MemberVerificationRequest, e7 as MemberVerificationRequest$1, e8 as FreeBetDrop, e9 as FreeBetDrop$1, ea as MemberFreeBetDrop, eb as MemberFreeBetDrop$1, ec as MemberWalletAccount, ed as MemberWalletAccount$1 } from './types-
|
|
5
|
-
export { eu as AccountStatus, ev as AccountVerificationStatus, eU as AchievementSettings, gj as AchievementType, gr as ActivityRecordType, ew as Agent, ft as AiOGCashDeposit, fv as AiOGrabPayDeposit, fw as AiOPalawanPayDeposit, fu as AiOPayMayaDeposit, fj as AnnouncementStatus, fi as AnnouncementType, en as AuthenticateError, eh as Authenticator, fZ as Bank, fz as BankDeposit, f_ as BankWithdrawalRecord, fk as BetRecordStatus, g_ as CabinetSiteMachineStatus, go as CashbackStatus, ey as CellxpertDetails, gq as ClaimCashbackBonusError, f2 as ClaimRebateError, gC as ClaimRewardError, gz as CompoundField, ga as CreateAIOInstapayWithdrawalInput, gb as CreateAIOInstapayWithdrawalInput_Next, fO as CreateAIOOnlineBankDepositInput, fN as CreateAIOQRPHDepositInput, eF as CreateAccountError, fH as CreateAiOGCashDepositInput, fJ as CreateAiOGrabPayDepositInput, fK as CreateAiOPalawanPayDepositInput, fI as CreateAiOPayMayaDepositInput, g5 as CreateBankWithdrawalInput, ge as CreateCabinetWithdrawalInput, fT as CreateDepositError, fG as CreateGCashDepositInput, g7 as CreateGCashStandardCashInWithdrawalInput, fL as CreateGCashWebpayDepositInput, g6 as CreateGCashWithdrawalInput, fg as CreateGameSessionByIdInput, ff as CreateGameSessionByReferenceInput, fh as CreateGameSessionError, fQ as CreateManualBankDepositInput, gd as CreateManualBankWithdrawalInput, fP as CreateManualUPIDepositInput, gc as CreateManualUPIWithdrawalInput, fM as CreateMayaAppDepositInput, g9 as CreateMayaAppWithdrawalInput, fF as CreateMayaDepositInput, fR as CreateMayaWebpayDepositInput, g8 as CreateMayaWithdrawalInput, es as CreateSingleUseTokenError, er as CreateSingleUseTokenInput, fS as CreateTestDepositInput, gf as CreateWithdrawalError, eS as Currency, fp as DepositStatus, fo as DepositType, gS as FCMDeviceType, gA as Field, gs as FieldType, gT as FirebaseCloudMessagingDeviceType, fl as FreeBetDropStatus, fr as GCashDeposit, f$ as GCashWithdrawalRecord, f8 as GameGroup, f7 as GameGroupGame, fa as GameGroupSummary, fb as GameGroupWithGames, fe as GameSessionLaunchOptions, fd as GameSessionStatus, f3 as GameTag, f4 as GameType, gg as GatewaySettings, fs as GcashWebpayDeposit, gk as GeneralMemberLevelSettings, ex as GigRewardsQuestDetails, gv as ImageField, g4 as InstapayBankType, g1 as InstapayWithdrawalRecord, gR as JackpotStatus, gO as JourneyQuestMilestone, gN as JourneyQuestMilestoneType, fq as KnownDepositError, gi as Locale, ee as LoginChannel, fD as ManualBankDeposit, g2 as ManualBankWithdrawalRecord, fA as ManualDeposit, fE as ManualUPIDeposit, g3 as ManualUPIWithdrawalRecord, fY as ManualWithdrawalRecord, fy as MayaAppDeposit, fx as MayaDeposit, g0 as MayaWithdrawalRecord, fm as MemberFreeBetDropBetRecord, eT as MemberLevelHistory, gh as MemberLevelSetting, f1 as MemberRebateContributionPerGame, f0 as MemberRebateContributionPerGameCategory, gM as MemberStatus, g$ as MemberVerificationRequestStatus, gE as MessageAction, gD as MessageIcon, gF as MessageType, eB as MobileNumberCreateAccountInput, eE as MobileNumberCreateAccountInput__next, eC as MobileNumberInrCreateAccountInput, gx as MultiSelectField, eA as NameAndPasswordCreateAccountInput, eD as NameCreateAccountInput, gH as OnboardingPlayerExperience, gG as OnboardingStatus, fC as OnlineBankDeposit, f6 as PlatformGame, eW as PointsWalletTransactionType, f9 as PortalGame, fc as PortalGameWithGroups, gm as PromoStatus, gl as PromoType, gp as PromosAndCashbacks, fB as QRPHDeposit, gL as QuestProgram, gK as QuestProgramStatus, gJ as QuestStatus, gI as QuestType, eY as RebateCursor, e$ as RebateProgram, e_ as RebateSettingsPerMemberLevel, eX as RebateStatus, eZ as RebateType, eV as RedeemPointsError, el as RefreshSessionError, eH as RegisterAgentAccountError, eG as RegisterMayaAccountError, eJ as ResetPasswordError, gu as RichTextField, ef as SecretQuestion, em as SecurityQuestionAuthenticateInput, eg as SecurityQuestionAuthenticator, gw as SelectField, eP as SendEmailVerificationCodeInput, eO as SendSmsVerificationCodeInput, eN as SendVerificationCodeError, eQ as SendVerificationCodeError__Next, eo as Session, ep as SessionError, eq as SessionInvalidReason, ej as SignInError, ei as SignInInput, ek as SignInReturn, eL as SubmitMemberVerificationError, eK as SubmitVerificationError, gt as TextField, gy as ToggleField, gW as TournamentFrequency, gY as TournamentLeaderboard, gX as TournamentMode, gZ as TournamentPayout, gU as TournamentStatus, gV as TournamentType, fn as TransactionType, gn as TurnoverRequirementType, eI as UpdateAccountError, gB as UpdateReferralCodeError, eM as UpdateVerificationError, et as UploadImageFileError, ez as VerificationDetailsStatus, eR as VerifyMobileNumberError, fU as VoucherType, gP as WageringQuestStage, gQ as WageringQuestStageSettings, f5 as WalletGame, fX as WithdrawalError, fW as WithdrawalStatus, fV as WithdrawalType } from './types-
|
|
4
|
+
import { E as Environment, N as NameAndPasswordSignInInput, a as NameAndPasswordSignInReturn, M as MobileNumberSignInInput, b as MobileNumberSignInReturn, c as MayaSignInInput, d as MayaSignInReturn, T as TokenSignInInput, e as TokenSignInReturn, S as SocialsSignInInput, f as SocialsSignInReturn, C as CabinetSignInInput, g as CabinetSignInReturn, h as SingleUseTokenSignInInput, i as SingleUseTokenSignInReturn, A as AuthenticateInput, j as AuthenticateReturn, W as WatchSessionInput, k as SessionReturn, V as ValidateMayaSessionReturn, l as CreateSingleUseTokenReturn, m as SiteReturn, n as CabinetSiteMachineReturn, o as CabinetWithdrawalReturn, P as PlatformReturn, p as PlatformReturn__Next, q as PaymentSettingsReturn, r as MemberLevelSettingsReturn, G as GeneralMemberLevelSettingsReturn, s as AchievementSettingsReturn, t as AccountReturn, u as CreateAccountInput, v as CreateAccountReturn, w as CreateAccountInput__Next, R as RegisterMayaAccountInput, x as RegisterMayaAccountReturn, y as RegisterAgentAccountInput, z as RegisterAgentAccountReturn, U as UpdateAccountInput, B as UpdateAccountReturn, D as DeleteAccountReturn, F as UpdateDailyBetLimitInput, H as UpdateAccountLimitReturn, I as UpdateMonthlyBetLimitInput, J as UpdateDailyDepositLimitInput, K as UpdateMonthlyDepositLimitInput, L as VerificationDetailsReturn, O as SubmitVerificationDetailsInput, Q as SubmitVerificationDetailsReturn, X as SubmitVerificationDetailsInputNext, Y as UpdateVerificationDetailsInput, Z as UpdateVerificationDetailsReturn, _ as SubmitMemberVerificationReturn, $ as ResetPasswordInput, a0 as ResetPasswordReturn, a1 as UpdatePasswordInput, a2 as UpdatePasswordReturn, a3 as VerifyMobileNumberReturn, a4 as ProfileCompletionReturn, a5 as SendVerificationCodeReturn, a6 as SendVerificationCodeInput__Next, a7 as SendVerificationCodeReturn__Next, a8 as WalletReturn, a9 as MemberWalletAccountReturn, aa as MemberLevelHistoryReturn, ab as AnnouncementsInput, ac as AnnouncementsReturn, ad as CreateWithdrawalInput, ae as CreateWithdrawalReturn, af as WithdrawalRecordsInput, ag as WithdrawalRecordsReturn, ah as RemainingDailyWithdrawalsCountReturn, ai as InstapayBankListReturn, aj as CreateDepositInput, ak as CreateDepositReturn, al as DepositReturn, am as DepositRecordsInput, an as DepositRecordsReturn, ao as DepositsCountReturn, ap as TouchDepositInput, aq as TouchDepositReturn, ar as RedeemVoucherInput, as as RedeemVoucherReturn, at as BetRecordsInput, au as BetRecordsReturn, av as LatestBetRecordsReturn, aw as FreeBetDropsInput, ax as FreeBetDropsReturn, ay as MemberFreeBetDropsInput, az as MemberFreeBetDropsReturn, aA as CancelFreeBetDropInput, aB as CancelFreeBetDropReturn, aC as TransactionRecordsInput, aD as TransactionRecordsReturn, aE as PromosReturn, aF as PromoFilterInput, aG as AvailablePromosReturn, aH as CashbacksReturn, aI as PromosAndCashbacksReturn, aJ as BonusReturn, aK as BonusesReturn, aL as CashbackBonusReturn, aM as ClaimCashbackBonusReturn, aN as ClaimRebateReturn, aO as ClaimSpotBonusReturn, aP as PromoByCodeReturn, aQ as GameReturn, aR as GamesInput, aS as GamesReturn, aT as WalletGameInput, aU as WalletGamesReturn, aV as PlatformGamesInput, aW as PlatformGamesReturn, aX as GameGroupsInput, aY as GameGroupsReturn, aZ as GameGroupInput, a_ as GameGroupReturn, a$ as _GamesInput, b0 as _GamesReturn, b1 as _GameGroupsReturn, b2 as GameGroupId, b3 as _GameGroupReturn, b4 as PortalGameId, b5 as _GameReturn, b6 as GamesInput__Next, b7 as RecommendedGamesInput, b8 as RecommendedGamesReturn, b9 as GameProvider, ba as GameSessionReturn, bb as CreateGameSessionInput, bc as CreateGameSessionReturn, bd as EndGameSessionReturn, be as MarkGameAsFavoriteInput, bf as MarkGameAsFavoriteReturn, bg as UnmarkGameAsFavoriteInput, bh as UnmarkGameAsFavoriteReturn, bi as FavoriteGamesReturn, bj as FavoriteGamesReturn__Next, bk as RecentGamesReturn, bl as AddFavoriteGameInput, bm as AddFavoriteGameReturn, bn as RemoveFavoriteGameInput, bo as RemoveFavoriteGameReturn, bp as FileReturn, bq as UploadImageFileInput, br as UploadImageFileReturn, bs as PointsWalletReturn, bt as RedeemPointsInput, bu as RedeemPointsReturn, bv as PointsWalletTransactionsInput, bw as PointsWalletTransactionsReturn, bx as AchievementPointsHistoryRecordInput, by as AchievementPointsHistoryRecordReturn, bz as MemberAchievementReturn, bA as MemberRebatesInput, bB as MemberRebatesReturn, bC as MemberRebateContributionInput, bD as MemberRebateContributionReturn, bE as ActivityRecordsInput, bF as ActivityRecordsReturn, bG as ReferralCodeReturn, bH as UpdateReferralCodeInput, bI as UpdateReferralCodeReturn, bJ as ReferralsInput, bK as ReferralsReturn, bL as QualifiedReferralsInput, bM as QualifiedReferralsReturn, bN as ReferralCommissionReturn, bO as UplinesByNameInput, bP as UplinesByNameReturn, bQ as DownlinesByNameInput, bR as DownlinesByNameReturn, bS as PointsClubSettingsReturn, bT as MessagesInput, bU as MessagesReturn, bV as UnreadMessagesCountInput, bW as UnreadMessagesCountReturn, bX as MarkMessageAsReadReturn, bY as MarkAllMessagesAsReadReturn, bZ as ClaimRewardReturn, b_ as OnboardingStatusReturn, b$ as CompleteOnboardingInput, c0 as CompleteOnboardingReturn, c1 as SkipOnboardingReturn, c2 as AvailableQuestsReturn, c3 as CheckInDailyQuestReturn, c4 as TopWinsReturn, c5 as TopWinsReturn__Next, c6 as JackpotsInput, c7 as JackpotsReturn, c8 as JackpotsIdsInput, c9 as JackpotsIdsReturn, ca as _JackpotsInput, cb as _JackpotsReturn, cc as JackpotPayoutsInput, cd as JackpotPayoutsReturn, ce as TournamentsInput, cf as TournamentsReturn, cg as TournamentsIdsInput, ch as TournamentsIdsReturn, ci as RegisterFCMDeviceInput, cj as RegisterFCMDeviceReturn, ck as UnregisterFCMDeviceInput, cl as UnregisterFCMDeviceReturn, cm as LinkFirebaseCloudMessagingDeviceInput, cn as LinkFirebaseCloudMessagingDeviceReturn, co as UnlinkFirebaseCloudMessagingDeviceInput, cp as UnlinkFirebaseCloudMessagingDeviceReturn, cq as GoogleClientIdReturn, cr as RequireFirstDepositReturn, cs as MemberVerificationRequestReturn, ct as SubmitMemberVerificationRequestBasicDetailsInput, cu as SubmitMemberVerificationRequestBasicDetailsReturn, cv as SubmitMemberVerificationRequestImageDetailsInput, cw as SubmitMemberVerificationRequestImageDetailsReturn, cx as SubmitMemberVerificationRequestPersonalDetailsInput, cy as SubmitMemberVerificationRequestPersonalDetailsReturn, cz as MemberVerificationRequestAutomaticApprovalEnabledReturn, cA as MemberVerificationRequestFaceLivenessSessionReturn, cB as SubmitMemberVerificationRequestImageDetailsInput__Next, cC as StartMemberVerificationRequestFaceLivenessSessionReturn, cD as VerifyMemberVerificationRequestFaceLivenessSessionInput, cE as VerifyMemberVerificationRequestFaceLivenessSessionReturn, cF as FinalizeMemberVerificationRequestReturn, cG as Site, cH as Site$1, cI as Platform, cJ as Platform$1, cK as MemberAccount, cL as Member, cM as Account, cN as Wallet, cO as Wallet$1, cP as MemberVerification, cQ as VerificationDetails, cR as ProfileCompletion, cS as ProfileCompletion$1, cT as Announcement, cU as Announcement$1, cV as WithdrawalRecord, cW as WithdrawalRecord$1, cX as Deposit, cY as Deposit$1, cZ as CabinetWithdrawal, c_ as CabinetWithdrawalRecord, c$ as DepositRecord, d0 as DepositRecord$1, d1 as BetRecord, d2 as Game, d3 as BetRecord$1, d4 as LatestBetRecord, d5 as LatestBetRecord$1, d6 as TransactionRecord, d7 as TransactionRecord$1, d8 as Game$1, d9 as GameSession, da as GameSession$1, db as Promo, dc as Promo$1, dd as Cashback, de as Cashback$1, df as Bonus, dg as Bonus$1, dh as CashbackBonus, di as CashbackBonus$1, dj as CabinetSiteMachine, dk as CabinetSiteMachine$1, dl as File, dm as File$1, dn as PointsWallet, dp as PointsWallet$1, dq as PointsWalletTransaction, dr as PointsWalletTransaction$1, ds as Rebate, dt as Rebate$1, du as MemberRebateContribution, dv as MemberRebateContribution$1, dw as ActivityRecord, dx as ActivityRecord$1, dy as Referral, dz as Referral$1, dA as ReferralCommission, dB as ReferralCommission$1, dC as Platform__Next, dD as Platform__Next$1, dE as PointsClubSettings, dF as PointsClubSettings$1, dG as PaymentSettings, dH as PaymentSettings$1, dI as Message, dJ as Message$1, dK as InstapayBank, dL as InstapayBank$1, dM as SpotBonusPromo, dN as SpotBonusPromo$1, dO as Quest, dP as Quest$1, dQ as TopWin, dR as TopWin$1, dS as TopWin__Next, dT as TopWin__Next$1, dU as Jackpot, dV as Jackpot$1, dW as JackpotPayout, dX as JackpotPayout$1, dY as Tournament, dZ as Tournament$1, d_ as MemberLevelSettings, d$ as MemberLevelSettings$1, e0 as AchievementSettingsResponse, e1 as AchievementSettingsResponse$1, e2 as AchievementPointsHistoryRecord, e3 as AchievementPointsHistoryRecord$1, e4 as MemberAchievement, e5 as MemberAchievement$1, e6 as MemberVerificationRequest, e7 as MemberVerificationRequest$1, e8 as FreeBetDrop, e9 as FreeBetDrop$1, ea as MemberFreeBetDrop, eb as MemberFreeBetDrop$1, ec as MemberWalletAccount, ed as MemberWalletAccount$1 } from './types-AijGHxca.cjs';
|
|
5
|
+
export { eu as AccountStatus, ev as AccountVerificationStatus, eU as AchievementSettings, gj as AchievementType, gr as ActivityRecordType, ew as Agent, ft as AiOGCashDeposit, fv as AiOGrabPayDeposit, fw as AiOPalawanPayDeposit, fu as AiOPayMayaDeposit, fj as AnnouncementStatus, fi as AnnouncementType, en as AuthenticateError, eh as Authenticator, fZ as Bank, fz as BankDeposit, f_ as BankWithdrawalRecord, fk as BetRecordStatus, g_ as CabinetSiteMachineStatus, go as CashbackStatus, ey as CellxpertDetails, gq as ClaimCashbackBonusError, f2 as ClaimRebateError, gC as ClaimRewardError, gz as CompoundField, ga as CreateAIOInstapayWithdrawalInput, gb as CreateAIOInstapayWithdrawalInput_Next, fO as CreateAIOOnlineBankDepositInput, fN as CreateAIOQRPHDepositInput, eF as CreateAccountError, fH as CreateAiOGCashDepositInput, fJ as CreateAiOGrabPayDepositInput, fK as CreateAiOPalawanPayDepositInput, fI as CreateAiOPayMayaDepositInput, g5 as CreateBankWithdrawalInput, ge as CreateCabinetWithdrawalInput, fT as CreateDepositError, fG as CreateGCashDepositInput, g7 as CreateGCashStandardCashInWithdrawalInput, fL as CreateGCashWebpayDepositInput, g6 as CreateGCashWithdrawalInput, fg as CreateGameSessionByIdInput, ff as CreateGameSessionByReferenceInput, fh as CreateGameSessionError, fQ as CreateManualBankDepositInput, gd as CreateManualBankWithdrawalInput, fP as CreateManualUPIDepositInput, gc as CreateManualUPIWithdrawalInput, fM as CreateMayaAppDepositInput, g9 as CreateMayaAppWithdrawalInput, fF as CreateMayaDepositInput, fR as CreateMayaWebpayDepositInput, g8 as CreateMayaWithdrawalInput, es as CreateSingleUseTokenError, er as CreateSingleUseTokenInput, fS as CreateTestDepositInput, gf as CreateWithdrawalError, eS as Currency, fp as DepositStatus, fo as DepositType, gS as FCMDeviceType, gA as Field, gs as FieldType, gT as FirebaseCloudMessagingDeviceType, fl as FreeBetDropStatus, fr as GCashDeposit, f$ as GCashWithdrawalRecord, f8 as GameGroup, f7 as GameGroupGame, fa as GameGroupSummary, fb as GameGroupWithGames, fe as GameSessionLaunchOptions, fd as GameSessionStatus, f3 as GameTag, f4 as GameType, gg as GatewaySettings, fs as GcashWebpayDeposit, gk as GeneralMemberLevelSettings, ex as GigRewardsQuestDetails, gv as ImageField, g4 as InstapayBankType, g1 as InstapayWithdrawalRecord, gR as JackpotStatus, gO as JourneyQuestMilestone, gN as JourneyQuestMilestoneType, fq as KnownDepositError, gi as Locale, ee as LoginChannel, fD as ManualBankDeposit, g2 as ManualBankWithdrawalRecord, fA as ManualDeposit, fE as ManualUPIDeposit, g3 as ManualUPIWithdrawalRecord, fY as ManualWithdrawalRecord, fy as MayaAppDeposit, fx as MayaDeposit, g0 as MayaWithdrawalRecord, fm as MemberFreeBetDropBetRecord, eT as MemberLevelHistory, gh as MemberLevelSetting, f1 as MemberRebateContributionPerGame, f0 as MemberRebateContributionPerGameCategory, gM as MemberStatus, g$ as MemberVerificationRequestStatus, gE as MessageAction, gD as MessageIcon, gF as MessageType, eB as MobileNumberCreateAccountInput, eE as MobileNumberCreateAccountInput__next, eC as MobileNumberInrCreateAccountInput, gx as MultiSelectField, eA as NameAndPasswordCreateAccountInput, eD as NameCreateAccountInput, gH as OnboardingPlayerExperience, gG as OnboardingStatus, fC as OnlineBankDeposit, f6 as PlatformGame, eW as PointsWalletTransactionType, f9 as PortalGame, fc as PortalGameWithGroups, gm as PromoStatus, gl as PromoType, gp as PromosAndCashbacks, fB as QRPHDeposit, gL as QuestProgram, gK as QuestProgramStatus, gJ as QuestStatus, gI as QuestType, eY as RebateCursor, e$ as RebateProgram, e_ as RebateSettingsPerMemberLevel, eX as RebateStatus, eZ as RebateType, eV as RedeemPointsError, el as RefreshSessionError, eH as RegisterAgentAccountError, eG as RegisterMayaAccountError, eJ as ResetPasswordError, gu as RichTextField, ef as SecretQuestion, em as SecurityQuestionAuthenticateInput, eg as SecurityQuestionAuthenticator, gw as SelectField, eP as SendEmailVerificationCodeInput, eO as SendSmsVerificationCodeInput, eN as SendVerificationCodeError, eQ as SendVerificationCodeError__Next, eo as Session, ep as SessionError, eq as SessionInvalidReason, ej as SignInError, ei as SignInInput, ek as SignInReturn, eL as SubmitMemberVerificationError, eK as SubmitVerificationError, gt as TextField, gy as ToggleField, gW as TournamentFrequency, gY as TournamentLeaderboard, gX as TournamentMode, gZ as TournamentPayout, gU as TournamentStatus, gV as TournamentType, fn as TransactionType, gn as TurnoverRequirementType, eI as UpdateAccountError, gB as UpdateReferralCodeError, eM as UpdateVerificationError, et as UploadImageFileError, ez as VerificationDetailsStatus, eR as VerifyMobileNumberError, fU as VoucherType, gP as WageringQuestStage, gQ as WageringQuestStageSettings, f5 as WalletGame, fX as WithdrawalError, fW as WithdrawalStatus, fV as WithdrawalType } from './types-AijGHxca.cjs';
|
|
6
6
|
|
|
7
7
|
declare const ObjectType: {
|
|
8
8
|
Account: number;
|
|
@@ -303,6 +303,7 @@ declare class Sdk {
|
|
|
303
303
|
memberVerificationRequestAutomaticApprovalEnabled(): Promise<MemberVerificationRequestAutomaticApprovalEnabledReturn>;
|
|
304
304
|
memberVerificationRequestFaceLivenessSession(): Promise<MemberVerificationRequestFaceLivenessSessionReturn>;
|
|
305
305
|
submitMemberVerificationRequestImageDetails__next(input: SubmitMemberVerificationRequestImageDetailsInput__Next): Promise<SubmitMemberVerificationRequestImageDetailsReturn>;
|
|
306
|
+
submitMemberVerificationRequestPersonalDetails__next(input: SubmitMemberVerificationRequestPersonalDetailsInput): Promise<SubmitMemberVerificationRequestPersonalDetailsReturn>;
|
|
306
307
|
startMemberVerificationRequestFaceLivenessSession(): Promise<StartMemberVerificationRequestFaceLivenessSessionReturn>;
|
|
307
308
|
verifyMemberVerificationRequestFaceLivenessSession(input?: VerifyMemberVerificationRequestFaceLivenessSessionInput): Promise<VerifyMemberVerificationRequestFaceLivenessSessionReturn>;
|
|
308
309
|
finalizeMemberVerificationRequest(): Promise<FinalizeMemberVerificationRequestReturn>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { ObjectId } from '@opexa/object-id';
|
|
2
2
|
import { G as GraphQLClientMiddleware, A as Assign } from './graphql-client-Cr5nXEyQ.js';
|
|
3
3
|
export { H as HttpError, O as OperationError, a as OperationResult } from './graphql-client-Cr5nXEyQ.js';
|
|
4
|
-
import { E as Environment, N as NameAndPasswordSignInInput, a as NameAndPasswordSignInReturn, M as MobileNumberSignInInput, b as MobileNumberSignInReturn, c as MayaSignInInput, d as MayaSignInReturn, T as TokenSignInInput, e as TokenSignInReturn, S as SocialsSignInInput, f as SocialsSignInReturn, C as CabinetSignInInput, g as CabinetSignInReturn, h as SingleUseTokenSignInInput, i as SingleUseTokenSignInReturn, A as AuthenticateInput, j as AuthenticateReturn, W as WatchSessionInput, k as SessionReturn, V as ValidateMayaSessionReturn, l as CreateSingleUseTokenReturn, m as SiteReturn, n as CabinetSiteMachineReturn, o as CabinetWithdrawalReturn, P as PlatformReturn, p as PlatformReturn__Next, q as PaymentSettingsReturn, r as MemberLevelSettingsReturn, G as GeneralMemberLevelSettingsReturn, s as AchievementSettingsReturn, t as AccountReturn, u as CreateAccountInput, v as CreateAccountReturn, w as CreateAccountInput__Next, R as RegisterMayaAccountInput, x as RegisterMayaAccountReturn, y as RegisterAgentAccountInput, z as RegisterAgentAccountReturn, U as UpdateAccountInput, B as UpdateAccountReturn, D as DeleteAccountReturn, F as UpdateDailyBetLimitInput, H as UpdateAccountLimitReturn, I as UpdateMonthlyBetLimitInput, J as UpdateDailyDepositLimitInput, K as UpdateMonthlyDepositLimitInput, L as VerificationDetailsReturn, O as SubmitVerificationDetailsInput, Q as SubmitVerificationDetailsReturn, X as SubmitVerificationDetailsInputNext, Y as UpdateVerificationDetailsInput, Z as UpdateVerificationDetailsReturn, _ as SubmitMemberVerificationReturn, $ as ResetPasswordInput, a0 as ResetPasswordReturn, a1 as UpdatePasswordInput, a2 as UpdatePasswordReturn, a3 as VerifyMobileNumberReturn, a4 as ProfileCompletionReturn, a5 as SendVerificationCodeReturn, a6 as SendVerificationCodeInput__Next, a7 as SendVerificationCodeReturn__Next, a8 as WalletReturn, a9 as MemberWalletAccountReturn, aa as MemberLevelHistoryReturn, ab as AnnouncementsInput, ac as AnnouncementsReturn, ad as CreateWithdrawalInput, ae as CreateWithdrawalReturn, af as WithdrawalRecordsInput, ag as WithdrawalRecordsReturn, ah as RemainingDailyWithdrawalsCountReturn, ai as InstapayBankListReturn, aj as CreateDepositInput, ak as CreateDepositReturn, al as DepositReturn, am as DepositRecordsInput, an as DepositRecordsReturn, ao as DepositsCountReturn, ap as TouchDepositInput, aq as TouchDepositReturn, ar as RedeemVoucherInput, as as RedeemVoucherReturn, at as BetRecordsInput, au as BetRecordsReturn, av as LatestBetRecordsReturn, aw as FreeBetDropsInput, ax as FreeBetDropsReturn, ay as MemberFreeBetDropsInput, az as MemberFreeBetDropsReturn, aA as CancelFreeBetDropInput, aB as CancelFreeBetDropReturn, aC as TransactionRecordsInput, aD as TransactionRecordsReturn, aE as PromosReturn, aF as PromoFilterInput, aG as AvailablePromosReturn, aH as CashbacksReturn, aI as PromosAndCashbacksReturn, aJ as BonusReturn, aK as BonusesReturn, aL as CashbackBonusReturn, aM as ClaimCashbackBonusReturn, aN as ClaimRebateReturn, aO as ClaimSpotBonusReturn, aP as PromoByCodeReturn, aQ as GameReturn, aR as GamesInput, aS as GamesReturn, aT as WalletGameInput, aU as WalletGamesReturn, aV as PlatformGamesInput, aW as PlatformGamesReturn, aX as GameGroupsInput, aY as GameGroupsReturn, aZ as GameGroupInput, a_ as GameGroupReturn, a$ as _GamesInput, b0 as _GamesReturn, b1 as _GameGroupsReturn, b2 as GameGroupId, b3 as _GameGroupReturn, b4 as PortalGameId, b5 as _GameReturn, b6 as GamesInput__Next, b7 as RecommendedGamesInput, b8 as RecommendedGamesReturn, b9 as GameProvider, ba as GameSessionReturn, bb as CreateGameSessionInput, bc as CreateGameSessionReturn, bd as EndGameSessionReturn, be as MarkGameAsFavoriteInput, bf as MarkGameAsFavoriteReturn, bg as UnmarkGameAsFavoriteInput, bh as UnmarkGameAsFavoriteReturn, bi as FavoriteGamesReturn, bj as FavoriteGamesReturn__Next, bk as RecentGamesReturn, bl as AddFavoriteGameInput, bm as AddFavoriteGameReturn, bn as RemoveFavoriteGameInput, bo as RemoveFavoriteGameReturn, bp as FileReturn, bq as UploadImageFileInput, br as UploadImageFileReturn, bs as PointsWalletReturn, bt as RedeemPointsInput, bu as RedeemPointsReturn, bv as PointsWalletTransactionsInput, bw as PointsWalletTransactionsReturn, bx as AchievementPointsHistoryRecordInput, by as AchievementPointsHistoryRecordReturn, bz as MemberAchievementReturn, bA as MemberRebatesInput, bB as MemberRebatesReturn, bC as MemberRebateContributionInput, bD as MemberRebateContributionReturn, bE as ActivityRecordsInput, bF as ActivityRecordsReturn, bG as ReferralCodeReturn, bH as UpdateReferralCodeInput, bI as UpdateReferralCodeReturn, bJ as ReferralsInput, bK as ReferralsReturn, bL as QualifiedReferralsInput, bM as QualifiedReferralsReturn, bN as ReferralCommissionReturn, bO as UplinesByNameInput, bP as UplinesByNameReturn, bQ as DownlinesByNameInput, bR as DownlinesByNameReturn, bS as PointsClubSettingsReturn, bT as MessagesInput, bU as MessagesReturn, bV as UnreadMessagesCountInput, bW as UnreadMessagesCountReturn, bX as MarkMessageAsReadReturn, bY as MarkAllMessagesAsReadReturn, bZ as ClaimRewardReturn, b_ as OnboardingStatusReturn, b$ as CompleteOnboardingInput, c0 as CompleteOnboardingReturn, c1 as SkipOnboardingReturn, c2 as AvailableQuestsReturn, c3 as CheckInDailyQuestReturn, c4 as TopWinsReturn, c5 as TopWinsReturn__Next, c6 as JackpotsInput, c7 as JackpotsReturn, c8 as JackpotsIdsInput, c9 as JackpotsIdsReturn, ca as _JackpotsInput, cb as _JackpotsReturn, cc as JackpotPayoutsInput, cd as JackpotPayoutsReturn, ce as TournamentsInput, cf as TournamentsReturn, cg as TournamentsIdsInput, ch as TournamentsIdsReturn, ci as RegisterFCMDeviceInput, cj as RegisterFCMDeviceReturn, ck as UnregisterFCMDeviceInput, cl as UnregisterFCMDeviceReturn, cm as LinkFirebaseCloudMessagingDeviceInput, cn as LinkFirebaseCloudMessagingDeviceReturn, co as UnlinkFirebaseCloudMessagingDeviceInput, cp as UnlinkFirebaseCloudMessagingDeviceReturn, cq as GoogleClientIdReturn, cr as RequireFirstDepositReturn, cs as MemberVerificationRequestReturn, ct as SubmitMemberVerificationRequestBasicDetailsInput, cu as SubmitMemberVerificationRequestBasicDetailsReturn, cv as SubmitMemberVerificationRequestImageDetailsInput, cw as SubmitMemberVerificationRequestImageDetailsReturn, cx as SubmitMemberVerificationRequestPersonalDetailsInput, cy as SubmitMemberVerificationRequestPersonalDetailsReturn, cz as MemberVerificationRequestAutomaticApprovalEnabledReturn, cA as MemberVerificationRequestFaceLivenessSessionReturn, cB as SubmitMemberVerificationRequestImageDetailsInput__Next, cC as StartMemberVerificationRequestFaceLivenessSessionReturn, cD as VerifyMemberVerificationRequestFaceLivenessSessionInput, cE as VerifyMemberVerificationRequestFaceLivenessSessionReturn, cF as FinalizeMemberVerificationRequestReturn, cG as Site, cH as Site$1, cI as Platform, cJ as Platform$1, cK as MemberAccount, cL as Member, cM as Account, cN as Wallet, cO as Wallet$1, cP as MemberVerification, cQ as VerificationDetails, cR as ProfileCompletion, cS as ProfileCompletion$1, cT as Announcement, cU as Announcement$1, cV as WithdrawalRecord, cW as WithdrawalRecord$1, cX as Deposit, cY as Deposit$1, cZ as CabinetWithdrawal, c_ as CabinetWithdrawalRecord, c$ as DepositRecord, d0 as DepositRecord$1, d1 as BetRecord, d2 as Game, d3 as BetRecord$1, d4 as LatestBetRecord, d5 as LatestBetRecord$1, d6 as TransactionRecord, d7 as TransactionRecord$1, d8 as Game$1, d9 as GameSession, da as GameSession$1, db as Promo, dc as Promo$1, dd as Cashback, de as Cashback$1, df as Bonus, dg as Bonus$1, dh as CashbackBonus, di as CashbackBonus$1, dj as CabinetSiteMachine, dk as CabinetSiteMachine$1, dl as File, dm as File$1, dn as PointsWallet, dp as PointsWallet$1, dq as PointsWalletTransaction, dr as PointsWalletTransaction$1, ds as Rebate, dt as Rebate$1, du as MemberRebateContribution, dv as MemberRebateContribution$1, dw as ActivityRecord, dx as ActivityRecord$1, dy as Referral, dz as Referral$1, dA as ReferralCommission, dB as ReferralCommission$1, dC as Platform__Next, dD as Platform__Next$1, dE as PointsClubSettings, dF as PointsClubSettings$1, dG as PaymentSettings, dH as PaymentSettings$1, dI as Message, dJ as Message$1, dK as InstapayBank, dL as InstapayBank$1, dM as SpotBonusPromo, dN as SpotBonusPromo$1, dO as Quest, dP as Quest$1, dQ as TopWin, dR as TopWin$1, dS as TopWin__Next, dT as TopWin__Next$1, dU as Jackpot, dV as Jackpot$1, dW as JackpotPayout, dX as JackpotPayout$1, dY as Tournament, dZ as Tournament$1, d_ as MemberLevelSettings, d$ as MemberLevelSettings$1, e0 as AchievementSettingsResponse, e1 as AchievementSettingsResponse$1, e2 as AchievementPointsHistoryRecord, e3 as AchievementPointsHistoryRecord$1, e4 as MemberAchievement, e5 as MemberAchievement$1, e6 as MemberVerificationRequest, e7 as MemberVerificationRequest$1, e8 as FreeBetDrop, e9 as FreeBetDrop$1, ea as MemberFreeBetDrop, eb as MemberFreeBetDrop$1, ec as MemberWalletAccount, ed as MemberWalletAccount$1 } from './types-
|
|
5
|
-
export { eu as AccountStatus, ev as AccountVerificationStatus, eU as AchievementSettings, gj as AchievementType, gr as ActivityRecordType, ew as Agent, ft as AiOGCashDeposit, fv as AiOGrabPayDeposit, fw as AiOPalawanPayDeposit, fu as AiOPayMayaDeposit, fj as AnnouncementStatus, fi as AnnouncementType, en as AuthenticateError, eh as Authenticator, fZ as Bank, fz as BankDeposit, f_ as BankWithdrawalRecord, fk as BetRecordStatus, g_ as CabinetSiteMachineStatus, go as CashbackStatus, ey as CellxpertDetails, gq as ClaimCashbackBonusError, f2 as ClaimRebateError, gC as ClaimRewardError, gz as CompoundField, ga as CreateAIOInstapayWithdrawalInput, gb as CreateAIOInstapayWithdrawalInput_Next, fO as CreateAIOOnlineBankDepositInput, fN as CreateAIOQRPHDepositInput, eF as CreateAccountError, fH as CreateAiOGCashDepositInput, fJ as CreateAiOGrabPayDepositInput, fK as CreateAiOPalawanPayDepositInput, fI as CreateAiOPayMayaDepositInput, g5 as CreateBankWithdrawalInput, ge as CreateCabinetWithdrawalInput, fT as CreateDepositError, fG as CreateGCashDepositInput, g7 as CreateGCashStandardCashInWithdrawalInput, fL as CreateGCashWebpayDepositInput, g6 as CreateGCashWithdrawalInput, fg as CreateGameSessionByIdInput, ff as CreateGameSessionByReferenceInput, fh as CreateGameSessionError, fQ as CreateManualBankDepositInput, gd as CreateManualBankWithdrawalInput, fP as CreateManualUPIDepositInput, gc as CreateManualUPIWithdrawalInput, fM as CreateMayaAppDepositInput, g9 as CreateMayaAppWithdrawalInput, fF as CreateMayaDepositInput, fR as CreateMayaWebpayDepositInput, g8 as CreateMayaWithdrawalInput, es as CreateSingleUseTokenError, er as CreateSingleUseTokenInput, fS as CreateTestDepositInput, gf as CreateWithdrawalError, eS as Currency, fp as DepositStatus, fo as DepositType, gS as FCMDeviceType, gA as Field, gs as FieldType, gT as FirebaseCloudMessagingDeviceType, fl as FreeBetDropStatus, fr as GCashDeposit, f$ as GCashWithdrawalRecord, f8 as GameGroup, f7 as GameGroupGame, fa as GameGroupSummary, fb as GameGroupWithGames, fe as GameSessionLaunchOptions, fd as GameSessionStatus, f3 as GameTag, f4 as GameType, gg as GatewaySettings, fs as GcashWebpayDeposit, gk as GeneralMemberLevelSettings, ex as GigRewardsQuestDetails, gv as ImageField, g4 as InstapayBankType, g1 as InstapayWithdrawalRecord, gR as JackpotStatus, gO as JourneyQuestMilestone, gN as JourneyQuestMilestoneType, fq as KnownDepositError, gi as Locale, ee as LoginChannel, fD as ManualBankDeposit, g2 as ManualBankWithdrawalRecord, fA as ManualDeposit, fE as ManualUPIDeposit, g3 as ManualUPIWithdrawalRecord, fY as ManualWithdrawalRecord, fy as MayaAppDeposit, fx as MayaDeposit, g0 as MayaWithdrawalRecord, fm as MemberFreeBetDropBetRecord, eT as MemberLevelHistory, gh as MemberLevelSetting, f1 as MemberRebateContributionPerGame, f0 as MemberRebateContributionPerGameCategory, gM as MemberStatus, g$ as MemberVerificationRequestStatus, gE as MessageAction, gD as MessageIcon, gF as MessageType, eB as MobileNumberCreateAccountInput, eE as MobileNumberCreateAccountInput__next, eC as MobileNumberInrCreateAccountInput, gx as MultiSelectField, eA as NameAndPasswordCreateAccountInput, eD as NameCreateAccountInput, gH as OnboardingPlayerExperience, gG as OnboardingStatus, fC as OnlineBankDeposit, f6 as PlatformGame, eW as PointsWalletTransactionType, f9 as PortalGame, fc as PortalGameWithGroups, gm as PromoStatus, gl as PromoType, gp as PromosAndCashbacks, fB as QRPHDeposit, gL as QuestProgram, gK as QuestProgramStatus, gJ as QuestStatus, gI as QuestType, eY as RebateCursor, e$ as RebateProgram, e_ as RebateSettingsPerMemberLevel, eX as RebateStatus, eZ as RebateType, eV as RedeemPointsError, el as RefreshSessionError, eH as RegisterAgentAccountError, eG as RegisterMayaAccountError, eJ as ResetPasswordError, gu as RichTextField, ef as SecretQuestion, em as SecurityQuestionAuthenticateInput, eg as SecurityQuestionAuthenticator, gw as SelectField, eP as SendEmailVerificationCodeInput, eO as SendSmsVerificationCodeInput, eN as SendVerificationCodeError, eQ as SendVerificationCodeError__Next, eo as Session, ep as SessionError, eq as SessionInvalidReason, ej as SignInError, ei as SignInInput, ek as SignInReturn, eL as SubmitMemberVerificationError, eK as SubmitVerificationError, gt as TextField, gy as ToggleField, gW as TournamentFrequency, gY as TournamentLeaderboard, gX as TournamentMode, gZ as TournamentPayout, gU as TournamentStatus, gV as TournamentType, fn as TransactionType, gn as TurnoverRequirementType, eI as UpdateAccountError, gB as UpdateReferralCodeError, eM as UpdateVerificationError, et as UploadImageFileError, ez as VerificationDetailsStatus, eR as VerifyMobileNumberError, fU as VoucherType, gP as WageringQuestStage, gQ as WageringQuestStageSettings, f5 as WalletGame, fX as WithdrawalError, fW as WithdrawalStatus, fV as WithdrawalType } from './types-
|
|
4
|
+
import { E as Environment, N as NameAndPasswordSignInInput, a as NameAndPasswordSignInReturn, M as MobileNumberSignInInput, b as MobileNumberSignInReturn, c as MayaSignInInput, d as MayaSignInReturn, T as TokenSignInInput, e as TokenSignInReturn, S as SocialsSignInInput, f as SocialsSignInReturn, C as CabinetSignInInput, g as CabinetSignInReturn, h as SingleUseTokenSignInInput, i as SingleUseTokenSignInReturn, A as AuthenticateInput, j as AuthenticateReturn, W as WatchSessionInput, k as SessionReturn, V as ValidateMayaSessionReturn, l as CreateSingleUseTokenReturn, m as SiteReturn, n as CabinetSiteMachineReturn, o as CabinetWithdrawalReturn, P as PlatformReturn, p as PlatformReturn__Next, q as PaymentSettingsReturn, r as MemberLevelSettingsReturn, G as GeneralMemberLevelSettingsReturn, s as AchievementSettingsReturn, t as AccountReturn, u as CreateAccountInput, v as CreateAccountReturn, w as CreateAccountInput__Next, R as RegisterMayaAccountInput, x as RegisterMayaAccountReturn, y as RegisterAgentAccountInput, z as RegisterAgentAccountReturn, U as UpdateAccountInput, B as UpdateAccountReturn, D as DeleteAccountReturn, F as UpdateDailyBetLimitInput, H as UpdateAccountLimitReturn, I as UpdateMonthlyBetLimitInput, J as UpdateDailyDepositLimitInput, K as UpdateMonthlyDepositLimitInput, L as VerificationDetailsReturn, O as SubmitVerificationDetailsInput, Q as SubmitVerificationDetailsReturn, X as SubmitVerificationDetailsInputNext, Y as UpdateVerificationDetailsInput, Z as UpdateVerificationDetailsReturn, _ as SubmitMemberVerificationReturn, $ as ResetPasswordInput, a0 as ResetPasswordReturn, a1 as UpdatePasswordInput, a2 as UpdatePasswordReturn, a3 as VerifyMobileNumberReturn, a4 as ProfileCompletionReturn, a5 as SendVerificationCodeReturn, a6 as SendVerificationCodeInput__Next, a7 as SendVerificationCodeReturn__Next, a8 as WalletReturn, a9 as MemberWalletAccountReturn, aa as MemberLevelHistoryReturn, ab as AnnouncementsInput, ac as AnnouncementsReturn, ad as CreateWithdrawalInput, ae as CreateWithdrawalReturn, af as WithdrawalRecordsInput, ag as WithdrawalRecordsReturn, ah as RemainingDailyWithdrawalsCountReturn, ai as InstapayBankListReturn, aj as CreateDepositInput, ak as CreateDepositReturn, al as DepositReturn, am as DepositRecordsInput, an as DepositRecordsReturn, ao as DepositsCountReturn, ap as TouchDepositInput, aq as TouchDepositReturn, ar as RedeemVoucherInput, as as RedeemVoucherReturn, at as BetRecordsInput, au as BetRecordsReturn, av as LatestBetRecordsReturn, aw as FreeBetDropsInput, ax as FreeBetDropsReturn, ay as MemberFreeBetDropsInput, az as MemberFreeBetDropsReturn, aA as CancelFreeBetDropInput, aB as CancelFreeBetDropReturn, aC as TransactionRecordsInput, aD as TransactionRecordsReturn, aE as PromosReturn, aF as PromoFilterInput, aG as AvailablePromosReturn, aH as CashbacksReturn, aI as PromosAndCashbacksReturn, aJ as BonusReturn, aK as BonusesReturn, aL as CashbackBonusReturn, aM as ClaimCashbackBonusReturn, aN as ClaimRebateReturn, aO as ClaimSpotBonusReturn, aP as PromoByCodeReturn, aQ as GameReturn, aR as GamesInput, aS as GamesReturn, aT as WalletGameInput, aU as WalletGamesReturn, aV as PlatformGamesInput, aW as PlatformGamesReturn, aX as GameGroupsInput, aY as GameGroupsReturn, aZ as GameGroupInput, a_ as GameGroupReturn, a$ as _GamesInput, b0 as _GamesReturn, b1 as _GameGroupsReturn, b2 as GameGroupId, b3 as _GameGroupReturn, b4 as PortalGameId, b5 as _GameReturn, b6 as GamesInput__Next, b7 as RecommendedGamesInput, b8 as RecommendedGamesReturn, b9 as GameProvider, ba as GameSessionReturn, bb as CreateGameSessionInput, bc as CreateGameSessionReturn, bd as EndGameSessionReturn, be as MarkGameAsFavoriteInput, bf as MarkGameAsFavoriteReturn, bg as UnmarkGameAsFavoriteInput, bh as UnmarkGameAsFavoriteReturn, bi as FavoriteGamesReturn, bj as FavoriteGamesReturn__Next, bk as RecentGamesReturn, bl as AddFavoriteGameInput, bm as AddFavoriteGameReturn, bn as RemoveFavoriteGameInput, bo as RemoveFavoriteGameReturn, bp as FileReturn, bq as UploadImageFileInput, br as UploadImageFileReturn, bs as PointsWalletReturn, bt as RedeemPointsInput, bu as RedeemPointsReturn, bv as PointsWalletTransactionsInput, bw as PointsWalletTransactionsReturn, bx as AchievementPointsHistoryRecordInput, by as AchievementPointsHistoryRecordReturn, bz as MemberAchievementReturn, bA as MemberRebatesInput, bB as MemberRebatesReturn, bC as MemberRebateContributionInput, bD as MemberRebateContributionReturn, bE as ActivityRecordsInput, bF as ActivityRecordsReturn, bG as ReferralCodeReturn, bH as UpdateReferralCodeInput, bI as UpdateReferralCodeReturn, bJ as ReferralsInput, bK as ReferralsReturn, bL as QualifiedReferralsInput, bM as QualifiedReferralsReturn, bN as ReferralCommissionReturn, bO as UplinesByNameInput, bP as UplinesByNameReturn, bQ as DownlinesByNameInput, bR as DownlinesByNameReturn, bS as PointsClubSettingsReturn, bT as MessagesInput, bU as MessagesReturn, bV as UnreadMessagesCountInput, bW as UnreadMessagesCountReturn, bX as MarkMessageAsReadReturn, bY as MarkAllMessagesAsReadReturn, bZ as ClaimRewardReturn, b_ as OnboardingStatusReturn, b$ as CompleteOnboardingInput, c0 as CompleteOnboardingReturn, c1 as SkipOnboardingReturn, c2 as AvailableQuestsReturn, c3 as CheckInDailyQuestReturn, c4 as TopWinsReturn, c5 as TopWinsReturn__Next, c6 as JackpotsInput, c7 as JackpotsReturn, c8 as JackpotsIdsInput, c9 as JackpotsIdsReturn, ca as _JackpotsInput, cb as _JackpotsReturn, cc as JackpotPayoutsInput, cd as JackpotPayoutsReturn, ce as TournamentsInput, cf as TournamentsReturn, cg as TournamentsIdsInput, ch as TournamentsIdsReturn, ci as RegisterFCMDeviceInput, cj as RegisterFCMDeviceReturn, ck as UnregisterFCMDeviceInput, cl as UnregisterFCMDeviceReturn, cm as LinkFirebaseCloudMessagingDeviceInput, cn as LinkFirebaseCloudMessagingDeviceReturn, co as UnlinkFirebaseCloudMessagingDeviceInput, cp as UnlinkFirebaseCloudMessagingDeviceReturn, cq as GoogleClientIdReturn, cr as RequireFirstDepositReturn, cs as MemberVerificationRequestReturn, ct as SubmitMemberVerificationRequestBasicDetailsInput, cu as SubmitMemberVerificationRequestBasicDetailsReturn, cv as SubmitMemberVerificationRequestImageDetailsInput, cw as SubmitMemberVerificationRequestImageDetailsReturn, cx as SubmitMemberVerificationRequestPersonalDetailsInput, cy as SubmitMemberVerificationRequestPersonalDetailsReturn, cz as MemberVerificationRequestAutomaticApprovalEnabledReturn, cA as MemberVerificationRequestFaceLivenessSessionReturn, cB as SubmitMemberVerificationRequestImageDetailsInput__Next, cC as StartMemberVerificationRequestFaceLivenessSessionReturn, cD as VerifyMemberVerificationRequestFaceLivenessSessionInput, cE as VerifyMemberVerificationRequestFaceLivenessSessionReturn, cF as FinalizeMemberVerificationRequestReturn, cG as Site, cH as Site$1, cI as Platform, cJ as Platform$1, cK as MemberAccount, cL as Member, cM as Account, cN as Wallet, cO as Wallet$1, cP as MemberVerification, cQ as VerificationDetails, cR as ProfileCompletion, cS as ProfileCompletion$1, cT as Announcement, cU as Announcement$1, cV as WithdrawalRecord, cW as WithdrawalRecord$1, cX as Deposit, cY as Deposit$1, cZ as CabinetWithdrawal, c_ as CabinetWithdrawalRecord, c$ as DepositRecord, d0 as DepositRecord$1, d1 as BetRecord, d2 as Game, d3 as BetRecord$1, d4 as LatestBetRecord, d5 as LatestBetRecord$1, d6 as TransactionRecord, d7 as TransactionRecord$1, d8 as Game$1, d9 as GameSession, da as GameSession$1, db as Promo, dc as Promo$1, dd as Cashback, de as Cashback$1, df as Bonus, dg as Bonus$1, dh as CashbackBonus, di as CashbackBonus$1, dj as CabinetSiteMachine, dk as CabinetSiteMachine$1, dl as File, dm as File$1, dn as PointsWallet, dp as PointsWallet$1, dq as PointsWalletTransaction, dr as PointsWalletTransaction$1, ds as Rebate, dt as Rebate$1, du as MemberRebateContribution, dv as MemberRebateContribution$1, dw as ActivityRecord, dx as ActivityRecord$1, dy as Referral, dz as Referral$1, dA as ReferralCommission, dB as ReferralCommission$1, dC as Platform__Next, dD as Platform__Next$1, dE as PointsClubSettings, dF as PointsClubSettings$1, dG as PaymentSettings, dH as PaymentSettings$1, dI as Message, dJ as Message$1, dK as InstapayBank, dL as InstapayBank$1, dM as SpotBonusPromo, dN as SpotBonusPromo$1, dO as Quest, dP as Quest$1, dQ as TopWin, dR as TopWin$1, dS as TopWin__Next, dT as TopWin__Next$1, dU as Jackpot, dV as Jackpot$1, dW as JackpotPayout, dX as JackpotPayout$1, dY as Tournament, dZ as Tournament$1, d_ as MemberLevelSettings, d$ as MemberLevelSettings$1, e0 as AchievementSettingsResponse, e1 as AchievementSettingsResponse$1, e2 as AchievementPointsHistoryRecord, e3 as AchievementPointsHistoryRecord$1, e4 as MemberAchievement, e5 as MemberAchievement$1, e6 as MemberVerificationRequest, e7 as MemberVerificationRequest$1, e8 as FreeBetDrop, e9 as FreeBetDrop$1, ea as MemberFreeBetDrop, eb as MemberFreeBetDrop$1, ec as MemberWalletAccount, ed as MemberWalletAccount$1 } from './types-DeKD2Ta0.js';
|
|
5
|
+
export { eu as AccountStatus, ev as AccountVerificationStatus, eU as AchievementSettings, gj as AchievementType, gr as ActivityRecordType, ew as Agent, ft as AiOGCashDeposit, fv as AiOGrabPayDeposit, fw as AiOPalawanPayDeposit, fu as AiOPayMayaDeposit, fj as AnnouncementStatus, fi as AnnouncementType, en as AuthenticateError, eh as Authenticator, fZ as Bank, fz as BankDeposit, f_ as BankWithdrawalRecord, fk as BetRecordStatus, g_ as CabinetSiteMachineStatus, go as CashbackStatus, ey as CellxpertDetails, gq as ClaimCashbackBonusError, f2 as ClaimRebateError, gC as ClaimRewardError, gz as CompoundField, ga as CreateAIOInstapayWithdrawalInput, gb as CreateAIOInstapayWithdrawalInput_Next, fO as CreateAIOOnlineBankDepositInput, fN as CreateAIOQRPHDepositInput, eF as CreateAccountError, fH as CreateAiOGCashDepositInput, fJ as CreateAiOGrabPayDepositInput, fK as CreateAiOPalawanPayDepositInput, fI as CreateAiOPayMayaDepositInput, g5 as CreateBankWithdrawalInput, ge as CreateCabinetWithdrawalInput, fT as CreateDepositError, fG as CreateGCashDepositInput, g7 as CreateGCashStandardCashInWithdrawalInput, fL as CreateGCashWebpayDepositInput, g6 as CreateGCashWithdrawalInput, fg as CreateGameSessionByIdInput, ff as CreateGameSessionByReferenceInput, fh as CreateGameSessionError, fQ as CreateManualBankDepositInput, gd as CreateManualBankWithdrawalInput, fP as CreateManualUPIDepositInput, gc as CreateManualUPIWithdrawalInput, fM as CreateMayaAppDepositInput, g9 as CreateMayaAppWithdrawalInput, fF as CreateMayaDepositInput, fR as CreateMayaWebpayDepositInput, g8 as CreateMayaWithdrawalInput, es as CreateSingleUseTokenError, er as CreateSingleUseTokenInput, fS as CreateTestDepositInput, gf as CreateWithdrawalError, eS as Currency, fp as DepositStatus, fo as DepositType, gS as FCMDeviceType, gA as Field, gs as FieldType, gT as FirebaseCloudMessagingDeviceType, fl as FreeBetDropStatus, fr as GCashDeposit, f$ as GCashWithdrawalRecord, f8 as GameGroup, f7 as GameGroupGame, fa as GameGroupSummary, fb as GameGroupWithGames, fe as GameSessionLaunchOptions, fd as GameSessionStatus, f3 as GameTag, f4 as GameType, gg as GatewaySettings, fs as GcashWebpayDeposit, gk as GeneralMemberLevelSettings, ex as GigRewardsQuestDetails, gv as ImageField, g4 as InstapayBankType, g1 as InstapayWithdrawalRecord, gR as JackpotStatus, gO as JourneyQuestMilestone, gN as JourneyQuestMilestoneType, fq as KnownDepositError, gi as Locale, ee as LoginChannel, fD as ManualBankDeposit, g2 as ManualBankWithdrawalRecord, fA as ManualDeposit, fE as ManualUPIDeposit, g3 as ManualUPIWithdrawalRecord, fY as ManualWithdrawalRecord, fy as MayaAppDeposit, fx as MayaDeposit, g0 as MayaWithdrawalRecord, fm as MemberFreeBetDropBetRecord, eT as MemberLevelHistory, gh as MemberLevelSetting, f1 as MemberRebateContributionPerGame, f0 as MemberRebateContributionPerGameCategory, gM as MemberStatus, g$ as MemberVerificationRequestStatus, gE as MessageAction, gD as MessageIcon, gF as MessageType, eB as MobileNumberCreateAccountInput, eE as MobileNumberCreateAccountInput__next, eC as MobileNumberInrCreateAccountInput, gx as MultiSelectField, eA as NameAndPasswordCreateAccountInput, eD as NameCreateAccountInput, gH as OnboardingPlayerExperience, gG as OnboardingStatus, fC as OnlineBankDeposit, f6 as PlatformGame, eW as PointsWalletTransactionType, f9 as PortalGame, fc as PortalGameWithGroups, gm as PromoStatus, gl as PromoType, gp as PromosAndCashbacks, fB as QRPHDeposit, gL as QuestProgram, gK as QuestProgramStatus, gJ as QuestStatus, gI as QuestType, eY as RebateCursor, e$ as RebateProgram, e_ as RebateSettingsPerMemberLevel, eX as RebateStatus, eZ as RebateType, eV as RedeemPointsError, el as RefreshSessionError, eH as RegisterAgentAccountError, eG as RegisterMayaAccountError, eJ as ResetPasswordError, gu as RichTextField, ef as SecretQuestion, em as SecurityQuestionAuthenticateInput, eg as SecurityQuestionAuthenticator, gw as SelectField, eP as SendEmailVerificationCodeInput, eO as SendSmsVerificationCodeInput, eN as SendVerificationCodeError, eQ as SendVerificationCodeError__Next, eo as Session, ep as SessionError, eq as SessionInvalidReason, ej as SignInError, ei as SignInInput, ek as SignInReturn, eL as SubmitMemberVerificationError, eK as SubmitVerificationError, gt as TextField, gy as ToggleField, gW as TournamentFrequency, gY as TournamentLeaderboard, gX as TournamentMode, gZ as TournamentPayout, gU as TournamentStatus, gV as TournamentType, fn as TransactionType, gn as TurnoverRequirementType, eI as UpdateAccountError, gB as UpdateReferralCodeError, eM as UpdateVerificationError, et as UploadImageFileError, ez as VerificationDetailsStatus, eR as VerifyMobileNumberError, fU as VoucherType, gP as WageringQuestStage, gQ as WageringQuestStageSettings, f5 as WalletGame, fX as WithdrawalError, fW as WithdrawalStatus, fV as WithdrawalType } from './types-DeKD2Ta0.js';
|
|
6
6
|
|
|
7
7
|
declare const ObjectType: {
|
|
8
8
|
Account: number;
|
|
@@ -303,6 +303,7 @@ declare class Sdk {
|
|
|
303
303
|
memberVerificationRequestAutomaticApprovalEnabled(): Promise<MemberVerificationRequestAutomaticApprovalEnabledReturn>;
|
|
304
304
|
memberVerificationRequestFaceLivenessSession(): Promise<MemberVerificationRequestFaceLivenessSessionReturn>;
|
|
305
305
|
submitMemberVerificationRequestImageDetails__next(input: SubmitMemberVerificationRequestImageDetailsInput__Next): Promise<SubmitMemberVerificationRequestImageDetailsReturn>;
|
|
306
|
+
submitMemberVerificationRequestPersonalDetails__next(input: SubmitMemberVerificationRequestPersonalDetailsInput): Promise<SubmitMemberVerificationRequestPersonalDetailsReturn>;
|
|
306
307
|
startMemberVerificationRequestFaceLivenessSession(): Promise<StartMemberVerificationRequestFaceLivenessSessionReturn>;
|
|
307
308
|
verifyMemberVerificationRequestFaceLivenessSession(input?: VerifyMemberVerificationRequestFaceLivenessSessionInput): Promise<VerifyMemberVerificationRequestFaceLivenessSessionReturn>;
|
|
308
309
|
finalizeMemberVerificationRequest(): Promise<FinalizeMemberVerificationRequestReturn>;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CmsPortalService, GameService, ExtensionService, FileService, WalletService, AccountService, ReportService, PortalService, TriggerService, AuthService, getFingerPrint, isIOSPlatform } from './chunk-
|
|
1
|
+
import { CmsPortalService, GameService, ExtensionService, FileService, WalletService, AccountService, ReportService, PortalService, TriggerService, AuthService, getFingerPrint, isIOSPlatform } from './chunk-QDA6QPFR.js';
|
|
2
2
|
import { GraphQLClient, isPlainObject } from './chunk-7APXFZ5G.js';
|
|
3
3
|
import './chunk-WVFSGB7Y.js';
|
|
4
4
|
import { ObjectId } from '@opexa/object-id';
|
|
@@ -394,6 +394,7 @@ var SessionManager = class {
|
|
|
394
394
|
v4AccessToken = null;
|
|
395
395
|
v4AccessTokenExpiresAt = null;
|
|
396
396
|
v4RefreshPromise = null;
|
|
397
|
+
invalidReason = null;
|
|
397
398
|
refreshTokenStore;
|
|
398
399
|
constructor(config) {
|
|
399
400
|
this.authService = config.authService;
|
|
@@ -425,6 +426,7 @@ var SessionManager = class {
|
|
|
425
426
|
}
|
|
426
427
|
this.v4AccessToken = data.accessToken;
|
|
427
428
|
this.v4AccessTokenExpiresAt = addMinutes(now, 4).getTime();
|
|
429
|
+
this.invalidReason = null;
|
|
428
430
|
if (data.refreshToken) {
|
|
429
431
|
await this.refreshTokenStore.set(data.refreshToken);
|
|
430
432
|
}
|
|
@@ -434,6 +436,7 @@ var SessionManager = class {
|
|
|
434
436
|
);
|
|
435
437
|
return true;
|
|
436
438
|
}
|
|
439
|
+
this.invalidReason = null;
|
|
437
440
|
localStorage.setItem(
|
|
438
441
|
this.storageKey,
|
|
439
442
|
JSON.stringify({
|
|
@@ -659,6 +662,20 @@ var SessionManager = class {
|
|
|
659
662
|
};
|
|
660
663
|
}
|
|
661
664
|
}
|
|
665
|
+
async getV4(session) {
|
|
666
|
+
const now = /* @__PURE__ */ new Date();
|
|
667
|
+
if (this.v4AccessToken && this.v4AccessTokenExpiresAt && !isAfter(now, new Date(this.v4AccessTokenExpiresAt))) {
|
|
668
|
+
return {
|
|
669
|
+
ok: true,
|
|
670
|
+
data: {
|
|
671
|
+
session,
|
|
672
|
+
accessToken: this.v4AccessToken,
|
|
673
|
+
accessTokenExpiresAt: this.v4AccessTokenExpiresAt
|
|
674
|
+
}
|
|
675
|
+
};
|
|
676
|
+
}
|
|
677
|
+
return await this.refreshV4(session);
|
|
678
|
+
}
|
|
662
679
|
async refresh() {
|
|
663
680
|
if (this.isServer) {
|
|
664
681
|
this.logger.warn("'localStorage' is not available on the server.");
|
|
@@ -728,20 +745,6 @@ var SessionManager = class {
|
|
|
728
745
|
};
|
|
729
746
|
}
|
|
730
747
|
}
|
|
731
|
-
async getV4(session) {
|
|
732
|
-
const now = /* @__PURE__ */ new Date();
|
|
733
|
-
if (this.v4AccessToken && this.v4AccessTokenExpiresAt && !isAfter(now, new Date(this.v4AccessTokenExpiresAt))) {
|
|
734
|
-
return {
|
|
735
|
-
ok: true,
|
|
736
|
-
data: {
|
|
737
|
-
session,
|
|
738
|
-
accessToken: this.v4AccessToken,
|
|
739
|
-
accessTokenExpiresAt: this.v4AccessTokenExpiresAt
|
|
740
|
-
}
|
|
741
|
-
};
|
|
742
|
-
}
|
|
743
|
-
return await this.refreshV4(session);
|
|
744
|
-
}
|
|
745
748
|
async refreshV4(session) {
|
|
746
749
|
if (this.v4RefreshPromise) return await this.v4RefreshPromise;
|
|
747
750
|
this.v4RefreshPromise = this.requestV4Refresh(session);
|
|
@@ -760,6 +763,8 @@ var SessionManager = class {
|
|
|
760
763
|
this.logger.warn("No stored refresh token. Session expired.");
|
|
761
764
|
this.v4AccessToken = null;
|
|
762
765
|
this.v4AccessTokenExpiresAt = null;
|
|
766
|
+
this.invalidReason = "REFRESH_TOKEN_EXPIRED";
|
|
767
|
+
localStorage.removeItem(this.storageKey);
|
|
763
768
|
return {
|
|
764
769
|
ok: false,
|
|
765
770
|
error: {
|
|
@@ -771,20 +776,25 @@ var SessionManager = class {
|
|
|
771
776
|
}
|
|
772
777
|
this.refreshing = true;
|
|
773
778
|
const res = await this.authService.refreshSession(refreshToken, 4);
|
|
774
|
-
this.refreshing = false;
|
|
775
779
|
if (!res.ok) {
|
|
776
780
|
this.logger.error(`Failed to refresh session: ${res.error.message}`);
|
|
777
|
-
|
|
781
|
+
const terminal = res.error.name === "InvalidTokenError" || res.error.name === "AccountBlacklistedError" || res.error.name === "VerificationLockedError" || res.error.name === "SessionExpiredError";
|
|
782
|
+
if (terminal) {
|
|
778
783
|
this.v4AccessToken = null;
|
|
779
784
|
this.v4AccessTokenExpiresAt = null;
|
|
780
|
-
|
|
785
|
+
this.invalidReason = res.error.name === "SessionExpiredError" ? "REFRESH_TOKEN_EXPIRED" : "INVALID_SESSION";
|
|
786
|
+
localStorage.removeItem(this.storageKey);
|
|
781
787
|
}
|
|
788
|
+
this.refreshing = false;
|
|
789
|
+
if (terminal) await this.refreshTokenStore.remove();
|
|
782
790
|
return {
|
|
783
791
|
ok: false,
|
|
784
792
|
error: res.error
|
|
785
793
|
};
|
|
786
794
|
}
|
|
795
|
+
this.refreshing = false;
|
|
787
796
|
this.logger.success("Session refreshed!");
|
|
797
|
+
this.invalidReason = null;
|
|
788
798
|
if (res.data.refreshToken) {
|
|
789
799
|
await this.refreshTokenStore.set(res.data.refreshToken);
|
|
790
800
|
}
|
|
@@ -820,6 +830,7 @@ var SessionManager = class {
|
|
|
820
830
|
}
|
|
821
831
|
this.v4AccessToken = null;
|
|
822
832
|
this.v4AccessTokenExpiresAt = null;
|
|
833
|
+
this.invalidReason = null;
|
|
823
834
|
await this.refreshTokenStore.remove();
|
|
824
835
|
localStorage.removeItem(this.storageKey);
|
|
825
836
|
}
|
|
@@ -828,6 +839,9 @@ var SessionManager = class {
|
|
|
828
839
|
this.logger.warn("'localStorage' is not available on the server.");
|
|
829
840
|
return { valid: true };
|
|
830
841
|
}
|
|
842
|
+
if (this.invalidReason) {
|
|
843
|
+
return { valid: false, reason: this.invalidReason };
|
|
844
|
+
}
|
|
831
845
|
const val = localStorage.getItem(this.storageKey);
|
|
832
846
|
if (val) {
|
|
833
847
|
try {
|
|
@@ -842,11 +856,13 @@ var SessionManager = class {
|
|
|
842
856
|
}
|
|
843
857
|
const s = await this.get();
|
|
844
858
|
if (s.error?.name === "InvalidTokenError" || s.error?.name === "SessionExpiredError" || s.error?.name === "AccountBlacklistedError") {
|
|
859
|
+
this.invalidReason = "INVALID_SESSION";
|
|
845
860
|
return { valid: false, reason: "INVALID_SESSION" };
|
|
846
861
|
}
|
|
847
862
|
if (!s.data) return { valid: true };
|
|
848
863
|
const v = await this.authService.verifySession(s.data.accessToken);
|
|
849
864
|
if (!v) {
|
|
865
|
+
this.invalidReason = "INVALID_SESSION";
|
|
850
866
|
localStorage.removeItem(this.storageKey);
|
|
851
867
|
}
|
|
852
868
|
return v ? { valid: true } : { valid: false, reason: "INVALID_SESSION" };
|
|
@@ -854,16 +870,16 @@ var SessionManager = class {
|
|
|
854
870
|
async verifyV4(session) {
|
|
855
871
|
if (!this.v4AccessToken || !this.v4AccessTokenExpiresAt || isAfter(/* @__PURE__ */ new Date(), new Date(this.v4AccessTokenExpiresAt))) {
|
|
856
872
|
const res = await this.refreshV4(session);
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
};
|
|
873
|
+
if (res.ok) return { valid: true };
|
|
874
|
+
if (!this.invalidReason) return { valid: true };
|
|
875
|
+
return { valid: false, reason: this.invalidReason };
|
|
861
876
|
}
|
|
862
877
|
const v = await this.authService.verifySession(this.v4AccessToken);
|
|
863
878
|
if (!v) {
|
|
864
879
|
localStorage.removeItem(this.storageKey);
|
|
865
880
|
this.v4AccessToken = null;
|
|
866
881
|
this.v4AccessTokenExpiresAt = null;
|
|
882
|
+
this.invalidReason = "INVALID_SESSION";
|
|
867
883
|
await this.refreshTokenStore.remove();
|
|
868
884
|
}
|
|
869
885
|
return v ? { valid: true } : { valid: false, reason: "INVALID_SESSION" };
|
|
@@ -901,6 +917,7 @@ var SessionManagerCookie = class {
|
|
|
901
917
|
v4AccessToken = null;
|
|
902
918
|
v4AccessTokenExpiresAt = null;
|
|
903
919
|
v4RefreshPromise = null;
|
|
920
|
+
invalidReason = null;
|
|
904
921
|
refreshTokenStore;
|
|
905
922
|
constructor(config) {
|
|
906
923
|
this.authService = config.authService;
|
|
@@ -916,6 +933,7 @@ var SessionManagerCookie = class {
|
|
|
916
933
|
}
|
|
917
934
|
async persist(data, version) {
|
|
918
935
|
const now = /* @__PURE__ */ new Date();
|
|
936
|
+
this.invalidReason = null;
|
|
919
937
|
if (version === 4) {
|
|
920
938
|
this.v4AccessToken = data.accessToken ?? null;
|
|
921
939
|
this.v4AccessTokenExpiresAt = addMinutes(now, 5).getTime();
|
|
@@ -1131,6 +1149,20 @@ var SessionManagerCookie = class {
|
|
|
1131
1149
|
};
|
|
1132
1150
|
}
|
|
1133
1151
|
}
|
|
1152
|
+
async getV4(session) {
|
|
1153
|
+
const now = /* @__PURE__ */ new Date();
|
|
1154
|
+
if (this.v4AccessToken && this.v4AccessTokenExpiresAt && !isAfter(now, new Date(this.v4AccessTokenExpiresAt))) {
|
|
1155
|
+
return {
|
|
1156
|
+
ok: true,
|
|
1157
|
+
data: {
|
|
1158
|
+
session,
|
|
1159
|
+
accessToken: this.v4AccessToken,
|
|
1160
|
+
accessTokenExpiresAt: this.v4AccessTokenExpiresAt
|
|
1161
|
+
}
|
|
1162
|
+
};
|
|
1163
|
+
}
|
|
1164
|
+
return await this.refreshV4(session);
|
|
1165
|
+
}
|
|
1134
1166
|
async refresh() {
|
|
1135
1167
|
if (this.isServer) {
|
|
1136
1168
|
this.logger.warn("'client cookies' is not available on the server.");
|
|
@@ -1202,20 +1234,6 @@ var SessionManagerCookie = class {
|
|
|
1202
1234
|
};
|
|
1203
1235
|
}
|
|
1204
1236
|
}
|
|
1205
|
-
async getV4(session) {
|
|
1206
|
-
const now = /* @__PURE__ */ new Date();
|
|
1207
|
-
if (this.v4AccessToken && this.v4AccessTokenExpiresAt && !isAfter(now, new Date(this.v4AccessTokenExpiresAt))) {
|
|
1208
|
-
return {
|
|
1209
|
-
ok: true,
|
|
1210
|
-
data: {
|
|
1211
|
-
session,
|
|
1212
|
-
accessToken: this.v4AccessToken,
|
|
1213
|
-
accessTokenExpiresAt: this.v4AccessTokenExpiresAt
|
|
1214
|
-
}
|
|
1215
|
-
};
|
|
1216
|
-
}
|
|
1217
|
-
return await this.refreshV4(session);
|
|
1218
|
-
}
|
|
1219
1237
|
async refreshV4(session) {
|
|
1220
1238
|
if (this.v4RefreshPromise) return await this.v4RefreshPromise;
|
|
1221
1239
|
this.v4RefreshPromise = this.requestV4Refresh(session);
|
|
@@ -1234,6 +1252,8 @@ var SessionManagerCookie = class {
|
|
|
1234
1252
|
this.logger.warn("No stored refresh token. Session expired.");
|
|
1235
1253
|
this.v4AccessToken = null;
|
|
1236
1254
|
this.v4AccessTokenExpiresAt = null;
|
|
1255
|
+
this.invalidReason = "REFRESH_TOKEN_EXPIRED";
|
|
1256
|
+
cookies.remove(this.storageKey);
|
|
1237
1257
|
return {
|
|
1238
1258
|
ok: false,
|
|
1239
1259
|
error: {
|
|
@@ -1245,20 +1265,25 @@ var SessionManagerCookie = class {
|
|
|
1245
1265
|
}
|
|
1246
1266
|
this.refreshing = true;
|
|
1247
1267
|
const res = await this.authService.refreshSession(refreshToken, 4);
|
|
1248
|
-
this.refreshing = false;
|
|
1249
1268
|
if (!res.ok) {
|
|
1250
1269
|
this.logger.error(`Failed to refresh session: ${res.error.message}`);
|
|
1251
|
-
|
|
1270
|
+
const terminal = res.error.name === "InvalidTokenError" || res.error.name === "AccountBlacklistedError" || res.error.name === "VerificationLockedError" || res.error.name === "SessionExpiredError";
|
|
1271
|
+
if (terminal) {
|
|
1252
1272
|
this.v4AccessToken = null;
|
|
1253
1273
|
this.v4AccessTokenExpiresAt = null;
|
|
1254
|
-
|
|
1274
|
+
this.invalidReason = res.error.name === "SessionExpiredError" ? "REFRESH_TOKEN_EXPIRED" : "INVALID_SESSION";
|
|
1275
|
+
cookies.remove(this.storageKey);
|
|
1255
1276
|
}
|
|
1277
|
+
this.refreshing = false;
|
|
1278
|
+
if (terminal) await this.refreshTokenStore.remove();
|
|
1256
1279
|
return {
|
|
1257
1280
|
ok: false,
|
|
1258
1281
|
error: res.error
|
|
1259
1282
|
};
|
|
1260
1283
|
}
|
|
1284
|
+
this.refreshing = false;
|
|
1261
1285
|
this.logger.success("Session refreshed!");
|
|
1286
|
+
this.invalidReason = null;
|
|
1262
1287
|
if (res.data.refreshToken) {
|
|
1263
1288
|
await this.refreshTokenStore.set(res.data.refreshToken);
|
|
1264
1289
|
}
|
|
@@ -1294,6 +1319,7 @@ var SessionManagerCookie = class {
|
|
|
1294
1319
|
}
|
|
1295
1320
|
this.v4AccessToken = null;
|
|
1296
1321
|
this.v4AccessTokenExpiresAt = null;
|
|
1322
|
+
this.invalidReason = null;
|
|
1297
1323
|
await this.refreshTokenStore.remove();
|
|
1298
1324
|
cookies.remove(this.storageKey);
|
|
1299
1325
|
}
|
|
@@ -1302,6 +1328,9 @@ var SessionManagerCookie = class {
|
|
|
1302
1328
|
this.logger.warn("'client cookies' is not available on the server.");
|
|
1303
1329
|
return { valid: true };
|
|
1304
1330
|
}
|
|
1331
|
+
if (this.invalidReason) {
|
|
1332
|
+
return { valid: false, reason: this.invalidReason };
|
|
1333
|
+
}
|
|
1305
1334
|
const val = cookies.get(this.storageKey);
|
|
1306
1335
|
if (val) {
|
|
1307
1336
|
try {
|
|
@@ -1316,11 +1345,13 @@ var SessionManagerCookie = class {
|
|
|
1316
1345
|
}
|
|
1317
1346
|
const s = await this.get();
|
|
1318
1347
|
if (s.error?.name === "InvalidTokenError" || s.error?.name === "SessionExpiredError" || s.error?.name === "AccountBlacklistedError") {
|
|
1348
|
+
this.invalidReason = "INVALID_SESSION";
|
|
1319
1349
|
return { valid: false, reason: "INVALID_SESSION" };
|
|
1320
1350
|
}
|
|
1321
1351
|
if (!s.data) return { valid: true };
|
|
1322
1352
|
const v = await this.authService.verifySession(s.data.accessToken);
|
|
1323
1353
|
if (!v) {
|
|
1354
|
+
this.invalidReason = "INVALID_SESSION";
|
|
1324
1355
|
cookies.remove(this.storageKey);
|
|
1325
1356
|
}
|
|
1326
1357
|
return v ? { valid: true } : { valid: false, reason: "INVALID_SESSION" };
|
|
@@ -1328,16 +1359,16 @@ var SessionManagerCookie = class {
|
|
|
1328
1359
|
async verifyV4(session) {
|
|
1329
1360
|
if (!this.v4AccessToken || !this.v4AccessTokenExpiresAt || isAfter(/* @__PURE__ */ new Date(), new Date(this.v4AccessTokenExpiresAt))) {
|
|
1330
1361
|
const res = await this.refreshV4(session);
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
};
|
|
1362
|
+
if (res.ok) return { valid: true };
|
|
1363
|
+
if (!this.invalidReason) return { valid: true };
|
|
1364
|
+
return { valid: false, reason: this.invalidReason };
|
|
1335
1365
|
}
|
|
1336
1366
|
const v = await this.authService.verifySession(this.v4AccessToken);
|
|
1337
1367
|
if (!v) {
|
|
1338
1368
|
cookies.remove(this.storageKey);
|
|
1339
1369
|
this.v4AccessToken = null;
|
|
1340
1370
|
this.v4AccessTokenExpiresAt = null;
|
|
1371
|
+
this.invalidReason = "INVALID_SESSION";
|
|
1341
1372
|
await this.refreshTokenStore.remove();
|
|
1342
1373
|
}
|
|
1343
1374
|
return v ? { valid: true } : { valid: false, reason: "INVALID_SESSION" };
|
|
@@ -3643,9 +3674,18 @@ var Sdk = class {
|
|
|
3643
3674
|
let counter = 0;
|
|
3644
3675
|
let timeout = null;
|
|
3645
3676
|
let isForeground = true;
|
|
3677
|
+
let stopped = false;
|
|
3646
3678
|
const listener = App.addListener("appStateChange", ({ isActive }) => {
|
|
3647
3679
|
isForeground = isActive;
|
|
3648
3680
|
});
|
|
3681
|
+
const stop = () => {
|
|
3682
|
+
stopped = true;
|
|
3683
|
+
if (timeout) {
|
|
3684
|
+
clearTimeout(timeout);
|
|
3685
|
+
timeout = null;
|
|
3686
|
+
}
|
|
3687
|
+
listener.then((handle) => handle.remove());
|
|
3688
|
+
};
|
|
3649
3689
|
const assignTimeout = () => {
|
|
3650
3690
|
const duration = counter <= 0 ? interval * 0.5 : interval;
|
|
3651
3691
|
return setTimeout(async () => {
|
|
@@ -3654,10 +3694,13 @@ var Sdk = class {
|
|
|
3654
3694
|
try {
|
|
3655
3695
|
res = await this.sessionManager.verify();
|
|
3656
3696
|
} catch {
|
|
3657
|
-
res =
|
|
3697
|
+
res = null;
|
|
3658
3698
|
}
|
|
3659
|
-
if (
|
|
3699
|
+
if (stopped) return;
|
|
3700
|
+
if (res && !res.valid) {
|
|
3701
|
+
stop();
|
|
3660
3702
|
await input.onInvalid(res.reason ?? "INVALID_SESSION");
|
|
3703
|
+
return;
|
|
3661
3704
|
}
|
|
3662
3705
|
}
|
|
3663
3706
|
counter += 1;
|
|
@@ -3666,10 +3709,7 @@ var Sdk = class {
|
|
|
3666
3709
|
};
|
|
3667
3710
|
timeout = assignTimeout();
|
|
3668
3711
|
return function unsubscribe() {
|
|
3669
|
-
|
|
3670
|
-
clearTimeout(timeout);
|
|
3671
|
-
}
|
|
3672
|
-
listener.then((handle) => handle.remove());
|
|
3712
|
+
stop();
|
|
3673
3713
|
};
|
|
3674
3714
|
}
|
|
3675
3715
|
async session() {
|
|
@@ -5939,6 +5979,11 @@ var Sdk = class {
|
|
|
5939
5979
|
{ input }
|
|
5940
5980
|
);
|
|
5941
5981
|
}
|
|
5982
|
+
async submitMemberVerificationRequestPersonalDetails__next(input) {
|
|
5983
|
+
return await this.accountService.submitMemberVerificationRequestPersonalDetails__next(
|
|
5984
|
+
{ input }
|
|
5985
|
+
);
|
|
5986
|
+
}
|
|
5942
5987
|
async startMemberVerificationRequestFaceLivenessSession() {
|
|
5943
5988
|
return await this.accountService.startMemberVerificationRequestFaceLivenessSession();
|
|
5944
5989
|
}
|