connectbase-client 3.46.0 → 3.48.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 +11 -0
- package/dist/connect-base.umd.js +4 -4
- package/dist/index.d.mts +227 -5
- package/dist/index.d.ts +227 -5
- package/dist/index.js +177 -5
- package/dist/index.mjs +176 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -173,13 +173,20 @@ declare class HttpClient {
|
|
|
173
173
|
* 한 번 settle 되면 그 결과(메모리 적재 또는 미로그인)가 항상 반영되어 있다.
|
|
174
174
|
*/
|
|
175
175
|
private bootRestorePromise;
|
|
176
|
+
private bootRestoreAlwaysAwait;
|
|
176
177
|
constructor(config: HttpClientConfig);
|
|
177
178
|
/**
|
|
178
179
|
* 페이지 진입 시 fire-and-forget 으로 시작된 cookie 복구 promise 를 SDK 가 등록한다.
|
|
179
180
|
* 같은 promise 가 `prepareHeaders` 에서 await 되어, 첫 인증 호출이 cookie 복구
|
|
180
181
|
* 완료 후 발화한다.
|
|
182
|
+
*
|
|
183
|
+
* options.alwaysAwait=true 면 세션 힌트가 없어도 첫 인증 호출이 이 promise 를
|
|
184
|
+
* 기다린다 — OAuth 리다이렉트 콜백처럼 "이 부트 promise 가 곧 세션을 만든다"는 것이
|
|
185
|
+
* 확실한 흐름용 (일반 cookie 복구는 힌트 기반 fast-path 적용).
|
|
181
186
|
*/
|
|
182
|
-
setBootRestorePromise(p: Promise<boolean
|
|
187
|
+
setBootRestorePromise(p: Promise<boolean>, options?: {
|
|
188
|
+
alwaysAwait?: boolean;
|
|
189
|
+
}): void;
|
|
183
190
|
/** 최근 호출 ring buffer 스냅샷 (시간순). */
|
|
184
191
|
getRecentCalls(): RecentApiCall[];
|
|
185
192
|
/** 최근 호출 buffer clear (테스트/프라이버시 처리). */
|
|
@@ -188,6 +195,10 @@ declare class HttpClient {
|
|
|
188
195
|
updateConfig(config: Partial<HttpClientConfig>): void;
|
|
189
196
|
setTokens(accessToken: string, refreshToken: string): void;
|
|
190
197
|
clearTokens(): void;
|
|
198
|
+
private buildSessionHintKey;
|
|
199
|
+
private markSessionHint;
|
|
200
|
+
private clearSessionHint;
|
|
201
|
+
private hasSessionHint;
|
|
191
202
|
/**
|
|
192
203
|
* OAuth redirect callback 직후 호출되어 HttpOnly cookie 를 부트스트랩한다.
|
|
193
204
|
*
|
|
@@ -1174,7 +1185,12 @@ interface UpdateDataRequest {
|
|
|
1174
1185
|
interface FetchDataResponse {
|
|
1175
1186
|
/** 조회된 문서 배열 */
|
|
1176
1187
|
data: DataItem[];
|
|
1177
|
-
/**
|
|
1188
|
+
/**
|
|
1189
|
+
* 총 매칭 문서 수.
|
|
1190
|
+
*
|
|
1191
|
+
* `count: false` 로 조회한 경우: 마지막 페이지(반환 건수 < limit)면 서버가 정확한
|
|
1192
|
+
* 총계를 파생해 돌려주고, 아니면 `-1` (미상) 이 반환됩니다.
|
|
1193
|
+
*/
|
|
1178
1194
|
total_count: number;
|
|
1179
1195
|
}
|
|
1180
1196
|
interface QueryOptions {
|
|
@@ -1187,6 +1203,14 @@ interface QueryOptions {
|
|
|
1187
1203
|
select?: string[];
|
|
1188
1204
|
/** 제외할 필드 목록 - 지정된 필드를 제외하고 반환 */
|
|
1189
1205
|
exclude?: string[];
|
|
1206
|
+
/**
|
|
1207
|
+
* `false` 면 `total_count` 계산(서버측 COUNT 쿼리)을 생략합니다.
|
|
1208
|
+
*
|
|
1209
|
+
* 필터가 붙은 COUNT 는 본 조회와 같은 비용의 스캔을 한 번 더 도는 것이므로,
|
|
1210
|
+
* 총계가 필요 없는 목록/무한스크롤 조회는 `count: false` 로 눈에 띄게 빨라집니다.
|
|
1211
|
+
* 생략 시 기본값은 `true` (기존 동작 유지).
|
|
1212
|
+
*/
|
|
1213
|
+
count?: boolean;
|
|
1190
1214
|
}
|
|
1191
1215
|
type WhereCondition = {
|
|
1192
1216
|
/** OR 조건: 배열 내 조건들 중 하나 이상 만족 */
|
|
@@ -4015,7 +4039,7 @@ declare class OAuthAPI {
|
|
|
4015
4039
|
} | null>;
|
|
4016
4040
|
}
|
|
4017
4041
|
|
|
4018
|
-
type PaymentProvider = "toss" | "stripe" | "payapp";
|
|
4042
|
+
type PaymentProvider = "toss" | "stripe" | "payapp" | "paypal";
|
|
4019
4043
|
type PaymentStatus = "pending" | "ready" | "in_progress" | "done" | "canceled" | "partial_canceled" | "aborted" | "expired" | "failed";
|
|
4020
4044
|
interface PreparePaymentRequest {
|
|
4021
4045
|
amount: number;
|
|
@@ -4040,6 +4064,8 @@ interface PreparePaymentResponse {
|
|
|
4040
4064
|
stripe_publishable_key?: string;
|
|
4041
4065
|
payapp_pay_url?: string;
|
|
4042
4066
|
payapp_mul_no?: string;
|
|
4067
|
+
paypal_approve_url?: string;
|
|
4068
|
+
paypal_order_id?: string;
|
|
4043
4069
|
}
|
|
4044
4070
|
interface CreateCheckoutSessionRequest {
|
|
4045
4071
|
amount: number;
|
|
@@ -4065,6 +4091,7 @@ interface ConfirmPaymentRequest {
|
|
|
4065
4091
|
order_id: string;
|
|
4066
4092
|
amount: number;
|
|
4067
4093
|
stripe_payment_intent_id?: string;
|
|
4094
|
+
paypal_order_id?: string;
|
|
4068
4095
|
}
|
|
4069
4096
|
interface ConfirmPaymentResponse {
|
|
4070
4097
|
payment_id: string;
|
|
@@ -4110,6 +4137,40 @@ interface PaymentDetail {
|
|
|
4110
4137
|
created_at: string;
|
|
4111
4138
|
updated_at: string;
|
|
4112
4139
|
}
|
|
4140
|
+
/** `cb.payment.list` 필터 옵션. 모두 선택. 백엔드 `ListPaymentsRequest` 쿼리에 매핑. */
|
|
4141
|
+
interface ListPaymentsOptions {
|
|
4142
|
+
/** pending | done | canceled | failed */
|
|
4143
|
+
status?: string;
|
|
4144
|
+
/** ISO8601(RFC3339) 시작일 필터. */
|
|
4145
|
+
startDate?: string;
|
|
4146
|
+
/** ISO8601(RFC3339) 종료일 필터. */
|
|
4147
|
+
endDate?: string;
|
|
4148
|
+
/** 기본 50. */
|
|
4149
|
+
limit?: number;
|
|
4150
|
+
offset?: number;
|
|
4151
|
+
}
|
|
4152
|
+
/** 결제 목록 항목. 백엔드 `PaymentListItem` 매핑. */
|
|
4153
|
+
interface PaymentListItem {
|
|
4154
|
+
payment_id: string;
|
|
4155
|
+
order_id: string;
|
|
4156
|
+
order_name: string;
|
|
4157
|
+
amount: number;
|
|
4158
|
+
status: PaymentStatus;
|
|
4159
|
+
method?: string;
|
|
4160
|
+
/** toss | stripe 등 */
|
|
4161
|
+
payment_provider: string;
|
|
4162
|
+
customer_name?: string;
|
|
4163
|
+
customer_email?: string;
|
|
4164
|
+
approved_at?: string;
|
|
4165
|
+
created_at: string;
|
|
4166
|
+
}
|
|
4167
|
+
/** `cb.payment.list` 반환값. 백엔드 `ListPaymentsResponse` 매핑. */
|
|
4168
|
+
interface PaymentListResult {
|
|
4169
|
+
payments: PaymentListItem[];
|
|
4170
|
+
total: number;
|
|
4171
|
+
limit: number;
|
|
4172
|
+
offset: number;
|
|
4173
|
+
}
|
|
4113
4174
|
|
|
4114
4175
|
declare class PaymentAPI {
|
|
4115
4176
|
private http;
|
|
@@ -4251,6 +4312,20 @@ declare class PaymentAPI {
|
|
|
4251
4312
|
* ```
|
|
4252
4313
|
*/
|
|
4253
4314
|
getByOrderId(orderId: string): Promise<PaymentDetail>;
|
|
4315
|
+
/**
|
|
4316
|
+
* 앱의 결제 내역 목록을 조회한다 (필터/페이지네이션 지원).
|
|
4317
|
+
*
|
|
4318
|
+
* 서버사이드 전용 — service_role(ctx.cbAdmin, management_scopes=["payment:read"]) 또는 콘솔 JWT
|
|
4319
|
+
* 인증이 필요하다. 재무 데이터이므로 Public Key(cb_pk_) 단독 브라우저 SDK 인스턴스로는 호출할 수
|
|
4320
|
+
* 없다. (다른 payment 메서드와 달리 /v1/public 이 아니라 앱 스코프 dual-auth 라우트를 쓴다.)
|
|
4321
|
+
*
|
|
4322
|
+
* @example
|
|
4323
|
+
* ```typescript
|
|
4324
|
+
* // 함수(service_role, management_scopes: ["payment:read"]) 안에서
|
|
4325
|
+
* const { payments, total } = await ctx.cbAdmin.payment.list(ctx.appId, { status: 'done', limit: 20 })
|
|
4326
|
+
* ```
|
|
4327
|
+
*/
|
|
4328
|
+
list(appId: string, options?: ListPaymentsOptions): Promise<PaymentListResult>;
|
|
4254
4329
|
}
|
|
4255
4330
|
|
|
4256
4331
|
interface IssueBillingKeyRequest {
|
|
@@ -4358,9 +4433,11 @@ interface SubscriptionResponse {
|
|
|
4358
4433
|
/** 구독 ID (문자열) */
|
|
4359
4434
|
subscription_id: string;
|
|
4360
4435
|
/** 결제 프로바이더 */
|
|
4361
|
-
provider?: 'toss' | 'stripe' | 'payapp';
|
|
4436
|
+
provider?: 'toss' | 'stripe' | 'payapp' | 'paypal';
|
|
4362
4437
|
/** payapp: 카드등록+1회차 결제창 URL. 이 URL로 사용자를 redirect 시킨다 (위젯 불필요) */
|
|
4363
4438
|
payapp_pay_url?: string;
|
|
4439
|
+
/** paypal: 구독 승인+결제수단 등록 URL. 이 URL로 사용자를 redirect 시킨다 (위젯 불필요) */
|
|
4440
|
+
paypal_approve_url?: string;
|
|
4364
4441
|
/** 플랜 이름 */
|
|
4365
4442
|
plan_name: string;
|
|
4366
4443
|
/** 플랜 설명 */
|
|
@@ -4864,6 +4941,29 @@ interface SendPushResult {
|
|
|
4864
4941
|
status: string;
|
|
4865
4942
|
error_message?: string;
|
|
4866
4943
|
}
|
|
4944
|
+
/**
|
|
4945
|
+
* 푸시 통계. 백엔드 `dto.PushStatsResponse` 와 1:1 매핑. `cb.push.getStats` 반환값.
|
|
4946
|
+
* open_rate / click_rate 는 % 단위. 서버사이드(ctx.cbAdmin) 전용 — Public Key 단독 SDK 는 호출 불가.
|
|
4947
|
+
*/
|
|
4948
|
+
interface PushStatsResult {
|
|
4949
|
+
total_devices: number;
|
|
4950
|
+
active_devices: number;
|
|
4951
|
+
ios_devices: number;
|
|
4952
|
+
android_devices: number;
|
|
4953
|
+
web_devices: number;
|
|
4954
|
+
total_messages: number;
|
|
4955
|
+
sent_messages: number;
|
|
4956
|
+
failed_messages: number;
|
|
4957
|
+
pending_messages: number;
|
|
4958
|
+
total_topics: number;
|
|
4959
|
+
total_sent: number;
|
|
4960
|
+
total_opened: number;
|
|
4961
|
+
total_clicked: number;
|
|
4962
|
+
/** 열람율 (%) */
|
|
4963
|
+
open_rate: number;
|
|
4964
|
+
/** 클릭율 (%) */
|
|
4965
|
+
click_rate: number;
|
|
4966
|
+
}
|
|
4867
4967
|
/**
|
|
4868
4968
|
* 푸시 알림 API
|
|
4869
4969
|
*
|
|
@@ -5054,6 +5154,21 @@ declare class PushAPI {
|
|
|
5054
5154
|
* ```
|
|
5055
5155
|
*/
|
|
5056
5156
|
sendToTopic(appId: string, topicName: string, payload: SendToTopicPayload): Promise<SendPushResult>;
|
|
5157
|
+
/**
|
|
5158
|
+
* 앱의 푸시 통계(도달/오픈율/클릭율, 디바이스/메시지/토픽 수)를 조회한다.
|
|
5159
|
+
*
|
|
5160
|
+
* 서버사이드 전용 — service_role(ctx.cbAdmin, management_scopes=["push:read"]) 또는 콘솔 JWT
|
|
5161
|
+
* 인증이 필요하다. sendToMembers/sendToTopic 과 동일한 위임 가드 — cb_pk_ 단독(브라우저) SDK
|
|
5162
|
+
* 인스턴스는 차단하고, 위임 Bearer(ctx.cbAdmin) 인스턴스는 허용한다.
|
|
5163
|
+
*
|
|
5164
|
+
* @example
|
|
5165
|
+
* ```typescript
|
|
5166
|
+
* // 함수(service_role, management_scopes: ["push:read"]) 안에서
|
|
5167
|
+
* const stats = await ctx.cbAdmin.push.getStats(ctx.appId)
|
|
5168
|
+
* console.log(stats.open_rate, stats.click_rate)
|
|
5169
|
+
* ```
|
|
5170
|
+
*/
|
|
5171
|
+
getStats(appId: string): Promise<PushStatsResult>;
|
|
5057
5172
|
/**
|
|
5058
5173
|
* 브라우저 고유 ID 생성 (localStorage에 저장)
|
|
5059
5174
|
*/
|
|
@@ -5068,6 +5183,108 @@ declare class PushAPI {
|
|
|
5068
5183
|
private getOSInfo;
|
|
5069
5184
|
}
|
|
5070
5185
|
|
|
5186
|
+
/** 역할 목록 항목. 백엔드 `fetchRoleItem` 매핑. */
|
|
5187
|
+
interface RoleListItem {
|
|
5188
|
+
id: string;
|
|
5189
|
+
role_title: string;
|
|
5190
|
+
role_description: string;
|
|
5191
|
+
create_time: string;
|
|
5192
|
+
permission_count: number;
|
|
5193
|
+
user_count: number;
|
|
5194
|
+
}
|
|
5195
|
+
/** `cb.roles.list` 반환값. 백엔드 `FetchRolesResponse` 매핑. */
|
|
5196
|
+
interface RoleList {
|
|
5197
|
+
total_count: number;
|
|
5198
|
+
role_list: RoleListItem[];
|
|
5199
|
+
}
|
|
5200
|
+
/** 역할이 가진 권한 항목. */
|
|
5201
|
+
interface RolePermissionItem {
|
|
5202
|
+
id: number;
|
|
5203
|
+
name: string;
|
|
5204
|
+
category: string;
|
|
5205
|
+
description: string;
|
|
5206
|
+
}
|
|
5207
|
+
/** 역할에 할당된 사용자 항목. */
|
|
5208
|
+
interface RoleUserItem {
|
|
5209
|
+
id: string;
|
|
5210
|
+
nickname: string;
|
|
5211
|
+
email: string | null;
|
|
5212
|
+
assign_time: string;
|
|
5213
|
+
}
|
|
5214
|
+
/** `cb.roles.get` 반환값. 백엔드 `FetchRoleDetailResponse` 매핑. */
|
|
5215
|
+
interface RoleDetail {
|
|
5216
|
+
role_name: string;
|
|
5217
|
+
role_description: string;
|
|
5218
|
+
create_time: string;
|
|
5219
|
+
permission_item: RolePermissionItem[];
|
|
5220
|
+
user_item: RoleUserItem[];
|
|
5221
|
+
}
|
|
5222
|
+
/** `cb.roles.create` 페이로드. */
|
|
5223
|
+
interface CreateRolePayload {
|
|
5224
|
+
title: string;
|
|
5225
|
+
description: string;
|
|
5226
|
+
/** 생성과 동시에 부여할 권한 ID 목록 (선택). 없으면 빈 역할로 생성. */
|
|
5227
|
+
permissionIds?: number[];
|
|
5228
|
+
}
|
|
5229
|
+
/** `cb.roles.create` 반환값. */
|
|
5230
|
+
interface CreateRoleResult {
|
|
5231
|
+
id: string;
|
|
5232
|
+
role_title: string;
|
|
5233
|
+
role_description: string;
|
|
5234
|
+
}
|
|
5235
|
+
/**
|
|
5236
|
+
* `cb.roles.update` 페이로드. 백엔드 EditRole 은 **전체 동기화(replace)** 라 모든 필드가 필수다 —
|
|
5237
|
+
* permissionIds / userIds 는 "이 역할이 가질 전체"를 의미하며, 전달값으로 완전히 대체된다.
|
|
5238
|
+
* 사용자만 바꾸고 나머지를 보존하려면 `assign` 을 쓰거나 `get` 으로 현재 값을 읽어 합쳐라.
|
|
5239
|
+
*/
|
|
5240
|
+
interface UpdateRolePayload {
|
|
5241
|
+
title: string;
|
|
5242
|
+
description: string;
|
|
5243
|
+
/** 이 역할이 가질 권한 ID 전체 (동기화). */
|
|
5244
|
+
permissionIds: number[];
|
|
5245
|
+
/** 이 역할을 가질 사용자 ID 전체 (동기화). */
|
|
5246
|
+
userIds: string[];
|
|
5247
|
+
}
|
|
5248
|
+
/**
|
|
5249
|
+
* 앱 역할(RBAC) 관리 API — 서버사이드 전용.
|
|
5250
|
+
*
|
|
5251
|
+
* service_role 함수(ctx.cbAdmin) 또는 콘솔 JWT 인증이 필요하며, Public Key(cb_pk_) 단독 브라우저
|
|
5252
|
+
* SDK 인스턴스로는 호출할 수 없다. service_role 함수에서 쓰려면 management_scopes 가 필요하다 —
|
|
5253
|
+
* 조회(list/get)는 `role:read`, 변경(create/update/assign/delete)은 `role:manage`.
|
|
5254
|
+
*
|
|
5255
|
+
* @example
|
|
5256
|
+
* ```typescript
|
|
5257
|
+
* // 함수(service_role, management_scopes: ["role:read","role:manage"]) 안에서
|
|
5258
|
+
* const roles = await ctx.cbAdmin.roles.list(ctx.appId)
|
|
5259
|
+
* const { id } = await ctx.cbAdmin.roles.create(ctx.appId, { title: '읽기전용 운영자', description: '조회만' })
|
|
5260
|
+
* await ctx.cbAdmin.roles.assign(ctx.appId, id, ['user-uuid-1', 'user-uuid-2'])
|
|
5261
|
+
* ```
|
|
5262
|
+
*/
|
|
5263
|
+
declare class RolesAPI {
|
|
5264
|
+
private http;
|
|
5265
|
+
constructor(http: HttpClient);
|
|
5266
|
+
private ensureServerAuth;
|
|
5267
|
+
/** 앱의 역할 목록을 조회한다. (management_scope: `role:read`) */
|
|
5268
|
+
list(appId: string): Promise<RoleList>;
|
|
5269
|
+
/** 역할 상세(권한/할당 사용자 포함)를 조회한다. (management_scope: `role:read`) */
|
|
5270
|
+
get(appId: string, roleId: string): Promise<RoleDetail>;
|
|
5271
|
+
/** 역할을 생성한다. (management_scope: `role:manage`) */
|
|
5272
|
+
create(appId: string, payload: CreateRolePayload): Promise<CreateRoleResult>;
|
|
5273
|
+
/**
|
|
5274
|
+
* 역할을 수정한다 — **전체 동기화(replace)**. permissionIds / userIds 는 전달값으로 대체된다.
|
|
5275
|
+
* (management_scope: `role:manage`)
|
|
5276
|
+
*/
|
|
5277
|
+
update(appId: string, roleId: string, payload: UpdateRolePayload): Promise<void>;
|
|
5278
|
+
/**
|
|
5279
|
+
* 역할에 사용자를 할당한다 (제목/설명/권한 보존). EditRole 이 전체 동기화라, 현재 상세를 읽어
|
|
5280
|
+
* 나머지 필드를 유지한 채 사용자 목록만 교체해 PUT 한다. userIds 는 "이 역할을 가질 사용자
|
|
5281
|
+
* 전체"다 (추가가 아니라 동기화). (management_scope: `role:manage`)
|
|
5282
|
+
*/
|
|
5283
|
+
assign(appId: string, roleId: string, userIds: string[]): Promise<void>;
|
|
5284
|
+
/** 역할을 삭제한다. (management_scope: `role:manage`) */
|
|
5285
|
+
delete(appId: string, roleId: string): Promise<void>;
|
|
5286
|
+
}
|
|
5287
|
+
|
|
5071
5288
|
interface Video {
|
|
5072
5289
|
id: string;
|
|
5073
5290
|
channel_id: string;
|
|
@@ -8993,6 +9210,11 @@ declare class ConnectBase {
|
|
|
8993
9210
|
* 푸시 알림 API
|
|
8994
9211
|
*/
|
|
8995
9212
|
readonly push: PushAPI;
|
|
9213
|
+
/**
|
|
9214
|
+
* 앱 역할(RBAC) 관리 API — 서버사이드 전용(ctx.cbAdmin / 콘솔 JWT).
|
|
9215
|
+
* service_role 함수에서는 management_scopes(role:read / role:manage)가 필요하다.
|
|
9216
|
+
*/
|
|
9217
|
+
readonly roles: RolesAPI;
|
|
8996
9218
|
/**
|
|
8997
9219
|
* 비디오 API (동영상 업로드/스트리밍)
|
|
8998
9220
|
*/
|
|
@@ -9082,4 +9304,4 @@ declare class ConnectBase {
|
|
|
9082
9304
|
updateConfig(config: Partial<ConnectBaseConfig>): void;
|
|
9083
9305
|
}
|
|
9084
9306
|
|
|
9085
|
-
export { AIAPI, type AIChatRequest, type AIChatResponse, type AIChatStreamCallbacks, type AIChatStreamOptions, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, AUTH_MEMBER_ID_TOKEN, type AckMessagesRequest, type AdMobDailyReport, type AdMobReportResponse, type AdMobReportSummary, type AdReportResponse, type AdReportSummary, type AdmobConnectionInfo, AdsAPI, type AdsenseConnectionInfo, type AgenticSearchProgress, 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 BatchOperationResult, type BatchSetPageMetaRequest, type BatchWriteResult, 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 ChannelStats, 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 CreateRoomResult, 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 DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, EndpointAPI, type EndpointCallInit, 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 GameConfig, GameConfigAPI, type GameConfigPatch, type GameConnectionState, type GameConnectionStatus, type GameDelta, GameError, type GameErrorCode, 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 GeoBoundingBox, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, 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 LeaderboardListResponse, type LeaderboardScoreEntry, 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 MatchqueueListResponse, type MatchqueueTicket, 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 PollUntilOptions, 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 RoomStaleMessage, type RoomSummary, type RoomsResponse, type SaveDialogOptions, type SaveDialogResult, type ScriptDetailResponse, type ScriptListResponse, type ScriptMeta, type ScriptVersion, type ScriptVersionListResponse, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type SendSuperChatOptions, type SendSuperChatResponse, type ServerMessage, SessionManager, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type SpeechRecognizeOptions, type SpeechResult, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StreamContentPart, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamImageURLPart, type StreamMessage, type StreamOptions, type StreamSession, type StreamTextPart, 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 SuperChatType, type SystemInfo, type TTLConfig, type TableAccessLevel, type TableColumnDef, type TableIndex, type TableRelation, type TableSchema, type TableSchemaDefinition, type TokenPersistence, type TransactionRead, type TransactionResult, type TransactionWrite, type TransactionWriteResult, 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 UpdateDocumentRequest, 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 VideoCompleteUploadResponse, 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, detectInAppBrowser, escapeToExternalBrowser, isWebTransportSupported, toCreateRoomWire };
|
|
9307
|
+
export { AIAPI, type AIChatRequest, type AIChatResponse, type AIChatStreamCallbacks, type AIChatStreamOptions, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, AUTH_MEMBER_ID_TOKEN, type AckMessagesRequest, type AdMobDailyReport, type AdMobReportResponse, type AdMobReportSummary, type AdReportResponse, type AdReportSummary, type AdmobConnectionInfo, AdsAPI, type AdsenseConnectionInfo, type AgenticSearchProgress, 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 BatchOperationResult, type BatchSetPageMetaRequest, type BatchWriteResult, 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 ChannelStats, 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 CreateRolePayload, type CreateRoleResult, type CreateRoomResult, 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 DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, EndpointAPI, type EndpointCallInit, 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 GameConfig, GameConfigAPI, type GameConfigPatch, type GameConnectionState, type GameConnectionStatus, type GameDelta, GameError, type GameErrorCode, 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 GeoBoundingBox, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, 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 LeaderboardListResponse, type LeaderboardScoreEntry, type LifecyclePolicy, type ListBillingKeysResponse, type ListDocumentsResponse, type ListPageMetasOptions, type ListPageMetasResponse, type ListPaymentsOptions, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MatchqueueListResponse, type MatchqueueTicket, 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 PaymentListItem, type PaymentListResult, type PaymentProvider, type PaymentStatus, type PeerInfo, type Platform, type PlayerEvent, type PlayerStats, type Playlist, type PlaylistItem, type PollUntilOptions, 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 PushStatsResult, 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 RoleDetail, type RoleList, type RoleListItem, type RolePermissionItem, type RoleUserItem, RolesAPI, type RoomInfo, type RoomStaleMessage, type RoomSummary, type RoomsResponse, type SaveDialogOptions, type SaveDialogResult, type ScriptDetailResponse, type ScriptListResponse, type ScriptMeta, type ScriptVersion, type ScriptVersionListResponse, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type SendSuperChatOptions, type SendSuperChatResponse, type ServerMessage, SessionManager, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type SpeechRecognizeOptions, type SpeechResult, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StreamContentPart, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamImageURLPart, type StreamMessage, type StreamOptions, type StreamSession, type StreamTextPart, 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 SuperChatType, type SystemInfo, type TTLConfig, type TableAccessLevel, type TableColumnDef, type TableIndex, type TableRelation, type TableSchema, type TableSchemaDefinition, type TokenPersistence, type TransactionRead, type TransactionResult, type TransactionWrite, type TransactionWriteResult, 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 UpdateDocumentRequest, type UpdateLobbyRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateRolePayload, 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 VideoCompleteUploadResponse, 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, detectInAppBrowser, escapeToExternalBrowser, isWebTransportSupported, toCreateRoomWire };
|