itd-api 0.14.1 → 0.14.3
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/events/index.cjs +4 -4
- package/dist/events/index.d.cts +2 -2
- package/dist/events/index.d.ts +2 -2
- package/dist/events/index.js +4 -4
- package/dist/index.cjs +10 -9
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +10 -10
- package/dist/node/index.cjs +5 -5
- package/dist/node/index.js +5 -5
- package/dist/rest/index.cjs +6 -5
- package/dist/rest/index.d.cts +3 -3
- package/dist/rest/index.d.ts +3 -3
- package/dist/rest/index.js +6 -6
- package/dist/shared/{cookies-YP0m72v2.js → cookies-BdntFeQ5.js} +2 -2
- package/dist/shared/{cookies-YP0m72v2.js.map → cookies-BdntFeQ5.js.map} +1 -1
- package/dist/shared/{cookies-u2hXCcpR.cjs → cookies-D68xbO4E.cjs} +2 -2
- package/dist/shared/{cookies-u2hXCcpR.cjs.map → cookies-D68xbO4E.cjs.map} +1 -1
- package/dist/shared/{events-BnL_gckg.js → events-BdiOYajm.js} +4 -4
- package/dist/shared/{events-BnL_gckg.js.map → events-BdiOYajm.js.map} +1 -1
- package/dist/shared/{events-DUFuPzVO.cjs → events-BeEkp9jA.cjs} +4 -4
- package/dist/shared/{events-DUFuPzVO.cjs.map → events-BeEkp9jA.cjs.map} +1 -1
- package/dist/shared/{events-BmYzFrRC.d.cts → events-CWQN0YE4.d.cts} +1 -1
- package/dist/shared/{events-Bw7VaSDs.d.ts → events-rSRPzpN3.d.ts} +1 -1
- package/dist/shared/{key-value-store-BwXlaoD4.js → key-value-store-BJdmlzkM.js} +2 -2
- package/dist/shared/{key-value-store-BwXlaoD4.js.map → key-value-store-BJdmlzkM.js.map} +1 -1
- package/dist/shared/{key-value-store-CmnIjuE4.cjs → key-value-store-Bxt33ZF3.cjs} +2 -2
- package/dist/shared/{key-value-store-CmnIjuE4.cjs.map → key-value-store-Bxt33ZF3.cjs.map} +1 -1
- package/dist/shared/{multi-storage-BIeeBDV6.cjs → multi-storage-BNiP6Mbq.cjs} +5 -5
- package/dist/shared/{multi-storage-BIeeBDV6.cjs.map → multi-storage-BNiP6Mbq.cjs.map} +1 -1
- package/dist/shared/{multi-storage-DmUOaXbC.js → multi-storage-hYW_Whkx.js} +5 -5
- package/dist/shared/{multi-storage-DmUOaXbC.js.map → multi-storage-hYW_Whkx.js.map} +1 -1
- package/dist/shared/{options-D-8h06B_.js → options-BqQVtTmm.js} +3 -3
- package/dist/shared/{options-D-8h06B_.js.map → options-BqQVtTmm.js.map} +1 -1
- package/dist/shared/{options-hZolLxgs.cjs → options-C2WubUA6.cjs} +3 -3
- package/dist/shared/{options-hZolLxgs.cjs.map → options-C2WubUA6.cjs.map} +1 -1
- package/dist/shared/{render-DcIXTSuo.d.cts → render-BJHqSS2F.d.cts} +1 -1
- package/dist/shared/{render-CgSQp84V.js → render-DhoQdYkn.js} +6 -6
- package/dist/shared/{render-CgSQp84V.js.map → render-DhoQdYkn.js.map} +1 -1
- package/dist/shared/{render-DPXlBr5L.d.ts → render-djloH2Vb.d.ts} +1 -1
- package/dist/shared/{render-dKMV-872.cjs → render-kuaH5fPv.cjs} +6 -6
- package/dist/shared/{render-dKMV-872.cjs.map → render-kuaH5fPv.cjs.map} +1 -1
- package/dist/shared/{storage-Bc4lWtSj.js → storage-8oAVzQmF.js} +3 -3
- package/dist/shared/{storage-Bc4lWtSj.js.map → storage-8oAVzQmF.js.map} +1 -1
- package/dist/shared/{storage-e2xYL6ro.cjs → storage-xximVWs_.cjs} +3 -3
- package/dist/shared/{storage-e2xYL6ro.cjs.map → storage-xximVWs_.cjs.map} +1 -1
- package/dist/shared/{url-CQbNqbJX.cjs → url-C8u7GIqz.cjs} +16 -7
- package/dist/shared/{url-CQbNqbJX.cjs.map → url-C8u7GIqz.cjs.map} +1 -1
- package/dist/shared/{url-DYGRJqxh.js → url-DH4We-ip.js} +16 -7
- package/dist/shared/{url-DYGRJqxh.js.map → url-DH4We-ip.js.map} +1 -1
- package/dist/shared/{url-D7U9qjXD.d.cts → url-eD0nHl_4.d.cts} +20 -4
- package/dist/shared/{url-B_TELARK.d.ts → url-wVgUPR6Q.d.ts} +20 -4
- package/dist/shared/{validate-BHKy_YMv.cjs → validate-CbM3k811.cjs} +21 -1
- package/dist/shared/validate-CbM3k811.cjs.map +1 -0
- package/dist/shared/{validate-BQzL_oJ4.js → validate-oLSGiGwQ.js} +16 -2
- package/dist/shared/validate-oLSGiGwQ.js.map +1 -0
- package/dist/web/index.cjs +3 -3
- package/dist/web/index.js +3 -3
- package/package.json +1 -1
- package/dist/shared/validate-BHKy_YMv.cjs.map +0 -1
- package/dist/shared/validate-BQzL_oJ4.js.map +0 -1
package/dist/events/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_validate = require("../shared/validate-
|
|
3
|
-
const require_url = require("../shared/url-
|
|
4
|
-
const require_cookies = require("../shared/cookies-
|
|
5
|
-
const require_events = require("../shared/events-
|
|
2
|
+
const require_validate = require("../shared/validate-CbM3k811.cjs");
|
|
3
|
+
const require_url = require("../shared/url-C8u7GIqz.cjs");
|
|
4
|
+
const require_cookies = require("../shared/cookies-D68xbO4E.cjs");
|
|
5
|
+
const require_events = require("../shared/events-BeEkp9jA.cjs");
|
|
6
6
|
exports.DEFAULT_BASE_URL = require_url.DEFAULT_BASE_URL;
|
|
7
7
|
exports.EventChannel = require_events.EventChannel;
|
|
8
8
|
exports.EventChannelStatus = require_url.EventChannelStatus;
|
package/dist/events/index.d.cts
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import { $ as EventTransportFrame, A as EventSequentializer, B as NotificationOfType, C as EventSession, D as EventMiddlewareObject, E as EventMiddleware, F as NotificationEventContext, G as UnknownNotificationUpdate, H as NotificationUpdateOfType, I as NotificationEventFilter, J as NotificationEventsMap, K as UnreadCountUpdate, L as NotificationEventOfType, M as runEventMiddleware, N as EventContext, O as EventNext, P as NotificationContext, Q as EventTransportContext, R as NotificationEventSelector, S as EventEnqueueOptions, T as EventHandler, U as NotificationUpdateOrigin, V as NotificationUpdate, W as NotificationUpdateType, X as NotificationEventsTransport, Y as NotificationEventsOptions, Z as EventTransport, _ as WebSocketTransportOptions, a as EventMiddlewareGroup, b as EventChannelEvents, c as EventRouteSelector, d as NotificationEventsClientOptions, et as UnauthorizedStreamError, f as createNotificationEventsClient, g as WebSocketTransport, h as WebSocketOpenFailureClassifier, i as EventFilter, j as EventTypeGuard, k as EventPredicate, l as EventRouter, m as WebSocketLike, n as EventErrorBoundary, o as EventMiddlewareLike, p as WebSocketImplementationOptions, q as NotificationEvents, r as EventErrorContext, s as EventRouteTable, t as EventComposer, tt as ReconnectOptions, u as NotificationEventsClient, v as EventChannel, w as EventSyncReason, x as EventChannelOptions, y as EventChannelDeps, z as NotificationEventsUpdate } from "../shared/events-
|
|
6
|
+
import { $t as systemClock, A as ClientConnection, F as tokenProvider, G as ItdError, H as ItdAuthError, K as ItdErrorKind, M as AuthProvider, N as anonymousAuth, O as Listener, P as bearerToken, Q as ItdNotFoundError, Qt as ItdClock, R as ItdAbortError, Sn as EventChannelStatus, St as LIBRARY_VERSION, U as ItdConfigError, V as ItdApiErrorKind, Wt as RuntimeOptions, X as ItdForbiddenError, Xt as LogLevel, Yt as RuntimeMode, Z as ItdNetworkError, Zt as Logger, _t as isItdStateError, a as NotificationEvent, bt as DEFAULT_BASE_URL, c as NotificationSettings, ct as isItdAuthError, et as ItdRateLimitError, ht as isItdRateLimitError, i as formatNotificationText, it as ItdValidationError, j as AuthIdentity, jn as NotificationType, k as Unsubscribe, kn as Loose, kt as ClientHooks, n as canonicalNotificationType, nt as ItdStateError, o as normalizeNotification, ot as TimeoutBudget, r as isKnownNotificationType, rt as ItdTimeoutError, s as Notification, st as isItdApiError, t as resolveNotificationUrl, tt as ItdServerError, ut as isItdError, vt as isItdValidationError, z as ItdApiError } from "../shared/url-eD0nHl_4.cjs";
|
|
7
|
+
import { $ as EventTransportFrame, A as EventSequentializer, B as NotificationOfType, C as EventSession, D as EventMiddlewareObject, E as EventMiddleware, F as NotificationEventContext, G as UnknownNotificationUpdate, H as NotificationUpdateOfType, I as NotificationEventFilter, J as NotificationEventsMap, K as UnreadCountUpdate, L as NotificationEventOfType, M as runEventMiddleware, N as EventContext, O as EventNext, P as NotificationContext, Q as EventTransportContext, R as NotificationEventSelector, S as EventEnqueueOptions, T as EventHandler, U as NotificationUpdateOrigin, V as NotificationUpdate, W as NotificationUpdateType, X as NotificationEventsTransport, Y as NotificationEventsOptions, Z as EventTransport, _ as WebSocketTransportOptions, a as EventMiddlewareGroup, b as EventChannelEvents, c as EventRouteSelector, d as NotificationEventsClientOptions, et as UnauthorizedStreamError, f as createNotificationEventsClient, g as WebSocketTransport, h as WebSocketOpenFailureClassifier, i as EventFilter, j as EventTypeGuard, k as EventPredicate, l as EventRouter, m as WebSocketLike, n as EventErrorBoundary, o as EventMiddlewareLike, p as WebSocketImplementationOptions, q as NotificationEvents, r as EventErrorContext, s as EventRouteTable, t as EventComposer, tt as ReconnectOptions, u as NotificationEventsClient, v as EventChannel, w as EventSyncReason, x as EventChannelOptions, y as EventChannelDeps, z as NotificationEventsUpdate } from "../shared/events-CWQN0YE4.cjs";
|
|
8
8
|
export { type AuthIdentity, type AuthProvider, type ClientConnection, type ClientHooks, DEFAULT_BASE_URL, EventChannel, type EventChannelDeps, type EventChannelEvents, type EventChannelOptions, EventChannelStatus, EventComposer, type EventContext, type EventEnqueueOptions, type EventErrorBoundary, type EventErrorContext, type EventFilter, type EventHandler, type EventMiddleware, type EventMiddlewareGroup, type EventMiddlewareLike, type EventMiddlewareObject, type EventNext, type EventPredicate, type EventRouteSelector, type EventRouteTable, EventRouter, type EventSequentializer, type EventSession, type EventSyncReason, type EventTransport, type EventTransportContext, type EventTransportFrame, type EventTypeGuard, ItdAbortError, ItdApiError, ItdApiErrorKind, ItdAuthError, type ItdClock, ItdConfigError, ItdError, ItdErrorKind, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdRateLimitError, ItdServerError, ItdStateError, ItdTimeoutError, ItdValidationError, LIBRARY_VERSION, type Listener, LogLevel, type Logger, type Loose, type Notification, type NotificationContext, type NotificationEvent, type NotificationEventContext, type NotificationEventFilter, type NotificationEventOfType, type NotificationEventSelector, NotificationEvents, NotificationEventsClient, type NotificationEventsClientOptions, type NotificationEventsMap, type NotificationEventsOptions, NotificationEventsTransport, type NotificationEventsUpdate, type NotificationOfType, type NotificationSettings, NotificationType, type NotificationUpdate, type NotificationUpdateOfType, NotificationUpdateOrigin, NotificationUpdateType, type ReconnectOptions, RuntimeMode, type RuntimeOptions, TimeoutBudget, UnauthorizedStreamError, type UnknownNotificationUpdate, type UnreadCountUpdate, type Unsubscribe, type WebSocketImplementationOptions, type WebSocketLike, type WebSocketOpenFailureClassifier, WebSocketTransport, type WebSocketTransportOptions, anonymousAuth, bearerToken, canonicalNotificationType, createNotificationEventsClient, formatNotificationText, isItdApiError, isItdAuthError, isItdError, isItdRateLimitError, isItdStateError, isItdValidationError, isKnownNotificationType, normalizeNotification, resolveNotificationUrl, runEventMiddleware, systemClock, tokenProvider };
|
package/dist/events/index.d.ts
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
6
|
-
import { $ as ItdServerError, A as ClientConnection, B as ItdAuthError,
|
|
7
|
-
import { $ as EventTransportContext, A as EventHandler, B as NotificationEventContext, C as EventChannelDeps, D as EventSession, E as EventEnqueueOptions, F as EventSequentializer, G as NotificationOfType, H as NotificationEventOfType, I as EventTypeGuard, J as NotificationUpdateOrigin, K as NotificationUpdate, L as runEventMiddleware, M as EventMiddlewareObject, N as EventNext, O as EventSyncReason, P as EventPredicate, Q as EventTransport, R as EventContext, S as EventChannel, T as EventChannelOptions, U as NotificationEventSelector, V as NotificationEventFilter, W as NotificationEventsUpdate, X as UnknownNotificationUpdate, Y as NotificationUpdateType, Z as UnreadCountUpdate, _ as createNotificationEventsClient, a as WebSocketTransportOptions, b as NotificationEventsOptions, c as EventErrorContext, d as EventMiddlewareLike, et as EventTransportFrame, f as EventRouteTable, g as NotificationEventsClientOptions, h as NotificationEventsClient, i as WebSocketTransport, j as EventMiddleware, k as ReconnectOptions, l as EventFilter, m as EventRouter, n as WebSocketLike, o as EventComposer, p as EventRouteSelector, q as NotificationUpdateOfType, r as WebSocketOpenFailureClassifier, s as EventErrorBoundary, t as WebSocketImplementationOptions, tt as UnauthorizedStreamError, u as EventMiddlewareGroup, v as NotificationEvents, w as EventChannelEvents, x as NotificationEventsTransport, y as NotificationEventsMap, z as NotificationContext } from "../shared/events-
|
|
6
|
+
import { $ as ItdServerError, A as ClientConnection, B as ItdAuthError, En as Loose, Et as ClientHooks, F as tokenProvider, I as ItdAbortError, J as ItdForbiddenError, Jt as Logger, Kt as RuntimeMode, L as ItdApiError, M as AuthProvider, N as anonymousAuth, O as Listener, On as NotificationType, P as bearerToken, Q as ItdRateLimitError, U as ItdError, V as ItdConfigError, Vt as RuntimeOptions, W as ItdErrorKind, X as ItdNotFoundError, Xt as systemClock, Y as ItdNetworkError, Yt as ItdClock, _t as DEFAULT_BASE_URL, a as NotificationEvent, at as isItdApiError, c as NotificationSettings, ct as isItdError, et as ItdStateError, gt as isItdValidationError, ht as isItdStateError, i as formatNotificationText, it as TimeoutBudget, j as AuthIdentity, k as Unsubscribe, n as canonicalNotificationType, nt as ItdValidationError, o as normalizeNotification, ot as isItdAuthError, pt as isItdRateLimitError, qt as LogLevel, r as isKnownNotificationType, s as Notification, t as resolveNotificationUrl, tt as ItdTimeoutError, yn as EventChannelStatus, yt as LIBRARY_VERSION, z as ItdApiErrorKind } from "../shared/url-wVgUPR6Q.js";
|
|
7
|
+
import { $ as EventTransportContext, A as EventHandler, B as NotificationEventContext, C as EventChannelDeps, D as EventSession, E as EventEnqueueOptions, F as EventSequentializer, G as NotificationOfType, H as NotificationEventOfType, I as EventTypeGuard, J as NotificationUpdateOrigin, K as NotificationUpdate, L as runEventMiddleware, M as EventMiddlewareObject, N as EventNext, O as EventSyncReason, P as EventPredicate, Q as EventTransport, R as EventContext, S as EventChannel, T as EventChannelOptions, U as NotificationEventSelector, V as NotificationEventFilter, W as NotificationEventsUpdate, X as UnknownNotificationUpdate, Y as NotificationUpdateType, Z as UnreadCountUpdate, _ as createNotificationEventsClient, a as WebSocketTransportOptions, b as NotificationEventsOptions, c as EventErrorContext, d as EventMiddlewareLike, et as EventTransportFrame, f as EventRouteTable, g as NotificationEventsClientOptions, h as NotificationEventsClient, i as WebSocketTransport, j as EventMiddleware, k as ReconnectOptions, l as EventFilter, m as EventRouter, n as WebSocketLike, o as EventComposer, p as EventRouteSelector, q as NotificationUpdateOfType, r as WebSocketOpenFailureClassifier, s as EventErrorBoundary, t as WebSocketImplementationOptions, tt as UnauthorizedStreamError, u as EventMiddlewareGroup, v as NotificationEvents, w as EventChannelEvents, x as NotificationEventsTransport, y as NotificationEventsMap, z as NotificationContext } from "../shared/events-rSRPzpN3.js";
|
|
8
8
|
export { type AuthIdentity, type AuthProvider, type ClientConnection, type ClientHooks, DEFAULT_BASE_URL, EventChannel, type EventChannelDeps, type EventChannelEvents, type EventChannelOptions, EventChannelStatus, EventComposer, type EventContext, type EventEnqueueOptions, type EventErrorBoundary, type EventErrorContext, type EventFilter, type EventHandler, type EventMiddleware, type EventMiddlewareGroup, type EventMiddlewareLike, type EventMiddlewareObject, type EventNext, type EventPredicate, type EventRouteSelector, type EventRouteTable, EventRouter, type EventSequentializer, type EventSession, type EventSyncReason, type EventTransport, type EventTransportContext, type EventTransportFrame, type EventTypeGuard, ItdAbortError, ItdApiError, ItdApiErrorKind, ItdAuthError, type ItdClock, ItdConfigError, ItdError, ItdErrorKind, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdRateLimitError, ItdServerError, ItdStateError, ItdTimeoutError, ItdValidationError, LIBRARY_VERSION, type Listener, LogLevel, type Logger, type Loose, type Notification, type NotificationContext, type NotificationEvent, type NotificationEventContext, type NotificationEventFilter, type NotificationEventOfType, type NotificationEventSelector, NotificationEvents, NotificationEventsClient, type NotificationEventsClientOptions, type NotificationEventsMap, type NotificationEventsOptions, NotificationEventsTransport, type NotificationEventsUpdate, type NotificationOfType, type NotificationSettings, NotificationType, type NotificationUpdate, type NotificationUpdateOfType, NotificationUpdateOrigin, NotificationUpdateType, type ReconnectOptions, RuntimeMode, type RuntimeOptions, TimeoutBudget, UnauthorizedStreamError, type UnknownNotificationUpdate, type UnreadCountUpdate, type Unsubscribe, type WebSocketImplementationOptions, type WebSocketLike, type WebSocketOpenFailureClassifier, WebSocketTransport, type WebSocketTransportOptions, anonymousAuth, bearerToken, canonicalNotificationType, createNotificationEventsClient, formatNotificationText, isItdApiError, isItdAuthError, isItdError, isItdRateLimitError, isItdStateError, isItdValidationError, isKnownNotificationType, normalizeNotification, resolveNotificationUrl, runEventMiddleware, systemClock, tokenProvider };
|
package/dist/events/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ItdValidationError,
|
|
2
|
-
import { S as LIBRARY_VERSION, a as tokenProvider, ct as NotificationType, et as EventChannelStatus, i as bearerToken, l as canonicalNotificationType, n as formatNotificationText, o as normalizeNotification, r as anonymousAuth, t as resolveNotificationUrl, u as isKnownNotificationType, v as DEFAULT_BASE_URL, yt as systemClock } from "../shared/url-
|
|
3
|
-
import { E as LogLevel, v as RuntimeMode } from "../shared/cookies-
|
|
4
|
-
import { d as NotificationUpdateType, g as runEventMiddleware, h as UnauthorizedStreamError, i as createNotificationEventsClient, m as EventChannel, n as EventRouter, o as NotificationEvents, p as WebSocketTransport, r as NotificationEventsClient, s as NotificationEventsTransport, t as EventComposer, u as NotificationUpdateOrigin } from "../shared/events-
|
|
1
|
+
import { C as ItdValidationError, D as isItdAuthError, E as isItdApiError, I as isItdStateError, L as isItdValidationError, P as isItdRateLimitError, S as ItdTimeoutError, T as TimeoutBudget, _ as ItdNotFoundError, a as ItdAbortError, b as ItdServerError, c as ItdAuthError, d as ItdError, f as ItdErrorKind, g as ItdNetworkError, h as ItdForbiddenError, k as isItdError, l as ItdConfigError, o as ItdApiError, s as ItdApiErrorKind, x as ItdStateError, y as ItdRateLimitError } from "../shared/validate-oLSGiGwQ.js";
|
|
2
|
+
import { S as LIBRARY_VERSION, a as tokenProvider, ct as NotificationType, et as EventChannelStatus, i as bearerToken, l as canonicalNotificationType, n as formatNotificationText, o as normalizeNotification, r as anonymousAuth, t as resolveNotificationUrl, u as isKnownNotificationType, v as DEFAULT_BASE_URL, yt as systemClock } from "../shared/url-DH4We-ip.js";
|
|
3
|
+
import { E as LogLevel, v as RuntimeMode } from "../shared/cookies-BdntFeQ5.js";
|
|
4
|
+
import { d as NotificationUpdateType, g as runEventMiddleware, h as UnauthorizedStreamError, i as createNotificationEventsClient, m as EventChannel, n as EventRouter, o as NotificationEvents, p as WebSocketTransport, r as NotificationEventsClient, s as NotificationEventsTransport, t as EventComposer, u as NotificationUpdateOrigin } from "../shared/events-BdiOYajm.js";
|
|
5
5
|
export { DEFAULT_BASE_URL, EventChannel, EventChannelStatus, EventComposer, EventRouter, ItdAbortError, ItdApiError, ItdApiErrorKind, ItdAuthError, ItdConfigError, ItdError, ItdErrorKind, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdRateLimitError, ItdServerError, ItdStateError, ItdTimeoutError, ItdValidationError, LIBRARY_VERSION, LogLevel, NotificationEvents, NotificationEventsClient, NotificationEventsTransport, NotificationType, NotificationUpdateOrigin, NotificationUpdateType, RuntimeMode, TimeoutBudget, UnauthorizedStreamError, WebSocketTransport, anonymousAuth, bearerToken, canonicalNotificationType, createNotificationEventsClient, formatNotificationText, isItdApiError, isItdAuthError, isItdError, isItdRateLimitError, isItdStateError, isItdValidationError, isKnownNotificationType, normalizeNotification, resolveNotificationUrl, runEventMiddleware, systemClock, tokenProvider };
|
package/dist/index.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_validate = require("./shared/validate-
|
|
3
|
-
const require_render = require("./shared/render-
|
|
4
|
-
const require_events = require("./shared/events-
|
|
5
|
-
const require_url = require("./shared/url-
|
|
6
|
-
const require_cookies = require("./shared/cookies-
|
|
7
|
-
const require_storage = require("./shared/storage-
|
|
8
|
-
const require_multi_storage = require("./shared/multi-storage-
|
|
9
|
-
const require_options = require("./shared/options-
|
|
10
|
-
const require_key_value_store = require("./shared/key-value-store-
|
|
2
|
+
const require_validate = require("./shared/validate-CbM3k811.cjs");
|
|
3
|
+
const require_render = require("./shared/render-kuaH5fPv.cjs");
|
|
4
|
+
const require_events = require("./shared/events-BeEkp9jA.cjs");
|
|
5
|
+
const require_url = require("./shared/url-C8u7GIqz.cjs");
|
|
6
|
+
const require_cookies = require("./shared/cookies-D68xbO4E.cjs");
|
|
7
|
+
const require_storage = require("./shared/storage-xximVWs_.cjs");
|
|
8
|
+
const require_multi_storage = require("./shared/multi-storage-BNiP6Mbq.cjs");
|
|
9
|
+
const require_options = require("./shared/options-C2WubUA6.cjs");
|
|
10
|
+
const require_key_value_store = require("./shared/key-value-store-Bxt33ZF3.cjs");
|
|
11
11
|
// src/events/chats.ts
|
|
12
12
|
/** Канал событий чатов. Доступен как `itd.chats.events` в полном клиенте. */
|
|
13
13
|
var ChatEvents = class {
|
|
@@ -3495,6 +3495,7 @@ exports.PhoneVerificationMethod = PhoneVerificationMethod;
|
|
|
3495
3495
|
exports.QrLocationPrecision = require_url.QrLocationPrecision;
|
|
3496
3496
|
exports.QrLoginStatus = QrLoginStatus;
|
|
3497
3497
|
exports.QrLoginStreamStatus = QrLoginStreamStatus;
|
|
3498
|
+
exports.RateLimitErrorScope = require_validate.RateLimitErrorScope;
|
|
3498
3499
|
exports.RateLimitPacing = require_url.RateLimitPacing;
|
|
3499
3500
|
exports.RateLimitScope = RateLimitScope;
|
|
3500
3501
|
exports.ReportReason = require_url.ReportReason;
|
package/dist/index.d.cts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
6
|
-
import { $ as ItdPhoneVerificationError, $t as
|
|
7
|
-
import { $ as InternationalSubscriptionCheckoutMode, $i as AttemptContext, $n as CommentReplyTo, $r as CreateReportInput, $t as ReportsResource, A as UsersResource, Ai as ChatSentMessage, An as Report, Ar as Paginator, At as ShopDeliveryDestination, B as ViewTracker, Bi as FeatureBucketDefinition, Bn as HashtagsResource, Br as messageMarkup, Bt as ShopOrderSummary, C as fromStream, Ci as ChatReaction, Cn as StatusDay, Cr as ChatsResource, Ct as ShopConsent, D as UpdatePrivacyInput, Di as ChatReadCursor, Dn as ChangelogEntry, Dr as Page, Dt as ShopDeliveryCalculation, E as MessageAllowlistParams, Ei as ChatReactionType, En as AnnouncementButton, Er as BaseResource, Et as ShopCreatedOrder, F as TelemetryBatchOptions, Fi as ChatUpdateType, Fn as LegalDocumentBlockType, Fr as message, Ft as ShopOrderBase, G as SubscriptionCheckoutReleaseInput, Gi as ManagedClientResource, Gn as BannerDrawingOperation, Gr as MarkupSpan, Gt as ShopProductColor, H as ViewTrackerOptions, Hi as FeatureInstallation, Hn as UploadOptions, Hr as MarkupBuilder, Ht as ShopPayment, I as TelemetryClock, Ii as ChatUpdatesPage, In as LegalDocumentScope, Ir as MessageMarkup, It as ShopOrderDelivery, J as SubscriptionPayOptions, Ji as PreparedFileSource, Jn as UploadedBannerDrawing, Jr as markup, Jt as ShopRecipient, K as SubscriptionCheckoutTerms, Ki as FileResolver, Kn as BannerDrawingPoint, Kr as TextMarkup, Kt as ShopProductSpec, L as TelemetryOptions, Li as ChatUploadOptions, Ln as LegalDocumentSummary, Lr as MessageMarkupBuilder, Lt as ShopOrderItem, M as InteractionEntry, Mi as ChatTextEntity, Mn as LegalResource, Mr as mapPage, Mt as ShopOrder, N as PhotoOpenInput, Ni as ChatUnreadState, Nn as LegalDocument, Nr as MessageBuilder, Nt as ShopOrderAccessSession, O as UpdateProfileInput, Oi as ChatReadResult, On as Clan, Or as PageState, Ot as ShopDeliveryCity, P as TelemetryBatch, Pi as ChatUpdate, Pn as LegalDocumentBlock, Pr as MessageInput, Pt as ShopOrderAccessVerification, Q as InternationalSubscriptionCheckout, Qi as RateLimitBucketState, Qn as Comment, Qr as CreatePostData, Qt as SearchResult, R as TelemetryResource, Ri as ChatUploadedFile, Rn as LegalDocumentVersion, Rr as MessageMarkupContent, Rt as ShopOrderItemInput, S as VideoMimeType, Si as ChatPreview, Sn as ServiceStatus, Sr as ChatListParams, St as CreateShopOrderInput, T as VerificationResource, Ti as ChatReactionCount, Tn as Announcement, Tr as SetChatReactionsInput, Tt as ShopConsentKind, U as SubscriptionBindCardOptions, Ui as FeatureOperationDefinition, Un as UploadedFile, Ur as MarkupContent, Ut as ShopProduct, V as ViewTrackerInput, Vi as FeatureContext, Vn as FilesResource, Vr as AutoSpansOptions, Vt as ShopOrderSupport, W as SubscriptionCheckoutInput, Wi as FeatureRequestOptions, Wn as BannerDrawing, Wr as MarkupInput, Wt as ShopProductCategory, X as SubscriptionResource, Xi as ResolveFileContext, Xn as RepliesParams, Xr as CreateCommentInput, Xt as ShopSizeChartRow, Y as SubscriptionPaymentInput, Yi as PreparedStreamSource, Yn as CommentsResource, Yr as ChatMessageContent, Yt as ShopSizeChart, Z as InternationalSubscriptionCapability, Zi as ResolveFileOptions, Zn as Attachment, Zr as CreatePollInput, Zt as SearchResource, _ as AllowedMimeType, _i as ChatMediaItem, _n as parseMarkdown, _r as QrLoginTarget, _t as ShopDeliveryResource, a as ShopFeatureOptions, aa as OperationTransformContext, ai as ChatActionType, an as PostsResource, ar as Poll, at as SubscriptionCheckoutState, b as ImageMimeType, bi as ChatMessageReactions, bn as PlatformVersions, br as NotificationsResource, bt as ShopProductsResource, c as ShopOrderAccessStorage, ca as PluginTeardown, ci as ChatDeletedMessages, cn as PostBuilder, cr as PostBase, ct as SubscriptionGift, d as statusDays, di as ChatFileLink, dn as post, dr as PostUpdateResult, dt as SubscriptionPaymentProvider, ea as AttemptExtensions, ei as SendChatMessageInput, en as ReportBuilder, er as CommentUpdateResult, et as InternationalSubscriptionOffer, f as isMyProfile, fi as ChatFirstMessage, fn as PollBuilder, fr as UpdateResultBase, ft as SubscriptionQuote, g as AUDIO_MIME_TYPES, gi as ChatMediaCategory, gn as parseHtml, gr as AccountLifecycleResource, gt as ShopConsentsResource, h as ALLOWED_MIME_TYPES, hi as ChatListPage, hn as ParseMarkupOptions, hr as comment, ht as PayShopOrderOptions, i as ShopFeatureApi, ia as OperationExtensions, ii as isBuilder, in as FeedParams, ir as PinPostResult, it as SubscriptionCheckoutKind, j as DwellEntry, ji as ChatSummary, jn as VerificationStatus, jr as PaginatorOptions, jt as ShopDeliveryPoint, k as UserListParams, ki as ChatReply, kn as Portal, kr as PaginationMode, kt as ShopDeliveryCountry, l as ShopOrderAccessStorageAdapterOptions, li as ChatDirectResult, ln as PostInput, lr as PostCounters, lt as SubscriptionOffer, m as utcStampToIso, mi as ChatHistoryPage, mn as poll, mr as CommentInput, mt as CreateShopOrderOptions, n as SpanRenderFormat, na as AttemptNext, ni as BuilderInput, nn as report, nr as LikeResult, nt as PaymentMethodType, o as createShopFeature, oa as OperationTransformer, oi as ChatAttachment, on as UserPostsParams, or as PollOption, ot as SubscriptionCheckoutStatus, p as toDate, pi as ChatForwardedMessages, pn as PollInput, pr as CommentBuilder, pt as SubscriptionRenewalAgreement, q as SubscriptionGiftInput, qi as PreparedBufferSource, qn as BannerDrawingTool, qr as autoSpans, qt as ShopProductStatus, r as renderSpans, ra as ClientPlugin, ri as ItdBuilder, rn as CommentsParams, rr as OriginalPost, rt as Subscription, s as MemoryShopOrderAccessStorage, sa as PluginApi, si as ChatChange, sn as CreatePostInput, sr as Post, st as SubscriptionCheckoutSubject, t as RenderSpansOptions, ta as AttemptInterceptor, ti as UpdatePostInput, tn as ReportInput, tr as Hashtag, tt as PaymentMethod, u as createShopOrderAccessStorage, ui as ChatEditedMessage, un as PostUpdateInput, ur as PostStats, ut as SubscriptionPayment, v as AudioMimeType, vi as ChatMediaPage, vn as PlatformClientVersion, vr as Session, vt as ShopOrderRequestOptions, w as fromUrl, wi as ChatReactionCatalog, wn as StatusIncidentLine, wr as ForwardChatMessagesInput, wt as ShopConsentContext, x as VIDEO_MIME_TYPES, xi as ChatPresence, xn as PlatformStatus, xr as UpdateNotificationSettingsInput, xt as ShopResource, y as IMAGE_MIME_TYPES, yi as ChatMessage, yn as PlatformResource, yr as NotificationListParams, yt as ShopOrdersResource, z as VideoProgressInput, zi as ClientFeature, zn as HashtagPostsParams, zr as MessageMarkupInput, zt as ShopOrderStatus } from "./shared/render-
|
|
8
|
-
import { $ as EventTransportFrame, A as EventSequentializer, B as NotificationOfType, C as EventSession, D as EventMiddlewareObject, E as EventMiddleware, F as NotificationEventContext, G as UnknownNotificationUpdate, H as NotificationUpdateOfType, I as NotificationEventFilter, J as NotificationEventsMap, K as UnreadCountUpdate, L as NotificationEventOfType, M as runEventMiddleware, N as EventContext, O as EventNext, P as NotificationContext, Q as EventTransportContext, R as NotificationEventSelector, S as EventEnqueueOptions, T as EventHandler, U as NotificationUpdateOrigin, V as NotificationUpdate, W as NotificationUpdateType, X as NotificationEventsTransport, Y as NotificationEventsOptions, Z as EventTransport, _ as WebSocketTransportOptions, a as EventMiddlewareGroup, b as EventChannelEvents, c as EventRouteSelector, d as NotificationEventsClientOptions, et as UnauthorizedStreamError, f as createNotificationEventsClient, g as WebSocketTransport, h as WebSocketOpenFailureClassifier, i as EventFilter, j as EventTypeGuard, k as EventPredicate, l as EventRouter, m as WebSocketLike, n as EventErrorBoundary, o as EventMiddlewareLike, p as WebSocketImplementationOptions, q as NotificationEvents, r as EventErrorContext, s as EventRouteTable, t as EventComposer, tt as ReconnectOptions, u as NotificationEventsClient, v as EventChannel, w as EventSyncReason, x as EventChannelOptions, y as EventChannelDeps, z as NotificationEventsUpdate } from "./shared/events-
|
|
6
|
+
import { $ as ItdPhoneVerificationError, $t as systemClock, A as ClientConnection, An as MessageAccess, At as ErrorContextHook, B as ItdApiErrorInit, Bn as WallAccess, Bt as ResponseContext, C as SubscriptionState, Cn as FeedTab, Ct as FeatureOperationId, D as Emitter, Dn as LastSeenUnit, Dt as OperationMethod, E as UsernameAvailability, En as ItdErrorCode, Et as OperationMetadata, Fn as ServiceState, Ft as RateLimitOptions, G as ItdError, Gt as QueryParams, H as ItdAuthError, Ht as RetryDecisionContext, I as HttpClient, In as SpanType, It as RawRequestOptions, J as ItdFileError, Jt as RateLimitPacing, K as ItdErrorKind, Kt as QueryValue, Ln as UsernameUnavailableReason, Lt as RequestContext, M as AuthProvider, Mn as QrLocationPrecision, Mt as PaginationOptions, Nn as ReportReason, Nt as RateLimitBucketContext, O as Listener, On as LikesVisibility, Ot as RetrySafety, Pn as ReportTargetType, Pt as RateLimitBucketOverride, Q as ItdNotFoundError, Qt as ItdClock, R as ItdAbortError, Rn as ViewReason, Rt as RequestExtensions, S as PublicProfile, Sn as EventChannelStatus, St as LIBRARY_VERSION, T as UserSummary, Tn as InteractionType, U as ItdConfigError, Ut as RetryOptions, V as ItdApiErrorKind, Vt as RetryContext, W as ItdConflictError, Wt as RuntimeOptions, X as ItdForbiddenError, Xt as LogLevel, Y as ItdFileErrorReason, Yt as RuntimeMode, Z as ItdNetworkError, Zt as Logger, _ as MyProfile, _n as AttachmentType, _t as isItdStateError, a as NotificationEvent, an as isBuiltInOperationId, at as RateLimitErrorScope, b as PrivacySettings, bn as CaptchaType, bt as DEFAULT_BASE_URL, c as NotificationSettings, cn as operationRetrySafety, ct as isItdAuthError, d as AuthUser, dn as RateLimitBucket, dt as isItdFileError, en as BuiltInOperationId, et as ItdRateLimitError, f as Author, fn as IsoDate, ft as isItdForbiddenError, g as MessageAllowlistUser, gn as AccessType, gt as isItdServerError, h as MessageAllowlistMembership, hn as UserRef, ht as isItdRateLimitError, i as formatNotificationText, in as OperationId, it as ItdValidationError, j as AuthIdentity, jn as NotificationType, jt as OperationRequestOptions, k as Unsubscribe, kn as Loose, kt as ClientHooks, l as Actor, ln as BUCKET_LIMITS, lt as isItdConflictError, m as LastSeen, mn as UserId, mt as isItdPhoneVerificationError, n as canonicalNotificationType, nn as ItdOperationDefinition, nt as ItdStateError, o as normalizeNotification, on as operationBucket, ot as TimeoutBudget, p as FollowResult, pn as Span, pt as isItdNotFoundError, q as ItdFieldErrors, qt as ServiceDefinition, r as isKnownNotificationType, rn as OPERATIONS, rt as ItdTimeoutError, s as Notification, sn as operationMethod, st as isItdApiError, t as resolveNotificationUrl, tn as CustomOperationId, tt as ItdServerError, u as AuthState, un as DEFAULT_RATE_LIMIT_BUCKET, ut as isItdError, v as Pin, vn as CaptchaChoice, vt as isItdValidationError, w as UserBase, wn as IncidentKind, wt as OperationAnnotations, x as Profile, xn as CommentSort, xt as STATUS_SERVICE, y as PinsResult, yn as CaptchaField, yt as CookieJar, z as ItdApiError, zn as ViewSource, zt as RequestOptions } from "./shared/url-eD0nHl_4.cjs";
|
|
7
|
+
import { $ as InternationalSubscriptionCheckoutMode, $i as AttemptContext, $n as CommentReplyTo, $r as CreateReportInput, $t as ReportsResource, A as UsersResource, Ai as ChatSentMessage, An as Report, Ar as Paginator, At as ShopDeliveryDestination, B as ViewTracker, Bi as FeatureBucketDefinition, Bn as HashtagsResource, Br as messageMarkup, Bt as ShopOrderSummary, C as fromStream, Ci as ChatReaction, Cn as StatusDay, Cr as ChatsResource, Ct as ShopConsent, D as UpdatePrivacyInput, Di as ChatReadCursor, Dn as ChangelogEntry, Dr as Page, Dt as ShopDeliveryCalculation, E as MessageAllowlistParams, Ei as ChatReactionType, En as AnnouncementButton, Er as BaseResource, Et as ShopCreatedOrder, F as TelemetryBatchOptions, Fi as ChatUpdateType, Fn as LegalDocumentBlockType, Fr as message, Ft as ShopOrderBase, G as SubscriptionCheckoutReleaseInput, Gi as ManagedClientResource, Gn as BannerDrawingOperation, Gr as MarkupSpan, Gt as ShopProductColor, H as ViewTrackerOptions, Hi as FeatureInstallation, Hn as UploadOptions, Hr as MarkupBuilder, Ht as ShopPayment, I as TelemetryClock, Ii as ChatUpdatesPage, In as LegalDocumentScope, Ir as MessageMarkup, It as ShopOrderDelivery, J as SubscriptionPayOptions, Ji as PreparedFileSource, Jn as UploadedBannerDrawing, Jr as markup, Jt as ShopRecipient, K as SubscriptionCheckoutTerms, Ki as FileResolver, Kn as BannerDrawingPoint, Kr as TextMarkup, Kt as ShopProductSpec, L as TelemetryOptions, Li as ChatUploadOptions, Ln as LegalDocumentSummary, Lr as MessageMarkupBuilder, Lt as ShopOrderItem, M as InteractionEntry, Mi as ChatTextEntity, Mn as LegalResource, Mr as mapPage, Mt as ShopOrder, N as PhotoOpenInput, Ni as ChatUnreadState, Nn as LegalDocument, Nr as MessageBuilder, Nt as ShopOrderAccessSession, O as UpdateProfileInput, Oi as ChatReadResult, On as Clan, Or as PageState, Ot as ShopDeliveryCity, P as TelemetryBatch, Pi as ChatUpdate, Pn as LegalDocumentBlock, Pr as MessageInput, Pt as ShopOrderAccessVerification, Q as InternationalSubscriptionCheckout, Qi as RateLimitBucketState, Qn as Comment, Qr as CreatePostData, Qt as SearchResult, R as TelemetryResource, Ri as ChatUploadedFile, Rn as LegalDocumentVersion, Rr as MessageMarkupContent, Rt as ShopOrderItemInput, S as VideoMimeType, Si as ChatPreview, Sn as ServiceStatus, Sr as ChatListParams, St as CreateShopOrderInput, T as VerificationResource, Ti as ChatReactionCount, Tn as Announcement, Tr as SetChatReactionsInput, Tt as ShopConsentKind, U as SubscriptionBindCardOptions, Ui as FeatureOperationDefinition, Un as UploadedFile, Ur as MarkupContent, Ut as ShopProduct, V as ViewTrackerInput, Vi as FeatureContext, Vn as FilesResource, Vr as AutoSpansOptions, Vt as ShopOrderSupport, W as SubscriptionCheckoutInput, Wi as FeatureRequestOptions, Wn as BannerDrawing, Wr as MarkupInput, Wt as ShopProductCategory, X as SubscriptionResource, Xi as ResolveFileContext, Xn as RepliesParams, Xr as CreateCommentInput, Xt as ShopSizeChartRow, Y as SubscriptionPaymentInput, Yi as PreparedStreamSource, Yn as CommentsResource, Yr as ChatMessageContent, Yt as ShopSizeChart, Z as InternationalSubscriptionCapability, Zi as ResolveFileOptions, Zn as Attachment, Zr as CreatePollInput, Zt as SearchResource, _ as AllowedMimeType, _i as ChatMediaItem, _n as parseMarkdown, _r as QrLoginTarget, _t as ShopDeliveryResource, a as ShopFeatureOptions, aa as OperationTransformContext, ai as ChatActionType, an as PostsResource, ar as Poll, at as SubscriptionCheckoutState, b as ImageMimeType, bi as ChatMessageReactions, bn as PlatformVersions, br as NotificationsResource, bt as ShopProductsResource, c as ShopOrderAccessStorage, ca as PluginTeardown, ci as ChatDeletedMessages, cn as PostBuilder, cr as PostBase, ct as SubscriptionGift, d as statusDays, di as ChatFileLink, dn as post, dr as PostUpdateResult, dt as SubscriptionPaymentProvider, ea as AttemptExtensions, ei as SendChatMessageInput, en as ReportBuilder, er as CommentUpdateResult, et as InternationalSubscriptionOffer, f as isMyProfile, fi as ChatFirstMessage, fn as PollBuilder, fr as UpdateResultBase, ft as SubscriptionQuote, g as AUDIO_MIME_TYPES, gi as ChatMediaCategory, gn as parseHtml, gr as AccountLifecycleResource, gt as ShopConsentsResource, h as ALLOWED_MIME_TYPES, hi as ChatListPage, hn as ParseMarkupOptions, hr as comment, ht as PayShopOrderOptions, i as ShopFeatureApi, ia as OperationExtensions, ii as isBuilder, in as FeedParams, ir as PinPostResult, it as SubscriptionCheckoutKind, j as DwellEntry, ji as ChatSummary, jn as VerificationStatus, jr as PaginatorOptions, jt as ShopDeliveryPoint, k as UserListParams, ki as ChatReply, kn as Portal, kr as PaginationMode, kt as ShopDeliveryCountry, l as ShopOrderAccessStorageAdapterOptions, li as ChatDirectResult, ln as PostInput, lr as PostCounters, lt as SubscriptionOffer, m as utcStampToIso, mi as ChatHistoryPage, mn as poll, mr as CommentInput, mt as CreateShopOrderOptions, n as SpanRenderFormat, na as AttemptNext, ni as BuilderInput, nn as report, nr as LikeResult, nt as PaymentMethodType, o as createShopFeature, oa as OperationTransformer, oi as ChatAttachment, on as UserPostsParams, or as PollOption, ot as SubscriptionCheckoutStatus, p as toDate, pi as ChatForwardedMessages, pn as PollInput, pr as CommentBuilder, pt as SubscriptionRenewalAgreement, q as SubscriptionGiftInput, qi as PreparedBufferSource, qn as BannerDrawingTool, qr as autoSpans, qt as ShopProductStatus, r as renderSpans, ra as ClientPlugin, ri as ItdBuilder, rn as CommentsParams, rr as OriginalPost, rt as Subscription, s as MemoryShopOrderAccessStorage, sa as PluginApi, si as ChatChange, sn as CreatePostInput, sr as Post, st as SubscriptionCheckoutSubject, t as RenderSpansOptions, ta as AttemptInterceptor, ti as UpdatePostInput, tn as ReportInput, tr as Hashtag, tt as PaymentMethod, u as createShopOrderAccessStorage, ui as ChatEditedMessage, un as PostUpdateInput, ur as PostStats, ut as SubscriptionPayment, v as AudioMimeType, vi as ChatMediaPage, vn as PlatformClientVersion, vr as Session, vt as ShopOrderRequestOptions, w as fromUrl, wi as ChatReactionCatalog, wn as StatusIncidentLine, wr as ForwardChatMessagesInput, wt as ShopConsentContext, x as VIDEO_MIME_TYPES, xi as ChatPresence, xn as PlatformStatus, xr as UpdateNotificationSettingsInput, xt as ShopResource, y as IMAGE_MIME_TYPES, yi as ChatMessage, yn as PlatformResource, yr as NotificationListParams, yt as ShopOrdersResource, z as VideoProgressInput, zi as ClientFeature, zn as HashtagPostsParams, zr as MessageMarkupInput, zt as ShopOrderStatus } from "./shared/render-BJHqSS2F.cjs";
|
|
8
|
+
import { $ as EventTransportFrame, A as EventSequentializer, B as NotificationOfType, C as EventSession, D as EventMiddlewareObject, E as EventMiddleware, F as NotificationEventContext, G as UnknownNotificationUpdate, H as NotificationUpdateOfType, I as NotificationEventFilter, J as NotificationEventsMap, K as UnreadCountUpdate, L as NotificationEventOfType, M as runEventMiddleware, N as EventContext, O as EventNext, P as NotificationContext, Q as EventTransportContext, R as NotificationEventSelector, S as EventEnqueueOptions, T as EventHandler, U as NotificationUpdateOrigin, V as NotificationUpdate, W as NotificationUpdateType, X as NotificationEventsTransport, Y as NotificationEventsOptions, Z as EventTransport, _ as WebSocketTransportOptions, a as EventMiddlewareGroup, b as EventChannelEvents, c as EventRouteSelector, d as NotificationEventsClientOptions, et as UnauthorizedStreamError, f as createNotificationEventsClient, g as WebSocketTransport, h as WebSocketOpenFailureClassifier, i as EventFilter, j as EventTypeGuard, k as EventPredicate, l as EventRouter, m as WebSocketLike, n as EventErrorBoundary, o as EventMiddlewareLike, p as WebSocketImplementationOptions, q as NotificationEvents, r as EventErrorContext, s as EventRouteTable, t as EventComposer, tt as ReconnectOptions, u as NotificationEventsClient, v as EventChannel, w as EventSyncReason, x as EventChannelOptions, y as EventChannelDeps, z as NotificationEventsUpdate } from "./shared/events-CWQN0YE4.cjs";
|
|
9
9
|
import { a as createTokenStorage, i as TokenStorageAdapterOptions, n as MemoryTokenStorage, r as TokenStorage, t as ItdSession } from "./shared/storage-FtS4NIC7.cjs";
|
|
10
10
|
import { a as scopedTokenStorage, i as createMultiTokenStorage, n as MultiTokenStorage, r as MultiTokenStorageAdapterOptions, t as MemoryMultiTokenStorage } from "./shared/multi-storage-OGWNMK3x.cjs";
|
|
11
11
|
import { a as FileStreamOptions, c as LazyFile, d as UrlFileOptions, i as FileStreamContent, l as StreamFile, n as FileContext, o as FileTransferMode, r as FileInput, s as FromStreamOptions, t as FileContent, u as UrlFile } from "./shared/contracts-DEbkC0cB.cjs";
|
|
@@ -1815,4 +1815,4 @@ export declare class ItdAccounts {
|
|
|
1815
1815
|
* То же, что `new ItdAccounts(options)`, — для тех, кому привычнее фабрика.
|
|
1816
1816
|
*/
|
|
1817
1817
|
export declare function createAccounts(options?: ItdAccountsOptions): ItdAccounts;
|
|
1818
|
-
export { ALLOWED_MIME_TYPES, AUDIO_MIME_TYPES, AccessType, type AccountChangesResource, type AccountEmailResource, type AccountEvents, type AccountFeature, type AccountInfo, type AccountLifecycleResource, type AccountPasswordResource, type AccountPhoneResource, type AccountPhoneStartInput, type AccountResource, type Actor, type AddAccountOptions, type AllowedMimeType, type Announcement, type AnnouncementButton, type Attachment, AttachmentType, type AttemptContext, type AttemptExtensions, type AttemptInterceptor, type AttemptNext, type AudioMimeType, type AuthEvents, type AuthIdentity, type AuthInput, type AuthProvider, type AuthResource, type AuthState, type AuthUser, type Author, type AutoSpansOptions, BUCKET_LIMITS, type BannerDrawing, type BannerDrawingOperation, type BannerDrawingPoint, BannerDrawingTool, type BuilderInput, type BuiltInOperationId, CaptchaChoice, CaptchaField, type CaptchaPage, type CaptchaProvider, type CaptchaSolveContext, type CaptchaSolver, type CaptchaSolverInput, type CaptchaToken, CaptchaType, type ChangelogEntry, ChatActionType, type ChatAttachment, type ChatChange, type ChatDeletedMessages, type ChatDirectResult, type ChatEditedMessage, type ChatEventContext, type ChatEventMap, type ChatEventsOptions, type ChatFileLink, type ChatFirstMessage, type ChatForwardedMessages, type ChatHistoryPage, type ChatListPage, type ChatListParams, ChatMediaCategory, type ChatMediaItem, type ChatMediaPage, type ChatMessage, type ChatMessageContent, type ChatMessageReactions, type ChatPresence, type ChatPreview, type ChatReaction, type ChatReactionCatalog, type ChatReactionCount, ChatReactionType, type ChatReadCursor, type ChatReadResult, type ChatReply, type ChatSentMessage, type ChatSummary, type ChatTextEntity, type ChatUnreadState, type ChatUpdate, ChatUpdateType, type ChatUpdatesPage, type ChatUploadOptions, type ChatUploadedFile, type ChatsApi, ChatsResource, type Clan, type ClientConnection, type ClientFeature, type ClientHooks, type ClientPlugin, type Comment, type CommentBuilder, type CommentInput, type CommentReplyTo, CommentSort, type CommentUpdateResult, type CommentsParams, type CommentsResource, type ConsentDocument, type ContactActionResult, type ContactChange, type ContactChangeConfirmation, type ContactChangeSchedule, type ContactProofDelivery, type CreateCommentInput, type CreatePollInput, type CreatePostData, type CreatePostInput, type CreateReportInput, type CreateShopOrderInput, type CreateShopOrderOptions, type Credentials, type CredentialsAuth, type CredentialsWithCaptcha, type CustomOperationId, DEFAULT_BASE_URL, DEFAULT_RATE_LIMIT_BUCKET, type DwellEntry, type EnumerableKeyValueStore, type ErrorContextHook, EventChannel, type EventChannelDeps, type EventChannelEvents, type EventChannelOptions, EventChannelStatus, EventComposer, type EventContext, type EventEnqueueOptions, type EventErrorBoundary, type EventErrorContext, type EventFilter, type EventHandler, type EventMiddleware, type EventMiddlewareGroup, type EventMiddlewareLike, type EventMiddlewareObject, type EventNext, type EventPredicate, type EventRouteSelector, type EventRouteTable, EventRouter, type EventSequentializer, type EventSession, type EventSyncReason, type EventTransport, type EventTransportContext, type EventTransportFrame, type EventTypeGuard, type FeatureBucketDefinition, type FeatureContext, type FeatureInstallation, type FeatureOperationDefinition, type FeatureOperationId, type FeatureRequestOptions, type FeedParams, FeedTab, type FileContent, type FileContext, type FileInput, type FileResolver, type FileStreamContent, type FileStreamOptions, FileTransferMode, type FilesResource, type FollowResult, type ForgotPasswordInput, type ForwardChatMessagesInput, type FromStreamOptions, type Hashtag, type HashtagPostsParams, type HashtagsResource, IMAGE_MIME_TYPES, type ImageMimeType, IncidentKind, type InteractionEntry, InteractionType, type InternationalSubscriptionCapability, type InternationalSubscriptionCheckout, InternationalSubscriptionCheckoutMode, type InternationalSubscriptionOffer, type IsoDate, ItdAbortError, type ItdAccountsOptions, ItdApiError, type ItdApiErrorInit, ItdApiErrorKind, ItdAuthError, type ItdBuilder, type ItdClientOptions, type ItdClock, ItdConfigError, ItdConflictError, ItdError, ItdErrorCode, ItdErrorKind, type ItdFieldErrors, ItdFileError, ItdFileErrorReason, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdPhoneVerificationError, ItdRateLimitError, ItdServerError, type ItdSession, ItdStateError, ItdTimeoutError, ItdValidationError, type KeyValueCodec, type KeyValueStore, type KeyValueStoreKeys, type KeyValueStoreResult, LIBRARY_VERSION, type LastSeen, LastSeenUnit, type LazyFile, type LegalDocument, type LegalDocumentBlock, LegalDocumentBlockType, LegalDocumentScope, type LegalDocumentSummary, type LegalDocumentVersion, type LegalResource, type LikeResult, LikesVisibility, type Listener, LogLevel, type Logger, type Loose, type ManagedClientResource, type MarkupBuilder, type MarkupContent, type MarkupInput, type MarkupSpan, MemoryKeyValueStore, MemoryMultiTokenStorage, MemoryShopOrderAccessStorage, MemoryTokenStorage, MessageAccess, type MessageAllowlistMembership, type MessageAllowlistParams, type MessageAllowlistUser, type MessageBuilder, type MessageInput, type MessageMarkup, type MessageMarkupBuilder, type MessageMarkupContent, type MessageMarkupInput, type MultiTokenStorage, type MultiTokenStorageAdapterOptions, type MyProfile, type Notification, type NotificationContext, type NotificationEvent, type NotificationEventContext, type NotificationEventFilter, type NotificationEventOfType, type NotificationEventSelector, NotificationEvents, NotificationEventsClient, type NotificationEventsClientOptions, type NotificationEventsMap, type NotificationEventsOptions, NotificationEventsTransport, type NotificationEventsUpdate, type NotificationListParams, type NotificationOfType, type NotificationSettings, NotificationType, type NotificationUpdate, type NotificationUpdateOfType, NotificationUpdateOrigin, NotificationUpdateType, type NotificationsApi, type NotificationsResource, OPERATIONS, type OperationAnnotations, type ItdOperationDefinition as OperationDefinition, type OperationExtensions, type OperationId, type OperationMetadata, OperationMethod, type OperationRequestOptions, type OperationTransformContext, type OperationTransformer, type OriginalPost, type Page, type PageState, PaginationMode, type PaginationOptions, Paginator, type PaginatorOptions, type ParseMarkupOptions, type PayShopOrderOptions, type PaymentMethod, PaymentMethodType, type PendingContactChange, type PhoneAuthResource, type PhoneConfig, type PhoneConsent, type PhoneDelivery, type PhoneFlowInput, type PhoneFlowResume, type PhoneFlowStart, type PhoneLoginInput, type PhoneLoginResult, type PhoneRegion, type PhoneReverseOptions, type PhoneReverseStatus, type PhotoOpenInput, type Pin, type PinPostResult, type PinsResult, type PlatformClientVersion, type PlatformResource, type PlatformStatus, type PlatformVersions, type PluginApi, type PluginTeardown, type Poll, type PollBuilder, type PollInput, type PollOption, type Portal, type Post, type PostBase, type PostBuilder, type PostCounters, type PostInput, type PostStats, type PostUpdateInput, type PostUpdateResult, type PostsResource, type PreparedBufferSource, type PreparedFileSource, type PreparedStreamSource, type PrivacySettings, type Profile, type PublicProfile, QrLocationPrecision, type QrLoginClaim, type QrLoginClaimInput, type QrLoginSecrets, type QrLoginStart, type QrLoginStreamEvent, type QrLoginStreamInput, type QrLoginStreamListener, type QrLoginStreamOptions, type QrLoginTarget, type QueryParams, type QueryValue, type RateLimitBucket, type RateLimitBucketContext, type RateLimitBucketOverride, type RateLimitBucketState, type RateLimitOptions, RateLimitPacing, type RawRequestOptions, type ReconnectOptions, type RecordKeyValueStoreSource, type RemoveAccountOptions, type RenderSpansOptions, type RepliesParams, type Report, type ReportBuilder, type ReportInput, ReportReason, ReportTargetType, type ReportsResource, type RequestContext, type RequestExtensions, type RequestOptions, type ResetPasswordInput, type ResolveFileContext, type ResolveFileOptions, type ResponseContext, type RetryContext, type RetryDecisionContext, type RetryOptions, RetrySafety, RuntimeMode, type RuntimeOptions, STATUS_SERVICE, type SearchResource, type SearchResult, type SendChatMessageInput, type ServiceDefinition, ServiceState, type ServiceStatus, type Session, type SessionOptions, type SetChatReactionsInput, type ShopConsent, type ShopConsentContext, ShopConsentKind, type ShopConsentsResource, type ShopCreatedOrder, type ShopDeliveryCalculation, type ShopDeliveryCity, type ShopDeliveryCountry, type ShopDeliveryDestination, type ShopDeliveryPoint, type ShopDeliveryResource, type ShopFeatureApi, type ShopFeatureOptions, type ShopOrder, type ShopOrderAccessSession, type ShopOrderAccessStorage, type ShopOrderAccessStorageAdapterOptions, type ShopOrderAccessVerification, type ShopOrderBase, type ShopOrderDelivery, type ShopOrderItem, type ShopOrderItemInput, type ShopOrderRequestOptions, ShopOrderStatus, type ShopOrderSummary, type ShopOrderSupport, type ShopOrdersResource, type ShopPayment, type ShopProduct, ShopProductCategory, type ShopProductColor, type ShopProductSpec, ShopProductStatus, type ShopProductsResource, type ShopRecipient, type ShopResource, type ShopSizeChart, type ShopSizeChartRow, type SignInResult, type Span, SpanRenderFormat, SpanType, type StatusDay, type StatusIncidentLine, type StreamFile, type Subscription, type SubscriptionBindCardOptions, type SubscriptionCheckoutInput, SubscriptionCheckoutKind, type SubscriptionCheckoutReleaseInput, type SubscriptionCheckoutState, SubscriptionCheckoutStatus, type SubscriptionCheckoutSubject, type SubscriptionCheckoutTerms, type SubscriptionGift, type SubscriptionGiftInput, type SubscriptionOffer, type SubscriptionPayOptions, type SubscriptionPayment, type SubscriptionPaymentInput, SubscriptionPaymentProvider, type SubscriptionQuote, type SubscriptionRenewalAgreement, type SubscriptionResource, type SubscriptionState, type TelemetryBatch, type TelemetryBatchOptions, type TelemetryClock, type TelemetryOptions, type TelemetryResource, type TextMarkup, TimeoutBudget, type TokenStorage, type TokenStorageAdapterOptions, UnauthorizedStreamError, type UnknownNotificationUpdate, type UnreadCountUpdate, type Unsubscribe, type UpdateNotificationSettingsInput, type UpdatePostInput, type UpdatePrivacyInput, type UpdateProfileInput, type UpdateResultBase, type UploadOptions, type UploadedBannerDrawing, type UploadedFile, type UrlFile, type UrlFileOptions, type UserBase, type UserId, type UserListParams, type UserPostsParams, type UserRef, type UserSummary, type UsernameAvailability, UsernameUnavailableReason, type UsersResource, VIDEO_MIME_TYPES, type VerificationResource, type VerificationStatus, type VideoMimeType, type VideoProgressInput, ViewReason, ViewSource, type ViewTracker, type ViewTrackerInput, type ViewTrackerOptions, WallAccess, type WebSocketImplementationOptions, type WebSocketLike, type WebSocketOpenFailureClassifier, WebSocketTransport, type WebSocketTransportOptions, autoSpans, canonicalNotificationType, comment, createKeyValueStore, createMultiTokenStorage, createNotificationEventsClient, createRecordKeyValueStore, createShopFeature, createShopOrderAccessStorage, createTokenStorage, formatNotificationText, fromStream, fromUrl, isBuilder, isBuiltInOperationId, isEnumerableKeyValueStore, isItdApiError, isItdAuthError, isItdConflictError, isItdError, isItdFileError, isItdForbiddenError, isItdNotFoundError, isItdPhoneVerificationError, isItdRateLimitError, isItdServerError, isItdStateError, isItdValidationError, isKnownNotificationType, isMyProfile, mapPage, markup, message, messageMarkup, normalizeNotification, operationBucket, operationMethod, operationRetrySafety, parseHtml, parseMarkdown, poll, post, renderSpans, report, resolveNotificationUrl, runEventMiddleware, scopedTokenStorage, statusDays, systemClock, toDate, utcStampToIso, withCodec, withNamespace };
|
|
1818
|
+
export { ALLOWED_MIME_TYPES, AUDIO_MIME_TYPES, AccessType, type AccountChangesResource, type AccountEmailResource, type AccountEvents, type AccountFeature, type AccountInfo, type AccountLifecycleResource, type AccountPasswordResource, type AccountPhoneResource, type AccountPhoneStartInput, type AccountResource, type Actor, type AddAccountOptions, type AllowedMimeType, type Announcement, type AnnouncementButton, type Attachment, AttachmentType, type AttemptContext, type AttemptExtensions, type AttemptInterceptor, type AttemptNext, type AudioMimeType, type AuthEvents, type AuthIdentity, type AuthInput, type AuthProvider, type AuthResource, type AuthState, type AuthUser, type Author, type AutoSpansOptions, BUCKET_LIMITS, type BannerDrawing, type BannerDrawingOperation, type BannerDrawingPoint, BannerDrawingTool, type BuilderInput, type BuiltInOperationId, CaptchaChoice, CaptchaField, type CaptchaPage, type CaptchaProvider, type CaptchaSolveContext, type CaptchaSolver, type CaptchaSolverInput, type CaptchaToken, CaptchaType, type ChangelogEntry, ChatActionType, type ChatAttachment, type ChatChange, type ChatDeletedMessages, type ChatDirectResult, type ChatEditedMessage, type ChatEventContext, type ChatEventMap, type ChatEventsOptions, type ChatFileLink, type ChatFirstMessage, type ChatForwardedMessages, type ChatHistoryPage, type ChatListPage, type ChatListParams, ChatMediaCategory, type ChatMediaItem, type ChatMediaPage, type ChatMessage, type ChatMessageContent, type ChatMessageReactions, type ChatPresence, type ChatPreview, type ChatReaction, type ChatReactionCatalog, type ChatReactionCount, ChatReactionType, type ChatReadCursor, type ChatReadResult, type ChatReply, type ChatSentMessage, type ChatSummary, type ChatTextEntity, type ChatUnreadState, type ChatUpdate, ChatUpdateType, type ChatUpdatesPage, type ChatUploadOptions, type ChatUploadedFile, type ChatsApi, ChatsResource, type Clan, type ClientConnection, type ClientFeature, type ClientHooks, type ClientPlugin, type Comment, type CommentBuilder, type CommentInput, type CommentReplyTo, CommentSort, type CommentUpdateResult, type CommentsParams, type CommentsResource, type ConsentDocument, type ContactActionResult, type ContactChange, type ContactChangeConfirmation, type ContactChangeSchedule, type ContactProofDelivery, type CreateCommentInput, type CreatePollInput, type CreatePostData, type CreatePostInput, type CreateReportInput, type CreateShopOrderInput, type CreateShopOrderOptions, type Credentials, type CredentialsAuth, type CredentialsWithCaptcha, type CustomOperationId, DEFAULT_BASE_URL, DEFAULT_RATE_LIMIT_BUCKET, type DwellEntry, type EnumerableKeyValueStore, type ErrorContextHook, EventChannel, type EventChannelDeps, type EventChannelEvents, type EventChannelOptions, EventChannelStatus, EventComposer, type EventContext, type EventEnqueueOptions, type EventErrorBoundary, type EventErrorContext, type EventFilter, type EventHandler, type EventMiddleware, type EventMiddlewareGroup, type EventMiddlewareLike, type EventMiddlewareObject, type EventNext, type EventPredicate, type EventRouteSelector, type EventRouteTable, EventRouter, type EventSequentializer, type EventSession, type EventSyncReason, type EventTransport, type EventTransportContext, type EventTransportFrame, type EventTypeGuard, type FeatureBucketDefinition, type FeatureContext, type FeatureInstallation, type FeatureOperationDefinition, type FeatureOperationId, type FeatureRequestOptions, type FeedParams, FeedTab, type FileContent, type FileContext, type FileInput, type FileResolver, type FileStreamContent, type FileStreamOptions, FileTransferMode, type FilesResource, type FollowResult, type ForgotPasswordInput, type ForwardChatMessagesInput, type FromStreamOptions, type Hashtag, type HashtagPostsParams, type HashtagsResource, IMAGE_MIME_TYPES, type ImageMimeType, IncidentKind, type InteractionEntry, InteractionType, type InternationalSubscriptionCapability, type InternationalSubscriptionCheckout, InternationalSubscriptionCheckoutMode, type InternationalSubscriptionOffer, type IsoDate, ItdAbortError, type ItdAccountsOptions, ItdApiError, type ItdApiErrorInit, ItdApiErrorKind, ItdAuthError, type ItdBuilder, type ItdClientOptions, type ItdClock, ItdConfigError, ItdConflictError, ItdError, ItdErrorCode, ItdErrorKind, type ItdFieldErrors, ItdFileError, ItdFileErrorReason, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdPhoneVerificationError, ItdRateLimitError, ItdServerError, type ItdSession, ItdStateError, ItdTimeoutError, ItdValidationError, type KeyValueCodec, type KeyValueStore, type KeyValueStoreKeys, type KeyValueStoreResult, LIBRARY_VERSION, type LastSeen, LastSeenUnit, type LazyFile, type LegalDocument, type LegalDocumentBlock, LegalDocumentBlockType, LegalDocumentScope, type LegalDocumentSummary, type LegalDocumentVersion, type LegalResource, type LikeResult, LikesVisibility, type Listener, LogLevel, type Logger, type Loose, type ManagedClientResource, type MarkupBuilder, type MarkupContent, type MarkupInput, type MarkupSpan, MemoryKeyValueStore, MemoryMultiTokenStorage, MemoryShopOrderAccessStorage, MemoryTokenStorage, MessageAccess, type MessageAllowlistMembership, type MessageAllowlistParams, type MessageAllowlistUser, type MessageBuilder, type MessageInput, type MessageMarkup, type MessageMarkupBuilder, type MessageMarkupContent, type MessageMarkupInput, type MultiTokenStorage, type MultiTokenStorageAdapterOptions, type MyProfile, type Notification, type NotificationContext, type NotificationEvent, type NotificationEventContext, type NotificationEventFilter, type NotificationEventOfType, type NotificationEventSelector, NotificationEvents, NotificationEventsClient, type NotificationEventsClientOptions, type NotificationEventsMap, type NotificationEventsOptions, NotificationEventsTransport, type NotificationEventsUpdate, type NotificationListParams, type NotificationOfType, type NotificationSettings, NotificationType, type NotificationUpdate, type NotificationUpdateOfType, NotificationUpdateOrigin, NotificationUpdateType, type NotificationsApi, type NotificationsResource, OPERATIONS, type OperationAnnotations, type ItdOperationDefinition as OperationDefinition, type OperationExtensions, type OperationId, type OperationMetadata, OperationMethod, type OperationRequestOptions, type OperationTransformContext, type OperationTransformer, type OriginalPost, type Page, type PageState, PaginationMode, type PaginationOptions, Paginator, type PaginatorOptions, type ParseMarkupOptions, type PayShopOrderOptions, type PaymentMethod, PaymentMethodType, type PendingContactChange, type PhoneAuthResource, type PhoneConfig, type PhoneConsent, type PhoneDelivery, type PhoneFlowInput, type PhoneFlowResume, type PhoneFlowStart, type PhoneLoginInput, type PhoneLoginResult, type PhoneRegion, type PhoneReverseOptions, type PhoneReverseStatus, type PhotoOpenInput, type Pin, type PinPostResult, type PinsResult, type PlatformClientVersion, type PlatformResource, type PlatformStatus, type PlatformVersions, type PluginApi, type PluginTeardown, type Poll, type PollBuilder, type PollInput, type PollOption, type Portal, type Post, type PostBase, type PostBuilder, type PostCounters, type PostInput, type PostStats, type PostUpdateInput, type PostUpdateResult, type PostsResource, type PreparedBufferSource, type PreparedFileSource, type PreparedStreamSource, type PrivacySettings, type Profile, type PublicProfile, QrLocationPrecision, type QrLoginClaim, type QrLoginClaimInput, type QrLoginSecrets, type QrLoginStart, type QrLoginStreamEvent, type QrLoginStreamInput, type QrLoginStreamListener, type QrLoginStreamOptions, type QrLoginTarget, type QueryParams, type QueryValue, type RateLimitBucket, type RateLimitBucketContext, type RateLimitBucketOverride, type RateLimitBucketState, RateLimitErrorScope, type RateLimitOptions, RateLimitPacing, type RawRequestOptions, type ReconnectOptions, type RecordKeyValueStoreSource, type RemoveAccountOptions, type RenderSpansOptions, type RepliesParams, type Report, type ReportBuilder, type ReportInput, ReportReason, ReportTargetType, type ReportsResource, type RequestContext, type RequestExtensions, type RequestOptions, type ResetPasswordInput, type ResolveFileContext, type ResolveFileOptions, type ResponseContext, type RetryContext, type RetryDecisionContext, type RetryOptions, RetrySafety, RuntimeMode, type RuntimeOptions, STATUS_SERVICE, type SearchResource, type SearchResult, type SendChatMessageInput, type ServiceDefinition, ServiceState, type ServiceStatus, type Session, type SessionOptions, type SetChatReactionsInput, type ShopConsent, type ShopConsentContext, ShopConsentKind, type ShopConsentsResource, type ShopCreatedOrder, type ShopDeliveryCalculation, type ShopDeliveryCity, type ShopDeliveryCountry, type ShopDeliveryDestination, type ShopDeliveryPoint, type ShopDeliveryResource, type ShopFeatureApi, type ShopFeatureOptions, type ShopOrder, type ShopOrderAccessSession, type ShopOrderAccessStorage, type ShopOrderAccessStorageAdapterOptions, type ShopOrderAccessVerification, type ShopOrderBase, type ShopOrderDelivery, type ShopOrderItem, type ShopOrderItemInput, type ShopOrderRequestOptions, ShopOrderStatus, type ShopOrderSummary, type ShopOrderSupport, type ShopOrdersResource, type ShopPayment, type ShopProduct, ShopProductCategory, type ShopProductColor, type ShopProductSpec, ShopProductStatus, type ShopProductsResource, type ShopRecipient, type ShopResource, type ShopSizeChart, type ShopSizeChartRow, type SignInResult, type Span, SpanRenderFormat, SpanType, type StatusDay, type StatusIncidentLine, type StreamFile, type Subscription, type SubscriptionBindCardOptions, type SubscriptionCheckoutInput, SubscriptionCheckoutKind, type SubscriptionCheckoutReleaseInput, type SubscriptionCheckoutState, SubscriptionCheckoutStatus, type SubscriptionCheckoutSubject, type SubscriptionCheckoutTerms, type SubscriptionGift, type SubscriptionGiftInput, type SubscriptionOffer, type SubscriptionPayOptions, type SubscriptionPayment, type SubscriptionPaymentInput, SubscriptionPaymentProvider, type SubscriptionQuote, type SubscriptionRenewalAgreement, type SubscriptionResource, type SubscriptionState, type TelemetryBatch, type TelemetryBatchOptions, type TelemetryClock, type TelemetryOptions, type TelemetryResource, type TextMarkup, TimeoutBudget, type TokenStorage, type TokenStorageAdapterOptions, UnauthorizedStreamError, type UnknownNotificationUpdate, type UnreadCountUpdate, type Unsubscribe, type UpdateNotificationSettingsInput, type UpdatePostInput, type UpdatePrivacyInput, type UpdateProfileInput, type UpdateResultBase, type UploadOptions, type UploadedBannerDrawing, type UploadedFile, type UrlFile, type UrlFileOptions, type UserBase, type UserId, type UserListParams, type UserPostsParams, type UserRef, type UserSummary, type UsernameAvailability, UsernameUnavailableReason, type UsersResource, VIDEO_MIME_TYPES, type VerificationResource, type VerificationStatus, type VideoMimeType, type VideoProgressInput, ViewReason, ViewSource, type ViewTracker, type ViewTrackerInput, type ViewTrackerOptions, WallAccess, type WebSocketImplementationOptions, type WebSocketLike, type WebSocketOpenFailureClassifier, WebSocketTransport, type WebSocketTransportOptions, autoSpans, canonicalNotificationType, comment, createKeyValueStore, createMultiTokenStorage, createNotificationEventsClient, createRecordKeyValueStore, createShopFeature, createShopOrderAccessStorage, createTokenStorage, formatNotificationText, fromStream, fromUrl, isBuilder, isBuiltInOperationId, isEnumerableKeyValueStore, isItdApiError, isItdAuthError, isItdConflictError, isItdError, isItdFileError, isItdForbiddenError, isItdNotFoundError, isItdPhoneVerificationError, isItdRateLimitError, isItdServerError, isItdStateError, isItdValidationError, isKnownNotificationType, isMyProfile, mapPage, markup, message, messageMarkup, normalizeNotification, operationBucket, operationMethod, operationRetrySafety, parseHtml, parseMarkdown, poll, post, renderSpans, report, resolveNotificationUrl, runEventMiddleware, scopedTokenStorage, statusDays, systemClock, toDate, utcStampToIso, withCodec, withNamespace };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
6
|
-
import { $ as ItdServerError, $t as
|
|
7
|
-
import { $ as InternationalSubscriptionCheckoutMode, $i as AttemptContext, $n as CommentReplyTo, $r as CreateReportInput, $t as ReportsResource, A as UsersResource, Ai as ChatSentMessage, An as Report, Ar as Paginator, At as ShopDeliveryDestination, B as ViewTracker, Bi as FeatureBucketDefinition, Bn as HashtagsResource, Br as messageMarkup, Bt as ShopOrderSummary, C as fromStream, Ci as ChatReaction, Cn as StatusDay, Cr as ChatsResource, Ct as ShopConsent, D as UpdatePrivacyInput, Di as ChatReadCursor, Dn as ChangelogEntry, Dr as Page, Dt as ShopDeliveryCalculation, E as MessageAllowlistParams, Ei as ChatReactionType, En as AnnouncementButton, Er as BaseResource, Et as ShopCreatedOrder, F as TelemetryBatchOptions, Fi as ChatUpdateType, Fn as LegalDocumentBlockType, Fr as message, Ft as ShopOrderBase, G as SubscriptionCheckoutReleaseInput, Gi as ManagedClientResource, Gn as BannerDrawingOperation, Gr as MarkupSpan, Gt as ShopProductColor, H as ViewTrackerOptions, Hi as FeatureInstallation, Hn as UploadOptions, Hr as MarkupBuilder, Ht as ShopPayment, I as TelemetryClock, Ii as ChatUpdatesPage, In as LegalDocumentScope, Ir as MessageMarkup, It as ShopOrderDelivery, J as SubscriptionPayOptions, Ji as PreparedFileSource, Jn as UploadedBannerDrawing, Jr as markup, Jt as ShopRecipient, K as SubscriptionCheckoutTerms, Ki as FileResolver, Kn as BannerDrawingPoint, Kr as TextMarkup, Kt as ShopProductSpec, L as TelemetryOptions, Li as ChatUploadOptions, Ln as LegalDocumentSummary, Lr as MessageMarkupBuilder, Lt as ShopOrderItem, M as InteractionEntry, Mi as ChatTextEntity, Mn as LegalResource, Mr as mapPage, Mt as ShopOrder, N as PhotoOpenInput, Ni as ChatUnreadState, Nn as LegalDocument, Nr as MessageBuilder, Nt as ShopOrderAccessSession, O as UpdateProfileInput, Oi as ChatReadResult, On as Clan, Or as PageState, Ot as ShopDeliveryCity, P as TelemetryBatch, Pi as ChatUpdate, Pn as LegalDocumentBlock, Pr as MessageInput, Pt as ShopOrderAccessVerification, Q as InternationalSubscriptionCheckout, Qi as RateLimitBucketState, Qn as Comment, Qr as CreatePostData, Qt as SearchResult, R as TelemetryResource, Ri as ChatUploadedFile, Rn as LegalDocumentVersion, Rr as MessageMarkupContent, Rt as ShopOrderItemInput, S as VideoMimeType, Si as ChatPreview, Sn as ServiceStatus, Sr as ChatListParams, St as CreateShopOrderInput, T as VerificationResource, Ti as ChatReactionCount, Tn as Announcement, Tr as SetChatReactionsInput, Tt as ShopConsentKind, U as SubscriptionBindCardOptions, Ui as FeatureOperationDefinition, Un as UploadedFile, Ur as MarkupContent, Ut as ShopProduct, V as ViewTrackerInput, Vi as FeatureContext, Vn as FilesResource, Vr as AutoSpansOptions, Vt as ShopOrderSupport, W as SubscriptionCheckoutInput, Wi as FeatureRequestOptions, Wn as BannerDrawing, Wr as MarkupInput, Wt as ShopProductCategory, X as SubscriptionResource, Xi as ResolveFileContext, Xn as RepliesParams, Xr as CreateCommentInput, Xt as ShopSizeChartRow, Y as SubscriptionPaymentInput, Yi as PreparedStreamSource, Yn as CommentsResource, Yr as ChatMessageContent, Yt as ShopSizeChart, Z as InternationalSubscriptionCapability, Zi as ResolveFileOptions, Zn as Attachment, Zr as CreatePollInput, Zt as SearchResource, _ as AllowedMimeType, _i as ChatMediaItem, _n as parseMarkdown, _r as QrLoginTarget, _t as ShopDeliveryResource, a as ShopFeatureOptions, aa as OperationTransformContext, ai as ChatActionType, an as PostsResource, ar as Poll, at as SubscriptionCheckoutState, b as ImageMimeType, bi as ChatMessageReactions, bn as PlatformVersions, br as NotificationsResource, bt as ShopProductsResource, c as ShopOrderAccessStorage, ca as PluginTeardown, ci as ChatDeletedMessages, cn as PostBuilder, cr as PostBase, ct as SubscriptionGift, d as statusDays, di as ChatFileLink, dn as post, dr as PostUpdateResult, dt as SubscriptionPaymentProvider, ea as AttemptExtensions, ei as SendChatMessageInput, en as ReportBuilder, er as CommentUpdateResult, et as InternationalSubscriptionOffer, f as isMyProfile, fi as ChatFirstMessage, fn as PollBuilder, fr as UpdateResultBase, ft as SubscriptionQuote, g as AUDIO_MIME_TYPES, gi as ChatMediaCategory, gn as parseHtml, gr as AccountLifecycleResource, gt as ShopConsentsResource, h as ALLOWED_MIME_TYPES, hi as ChatListPage, hn as ParseMarkupOptions, hr as comment, ht as PayShopOrderOptions, i as ShopFeatureApi, ia as OperationExtensions, ii as isBuilder, in as FeedParams, ir as PinPostResult, it as SubscriptionCheckoutKind, j as DwellEntry, ji as ChatSummary, jn as VerificationStatus, jr as PaginatorOptions, jt as ShopDeliveryPoint, k as UserListParams, ki as ChatReply, kn as Portal, kr as PaginationMode, kt as ShopDeliveryCountry, l as ShopOrderAccessStorageAdapterOptions, la as HttpClient, li as ChatDirectResult, ln as PostInput, lr as PostCounters, lt as SubscriptionOffer, m as utcStampToIso, mi as ChatHistoryPage, mn as poll, mr as CommentInput, mt as CreateShopOrderOptions, n as SpanRenderFormat, na as AttemptNext, ni as BuilderInput, nn as report, nr as LikeResult, nt as PaymentMethodType, o as createShopFeature, oa as OperationTransformer, oi as ChatAttachment, on as UserPostsParams, or as PollOption, ot as SubscriptionCheckoutStatus, p as toDate, pi as ChatForwardedMessages, pn as PollInput, pr as CommentBuilder, pt as SubscriptionRenewalAgreement, q as SubscriptionGiftInput, qi as PreparedBufferSource, qn as BannerDrawingTool, qr as autoSpans, qt as ShopProductStatus, r as renderSpans, ra as ClientPlugin, ri as ItdBuilder, rn as CommentsParams, rr as OriginalPost, rt as Subscription, s as MemoryShopOrderAccessStorage, sa as PluginApi, si as ChatChange, sn as CreatePostInput, sr as Post, st as SubscriptionCheckoutSubject, t as RenderSpansOptions, ta as AttemptInterceptor, ti as UpdatePostInput, tn as ReportInput, tr as Hashtag, tt as PaymentMethod, u as createShopOrderAccessStorage, ua as CookieJar, ui as ChatEditedMessage, un as PostUpdateInput, ur as PostStats, ut as SubscriptionPayment, v as AudioMimeType, vi as ChatMediaPage, vn as PlatformClientVersion, vr as Session, vt as ShopOrderRequestOptions, w as fromUrl, wi as ChatReactionCatalog, wn as StatusIncidentLine, wr as ForwardChatMessagesInput, wt as ShopConsentContext, x as VIDEO_MIME_TYPES, xi as ChatPresence, xn as PlatformStatus, xr as UpdateNotificationSettingsInput, xt as ShopResource, y as IMAGE_MIME_TYPES, yi as ChatMessage, yn as PlatformResource, yr as NotificationListParams, yt as ShopOrdersResource, z as VideoProgressInput, zi as ClientFeature, zn as HashtagPostsParams, zr as MessageMarkupInput, zt as ShopOrderStatus } from "./shared/render-
|
|
8
|
-
import { $ as EventTransportContext, A as EventHandler, B as NotificationEventContext, C as EventChannelDeps, D as EventSession, E as EventEnqueueOptions, F as EventSequentializer, G as NotificationOfType, H as NotificationEventOfType, I as EventTypeGuard, J as NotificationUpdateOrigin, K as NotificationUpdate, L as runEventMiddleware, M as EventMiddlewareObject, N as EventNext, O as EventSyncReason, P as EventPredicate, Q as EventTransport, R as EventContext, S as EventChannel, T as EventChannelOptions, U as NotificationEventSelector, V as NotificationEventFilter, W as NotificationEventsUpdate, X as UnknownNotificationUpdate, Y as NotificationUpdateType, Z as UnreadCountUpdate, _ as createNotificationEventsClient, a as WebSocketTransportOptions, b as NotificationEventsOptions, c as EventErrorContext, d as EventMiddlewareLike, et as EventTransportFrame, f as EventRouteTable, g as NotificationEventsClientOptions, h as NotificationEventsClient, i as WebSocketTransport, j as EventMiddleware, k as ReconnectOptions, l as EventFilter, m as EventRouter, n as WebSocketLike, o as EventComposer, p as EventRouteSelector, q as NotificationUpdateOfType, r as WebSocketOpenFailureClassifier, s as EventErrorBoundary, t as WebSocketImplementationOptions, tt as UnauthorizedStreamError, u as EventMiddlewareGroup, v as NotificationEvents, w as EventChannelEvents, x as NotificationEventsTransport, y as NotificationEventsMap, z as NotificationContext } from "./shared/events-
|
|
6
|
+
import { $ as ItdServerError, $t as ItdOperationDefinition, A as ClientConnection, An as ReportReason, At as RateLimitBucketContext, B as ItdAuthError, Bt as RetryOptions, C as SubscriptionState, Cn as ItdErrorCode, Ct as OperationMetadata, D as Emitter, Dn as MessageAccess, Dt as ErrorContextHook, E as UsernameAvailability, En as Loose, Et as ClientHooks, Fn as ViewReason, Ft as RequestExtensions, G as ItdFieldErrors, Gt as RateLimitPacing, H as ItdConflictError, Ht as QueryParams, I as ItdAbortError, In as ViewSource, It as RequestOptions, J as ItdForbiddenError, Jt as Logger, K as ItdFileError, Kt as RuntimeMode, L as ItdApiError, Ln as WallAccess, Lt as ResponseContext, M as AuthProvider, Mn as ServiceState, Mt as RateLimitOptions, Nn as SpanType, Nt as RawRequestOptions, O as Listener, On as NotificationType, Ot as OperationRequestOptions, Pn as UsernameUnavailableReason, Pt as RequestContext, Q as ItdRateLimitError, Qt as CustomOperationId, R as ItdApiErrorInit, Rt as RetryContext, S as PublicProfile, Sn as InteractionType, T as UserSummary, Tn as LikesVisibility, Tt as RetrySafety, U as ItdError, Ut as QueryValue, V as ItdConfigError, Vt as RuntimeOptions, W as ItdErrorKind, Wt as ServiceDefinition, X as ItdNotFoundError, Xt as systemClock, Y as ItdNetworkError, Yt as ItdClock, Z as ItdPhoneVerificationError, Zt as BuiltInOperationId, _ as MyProfile, _n as CaptchaType, _t as DEFAULT_BASE_URL, a as NotificationEvent, an as operationRetrySafety, at as isItdApiError, b as PrivacySettings, bn as FeedTab, bt as FeatureOperationId, c as NotificationSettings, cn as RateLimitBucket, ct as isItdError, d as AuthUser, dn as UserId, dt as isItdNotFoundError, en as OPERATIONS, et as ItdStateError, f as Author, fn as UserRef, ft as isItdPhoneVerificationError, g as MessageAllowlistUser, gn as CaptchaField, gt as isItdValidationError, h as MessageAllowlistMembership, hn as CaptchaChoice, ht as isItdStateError, i as formatNotificationText, in as operationMethod, it as TimeoutBudget, j as AuthIdentity, jn as ReportTargetType, jt as RateLimitBucketOverride, k as Unsubscribe, kn as QrLocationPrecision, kt as PaginationOptions, l as Actor, ln as IsoDate, lt as isItdFileError, m as LastSeen, mn as AttachmentType, mt as isItdServerError, n as canonicalNotificationType, nn as isBuiltInOperationId, nt as ItdValidationError, o as normalizeNotification, on as BUCKET_LIMITS, ot as isItdAuthError, p as FollowResult, pn as AccessType, pt as isItdRateLimitError, q as ItdFileErrorReason, qt as LogLevel, r as isKnownNotificationType, rn as operationBucket, rt as RateLimitErrorScope, s as Notification, sn as DEFAULT_RATE_LIMIT_BUCKET, st as isItdConflictError, t as resolveNotificationUrl, tn as OperationId, tt as ItdTimeoutError, u as AuthState, un as Span, ut as isItdForbiddenError, v as Pin, vn as CommentSort, vt as STATUS_SERVICE, w as UserBase, wn as LastSeenUnit, wt as OperationMethod, x as Profile, xn as IncidentKind, xt as OperationAnnotations, y as PinsResult, yn as EventChannelStatus, yt as LIBRARY_VERSION, z as ItdApiErrorKind, zt as RetryDecisionContext } from "./shared/url-wVgUPR6Q.js";
|
|
7
|
+
import { $ as InternationalSubscriptionCheckoutMode, $i as AttemptContext, $n as CommentReplyTo, $r as CreateReportInput, $t as ReportsResource, A as UsersResource, Ai as ChatSentMessage, An as Report, Ar as Paginator, At as ShopDeliveryDestination, B as ViewTracker, Bi as FeatureBucketDefinition, Bn as HashtagsResource, Br as messageMarkup, Bt as ShopOrderSummary, C as fromStream, Ci as ChatReaction, Cn as StatusDay, Cr as ChatsResource, Ct as ShopConsent, D as UpdatePrivacyInput, Di as ChatReadCursor, Dn as ChangelogEntry, Dr as Page, Dt as ShopDeliveryCalculation, E as MessageAllowlistParams, Ei as ChatReactionType, En as AnnouncementButton, Er as BaseResource, Et as ShopCreatedOrder, F as TelemetryBatchOptions, Fi as ChatUpdateType, Fn as LegalDocumentBlockType, Fr as message, Ft as ShopOrderBase, G as SubscriptionCheckoutReleaseInput, Gi as ManagedClientResource, Gn as BannerDrawingOperation, Gr as MarkupSpan, Gt as ShopProductColor, H as ViewTrackerOptions, Hi as FeatureInstallation, Hn as UploadOptions, Hr as MarkupBuilder, Ht as ShopPayment, I as TelemetryClock, Ii as ChatUpdatesPage, In as LegalDocumentScope, Ir as MessageMarkup, It as ShopOrderDelivery, J as SubscriptionPayOptions, Ji as PreparedFileSource, Jn as UploadedBannerDrawing, Jr as markup, Jt as ShopRecipient, K as SubscriptionCheckoutTerms, Ki as FileResolver, Kn as BannerDrawingPoint, Kr as TextMarkup, Kt as ShopProductSpec, L as TelemetryOptions, Li as ChatUploadOptions, Ln as LegalDocumentSummary, Lr as MessageMarkupBuilder, Lt as ShopOrderItem, M as InteractionEntry, Mi as ChatTextEntity, Mn as LegalResource, Mr as mapPage, Mt as ShopOrder, N as PhotoOpenInput, Ni as ChatUnreadState, Nn as LegalDocument, Nr as MessageBuilder, Nt as ShopOrderAccessSession, O as UpdateProfileInput, Oi as ChatReadResult, On as Clan, Or as PageState, Ot as ShopDeliveryCity, P as TelemetryBatch, Pi as ChatUpdate, Pn as LegalDocumentBlock, Pr as MessageInput, Pt as ShopOrderAccessVerification, Q as InternationalSubscriptionCheckout, Qi as RateLimitBucketState, Qn as Comment, Qr as CreatePostData, Qt as SearchResult, R as TelemetryResource, Ri as ChatUploadedFile, Rn as LegalDocumentVersion, Rr as MessageMarkupContent, Rt as ShopOrderItemInput, S as VideoMimeType, Si as ChatPreview, Sn as ServiceStatus, Sr as ChatListParams, St as CreateShopOrderInput, T as VerificationResource, Ti as ChatReactionCount, Tn as Announcement, Tr as SetChatReactionsInput, Tt as ShopConsentKind, U as SubscriptionBindCardOptions, Ui as FeatureOperationDefinition, Un as UploadedFile, Ur as MarkupContent, Ut as ShopProduct, V as ViewTrackerInput, Vi as FeatureContext, Vn as FilesResource, Vr as AutoSpansOptions, Vt as ShopOrderSupport, W as SubscriptionCheckoutInput, Wi as FeatureRequestOptions, Wn as BannerDrawing, Wr as MarkupInput, Wt as ShopProductCategory, X as SubscriptionResource, Xi as ResolveFileContext, Xn as RepliesParams, Xr as CreateCommentInput, Xt as ShopSizeChartRow, Y as SubscriptionPaymentInput, Yi as PreparedStreamSource, Yn as CommentsResource, Yr as ChatMessageContent, Yt as ShopSizeChart, Z as InternationalSubscriptionCapability, Zi as ResolveFileOptions, Zn as Attachment, Zr as CreatePollInput, Zt as SearchResource, _ as AllowedMimeType, _i as ChatMediaItem, _n as parseMarkdown, _r as QrLoginTarget, _t as ShopDeliveryResource, a as ShopFeatureOptions, aa as OperationTransformContext, ai as ChatActionType, an as PostsResource, ar as Poll, at as SubscriptionCheckoutState, b as ImageMimeType, bi as ChatMessageReactions, bn as PlatformVersions, br as NotificationsResource, bt as ShopProductsResource, c as ShopOrderAccessStorage, ca as PluginTeardown, ci as ChatDeletedMessages, cn as PostBuilder, cr as PostBase, ct as SubscriptionGift, d as statusDays, di as ChatFileLink, dn as post, dr as PostUpdateResult, dt as SubscriptionPaymentProvider, ea as AttemptExtensions, ei as SendChatMessageInput, en as ReportBuilder, er as CommentUpdateResult, et as InternationalSubscriptionOffer, f as isMyProfile, fi as ChatFirstMessage, fn as PollBuilder, fr as UpdateResultBase, ft as SubscriptionQuote, g as AUDIO_MIME_TYPES, gi as ChatMediaCategory, gn as parseHtml, gr as AccountLifecycleResource, gt as ShopConsentsResource, h as ALLOWED_MIME_TYPES, hi as ChatListPage, hn as ParseMarkupOptions, hr as comment, ht as PayShopOrderOptions, i as ShopFeatureApi, ia as OperationExtensions, ii as isBuilder, in as FeedParams, ir as PinPostResult, it as SubscriptionCheckoutKind, j as DwellEntry, ji as ChatSummary, jn as VerificationStatus, jr as PaginatorOptions, jt as ShopDeliveryPoint, k as UserListParams, ki as ChatReply, kn as Portal, kr as PaginationMode, kt as ShopDeliveryCountry, l as ShopOrderAccessStorageAdapterOptions, la as HttpClient, li as ChatDirectResult, ln as PostInput, lr as PostCounters, lt as SubscriptionOffer, m as utcStampToIso, mi as ChatHistoryPage, mn as poll, mr as CommentInput, mt as CreateShopOrderOptions, n as SpanRenderFormat, na as AttemptNext, ni as BuilderInput, nn as report, nr as LikeResult, nt as PaymentMethodType, o as createShopFeature, oa as OperationTransformer, oi as ChatAttachment, on as UserPostsParams, or as PollOption, ot as SubscriptionCheckoutStatus, p as toDate, pi as ChatForwardedMessages, pn as PollInput, pr as CommentBuilder, pt as SubscriptionRenewalAgreement, q as SubscriptionGiftInput, qi as PreparedBufferSource, qn as BannerDrawingTool, qr as autoSpans, qt as ShopProductStatus, r as renderSpans, ra as ClientPlugin, ri as ItdBuilder, rn as CommentsParams, rr as OriginalPost, rt as Subscription, s as MemoryShopOrderAccessStorage, sa as PluginApi, si as ChatChange, sn as CreatePostInput, sr as Post, st as SubscriptionCheckoutSubject, t as RenderSpansOptions, ta as AttemptInterceptor, ti as UpdatePostInput, tn as ReportInput, tr as Hashtag, tt as PaymentMethod, u as createShopOrderAccessStorage, ua as CookieJar, ui as ChatEditedMessage, un as PostUpdateInput, ur as PostStats, ut as SubscriptionPayment, v as AudioMimeType, vi as ChatMediaPage, vn as PlatformClientVersion, vr as Session, vt as ShopOrderRequestOptions, w as fromUrl, wi as ChatReactionCatalog, wn as StatusIncidentLine, wr as ForwardChatMessagesInput, wt as ShopConsentContext, x as VIDEO_MIME_TYPES, xi as ChatPresence, xn as PlatformStatus, xr as UpdateNotificationSettingsInput, xt as ShopResource, y as IMAGE_MIME_TYPES, yi as ChatMessage, yn as PlatformResource, yr as NotificationListParams, yt as ShopOrdersResource, z as VideoProgressInput, zi as ClientFeature, zn as HashtagPostsParams, zr as MessageMarkupInput, zt as ShopOrderStatus } from "./shared/render-djloH2Vb.js";
|
|
8
|
+
import { $ as EventTransportContext, A as EventHandler, B as NotificationEventContext, C as EventChannelDeps, D as EventSession, E as EventEnqueueOptions, F as EventSequentializer, G as NotificationOfType, H as NotificationEventOfType, I as EventTypeGuard, J as NotificationUpdateOrigin, K as NotificationUpdate, L as runEventMiddleware, M as EventMiddlewareObject, N as EventNext, O as EventSyncReason, P as EventPredicate, Q as EventTransport, R as EventContext, S as EventChannel, T as EventChannelOptions, U as NotificationEventSelector, V as NotificationEventFilter, W as NotificationEventsUpdate, X as UnknownNotificationUpdate, Y as NotificationUpdateType, Z as UnreadCountUpdate, _ as createNotificationEventsClient, a as WebSocketTransportOptions, b as NotificationEventsOptions, c as EventErrorContext, d as EventMiddlewareLike, et as EventTransportFrame, f as EventRouteTable, g as NotificationEventsClientOptions, h as NotificationEventsClient, i as WebSocketTransport, j as EventMiddleware, k as ReconnectOptions, l as EventFilter, m as EventRouter, n as WebSocketLike, o as EventComposer, p as EventRouteSelector, q as NotificationUpdateOfType, r as WebSocketOpenFailureClassifier, s as EventErrorBoundary, t as WebSocketImplementationOptions, tt as UnauthorizedStreamError, u as EventMiddlewareGroup, v as NotificationEvents, w as EventChannelEvents, x as NotificationEventsTransport, y as NotificationEventsMap, z as NotificationContext } from "./shared/events-rSRPzpN3.js";
|
|
9
9
|
import { a as createTokenStorage, i as TokenStorageAdapterOptions, n as MemoryTokenStorage, r as TokenStorage, t as ItdSession } from "./shared/storage-C_ZujAZt.js";
|
|
10
10
|
import { a as scopedTokenStorage, i as createMultiTokenStorage, n as MultiTokenStorage, r as MultiTokenStorageAdapterOptions, t as MemoryMultiTokenStorage } from "./shared/multi-storage-DQiERirK.js";
|
|
11
11
|
import { a as FileStreamOptions, c as LazyFile, d as UrlFileOptions, i as FileStreamContent, l as StreamFile, n as FileContext, o as FileTransferMode, r as FileInput, s as FromStreamOptions, t as FileContent, u as UrlFile } from "./shared/contracts-pxnDIsQP.js";
|
|
@@ -1815,4 +1815,4 @@ export declare class ItdAccounts {
|
|
|
1815
1815
|
* То же, что `new ItdAccounts(options)`, — для тех, кому привычнее фабрика.
|
|
1816
1816
|
*/
|
|
1817
1817
|
export declare function createAccounts(options?: ItdAccountsOptions): ItdAccounts;
|
|
1818
|
-
export { ALLOWED_MIME_TYPES, AUDIO_MIME_TYPES, AccessType, type AccountChangesResource, type AccountEmailResource, type AccountEvents, type AccountFeature, type AccountInfo, type AccountLifecycleResource, type AccountPasswordResource, type AccountPhoneResource, type AccountPhoneStartInput, type AccountResource, type Actor, type AddAccountOptions, type AllowedMimeType, type Announcement, type AnnouncementButton, type Attachment, AttachmentType, type AttemptContext, type AttemptExtensions, type AttemptInterceptor, type AttemptNext, type AudioMimeType, type AuthEvents, type AuthIdentity, type AuthInput, type AuthProvider, type AuthResource, type AuthState, type AuthUser, type Author, type AutoSpansOptions, BUCKET_LIMITS, type BannerDrawing, type BannerDrawingOperation, type BannerDrawingPoint, BannerDrawingTool, type BuilderInput, type BuiltInOperationId, CaptchaChoice, CaptchaField, type CaptchaPage, type CaptchaProvider, type CaptchaSolveContext, type CaptchaSolver, type CaptchaSolverInput, type CaptchaToken, CaptchaType, type ChangelogEntry, ChatActionType, type ChatAttachment, type ChatChange, type ChatDeletedMessages, type ChatDirectResult, type ChatEditedMessage, type ChatEventContext, type ChatEventMap, type ChatEventsOptions, type ChatFileLink, type ChatFirstMessage, type ChatForwardedMessages, type ChatHistoryPage, type ChatListPage, type ChatListParams, ChatMediaCategory, type ChatMediaItem, type ChatMediaPage, type ChatMessage, type ChatMessageContent, type ChatMessageReactions, type ChatPresence, type ChatPreview, type ChatReaction, type ChatReactionCatalog, type ChatReactionCount, ChatReactionType, type ChatReadCursor, type ChatReadResult, type ChatReply, type ChatSentMessage, type ChatSummary, type ChatTextEntity, type ChatUnreadState, type ChatUpdate, ChatUpdateType, type ChatUpdatesPage, type ChatUploadOptions, type ChatUploadedFile, type ChatsApi, ChatsResource, type Clan, type ClientConnection, type ClientFeature, type ClientHooks, type ClientPlugin, type Comment, type CommentBuilder, type CommentInput, type CommentReplyTo, CommentSort, type CommentUpdateResult, type CommentsParams, type CommentsResource, type ConsentDocument, type ContactActionResult, type ContactChange, type ContactChangeConfirmation, type ContactChangeSchedule, type ContactProofDelivery, type CreateCommentInput, type CreatePollInput, type CreatePostData, type CreatePostInput, type CreateReportInput, type CreateShopOrderInput, type CreateShopOrderOptions, type Credentials, type CredentialsAuth, type CredentialsWithCaptcha, type CustomOperationId, DEFAULT_BASE_URL, DEFAULT_RATE_LIMIT_BUCKET, type DwellEntry, type EnumerableKeyValueStore, type ErrorContextHook, EventChannel, type EventChannelDeps, type EventChannelEvents, type EventChannelOptions, EventChannelStatus, EventComposer, type EventContext, type EventEnqueueOptions, type EventErrorBoundary, type EventErrorContext, type EventFilter, type EventHandler, type EventMiddleware, type EventMiddlewareGroup, type EventMiddlewareLike, type EventMiddlewareObject, type EventNext, type EventPredicate, type EventRouteSelector, type EventRouteTable, EventRouter, type EventSequentializer, type EventSession, type EventSyncReason, type EventTransport, type EventTransportContext, type EventTransportFrame, type EventTypeGuard, type FeatureBucketDefinition, type FeatureContext, type FeatureInstallation, type FeatureOperationDefinition, type FeatureOperationId, type FeatureRequestOptions, type FeedParams, FeedTab, type FileContent, type FileContext, type FileInput, type FileResolver, type FileStreamContent, type FileStreamOptions, FileTransferMode, type FilesResource, type FollowResult, type ForgotPasswordInput, type ForwardChatMessagesInput, type FromStreamOptions, type Hashtag, type HashtagPostsParams, type HashtagsResource, IMAGE_MIME_TYPES, type ImageMimeType, IncidentKind, type InteractionEntry, InteractionType, type InternationalSubscriptionCapability, type InternationalSubscriptionCheckout, InternationalSubscriptionCheckoutMode, type InternationalSubscriptionOffer, type IsoDate, ItdAbortError, type ItdAccountsOptions, ItdApiError, type ItdApiErrorInit, ItdApiErrorKind, ItdAuthError, type ItdBuilder, type ItdClientOptions, type ItdClock, ItdConfigError, ItdConflictError, ItdError, ItdErrorCode, ItdErrorKind, type ItdFieldErrors, ItdFileError, ItdFileErrorReason, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdPhoneVerificationError, ItdRateLimitError, ItdServerError, type ItdSession, ItdStateError, ItdTimeoutError, ItdValidationError, type KeyValueCodec, type KeyValueStore, type KeyValueStoreKeys, type KeyValueStoreResult, LIBRARY_VERSION, type LastSeen, LastSeenUnit, type LazyFile, type LegalDocument, type LegalDocumentBlock, LegalDocumentBlockType, LegalDocumentScope, type LegalDocumentSummary, type LegalDocumentVersion, type LegalResource, type LikeResult, LikesVisibility, type Listener, LogLevel, type Logger, type Loose, type ManagedClientResource, type MarkupBuilder, type MarkupContent, type MarkupInput, type MarkupSpan, MemoryKeyValueStore, MemoryMultiTokenStorage, MemoryShopOrderAccessStorage, MemoryTokenStorage, MessageAccess, type MessageAllowlistMembership, type MessageAllowlistParams, type MessageAllowlistUser, type MessageBuilder, type MessageInput, type MessageMarkup, type MessageMarkupBuilder, type MessageMarkupContent, type MessageMarkupInput, type MultiTokenStorage, type MultiTokenStorageAdapterOptions, type MyProfile, type Notification, type NotificationContext, type NotificationEvent, type NotificationEventContext, type NotificationEventFilter, type NotificationEventOfType, type NotificationEventSelector, NotificationEvents, NotificationEventsClient, type NotificationEventsClientOptions, type NotificationEventsMap, type NotificationEventsOptions, NotificationEventsTransport, type NotificationEventsUpdate, type NotificationListParams, type NotificationOfType, type NotificationSettings, NotificationType, type NotificationUpdate, type NotificationUpdateOfType, NotificationUpdateOrigin, NotificationUpdateType, type NotificationsApi, type NotificationsResource, OPERATIONS, type OperationAnnotations, type ItdOperationDefinition as OperationDefinition, type OperationExtensions, type OperationId, type OperationMetadata, OperationMethod, type OperationRequestOptions, type OperationTransformContext, type OperationTransformer, type OriginalPost, type Page, type PageState, PaginationMode, type PaginationOptions, Paginator, type PaginatorOptions, type ParseMarkupOptions, type PayShopOrderOptions, type PaymentMethod, PaymentMethodType, type PendingContactChange, type PhoneAuthResource, type PhoneConfig, type PhoneConsent, type PhoneDelivery, type PhoneFlowInput, type PhoneFlowResume, type PhoneFlowStart, type PhoneLoginInput, type PhoneLoginResult, type PhoneRegion, type PhoneReverseOptions, type PhoneReverseStatus, type PhotoOpenInput, type Pin, type PinPostResult, type PinsResult, type PlatformClientVersion, type PlatformResource, type PlatformStatus, type PlatformVersions, type PluginApi, type PluginTeardown, type Poll, type PollBuilder, type PollInput, type PollOption, type Portal, type Post, type PostBase, type PostBuilder, type PostCounters, type PostInput, type PostStats, type PostUpdateInput, type PostUpdateResult, type PostsResource, type PreparedBufferSource, type PreparedFileSource, type PreparedStreamSource, type PrivacySettings, type Profile, type PublicProfile, QrLocationPrecision, type QrLoginClaim, type QrLoginClaimInput, type QrLoginSecrets, type QrLoginStart, type QrLoginStreamEvent, type QrLoginStreamInput, type QrLoginStreamListener, type QrLoginStreamOptions, type QrLoginTarget, type QueryParams, type QueryValue, type RateLimitBucket, type RateLimitBucketContext, type RateLimitBucketOverride, type RateLimitBucketState, type RateLimitOptions, RateLimitPacing, type RawRequestOptions, type ReconnectOptions, type RecordKeyValueStoreSource, type RemoveAccountOptions, type RenderSpansOptions, type RepliesParams, type Report, type ReportBuilder, type ReportInput, ReportReason, ReportTargetType, type ReportsResource, type RequestContext, type RequestExtensions, type RequestOptions, type ResetPasswordInput, type ResolveFileContext, type ResolveFileOptions, type ResponseContext, type RetryContext, type RetryDecisionContext, type RetryOptions, RetrySafety, RuntimeMode, type RuntimeOptions, STATUS_SERVICE, type SearchResource, type SearchResult, type SendChatMessageInput, type ServiceDefinition, ServiceState, type ServiceStatus, type Session, type SessionOptions, type SetChatReactionsInput, type ShopConsent, type ShopConsentContext, ShopConsentKind, type ShopConsentsResource, type ShopCreatedOrder, type ShopDeliveryCalculation, type ShopDeliveryCity, type ShopDeliveryCountry, type ShopDeliveryDestination, type ShopDeliveryPoint, type ShopDeliveryResource, type ShopFeatureApi, type ShopFeatureOptions, type ShopOrder, type ShopOrderAccessSession, type ShopOrderAccessStorage, type ShopOrderAccessStorageAdapterOptions, type ShopOrderAccessVerification, type ShopOrderBase, type ShopOrderDelivery, type ShopOrderItem, type ShopOrderItemInput, type ShopOrderRequestOptions, ShopOrderStatus, type ShopOrderSummary, type ShopOrderSupport, type ShopOrdersResource, type ShopPayment, type ShopProduct, ShopProductCategory, type ShopProductColor, type ShopProductSpec, ShopProductStatus, type ShopProductsResource, type ShopRecipient, type ShopResource, type ShopSizeChart, type ShopSizeChartRow, type SignInResult, type Span, SpanRenderFormat, SpanType, type StatusDay, type StatusIncidentLine, type StreamFile, type Subscription, type SubscriptionBindCardOptions, type SubscriptionCheckoutInput, SubscriptionCheckoutKind, type SubscriptionCheckoutReleaseInput, type SubscriptionCheckoutState, SubscriptionCheckoutStatus, type SubscriptionCheckoutSubject, type SubscriptionCheckoutTerms, type SubscriptionGift, type SubscriptionGiftInput, type SubscriptionOffer, type SubscriptionPayOptions, type SubscriptionPayment, type SubscriptionPaymentInput, SubscriptionPaymentProvider, type SubscriptionQuote, type SubscriptionRenewalAgreement, type SubscriptionResource, type SubscriptionState, type TelemetryBatch, type TelemetryBatchOptions, type TelemetryClock, type TelemetryOptions, type TelemetryResource, type TextMarkup, TimeoutBudget, type TokenStorage, type TokenStorageAdapterOptions, UnauthorizedStreamError, type UnknownNotificationUpdate, type UnreadCountUpdate, type Unsubscribe, type UpdateNotificationSettingsInput, type UpdatePostInput, type UpdatePrivacyInput, type UpdateProfileInput, type UpdateResultBase, type UploadOptions, type UploadedBannerDrawing, type UploadedFile, type UrlFile, type UrlFileOptions, type UserBase, type UserId, type UserListParams, type UserPostsParams, type UserRef, type UserSummary, type UsernameAvailability, UsernameUnavailableReason, type UsersResource, VIDEO_MIME_TYPES, type VerificationResource, type VerificationStatus, type VideoMimeType, type VideoProgressInput, ViewReason, ViewSource, type ViewTracker, type ViewTrackerInput, type ViewTrackerOptions, WallAccess, type WebSocketImplementationOptions, type WebSocketLike, type WebSocketOpenFailureClassifier, WebSocketTransport, type WebSocketTransportOptions, autoSpans, canonicalNotificationType, comment, createKeyValueStore, createMultiTokenStorage, createNotificationEventsClient, createRecordKeyValueStore, createShopFeature, createShopOrderAccessStorage, createTokenStorage, formatNotificationText, fromStream, fromUrl, isBuilder, isBuiltInOperationId, isEnumerableKeyValueStore, isItdApiError, isItdAuthError, isItdConflictError, isItdError, isItdFileError, isItdForbiddenError, isItdNotFoundError, isItdPhoneVerificationError, isItdRateLimitError, isItdServerError, isItdStateError, isItdValidationError, isKnownNotificationType, isMyProfile, mapPage, markup, message, messageMarkup, normalizeNotification, operationBucket, operationMethod, operationRetrySafety, parseHtml, parseMarkdown, poll, post, renderSpans, report, resolveNotificationUrl, runEventMiddleware, scopedTokenStorage, statusDays, systemClock, toDate, utcStampToIso, withCodec, withNamespace };
|
|
1818
|
+
export { ALLOWED_MIME_TYPES, AUDIO_MIME_TYPES, AccessType, type AccountChangesResource, type AccountEmailResource, type AccountEvents, type AccountFeature, type AccountInfo, type AccountLifecycleResource, type AccountPasswordResource, type AccountPhoneResource, type AccountPhoneStartInput, type AccountResource, type Actor, type AddAccountOptions, type AllowedMimeType, type Announcement, type AnnouncementButton, type Attachment, AttachmentType, type AttemptContext, type AttemptExtensions, type AttemptInterceptor, type AttemptNext, type AudioMimeType, type AuthEvents, type AuthIdentity, type AuthInput, type AuthProvider, type AuthResource, type AuthState, type AuthUser, type Author, type AutoSpansOptions, BUCKET_LIMITS, type BannerDrawing, type BannerDrawingOperation, type BannerDrawingPoint, BannerDrawingTool, type BuilderInput, type BuiltInOperationId, CaptchaChoice, CaptchaField, type CaptchaPage, type CaptchaProvider, type CaptchaSolveContext, type CaptchaSolver, type CaptchaSolverInput, type CaptchaToken, CaptchaType, type ChangelogEntry, ChatActionType, type ChatAttachment, type ChatChange, type ChatDeletedMessages, type ChatDirectResult, type ChatEditedMessage, type ChatEventContext, type ChatEventMap, type ChatEventsOptions, type ChatFileLink, type ChatFirstMessage, type ChatForwardedMessages, type ChatHistoryPage, type ChatListPage, type ChatListParams, ChatMediaCategory, type ChatMediaItem, type ChatMediaPage, type ChatMessage, type ChatMessageContent, type ChatMessageReactions, type ChatPresence, type ChatPreview, type ChatReaction, type ChatReactionCatalog, type ChatReactionCount, ChatReactionType, type ChatReadCursor, type ChatReadResult, type ChatReply, type ChatSentMessage, type ChatSummary, type ChatTextEntity, type ChatUnreadState, type ChatUpdate, ChatUpdateType, type ChatUpdatesPage, type ChatUploadOptions, type ChatUploadedFile, type ChatsApi, ChatsResource, type Clan, type ClientConnection, type ClientFeature, type ClientHooks, type ClientPlugin, type Comment, type CommentBuilder, type CommentInput, type CommentReplyTo, CommentSort, type CommentUpdateResult, type CommentsParams, type CommentsResource, type ConsentDocument, type ContactActionResult, type ContactChange, type ContactChangeConfirmation, type ContactChangeSchedule, type ContactProofDelivery, type CreateCommentInput, type CreatePollInput, type CreatePostData, type CreatePostInput, type CreateReportInput, type CreateShopOrderInput, type CreateShopOrderOptions, type Credentials, type CredentialsAuth, type CredentialsWithCaptcha, type CustomOperationId, DEFAULT_BASE_URL, DEFAULT_RATE_LIMIT_BUCKET, type DwellEntry, type EnumerableKeyValueStore, type ErrorContextHook, EventChannel, type EventChannelDeps, type EventChannelEvents, type EventChannelOptions, EventChannelStatus, EventComposer, type EventContext, type EventEnqueueOptions, type EventErrorBoundary, type EventErrorContext, type EventFilter, type EventHandler, type EventMiddleware, type EventMiddlewareGroup, type EventMiddlewareLike, type EventMiddlewareObject, type EventNext, type EventPredicate, type EventRouteSelector, type EventRouteTable, EventRouter, type EventSequentializer, type EventSession, type EventSyncReason, type EventTransport, type EventTransportContext, type EventTransportFrame, type EventTypeGuard, type FeatureBucketDefinition, type FeatureContext, type FeatureInstallation, type FeatureOperationDefinition, type FeatureOperationId, type FeatureRequestOptions, type FeedParams, FeedTab, type FileContent, type FileContext, type FileInput, type FileResolver, type FileStreamContent, type FileStreamOptions, FileTransferMode, type FilesResource, type FollowResult, type ForgotPasswordInput, type ForwardChatMessagesInput, type FromStreamOptions, type Hashtag, type HashtagPostsParams, type HashtagsResource, IMAGE_MIME_TYPES, type ImageMimeType, IncidentKind, type InteractionEntry, InteractionType, type InternationalSubscriptionCapability, type InternationalSubscriptionCheckout, InternationalSubscriptionCheckoutMode, type InternationalSubscriptionOffer, type IsoDate, ItdAbortError, type ItdAccountsOptions, ItdApiError, type ItdApiErrorInit, ItdApiErrorKind, ItdAuthError, type ItdBuilder, type ItdClientOptions, type ItdClock, ItdConfigError, ItdConflictError, ItdError, ItdErrorCode, ItdErrorKind, type ItdFieldErrors, ItdFileError, ItdFileErrorReason, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdPhoneVerificationError, ItdRateLimitError, ItdServerError, type ItdSession, ItdStateError, ItdTimeoutError, ItdValidationError, type KeyValueCodec, type KeyValueStore, type KeyValueStoreKeys, type KeyValueStoreResult, LIBRARY_VERSION, type LastSeen, LastSeenUnit, type LazyFile, type LegalDocument, type LegalDocumentBlock, LegalDocumentBlockType, LegalDocumentScope, type LegalDocumentSummary, type LegalDocumentVersion, type LegalResource, type LikeResult, LikesVisibility, type Listener, LogLevel, type Logger, type Loose, type ManagedClientResource, type MarkupBuilder, type MarkupContent, type MarkupInput, type MarkupSpan, MemoryKeyValueStore, MemoryMultiTokenStorage, MemoryShopOrderAccessStorage, MemoryTokenStorage, MessageAccess, type MessageAllowlistMembership, type MessageAllowlistParams, type MessageAllowlistUser, type MessageBuilder, type MessageInput, type MessageMarkup, type MessageMarkupBuilder, type MessageMarkupContent, type MessageMarkupInput, type MultiTokenStorage, type MultiTokenStorageAdapterOptions, type MyProfile, type Notification, type NotificationContext, type NotificationEvent, type NotificationEventContext, type NotificationEventFilter, type NotificationEventOfType, type NotificationEventSelector, NotificationEvents, NotificationEventsClient, type NotificationEventsClientOptions, type NotificationEventsMap, type NotificationEventsOptions, NotificationEventsTransport, type NotificationEventsUpdate, type NotificationListParams, type NotificationOfType, type NotificationSettings, NotificationType, type NotificationUpdate, type NotificationUpdateOfType, NotificationUpdateOrigin, NotificationUpdateType, type NotificationsApi, type NotificationsResource, OPERATIONS, type OperationAnnotations, type ItdOperationDefinition as OperationDefinition, type OperationExtensions, type OperationId, type OperationMetadata, OperationMethod, type OperationRequestOptions, type OperationTransformContext, type OperationTransformer, type OriginalPost, type Page, type PageState, PaginationMode, type PaginationOptions, Paginator, type PaginatorOptions, type ParseMarkupOptions, type PayShopOrderOptions, type PaymentMethod, PaymentMethodType, type PendingContactChange, type PhoneAuthResource, type PhoneConfig, type PhoneConsent, type PhoneDelivery, type PhoneFlowInput, type PhoneFlowResume, type PhoneFlowStart, type PhoneLoginInput, type PhoneLoginResult, type PhoneRegion, type PhoneReverseOptions, type PhoneReverseStatus, type PhotoOpenInput, type Pin, type PinPostResult, type PinsResult, type PlatformClientVersion, type PlatformResource, type PlatformStatus, type PlatformVersions, type PluginApi, type PluginTeardown, type Poll, type PollBuilder, type PollInput, type PollOption, type Portal, type Post, type PostBase, type PostBuilder, type PostCounters, type PostInput, type PostStats, type PostUpdateInput, type PostUpdateResult, type PostsResource, type PreparedBufferSource, type PreparedFileSource, type PreparedStreamSource, type PrivacySettings, type Profile, type PublicProfile, QrLocationPrecision, type QrLoginClaim, type QrLoginClaimInput, type QrLoginSecrets, type QrLoginStart, type QrLoginStreamEvent, type QrLoginStreamInput, type QrLoginStreamListener, type QrLoginStreamOptions, type QrLoginTarget, type QueryParams, type QueryValue, type RateLimitBucket, type RateLimitBucketContext, type RateLimitBucketOverride, type RateLimitBucketState, RateLimitErrorScope, type RateLimitOptions, RateLimitPacing, type RawRequestOptions, type ReconnectOptions, type RecordKeyValueStoreSource, type RemoveAccountOptions, type RenderSpansOptions, type RepliesParams, type Report, type ReportBuilder, type ReportInput, ReportReason, ReportTargetType, type ReportsResource, type RequestContext, type RequestExtensions, type RequestOptions, type ResetPasswordInput, type ResolveFileContext, type ResolveFileOptions, type ResponseContext, type RetryContext, type RetryDecisionContext, type RetryOptions, RetrySafety, RuntimeMode, type RuntimeOptions, STATUS_SERVICE, type SearchResource, type SearchResult, type SendChatMessageInput, type ServiceDefinition, ServiceState, type ServiceStatus, type Session, type SessionOptions, type SetChatReactionsInput, type ShopConsent, type ShopConsentContext, ShopConsentKind, type ShopConsentsResource, type ShopCreatedOrder, type ShopDeliveryCalculation, type ShopDeliveryCity, type ShopDeliveryCountry, type ShopDeliveryDestination, type ShopDeliveryPoint, type ShopDeliveryResource, type ShopFeatureApi, type ShopFeatureOptions, type ShopOrder, type ShopOrderAccessSession, type ShopOrderAccessStorage, type ShopOrderAccessStorageAdapterOptions, type ShopOrderAccessVerification, type ShopOrderBase, type ShopOrderDelivery, type ShopOrderItem, type ShopOrderItemInput, type ShopOrderRequestOptions, ShopOrderStatus, type ShopOrderSummary, type ShopOrderSupport, type ShopOrdersResource, type ShopPayment, type ShopProduct, ShopProductCategory, type ShopProductColor, type ShopProductSpec, ShopProductStatus, type ShopProductsResource, type ShopRecipient, type ShopResource, type ShopSizeChart, type ShopSizeChartRow, type SignInResult, type Span, SpanRenderFormat, SpanType, type StatusDay, type StatusIncidentLine, type StreamFile, type Subscription, type SubscriptionBindCardOptions, type SubscriptionCheckoutInput, SubscriptionCheckoutKind, type SubscriptionCheckoutReleaseInput, type SubscriptionCheckoutState, SubscriptionCheckoutStatus, type SubscriptionCheckoutSubject, type SubscriptionCheckoutTerms, type SubscriptionGift, type SubscriptionGiftInput, type SubscriptionOffer, type SubscriptionPayOptions, type SubscriptionPayment, type SubscriptionPaymentInput, SubscriptionPaymentProvider, type SubscriptionQuote, type SubscriptionRenewalAgreement, type SubscriptionResource, type SubscriptionState, type TelemetryBatch, type TelemetryBatchOptions, type TelemetryClock, type TelemetryOptions, type TelemetryResource, type TextMarkup, TimeoutBudget, type TokenStorage, type TokenStorageAdapterOptions, UnauthorizedStreamError, type UnknownNotificationUpdate, type UnreadCountUpdate, type Unsubscribe, type UpdateNotificationSettingsInput, type UpdatePostInput, type UpdatePrivacyInput, type UpdateProfileInput, type UpdateResultBase, type UploadOptions, type UploadedBannerDrawing, type UploadedFile, type UrlFile, type UrlFileOptions, type UserBase, type UserId, type UserListParams, type UserPostsParams, type UserRef, type UserSummary, type UsernameAvailability, UsernameUnavailableReason, type UsersResource, VIDEO_MIME_TYPES, type VerificationResource, type VerificationStatus, type VideoMimeType, type VideoProgressInput, ViewReason, ViewSource, type ViewTracker, type ViewTrackerInput, type ViewTrackerOptions, WallAccess, type WebSocketImplementationOptions, type WebSocketLike, type WebSocketOpenFailureClassifier, WebSocketTransport, type WebSocketTransportOptions, autoSpans, canonicalNotificationType, comment, createKeyValueStore, createMultiTokenStorage, createNotificationEventsClient, createRecordKeyValueStore, createShopFeature, createShopOrderAccessStorage, createTokenStorage, formatNotificationText, fromStream, fromUrl, isBuilder, isBuiltInOperationId, isEnumerableKeyValueStore, isItdApiError, isItdAuthError, isItdConflictError, isItdError, isItdFileError, isItdForbiddenError, isItdNotFoundError, isItdPhoneVerificationError, isItdRateLimitError, isItdServerError, isItdStateError, isItdValidationError, isKnownNotificationType, isMyProfile, mapPage, markup, message, messageMarkup, normalizeNotification, operationBucket, operationMethod, operationRetrySafety, parseHtml, parseMarkdown, poll, post, renderSpans, report, resolveNotificationUrl, runEventMiddleware, scopedTokenStorage, statusDays, systemClock, toDate, utcStampToIso, withCodec, withNamespace };
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { $ as ChatReactionType, A as AccountLifecycleResource, B as AUDIO_MIME_TYPES, C as poll, D as LegalDocumentScope, E as LegalDocumentBlockType, F as BaseResource, G as autoSpans, H as VIDEO_MIME_TYPES, I as PaginationMode, J as normalizeChatUpdate, K as markup, L as Paginator, M as createFeatureHost, N as ExtensibleOperationCatalog, O as comment, P as ChatsResource, Q as ChatMediaCategory, R as mapPage, S as post, T as parseMarkdown, U as message, V as IMAGE_MIME_TYPES, W as messageMarkup, X as utcStampToIso, Y as toDate, Z as ChatActionType, _ as PaymentMethodType, a as createShopOrderAccessStorage, b as SubscriptionPaymentProvider, c as ShopOrderStatus, d as isMyProfile, et as ChatUpdateType, f as BannerDrawingTool, g as InternationalSubscriptionCheckoutMode, h as createResources, i as MemoryShopOrderAccessStorage, j as NotificationsResource, k as createStatusFeature, l as ShopProductCategory, m as fromUrl, n as renderSpans, o as statusDays, p as fromStream, q as isBuilder, r as createShopFeature, s as ShopConsentKind, t as SpanRenderFormat, u as ShopProductStatus, v as SubscriptionCheckoutKind, w as parseHtml, x as report, y as SubscriptionCheckoutStatus, z as ALLOWED_MIME_TYPES } from "./shared/render-
|
|
3
|
-
import { _ as Emitter, a as EVENT_OPERATIONS, c as resolveNotificationEventsOptions, d as NotificationUpdateType, f as createParser, g as runEventMiddleware, h as UnauthorizedStreamError, i as createNotificationEventsClient, l as setNotificationEventsConnectGuard, m as EventChannel, n as EventRouter, o as NotificationEvents, p as WebSocketTransport, r as NotificationEventsClient, s as NotificationEventsTransport, t as EventComposer, u as NotificationUpdateOrigin, v as reportListenerError } from "./shared/events-
|
|
4
|
-
import { $ as CommentSort, A as passthroughOperation, B as OperationMethod, C as RateLimitPacing, F as operationBucket, G as createRequestAbortScope, I as operationMethod, J as AccessType, K as requestAbortError, L as operationRetrySafety, M as OPERATIONS, N as defineBuiltInOperation, P as isBuiltInOperationId, Q as CaptchaType, R as BUCKET_LIMITS, S as LIBRARY_VERSION, T as pickArray, V as RetrySafety, X as CaptchaChoice, Y as AttachmentType, Z as CaptchaField, _ as orderPluginDefinitions, _t as WallAccess, at as LastSeenUnit, b as STATUS_SERVICE, ct as NotificationType, d as ITD_CATALOG, dt as ReportTargetType, et as EventChannelStatus, f as createClientRuntime, ft as ServiceState, g as assertPluginRemovable, gt as ViewSource, h as RequestQueuePool, ht as ViewReason, it as ItdErrorCode, j as voidOperation, k as pickString, l as canonicalNotificationType, lt as QrLocationPrecision, mt as UsernameUnavailableReason, n as formatNotificationText, nt as IncidentKind, o as normalizeNotification, ot as LikesVisibility, p as createApiError, pt as SpanType, rt as InteractionType, st as MessageAccess, t as resolveNotificationUrl, tt as FeedTab, u as isKnownNotificationType, ut as ReportReason, v as DEFAULT_BASE_URL, w as installAsyncDisposeFallback, x as resolveRateLimit, yt as systemClock, z as DEFAULT_RATE_LIMIT_BUCKET } from "./shared/url-
|
|
5
|
-
import { D as fallbackLogger, E as LogLevel, a as isSerializedCookieEntry, i as REFRESH_COOKIE_PATH, k as resolveLogger, n as CookieJar, r as REFRESH_COOKIE, s as encodePathSegment, u as joinUrl, v as RuntimeMode, y as createDeviceId } from "./shared/cookies-
|
|
6
|
-
import { n as copySession, r as createTokenStorage, t as MemoryTokenStorage } from "./shared/storage-
|
|
7
|
-
import { a as scopedTokenStorage, i as isRestorableSession, n as controlledTokenStorage, r as createMultiTokenStorage, t as MemoryMultiTokenStorage } from "./shared/multi-storage-
|
|
8
|
-
import { c as FileTransferMode } from "./shared/options-
|
|
9
|
-
import { a as isEnumerableKeyValueStore, i as createRecordKeyValueStore, o as withCodec, r as createKeyValueStore, s as withNamespace, t as MemoryKeyValueStore } from "./shared/key-value-store-
|
|
1
|
+
import { A as isItdFileError, C as ItdValidationError, D as isItdAuthError, E as isItdApiError, F as isItdServerError, I as isItdStateError, L as isItdValidationError, M as isItdNotFoundError, N as isItdPhoneVerificationError, O as isItdConflictError, P as isItdRateLimitError, S as ItdTimeoutError, T as TimeoutBudget, _ as ItdNotFoundError, a as ItdAbortError, b as ItdServerError, c as ItdAuthError, d as ItdError, f as ItdErrorKind, g as ItdNetworkError, h as ItdForbiddenError, i as requireOptionalBoolean, j as isItdForbiddenError, k as isItdError, l as ItdConfigError, m as ItdFileErrorReason, n as isRecord, o as ItdApiError, p as ItdFileError, s as ItdApiErrorKind, t as isObjectLike, u as ItdConflictError, v as ItdPhoneVerificationError, w as RateLimitErrorScope, x as ItdStateError, y as ItdRateLimitError } from "./shared/validate-oLSGiGwQ.js";
|
|
2
|
+
import { $ as ChatReactionType, A as AccountLifecycleResource, B as AUDIO_MIME_TYPES, C as poll, D as LegalDocumentScope, E as LegalDocumentBlockType, F as BaseResource, G as autoSpans, H as VIDEO_MIME_TYPES, I as PaginationMode, J as normalizeChatUpdate, K as markup, L as Paginator, M as createFeatureHost, N as ExtensibleOperationCatalog, O as comment, P as ChatsResource, Q as ChatMediaCategory, R as mapPage, S as post, T as parseMarkdown, U as message, V as IMAGE_MIME_TYPES, W as messageMarkup, X as utcStampToIso, Y as toDate, Z as ChatActionType, _ as PaymentMethodType, a as createShopOrderAccessStorage, b as SubscriptionPaymentProvider, c as ShopOrderStatus, d as isMyProfile, et as ChatUpdateType, f as BannerDrawingTool, g as InternationalSubscriptionCheckoutMode, h as createResources, i as MemoryShopOrderAccessStorage, j as NotificationsResource, k as createStatusFeature, l as ShopProductCategory, m as fromUrl, n as renderSpans, o as statusDays, p as fromStream, q as isBuilder, r as createShopFeature, s as ShopConsentKind, t as SpanRenderFormat, u as ShopProductStatus, v as SubscriptionCheckoutKind, w as parseHtml, x as report, y as SubscriptionCheckoutStatus, z as ALLOWED_MIME_TYPES } from "./shared/render-DhoQdYkn.js";
|
|
3
|
+
import { _ as Emitter, a as EVENT_OPERATIONS, c as resolveNotificationEventsOptions, d as NotificationUpdateType, f as createParser, g as runEventMiddleware, h as UnauthorizedStreamError, i as createNotificationEventsClient, l as setNotificationEventsConnectGuard, m as EventChannel, n as EventRouter, o as NotificationEvents, p as WebSocketTransport, r as NotificationEventsClient, s as NotificationEventsTransport, t as EventComposer, u as NotificationUpdateOrigin, v as reportListenerError } from "./shared/events-BdiOYajm.js";
|
|
4
|
+
import { $ as CommentSort, A as passthroughOperation, B as OperationMethod, C as RateLimitPacing, F as operationBucket, G as createRequestAbortScope, I as operationMethod, J as AccessType, K as requestAbortError, L as operationRetrySafety, M as OPERATIONS, N as defineBuiltInOperation, P as isBuiltInOperationId, Q as CaptchaType, R as BUCKET_LIMITS, S as LIBRARY_VERSION, T as pickArray, V as RetrySafety, X as CaptchaChoice, Y as AttachmentType, Z as CaptchaField, _ as orderPluginDefinitions, _t as WallAccess, at as LastSeenUnit, b as STATUS_SERVICE, ct as NotificationType, d as ITD_CATALOG, dt as ReportTargetType, et as EventChannelStatus, f as createClientRuntime, ft as ServiceState, g as assertPluginRemovable, gt as ViewSource, h as RequestQueuePool, ht as ViewReason, it as ItdErrorCode, j as voidOperation, k as pickString, l as canonicalNotificationType, lt as QrLocationPrecision, mt as UsernameUnavailableReason, n as formatNotificationText, nt as IncidentKind, o as normalizeNotification, ot as LikesVisibility, p as createApiError, pt as SpanType, rt as InteractionType, st as MessageAccess, t as resolveNotificationUrl, tt as FeedTab, u as isKnownNotificationType, ut as ReportReason, v as DEFAULT_BASE_URL, w as installAsyncDisposeFallback, x as resolveRateLimit, yt as systemClock, z as DEFAULT_RATE_LIMIT_BUCKET } from "./shared/url-DH4We-ip.js";
|
|
5
|
+
import { D as fallbackLogger, E as LogLevel, a as isSerializedCookieEntry, i as REFRESH_COOKIE_PATH, k as resolveLogger, n as CookieJar, r as REFRESH_COOKIE, s as encodePathSegment, u as joinUrl, v as RuntimeMode, y as createDeviceId } from "./shared/cookies-BdntFeQ5.js";
|
|
6
|
+
import { n as copySession, r as createTokenStorage, t as MemoryTokenStorage } from "./shared/storage-8oAVzQmF.js";
|
|
7
|
+
import { a as scopedTokenStorage, i as isRestorableSession, n as controlledTokenStorage, r as createMultiTokenStorage, t as MemoryMultiTokenStorage } from "./shared/multi-storage-hYW_Whkx.js";
|
|
8
|
+
import { c as FileTransferMode } from "./shared/options-BqQVtTmm.js";
|
|
9
|
+
import { a as isEnumerableKeyValueStore, i as createRecordKeyValueStore, o as withCodec, r as createKeyValueStore, s as withNamespace, t as MemoryKeyValueStore } from "./shared/key-value-store-BJdmlzkM.js";
|
|
10
10
|
// src/events/chats.ts
|
|
11
11
|
/** Канал событий чатов. Доступен как `itd.chats.events` в полном клиенте. */
|
|
12
12
|
var ChatEvents = class {
|
|
@@ -3412,6 +3412,6 @@ const ContactKind = Object.freeze({
|
|
|
3412
3412
|
Email: "email",
|
|
3413
3413
|
Phone: "phone"
|
|
3414
3414
|
});
|
|
3415
|
-
export { ALLOWED_MIME_TYPES, AUDIO_MIME_TYPES, AccessType, AttachmentType, BUCKET_LIMITS, BannerDrawingTool, CAPTCHA_FIELDS, CaptchaChoice, CaptchaField, CaptchaType, ChatActionType, ChatEvents, ChatMediaCategory, ChatReactionType, ChatUpdateType, ChatsResource, CommentSort, ContactKind, ContactProofMethod, DEFAULT_BASE_URL, DEFAULT_RATE_LIMIT_BUCKET, EventChannel, EventChannelStatus, EventComposer, EventRouter, FeedTab, FileTransferMode, IMAGE_MIME_TYPES, IncidentKind, InteractionType, InternationalSubscriptionCheckoutMode, ItdAbortError, ItdAccounts, ItdApiError, ItdApiErrorKind, ItdAuthError, ItdClient, ItdConfigError, ItdConflictError, ItdError, ItdErrorCode, ItdErrorKind, ItdFileError, ItdFileErrorReason, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdPhoneVerificationError, ItdRateLimitError, ItdServerError, ItdStateError, ItdTimeoutError, ItdValidationError, LIBRARY_VERSION, LastSeenUnit, LegalDocumentBlockType, LegalDocumentScope, LikesVisibility, LogLevel, MemoryKeyValueStore, MemoryMultiTokenStorage, MemoryShopOrderAccessStorage, MemoryTokenStorage, MessageAccess, NotificationEvents, NotificationEventsClient, NotificationEventsTransport, NotificationType, NotificationUpdateOrigin, NotificationUpdateType, OPERATIONS, OperationMethod, PaginationMode, Paginator, PaymentMethodType, PhoneDeliveryChannel, PhoneLoginStep, PhoneReverseState, PhoneVerificationMethod, QrLocationPrecision, QrLoginStatus, QrLoginStreamStatus, RateLimitPacing, RateLimitScope, ReportReason, ReportTargetType, RetrySafety, RuntimeMode, STATUS_SERVICE, ServiceState, ShopConsentKind, ShopOrderStatus, ShopProductCategory, ShopProductStatus, SignInStatus, SpanRenderFormat, SpanType, SubscriptionCheckoutKind, SubscriptionCheckoutStatus, SubscriptionPaymentProvider, TURNSTILE_SITE_KEY, TimeoutBudget, UnauthorizedStreamError, UsernameUnavailableReason, VIDEO_MIME_TYPES, ViewReason, ViewSource, WallAccess, WebSocketTransport, autoSpans, canonicalNotificationType, comment, createAccounts, createClient, createKeyValueStore, createMultiTokenStorage, createNotificationEventsClient, createRecordKeyValueStore, createShopFeature, createShopOrderAccessStorage, createTokenStorage, formatNotificationText, fromStream, fromUrl, isBuilder, isBuiltInOperationId, isEnumerableKeyValueStore, isItdApiError, isItdAuthError, isItdConflictError, isItdError, isItdFileError, isItdForbiddenError, isItdNotFoundError, isItdPhoneVerificationError, isItdRateLimitError, isItdServerError, isItdStateError, isItdValidationError, isKnownNotificationType, isMyProfile, mapPage, markup, message, messageMarkup, normalizeNotification, operationBucket, operationMethod, operationRetrySafety, parseHtml, parseMarkdown, poll, post, renderSpans, report, resolveNotificationUrl, runEventMiddleware, scopedTokenStorage, statusDays, systemClock, toDate, utcStampToIso, withCodec, withNamespace };
|
|
3415
|
+
export { ALLOWED_MIME_TYPES, AUDIO_MIME_TYPES, AccessType, AttachmentType, BUCKET_LIMITS, BannerDrawingTool, CAPTCHA_FIELDS, CaptchaChoice, CaptchaField, CaptchaType, ChatActionType, ChatEvents, ChatMediaCategory, ChatReactionType, ChatUpdateType, ChatsResource, CommentSort, ContactKind, ContactProofMethod, DEFAULT_BASE_URL, DEFAULT_RATE_LIMIT_BUCKET, EventChannel, EventChannelStatus, EventComposer, EventRouter, FeedTab, FileTransferMode, IMAGE_MIME_TYPES, IncidentKind, InteractionType, InternationalSubscriptionCheckoutMode, ItdAbortError, ItdAccounts, ItdApiError, ItdApiErrorKind, ItdAuthError, ItdClient, ItdConfigError, ItdConflictError, ItdError, ItdErrorCode, ItdErrorKind, ItdFileError, ItdFileErrorReason, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdPhoneVerificationError, ItdRateLimitError, ItdServerError, ItdStateError, ItdTimeoutError, ItdValidationError, LIBRARY_VERSION, LastSeenUnit, LegalDocumentBlockType, LegalDocumentScope, LikesVisibility, LogLevel, MemoryKeyValueStore, MemoryMultiTokenStorage, MemoryShopOrderAccessStorage, MemoryTokenStorage, MessageAccess, NotificationEvents, NotificationEventsClient, NotificationEventsTransport, NotificationType, NotificationUpdateOrigin, NotificationUpdateType, OPERATIONS, OperationMethod, PaginationMode, Paginator, PaymentMethodType, PhoneDeliveryChannel, PhoneLoginStep, PhoneReverseState, PhoneVerificationMethod, QrLocationPrecision, QrLoginStatus, QrLoginStreamStatus, RateLimitErrorScope, RateLimitPacing, RateLimitScope, ReportReason, ReportTargetType, RetrySafety, RuntimeMode, STATUS_SERVICE, ServiceState, ShopConsentKind, ShopOrderStatus, ShopProductCategory, ShopProductStatus, SignInStatus, SpanRenderFormat, SpanType, SubscriptionCheckoutKind, SubscriptionCheckoutStatus, SubscriptionPaymentProvider, TURNSTILE_SITE_KEY, TimeoutBudget, UnauthorizedStreamError, UsernameUnavailableReason, VIDEO_MIME_TYPES, ViewReason, ViewSource, WallAccess, WebSocketTransport, autoSpans, canonicalNotificationType, comment, createAccounts, createClient, createKeyValueStore, createMultiTokenStorage, createNotificationEventsClient, createRecordKeyValueStore, createShopFeature, createShopOrderAccessStorage, createTokenStorage, formatNotificationText, fromStream, fromUrl, isBuilder, isBuiltInOperationId, isEnumerableKeyValueStore, isItdApiError, isItdAuthError, isItdConflictError, isItdError, isItdFileError, isItdForbiddenError, isItdNotFoundError, isItdPhoneVerificationError, isItdRateLimitError, isItdServerError, isItdStateError, isItdValidationError, isKnownNotificationType, isMyProfile, mapPage, markup, message, messageMarkup, normalizeNotification, operationBucket, operationMethod, operationRetrySafety, parseHtml, parseMarkdown, poll, post, renderSpans, report, resolveNotificationUrl, runEventMiddleware, scopedTokenStorage, statusDays, systemClock, toDate, utcStampToIso, withCodec, withNamespace };
|
|
3416
3416
|
|
|
3417
3417
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_options = require("../shared/options-
|
|
3
|
-
const require_validate = require("../shared/validate-
|
|
4
|
-
const require_key_value_store = require("../shared/key-value-store-
|
|
5
|
-
const require_multi_storage = require("../shared/multi-storage-
|
|
6
|
-
const require_storage = require("../shared/storage-
|
|
2
|
+
const require_options = require("../shared/options-C2WubUA6.cjs");
|
|
3
|
+
const require_validate = require("../shared/validate-CbM3k811.cjs");
|
|
4
|
+
const require_key_value_store = require("../shared/key-value-store-Bxt33ZF3.cjs");
|
|
5
|
+
const require_multi_storage = require("../shared/multi-storage-BNiP6Mbq.cjs");
|
|
6
|
+
const require_storage = require("../shared/storage-xximVWs_.cjs");
|
|
7
7
|
// src/node.ts
|
|
8
8
|
/**
|
|
9
9
|
* `itd-api/node` — файловая система для Node, Bun и Deno.
|
package/dist/node/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as FileTransferMode, n as boundedFileStream, t as resolveFileStreamOptions } from "../shared/options-
|
|
2
|
-
import { l as ItdConfigError, m as ItdFileErrorReason, p as ItdFileError } from "../shared/validate-
|
|
3
|
-
import { i as createRecordKeyValueStore } from "../shared/key-value-store-
|
|
4
|
-
import { r as createMultiTokenStorage } from "../shared/multi-storage-
|
|
5
|
-
import { r as createTokenStorage } from "../shared/storage-
|
|
1
|
+
import { c as FileTransferMode, n as boundedFileStream, t as resolveFileStreamOptions } from "../shared/options-BqQVtTmm.js";
|
|
2
|
+
import { l as ItdConfigError, m as ItdFileErrorReason, p as ItdFileError } from "../shared/validate-oLSGiGwQ.js";
|
|
3
|
+
import { i as createRecordKeyValueStore } from "../shared/key-value-store-BJdmlzkM.js";
|
|
4
|
+
import { r as createMultiTokenStorage } from "../shared/multi-storage-hYW_Whkx.js";
|
|
5
|
+
import { r as createTokenStorage } from "../shared/storage-8oAVzQmF.js";
|
|
6
6
|
// src/node.ts
|
|
7
7
|
/**
|
|
8
8
|
* `itd-api/node` — файловая система для Node, Bun и Deno.
|
package/dist/rest/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_render = require("../shared/render-
|
|
3
|
-
const require_options = require("../shared/options-
|
|
4
|
-
const require_url = require("../shared/url-
|
|
5
|
-
const require_validate = require("../shared/validate-
|
|
6
|
-
const require_cookies = require("../shared/cookies-
|
|
2
|
+
const require_render = require("../shared/render-kuaH5fPv.cjs");
|
|
3
|
+
const require_options = require("../shared/options-C2WubUA6.cjs");
|
|
4
|
+
const require_url = require("../shared/url-C8u7GIqz.cjs");
|
|
5
|
+
const require_validate = require("../shared/validate-CbM3k811.cjs");
|
|
6
|
+
const require_cookies = require("../shared/cookies-D68xbO4E.cjs");
|
|
7
7
|
// src/rest/client.ts
|
|
8
8
|
/**
|
|
9
9
|
* Минимальный клиент REST API итд.com.
|
|
@@ -365,6 +365,7 @@ exports.OperationMethod = require_url.OperationMethod;
|
|
|
365
365
|
exports.PaginationMode = require_render.PaginationMode;
|
|
366
366
|
exports.Paginator = require_render.Paginator;
|
|
367
367
|
exports.PaymentMethodType = require_render.PaymentMethodType;
|
|
368
|
+
exports.RateLimitErrorScope = require_validate.RateLimitErrorScope;
|
|
368
369
|
exports.RateLimitPacing = require_url.RateLimitPacing;
|
|
369
370
|
exports.ReportReason = require_url.ReportReason;
|
|
370
371
|
exports.ReportTargetType = require_url.ReportTargetType;
|