@opexa/portal-sdk 0.45.6 → 0.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1634 -1634
- package/dist/index.cjs +28 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.js +28 -20
- package/dist/index.js.map +1 -1
- package/package.json +2 -15
package/dist/index.d.cts
CHANGED
|
@@ -1024,7 +1024,7 @@ interface GCashDeposit extends DepositBase<'GCASH'> {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
interface GcashWebpayDeposit extends DepositBase<'GCASH_WEBPAY'> {
|
|
1026
1026
|
}
|
|
1027
|
-
interface
|
|
1027
|
+
interface AiOGCashDeposit extends DepositBase<'AIO_GCASH'> {
|
|
1028
1028
|
}
|
|
1029
1029
|
interface AiOPayMayaDeposit extends DepositBase<'AIO_PAY_MAYA'> {
|
|
1030
1030
|
}
|
|
@@ -1048,7 +1048,7 @@ interface ManualBankDeposit extends DepositBase<'MANUAL_BANK'> {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
interface ManualUPIDeposit extends DepositBase<'MANUAL_UPI'> {
|
|
1050
1050
|
}
|
|
1051
|
-
type Deposit = GCashDeposit | MayaDeposit | MayaAppDeposit | BankDeposit | ManualDeposit | QRPHDeposit | OnlineBankDeposit | ManualBankDeposit | ManualUPIDeposit | GcashWebpayDeposit |
|
|
1051
|
+
type Deposit = GCashDeposit | MayaDeposit | MayaAppDeposit | BankDeposit | ManualDeposit | QRPHDeposit | OnlineBankDeposit | ManualBankDeposit | ManualUPIDeposit | GcashWebpayDeposit | AiOGCashDeposit | AiOPayMayaDeposit | AiOGrabPayDeposit | AiOPalawanPayDeposit;
|
|
1052
1052
|
type DepositReturn = OperationResult<never, Deposit | null>;
|
|
1053
1053
|
type DepositsCountReturn = OperationResult<never, number>;
|
|
1054
1054
|
interface CreateDepositBaseInput {
|
|
@@ -1063,19 +1063,19 @@ interface CreateMayaDepositInput extends CreateDepositBaseInput {
|
|
|
1063
1063
|
interface CreateGCashDepositInput extends CreateDepositBaseInput {
|
|
1064
1064
|
type: 'GCASH';
|
|
1065
1065
|
}
|
|
1066
|
-
interface
|
|
1066
|
+
interface CreateAiOGCashDepositInput extends CreateDepositBaseInput {
|
|
1067
1067
|
type: 'AIO_GCASH';
|
|
1068
1068
|
redirectUrl: string;
|
|
1069
1069
|
}
|
|
1070
|
-
interface
|
|
1070
|
+
interface CreateAiOPayMayaDepositInput extends CreateDepositBaseInput {
|
|
1071
1071
|
type: 'AIO_PAY_MAYA';
|
|
1072
1072
|
redirectUrl: string;
|
|
1073
1073
|
}
|
|
1074
|
-
interface
|
|
1074
|
+
interface CreateAiOGrabPayDepositInput extends CreateDepositBaseInput {
|
|
1075
1075
|
type: 'AIO_GRAB_PAY';
|
|
1076
1076
|
redirectUrl: string;
|
|
1077
1077
|
}
|
|
1078
|
-
interface
|
|
1078
|
+
interface CreateAiOPalawanPayDepositInput extends CreateDepositBaseInput {
|
|
1079
1079
|
type: 'AIO_PALAWAN_PAY';
|
|
1080
1080
|
redirectUrl: string;
|
|
1081
1081
|
}
|
|
@@ -1102,7 +1102,7 @@ interface CreateManualBankDepositInput extends CreateDepositBaseInput {
|
|
|
1102
1102
|
type: 'MANUAL_BANK';
|
|
1103
1103
|
referenceId: string;
|
|
1104
1104
|
}
|
|
1105
|
-
type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateAIOQRPHDepositInput | CreateAIOOnlineBankDepositInput | CreateManualBankDepositInput | CreateManualUPIDepositInput | CreateAIOOnlineBankDepositInput |
|
|
1105
|
+
type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateAIOQRPHDepositInput | CreateAIOOnlineBankDepositInput | CreateManualBankDepositInput | CreateManualUPIDepositInput | CreateAIOOnlineBankDepositInput | CreateAiOGCashDepositInput | CreateAiOPayMayaDepositInput | CreateAiOGrabPayDepositInput | CreateAiOPalawanPayDepositInput | CreateGCashWebpayDepositInput;
|
|
1106
1106
|
type CreateDepositError = UnionAlias<CreateDepositError$1>;
|
|
1107
1107
|
type CreateDepositReturn = OperationResult<CreateDepositError, {
|
|
1108
1108
|
id: string;
|
|
@@ -1127,6 +1127,7 @@ interface WithdrawalRecordCommonProps {
|
|
|
1127
1127
|
dateTimeCreated: Date;
|
|
1128
1128
|
dateTimeLastUpdated: Date;
|
|
1129
1129
|
error?: WithdrawalError;
|
|
1130
|
+
serialCode: string;
|
|
1130
1131
|
}
|
|
1131
1132
|
interface ManualWithdrawalRecord extends WithdrawalRecordCommonProps {
|
|
1132
1133
|
type: 'MANUAL';
|
|
@@ -1937,4 +1938,4 @@ declare class Sdk {
|
|
|
1937
1938
|
private formatYmd;
|
|
1938
1939
|
}
|
|
1939
1940
|
|
|
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
|
|
1941
|
+
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 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 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 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 GcashWebpayDeposit, 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
|
@@ -1024,7 +1024,7 @@ interface GCashDeposit extends DepositBase<'GCASH'> {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
interface GcashWebpayDeposit extends DepositBase<'GCASH_WEBPAY'> {
|
|
1026
1026
|
}
|
|
1027
|
-
interface
|
|
1027
|
+
interface AiOGCashDeposit extends DepositBase<'AIO_GCASH'> {
|
|
1028
1028
|
}
|
|
1029
1029
|
interface AiOPayMayaDeposit extends DepositBase<'AIO_PAY_MAYA'> {
|
|
1030
1030
|
}
|
|
@@ -1048,7 +1048,7 @@ interface ManualBankDeposit extends DepositBase<'MANUAL_BANK'> {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
interface ManualUPIDeposit extends DepositBase<'MANUAL_UPI'> {
|
|
1050
1050
|
}
|
|
1051
|
-
type Deposit = GCashDeposit | MayaDeposit | MayaAppDeposit | BankDeposit | ManualDeposit | QRPHDeposit | OnlineBankDeposit | ManualBankDeposit | ManualUPIDeposit | GcashWebpayDeposit |
|
|
1051
|
+
type Deposit = GCashDeposit | MayaDeposit | MayaAppDeposit | BankDeposit | ManualDeposit | QRPHDeposit | OnlineBankDeposit | ManualBankDeposit | ManualUPIDeposit | GcashWebpayDeposit | AiOGCashDeposit | AiOPayMayaDeposit | AiOGrabPayDeposit | AiOPalawanPayDeposit;
|
|
1052
1052
|
type DepositReturn = OperationResult<never, Deposit | null>;
|
|
1053
1053
|
type DepositsCountReturn = OperationResult<never, number>;
|
|
1054
1054
|
interface CreateDepositBaseInput {
|
|
@@ -1063,19 +1063,19 @@ interface CreateMayaDepositInput extends CreateDepositBaseInput {
|
|
|
1063
1063
|
interface CreateGCashDepositInput extends CreateDepositBaseInput {
|
|
1064
1064
|
type: 'GCASH';
|
|
1065
1065
|
}
|
|
1066
|
-
interface
|
|
1066
|
+
interface CreateAiOGCashDepositInput extends CreateDepositBaseInput {
|
|
1067
1067
|
type: 'AIO_GCASH';
|
|
1068
1068
|
redirectUrl: string;
|
|
1069
1069
|
}
|
|
1070
|
-
interface
|
|
1070
|
+
interface CreateAiOPayMayaDepositInput extends CreateDepositBaseInput {
|
|
1071
1071
|
type: 'AIO_PAY_MAYA';
|
|
1072
1072
|
redirectUrl: string;
|
|
1073
1073
|
}
|
|
1074
|
-
interface
|
|
1074
|
+
interface CreateAiOGrabPayDepositInput extends CreateDepositBaseInput {
|
|
1075
1075
|
type: 'AIO_GRAB_PAY';
|
|
1076
1076
|
redirectUrl: string;
|
|
1077
1077
|
}
|
|
1078
|
-
interface
|
|
1078
|
+
interface CreateAiOPalawanPayDepositInput extends CreateDepositBaseInput {
|
|
1079
1079
|
type: 'AIO_PALAWAN_PAY';
|
|
1080
1080
|
redirectUrl: string;
|
|
1081
1081
|
}
|
|
@@ -1102,7 +1102,7 @@ interface CreateManualBankDepositInput extends CreateDepositBaseInput {
|
|
|
1102
1102
|
type: 'MANUAL_BANK';
|
|
1103
1103
|
referenceId: string;
|
|
1104
1104
|
}
|
|
1105
|
-
type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateAIOQRPHDepositInput | CreateAIOOnlineBankDepositInput | CreateManualBankDepositInput | CreateManualUPIDepositInput | CreateAIOOnlineBankDepositInput |
|
|
1105
|
+
type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateAIOQRPHDepositInput | CreateAIOOnlineBankDepositInput | CreateManualBankDepositInput | CreateManualUPIDepositInput | CreateAIOOnlineBankDepositInput | CreateAiOGCashDepositInput | CreateAiOPayMayaDepositInput | CreateAiOGrabPayDepositInput | CreateAiOPalawanPayDepositInput | CreateGCashWebpayDepositInput;
|
|
1106
1106
|
type CreateDepositError = UnionAlias<CreateDepositError$1>;
|
|
1107
1107
|
type CreateDepositReturn = OperationResult<CreateDepositError, {
|
|
1108
1108
|
id: string;
|
|
@@ -1127,6 +1127,7 @@ interface WithdrawalRecordCommonProps {
|
|
|
1127
1127
|
dateTimeCreated: Date;
|
|
1128
1128
|
dateTimeLastUpdated: Date;
|
|
1129
1129
|
error?: WithdrawalError;
|
|
1130
|
+
serialCode: string;
|
|
1130
1131
|
}
|
|
1131
1132
|
interface ManualWithdrawalRecord extends WithdrawalRecordCommonProps {
|
|
1132
1133
|
type: 'MANUAL';
|
|
@@ -1937,4 +1938,4 @@ declare class Sdk {
|
|
|
1937
1938
|
private formatYmd;
|
|
1938
1939
|
}
|
|
1939
1940
|
|
|
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
|
|
1941
|
+
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 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 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 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 GcashWebpayDeposit, 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
|
@@ -272,6 +272,7 @@ var WITHDRAWAL_RECORDS_QUERY = gql`
|
|
|
272
272
|
status
|
|
273
273
|
error
|
|
274
274
|
withdrawalNumber
|
|
275
|
+
serialCode
|
|
275
276
|
dateTimeCreated
|
|
276
277
|
dateTimeLastUpdated
|
|
277
278
|
}
|
|
@@ -285,6 +286,7 @@ var WITHDRAWAL_RECORDS_QUERY = gql`
|
|
|
285
286
|
status
|
|
286
287
|
error
|
|
287
288
|
withdrawalNumber
|
|
289
|
+
serialCode
|
|
288
290
|
recipientMobileNumber
|
|
289
291
|
dateTimeCreated
|
|
290
292
|
dateTimeLastUpdated
|
|
@@ -299,6 +301,7 @@ var WITHDRAWAL_RECORDS_QUERY = gql`
|
|
|
299
301
|
status
|
|
300
302
|
error
|
|
301
303
|
withdrawalNumber
|
|
304
|
+
serialCode
|
|
302
305
|
dateTimeCreated
|
|
303
306
|
dateTimeLastUpdated
|
|
304
307
|
}
|
|
@@ -312,6 +315,7 @@ var WITHDRAWAL_RECORDS_QUERY = gql`
|
|
|
312
315
|
status
|
|
313
316
|
error
|
|
314
317
|
withdrawalNumber
|
|
318
|
+
serialCode
|
|
315
319
|
dateTimeCreated
|
|
316
320
|
dateTimeLastUpdated
|
|
317
321
|
}
|
|
@@ -326,6 +330,7 @@ var WITHDRAWAL_RECORDS_QUERY = gql`
|
|
|
326
330
|
status
|
|
327
331
|
error
|
|
328
332
|
withdrawalNumber
|
|
333
|
+
serialCode
|
|
329
334
|
dateTimeCreated
|
|
330
335
|
dateTimeLastUpdated
|
|
331
336
|
bankName
|
|
@@ -340,6 +345,7 @@ var WITHDRAWAL_RECORDS_QUERY = gql`
|
|
|
340
345
|
status
|
|
341
346
|
error
|
|
342
347
|
withdrawalNumber
|
|
348
|
+
serialCode
|
|
343
349
|
dateTimeCreated
|
|
344
350
|
dateTimeLastUpdated
|
|
345
351
|
}
|
|
@@ -353,6 +359,7 @@ var WITHDRAWAL_RECORDS_QUERY = gql`
|
|
|
353
359
|
status
|
|
354
360
|
error
|
|
355
361
|
withdrawalNumber
|
|
362
|
+
serialCode
|
|
356
363
|
dateTimeCreated
|
|
357
364
|
dateTimeLastUpdated
|
|
358
365
|
}
|
|
@@ -815,7 +822,7 @@ var CREATE_AIO_QRPH_DEPOSIT_MUTATION = gql`
|
|
|
815
822
|
}
|
|
816
823
|
`;
|
|
817
824
|
var CREATE_AIO_GCASH_DEPOSIT_MUTATION = gql`
|
|
818
|
-
mutation
|
|
825
|
+
mutation CreateAiOGCashDeposit($input: CreateAiOGCashDepositInput!) {
|
|
819
826
|
createAiOGCashDeposit(input: $input) {
|
|
820
827
|
... on DepositPromoMaximumAmountExceededError {
|
|
821
828
|
__typename
|
|
@@ -842,7 +849,7 @@ var CREATE_AIO_GCASH_DEPOSIT_MUTATION = gql`
|
|
|
842
849
|
}
|
|
843
850
|
`;
|
|
844
851
|
var CREATE_AIO_PAY_MAYA_DEPOSIT_MUTATION = gql`
|
|
845
|
-
mutation
|
|
852
|
+
mutation CreateAiOPayMayaDeposit($input: CreateAiOPayMayaDepositInput!) {
|
|
846
853
|
createAiOPayMayaDeposit(input: $input) {
|
|
847
854
|
... on DepositPromoMaximumAmountExceededError {
|
|
848
855
|
__typename
|
|
@@ -869,7 +876,7 @@ var CREATE_AIO_PAY_MAYA_DEPOSIT_MUTATION = gql`
|
|
|
869
876
|
}
|
|
870
877
|
`;
|
|
871
878
|
var CREATE_AIO_GRAB_PAY_DEPOSIT_MUTATION = gql`
|
|
872
|
-
mutation
|
|
879
|
+
mutation CreateAiOGrabPayDeposit($input: CreateAiOGrabPayDepositInput!) {
|
|
873
880
|
createAiOGrabPayDeposit(input: $input) {
|
|
874
881
|
... on DepositPromoMaximumAmountExceededError {
|
|
875
882
|
__typename
|
|
@@ -896,7 +903,7 @@ var CREATE_AIO_GRAB_PAY_DEPOSIT_MUTATION = gql`
|
|
|
896
903
|
}
|
|
897
904
|
`;
|
|
898
905
|
var CREATE_AIO_PALAWAN_PAY_DEPOSIT_MUTATION = gql`
|
|
899
|
-
mutation
|
|
906
|
+
mutation CreateAiOPalawanPayDeposit($input: CreateAiOPalawanPayDepositInput!) {
|
|
900
907
|
createAiOPalawanPayDeposit(input: $input) {
|
|
901
908
|
... on DepositPromoMaximumAmountExceededError {
|
|
902
909
|
__typename
|
|
@@ -4238,7 +4245,7 @@ var WalletService = class {
|
|
|
4238
4245
|
ok: true
|
|
4239
4246
|
};
|
|
4240
4247
|
}
|
|
4241
|
-
async
|
|
4248
|
+
async createAiOGCashDeposit(variables) {
|
|
4242
4249
|
const { reCAPTCHAResponse, ...others } = variables;
|
|
4243
4250
|
const res = await this.client.request(CREATE_AIO_GCASH_DEPOSIT_MUTATION, others, {
|
|
4244
4251
|
headers: {
|
|
@@ -4248,17 +4255,17 @@ var WalletService = class {
|
|
|
4248
4255
|
}
|
|
4249
4256
|
});
|
|
4250
4257
|
if (!res.ok) return res;
|
|
4251
|
-
if (res.data.
|
|
4258
|
+
if (res.data.createAiOGCashDeposit) {
|
|
4252
4259
|
return {
|
|
4253
4260
|
ok: false,
|
|
4254
|
-
error: createOperationError(res.data.
|
|
4261
|
+
error: createOperationError(res.data.createAiOGCashDeposit.__typename)
|
|
4255
4262
|
};
|
|
4256
4263
|
}
|
|
4257
4264
|
return {
|
|
4258
4265
|
ok: true
|
|
4259
4266
|
};
|
|
4260
4267
|
}
|
|
4261
|
-
async
|
|
4268
|
+
async createAiOPayMayaDeposit(variables) {
|
|
4262
4269
|
const { reCAPTCHAResponse, ...others } = variables;
|
|
4263
4270
|
const res = await this.client.request(CREATE_AIO_PAY_MAYA_DEPOSIT_MUTATION, others, {
|
|
4264
4271
|
headers: {
|
|
@@ -4268,17 +4275,17 @@ var WalletService = class {
|
|
|
4268
4275
|
}
|
|
4269
4276
|
});
|
|
4270
4277
|
if (!res.ok) return res;
|
|
4271
|
-
if (res.data.
|
|
4278
|
+
if (res.data.createAiOPayMayaDeposit) {
|
|
4272
4279
|
return {
|
|
4273
4280
|
ok: false,
|
|
4274
|
-
error: createOperationError(res.data.
|
|
4281
|
+
error: createOperationError(res.data.createAiOPayMayaDeposit.__typename)
|
|
4275
4282
|
};
|
|
4276
4283
|
}
|
|
4277
4284
|
return {
|
|
4278
4285
|
ok: true
|
|
4279
4286
|
};
|
|
4280
4287
|
}
|
|
4281
|
-
async
|
|
4288
|
+
async createAiOGrabPayDeposit(variables) {
|
|
4282
4289
|
const { reCAPTCHAResponse, ...others } = variables;
|
|
4283
4290
|
const res = await this.client.request(CREATE_AIO_GRAB_PAY_DEPOSIT_MUTATION, others, {
|
|
4284
4291
|
headers: {
|
|
@@ -4288,17 +4295,17 @@ var WalletService = class {
|
|
|
4288
4295
|
}
|
|
4289
4296
|
});
|
|
4290
4297
|
if (!res.ok) return res;
|
|
4291
|
-
if (res.data.
|
|
4298
|
+
if (res.data.createAiOGrabPayDeposit) {
|
|
4292
4299
|
return {
|
|
4293
4300
|
ok: false,
|
|
4294
|
-
error: createOperationError(res.data.
|
|
4301
|
+
error: createOperationError(res.data.createAiOGrabPayDeposit.__typename)
|
|
4295
4302
|
};
|
|
4296
4303
|
}
|
|
4297
4304
|
return {
|
|
4298
4305
|
ok: true
|
|
4299
4306
|
};
|
|
4300
4307
|
}
|
|
4301
|
-
async
|
|
4308
|
+
async createAiOPalawanPayDeposit(variables) {
|
|
4302
4309
|
const { reCAPTCHAResponse, ...others } = variables;
|
|
4303
4310
|
const res = await this.client.request(CREATE_AIO_PALAWAN_PAY_DEPOSIT_MUTATION, others, {
|
|
4304
4311
|
headers: {
|
|
@@ -4308,10 +4315,10 @@ var WalletService = class {
|
|
|
4308
4315
|
}
|
|
4309
4316
|
});
|
|
4310
4317
|
if (!res.ok) return res;
|
|
4311
|
-
if (res.data.
|
|
4318
|
+
if (res.data.createAiOPalawanPayDeposit) {
|
|
4312
4319
|
return {
|
|
4313
4320
|
ok: false,
|
|
4314
|
-
error: createOperationError(res.data.
|
|
4321
|
+
error: createOperationError(res.data.createAiOPalawanPayDeposit.__typename)
|
|
4315
4322
|
};
|
|
4316
4323
|
}
|
|
4317
4324
|
return {
|
|
@@ -6960,6 +6967,7 @@ var Transformer = class {
|
|
|
6960
6967
|
accountName: data.accountName ?? void 0,
|
|
6961
6968
|
error: data.error ?? void 0,
|
|
6962
6969
|
withdrawalNumber: data.withdrawalNumber,
|
|
6970
|
+
serialCode: data.serialCode,
|
|
6963
6971
|
recipientMobileNumber: data.recipientMobileNumber ?? void 0,
|
|
6964
6972
|
dateTimeConfirmed: data.dateTimeConfirmed ? new Date(data.dateTimeConfirmed) : void 0,
|
|
6965
6973
|
dateTimeCreated: new Date(data.dateTimeCreated),
|
|
@@ -8451,7 +8459,7 @@ var Sdk = class {
|
|
|
8451
8459
|
if (!res.ok) return res;
|
|
8452
8460
|
}
|
|
8453
8461
|
if (input.type === "AIO_GCASH") {
|
|
8454
|
-
const res = await this.walletService.
|
|
8462
|
+
const res = await this.walletService.createAiOGCashDeposit({
|
|
8455
8463
|
input: {
|
|
8456
8464
|
id,
|
|
8457
8465
|
amount: input.amount.toString(),
|
|
@@ -8463,7 +8471,7 @@ var Sdk = class {
|
|
|
8463
8471
|
if (!res.ok) return res;
|
|
8464
8472
|
}
|
|
8465
8473
|
if (input.type === "AIO_PAY_MAYA") {
|
|
8466
|
-
const res = await this.walletService.
|
|
8474
|
+
const res = await this.walletService.createAiOPayMayaDeposit({
|
|
8467
8475
|
input: {
|
|
8468
8476
|
id,
|
|
8469
8477
|
amount: input.amount.toString(),
|
|
@@ -8475,7 +8483,7 @@ var Sdk = class {
|
|
|
8475
8483
|
if (!res.ok) return res;
|
|
8476
8484
|
}
|
|
8477
8485
|
if (input.type === "AIO_GRAB_PAY") {
|
|
8478
|
-
const res = await this.walletService.
|
|
8486
|
+
const res = await this.walletService.createAiOGrabPayDeposit({
|
|
8479
8487
|
input: {
|
|
8480
8488
|
id,
|
|
8481
8489
|
amount: input.amount.toString(),
|
|
@@ -8487,7 +8495,7 @@ var Sdk = class {
|
|
|
8487
8495
|
if (!res.ok) return res;
|
|
8488
8496
|
}
|
|
8489
8497
|
if (input.type === "AIO_PALAWAN_PAY") {
|
|
8490
|
-
const res = await this.walletService.
|
|
8498
|
+
const res = await this.walletService.createAiOPalawanPayDeposit({
|
|
8491
8499
|
input: {
|
|
8492
8500
|
id,
|
|
8493
8501
|
amount: input.amount.toString(),
|