@opexa/portal-sdk 0.57.21 → 0.58.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/dist/index.d.cts CHANGED
@@ -639,6 +639,9 @@ type AccountVerificationStatus = MemberAccountVerificationStatus;
639
639
  interface Agent {
640
640
  code: string;
641
641
  }
642
+ interface GigRewardsQuestDetails {
643
+ gigUserId: string;
644
+ }
642
645
  interface Account {
643
646
  id: string;
644
647
  name: string;
@@ -674,6 +677,7 @@ interface Account {
674
677
  level: number;
675
678
  partition?: number | null;
676
679
  dateTimeLastActive?: Date;
680
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
677
681
  }
678
682
  type AccountReturn = OperationResult<never, Account>;
679
683
  interface CellxpertDetails {
@@ -719,6 +723,7 @@ interface CreateAccountInput {
719
723
  referralCode?: string;
720
724
  verificationCode?: string;
721
725
  reCAPTCHAResponse?: string;
726
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
722
727
  }
723
728
  interface NameAndPasswordCreateAccountInput {
724
729
  type: 'NAME_AND_PASSWORD';
@@ -729,6 +734,7 @@ interface NameAndPasswordCreateAccountInput {
729
734
  btag?: string;
730
735
  domain?: string;
731
736
  reCAPTCHAResponse?: string;
737
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
732
738
  }
733
739
  interface MobileNumberCreateAccountInput {
734
740
  type: 'MOBILE_NUMBER';
@@ -744,6 +750,7 @@ interface MobileNumberCreateAccountInput {
744
750
  verificationCode?: string;
745
751
  reCAPTCHAResponse?: string;
746
752
  testPass?: string;
753
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
747
754
  }
748
755
  interface MobileNumberInrCreateAccountInput {
749
756
  type: 'MOBILE_NUMBER_INR';
@@ -758,6 +765,7 @@ interface MobileNumberInrCreateAccountInput {
758
765
  verificationCode?: string;
759
766
  reCAPTCHAResponse?: string;
760
767
  testPass?: boolean;
768
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
761
769
  }
762
770
  interface NameCreateAccountInput {
763
771
  type: 'NAME';
@@ -765,6 +773,7 @@ interface NameCreateAccountInput {
765
773
  name: string;
766
774
  password: string;
767
775
  reCAPTCHAResponse?: string;
776
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
768
777
  }
769
778
  interface MobileNumberCreateAccountInput__next {
770
779
  type: 'MOBILE_NUMBER[NEXT]';
@@ -777,6 +786,7 @@ interface MobileNumberCreateAccountInput__next {
777
786
  reCAPTCHAResponse?: string;
778
787
  testPass?: boolean;
779
788
  fingerprint?: string;
789
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
780
790
  }
781
791
  type CreateAccountInput__Next = NameAndPasswordCreateAccountInput | MobileNumberCreateAccountInput | MobileNumberCreateAccountInput__next | MobileNumberInrCreateAccountInput | NameCreateAccountInput;
782
792
  type CreateAccountError = UnionAlias<RegisterMemberAccountError>;
@@ -816,6 +826,7 @@ interface UpdateAccountInput {
816
826
  secretAnswer?: string;
817
827
  dateOfBirth?: Date | string;
818
828
  branchCode?: string;
829
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
819
830
  }
820
831
  type UpdateAccountError = UnionAlias<UpdateMemberAccountError>;
821
832
  type UpdateAccountReturn = OperationResult<UpdateAccountError>;
@@ -2167,6 +2178,8 @@ declare class Sdk {
2167
2178
  get marketDomain(): string | null;
2168
2179
  set adClickId(value: string | null);
2169
2180
  get adClickId(): string | null;
2181
+ set fbp(value: string | null);
2182
+ get fbp(): string | null;
2170
2183
  set cxd(value: string | null);
2171
2184
  get cxd(): string | null;
2172
2185
  private get locale();
@@ -2174,6 +2187,7 @@ declare class Sdk {
2174
2187
  private get fingerprintMiddleware();
2175
2188
  fingerprint(): Promise<string | null>;
2176
2189
  private get miscMiddleware();
2190
+ collectMetaDetails(): void;
2177
2191
  signIn(input: NameAndPasswordSignInInput): Promise<NameAndPasswordSignInReturn>;
2178
2192
  signIn(input: MobileNumberSignInInput): Promise<MobileNumberSignInReturn>;
2179
2193
  signIn(input: MayaSignInInput): Promise<MayaSignInReturn>;
@@ -2312,4 +2326,4 @@ declare class Sdk {
2312
2326
  private formatYmd;
2313
2327
  }
2314
2328
 
2315
- export { type Account, type AccountReturn, type AccountStatus, type AccountVerificationStatus, type AchievementPointsHistoryRecord, type AchievementPointsHistoryRecordInput, type AchievementPointsHistoryRecordReturn, type AchievementSettings, type AchievementSettingsResponse, type AchievementSettingsReturn, type AchievementType, type ActivityRecord, type ActivityRecordType, type ActivityRecordsInput, type ActivityRecordsReturn, type Agent, type AiOGCashDeposit, type AiOGrabPayDeposit, type AiOPalawanPayDeposit, type AiOPayMayaDeposit, type Announcement, type AnnouncementStatus, type AnnouncementType, type AnnouncementsInput, type AnnouncementsReturn, type AuthenticateError, type AuthenticateInput, type AuthenticateReturn, type Authenticator, type AvailablePromosReturn, type AvailableQuestsReturn, type Bank, type BankDeposit, type BankWithdrawalRecord, type BetRecord, type BetRecordStatus, type BetRecordsInput, type BetRecordsReturn, type Bonus, type BonusReturn, type BonusesReturn, type CabinetSignInInput, type CabinetSignInReturn, type CabinetSiteMachine, type CabinetSiteMachineReturn, type CabinetSiteMachineStatus, type CabinetWithdrawalRecord, type CabinetWithdrawalReturn, type Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CellxpertDetails, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRewardError, type ClaimRewardReturn, type ClaimSpotBonusReturn, type CompleteOnboardingInput, type CompleteOnboardingReturn, type CompoundField, type CreateAIOInstapayWithdrawalInput, type CreateAIOInstapayWithdrawalInput_Next, type CreateAIOOnlineBankDepositInput, type CreateAIOQRPHDepositInput, type CreateAccountError, type CreateAccountInput, type CreateAccountInput__Next, type CreateAccountReturn, type CreateAiOGCashDepositInput, type CreateAiOGrabPayDepositInput, type CreateAiOPalawanPayDepositInput, type CreateAiOPayMayaDepositInput, type CreateBankWithdrawalInput, type CreateCabinetWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashStandardCashInWithdrawalInput, type CreateGCashWebpayDepositInput, type CreateGCashWithdrawalInput, type CreateGameSessionByIdInput, type CreateGameSessionByReferenceInput, type CreateGameSessionError, type CreateGameSessionInput, type CreateGameSessionReturn, type CreateManualBankDepositInput, type CreateManualBankWithdrawalInput, type CreateManualUPIDepositInput, type CreateManualUPIWithdrawalInput, type CreateMayaAppDepositInput, type CreateMayaAppWithdrawalInput, type CreateMayaDepositInput, type CreateMayaWebpayDepositInput, type CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenInput, type CreateSingleUseTokenReturn, type CreateTestDepositInput, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type FreeBetDropStatus, type FreeBetDrops, type FreeBetDropsInput, type FreeBetDropsReturn, type GCashDeposit, type GCashWithdrawalRecord, type Game, type GameProvider, type GameReturn, type GameSession, type GameSessionLaunchOptions, type GameSessionReturn, type GameSessionStatus, type GameTag, type GameType, type GamesInput, type GamesInput__Next, type GamesReturn, type GatewaySettings, type GcashWebpayDeposit, type GeneralMemberLevelSettings, type GeneralMemberLevelSettingsReturn, type GoogleClientIdReturn, type HttpError, type ImageField, type InstapayBank, type InstapayBankListReturn, type InstapayBankType, type InstapayWithdrawalRecord, type Jackpot, type JackpotPayout, type JackpotPayoutsInput, type JackpotPayoutsReturn, type JackpotStatus, type JackpotsIdsInput, type JackpotsIdsReturn, type JackpotsInput, type JackpotsReturn, type JourneyQuestMilestone, type JourneyQuestMilestoneType, type KnownDepositError, type LatestBetRecord, type LatestBetRecordsReturn, type Locale, type LoginChannel, type ManualBankDeposit, type ManualBankWithdrawalRecord, type ManualDeposit, type ManualUPIDeposit, type ManualUPIWithdrawalRecord, type ManualWithdrawalRecord, type MarkAllMessagesAsReadReturn, type MarkGameAsFavoriteInput, type MarkGameAsFavoriteReturn, type MarkMessageAsReadReturn, type MayaAppDeposit, type MayaDeposit, type MayaSignInInput, type MayaSignInReturn, type MayaWithdrawalRecord, type MemberAchievement, type MemberAchievementReturn, type MemberFreeBetDrop, type MemberFreeBetDropBetRecord, type MemberFreeBetDropsInput, type MemberFreeBetDropsReturn, type MemberLevelSetting, type MemberLevelSettings, type MemberLevelSettingsReturn, type MemberStatus, type MemberVerificationRequest, type MemberVerificationRequestAutomaticApprovalEnabledReturn, type MemberVerificationRequestReturn, type MemberVerificationRequestStatus, type MemberWithCellxpertDetails, type MemberWithCellxpertDetailsReturn, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, type MobileNumberCreateAccountInput__next, type MobileNumberInrCreateAccountInput, type MobileNumberSignInInput, type MobileNumberSignInReturn, type MultiSelectField, type NameAndPasswordCreateAccountInput, type NameAndPasswordSignInInput, type NameAndPasswordSignInReturn, type NameCreateAccountInput, ObjectType, type OnboardingPlayerExperience, type OnboardingStatus, type OnboardingStatusReturn, type OnlineBankDeposit, type OperationError, type OperationResult, type PaymentSettings, type PaymentSettingsReturn, type Platform, type PlatformReturn, type PlatformReturn__Next, type Platform__Next, type PointsClubSettings, type PointsClubSettingsReturn, type PointsWallet, type PointsWalletReturn, type PointsWalletTransaction, type PointsWalletTransactionType, type PointsWalletTransactionsInput, type PointsWalletTransactionsReturn, type ProfileCompletion, type ProfileCompletionReturn, type Promo, type PromoByCodeReturn, type PromoFilterInput, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type RedeemVoucherInput, type RedeemVoucherReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterAgentAccountError, type RegisterAgentAccountInput, type RegisterAgentAccountReturn, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, type RequireFirstDepositReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type SubmitMemberVerificationRequestBasicDetailsInput, type SubmitMemberVerificationRequestBasicDetailsReturn, type SubmitMemberVerificationRequestImageDetailsInput, type SubmitMemberVerificationRequestImageDetailsReturn, type SubmitMemberVerificationRequestPersonalDetailsInput, type SubmitMemberVerificationRequestPersonalDetailsReturn, type SubmitMemberVerificationReturn, type SubmitVerificationDetailsInput, type SubmitVerificationDetailsInputNext, type SubmitVerificationDetailsReturn, type SubmitVerificationError, type TextField, type ToggleField, type TokenSignInInput, type TokenSignInReturn, type TopWin, type TopWinsReturn, type TouchDepositInput, type TouchDepositReturn, type Tournament, type TournamentFrequency, type TournamentLeaderboard, type TournamentMode, type TournamentPayout, type TournamentStatus, type TournamentType, type TournamentsIdsInput, type TournamentsIdsReturn, type TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type VoucherType, type WageringQuestStage, type WageringQuestStageSettings, type Wallet, type WalletGame, type WalletGameInput, type WalletGamesReturn, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType, type _JackpotsInput, type _JackpotsReturn };
2329
+ export { type Account, type AccountReturn, type AccountStatus, type AccountVerificationStatus, type AchievementPointsHistoryRecord, type AchievementPointsHistoryRecordInput, type AchievementPointsHistoryRecordReturn, type AchievementSettings, type AchievementSettingsResponse, type AchievementSettingsReturn, type AchievementType, type ActivityRecord, type ActivityRecordType, type ActivityRecordsInput, type ActivityRecordsReturn, type Agent, type AiOGCashDeposit, type AiOGrabPayDeposit, type AiOPalawanPayDeposit, type AiOPayMayaDeposit, type Announcement, type AnnouncementStatus, type AnnouncementType, type AnnouncementsInput, type AnnouncementsReturn, type AuthenticateError, type AuthenticateInput, type AuthenticateReturn, type Authenticator, type AvailablePromosReturn, type AvailableQuestsReturn, type Bank, type BankDeposit, type BankWithdrawalRecord, type BetRecord, type BetRecordStatus, type BetRecordsInput, type BetRecordsReturn, type Bonus, type BonusReturn, type BonusesReturn, type CabinetSignInInput, type CabinetSignInReturn, type CabinetSiteMachine, type CabinetSiteMachineReturn, type CabinetSiteMachineStatus, type CabinetWithdrawalRecord, type CabinetWithdrawalReturn, type Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CellxpertDetails, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRewardError, type ClaimRewardReturn, type ClaimSpotBonusReturn, type CompleteOnboardingInput, type CompleteOnboardingReturn, type CompoundField, type CreateAIOInstapayWithdrawalInput, type CreateAIOInstapayWithdrawalInput_Next, type CreateAIOOnlineBankDepositInput, type CreateAIOQRPHDepositInput, type CreateAccountError, type CreateAccountInput, type CreateAccountInput__Next, type CreateAccountReturn, type CreateAiOGCashDepositInput, type CreateAiOGrabPayDepositInput, type CreateAiOPalawanPayDepositInput, type CreateAiOPayMayaDepositInput, type CreateBankWithdrawalInput, type CreateCabinetWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashStandardCashInWithdrawalInput, type CreateGCashWebpayDepositInput, type CreateGCashWithdrawalInput, type CreateGameSessionByIdInput, type CreateGameSessionByReferenceInput, type CreateGameSessionError, type CreateGameSessionInput, type CreateGameSessionReturn, type CreateManualBankDepositInput, type CreateManualBankWithdrawalInput, type CreateManualUPIDepositInput, type CreateManualUPIWithdrawalInput, type CreateMayaAppDepositInput, type CreateMayaAppWithdrawalInput, type CreateMayaDepositInput, type CreateMayaWebpayDepositInput, type CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenInput, type CreateSingleUseTokenReturn, type CreateTestDepositInput, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type FreeBetDropStatus, type FreeBetDrops, type FreeBetDropsInput, type FreeBetDropsReturn, type GCashDeposit, type GCashWithdrawalRecord, type Game, type GameProvider, type GameReturn, type GameSession, type GameSessionLaunchOptions, type GameSessionReturn, type GameSessionStatus, type GameTag, type GameType, type GamesInput, type GamesInput__Next, type GamesReturn, type GatewaySettings, type GcashWebpayDeposit, type GeneralMemberLevelSettings, type GeneralMemberLevelSettingsReturn, type GigRewardsQuestDetails, type GoogleClientIdReturn, type HttpError, type ImageField, type InstapayBank, type InstapayBankListReturn, type InstapayBankType, type InstapayWithdrawalRecord, type Jackpot, type JackpotPayout, type JackpotPayoutsInput, type JackpotPayoutsReturn, type JackpotStatus, type JackpotsIdsInput, type JackpotsIdsReturn, type JackpotsInput, type JackpotsReturn, type JourneyQuestMilestone, type JourneyQuestMilestoneType, type KnownDepositError, type LatestBetRecord, type LatestBetRecordsReturn, type Locale, type LoginChannel, type ManualBankDeposit, type ManualBankWithdrawalRecord, type ManualDeposit, type ManualUPIDeposit, type ManualUPIWithdrawalRecord, type ManualWithdrawalRecord, type MarkAllMessagesAsReadReturn, type MarkGameAsFavoriteInput, type MarkGameAsFavoriteReturn, type MarkMessageAsReadReturn, type MayaAppDeposit, type MayaDeposit, type MayaSignInInput, type MayaSignInReturn, type MayaWithdrawalRecord, type MemberAchievement, type MemberAchievementReturn, type MemberFreeBetDrop, type MemberFreeBetDropBetRecord, type MemberFreeBetDropsInput, type MemberFreeBetDropsReturn, type MemberLevelSetting, type MemberLevelSettings, type MemberLevelSettingsReturn, type MemberStatus, type MemberVerificationRequest, type MemberVerificationRequestAutomaticApprovalEnabledReturn, type MemberVerificationRequestReturn, type MemberVerificationRequestStatus, type MemberWithCellxpertDetails, type MemberWithCellxpertDetailsReturn, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, type MobileNumberCreateAccountInput__next, type MobileNumberInrCreateAccountInput, type MobileNumberSignInInput, type MobileNumberSignInReturn, type MultiSelectField, type NameAndPasswordCreateAccountInput, type NameAndPasswordSignInInput, type NameAndPasswordSignInReturn, type NameCreateAccountInput, ObjectType, type OnboardingPlayerExperience, type OnboardingStatus, type OnboardingStatusReturn, type OnlineBankDeposit, type OperationError, type OperationResult, type PaymentSettings, type PaymentSettingsReturn, type Platform, type PlatformReturn, type PlatformReturn__Next, type Platform__Next, type PointsClubSettings, type PointsClubSettingsReturn, type PointsWallet, type PointsWalletReturn, type PointsWalletTransaction, type PointsWalletTransactionType, type PointsWalletTransactionsInput, type PointsWalletTransactionsReturn, type ProfileCompletion, type ProfileCompletionReturn, type Promo, type PromoByCodeReturn, type PromoFilterInput, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type RedeemVoucherInput, type RedeemVoucherReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterAgentAccountError, type RegisterAgentAccountInput, type RegisterAgentAccountReturn, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, type RequireFirstDepositReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type SubmitMemberVerificationRequestBasicDetailsInput, type SubmitMemberVerificationRequestBasicDetailsReturn, type SubmitMemberVerificationRequestImageDetailsInput, type SubmitMemberVerificationRequestImageDetailsReturn, type SubmitMemberVerificationRequestPersonalDetailsInput, type SubmitMemberVerificationRequestPersonalDetailsReturn, type SubmitMemberVerificationReturn, type SubmitVerificationDetailsInput, type SubmitVerificationDetailsInputNext, type SubmitVerificationDetailsReturn, type SubmitVerificationError, type TextField, type ToggleField, type TokenSignInInput, type TokenSignInReturn, type TopWin, type TopWinsReturn, type TouchDepositInput, type TouchDepositReturn, type Tournament, type TournamentFrequency, type TournamentLeaderboard, type TournamentMode, type TournamentPayout, type TournamentStatus, type TournamentType, type TournamentsIdsInput, type TournamentsIdsReturn, type TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type VoucherType, type WageringQuestStage, type WageringQuestStageSettings, type Wallet, type WalletGame, type WalletGameInput, type WalletGamesReturn, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType, type _JackpotsInput, type _JackpotsReturn };
package/dist/index.d.ts CHANGED
@@ -639,6 +639,9 @@ type AccountVerificationStatus = MemberAccountVerificationStatus;
639
639
  interface Agent {
640
640
  code: string;
641
641
  }
642
+ interface GigRewardsQuestDetails {
643
+ gigUserId: string;
644
+ }
642
645
  interface Account {
643
646
  id: string;
644
647
  name: string;
@@ -674,6 +677,7 @@ interface Account {
674
677
  level: number;
675
678
  partition?: number | null;
676
679
  dateTimeLastActive?: Date;
680
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
677
681
  }
678
682
  type AccountReturn = OperationResult<never, Account>;
679
683
  interface CellxpertDetails {
@@ -719,6 +723,7 @@ interface CreateAccountInput {
719
723
  referralCode?: string;
720
724
  verificationCode?: string;
721
725
  reCAPTCHAResponse?: string;
726
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
722
727
  }
723
728
  interface NameAndPasswordCreateAccountInput {
724
729
  type: 'NAME_AND_PASSWORD';
@@ -729,6 +734,7 @@ interface NameAndPasswordCreateAccountInput {
729
734
  btag?: string;
730
735
  domain?: string;
731
736
  reCAPTCHAResponse?: string;
737
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
732
738
  }
733
739
  interface MobileNumberCreateAccountInput {
734
740
  type: 'MOBILE_NUMBER';
@@ -744,6 +750,7 @@ interface MobileNumberCreateAccountInput {
744
750
  verificationCode?: string;
745
751
  reCAPTCHAResponse?: string;
746
752
  testPass?: string;
753
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
747
754
  }
748
755
  interface MobileNumberInrCreateAccountInput {
749
756
  type: 'MOBILE_NUMBER_INR';
@@ -758,6 +765,7 @@ interface MobileNumberInrCreateAccountInput {
758
765
  verificationCode?: string;
759
766
  reCAPTCHAResponse?: string;
760
767
  testPass?: boolean;
768
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
761
769
  }
762
770
  interface NameCreateAccountInput {
763
771
  type: 'NAME';
@@ -765,6 +773,7 @@ interface NameCreateAccountInput {
765
773
  name: string;
766
774
  password: string;
767
775
  reCAPTCHAResponse?: string;
776
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
768
777
  }
769
778
  interface MobileNumberCreateAccountInput__next {
770
779
  type: 'MOBILE_NUMBER[NEXT]';
@@ -777,6 +786,7 @@ interface MobileNumberCreateAccountInput__next {
777
786
  reCAPTCHAResponse?: string;
778
787
  testPass?: boolean;
779
788
  fingerprint?: string;
789
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
780
790
  }
781
791
  type CreateAccountInput__Next = NameAndPasswordCreateAccountInput | MobileNumberCreateAccountInput | MobileNumberCreateAccountInput__next | MobileNumberInrCreateAccountInput | NameCreateAccountInput;
782
792
  type CreateAccountError = UnionAlias<RegisterMemberAccountError>;
@@ -816,6 +826,7 @@ interface UpdateAccountInput {
816
826
  secretAnswer?: string;
817
827
  dateOfBirth?: Date | string;
818
828
  branchCode?: string;
829
+ gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
819
830
  }
820
831
  type UpdateAccountError = UnionAlias<UpdateMemberAccountError>;
821
832
  type UpdateAccountReturn = OperationResult<UpdateAccountError>;
@@ -2167,6 +2178,8 @@ declare class Sdk {
2167
2178
  get marketDomain(): string | null;
2168
2179
  set adClickId(value: string | null);
2169
2180
  get adClickId(): string | null;
2181
+ set fbp(value: string | null);
2182
+ get fbp(): string | null;
2170
2183
  set cxd(value: string | null);
2171
2184
  get cxd(): string | null;
2172
2185
  private get locale();
@@ -2174,6 +2187,7 @@ declare class Sdk {
2174
2187
  private get fingerprintMiddleware();
2175
2188
  fingerprint(): Promise<string | null>;
2176
2189
  private get miscMiddleware();
2190
+ collectMetaDetails(): void;
2177
2191
  signIn(input: NameAndPasswordSignInInput): Promise<NameAndPasswordSignInReturn>;
2178
2192
  signIn(input: MobileNumberSignInInput): Promise<MobileNumberSignInReturn>;
2179
2193
  signIn(input: MayaSignInInput): Promise<MayaSignInReturn>;
@@ -2312,4 +2326,4 @@ declare class Sdk {
2312
2326
  private formatYmd;
2313
2327
  }
2314
2328
 
2315
- export { type Account, type AccountReturn, type AccountStatus, type AccountVerificationStatus, type AchievementPointsHistoryRecord, type AchievementPointsHistoryRecordInput, type AchievementPointsHistoryRecordReturn, type AchievementSettings, type AchievementSettingsResponse, type AchievementSettingsReturn, type AchievementType, type ActivityRecord, type ActivityRecordType, type ActivityRecordsInput, type ActivityRecordsReturn, type Agent, type AiOGCashDeposit, type AiOGrabPayDeposit, type AiOPalawanPayDeposit, type AiOPayMayaDeposit, type Announcement, type AnnouncementStatus, type AnnouncementType, type AnnouncementsInput, type AnnouncementsReturn, type AuthenticateError, type AuthenticateInput, type AuthenticateReturn, type Authenticator, type AvailablePromosReturn, type AvailableQuestsReturn, type Bank, type BankDeposit, type BankWithdrawalRecord, type BetRecord, type BetRecordStatus, type BetRecordsInput, type BetRecordsReturn, type Bonus, type BonusReturn, type BonusesReturn, type CabinetSignInInput, type CabinetSignInReturn, type CabinetSiteMachine, type CabinetSiteMachineReturn, type CabinetSiteMachineStatus, type CabinetWithdrawalRecord, type CabinetWithdrawalReturn, type Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CellxpertDetails, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRewardError, type ClaimRewardReturn, type ClaimSpotBonusReturn, type CompleteOnboardingInput, type CompleteOnboardingReturn, type CompoundField, type CreateAIOInstapayWithdrawalInput, type CreateAIOInstapayWithdrawalInput_Next, type CreateAIOOnlineBankDepositInput, type CreateAIOQRPHDepositInput, type CreateAccountError, type CreateAccountInput, type CreateAccountInput__Next, type CreateAccountReturn, type CreateAiOGCashDepositInput, type CreateAiOGrabPayDepositInput, type CreateAiOPalawanPayDepositInput, type CreateAiOPayMayaDepositInput, type CreateBankWithdrawalInput, type CreateCabinetWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashStandardCashInWithdrawalInput, type CreateGCashWebpayDepositInput, type CreateGCashWithdrawalInput, type CreateGameSessionByIdInput, type CreateGameSessionByReferenceInput, type CreateGameSessionError, type CreateGameSessionInput, type CreateGameSessionReturn, type CreateManualBankDepositInput, type CreateManualBankWithdrawalInput, type CreateManualUPIDepositInput, type CreateManualUPIWithdrawalInput, type CreateMayaAppDepositInput, type CreateMayaAppWithdrawalInput, type CreateMayaDepositInput, type CreateMayaWebpayDepositInput, type CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenInput, type CreateSingleUseTokenReturn, type CreateTestDepositInput, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type FreeBetDropStatus, type FreeBetDrops, type FreeBetDropsInput, type FreeBetDropsReturn, type GCashDeposit, type GCashWithdrawalRecord, type Game, type GameProvider, type GameReturn, type GameSession, type GameSessionLaunchOptions, type GameSessionReturn, type GameSessionStatus, type GameTag, type GameType, type GamesInput, type GamesInput__Next, type GamesReturn, type GatewaySettings, type GcashWebpayDeposit, type GeneralMemberLevelSettings, type GeneralMemberLevelSettingsReturn, type GoogleClientIdReturn, type HttpError, type ImageField, type InstapayBank, type InstapayBankListReturn, type InstapayBankType, type InstapayWithdrawalRecord, type Jackpot, type JackpotPayout, type JackpotPayoutsInput, type JackpotPayoutsReturn, type JackpotStatus, type JackpotsIdsInput, type JackpotsIdsReturn, type JackpotsInput, type JackpotsReturn, type JourneyQuestMilestone, type JourneyQuestMilestoneType, type KnownDepositError, type LatestBetRecord, type LatestBetRecordsReturn, type Locale, type LoginChannel, type ManualBankDeposit, type ManualBankWithdrawalRecord, type ManualDeposit, type ManualUPIDeposit, type ManualUPIWithdrawalRecord, type ManualWithdrawalRecord, type MarkAllMessagesAsReadReturn, type MarkGameAsFavoriteInput, type MarkGameAsFavoriteReturn, type MarkMessageAsReadReturn, type MayaAppDeposit, type MayaDeposit, type MayaSignInInput, type MayaSignInReturn, type MayaWithdrawalRecord, type MemberAchievement, type MemberAchievementReturn, type MemberFreeBetDrop, type MemberFreeBetDropBetRecord, type MemberFreeBetDropsInput, type MemberFreeBetDropsReturn, type MemberLevelSetting, type MemberLevelSettings, type MemberLevelSettingsReturn, type MemberStatus, type MemberVerificationRequest, type MemberVerificationRequestAutomaticApprovalEnabledReturn, type MemberVerificationRequestReturn, type MemberVerificationRequestStatus, type MemberWithCellxpertDetails, type MemberWithCellxpertDetailsReturn, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, type MobileNumberCreateAccountInput__next, type MobileNumberInrCreateAccountInput, type MobileNumberSignInInput, type MobileNumberSignInReturn, type MultiSelectField, type NameAndPasswordCreateAccountInput, type NameAndPasswordSignInInput, type NameAndPasswordSignInReturn, type NameCreateAccountInput, ObjectType, type OnboardingPlayerExperience, type OnboardingStatus, type OnboardingStatusReturn, type OnlineBankDeposit, type OperationError, type OperationResult, type PaymentSettings, type PaymentSettingsReturn, type Platform, type PlatformReturn, type PlatformReturn__Next, type Platform__Next, type PointsClubSettings, type PointsClubSettingsReturn, type PointsWallet, type PointsWalletReturn, type PointsWalletTransaction, type PointsWalletTransactionType, type PointsWalletTransactionsInput, type PointsWalletTransactionsReturn, type ProfileCompletion, type ProfileCompletionReturn, type Promo, type PromoByCodeReturn, type PromoFilterInput, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type RedeemVoucherInput, type RedeemVoucherReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterAgentAccountError, type RegisterAgentAccountInput, type RegisterAgentAccountReturn, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, type RequireFirstDepositReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type SubmitMemberVerificationRequestBasicDetailsInput, type SubmitMemberVerificationRequestBasicDetailsReturn, type SubmitMemberVerificationRequestImageDetailsInput, type SubmitMemberVerificationRequestImageDetailsReturn, type SubmitMemberVerificationRequestPersonalDetailsInput, type SubmitMemberVerificationRequestPersonalDetailsReturn, type SubmitMemberVerificationReturn, type SubmitVerificationDetailsInput, type SubmitVerificationDetailsInputNext, type SubmitVerificationDetailsReturn, type SubmitVerificationError, type TextField, type ToggleField, type TokenSignInInput, type TokenSignInReturn, type TopWin, type TopWinsReturn, type TouchDepositInput, type TouchDepositReturn, type Tournament, type TournamentFrequency, type TournamentLeaderboard, type TournamentMode, type TournamentPayout, type TournamentStatus, type TournamentType, type TournamentsIdsInput, type TournamentsIdsReturn, type TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type VoucherType, type WageringQuestStage, type WageringQuestStageSettings, type Wallet, type WalletGame, type WalletGameInput, type WalletGamesReturn, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType, type _JackpotsInput, type _JackpotsReturn };
2329
+ export { type Account, type AccountReturn, type AccountStatus, type AccountVerificationStatus, type AchievementPointsHistoryRecord, type AchievementPointsHistoryRecordInput, type AchievementPointsHistoryRecordReturn, type AchievementSettings, type AchievementSettingsResponse, type AchievementSettingsReturn, type AchievementType, type ActivityRecord, type ActivityRecordType, type ActivityRecordsInput, type ActivityRecordsReturn, type Agent, type AiOGCashDeposit, type AiOGrabPayDeposit, type AiOPalawanPayDeposit, type AiOPayMayaDeposit, type Announcement, type AnnouncementStatus, type AnnouncementType, type AnnouncementsInput, type AnnouncementsReturn, type AuthenticateError, type AuthenticateInput, type AuthenticateReturn, type Authenticator, type AvailablePromosReturn, type AvailableQuestsReturn, type Bank, type BankDeposit, type BankWithdrawalRecord, type BetRecord, type BetRecordStatus, type BetRecordsInput, type BetRecordsReturn, type Bonus, type BonusReturn, type BonusesReturn, type CabinetSignInInput, type CabinetSignInReturn, type CabinetSiteMachine, type CabinetSiteMachineReturn, type CabinetSiteMachineStatus, type CabinetWithdrawalRecord, type CabinetWithdrawalReturn, type Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CellxpertDetails, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRewardError, type ClaimRewardReturn, type ClaimSpotBonusReturn, type CompleteOnboardingInput, type CompleteOnboardingReturn, type CompoundField, type CreateAIOInstapayWithdrawalInput, type CreateAIOInstapayWithdrawalInput_Next, type CreateAIOOnlineBankDepositInput, type CreateAIOQRPHDepositInput, type CreateAccountError, type CreateAccountInput, type CreateAccountInput__Next, type CreateAccountReturn, type CreateAiOGCashDepositInput, type CreateAiOGrabPayDepositInput, type CreateAiOPalawanPayDepositInput, type CreateAiOPayMayaDepositInput, type CreateBankWithdrawalInput, type CreateCabinetWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashStandardCashInWithdrawalInput, type CreateGCashWebpayDepositInput, type CreateGCashWithdrawalInput, type CreateGameSessionByIdInput, type CreateGameSessionByReferenceInput, type CreateGameSessionError, type CreateGameSessionInput, type CreateGameSessionReturn, type CreateManualBankDepositInput, type CreateManualBankWithdrawalInput, type CreateManualUPIDepositInput, type CreateManualUPIWithdrawalInput, type CreateMayaAppDepositInput, type CreateMayaAppWithdrawalInput, type CreateMayaDepositInput, type CreateMayaWebpayDepositInput, type CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenInput, type CreateSingleUseTokenReturn, type CreateTestDepositInput, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type FreeBetDropStatus, type FreeBetDrops, type FreeBetDropsInput, type FreeBetDropsReturn, type GCashDeposit, type GCashWithdrawalRecord, type Game, type GameProvider, type GameReturn, type GameSession, type GameSessionLaunchOptions, type GameSessionReturn, type GameSessionStatus, type GameTag, type GameType, type GamesInput, type GamesInput__Next, type GamesReturn, type GatewaySettings, type GcashWebpayDeposit, type GeneralMemberLevelSettings, type GeneralMemberLevelSettingsReturn, type GigRewardsQuestDetails, type GoogleClientIdReturn, type HttpError, type ImageField, type InstapayBank, type InstapayBankListReturn, type InstapayBankType, type InstapayWithdrawalRecord, type Jackpot, type JackpotPayout, type JackpotPayoutsInput, type JackpotPayoutsReturn, type JackpotStatus, type JackpotsIdsInput, type JackpotsIdsReturn, type JackpotsInput, type JackpotsReturn, type JourneyQuestMilestone, type JourneyQuestMilestoneType, type KnownDepositError, type LatestBetRecord, type LatestBetRecordsReturn, type Locale, type LoginChannel, type ManualBankDeposit, type ManualBankWithdrawalRecord, type ManualDeposit, type ManualUPIDeposit, type ManualUPIWithdrawalRecord, type ManualWithdrawalRecord, type MarkAllMessagesAsReadReturn, type MarkGameAsFavoriteInput, type MarkGameAsFavoriteReturn, type MarkMessageAsReadReturn, type MayaAppDeposit, type MayaDeposit, type MayaSignInInput, type MayaSignInReturn, type MayaWithdrawalRecord, type MemberAchievement, type MemberAchievementReturn, type MemberFreeBetDrop, type MemberFreeBetDropBetRecord, type MemberFreeBetDropsInput, type MemberFreeBetDropsReturn, type MemberLevelSetting, type MemberLevelSettings, type MemberLevelSettingsReturn, type MemberStatus, type MemberVerificationRequest, type MemberVerificationRequestAutomaticApprovalEnabledReturn, type MemberVerificationRequestReturn, type MemberVerificationRequestStatus, type MemberWithCellxpertDetails, type MemberWithCellxpertDetailsReturn, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, type MobileNumberCreateAccountInput__next, type MobileNumberInrCreateAccountInput, type MobileNumberSignInInput, type MobileNumberSignInReturn, type MultiSelectField, type NameAndPasswordCreateAccountInput, type NameAndPasswordSignInInput, type NameAndPasswordSignInReturn, type NameCreateAccountInput, ObjectType, type OnboardingPlayerExperience, type OnboardingStatus, type OnboardingStatusReturn, type OnlineBankDeposit, type OperationError, type OperationResult, type PaymentSettings, type PaymentSettingsReturn, type Platform, type PlatformReturn, type PlatformReturn__Next, type Platform__Next, type PointsClubSettings, type PointsClubSettingsReturn, type PointsWallet, type PointsWalletReturn, type PointsWalletTransaction, type PointsWalletTransactionType, type PointsWalletTransactionsInput, type PointsWalletTransactionsReturn, type ProfileCompletion, type ProfileCompletionReturn, type Promo, type PromoByCodeReturn, type PromoFilterInput, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type RedeemVoucherInput, type RedeemVoucherReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterAgentAccountError, type RegisterAgentAccountInput, type RegisterAgentAccountReturn, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, type RequireFirstDepositReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type SubmitMemberVerificationRequestBasicDetailsInput, type SubmitMemberVerificationRequestBasicDetailsReturn, type SubmitMemberVerificationRequestImageDetailsInput, type SubmitMemberVerificationRequestImageDetailsReturn, type SubmitMemberVerificationRequestPersonalDetailsInput, type SubmitMemberVerificationRequestPersonalDetailsReturn, type SubmitMemberVerificationReturn, type SubmitVerificationDetailsInput, type SubmitVerificationDetailsInputNext, type SubmitVerificationDetailsReturn, type SubmitVerificationError, type TextField, type ToggleField, type TokenSignInInput, type TokenSignInReturn, type TopWin, type TopWinsReturn, type TouchDepositInput, type TouchDepositReturn, type Tournament, type TournamentFrequency, type TournamentLeaderboard, type TournamentMode, type TournamentPayout, type TournamentStatus, type TournamentType, type TournamentsIdsInput, type TournamentsIdsReturn, type TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type VoucherType, type WageringQuestStage, type WageringQuestStageSettings, type Wallet, type WalletGame, type WalletGameInput, type WalletGamesReturn, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType, type _JackpotsInput, type _JackpotsReturn };
package/dist/index.js CHANGED
@@ -1637,6 +1637,9 @@ var MEMBER_ACCOUNT_QUERY_DEVELOPMENT = gql`
1637
1637
  agent {
1638
1638
  code
1639
1639
  }
1640
+ gigRewardsQuestDetails {
1641
+ gigUserId
1642
+ }
1640
1643
  }
1641
1644
  }
1642
1645
  }
@@ -1673,7 +1676,6 @@ var MEMBER_ACCOUNT_QUERY = gql`
1673
1676
  dateTimeLastUpdated
1674
1677
  domain
1675
1678
  branchCode
1676
-
1677
1679
  }
1678
1680
  }
1679
1681
  }
@@ -6137,6 +6139,7 @@ function subMinutes(date, minutes) {
6137
6139
 
6138
6140
  // src/sdk/ad-manager.ts
6139
6141
  var AD_CLICK_ID_STORAGE_KEY = "sdk/ad-click-id";
6142
+ var FBP_STORAGE_KEY = "sdk/fbp";
6140
6143
  var AdManager = class {
6141
6144
  logger;
6142
6145
  constructor(config) {
@@ -6181,6 +6184,45 @@ var AdManager = class {
6181
6184
  return null;
6182
6185
  }
6183
6186
  }
6187
+ set fbp(value) {
6188
+ if (this.isServer) {
6189
+ this.logger.warn("'localStorage' is not available on the server.");
6190
+ return;
6191
+ }
6192
+ if (value === null) {
6193
+ localStorage.removeItem(FBP_STORAGE_KEY);
6194
+ return;
6195
+ }
6196
+ const n = /* @__PURE__ */ new Date();
6197
+ const o = JSON.stringify({
6198
+ value,
6199
+ expiresAt: subMinutes(addDays(n, 90), 2).getTime()
6200
+ });
6201
+ localStorage.setItem(FBP_STORAGE_KEY, o);
6202
+ }
6203
+ get fbp() {
6204
+ if (this.isServer) {
6205
+ this.logger.warn("'localStorage' is not available on the server.");
6206
+ return null;
6207
+ }
6208
+ const v = localStorage.getItem(FBP_STORAGE_KEY);
6209
+ if (!v) return null;
6210
+ try {
6211
+ const o = JSON.parse(v);
6212
+ if (!o.value) return null;
6213
+ if (!o.expiresAt) return null;
6214
+ const d = new Date(o.expiresAt);
6215
+ const n = /* @__PURE__ */ new Date();
6216
+ if (isAfter(n, d)) {
6217
+ localStorage.removeItem(FBP_STORAGE_KEY);
6218
+ return null;
6219
+ }
6220
+ return o.value;
6221
+ } catch {
6222
+ localStorage.removeItem(FBP_STORAGE_KEY);
6223
+ return null;
6224
+ }
6225
+ }
6184
6226
  get isServer() {
6185
6227
  return typeof window === "undefined";
6186
6228
  }
@@ -6243,6 +6285,15 @@ async function getFingerprint() {
6243
6285
  return null;
6244
6286
  }
6245
6287
  }
6288
+ function getCookie(name) {
6289
+ if (typeof document === "undefined") return null;
6290
+ const nameLenPlus = name.length + 1;
6291
+ return document.cookie.split(";").map((c) => c.trim()).filter((cookie) => {
6292
+ return cookie.substring(0, nameLenPlus) === `${name}=`;
6293
+ }).map((cookie) => {
6294
+ return decodeURIComponent(cookie.substring(nameLenPlus));
6295
+ })[0] || null;
6296
+ }
6246
6297
 
6247
6298
  // src/sdk/cellexpert-manager.ts
6248
6299
  var CXD_STORAGE_KEY = "sdk/cxd";
@@ -8006,7 +8057,8 @@ var Transformer = class {
8006
8057
  agent: data.agent ?? null,
8007
8058
  level: data.level ?? 0,
8008
8059
  dateTimeLastActive: data.dateTimeLastActive ? new Date(data.dateTimeLastActive) : void 0,
8009
- partition: data.partition
8060
+ partition: data.partition,
8061
+ gigRewardsQuestDetails: data.gigRewardsQuestDetails ?? void 0
8010
8062
  };
8011
8063
  return compact(o);
8012
8064
  }
@@ -8867,6 +8919,7 @@ var Sdk = class {
8867
8919
  sitePlatform,
8868
8920
  logs
8869
8921
  };
8922
+ this.collectMetaDetails();
8870
8923
  }
8871
8924
  _fetch = null;
8872
8925
  _middleware;
@@ -8948,6 +9001,12 @@ var Sdk = class {
8948
9001
  get adClickId() {
8949
9002
  return this.adManager.clickId;
8950
9003
  }
9004
+ set fbp(value) {
9005
+ this.adManager.fbp = value;
9006
+ }
9007
+ get fbp() {
9008
+ return this.adManager.fbp;
9009
+ }
8951
9010
  /*
8952
9011
  *=============================================
8953
9012
  * CXD
@@ -9016,18 +9075,30 @@ var Sdk = class {
9016
9075
  async fingerprint() {
9017
9076
  return await getFingerprint();
9018
9077
  }
9019
- /*
9020
- *=============================================
9021
- * MISCELLANEOUS MIDDLEWARE
9022
- *=============================================
9023
- */
9024
9078
  get miscMiddleware() {
9025
9079
  return async (request) => {
9026
9080
  const adClickId = this.adManager.clickId;
9027
9081
  if (adClickId) request.headers.set("Ad-Click-Id", adClickId);
9082
+ const fbp = this.adManager.fbp;
9083
+ if (fbp) request.headers.set("fbp", fbp);
9028
9084
  return request;
9029
9085
  };
9030
9086
  }
9087
+ collectMetaDetails() {
9088
+ if (typeof window === "undefined") return;
9089
+ const searchParams = new URLSearchParams(window.location.search);
9090
+ const fbclid = searchParams.get("fbclid");
9091
+ const fbc = getCookie("_fbc");
9092
+ const fbp = getCookie("_fbp");
9093
+ if (fbclid) {
9094
+ this.adClickId = fbclid;
9095
+ } else if (fbc) {
9096
+ this.adClickId = fbc.includes(".") ? fbc.split(".").pop() || fbc : fbc;
9097
+ }
9098
+ if (fbp) {
9099
+ this.fbp = fbp;
9100
+ }
9101
+ }
9031
9102
  async signIn(input) {
9032
9103
  if (input.type === "TOKEN") {
9033
9104
  console.warn(
@@ -9324,7 +9395,8 @@ var Sdk = class {
9324
9395
  domain: input.domain,
9325
9396
  birthDay: typeof input.dateOfBirth === "string" ? input.dateOfBirth : this.formatYmd(input.dateOfBirth),
9326
9397
  password: await sha256(input.password),
9327
- mobileNumber: addAreaCode(input.mobileNumber, await this.locale)
9398
+ mobileNumber: addAreaCode(input.mobileNumber, await this.locale),
9399
+ gigRewardsQuestDetails: input.gigRewardsQuestDetails
9328
9400
  },
9329
9401
  referralCode: input.referralCode,
9330
9402
  verificationCode: input.verificationCode,
@@ -9350,7 +9422,8 @@ var Sdk = class {
9350
9422
  agentCode: input.agentCode,
9351
9423
  ...this.cxd && {
9352
9424
  cellxpertCxd: this.cxd
9353
- }
9425
+ },
9426
+ gigRewardsQuestDetails: input.gigRewardsQuestDetails
9354
9427
  },
9355
9428
  referralCode: input.referralCode,
9356
9429
  verificationCode: input.verificationCode,
@@ -9369,7 +9442,8 @@ var Sdk = class {
9369
9442
  id,
9370
9443
  password: await sha256(input.password),
9371
9444
  realName: input.realName,
9372
- mobileNumber: addAreaCode(input.mobileNumber, await this.locale)
9445
+ mobileNumber: addAreaCode(input.mobileNumber, await this.locale),
9446
+ gigRewardsQuestDetails: input.gigRewardsQuestDetails
9373
9447
  },
9374
9448
  mobileNumberVerificationCode: input.mobileVerificationCode,
9375
9449
  testPass: input.testPass,
@@ -9389,7 +9463,8 @@ var Sdk = class {
9389
9463
  btag: input.btag,
9390
9464
  domain: input.domain,
9391
9465
  password: await sha256(input.password),
9392
- mobileNumber: input.mobileNumber ? addAreaCode(input.mobileNumber, await this.locale) : void 0
9466
+ mobileNumber: input.mobileNumber ? addAreaCode(input.mobileNumber, await this.locale) : void 0,
9467
+ gigRewardsQuestDetails: input.gigRewardsQuestDetails
9393
9468
  },
9394
9469
  reCAPTCHAResponse: input.reCAPTCHAResponse,
9395
9470
  ...this.marketDomain && {
@@ -9406,7 +9481,8 @@ var Sdk = class {
9406
9481
  mobileNumberVerificationCode: input.mobileNumberVerificationCode,
9407
9482
  emailAddress: input.emailAddress,
9408
9483
  branchCode: input.branchCode,
9409
- agentCode: input.agentCode
9484
+ agentCode: input.agentCode,
9485
+ gigRewardsQuestDetails: input.gigRewardsQuestDetails
9410
9486
  },
9411
9487
  testPass: input.testPass,
9412
9488
  reCAPTCHAResponse: input.reCAPTCHAResponse,
@@ -9423,7 +9499,8 @@ var Sdk = class {
9423
9499
  input: {
9424
9500
  id,
9425
9501
  name: input.name,
9426
- password: await sha256(input.password)
9502
+ password: await sha256(input.password),
9503
+ gigRewardsQuestDetails: input.gigRewardsQuestDetails
9427
9504
  },
9428
9505
  reCAPTCHAResponse: input.reCAPTCHAResponse,
9429
9506
  ...this.marketDomain && {
@@ -9468,6 +9545,7 @@ var Sdk = class {
9468
9545
  mobileNumber,
9469
9546
  secretAnswer,
9470
9547
  transactionPassword,
9548
+ gigRewardsQuestDetails,
9471
9549
  ...others
9472
9550
  } = input;
9473
9551
  return await this.accountService.updateMemberAccount({
@@ -9479,7 +9557,8 @@ var Sdk = class {
9479
9557
  transactionPassword: transactionPassword ? await sha256(transactionPassword) : void 0,
9480
9558
  mobileNumber: mobileNumber ? addAreaCode(mobileNumber, await this.locale) : void 0,
9481
9559
  secretAnswer: secretAnswer ? await sha256(secretAnswer) : void 0,
9482
- birthDay: dateOfBirth ? typeof dateOfBirth === "string" ? dateOfBirth : this.formatYmd(dateOfBirth) : void 0
9560
+ birthDay: dateOfBirth ? typeof dateOfBirth === "string" ? dateOfBirth : this.formatYmd(dateOfBirth) : void 0,
9561
+ gigRewardsQuestDetails
9483
9562
  }
9484
9563
  }
9485
9564
  });