connectbase-client 3.45.0 → 3.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -4015,7 +4015,7 @@ declare class OAuthAPI {
4015
4015
  } | null>;
4016
4016
  }
4017
4017
 
4018
- type PaymentProvider = "toss" | "stripe" | "payapp";
4018
+ type PaymentProvider = "toss" | "stripe" | "payapp" | "paypal";
4019
4019
  type PaymentStatus = "pending" | "ready" | "in_progress" | "done" | "canceled" | "partial_canceled" | "aborted" | "expired" | "failed";
4020
4020
  interface PreparePaymentRequest {
4021
4021
  amount: number;
@@ -4040,6 +4040,8 @@ interface PreparePaymentResponse {
4040
4040
  stripe_publishable_key?: string;
4041
4041
  payapp_pay_url?: string;
4042
4042
  payapp_mul_no?: string;
4043
+ paypal_approve_url?: string;
4044
+ paypal_order_id?: string;
4043
4045
  }
4044
4046
  interface CreateCheckoutSessionRequest {
4045
4047
  amount: number;
@@ -4065,6 +4067,7 @@ interface ConfirmPaymentRequest {
4065
4067
  order_id: string;
4066
4068
  amount: number;
4067
4069
  stripe_payment_intent_id?: string;
4070
+ paypal_order_id?: string;
4068
4071
  }
4069
4072
  interface ConfirmPaymentResponse {
4070
4073
  payment_id: string;
@@ -4110,6 +4113,40 @@ interface PaymentDetail {
4110
4113
  created_at: string;
4111
4114
  updated_at: string;
4112
4115
  }
4116
+ /** `cb.payment.list` 필터 옵션. 모두 선택. 백엔드 `ListPaymentsRequest` 쿼리에 매핑. */
4117
+ interface ListPaymentsOptions {
4118
+ /** pending | done | canceled | failed */
4119
+ status?: string;
4120
+ /** ISO8601(RFC3339) 시작일 필터. */
4121
+ startDate?: string;
4122
+ /** ISO8601(RFC3339) 종료일 필터. */
4123
+ endDate?: string;
4124
+ /** 기본 50. */
4125
+ limit?: number;
4126
+ offset?: number;
4127
+ }
4128
+ /** 결제 목록 항목. 백엔드 `PaymentListItem` 매핑. */
4129
+ interface PaymentListItem {
4130
+ payment_id: string;
4131
+ order_id: string;
4132
+ order_name: string;
4133
+ amount: number;
4134
+ status: PaymentStatus;
4135
+ method?: string;
4136
+ /** toss | stripe 등 */
4137
+ payment_provider: string;
4138
+ customer_name?: string;
4139
+ customer_email?: string;
4140
+ approved_at?: string;
4141
+ created_at: string;
4142
+ }
4143
+ /** `cb.payment.list` 반환값. 백엔드 `ListPaymentsResponse` 매핑. */
4144
+ interface PaymentListResult {
4145
+ payments: PaymentListItem[];
4146
+ total: number;
4147
+ limit: number;
4148
+ offset: number;
4149
+ }
4113
4150
 
4114
4151
  declare class PaymentAPI {
4115
4152
  private http;
@@ -4251,6 +4288,20 @@ declare class PaymentAPI {
4251
4288
  * ```
4252
4289
  */
4253
4290
  getByOrderId(orderId: string): Promise<PaymentDetail>;
4291
+ /**
4292
+ * 앱의 결제 내역 목록을 조회한다 (필터/페이지네이션 지원).
4293
+ *
4294
+ * 서버사이드 전용 — service_role(ctx.cbAdmin, management_scopes=["payment:read"]) 또는 콘솔 JWT
4295
+ * 인증이 필요하다. 재무 데이터이므로 Public Key(cb_pk_) 단독 브라우저 SDK 인스턴스로는 호출할 수
4296
+ * 없다. (다른 payment 메서드와 달리 /v1/public 이 아니라 앱 스코프 dual-auth 라우트를 쓴다.)
4297
+ *
4298
+ * @example
4299
+ * ```typescript
4300
+ * // 함수(service_role, management_scopes: ["payment:read"]) 안에서
4301
+ * const { payments, total } = await ctx.cbAdmin.payment.list(ctx.appId, { status: 'done', limit: 20 })
4302
+ * ```
4303
+ */
4304
+ list(appId: string, options?: ListPaymentsOptions): Promise<PaymentListResult>;
4254
4305
  }
4255
4306
 
4256
4307
  interface IssueBillingKeyRequest {
@@ -4358,9 +4409,11 @@ interface SubscriptionResponse {
4358
4409
  /** 구독 ID (문자열) */
4359
4410
  subscription_id: string;
4360
4411
  /** 결제 프로바이더 */
4361
- provider?: 'toss' | 'stripe' | 'payapp';
4412
+ provider?: 'toss' | 'stripe' | 'payapp' | 'paypal';
4362
4413
  /** payapp: 카드등록+1회차 결제창 URL. 이 URL로 사용자를 redirect 시킨다 (위젯 불필요) */
4363
4414
  payapp_pay_url?: string;
4415
+ /** paypal: 구독 승인+결제수단 등록 URL. 이 URL로 사용자를 redirect 시킨다 (위젯 불필요) */
4416
+ paypal_approve_url?: string;
4364
4417
  /** 플랜 이름 */
4365
4418
  plan_name: string;
4366
4419
  /** 플랜 설명 */
@@ -4864,6 +4917,29 @@ interface SendPushResult {
4864
4917
  status: string;
4865
4918
  error_message?: string;
4866
4919
  }
4920
+ /**
4921
+ * 푸시 통계. 백엔드 `dto.PushStatsResponse` 와 1:1 매핑. `cb.push.getStats` 반환값.
4922
+ * open_rate / click_rate 는 % 단위. 서버사이드(ctx.cbAdmin) 전용 — Public Key 단독 SDK 는 호출 불가.
4923
+ */
4924
+ interface PushStatsResult {
4925
+ total_devices: number;
4926
+ active_devices: number;
4927
+ ios_devices: number;
4928
+ android_devices: number;
4929
+ web_devices: number;
4930
+ total_messages: number;
4931
+ sent_messages: number;
4932
+ failed_messages: number;
4933
+ pending_messages: number;
4934
+ total_topics: number;
4935
+ total_sent: number;
4936
+ total_opened: number;
4937
+ total_clicked: number;
4938
+ /** 열람율 (%) */
4939
+ open_rate: number;
4940
+ /** 클릭율 (%) */
4941
+ click_rate: number;
4942
+ }
4867
4943
  /**
4868
4944
  * 푸시 알림 API
4869
4945
  *
@@ -5054,6 +5130,21 @@ declare class PushAPI {
5054
5130
  * ```
5055
5131
  */
5056
5132
  sendToTopic(appId: string, topicName: string, payload: SendToTopicPayload): Promise<SendPushResult>;
5133
+ /**
5134
+ * 앱의 푸시 통계(도달/오픈율/클릭율, 디바이스/메시지/토픽 수)를 조회한다.
5135
+ *
5136
+ * 서버사이드 전용 — service_role(ctx.cbAdmin, management_scopes=["push:read"]) 또는 콘솔 JWT
5137
+ * 인증이 필요하다. sendToMembers/sendToTopic 과 동일한 위임 가드 — cb_pk_ 단독(브라우저) SDK
5138
+ * 인스턴스는 차단하고, 위임 Bearer(ctx.cbAdmin) 인스턴스는 허용한다.
5139
+ *
5140
+ * @example
5141
+ * ```typescript
5142
+ * // 함수(service_role, management_scopes: ["push:read"]) 안에서
5143
+ * const stats = await ctx.cbAdmin.push.getStats(ctx.appId)
5144
+ * console.log(stats.open_rate, stats.click_rate)
5145
+ * ```
5146
+ */
5147
+ getStats(appId: string): Promise<PushStatsResult>;
5057
5148
  /**
5058
5149
  * 브라우저 고유 ID 생성 (localStorage에 저장)
5059
5150
  */
@@ -5068,6 +5159,108 @@ declare class PushAPI {
5068
5159
  private getOSInfo;
5069
5160
  }
5070
5161
 
5162
+ /** 역할 목록 항목. 백엔드 `fetchRoleItem` 매핑. */
5163
+ interface RoleListItem {
5164
+ id: string;
5165
+ role_title: string;
5166
+ role_description: string;
5167
+ create_time: string;
5168
+ permission_count: number;
5169
+ user_count: number;
5170
+ }
5171
+ /** `cb.roles.list` 반환값. 백엔드 `FetchRolesResponse` 매핑. */
5172
+ interface RoleList {
5173
+ total_count: number;
5174
+ role_list: RoleListItem[];
5175
+ }
5176
+ /** 역할이 가진 권한 항목. */
5177
+ interface RolePermissionItem {
5178
+ id: number;
5179
+ name: string;
5180
+ category: string;
5181
+ description: string;
5182
+ }
5183
+ /** 역할에 할당된 사용자 항목. */
5184
+ interface RoleUserItem {
5185
+ id: string;
5186
+ nickname: string;
5187
+ email: string | null;
5188
+ assign_time: string;
5189
+ }
5190
+ /** `cb.roles.get` 반환값. 백엔드 `FetchRoleDetailResponse` 매핑. */
5191
+ interface RoleDetail {
5192
+ role_name: string;
5193
+ role_description: string;
5194
+ create_time: string;
5195
+ permission_item: RolePermissionItem[];
5196
+ user_item: RoleUserItem[];
5197
+ }
5198
+ /** `cb.roles.create` 페이로드. */
5199
+ interface CreateRolePayload {
5200
+ title: string;
5201
+ description: string;
5202
+ /** 생성과 동시에 부여할 권한 ID 목록 (선택). 없으면 빈 역할로 생성. */
5203
+ permissionIds?: number[];
5204
+ }
5205
+ /** `cb.roles.create` 반환값. */
5206
+ interface CreateRoleResult {
5207
+ id: string;
5208
+ role_title: string;
5209
+ role_description: string;
5210
+ }
5211
+ /**
5212
+ * `cb.roles.update` 페이로드. 백엔드 EditRole 은 **전체 동기화(replace)** 라 모든 필드가 필수다 —
5213
+ * permissionIds / userIds 는 "이 역할이 가질 전체"를 의미하며, 전달값으로 완전히 대체된다.
5214
+ * 사용자만 바꾸고 나머지를 보존하려면 `assign` 을 쓰거나 `get` 으로 현재 값을 읽어 합쳐라.
5215
+ */
5216
+ interface UpdateRolePayload {
5217
+ title: string;
5218
+ description: string;
5219
+ /** 이 역할이 가질 권한 ID 전체 (동기화). */
5220
+ permissionIds: number[];
5221
+ /** 이 역할을 가질 사용자 ID 전체 (동기화). */
5222
+ userIds: string[];
5223
+ }
5224
+ /**
5225
+ * 앱 역할(RBAC) 관리 API — 서버사이드 전용.
5226
+ *
5227
+ * service_role 함수(ctx.cbAdmin) 또는 콘솔 JWT 인증이 필요하며, Public Key(cb_pk_) 단독 브라우저
5228
+ * SDK 인스턴스로는 호출할 수 없다. service_role 함수에서 쓰려면 management_scopes 가 필요하다 —
5229
+ * 조회(list/get)는 `role:read`, 변경(create/update/assign/delete)은 `role:manage`.
5230
+ *
5231
+ * @example
5232
+ * ```typescript
5233
+ * // 함수(service_role, management_scopes: ["role:read","role:manage"]) 안에서
5234
+ * const roles = await ctx.cbAdmin.roles.list(ctx.appId)
5235
+ * const { id } = await ctx.cbAdmin.roles.create(ctx.appId, { title: '읽기전용 운영자', description: '조회만' })
5236
+ * await ctx.cbAdmin.roles.assign(ctx.appId, id, ['user-uuid-1', 'user-uuid-2'])
5237
+ * ```
5238
+ */
5239
+ declare class RolesAPI {
5240
+ private http;
5241
+ constructor(http: HttpClient);
5242
+ private ensureServerAuth;
5243
+ /** 앱의 역할 목록을 조회한다. (management_scope: `role:read`) */
5244
+ list(appId: string): Promise<RoleList>;
5245
+ /** 역할 상세(권한/할당 사용자 포함)를 조회한다. (management_scope: `role:read`) */
5246
+ get(appId: string, roleId: string): Promise<RoleDetail>;
5247
+ /** 역할을 생성한다. (management_scope: `role:manage`) */
5248
+ create(appId: string, payload: CreateRolePayload): Promise<CreateRoleResult>;
5249
+ /**
5250
+ * 역할을 수정한다 — **전체 동기화(replace)**. permissionIds / userIds 는 전달값으로 대체된다.
5251
+ * (management_scope: `role:manage`)
5252
+ */
5253
+ update(appId: string, roleId: string, payload: UpdateRolePayload): Promise<void>;
5254
+ /**
5255
+ * 역할에 사용자를 할당한다 (제목/설명/권한 보존). EditRole 이 전체 동기화라, 현재 상세를 읽어
5256
+ * 나머지 필드를 유지한 채 사용자 목록만 교체해 PUT 한다. userIds 는 "이 역할을 가질 사용자
5257
+ * 전체"다 (추가가 아니라 동기화). (management_scope: `role:manage`)
5258
+ */
5259
+ assign(appId: string, roleId: string, userIds: string[]): Promise<void>;
5260
+ /** 역할을 삭제한다. (management_scope: `role:manage`) */
5261
+ delete(appId: string, roleId: string): Promise<void>;
5262
+ }
5263
+
5071
5264
  interface Video {
5072
5265
  id: string;
5073
5266
  channel_id: string;
@@ -6854,6 +7047,7 @@ interface NativeBridgeInterface {
6854
7047
  push?: {
6855
7048
  getToken: () => Promise<{
6856
7049
  token: string;
7050
+ platform?: string;
6857
7051
  }>;
6858
7052
  requestPermission: () => Promise<{
6859
7053
  granted: boolean;
@@ -6862,6 +7056,15 @@ interface NativeBridgeInterface {
6862
7056
  notificationId: string;
6863
7057
  }>;
6864
7058
  };
7059
+ speech?: {
7060
+ recognize: (options?: SpeechRecognizeOptions) => Promise<SpeechResult>;
7061
+ stop: () => Promise<{
7062
+ stopped: boolean;
7063
+ }>;
7064
+ isAvailable: () => Promise<{
7065
+ available: boolean;
7066
+ }>;
7067
+ };
6865
7068
  location?: {
6866
7069
  getCurrentPosition: (options?: LocationOptions) => Promise<Position>;
6867
7070
  watchPosition: (options?: LocationOptions) => Promise<{
@@ -7018,6 +7221,22 @@ interface LocationOptions {
7018
7221
  accuracy?: 'low' | 'medium' | 'high';
7019
7222
  distanceInterval?: number;
7020
7223
  }
7224
+ interface SpeechRecognizeOptions {
7225
+ /** BCP-47 언어 코드 (예: 'en-US', 'ko-KR'). 기본값 'en-US' */
7226
+ lang?: string;
7227
+ /** 중간 결과(interim) 수신 여부. 기본값 true */
7228
+ interim?: boolean;
7229
+ /** 연속 인식 여부. 기본값 false (한 문장 인식 후 종료) */
7230
+ continuous?: boolean;
7231
+ /** 중간 결과 콜백 (실시간 부분 transcript) */
7232
+ onPartial?: (transcript: string) => void;
7233
+ }
7234
+ interface SpeechResult {
7235
+ /** 최종 인식된 텍스트 */
7236
+ transcript: string;
7237
+ /** 최종 결과 여부 */
7238
+ isFinal: boolean;
7239
+ }
7021
7240
  interface Position {
7022
7241
  latitude: number;
7023
7242
  longitude: number;
@@ -7123,6 +7342,8 @@ interface DocumentResult {
7123
7342
  * Native API - 크로스 플랫폼 네이티브 기능
7124
7343
  */
7125
7344
  declare class NativeAPI {
7345
+ /** 웹 Web Speech API 인스턴스 (stop() 용) */
7346
+ private _webSpeechRecognition;
7126
7347
  /**
7127
7348
  * 현재 플랫폼 감지
7128
7349
  */
@@ -7278,6 +7499,41 @@ declare class NativeAPI {
7278
7499
  showInterstitial: () => Promise<boolean>;
7279
7500
  showRewarded: () => Promise<boolean>;
7280
7501
  };
7502
+ /**
7503
+ * 크로스 플랫폼 음성 인식(STT) API
7504
+ *
7505
+ * - 모바일(패키징 앱): 네이티브 STT 브릿지(expo-speech-recognition — iOS SFSpeechRecognizer / Android SpeechRecognizer)
7506
+ * - 웹/데스크톱: Web Speech API(webkitSpeechRecognition)
7507
+ *
7508
+ * iOS WKWebView 는 Web Speech API 를 지원하지 않으므로, 패키징 앱에서는 speech 네이티브 기능을 켜면
7509
+ * 자동으로 네이티브 브릿지 경로를 사용한다.
7510
+ *
7511
+ * @example
7512
+ * ```typescript
7513
+ * if (await cb.native.speech.isAvailable()) {
7514
+ * const result = await cb.native.speech.recognize({
7515
+ * lang: 'ko-KR',
7516
+ * onPartial: (text) => console.log('부분 결과:', text),
7517
+ * })
7518
+ * console.log('최종:', result.transcript)
7519
+ * }
7520
+ * ```
7521
+ */
7522
+ speech: {
7523
+ /**
7524
+ * 음성 인식 지원 여부
7525
+ */
7526
+ isAvailable: () => Promise<boolean>;
7527
+ /**
7528
+ * 음성 인식 시작 → 최종 transcript 반환.
7529
+ * `options.onPartial` 로 중간 결과를 실시간 수신할 수 있다.
7530
+ */
7531
+ recognize: (options?: SpeechRecognizeOptions) => Promise<SpeechResult>;
7532
+ /**
7533
+ * 진행 중인 음성 인식 중지
7534
+ */
7535
+ stop: () => Promise<void>;
7536
+ };
7281
7537
  }
7282
7538
 
7283
7539
  interface CreateDocumentRequest {
@@ -8930,6 +9186,11 @@ declare class ConnectBase {
8930
9186
  * 푸시 알림 API
8931
9187
  */
8932
9188
  readonly push: PushAPI;
9189
+ /**
9190
+ * 앱 역할(RBAC) 관리 API — 서버사이드 전용(ctx.cbAdmin / 콘솔 JWT).
9191
+ * service_role 함수에서는 management_scopes(role:read / role:manage)가 필요하다.
9192
+ */
9193
+ readonly roles: RolesAPI;
8933
9194
  /**
8934
9195
  * 비디오 API (동영상 업로드/스트리밍)
8935
9196
  */
@@ -9019,4 +9280,4 @@ declare class ConnectBase {
9019
9280
  updateConfig(config: Partial<ConnectBaseConfig>): void;
9020
9281
  }
9021
9282
 
9022
- 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 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 };
9283
+ 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 };