@opexa/portal-sdk 0.59.29 → 0.59.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1634 -1634
- package/dist/index.cjs +145 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -1
- package/dist/index.d.ts +32 -1
- package/dist/index.js +145 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -709,6 +709,14 @@ interface Account {
|
|
|
709
709
|
dateTimeLastActive?: Date;
|
|
710
710
|
gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
|
|
711
711
|
bonusBlocked: boolean;
|
|
712
|
+
dailyBetLimit?: number;
|
|
713
|
+
monthlyBetLimit?: number;
|
|
714
|
+
dailyDepositLimit?: number;
|
|
715
|
+
monthlyDepositLimit?: number;
|
|
716
|
+
newDailyBetLimit?: number;
|
|
717
|
+
newMonthlyBetLimit?: number;
|
|
718
|
+
newDailyDepositLimit?: number;
|
|
719
|
+
newMonthlyDepositLimit?: number;
|
|
712
720
|
}
|
|
713
721
|
type AccountReturn = OperationResult<never, Account>;
|
|
714
722
|
interface CellxpertDetails {
|
|
@@ -862,6 +870,19 @@ interface UpdateAccountInput {
|
|
|
862
870
|
type UpdateAccountError = UnionAlias<UpdateMemberAccountError>;
|
|
863
871
|
type UpdateAccountReturn = OperationResult<UpdateAccountError>;
|
|
864
872
|
type DeleteAccountReturn = OperationResult;
|
|
873
|
+
interface UpdateDailyBetLimitInput {
|
|
874
|
+
dailyBetLimit: number;
|
|
875
|
+
}
|
|
876
|
+
interface UpdateMonthlyBetLimitInput {
|
|
877
|
+
monthlyBetLimit: number;
|
|
878
|
+
}
|
|
879
|
+
interface UpdateDailyDepositLimitInput {
|
|
880
|
+
dailyDepositLimit: number;
|
|
881
|
+
}
|
|
882
|
+
interface UpdateMonthlyDepositLimitInput {
|
|
883
|
+
monthlyDepositLimit: number;
|
|
884
|
+
}
|
|
885
|
+
type UpdateAccountLimitReturn = OperationResult;
|
|
865
886
|
interface ResetPasswordInput {
|
|
866
887
|
mobileNumber: string;
|
|
867
888
|
newPassword: string;
|
|
@@ -991,6 +1012,10 @@ interface MemberAchievement {
|
|
|
991
1012
|
type RebateStatus = UnionAlias<RebateStatus$1>;
|
|
992
1013
|
type RebateCursor = UnionAlias<RebateCursor$1>;
|
|
993
1014
|
type RebateType = UnionAlias<RebateType$1>;
|
|
1015
|
+
interface RebateSettingsPerMemberLevel {
|
|
1016
|
+
level: number;
|
|
1017
|
+
percentage: number;
|
|
1018
|
+
}
|
|
994
1019
|
interface RebateProgram {
|
|
995
1020
|
id: string;
|
|
996
1021
|
banner?: {
|
|
@@ -999,6 +1024,8 @@ interface RebateProgram {
|
|
|
999
1024
|
};
|
|
1000
1025
|
description: string;
|
|
1001
1026
|
name: string;
|
|
1027
|
+
rebatePercentage?: number;
|
|
1028
|
+
rebateSettingsPerMemberLevel?: RebateSettingsPerMemberLevel[];
|
|
1002
1029
|
type: RebateType;
|
|
1003
1030
|
dateTimeCreated?: Date;
|
|
1004
1031
|
}
|
|
@@ -2310,6 +2337,10 @@ declare class Sdk {
|
|
|
2310
2337
|
registerAgentAccount(input: RegisterAgentAccountInput, code?: string): Promise<RegisterAgentAccountReturn>;
|
|
2311
2338
|
updateAccount(id: string, input: UpdateAccountInput): Promise<UpdateAccountReturn>;
|
|
2312
2339
|
deleteAccount(id: string): Promise<DeleteAccountReturn>;
|
|
2340
|
+
updateDailyBetLimit(input: UpdateDailyBetLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2341
|
+
updateMonthlyBetLimit(input: UpdateMonthlyBetLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2342
|
+
updateDailyDepositLimit(input: UpdateDailyDepositLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2343
|
+
updateMonthlyDepositLimit(input: UpdateMonthlyDepositLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2313
2344
|
unlinkGoogle(id: string): Promise<DeleteAccountReturn>;
|
|
2314
2345
|
verificationDetails(): Promise<VerificationDetailsReturn>;
|
|
2315
2346
|
submitVerificationDetails(input: SubmitVerificationDetailsInput): Promise<SubmitVerificationDetailsReturn>;
|
|
@@ -2423,4 +2454,4 @@ declare class Sdk {
|
|
|
2423
2454
|
private formatYmd;
|
|
2424
2455
|
}
|
|
2425
2456
|
|
|
2426
|
-
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 CancelFreeBetDropInput, type CancelFreeBetDropReturn, type Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CellxpertDetails, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRebateError, type ClaimRebateReturn, 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 FirebaseCloudMessagingDeviceType, type FreeBetDrop, type FreeBetDropStatus, 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 LinkFirebaseCloudMessagingDeviceInput, type LinkFirebaseCloudMessagingDeviceReturn, 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 MemberRebatesInput, type MemberRebatesReturn, 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 Rebate, type RebateCursor, type RebateProgram, type RebateStatus, type RebateType, 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 UnlinkFirebaseCloudMessagingDeviceInput, type UnlinkFirebaseCloudMessagingDeviceReturn, 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 };
|
|
2457
|
+
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 CancelFreeBetDropInput, type CancelFreeBetDropReturn, type Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CellxpertDetails, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRebateError, type ClaimRebateReturn, 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 FirebaseCloudMessagingDeviceType, type FreeBetDrop, type FreeBetDropStatus, 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 LinkFirebaseCloudMessagingDeviceInput, type LinkFirebaseCloudMessagingDeviceReturn, 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 MemberRebatesInput, type MemberRebatesReturn, 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 Rebate, type RebateCursor, type RebateProgram, type RebateSettingsPerMemberLevel, type RebateStatus, type RebateType, 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 UnlinkFirebaseCloudMessagingDeviceInput, type UnlinkFirebaseCloudMessagingDeviceReturn, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountLimitReturn, type UpdateAccountReturn, type UpdateDailyBetLimitInput, type UpdateDailyDepositLimitInput, type UpdateMonthlyBetLimitInput, type UpdateMonthlyDepositLimitInput, 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
|
@@ -709,6 +709,14 @@ interface Account {
|
|
|
709
709
|
dateTimeLastActive?: Date;
|
|
710
710
|
gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
|
|
711
711
|
bonusBlocked: boolean;
|
|
712
|
+
dailyBetLimit?: number;
|
|
713
|
+
monthlyBetLimit?: number;
|
|
714
|
+
dailyDepositLimit?: number;
|
|
715
|
+
monthlyDepositLimit?: number;
|
|
716
|
+
newDailyBetLimit?: number;
|
|
717
|
+
newMonthlyBetLimit?: number;
|
|
718
|
+
newDailyDepositLimit?: number;
|
|
719
|
+
newMonthlyDepositLimit?: number;
|
|
712
720
|
}
|
|
713
721
|
type AccountReturn = OperationResult<never, Account>;
|
|
714
722
|
interface CellxpertDetails {
|
|
@@ -862,6 +870,19 @@ interface UpdateAccountInput {
|
|
|
862
870
|
type UpdateAccountError = UnionAlias<UpdateMemberAccountError>;
|
|
863
871
|
type UpdateAccountReturn = OperationResult<UpdateAccountError>;
|
|
864
872
|
type DeleteAccountReturn = OperationResult;
|
|
873
|
+
interface UpdateDailyBetLimitInput {
|
|
874
|
+
dailyBetLimit: number;
|
|
875
|
+
}
|
|
876
|
+
interface UpdateMonthlyBetLimitInput {
|
|
877
|
+
monthlyBetLimit: number;
|
|
878
|
+
}
|
|
879
|
+
interface UpdateDailyDepositLimitInput {
|
|
880
|
+
dailyDepositLimit: number;
|
|
881
|
+
}
|
|
882
|
+
interface UpdateMonthlyDepositLimitInput {
|
|
883
|
+
monthlyDepositLimit: number;
|
|
884
|
+
}
|
|
885
|
+
type UpdateAccountLimitReturn = OperationResult;
|
|
865
886
|
interface ResetPasswordInput {
|
|
866
887
|
mobileNumber: string;
|
|
867
888
|
newPassword: string;
|
|
@@ -991,6 +1012,10 @@ interface MemberAchievement {
|
|
|
991
1012
|
type RebateStatus = UnionAlias<RebateStatus$1>;
|
|
992
1013
|
type RebateCursor = UnionAlias<RebateCursor$1>;
|
|
993
1014
|
type RebateType = UnionAlias<RebateType$1>;
|
|
1015
|
+
interface RebateSettingsPerMemberLevel {
|
|
1016
|
+
level: number;
|
|
1017
|
+
percentage: number;
|
|
1018
|
+
}
|
|
994
1019
|
interface RebateProgram {
|
|
995
1020
|
id: string;
|
|
996
1021
|
banner?: {
|
|
@@ -999,6 +1024,8 @@ interface RebateProgram {
|
|
|
999
1024
|
};
|
|
1000
1025
|
description: string;
|
|
1001
1026
|
name: string;
|
|
1027
|
+
rebatePercentage?: number;
|
|
1028
|
+
rebateSettingsPerMemberLevel?: RebateSettingsPerMemberLevel[];
|
|
1002
1029
|
type: RebateType;
|
|
1003
1030
|
dateTimeCreated?: Date;
|
|
1004
1031
|
}
|
|
@@ -2310,6 +2337,10 @@ declare class Sdk {
|
|
|
2310
2337
|
registerAgentAccount(input: RegisterAgentAccountInput, code?: string): Promise<RegisterAgentAccountReturn>;
|
|
2311
2338
|
updateAccount(id: string, input: UpdateAccountInput): Promise<UpdateAccountReturn>;
|
|
2312
2339
|
deleteAccount(id: string): Promise<DeleteAccountReturn>;
|
|
2340
|
+
updateDailyBetLimit(input: UpdateDailyBetLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2341
|
+
updateMonthlyBetLimit(input: UpdateMonthlyBetLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2342
|
+
updateDailyDepositLimit(input: UpdateDailyDepositLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2343
|
+
updateMonthlyDepositLimit(input: UpdateMonthlyDepositLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2313
2344
|
unlinkGoogle(id: string): Promise<DeleteAccountReturn>;
|
|
2314
2345
|
verificationDetails(): Promise<VerificationDetailsReturn>;
|
|
2315
2346
|
submitVerificationDetails(input: SubmitVerificationDetailsInput): Promise<SubmitVerificationDetailsReturn>;
|
|
@@ -2423,4 +2454,4 @@ declare class Sdk {
|
|
|
2423
2454
|
private formatYmd;
|
|
2424
2455
|
}
|
|
2425
2456
|
|
|
2426
|
-
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 CancelFreeBetDropInput, type CancelFreeBetDropReturn, type Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CellxpertDetails, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRebateError, type ClaimRebateReturn, 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 FirebaseCloudMessagingDeviceType, type FreeBetDrop, type FreeBetDropStatus, 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 LinkFirebaseCloudMessagingDeviceInput, type LinkFirebaseCloudMessagingDeviceReturn, 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 MemberRebatesInput, type MemberRebatesReturn, 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 Rebate, type RebateCursor, type RebateProgram, type RebateStatus, type RebateType, 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 UnlinkFirebaseCloudMessagingDeviceInput, type UnlinkFirebaseCloudMessagingDeviceReturn, 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 };
|
|
2457
|
+
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 CancelFreeBetDropInput, type CancelFreeBetDropReturn, type Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CellxpertDetails, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRebateError, type ClaimRebateReturn, 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 FirebaseCloudMessagingDeviceType, type FreeBetDrop, type FreeBetDropStatus, 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 LinkFirebaseCloudMessagingDeviceInput, type LinkFirebaseCloudMessagingDeviceReturn, 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 MemberRebatesInput, type MemberRebatesReturn, 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 Rebate, type RebateCursor, type RebateProgram, type RebateSettingsPerMemberLevel, type RebateStatus, type RebateType, 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 UnlinkFirebaseCloudMessagingDeviceInput, type UnlinkFirebaseCloudMessagingDeviceReturn, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountLimitReturn, type UpdateAccountReturn, type UpdateDailyBetLimitInput, type UpdateDailyDepositLimitInput, type UpdateMonthlyBetLimitInput, type UpdateMonthlyDepositLimitInput, 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
|
@@ -144,6 +144,11 @@ var MEMBER_REBATES_QUERY = gql`
|
|
|
144
144
|
}
|
|
145
145
|
description
|
|
146
146
|
name
|
|
147
|
+
rebatePercentage
|
|
148
|
+
rebateSettingsPerMemberLevel {
|
|
149
|
+
level
|
|
150
|
+
percentage
|
|
151
|
+
}
|
|
147
152
|
type
|
|
148
153
|
dateTimeCreated
|
|
149
154
|
}
|
|
@@ -1692,6 +1697,14 @@ var MEMBER_ACCOUNT_FRAGMENT = gql`
|
|
|
1692
1697
|
branchCode
|
|
1693
1698
|
partition
|
|
1694
1699
|
bonusBlocked
|
|
1700
|
+
dailyBetLimit
|
|
1701
|
+
monthlyBetLimit
|
|
1702
|
+
dailyDepositLimit
|
|
1703
|
+
monthlyDepositLimit
|
|
1704
|
+
newDailyBetLimit
|
|
1705
|
+
newMonthlyBetLimit
|
|
1706
|
+
newDailyDepositLimit
|
|
1707
|
+
newMonthlyDepositLimit
|
|
1695
1708
|
}
|
|
1696
1709
|
`;
|
|
1697
1710
|
var MEMBER_ACCOUNT_QUERY = gql`
|
|
@@ -1982,6 +1995,26 @@ var DELETE_MEMBER_ACCOUNT_MUTATION = gql`
|
|
|
1982
1995
|
deleteMemberAccount(input: $input)
|
|
1983
1996
|
}
|
|
1984
1997
|
`;
|
|
1998
|
+
var UPDATE_DAILY_BET_LIMIT_MUTATION = gql`
|
|
1999
|
+
mutation UpdateDailyBetLimit($input: UpdateDailyBetLimitInput!) {
|
|
2000
|
+
updateDailyBetLimit(input: $input)
|
|
2001
|
+
}
|
|
2002
|
+
`;
|
|
2003
|
+
var UPDATE_MONTHLY_BET_LIMIT_MUTATION = gql`
|
|
2004
|
+
mutation UpdateMonthlyBetLimit($input: UpdateMonthlyBetLimitInput!) {
|
|
2005
|
+
updateMonthlyBetLimit(input: $input)
|
|
2006
|
+
}
|
|
2007
|
+
`;
|
|
2008
|
+
var UPDATE_DAILY_DEPOSIT_LIMIT_MUTATION = gql`
|
|
2009
|
+
mutation UpdateDailyDepositLimit($input: UpdateDailyDepositLimitInput!) {
|
|
2010
|
+
updateDailyDepositLimit(input: $input)
|
|
2011
|
+
}
|
|
2012
|
+
`;
|
|
2013
|
+
var UPDATE_MONTHLY_DEPOSIT_LIMIT_MUTATION = gql`
|
|
2014
|
+
mutation UpdateMonthlyDepositLimit($input: UpdateMonthlyDepositLimitInput!) {
|
|
2015
|
+
updateMonthlyDepositLimit(input: $input)
|
|
2016
|
+
}
|
|
2017
|
+
`;
|
|
1985
2018
|
var VERIFY_MOBILE_NUMBER_MUTATION = gql`
|
|
1986
2019
|
mutation VerifyMobileNumber($input: VerifyMobileNumberInput!) {
|
|
1987
2020
|
verifyMobileNumber(input: $input) {
|
|
@@ -3739,6 +3772,70 @@ var AccountService = class {
|
|
|
3739
3772
|
ok: true
|
|
3740
3773
|
};
|
|
3741
3774
|
}
|
|
3775
|
+
async updateDailyBetLimit(variables) {
|
|
3776
|
+
const res = await this.client.request(UPDATE_DAILY_BET_LIMIT_MUTATION, variables);
|
|
3777
|
+
if (!res.ok) return res;
|
|
3778
|
+
if (!res.data.updateDailyBetLimit) {
|
|
3779
|
+
return {
|
|
3780
|
+
ok: false,
|
|
3781
|
+
error: {
|
|
3782
|
+
name: "UnknownError",
|
|
3783
|
+
message: "Something went wrong."
|
|
3784
|
+
}
|
|
3785
|
+
};
|
|
3786
|
+
}
|
|
3787
|
+
return {
|
|
3788
|
+
ok: true
|
|
3789
|
+
};
|
|
3790
|
+
}
|
|
3791
|
+
async updateMonthlyBetLimit(variables) {
|
|
3792
|
+
const res = await this.client.request(UPDATE_MONTHLY_BET_LIMIT_MUTATION, variables);
|
|
3793
|
+
if (!res.ok) return res;
|
|
3794
|
+
if (!res.data.updateMonthlyBetLimit) {
|
|
3795
|
+
return {
|
|
3796
|
+
ok: false,
|
|
3797
|
+
error: {
|
|
3798
|
+
name: "UnknownError",
|
|
3799
|
+
message: "Something went wrong."
|
|
3800
|
+
}
|
|
3801
|
+
};
|
|
3802
|
+
}
|
|
3803
|
+
return {
|
|
3804
|
+
ok: true
|
|
3805
|
+
};
|
|
3806
|
+
}
|
|
3807
|
+
async updateDailyDepositLimit(variables) {
|
|
3808
|
+
const res = await this.client.request(UPDATE_DAILY_DEPOSIT_LIMIT_MUTATION, variables);
|
|
3809
|
+
if (!res.ok) return res;
|
|
3810
|
+
if (!res.data.updateDailyDepositLimit) {
|
|
3811
|
+
return {
|
|
3812
|
+
ok: false,
|
|
3813
|
+
error: {
|
|
3814
|
+
name: "UnknownError",
|
|
3815
|
+
message: "Something went wrong."
|
|
3816
|
+
}
|
|
3817
|
+
};
|
|
3818
|
+
}
|
|
3819
|
+
return {
|
|
3820
|
+
ok: true
|
|
3821
|
+
};
|
|
3822
|
+
}
|
|
3823
|
+
async updateMonthlyDepositLimit(variables) {
|
|
3824
|
+
const res = await this.client.request(UPDATE_MONTHLY_DEPOSIT_LIMIT_MUTATION, variables);
|
|
3825
|
+
if (!res.ok) return res;
|
|
3826
|
+
if (!res.data.updateMonthlyDepositLimit) {
|
|
3827
|
+
return {
|
|
3828
|
+
ok: false,
|
|
3829
|
+
error: {
|
|
3830
|
+
name: "UnknownError",
|
|
3831
|
+
message: "Something went wrong."
|
|
3832
|
+
}
|
|
3833
|
+
};
|
|
3834
|
+
}
|
|
3835
|
+
return {
|
|
3836
|
+
ok: true
|
|
3837
|
+
};
|
|
3838
|
+
}
|
|
3742
3839
|
async unlinkGoogle(variables) {
|
|
3743
3840
|
const res = await this.client.request(DELETE_MEMBER_ACCOUNT_MUTATION, variables);
|
|
3744
3841
|
if (!res.ok) return res;
|
|
@@ -8359,7 +8456,15 @@ var Transformer = class {
|
|
|
8359
8456
|
dateTimeLastActive: data.dateTimeLastActive ? new Date(data.dateTimeLastActive) : void 0,
|
|
8360
8457
|
partition: data.partition,
|
|
8361
8458
|
gigRewardsQuestDetails: data.gigRewardsQuestDetails ?? void 0,
|
|
8362
|
-
bonusBlocked: data.bonusBlocked ?? false
|
|
8459
|
+
bonusBlocked: data.bonusBlocked ?? false,
|
|
8460
|
+
dailyBetLimit: parseDecimal(data.dailyBetLimit),
|
|
8461
|
+
monthlyBetLimit: parseDecimal(data.monthlyBetLimit),
|
|
8462
|
+
dailyDepositLimit: parseDecimal(data.dailyDepositLimit),
|
|
8463
|
+
monthlyDepositLimit: parseDecimal(data.monthlyDepositLimit),
|
|
8464
|
+
newDailyBetLimit: parseDecimal(data.newDailyBetLimit),
|
|
8465
|
+
newMonthlyBetLimit: parseDecimal(data.newMonthlyBetLimit),
|
|
8466
|
+
newDailyDepositLimit: parseDecimal(data.newDailyDepositLimit),
|
|
8467
|
+
newMonthlyDepositLimit: parseDecimal(data.newMonthlyDepositLimit)
|
|
8363
8468
|
};
|
|
8364
8469
|
return compact(o);
|
|
8365
8470
|
}
|
|
@@ -8720,6 +8825,11 @@ var Transformer = class {
|
|
|
8720
8825
|
} : void 0,
|
|
8721
8826
|
description: data.rebateProgram.description,
|
|
8722
8827
|
name: data.rebateProgram.name,
|
|
8828
|
+
rebatePercentage: parseDecimal(data.rebateProgram.rebatePercentage),
|
|
8829
|
+
rebateSettingsPerMemberLevel: data.rebateProgram.rebateSettingsPerMemberLevel?.map((settings) => ({
|
|
8830
|
+
level: settings.level,
|
|
8831
|
+
percentage: parseDecimal(settings.percentage, 0)
|
|
8832
|
+
})),
|
|
8723
8833
|
type: data.rebateProgram.type,
|
|
8724
8834
|
dateTimeCreated: data.rebateProgram.dateTimeCreated ? new Date(data.rebateProgram.dateTimeCreated) : void 0
|
|
8725
8835
|
},
|
|
@@ -9092,6 +9202,12 @@ var Transformer = class {
|
|
|
9092
9202
|
};
|
|
9093
9203
|
|
|
9094
9204
|
// src/sdk/sdk.ts
|
|
9205
|
+
function toDecimalVariable(value) {
|
|
9206
|
+
if (!Number.isFinite(value)) {
|
|
9207
|
+
throw new TypeError("Account limit must be a finite number.");
|
|
9208
|
+
}
|
|
9209
|
+
return value;
|
|
9210
|
+
}
|
|
9095
9211
|
var defaultConfig = {
|
|
9096
9212
|
environment: "development",
|
|
9097
9213
|
logs: false
|
|
@@ -9916,6 +10032,34 @@ var Sdk = class {
|
|
|
9916
10032
|
}
|
|
9917
10033
|
});
|
|
9918
10034
|
}
|
|
10035
|
+
async updateDailyBetLimit(input) {
|
|
10036
|
+
return await this.accountService.updateDailyBetLimit({
|
|
10037
|
+
input: {
|
|
10038
|
+
dailyBetLimit: toDecimalVariable(input.dailyBetLimit)
|
|
10039
|
+
}
|
|
10040
|
+
});
|
|
10041
|
+
}
|
|
10042
|
+
async updateMonthlyBetLimit(input) {
|
|
10043
|
+
return await this.accountService.updateMonthlyBetLimit({
|
|
10044
|
+
input: {
|
|
10045
|
+
monthlyBetLimit: toDecimalVariable(input.monthlyBetLimit)
|
|
10046
|
+
}
|
|
10047
|
+
});
|
|
10048
|
+
}
|
|
10049
|
+
async updateDailyDepositLimit(input) {
|
|
10050
|
+
return await this.accountService.updateDailyDepositLimit({
|
|
10051
|
+
input: {
|
|
10052
|
+
dailyDepositLimit: toDecimalVariable(input.dailyDepositLimit)
|
|
10053
|
+
}
|
|
10054
|
+
});
|
|
10055
|
+
}
|
|
10056
|
+
async updateMonthlyDepositLimit(input) {
|
|
10057
|
+
return await this.accountService.updateMonthlyDepositLimit({
|
|
10058
|
+
input: {
|
|
10059
|
+
monthlyDepositLimit: toDecimalVariable(input.monthlyDepositLimit)
|
|
10060
|
+
}
|
|
10061
|
+
});
|
|
10062
|
+
}
|
|
9919
10063
|
async unlinkGoogle(id) {
|
|
9920
10064
|
return await this.accountService.unlinkGoogle({
|
|
9921
10065
|
input: {
|