itd-api 0.13.1 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/events/index.cjs +5 -5
- package/dist/events/index.d.cts +2 -2
- package/dist/events/index.d.ts +2 -2
- package/dist/events/index.js +3 -3
- package/dist/index.cjs +201 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +64 -4
- package/dist/index.d.ts +64 -4
- package/dist/index.js +177 -8
- package/dist/index.js.map +1 -1
- package/dist/node/index.cjs +2 -2
- package/dist/node/index.js +2 -2
- package/dist/rest/index.cjs +25 -8
- package/dist/rest/index.cjs.map +1 -1
- package/dist/rest/index.d.cts +5 -3
- package/dist/rest/index.d.ts +5 -3
- package/dist/rest/index.js +12 -7
- package/dist/rest/index.js.map +1 -1
- package/dist/shared/{redact-BCmucE19.js → cookies-YP0m72v2.js} +125 -124
- package/dist/shared/cookies-YP0m72v2.js.map +1 -0
- package/dist/shared/{redact-BuXRKC1G.cjs → cookies-u2hXCcpR.cjs} +124 -123
- package/dist/shared/cookies-u2hXCcpR.cjs.map +1 -0
- package/dist/shared/{events-Bip3qvCc.d.cts → events-BmYzFrRC.d.cts} +213 -198
- package/dist/shared/{events-DRbBDq9p.js → events-BnL_gckg.js} +567 -530
- package/dist/shared/events-BnL_gckg.js.map +1 -0
- package/dist/shared/{events-DF1elRzZ.d.ts → events-Bw7VaSDs.d.ts} +18 -3
- package/dist/shared/{events-DcxmyPTX.cjs → events-DUFuPzVO.cjs} +582 -545
- package/dist/shared/events-DUFuPzVO.cjs.map +1 -0
- package/dist/shared/{multi-storage-Dp5x6OOl.cjs → multi-storage-BIeeBDV6.cjs} +5 -5
- package/dist/shared/{multi-storage-Dp5x6OOl.cjs.map → multi-storage-BIeeBDV6.cjs.map} +1 -1
- package/dist/shared/{multi-storage-DffEAzdc.js → multi-storage-DmUOaXbC.js} +2 -2
- package/dist/shared/{multi-storage-DffEAzdc.js.map → multi-storage-DmUOaXbC.js.map} +1 -1
- package/dist/shared/{options-Ddyc5qec.js → options-D-8h06B_.js} +2 -2
- package/dist/shared/{options-Ddyc5qec.js.map → options-D-8h06B_.js.map} +1 -1
- package/dist/shared/{options-DsmQRyx4.cjs → options-hZolLxgs.cjs} +5 -5
- package/dist/shared/{options-DsmQRyx4.cjs.map → options-hZolLxgs.cjs.map} +1 -1
- package/dist/shared/{render-DJKZqv9O.js → render-CgSQp84V.js} +2990 -1692
- package/dist/shared/render-CgSQp84V.js.map +1 -0
- package/dist/shared/{render-Bvv1V5Tp.d.ts → render-DPXlBr5L.d.ts} +1394 -441
- package/dist/shared/{render-D83t9ckd.d.cts → render-DcIXTSuo.d.cts} +1311 -369
- package/dist/shared/{render-C1lmsu1i.cjs → render-dKMV-872.cjs} +3071 -1695
- package/dist/shared/render-dKMV-872.cjs.map +1 -0
- package/dist/shared/{url-V4bCae35.d.ts → url-B_TELARK.d.ts} +372 -168
- package/dist/shared/{url-CXRaoR_w.cjs → url-CQbNqbJX.cjs} +3472 -3257
- package/dist/shared/url-CQbNqbJX.cjs.map +1 -0
- package/dist/shared/{url-n_h2pvHA.d.cts → url-D7U9qjXD.d.cts} +1809 -1594
- package/dist/shared/{url-aw_NZdVY.js → url-DYGRJqxh.js} +3463 -3254
- package/dist/shared/url-DYGRJqxh.js.map +1 -0
- package/package.json +5 -2
- package/dist/shared/events-DRbBDq9p.js.map +0 -1
- package/dist/shared/events-DcxmyPTX.cjs.map +0 -1
- package/dist/shared/redact-BCmucE19.js.map +0 -1
- package/dist/shared/redact-BuXRKC1G.cjs.map +0 -1
- package/dist/shared/render-C1lmsu1i.cjs.map +0 -1
- package/dist/shared/render-DJKZqv9O.js.map +0 -1
- package/dist/shared/url-CXRaoR_w.cjs.map +0 -1
- package/dist/shared/url-aw_NZdVY.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,13 +3,69 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
6
|
-
import { $ as
|
|
7
|
-
import { $ as
|
|
8
|
-
import { $ as
|
|
6
|
+
import { $ as ItdPhoneVerificationError, $t as BuiltInOperationId, A as ClientConnection, An as NotificationType, At as OperationRequestOptions, B as ItdApiErrorInit, Bt as RetryContext, C as SubscriptionState, Cn as IncidentKind, Ct as OperationAnnotations, D as Emitter, Dn as LikesVisibility, Dt as RetrySafety, E as UsernameAvailability, En as LastSeenUnit, Et as OperationMethod, Fn as SpanType, Ft as RawRequestOptions, G as ItdError, Gt as QueryValue, H as ItdAuthError, Ht as RetryOptions, I as HttpClient, In as UsernameUnavailableReason, It as RequestContext, J as ItdFileError, Jt as RuntimeMode, K as ItdErrorKind, Kt as ServiceDefinition, Ln as ViewReason, Lt as RequestExtensions, M as AuthProvider, Mn as ReportReason, Mt as RateLimitBucketContext, Nn as ReportTargetType, Nt as RateLimitBucketOverride, O as Listener, On as Loose, Ot as ClientHooks, Pn as ServiceState, Pt as RateLimitOptions, Q as ItdNotFoundError, Qt as systemClock, R as ItdAbortError, Rn as ViewSource, Rt as RequestOptions, S as PublicProfile, Sn as FeedTab, St as FeatureOperationId, T as UserSummary, Tn as ItdErrorCode, Tt as OperationMetadata, U as ItdConfigError, Ut as RuntimeOptions, V as ItdApiErrorKind, Vt as RetryDecisionContext, W as ItdConflictError, Wt as QueryParams, X as ItdForbiddenError, Xt as Logger, Y as ItdFileErrorReason, Yt as LogLevel, Z as ItdNetworkError, Zt as ItdClock, _ as MyProfile, _n as CaptchaChoice, _t as isItdValidationError, a as NotificationEvent, an as operationBucket, at as TimeoutBudget, b as PrivacySettings, bn as CommentSort, bt as STATUS_SERVICE, c as NotificationSettings, cn as BUCKET_LIMITS, ct as isItdConflictError, d as AuthUser, dn as IsoDate, dt as isItdForbiddenError, en as CustomOperationId, et as ItdRateLimitError, f as Author, fn as Span, ft as isItdNotFoundError, g as MessageAllowlistUser, gn as AttachmentType, gt as isItdStateError, h as MessageAllowlistMembership, hn as AccessType, ht as isItdServerError, i as formatNotificationText, in as isBuiltInOperationId, it as ItdValidationError, j as AuthIdentity, jn as QrLocationPrecision, jt as PaginationOptions, k as Unsubscribe, kn as MessageAccess, kt as ErrorContextHook, l as Actor, ln as DEFAULT_RATE_LIMIT_BUCKET, lt as isItdError, m as LastSeen, mn as UserRef, mt as isItdRateLimitError, n as canonicalNotificationType, nn as OPERATIONS, nt as ItdStateError, o as normalizeNotification, on as operationMethod, ot as isItdApiError, p as FollowResult, pn as UserId, pt as isItdPhoneVerificationError, q as ItdFieldErrors, qt as RateLimitPacing, r as isKnownNotificationType, rn as OperationId, rt as ItdTimeoutError, s as Notification, sn as operationRetrySafety, st as isItdAuthError, t as resolveNotificationUrl, tn as ItdOperationDefinition, tt as ItdServerError, u as AuthState, un as RateLimitBucket, ut as isItdFileError, v as Pin, vn as CaptchaField, vt as CookieJar, w as UserBase, wn as InteractionType, x as Profile, xn as EventChannelStatus, xt as LIBRARY_VERSION, y as PinsResult, yn as CaptchaType, yt as DEFAULT_BASE_URL, z as ItdApiError, zn as WallAccess, zt as ResponseContext } from "./shared/url-D7U9qjXD.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-DcIXTSuo.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-BmYzFrRC.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";
|
|
12
12
|
import { a as KeyValueStoreResult, c as createKeyValueStore, d as withCodec, f as withNamespace, i as KeyValueStoreKeys, l as createRecordKeyValueStore, n as KeyValueCodec, o as MemoryKeyValueStore, r as KeyValueStore, s as RecordKeyValueStoreSource, t as EnumerableKeyValueStore, u as isEnumerableKeyValueStore } from "./shared/key-value-store-BGoSgLze.cjs";
|
|
13
|
+
/** Контекст обновления, полученного по WebSocket. */
|
|
14
|
+
type ChatEventContext = EventContext<ChatUpdate, ChatEvents, 'stream'>;
|
|
15
|
+
/** События канала чатов. */
|
|
16
|
+
interface ChatEventMap extends Pick<EventChannelEvents, 'status' | 'error' | 'parseError' | 'reconnect' | 'giveup' | 'message'> {
|
|
17
|
+
/** Обновление мессенджера. */
|
|
18
|
+
update: ChatUpdate;
|
|
19
|
+
/** Сводки чатов, которые сервер вернул при догрузке событий. */
|
|
20
|
+
chatSummaries: ChatSummary[];
|
|
21
|
+
/** Загрузите список чатов заново и подключитесь с новым `eventSeq`. */
|
|
22
|
+
resetRequired: undefined;
|
|
23
|
+
}
|
|
24
|
+
/** Настройки подключения и переподключения канала чатов. */
|
|
25
|
+
interface ChatEventsOptions extends ReconnectOptions {
|
|
26
|
+
/** Реализация WebSocket для подключения через прокси или в среде без встроенной. */
|
|
27
|
+
webSocketImpl?: WebSocketLike | undefined;
|
|
28
|
+
}
|
|
29
|
+
/** Канал событий чатов. Доступен как `itd.chats.events` в полном клиенте. */
|
|
30
|
+
export declare class ChatEvents {
|
|
31
|
+
#private;
|
|
32
|
+
/** @internal */
|
|
33
|
+
constructor(deps: {
|
|
34
|
+
connection: ClientConnection;
|
|
35
|
+
clock: ItdClock;
|
|
36
|
+
logger: Logger | undefined;
|
|
37
|
+
connectGuard: () => void;
|
|
38
|
+
updates: (since: number, signal: AbortSignal) => Promise<ChatUpdatesPage>;
|
|
39
|
+
}, options?: ChatEventsOptions);
|
|
40
|
+
/** Текущее состояние соединения. */
|
|
41
|
+
get status(): EventChannelStatus;
|
|
42
|
+
/**
|
|
43
|
+
* Подписывается на обновления или события подключения.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const unsubscribe = itd.chats.events.on('update', (event) => console.log(event.type));
|
|
48
|
+
* await itd.chats.events.connect();
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
on<K extends keyof ChatEventMap>(event: K, listener: Listener<ChatEventMap[K]>): Unsubscribe;
|
|
52
|
+
/** Добавляет обработчик обновлений WebSocket и возвращает функцию его удаления. */
|
|
53
|
+
use(middleware: EventMiddleware<ChatEventContext> | EventMiddlewareObject<ChatEventContext>): Unsubscribe;
|
|
54
|
+
/**
|
|
55
|
+
* Подключается к WebSocket и догружает пропущенные события.
|
|
56
|
+
*
|
|
57
|
+
* @param since номер последнего события. Возьмите `eventSeq` из списка чатов или события.
|
|
58
|
+
*/
|
|
59
|
+
connect(since?: number): Promise<void>;
|
|
60
|
+
/** Закрывает сокет и отменяет запланированное переподключение. */
|
|
61
|
+
disconnect(): void;
|
|
62
|
+
/** Ждёт завершения работы остановленного соединения. */
|
|
63
|
+
drain(): Promise<void>;
|
|
64
|
+
}
|
|
65
|
+
/** Чаты полного клиента: REST-операции и канал событий. */
|
|
66
|
+
interface ChatsApi extends ChatsResource {
|
|
67
|
+
readonly events: ChatEvents;
|
|
68
|
+
}
|
|
13
69
|
/** Уведомления полного клиента: REST-методы и стабильный канал событий. */
|
|
14
70
|
interface NotificationsApi extends NotificationsResource {
|
|
15
71
|
/** Один канал событий уведомлений на всё время жизни клиента. */
|
|
@@ -244,6 +300,8 @@ interface ItdClientOptions extends RuntimeOptions, SessionOptions {
|
|
|
244
300
|
events?: {
|
|
245
301
|
/** Настройки канала уведомлений на всё время жизни клиента. */
|
|
246
302
|
notifications?: NotificationEventsOptions | undefined;
|
|
303
|
+
/** Настройки канала чатов на всё время жизни клиента. */
|
|
304
|
+
chats?: ChatEventsOptions | undefined;
|
|
247
305
|
} | undefined;
|
|
248
306
|
}
|
|
249
307
|
/** Назначение контекста согласия телефонного входа. @internal */
|
|
@@ -1260,6 +1318,8 @@ export declare class ItdClient {
|
|
|
1260
1318
|
get files(): FilesResource;
|
|
1261
1319
|
/** Уведомления: список, счётчик, отметки о прочтении, настройки. */
|
|
1262
1320
|
get notifications(): NotificationsApi;
|
|
1321
|
+
/** Чаты и сообщения текущего пользователя. */
|
|
1322
|
+
get chats(): ChatsApi;
|
|
1263
1323
|
/** Хэштеги и посты по ним. */
|
|
1264
1324
|
get hashtags(): HashtagsResource;
|
|
1265
1325
|
/** Глобальный поиск по пользователям и хэштегам. */
|
|
@@ -1755,4 +1815,4 @@ export declare class ItdAccounts {
|
|
|
1755
1815
|
* То же, что `new ItdAccounts(options)`, — для тех, кому привычнее фабрика.
|
|
1756
1816
|
*/
|
|
1757
1817
|
export declare function createAccounts(options?: ItdAccountsOptions): ItdAccounts;
|
|
1758
|
-
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, 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 FromStreamOptions, type Hashtag, type HashtagPostsParams, type HashtagsResource, IMAGE_MIME_TYPES, type ImageMimeType, IncidentKind, type InteractionEntry, InteractionType, 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 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, 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 ServiceDefinition, ServiceState, type ServiceStatus, type Session, type SessionOptions, 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 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, 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, 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,13 +3,69 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
6
|
-
import { $ as
|
|
7
|
-
import { $ as
|
|
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 OPERATIONS, A as ClientConnection, An as ReportTargetType, At as RateLimitBucketOverride, B as ItdAuthError, Bt as RuntimeOptions, C as SubscriptionState, Cn as LastSeenUnit, Ct as OperationMethod, D as Emitter, Dn as NotificationType, Dt as OperationRequestOptions, E as UsernameAvailability, En as MessageAccess, Et as ErrorContextHook, Fn as ViewSource, Ft as RequestOptions, G as ItdFieldErrors, Gt as RuntimeMode, H as ItdConflictError, Ht as QueryValue, I as ItdAbortError, In as WallAccess, It as ResponseContext, J as ItdForbiddenError, Jt as ItdClock, K as ItdFileError, Kt as LogLevel, L as ItdApiError, Lt as RetryContext, M as AuthProvider, Mn as SpanType, Mt as RawRequestOptions, Nn as UsernameUnavailableReason, Nt as RequestContext, O as Listener, On as QrLocationPrecision, Ot as PaginationOptions, Pn as ViewReason, Pt as RequestExtensions, Q as ItdRateLimitError, Qt as ItdOperationDefinition, R as ItdApiErrorInit, Rt as RetryDecisionContext, S as PublicProfile, Sn as ItdErrorCode, St as OperationMetadata, T as UserSummary, Tn as Loose, Tt as ClientHooks, U as ItdError, Ut as ServiceDefinition, V as ItdConfigError, Vt as QueryParams, W as ItdErrorKind, Wt as RateLimitPacing, X as ItdNotFoundError, Xt as BuiltInOperationId, Y as ItdNetworkError, Yt as systemClock, Z as ItdPhoneVerificationError, Zt as CustomOperationId, _ as MyProfile, _n as CommentSort, _t as STATUS_SERVICE, a as NotificationEvent, an as BUCKET_LIMITS, at as isItdAuthError, b as PrivacySettings, bn as IncidentKind, bt as OperationAnnotations, c as NotificationSettings, cn as IsoDate, ct as isItdFileError, d as AuthUser, dn as UserRef, dt as isItdPhoneVerificationError, en as OperationId, et as ItdStateError, f as Author, fn as AccessType, ft as isItdRateLimitError, g as MessageAllowlistUser, gn as CaptchaType, gt as DEFAULT_BASE_URL, h as MessageAllowlistMembership, hn as CaptchaField, ht as isItdValidationError, i as formatNotificationText, in as operationRetrySafety, it as isItdApiError, j as AuthIdentity, jn as ServiceState, jt as RateLimitOptions, k as Unsubscribe, kn as ReportReason, kt as RateLimitBucketContext, l as Actor, ln as Span, lt as isItdForbiddenError, m as LastSeen, mn as CaptchaChoice, mt as isItdStateError, n as canonicalNotificationType, nn as operationBucket, nt as ItdValidationError, o as normalizeNotification, on as DEFAULT_RATE_LIMIT_BUCKET, ot as isItdConflictError, p as FollowResult, pn as AttachmentType, pt as isItdServerError, q as ItdFileErrorReason, qt as Logger, r as isKnownNotificationType, rn as operationMethod, rt as TimeoutBudget, s as Notification, sn as RateLimitBucket, st as isItdError, t as resolveNotificationUrl, tn as isBuiltInOperationId, tt as ItdTimeoutError, u as AuthState, un as UserId, ut as isItdNotFoundError, v as Pin, vn as EventChannelStatus, vt as LIBRARY_VERSION, w as UserBase, wn as LikesVisibility, wt as RetrySafety, x as Profile, xn as InteractionType, y as PinsResult, yn as FeedTab, yt as FeatureOperationId, z as ItdApiErrorKind, zt as RetryOptions } from "./shared/url-B_TELARK.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-DPXlBr5L.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-Bw7VaSDs.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";
|
|
12
12
|
import { a as KeyValueStoreResult, c as createKeyValueStore, d as withCodec, f as withNamespace, i as KeyValueStoreKeys, l as createRecordKeyValueStore, n as KeyValueCodec, o as MemoryKeyValueStore, r as KeyValueStore, s as RecordKeyValueStoreSource, t as EnumerableKeyValueStore, u as isEnumerableKeyValueStore } from "./shared/key-value-store-WUQBeTAr.js";
|
|
13
|
+
/** Контекст обновления, полученного по WebSocket. */
|
|
14
|
+
type ChatEventContext = EventContext<ChatUpdate, ChatEvents, 'stream'>;
|
|
15
|
+
/** События канала чатов. */
|
|
16
|
+
interface ChatEventMap extends Pick<EventChannelEvents, 'status' | 'error' | 'parseError' | 'reconnect' | 'giveup' | 'message'> {
|
|
17
|
+
/** Обновление мессенджера. */
|
|
18
|
+
update: ChatUpdate;
|
|
19
|
+
/** Сводки чатов, которые сервер вернул при догрузке событий. */
|
|
20
|
+
chatSummaries: ChatSummary[];
|
|
21
|
+
/** Загрузите список чатов заново и подключитесь с новым `eventSeq`. */
|
|
22
|
+
resetRequired: undefined;
|
|
23
|
+
}
|
|
24
|
+
/** Настройки подключения и переподключения канала чатов. */
|
|
25
|
+
interface ChatEventsOptions extends ReconnectOptions {
|
|
26
|
+
/** Реализация WebSocket для подключения через прокси или в среде без встроенной. */
|
|
27
|
+
webSocketImpl?: WebSocketLike | undefined;
|
|
28
|
+
}
|
|
29
|
+
/** Канал событий чатов. Доступен как `itd.chats.events` в полном клиенте. */
|
|
30
|
+
export declare class ChatEvents {
|
|
31
|
+
#private;
|
|
32
|
+
/** @internal */
|
|
33
|
+
constructor(deps: {
|
|
34
|
+
connection: ClientConnection;
|
|
35
|
+
clock: ItdClock;
|
|
36
|
+
logger: Logger | undefined;
|
|
37
|
+
connectGuard: () => void;
|
|
38
|
+
updates: (since: number, signal: AbortSignal) => Promise<ChatUpdatesPage>;
|
|
39
|
+
}, options?: ChatEventsOptions);
|
|
40
|
+
/** Текущее состояние соединения. */
|
|
41
|
+
get status(): EventChannelStatus;
|
|
42
|
+
/**
|
|
43
|
+
* Подписывается на обновления или события подключения.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const unsubscribe = itd.chats.events.on('update', (event) => console.log(event.type));
|
|
48
|
+
* await itd.chats.events.connect();
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
on<K extends keyof ChatEventMap>(event: K, listener: Listener<ChatEventMap[K]>): Unsubscribe;
|
|
52
|
+
/** Добавляет обработчик обновлений WebSocket и возвращает функцию его удаления. */
|
|
53
|
+
use(middleware: EventMiddleware<ChatEventContext> | EventMiddlewareObject<ChatEventContext>): Unsubscribe;
|
|
54
|
+
/**
|
|
55
|
+
* Подключается к WebSocket и догружает пропущенные события.
|
|
56
|
+
*
|
|
57
|
+
* @param since номер последнего события. Возьмите `eventSeq` из списка чатов или события.
|
|
58
|
+
*/
|
|
59
|
+
connect(since?: number): Promise<void>;
|
|
60
|
+
/** Закрывает сокет и отменяет запланированное переподключение. */
|
|
61
|
+
disconnect(): void;
|
|
62
|
+
/** Ждёт завершения работы остановленного соединения. */
|
|
63
|
+
drain(): Promise<void>;
|
|
64
|
+
}
|
|
65
|
+
/** Чаты полного клиента: REST-операции и канал событий. */
|
|
66
|
+
interface ChatsApi extends ChatsResource {
|
|
67
|
+
readonly events: ChatEvents;
|
|
68
|
+
}
|
|
13
69
|
/** Уведомления полного клиента: REST-методы и стабильный канал событий. */
|
|
14
70
|
interface NotificationsApi extends NotificationsResource {
|
|
15
71
|
/** Один канал событий уведомлений на всё время жизни клиента. */
|
|
@@ -244,6 +300,8 @@ interface ItdClientOptions extends RuntimeOptions, SessionOptions {
|
|
|
244
300
|
events?: {
|
|
245
301
|
/** Настройки канала уведомлений на всё время жизни клиента. */
|
|
246
302
|
notifications?: NotificationEventsOptions | undefined;
|
|
303
|
+
/** Настройки канала чатов на всё время жизни клиента. */
|
|
304
|
+
chats?: ChatEventsOptions | undefined;
|
|
247
305
|
} | undefined;
|
|
248
306
|
}
|
|
249
307
|
/** Назначение контекста согласия телефонного входа. @internal */
|
|
@@ -1260,6 +1318,8 @@ export declare class ItdClient {
|
|
|
1260
1318
|
get files(): FilesResource;
|
|
1261
1319
|
/** Уведомления: список, счётчик, отметки о прочтении, настройки. */
|
|
1262
1320
|
get notifications(): NotificationsApi;
|
|
1321
|
+
/** Чаты и сообщения текущего пользователя. */
|
|
1322
|
+
get chats(): ChatsApi;
|
|
1263
1323
|
/** Хэштеги и посты по ним. */
|
|
1264
1324
|
get hashtags(): HashtagsResource;
|
|
1265
1325
|
/** Глобальный поиск по пользователям и хэштегам. */
|
|
@@ -1755,4 +1815,4 @@ export declare class ItdAccounts {
|
|
|
1755
1815
|
* То же, что `new ItdAccounts(options)`, — для тех, кому привычнее фабрика.
|
|
1756
1816
|
*/
|
|
1757
1817
|
export declare function createAccounts(options?: ItdAccountsOptions): ItdAccounts;
|
|
1758
|
-
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, 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 FromStreamOptions, type Hashtag, type HashtagPostsParams, type HashtagsResource, IMAGE_MIME_TYPES, type ImageMimeType, IncidentKind, type InteractionEntry, InteractionType, 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 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, 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 ServiceDefinition, ServiceState, type ServiceStatus, type Session, type SessionOptions, 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 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, 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, 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 };
|