connectbase-client 0.10.14 → 0.11.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/cli.js +53 -35
- package/dist/connect-base.umd.js +3 -3
- package/dist/index.d.mts +141 -55
- package/dist/index.d.ts +141 -55
- package/dist/index.js +112 -27
- package/dist/index.mjs +112 -27
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -8,6 +8,20 @@ declare class AuthError extends Error {
|
|
|
8
8
|
|
|
9
9
|
interface HttpClientConfig {
|
|
10
10
|
baseUrl: string;
|
|
11
|
+
/**
|
|
12
|
+
* Public Key (cb_pk_* 형식). 콘솔 → 설정 → API 에서 발급.
|
|
13
|
+
* 브라우저/클라이언트에서 사용 (Row Level Security 적용).
|
|
14
|
+
*/
|
|
15
|
+
publicKey?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Secret Key (cb_sk_* 형식). 사용자 프로필에서 발급.
|
|
18
|
+
* 서버 환경에서만 사용 (전체 권한, 절대 노출 금지).
|
|
19
|
+
*/
|
|
20
|
+
secretKey?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated `publicKey` 또는 `secretKey` 를 사용하세요.
|
|
23
|
+
* 한동안 하위 호환을 위해 유지됩니다 — 값에 따라 자동으로 publicKey/secretKey 로 라우팅됩니다.
|
|
24
|
+
*/
|
|
11
25
|
apiKey?: string;
|
|
12
26
|
accessToken?: string;
|
|
13
27
|
refreshToken?: string;
|
|
@@ -31,11 +45,31 @@ declare class HttpClient {
|
|
|
31
45
|
setTokens(accessToken: string, refreshToken: string): void;
|
|
32
46
|
clearTokens(): void;
|
|
33
47
|
/**
|
|
34
|
-
*
|
|
48
|
+
* Public Key 가 설정되어 있는지 확인
|
|
49
|
+
*/
|
|
50
|
+
hasPublicKey(): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Public Key 반환
|
|
53
|
+
*/
|
|
54
|
+
getPublicKey(): string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Secret Key 가 설정되어 있는지 확인
|
|
57
|
+
*/
|
|
58
|
+
hasSecretKey(): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Secret Key 반환
|
|
61
|
+
*/
|
|
62
|
+
getSecretKey(): string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* 현재 설정된 자격증명 (publicKey 또는 secretKey) 반환
|
|
65
|
+
*/
|
|
66
|
+
getCredential(): string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* @deprecated `hasPublicKey()` / `hasSecretKey()` 를 사용하세요.
|
|
35
69
|
*/
|
|
36
70
|
hasApiKey(): boolean;
|
|
37
71
|
/**
|
|
38
|
-
*
|
|
72
|
+
* @deprecated `getPublicKey()` / `getSecretKey()` / `getCredential()` 을 사용하세요.
|
|
39
73
|
*/
|
|
40
74
|
getApiKey(): string | undefined;
|
|
41
75
|
/**
|
|
@@ -1540,15 +1574,15 @@ declare class StorageAPI {
|
|
|
1540
1574
|
}
|
|
1541
1575
|
|
|
1542
1576
|
/**
|
|
1543
|
-
*
|
|
1577
|
+
* Public Key 관련 타입 정의
|
|
1544
1578
|
*/
|
|
1545
1579
|
/**
|
|
1546
|
-
*
|
|
1580
|
+
* Public Key 아이템
|
|
1547
1581
|
*/
|
|
1548
|
-
interface
|
|
1549
|
-
/**
|
|
1582
|
+
interface PublicKeyItem {
|
|
1583
|
+
/** Public Key ID */
|
|
1550
1584
|
id: string;
|
|
1551
|
-
/**
|
|
1585
|
+
/** Public Key 이름 */
|
|
1552
1586
|
name: string;
|
|
1553
1587
|
/** 키 앞 12자리 (표시용) */
|
|
1554
1588
|
key_prefix: string;
|
|
@@ -1562,21 +1596,21 @@ interface ApiKeyItem {
|
|
|
1562
1596
|
created_at: string;
|
|
1563
1597
|
}
|
|
1564
1598
|
/**
|
|
1565
|
-
*
|
|
1599
|
+
* Public Key 생성 요청
|
|
1566
1600
|
*/
|
|
1567
|
-
interface
|
|
1568
|
-
/**
|
|
1601
|
+
interface CreatePublicKeyRequest {
|
|
1602
|
+
/** Public Key 이름 (예: Production, Development) */
|
|
1569
1603
|
name: string;
|
|
1570
1604
|
/** 만료일 (옵션) */
|
|
1571
1605
|
expires_at?: string;
|
|
1572
1606
|
}
|
|
1573
1607
|
/**
|
|
1574
|
-
*
|
|
1608
|
+
* Public Key 생성 응답 (전체 키는 이때만 반환됨)
|
|
1575
1609
|
*/
|
|
1576
|
-
interface
|
|
1577
|
-
/**
|
|
1610
|
+
interface CreatePublicKeyResponse {
|
|
1611
|
+
/** Public Key ID */
|
|
1578
1612
|
id: string;
|
|
1579
|
-
/**
|
|
1613
|
+
/** Public Key 이름 */
|
|
1580
1614
|
name: string;
|
|
1581
1615
|
/** 전체 키 값 (생성 시에만 반환, 안전하게 보관 필요) */
|
|
1582
1616
|
key: string;
|
|
@@ -1590,24 +1624,24 @@ interface CreateApiKeyResponse {
|
|
|
1590
1624
|
created_at: string;
|
|
1591
1625
|
}
|
|
1592
1626
|
/**
|
|
1593
|
-
*
|
|
1627
|
+
* Public Key 목록 조회 응답
|
|
1594
1628
|
*/
|
|
1595
|
-
interface
|
|
1596
|
-
|
|
1629
|
+
interface FetchPublicKeysResponse {
|
|
1630
|
+
public_keys: PublicKeyItem[];
|
|
1597
1631
|
}
|
|
1598
1632
|
/**
|
|
1599
|
-
*
|
|
1633
|
+
* Public Key 수정 요청
|
|
1600
1634
|
*/
|
|
1601
|
-
interface
|
|
1602
|
-
/**
|
|
1635
|
+
interface UpdatePublicKeyRequest {
|
|
1636
|
+
/** Public Key 이름 변경 */
|
|
1603
1637
|
name?: string;
|
|
1604
1638
|
/** 활성화/비활성화 */
|
|
1605
1639
|
is_active?: boolean;
|
|
1606
1640
|
}
|
|
1607
1641
|
/**
|
|
1608
|
-
*
|
|
1642
|
+
* Public Key 수정 응답
|
|
1609
1643
|
*/
|
|
1610
|
-
interface
|
|
1644
|
+
interface UpdatePublicKeyResponse {
|
|
1611
1645
|
id: string;
|
|
1612
1646
|
name: string;
|
|
1613
1647
|
key_prefix: string;
|
|
@@ -1615,56 +1649,76 @@ interface UpdateApiKeyResponse {
|
|
|
1615
1649
|
expires_at?: string;
|
|
1616
1650
|
created_at: string;
|
|
1617
1651
|
}
|
|
1652
|
+
/** @deprecated `PublicKeyItem` 을 사용하세요. */
|
|
1653
|
+
type ApiKeyItem = PublicKeyItem;
|
|
1654
|
+
/** @deprecated `CreatePublicKeyRequest` 을 사용하세요. */
|
|
1655
|
+
type CreateApiKeyRequest = CreatePublicKeyRequest;
|
|
1656
|
+
/** @deprecated `CreatePublicKeyResponse` 을 사용하세요. */
|
|
1657
|
+
type CreateApiKeyResponse = CreatePublicKeyResponse;
|
|
1658
|
+
/** @deprecated `FetchPublicKeysResponse` 을 사용하세요. */
|
|
1659
|
+
type FetchApiKeysResponse = FetchPublicKeysResponse;
|
|
1660
|
+
/** @deprecated `UpdatePublicKeyRequest` 을 사용하세요. */
|
|
1661
|
+
type UpdateApiKeyRequest = UpdatePublicKeyRequest;
|
|
1662
|
+
/** @deprecated `UpdatePublicKeyResponse` 을 사용하세요. */
|
|
1663
|
+
type UpdateApiKeyResponse = UpdatePublicKeyResponse;
|
|
1618
1664
|
|
|
1619
1665
|
/**
|
|
1620
|
-
*
|
|
1666
|
+
* Public Key 관리 API
|
|
1621
1667
|
*
|
|
1622
1668
|
* @example
|
|
1623
1669
|
* ```typescript
|
|
1624
|
-
* //
|
|
1625
|
-
* const keys = await cb.
|
|
1670
|
+
* // Public Key 목록 조회
|
|
1671
|
+
* const keys = await cb.publicKey.getPublicKeys('app-id')
|
|
1626
1672
|
*
|
|
1627
|
-
* // 새
|
|
1628
|
-
* const newKey = await cb.
|
|
1673
|
+
* // 새 Public Key 생성
|
|
1674
|
+
* const newKey = await cb.publicKey.createPublicKey('app-id', { name: 'Production' })
|
|
1629
1675
|
* console.log(newKey.key) // 전체 키 (이때만 볼 수 있음!)
|
|
1630
1676
|
*
|
|
1631
|
-
* //
|
|
1632
|
-
* await cb.
|
|
1677
|
+
* // Public Key 비활성화
|
|
1678
|
+
* await cb.publicKey.updatePublicKey('app-id', 'key-id', { is_active: false })
|
|
1633
1679
|
*
|
|
1634
|
-
* //
|
|
1635
|
-
* await cb.
|
|
1680
|
+
* // Public Key 삭제
|
|
1681
|
+
* await cb.publicKey.deletePublicKey('app-id', 'key-id')
|
|
1636
1682
|
* ```
|
|
1637
1683
|
*/
|
|
1638
|
-
declare class
|
|
1684
|
+
declare class PublicKeyAPI {
|
|
1639
1685
|
private http;
|
|
1640
1686
|
constructor(http: HttpClient);
|
|
1641
1687
|
/**
|
|
1642
|
-
* 앱의
|
|
1688
|
+
* 앱의 Public Key 목록을 조회합니다
|
|
1643
1689
|
* @param appId 앱 ID
|
|
1644
1690
|
*/
|
|
1645
|
-
|
|
1691
|
+
getPublicKeys(appId: string): Promise<FetchPublicKeysResponse>;
|
|
1646
1692
|
/**
|
|
1647
|
-
* 새
|
|
1693
|
+
* 새 Public Key 를 생성합니다
|
|
1648
1694
|
*
|
|
1649
1695
|
* **중요**: 반환되는 `key` 값은 이 응답에서만 볼 수 있습니다.
|
|
1650
1696
|
* 안전한 곳에 저장하세요.
|
|
1651
1697
|
*
|
|
1652
1698
|
* @param appId 앱 ID
|
|
1653
|
-
* @param data 생성할
|
|
1699
|
+
* @param data 생성할 Public Key 정보
|
|
1654
1700
|
*/
|
|
1655
|
-
|
|
1701
|
+
createPublicKey(appId: string, data: CreatePublicKeyRequest): Promise<CreatePublicKeyResponse>;
|
|
1656
1702
|
/**
|
|
1657
|
-
*
|
|
1703
|
+
* Public Key 를 수정합니다 (이름 변경, 활성화/비활성화)
|
|
1658
1704
|
* @param appId 앱 ID
|
|
1659
|
-
* @param keyId
|
|
1705
|
+
* @param keyId Public Key ID
|
|
1660
1706
|
* @param data 수정할 정보
|
|
1661
1707
|
*/
|
|
1662
|
-
|
|
1708
|
+
updatePublicKey(appId: string, keyId: string, data: UpdatePublicKeyRequest): Promise<UpdatePublicKeyResponse>;
|
|
1663
1709
|
/**
|
|
1664
|
-
*
|
|
1710
|
+
* Public Key 를 삭제합니다
|
|
1665
1711
|
* @param appId 앱 ID
|
|
1666
|
-
* @param keyId
|
|
1667
|
-
*/
|
|
1712
|
+
* @param keyId Public Key ID
|
|
1713
|
+
*/
|
|
1714
|
+
deletePublicKey(appId: string, keyId: string): Promise<void>;
|
|
1715
|
+
/** @deprecated `getPublicKeys` 를 사용하세요. */
|
|
1716
|
+
getApiKeys(appId: string): Promise<FetchPublicKeysResponse>;
|
|
1717
|
+
/** @deprecated `createPublicKey` 를 사용하세요. */
|
|
1718
|
+
createApiKey(appId: string, data: CreatePublicKeyRequest): Promise<CreatePublicKeyResponse>;
|
|
1719
|
+
/** @deprecated `updatePublicKey` 를 사용하세요. */
|
|
1720
|
+
updateApiKey(appId: string, keyId: string, data: UpdatePublicKeyRequest): Promise<UpdatePublicKeyResponse>;
|
|
1721
|
+
/** @deprecated `deletePublicKey` 를 사용하세요. */
|
|
1668
1722
|
deleteApiKey(appId: string, keyId: string): Promise<void>;
|
|
1669
1723
|
}
|
|
1670
1724
|
|
|
@@ -4958,7 +5012,7 @@ declare class AdsAPI {
|
|
|
4958
5012
|
* ```typescript
|
|
4959
5013
|
* import ConnectBase from 'connectbase-client'
|
|
4960
5014
|
*
|
|
4961
|
-
* const cb = new ConnectBase({
|
|
5015
|
+
* const cb = new ConnectBase({ publicKey: 'your-public-key' })
|
|
4962
5016
|
*
|
|
4963
5017
|
* // 플랫폼 감지
|
|
4964
5018
|
* const platform = cb.native.getPlatform() // 'web' | 'mobile' | 'desktop'
|
|
@@ -5467,7 +5521,7 @@ interface KnowledgeSearchResponse {
|
|
|
5467
5521
|
*
|
|
5468
5522
|
* @example
|
|
5469
5523
|
* ```typescript
|
|
5470
|
-
* const cb = new ConnectBase({
|
|
5524
|
+
* const cb = new ConnectBase({ publicKey: 'your-public-key' })
|
|
5471
5525
|
*
|
|
5472
5526
|
* // 텍스트 문서 추가
|
|
5473
5527
|
* await cb.knowledge.addDocument('kb-id', {
|
|
@@ -5593,6 +5647,16 @@ interface AIChatRequest {
|
|
|
5593
5647
|
knowledgeBaseId?: string;
|
|
5594
5648
|
topK?: number;
|
|
5595
5649
|
agentic?: boolean;
|
|
5650
|
+
toolGroupId?: string;
|
|
5651
|
+
}
|
|
5652
|
+
interface AIToolEvent {
|
|
5653
|
+
type: 'tool_start' | 'tool_end' | 'heartbeat';
|
|
5654
|
+
name?: string;
|
|
5655
|
+
toolCallId?: string;
|
|
5656
|
+
arguments?: Record<string, unknown>;
|
|
5657
|
+
result?: string;
|
|
5658
|
+
success?: boolean;
|
|
5659
|
+
durationMs?: number;
|
|
5596
5660
|
}
|
|
5597
5661
|
interface AISource {
|
|
5598
5662
|
chunkId: string;
|
|
@@ -5615,12 +5679,18 @@ interface AIChatResponse {
|
|
|
5615
5679
|
sources?: AISource[];
|
|
5616
5680
|
}
|
|
5617
5681
|
interface AIStreamChunk {
|
|
5618
|
-
type?: 'sources' | 'token';
|
|
5682
|
+
type?: 'sources' | 'token' | 'searching' | 'tool_start' | 'tool_end' | 'heartbeat';
|
|
5619
5683
|
content: string;
|
|
5620
5684
|
finishReason?: string;
|
|
5621
5685
|
done: boolean;
|
|
5622
5686
|
toolCalls?: AIToolCall[];
|
|
5623
5687
|
sources?: AISource[];
|
|
5688
|
+
name?: string;
|
|
5689
|
+
toolCallId?: string;
|
|
5690
|
+
arguments?: Record<string, unknown>;
|
|
5691
|
+
result?: string;
|
|
5692
|
+
success?: boolean;
|
|
5693
|
+
durationMs?: number;
|
|
5624
5694
|
}
|
|
5625
5695
|
|
|
5626
5696
|
/**
|
|
@@ -5631,7 +5701,7 @@ interface AIStreamChunk {
|
|
|
5631
5701
|
*
|
|
5632
5702
|
* @example
|
|
5633
5703
|
* ```typescript
|
|
5634
|
-
* const cb = new ConnectBase({
|
|
5704
|
+
* const cb = new ConnectBase({ publicKey: 'your-public-key' })
|
|
5635
5705
|
*
|
|
5636
5706
|
* // 일반 AI 채팅
|
|
5637
5707
|
* const response = await cb.ai.chat({
|
|
@@ -5673,6 +5743,7 @@ declare class AIAPI {
|
|
|
5673
5743
|
chatStream(request: AIChatRequest, callbacks: {
|
|
5674
5744
|
onSources?: (sources: AISource[]) => void;
|
|
5675
5745
|
onToken?: (content: string) => void;
|
|
5746
|
+
onToolEvent?: (event: AIToolEvent) => void;
|
|
5676
5747
|
onDone?: () => void;
|
|
5677
5748
|
onError?: (error: string) => void;
|
|
5678
5749
|
}): Promise<void>;
|
|
@@ -5741,7 +5812,7 @@ interface QueueInfoResponse {
|
|
|
5741
5812
|
*
|
|
5742
5813
|
* @example
|
|
5743
5814
|
* ```typescript
|
|
5744
|
-
* const cb = new ConnectBase({
|
|
5815
|
+
* const cb = new ConnectBase({ publicKey: 'your-public-key' })
|
|
5745
5816
|
*
|
|
5746
5817
|
* // 메시지 발행
|
|
5747
5818
|
* await cb.queue.publish('queue-id', {
|
|
@@ -5958,7 +6029,18 @@ interface ConnectBaseConfig {
|
|
|
5958
6029
|
*/
|
|
5959
6030
|
appId?: string;
|
|
5960
6031
|
/**
|
|
5961
|
-
*
|
|
6032
|
+
* Public Key (cb_pk_* 형식, 콘솔 → 설정 → API 에서 발급)
|
|
6033
|
+
* 브라우저/클라이언트에서 사용. RLS(Row Level Security) 적용.
|
|
6034
|
+
*/
|
|
6035
|
+
publicKey?: string;
|
|
6036
|
+
/**
|
|
6037
|
+
* Secret Key (cb_sk_* 형식, 사용자 프로필에서 발급)
|
|
6038
|
+
* 서버 환경에서만 사용. 전체 권한 — 절대 노출 금지.
|
|
6039
|
+
*/
|
|
6040
|
+
secretKey?: string;
|
|
6041
|
+
/**
|
|
6042
|
+
* @deprecated `publicKey` (cb_pk_) 또는 `secretKey` (cb_sk_) 를 사용하세요.
|
|
6043
|
+
* 한동안 하위 호환 alias 로 작동합니다 — prefix 에 따라 자동 라우팅됩니다.
|
|
5962
6044
|
*/
|
|
5963
6045
|
apiKey?: string;
|
|
5964
6046
|
/**
|
|
@@ -5978,7 +6060,7 @@ interface ConnectBaseConfig {
|
|
|
5978
6060
|
* @example
|
|
5979
6061
|
* ```typescript
|
|
5980
6062
|
* const cb = new ConnectBase({
|
|
5981
|
-
*
|
|
6063
|
+
* publicKey: 'your-public-key',
|
|
5982
6064
|
* onTokenExpired: () => {
|
|
5983
6065
|
* // 로그인 페이지로 리다이렉트
|
|
5984
6066
|
* window.location.href = '/login'
|
|
@@ -6001,13 +6083,13 @@ interface ConnectBaseConfig {
|
|
|
6001
6083
|
*
|
|
6002
6084
|
* // 간단 초기화 (API Key만 필요)
|
|
6003
6085
|
* const cb = new ConnectBase({
|
|
6004
|
-
*
|
|
6086
|
+
* publicKey: 'your-public-key'
|
|
6005
6087
|
* })
|
|
6006
6088
|
*
|
|
6007
6089
|
* // 커스텀 서버 URL 사용 시
|
|
6008
6090
|
* const cb = new ConnectBase({
|
|
6009
6091
|
* baseUrl: 'https://your-server.com',
|
|
6010
|
-
*
|
|
6092
|
+
* publicKey: 'your-public-key'
|
|
6011
6093
|
* })
|
|
6012
6094
|
*
|
|
6013
6095
|
* // 데이터 조회
|
|
@@ -6041,9 +6123,13 @@ declare class ConnectBase {
|
|
|
6041
6123
|
*/
|
|
6042
6124
|
readonly storage: StorageAPI;
|
|
6043
6125
|
/**
|
|
6044
|
-
*
|
|
6126
|
+
* Public Key 관리 API
|
|
6127
|
+
*/
|
|
6128
|
+
readonly publicKey: PublicKeyAPI;
|
|
6129
|
+
/**
|
|
6130
|
+
* @deprecated `publicKey` 를 사용하세요. 동일한 인스턴스를 가리키는 하위 호환 별칭입니다.
|
|
6045
6131
|
*/
|
|
6046
|
-
readonly apiKey:
|
|
6132
|
+
readonly apiKey: PublicKeyAPI;
|
|
6047
6133
|
/**
|
|
6048
6134
|
* 서버리스 함수 API
|
|
6049
6135
|
*/
|
|
@@ -6123,4 +6209,4 @@ declare class ConnectBase {
|
|
|
6123
6209
|
updateConfig(config: Partial<ConnectBaseConfig>): void;
|
|
6124
6210
|
}
|
|
6125
6211
|
|
|
6126
|
-
export { AIAPI, type AIChatRequest, type AIChatResponse, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, 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 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 KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LeaderboardEntry, type LifecyclePolicy, type ListBillingKeysResponse, type ListDocumentsResponse, type ListPageMetasOptions, type ListPageMetasResponse, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MemberInfoResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, NativeAPI, type OAuthCallbackResponse, type OAuthProvider, type OpenDialogOptions, type OpenDialogResult, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentProvider, type PaymentStatus, type PeerInfo, type Platform, type PlayerEvent, type PlayerStats, type Playlist, type PlaylistItem, type PongMessage, type PopulateOption, type Position, type PreparePaymentRequest, type PreparePaymentResponse, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type QualityProgress, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, type RealtimeMessage, type RegisterDeviceRequest, type RelationType, type RenameFileRequest, type RenameFileResponse, type ReplayHighlight, type ReplayInfo, type ReplayPlayerInfo, type RestoreBackupRequest, type RestoreBackupResponse, type RetentionPolicy, type RoomInfo, type RoomStats, type RoomsResponse, type SaveDialogOptions, type SaveDialogResult, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type ServerMessage, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamMessage, type StreamOptions, type StreamSession, type StreamTokenCallback, type StreamToolCallCallback, type StreamToolResultCallback, type StreamURLResponse, type SubscribeOptions, type SubscribeTopicRequest, type SubscribedData, type Subscription, type SubscriptionPaymentResponse, type SubscriptionPaymentStatus, type SubscriptionResponse, type SubscriptionStatus, type SuperChat, type SystemInfo, type TTLConfig, type 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 VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WhereCondition, type WhereOperator, ConnectBase as default, isWebTransportSupported };
|
|
6212
|
+
export { AIAPI, type AIChatRequest, type AIChatResponse, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, type AckMessagesRequest, type AdReportResponse, type AdReportSummary, AdsAPI, type AggregateResult, type AggregateStage, 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 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 CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionRequest, type CreateTableRequest, type CreateTriggerRequest, type CreateVideoStorageRequest, type DailyReport, type DataItem, type DataType, type DatabaseChange, type DatabaseChangeMessage, type DatabaseChangeType, type DatabasePresenceState, type DatabaseRealtimeConnectOptions, type DatabaseRealtimeFilter, type DatabaseRealtimeHandlers, type DatabaseRealtimeSubscription, type DatabaseSnapshot, type DatabaseSnapshotMessage, type DatabaseSubscribeOptions, type DeleteWhereResponse, type DeviceInfo, type DocumentResponse, type EnabledProviderInfo, type EnabledProvidersResponse, type ErrorHandler, type ErrorMessage, type ErrorReport, type ErrorTrackerConfig, type ErrorType, type ExportDataRequest, type ExportDataResponse, type FetchApiKeysResponse, type FetchDataResponse, type FetchFilesResponse, type FetchPublicKeysResponse, type FileItem, type FileStats, GameAPI, type GameAction, type GameClientConfig, type GameConnectionState, type GameConnectionStatus, type GameDelta, type GameEventHandlers, type GamePlayer, GameRoom, type GameRoomConfig, type GameRoomInfo, GameRoomTransport, type GameServerMessage, type GameServerMessageType, type GameState, type GameTransportConfig, type GenerateUploadURLByPathRequest, type GenerateUploadURLRequest, type GenerateUploadURLResponse, type GeoIndex, type GeoNear, type GeoPoint, type GeoPolygon, type GeoQuery, type GeoResponse, type GeoResult, type GeoWithin, type GetAuthorizationURLResponse, type GetFileByPathResponse, type GoogleConnectionStatus, type GuestMemberSignInResponse, type HistoryResponse, type ICEServer, type ICEServersResponse, type ImageResult, type ImportDataRequest, type ImportDataResponse, type IndexAnalysis, type IndexRecommendation, type InitUploadResponse, type InvokeFunctionRequest, type InvokeFunctionResponse, type IssueBillingKeyRequest, type IssueBillingKeyResponse, type JoinQueueRequest, type JoinRoomRequest, type JoinRoomResponse, type KnowledgeSearchRequest, type KnowledgeSearchResponse, type KnowledgeSearchResult, type LeaderboardEntry, type LifecyclePolicy, type ListBillingKeysResponse, type ListDocumentsResponse, type ListPageMetasOptions, type ListPageMetasResponse, type ListSubscriptionPaymentsRequest, type ListSubscriptionPaymentsResponse, type ListSubscriptionsRequest, type ListSubscriptionsResponse, type LobbyInfo, type LobbyInvite, type LobbyMember, type LobbyVisibility, type MatchResult, type MatchmakingTicket, type MemberInfoResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, NativeAPI, type OAuthCallbackResponse, type OAuthProvider, type OpenDialogOptions, type OpenDialogResult, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentProvider, type PaymentStatus, type PeerInfo, type Platform, type PlayerEvent, type PlayerStats, type Playlist, type PlaylistItem, type PongMessage, type PopulateOption, type Position, type PreparePaymentRequest, type PreparePaymentResponse, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type PublicKeyItem, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type QualityProgress, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, type RealtimeMessage, type RegisterDeviceRequest, type RelationType, type RenameFileRequest, type RenameFileResponse, type ReplayHighlight, type ReplayInfo, type ReplayPlayerInfo, type RestoreBackupRequest, type RestoreBackupResponse, type RetentionPolicy, type RoomInfo, type RoomStats, type RoomsResponse, type SaveDialogOptions, type SaveDialogResult, type SearchIndex, type SearchOptions, type SearchResponse, type SearchResult, type SecurityRule, type SendOptions, type ServerMessage, type SetPageMetaRequest, type Shorts, type ShortsListResponse, type SignalingMessage, type SignalingMessageType, type SlowQueryInfo, type SpectatorInfo, type SpectatorPlayerState, type SpectatorState, type StateChange, type StateChangeHandler, type StorageUploadOptions, type StreamDoneCallback, type StreamDoneData, type StreamErrorCallback, type StreamHandlers, type StreamMessage, type StreamOptions, type StreamSession, type StreamTokenCallback, type StreamToolCallCallback, type StreamToolResultCallback, type StreamURLResponse, type SubscribeOptions, type SubscribeTopicRequest, type SubscribedData, type Subscription, type SubscriptionPaymentResponse, type SubscriptionPaymentStatus, type SubscriptionResponse, type SubscriptionStatus, type SuperChat, type SystemInfo, type TTLConfig, type 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 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 Video, type VideoComment, type VideoListOptions, type VideoListResponse, VideoProcessingError, type VideoQuality, type VideoStatus, type VideoStorage, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WhereCondition, type WhereOperator, ConnectBase as default, isWebTransportSupported };
|