@goplus123/core-api 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +264 -19
- package/dist/index.cjs +2061 -224
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +993 -2
- package/dist/index.d.ts +993 -2
- package/dist/index.js +2057 -223
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _connectrpc_connect from '@connectrpc/connect';
|
|
2
|
-
import {
|
|
2
|
+
import { CallOptions, Client } from '@connectrpc/connect';
|
|
3
3
|
import { DescMessage, DescService, MessageInitShape, MessageShape, Message } from '@bufbuild/protobuf';
|
|
4
4
|
import * as _bufbuild_protobuf_codegenv2 from '@bufbuild/protobuf/codegenv2';
|
|
5
5
|
import { GenService, GenMessage } from '@bufbuild/protobuf/codegenv2';
|
|
@@ -90,12 +90,26 @@ interface ApiLogger {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
type MessageInit<Req extends DescMessage> = Exclude<MessageInitShape<Req>, MessageShape<Req>>;
|
|
93
|
+
type GrpcInvokerUnaryArgs = {
|
|
94
|
+
baseUrl: string;
|
|
95
|
+
service: DescService;
|
|
96
|
+
methodName: string;
|
|
97
|
+
request: unknown;
|
|
98
|
+
headers: Record<string, string>;
|
|
99
|
+
callOptions?: CallOptions;
|
|
100
|
+
};
|
|
101
|
+
interface GrpcInvoker {
|
|
102
|
+
unary(args: GrpcInvokerUnaryArgs): Promise<unknown>;
|
|
103
|
+
}
|
|
93
104
|
/**
|
|
94
105
|
* gRPC 客户端配置
|
|
95
106
|
*/
|
|
96
107
|
interface GrpcClientConfig {
|
|
97
108
|
/** 服务基础地址 (e.g. https://demo.connect.build) */
|
|
98
109
|
baseUrl: string;
|
|
110
|
+
baseUrlByService?: Record<string, string>;
|
|
111
|
+
resolveBaseUrl?: (serviceTypeName: string) => string | undefined;
|
|
112
|
+
autoBaseUrlByNamespace?: boolean;
|
|
99
113
|
/**
|
|
100
114
|
* 传输协议类型
|
|
101
115
|
* - 'connect': 使用 Connect 协议 (推荐,更轻量,支持 HTTP/1.1 和 HTTP/2)
|
|
@@ -114,23 +128,46 @@ interface GrpcClientConfig {
|
|
|
114
128
|
headers?: Record<string, string>;
|
|
115
129
|
getHeaders?: () => Record<string, string> | null | undefined | Promise<Record<string, string> | null | undefined>;
|
|
116
130
|
logger?: ApiLogger;
|
|
131
|
+
invoker?: GrpcInvoker;
|
|
117
132
|
}
|
|
118
133
|
/**
|
|
119
134
|
* 通用 gRPC 客户端封装 (基于 ConnectRPC)
|
|
120
135
|
*/
|
|
121
136
|
declare class GrpcClient {
|
|
122
137
|
private transport;
|
|
138
|
+
private baseUrl;
|
|
139
|
+
private baseUrlByService?;
|
|
140
|
+
private resolveBaseUrl?;
|
|
141
|
+
private autoBaseUrlByNamespace;
|
|
142
|
+
private protocol;
|
|
143
|
+
private fetchImpl?;
|
|
144
|
+
private interceptors;
|
|
145
|
+
private transportByBaseUrl;
|
|
123
146
|
private getToken?;
|
|
124
147
|
private headers?;
|
|
125
148
|
private getHeaders?;
|
|
126
149
|
private logger?;
|
|
150
|
+
private invoker?;
|
|
151
|
+
private invokerClientByKey;
|
|
127
152
|
constructor(config: GrpcClientConfig);
|
|
153
|
+
private createTransport;
|
|
154
|
+
private pickBaseUrl;
|
|
155
|
+
private normalizeHeaders;
|
|
156
|
+
private hasHeader;
|
|
157
|
+
private attachInvokerHeaders;
|
|
158
|
+
private getInvokerClientKey;
|
|
159
|
+
private getServiceViaInvoker;
|
|
160
|
+
private invokeUnary;
|
|
128
161
|
/**
|
|
129
162
|
* 创建特定服务的客户端实例
|
|
130
163
|
* @param service Service Definition (从生成的 _connect.ts 导入)
|
|
131
164
|
*/
|
|
132
165
|
getService<TService extends DescService>(service: TService): Client<TService>;
|
|
133
166
|
unary<Req extends DescMessage, Res>(schema: Req, payload: MessageInit<Req> | undefined, call: (req: MessageInitShape<Req>, options?: CallOptions) => Promise<Res>, options?: CallOptions): Promise<Res>;
|
|
167
|
+
/**
|
|
168
|
+
* rpc_from 拦截器
|
|
169
|
+
*/
|
|
170
|
+
private createRpcFromInterceptor;
|
|
134
171
|
/**
|
|
135
172
|
* 认证拦截器
|
|
136
173
|
*/
|
|
@@ -376,6 +413,7 @@ declare class WsClient {
|
|
|
376
413
|
private emit;
|
|
377
414
|
private cleanup;
|
|
378
415
|
private isPong;
|
|
416
|
+
private isAliveAck;
|
|
379
417
|
private buildURL;
|
|
380
418
|
private log;
|
|
381
419
|
}
|
|
@@ -16054,6 +16092,944 @@ declare const apiMap: {
|
|
|
16054
16092
|
limit?: number | undefined;
|
|
16055
16093
|
}, GetGameSuggestionsRes>;
|
|
16056
16094
|
};
|
|
16095
|
+
readonly auth: {
|
|
16096
|
+
readonly playerRegisterRequestCode: EndpointSpec<{
|
|
16097
|
+
readonly $typeName?: undefined;
|
|
16098
|
+
phone?: string | undefined;
|
|
16099
|
+
platformId?: string | undefined;
|
|
16100
|
+
codeType?: PlayerRegisterRequestCodeReq_CodeType | undefined;
|
|
16101
|
+
}, BaseResponse>;
|
|
16102
|
+
readonly playerRegisterWithCode: EndpointSpec<{
|
|
16103
|
+
readonly $typeName?: undefined;
|
|
16104
|
+
phone?: string | undefined;
|
|
16105
|
+
code?: string | undefined;
|
|
16106
|
+
platformId?: string | undefined;
|
|
16107
|
+
sourceUrl?: string | undefined;
|
|
16108
|
+
clientDomain?: string | undefined;
|
|
16109
|
+
eId?: string | undefined;
|
|
16110
|
+
partnerId?: string | undefined;
|
|
16111
|
+
}, PlayerRegisterWithCodeRes>;
|
|
16112
|
+
readonly playerLoginWithSessionToken: EndpointSpec<{
|
|
16113
|
+
readonly $typeName?: undefined;
|
|
16114
|
+
sessionToken?: string | undefined;
|
|
16115
|
+
platformId?: string | undefined;
|
|
16116
|
+
partnerId?: string | undefined;
|
|
16117
|
+
eId?: string | undefined;
|
|
16118
|
+
type?: PlayerLoginWithSessionTokenReq_Type | undefined;
|
|
16119
|
+
sourceUrl?: string | undefined;
|
|
16120
|
+
clientDomain?: string | undefined;
|
|
16121
|
+
freespinSessionToken?: string | undefined;
|
|
16122
|
+
deviceType?: number | undefined;
|
|
16123
|
+
}, PlayerLoginWithSessionTokenRes>;
|
|
16124
|
+
readonly phoneNumberLoginWithPassword: EndpointSpec<{
|
|
16125
|
+
readonly $typeName?: undefined;
|
|
16126
|
+
phone?: string | undefined;
|
|
16127
|
+
password?: string | undefined;
|
|
16128
|
+
platformId?: string | undefined;
|
|
16129
|
+
sourceUrl?: string | undefined;
|
|
16130
|
+
clientDomain?: string | undefined;
|
|
16131
|
+
partnerId?: string | undefined;
|
|
16132
|
+
freespinSessionToken?: string | undefined;
|
|
16133
|
+
deviceType?: number | undefined;
|
|
16134
|
+
}, PhoneNumberLoginWithPasswordRes>;
|
|
16135
|
+
readonly playerLoginOrRegisterWithSMS: EndpointSpec<{
|
|
16136
|
+
readonly $typeName?: undefined;
|
|
16137
|
+
phone?: string | undefined;
|
|
16138
|
+
platformId?: string | undefined;
|
|
16139
|
+
code?: string | undefined;
|
|
16140
|
+
clientDomain?: string | undefined;
|
|
16141
|
+
sourceUrl?: string | undefined;
|
|
16142
|
+
signature?: string | undefined;
|
|
16143
|
+
partnerId?: string | undefined;
|
|
16144
|
+
childPlatformId?: string | undefined;
|
|
16145
|
+
referralId?: string | undefined;
|
|
16146
|
+
deviceType?: DeviceType$1 | undefined;
|
|
16147
|
+
deviceId?: string | undefined;
|
|
16148
|
+
freespinSessionToken?: string | undefined;
|
|
16149
|
+
}, PlayerLoginOrRegisterWithSMSRes>;
|
|
16150
|
+
readonly playerLogout: EndpointSpec<{
|
|
16151
|
+
readonly $typeName?: undefined;
|
|
16152
|
+
isPlayerLogout?: boolean | undefined;
|
|
16153
|
+
}, BaseResponse>;
|
|
16154
|
+
readonly authenticate: EndpointSpec<{
|
|
16155
|
+
readonly $typeName?: undefined;
|
|
16156
|
+
isLogin?: boolean | undefined;
|
|
16157
|
+
eId?: string | undefined;
|
|
16158
|
+
partnerId?: string | undefined;
|
|
16159
|
+
clientDomain?: string | undefined;
|
|
16160
|
+
sourceUrl?: string | undefined;
|
|
16161
|
+
}, BaseResponse>;
|
|
16162
|
+
readonly sendSmsCode: EndpointSpec<{
|
|
16163
|
+
readonly $typeName?: undefined;
|
|
16164
|
+
phone?: string | undefined;
|
|
16165
|
+
platformId?: string | undefined;
|
|
16166
|
+
purpose?: Purpose | undefined;
|
|
16167
|
+
email?: string | undefined;
|
|
16168
|
+
useEmail?: boolean | undefined;
|
|
16169
|
+
}, BaseResponse>;
|
|
16170
|
+
readonly sendSmsCodeViber: EndpointSpec<{
|
|
16171
|
+
readonly $typeName?: undefined;
|
|
16172
|
+
phone?: string | undefined;
|
|
16173
|
+
platformId?: string | undefined;
|
|
16174
|
+
purpose?: Purpose | undefined;
|
|
16175
|
+
}, BaseResponse>;
|
|
16176
|
+
readonly playerLoginOrRegisterWithFacebook: EndpointSpec<{
|
|
16177
|
+
readonly $typeName?: undefined;
|
|
16178
|
+
facebookId?: string | undefined;
|
|
16179
|
+
facebookAccount?: string | undefined;
|
|
16180
|
+
phone?: string | undefined;
|
|
16181
|
+
smsCode?: string | undefined;
|
|
16182
|
+
skipFacebookAuthorization?: boolean | undefined;
|
|
16183
|
+
signature?: string | undefined;
|
|
16184
|
+
deviceType?: number | undefined;
|
|
16185
|
+
platformId?: string | undefined;
|
|
16186
|
+
partnerId?: string | undefined;
|
|
16187
|
+
sourceUrl?: string | undefined;
|
|
16188
|
+
clientDomain?: string | undefined;
|
|
16189
|
+
freespinSessionToken?: string | undefined;
|
|
16190
|
+
}, PlayerLoginOrRegisterWithFacebookRes>;
|
|
16191
|
+
readonly getFacebookConsentPage: EndpointSpec<{
|
|
16192
|
+
readonly $typeName?: undefined;
|
|
16193
|
+
platformId?: string | undefined;
|
|
16194
|
+
facebookId?: string | undefined;
|
|
16195
|
+
fingerprint?: string | undefined;
|
|
16196
|
+
isBinding?: boolean | undefined;
|
|
16197
|
+
}, GetFacebookConsentPageRes>;
|
|
16198
|
+
readonly facebookAuthorization: EndpointSpec<{
|
|
16199
|
+
readonly $typeName?: undefined;
|
|
16200
|
+
platformId?: string | undefined;
|
|
16201
|
+
code?: string | undefined;
|
|
16202
|
+
isBinding?: boolean | undefined;
|
|
16203
|
+
}, FacebookAuthorizationRes>;
|
|
16204
|
+
readonly getFacebookFriendList: EndpointSpec<{
|
|
16205
|
+
readonly $typeName?: undefined;
|
|
16206
|
+
playerId?: string | undefined;
|
|
16207
|
+
}, GetFacebookFriendListRes>;
|
|
16208
|
+
readonly manualFetchFacebookFriends: EndpointSpec<{
|
|
16209
|
+
readonly $typeName?: undefined;
|
|
16210
|
+
playerId?: string | undefined;
|
|
16211
|
+
}, ManualFetchFacebookFriendsRes>;
|
|
16212
|
+
readonly bindFacebookAccount: EndpointSpec<{
|
|
16213
|
+
readonly $typeName?: undefined;
|
|
16214
|
+
facebookId?: string | undefined;
|
|
16215
|
+
}, BaseResponse>;
|
|
16216
|
+
readonly unbindFacebookAccount: EndpointSpec<{
|
|
16217
|
+
readonly $typeName?: undefined;
|
|
16218
|
+
}, UnbindFacebookAccountRes>;
|
|
16219
|
+
readonly facebookVerifyPhoneNumber: EndpointSpec<{
|
|
16220
|
+
readonly $typeName?: undefined;
|
|
16221
|
+
code?: string | undefined;
|
|
16222
|
+
}, BaseResponse>;
|
|
16223
|
+
readonly enableFaceId: EndpointSpec<{
|
|
16224
|
+
readonly $typeName?: undefined;
|
|
16225
|
+
deviceType?: DeviceType$1 | undefined;
|
|
16226
|
+
smsCode?: string | undefined;
|
|
16227
|
+
isFakeApp?: boolean | undefined;
|
|
16228
|
+
}, EnableFaceIdRes>;
|
|
16229
|
+
readonly initFaceIdSession: EndpointSpec<{
|
|
16230
|
+
readonly $typeName?: undefined;
|
|
16231
|
+
phoneNumber?: string | undefined;
|
|
16232
|
+
clientDomain?: string | undefined;
|
|
16233
|
+
deviceType?: DeviceType$1 | undefined;
|
|
16234
|
+
platformId?: string | undefined;
|
|
16235
|
+
isFakeApp?: boolean | undefined;
|
|
16236
|
+
}, InitFaceIdSessionRes>;
|
|
16237
|
+
readonly playerLoginWithFaceId: EndpointSpec<{
|
|
16238
|
+
readonly $typeName?: undefined;
|
|
16239
|
+
platformId?: string | undefined;
|
|
16240
|
+
sourceUrl?: string | undefined;
|
|
16241
|
+
clientDomain?: string | undefined;
|
|
16242
|
+
eId?: string | undefined;
|
|
16243
|
+
partnerId?: string | undefined;
|
|
16244
|
+
freespinSessionToken?: string | undefined;
|
|
16245
|
+
faceId?: string | undefined;
|
|
16246
|
+
deviceType?: DeviceType$1 | undefined;
|
|
16247
|
+
transactionId?: string | undefined;
|
|
16248
|
+
isFakeApp?: boolean | undefined;
|
|
16249
|
+
}, PlayerLoginWithFaceIdRes>;
|
|
16250
|
+
readonly disableFaceId: EndpointSpec<{
|
|
16251
|
+
readonly $typeName?: undefined;
|
|
16252
|
+
deviceType?: DeviceType$1 | undefined;
|
|
16253
|
+
isFakeApp?: boolean | undefined;
|
|
16254
|
+
}, DisableFaceIdRes>;
|
|
16255
|
+
readonly initEnrollSession: EndpointSpec<{
|
|
16256
|
+
readonly $typeName?: undefined;
|
|
16257
|
+
clientDomain?: string | undefined;
|
|
16258
|
+
deviceType?: DeviceType$1 | undefined;
|
|
16259
|
+
isFakeApp?: boolean | undefined;
|
|
16260
|
+
}, InitEnrollSessionRes>;
|
|
16261
|
+
readonly getFaceIdInfo: EndpointSpec<{
|
|
16262
|
+
readonly $typeName?: undefined;
|
|
16263
|
+
deviceType?: DeviceType$1 | undefined;
|
|
16264
|
+
isFakeApp?: boolean | undefined;
|
|
16265
|
+
}, GetFaceIdInfoRes>;
|
|
16266
|
+
readonly verifyPassword: EndpointSpec<{
|
|
16267
|
+
readonly $typeName?: undefined;
|
|
16268
|
+
password?: string | undefined;
|
|
16269
|
+
}, VerifyPasswordRes>;
|
|
16270
|
+
readonly gLifeAuth: EndpointSpec<{
|
|
16271
|
+
readonly $typeName?: undefined;
|
|
16272
|
+
authCode?: string | undefined;
|
|
16273
|
+
platformId?: string | undefined;
|
|
16274
|
+
phone?: string | undefined;
|
|
16275
|
+
applyToken?: boolean | undefined;
|
|
16276
|
+
accessToken?: string | undefined;
|
|
16277
|
+
refreshToken?: string | undefined;
|
|
16278
|
+
currentTime?: string | undefined;
|
|
16279
|
+
useAuthCode?: boolean | undefined;
|
|
16280
|
+
}, GLifeAuthRes>;
|
|
16281
|
+
readonly playerLoginWithGLife: EndpointSpec<{
|
|
16282
|
+
readonly $typeName?: undefined;
|
|
16283
|
+
phone?: string | undefined;
|
|
16284
|
+
clientDomain?: string | undefined;
|
|
16285
|
+
deviceType?: number | undefined;
|
|
16286
|
+
platformId?: string | undefined;
|
|
16287
|
+
customerId?: string | undefined;
|
|
16288
|
+
gLifeData?: string | undefined;
|
|
16289
|
+
authCode?: string | undefined;
|
|
16290
|
+
isWebsite?: boolean | undefined;
|
|
16291
|
+
sourceUrl?: string | undefined;
|
|
16292
|
+
eId?: string | undefined;
|
|
16293
|
+
partnerId?: string | undefined;
|
|
16294
|
+
}, PlayerLoginWithGLifeRes>;
|
|
16295
|
+
readonly playerLoginOrRegisterWithGLife: EndpointSpec<{
|
|
16296
|
+
readonly $typeName?: undefined;
|
|
16297
|
+
platformId?: string | undefined;
|
|
16298
|
+
authCode?: string | undefined;
|
|
16299
|
+
sourceUrl?: string | undefined;
|
|
16300
|
+
deviceType?: number | undefined;
|
|
16301
|
+
clientDomain?: string | undefined;
|
|
16302
|
+
signature?: string | undefined;
|
|
16303
|
+
partnerId?: string | undefined;
|
|
16304
|
+
}, PlayerLoginOrRegisterWithGLifeRes>;
|
|
16305
|
+
readonly mayaAuth: EndpointSpec<{
|
|
16306
|
+
readonly $typeName?: undefined;
|
|
16307
|
+
platformId?: string | undefined;
|
|
16308
|
+
sessionId?: string | undefined;
|
|
16309
|
+
phone?: string | undefined;
|
|
16310
|
+
useSessionId?: boolean | undefined;
|
|
16311
|
+
}, MayaAuthRes>;
|
|
16312
|
+
readonly playerLoginWithMaya: EndpointSpec<{
|
|
16313
|
+
readonly $typeName?: undefined;
|
|
16314
|
+
sessionId?: string | undefined;
|
|
16315
|
+
sourceUrl?: string | undefined;
|
|
16316
|
+
clientDomain?: string | undefined;
|
|
16317
|
+
eId?: string | undefined;
|
|
16318
|
+
platformId?: string | undefined;
|
|
16319
|
+
partnerId?: string | undefined;
|
|
16320
|
+
}, PlayerLoginWithMayaRes>;
|
|
16321
|
+
readonly playerLoginOrRegisterWithMaya: EndpointSpec<{
|
|
16322
|
+
readonly $typeName?: undefined;
|
|
16323
|
+
sessionId?: string | undefined;
|
|
16324
|
+
sourceUrl?: string | undefined;
|
|
16325
|
+
clientDomain?: string | undefined;
|
|
16326
|
+
platformId?: string | undefined;
|
|
16327
|
+
partnerId?: string | undefined;
|
|
16328
|
+
}, PlayerLoginOrRegisterWithMayaRes>;
|
|
16329
|
+
};
|
|
16330
|
+
readonly packet: {
|
|
16331
|
+
readonly assignPacket: EndpointSpec<{
|
|
16332
|
+
readonly $typeName?: undefined;
|
|
16333
|
+
playerName?: string | undefined;
|
|
16334
|
+
requestId?: string | undefined;
|
|
16335
|
+
eventId?: string | undefined;
|
|
16336
|
+
session?: number | undefined;
|
|
16337
|
+
token?: string | undefined;
|
|
16338
|
+
signature?: string | undefined;
|
|
16339
|
+
}, AssignPacketRes>;
|
|
16340
|
+
readonly getServerTime: EndpointSpec<{
|
|
16341
|
+
readonly $typeName?: undefined;
|
|
16342
|
+
requestId?: string | undefined;
|
|
16343
|
+
}, GetServerTimeRes>;
|
|
16344
|
+
readonly getPacketsInfo: EndpointSpec<{
|
|
16345
|
+
readonly $typeName?: undefined;
|
|
16346
|
+
requestId?: string | undefined;
|
|
16347
|
+
}, GetPacketsInfoRes>;
|
|
16348
|
+
readonly verifyPlayerPacket: EndpointSpec<{
|
|
16349
|
+
readonly $typeName?: undefined;
|
|
16350
|
+
requestId?: string | undefined;
|
|
16351
|
+
token?: string | undefined;
|
|
16352
|
+
eventId?: string | undefined;
|
|
16353
|
+
}, VerifyPlayerPacketRes>;
|
|
16354
|
+
};
|
|
16355
|
+
readonly payment: {
|
|
16356
|
+
readonly getCredit: EndpointSpec<{
|
|
16357
|
+
readonly $typeName?: undefined;
|
|
16358
|
+
}, GetCreditRes>;
|
|
16359
|
+
readonly getBankTypes: EndpointSpec<{
|
|
16360
|
+
readonly $typeName?: undefined;
|
|
16361
|
+
platformId?: string | undefined;
|
|
16362
|
+
}, GetBankTypesRes>;
|
|
16363
|
+
readonly getBindBankCards: EndpointSpec<{
|
|
16364
|
+
readonly $typeName?: undefined;
|
|
16365
|
+
platformId?: string | undefined;
|
|
16366
|
+
childPlatformId?: string | undefined;
|
|
16367
|
+
deviceType?: number | undefined;
|
|
16368
|
+
}, GetBindBankCardsRes>;
|
|
16369
|
+
readonly getAvailableDepositMethods: EndpointSpec<{
|
|
16370
|
+
readonly $typeName?: undefined;
|
|
16371
|
+
platformId?: string | undefined;
|
|
16372
|
+
childPlatformId?: string | undefined;
|
|
16373
|
+
deviceType?: number | undefined;
|
|
16374
|
+
sessionId?: string | undefined;
|
|
16375
|
+
}, GetAvailableDepositMethodsRes>;
|
|
16376
|
+
readonly updatePaymentInfo: EndpointSpec<{
|
|
16377
|
+
readonly $typeName?: undefined;
|
|
16378
|
+
bankCard?: (BankCard | {
|
|
16379
|
+
readonly $typeName?: undefined;
|
|
16380
|
+
id?: string | undefined;
|
|
16381
|
+
bankTypeId?: string | undefined;
|
|
16382
|
+
bankName?: string | undefined;
|
|
16383
|
+
paymentTypeName?: string | undefined;
|
|
16384
|
+
paymentChoice?: string | undefined;
|
|
16385
|
+
paymentType?: string | undefined;
|
|
16386
|
+
bankAccount?: string | undefined;
|
|
16387
|
+
bankAccountName?: string | undefined;
|
|
16388
|
+
bankAccountProvince?: string | undefined;
|
|
16389
|
+
bankAccountDistrict?: string | undefined;
|
|
16390
|
+
bankAddress?: string | undefined;
|
|
16391
|
+
bankAccountCity?: string | undefined;
|
|
16392
|
+
isGLife?: boolean | undefined;
|
|
16393
|
+
isMaya?: boolean | undefined;
|
|
16394
|
+
isDefault?: boolean | undefined;
|
|
16395
|
+
isMaintenance?: boolean | undefined;
|
|
16396
|
+
bankCode?: string | undefined;
|
|
16397
|
+
bankChoice?: string | undefined;
|
|
16398
|
+
}) | undefined;
|
|
16399
|
+
childPlatformId?: string | undefined;
|
|
16400
|
+
platformId?: string | undefined;
|
|
16401
|
+
smsCode?: string | undefined;
|
|
16402
|
+
}, UpdatePaymentInfoRes>;
|
|
16403
|
+
readonly verifyUnionBank: EndpointSpec<{
|
|
16404
|
+
readonly $typeName?: undefined;
|
|
16405
|
+
platformId?: string | undefined;
|
|
16406
|
+
}, VerifyUnionBankRes>;
|
|
16407
|
+
readonly getPlayerDisbursements: EndpointSpec<{
|
|
16408
|
+
readonly $typeName?: undefined;
|
|
16409
|
+
platformId?: string | undefined;
|
|
16410
|
+
walletType?: string | undefined;
|
|
16411
|
+
status?: string | undefined;
|
|
16412
|
+
}, GetPlayerDisbursementsRes>;
|
|
16413
|
+
readonly claimPlayerDisbursement: EndpointSpec<{
|
|
16414
|
+
readonly $typeName?: undefined;
|
|
16415
|
+
platformId?: string | undefined;
|
|
16416
|
+
batchId?: string | undefined;
|
|
16417
|
+
}, ClaimPlayerDisbursementRes>;
|
|
16418
|
+
readonly getPlayerMudTransactions: EndpointSpec<{
|
|
16419
|
+
readonly $typeName?: undefined;
|
|
16420
|
+
platformId?: string | undefined;
|
|
16421
|
+
batchId?: string | undefined;
|
|
16422
|
+
}, GetPlayerMudTransactionsRes>;
|
|
16423
|
+
readonly getMudTransactionHistory: EndpointSpec<{
|
|
16424
|
+
readonly $typeName?: undefined;
|
|
16425
|
+
platformId?: string | undefined;
|
|
16426
|
+
walletType?: string | undefined;
|
|
16427
|
+
startTime?: string | undefined;
|
|
16428
|
+
endTime?: string | undefined;
|
|
16429
|
+
requestCount?: number | undefined;
|
|
16430
|
+
startIndex?: number | undefined;
|
|
16431
|
+
}, GetMudTransactionHistoryRes>;
|
|
16432
|
+
readonly getCreditChangeNotifyMsg: EndpointSpec<{
|
|
16433
|
+
readonly $typeName?: undefined;
|
|
16434
|
+
}, GetCreditChangeNotifyMsgRes>;
|
|
16435
|
+
readonly removeCreditChangeNotifyMsg: EndpointSpec<{
|
|
16436
|
+
readonly $typeName?: undefined;
|
|
16437
|
+
proposalId?: string | undefined;
|
|
16438
|
+
}, RemoveCreditChangeNotifyMsgRes>;
|
|
16439
|
+
readonly getPlatformPlayerFreeSpinListing: EndpointSpec<{
|
|
16440
|
+
readonly $typeName?: undefined;
|
|
16441
|
+
dateTimeRangeFilter?: (DateTimeRangeFilter | {
|
|
16442
|
+
readonly $typeName?: undefined;
|
|
16443
|
+
startTime?: string | undefined;
|
|
16444
|
+
endTime?: string | undefined;
|
|
16445
|
+
}) | undefined;
|
|
16446
|
+
pagination?: (Pagination | {
|
|
16447
|
+
readonly $typeName?: undefined;
|
|
16448
|
+
limit?: number | undefined;
|
|
16449
|
+
offset?: number | undefined;
|
|
16450
|
+
}) | undefined;
|
|
16451
|
+
}, GetPlatformPlayerFreeSpinListingRes>;
|
|
16452
|
+
};
|
|
16453
|
+
readonly player: {
|
|
16454
|
+
readonly getVerificationStatus: EndpointSpec<{
|
|
16455
|
+
readonly $typeName?: undefined;
|
|
16456
|
+
}, GetVerificationStatusRes>;
|
|
16457
|
+
readonly verifyEmail: EndpointSpec<{
|
|
16458
|
+
readonly $typeName?: undefined;
|
|
16459
|
+
code?: string | undefined;
|
|
16460
|
+
email?: string | undefined;
|
|
16461
|
+
}, BaseResponse>;
|
|
16462
|
+
readonly getMergingList: EndpointSpec<{
|
|
16463
|
+
readonly $typeName?: undefined;
|
|
16464
|
+
}, GetMergingListRes>;
|
|
16465
|
+
readonly mergePlayerAccount: EndpointSpec<{
|
|
16466
|
+
readonly $typeName?: undefined;
|
|
16467
|
+
targetPlayerId?: string | undefined;
|
|
16468
|
+
}, BaseResponse>;
|
|
16469
|
+
readonly verifyMergePlayerCode: EndpointSpec<{
|
|
16470
|
+
readonly $typeName?: undefined;
|
|
16471
|
+
code?: string | undefined;
|
|
16472
|
+
}, BaseResponse>;
|
|
16473
|
+
readonly getMergingListPendingProposalCount: EndpointSpec<{
|
|
16474
|
+
readonly $typeName?: undefined;
|
|
16475
|
+
}, GetMergingListPendingProposalCountRes>;
|
|
16476
|
+
readonly checkMergePlayerProposal: EndpointSpec<{
|
|
16477
|
+
readonly $typeName?: undefined;
|
|
16478
|
+
playerId?: string | undefined;
|
|
16479
|
+
}, BaseResponse>;
|
|
16480
|
+
readonly playerBypassKycRestriction: EndpointSpec<{
|
|
16481
|
+
readonly $typeName?: undefined;
|
|
16482
|
+
}, PlayerBypassKycRestrictionRes>;
|
|
16483
|
+
readonly checkPlayerLoginStatus: EndpointSpec<{
|
|
16484
|
+
readonly $typeName?: undefined;
|
|
16485
|
+
}, CheckPlayerLoginStatusRes>;
|
|
16486
|
+
readonly getPlayerProfileByJwt: EndpointSpec<{
|
|
16487
|
+
readonly $typeName?: undefined;
|
|
16488
|
+
}, GetPlayerProfileByJwtRes>;
|
|
16489
|
+
readonly updatePassword: EndpointSpec<{
|
|
16490
|
+
readonly $typeName?: undefined;
|
|
16491
|
+
oldPassword?: string | undefined;
|
|
16492
|
+
newPassword?: string | undefined;
|
|
16493
|
+
confirmNewPassword?: string | undefined;
|
|
16494
|
+
code?: string | undefined;
|
|
16495
|
+
}, BaseResponse>;
|
|
16496
|
+
readonly getPlayerInfoForSportsForum: EndpointSpec<{
|
|
16497
|
+
readonly $typeName?: undefined;
|
|
16498
|
+
}, GetPlayerInfoForSportsForumRes>;
|
|
16499
|
+
readonly getWithdrawalInfo: EndpointSpec<{
|
|
16500
|
+
readonly $typeName?: undefined;
|
|
16501
|
+
}, GetWithdrawalInfoRes>;
|
|
16502
|
+
readonly getDepositInfo: EndpointSpec<{
|
|
16503
|
+
readonly $typeName?: undefined;
|
|
16504
|
+
}, GetDepositInfoRes>;
|
|
16505
|
+
readonly getAccountCombineInfo: EndpointSpec<{
|
|
16506
|
+
readonly $typeName?: undefined;
|
|
16507
|
+
}, GetAccountCombineInfoRes>;
|
|
16508
|
+
readonly getViberStatus: EndpointSpec<{
|
|
16509
|
+
readonly $typeName?: undefined;
|
|
16510
|
+
phone?: string | undefined;
|
|
16511
|
+
platformId?: string | undefined;
|
|
16512
|
+
}, GetViberStatusRes>;
|
|
16513
|
+
readonly updateAdditionalInfo: EndpointSpec<{
|
|
16514
|
+
readonly $typeName?: undefined;
|
|
16515
|
+
realName?: string | undefined;
|
|
16516
|
+
nationality?: string | undefined;
|
|
16517
|
+
placeOfBirth?: string | undefined;
|
|
16518
|
+
dob?: string | undefined;
|
|
16519
|
+
natureOfWork?: string | undefined;
|
|
16520
|
+
sourceOfFunds?: string | undefined;
|
|
16521
|
+
photoId?: string | undefined;
|
|
16522
|
+
photoIdType?: PlayerPhotoIdType$1 | undefined;
|
|
16523
|
+
verifyPhoto?: string | undefined;
|
|
16524
|
+
faceVerification?: string | undefined;
|
|
16525
|
+
idCardNumber?: string | undefined;
|
|
16526
|
+
memberCardId?: string | undefined;
|
|
16527
|
+
address?: string | undefined;
|
|
16528
|
+
currentAddress?: string | undefined;
|
|
16529
|
+
deviceType?: number | undefined;
|
|
16530
|
+
nickname?: string | undefined;
|
|
16531
|
+
barangay?: string | undefined;
|
|
16532
|
+
province?: string | undefined;
|
|
16533
|
+
city?: string | undefined;
|
|
16534
|
+
postcode?: string | undefined;
|
|
16535
|
+
playerAvatar?: string | undefined;
|
|
16536
|
+
isVerifyPhoto?: boolean | undefined;
|
|
16537
|
+
isKycInfo?: boolean | undefined;
|
|
16538
|
+
docType?: string | undefined;
|
|
16539
|
+
bizId?: string | undefined;
|
|
16540
|
+
certName?: string | undefined;
|
|
16541
|
+
}, BaseResponse>;
|
|
16542
|
+
readonly playerGetPlayerProfileByJwt: EndpointSpec<{
|
|
16543
|
+
readonly $typeName?: undefined;
|
|
16544
|
+
}, GetPlayerProfileByJwtRes>;
|
|
16545
|
+
readonly playerUpdatePassword: EndpointSpec<{
|
|
16546
|
+
readonly $typeName?: undefined;
|
|
16547
|
+
oldPassword?: string | undefined;
|
|
16548
|
+
newPassword?: string | undefined;
|
|
16549
|
+
confirmNewPassword?: string | undefined;
|
|
16550
|
+
code?: string | undefined;
|
|
16551
|
+
}, BaseResponse>;
|
|
16552
|
+
readonly playerGetPlayerInfoForSportsForum: EndpointSpec<{
|
|
16553
|
+
readonly $typeName?: undefined;
|
|
16554
|
+
}, GetPlayerInfoForSportsForumRes>;
|
|
16555
|
+
readonly playerGetWithdrawalInfo: EndpointSpec<{
|
|
16556
|
+
readonly $typeName?: undefined;
|
|
16557
|
+
}, GetWithdrawalInfoRes>;
|
|
16558
|
+
readonly playerGetDepositInfo: EndpointSpec<{
|
|
16559
|
+
readonly $typeName?: undefined;
|
|
16560
|
+
}, GetDepositInfoRes>;
|
|
16561
|
+
readonly playerGetAccountCombineInfo: EndpointSpec<{
|
|
16562
|
+
readonly $typeName?: undefined;
|
|
16563
|
+
}, GetAccountCombineInfoRes>;
|
|
16564
|
+
readonly playerGetViberStatus: EndpointSpec<{
|
|
16565
|
+
readonly $typeName?: undefined;
|
|
16566
|
+
phone?: string | undefined;
|
|
16567
|
+
platformId?: string | undefined;
|
|
16568
|
+
}, GetViberStatusRes>;
|
|
16569
|
+
readonly updatePasswordAndNotify: EndpointSpec<{
|
|
16570
|
+
readonly $typeName?: undefined;
|
|
16571
|
+
playerObjId?: string | undefined;
|
|
16572
|
+
playerId?: string | undefined;
|
|
16573
|
+
platformId?: string | undefined;
|
|
16574
|
+
newPassword?: string | undefined;
|
|
16575
|
+
playerType?: number | undefined;
|
|
16576
|
+
resetPassword?: boolean | undefined;
|
|
16577
|
+
playerName?: string | undefined;
|
|
16578
|
+
inputDevice?: number | undefined;
|
|
16579
|
+
refId?: string | undefined;
|
|
16580
|
+
roomId?: string | undefined;
|
|
16581
|
+
}, BaseResponse>;
|
|
16582
|
+
readonly resetPasswordFg: EndpointSpec<{
|
|
16583
|
+
readonly $typeName?: undefined;
|
|
16584
|
+
phone?: string | undefined;
|
|
16585
|
+
platformId?: string | undefined;
|
|
16586
|
+
newPassword?: string | undefined;
|
|
16587
|
+
confirmNewPassword?: string | undefined;
|
|
16588
|
+
code?: number | undefined;
|
|
16589
|
+
}, BaseResponse>;
|
|
16590
|
+
readonly updateDob: EndpointSpec<{
|
|
16591
|
+
readonly $typeName?: undefined;
|
|
16592
|
+
dob?: string | undefined;
|
|
16593
|
+
}, BaseResponse>;
|
|
16594
|
+
readonly updatePlaceOfBirth: EndpointSpec<{
|
|
16595
|
+
readonly $typeName?: undefined;
|
|
16596
|
+
placeOfBirth?: string | undefined;
|
|
16597
|
+
}, BaseResponse>;
|
|
16598
|
+
readonly updateGender: EndpointSpec<{
|
|
16599
|
+
readonly $typeName?: undefined;
|
|
16600
|
+
gender?: UpdateGenderReq_Gender | undefined;
|
|
16601
|
+
}, BaseResponse>;
|
|
16602
|
+
readonly updateNickname: EndpointSpec<{
|
|
16603
|
+
readonly $typeName?: undefined;
|
|
16604
|
+
nickname?: string | undefined;
|
|
16605
|
+
}, BaseResponse>;
|
|
16606
|
+
readonly updateEmail: EndpointSpec<{
|
|
16607
|
+
readonly $typeName?: undefined;
|
|
16608
|
+
email?: string | undefined;
|
|
16609
|
+
oldEmail?: string | undefined;
|
|
16610
|
+
code?: string | undefined;
|
|
16611
|
+
}, BaseResponse>;
|
|
16612
|
+
readonly updateAddress: EndpointSpec<{
|
|
16613
|
+
readonly $typeName?: undefined;
|
|
16614
|
+
address?: string | undefined;
|
|
16615
|
+
currentAddress?: string | undefined;
|
|
16616
|
+
city?: string | undefined;
|
|
16617
|
+
province?: string | undefined;
|
|
16618
|
+
postcode?: string | undefined;
|
|
16619
|
+
}, BaseResponse>;
|
|
16620
|
+
readonly updatePhone: EndpointSpec<{
|
|
16621
|
+
readonly $typeName?: undefined;
|
|
16622
|
+
phone?: string | undefined;
|
|
16623
|
+
code?: string | undefined;
|
|
16624
|
+
}, BaseResponse>;
|
|
16625
|
+
readonly updatePlayerAvatar: EndpointSpec<{
|
|
16626
|
+
readonly $typeName?: undefined;
|
|
16627
|
+
playerAvatar?: string | undefined;
|
|
16628
|
+
}, BaseResponse>;
|
|
16629
|
+
readonly updateEKyc: EndpointSpec<{
|
|
16630
|
+
readonly $typeName?: undefined;
|
|
16631
|
+
step?: UpdateEKycReq_Step | undefined;
|
|
16632
|
+
dob?: string | undefined;
|
|
16633
|
+
placeOfBirth?: string | undefined;
|
|
16634
|
+
firstName?: string | undefined;
|
|
16635
|
+
middleName?: string | undefined;
|
|
16636
|
+
lastName?: string | undefined;
|
|
16637
|
+
fullName?: string | undefined;
|
|
16638
|
+
natureOfWork?: string | undefined;
|
|
16639
|
+
sourceOfFunds?: string | undefined;
|
|
16640
|
+
nationality?: UpdateEKycReq_PlayerNationality | undefined;
|
|
16641
|
+
address?: string | undefined;
|
|
16642
|
+
playerProvince?: string | undefined;
|
|
16643
|
+
playerCity?: string | undefined;
|
|
16644
|
+
photoIdType?: UpdateEKycReq_PlayerPhotoIdType | undefined;
|
|
16645
|
+
photoId?: string | undefined;
|
|
16646
|
+
verifyPhoto?: string | undefined;
|
|
16647
|
+
}, BaseResponse>;
|
|
16648
|
+
readonly getSmsStatus: EndpointSpec<{
|
|
16649
|
+
readonly $typeName?: undefined;
|
|
16650
|
+
}, GetSmsStatusRes>;
|
|
16651
|
+
readonly updateSmsStatus: EndpointSpec<{
|
|
16652
|
+
readonly $typeName?: undefined;
|
|
16653
|
+
smsId?: number | undefined;
|
|
16654
|
+
status?: boolean | undefined;
|
|
16655
|
+
}, BaseResponse>;
|
|
16656
|
+
readonly getAllLevel: EndpointSpec<{
|
|
16657
|
+
readonly $typeName?: undefined;
|
|
16658
|
+
}, GetAllLevelRes>;
|
|
16659
|
+
readonly getPlayerProgress: EndpointSpec<{
|
|
16660
|
+
readonly $typeName?: undefined;
|
|
16661
|
+
}, GetPlayerProgressRes>;
|
|
16662
|
+
readonly verifyPhoneNumberWithSms: EndpointSpec<{
|
|
16663
|
+
readonly $typeName?: undefined;
|
|
16664
|
+
code?: string | undefined;
|
|
16665
|
+
platformId?: string | undefined;
|
|
16666
|
+
}, BaseResponse>;
|
|
16667
|
+
readonly updateSourceOfFunds: EndpointSpec<{
|
|
16668
|
+
readonly $typeName?: undefined;
|
|
16669
|
+
sourceOfFunds?: string | undefined;
|
|
16670
|
+
}, BaseResponse>;
|
|
16671
|
+
readonly updateNatureOfWork: EndpointSpec<{
|
|
16672
|
+
readonly $typeName?: undefined;
|
|
16673
|
+
natureOfWork?: string | undefined;
|
|
16674
|
+
}, BaseResponse>;
|
|
16675
|
+
readonly updateRealName: EndpointSpec<{
|
|
16676
|
+
readonly $typeName?: undefined;
|
|
16677
|
+
firstName?: string | undefined;
|
|
16678
|
+
middleName?: string | undefined;
|
|
16679
|
+
lastName?: string | undefined;
|
|
16680
|
+
}, BaseResponse>;
|
|
16681
|
+
readonly checkIsValidSmsCode: EndpointSpec<{
|
|
16682
|
+
readonly $typeName?: undefined;
|
|
16683
|
+
code?: string | undefined;
|
|
16684
|
+
phone?: string | undefined;
|
|
16685
|
+
platformId?: string | undefined;
|
|
16686
|
+
purpose?: CheckIsValidSmsCodeReq_Purpose | undefined;
|
|
16687
|
+
}, BaseResponse>;
|
|
16688
|
+
readonly getAllPlayerLevel: EndpointSpec<{
|
|
16689
|
+
readonly $typeName?: undefined;
|
|
16690
|
+
platformId?: string | undefined;
|
|
16691
|
+
}, GetAllPlayerLevelRes>;
|
|
16692
|
+
readonly getPlayerLevelWithPlayerLevelObjId: EndpointSpec<{
|
|
16693
|
+
readonly $typeName?: undefined;
|
|
16694
|
+
playerLevelObjId?: string | undefined;
|
|
16695
|
+
}, GetPlayerLevelWithPlayerLevelObjIdRes>;
|
|
16696
|
+
readonly getCasinoPlayerByPlayerId: EndpointSpec<{
|
|
16697
|
+
readonly $typeName?: undefined;
|
|
16698
|
+
playerId?: string | undefined;
|
|
16699
|
+
memberCardId?: string | undefined;
|
|
16700
|
+
}, GetCasinoPlayerByPlayerIdRes>;
|
|
16701
|
+
readonly getCasinoPlayers: EndpointSpec<{
|
|
16702
|
+
readonly $typeName?: undefined;
|
|
16703
|
+
platformId?: string | undefined;
|
|
16704
|
+
}, GetCasinoPlayersRes>;
|
|
16705
|
+
readonly getCasinoPlayerByMemberCardId: EndpointSpec<{
|
|
16706
|
+
readonly $typeName?: undefined;
|
|
16707
|
+
memberCardId?: string | undefined;
|
|
16708
|
+
}, GetCasinoPlayerByMemberCardIdRes>;
|
|
16709
|
+
readonly updateCasinoPlayerByPlayerId: EndpointSpec<{
|
|
16710
|
+
readonly $typeName?: undefined;
|
|
16711
|
+
playerId?: string | undefined;
|
|
16712
|
+
email?: string | undefined;
|
|
16713
|
+
realName?: string | undefined;
|
|
16714
|
+
nationality?: string | undefined;
|
|
16715
|
+
country?: string | undefined;
|
|
16716
|
+
placeOfBirth?: string | undefined;
|
|
16717
|
+
dob?: string | undefined;
|
|
16718
|
+
natureOfWork?: string | undefined;
|
|
16719
|
+
sourceOfFunds?: string | undefined;
|
|
16720
|
+
photoId?: string | undefined;
|
|
16721
|
+
photoIdType?: PlayerPhotoIdType | undefined;
|
|
16722
|
+
idCardNumber?: string | undefined;
|
|
16723
|
+
memberCardId?: string | undefined;
|
|
16724
|
+
address?: string | undefined;
|
|
16725
|
+
currentAddress?: string | undefined;
|
|
16726
|
+
playerProvince?: string | undefined;
|
|
16727
|
+
playerCity?: string | undefined;
|
|
16728
|
+
verifyPhoto?: string | undefined;
|
|
16729
|
+
gender?: boolean | undefined;
|
|
16730
|
+
registrationForm?: string | undefined;
|
|
16731
|
+
verificationForm?: string | undefined;
|
|
16732
|
+
}, UpdateCasinoPlayerByPlayerIdRes>;
|
|
16733
|
+
readonly updatePlayerStatusByPlayerId: EndpointSpec<{
|
|
16734
|
+
readonly $typeName?: undefined;
|
|
16735
|
+
playerId?: string | undefined;
|
|
16736
|
+
status?: string | undefined;
|
|
16737
|
+
}, UpdatePlayerStatusByPlayerIdRes>;
|
|
16738
|
+
readonly getBetRecordsByPlayerId: EndpointSpec<{
|
|
16739
|
+
readonly $typeName?: undefined;
|
|
16740
|
+
playerId?: string | undefined;
|
|
16741
|
+
startTime?: string | undefined;
|
|
16742
|
+
endTime?: string | undefined;
|
|
16743
|
+
}, GetBetRecordsByPlayerIdRes>;
|
|
16744
|
+
readonly getPlayerInfoWithPlayerId: EndpointSpec<{
|
|
16745
|
+
readonly $typeName?: undefined;
|
|
16746
|
+
playerId?: string | undefined;
|
|
16747
|
+
}, GetPlayerInfoWithPlayerIdRes>;
|
|
16748
|
+
readonly updatePlayerBaccaratTicket: EndpointSpec<{
|
|
16749
|
+
readonly $typeName?: undefined;
|
|
16750
|
+
playerId?: string | undefined;
|
|
16751
|
+
}, UpdatePlayerBaccaratTicketRes>;
|
|
16752
|
+
readonly getPlayerPhoneAndBankInfo: EndpointSpec<{
|
|
16753
|
+
readonly $typeName?: undefined;
|
|
16754
|
+
}, GetPlayerPhoneAndBankInfoRes>;
|
|
16755
|
+
readonly getPlayerKYCAndWithdrawStatus: EndpointSpec<{
|
|
16756
|
+
readonly $typeName?: undefined;
|
|
16757
|
+
playerId?: string | undefined;
|
|
16758
|
+
}, GetPlayerKYCAndWithdrawStatusRes>;
|
|
16759
|
+
readonly getPlayerValidCreditByPlayerObjId: EndpointSpec<{
|
|
16760
|
+
readonly $typeName?: undefined;
|
|
16761
|
+
playerId?: string | undefined;
|
|
16762
|
+
}, GetPlayerValidCreditByPlayerObjIdRes>;
|
|
16763
|
+
readonly getPlayerIdAndName: EndpointSpec<{
|
|
16764
|
+
readonly $typeName?: undefined;
|
|
16765
|
+
}, GetPlayerIdAndNameRes>;
|
|
16766
|
+
readonly getFreeSpinPlayerInfo: EndpointSpec<{
|
|
16767
|
+
readonly $typeName?: undefined;
|
|
16768
|
+
}, GetFreeSpinPlayerInfoRes>;
|
|
16769
|
+
readonly getPlayerInfo: EndpointSpec<{
|
|
16770
|
+
readonly $typeName?: undefined;
|
|
16771
|
+
playerId?: string | undefined;
|
|
16772
|
+
name?: string | undefined;
|
|
16773
|
+
}, GetPlayerInfoRes>;
|
|
16774
|
+
readonly getPlayerEmailByPlayerId: EndpointSpec<{
|
|
16775
|
+
readonly $typeName?: undefined;
|
|
16776
|
+
playerId?: string | undefined;
|
|
16777
|
+
}, GetPlayerEmailByPlayerIdRes>;
|
|
16778
|
+
readonly getPlayerIdAndLevelByPhone: EndpointSpec<{
|
|
16779
|
+
readonly $typeName?: undefined;
|
|
16780
|
+
phones?: string[] | undefined;
|
|
16781
|
+
platformId?: string | undefined;
|
|
16782
|
+
}, GetPlayerIdAndLevelByPhoneRes>;
|
|
16783
|
+
readonly updateViberStatus: EndpointSpec<{
|
|
16784
|
+
readonly $typeName?: undefined;
|
|
16785
|
+
playerId?: string | undefined;
|
|
16786
|
+
platformId?: string | undefined;
|
|
16787
|
+
status?: boolean | undefined;
|
|
16788
|
+
}, BaseResponse>;
|
|
16789
|
+
readonly getPlayerAvatars: EndpointSpec<{
|
|
16790
|
+
readonly $typeName?: undefined;
|
|
16791
|
+
}, GetPlayerAvatarsRes>;
|
|
16792
|
+
readonly getKycParamsConfig: EndpointSpec<{
|
|
16793
|
+
readonly $typeName?: undefined;
|
|
16794
|
+
platformId?: string | undefined;
|
|
16795
|
+
}, GetKycParamsConfigRes>;
|
|
16796
|
+
readonly ekycInit: EndpointSpec<{
|
|
16797
|
+
readonly $typeName?: undefined;
|
|
16798
|
+
docType?: string | undefined;
|
|
16799
|
+
playerId?: string | undefined;
|
|
16800
|
+
type?: string | undefined;
|
|
16801
|
+
metaInfo?: string | undefined;
|
|
16802
|
+
h5ModeConfig?: {
|
|
16803
|
+
[key: string]: string;
|
|
16804
|
+
} | undefined;
|
|
16805
|
+
metaInfoApp?: string | undefined;
|
|
16806
|
+
pages?: string | undefined;
|
|
16807
|
+
pageConfig?: string | undefined;
|
|
16808
|
+
productConfig?: (EkycInitReq_ProductConfig | {
|
|
16809
|
+
readonly $typeName?: undefined;
|
|
16810
|
+
allowExpiredDocument?: string | undefined;
|
|
16811
|
+
}) | undefined;
|
|
16812
|
+
operationMode?: string | undefined;
|
|
16813
|
+
}, EkycInitRes>;
|
|
16814
|
+
readonly ekycResult: EndpointSpec<{
|
|
16815
|
+
readonly $typeName?: undefined;
|
|
16816
|
+
bizId?: string | undefined;
|
|
16817
|
+
transactionId?: string | undefined;
|
|
16818
|
+
type?: string | undefined;
|
|
16819
|
+
isReturnImage?: string | undefined;
|
|
16820
|
+
platformId?: string | undefined;
|
|
16821
|
+
docType?: string | undefined;
|
|
16822
|
+
}, EkycResultRes>;
|
|
16823
|
+
};
|
|
16824
|
+
readonly promotion: {
|
|
16825
|
+
readonly getTodayLiveDrawEvents: EndpointSpec<{
|
|
16826
|
+
readonly $typeName?: undefined;
|
|
16827
|
+
}, GetTodayLiveDrawEventsRes>;
|
|
16828
|
+
readonly getTodayCurrentRoundLiveDrawEvents: EndpointSpec<{
|
|
16829
|
+
readonly $typeName?: undefined;
|
|
16830
|
+
}, GetTodayCurrentRoundLiveDrawEventsRes>;
|
|
16831
|
+
readonly startLiveDrawEvent: EndpointSpec<{
|
|
16832
|
+
readonly $typeName?: undefined;
|
|
16833
|
+
}, StartLiveDrawEventRes>;
|
|
16834
|
+
readonly redrawLiveDrawEvent: EndpointSpec<{
|
|
16835
|
+
readonly $typeName?: undefined;
|
|
16836
|
+
}, RedrawLiveDrawEventRes>;
|
|
16837
|
+
readonly confirmLiveDraw: EndpointSpec<{
|
|
16838
|
+
readonly $typeName?: undefined;
|
|
16839
|
+
}, ConfirmLiveDrawRes>;
|
|
16840
|
+
readonly liveDrawEventPhoneCallPlayer: EndpointSpec<{
|
|
16841
|
+
readonly $typeName?: undefined;
|
|
16842
|
+
eventId?: string | undefined;
|
|
16843
|
+
}, LiveDrawEventPhoneCallPlayerRes>;
|
|
16844
|
+
readonly getLiveDrawEventWinnerList: EndpointSpec<{
|
|
16845
|
+
readonly $typeName?: undefined;
|
|
16846
|
+
eventId?: string | undefined;
|
|
16847
|
+
currentDrawSession?: number | undefined;
|
|
16848
|
+
}, GetLiveDrawEventWinnerListRes>;
|
|
16849
|
+
readonly makePhoneCall: EndpointSpec<{
|
|
16850
|
+
readonly $typeName?: undefined;
|
|
16851
|
+
playerId?: string | undefined;
|
|
16852
|
+
}, MakePhoneCallRes>;
|
|
16853
|
+
readonly getCharityDetail: EndpointSpec<{
|
|
16854
|
+
readonly $typeName?: undefined;
|
|
16855
|
+
}, GetCharityDetailRes>;
|
|
16856
|
+
readonly getPlayerCharityDetail: EndpointSpec<{
|
|
16857
|
+
readonly $typeName?: undefined;
|
|
16858
|
+
}, GetPlayerCharityDetailRes>;
|
|
16859
|
+
readonly getPlayerRewardProgress: EndpointSpec<{
|
|
16860
|
+
readonly $typeName?: undefined;
|
|
16861
|
+
platformId?: string | undefined;
|
|
16862
|
+
providerId?: string | undefined;
|
|
16863
|
+
}, GetPlayerRewardProgressRes>;
|
|
16864
|
+
readonly claimReward: EndpointSpec<{
|
|
16865
|
+
readonly $typeName?: undefined;
|
|
16866
|
+
eventId?: string | undefined;
|
|
16867
|
+
session?: number | undefined;
|
|
16868
|
+
}, ClaimRewardRes>;
|
|
16869
|
+
readonly getLuckyDrawRewardList: EndpointSpec<{
|
|
16870
|
+
readonly $typeName?: undefined;
|
|
16871
|
+
tier?: string | undefined;
|
|
16872
|
+
startTime?: string | undefined;
|
|
16873
|
+
}, GetLuckyDrawRewardListRes>;
|
|
16874
|
+
readonly getPlayerTicketList: EndpointSpec<{
|
|
16875
|
+
readonly $typeName?: undefined;
|
|
16876
|
+
}, GetPlayerTicketListRes>;
|
|
16877
|
+
readonly getPlayerInRiskList: EndpointSpec<{
|
|
16878
|
+
readonly $typeName?: undefined;
|
|
16879
|
+
}, GetPlayerInRiskListRes>;
|
|
16880
|
+
readonly claimCampaignPromoCode: EndpointSpec<{
|
|
16881
|
+
readonly $typeName?: undefined;
|
|
16882
|
+
deviceType?: DeviceType | undefined;
|
|
16883
|
+
eventId?: string | undefined;
|
|
16884
|
+
}, ClaimCampaignPromoCodeRes>;
|
|
16885
|
+
readonly hasReceiveEventCampaignReward: EndpointSpec<{
|
|
16886
|
+
readonly $typeName?: undefined;
|
|
16887
|
+
eventId?: string | undefined;
|
|
16888
|
+
deviceType?: DeviceType | undefined;
|
|
16889
|
+
}, HasReceiveEventCampaignRewardRes>;
|
|
16890
|
+
readonly getPlayerFreeSpinInfo: EndpointSpec<{
|
|
16891
|
+
readonly $typeName?: undefined;
|
|
16892
|
+
freeSpinSessionToken?: string | undefined;
|
|
16893
|
+
}, GetPlayerFreeSpinInfoRes>;
|
|
16894
|
+
readonly getFreeSpinHistory: EndpointSpec<{
|
|
16895
|
+
readonly $typeName?: undefined;
|
|
16896
|
+
type?: HistoryReqType | undefined;
|
|
16897
|
+
}, GetFreeSpinHistoryRes>;
|
|
16898
|
+
readonly getCurrentMissionConfig: EndpointSpec<{
|
|
16899
|
+
readonly $typeName?: undefined;
|
|
16900
|
+
}, GetCurrentMissionConfigRes>;
|
|
16901
|
+
readonly getPlayerTaskProgress: EndpointSpec<{
|
|
16902
|
+
readonly $typeName?: undefined;
|
|
16903
|
+
eventId?: string | undefined;
|
|
16904
|
+
}, GetPlayerTaskProgressRes>;
|
|
16905
|
+
readonly claimTaskReward: EndpointSpec<{
|
|
16906
|
+
readonly $typeName?: undefined;
|
|
16907
|
+
eventId?: string | undefined;
|
|
16908
|
+
rewardId?: string | undefined;
|
|
16909
|
+
taskId?: string | undefined;
|
|
16910
|
+
}, ClaimTaskRewardRes>;
|
|
16911
|
+
readonly checkAndCreateMission: EndpointSpec<{
|
|
16912
|
+
readonly $typeName?: undefined;
|
|
16913
|
+
playerId?: string | undefined;
|
|
16914
|
+
}, CheckAndCreateMissionRes>;
|
|
16915
|
+
readonly getCurrentCardEvents: EndpointSpec<{
|
|
16916
|
+
readonly $typeName?: undefined;
|
|
16917
|
+
}, GetCurrentCardEventsRes>;
|
|
16918
|
+
readonly playerReceiveEgg: EndpointSpec<{
|
|
16919
|
+
readonly $typeName?: undefined;
|
|
16920
|
+
eventObjId?: string | undefined;
|
|
16921
|
+
rewardObjId?: string | undefined;
|
|
16922
|
+
}, PlayerReceiveEggRes>;
|
|
16923
|
+
readonly getConsumptionProgress: EndpointSpec<{
|
|
16924
|
+
readonly $typeName?: undefined;
|
|
16925
|
+
platformId?: string | undefined;
|
|
16926
|
+
eventObjId?: string | undefined;
|
|
16927
|
+
}, GetConsumptionProgressRes>;
|
|
16928
|
+
readonly playerClaimAllDailyReward: EndpointSpec<{
|
|
16929
|
+
readonly $typeName?: undefined;
|
|
16930
|
+
eventObjId?: string | undefined;
|
|
16931
|
+
}, PlayerClaimAllDailyRewardRes>;
|
|
16932
|
+
readonly claimTimedEventReward: EndpointSpec<{
|
|
16933
|
+
readonly $typeName?: undefined;
|
|
16934
|
+
eventObjId?: string | undefined;
|
|
16935
|
+
}, ClaimTimedEventRewardRes>;
|
|
16936
|
+
readonly getEventRewardHistory: EndpointSpec<{
|
|
16937
|
+
readonly $typeName?: undefined;
|
|
16938
|
+
page?: number | undefined;
|
|
16939
|
+
pageSize?: number | undefined;
|
|
16940
|
+
eventObjId?: string | undefined;
|
|
16941
|
+
rewardObjId?: string | undefined;
|
|
16942
|
+
filterOngoingReward?: boolean | undefined;
|
|
16943
|
+
}, GetEventRewardHistoryRes>;
|
|
16944
|
+
readonly dailyClaimReward: EndpointSpec<{
|
|
16945
|
+
readonly $typeName?: undefined;
|
|
16946
|
+
eventObjId?: string | undefined;
|
|
16947
|
+
}, DailyClaimRewardRes>;
|
|
16948
|
+
readonly queryPlayerEgg: EndpointSpec<{
|
|
16949
|
+
readonly $typeName?: undefined;
|
|
16950
|
+
eventObjId?: string | undefined;
|
|
16951
|
+
queryClaimDate?: boolean | undefined;
|
|
16952
|
+
}, QueryPlayerEggRes>;
|
|
16953
|
+
readonly updateTutorialFlag: EndpointSpec<{
|
|
16954
|
+
readonly $typeName?: undefined;
|
|
16955
|
+
eventObjId?: string | undefined;
|
|
16956
|
+
}, UpdateTutorialFlagRes>;
|
|
16957
|
+
readonly referralAssistance: EndpointSpec<{
|
|
16958
|
+
readonly $typeName?: undefined;
|
|
16959
|
+
eventObjId?: string | undefined;
|
|
16960
|
+
receiverId?: string | undefined;
|
|
16961
|
+
rewardObjId?: string | undefined;
|
|
16962
|
+
platformId?: string | undefined;
|
|
16963
|
+
}, ReferralAssistanceRes>;
|
|
16964
|
+
readonly getSingleRewardInfo: EndpointSpec<{
|
|
16965
|
+
readonly $typeName?: undefined;
|
|
16966
|
+
platformId?: string | undefined;
|
|
16967
|
+
rewardObjId?: string | undefined;
|
|
16968
|
+
eventObjId?: string | undefined;
|
|
16969
|
+
}, GetSingleRewardInfoRes>;
|
|
16970
|
+
readonly getPlayerRedPacketRecords: EndpointSpec<{
|
|
16971
|
+
readonly $typeName?: undefined;
|
|
16972
|
+
dateTimeRangeFilter?: (DateTimeRangeFilter | {
|
|
16973
|
+
readonly $typeName?: undefined;
|
|
16974
|
+
startTime?: string | undefined;
|
|
16975
|
+
endTime?: string | undefined;
|
|
16976
|
+
}) | undefined;
|
|
16977
|
+
pagination?: (Pagination | {
|
|
16978
|
+
readonly $typeName?: undefined;
|
|
16979
|
+
limit?: number | undefined;
|
|
16980
|
+
offset?: number | undefined;
|
|
16981
|
+
}) | undefined;
|
|
16982
|
+
}, GetPlayerRedPacketRecordsRes>;
|
|
16983
|
+
};
|
|
16984
|
+
readonly recommend: {
|
|
16985
|
+
readonly saveSearchHistory: EndpointSpec<{
|
|
16986
|
+
readonly $typeName?: undefined;
|
|
16987
|
+
keyword?: string | undefined;
|
|
16988
|
+
searchFrom?: string | undefined;
|
|
16989
|
+
}, SaveSearchHistoryRes>;
|
|
16990
|
+
readonly getSearchHistories: EndpointSpec<{
|
|
16991
|
+
readonly $typeName?: undefined;
|
|
16992
|
+
}, GetSearchHistoriesRes>;
|
|
16993
|
+
readonly deleteSearchHistory: EndpointSpec<{
|
|
16994
|
+
readonly $typeName?: undefined;
|
|
16995
|
+
keyword?: string | undefined;
|
|
16996
|
+
deleteAll?: boolean | undefined;
|
|
16997
|
+
}, BaseResponse>;
|
|
16998
|
+
readonly searchGames: EndpointSpec<{
|
|
16999
|
+
readonly $typeName?: undefined;
|
|
17000
|
+
keyword?: string | undefined;
|
|
17001
|
+
resourceId?: string | undefined;
|
|
17002
|
+
}, SearchGamesRes>;
|
|
17003
|
+
};
|
|
17004
|
+
readonly riskcontrol: {
|
|
17005
|
+
readonly getPlayerDepositLimitStateOverview: EndpointSpec<{
|
|
17006
|
+
readonly $typeName?: undefined;
|
|
17007
|
+
}, PlayerDepositLimitStateOverviewRes>;
|
|
17008
|
+
readonly updatePlayerDepositLimitSwitch: EndpointSpec<{
|
|
17009
|
+
readonly $typeName?: undefined;
|
|
17010
|
+
depositLimitEnabled?: boolean | undefined;
|
|
17011
|
+
}, UpdatePlayerDepositLimitSwitchRes>;
|
|
17012
|
+
readonly updatePlayerPeriodDepositLimit: EndpointSpec<{
|
|
17013
|
+
readonly $typeName?: undefined;
|
|
17014
|
+
periodDepositLimit?: number | undefined;
|
|
17015
|
+
}, UpdatePlayerPeriodDepositLimitRes>;
|
|
17016
|
+
};
|
|
17017
|
+
readonly userEngagement: {
|
|
17018
|
+
readonly updatePWASubscriptionStatus: EndpointSpec<{
|
|
17019
|
+
readonly $typeName?: undefined;
|
|
17020
|
+
sub?: (UpdatePWASubscriptionStatusReq_Sub | {
|
|
17021
|
+
readonly $typeName?: undefined;
|
|
17022
|
+
endpoint?: string | undefined;
|
|
17023
|
+
expirationTime?: string | undefined;
|
|
17024
|
+
keys?: (UpdatePWASubscriptionStatusReq_Sub_Keys | {
|
|
17025
|
+
readonly $typeName?: undefined;
|
|
17026
|
+
p256dh?: string | undefined;
|
|
17027
|
+
auth?: string | undefined;
|
|
17028
|
+
}) | undefined;
|
|
17029
|
+
}) | undefined;
|
|
17030
|
+
pwaPushEnabled?: boolean | undefined;
|
|
17031
|
+
}, BaseResponse>;
|
|
17032
|
+
};
|
|
16057
17033
|
};
|
|
16058
17034
|
type ApiMap = typeof apiMap;
|
|
16059
17035
|
|
|
@@ -16105,6 +17081,21 @@ declare function requestApi<TReq = any, TRes = any>(args: {
|
|
|
16105
17081
|
meta?: Record<string, any>;
|
|
16106
17082
|
}): Promise<TRes>;
|
|
16107
17083
|
|
|
17084
|
+
type KeyValueStorage = {
|
|
17085
|
+
get: (key: string) => string | null;
|
|
17086
|
+
set: (key: string, val: string) => void;
|
|
17087
|
+
};
|
|
17088
|
+
|
|
17089
|
+
type FetchGuidOptions = {
|
|
17090
|
+
key?: string;
|
|
17091
|
+
format?: 'uuid' | 'hex' | 'base64';
|
|
17092
|
+
prefix?: string;
|
|
17093
|
+
};
|
|
17094
|
+
declare function createFetchGuid(storage: KeyValueStorage, options?: FetchGuidOptions): () => string;
|
|
17095
|
+
|
|
17096
|
+
declare const webStorage: KeyValueStorage;
|
|
17097
|
+
|
|
17098
|
+
declare const setUniqueKeyStorage: (adapter?: KeyValueStorage | null) => void;
|
|
16108
17099
|
declare const fetchGuid: () => string;
|
|
16109
17100
|
|
|
16110
17101
|
type WsStatusState = 'connected' | 'disconnected' | 'reconnecting' | 'reconnect_failed' | 'error';
|
|
@@ -16221,4 +17212,4 @@ declare function initSDK(config: RequestApiConfig): {
|
|
|
16221
17212
|
*/
|
|
16222
17213
|
declare function getSDK(): RequestApi;
|
|
16223
17214
|
|
|
16224
|
-
export { type ApiErrorMiddleware, type NotifyMiddleware, type WsStatusPayload, type WsStatusState, apiError, requestApi as callApi, destroySDK, fetchGuid, getSDK, getWsSnapshot, initSDK, notify, requestApi, requestApi as requestApiSpec };
|
|
17215
|
+
export { type ApiErrorMiddleware, type KeyValueStorage, type NotifyMiddleware, type WsStatusPayload, type WsStatusState, apiError, requestApi as callApi, createFetchGuid, destroySDK, fetchGuid, getSDK, getWsSnapshot, initSDK, notify, requestApi, requestApi as requestApiSpec, setUniqueKeyStorage, webStorage };
|