connectbase-client 6.19.0 → 6.20.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
@@ -5425,7 +5425,10 @@ declare const AUTH_MEMBER_ID_TOKEN: "$auth.member_id";
5425
5425
  interface KnowledgeSearchRequest {
5426
5426
  /** 검색 쿼리 (필수) */
5427
5427
  query: string;
5428
- /** 반환할 결과 수 (기본: KB 설정값) */
5428
+ /**
5429
+ * 반환할 결과 수 (기본: KB 설정값 `search_top_k`). 서버가 1~50 으로 자른다 — 50 보다 크게
5430
+ * 보내도 오류 없이 50 개까지만 온다 (KB 설정 `search_top_k` 의 상한과 같다).
5431
+ */
5429
5432
  top_k?: number;
5430
5433
  /** Agentic Search 활성화 — AI 가 쿼리를 자동 생성하여 다중 검색 수행 */
5431
5434
  agentic?: boolean;
@@ -5441,6 +5444,21 @@ interface KnowledgeSearchRequest {
5441
5444
  * AppMember JWT 컨텍스트가 있으면 서버가 추가로 metadata.user_id 강제 필터를 AND.
5442
5445
  */
5443
5446
  where?: Record<string, unknown>;
5447
+ /**
5448
+ * 인접 청크 확장(parent-document retrieval). 1 이상이면 매칭된 각 청크에 같은 문서의 앞뒤
5449
+ * 청크(`chunk_index` ± N)를 이어 붙여 결과의 `expanded_content` 에 채운다. 정밀한 작은 청크로
5450
+ * 찾되 LLM 에 넘길 문맥은 넓힐 때 쓴다. 순위와 점수, `content` 는 매칭 청크 그대로다.
5451
+ *
5452
+ * 기본 0(끔). 서버가 0~4 로 자른다 (4 보다 크면 4, 음수는 0). 추가 비용은 문서별 청크 조회
5453
+ * 한 번이고 임베딩이나 LLM 호출은 없다.
5454
+ *
5455
+ * @example
5456
+ * ```typescript
5457
+ * const res = await cb.knowledge.search(kbId, { query: '환불 규정', neighbor_window: 1 })
5458
+ * const context = res.results.map((r) => r.expanded_content ?? r.content).join('\n\n')
5459
+ * ```
5460
+ */
5461
+ neighbor_window?: number;
5444
5462
  }
5445
5463
  interface KnowledgeSearchResult {
5446
5464
  chunk_id: string;
@@ -5451,6 +5469,11 @@ interface KnowledgeSearchResult {
5451
5469
  score: number;
5452
5470
  chunk_index: number;
5453
5471
  metadata?: Record<string, unknown>;
5472
+ /**
5473
+ * 요청에 `neighbor_window` 를 1 이상 주고 인접 청크가 실제로 붙은 경우에만 온다. 매칭 청크와
5474
+ * 앞뒤 청크를 `chunk_index` 순으로 이어 붙인 넓은 문맥이다. 인용과 출처 표시는 `content` 를 쓴다.
5475
+ */
5476
+ expanded_content?: string;
5454
5477
  }
5455
5478
  interface KnowledgeSearchResponse {
5456
5479
  query: string;
@@ -8266,21 +8289,43 @@ declare class PushAPI {
8266
8289
  interface PublishMessageRequest {
8267
8290
  body: unknown;
8268
8291
  headers?: Record<string, string>;
8292
+ /**
8293
+ * 지연 전달 (0-86400초). 생략하면 큐 기본 지연을 쓴다. 서버가 예약해 두었다가 그 시각에 큐에 넣으므로, 트리거와
8294
+ * `consume()` 모두 그 전에는 받지 않고 기다리는 동안 다른 메시지를 막지도 않는다. `publishBatch()` 에도 적용된다.
8295
+ */
8269
8296
  delay_seconds?: number;
8297
+ /** 중복 방지 ID (5분 창). FIFO 큐는 생략하면 서버가 만든다(단건, 배치 모두). */
8270
8298
  deduplication_id?: string;
8299
+ /** 메시지 TTL (초, 큐 retention 이하). 메시지가 전달 가능해진 때(지연 메시지는 그 시각)부터 세어 지나면 서버가 지운다. 배치에도 적용된다. */
8271
8300
  ttl_seconds?: number;
8272
8301
  }
8273
8302
  interface PublishMessageResponse {
8274
8303
  message_id: string;
8275
8304
  published_at: string;
8305
+ /** 같은 deduplication_id 가 5분 안에 이미 발행돼 이번 발행이 버려졌으면 true. 그때 message_id 는 먼저 발행된 메시지의 것이다. */
8306
+ duplicate?: boolean;
8307
+ /**
8308
+ * 지연 메시지가 전달 가능해지는 시각. 지연 메시지는 이 시각에 새로 만들어지므로 소비할 때의 `message_id` 는
8309
+ * 이 응답의 `message_id`(예약의 ID)와 다르다.
8310
+ */
8311
+ deliver_at?: string;
8276
8312
  }
8277
8313
  interface PublishBatchRequest {
8278
8314
  messages: PublishMessageRequest[];
8279
8315
  }
8316
+ /** 배치 발행에서 실패한 메시지 하나 */
8317
+ interface PublishBatchError {
8318
+ /** 요청 `messages` 안의 위치 (0부터) */
8319
+ index: number;
8320
+ /** 실패 사유 (예: 크기 초과, delay_seconds 범위 밖, ttl_seconds 가 retention 초과) */
8321
+ error: string;
8322
+ }
8280
8323
  interface PublishBatchResponse {
8281
8324
  published: PublishMessageResponse[];
8282
8325
  failed: number;
8283
8326
  total: number;
8327
+ /** 실패한 메시지의 위치와 사유. 실패가 없으면 생략된다. */
8328
+ errors?: PublishBatchError[];
8284
8329
  }
8285
8330
  interface ConsumeOptions {
8286
8331
  max_messages?: number;
@@ -8300,15 +8345,59 @@ interface ConsumeMessagesResponse {
8300
8345
  messages: QueueMessage[];
8301
8346
  /** auto_ack=false 시 반환. Ack 호출 시 사용 */
8302
8347
  ack_token?: string;
8348
+ /** auto_ack=false 일 때, 확인하지 않으면 다시 전달되기까지의 초 (요청 값 또는 큐 기본값) */
8349
+ visibility_timeout?: number;
8303
8350
  }
8304
8351
  interface AckMessagesRequest {
8305
8352
  message_ids: string[];
8306
- /** auto_ack=false 소비 시 반환된 ack_token */
8353
+ /**
8354
+ * auto_ack=false 소비 시 반환된 ack_token. 빼도 message_ids 로 실제로 확인되지만, 넘기면 그 소비가 잡고 있던
8355
+ * 자리를 바로 풀어 다음 `consume()` 이 기다리지 않는다.
8356
+ */
8307
8357
  ack_token?: string;
8308
8358
  }
8359
+ /** ack 결과 */
8360
+ interface AckMessagesResponse {
8361
+ message: string;
8362
+ /** 이번 요청으로 실제로 확인(큐에서 끝냄)한 메시지 ID */
8363
+ acked: string[];
8364
+ /** 큐에 이미 없던 메시지 ID (auto_ack=true 로 받았거나 이미 ack 됨, 만료, 잘못된 ID) */
8365
+ not_found: string[];
8366
+ /** 서버 오류로 확인하지 못한 메시지 ID. 다시 ack 하면 된다. */
8367
+ failed?: string[];
8368
+ }
8369
+ /** nack 옵션. 전부 생략할 수 있다. */
8309
8370
  interface NackMessageRequest {
8310
- payload: unknown;
8371
+ /**
8372
+ * 바꿔 넣을 본문. 생략하면 원본 그대로 다시 전달한다.
8373
+ * 원본이 이미 큐에 없을 때(auto_ack=true 로 받은 메시지)는 payload 가 있어야 한다(없으면 404).
8374
+ */
8375
+ payload?: unknown;
8376
+ /** 재전달 지연 (0-86400초). 서버가 예약해 두므로 기다리는 동안 다른 메시지를 막지 않는다. */
8311
8377
  delay_seconds?: number;
8378
+ /** `consume()` 이 돌려준 ack_token. 넘기면 그 소비가 잡고 있는 원본을 바로 찾는다(생략 가능). */
8379
+ ack_token?: string;
8380
+ }
8381
+ /** nack 결과 */
8382
+ interface NackMessageResponse {
8383
+ message: string;
8384
+ /**
8385
+ * 다시 전달하는 방법.
8386
+ * - `'redeliver'`: payload 도 delay_seconds 도 없을 때. 같은 메시지를 바로 다시 전달한다(같은 `message_id`,
8387
+ * `delivery_count` 증가, `max_retries` 를 넘기면 DLQ).
8388
+ * - `'republish'`: payload 나 delay_seconds 가 있을 때. 새 메시지로 넣고 원본을 끝낸다(`headers["Nack-Count"]` 증가).
8389
+ */
8390
+ requeue: "redeliver" | "republish";
8391
+ /** 다시 전달될 메시지 ID. redeliver 면 원본과 같다. 지연 republish 면 예약의 ID 라 실제로 전달될 때 또 새 ID 를 받는다. */
8392
+ message_id: string;
8393
+ original_message_id: string;
8394
+ delay_seconds: number;
8395
+ /** delay_seconds 가 있을 때 다시 전달되는 시각 */
8396
+ deliver_at?: string;
8397
+ /** republish 로 다시 들어간 횟수. 다시 받은 메시지의 `headers["Nack-Count"]` 와 같다. */
8398
+ nack_count: number;
8399
+ /** republish 때 원본을 큐에서 끝냈는지. redeliver 이거나 원본이 이미 없었으면(auto_ack=true 소비 등) false. */
8400
+ original_removed: boolean;
8312
8401
  }
8313
8402
  interface QueueInfoResponse {
8314
8403
  id: string;
@@ -8357,6 +8446,10 @@ declare class QueueAPI {
8357
8446
  publish(queueID: string, data: PublishMessageRequest): Promise<PublishMessageResponse>;
8358
8447
  /**
8359
8448
  * 배치 메시지 발행 (최대 100개) — 엔드유저 동작. 퍼블릭 키만으로 동작합니다.
8449
+ *
8450
+ * 각 메시지는 `publish()` 와 같은 규칙을 따릅니다: `delay_seconds`(생략 시 큐 기본 지연), `ttl_seconds`,
8451
+ * FIFO 큐의 `deduplication_id` 자동 생성. 실패한 메시지는 배치 전체를 실패시키지 않고 `failed` 수와
8452
+ * `errors`(위치, 사유)로 알려 줍니다.
8360
8453
  */
8361
8454
  publishBatch(queueID: string, data: PublishBatchRequest): Promise<PublishBatchResponse>;
8362
8455
  /**
@@ -8367,6 +8460,12 @@ declare class QueueAPI {
8367
8460
  *
8368
8461
  * auto_ack=false(기본값): 명시적 Ack 필요. 응답의 ack_token을 ack() 호출 시 전달.
8369
8462
  * auto_ack=true: 즉시 자동 Ack (at-most-once, 유실 가능)
8463
+ *
8464
+ * - 여러 워커(프로세스)가 같은 큐를 동시에 consume 해도 됩니다. 한 메시지는 한 워커에게만 갑니다.
8465
+ * - `visibility_timeout` 안에 ack 하지 않으면 다시 전달됩니다. 생략하면 큐 설정값(기본 30초)입니다.
8466
+ * - 큐의 `max_retries` 를 넘겨 전달된 메시지는 DLQ 로 옮겨집니다(DLQ 가 켜져 있을 때).
8467
+ * - 지연 메시지(`delay_seconds`)는 그 시각이 되어야 받습니다.
8468
+ * - function 트리거가 걸린 큐는 메시지가 트리거로 가므로 consume 할 수 없습니다(409).
8370
8469
  */
8371
8470
  consume(queueID: string, options?: ConsumeOptions): Promise<ConsumeMessagesResponse>;
8372
8471
  /**
@@ -8374,15 +8473,39 @@ declare class QueueAPI {
8374
8473
  *
8375
8474
  * **워커 동작 — Secret Key 필수.** 퍼블릭 키만이면 401 `SECRET_KEY_REQUIRED`.
8376
8475
  *
8377
- * ackToken: auto_ack=false 소비 시 반환된 ack_token. 생략 시 message_ids로만 확인.
8476
+ * ackToken: auto_ack=false 소비 시 반환된 ack_token. 생략해도 message_ids 로 실제로 확인되지만,
8477
+ * 넘기면 그 소비가 잡고 있던 자리를 바로 풀어 다음 consume() 이 기다리지 않습니다.
8478
+ *
8479
+ * 응답의 `acked` 는 실제로 확인한 메시지, `not_found` 는 큐에 이미 없던 메시지(auto_ack=true 로 받았거나
8480
+ * 이미 ack 됨, 만료)입니다.
8378
8481
  */
8379
- ack(queueID: string, messageIds: string[], ackToken?: string): Promise<void>;
8482
+ ack(queueID: string, messageIds: string[], ackToken?: string): Promise<AckMessagesResponse>;
8380
8483
  /**
8381
- * 메시지 재시도 요청 (Nack)
8484
+ * 메시지 재시도 요청 (Nack) — "이 메시지를 다시 전달하라"
8382
8485
  *
8383
8486
  * **워커 동작 — Secret Key 필수.** 퍼블릭 키만이면 401 `SECRET_KEY_REQUIRED`.
8487
+ *
8488
+ * - `options` 를 통째로 생략하면 같은 메시지를 곧바로 다시 전달합니다(`requeue: 'redeliver'`, 같은 `message_id`,
8489
+ * `delivery_count` 증가, 큐의 `max_retries` 를 넘기면 DLQ).
8490
+ * - `payload` 나 `delay_seconds` 를 주면 새 메시지로 다시 넣고 원본은 끝냅니다(`requeue: 'republish'`, 새
8491
+ * `message_id`, `headers["Nack-Count"]` 증가). 지연은 서버가 예약해 두므로 기다리는 동안 다른 메시지를 막지 않습니다.
8492
+ * - 어느 쪽이든 따로 `ack()` 하지 않으며, 원본이 visibility timeout 뒤 한 번 더 오지 않습니다.
8493
+ * - `auto_ack: true` 로 받은 메시지는 이미 큐에 없으므로 `payload` 를 줘야 합니다(없으면 404).
8494
+ *
8495
+ * @example
8496
+ * ```typescript
8497
+ * const { messages, ack_token } = await worker.queue.consume('queue-id')
8498
+ * for (const msg of messages) {
8499
+ * try {
8500
+ * await processMessage(msg.body)
8501
+ * await worker.queue.ack('queue-id', [msg.message_id], ack_token)
8502
+ * } catch {
8503
+ * await worker.queue.nack('queue-id', msg.message_id, { delay_seconds: 30, ack_token })
8504
+ * }
8505
+ * }
8506
+ * ```
8384
8507
  */
8385
- nack(queueID: string, messageId: string, options?: NackMessageRequest): Promise<void>;
8508
+ nack(queueID: string, messageId: string, options?: NackMessageRequest): Promise<NackMessageResponse>;
8386
8509
  /**
8387
8510
  * 큐 정보 조회 (큐 목록/깊이 등 운영 정보)
8388
8511
  *
@@ -9895,37 +10018,56 @@ declare class StorageAPI {
9895
10018
  }
9896
10019
 
9897
10020
  interface IssueBillingKeyRequest {
9898
- /** 토스 인증 키 (카드 등록 후 받은 키) */
9899
- auth_key: string;
9900
- /** 고객 이메일 */
10021
+ /** 고객 키. 생략하면 서버가 `customer_<uuid>` 로 만든다. 위젯과 `confirmBillingKey` 에 같은 값을 쓴다. */
10022
+ customer_key?: string;
10023
+ /**
10024
+ * @deprecated 서버가 받지 않는 값이다 (발급 시작 단계에는 토스 인증 키가 없다). 위젯 콜백의 authKey 는
10025
+ * `confirmBillingKey({ auth_key })` 에 넣는다.
10026
+ */
10027
+ auth_key?: string;
10028
+ /** @deprecated 발급 시작은 빌링키를 저장하지 않아 버려진다. `confirmBillingKey` 에 넣는다. */
9901
10029
  customer_email?: string;
9902
- /** 고객 이름 */
10030
+ /** @deprecated 발급 시작은 빌링키를 저장하지 않아 버려진다. `confirmBillingKey` 에 넣는다. */
9903
10031
  customer_name?: string;
9904
- /** 고객 전화번호 */
10032
+ /** @deprecated 발급 시작은 빌링키를 저장하지 않아 버려진다. `confirmBillingKey` 에 넣는다. */
9905
10033
  customer_phone?: string;
9906
- /** 기본 결제 수단으로 설정 */
10034
+ /** @deprecated 발급 시작은 빌링키를 저장하지 않아 버려진다. `confirmBillingKey` 에 넣는다. */
9907
10035
  is_default?: boolean;
9908
10036
  }
9909
10037
  interface IssueBillingKeyResponse {
9910
- /** 빌링키 등록을 위한 URL */
9911
- auth_url: string;
9912
- /** 고객 키 (토스에서 사용) */
10038
+ /** 고객 키 (토스 위젯 `customerKey` 에 넣는다) */
9913
10039
  customer_key: string;
9914
- /** 토스 클라이언트 키 */
10040
+ /** 토스 클라이언트 키 (위젯 초기화용) */
9915
10041
  toss_client_key: string;
10042
+ /** 앱 결제 설정의 성공 URL (설정이 없으면 플랫폼 기본값). 위젯 `successUrl` 로 쓸 수 있다. */
10043
+ success_url: string;
10044
+ /** 앱 결제 설정의 실패 URL (설정이 없으면 플랫폼 기본값). 위젯 `failUrl` 로 쓸 수 있다. */
10045
+ fail_url: string;
10046
+ /**
10047
+ * @deprecated 발급 시작 때 만든 임시 UUID 로 저장되지 않는다. `confirmBillingKey` 가 돌려주는 빌링키의 `id` 와
10048
+ * 다르므로 `create({ billing_key_id })` 에 쓰면 안 된다.
10049
+ */
10050
+ billing_key_id: string;
10051
+ /** @deprecated 서버가 채우지 않는다 (늘 빈 문자열). 토스 위젯(`requestBillingAuth`)을 쓴다. */
10052
+ auth_url: string;
9916
10053
  }
9917
10054
  interface ConfirmBillingKeyRequest {
9918
10055
  /** 고객 키 */
9919
10056
  customer_key: string;
9920
10057
  /** 토스 인증 키 */
9921
10058
  auth_key: string;
9922
- /** 고객 이메일 */
10059
+ /** 고객 이메일. 빌링키에 저장되어 `BillingKeyResponse.customer_email` 로 돌아온다 (최대 255자). */
9923
10060
  customer_email?: string;
9924
- /** 고객 이름 */
10061
+ /** 고객 이름. 빌링키에 저장되어 `BillingKeyResponse.customer_name` 으로 돌아온다 (최대 255자). */
9925
10062
  customer_name?: string;
9926
- /** 고객 전화번호 */
10063
+ /** 고객 전화번호. 빌링키에 저장된다 (최대 255자). */
9927
10064
  customer_phone?: string;
9928
- /** 기본 결제 수단으로 설정 */
10065
+ /** 카드 별명. 나중에 `updateBillingKey` 로 바꿀 수 있다 (최대 255자). */
10066
+ card_nickname?: string;
10067
+ /**
10068
+ * 기본 결제 수단으로 설정. 생략하면 `true` 다. `true` 면 같은 회원의 다른 빌링키는 기본에서 내려간다
10069
+ * (회원 토큰 없이 서버 키로 호출하면 다른 빌링키는 건드리지 않는다).
10070
+ */
9929
10071
  is_default?: boolean;
9930
10072
  }
9931
10073
  interface BillingKeyResponse {
@@ -10515,7 +10657,10 @@ declare class SubscriptionAPI {
10515
10657
  * 빌링키 발급 시작
10516
10658
  * 토스 카드 등록 위젯에 필요한 정보를 반환합니다.
10517
10659
  *
10518
- * @returns 토스 클라이언트 키, 고객 키 등
10660
+ * 빌링키는 아직 만들어지지 않는다. 카드 등록이 끝나면 `confirmBillingKey` 가 빌링키를 만들고 그 `id` 를 돌려준다.
10661
+ *
10662
+ * @param request - 선택. `customer_key` 를 직접 정할 때만 넣는다 (생략하면 서버가 만든다)
10663
+ * @returns 토스 클라이언트 키, 고객 키, 성공/실패 URL
10519
10664
  *
10520
10665
  * @example
10521
10666
  * ```typescript
@@ -10530,7 +10675,7 @@ declare class SubscriptionAPI {
10530
10675
  * })
10531
10676
  * ```
10532
10677
  */
10533
- issueBillingKey(): Promise<IssueBillingKeyResponse>;
10678
+ issueBillingKey(request?: IssueBillingKeyRequest): Promise<IssueBillingKeyResponse>;
10534
10679
  /**
10535
10680
  * 빌링키 등록 확인
10536
10681
  * 토스에서 카드 등록 완료 후 빌링키를 확정합니다.
@@ -12990,4 +13135,4 @@ declare class ConnectBase {
12990
13135
  updateConfig(config: Partial<ConnectBaseConfig>): void;
12991
13136
  }
12992
13137
 
12993
- export { AIAPI, type AIChatOptions, type AIChatRequest, type AIChatResponse, type AIChatStreamCallbacks, type AIChatStreamOptions, AIError, type AIErrorCode, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, AUTH_MEMBER_ID_TOKEN, type AcceptInvitationResponse, 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 AppMemberDetail, type AppMemberIdentityDetail, type AppMemberIdentitySummary, type AppMemberList, type AppMemberListItem, type AppMemberProviderType, AppMembersAPI, 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 ChangePlanOptions, type ChangePlanPreview, type ChangePlanRequest, type ChangePlanWithPriceRef, type ChangePlanWithProduct, type Channel, type ChannelMembership, type ChannelStats, type ChargeWithBillingKeyAmount, type ChargeWithBillingKeyOptions, type ChargeWithBillingKeyProduct, 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 CreateCheckoutSessionOptions, type CreateCheckoutSessionRequest, type CreateCheckoutSessionResponse, type CreateCheckoutSessionWithAmount, type CreateCheckoutSessionWithProduct, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateInvitationRequest, type CreateInvitationResponse, type CreateLobbyRequest, type CreateOrganizationRequest, type CreatePlaylistRequest, type CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateRolePayload, type CreateRoleResult, type CreateRoomResult, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionOptions, type CreateSubscriptionRequest, type CreateSubscriptionWithAmount, type CreateSubscriptionWithProduct, type CreateTableRequest, type CreateTopicOptions, 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 DeleteBillingKeyResponse, 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 ListAppMembersOptions, type ListBillingKeysResponse, type ListDocumentsResponse, type ListFilesOptions, type ListFilesResult, 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 MemberChangePasswordRequest, type MemberCredentialMessageResponse, type MemberEmailVerificationConfirmRequest, type MemberEmailVerificationConfirmResponse, type MemberEmailVerificationRequest, type MemberInfoResponse, type MemberPasswordResetConfirmRequest, type MemberPasswordResetRequest, type MemberRedirectOption, type MemberSession, type MemberSessionList, type MemberSessionRevokeResponse, 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 OAuthPrompt, type OAuthProvider, type OnPaymentFailure, type OpenDialogOptions, type OpenDialogResult, type Organization, type OrganizationContext, type OrganizationInvitation, type OrganizationMember, type OrganizationMemberList, type OrganizationRole, OrganizationsAPI, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentListItem, type PaymentListResult, type PaymentMode, 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 PostponeBillingRequest, type PreparePaymentOptions, type PreparePaymentRequest, type PreparePaymentResponse, type PreparePaymentWithAmount, type PreparePaymentWithProduct, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type ProrationMode, type PublicKeyItem, type PublicKeyPaymentMode, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type PushStatsResult, type PushTopicInfo, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, RealtimeConnectionError, type RealtimeConnectionErrorCode, type RealtimeMessage, RealtimeRequestError, type RealtimeSendPolicy, 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 RotatePublicKeyRequest, type RotatePublicKeyResponse, type SFUTokenOptions, type SFUTokenResponse, type SaveDialogOptions, type SaveDialogResult, type ScriptDetailResponse, type ScriptListResponse, type ScriptLogEntry, type ScriptLogsResponse, type ScriptMeta, type ScriptMetricsResponse, 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 StorageUploadProgress, type StorageVideoListOptions, 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 SuspendAppMemberOptions, type SuspendAppMemberResult, type SyncLostMessage, 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 TranscodeJob, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UnsuspendAppMemberResult, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateDocumentRequest, type UpdateLobbyRequest, type UpdateOrganizationRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateRolePayload, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileOptions, 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 VideoStorageAccessLevel, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WebRTCWarning, type WhereCondition, type WhereOperator, WsTicketError, ConnectBase as default, detectInAppBrowser, escapeToExternalBrowser, isWebTransportSupported, toAIError, toCreateRoomWire };
13138
+ export { AIAPI, type AIChatOptions, type AIChatRequest, type AIChatResponse, type AIChatStreamCallbacks, type AIChatStreamOptions, AIError, type AIErrorCode, type AIMessage, type AISource, type AIStreamChunk, type AITool, type AIToolCall, type AIToolEvent, AUTH_MEMBER_ID_TOKEN, type AcceptInvitationResponse, type AckMessagesRequest, type AckMessagesResponse, 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 AppMemberDetail, type AppMemberIdentityDetail, type AppMemberIdentitySummary, type AppMemberList, type AppMemberListItem, type AppMemberProviderType, AppMembersAPI, 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 ChangePlanOptions, type ChangePlanPreview, type ChangePlanRequest, type ChangePlanWithPriceRef, type ChangePlanWithProduct, type Channel, type ChannelMembership, type ChannelStats, type ChargeWithBillingKeyAmount, type ChargeWithBillingKeyOptions, type ChargeWithBillingKeyProduct, 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 CreateCheckoutSessionOptions, type CreateCheckoutSessionRequest, type CreateCheckoutSessionResponse, type CreateCheckoutSessionWithAmount, type CreateCheckoutSessionWithProduct, type CreateColumnRequest, type CreateDataRequest, type CreateDocumentRequest, type CreateFolderRequest, type CreateFolderResponse, type CreateGeoIndexRequest, type CreateIndexRequest, type CreateInvitationRequest, type CreateInvitationResponse, type CreateLobbyRequest, type CreateOrganizationRequest, type CreatePlaylistRequest, type CreatePublicKeyRequest, type CreatePublicKeyResponse, type CreateRelationRequest, type CreateRolePayload, type CreateRoleResult, type CreateRoomResult, type CreateSearchIndexRequest, type CreateSecurityRuleRequest, type CreateSubscriptionOptions, type CreateSubscriptionRequest, type CreateSubscriptionWithAmount, type CreateSubscriptionWithProduct, type CreateTableRequest, type CreateTopicOptions, 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 DeleteBillingKeyResponse, 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 ListAppMembersOptions, type ListBillingKeysResponse, type ListDocumentsResponse, type ListFilesOptions, type ListFilesResult, 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 MemberChangePasswordRequest, type MemberCredentialMessageResponse, type MemberEmailVerificationConfirmRequest, type MemberEmailVerificationConfirmResponse, type MemberEmailVerificationRequest, type MemberInfoResponse, type MemberPasswordResetConfirmRequest, type MemberPasswordResetRequest, type MemberRedirectOption, type MemberSession, type MemberSessionList, type MemberSessionRevokeResponse, type MemberSignInRequest, type MemberSignInResponse, type MemberSignUpRequest, type MemberSignUpResponse, type MembershipTier, type MemoryInfo, type MessageHandler, type MigrateDataRequest, type MigrateDataResponse, type MoveFileRequest, type NackMessageRequest, type NackMessageResponse, NativeAPI, type OAuthCallbackResponse, type OAuthPrompt, type OAuthProvider, type OnPaymentFailure, type OpenDialogOptions, type OpenDialogResult, type Organization, type OrganizationContext, type OrganizationInvitation, type OrganizationMember, type OrganizationMemberList, type OrganizationRole, OrganizationsAPI, type PageMetaResponse, type PartyInfo, type PartyInvite, type PartyMember, type PauseSubscriptionRequest, type PaymentDetail, type PaymentListItem, type PaymentListResult, type PaymentMode, 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 PostponeBillingRequest, type PreparePaymentOptions, type PreparePaymentRequest, type PreparePaymentResponse, type PreparePaymentWithAmount, type PreparePaymentWithProduct, type PresenceChangeHandler, type PresenceInfo, type PresenceSetOptions, type PresenceStatus, type PresenceStatusResult, type ProrationMode, type PublicKeyItem, type PublicKeyPaymentMode, type PublishBatchError, type PublishBatchRequest, type PublishBatchResponse, type PublishMessageRequest, type PublishMessageResponse, type PushPlatform, type PushStatsResult, type PushTopicInfo, type QueryOptions, type QueueInfoResponse, type QueueMessage, type ReadReceiptHandler, type ReadReceiptInfo, type RealtimeConnectOptions, RealtimeConnectionError, type RealtimeConnectionErrorCode, type RealtimeMessage, RealtimeRequestError, type RealtimeSendPolicy, 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 RotatePublicKeyRequest, type RotatePublicKeyResponse, type SFUTokenOptions, type SFUTokenResponse, type SaveDialogOptions, type SaveDialogResult, type ScriptDetailResponse, type ScriptListResponse, type ScriptLogEntry, type ScriptLogsResponse, type ScriptMeta, type ScriptMetricsResponse, 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 StorageUploadProgress, type StorageVideoListOptions, 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 SuspendAppMemberOptions, type SuspendAppMemberResult, type SyncLostMessage, 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 TranscodeJob, type TranscodeStatus, type TransportType, type Trigger, type TriggerEvent, type TriggerHandlerType, type TypingChangeHandler, type TypingInfo, type UnsuspendAppMemberResult, type UpdateBillingKeyRequest, type UpdateChannelRequest, type UpdateColumnRequest, type UpdateCustomDataRequest, type UpdateCustomDataResponse, type UpdateDataRequest, type UpdateDocumentRequest, type UpdateLobbyRequest, type UpdateOrganizationRequest, type UpdatePublicKeyRequest, type UpdatePublicKeyResponse, type UpdateRolePayload, type UpdateSecurityRuleRequest, type UpdateSubscriptionRequest, type UpdateTriggerRequest, type UpdateVideoRequest, type UpdateVideoStorageRequest, type UploadByPathOptions, type UploadFileOptions, 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 VideoStorageAccessLevel, type VideoStorageListResponse, type VideoVisibility, type VoiceChannel, type VoiceMember, type WaitOptions, type WatchHistoryItem, type WebPushSubscription, type WebRTCConnectOptions, type WebRTCConnectionState, type WebRTCMode, type WebRTCWarning, type WhereCondition, type WhereOperator, WsTicketError, ConnectBase as default, detectInAppBrowser, escapeToExternalBrowser, isWebTransportSupported, toAIError, toCreateRoomWire };