@opexa/portal-sdk 0.52.7 → 0.53.0
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 +47 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -3
- package/dist/index.d.ts +12 -3
- package/dist/index.js +47 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -184,7 +184,7 @@ interface DepositRecordsQueryVariables {
|
|
|
184
184
|
}
|
|
185
185
|
type CreateDepositError$1 = 'DepositPromoMaximumAmountExceededError' | 'DepositPromoMinimumAmountNotMetError' | 'MaximumDepositAmountExceededError' | 'MinimumDepositAmountNotMetError' | 'MinimumFirstDepositAmountNotMetError' | 'PromoNotEnabledError' | 'WalletDoesNotExistError' | 'ReCAPTCHAVerificationFailedError' | 'UPIReferenceNotAvailableError' | 'GCashDirectApiRequestError';
|
|
186
186
|
type Bank$1 = 'AUBKPHMM' | 'MBTCPHMM' | 'BNORPHMM' | 'MKRUPHM1';
|
|
187
|
-
type WithdrawalType$1 = 'MANUAL' | 'BANK' | 'GCASH' | 'MAYA_APP' | 'INSTAPAY' | 'MANUAL_UPI' | 'MANUAL_BANK' | 'GCASH_WEBPAY' | 'PISO_PAY_REMITTANCE' | 'GCASH_STANDARD_CASH_IN';
|
|
187
|
+
type WithdrawalType$1 = 'MANUAL' | 'BANK' | 'GCASH' | 'MAYA_APP' | 'INSTAPAY' | 'MANUAL_UPI' | 'MANUAL_BANK' | 'GCASH_WEBPAY' | 'PISO_PAY_REMITTANCE' | 'GCASH_STANDARD_CASH_IN' | 'CABINET_WITHDRAWAL';
|
|
188
188
|
type WithdrawalStatus$1 = 'PENDING' | 'ACCEPTED' | 'APPROVED' | 'REJECTED' | 'CONFIRMED' | 'CANCELLED' | 'FAILED' | 'VOIDED';
|
|
189
189
|
interface WithdrawalRecordsQueryVariables {
|
|
190
190
|
first?: number;
|
|
@@ -1210,7 +1210,14 @@ interface ManualUPIWithdrawalRecord extends WithdrawalRecordCommonProps {
|
|
|
1210
1210
|
bank?: never;
|
|
1211
1211
|
recipientMobileNumber?: never;
|
|
1212
1212
|
}
|
|
1213
|
-
|
|
1213
|
+
interface CabinetWithdrawalRecord extends WithdrawalRecordCommonProps {
|
|
1214
|
+
type: 'CabinetWithdrawal';
|
|
1215
|
+
reference?: string;
|
|
1216
|
+
amount: number;
|
|
1217
|
+
status: WithdrawalStatus;
|
|
1218
|
+
accountName: string;
|
|
1219
|
+
}
|
|
1220
|
+
type WithdrawalRecord = ManualWithdrawalRecord | BankWithdrawalRecord | GCashWithdrawalRecord | MayaWithdrawalRecord | InstapayWithdrawalRecord | ManualBankWithdrawalRecord | ManualUPIWithdrawalRecord | CabinetWithdrawalRecord;
|
|
1214
1221
|
interface WithdrawalRecordsInput extends WithdrawalRecordsQueryVariables {
|
|
1215
1222
|
}
|
|
1216
1223
|
type WithdrawalRecordsReturn = OperationResult<never, PaginatedQueryResult<'withdrawalRecords', WithdrawalRecord>>;
|
|
@@ -1844,6 +1851,7 @@ interface CabinetSiteMachine {
|
|
|
1844
1851
|
dateTimeCreated: Date;
|
|
1845
1852
|
}
|
|
1846
1853
|
type CabinetSiteMachineStatus = "ENABLED" | "DISABLED";
|
|
1854
|
+
type CabinetWithdrawalReturn = OperationResult<never, WithdrawalRecord | null>;
|
|
1847
1855
|
|
|
1848
1856
|
interface SdkConfig {
|
|
1849
1857
|
/**
|
|
@@ -1915,6 +1923,7 @@ declare class Sdk {
|
|
|
1915
1923
|
createSingleUseToken(): Promise<CreateSingleUseTokenReturn>;
|
|
1916
1924
|
site(): Promise<SiteReturn>;
|
|
1917
1925
|
memberCabinetSiteMachine(): Promise<CabinetSiteMachineReturn>;
|
|
1926
|
+
cabinetWithdrawalRecord(id: string): Promise<CabinetWithdrawalReturn>;
|
|
1918
1927
|
/** @deprecated */
|
|
1919
1928
|
platform(): Promise<PlatformReturn>;
|
|
1920
1929
|
platform__next(): Promise<PlatformReturn__Next>;
|
|
@@ -2022,4 +2031,4 @@ declare class Sdk {
|
|
|
2022
2031
|
private formatYmd;
|
|
2023
2032
|
}
|
|
2024
2033
|
|
|
2025
|
-
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 CabinetSiteMachine, type CabinetSiteMachineReturn, type CabinetSiteMachineStatus, 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 CreateCabinetWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashStandardCashInWithdrawalInput, type CreateGCashWebpayDepositInput, type CreateGCashWithdrawalInput, type CreateGameSessionByIdInput, type CreateGameSessionByReferenceInput, type CreateGameSessionError, type CreateGameSessionInput, type CreateGameSessionReturn, type CreateManualBankDepositInput, type CreateManualBankWithdrawalInput, type CreateManualUPIDepositInput, type CreateManualUPIWithdrawalInput, type CreateMayaAppDepositInput, type CreateMayaAppWithdrawalInput, type CreateMayaDepositInput, type CreateMayaWebpayDepositInput, type CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenReturn, type CreateTestDepositInput, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type 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 PromoFilterInput, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type 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 RequireFirstDeposit, type RequireFirstDepositReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type 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 WageringQuestStageSettings, type Wallet, type WalletGame, type WalletGameInput, type WalletGamesReturn, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType };
|
|
2034
|
+
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 CabinetSiteMachine, type CabinetSiteMachineReturn, type CabinetSiteMachineStatus, type CabinetWithdrawalRecord, type CabinetWithdrawalReturn, 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 CreateCabinetWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashStandardCashInWithdrawalInput, type CreateGCashWebpayDepositInput, type CreateGCashWithdrawalInput, type CreateGameSessionByIdInput, type CreateGameSessionByReferenceInput, type CreateGameSessionError, type CreateGameSessionInput, type CreateGameSessionReturn, type CreateManualBankDepositInput, type CreateManualBankWithdrawalInput, type CreateManualUPIDepositInput, type CreateManualUPIWithdrawalInput, type CreateMayaAppDepositInput, type CreateMayaAppWithdrawalInput, type CreateMayaDepositInput, type CreateMayaWebpayDepositInput, type CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenReturn, type CreateTestDepositInput, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type 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 PromoFilterInput, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type 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 RequireFirstDeposit, type RequireFirstDepositReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type 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 WageringQuestStageSettings, type Wallet, type WalletGame, type WalletGameInput, type WalletGamesReturn, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType };
|
package/dist/index.d.ts
CHANGED
|
@@ -184,7 +184,7 @@ interface DepositRecordsQueryVariables {
|
|
|
184
184
|
}
|
|
185
185
|
type CreateDepositError$1 = 'DepositPromoMaximumAmountExceededError' | 'DepositPromoMinimumAmountNotMetError' | 'MaximumDepositAmountExceededError' | 'MinimumDepositAmountNotMetError' | 'MinimumFirstDepositAmountNotMetError' | 'PromoNotEnabledError' | 'WalletDoesNotExistError' | 'ReCAPTCHAVerificationFailedError' | 'UPIReferenceNotAvailableError' | 'GCashDirectApiRequestError';
|
|
186
186
|
type Bank$1 = 'AUBKPHMM' | 'MBTCPHMM' | 'BNORPHMM' | 'MKRUPHM1';
|
|
187
|
-
type WithdrawalType$1 = 'MANUAL' | 'BANK' | 'GCASH' | 'MAYA_APP' | 'INSTAPAY' | 'MANUAL_UPI' | 'MANUAL_BANK' | 'GCASH_WEBPAY' | 'PISO_PAY_REMITTANCE' | 'GCASH_STANDARD_CASH_IN';
|
|
187
|
+
type WithdrawalType$1 = 'MANUAL' | 'BANK' | 'GCASH' | 'MAYA_APP' | 'INSTAPAY' | 'MANUAL_UPI' | 'MANUAL_BANK' | 'GCASH_WEBPAY' | 'PISO_PAY_REMITTANCE' | 'GCASH_STANDARD_CASH_IN' | 'CABINET_WITHDRAWAL';
|
|
188
188
|
type WithdrawalStatus$1 = 'PENDING' | 'ACCEPTED' | 'APPROVED' | 'REJECTED' | 'CONFIRMED' | 'CANCELLED' | 'FAILED' | 'VOIDED';
|
|
189
189
|
interface WithdrawalRecordsQueryVariables {
|
|
190
190
|
first?: number;
|
|
@@ -1210,7 +1210,14 @@ interface ManualUPIWithdrawalRecord extends WithdrawalRecordCommonProps {
|
|
|
1210
1210
|
bank?: never;
|
|
1211
1211
|
recipientMobileNumber?: never;
|
|
1212
1212
|
}
|
|
1213
|
-
|
|
1213
|
+
interface CabinetWithdrawalRecord extends WithdrawalRecordCommonProps {
|
|
1214
|
+
type: 'CabinetWithdrawal';
|
|
1215
|
+
reference?: string;
|
|
1216
|
+
amount: number;
|
|
1217
|
+
status: WithdrawalStatus;
|
|
1218
|
+
accountName: string;
|
|
1219
|
+
}
|
|
1220
|
+
type WithdrawalRecord = ManualWithdrawalRecord | BankWithdrawalRecord | GCashWithdrawalRecord | MayaWithdrawalRecord | InstapayWithdrawalRecord | ManualBankWithdrawalRecord | ManualUPIWithdrawalRecord | CabinetWithdrawalRecord;
|
|
1214
1221
|
interface WithdrawalRecordsInput extends WithdrawalRecordsQueryVariables {
|
|
1215
1222
|
}
|
|
1216
1223
|
type WithdrawalRecordsReturn = OperationResult<never, PaginatedQueryResult<'withdrawalRecords', WithdrawalRecord>>;
|
|
@@ -1844,6 +1851,7 @@ interface CabinetSiteMachine {
|
|
|
1844
1851
|
dateTimeCreated: Date;
|
|
1845
1852
|
}
|
|
1846
1853
|
type CabinetSiteMachineStatus = "ENABLED" | "DISABLED";
|
|
1854
|
+
type CabinetWithdrawalReturn = OperationResult<never, WithdrawalRecord | null>;
|
|
1847
1855
|
|
|
1848
1856
|
interface SdkConfig {
|
|
1849
1857
|
/**
|
|
@@ -1915,6 +1923,7 @@ declare class Sdk {
|
|
|
1915
1923
|
createSingleUseToken(): Promise<CreateSingleUseTokenReturn>;
|
|
1916
1924
|
site(): Promise<SiteReturn>;
|
|
1917
1925
|
memberCabinetSiteMachine(): Promise<CabinetSiteMachineReturn>;
|
|
1926
|
+
cabinetWithdrawalRecord(id: string): Promise<CabinetWithdrawalReturn>;
|
|
1918
1927
|
/** @deprecated */
|
|
1919
1928
|
platform(): Promise<PlatformReturn>;
|
|
1920
1929
|
platform__next(): Promise<PlatformReturn__Next>;
|
|
@@ -2022,4 +2031,4 @@ declare class Sdk {
|
|
|
2022
2031
|
private formatYmd;
|
|
2023
2032
|
}
|
|
2024
2033
|
|
|
2025
|
-
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 CabinetSiteMachine, type CabinetSiteMachineReturn, type CabinetSiteMachineStatus, 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 CreateCabinetWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashStandardCashInWithdrawalInput, type CreateGCashWebpayDepositInput, type CreateGCashWithdrawalInput, type CreateGameSessionByIdInput, type CreateGameSessionByReferenceInput, type CreateGameSessionError, type CreateGameSessionInput, type CreateGameSessionReturn, type CreateManualBankDepositInput, type CreateManualBankWithdrawalInput, type CreateManualUPIDepositInput, type CreateManualUPIWithdrawalInput, type CreateMayaAppDepositInput, type CreateMayaAppWithdrawalInput, type CreateMayaDepositInput, type CreateMayaWebpayDepositInput, type CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenReturn, type CreateTestDepositInput, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type 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 PromoFilterInput, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type 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 RequireFirstDeposit, type RequireFirstDepositReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type 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 WageringQuestStageSettings, type Wallet, type WalletGame, type WalletGameInput, type WalletGamesReturn, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType };
|
|
2034
|
+
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 CabinetSiteMachine, type CabinetSiteMachineReturn, type CabinetSiteMachineStatus, type CabinetWithdrawalRecord, type CabinetWithdrawalReturn, 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 CreateCabinetWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashStandardCashInWithdrawalInput, type CreateGCashWebpayDepositInput, type CreateGCashWithdrawalInput, type CreateGameSessionByIdInput, type CreateGameSessionByReferenceInput, type CreateGameSessionError, type CreateGameSessionInput, type CreateGameSessionReturn, type CreateManualBankDepositInput, type CreateManualBankWithdrawalInput, type CreateManualUPIDepositInput, type CreateManualUPIWithdrawalInput, type CreateMayaAppDepositInput, type CreateMayaAppWithdrawalInput, type CreateMayaDepositInput, type CreateMayaWebpayDepositInput, type CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenReturn, type CreateTestDepositInput, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type 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 PromoFilterInput, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type 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 RequireFirstDeposit, type RequireFirstDepositReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type 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 WageringQuestStageSettings, type Wallet, type WalletGame, type WalletGameInput, type WalletGamesReturn, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType };
|
package/dist/index.js
CHANGED
|
@@ -2935,6 +2935,21 @@ var MEMBER_CABINET_SITE_MACHINE_QUERY = gql`
|
|
|
2935
2935
|
}
|
|
2936
2936
|
}
|
|
2937
2937
|
`;
|
|
2938
|
+
var CABINET_WITHDRAWAL_QUERY = gql`
|
|
2939
|
+
query CabinetWithdrawal($id: ObjectId!) {
|
|
2940
|
+
node(id: $id) {
|
|
2941
|
+
id
|
|
2942
|
+
... on CabinetWithdrawal {
|
|
2943
|
+
account
|
|
2944
|
+
type
|
|
2945
|
+
reference
|
|
2946
|
+
amount
|
|
2947
|
+
status
|
|
2948
|
+
dateTimeCreated
|
|
2949
|
+
}
|
|
2950
|
+
}
|
|
2951
|
+
}
|
|
2952
|
+
`;
|
|
2938
2953
|
|
|
2939
2954
|
// src/services/utils.ts
|
|
2940
2955
|
function createOperationError(code) {
|
|
@@ -5104,6 +5119,13 @@ var WalletService = class {
|
|
|
5104
5119
|
data: res.data.games
|
|
5105
5120
|
};
|
|
5106
5121
|
}
|
|
5122
|
+
async cabinetWithdrawal(variables) {
|
|
5123
|
+
const res = await this.client.request(
|
|
5124
|
+
CABINET_WITHDRAWAL_QUERY,
|
|
5125
|
+
variables
|
|
5126
|
+
);
|
|
5127
|
+
return res.ok ? { ok: res.ok, data: res.data.node } : res;
|
|
5128
|
+
}
|
|
5107
5129
|
};
|
|
5108
5130
|
|
|
5109
5131
|
// src/services/extension.service.ts
|
|
@@ -6398,6 +6420,7 @@ var Transformer = class {
|
|
|
6398
6420
|
announcement: this.announcement.bind(this),
|
|
6399
6421
|
withdrawalRecord: this.withdrawalRecord.bind(this),
|
|
6400
6422
|
deposit: this.deposit.bind(this),
|
|
6423
|
+
cabinetWithdrawal: this.cabinetWithdrawal.bind(this),
|
|
6401
6424
|
depositRecord: this.depositRecord.bind(this),
|
|
6402
6425
|
betRecord: this.betRecord.bind(this),
|
|
6403
6426
|
latestBetRecord: this.latestBetRecord.bind(this),
|
|
@@ -7864,6 +7887,19 @@ var Transformer = class {
|
|
|
7864
7887
|
}
|
|
7865
7888
|
};
|
|
7866
7889
|
}
|
|
7890
|
+
cabinetWithdrawal(data) {
|
|
7891
|
+
const o = {
|
|
7892
|
+
id: data.id,
|
|
7893
|
+
type: data.type,
|
|
7894
|
+
status: data.status,
|
|
7895
|
+
amount: data.amount,
|
|
7896
|
+
reference: data.reference,
|
|
7897
|
+
accountName: data.accountName,
|
|
7898
|
+
dateTimeCreated: data.dateTimeCreated,
|
|
7899
|
+
error: data.error ?? void 0
|
|
7900
|
+
};
|
|
7901
|
+
return compact(o);
|
|
7902
|
+
}
|
|
7867
7903
|
};
|
|
7868
7904
|
|
|
7869
7905
|
// src/sdk/sdk.ts
|
|
@@ -8313,7 +8349,7 @@ var Sdk = class {
|
|
|
8313
8349
|
}
|
|
8314
8350
|
/*
|
|
8315
8351
|
*=============================================
|
|
8316
|
-
*
|
|
8352
|
+
* EXTENSION
|
|
8317
8353
|
*=============================================
|
|
8318
8354
|
*/
|
|
8319
8355
|
async memberCabinetSiteMachine() {
|
|
@@ -8324,6 +8360,14 @@ var Sdk = class {
|
|
|
8324
8360
|
data: res.data ? this.transformer.transform.memberCabinetSiteMachine(res.data) : null
|
|
8325
8361
|
};
|
|
8326
8362
|
}
|
|
8363
|
+
async cabinetWithdrawalRecord(id) {
|
|
8364
|
+
const res = await this.walletService.cabinetWithdrawal({ id });
|
|
8365
|
+
if (!res.ok) return res;
|
|
8366
|
+
return {
|
|
8367
|
+
ok: true,
|
|
8368
|
+
data: res.data ? this.transformer.transform.cabinetWithdrawal(res.data) : null
|
|
8369
|
+
};
|
|
8370
|
+
}
|
|
8327
8371
|
/*
|
|
8328
8372
|
*=============================================
|
|
8329
8373
|
* PLATFORM
|
|
@@ -9934,11 +9978,11 @@ var ENDPOINTS = {
|
|
|
9934
9978
|
report: "https://report.staging.atalos.io/graphql",
|
|
9935
9979
|
wallet: "https://wallet.staging.atalos.io/graphql",
|
|
9936
9980
|
account: "https://account.staging.atalos.io/graphql",
|
|
9937
|
-
portal: "https://portal.
|
|
9981
|
+
portal: "https://portal.staging.atalos.io/graphql",
|
|
9938
9982
|
trigger: "https://trigger.staging.atalos.io/graphql",
|
|
9939
9983
|
static: "https://static.atalos.io",
|
|
9940
9984
|
cmsPortal: "https://portal-api.staging.opexacms.io",
|
|
9941
|
-
opexapay: "https://external.opexapay.
|
|
9985
|
+
opexapay: "https://external.opexapay.staging.atalos.io "
|
|
9942
9986
|
}
|
|
9943
9987
|
};
|
|
9944
9988
|
|