connectbase-client 0.16.1 → 1.3.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/CHANGELOG.md +61 -0
- package/dist/connect-base.umd.js +3 -3
- package/dist/index.d.mts +177 -42
- package/dist/index.d.ts +177 -42
- package/dist/index.js +235 -92
- package/dist/index.mjs +235 -92
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -29,10 +29,14 @@ interface HttpClientConfig {
|
|
|
29
29
|
accessToken?: string;
|
|
30
30
|
refreshToken?: string;
|
|
31
31
|
/**
|
|
32
|
-
* 토큰 저장 방식.
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
32
|
+
* 토큰 저장 방식. **기본값은 'none' (메모리 저장)**.
|
|
33
|
+
* XSS 취약점이 하나라도 있을 경우 전 세션이 탈취되므로, 영구 저장 옵션은
|
|
34
|
+
* 위험을 이해하고 명시적으로 선택한 경우에만 사용한다.
|
|
35
|
+
*
|
|
36
|
+
* - 'none' (권장·기본값): 메모리에만 저장. 새로고침 시 재로그인 필요
|
|
37
|
+
* → 서버가 refresh token 을 HttpOnly;Secure;SameSite 쿠키로 발급하는 구성에서만 사용
|
|
38
|
+
* - 'sessionStorage': 탭 종료 시 삭제. JS 접근 가능 → XSS 로 탈취 가능
|
|
39
|
+
* - 'localStorage': 브라우저 종료 후에도 유지. JS 접근 가능 → XSS 로 영구 탈취 가능
|
|
36
40
|
*/
|
|
37
41
|
persistence?: TokenPersistence;
|
|
38
42
|
onTokenRefresh?: (tokens: {
|
|
@@ -52,11 +56,17 @@ declare class HttpClient {
|
|
|
52
56
|
private refreshPromise;
|
|
53
57
|
private storageKey;
|
|
54
58
|
constructor(config: HttpClientConfig);
|
|
59
|
+
private warnIfUnsafePersistence;
|
|
55
60
|
updateConfig(config: Partial<HttpClientConfig>): void;
|
|
56
61
|
setTokens(accessToken: string, refreshToken: string): void;
|
|
57
62
|
clearTokens(): void;
|
|
58
63
|
private get persistence();
|
|
59
64
|
private getStorage;
|
|
65
|
+
/**
|
|
66
|
+
* AuthAPI 등 내부 사용자가 "현재 persistence 설정된 스토리지"를 확인할 수 있도록 노출.
|
|
67
|
+
* persistence='none' 이면 null. XSS 완화 기본값을 공유하기 위함.
|
|
68
|
+
*/
|
|
69
|
+
getPersistenceStorage(): Storage | null;
|
|
60
70
|
private buildStorageKey;
|
|
61
71
|
private persistTokens;
|
|
62
72
|
private restoreTokens;
|
|
@@ -85,6 +95,10 @@ declare class HttpClient {
|
|
|
85
95
|
* Access Token 반환
|
|
86
96
|
*/
|
|
87
97
|
getAccessToken(): string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* JWT(Access Token) 가 설정되어 있는지 확인
|
|
100
|
+
*/
|
|
101
|
+
hasJWT(): boolean;
|
|
88
102
|
/**
|
|
89
103
|
* Base URL 반환
|
|
90
104
|
*/
|
|
@@ -141,7 +155,7 @@ interface MemberInfoResponse {
|
|
|
141
155
|
member_id: string;
|
|
142
156
|
nickname: string;
|
|
143
157
|
is_active: boolean;
|
|
144
|
-
custom_data: Record<string,
|
|
158
|
+
custom_data: Record<string, unknown>;
|
|
145
159
|
/** 멤버 이메일 (EMAIL identity 에서 추출, 없으면 빈 문자열) */
|
|
146
160
|
email?: string;
|
|
147
161
|
/** 멤버 역할 — RLS 규칙에서 `auth.role` 로 참조 (예: "admin", "moderator") */
|
|
@@ -149,12 +163,12 @@ interface MemberInfoResponse {
|
|
|
149
163
|
}
|
|
150
164
|
/** 앱 멤버 custom_data 수정 요청 */
|
|
151
165
|
interface UpdateCustomDataRequest {
|
|
152
|
-
custom_data: Record<string,
|
|
166
|
+
custom_data: Record<string, unknown>;
|
|
153
167
|
}
|
|
154
168
|
/** 앱 멤버 custom_data 수정 응답 */
|
|
155
169
|
interface UpdateCustomDataResponse {
|
|
156
170
|
member_id: string;
|
|
157
|
-
custom_data: Record<string,
|
|
171
|
+
custom_data: Record<string, unknown>;
|
|
158
172
|
}
|
|
159
173
|
/** 앱 인증 설정 응답 */
|
|
160
174
|
interface AuthSettingsResponse {
|
|
@@ -980,6 +994,17 @@ interface ExportDataResponse {
|
|
|
980
994
|
data?: Record<string, unknown>;
|
|
981
995
|
schema?: Record<string, unknown>;
|
|
982
996
|
}
|
|
997
|
+
/**
|
|
998
|
+
* 데이터 가져오기 요청
|
|
999
|
+
* @example
|
|
1000
|
+
* {
|
|
1001
|
+
* data: {
|
|
1002
|
+
* users: { rows: [{ name: 'Alice', age: 30 }] },
|
|
1003
|
+
* orders: { rows: [{ user: 'Alice', amount: 1000 }] }
|
|
1004
|
+
* },
|
|
1005
|
+
* mode: 'merge'
|
|
1006
|
+
* }
|
|
1007
|
+
*/
|
|
983
1008
|
interface ImportDataRequest {
|
|
984
1009
|
/** 가져올 데이터: { "테이블이름": { "rows": [{...}, ...] }, ... } */
|
|
985
1010
|
data: Record<string, {
|
|
@@ -1719,10 +1744,14 @@ declare class StorageAPI {
|
|
|
1719
1744
|
deleteFile(storageId: string, fileId: string): Promise<void>;
|
|
1720
1745
|
/**
|
|
1721
1746
|
* 파일/폴더 이동
|
|
1747
|
+
*
|
|
1748
|
+
* Public Key 인증만으로는 이 엔드포인트가 노출되지 않습니다. JWT(콘솔 토큰)가 필요합니다.
|
|
1722
1749
|
*/
|
|
1723
1750
|
moveFile(storageId: string, fileId: string, data: MoveFileRequest): Promise<void>;
|
|
1724
1751
|
/**
|
|
1725
1752
|
* 파일/폴더 이름 변경
|
|
1753
|
+
*
|
|
1754
|
+
* Public Key 인증만으로는 이 엔드포인트가 노출되지 않습니다. JWT(콘솔 토큰)가 필요합니다.
|
|
1726
1755
|
*/
|
|
1727
1756
|
renameFile(storageId: string, fileId: string, data: RenameFileRequest): Promise<RenameFileResponse>;
|
|
1728
1757
|
/**
|
|
@@ -3038,6 +3067,29 @@ declare class OAuthAPI {
|
|
|
3038
3067
|
state?: string;
|
|
3039
3068
|
error?: string;
|
|
3040
3069
|
} | null;
|
|
3070
|
+
/**
|
|
3071
|
+
* 콜백 URL 에서 1회용 `code` 를 토큰으로 교환합니다 (`OAUTH_CODE_ONLY` 서버 모드용).
|
|
3072
|
+
*
|
|
3073
|
+
* 서버가 `OAUTH_CODE_ONLY=true` 모드면 리다이렉트 URL 에 토큰 대신 `code` 만 포함됩니다.
|
|
3074
|
+
* 이 메서드는 code 를 `POST /v1/auth/oauth/exchange` 로 교환하고 토큰을 자동 저장합니다.
|
|
3075
|
+
*
|
|
3076
|
+
* 권장 호출 순서:
|
|
3077
|
+
* 1) `cb.oauth.exchangeCodeFromCallback()` 먼저 — code-only 모드면 성공
|
|
3078
|
+
* 2) null 반환 시 `cb.oauth.getCallbackResult()` 폴백 (legacy 토큰-in-URL 모드)
|
|
3079
|
+
*
|
|
3080
|
+
* @example
|
|
3081
|
+
* ```typescript
|
|
3082
|
+
* const result = await cb.oauth.exchangeCodeFromCallback()
|
|
3083
|
+
* ?? cb.oauth.getCallbackResult()
|
|
3084
|
+
* ```
|
|
3085
|
+
*/
|
|
3086
|
+
exchangeCodeFromCallback(): Promise<{
|
|
3087
|
+
access_token: string;
|
|
3088
|
+
refresh_token: string;
|
|
3089
|
+
member_id: string;
|
|
3090
|
+
is_new_member: boolean;
|
|
3091
|
+
state?: string;
|
|
3092
|
+
} | null>;
|
|
3041
3093
|
}
|
|
3042
3094
|
|
|
3043
3095
|
type PaymentProvider = 'toss' | 'stripe';
|
|
@@ -3064,6 +3116,25 @@ interface PreparePaymentResponse {
|
|
|
3064
3116
|
stripe_client_secret?: string;
|
|
3065
3117
|
stripe_publishable_key?: string;
|
|
3066
3118
|
}
|
|
3119
|
+
interface CreateCheckoutSessionRequest {
|
|
3120
|
+
amount: number;
|
|
3121
|
+
currency: string;
|
|
3122
|
+
product_name: string;
|
|
3123
|
+
success_url: string;
|
|
3124
|
+
cancel_url: string;
|
|
3125
|
+
order_id?: string;
|
|
3126
|
+
customer_email?: string;
|
|
3127
|
+
customer_name?: string;
|
|
3128
|
+
metadata?: Record<string, unknown>;
|
|
3129
|
+
}
|
|
3130
|
+
interface CreateCheckoutSessionResponse {
|
|
3131
|
+
payment_id: string;
|
|
3132
|
+
order_id: string;
|
|
3133
|
+
amount: number;
|
|
3134
|
+
currency: string;
|
|
3135
|
+
session_id: string;
|
|
3136
|
+
session_url: string;
|
|
3137
|
+
}
|
|
3067
3138
|
interface ConfirmPaymentRequest {
|
|
3068
3139
|
payment_key: string;
|
|
3069
3140
|
order_id: string;
|
|
@@ -3131,35 +3202,61 @@ declare class PaymentAPI {
|
|
|
3131
3202
|
*
|
|
3132
3203
|
* @example
|
|
3133
3204
|
* ```typescript
|
|
3134
|
-
* const
|
|
3205
|
+
* const result = await cb.payment.prepare({
|
|
3135
3206
|
* amount: 10000,
|
|
3136
|
-
* order_name: '
|
|
3207
|
+
* order_name: '프리미엄 1개월',
|
|
3137
3208
|
* customer_email: 'test@example.com',
|
|
3138
3209
|
* customer_name: '홍길동'
|
|
3139
3210
|
* })
|
|
3140
3211
|
*
|
|
3141
|
-
* //
|
|
3142
|
-
*
|
|
3143
|
-
*
|
|
3144
|
-
*
|
|
3145
|
-
*
|
|
3146
|
-
*
|
|
3147
|
-
*
|
|
3148
|
-
*
|
|
3149
|
-
*
|
|
3150
|
-
*
|
|
3212
|
+
* // Toss V2 결제 플로우
|
|
3213
|
+
* if (result.payment_provider === 'toss') {
|
|
3214
|
+
* const tossPayments = TossPayments(result.toss_client_key)
|
|
3215
|
+
* const payment = tossPayments.payment({ customerKey: result.customer_key })
|
|
3216
|
+
* await payment.requestPayment({
|
|
3217
|
+
* method: 'CARD',
|
|
3218
|
+
* amount: { currency: 'KRW', value: result.amount },
|
|
3219
|
+
* orderId: result.order_id,
|
|
3220
|
+
* orderName: result.order_name,
|
|
3221
|
+
* successUrl: result.success_url,
|
|
3222
|
+
* failUrl: result.fail_url,
|
|
3223
|
+
* })
|
|
3224
|
+
* }
|
|
3151
3225
|
*
|
|
3152
|
-
* // Stripe 결제
|
|
3153
|
-
*
|
|
3154
|
-
*
|
|
3155
|
-
*
|
|
3156
|
-
*
|
|
3157
|
-
*
|
|
3158
|
-
*
|
|
3159
|
-
* // }
|
|
3226
|
+
* // Stripe 결제 플로우
|
|
3227
|
+
* if (result.payment_provider === 'stripe') {
|
|
3228
|
+
* const stripe = await loadStripe(result.stripe_publishable_key)
|
|
3229
|
+
* const elements = stripe.elements({ clientSecret: result.stripe_client_secret })
|
|
3230
|
+
* // Mount PaymentElement, then:
|
|
3231
|
+
* // stripe.confirmPayment({ elements, redirect: 'if_required' })
|
|
3232
|
+
* }
|
|
3160
3233
|
* ```
|
|
3161
3234
|
*/
|
|
3162
3235
|
prepare(data: PreparePaymentRequest): Promise<PreparePaymentResponse>;
|
|
3236
|
+
/**
|
|
3237
|
+
* Stripe-hosted 결제 페이지 세션 생성 (client_secret 미노출 플로우).
|
|
3238
|
+
*
|
|
3239
|
+
* Elements 플로우(`prepare`) 대신 Stripe-hosted Checkout 페이지로 리다이렉트하고 싶을 때 사용.
|
|
3240
|
+
* 응답에 `session_url` 이 포함되며, 브라우저를 해당 URL 로 이동시키면 Stripe 가 카드 입력·결제를 처리한 뒤
|
|
3241
|
+
* `success_url` / `cancel_url` 로 복귀한다. `client_secret` 은 서버·클라이언트 어디에도 노출되지 않는다.
|
|
3242
|
+
*
|
|
3243
|
+
* @param data - 결제 세션 정보 (금액, 통화, 상품명, success/cancel URL 등)
|
|
3244
|
+
* @returns session_id, session_url (redirect 대상)
|
|
3245
|
+
*
|
|
3246
|
+
* @example
|
|
3247
|
+
* ```typescript
|
|
3248
|
+
* const sess = await client.payment.createCheckoutSession({
|
|
3249
|
+
* amount: 1000,
|
|
3250
|
+
* currency: 'USD',
|
|
3251
|
+
* product_name: 'Premium Subscription',
|
|
3252
|
+
* success_url: 'https://app.example.com/success?session_id={CHECKOUT_SESSION_ID}',
|
|
3253
|
+
* cancel_url: 'https://app.example.com/cancel',
|
|
3254
|
+
* customer_email: 'user@example.com',
|
|
3255
|
+
* })
|
|
3256
|
+
* window.location.href = sess.session_url
|
|
3257
|
+
* ```
|
|
3258
|
+
*/
|
|
3259
|
+
createCheckoutSession(data: CreateCheckoutSessionRequest): Promise<CreateCheckoutSessionResponse>;
|
|
3163
3260
|
/**
|
|
3164
3261
|
* 결제 승인
|
|
3165
3262
|
* 토스에서 결제 완료 후 콜백으로 받은 정보로 결제를 최종 승인합니다.
|
|
@@ -5019,12 +5116,16 @@ declare class GameAPI {
|
|
|
5019
5116
|
getRoom(roomId: string): Promise<GameRoomInfo>;
|
|
5020
5117
|
/**
|
|
5021
5118
|
* 룸 생성 (HTTP, gRPC 대안)
|
|
5119
|
+
*
|
|
5120
|
+
* @deprecated 현재 SDK public 경로로 노출되지 않습니다. 콘솔(admin) 에서 진행하거나 백엔드 public 경로 오픈을 요청하세요.
|
|
5022
5121
|
*/
|
|
5023
|
-
createRoom(
|
|
5122
|
+
createRoom(_appId: string, _config?: GameRoomConfig): Promise<GameRoomInfo>;
|
|
5024
5123
|
/**
|
|
5025
5124
|
* 룸 삭제 (HTTP)
|
|
5125
|
+
*
|
|
5126
|
+
* @deprecated 현재 SDK public 경로로 노출되지 않습니다. 콘솔(admin) 에서 진행하거나 백엔드 public 경로 오픈을 요청하세요.
|
|
5026
5127
|
*/
|
|
5027
|
-
deleteRoom(
|
|
5128
|
+
deleteRoom(_roomId: string): Promise<void>;
|
|
5028
5129
|
/**
|
|
5029
5130
|
* 매치메이킹 큐에 참가
|
|
5030
5131
|
*/
|
|
@@ -5103,7 +5204,23 @@ declare class GameAPI {
|
|
|
5103
5204
|
*/
|
|
5104
5205
|
getPlayerInvites(playerId: string): Promise<LobbyInvite[]>;
|
|
5105
5206
|
createParty(playerId: string, maxSize?: number): Promise<PartyInfo>;
|
|
5106
|
-
|
|
5207
|
+
/**
|
|
5208
|
+
* @deprecated 백엔드에서 직접 join 엔드포인트 미제공 — `inviteToParty` → `acceptPartyInvite` 플로우 사용
|
|
5209
|
+
*/
|
|
5210
|
+
joinParty(_partyId: string, _playerId: string): Promise<PartyInfo>;
|
|
5211
|
+
/**
|
|
5212
|
+
* 파티 초대 수락
|
|
5213
|
+
*
|
|
5214
|
+
* `inviteToParty` 로 생성된 초대 ID 를 수락하여 파티에 합류한다.
|
|
5215
|
+
* 로비 초대(`acceptInvite`) 와 다른 엔드포인트 (`/v1/game/:appID/invites/:inviteID/accept`).
|
|
5216
|
+
*/
|
|
5217
|
+
acceptPartyInvite(inviteId: string, playerId: string, displayName?: string): Promise<PartyInfo>;
|
|
5218
|
+
/**
|
|
5219
|
+
* 파티 초대 거절
|
|
5220
|
+
*
|
|
5221
|
+
* `inviteToParty` 로 생성된 초대 ID 를 거절한다.
|
|
5222
|
+
*/
|
|
5223
|
+
declinePartyInvite(inviteId: string, playerId: string): Promise<void>;
|
|
5107
5224
|
leaveParty(partyId: string, playerId: string): Promise<void>;
|
|
5108
5225
|
kickFromParty(partyId: string, playerId: string): Promise<void>;
|
|
5109
5226
|
inviteToParty(partyId: string, inviterId: string, inviteeId: string): Promise<PartyInvite>;
|
|
@@ -5111,9 +5228,9 @@ declare class GameAPI {
|
|
|
5111
5228
|
joinSpectator(roomId: string, playerId: string): Promise<SpectatorInfo>;
|
|
5112
5229
|
leaveSpectator(roomId: string, spectatorId: string): Promise<void>;
|
|
5113
5230
|
getSpectators(roomId: string): Promise<SpectatorInfo[]>;
|
|
5114
|
-
getLeaderboard(top?: number): Promise<LeaderboardEntry[]>;
|
|
5115
|
-
getPlayerStats(playerId: string): Promise<PlayerStats>;
|
|
5116
|
-
getPlayerRank(playerId: string): Promise<LeaderboardEntry>;
|
|
5231
|
+
getLeaderboard(gameType: string, top?: number, season?: string): Promise<LeaderboardEntry[]>;
|
|
5232
|
+
getPlayerStats(playerId: string, gameType: string, season?: string): Promise<PlayerStats>;
|
|
5233
|
+
getPlayerRank(playerId: string, gameType: string, season?: string): Promise<LeaderboardEntry>;
|
|
5117
5234
|
joinVoiceChannel(roomId: string, playerId: string): Promise<VoiceChannel>;
|
|
5118
5235
|
leaveVoiceChannel(roomId: string, playerId: string): Promise<void>;
|
|
5119
5236
|
setMute(playerId: string, muted: boolean): Promise<void>;
|
|
@@ -5124,12 +5241,20 @@ declare class GameAPI {
|
|
|
5124
5241
|
private getHeaders;
|
|
5125
5242
|
}
|
|
5126
5243
|
|
|
5127
|
-
interface
|
|
5244
|
+
interface AdsenseConnectionInfo {
|
|
5128
5245
|
is_connected: boolean;
|
|
5129
5246
|
email?: string;
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5247
|
+
account_id?: string;
|
|
5248
|
+
}
|
|
5249
|
+
interface AdmobConnectionInfo {
|
|
5250
|
+
is_connected: boolean;
|
|
5251
|
+
email?: string;
|
|
5252
|
+
account_id?: string;
|
|
5253
|
+
publisher_id?: string;
|
|
5254
|
+
}
|
|
5255
|
+
interface GoogleConnectionStatus {
|
|
5256
|
+
adsense: AdsenseConnectionInfo;
|
|
5257
|
+
admob: AdmobConnectionInfo;
|
|
5133
5258
|
}
|
|
5134
5259
|
interface AdReportSummary {
|
|
5135
5260
|
total_earnings: number;
|
|
@@ -5181,15 +5306,18 @@ declare class AdsAPI {
|
|
|
5181
5306
|
*/
|
|
5182
5307
|
private getPublicPrefix;
|
|
5183
5308
|
/**
|
|
5184
|
-
* AdSense 연결 상태 확인
|
|
5309
|
+
* AdSense / AdMob 연결 상태 확인 (중첩 구조)
|
|
5185
5310
|
*
|
|
5186
|
-
* @returns
|
|
5311
|
+
* @returns `{ adsense, admob }` 각각 연결 상태·이메일·계정 ID
|
|
5187
5312
|
*
|
|
5188
5313
|
* @example
|
|
5189
5314
|
* ```typescript
|
|
5190
5315
|
* const status = await cb.ads.getConnectionStatus()
|
|
5191
|
-
* if (status.is_connected) {
|
|
5192
|
-
* console.log('연결됨:', status.email)
|
|
5316
|
+
* if (status.adsense.is_connected) {
|
|
5317
|
+
* console.log('AdSense 연결됨:', status.adsense.email, status.adsense.account_id)
|
|
5318
|
+
* }
|
|
5319
|
+
* if (status.admob.is_connected) {
|
|
5320
|
+
* console.log('AdMob 연결됨:', status.admob.account_id, status.admob.publisher_id)
|
|
5193
5321
|
* }
|
|
5194
5322
|
* ```
|
|
5195
5323
|
*/
|
|
@@ -5744,9 +5872,16 @@ interface ListDocumentsResponse {
|
|
|
5744
5872
|
documents: DocumentResponse[];
|
|
5745
5873
|
total_count: number;
|
|
5746
5874
|
}
|
|
5875
|
+
/**
|
|
5876
|
+
* 검색 요청
|
|
5877
|
+
* @example { query: "환불 방법", top_k: 5, agentic: true }
|
|
5878
|
+
*/
|
|
5747
5879
|
interface KnowledgeSearchRequest {
|
|
5880
|
+
/** 검색 쿼리 (필수) */
|
|
5748
5881
|
query: string;
|
|
5882
|
+
/** 반환할 결과 수 (기본: KB 설정값) */
|
|
5749
5883
|
top_k?: number;
|
|
5884
|
+
/** Agentic Search 활성화 — AI 가 쿼리를 자동 생성하여 다중 검색 수행 */
|
|
5750
5885
|
agentic?: boolean;
|
|
5751
5886
|
}
|
|
5752
5887
|
interface KnowledgeSearchResult {
|
|
@@ -6603,4 +6738,4 @@ declare class ConnectBase {
|
|
|
6603
6738
|
updateConfig(config: Partial<ConnectBaseConfig>): void;
|
|
6604
6739
|
}
|
|
6605
6740
|
|
|
6606
|
-
export { AIAPI, type AIChatRequest, type AIChatResponse, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, type AckMessagesRequest, type AdReportResponse, type AdReportSummary, AdsAPI, type AggregateResult, type AggregateStage, type AnalyticsConfig, type AnalyticsEvent, ApiError, type ApiErrorDetail, type AppStatsResponse, type ArchivePolicy, type AtomicOperator, type AtomicOperatorType, AuthError, type AuthSettingsResponse, type BackupInfo, type BatchOperation, type BatchSetPageMetaRequest, type BillingCycle, type BillingKeyResponse, type BiometricInfo, type BiometricResult, type BulkCreateResponse, type BulkError, type CPUInfo, type CancelPaymentRequest, type CancelPaymentResponse, type CancelSubscriptionRequest, type CategoryInfo, type Channel, type ChannelMembership, type ChargeWithBillingKeyRequest, type ChargeWithBillingKeyResponse, type ChatMessage, type ClientMessage, type ColumnSchema, type CommentListResponse, type CompleteUploadRequest, type CompleteUploadResponse, type ConfirmBillingKeyRequest, type ConfirmPaymentRequest, type ConfirmPaymentResponse, ConnectBase, type ConnectBaseConfig, type ConnectedData, type ConnectionState, type ConsentOptions, type ConsumeMessagesResponse, type ConsumeOptions, type CopyTableRequest, type CopyTableResponse, type CreateBackupRequest, type CreateChannelRequest, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateLobbyRequest, type CreatePlaylistRequest, type CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionRequest, type CreateTableRequest, type CreateTriggerRequest, type CreateVideoStorageRequest, type DailyReport, type DataItem, type DataType, type DatabaseChange, type DatabaseChangeMessage, type DatabaseChangeType, type DatabasePresenceState, type DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, type ErrorHandler, type ErrorMessage, type ErrorReport, type ErrorTrackerConfig, type ErrorType, type ExportDataRequest, type ExportDataResponse, type FetchDataResponse, type FetchFilesResponse, type FetchPublicKeysResponse, type FileItem, type FileStats, GameAPI, type GameAction, type GameClientConfig, type GameConnectionState, type GameConnectionStatus, type GameDelta, type GameEventHandlers, type GamePlayer, GameRoom, type GameRoomConfig, type GameRoomInfo, GameRoomTransport, type GameServerMessage, type GameServerMessageType, type GameState, type GameTransportConfig, type GenerateUploadURLByPathRequest, type GenerateUploadURLRequest, type GenerateUploadURLResponse, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GeoWithin, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, type GuestMemberSignInResponse, type HistoryResponse, type ICEServer, type ICEServersResponse, type ImageResult, type ImportDataRequest, type ImportDataResponse, type IndexAnalysis, type IndexRecommendation, type InitUploadResponse, type InvokeFunctionRequest, type InvokeFunctionResponse, type IssueBillingKeyRequest, type IssueBillingKeyResponse, type JoinQueueRequest, type JoinRoomRequest, type JoinRoomResponse, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LeaderboardEntry, type LifecyclePolicy, type ListBillingKeysResponse, type ListDocumentsResponse, type ListPageMetasOptions, type ListPageMetasResponse, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MemberInfoResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, NativeAPI, type OAuthCallbackResponse, type OAuthProvider, type OpenDialogOptions, type OpenDialogResult, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentProvider, type PaymentStatus, type PeerInfo, type Platform, type PlayerEvent, type PlayerStats, type Playlist, type PlaylistItem, type PongMessage, type PopulateOption, type Position, type PreparePaymentRequest, type PreparePaymentResponse, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type PublicKeyItem, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type QualityProgress, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, type RealtimeMessage, type RegisterDeviceRequest, type RelationType, type RenameFileRequest, type RenameFileResponse, type ReplayHighlight, type ReplayInfo, type ReplayPlayerInfo, type RestoreBackupRequest, type RestoreBackupResponse, type RetentionPolicy, type RoomInfo, type RoomStats, type RoomsResponse, type SaveDialogOptions, type SaveDialogResult, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type ServerMessage, SessionManager, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamMessage, type StreamOptions, type StreamSession, type StreamTokenCallback, type StreamToolCallCallback, type StreamToolResultCallback, type StreamURLResponse, type SubscribeOptions, type SubscribeTopicRequest, type SubscribedData, type Subscription, type SubscriptionPaymentResponse, type SubscriptionPaymentStatus, type SubscriptionResponse, type SubscriptionStatus, type SuperChat, type SystemInfo, type TTLConfig, type TableAccessLevel, type TableColumnDef, type TableIndex, type TableRelation, type TableSchema, type TableSchemaDefinition, type TokenPersistence, type TransactionRead, type TransactionWrite, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateLobbyRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileResponse, type UploadOptions, type UploadProgress, type VAPIDPublicKeyResponse, type ValidateResponse, type ValidationSchema, type ValidationSchemaField, type ValidationStateTransitions, type Video, type VideoComment, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoStorage, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WhereCondition, type WhereOperator, ConnectBase as default, isWebTransportSupported };
|
|
6741
|
+
export { AIAPI, type AIChatRequest, type AIChatResponse, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, type AckMessagesRequest, type AdMobDailyReport, type AdMobReportResponse, type AdMobReportSummary, type AdReportResponse, type AdReportSummary, type AdmobConnectionInfo, AdsAPI, type AdsenseConnectionInfo, type AggregateResult, type AggregateStage, type AnalyticsConfig, type AnalyticsEvent, ApiError, type ApiErrorDetail, type AppStatsResponse, type ArchivePolicy, type AtomicOperator, type AtomicOperatorType, AuthError, type AuthSettingsResponse, type BackupInfo, type BatchOperation, type BatchSetPageMetaRequest, type BillingCycle, type BillingKeyResponse, type BiometricInfo, type BiometricResult, type BulkCreateResponse, type BulkError, type CPUInfo, type CancelPaymentRequest, type CancelPaymentResponse, type CancelSubscriptionRequest, type CategoryInfo, type Channel, type ChannelMembership, type ChargeWithBillingKeyRequest, type ChargeWithBillingKeyResponse, type ChatMessage, type ClientMessage, type ColumnSchema, type CommentListResponse, type CompleteUploadRequest, type CompleteUploadResponse, type ConfirmBillingKeyRequest, type ConfirmPaymentRequest, type ConfirmPaymentResponse, ConnectBase, type ConnectBaseConfig, type ConnectedData, type ConnectionState, type ConsentOptions, type ConsumeMessagesResponse, type ConsumeOptions, type CopyTableRequest, type CopyTableResponse, type CreateBackupRequest, type CreateChannelRequest, type CreateCheckoutSessionRequest, type CreateCheckoutSessionResponse, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateLobbyRequest, type CreatePlaylistRequest, type CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionRequest, type CreateTableRequest, type CreateTriggerRequest, type CreateVideoStorageRequest, type DailyReport, type DataItem, type DataType, type DatabaseChange, type DatabaseChangeMessage, type DatabaseChangeType, type DatabasePresenceState, type DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, type ErrorHandler, type ErrorMessage, type ErrorReport, type ErrorTrackerConfig, type ErrorType, type ExportDataRequest, type ExportDataResponse, type FetchDataResponse, type FetchFilesResponse, type FetchPublicKeysResponse, type FileItem, type FileStats, GameAPI, type GameAction, type GameClientConfig, type GameConnectionState, type GameConnectionStatus, type GameDelta, type GameEventHandlers, type GamePlayer, GameRoom, type GameRoomConfig, type GameRoomInfo, GameRoomTransport, type GameServerMessage, type GameServerMessageType, type GameState, type GameTransportConfig, type GenerateUploadURLByPathRequest, type GenerateUploadURLRequest, type GenerateUploadURLResponse, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GeoWithin, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, type GuestMemberSignInResponse, type HistoryResponse, type ICEServer, type ICEServersResponse, type ImageResult, type ImportDataRequest, type ImportDataResponse, type IndexAnalysis, type IndexRecommendation, type InitUploadResponse, type InvokeFunctionRequest, type InvokeFunctionResponse, type IssueBillingKeyRequest, type IssueBillingKeyResponse, type JoinQueueRequest, type JoinRoomRequest, type JoinRoomResponse, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LeaderboardEntry, type LifecyclePolicy, type ListBillingKeysResponse, type ListDocumentsResponse, type ListPageMetasOptions, type ListPageMetasResponse, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MemberInfoResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, NativeAPI, type OAuthCallbackResponse, type OAuthProvider, type OpenDialogOptions, type OpenDialogResult, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentProvider, type PaymentStatus, type PeerInfo, type Platform, type PlayerEvent, type PlayerStats, type Playlist, type PlaylistItem, type PongMessage, type PopulateOption, type Position, type PreparePaymentRequest, type PreparePaymentResponse, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type PublicKeyItem, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type QualityProgress, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, type RealtimeMessage, type RegisterDeviceRequest, type RelationType, type RenameFileRequest, type RenameFileResponse, type ReplayHighlight, type ReplayInfo, type ReplayPlayerInfo, type RestoreBackupRequest, type RestoreBackupResponse, type RetentionPolicy, type RoomInfo, type RoomStats, type RoomsResponse, type SaveDialogOptions, type SaveDialogResult, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type ServerMessage, SessionManager, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamMessage, type StreamOptions, type StreamSession, type StreamTokenCallback, type StreamToolCallCallback, type StreamToolResultCallback, type StreamURLResponse, type SubscribeOptions, type SubscribeTopicRequest, type SubscribedData, type Subscription, type SubscriptionPaymentResponse, type SubscriptionPaymentStatus, type SubscriptionResponse, type SubscriptionStatus, type SuperChat, type SystemInfo, type TTLConfig, type TableAccessLevel, type TableColumnDef, type TableIndex, type TableRelation, type TableSchema, type TableSchemaDefinition, type TokenPersistence, type TransactionRead, type TransactionWrite, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateLobbyRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileResponse, type UploadOptions, type UploadProgress, type VAPIDPublicKeyResponse, type ValidateResponse, type ValidationSchema, type ValidationSchemaField, type ValidationStateTransitions, type Video, type VideoComment, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoStorage, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WhereCondition, type WhereOperator, ConnectBase as default, isWebTransportSupported };
|