@opexa/portal-sdk 0.45.4 → 0.45.5
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 +288 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -5
- package/dist/index.d.ts +26 -5
- package/dist/index.js +288 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -155,7 +155,7 @@ interface BetRecordsQueryVariables {
|
|
|
155
155
|
startDateTime?: DateFilterField;
|
|
156
156
|
endDateTime?: DateFilterField;
|
|
157
157
|
}
|
|
158
|
-
type DepositType$1 = 'BANK' | 'GCASH' | 'MANUAL' | 'MAYA' | 'MAYA_APP' | 'QR_PH' | 'ONLINE_BANK' | 'MANUAL_BANK' | 'MANUAL_UPI' | 'AIO_GCASH' | 'GCASH_DIRECT_WEBPAY';
|
|
158
|
+
type DepositType$1 = 'BANK' | 'GCASH' | 'MANUAL' | 'MAYA' | 'MAYA_APP' | 'QR_PH' | 'ONLINE_BANK' | 'MANUAL_BANK' | 'MANUAL_UPI' | 'AIO_GCASH' | 'AIO_PAY_MAYA' | 'AIO_GRAB_PAY' | 'AIO_PALAWAN_PAY' | 'GCASH_DIRECT_WEBPAY';
|
|
159
159
|
type DepositStatus$1 = 'PENDING' | 'ACCEPTED' | 'APPROVED' | 'REJECTED' | 'CONFIRMED' | 'CANCELLED' | 'FAILED';
|
|
160
160
|
type KnownDepositError$1 = 'INSUFFICIENT_BALANCE' | 'DEPOSIT_CREATION_REQUEST_FAILED' | 'DEPOSIT_EXECUTION_REQUEST_FAILED' | 'REQUEST_SESSION_EXPIRED' | 'REQUEST_TIMEOUT' | 'SYSTEM_CANCELLATION' | 'UNEXPECTED_ERROR' | 'FAILED_TO_PROCESS_PAYMENT' | 'MINIMUM_DEPOSIT_AMOUNT_NOT_MET' | 'UNTOUCHED';
|
|
161
161
|
interface DepositRecordsQueryVariables {
|
|
@@ -1015,7 +1015,7 @@ interface DepositBase<T extends DepositType> {
|
|
|
1015
1015
|
status: DepositStatus;
|
|
1016
1016
|
vca?: T extends 'ONLINE_BANK' ? string : never;
|
|
1017
1017
|
qrCode?: T extends 'QR_PH' ? string : never;
|
|
1018
|
-
checkoutUrl?: T extends 'GCASH' | 'MAYA' | 'MAYA_APP' | 'AIO_GCASH' ? string : never;
|
|
1018
|
+
checkoutUrl?: T extends 'GCASH' | 'MAYA' | 'MAYA_APP' | 'AIO_GCASH' | 'AIO_PAY_MAYA' | 'AIO_GRAB_PAY' | 'AIO_PALAWAN_PAY' ? string : never;
|
|
1019
1019
|
successRedirectionUrl?: T extends 'GCASH_DIRECT_WEBPAY' ? string : never;
|
|
1020
1020
|
cancelRedirectionUrl?: T extends 'GCASH_DIRECT_WEBPAY' ? string : never;
|
|
1021
1021
|
error?: KnownDepositError;
|
|
@@ -1026,6 +1026,12 @@ interface GcashDirectWebpayDeposit extends DepositBase<'GCASH_DIRECT_WEBPAY'> {
|
|
|
1026
1026
|
}
|
|
1027
1027
|
interface AiOGcashDeposit extends DepositBase<'AIO_GCASH'> {
|
|
1028
1028
|
}
|
|
1029
|
+
interface AiOPayMayaDeposit extends DepositBase<'AIO_PAY_MAYA'> {
|
|
1030
|
+
}
|
|
1031
|
+
interface AiOGrabPayDeposit extends DepositBase<'AIO_GRAB_PAY'> {
|
|
1032
|
+
}
|
|
1033
|
+
interface AiOPalawanPayDeposit extends DepositBase<'AIO_PALAWAN_PAY'> {
|
|
1034
|
+
}
|
|
1029
1035
|
interface MayaDeposit extends DepositBase<'MAYA'> {
|
|
1030
1036
|
}
|
|
1031
1037
|
interface MayaAppDeposit extends DepositBase<'MAYA_APP'> {
|
|
@@ -1042,7 +1048,7 @@ interface ManualBankDeposit extends DepositBase<'MANUAL_BANK'> {
|
|
|
1042
1048
|
}
|
|
1043
1049
|
interface ManualUPIDeposit extends DepositBase<'MANUAL_UPI'> {
|
|
1044
1050
|
}
|
|
1045
|
-
type Deposit = GCashDeposit | MayaDeposit | MayaAppDeposit | BankDeposit | ManualDeposit | QRPHDeposit | OnlineBankDeposit | ManualBankDeposit | ManualUPIDeposit | GcashDirectWebpayDeposit | AiOGcashDeposit;
|
|
1051
|
+
type Deposit = GCashDeposit | MayaDeposit | MayaAppDeposit | BankDeposit | ManualDeposit | QRPHDeposit | OnlineBankDeposit | ManualBankDeposit | ManualUPIDeposit | GcashDirectWebpayDeposit | AiOGcashDeposit | AiOPayMayaDeposit | AiOGrabPayDeposit | AiOPalawanPayDeposit;
|
|
1046
1052
|
type DepositReturn = OperationResult<never, Deposit | null>;
|
|
1047
1053
|
type DepositsCountReturn = OperationResult<never, number>;
|
|
1048
1054
|
interface CreateDepositBaseInput {
|
|
@@ -1061,6 +1067,18 @@ interface CreateAIOGcashDepositInput extends CreateDepositBaseInput {
|
|
|
1061
1067
|
type: 'AIO_GCASH';
|
|
1062
1068
|
redirectUrl: string;
|
|
1063
1069
|
}
|
|
1070
|
+
interface CreateAIOPayMayaDepositInput extends CreateDepositBaseInput {
|
|
1071
|
+
type: 'AIO_PAY_MAYA';
|
|
1072
|
+
redirectUrl: string;
|
|
1073
|
+
}
|
|
1074
|
+
interface CreateAIOGrabPayDepositInput extends CreateDepositBaseInput {
|
|
1075
|
+
type: 'AIO_GRAB_PAY';
|
|
1076
|
+
redirectUrl: string;
|
|
1077
|
+
}
|
|
1078
|
+
interface CreateAIOPalawanPayDepositInput extends CreateDepositBaseInput {
|
|
1079
|
+
type: 'AIO_PALAWAN_PAY';
|
|
1080
|
+
redirectUrl: string;
|
|
1081
|
+
}
|
|
1064
1082
|
interface CreateGCashDirectWebpayDepositInput extends CreateDepositBaseInput {
|
|
1065
1083
|
type: 'GCASH_DIRECT_WEBPAY';
|
|
1066
1084
|
successRedirectionUrl?: string;
|
|
@@ -1084,7 +1102,7 @@ interface CreateManualBankDepositInput extends CreateDepositBaseInput {
|
|
|
1084
1102
|
type: 'MANUAL_BANK';
|
|
1085
1103
|
referenceId: string;
|
|
1086
1104
|
}
|
|
1087
|
-
type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateAIOQRPHDepositInput | CreateAIOOnlineBankDepositInput | CreateManualBankDepositInput | CreateManualUPIDepositInput | CreateAIOOnlineBankDepositInput | CreateAIOGcashDepositInput | CreateGCashDirectWebpayDepositInput;
|
|
1105
|
+
type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateAIOQRPHDepositInput | CreateAIOOnlineBankDepositInput | CreateManualBankDepositInput | CreateManualUPIDepositInput | CreateAIOOnlineBankDepositInput | CreateAIOGcashDepositInput | CreateAIOPayMayaDepositInput | CreateAIOGrabPayDepositInput | CreateAIOPalawanPayDepositInput | CreateGCashDirectWebpayDepositInput;
|
|
1088
1106
|
type CreateDepositError = UnionAlias<CreateDepositError$1>;
|
|
1089
1107
|
type CreateDepositReturn = OperationResult<CreateDepositError, {
|
|
1090
1108
|
id: string;
|
|
@@ -1264,6 +1282,9 @@ interface PaymentSettings {
|
|
|
1264
1282
|
bank: GatewaySettings;
|
|
1265
1283
|
gcash: GatewaySettings;
|
|
1266
1284
|
aioGcash: GatewaySettings;
|
|
1285
|
+
aioPayMaya: GatewaySettings;
|
|
1286
|
+
aioGrabPay: GatewaySettings;
|
|
1287
|
+
aioPalawanPay: GatewaySettings;
|
|
1267
1288
|
maya: GatewaySettings;
|
|
1268
1289
|
mayaApp: GatewaySettings;
|
|
1269
1290
|
qrph: GatewaySettings;
|
|
@@ -1916,4 +1937,4 @@ declare class Sdk {
|
|
|
1916
1937
|
private formatYmd;
|
|
1917
1938
|
}
|
|
1918
1939
|
|
|
1919
|
-
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 AiOGcashDeposit, 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 Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRewardError, type ClaimRewardReturn, type ClaimSpotBonusReturn, type CompleteOnboardingInput, type CompleteOnboardingReturn, type CompoundField, type CreateAIOGcashDepositInput, type CreateAIOInstapayWithdrawalInput, type CreateAIOInstapayWithdrawalInput_Next, type CreateAIOOnlineBankDepositInput, type CreateAIOQRPHDepositInput, type CreateAccountError, type CreateAccountInput, type CreateAccountInput__Next, type CreateAccountReturn, type CreateBankWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashDirectWebpayDepositInput, type CreateGCashStandardCashInWithdrawalInput, 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 CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenReturn, 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 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 GcashDirectWebpayDeposit, 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 JackpotsInput, type JackpotsReturn, type JourneyQuestMilestone, type JourneyQuestMilestoneType, type KnownDepositError, type LatestBetRecord, type LatestBetRecordsReturn, type Locale, type LoginChannel, type ManualBankDeposit, type ManualBankWithdrawalRecord, type ManualDeposit, type ManualUPIDeposit, type ManualUPIWithdrawalRecord, type ManualWithdrawalRecord, type MarkAllMessagesAsReadReturn, type MarkGameAsFavoriteInput, type MarkGameAsFavoriteReturn, type MarkMessageAsReadReturn, type MayaAppDeposit, type MayaDeposit, type MayaSignInInput, type MayaSignInReturn, type MayaWithdrawalRecord, type MemberAchievement, type MemberAchievementReturn, type MemberLevelSetting, type MemberLevelSettings, type MemberLevelSettingsReturn, type MemberStatus, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, 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 PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, 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 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 TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type WageringQuestStage, type Wallet, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType };
|
|
1940
|
+
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 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 Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRewardError, type ClaimRewardReturn, type ClaimSpotBonusReturn, type CompleteOnboardingInput, type CompleteOnboardingReturn, type CompoundField, type CreateAIOGcashDepositInput, type CreateAIOGrabPayDepositInput, type CreateAIOInstapayWithdrawalInput, type CreateAIOInstapayWithdrawalInput_Next, type CreateAIOOnlineBankDepositInput, type CreateAIOPalawanPayDepositInput, type CreateAIOPayMayaDepositInput, type CreateAIOQRPHDepositInput, type CreateAccountError, type CreateAccountInput, type CreateAccountInput__Next, type CreateAccountReturn, type CreateBankWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashDirectWebpayDepositInput, type CreateGCashStandardCashInWithdrawalInput, 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 CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenReturn, 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 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 GcashDirectWebpayDeposit, 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 JackpotsInput, type JackpotsReturn, type JourneyQuestMilestone, type JourneyQuestMilestoneType, type KnownDepositError, type LatestBetRecord, type LatestBetRecordsReturn, type Locale, type LoginChannel, type ManualBankDeposit, type ManualBankWithdrawalRecord, type ManualDeposit, type ManualUPIDeposit, type ManualUPIWithdrawalRecord, type ManualWithdrawalRecord, type MarkAllMessagesAsReadReturn, type MarkGameAsFavoriteInput, type MarkGameAsFavoriteReturn, type MarkMessageAsReadReturn, type MayaAppDeposit, type MayaDeposit, type MayaSignInInput, type MayaSignInReturn, type MayaWithdrawalRecord, type MemberAchievement, type MemberAchievementReturn, type MemberLevelSetting, type MemberLevelSettings, type MemberLevelSettingsReturn, type MemberStatus, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, 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 PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, 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 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 TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type WageringQuestStage, type Wallet, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType };
|
package/dist/index.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ interface BetRecordsQueryVariables {
|
|
|
155
155
|
startDateTime?: DateFilterField;
|
|
156
156
|
endDateTime?: DateFilterField;
|
|
157
157
|
}
|
|
158
|
-
type DepositType$1 = 'BANK' | 'GCASH' | 'MANUAL' | 'MAYA' | 'MAYA_APP' | 'QR_PH' | 'ONLINE_BANK' | 'MANUAL_BANK' | 'MANUAL_UPI' | 'AIO_GCASH' | 'GCASH_DIRECT_WEBPAY';
|
|
158
|
+
type DepositType$1 = 'BANK' | 'GCASH' | 'MANUAL' | 'MAYA' | 'MAYA_APP' | 'QR_PH' | 'ONLINE_BANK' | 'MANUAL_BANK' | 'MANUAL_UPI' | 'AIO_GCASH' | 'AIO_PAY_MAYA' | 'AIO_GRAB_PAY' | 'AIO_PALAWAN_PAY' | 'GCASH_DIRECT_WEBPAY';
|
|
159
159
|
type DepositStatus$1 = 'PENDING' | 'ACCEPTED' | 'APPROVED' | 'REJECTED' | 'CONFIRMED' | 'CANCELLED' | 'FAILED';
|
|
160
160
|
type KnownDepositError$1 = 'INSUFFICIENT_BALANCE' | 'DEPOSIT_CREATION_REQUEST_FAILED' | 'DEPOSIT_EXECUTION_REQUEST_FAILED' | 'REQUEST_SESSION_EXPIRED' | 'REQUEST_TIMEOUT' | 'SYSTEM_CANCELLATION' | 'UNEXPECTED_ERROR' | 'FAILED_TO_PROCESS_PAYMENT' | 'MINIMUM_DEPOSIT_AMOUNT_NOT_MET' | 'UNTOUCHED';
|
|
161
161
|
interface DepositRecordsQueryVariables {
|
|
@@ -1015,7 +1015,7 @@ interface DepositBase<T extends DepositType> {
|
|
|
1015
1015
|
status: DepositStatus;
|
|
1016
1016
|
vca?: T extends 'ONLINE_BANK' ? string : never;
|
|
1017
1017
|
qrCode?: T extends 'QR_PH' ? string : never;
|
|
1018
|
-
checkoutUrl?: T extends 'GCASH' | 'MAYA' | 'MAYA_APP' | 'AIO_GCASH' ? string : never;
|
|
1018
|
+
checkoutUrl?: T extends 'GCASH' | 'MAYA' | 'MAYA_APP' | 'AIO_GCASH' | 'AIO_PAY_MAYA' | 'AIO_GRAB_PAY' | 'AIO_PALAWAN_PAY' ? string : never;
|
|
1019
1019
|
successRedirectionUrl?: T extends 'GCASH_DIRECT_WEBPAY' ? string : never;
|
|
1020
1020
|
cancelRedirectionUrl?: T extends 'GCASH_DIRECT_WEBPAY' ? string : never;
|
|
1021
1021
|
error?: KnownDepositError;
|
|
@@ -1026,6 +1026,12 @@ interface GcashDirectWebpayDeposit extends DepositBase<'GCASH_DIRECT_WEBPAY'> {
|
|
|
1026
1026
|
}
|
|
1027
1027
|
interface AiOGcashDeposit extends DepositBase<'AIO_GCASH'> {
|
|
1028
1028
|
}
|
|
1029
|
+
interface AiOPayMayaDeposit extends DepositBase<'AIO_PAY_MAYA'> {
|
|
1030
|
+
}
|
|
1031
|
+
interface AiOGrabPayDeposit extends DepositBase<'AIO_GRAB_PAY'> {
|
|
1032
|
+
}
|
|
1033
|
+
interface AiOPalawanPayDeposit extends DepositBase<'AIO_PALAWAN_PAY'> {
|
|
1034
|
+
}
|
|
1029
1035
|
interface MayaDeposit extends DepositBase<'MAYA'> {
|
|
1030
1036
|
}
|
|
1031
1037
|
interface MayaAppDeposit extends DepositBase<'MAYA_APP'> {
|
|
@@ -1042,7 +1048,7 @@ interface ManualBankDeposit extends DepositBase<'MANUAL_BANK'> {
|
|
|
1042
1048
|
}
|
|
1043
1049
|
interface ManualUPIDeposit extends DepositBase<'MANUAL_UPI'> {
|
|
1044
1050
|
}
|
|
1045
|
-
type Deposit = GCashDeposit | MayaDeposit | MayaAppDeposit | BankDeposit | ManualDeposit | QRPHDeposit | OnlineBankDeposit | ManualBankDeposit | ManualUPIDeposit | GcashDirectWebpayDeposit | AiOGcashDeposit;
|
|
1051
|
+
type Deposit = GCashDeposit | MayaDeposit | MayaAppDeposit | BankDeposit | ManualDeposit | QRPHDeposit | OnlineBankDeposit | ManualBankDeposit | ManualUPIDeposit | GcashDirectWebpayDeposit | AiOGcashDeposit | AiOPayMayaDeposit | AiOGrabPayDeposit | AiOPalawanPayDeposit;
|
|
1046
1052
|
type DepositReturn = OperationResult<never, Deposit | null>;
|
|
1047
1053
|
type DepositsCountReturn = OperationResult<never, number>;
|
|
1048
1054
|
interface CreateDepositBaseInput {
|
|
@@ -1061,6 +1067,18 @@ interface CreateAIOGcashDepositInput extends CreateDepositBaseInput {
|
|
|
1061
1067
|
type: 'AIO_GCASH';
|
|
1062
1068
|
redirectUrl: string;
|
|
1063
1069
|
}
|
|
1070
|
+
interface CreateAIOPayMayaDepositInput extends CreateDepositBaseInput {
|
|
1071
|
+
type: 'AIO_PAY_MAYA';
|
|
1072
|
+
redirectUrl: string;
|
|
1073
|
+
}
|
|
1074
|
+
interface CreateAIOGrabPayDepositInput extends CreateDepositBaseInput {
|
|
1075
|
+
type: 'AIO_GRAB_PAY';
|
|
1076
|
+
redirectUrl: string;
|
|
1077
|
+
}
|
|
1078
|
+
interface CreateAIOPalawanPayDepositInput extends CreateDepositBaseInput {
|
|
1079
|
+
type: 'AIO_PALAWAN_PAY';
|
|
1080
|
+
redirectUrl: string;
|
|
1081
|
+
}
|
|
1064
1082
|
interface CreateGCashDirectWebpayDepositInput extends CreateDepositBaseInput {
|
|
1065
1083
|
type: 'GCASH_DIRECT_WEBPAY';
|
|
1066
1084
|
successRedirectionUrl?: string;
|
|
@@ -1084,7 +1102,7 @@ interface CreateManualBankDepositInput extends CreateDepositBaseInput {
|
|
|
1084
1102
|
type: 'MANUAL_BANK';
|
|
1085
1103
|
referenceId: string;
|
|
1086
1104
|
}
|
|
1087
|
-
type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateAIOQRPHDepositInput | CreateAIOOnlineBankDepositInput | CreateManualBankDepositInput | CreateManualUPIDepositInput | CreateAIOOnlineBankDepositInput | CreateAIOGcashDepositInput | CreateGCashDirectWebpayDepositInput;
|
|
1105
|
+
type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateAIOQRPHDepositInput | CreateAIOOnlineBankDepositInput | CreateManualBankDepositInput | CreateManualUPIDepositInput | CreateAIOOnlineBankDepositInput | CreateAIOGcashDepositInput | CreateAIOPayMayaDepositInput | CreateAIOGrabPayDepositInput | CreateAIOPalawanPayDepositInput | CreateGCashDirectWebpayDepositInput;
|
|
1088
1106
|
type CreateDepositError = UnionAlias<CreateDepositError$1>;
|
|
1089
1107
|
type CreateDepositReturn = OperationResult<CreateDepositError, {
|
|
1090
1108
|
id: string;
|
|
@@ -1264,6 +1282,9 @@ interface PaymentSettings {
|
|
|
1264
1282
|
bank: GatewaySettings;
|
|
1265
1283
|
gcash: GatewaySettings;
|
|
1266
1284
|
aioGcash: GatewaySettings;
|
|
1285
|
+
aioPayMaya: GatewaySettings;
|
|
1286
|
+
aioGrabPay: GatewaySettings;
|
|
1287
|
+
aioPalawanPay: GatewaySettings;
|
|
1267
1288
|
maya: GatewaySettings;
|
|
1268
1289
|
mayaApp: GatewaySettings;
|
|
1269
1290
|
qrph: GatewaySettings;
|
|
@@ -1916,4 +1937,4 @@ declare class Sdk {
|
|
|
1916
1937
|
private formatYmd;
|
|
1917
1938
|
}
|
|
1918
1939
|
|
|
1919
|
-
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 AiOGcashDeposit, 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 Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRewardError, type ClaimRewardReturn, type ClaimSpotBonusReturn, type CompleteOnboardingInput, type CompleteOnboardingReturn, type CompoundField, type CreateAIOGcashDepositInput, type CreateAIOInstapayWithdrawalInput, type CreateAIOInstapayWithdrawalInput_Next, type CreateAIOOnlineBankDepositInput, type CreateAIOQRPHDepositInput, type CreateAccountError, type CreateAccountInput, type CreateAccountInput__Next, type CreateAccountReturn, type CreateBankWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashDirectWebpayDepositInput, type CreateGCashStandardCashInWithdrawalInput, 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 CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenReturn, 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 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 GcashDirectWebpayDeposit, 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 JackpotsInput, type JackpotsReturn, type JourneyQuestMilestone, type JourneyQuestMilestoneType, type KnownDepositError, type LatestBetRecord, type LatestBetRecordsReturn, type Locale, type LoginChannel, type ManualBankDeposit, type ManualBankWithdrawalRecord, type ManualDeposit, type ManualUPIDeposit, type ManualUPIWithdrawalRecord, type ManualWithdrawalRecord, type MarkAllMessagesAsReadReturn, type MarkGameAsFavoriteInput, type MarkGameAsFavoriteReturn, type MarkMessageAsReadReturn, type MayaAppDeposit, type MayaDeposit, type MayaSignInInput, type MayaSignInReturn, type MayaWithdrawalRecord, type MemberAchievement, type MemberAchievementReturn, type MemberLevelSetting, type MemberLevelSettings, type MemberLevelSettingsReturn, type MemberStatus, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, 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 PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, 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 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 TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type WageringQuestStage, type Wallet, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType };
|
|
1940
|
+
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 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 Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRewardError, type ClaimRewardReturn, type ClaimSpotBonusReturn, type CompleteOnboardingInput, type CompleteOnboardingReturn, type CompoundField, type CreateAIOGcashDepositInput, type CreateAIOGrabPayDepositInput, type CreateAIOInstapayWithdrawalInput, type CreateAIOInstapayWithdrawalInput_Next, type CreateAIOOnlineBankDepositInput, type CreateAIOPalawanPayDepositInput, type CreateAIOPayMayaDepositInput, type CreateAIOQRPHDepositInput, type CreateAccountError, type CreateAccountInput, type CreateAccountInput__Next, type CreateAccountReturn, type CreateBankWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashDirectWebpayDepositInput, type CreateGCashStandardCashInWithdrawalInput, 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 CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenReturn, 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 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 GcashDirectWebpayDeposit, 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 JackpotsInput, type JackpotsReturn, type JourneyQuestMilestone, type JourneyQuestMilestoneType, type KnownDepositError, type LatestBetRecord, type LatestBetRecordsReturn, type Locale, type LoginChannel, type ManualBankDeposit, type ManualBankWithdrawalRecord, type ManualDeposit, type ManualUPIDeposit, type ManualUPIWithdrawalRecord, type ManualWithdrawalRecord, type MarkAllMessagesAsReadReturn, type MarkGameAsFavoriteInput, type MarkGameAsFavoriteReturn, type MarkMessageAsReadReturn, type MayaAppDeposit, type MayaDeposit, type MayaSignInInput, type MayaSignInReturn, type MayaWithdrawalRecord, type MemberAchievement, type MemberAchievementReturn, type MemberLevelSetting, type MemberLevelSettings, type MemberLevelSettingsReturn, type MemberStatus, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, 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 PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, 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 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 TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type WageringQuestStage, type Wallet, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType };
|
package/dist/index.js
CHANGED
|
@@ -841,6 +841,87 @@ var CREATE_AIO_GCASH_DEPOSIT_MUTATION = gql`
|
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
843
|
`;
|
|
844
|
+
var CREATE_AIO_PAY_MAYA_DEPOSIT_MUTATION = gql`
|
|
845
|
+
mutation CreateAIOPayMayaDeposit($input: CreateAiOPayMayaDepositInput!) {
|
|
846
|
+
createAiOPayMayaDeposit(input: $input) {
|
|
847
|
+
... on DepositPromoMaximumAmountExceededError {
|
|
848
|
+
__typename
|
|
849
|
+
}
|
|
850
|
+
... on DepositPromoMinimumAmountNotMetError {
|
|
851
|
+
__typename
|
|
852
|
+
}
|
|
853
|
+
... on MaximumDepositAmountExceededError {
|
|
854
|
+
__typename
|
|
855
|
+
}
|
|
856
|
+
... on MinimumDepositAmountNotMetError {
|
|
857
|
+
__typename
|
|
858
|
+
}
|
|
859
|
+
... on MinimumFirstDepositAmountNotMetError {
|
|
860
|
+
__typename
|
|
861
|
+
}
|
|
862
|
+
... on PromoNotEnabledError {
|
|
863
|
+
__typename
|
|
864
|
+
}
|
|
865
|
+
... on WalletDoesNotExistError {
|
|
866
|
+
__typename
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
`;
|
|
871
|
+
var CREATE_AIO_GRAB_PAY_DEPOSIT_MUTATION = gql`
|
|
872
|
+
mutation CreateAIOGrabPayDeposit($input: CreateAiOGrabPayDepositInput!) {
|
|
873
|
+
createAiOGrabPayDeposit(input: $input) {
|
|
874
|
+
... on DepositPromoMaximumAmountExceededError {
|
|
875
|
+
__typename
|
|
876
|
+
}
|
|
877
|
+
... on DepositPromoMinimumAmountNotMetError {
|
|
878
|
+
__typename
|
|
879
|
+
}
|
|
880
|
+
... on MaximumDepositAmountExceededError {
|
|
881
|
+
__typename
|
|
882
|
+
}
|
|
883
|
+
... on MinimumDepositAmountNotMetError {
|
|
884
|
+
__typename
|
|
885
|
+
}
|
|
886
|
+
... on MinimumFirstDepositAmountNotMetError {
|
|
887
|
+
__typename
|
|
888
|
+
}
|
|
889
|
+
... on PromoNotEnabledError {
|
|
890
|
+
__typename
|
|
891
|
+
}
|
|
892
|
+
... on WalletDoesNotExistError {
|
|
893
|
+
__typename
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
`;
|
|
898
|
+
var CREATE_AIO_PALAWAN_PAY_DEPOSIT_MUTATION = gql`
|
|
899
|
+
mutation CreateAIOPalawanPayDeposit($input: CreateAiOPalawanPayDepositInput!) {
|
|
900
|
+
createAiOPalawanPayDeposit(input: $input) {
|
|
901
|
+
... on DepositPromoMaximumAmountExceededError {
|
|
902
|
+
__typename
|
|
903
|
+
}
|
|
904
|
+
... on DepositPromoMinimumAmountNotMetError {
|
|
905
|
+
__typename
|
|
906
|
+
}
|
|
907
|
+
... on MaximumDepositAmountExceededError {
|
|
908
|
+
__typename
|
|
909
|
+
}
|
|
910
|
+
... on MinimumDepositAmountNotMetError {
|
|
911
|
+
__typename
|
|
912
|
+
}
|
|
913
|
+
... on MinimumFirstDepositAmountNotMetError {
|
|
914
|
+
__typename
|
|
915
|
+
}
|
|
916
|
+
... on PromoNotEnabledError {
|
|
917
|
+
__typename
|
|
918
|
+
}
|
|
919
|
+
... on WalletDoesNotExistError {
|
|
920
|
+
__typename
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
`;
|
|
844
925
|
var CREATE_AIO_ONLINE_BANK_DEPOSIT_MUTATION = gql`
|
|
845
926
|
mutation CreateAIOOnlineBankDeposit(
|
|
846
927
|
$input: CreateAIOOnlineBankDepositInput!
|
|
@@ -950,6 +1031,27 @@ var DEPOSIT_QUERY = gql`
|
|
|
950
1031
|
checkoutUrl
|
|
951
1032
|
error
|
|
952
1033
|
}
|
|
1034
|
+
... on AiOPayMayaDeposit {
|
|
1035
|
+
id
|
|
1036
|
+
type
|
|
1037
|
+
status
|
|
1038
|
+
checkoutUrl
|
|
1039
|
+
error
|
|
1040
|
+
}
|
|
1041
|
+
... on AiOGrabPayDeposit {
|
|
1042
|
+
id
|
|
1043
|
+
type
|
|
1044
|
+
status
|
|
1045
|
+
checkoutUrl
|
|
1046
|
+
error
|
|
1047
|
+
}
|
|
1048
|
+
... on AiOPalawanPayDeposit {
|
|
1049
|
+
id
|
|
1050
|
+
type
|
|
1051
|
+
status
|
|
1052
|
+
checkoutUrl
|
|
1053
|
+
error
|
|
1054
|
+
}
|
|
953
1055
|
... on MayaDeposit {
|
|
954
1056
|
id
|
|
955
1057
|
type
|
|
@@ -1744,6 +1846,15 @@ var PLATFORM_QUERY = gql`
|
|
|
1744
1846
|
aioGcashDepositGatewaySettings: depositGatewaySettings(gateway: AIO_GCASH) {
|
|
1745
1847
|
...DepositGatewaySettingsCoreData
|
|
1746
1848
|
}
|
|
1849
|
+
aioPayMayaDepositGatewaySettings: depositGatewaySettings(gateway: AIO_PAY_MAYA) {
|
|
1850
|
+
...DepositGatewaySettingsCoreData
|
|
1851
|
+
}
|
|
1852
|
+
aioGrabPayDepositGatewaySettings: depositGatewaySettings(gateway: AIO_GRAB_PAY) {
|
|
1853
|
+
...DepositGatewaySettingsCoreData
|
|
1854
|
+
}
|
|
1855
|
+
aioPalawanPayDepositGatewaySettings: depositGatewaySettings(gateway: AIO_PALAWAN_PAY) {
|
|
1856
|
+
...DepositGatewaySettingsCoreData
|
|
1857
|
+
}
|
|
1747
1858
|
mayaDepositGatewaySettings: depositGatewaySettings(gateway: MAYA) {
|
|
1748
1859
|
...DepositGatewaySettingsCoreData
|
|
1749
1860
|
}
|
|
@@ -1950,6 +2061,15 @@ var PAYMENT_SETTINGS_QUERY = gql`
|
|
|
1950
2061
|
aioGcashDepositGatewaySettings: depositGatewaySettings(gateway: AIO_GCASH) {
|
|
1951
2062
|
...DepositGatewaySettingsCoreData
|
|
1952
2063
|
}
|
|
2064
|
+
aioPayMayaDepositGatewaySettings: depositGatewaySettings(gateway: AIO_PAY_MAYA) {
|
|
2065
|
+
...DepositGatewaySettingsCoreData
|
|
2066
|
+
}
|
|
2067
|
+
aioGrabPayDepositGatewaySettings: depositGatewaySettings(gateway: AIO_GRAB_PAY) {
|
|
2068
|
+
...DepositGatewaySettingsCoreData
|
|
2069
|
+
}
|
|
2070
|
+
aioPalawanPayDepositGatewaySettings: depositGatewaySettings(gateway: AIO_PALAWAN_PAY) {
|
|
2071
|
+
...DepositGatewaySettingsCoreData
|
|
2072
|
+
}
|
|
1953
2073
|
mayaDepositGatewaySettings: depositGatewaySettings(gateway: MAYA) {
|
|
1954
2074
|
...DepositGatewaySettingsCoreData
|
|
1955
2075
|
}
|
|
@@ -4138,6 +4258,66 @@ var WalletService = class {
|
|
|
4138
4258
|
ok: true
|
|
4139
4259
|
};
|
|
4140
4260
|
}
|
|
4261
|
+
async createAIOPayMayaDeposit(variables) {
|
|
4262
|
+
const { reCAPTCHAResponse, ...others } = variables;
|
|
4263
|
+
const res = await this.client.request(CREATE_AIO_PAY_MAYA_DEPOSIT_MUTATION, others, {
|
|
4264
|
+
headers: {
|
|
4265
|
+
...reCAPTCHAResponse && {
|
|
4266
|
+
"google-recaptcha-response": reCAPTCHAResponse
|
|
4267
|
+
}
|
|
4268
|
+
}
|
|
4269
|
+
});
|
|
4270
|
+
if (!res.ok) return res;
|
|
4271
|
+
if (res.data.createAIOPayMayaDeposit) {
|
|
4272
|
+
return {
|
|
4273
|
+
ok: false,
|
|
4274
|
+
error: createOperationError(res.data.createAIOPayMayaDeposit.__typename)
|
|
4275
|
+
};
|
|
4276
|
+
}
|
|
4277
|
+
return {
|
|
4278
|
+
ok: true
|
|
4279
|
+
};
|
|
4280
|
+
}
|
|
4281
|
+
async createAIOGrabPayDeposit(variables) {
|
|
4282
|
+
const { reCAPTCHAResponse, ...others } = variables;
|
|
4283
|
+
const res = await this.client.request(CREATE_AIO_GRAB_PAY_DEPOSIT_MUTATION, others, {
|
|
4284
|
+
headers: {
|
|
4285
|
+
...reCAPTCHAResponse && {
|
|
4286
|
+
"google-recaptcha-response": reCAPTCHAResponse
|
|
4287
|
+
}
|
|
4288
|
+
}
|
|
4289
|
+
});
|
|
4290
|
+
if (!res.ok) return res;
|
|
4291
|
+
if (res.data.createAIOGrabPayDeposit) {
|
|
4292
|
+
return {
|
|
4293
|
+
ok: false,
|
|
4294
|
+
error: createOperationError(res.data.createAIOGrabPayDeposit.__typename)
|
|
4295
|
+
};
|
|
4296
|
+
}
|
|
4297
|
+
return {
|
|
4298
|
+
ok: true
|
|
4299
|
+
};
|
|
4300
|
+
}
|
|
4301
|
+
async createAIOPalawanPayDeposit(variables) {
|
|
4302
|
+
const { reCAPTCHAResponse, ...others } = variables;
|
|
4303
|
+
const res = await this.client.request(CREATE_AIO_PALAWAN_PAY_DEPOSIT_MUTATION, others, {
|
|
4304
|
+
headers: {
|
|
4305
|
+
...reCAPTCHAResponse && {
|
|
4306
|
+
"google-recaptcha-response": reCAPTCHAResponse
|
|
4307
|
+
}
|
|
4308
|
+
}
|
|
4309
|
+
});
|
|
4310
|
+
if (!res.ok) return res;
|
|
4311
|
+
if (res.data.createAIOPalawanPayDeposit) {
|
|
4312
|
+
return {
|
|
4313
|
+
ok: false,
|
|
4314
|
+
error: createOperationError(res.data.createAIOPalawanPayDeposit.__typename)
|
|
4315
|
+
};
|
|
4316
|
+
}
|
|
4317
|
+
return {
|
|
4318
|
+
ok: true
|
|
4319
|
+
};
|
|
4320
|
+
}
|
|
4141
4321
|
async createAIOOnlineBankDeposit(variables) {
|
|
4142
4322
|
const { reCAPTCHAResponse, ...others } = variables;
|
|
4143
4323
|
const res = await this.client.request(CREATE_AIO_ONLINE_BANK_DEPOSIT_MUTATION, others, {
|
|
@@ -6027,6 +6207,42 @@ var Transformer = class {
|
|
|
6027
6207
|
data.aioGcashDepositGatewaySettings?.maximumAmount
|
|
6028
6208
|
)
|
|
6029
6209
|
},
|
|
6210
|
+
aioPayMaya: {
|
|
6211
|
+
androidEnabled: data.aioPayMayaDepositGatewaySettings?.androidEnabled ?? false,
|
|
6212
|
+
iosEnabled: data.aioPayMayaDepositGatewaySettings?.iosEnabled ?? false,
|
|
6213
|
+
webEnabled: data.aioPayMayaDepositGatewaySettings?.webEnabled ?? false,
|
|
6214
|
+
mobileWebEnabled: data.aioPayMayaDepositGatewaySettings?.mobileWebEnabled ?? false,
|
|
6215
|
+
minimumAmount: parseDecimal(
|
|
6216
|
+
data.aioPayMayaDepositGatewaySettings?.minimumAmount
|
|
6217
|
+
),
|
|
6218
|
+
maximumAmount: parseDecimal(
|
|
6219
|
+
data.aioPayMayaDepositGatewaySettings?.maximumAmount
|
|
6220
|
+
)
|
|
6221
|
+
},
|
|
6222
|
+
aioGrabPay: {
|
|
6223
|
+
androidEnabled: data.aioGrabPayDepositGatewaySettings?.androidEnabled ?? false,
|
|
6224
|
+
iosEnabled: data.aioGrabPayDepositGatewaySettings?.iosEnabled ?? false,
|
|
6225
|
+
webEnabled: data.aioGrabPayDepositGatewaySettings?.webEnabled ?? false,
|
|
6226
|
+
mobileWebEnabled: data.aioGrabPayDepositGatewaySettings?.mobileWebEnabled ?? false,
|
|
6227
|
+
minimumAmount: parseDecimal(
|
|
6228
|
+
data.aioGrabPayDepositGatewaySettings?.minimumAmount
|
|
6229
|
+
),
|
|
6230
|
+
maximumAmount: parseDecimal(
|
|
6231
|
+
data.aioGrabPayDepositGatewaySettings?.maximumAmount
|
|
6232
|
+
)
|
|
6233
|
+
},
|
|
6234
|
+
aioPalawanPay: {
|
|
6235
|
+
androidEnabled: data.aioPalawanPayDepositGatewaySettings?.androidEnabled ?? false,
|
|
6236
|
+
iosEnabled: data.aioPalawanPayDepositGatewaySettings?.iosEnabled ?? false,
|
|
6237
|
+
webEnabled: data.aioPalawanPayDepositGatewaySettings?.webEnabled ?? false,
|
|
6238
|
+
mobileWebEnabled: data.aioPalawanPayDepositGatewaySettings?.mobileWebEnabled ?? false,
|
|
6239
|
+
minimumAmount: parseDecimal(
|
|
6240
|
+
data.aioPalawanPayDepositGatewaySettings?.minimumAmount
|
|
6241
|
+
),
|
|
6242
|
+
maximumAmount: parseDecimal(
|
|
6243
|
+
data.aioPalawanPayDepositGatewaySettings?.maximumAmount
|
|
6244
|
+
)
|
|
6245
|
+
},
|
|
6030
6246
|
maya: {
|
|
6031
6247
|
androidEnabled: data.mayaDepositGatewaySettings?.androidEnabled ?? false,
|
|
6032
6248
|
iosEnabled: data.mayaDepositGatewaySettings?.iosEnabled ?? false,
|
|
@@ -6441,6 +6657,42 @@ var Transformer = class {
|
|
|
6441
6657
|
data.aioGcashDepositGatewaySettings?.maximumAmount
|
|
6442
6658
|
)
|
|
6443
6659
|
},
|
|
6660
|
+
aioPayMaya: {
|
|
6661
|
+
androidEnabled: data.aioPayMayaDepositGatewaySettings?.androidEnabled ?? false,
|
|
6662
|
+
iosEnabled: data.aioPayMayaDepositGatewaySettings?.iosEnabled ?? false,
|
|
6663
|
+
webEnabled: data.aioPayMayaDepositGatewaySettings?.webEnabled ?? false,
|
|
6664
|
+
mobileWebEnabled: data.aioPayMayaDepositGatewaySettings?.mobileWebEnabled ?? false,
|
|
6665
|
+
minimumAmount: parseDecimal(
|
|
6666
|
+
data.aioPayMayaDepositGatewaySettings?.minimumAmount
|
|
6667
|
+
),
|
|
6668
|
+
maximumAmount: parseDecimal(
|
|
6669
|
+
data.aioPayMayaDepositGatewaySettings?.maximumAmount
|
|
6670
|
+
)
|
|
6671
|
+
},
|
|
6672
|
+
aioGrabPay: {
|
|
6673
|
+
androidEnabled: data.aioGrabPayDepositGatewaySettings?.androidEnabled ?? false,
|
|
6674
|
+
iosEnabled: data.aioGrabPayDepositGatewaySettings?.iosEnabled ?? false,
|
|
6675
|
+
webEnabled: data.aioGrabPayDepositGatewaySettings?.webEnabled ?? false,
|
|
6676
|
+
mobileWebEnabled: data.aioGrabPayDepositGatewaySettings?.mobileWebEnabled ?? false,
|
|
6677
|
+
minimumAmount: parseDecimal(
|
|
6678
|
+
data.aioGrabPayDepositGatewaySettings?.minimumAmount
|
|
6679
|
+
),
|
|
6680
|
+
maximumAmount: parseDecimal(
|
|
6681
|
+
data.aioGrabPayDepositGatewaySettings?.maximumAmount
|
|
6682
|
+
)
|
|
6683
|
+
},
|
|
6684
|
+
aioPalawanPay: {
|
|
6685
|
+
androidEnabled: data.aioPalawanPayDepositGatewaySettings?.androidEnabled ?? false,
|
|
6686
|
+
iosEnabled: data.aioPalawanPayDepositGatewaySettings?.iosEnabled ?? false,
|
|
6687
|
+
webEnabled: data.aioPalawanPayDepositGatewaySettings?.webEnabled ?? false,
|
|
6688
|
+
mobileWebEnabled: data.aioPalawanPayDepositGatewaySettings?.mobileWebEnabled ?? false,
|
|
6689
|
+
minimumAmount: parseDecimal(
|
|
6690
|
+
data.aioPalawanPayDepositGatewaySettings?.minimumAmount
|
|
6691
|
+
),
|
|
6692
|
+
maximumAmount: parseDecimal(
|
|
6693
|
+
data.aioPalawanPayDepositGatewaySettings?.maximumAmount
|
|
6694
|
+
)
|
|
6695
|
+
},
|
|
6444
6696
|
maya: {
|
|
6445
6697
|
androidEnabled: data.mayaDepositGatewaySettings?.androidEnabled ?? false,
|
|
6446
6698
|
iosEnabled: data.mayaDepositGatewaySettings?.iosEnabled ?? false,
|
|
@@ -8210,6 +8462,42 @@ var Sdk = class {
|
|
|
8210
8462
|
});
|
|
8211
8463
|
if (!res.ok) return res;
|
|
8212
8464
|
}
|
|
8465
|
+
if (input.type === "AIO_PAY_MAYA") {
|
|
8466
|
+
const res = await this.walletService.createAIOPayMayaDeposit({
|
|
8467
|
+
input: {
|
|
8468
|
+
id,
|
|
8469
|
+
amount: input.amount.toString(),
|
|
8470
|
+
promo: input.promo,
|
|
8471
|
+
redirectUrl: input.redirectUrl
|
|
8472
|
+
},
|
|
8473
|
+
reCAPTCHAResponse: input.reCAPTCHAResponse
|
|
8474
|
+
});
|
|
8475
|
+
if (!res.ok) return res;
|
|
8476
|
+
}
|
|
8477
|
+
if (input.type === "AIO_GRAB_PAY") {
|
|
8478
|
+
const res = await this.walletService.createAIOGrabPayDeposit({
|
|
8479
|
+
input: {
|
|
8480
|
+
id,
|
|
8481
|
+
amount: input.amount.toString(),
|
|
8482
|
+
promo: input.promo,
|
|
8483
|
+
redirectUrl: input.redirectUrl
|
|
8484
|
+
},
|
|
8485
|
+
reCAPTCHAResponse: input.reCAPTCHAResponse
|
|
8486
|
+
});
|
|
8487
|
+
if (!res.ok) return res;
|
|
8488
|
+
}
|
|
8489
|
+
if (input.type === "AIO_PALAWAN_PAY") {
|
|
8490
|
+
const res = await this.walletService.createAIOPalawanPayDeposit({
|
|
8491
|
+
input: {
|
|
8492
|
+
id,
|
|
8493
|
+
amount: input.amount.toString(),
|
|
8494
|
+
promo: input.promo,
|
|
8495
|
+
redirectUrl: input.redirectUrl
|
|
8496
|
+
},
|
|
8497
|
+
reCAPTCHAResponse: input.reCAPTCHAResponse
|
|
8498
|
+
});
|
|
8499
|
+
if (!res.ok) return res;
|
|
8500
|
+
}
|
|
8213
8501
|
if (input.type === "AIO_ONLINE_BANK") {
|
|
8214
8502
|
const res = await this.walletService.createAIOOnlineBankDeposit({
|
|
8215
8503
|
input: {
|