@opexa/portal-sdk 0.45.5 → 0.46.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 +32 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.js +32 -32
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -155,7 +155,7 @@ interface BetRecordsQueryVariables {
|
|
|
155
155
|
startDateTime?: DateFilterField;
|
|
156
156
|
endDateTime?: DateFilterField;
|
|
157
157
|
}
|
|
158
|
-
type DepositType$1 = 'BANK' | 'GCASH' | 'MANUAL' | 'MAYA' | 'MAYA_APP' | 'QR_PH' | 'ONLINE_BANK' | 'MANUAL_BANK' | 'MANUAL_UPI' | 'AIO_GCASH' | 'AIO_PAY_MAYA' | 'AIO_GRAB_PAY' | 'AIO_PALAWAN_PAY' | '
|
|
158
|
+
type DepositType$1 = 'BANK' | 'GCASH' | 'MANUAL' | 'MAYA' | 'MAYA_APP' | 'QR_PH' | 'ONLINE_BANK' | 'MANUAL_BANK' | 'MANUAL_UPI' | 'AIO_GCASH' | 'AIO_PAY_MAYA' | 'AIO_GRAB_PAY' | 'AIO_PALAWAN_PAY' | 'GCASH_WEBPAY';
|
|
159
159
|
type DepositStatus$1 = 'PENDING' | 'ACCEPTED' | 'APPROVED' | 'REJECTED' | 'CONFIRMED' | 'CANCELLED' | 'FAILED';
|
|
160
160
|
type KnownDepositError$1 = 'INSUFFICIENT_BALANCE' | 'DEPOSIT_CREATION_REQUEST_FAILED' | 'DEPOSIT_EXECUTION_REQUEST_FAILED' | 'REQUEST_SESSION_EXPIRED' | 'REQUEST_TIMEOUT' | 'SYSTEM_CANCELLATION' | 'UNEXPECTED_ERROR' | 'FAILED_TO_PROCESS_PAYMENT' | 'MINIMUM_DEPOSIT_AMOUNT_NOT_MET' | 'UNTOUCHED';
|
|
161
161
|
interface DepositRecordsQueryVariables {
|
|
@@ -1016,15 +1016,15 @@ interface DepositBase<T extends DepositType> {
|
|
|
1016
1016
|
vca?: T extends 'ONLINE_BANK' ? string : never;
|
|
1017
1017
|
qrCode?: T extends 'QR_PH' ? string : never;
|
|
1018
1018
|
checkoutUrl?: T extends 'GCASH' | 'MAYA' | 'MAYA_APP' | 'AIO_GCASH' | 'AIO_PAY_MAYA' | 'AIO_GRAB_PAY' | 'AIO_PALAWAN_PAY' ? string : never;
|
|
1019
|
-
successRedirectionUrl?: T extends '
|
|
1020
|
-
cancelRedirectionUrl?: T extends '
|
|
1019
|
+
successRedirectionUrl?: T extends 'GCASH_WEBPAY' ? string : never;
|
|
1020
|
+
cancelRedirectionUrl?: T extends 'GCASH_WEBPAY' ? string : never;
|
|
1021
1021
|
error?: KnownDepositError;
|
|
1022
1022
|
}
|
|
1023
1023
|
interface GCashDeposit extends DepositBase<'GCASH'> {
|
|
1024
1024
|
}
|
|
1025
|
-
interface
|
|
1025
|
+
interface GcashWebpayDeposit extends DepositBase<'GCASH_WEBPAY'> {
|
|
1026
1026
|
}
|
|
1027
|
-
interface
|
|
1027
|
+
interface AiOGCashDeposit extends DepositBase<'AIO_GCASH'> {
|
|
1028
1028
|
}
|
|
1029
1029
|
interface AiOPayMayaDeposit extends DepositBase<'AIO_PAY_MAYA'> {
|
|
1030
1030
|
}
|
|
@@ -1048,7 +1048,7 @@ interface ManualBankDeposit extends DepositBase<'MANUAL_BANK'> {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
interface ManualUPIDeposit extends DepositBase<'MANUAL_UPI'> {
|
|
1050
1050
|
}
|
|
1051
|
-
type Deposit = GCashDeposit | MayaDeposit | MayaAppDeposit | BankDeposit | ManualDeposit | QRPHDeposit | OnlineBankDeposit | ManualBankDeposit | ManualUPIDeposit |
|
|
1051
|
+
type Deposit = GCashDeposit | MayaDeposit | MayaAppDeposit | BankDeposit | ManualDeposit | QRPHDeposit | OnlineBankDeposit | ManualBankDeposit | ManualUPIDeposit | GcashWebpayDeposit | AiOGCashDeposit | AiOPayMayaDeposit | AiOGrabPayDeposit | AiOPalawanPayDeposit;
|
|
1052
1052
|
type DepositReturn = OperationResult<never, Deposit | null>;
|
|
1053
1053
|
type DepositsCountReturn = OperationResult<never, number>;
|
|
1054
1054
|
interface CreateDepositBaseInput {
|
|
@@ -1063,24 +1063,24 @@ interface CreateMayaDepositInput extends CreateDepositBaseInput {
|
|
|
1063
1063
|
interface CreateGCashDepositInput extends CreateDepositBaseInput {
|
|
1064
1064
|
type: 'GCASH';
|
|
1065
1065
|
}
|
|
1066
|
-
interface
|
|
1066
|
+
interface CreateAiOGCashDepositInput extends CreateDepositBaseInput {
|
|
1067
1067
|
type: 'AIO_GCASH';
|
|
1068
1068
|
redirectUrl: string;
|
|
1069
1069
|
}
|
|
1070
|
-
interface
|
|
1070
|
+
interface CreateAiOPayMayaDepositInput extends CreateDepositBaseInput {
|
|
1071
1071
|
type: 'AIO_PAY_MAYA';
|
|
1072
1072
|
redirectUrl: string;
|
|
1073
1073
|
}
|
|
1074
|
-
interface
|
|
1074
|
+
interface CreateAiOGrabPayDepositInput extends CreateDepositBaseInput {
|
|
1075
1075
|
type: 'AIO_GRAB_PAY';
|
|
1076
1076
|
redirectUrl: string;
|
|
1077
1077
|
}
|
|
1078
|
-
interface
|
|
1078
|
+
interface CreateAiOPalawanPayDepositInput extends CreateDepositBaseInput {
|
|
1079
1079
|
type: 'AIO_PALAWAN_PAY';
|
|
1080
1080
|
redirectUrl: string;
|
|
1081
1081
|
}
|
|
1082
|
-
interface
|
|
1083
|
-
type: '
|
|
1082
|
+
interface CreateGCashWebpayDepositInput extends CreateDepositBaseInput {
|
|
1083
|
+
type: 'GCASH_WEBPAY';
|
|
1084
1084
|
successRedirectionUrl?: string;
|
|
1085
1085
|
cancelRedirectionUrl?: string;
|
|
1086
1086
|
}
|
|
@@ -1102,7 +1102,7 @@ interface CreateManualBankDepositInput extends CreateDepositBaseInput {
|
|
|
1102
1102
|
type: 'MANUAL_BANK';
|
|
1103
1103
|
referenceId: string;
|
|
1104
1104
|
}
|
|
1105
|
-
type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateAIOQRPHDepositInput | CreateAIOOnlineBankDepositInput | CreateManualBankDepositInput | CreateManualUPIDepositInput | CreateAIOOnlineBankDepositInput |
|
|
1105
|
+
type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateAIOQRPHDepositInput | CreateAIOOnlineBankDepositInput | CreateManualBankDepositInput | CreateManualUPIDepositInput | CreateAIOOnlineBankDepositInput | CreateAiOGCashDepositInput | CreateAiOPayMayaDepositInput | CreateAiOGrabPayDepositInput | CreateAiOPalawanPayDepositInput | CreateGCashWebpayDepositInput;
|
|
1106
1106
|
type CreateDepositError = UnionAlias<CreateDepositError$1>;
|
|
1107
1107
|
type CreateDepositReturn = OperationResult<CreateDepositError, {
|
|
1108
1108
|
id: string;
|
|
@@ -1937,4 +1937,4 @@ declare class Sdk {
|
|
|
1937
1937
|
private formatYmd;
|
|
1938
1938
|
}
|
|
1939
1939
|
|
|
1940
|
-
export { type Account, type AccountReturn, type AccountStatus, type AccountVerificationStatus, type AchievementPointsHistoryRecord, type AchievementPointsHistoryRecordInput, type AchievementPointsHistoryRecordReturn, type AchievementSettings, type AchievementSettingsResponse, type AchievementSettingsReturn, type AchievementType, type ActivityRecord, type ActivityRecordType, type ActivityRecordsInput, type ActivityRecordsReturn, type
|
|
1940
|
+
export { type Account, type AccountReturn, type AccountStatus, type AccountVerificationStatus, type AchievementPointsHistoryRecord, type AchievementPointsHistoryRecordInput, type AchievementPointsHistoryRecordReturn, type AchievementSettings, type AchievementSettingsResponse, type AchievementSettingsReturn, type AchievementType, type ActivityRecord, type ActivityRecordType, type ActivityRecordsInput, type ActivityRecordsReturn, type AiOGCashDeposit, type AiOGrabPayDeposit, type AiOPalawanPayDeposit, type AiOPayMayaDeposit, type Announcement, type AnnouncementStatus, type AnnouncementType, type AnnouncementsInput, type AnnouncementsReturn, type AuthenticateError, type AuthenticateInput, type AuthenticateReturn, type Authenticator, type AvailablePromosReturn, type AvailableQuestsReturn, type Bank, type BankDeposit, type BankWithdrawalRecord, type BetRecord, type BetRecordStatus, type BetRecordsInput, type BetRecordsReturn, type Bonus, type BonusReturn, type BonusesReturn, type CabinetSignInInput, type CabinetSignInReturn, type Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRewardError, type ClaimRewardReturn, type ClaimSpotBonusReturn, type CompleteOnboardingInput, type CompleteOnboardingReturn, type CompoundField, type CreateAIOInstapayWithdrawalInput, type CreateAIOInstapayWithdrawalInput_Next, type CreateAIOOnlineBankDepositInput, type CreateAIOQRPHDepositInput, type CreateAccountError, type CreateAccountInput, type CreateAccountInput__Next, type CreateAccountReturn, type CreateAiOGCashDepositInput, type CreateAiOGrabPayDepositInput, type CreateAiOPalawanPayDepositInput, type CreateAiOPayMayaDepositInput, type CreateBankWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashStandardCashInWithdrawalInput, type CreateGCashWebpayDepositInput, type CreateGCashWithdrawalInput, type CreateGameSessionByIdInput, type CreateGameSessionByReferenceInput, type CreateGameSessionError, type CreateGameSessionInput, type CreateGameSessionReturn, type CreateManualBankDepositInput, type CreateManualBankWithdrawalInput, type CreateManualUPIDepositInput, type CreateManualUPIWithdrawalInput, type CreateMayaAppDepositInput, type CreateMayaAppWithdrawalInput, type CreateMayaDepositInput, type CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenReturn, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type GCashDeposit, type GCashWithdrawalRecord, type Game, type GameProvider, type GameReturn, type GameSession, type GameSessionLaunchOptions, type GameSessionReturn, type GameSessionStatus, type GameTag, type GameType, type GamesInput, type GamesInput__Next, type GamesReturn, type GatewaySettings, type GcashWebpayDeposit, type GoogleClientIdReturn, type HttpError, type ImageField, type InstapayBank, type InstapayBankListReturn, type InstapayBankType, type InstapayWithdrawalRecord, type Jackpot, type JackpotPayout, type JackpotPayoutsInput, type JackpotPayoutsReturn, type JackpotStatus, type JackpotsInput, type JackpotsReturn, type JourneyQuestMilestone, type JourneyQuestMilestoneType, type KnownDepositError, type LatestBetRecord, type LatestBetRecordsReturn, type Locale, type LoginChannel, type ManualBankDeposit, type ManualBankWithdrawalRecord, type ManualDeposit, type ManualUPIDeposit, type ManualUPIWithdrawalRecord, type ManualWithdrawalRecord, type MarkAllMessagesAsReadReturn, type MarkGameAsFavoriteInput, type MarkGameAsFavoriteReturn, type MarkMessageAsReadReturn, type MayaAppDeposit, type MayaDeposit, type MayaSignInInput, type MayaSignInReturn, type MayaWithdrawalRecord, type MemberAchievement, type MemberAchievementReturn, type MemberLevelSetting, type MemberLevelSettings, type MemberLevelSettingsReturn, type MemberStatus, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, type MobileNumberInrCreateAccountInput, type MobileNumberSignInInput, type MobileNumberSignInReturn, type MultiSelectField, type NameAndPasswordCreateAccountInput, type NameAndPasswordSignInInput, type NameAndPasswordSignInReturn, type NameCreateAccountInput, ObjectType, type OnboardingPlayerExperience, type OnboardingStatus, type OnboardingStatusReturn, type OnlineBankDeposit, type OperationError, type OperationResult, type PaymentSettings, type PaymentSettingsReturn, type Platform, type PlatformReturn, type PlatformReturn__Next, type Platform__Next, type PointsClubSettings, type PointsClubSettingsReturn, type PointsWallet, type PointsWalletReturn, type PointsWalletTransaction, type PointsWalletTransactionType, type PointsWalletTransactionsInput, type PointsWalletTransactionsReturn, type ProfileCompletion, type ProfileCompletionReturn, type Promo, type PromoByCodeReturn, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type SubmitMemberVerificationReturn, type SubmitVerificationDetailsInput, type SubmitVerificationDetailsInputNext, type SubmitVerificationDetailsReturn, type SubmitVerificationError, type TextField, type ToggleField, type TokenSignInInput, type TokenSignInReturn, type TopWin, type TopWinsReturn, type TouchDepositInput, type TouchDepositReturn, type Tournament, type TournamentFrequency, type TournamentLeaderboard, type TournamentMode, type TournamentPayout, type TournamentStatus, type TournamentType, type TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type WageringQuestStage, type Wallet, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType };
|
package/dist/index.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ interface BetRecordsQueryVariables {
|
|
|
155
155
|
startDateTime?: DateFilterField;
|
|
156
156
|
endDateTime?: DateFilterField;
|
|
157
157
|
}
|
|
158
|
-
type DepositType$1 = 'BANK' | 'GCASH' | 'MANUAL' | 'MAYA' | 'MAYA_APP' | 'QR_PH' | 'ONLINE_BANK' | 'MANUAL_BANK' | 'MANUAL_UPI' | 'AIO_GCASH' | 'AIO_PAY_MAYA' | 'AIO_GRAB_PAY' | 'AIO_PALAWAN_PAY' | '
|
|
158
|
+
type DepositType$1 = 'BANK' | 'GCASH' | 'MANUAL' | 'MAYA' | 'MAYA_APP' | 'QR_PH' | 'ONLINE_BANK' | 'MANUAL_BANK' | 'MANUAL_UPI' | 'AIO_GCASH' | 'AIO_PAY_MAYA' | 'AIO_GRAB_PAY' | 'AIO_PALAWAN_PAY' | 'GCASH_WEBPAY';
|
|
159
159
|
type DepositStatus$1 = 'PENDING' | 'ACCEPTED' | 'APPROVED' | 'REJECTED' | 'CONFIRMED' | 'CANCELLED' | 'FAILED';
|
|
160
160
|
type KnownDepositError$1 = 'INSUFFICIENT_BALANCE' | 'DEPOSIT_CREATION_REQUEST_FAILED' | 'DEPOSIT_EXECUTION_REQUEST_FAILED' | 'REQUEST_SESSION_EXPIRED' | 'REQUEST_TIMEOUT' | 'SYSTEM_CANCELLATION' | 'UNEXPECTED_ERROR' | 'FAILED_TO_PROCESS_PAYMENT' | 'MINIMUM_DEPOSIT_AMOUNT_NOT_MET' | 'UNTOUCHED';
|
|
161
161
|
interface DepositRecordsQueryVariables {
|
|
@@ -1016,15 +1016,15 @@ interface DepositBase<T extends DepositType> {
|
|
|
1016
1016
|
vca?: T extends 'ONLINE_BANK' ? string : never;
|
|
1017
1017
|
qrCode?: T extends 'QR_PH' ? string : never;
|
|
1018
1018
|
checkoutUrl?: T extends 'GCASH' | 'MAYA' | 'MAYA_APP' | 'AIO_GCASH' | 'AIO_PAY_MAYA' | 'AIO_GRAB_PAY' | 'AIO_PALAWAN_PAY' ? string : never;
|
|
1019
|
-
successRedirectionUrl?: T extends '
|
|
1020
|
-
cancelRedirectionUrl?: T extends '
|
|
1019
|
+
successRedirectionUrl?: T extends 'GCASH_WEBPAY' ? string : never;
|
|
1020
|
+
cancelRedirectionUrl?: T extends 'GCASH_WEBPAY' ? string : never;
|
|
1021
1021
|
error?: KnownDepositError;
|
|
1022
1022
|
}
|
|
1023
1023
|
interface GCashDeposit extends DepositBase<'GCASH'> {
|
|
1024
1024
|
}
|
|
1025
|
-
interface
|
|
1025
|
+
interface GcashWebpayDeposit extends DepositBase<'GCASH_WEBPAY'> {
|
|
1026
1026
|
}
|
|
1027
|
-
interface
|
|
1027
|
+
interface AiOGCashDeposit extends DepositBase<'AIO_GCASH'> {
|
|
1028
1028
|
}
|
|
1029
1029
|
interface AiOPayMayaDeposit extends DepositBase<'AIO_PAY_MAYA'> {
|
|
1030
1030
|
}
|
|
@@ -1048,7 +1048,7 @@ interface ManualBankDeposit extends DepositBase<'MANUAL_BANK'> {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
interface ManualUPIDeposit extends DepositBase<'MANUAL_UPI'> {
|
|
1050
1050
|
}
|
|
1051
|
-
type Deposit = GCashDeposit | MayaDeposit | MayaAppDeposit | BankDeposit | ManualDeposit | QRPHDeposit | OnlineBankDeposit | ManualBankDeposit | ManualUPIDeposit |
|
|
1051
|
+
type Deposit = GCashDeposit | MayaDeposit | MayaAppDeposit | BankDeposit | ManualDeposit | QRPHDeposit | OnlineBankDeposit | ManualBankDeposit | ManualUPIDeposit | GcashWebpayDeposit | AiOGCashDeposit | AiOPayMayaDeposit | AiOGrabPayDeposit | AiOPalawanPayDeposit;
|
|
1052
1052
|
type DepositReturn = OperationResult<never, Deposit | null>;
|
|
1053
1053
|
type DepositsCountReturn = OperationResult<never, number>;
|
|
1054
1054
|
interface CreateDepositBaseInput {
|
|
@@ -1063,24 +1063,24 @@ interface CreateMayaDepositInput extends CreateDepositBaseInput {
|
|
|
1063
1063
|
interface CreateGCashDepositInput extends CreateDepositBaseInput {
|
|
1064
1064
|
type: 'GCASH';
|
|
1065
1065
|
}
|
|
1066
|
-
interface
|
|
1066
|
+
interface CreateAiOGCashDepositInput extends CreateDepositBaseInput {
|
|
1067
1067
|
type: 'AIO_GCASH';
|
|
1068
1068
|
redirectUrl: string;
|
|
1069
1069
|
}
|
|
1070
|
-
interface
|
|
1070
|
+
interface CreateAiOPayMayaDepositInput extends CreateDepositBaseInput {
|
|
1071
1071
|
type: 'AIO_PAY_MAYA';
|
|
1072
1072
|
redirectUrl: string;
|
|
1073
1073
|
}
|
|
1074
|
-
interface
|
|
1074
|
+
interface CreateAiOGrabPayDepositInput extends CreateDepositBaseInput {
|
|
1075
1075
|
type: 'AIO_GRAB_PAY';
|
|
1076
1076
|
redirectUrl: string;
|
|
1077
1077
|
}
|
|
1078
|
-
interface
|
|
1078
|
+
interface CreateAiOPalawanPayDepositInput extends CreateDepositBaseInput {
|
|
1079
1079
|
type: 'AIO_PALAWAN_PAY';
|
|
1080
1080
|
redirectUrl: string;
|
|
1081
1081
|
}
|
|
1082
|
-
interface
|
|
1083
|
-
type: '
|
|
1082
|
+
interface CreateGCashWebpayDepositInput extends CreateDepositBaseInput {
|
|
1083
|
+
type: 'GCASH_WEBPAY';
|
|
1084
1084
|
successRedirectionUrl?: string;
|
|
1085
1085
|
cancelRedirectionUrl?: string;
|
|
1086
1086
|
}
|
|
@@ -1102,7 +1102,7 @@ interface CreateManualBankDepositInput extends CreateDepositBaseInput {
|
|
|
1102
1102
|
type: 'MANUAL_BANK';
|
|
1103
1103
|
referenceId: string;
|
|
1104
1104
|
}
|
|
1105
|
-
type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateAIOQRPHDepositInput | CreateAIOOnlineBankDepositInput | CreateManualBankDepositInput | CreateManualUPIDepositInput | CreateAIOOnlineBankDepositInput |
|
|
1105
|
+
type CreateDepositInput = CreateMayaDepositInput | CreateGCashDepositInput | CreateMayaAppDepositInput | CreateAIOQRPHDepositInput | CreateAIOOnlineBankDepositInput | CreateManualBankDepositInput | CreateManualUPIDepositInput | CreateAIOOnlineBankDepositInput | CreateAiOGCashDepositInput | CreateAiOPayMayaDepositInput | CreateAiOGrabPayDepositInput | CreateAiOPalawanPayDepositInput | CreateGCashWebpayDepositInput;
|
|
1106
1106
|
type CreateDepositError = UnionAlias<CreateDepositError$1>;
|
|
1107
1107
|
type CreateDepositReturn = OperationResult<CreateDepositError, {
|
|
1108
1108
|
id: string;
|
|
@@ -1937,4 +1937,4 @@ declare class Sdk {
|
|
|
1937
1937
|
private formatYmd;
|
|
1938
1938
|
}
|
|
1939
1939
|
|
|
1940
|
-
export { type Account, type AccountReturn, type AccountStatus, type AccountVerificationStatus, type AchievementPointsHistoryRecord, type AchievementPointsHistoryRecordInput, type AchievementPointsHistoryRecordReturn, type AchievementSettings, type AchievementSettingsResponse, type AchievementSettingsReturn, type AchievementType, type ActivityRecord, type ActivityRecordType, type ActivityRecordsInput, type ActivityRecordsReturn, type
|
|
1940
|
+
export { type Account, type AccountReturn, type AccountStatus, type AccountVerificationStatus, type AchievementPointsHistoryRecord, type AchievementPointsHistoryRecordInput, type AchievementPointsHistoryRecordReturn, type AchievementSettings, type AchievementSettingsResponse, type AchievementSettingsReturn, type AchievementType, type ActivityRecord, type ActivityRecordType, type ActivityRecordsInput, type ActivityRecordsReturn, type AiOGCashDeposit, type AiOGrabPayDeposit, type AiOPalawanPayDeposit, type AiOPayMayaDeposit, type Announcement, type AnnouncementStatus, type AnnouncementType, type AnnouncementsInput, type AnnouncementsReturn, type AuthenticateError, type AuthenticateInput, type AuthenticateReturn, type Authenticator, type AvailablePromosReturn, type AvailableQuestsReturn, type Bank, type BankDeposit, type BankWithdrawalRecord, type BetRecord, type BetRecordStatus, type BetRecordsInput, type BetRecordsReturn, type Bonus, type BonusReturn, type BonusesReturn, type CabinetSignInInput, type CabinetSignInReturn, type Cashback, type CashbackBonus, type CashbackBonusReturn, type CashbackStatus, type CashbacksReturn, type CheckInDailyQuestReturn, type ClaimCashbackBonusError, type ClaimCashbackBonusReturn, type ClaimRewardError, type ClaimRewardReturn, type ClaimSpotBonusReturn, type CompleteOnboardingInput, type CompleteOnboardingReturn, type CompoundField, type CreateAIOInstapayWithdrawalInput, type CreateAIOInstapayWithdrawalInput_Next, type CreateAIOOnlineBankDepositInput, type CreateAIOQRPHDepositInput, type CreateAccountError, type CreateAccountInput, type CreateAccountInput__Next, type CreateAccountReturn, type CreateAiOGCashDepositInput, type CreateAiOGrabPayDepositInput, type CreateAiOPalawanPayDepositInput, type CreateAiOPayMayaDepositInput, type CreateBankWithdrawalInput, type CreateDepositError, type CreateDepositInput, type CreateDepositReturn, type CreateGCashDepositInput, type CreateGCashStandardCashInWithdrawalInput, type CreateGCashWebpayDepositInput, type CreateGCashWithdrawalInput, type CreateGameSessionByIdInput, type CreateGameSessionByReferenceInput, type CreateGameSessionError, type CreateGameSessionInput, type CreateGameSessionReturn, type CreateManualBankDepositInput, type CreateManualBankWithdrawalInput, type CreateManualUPIDepositInput, type CreateManualUPIWithdrawalInput, type CreateMayaAppDepositInput, type CreateMayaAppWithdrawalInput, type CreateMayaDepositInput, type CreateMayaWithdrawalInput, type CreateSingleUseTokenError, type CreateSingleUseTokenReturn, type CreateWithdrawalError, type CreateWithdrawalInput, type CreateWithdrawalReturn, type Currency, type DeleteAccountReturn, type Deposit, type DepositRecord, type DepositRecordsInput, type DepositRecordsReturn, type DepositReturn, type DepositStatus, type DepositType, type DepositsCountReturn, type DownlinesByNameInput, type DownlinesByNameReturn, type EndGameSessionReturn, type Environment, type FCMDeviceType, type FavoriteGamesReturn, type Field, type FieldType, type File, type FileReturn, type GCashDeposit, type GCashWithdrawalRecord, type Game, type GameProvider, type GameReturn, type GameSession, type GameSessionLaunchOptions, type GameSessionReturn, type GameSessionStatus, type GameTag, type GameType, type GamesInput, type GamesInput__Next, type GamesReturn, type GatewaySettings, type GcashWebpayDeposit, type GoogleClientIdReturn, type HttpError, type ImageField, type InstapayBank, type InstapayBankListReturn, type InstapayBankType, type InstapayWithdrawalRecord, type Jackpot, type JackpotPayout, type JackpotPayoutsInput, type JackpotPayoutsReturn, type JackpotStatus, type JackpotsInput, type JackpotsReturn, type JourneyQuestMilestone, type JourneyQuestMilestoneType, type KnownDepositError, type LatestBetRecord, type LatestBetRecordsReturn, type Locale, type LoginChannel, type ManualBankDeposit, type ManualBankWithdrawalRecord, type ManualDeposit, type ManualUPIDeposit, type ManualUPIWithdrawalRecord, type ManualWithdrawalRecord, type MarkAllMessagesAsReadReturn, type MarkGameAsFavoriteInput, type MarkGameAsFavoriteReturn, type MarkMessageAsReadReturn, type MayaAppDeposit, type MayaDeposit, type MayaSignInInput, type MayaSignInReturn, type MayaWithdrawalRecord, type MemberAchievement, type MemberAchievementReturn, type MemberLevelSetting, type MemberLevelSettings, type MemberLevelSettingsReturn, type MemberStatus, type Message, type MessageAction, type MessageIcon, type MessageType, type MessagesInput, type MessagesReturn, type MobileNumberCreateAccountInput, type MobileNumberInrCreateAccountInput, type MobileNumberSignInInput, type MobileNumberSignInReturn, type MultiSelectField, type NameAndPasswordCreateAccountInput, type NameAndPasswordSignInInput, type NameAndPasswordSignInReturn, type NameCreateAccountInput, ObjectType, type OnboardingPlayerExperience, type OnboardingStatus, type OnboardingStatusReturn, type OnlineBankDeposit, type OperationError, type OperationResult, type PaymentSettings, type PaymentSettingsReturn, type Platform, type PlatformReturn, type PlatformReturn__Next, type Platform__Next, type PointsClubSettings, type PointsClubSettingsReturn, type PointsWallet, type PointsWalletReturn, type PointsWalletTransaction, type PointsWalletTransactionType, type PointsWalletTransactionsInput, type PointsWalletTransactionsReturn, type ProfileCompletion, type ProfileCompletionReturn, type Promo, type PromoByCodeReturn, type PromoStatus, type PromoType, type PromosReturn, type QRPHDeposit, type Quest, type QuestProgram, type QuestProgramStatus, type QuestStatus, type QuestType, type RecommendedGamesInput, type RecommendedGamesReturn, type RedeemPointsError, type RedeemPointsInput, type RedeemPointsReturn, type Referral, type ReferralCodeReturn, type ReferralCommission, type ReferralCommissionReturn, type ReferralsInput, type ReferralsReturn, type RefreshSessionError, type RegisterFCMDeviceInput, type RegisterFCMDeviceReturn, type RegisterMayaAccountError, type RegisterMayaAccountInput, type RegisterMayaAccountReturn, type RemainingDailyWithdrawalsCountReturn, type ResetPasswordError, type ResetPasswordInput, type ResetPasswordReturn, type RichTextField, Sdk, type SdkConfig, type SecretQuestion, type SecurityQuestionAuthenticateInput, type SecurityQuestionAuthenticator, type SelectField, type SendEmailVerificationCodeInput, type SendSmsVerificationCodeInput, type SendVerificationCodeError, type SendVerificationCodeError__Next, type SendVerificationCodeInput__Next, type SendVerificationCodeReturn, type SendVerificationCodeReturn__Next, type Session, type SessionError, type SessionReturn, type SignInError, type SignInInput, type SignInReturn, type SingleUseTokenSignInInput, type SingleUseTokenSignInReturn, type Site, type SiteReturn, type SkipOnboardingReturn, type SocialsSignInInput, type SocialsSignInReturn, type SpotBonusPromo, type SubmitMemberVerificationError, type SubmitMemberVerificationReturn, type SubmitVerificationDetailsInput, type SubmitVerificationDetailsInputNext, type SubmitVerificationDetailsReturn, type SubmitVerificationError, type TextField, type ToggleField, type TokenSignInInput, type TokenSignInReturn, type TopWin, type TopWinsReturn, type TouchDepositInput, type TouchDepositReturn, type Tournament, type TournamentFrequency, type TournamentLeaderboard, type TournamentMode, type TournamentPayout, type TournamentStatus, type TournamentType, type TournamentsInput, type TournamentsReturn, type TransactionRecord, type TransactionRecordsInput, type TransactionRecordsReturn, type TransactionType, type TurnoverRequirementType, type UnmarkGameAsFavoriteInput, type UnmarkGameAsFavoriteReturn, type UnreadMessagesCountInput, type UnreadMessagesCountReturn, type UnregisterFCMDeviceInput, type UnregisterFCMDeviceReturn, type UpdateAccountError, type UpdateAccountInput, type UpdateAccountReturn, type UpdateReferralCodeError, type UpdateReferralCodeInput, type UpdateReferralCodeReturn, type UpdateVerificationDetailsInput, type UpdateVerificationDetailsReturn, type UpdateVerificationError, type UplinesByNameInput, type UplinesByNameReturn, type UploadImageFileError, type UploadImageFileInput, type UploadImageFileReturn, type ValidateMayaSessionReturn, type VerificationDetails, type VerificationDetailsReturn, type VerificationDetailsStatus, type VerifyMobileNumberError, type VerifyMobileNumberReturn, type WageringQuestStage, type Wallet, type WalletReturn, type WatchSessionInput, type WithdrawalError, type WithdrawalRecord, type WithdrawalRecordsInput, type WithdrawalRecordsReturn, type WithdrawalStatus, type WithdrawalType };
|
package/dist/index.js
CHANGED
|
@@ -701,11 +701,11 @@ var CREATE_GCASH_DEPOSIT_MUTATION = gql`
|
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
703
|
`;
|
|
704
|
-
var
|
|
705
|
-
mutation
|
|
706
|
-
$input:
|
|
704
|
+
var CREATE_GCASH_WEBPAY_DEPOSIT_MUTATION = gql`
|
|
705
|
+
mutation CreateGCashWebpayDeposit(
|
|
706
|
+
$input: CreateGCashWebpayDepositInput!
|
|
707
707
|
) {
|
|
708
|
-
|
|
708
|
+
createGCashWebpayDeposit(input: $input) {
|
|
709
709
|
... on DepositPromoMaximumAmountExceededError {
|
|
710
710
|
__typename
|
|
711
711
|
}
|
|
@@ -815,7 +815,7 @@ var CREATE_AIO_QRPH_DEPOSIT_MUTATION = gql`
|
|
|
815
815
|
}
|
|
816
816
|
`;
|
|
817
817
|
var CREATE_AIO_GCASH_DEPOSIT_MUTATION = gql`
|
|
818
|
-
mutation
|
|
818
|
+
mutation CreateAiOGCashDeposit($input: CreateAiOGCashDepositInput!) {
|
|
819
819
|
createAiOGCashDeposit(input: $input) {
|
|
820
820
|
... on DepositPromoMaximumAmountExceededError {
|
|
821
821
|
__typename
|
|
@@ -842,7 +842,7 @@ var CREATE_AIO_GCASH_DEPOSIT_MUTATION = gql`
|
|
|
842
842
|
}
|
|
843
843
|
`;
|
|
844
844
|
var CREATE_AIO_PAY_MAYA_DEPOSIT_MUTATION = gql`
|
|
845
|
-
mutation
|
|
845
|
+
mutation CreateAiOPayMayaDeposit($input: CreateAiOPayMayaDepositInput!) {
|
|
846
846
|
createAiOPayMayaDeposit(input: $input) {
|
|
847
847
|
... on DepositPromoMaximumAmountExceededError {
|
|
848
848
|
__typename
|
|
@@ -869,7 +869,7 @@ var CREATE_AIO_PAY_MAYA_DEPOSIT_MUTATION = gql`
|
|
|
869
869
|
}
|
|
870
870
|
`;
|
|
871
871
|
var CREATE_AIO_GRAB_PAY_DEPOSIT_MUTATION = gql`
|
|
872
|
-
mutation
|
|
872
|
+
mutation CreateAiOGrabPayDeposit($input: CreateAiOGrabPayDepositInput!) {
|
|
873
873
|
createAiOGrabPayDeposit(input: $input) {
|
|
874
874
|
... on DepositPromoMaximumAmountExceededError {
|
|
875
875
|
__typename
|
|
@@ -896,7 +896,7 @@ var CREATE_AIO_GRAB_PAY_DEPOSIT_MUTATION = gql`
|
|
|
896
896
|
}
|
|
897
897
|
`;
|
|
898
898
|
var CREATE_AIO_PALAWAN_PAY_DEPOSIT_MUTATION = gql`
|
|
899
|
-
mutation
|
|
899
|
+
mutation CreateAiOPalawanPayDeposit($input: CreateAiOPalawanPayDepositInput!) {
|
|
900
900
|
createAiOPalawanPayDeposit(input: $input) {
|
|
901
901
|
... on DepositPromoMaximumAmountExceededError {
|
|
902
902
|
__typename
|
|
@@ -1024,7 +1024,7 @@ var DEPOSIT_QUERY = gql`
|
|
|
1024
1024
|
checkoutUrl
|
|
1025
1025
|
error
|
|
1026
1026
|
}
|
|
1027
|
-
... on
|
|
1027
|
+
... on AiOGCashDeposit {
|
|
1028
1028
|
id
|
|
1029
1029
|
type
|
|
1030
1030
|
status
|
|
@@ -1090,7 +1090,7 @@ var DEPOSIT_QUERY = gql`
|
|
|
1090
1090
|
vca
|
|
1091
1091
|
error
|
|
1092
1092
|
}
|
|
1093
|
-
... on
|
|
1093
|
+
... on GCashWebpayDeposit {
|
|
1094
1094
|
id
|
|
1095
1095
|
type
|
|
1096
1096
|
status
|
|
@@ -4176,9 +4176,9 @@ var WalletService = class {
|
|
|
4176
4176
|
ok: true
|
|
4177
4177
|
};
|
|
4178
4178
|
}
|
|
4179
|
-
async
|
|
4179
|
+
async createGCashWebpayDeposit(variables) {
|
|
4180
4180
|
const { reCAPTCHAResponse, ...others } = variables;
|
|
4181
|
-
const res = await this.client.request(
|
|
4181
|
+
const res = await this.client.request(CREATE_GCASH_WEBPAY_DEPOSIT_MUTATION, others, {
|
|
4182
4182
|
headers: {
|
|
4183
4183
|
...reCAPTCHAResponse && {
|
|
4184
4184
|
"google-recaptcha-response": reCAPTCHAResponse
|
|
@@ -4186,11 +4186,11 @@ var WalletService = class {
|
|
|
4186
4186
|
}
|
|
4187
4187
|
});
|
|
4188
4188
|
if (!res.ok) return res;
|
|
4189
|
-
if (res.data.
|
|
4189
|
+
if (res.data.createGCashWebpayDeposit) {
|
|
4190
4190
|
return {
|
|
4191
4191
|
ok: false,
|
|
4192
4192
|
error: createOperationError(
|
|
4193
|
-
res.data.
|
|
4193
|
+
res.data.createGCashWebpayDeposit.__typename
|
|
4194
4194
|
)
|
|
4195
4195
|
};
|
|
4196
4196
|
}
|
|
@@ -4238,7 +4238,7 @@ var WalletService = class {
|
|
|
4238
4238
|
ok: true
|
|
4239
4239
|
};
|
|
4240
4240
|
}
|
|
4241
|
-
async
|
|
4241
|
+
async createAiOGCashDeposit(variables) {
|
|
4242
4242
|
const { reCAPTCHAResponse, ...others } = variables;
|
|
4243
4243
|
const res = await this.client.request(CREATE_AIO_GCASH_DEPOSIT_MUTATION, others, {
|
|
4244
4244
|
headers: {
|
|
@@ -4248,17 +4248,17 @@ var WalletService = class {
|
|
|
4248
4248
|
}
|
|
4249
4249
|
});
|
|
4250
4250
|
if (!res.ok) return res;
|
|
4251
|
-
if (res.data.
|
|
4251
|
+
if (res.data.createAiOGCashDeposit) {
|
|
4252
4252
|
return {
|
|
4253
4253
|
ok: false,
|
|
4254
|
-
error: createOperationError(res.data.
|
|
4254
|
+
error: createOperationError(res.data.createAiOGCashDeposit.__typename)
|
|
4255
4255
|
};
|
|
4256
4256
|
}
|
|
4257
4257
|
return {
|
|
4258
4258
|
ok: true
|
|
4259
4259
|
};
|
|
4260
4260
|
}
|
|
4261
|
-
async
|
|
4261
|
+
async createAiOPayMayaDeposit(variables) {
|
|
4262
4262
|
const { reCAPTCHAResponse, ...others } = variables;
|
|
4263
4263
|
const res = await this.client.request(CREATE_AIO_PAY_MAYA_DEPOSIT_MUTATION, others, {
|
|
4264
4264
|
headers: {
|
|
@@ -4268,17 +4268,17 @@ var WalletService = class {
|
|
|
4268
4268
|
}
|
|
4269
4269
|
});
|
|
4270
4270
|
if (!res.ok) return res;
|
|
4271
|
-
if (res.data.
|
|
4271
|
+
if (res.data.createAiOPayMayaDeposit) {
|
|
4272
4272
|
return {
|
|
4273
4273
|
ok: false,
|
|
4274
|
-
error: createOperationError(res.data.
|
|
4274
|
+
error: createOperationError(res.data.createAiOPayMayaDeposit.__typename)
|
|
4275
4275
|
};
|
|
4276
4276
|
}
|
|
4277
4277
|
return {
|
|
4278
4278
|
ok: true
|
|
4279
4279
|
};
|
|
4280
4280
|
}
|
|
4281
|
-
async
|
|
4281
|
+
async createAiOGrabPayDeposit(variables) {
|
|
4282
4282
|
const { reCAPTCHAResponse, ...others } = variables;
|
|
4283
4283
|
const res = await this.client.request(CREATE_AIO_GRAB_PAY_DEPOSIT_MUTATION, others, {
|
|
4284
4284
|
headers: {
|
|
@@ -4288,17 +4288,17 @@ var WalletService = class {
|
|
|
4288
4288
|
}
|
|
4289
4289
|
});
|
|
4290
4290
|
if (!res.ok) return res;
|
|
4291
|
-
if (res.data.
|
|
4291
|
+
if (res.data.createAiOGrabPayDeposit) {
|
|
4292
4292
|
return {
|
|
4293
4293
|
ok: false,
|
|
4294
|
-
error: createOperationError(res.data.
|
|
4294
|
+
error: createOperationError(res.data.createAiOGrabPayDeposit.__typename)
|
|
4295
4295
|
};
|
|
4296
4296
|
}
|
|
4297
4297
|
return {
|
|
4298
4298
|
ok: true
|
|
4299
4299
|
};
|
|
4300
4300
|
}
|
|
4301
|
-
async
|
|
4301
|
+
async createAiOPalawanPayDeposit(variables) {
|
|
4302
4302
|
const { reCAPTCHAResponse, ...others } = variables;
|
|
4303
4303
|
const res = await this.client.request(CREATE_AIO_PALAWAN_PAY_DEPOSIT_MUTATION, others, {
|
|
4304
4304
|
headers: {
|
|
@@ -4308,10 +4308,10 @@ var WalletService = class {
|
|
|
4308
4308
|
}
|
|
4309
4309
|
});
|
|
4310
4310
|
if (!res.ok) return res;
|
|
4311
|
-
if (res.data.
|
|
4311
|
+
if (res.data.createAiOPalawanPayDeposit) {
|
|
4312
4312
|
return {
|
|
4313
4313
|
ok: false,
|
|
4314
|
-
error: createOperationError(res.data.
|
|
4314
|
+
error: createOperationError(res.data.createAiOPalawanPayDeposit.__typename)
|
|
4315
4315
|
};
|
|
4316
4316
|
}
|
|
4317
4317
|
return {
|
|
@@ -8451,7 +8451,7 @@ var Sdk = class {
|
|
|
8451
8451
|
if (!res.ok) return res;
|
|
8452
8452
|
}
|
|
8453
8453
|
if (input.type === "AIO_GCASH") {
|
|
8454
|
-
const res = await this.walletService.
|
|
8454
|
+
const res = await this.walletService.createAiOGCashDeposit({
|
|
8455
8455
|
input: {
|
|
8456
8456
|
id,
|
|
8457
8457
|
amount: input.amount.toString(),
|
|
@@ -8463,7 +8463,7 @@ var Sdk = class {
|
|
|
8463
8463
|
if (!res.ok) return res;
|
|
8464
8464
|
}
|
|
8465
8465
|
if (input.type === "AIO_PAY_MAYA") {
|
|
8466
|
-
const res = await this.walletService.
|
|
8466
|
+
const res = await this.walletService.createAiOPayMayaDeposit({
|
|
8467
8467
|
input: {
|
|
8468
8468
|
id,
|
|
8469
8469
|
amount: input.amount.toString(),
|
|
@@ -8475,7 +8475,7 @@ var Sdk = class {
|
|
|
8475
8475
|
if (!res.ok) return res;
|
|
8476
8476
|
}
|
|
8477
8477
|
if (input.type === "AIO_GRAB_PAY") {
|
|
8478
|
-
const res = await this.walletService.
|
|
8478
|
+
const res = await this.walletService.createAiOGrabPayDeposit({
|
|
8479
8479
|
input: {
|
|
8480
8480
|
id,
|
|
8481
8481
|
amount: input.amount.toString(),
|
|
@@ -8487,7 +8487,7 @@ var Sdk = class {
|
|
|
8487
8487
|
if (!res.ok) return res;
|
|
8488
8488
|
}
|
|
8489
8489
|
if (input.type === "AIO_PALAWAN_PAY") {
|
|
8490
|
-
const res = await this.walletService.
|
|
8490
|
+
const res = await this.walletService.createAiOPalawanPayDeposit({
|
|
8491
8491
|
input: {
|
|
8492
8492
|
id,
|
|
8493
8493
|
amount: input.amount.toString(),
|
|
@@ -8545,8 +8545,8 @@ var Sdk = class {
|
|
|
8545
8545
|
});
|
|
8546
8546
|
if (!res.ok) return res;
|
|
8547
8547
|
}
|
|
8548
|
-
if (input.type === "
|
|
8549
|
-
const res = await this.walletService.
|
|
8548
|
+
if (input.type === "GCASH_WEBPAY") {
|
|
8549
|
+
const res = await this.walletService.createGCashWebpayDeposit({
|
|
8550
8550
|
input: {
|
|
8551
8551
|
id,
|
|
8552
8552
|
amount: input.amount.toString(),
|