@opexa/portal-sdk 0.56.5 → 0.57.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 +88 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +49 -13
- package/dist/index.d.ts +49 -13
- package/dist/index.js +88 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -161,6 +161,7 @@ interface BetRecordsQueryVariables {
|
|
|
161
161
|
dateTimeCreated?: DateFilterField;
|
|
162
162
|
vendorRoundId?: StringFilterField;
|
|
163
163
|
status?: EnumFilterField<BetRecordStatus$1>;
|
|
164
|
+
freeBetDrop?: ObjectIdFilterField;
|
|
164
165
|
};
|
|
165
166
|
startDateTime?: DateFilterField;
|
|
166
167
|
endDateTime?: DateFilterField;
|
|
@@ -484,6 +485,19 @@ interface FreeBetDropsQueryVariables {
|
|
|
484
485
|
gameProvider?: EnumFilterField<GameProvider$1>;
|
|
485
486
|
};
|
|
486
487
|
}
|
|
488
|
+
interface MemberFreeBetDropsQueryVariables {
|
|
489
|
+
first?: number;
|
|
490
|
+
after?: string;
|
|
491
|
+
filter?: {
|
|
492
|
+
id?: ObjectIdFilterField;
|
|
493
|
+
name?: StringFilterField;
|
|
494
|
+
memberGroup?: ObjectIdFilterField;
|
|
495
|
+
status?: EnumFilterField<FreeBetDropStatus$1>;
|
|
496
|
+
games?: ObjectIdFilterField;
|
|
497
|
+
promo?: ObjectIdFilterField;
|
|
498
|
+
gameProvider?: EnumFilterField<GameProvider$1>;
|
|
499
|
+
};
|
|
500
|
+
}
|
|
487
501
|
|
|
488
502
|
type Environment = 'production' | 'development' | 'staging';
|
|
489
503
|
type WithCursor<T> = T & {
|
|
@@ -1053,6 +1067,7 @@ interface BetRecordsFilterInput {
|
|
|
1053
1067
|
gameProvider?: NonNullable<BetRecordsQueryVariables['filter']>['game__provider'];
|
|
1054
1068
|
vendorRoundId?: NonNullable<BetRecordsQueryVariables['filter']>['vendorRoundId'];
|
|
1055
1069
|
dateTimeCreated?: NonNullable<BetRecordsQueryVariables['filter']>['dateTimeCreated'];
|
|
1070
|
+
freeBetDrop?: NonNullable<BetRecordsQueryVariables['filter']>['freeBetDrop'];
|
|
1056
1071
|
}
|
|
1057
1072
|
interface BetRecordsInput extends Omit<BetRecordsQueryVariables, 'filter'> {
|
|
1058
1073
|
filter?: BetRecordsFilterInput;
|
|
@@ -1073,20 +1088,45 @@ interface LatestBetRecord {
|
|
|
1073
1088
|
type LatestBetRecordsReturn = OperationResult<never, LatestBetRecord[]>;
|
|
1074
1089
|
interface FreeBetDropsInput extends FreeBetDropsQueryVariables {
|
|
1075
1090
|
}
|
|
1091
|
+
interface MemberFreeBetDropsInput extends MemberFreeBetDropsQueryVariables {
|
|
1092
|
+
}
|
|
1076
1093
|
type FreeBetDropStatus = UnionAlias<FreeBetDropStatus$1>;
|
|
1077
1094
|
interface FreeBetDrops {
|
|
1078
1095
|
id: string;
|
|
1079
1096
|
name: string;
|
|
1080
1097
|
description: string;
|
|
1081
|
-
|
|
1098
|
+
games?: {
|
|
1082
1099
|
id: string;
|
|
1083
1100
|
name: string;
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1101
|
+
provider: GameProvider;
|
|
1102
|
+
}[];
|
|
1103
|
+
gameProvider: GameProvider;
|
|
1104
|
+
remainingBets: number;
|
|
1105
|
+
bets: number;
|
|
1106
|
+
betValue: string;
|
|
1107
|
+
status: FreeBetDropStatus;
|
|
1108
|
+
activationDateTime: Date;
|
|
1109
|
+
expirationDateTime: Date;
|
|
1110
|
+
dateTimeCreated: Date;
|
|
1111
|
+
dateTimeCompleted?: Date;
|
|
1112
|
+
dateTimeLastUpdated: Date;
|
|
1113
|
+
payout: string;
|
|
1114
|
+
}
|
|
1115
|
+
interface MemberFreeBetDropBetRecord {
|
|
1116
|
+
game: {
|
|
1117
|
+
id: string;
|
|
1087
1118
|
name: string;
|
|
1088
1119
|
};
|
|
1089
|
-
|
|
1120
|
+
dateTimeCreated: string;
|
|
1121
|
+
payout: string;
|
|
1122
|
+
freeBetDrop: {
|
|
1123
|
+
remainingBets: number;
|
|
1124
|
+
};
|
|
1125
|
+
}
|
|
1126
|
+
interface MemberFreeBetDrop {
|
|
1127
|
+
id: string;
|
|
1128
|
+
name: string;
|
|
1129
|
+
description: string;
|
|
1090
1130
|
games?: {
|
|
1091
1131
|
id: string;
|
|
1092
1132
|
name: string;
|
|
@@ -1095,9 +1135,6 @@ interface FreeBetDrops {
|
|
|
1095
1135
|
remainingBets: number;
|
|
1096
1136
|
bets: number;
|
|
1097
1137
|
betValue: string;
|
|
1098
|
-
bonusMaximumAmount: string;
|
|
1099
|
-
bonusAmountPercentage: string;
|
|
1100
|
-
bonusTurnoverRequirementMultiplier: string;
|
|
1101
1138
|
status: FreeBetDropStatus;
|
|
1102
1139
|
activationDateTime: Date;
|
|
1103
1140
|
expirationDateTime: Date;
|
|
@@ -1105,11 +1142,9 @@ interface FreeBetDrops {
|
|
|
1105
1142
|
dateTimeCompleted?: Date;
|
|
1106
1143
|
dateTimeLastUpdated: Date;
|
|
1107
1144
|
payout: string;
|
|
1108
|
-
|
|
1109
|
-
id: string;
|
|
1110
|
-
amount: string;
|
|
1111
|
-
};
|
|
1145
|
+
gameProvider: GameProvider;
|
|
1112
1146
|
}
|
|
1147
|
+
type MemberFreeBetDropsReturn = OperationResult<never, PaginatedQueryResult<'freeBetDrops', MemberFreeBetDrop>>;
|
|
1113
1148
|
type FreeBetDropsReturn = OperationResult<never, PaginatedQueryResult<'freeBetDrops', FreeBetDrops>>;
|
|
1114
1149
|
type TransactionType = UnionAlias<TransactionType$1>;
|
|
1115
1150
|
interface TransactionRecord {
|
|
@@ -2168,6 +2203,7 @@ declare class Sdk {
|
|
|
2168
2203
|
betRecords(input?: BetRecordsInput): Promise<BetRecordsReturn>;
|
|
2169
2204
|
latestBetRecords(): Promise<LatestBetRecordsReturn>;
|
|
2170
2205
|
freeBetDrops(input?: FreeBetDropsInput): Promise<FreeBetDropsReturn>;
|
|
2206
|
+
memberFreeBetDrops(input?: MemberFreeBetDropsInput): Promise<MemberFreeBetDropsReturn>;
|
|
2171
2207
|
transactionRecords(input?: TransactionRecordsInput): Promise<TransactionRecordsReturn>;
|
|
2172
2208
|
promos(): Promise<PromosReturn>;
|
|
2173
2209
|
availablePromos(input?: PromoFilterInput): Promise<AvailablePromosReturn>;
|
|
@@ -2239,4 +2275,4 @@ declare class Sdk {
|
|
|
2239
2275
|
private formatYmd;
|
|
2240
2276
|
}
|
|
2241
2277
|
|
|
2242
|
-
export { type Account, type AccountReturn, type AccountStatus, type AccountVerificationStatus, type AchievementPointsHistoryRecord, type AchievementPointsHistoryRecordInput, type AchievementPointsHistoryRecordReturn, type AchievementSettings, type AchievementSettingsResponse, type AchievementSettingsReturn, type AchievementType, type ActivityRecord, type ActivityRecordType, type ActivityRecordsInput, type ActivityRecordsReturn, type Agent, type AiOGCashDeposit, type AiOGrabPayDeposit, type AiOPalawanPayDeposit, type AiOPayMayaDeposit, type Announcement, type AnnouncementStatus, type AnnouncementType, type AnnouncementsInput, type AnnouncementsReturn, type AuthenticateError, type AuthenticateInput, type AuthenticateReturn, type Authenticator, type AvailablePromosReturn, type AvailableQuestsReturn, type Bank, type BankDeposit, type BankWithdrawalRecord, type BetRecord, type BetRecordStatus, type BetRecordsInput, type BetRecordsReturn, type Bonus, type BonusReturn, type BonusesReturn, type CabinetSignInInput, type CabinetSignInReturn, type CabinetSiteMachine, type CabinetSiteMachineReturn, type CabinetSiteMachineStatus, type CabinetWithdrawalRecord, type CabinetWithdrawalReturn, type 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 CreateSingleUseTokenInput, type CreateSingleUseTokenReturn, type CreateTestDepositInput, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type FreeBetDropStatus, type FreeBetDrops, type FreeBetDropsInput, type FreeBetDropsReturn, type GCashDeposit, type GCashWithdrawalRecord, type Game, type GameProvider, type GameReturn, type GameSession, type GameSessionLaunchOptions, type GameSessionReturn, type GameSessionStatus, type GameTag, type GameType, type GamesInput, type GamesInput__Next, type GamesReturn, type GatewaySettings, type GcashWebpayDeposit, type GeneralMemberLevelSettings, type GeneralMemberLevelSettingsReturn, type 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 MemberVerificationRequest, type MemberVerificationRequestAutomaticApprovalEnabledReturn, type MemberVerificationRequestReturn, type MemberVerificationRequestStatus, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, type MobileNumberCreateAccountInput__next, type MobileNumberInrCreateAccountInput, type MobileNumberSignInInput, type MobileNumberSignInReturn, type MultiSelectField, type NameAndPasswordCreateAccountInput, type NameAndPasswordSignInInput, type NameAndPasswordSignInReturn, type NameCreateAccountInput, ObjectType, type OnboardingPlayerExperience, type OnboardingStatus, type OnboardingStatusReturn, type OnlineBankDeposit, type OperationError, type OperationResult, type PaymentSettings, type PaymentSettingsReturn, type Platform, type PlatformReturn, type PlatformReturn__Next, type Platform__Next, type PointsClubSettings, type PointsClubSettingsReturn, type PointsWallet, type PointsWalletReturn, type PointsWalletTransaction, type PointsWalletTransactionType, type PointsWalletTransactionsInput, type PointsWalletTransactionsReturn, type ProfileCompletion, type ProfileCompletionReturn, type Promo, type PromoByCodeReturn, type PromoFilterInput, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type RedeemVoucherInput, type RedeemVoucherReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterAgentAccountError, type RegisterAgentAccountInput, type RegisterAgentAccountReturn, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, type RequireFirstDepositReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type SubmitMemberVerificationRequestBasicDetailsInput, type SubmitMemberVerificationRequestBasicDetailsReturn, type SubmitMemberVerificationRequestImageDetailsInput, type SubmitMemberVerificationRequestImageDetailsReturn, type SubmitMemberVerificationRequestPersonalDetailsInput, type SubmitMemberVerificationRequestPersonalDetailsReturn, type SubmitMemberVerificationReturn, type SubmitVerificationDetailsInput, type SubmitVerificationDetailsInputNext, type SubmitVerificationDetailsReturn, type SubmitVerificationError, type TextField, type ToggleField, type TokenSignInInput, type TokenSignInReturn, type TopWin, type TopWinsReturn, type TouchDepositInput, type TouchDepositReturn, type Tournament, type TournamentFrequency, type TournamentLeaderboard, type TournamentMode, type TournamentPayout, type TournamentStatus, type TournamentType, type TournamentsIdsInput, type TournamentsIdsReturn, type TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type VoucherType, type WageringQuestStage, type WageringQuestStageSettings, type Wallet, type WalletGame, type WalletGameInput, type WalletGamesReturn, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType, type _JackpotsInput, type _JackpotsReturn };
|
|
2278
|
+
export { type Account, type AccountReturn, type AccountStatus, type AccountVerificationStatus, type AchievementPointsHistoryRecord, type AchievementPointsHistoryRecordInput, type AchievementPointsHistoryRecordReturn, type AchievementSettings, type AchievementSettingsResponse, type AchievementSettingsReturn, type AchievementType, type ActivityRecord, type ActivityRecordType, type ActivityRecordsInput, type ActivityRecordsReturn, type Agent, type AiOGCashDeposit, type AiOGrabPayDeposit, type AiOPalawanPayDeposit, type AiOPayMayaDeposit, type Announcement, type AnnouncementStatus, type AnnouncementType, type AnnouncementsInput, type AnnouncementsReturn, type AuthenticateError, type AuthenticateInput, type AuthenticateReturn, type Authenticator, type AvailablePromosReturn, type AvailableQuestsReturn, type Bank, type BankDeposit, type BankWithdrawalRecord, type BetRecord, type BetRecordStatus, type BetRecordsInput, type BetRecordsReturn, type Bonus, type BonusReturn, type BonusesReturn, type CabinetSignInInput, type CabinetSignInReturn, type CabinetSiteMachine, type CabinetSiteMachineReturn, type CabinetSiteMachineStatus, type CabinetWithdrawalRecord, type CabinetWithdrawalReturn, type 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 CreateSingleUseTokenInput, type CreateSingleUseTokenReturn, type CreateTestDepositInput, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type FreeBetDropStatus, type FreeBetDrops, type FreeBetDropsInput, type FreeBetDropsReturn, type GCashDeposit, type GCashWithdrawalRecord, type Game, type GameProvider, type GameReturn, type GameSession, type GameSessionLaunchOptions, type GameSessionReturn, type GameSessionStatus, type GameTag, type GameType, type GamesInput, type GamesInput__Next, type GamesReturn, type GatewaySettings, type GcashWebpayDeposit, type GeneralMemberLevelSettings, type GeneralMemberLevelSettingsReturn, type 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 MemberFreeBetDrop, type MemberFreeBetDropBetRecord, type MemberFreeBetDropsInput, type MemberFreeBetDropsReturn, type MemberLevelSetting, type MemberLevelSettings, type MemberLevelSettingsReturn, type MemberStatus, type MemberVerificationRequest, type MemberVerificationRequestAutomaticApprovalEnabledReturn, type MemberVerificationRequestReturn, type MemberVerificationRequestStatus, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, type MobileNumberCreateAccountInput__next, type MobileNumberInrCreateAccountInput, type MobileNumberSignInInput, type MobileNumberSignInReturn, type MultiSelectField, type NameAndPasswordCreateAccountInput, type NameAndPasswordSignInInput, type NameAndPasswordSignInReturn, type NameCreateAccountInput, ObjectType, type OnboardingPlayerExperience, type OnboardingStatus, type OnboardingStatusReturn, type OnlineBankDeposit, type OperationError, type OperationResult, type PaymentSettings, type PaymentSettingsReturn, type Platform, type PlatformReturn, type PlatformReturn__Next, type Platform__Next, type PointsClubSettings, type PointsClubSettingsReturn, type PointsWallet, type PointsWalletReturn, type PointsWalletTransaction, type PointsWalletTransactionType, type PointsWalletTransactionsInput, type PointsWalletTransactionsReturn, type ProfileCompletion, type ProfileCompletionReturn, type Promo, type PromoByCodeReturn, type PromoFilterInput, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type RedeemVoucherInput, type RedeemVoucherReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterAgentAccountError, type RegisterAgentAccountInput, type RegisterAgentAccountReturn, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, type RequireFirstDepositReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type SubmitMemberVerificationRequestBasicDetailsInput, type SubmitMemberVerificationRequestBasicDetailsReturn, type SubmitMemberVerificationRequestImageDetailsInput, type SubmitMemberVerificationRequestImageDetailsReturn, type SubmitMemberVerificationRequestPersonalDetailsInput, type SubmitMemberVerificationRequestPersonalDetailsReturn, type SubmitMemberVerificationReturn, type SubmitVerificationDetailsInput, type SubmitVerificationDetailsInputNext, type SubmitVerificationDetailsReturn, type SubmitVerificationError, type TextField, type ToggleField, type TokenSignInInput, type TokenSignInReturn, type TopWin, type TopWinsReturn, type TouchDepositInput, type TouchDepositReturn, type Tournament, type TournamentFrequency, type TournamentLeaderboard, type TournamentMode, type TournamentPayout, type TournamentStatus, type TournamentType, type TournamentsIdsInput, type TournamentsIdsReturn, type TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type VoucherType, type WageringQuestStage, type WageringQuestStageSettings, type Wallet, type WalletGame, type WalletGameInput, type WalletGamesReturn, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType, type _JackpotsInput, type _JackpotsReturn };
|
package/dist/index.d.ts
CHANGED
|
@@ -161,6 +161,7 @@ interface BetRecordsQueryVariables {
|
|
|
161
161
|
dateTimeCreated?: DateFilterField;
|
|
162
162
|
vendorRoundId?: StringFilterField;
|
|
163
163
|
status?: EnumFilterField<BetRecordStatus$1>;
|
|
164
|
+
freeBetDrop?: ObjectIdFilterField;
|
|
164
165
|
};
|
|
165
166
|
startDateTime?: DateFilterField;
|
|
166
167
|
endDateTime?: DateFilterField;
|
|
@@ -484,6 +485,19 @@ interface FreeBetDropsQueryVariables {
|
|
|
484
485
|
gameProvider?: EnumFilterField<GameProvider$1>;
|
|
485
486
|
};
|
|
486
487
|
}
|
|
488
|
+
interface MemberFreeBetDropsQueryVariables {
|
|
489
|
+
first?: number;
|
|
490
|
+
after?: string;
|
|
491
|
+
filter?: {
|
|
492
|
+
id?: ObjectIdFilterField;
|
|
493
|
+
name?: StringFilterField;
|
|
494
|
+
memberGroup?: ObjectIdFilterField;
|
|
495
|
+
status?: EnumFilterField<FreeBetDropStatus$1>;
|
|
496
|
+
games?: ObjectIdFilterField;
|
|
497
|
+
promo?: ObjectIdFilterField;
|
|
498
|
+
gameProvider?: EnumFilterField<GameProvider$1>;
|
|
499
|
+
};
|
|
500
|
+
}
|
|
487
501
|
|
|
488
502
|
type Environment = 'production' | 'development' | 'staging';
|
|
489
503
|
type WithCursor<T> = T & {
|
|
@@ -1053,6 +1067,7 @@ interface BetRecordsFilterInput {
|
|
|
1053
1067
|
gameProvider?: NonNullable<BetRecordsQueryVariables['filter']>['game__provider'];
|
|
1054
1068
|
vendorRoundId?: NonNullable<BetRecordsQueryVariables['filter']>['vendorRoundId'];
|
|
1055
1069
|
dateTimeCreated?: NonNullable<BetRecordsQueryVariables['filter']>['dateTimeCreated'];
|
|
1070
|
+
freeBetDrop?: NonNullable<BetRecordsQueryVariables['filter']>['freeBetDrop'];
|
|
1056
1071
|
}
|
|
1057
1072
|
interface BetRecordsInput extends Omit<BetRecordsQueryVariables, 'filter'> {
|
|
1058
1073
|
filter?: BetRecordsFilterInput;
|
|
@@ -1073,20 +1088,45 @@ interface LatestBetRecord {
|
|
|
1073
1088
|
type LatestBetRecordsReturn = OperationResult<never, LatestBetRecord[]>;
|
|
1074
1089
|
interface FreeBetDropsInput extends FreeBetDropsQueryVariables {
|
|
1075
1090
|
}
|
|
1091
|
+
interface MemberFreeBetDropsInput extends MemberFreeBetDropsQueryVariables {
|
|
1092
|
+
}
|
|
1076
1093
|
type FreeBetDropStatus = UnionAlias<FreeBetDropStatus$1>;
|
|
1077
1094
|
interface FreeBetDrops {
|
|
1078
1095
|
id: string;
|
|
1079
1096
|
name: string;
|
|
1080
1097
|
description: string;
|
|
1081
|
-
|
|
1098
|
+
games?: {
|
|
1082
1099
|
id: string;
|
|
1083
1100
|
name: string;
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1101
|
+
provider: GameProvider;
|
|
1102
|
+
}[];
|
|
1103
|
+
gameProvider: GameProvider;
|
|
1104
|
+
remainingBets: number;
|
|
1105
|
+
bets: number;
|
|
1106
|
+
betValue: string;
|
|
1107
|
+
status: FreeBetDropStatus;
|
|
1108
|
+
activationDateTime: Date;
|
|
1109
|
+
expirationDateTime: Date;
|
|
1110
|
+
dateTimeCreated: Date;
|
|
1111
|
+
dateTimeCompleted?: Date;
|
|
1112
|
+
dateTimeLastUpdated: Date;
|
|
1113
|
+
payout: string;
|
|
1114
|
+
}
|
|
1115
|
+
interface MemberFreeBetDropBetRecord {
|
|
1116
|
+
game: {
|
|
1117
|
+
id: string;
|
|
1087
1118
|
name: string;
|
|
1088
1119
|
};
|
|
1089
|
-
|
|
1120
|
+
dateTimeCreated: string;
|
|
1121
|
+
payout: string;
|
|
1122
|
+
freeBetDrop: {
|
|
1123
|
+
remainingBets: number;
|
|
1124
|
+
};
|
|
1125
|
+
}
|
|
1126
|
+
interface MemberFreeBetDrop {
|
|
1127
|
+
id: string;
|
|
1128
|
+
name: string;
|
|
1129
|
+
description: string;
|
|
1090
1130
|
games?: {
|
|
1091
1131
|
id: string;
|
|
1092
1132
|
name: string;
|
|
@@ -1095,9 +1135,6 @@ interface FreeBetDrops {
|
|
|
1095
1135
|
remainingBets: number;
|
|
1096
1136
|
bets: number;
|
|
1097
1137
|
betValue: string;
|
|
1098
|
-
bonusMaximumAmount: string;
|
|
1099
|
-
bonusAmountPercentage: string;
|
|
1100
|
-
bonusTurnoverRequirementMultiplier: string;
|
|
1101
1138
|
status: FreeBetDropStatus;
|
|
1102
1139
|
activationDateTime: Date;
|
|
1103
1140
|
expirationDateTime: Date;
|
|
@@ -1105,11 +1142,9 @@ interface FreeBetDrops {
|
|
|
1105
1142
|
dateTimeCompleted?: Date;
|
|
1106
1143
|
dateTimeLastUpdated: Date;
|
|
1107
1144
|
payout: string;
|
|
1108
|
-
|
|
1109
|
-
id: string;
|
|
1110
|
-
amount: string;
|
|
1111
|
-
};
|
|
1145
|
+
gameProvider: GameProvider;
|
|
1112
1146
|
}
|
|
1147
|
+
type MemberFreeBetDropsReturn = OperationResult<never, PaginatedQueryResult<'freeBetDrops', MemberFreeBetDrop>>;
|
|
1113
1148
|
type FreeBetDropsReturn = OperationResult<never, PaginatedQueryResult<'freeBetDrops', FreeBetDrops>>;
|
|
1114
1149
|
type TransactionType = UnionAlias<TransactionType$1>;
|
|
1115
1150
|
interface TransactionRecord {
|
|
@@ -2168,6 +2203,7 @@ declare class Sdk {
|
|
|
2168
2203
|
betRecords(input?: BetRecordsInput): Promise<BetRecordsReturn>;
|
|
2169
2204
|
latestBetRecords(): Promise<LatestBetRecordsReturn>;
|
|
2170
2205
|
freeBetDrops(input?: FreeBetDropsInput): Promise<FreeBetDropsReturn>;
|
|
2206
|
+
memberFreeBetDrops(input?: MemberFreeBetDropsInput): Promise<MemberFreeBetDropsReturn>;
|
|
2171
2207
|
transactionRecords(input?: TransactionRecordsInput): Promise<TransactionRecordsReturn>;
|
|
2172
2208
|
promos(): Promise<PromosReturn>;
|
|
2173
2209
|
availablePromos(input?: PromoFilterInput): Promise<AvailablePromosReturn>;
|
|
@@ -2239,4 +2275,4 @@ declare class Sdk {
|
|
|
2239
2275
|
private formatYmd;
|
|
2240
2276
|
}
|
|
2241
2277
|
|
|
2242
|
-
export { type Account, type AccountReturn, type AccountStatus, type AccountVerificationStatus, type AchievementPointsHistoryRecord, type AchievementPointsHistoryRecordInput, type AchievementPointsHistoryRecordReturn, type AchievementSettings, type AchievementSettingsResponse, type AchievementSettingsReturn, type AchievementType, type ActivityRecord, type ActivityRecordType, type ActivityRecordsInput, type ActivityRecordsReturn, type Agent, type AiOGCashDeposit, type AiOGrabPayDeposit, type AiOPalawanPayDeposit, type AiOPayMayaDeposit, type Announcement, type AnnouncementStatus, type AnnouncementType, type AnnouncementsInput, type AnnouncementsReturn, type AuthenticateError, type AuthenticateInput, type AuthenticateReturn, type Authenticator, type AvailablePromosReturn, type AvailableQuestsReturn, type Bank, type BankDeposit, type BankWithdrawalRecord, type BetRecord, type BetRecordStatus, type BetRecordsInput, type BetRecordsReturn, type Bonus, type BonusReturn, type BonusesReturn, type CabinetSignInInput, type CabinetSignInReturn, type CabinetSiteMachine, type CabinetSiteMachineReturn, type CabinetSiteMachineStatus, type CabinetWithdrawalRecord, type CabinetWithdrawalReturn, type 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 CreateSingleUseTokenInput, type CreateSingleUseTokenReturn, type CreateTestDepositInput, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type FreeBetDropStatus, type FreeBetDrops, type FreeBetDropsInput, type FreeBetDropsReturn, type GCashDeposit, type GCashWithdrawalRecord, type Game, type GameProvider, type GameReturn, type GameSession, type GameSessionLaunchOptions, type GameSessionReturn, type GameSessionStatus, type GameTag, type GameType, type GamesInput, type GamesInput__Next, type GamesReturn, type GatewaySettings, type GcashWebpayDeposit, type GeneralMemberLevelSettings, type GeneralMemberLevelSettingsReturn, type 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 MemberVerificationRequest, type MemberVerificationRequestAutomaticApprovalEnabledReturn, type MemberVerificationRequestReturn, type MemberVerificationRequestStatus, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, type MobileNumberCreateAccountInput__next, type MobileNumberInrCreateAccountInput, type MobileNumberSignInInput, type MobileNumberSignInReturn, type MultiSelectField, type NameAndPasswordCreateAccountInput, type NameAndPasswordSignInInput, type NameAndPasswordSignInReturn, type NameCreateAccountInput, ObjectType, type OnboardingPlayerExperience, type OnboardingStatus, type OnboardingStatusReturn, type OnlineBankDeposit, type OperationError, type OperationResult, type PaymentSettings, type PaymentSettingsReturn, type Platform, type PlatformReturn, type PlatformReturn__Next, type Platform__Next, type PointsClubSettings, type PointsClubSettingsReturn, type PointsWallet, type PointsWalletReturn, type PointsWalletTransaction, type PointsWalletTransactionType, type PointsWalletTransactionsInput, type PointsWalletTransactionsReturn, type ProfileCompletion, type ProfileCompletionReturn, type Promo, type PromoByCodeReturn, type PromoFilterInput, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type RedeemVoucherInput, type RedeemVoucherReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterAgentAccountError, type RegisterAgentAccountInput, type RegisterAgentAccountReturn, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, type RequireFirstDepositReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type SubmitMemberVerificationRequestBasicDetailsInput, type SubmitMemberVerificationRequestBasicDetailsReturn, type SubmitMemberVerificationRequestImageDetailsInput, type SubmitMemberVerificationRequestImageDetailsReturn, type SubmitMemberVerificationRequestPersonalDetailsInput, type SubmitMemberVerificationRequestPersonalDetailsReturn, type SubmitMemberVerificationReturn, type SubmitVerificationDetailsInput, type SubmitVerificationDetailsInputNext, type SubmitVerificationDetailsReturn, type SubmitVerificationError, type TextField, type ToggleField, type TokenSignInInput, type TokenSignInReturn, type TopWin, type TopWinsReturn, type TouchDepositInput, type TouchDepositReturn, type Tournament, type TournamentFrequency, type TournamentLeaderboard, type TournamentMode, type TournamentPayout, type TournamentStatus, type TournamentType, type TournamentsIdsInput, type TournamentsIdsReturn, type TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type VoucherType, type WageringQuestStage, type WageringQuestStageSettings, type Wallet, type WalletGame, type WalletGameInput, type WalletGamesReturn, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType, type _JackpotsInput, type _JackpotsReturn };
|
|
2278
|
+
export { type Account, type AccountReturn, type AccountStatus, type AccountVerificationStatus, type AchievementPointsHistoryRecord, type AchievementPointsHistoryRecordInput, type AchievementPointsHistoryRecordReturn, type AchievementSettings, type AchievementSettingsResponse, type AchievementSettingsReturn, type AchievementType, type ActivityRecord, type ActivityRecordType, type ActivityRecordsInput, type ActivityRecordsReturn, type Agent, type AiOGCashDeposit, type AiOGrabPayDeposit, type AiOPalawanPayDeposit, type AiOPayMayaDeposit, type Announcement, type AnnouncementStatus, type AnnouncementType, type AnnouncementsInput, type AnnouncementsReturn, type AuthenticateError, type AuthenticateInput, type AuthenticateReturn, type Authenticator, type AvailablePromosReturn, type AvailableQuestsReturn, type Bank, type BankDeposit, type BankWithdrawalRecord, type BetRecord, type BetRecordStatus, type BetRecordsInput, type BetRecordsReturn, type Bonus, type BonusReturn, type BonusesReturn, type CabinetSignInInput, type CabinetSignInReturn, type CabinetSiteMachine, type CabinetSiteMachineReturn, type CabinetSiteMachineStatus, type CabinetWithdrawalRecord, type CabinetWithdrawalReturn, type 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 CreateSingleUseTokenInput, type CreateSingleUseTokenReturn, type CreateTestDepositInput, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type FreeBetDropStatus, type FreeBetDrops, type FreeBetDropsInput, type FreeBetDropsReturn, type GCashDeposit, type GCashWithdrawalRecord, type Game, type GameProvider, type GameReturn, type GameSession, type GameSessionLaunchOptions, type GameSessionReturn, type GameSessionStatus, type GameTag, type GameType, type GamesInput, type GamesInput__Next, type GamesReturn, type GatewaySettings, type GcashWebpayDeposit, type GeneralMemberLevelSettings, type GeneralMemberLevelSettingsReturn, type 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 MemberFreeBetDrop, type MemberFreeBetDropBetRecord, type MemberFreeBetDropsInput, type MemberFreeBetDropsReturn, type MemberLevelSetting, type MemberLevelSettings, type MemberLevelSettingsReturn, type MemberStatus, type MemberVerificationRequest, type MemberVerificationRequestAutomaticApprovalEnabledReturn, type MemberVerificationRequestReturn, type MemberVerificationRequestStatus, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, type MobileNumberCreateAccountInput__next, type MobileNumberInrCreateAccountInput, type MobileNumberSignInInput, type MobileNumberSignInReturn, type MultiSelectField, type NameAndPasswordCreateAccountInput, type NameAndPasswordSignInInput, type NameAndPasswordSignInReturn, type NameCreateAccountInput, ObjectType, type OnboardingPlayerExperience, type OnboardingStatus, type OnboardingStatusReturn, type OnlineBankDeposit, type OperationError, type OperationResult, type PaymentSettings, type PaymentSettingsReturn, type Platform, type PlatformReturn, type PlatformReturn__Next, type Platform__Next, type PointsClubSettings, type PointsClubSettingsReturn, type PointsWallet, type PointsWalletReturn, type PointsWalletTransaction, type PointsWalletTransactionType, type PointsWalletTransactionsInput, type PointsWalletTransactionsReturn, type ProfileCompletion, type ProfileCompletionReturn, type Promo, type PromoByCodeReturn, type PromoFilterInput, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type RedeemVoucherInput, type RedeemVoucherReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterAgentAccountError, type RegisterAgentAccountInput, type RegisterAgentAccountReturn, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, type RequireFirstDepositReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type SubmitMemberVerificationRequestBasicDetailsInput, type SubmitMemberVerificationRequestBasicDetailsReturn, type SubmitMemberVerificationRequestImageDetailsInput, type SubmitMemberVerificationRequestImageDetailsReturn, type SubmitMemberVerificationRequestPersonalDetailsInput, type SubmitMemberVerificationRequestPersonalDetailsReturn, type SubmitMemberVerificationReturn, type SubmitVerificationDetailsInput, type SubmitVerificationDetailsInputNext, type SubmitVerificationDetailsReturn, type SubmitVerificationError, type TextField, type ToggleField, type TokenSignInInput, type TokenSignInReturn, type TopWin, type TopWinsReturn, type TouchDepositInput, type TouchDepositReturn, type Tournament, type TournamentFrequency, type TournamentLeaderboard, type TournamentMode, type TournamentPayout, type TournamentStatus, type TournamentType, type TournamentsIdsInput, type TournamentsIdsReturn, type TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type VoucherType, type WageringQuestStage, type WageringQuestStageSettings, type Wallet, type WalletGame, type WalletGameInput, type WalletGamesReturn, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType, type _JackpotsInput, type _JackpotsReturn };
|
package/dist/index.js
CHANGED
|
@@ -1650,6 +1650,7 @@ var MEMBER_ACCOUNT_QUERY = gql`
|
|
|
1650
1650
|
dateTimeLastUpdated
|
|
1651
1651
|
domain
|
|
1652
1652
|
branchCode
|
|
1653
|
+
|
|
1653
1654
|
}
|
|
1654
1655
|
}
|
|
1655
1656
|
}
|
|
@@ -3261,6 +3262,8 @@ var FREE_BET_DROPS_QUERY = gql`
|
|
|
3261
3262
|
dateTimeCreated
|
|
3262
3263
|
dateTimeCompleted
|
|
3263
3264
|
dateTimeLastUpdated
|
|
3265
|
+
|
|
3266
|
+
|
|
3264
3267
|
}
|
|
3265
3268
|
}
|
|
3266
3269
|
|
|
@@ -3272,6 +3275,47 @@ var FREE_BET_DROPS_QUERY = gql`
|
|
|
3272
3275
|
}
|
|
3273
3276
|
}
|
|
3274
3277
|
`;
|
|
3278
|
+
var MEMBER_FREE_BET_DROPS_QUERY = gql`
|
|
3279
|
+
query MemberFreeBetDrops($first: Int, $after: Cursor, $filter: FreeBetDropFilterInput, $sort: FreeBetDropSortInput) {
|
|
3280
|
+
member {
|
|
3281
|
+
freeBetDrops(first: $first, after: $after, filter: $filter, sort: $sort) {
|
|
3282
|
+
totalCount
|
|
3283
|
+
edges {
|
|
3284
|
+
cursor
|
|
3285
|
+
node {
|
|
3286
|
+
... on FreeBetDrop {
|
|
3287
|
+
id
|
|
3288
|
+
name
|
|
3289
|
+
description
|
|
3290
|
+
games {
|
|
3291
|
+
id
|
|
3292
|
+
name
|
|
3293
|
+
provider
|
|
3294
|
+
}
|
|
3295
|
+
payout
|
|
3296
|
+
bets
|
|
3297
|
+
betValue
|
|
3298
|
+
bonusMaximumAmount
|
|
3299
|
+
bonusAmountPercentage
|
|
3300
|
+
bonusTurnoverRequirementMultiplier
|
|
3301
|
+
status
|
|
3302
|
+
activationDateTime
|
|
3303
|
+
expirationDateTime
|
|
3304
|
+
dateTimeCreated
|
|
3305
|
+
dateTimeCompleted
|
|
3306
|
+
dateTimeLastUpdated
|
|
3307
|
+
}
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
pageInfo {
|
|
3311
|
+
hasNextPage
|
|
3312
|
+
endCursor
|
|
3313
|
+
}
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
}
|
|
3317
|
+
}
|
|
3318
|
+
`;
|
|
3275
3319
|
|
|
3276
3320
|
// src/services/utils.ts
|
|
3277
3321
|
function createOperationError(code) {
|
|
@@ -4683,6 +4727,10 @@ var ReportService = class {
|
|
|
4683
4727
|
const res = await this.client.request(FREE_BET_DROPS_QUERY, input);
|
|
4684
4728
|
return res.ok ? { ok: res.ok, data: res.data.freeBetDrops } : res;
|
|
4685
4729
|
}
|
|
4730
|
+
async memberFreeBetDrops(input) {
|
|
4731
|
+
const res = await this.client.request(MEMBER_FREE_BET_DROPS_QUERY, input);
|
|
4732
|
+
return res.ok ? { ok: res.ok, data: res.data.member.freeBetDrops } : res;
|
|
4733
|
+
}
|
|
4686
4734
|
async member() {
|
|
4687
4735
|
const res = await this.client.request(MEMBER_QUERY);
|
|
4688
4736
|
return res.ok ? { ok: res.ok, data: res.data.member } : res;
|
|
@@ -7034,7 +7082,8 @@ var Transformer = class {
|
|
|
7034
7082
|
achievementPointsHistoryRecord: this.achievementPointsHistoryRecord.bind(this),
|
|
7035
7083
|
memberAchievements: this.memberAchievements.bind(this),
|
|
7036
7084
|
memberVerificationRequest: this.memberVerificationRequest.bind(this),
|
|
7037
|
-
freeBetDrops: this.freeBetDrops.bind(this)
|
|
7085
|
+
freeBetDrops: this.freeBetDrops.bind(this),
|
|
7086
|
+
memberFreeBetDrops: this.memberFreeBetDrops.bind(this)
|
|
7038
7087
|
};
|
|
7039
7088
|
}
|
|
7040
7089
|
site(data) {
|
|
@@ -7995,16 +8044,30 @@ var Transformer = class {
|
|
|
7995
8044
|
activationDateTime: new Date(data.activationDateTime),
|
|
7996
8045
|
expirationDateTime: new Date(data.expirationDateTime),
|
|
7997
8046
|
betValue: data.betValue,
|
|
7998
|
-
bonus: data.bonus,
|
|
7999
8047
|
remainingBets: parseDecimal(data.remainingBets, 0),
|
|
8000
|
-
member: data.member,
|
|
8001
8048
|
name: data.name,
|
|
8002
|
-
promo: data.promo,
|
|
8003
|
-
bonusMaximumAmount: data.bonusMaximumAmount,
|
|
8004
|
-
bonusAmountPercentage: data.bonusAmountPercentage,
|
|
8005
|
-
bonusTurnoverRequirementMultiplier: data.bonusTurnoverRequirementMultiplier,
|
|
8006
8049
|
description: data.description,
|
|
8050
|
+
games: data.games,
|
|
8051
|
+
status: data.status,
|
|
8007
8052
|
gameProvider: data.gameProvider,
|
|
8053
|
+
dateTimeCompleted: data.dateTimeCompleted ? new Date(data.dateTimeCompleted) : void 0,
|
|
8054
|
+
dateTimeCreated: new Date(data.dateTimeCreated),
|
|
8055
|
+
dateTimeLastUpdated: new Date(data.dateTimeLastUpdated)
|
|
8056
|
+
};
|
|
8057
|
+
return compact(o);
|
|
8058
|
+
}
|
|
8059
|
+
memberFreeBetDrops(data) {
|
|
8060
|
+
const o = {
|
|
8061
|
+
id: data.id,
|
|
8062
|
+
bets: parseDecimal(data.bets, 0),
|
|
8063
|
+
payout: data.payout,
|
|
8064
|
+
activationDateTime: new Date(data.activationDateTime),
|
|
8065
|
+
expirationDateTime: new Date(data.expirationDateTime),
|
|
8066
|
+
betValue: data.betValue,
|
|
8067
|
+
remainingBets: parseDecimal(data.remainingBets, 0),
|
|
8068
|
+
name: data.name,
|
|
8069
|
+
gameProvider: data.gameProvider,
|
|
8070
|
+
description: data.description,
|
|
8008
8071
|
games: data.games,
|
|
8009
8072
|
status: data.status,
|
|
8010
8073
|
dateTimeCompleted: data.dateTimeCompleted ? new Date(data.dateTimeCompleted) : void 0,
|
|
@@ -9099,13 +9162,10 @@ var Sdk = class {
|
|
|
9099
9162
|
this.reportService.member()
|
|
9100
9163
|
]);
|
|
9101
9164
|
if (!a.ok) return a;
|
|
9102
|
-
|
|
9165
|
+
const c = b.ok ? b.data : { level: 0 };
|
|
9103
9166
|
return {
|
|
9104
9167
|
ok: true,
|
|
9105
|
-
data: this.transformer.transform.account({
|
|
9106
|
-
...a.data,
|
|
9107
|
-
...b.data
|
|
9108
|
-
})
|
|
9168
|
+
data: this.transformer.transform.account({ ...a.data, ...c })
|
|
9109
9169
|
};
|
|
9110
9170
|
}
|
|
9111
9171
|
/**
|
|
@@ -10009,6 +10069,22 @@ var Sdk = class {
|
|
|
10009
10069
|
}
|
|
10010
10070
|
};
|
|
10011
10071
|
}
|
|
10072
|
+
async memberFreeBetDrops(input) {
|
|
10073
|
+
const res = await this.reportService.memberFreeBetDrops(input);
|
|
10074
|
+
if (!res.ok) return res;
|
|
10075
|
+
return {
|
|
10076
|
+
ok: true,
|
|
10077
|
+
data: {
|
|
10078
|
+
freeBetDrops: res.data.edges.map(({ cursor, node }) => ({
|
|
10079
|
+
...this.transformer.transform.memberFreeBetDrops(node),
|
|
10080
|
+
cursor
|
|
10081
|
+
})),
|
|
10082
|
+
totalCount: res.data.totalCount,
|
|
10083
|
+
endCursor: res.data.pageInfo.endCursor ?? void 0,
|
|
10084
|
+
hasNextPage: res.data.pageInfo.hasNextPage
|
|
10085
|
+
}
|
|
10086
|
+
};
|
|
10087
|
+
}
|
|
10012
10088
|
/*
|
|
10013
10089
|
*=============================================
|
|
10014
10090
|
* TRANSACTION
|