connectbase-client 0.7.1 → 0.8.1

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.ts CHANGED
@@ -55,6 +55,11 @@ declare class HttpClient {
55
55
  put<T>(url: string, data: unknown, config?: RequestConfig): Promise<T>;
56
56
  patch<T>(url: string, data: unknown, config?: RequestConfig): Promise<T>;
57
57
  delete<T>(url: string, config?: RequestConfig): Promise<T>;
58
+ /**
59
+ * Raw fetch 요청 (SSE 스트리밍 등에 사용)
60
+ * 인증 헤더가 자동으로 추가됩니다.
61
+ */
62
+ fetchRaw(url: string, init?: RequestInit): Promise<Response>;
58
63
  }
59
64
 
60
65
  /** 앱 멤버 게스트 가입 응답 */
@@ -878,17 +883,25 @@ declare class DatabaseAPI {
878
883
  /**
879
884
  * 테이블 목록 조회
880
885
  */
881
- getTables(databaseId: string): Promise<TableSchema[]>;
886
+ getTables(): Promise<TableSchema[]>;
887
+ /**
888
+ * 테이블 상세 조회
889
+ */
890
+ getTable(tableId: string): Promise<TableSchema>;
882
891
  /**
883
892
  * 테이블 생성
884
893
  */
885
- createTable(databaseId: string, data: CreateTableRequest): Promise<TableSchema>;
894
+ createTable(data: CreateTableRequest): Promise<TableSchema>;
895
+ /**
896
+ * 테이블 수정
897
+ */
898
+ updateTable(tableId: string, data: Partial<CreateTableRequest>): Promise<void>;
886
899
  /**
887
900
  * 테이블 삭제
888
901
  */
889
- deleteTable(databaseId: string, tableId: string): Promise<void>;
902
+ deleteTable(tableId: string): Promise<void>;
890
903
  /**
891
- * 컬럼 목록 조회
904
+ * 컬럼 목록 조회 (Table.schema에서 추출)
892
905
  */
893
906
  getColumns(tableId: string): Promise<ColumnSchema[]>;
894
907
  /**
@@ -898,11 +911,11 @@ declare class DatabaseAPI {
898
911
  /**
899
912
  * 컬럼 수정
900
913
  */
901
- updateColumn(tableId: string, columnId: string, data: UpdateColumnRequest): Promise<ColumnSchema>;
914
+ updateColumn(tableId: string, columnName: string, data: UpdateColumnRequest): Promise<ColumnSchema>;
902
915
  /**
903
916
  * 컬럼 삭제
904
917
  */
905
- deleteColumn(tableId: string, columnId: string): Promise<void>;
918
+ deleteColumn(tableId: string, columnName: string): Promise<void>;
906
919
  /**
907
920
  * 데이터 조회 (페이지네이션)
908
921
  */
@@ -3382,7 +3395,7 @@ declare class SubscriptionAPI {
3382
3395
  * order_name: '추가 결제'
3383
3396
  * })
3384
3397
  *
3385
- * if (result.status === 'DONE') {
3398
+ * if (result.status === 'done') {
3386
3399
  * console.log('결제 완료!')
3387
3400
  * }
3388
3401
  * ```
@@ -3507,52 +3520,38 @@ declare class PushAPI {
3507
3520
  /**
3508
3521
  * 디바이스 등록 해제
3509
3522
  *
3510
- * @param deviceId 디바이스 ID
3523
+ * @param deviceToken 디바이스 토큰
3511
3524
  *
3512
3525
  * @example
3513
3526
  * ```typescript
3514
- * await cb.push.unregisterDevice('device-id-here')
3527
+ * await cb.push.unregisterDevice('fcm-token-here')
3515
3528
  * ```
3516
3529
  */
3517
- unregisterDevice(deviceId: string): Promise<void>;
3518
- /**
3519
- * 현재 등록된 디바이스 목록 조회
3520
- *
3521
- * @returns 디바이스 목록
3522
- */
3523
- getDevices(): Promise<DeviceInfo[]>;
3530
+ unregisterDevice(deviceToken: string): Promise<void>;
3524
3531
  /**
3525
3532
  * 토픽 구독
3526
3533
  *
3534
+ * @param deviceToken 디바이스 토큰
3527
3535
  * @param topicName 토픽 이름
3528
3536
  *
3529
3537
  * @example
3530
3538
  * ```typescript
3531
- * // 공지사항 토픽 구독
3532
- * await cb.push.subscribeTopic('announcements')
3533
- *
3534
- * // 마케팅 토픽 구독
3535
- * await cb.push.subscribeTopic('marketing')
3539
+ * await cb.push.subscribeTopic('fcm-token-here', 'announcements')
3536
3540
  * ```
3537
3541
  */
3538
- subscribeTopic(topicName: string): Promise<void>;
3542
+ subscribeTopic(deviceToken: string, topicName: string): Promise<void>;
3539
3543
  /**
3540
3544
  * 토픽 구독 해제
3541
3545
  *
3546
+ * @param deviceToken 디바이스 토큰
3542
3547
  * @param topicName 토픽 이름
3543
3548
  *
3544
3549
  * @example
3545
3550
  * ```typescript
3546
- * await cb.push.unsubscribeTopic('marketing')
3551
+ * await cb.push.unsubscribeTopic('fcm-token-here', 'marketing')
3547
3552
  * ```
3548
3553
  */
3549
- unsubscribeTopic(topicName: string): Promise<void>;
3550
- /**
3551
- * 구독 중인 토픽 목록 조회
3552
- *
3553
- * @returns 구독 중인 토픽 이름 목록
3554
- */
3555
- getSubscribedTopics(): Promise<string[]>;
3554
+ unsubscribeTopic(deviceToken: string, topicName: string): Promise<void>;
3556
3555
  /**
3557
3556
  * VAPID Public Key 조회 (Web Push용)
3558
3557
  *
@@ -3594,8 +3593,10 @@ declare class PushAPI {
3594
3593
  registerWebPush(subscription: PushSubscription | WebPushSubscription): Promise<DeviceInfo>;
3595
3594
  /**
3596
3595
  * Web Push 구독 해제
3596
+ *
3597
+ * @param deviceToken Web Push endpoint URL (등록 시 사용한 endpoint)
3597
3598
  */
3598
- unregisterWebPush(): Promise<void>;
3599
+ unregisterWebPush(deviceToken: string): Promise<void>;
3599
3600
  /**
3600
3601
  * 브라우저 고유 ID 생성 (localStorage에 저장)
3601
3602
  */
@@ -3832,6 +3833,62 @@ interface ChannelMembership {
3832
3833
  started_at: string;
3833
3834
  expires_at?: string;
3834
3835
  }
3836
+ interface VideoStorage {
3837
+ id: string;
3838
+ app_id: string;
3839
+ name: string;
3840
+ description: string;
3841
+ current_size: number;
3842
+ video_count: number;
3843
+ is_public: boolean;
3844
+ allow_server_to_server: boolean;
3845
+ allowed_origins: string[];
3846
+ strict_referer_check: boolean;
3847
+ cdn_provider: string;
3848
+ cdn_config: Record<string, unknown>;
3849
+ default_qualities: string[];
3850
+ hls_encryption_enabled: boolean;
3851
+ token_expiry_hours: number;
3852
+ created_at: string;
3853
+ updated_at: string;
3854
+ }
3855
+ interface CreateVideoStorageRequest {
3856
+ name: string;
3857
+ description?: string;
3858
+ is_public?: boolean;
3859
+ allow_server_to_server?: boolean;
3860
+ allowed_origins?: string[];
3861
+ strict_referer_check?: boolean;
3862
+ cdn_provider?: string;
3863
+ cdn_config?: Record<string, unknown>;
3864
+ default_qualities?: string[];
3865
+ hls_encryption_enabled?: boolean;
3866
+ token_expiry_hours?: number;
3867
+ }
3868
+ interface UpdateVideoStorageRequest {
3869
+ name?: string;
3870
+ description?: string;
3871
+ is_public?: boolean;
3872
+ allow_server_to_server?: boolean;
3873
+ allowed_origins?: string[];
3874
+ strict_referer_check?: boolean;
3875
+ cdn_provider?: string;
3876
+ cdn_config?: Record<string, unknown>;
3877
+ default_qualities?: string[];
3878
+ hls_encryption_enabled?: boolean;
3879
+ token_expiry_hours?: number;
3880
+ }
3881
+ interface VideoStorageListResponse {
3882
+ storage_videos: VideoStorage[];
3883
+ total_count: number;
3884
+ }
3885
+ interface StorageUploadOptions {
3886
+ title: string;
3887
+ description?: string;
3888
+ visibility?: VideoVisibility;
3889
+ tags?: string[];
3890
+ onProgress?: (progress: UploadProgress) => void;
3891
+ }
3835
3892
  interface SuperChat {
3836
3893
  id: string;
3837
3894
  video_id: string;
@@ -4045,6 +4102,55 @@ declare class VideoAPI {
4045
4102
  * Submit recommendation feedback
4046
4103
  */
4047
4104
  submitFeedback(videoId: string, feedback: 'interested' | 'not_interested'): Promise<void>;
4105
+ /**
4106
+ * Storage sub-namespace for video storage container operations
4107
+ */
4108
+ readonly storage: {
4109
+ /**
4110
+ * Create a video storage container
4111
+ */
4112
+ create: (data: CreateVideoStorageRequest) => Promise<VideoStorage>;
4113
+ /**
4114
+ * List video storage containers
4115
+ */
4116
+ list: () => Promise<VideoStorageListResponse>;
4117
+ /**
4118
+ * Get a video storage container
4119
+ */
4120
+ get: (storageId: string) => Promise<VideoStorage>;
4121
+ /**
4122
+ * Update a video storage container
4123
+ */
4124
+ update: (storageId: string, data: UpdateVideoStorageRequest) => Promise<VideoStorage>;
4125
+ /**
4126
+ * Delete a video storage container
4127
+ */
4128
+ delete: (storageId: string) => Promise<void>;
4129
+ /**
4130
+ * Upload a video to a specific storage via core-server proxy (chunked)
4131
+ */
4132
+ upload: (storageId: string, file: File, options: StorageUploadOptions) => Promise<Video>;
4133
+ /**
4134
+ * List videos in a specific storage
4135
+ */
4136
+ listVideos: (storageId: string, options?: VideoListOptions) => Promise<VideoListResponse>;
4137
+ /**
4138
+ * Get a video in a specific storage
4139
+ */
4140
+ getVideo: (storageId: string, videoId: string) => Promise<Video>;
4141
+ /**
4142
+ * Delete a video from a specific storage
4143
+ */
4144
+ deleteVideo: (storageId: string, videoId: string) => Promise<void>;
4145
+ /**
4146
+ * Get streaming URL for a video in a specific storage
4147
+ */
4148
+ getStreamUrl: (storageId: string, videoId: string) => Promise<StreamURLResponse>;
4149
+ /**
4150
+ * Get transcode status for a video in a specific storage
4151
+ */
4152
+ getTranscodeStatus: (storageId: string, videoId: string) => Promise<TranscodeStatus>;
4153
+ };
4048
4154
  }
4049
4155
 
4050
4156
  /**
@@ -5192,18 +5298,37 @@ interface KnowledgeSearchResponse {
5192
5298
  results: KnowledgeSearchResult[];
5193
5299
  total: number;
5194
5300
  }
5301
+ interface KnowledgeChatMessage {
5302
+ role: 'user' | 'assistant';
5303
+ content: string;
5304
+ }
5195
5305
  interface ChatRequest {
5196
5306
  message: string;
5307
+ messages?: KnowledgeChatMessage[];
5197
5308
  top_k?: number;
5309
+ provider?: string;
5198
5310
  model?: string;
5199
- stream?: boolean;
5200
5311
  }
5201
5312
  interface ChatResponse {
5202
5313
  answer: string;
5203
5314
  sources: KnowledgeSearchResult[];
5204
5315
  model: string;
5316
+ provider: string;
5205
5317
  token_used?: number;
5206
5318
  }
5319
+ interface ChatStreamEvent {
5320
+ type: 'sources' | 'token' | 'error';
5321
+ sources?: KnowledgeSearchResult[];
5322
+ model?: string;
5323
+ content?: string;
5324
+ done?: boolean;
5325
+ usage?: {
5326
+ prompt_tokens: number;
5327
+ completion_tokens: number;
5328
+ total_tokens: number;
5329
+ };
5330
+ error?: string;
5331
+ }
5207
5332
 
5208
5333
  /**
5209
5334
  * Knowledge Base API
@@ -5309,6 +5434,53 @@ declare class KnowledgeAPI {
5309
5434
  * @param topK - 반환할 결과 수 (기본값: 지식 베이스 설정)
5310
5435
  */
5311
5436
  searchGet(kbID: string, query: string, topK?: number): Promise<KnowledgeSearchResponse>;
5437
+ /**
5438
+ * RAG 챗 (동기)
5439
+ *
5440
+ * 지식 베이스의 문서를 검색하고 AI가 답변을 생성합니다.
5441
+ *
5442
+ * @param kbID - 지식 베이스 ID
5443
+ * @param request - 챗 요청
5444
+ * @returns AI 답변 + 참조 소스
5445
+ *
5446
+ * @example
5447
+ * ```typescript
5448
+ * const response = await cb.knowledge.chat('kb-id', {
5449
+ * message: '환불 정책이 어떻게 되나요?',
5450
+ * top_k: 5
5451
+ * })
5452
+ * console.log(response.answer)
5453
+ * console.log('참조:', response.sources)
5454
+ * ```
5455
+ */
5456
+ chat(kbID: string, request: ChatRequest): Promise<ChatResponse>;
5457
+ /**
5458
+ * RAG 챗 스트리밍 (SSE)
5459
+ *
5460
+ * AI 답변을 실시간으로 토큰 단위로 수신합니다.
5461
+ *
5462
+ * @param kbID - 지식 베이스 ID
5463
+ * @param request - 챗 요청
5464
+ * @param callbacks - 스트리밍 콜백
5465
+ *
5466
+ * @example
5467
+ * ```typescript
5468
+ * await cb.knowledge.chatStream('kb-id', {
5469
+ * message: '환불 정책이 어떻게 되나요?'
5470
+ * }, {
5471
+ * onSources: (sources, model) => console.log('참조:', sources),
5472
+ * onToken: (content) => process.stdout.write(content),
5473
+ * onDone: (usage) => console.log('\\n완료:', usage),
5474
+ * onError: (error) => console.error('에러:', error)
5475
+ * })
5476
+ * ```
5477
+ */
5478
+ chatStream(kbID: string, request: ChatRequest, callbacks: {
5479
+ onSources?: (sources: ChatStreamEvent['sources'], model?: string) => void;
5480
+ onToken?: (content: string) => void;
5481
+ onDone?: (usage?: ChatStreamEvent['usage']) => void;
5482
+ onError?: (error: string) => void;
5483
+ }): Promise<void>;
5312
5484
  }
5313
5485
 
5314
5486
  interface PublishMessageRequest {
@@ -5751,4 +5923,4 @@ declare class ConnectBase {
5751
5923
  updateConfig(config: Partial<ConnectBaseConfig>): void;
5752
5924
  }
5753
5925
 
5754
- export { type AckMessagesRequest, type AdReportResponse, type AdReportSummary, AdsAPI, type AggregateResult, type AggregateStage, ApiError, type ApiKeyItem, 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 ChatRequest, type ChatResponse, type ClientMessage, type ColumnSchema, type CommentListResponse, type CompleteUploadRequest, type CompleteUploadResponse, type ConfirmBillingKeyRequest, type ConfirmPaymentRequest, type ConfirmPaymentResponse, ConnectBase, type ConnectBaseConfig, type ConnectedData, type ConnectionState, type ConsumeMessagesResponse, type ConsumeOptions, type CopyTableRequest, type CopyTableResponse, type CreateApiKeyRequest, type CreateApiKeyResponse, type CreateBackupRequest, type CreateChannelRequest, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateLobbyRequest, type CreatePlaylistRequest, type CreateRelationRequest, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionRequest, type CreateTableRequest, type CreateTriggerRequest, 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 FetchApiKeysResponse, type FetchDataResponse, type FetchFilesResponse, 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 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 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 PauseSubscriptionRequest, type PaymentDetail, type PaymentProvider, type PaymentStatus, type PeerInfo, type Platform, type PlayerEvent, 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 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 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, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type StateChange, type StateChangeHandler, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamMessage, type StreamOptions, type StreamSession, type StreamTokenCallback, 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 TableIndex, type TableRelation, type TableSchema, type TransactionRead, type TransactionWrite, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UpdateApiKeyRequest, type UpdateApiKeyResponse, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateLobbyRequest, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UploadByPathOptions, type UploadFileResponse, type UploadOptions, type UploadProgress, type VAPIDPublicKeyResponse, type ValidateResponse, type Video, type VideoComment, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoVisibility, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WhereCondition, type WhereOperator, ConnectBase as default, isWebTransportSupported };
5926
+ export { type AckMessagesRequest, type AdReportResponse, type AdReportSummary, AdsAPI, type AggregateResult, type AggregateStage, ApiError, type ApiKeyItem, 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 ChatRequest, type ChatResponse, type ChatStreamEvent, type ClientMessage, type ColumnSchema, type CommentListResponse, type CompleteUploadRequest, type CompleteUploadResponse, type ConfirmBillingKeyRequest, type ConfirmPaymentRequest, type ConfirmPaymentResponse, ConnectBase, type ConnectBaseConfig, type ConnectedData, type ConnectionState, type ConsumeMessagesResponse, type ConsumeOptions, type CopyTableRequest, type CopyTableResponse, type CreateApiKeyRequest, type CreateApiKeyResponse, type CreateBackupRequest, type CreateChannelRequest, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateLobbyRequest, type CreatePlaylistRequest, 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 FetchApiKeysResponse, type FetchDataResponse, type FetchFilesResponse, 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 KnowledgeChatMessage, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, 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 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 PauseSubscriptionRequest, type PaymentDetail, type PaymentProvider, type PaymentStatus, type PeerInfo, type Platform, type PlayerEvent, 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 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 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, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamMessage, type StreamOptions, type StreamSession, type StreamTokenCallback, 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 TableIndex, type TableRelation, type TableSchema, type TransactionRead, type TransactionWrite, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UpdateApiKeyRequest, type UpdateApiKeyResponse, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateLobbyRequest, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileResponse, type UploadOptions, type UploadProgress, type VAPIDPublicKeyResponse, type ValidateResponse, type Video, type VideoComment, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoStorage, type VideoStorageListResponse, type VideoVisibility, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WhereCondition, type WhereOperator, ConnectBase as default, isWebTransportSupported };