@opexa/portal-sdk 0.59.26 → 0.59.30
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.cjs +142 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -1
- package/dist/index.d.ts +33 -1
- package/dist/index.js +142 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -255,6 +255,7 @@ interface AchievementPointsHistoryRecordQueryVariables {
|
|
|
255
255
|
}
|
|
256
256
|
type RebateStatus$1 = 'ACTIVE' | 'INACTIVE' | 'SETTLED' | 'CLAIMED' | 'CANCELLED' | 'EXPIRED';
|
|
257
257
|
type RebateCursor$1 = 'DATE_TIME_CREATED' | 'END_DATE_TIME';
|
|
258
|
+
type RebateType$1 = 'LOSS' | 'TURNOVER';
|
|
258
259
|
interface MemberRebatesQueryVariables {
|
|
259
260
|
first?: number;
|
|
260
261
|
after?: string;
|
|
@@ -708,6 +709,14 @@ interface Account {
|
|
|
708
709
|
dateTimeLastActive?: Date;
|
|
709
710
|
gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
|
|
710
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;
|
|
711
720
|
}
|
|
712
721
|
type AccountReturn = OperationResult<never, Account>;
|
|
713
722
|
interface CellxpertDetails {
|
|
@@ -861,6 +870,19 @@ interface UpdateAccountInput {
|
|
|
861
870
|
type UpdateAccountError = UnionAlias<UpdateMemberAccountError>;
|
|
862
871
|
type UpdateAccountReturn = OperationResult<UpdateAccountError>;
|
|
863
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;
|
|
864
886
|
interface ResetPasswordInput {
|
|
865
887
|
mobileNumber: string;
|
|
866
888
|
newPassword: string;
|
|
@@ -989,6 +1011,7 @@ interface MemberAchievement {
|
|
|
989
1011
|
}
|
|
990
1012
|
type RebateStatus = UnionAlias<RebateStatus$1>;
|
|
991
1013
|
type RebateCursor = UnionAlias<RebateCursor$1>;
|
|
1014
|
+
type RebateType = UnionAlias<RebateType$1>;
|
|
992
1015
|
interface RebateProgram {
|
|
993
1016
|
id: string;
|
|
994
1017
|
banner?: {
|
|
@@ -997,6 +1020,8 @@ interface RebateProgram {
|
|
|
997
1020
|
};
|
|
998
1021
|
description: string;
|
|
999
1022
|
name: string;
|
|
1023
|
+
type: RebateType;
|
|
1024
|
+
dateTimeCreated?: Date;
|
|
1000
1025
|
}
|
|
1001
1026
|
interface Rebate {
|
|
1002
1027
|
id: string;
|
|
@@ -1006,6 +1031,9 @@ interface Rebate {
|
|
|
1006
1031
|
expirationDateTime?: Date;
|
|
1007
1032
|
dateTimeClaimed?: Date;
|
|
1008
1033
|
dateTimeExpired?: Date;
|
|
1034
|
+
startDateTime?: Date;
|
|
1035
|
+
endDateTime?: Date;
|
|
1036
|
+
dateTimeCreated?: Date;
|
|
1009
1037
|
}
|
|
1010
1038
|
interface MemberRebatesInput extends MemberRebatesQueryVariables {
|
|
1011
1039
|
}
|
|
@@ -2303,6 +2331,10 @@ declare class Sdk {
|
|
|
2303
2331
|
registerAgentAccount(input: RegisterAgentAccountInput, code?: string): Promise<RegisterAgentAccountReturn>;
|
|
2304
2332
|
updateAccount(id: string, input: UpdateAccountInput): Promise<UpdateAccountReturn>;
|
|
2305
2333
|
deleteAccount(id: string): Promise<DeleteAccountReturn>;
|
|
2334
|
+
updateDailyBetLimit(input: UpdateDailyBetLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2335
|
+
updateMonthlyBetLimit(input: UpdateMonthlyBetLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2336
|
+
updateDailyDepositLimit(input: UpdateDailyDepositLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2337
|
+
updateMonthlyDepositLimit(input: UpdateMonthlyDepositLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2306
2338
|
unlinkGoogle(id: string): Promise<DeleteAccountReturn>;
|
|
2307
2339
|
verificationDetails(): Promise<VerificationDetailsReturn>;
|
|
2308
2340
|
submitVerificationDetails(input: SubmitVerificationDetailsInput): Promise<SubmitVerificationDetailsReturn>;
|
|
@@ -2416,4 +2448,4 @@ declare class Sdk {
|
|
|
2416
2448
|
private formatYmd;
|
|
2417
2449
|
}
|
|
2418
2450
|
|
|
2419
|
-
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 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 };
|
|
2451
|
+
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 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
|
@@ -255,6 +255,7 @@ interface AchievementPointsHistoryRecordQueryVariables {
|
|
|
255
255
|
}
|
|
256
256
|
type RebateStatus$1 = 'ACTIVE' | 'INACTIVE' | 'SETTLED' | 'CLAIMED' | 'CANCELLED' | 'EXPIRED';
|
|
257
257
|
type RebateCursor$1 = 'DATE_TIME_CREATED' | 'END_DATE_TIME';
|
|
258
|
+
type RebateType$1 = 'LOSS' | 'TURNOVER';
|
|
258
259
|
interface MemberRebatesQueryVariables {
|
|
259
260
|
first?: number;
|
|
260
261
|
after?: string;
|
|
@@ -708,6 +709,14 @@ interface Account {
|
|
|
708
709
|
dateTimeLastActive?: Date;
|
|
709
710
|
gigRewardsQuestDetails?: GigRewardsQuestDetails | null;
|
|
710
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;
|
|
711
720
|
}
|
|
712
721
|
type AccountReturn = OperationResult<never, Account>;
|
|
713
722
|
interface CellxpertDetails {
|
|
@@ -861,6 +870,19 @@ interface UpdateAccountInput {
|
|
|
861
870
|
type UpdateAccountError = UnionAlias<UpdateMemberAccountError>;
|
|
862
871
|
type UpdateAccountReturn = OperationResult<UpdateAccountError>;
|
|
863
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;
|
|
864
886
|
interface ResetPasswordInput {
|
|
865
887
|
mobileNumber: string;
|
|
866
888
|
newPassword: string;
|
|
@@ -989,6 +1011,7 @@ interface MemberAchievement {
|
|
|
989
1011
|
}
|
|
990
1012
|
type RebateStatus = UnionAlias<RebateStatus$1>;
|
|
991
1013
|
type RebateCursor = UnionAlias<RebateCursor$1>;
|
|
1014
|
+
type RebateType = UnionAlias<RebateType$1>;
|
|
992
1015
|
interface RebateProgram {
|
|
993
1016
|
id: string;
|
|
994
1017
|
banner?: {
|
|
@@ -997,6 +1020,8 @@ interface RebateProgram {
|
|
|
997
1020
|
};
|
|
998
1021
|
description: string;
|
|
999
1022
|
name: string;
|
|
1023
|
+
type: RebateType;
|
|
1024
|
+
dateTimeCreated?: Date;
|
|
1000
1025
|
}
|
|
1001
1026
|
interface Rebate {
|
|
1002
1027
|
id: string;
|
|
@@ -1006,6 +1031,9 @@ interface Rebate {
|
|
|
1006
1031
|
expirationDateTime?: Date;
|
|
1007
1032
|
dateTimeClaimed?: Date;
|
|
1008
1033
|
dateTimeExpired?: Date;
|
|
1034
|
+
startDateTime?: Date;
|
|
1035
|
+
endDateTime?: Date;
|
|
1036
|
+
dateTimeCreated?: Date;
|
|
1009
1037
|
}
|
|
1010
1038
|
interface MemberRebatesInput extends MemberRebatesQueryVariables {
|
|
1011
1039
|
}
|
|
@@ -2303,6 +2331,10 @@ declare class Sdk {
|
|
|
2303
2331
|
registerAgentAccount(input: RegisterAgentAccountInput, code?: string): Promise<RegisterAgentAccountReturn>;
|
|
2304
2332
|
updateAccount(id: string, input: UpdateAccountInput): Promise<UpdateAccountReturn>;
|
|
2305
2333
|
deleteAccount(id: string): Promise<DeleteAccountReturn>;
|
|
2334
|
+
updateDailyBetLimit(input: UpdateDailyBetLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2335
|
+
updateMonthlyBetLimit(input: UpdateMonthlyBetLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2336
|
+
updateDailyDepositLimit(input: UpdateDailyDepositLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2337
|
+
updateMonthlyDepositLimit(input: UpdateMonthlyDepositLimitInput): Promise<UpdateAccountLimitReturn>;
|
|
2306
2338
|
unlinkGoogle(id: string): Promise<DeleteAccountReturn>;
|
|
2307
2339
|
verificationDetails(): Promise<VerificationDetailsReturn>;
|
|
2308
2340
|
submitVerificationDetails(input: SubmitVerificationDetailsInput): Promise<SubmitVerificationDetailsReturn>;
|
|
@@ -2416,4 +2448,4 @@ declare class Sdk {
|
|
|
2416
2448
|
private formatYmd;
|
|
2417
2449
|
}
|
|
2418
2450
|
|
|
2419
|
-
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 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 };
|
|
2451
|
+
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 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,12 +144,18 @@ var MEMBER_REBATES_QUERY = gql`
|
|
|
144
144
|
}
|
|
145
145
|
description
|
|
146
146
|
name
|
|
147
|
+
type
|
|
148
|
+
dateTimeCreated
|
|
147
149
|
}
|
|
150
|
+
|
|
148
151
|
amount
|
|
149
152
|
status
|
|
150
153
|
expirationDateTime
|
|
151
154
|
dateTimeClaimed
|
|
152
155
|
dateTimeExpired
|
|
156
|
+
startDateTime
|
|
157
|
+
endDateTime
|
|
158
|
+
dateTimeCreated
|
|
153
159
|
}
|
|
154
160
|
}
|
|
155
161
|
}
|
|
@@ -1686,6 +1692,14 @@ var MEMBER_ACCOUNT_FRAGMENT = gql`
|
|
|
1686
1692
|
branchCode
|
|
1687
1693
|
partition
|
|
1688
1694
|
bonusBlocked
|
|
1695
|
+
dailyBetLimit
|
|
1696
|
+
monthlyBetLimit
|
|
1697
|
+
dailyDepositLimit
|
|
1698
|
+
monthlyDepositLimit
|
|
1699
|
+
newDailyBetLimit
|
|
1700
|
+
newMonthlyBetLimit
|
|
1701
|
+
newDailyDepositLimit
|
|
1702
|
+
newMonthlyDepositLimit
|
|
1689
1703
|
}
|
|
1690
1704
|
`;
|
|
1691
1705
|
var MEMBER_ACCOUNT_QUERY = gql`
|
|
@@ -1976,6 +1990,26 @@ var DELETE_MEMBER_ACCOUNT_MUTATION = gql`
|
|
|
1976
1990
|
deleteMemberAccount(input: $input)
|
|
1977
1991
|
}
|
|
1978
1992
|
`;
|
|
1993
|
+
var UPDATE_DAILY_BET_LIMIT_MUTATION = gql`
|
|
1994
|
+
mutation UpdateDailyBetLimit($input: UpdateDailyBetLimitInput!) {
|
|
1995
|
+
updateDailyBetLimit(input: $input)
|
|
1996
|
+
}
|
|
1997
|
+
`;
|
|
1998
|
+
var UPDATE_MONTHLY_BET_LIMIT_MUTATION = gql`
|
|
1999
|
+
mutation UpdateMonthlyBetLimit($input: UpdateMonthlyBetLimitInput!) {
|
|
2000
|
+
updateMonthlyBetLimit(input: $input)
|
|
2001
|
+
}
|
|
2002
|
+
`;
|
|
2003
|
+
var UPDATE_DAILY_DEPOSIT_LIMIT_MUTATION = gql`
|
|
2004
|
+
mutation UpdateDailyDepositLimit($input: UpdateDailyDepositLimitInput!) {
|
|
2005
|
+
updateDailyDepositLimit(input: $input)
|
|
2006
|
+
}
|
|
2007
|
+
`;
|
|
2008
|
+
var UPDATE_MONTHLY_DEPOSIT_LIMIT_MUTATION = gql`
|
|
2009
|
+
mutation UpdateMonthlyDepositLimit($input: UpdateMonthlyDepositLimitInput!) {
|
|
2010
|
+
updateMonthlyDepositLimit(input: $input)
|
|
2011
|
+
}
|
|
2012
|
+
`;
|
|
1979
2013
|
var VERIFY_MOBILE_NUMBER_MUTATION = gql`
|
|
1980
2014
|
mutation VerifyMobileNumber($input: VerifyMobileNumberInput!) {
|
|
1981
2015
|
verifyMobileNumber(input: $input) {
|
|
@@ -3733,6 +3767,70 @@ var AccountService = class {
|
|
|
3733
3767
|
ok: true
|
|
3734
3768
|
};
|
|
3735
3769
|
}
|
|
3770
|
+
async updateDailyBetLimit(variables) {
|
|
3771
|
+
const res = await this.client.request(UPDATE_DAILY_BET_LIMIT_MUTATION, variables);
|
|
3772
|
+
if (!res.ok) return res;
|
|
3773
|
+
if (!res.data.updateDailyBetLimit) {
|
|
3774
|
+
return {
|
|
3775
|
+
ok: false,
|
|
3776
|
+
error: {
|
|
3777
|
+
name: "UnknownError",
|
|
3778
|
+
message: "Something went wrong."
|
|
3779
|
+
}
|
|
3780
|
+
};
|
|
3781
|
+
}
|
|
3782
|
+
return {
|
|
3783
|
+
ok: true
|
|
3784
|
+
};
|
|
3785
|
+
}
|
|
3786
|
+
async updateMonthlyBetLimit(variables) {
|
|
3787
|
+
const res = await this.client.request(UPDATE_MONTHLY_BET_LIMIT_MUTATION, variables);
|
|
3788
|
+
if (!res.ok) return res;
|
|
3789
|
+
if (!res.data.updateMonthlyBetLimit) {
|
|
3790
|
+
return {
|
|
3791
|
+
ok: false,
|
|
3792
|
+
error: {
|
|
3793
|
+
name: "UnknownError",
|
|
3794
|
+
message: "Something went wrong."
|
|
3795
|
+
}
|
|
3796
|
+
};
|
|
3797
|
+
}
|
|
3798
|
+
return {
|
|
3799
|
+
ok: true
|
|
3800
|
+
};
|
|
3801
|
+
}
|
|
3802
|
+
async updateDailyDepositLimit(variables) {
|
|
3803
|
+
const res = await this.client.request(UPDATE_DAILY_DEPOSIT_LIMIT_MUTATION, variables);
|
|
3804
|
+
if (!res.ok) return res;
|
|
3805
|
+
if (!res.data.updateDailyDepositLimit) {
|
|
3806
|
+
return {
|
|
3807
|
+
ok: false,
|
|
3808
|
+
error: {
|
|
3809
|
+
name: "UnknownError",
|
|
3810
|
+
message: "Something went wrong."
|
|
3811
|
+
}
|
|
3812
|
+
};
|
|
3813
|
+
}
|
|
3814
|
+
return {
|
|
3815
|
+
ok: true
|
|
3816
|
+
};
|
|
3817
|
+
}
|
|
3818
|
+
async updateMonthlyDepositLimit(variables) {
|
|
3819
|
+
const res = await this.client.request(UPDATE_MONTHLY_DEPOSIT_LIMIT_MUTATION, variables);
|
|
3820
|
+
if (!res.ok) return res;
|
|
3821
|
+
if (!res.data.updateMonthlyDepositLimit) {
|
|
3822
|
+
return {
|
|
3823
|
+
ok: false,
|
|
3824
|
+
error: {
|
|
3825
|
+
name: "UnknownError",
|
|
3826
|
+
message: "Something went wrong."
|
|
3827
|
+
}
|
|
3828
|
+
};
|
|
3829
|
+
}
|
|
3830
|
+
return {
|
|
3831
|
+
ok: true
|
|
3832
|
+
};
|
|
3833
|
+
}
|
|
3736
3834
|
async unlinkGoogle(variables) {
|
|
3737
3835
|
const res = await this.client.request(DELETE_MEMBER_ACCOUNT_MUTATION, variables);
|
|
3738
3836
|
if (!res.ok) return res;
|
|
@@ -8353,7 +8451,15 @@ var Transformer = class {
|
|
|
8353
8451
|
dateTimeLastActive: data.dateTimeLastActive ? new Date(data.dateTimeLastActive) : void 0,
|
|
8354
8452
|
partition: data.partition,
|
|
8355
8453
|
gigRewardsQuestDetails: data.gigRewardsQuestDetails ?? void 0,
|
|
8356
|
-
bonusBlocked: data.bonusBlocked ?? false
|
|
8454
|
+
bonusBlocked: data.bonusBlocked ?? false,
|
|
8455
|
+
dailyBetLimit: parseDecimal(data.dailyBetLimit),
|
|
8456
|
+
monthlyBetLimit: parseDecimal(data.monthlyBetLimit),
|
|
8457
|
+
dailyDepositLimit: parseDecimal(data.dailyDepositLimit),
|
|
8458
|
+
monthlyDepositLimit: parseDecimal(data.monthlyDepositLimit),
|
|
8459
|
+
newDailyBetLimit: parseDecimal(data.newDailyBetLimit),
|
|
8460
|
+
newMonthlyBetLimit: parseDecimal(data.newMonthlyBetLimit),
|
|
8461
|
+
newDailyDepositLimit: parseDecimal(data.newDailyDepositLimit),
|
|
8462
|
+
newMonthlyDepositLimit: parseDecimal(data.newMonthlyDepositLimit)
|
|
8357
8463
|
};
|
|
8358
8464
|
return compact(o);
|
|
8359
8465
|
}
|
|
@@ -8713,13 +8819,18 @@ var Transformer = class {
|
|
|
8713
8819
|
url: data.rebateProgram.banner.url ?? void 0
|
|
8714
8820
|
} : void 0,
|
|
8715
8821
|
description: data.rebateProgram.description,
|
|
8716
|
-
name: data.rebateProgram.name
|
|
8822
|
+
name: data.rebateProgram.name,
|
|
8823
|
+
type: data.rebateProgram.type,
|
|
8824
|
+
dateTimeCreated: data.rebateProgram.dateTimeCreated ? new Date(data.rebateProgram.dateTimeCreated) : void 0
|
|
8717
8825
|
},
|
|
8718
8826
|
amount: parseDecimal(data.amount, 0),
|
|
8719
8827
|
status: data.status,
|
|
8720
8828
|
expirationDateTime: data.expirationDateTime ? new Date(data.expirationDateTime) : void 0,
|
|
8721
8829
|
dateTimeClaimed: data.dateTimeClaimed ? new Date(data.dateTimeClaimed) : void 0,
|
|
8722
|
-
dateTimeExpired: data.dateTimeExpired ? new Date(data.dateTimeExpired) : void 0
|
|
8830
|
+
dateTimeExpired: data.dateTimeExpired ? new Date(data.dateTimeExpired) : void 0,
|
|
8831
|
+
endDateTime: data.endDateTime ? new Date(data.endDateTime) : void 0,
|
|
8832
|
+
startDateTime: data.startDateTime ? new Date(data.startDateTime) : void 0,
|
|
8833
|
+
dateTimeCreated: data.dateTimeCreated ? new Date(data.dateTimeCreated) : void 0
|
|
8723
8834
|
};
|
|
8724
8835
|
return compact(o);
|
|
8725
8836
|
}
|
|
@@ -9905,6 +10016,34 @@ var Sdk = class {
|
|
|
9905
10016
|
}
|
|
9906
10017
|
});
|
|
9907
10018
|
}
|
|
10019
|
+
async updateDailyBetLimit(input) {
|
|
10020
|
+
return await this.accountService.updateDailyBetLimit({
|
|
10021
|
+
input: {
|
|
10022
|
+
dailyBetLimit: input.dailyBetLimit.toString()
|
|
10023
|
+
}
|
|
10024
|
+
});
|
|
10025
|
+
}
|
|
10026
|
+
async updateMonthlyBetLimit(input) {
|
|
10027
|
+
return await this.accountService.updateMonthlyBetLimit({
|
|
10028
|
+
input: {
|
|
10029
|
+
monthlyBetLimit: input.monthlyBetLimit.toString()
|
|
10030
|
+
}
|
|
10031
|
+
});
|
|
10032
|
+
}
|
|
10033
|
+
async updateDailyDepositLimit(input) {
|
|
10034
|
+
return await this.accountService.updateDailyDepositLimit({
|
|
10035
|
+
input: {
|
|
10036
|
+
dailyDepositLimit: input.dailyDepositLimit.toString()
|
|
10037
|
+
}
|
|
10038
|
+
});
|
|
10039
|
+
}
|
|
10040
|
+
async updateMonthlyDepositLimit(input) {
|
|
10041
|
+
return await this.accountService.updateMonthlyDepositLimit({
|
|
10042
|
+
input: {
|
|
10043
|
+
monthlyDepositLimit: input.monthlyDepositLimit.toString()
|
|
10044
|
+
}
|
|
10045
|
+
});
|
|
10046
|
+
}
|
|
9908
10047
|
async unlinkGoogle(id) {
|
|
9909
10048
|
return await this.accountService.unlinkGoogle({
|
|
9910
10049
|
input: {
|