itd-api 0.7.2 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/README.md +72 -27
  2. package/dist/events/index.cjs +53 -0
  3. package/dist/events/index.d.cts +3 -0
  4. package/dist/events/index.d.ts +3 -0
  5. package/dist/events/index.js +5 -0
  6. package/dist/index.cjs +234 -200
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.cts +70 -64
  9. package/dist/index.d.ts +70 -64
  10. package/dist/index.js +202 -179
  11. package/dist/index.js.map +1 -1
  12. package/dist/node/index.cjs +6 -5
  13. package/dist/node/index.cjs.map +1 -1
  14. package/dist/node/index.d.cts +2 -2
  15. package/dist/node/index.d.ts +2 -2
  16. package/dist/node/index.js +5 -4
  17. package/dist/node/index.js.map +1 -1
  18. package/dist/rest/index.cjs +32 -26
  19. package/dist/rest/index.cjs.map +1 -1
  20. package/dist/rest/index.d.cts +9 -7
  21. package/dist/rest/index.d.ts +9 -7
  22. package/dist/rest/index.js +19 -21
  23. package/dist/rest/index.js.map +1 -1
  24. package/dist/shared/{errors-DfU8M5eS.cjs → errors-BmP3TKoW.cjs} +3 -3
  25. package/dist/shared/{errors-DfU8M5eS.cjs.map → errors-BmP3TKoW.cjs.map} +1 -1
  26. package/dist/shared/{errors-Bhrd2fJd.js → errors-GI10kZxk.js} +3 -3
  27. package/dist/shared/{errors-Bhrd2fJd.js.map → errors-GI10kZxk.js.map} +1 -1
  28. package/dist/shared/{websocket-BLR8eVJV.js → events-C5wnTXPT.js} +770 -490
  29. package/dist/shared/events-C5wnTXPT.js.map +1 -0
  30. package/dist/shared/events-CqtkP65d.d.ts +698 -0
  31. package/dist/shared/events-DGAWlCaI.d.cts +698 -0
  32. package/dist/shared/{websocket-C_eI4H2o.cjs → events-FZfnEez0.cjs} +834 -518
  33. package/dist/shared/events-FZfnEez0.cjs.map +1 -0
  34. package/dist/shared/{storage-BPJR_k4-.cjs → key-value-store-B5GYVEYZ.cjs} +2 -86
  35. package/dist/shared/key-value-store-B5GYVEYZ.cjs.map +1 -0
  36. package/dist/shared/{storage-D86edNCB.js → key-value-store-Bt2PSMxY.js} +3 -69
  37. package/dist/shared/key-value-store-Bt2PSMxY.js.map +1 -0
  38. package/dist/shared/key-value-store-COZaNHZS.d.cts +69 -0
  39. package/dist/shared/key-value-store-COZaNHZS.d.ts +69 -0
  40. package/dist/shared/{multi-storage-DccjD7Ww.d.ts → multi-storage-BEL7tcKn.d.cts} +3 -2
  41. package/dist/shared/{multi-storage--yTEqiod.cjs → multi-storage-CDKLa956.cjs} +11 -10
  42. package/dist/shared/{multi-storage--yTEqiod.cjs.map → multi-storage-CDKLa956.cjs.map} +1 -1
  43. package/dist/shared/{multi-storage-CjAPB5Kq.d.cts → multi-storage-LkljOSzA.d.ts} +3 -2
  44. package/dist/shared/{multi-storage-CkvTUC5m.js → multi-storage-SoW05uzO.js} +5 -4
  45. package/dist/shared/{multi-storage-CkvTUC5m.js.map → multi-storage-SoW05uzO.js.map} +1 -1
  46. package/dist/shared/{options-Dg5N3r1V.cjs → options-DOJYtoti.cjs} +8 -6
  47. package/dist/shared/options-DOJYtoti.cjs.map +1 -0
  48. package/dist/shared/{options-DtATYdLr.js → options-DhgGg7Ms.js} +8 -6
  49. package/dist/shared/options-DhgGg7Ms.js.map +1 -0
  50. package/dist/shared/{cookies-DZwFq6kr.cjs → redact-BP00URmQ.cjs} +312 -2
  51. package/dist/shared/redact-BP00URmQ.cjs.map +1 -0
  52. package/dist/shared/{cookies-tX2sNwxb.js → redact-Ba5iSVYZ.js} +235 -3
  53. package/dist/shared/redact-Ba5iSVYZ.js.map +1 -0
  54. package/dist/shared/{render-CgwKdOzu.d.ts → render-B4qis7Sb.d.ts} +775 -313
  55. package/dist/shared/{render-DO0F5YSm.d.cts → render-DDwy2Ame.d.cts} +775 -313
  56. package/dist/shared/{render-mcuELiYi.cjs → render-Dqi8Owqk.cjs} +1464 -662
  57. package/dist/shared/render-Dqi8Owqk.cjs.map +1 -0
  58. package/dist/shared/{render-C6HRPs10.js → render-hiWFh2s4.js} +1366 -618
  59. package/dist/shared/render-hiWFh2s4.js.map +1 -0
  60. package/dist/shared/storage-BQrtKon9.d.cts +86 -0
  61. package/dist/shared/storage-CTRGT5wF.d.ts +86 -0
  62. package/dist/shared/storage-CfHKzVHf.js +71 -0
  63. package/dist/shared/storage-CfHKzVHf.js.map +1 -0
  64. package/dist/shared/storage-QNVxzpDB.cjs +88 -0
  65. package/dist/shared/storage-QNVxzpDB.cjs.map +1 -0
  66. package/dist/shared/{url-BaMCQpYH.cjs → url-Bsb3xE5U.cjs} +577 -466
  67. package/dist/shared/url-Bsb3xE5U.cjs.map +1 -0
  68. package/dist/shared/{url-IU0xN9wX.js → url-DP33mp3s.js} +508 -409
  69. package/dist/shared/url-DP33mp3s.js.map +1 -0
  70. package/dist/shared/{url-DTfZ2toq.d.ts → url-XBsMdAcv.d.cts} +1313 -1200
  71. package/dist/shared/{url-DTfZ2toq.d.cts → url-XBsMdAcv.d.ts} +1313 -1200
  72. package/dist/web/index.cjs +5 -4
  73. package/dist/web/index.cjs.map +1 -1
  74. package/dist/web/index.d.cts +1 -1
  75. package/dist/web/index.d.ts +1 -1
  76. package/dist/web/index.js +3 -2
  77. package/dist/web/index.js.map +1 -1
  78. package/package.json +16 -15
  79. package/dist/realtime/index.cjs +0 -165
  80. package/dist/realtime/index.cjs.map +0 -1
  81. package/dist/realtime/index.d.cts +0 -51
  82. package/dist/realtime/index.d.ts +0 -51
  83. package/dist/realtime/index.js +0 -120
  84. package/dist/realtime/index.js.map +0 -1
  85. package/dist/shared/auth-provider-CG8oCQ9F.cjs +0 -108
  86. package/dist/shared/auth-provider-CG8oCQ9F.cjs.map +0 -1
  87. package/dist/shared/auth-provider-mYqxsSVa.js +0 -91
  88. package/dist/shared/auth-provider-mYqxsSVa.js.map +0 -1
  89. package/dist/shared/cookies-DZwFq6kr.cjs.map +0 -1
  90. package/dist/shared/cookies-tX2sNwxb.js.map +0 -1
  91. package/dist/shared/options-Dg5N3r1V.cjs.map +0 -1
  92. package/dist/shared/options-DtATYdLr.js.map +0 -1
  93. package/dist/shared/render-C6HRPs10.js.map +0 -1
  94. package/dist/shared/render-mcuELiYi.cjs.map +0 -1
  95. package/dist/shared/storage-BPJR_k4-.cjs.map +0 -1
  96. package/dist/shared/storage-C_eICCep.d.cts +0 -152
  97. package/dist/shared/storage-C_eICCep.d.ts +0 -152
  98. package/dist/shared/storage-D86edNCB.js.map +0 -1
  99. package/dist/shared/url-BaMCQpYH.cjs.map +0 -1
  100. package/dist/shared/url-IU0xN9wX.js.map +0 -1
  101. package/dist/shared/websocket-BLR8eVJV.js.map +0 -1
  102. package/dist/shared/websocket-C_eI4H2o.cjs.map +0 -1
  103. package/dist/shared/websocket-DF7XIMiX.d.cts +0 -562
  104. package/dist/shared/websocket-DYKBr8HF.d.ts +0 -562
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
- import { $ as UserSummary, $t as RateLimitPacing, A as isItdFileError, At as Emitter, B as Notification, Bt as RateLimitOptions, C as ItdStateError, Ct as ReportReason, D as isItdAuthError, Dt as ViewReason, E as isItdApiError, Et as SpanType, F as isItdServerError, Ft as Logger, G as FollowResult, Gt as ResponseContext, H as Actor, Ht as RequestContext, I as isItdStateError, It as OperationRequestOptions, J as PinsResult, Jt as RetryOptions, K as MyProfile, Kt as RetryContext, L as isItdValidationError, Lt as PaginationOptions, M as isItdNotFoundError, Mt as Unsubscribe, N as isItdPhoneVerificationError, Nt as ClientHooks, O as isItdConflictError, Ot as ViewSource, P as isItdRateLimitError, Pt as ErrorContextHook, Q as SubscriptionState, Qt as ServiceDefinition, R as NotificationEvent, Rt as RateLimitBucketContext, S as ItdServerError, St as RealtimeStatus, T as ItdValidationError, Tt as ServiceState, U as AuthState, Ut as RequestExtensions, V as NotificationSettings, Vt as RawRequestOptions, W as Author, Wt as RequestOptions, X as Profile, Xt as QueryParams, Y as PrivacySettings, Yt as RuntimeOptions, Z as PublicProfile, Zt as QueryValue, _ as ItdForbiddenError, _n as RetrySafety, _t as InteractionType, a as ItdAbortError, an as ItdOperationDefinition, at as DEFAULT_BASE_URL, b as ItdPhoneVerificationError, bt as Loose, c as ItdApiErrorKind, cn as isBuiltInOperationId, ct as IsoDate, d as ItdConflictError, dn as operationRetrySafety, dt as UserRef, en as RuntimeMode, et as AuthIdentity, f as ItdError, fn as BUCKET_LIMITS, ft as AccessType, g as ItdFileErrorReason, gn as OperationMethod, gt as IncidentKind, h as ItdFileError, hn as FeatureOperationId, ht as FeedTab, i as formatNotificationText, in as CustomOperationId, j as isItdForbiddenError, jt as Listener, k as isItdError, kt as WallAccess, l as ItdAuthError, ln as operationBucket, lt as Span, m as ItdFieldErrors, mn as RateLimitBucket, mt as CommentSort, n as canonicalNotificationType, nn as systemClock, o as ItdApiError, on as OPERATIONS, ot as STATUS_SERVICE, p as ItdErrorKind, pn as DEFAULT_RATE_LIMIT_BUCKET, pt as AttachmentType, q as Pin, qt as RetryDecisionContext, r as isKnownNotificationType, rn as BuiltInOperationId, s as ItdApiErrorInit, sn as OperationId, st as LIBRARY_VERSION, t as resolveNotificationUrl, tn as ItdClock, tt as AuthProvider, u as ItdConfigError, un as operationMethod, ut as UserId, v as ItdNetworkError, vt as ItdErrorCode, w as ItdTimeoutError, wt as ReportTargetType, x as ItdRateLimitError, xt as NotificationType, y as ItdNotFoundError, yt as LikesVisibility, z as normalizeNotification, zt as RateLimitBucketOverride } from "./shared/url-DTfZ2toq.js";
2
- import { $ as poll, $t as CreatePostData, A as TelemetryResource, At as FilesResource, B as ReportInput, Bt as PinPostResult, C as DwellEntry, Cn as FeatureBucketDefinition, Ct as Report, D as TelemetryBatchOptions, Dn as FeatureRequestOptions, Dt as UpdateNotificationSettingsInput, E as TelemetryBatch, En as FeatureOperationDefinition, Et as NotificationsResource, F as SubscriptionResource, Ft as Attachment, G as UserPostsParams, Gt as CommentBuilder, H as CommentsParams, Ht as PollOption, I as SearchResource, It as Comment, J as PostInput, Jt as BuilderInput, K as CreatePostInput, Kt as CommentInput, L as SearchResult, Lt as CommentReplyTo, M as ViewTracker, Mt as UploadedFile, N as ViewTrackerInput, Nt as CommentsResource, O as TelemetryClock, On as HttpClient, Ot as HashtagPostsParams, P as ViewTrackerOptions, Pt as RepliesParams, Q as PollInput, Qt as CreatePollInput, R as ReportsResource, Rt as Hashtag, S as UsersResource, Sn as ClientFeature, St as Portal, T as PhotoOpenInput, Tn as FeatureInstallation, Tt as NotificationListParams, U as FeedParams, Ut as Post, V as report, Vt as Poll, W as PostsResource, Wt as PostStats, X as post, Xt as isBuilder, Y as PostUpdateInput, Yt as ItdBuilder, Z as PollBuilder, Zt as CreateCommentInput, _ as fromUrl, _n as ClientPlugin, _t as StatusIncidentLine, a as isMyProfile, an as PaginationMode, at as MarkupContent, b as UpdateProfileInput, bn as PluginApi, bt as ChangelogEntry, c as ALLOWED_MIME_TYPES, cn as mapPage, ct as TextMarkup, d as AudioMimeType, dn as Subscription, dt as PlatformClientVersion, en as CreateReportInput, et as ParseMarkupOptions, f as IMAGE_MIME_TYPES, fn as RateLimitBucketState, ft as PlatformResource, g as fromStream, gn as AttemptNext, gt as StatusDay, h as VideoMimeType, hn as AttemptInterceptor, ht as ServiceStatus, i as statusDays, in as PageState, it as MarkupBuilder, j as VideoProgressInput, jt as UploadOptions, k as TelemetryOptions, kn as RequestHandler, kt as HashtagsResource, l as AUDIO_MIME_TYPES, ln as PaymentMethod, lt as autoSpans, m as VIDEO_MIME_TYPES, mn as AttemptExtensions, mt as PlatformStatus, n as SpanRenderFormat, nn as BaseResource, nt as parseMarkdown, o as toDate, on as Paginator, ot as MarkupInput, p as ImageMimeType, pn as AttemptContext, pt as PlatformVersions, q as PostBuilder, qt as comment, r as renderSpans, rn as Page, rt as AutoSpansOptions, s as utcStampToIso, sn as PaginatorOptions, st as MarkupSpan, t as RenderSpansOptions, tn as UpdatePostInput, tt as parseHtml, u as AllowedMimeType, un as Session, ut as markup, v as VerificationResource, vn as OperationExtensions, vt as Announcement, w as InteractionEntry, wn as FeatureContext, wt as VerificationStatus, x as UserListParams, xn as PluginTeardown, xt as Clan, y as UpdatePrivacyInput, yn as OperationTransformer, yt as AnnouncementButton, z as ReportBuilder, zt as LikeResult } from "./shared/render-CgwKdOzu.js";
3
- import { _ as withNamespace, a as createTokenStorage, c as KeyValueStore, d as MemoryKeyValueStore, f as RecordKeyValueStoreSource, g as withCodec, h as isEnumerableKeyValueStore, i as TokenStorageAdapterOptions, l as KeyValueStoreKeys, m as createRecordKeyValueStore, n as MemoryTokenStorage, o as EnumerableKeyValueStore, p as createKeyValueStore, r as TokenStorage, s as KeyValueCodec, t as ItdSession, u as KeyValueStoreResult } from "./shared/storage-C_eICCep.js";
4
- import { A as NotificationOfType, B as RealtimeUpdateOfType, C as RealtimeMiddlewareObj, D as RealtimeTypeGuard, E as RealtimeSequentializer, F as RealtimeNotificationSelector, G as RealtimeTransport, H as RealtimeUpdateType, I as RealtimeNotificationUpdate, J as UnauthorizedStreamError, K as TransportContext, L as RealtimeUnknownUpdate, M as RealtimeContextBase, N as RealtimeNotificationContext, O as runRealtimeMiddleware, P as RealtimeNotificationFilter, R as RealtimeUnreadCountUpdate, S as RealtimeMiddleware, T as RealtimePredicate, U as RealtimeRequest, V as RealtimeUpdateOrigin, W as RealtimeRequestInput, _ as RealtimeOptions, a as WebSocketTransportOptions, b as ReconnectOptions, c as RealtimeErrorContext, d as RealtimeMiddlewareLike, f as RealtimeRouteTable, g as RealtimeEvents, h as ItdRealtime, i as WebSocketTransport, j as RealtimeContext, k as NotificationEventOfType, l as RealtimeFilter, m as RealtimeRouter, n as WebSocketLike, o as RealtimeComposer, p as RealtimeRouteSelector, q as TransportEvent, r as WebSocketOpenFailureClassifier, s as RealtimeErrorBoundary, t as WebSocketImplementationOptions, u as RealtimeMiddlewareGroup, v as RealtimeTransportKind, w as RealtimeNext, x as RealtimeHandler, y as RealtimeEngineEvents, z as RealtimeUpdate } from "./shared/websocket-DYKBr8HF.js";
1
+ import { $ as isItdValidationError, $t as RateLimitBucket, A as ItdFieldErrors, At as ResponseContext, B as ItdTimeoutError, Bt as ItdClock, C as ItdApiErrorInit, Ct as RateLimitBucketContext, D as ItdConflictError, Dt as RequestContext, E as ItdConfigError, Et as RawRequestOptions, F as ItdNotFoundError, Ft as QueryParams, G as isItdError, Gt as OPERATIONS, H as isItdApiError, Ht as BuiltInOperationId, I as ItdPhoneVerificationError, It as QueryValue, J as isItdNotFoundError, Jt as operationBucket, K as isItdFileError, Kt as OperationId, L as ItdRateLimitError, Lt as ServiceDefinition, M as ItdFileErrorReason, Mt as RetryDecisionContext, N as ItdForbiddenError, Nt as RetryOptions, O as ItdError, Ot as RequestExtensions, P as ItdNetworkError, Pt as RuntimeOptions, Q as isItdStateError, Qt as DEFAULT_RATE_LIMIT_BUCKET, R as ItdServerError, Rt as RateLimitPacing, S as ItdApiError, St as PaginationOptions, T as ItdAuthError, Tt as RateLimitOptions, U as isItdAuthError, Ut as CustomOperationId, V as ItdValidationError, Vt as systemClock, W as isItdConflictError, Wt as ItdOperationDefinition, X as isItdRateLimitError, Xt as operationRetrySafety, Y as isItdPhoneVerificationError, Yt as operationMethod, Z as isItdServerError, Zt as BUCKET_LIMITS, _ as Profile, _n as ServiceState, _t as RetrySafety, a as NotificationEvent, an as AttachmentType, b as UserSummary, bn as ViewSource, bt as Logger, c as NotificationSettings, cn as FeedTab, ct as Unsubscribe, d as Author, dn as ItdErrorCode, dt as LIBRARY_VERSION, en as IsoDate, et as ClientConnection, f as FollowResult, fn as LikesVisibility, ft as FeatureOperationId, g as PrivacySettings, gn as ReportTargetType, gt as OperationMethod, h as PinsResult, hn as ReportReason, ht as OperationMetadata, i as formatNotificationText, in as AccessType, j as ItdFileError, jt as RetryContext, k as ItdErrorKind, kt as RequestOptions, l as Actor, ln as IncidentKind, lt as DEFAULT_BASE_URL, m as Pin, mn as NotificationType, n as canonicalNotificationType, nn as UserId, nt as AuthProvider, o as normalizeNotification, on as CommentSort, ot as Emitter, p as MyProfile, pn as Loose, pt as OperationAnnotations, q as isItdForbiddenError, qt as isBuiltInOperationId, r as isKnownNotificationType, rn as UserRef, s as Notification, sn as EventChannelStatus, st as Listener, t as resolveNotificationUrl, tn as Span, tt as AuthIdentity, u as AuthState, un as InteractionType, ut as STATUS_SERVICE, v as PublicProfile, vn as SpanType, vt as ClientHooks, w as ItdApiErrorKind, wt as RateLimitBucketOverride, x as ItdAbortError, xn as WallAccess, xt as OperationRequestOptions, y as SubscriptionState, yn as ViewReason, yt as ErrorContextHook, z as ItdStateError, zt as RuntimeMode } from "./shared/url-XBsMdAcv.js";
2
+ import { $ as ShopConsent, $n as Paginator, $t as autoSpans, A as UsersResource, An as Post, At as ReportInput, B as ViewTracker, Bn as CreatePostData, Bt as post, C as VideoMimeType, Cn as Comment, Cr as OperationTransformer, Ct as ShopRecipient, D as UpdatePrivacyInput, Dn as PinPostResult, Dt as SearchResult, E as VerificationResource, En as LikeResult, Et as SearchResource, F as TelemetryBatchOptions, Fn as BuilderInput, Ft as UserPostsParams, G as PayShopOrderOptions, Gn as Subscription, Gt as parseHtml, H as ViewTrackerOptions, Hn as UpdatePostInput, Ht as PollInput, I as TelemetryClock, In as ItdBuilder, It as CreatePostInput, J as ShopOrderRequestOptions, Jn as UpdateNotificationSettingsInput, Jt as MarkupBuilder, K as ShopConsentsResource, Kn as NotificationListParams, Kt as parseMarkdown, L as TelemetryOptions, Ln as isBuilder, Lt as PostBuilder, M as InteractionEntry, Mn as CommentBuilder, Mt as CommentsParams, N as PhotoOpenInput, Nn as CommentInput, Nt as FeedParams, O as UpdateProfileInput, On as Poll, Ot as ReportsResource, P as TelemetryBatch, Pn as comment, Pt as PostsResource, Q as CreateShopOrderInput, Qn as PaginationMode, Qt as TextMarkup, R as TelemetryResource, Rn as CreateCommentInput, Rt as PostInput, S as VIDEO_MIME_TYPES, Sn as Attachment, Sr as OperationExtensions, St as ShopProductStatus, T as fromUrl, Tn as Hashtag, Tr as PluginTeardown, Tt as ShopSizeChartRow, U as SubscriptionResource, Un as PaymentMethod, Ut as poll, V as ViewTrackerInput, Vn as CreateReportInput, Vt as PollBuilder, W as CreateShopOrderOptions, Wn as Session, Wt as ParseMarkupOptions, X as ShopProductsResource, Xn as Page, Xt as MarkupInput, Y as ShopOrdersResource, Yn as BaseResource, Yt as MarkupContent, Z as ShopResource, Zn as PageState, Zt as MarkupSpan, _ as AUDIO_MIME_TYPES, _n as FilesResource, _r as AttemptContext, _t as ShopPayment, a as ShopFeatureOptions, an as ServiceStatus, ar as FeatureContext, at as ShopDeliveryCountry, b as IMAGE_MIME_TYPES, bn as CommentsResource, br as AttemptNext, bt as ShopProductColor, c as ShopOrderAccessStorage, cn as Announcement, cr as FeatureRequestOptions, ct as ShopOrder, d as createShopOrderAccessStorage, dn as Clan, dr as PreparedBufferSource, dt as ShopOrderDelivery, en as markup, er as PaginatorOptions, et as ShopConsentContext, f as statusDays, fn as Portal, fr as PreparedFileSource, ft as ShopOrderItem, g as ALLOWED_MIME_TYPES, gn as HashtagsResource, gr as HttpClient, gt as ShopOrderSupport, h as utcStampToIso, hn as HashtagPostsParams, hr as ResolveFileOptions, ht as ShopOrderSummary, i as ShopFeatureApi, in as PlatformStatus, ir as FeatureBucketDefinition, it as ShopDeliveryCity, j as DwellEntry, jn as PostStats, jt as report, k as UserListParams, kn as PollOption, kt as ReportBuilder, l as ShopOrderAccessStorageAdapterOptions, ln as AnnouncementButton, lr as ManagedClientResource, lt as ShopOrderAccessSession, m as toDate, mn as VerificationStatus, mr as ResolveFileContext, mt as ShopOrderStatus, n as SpanRenderFormat, nn as PlatformResource, nr as RateLimitBucketState, nt as ShopCreatedOrder, o as createShopFeature, on as StatusDay, or as FeatureInstallation, ot as ShopDeliveryDestination, p as isMyProfile, pn as Report, pr as PreparedStreamSource, pt as ShopOrderItemInput, q as ShopDeliveryResource, qn as NotificationsResource, qt as AutoSpansOptions, r as renderSpans, rn as PlatformVersions, rr as ClientFeature, rt as ShopDeliveryCalculation, s as MemoryShopOrderAccessStorage, sn as StatusIncidentLine, sr as FeatureOperationDefinition, st as ShopDeliveryPoint, t as RenderSpansOptions, tn as PlatformClientVersion, tr as mapPage, tt as ShopConsentKind, u as createMemoryShopOrderAccessStorage, un as ChangelogEntry, ur as FileResolver, ut as ShopOrderAccessVerification, v as AllowedMimeType, vn as UploadOptions, vr as AttemptExtensions, vt as ShopProduct, w as fromStream, wn as CommentReplyTo, wr as PluginApi, wt as ShopSizeChart, x as ImageMimeType, xn as RepliesParams, xr as ClientPlugin, xt as ShopProductSpec, y as AudioMimeType, yn as UploadedFile, yr as AttemptInterceptor, yt as ShopProductCategory, z as VideoProgressInput, zn as CreatePollInput, zt as PostUpdateInput } from "./shared/render-B4qis7Sb.js";
3
+ import { $ as EventTransport, A as ReconnectOptions, B as NotificationContext, C as EventChannelDeps, D as EventSession, E as EventEnqueueOptions, F as EventPredicate, G as NotificationEventsUpdate, H as NotificationEventFilter, I as EventSequentializer, J as NotificationUpdateOfType, K as NotificationOfType, L as EventTypeGuard, M as EventMiddleware, N as EventMiddlewareObject, O as EventSyncReason, P as EventNext, Q as UnreadCountUpdate, R as runEventMiddleware, S as EventChannel, T as EventChannelOptions, U as NotificationEventOfType, V as NotificationEventContext, W as NotificationEventSelector, X as NotificationUpdateType, Y as NotificationUpdateOrigin, Z as UnknownNotificationUpdate, _ as createNotificationEventsClient, a as WebSocketTransportOptions, b as NotificationEventsOptions, c as EventErrorContext, d as EventMiddlewareLike, et as EventTransportContext, f as EventRouteTable, g as NotificationEventsClientOptions, h as NotificationEventsClient, i as WebSocketTransport, j as EventHandler, l as EventFilter, m as EventRouter, n as WebSocketLike, nt as UnauthorizedStreamError, o as EventComposer, p as EventRouteSelector, q as NotificationUpdate, r as WebSocketOpenFailureClassifier, s as EventErrorBoundary, t as WebSocketImplementationOptions, tt as EventTransportFrame, u as EventMiddlewareGroup, v as NotificationEvents, w as EventChannelEvents, x as NotificationEventsTransport, y as NotificationEventsMap, z as EventContext } from "./shared/events-CqtkP65d.js";
5
4
  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-BoT7msmq.js";
6
- import { a as scopedTokenStorage, i as createMultiTokenStorage, n as MultiTokenStorage, r as MultiTokenStorageAdapterOptions, t as MemoryMultiTokenStorage } from "./shared/multi-storage-DccjD7Ww.js";
5
+ 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-COZaNHZS.js";
6
+ import { a as createTokenStorage, i as TokenStorageAdapterOptions, n as MemoryTokenStorage, r as TokenStorage, t as ItdSession } from "./shared/storage-CTRGT5wF.js";
7
+ import { a as scopedTokenStorage, i as createMultiTokenStorage, n as MultiTokenStorage, r as MultiTokenStorageAdapterOptions, t as MemoryMultiTokenStorage } from "./shared/multi-storage-LkljOSzA.js";
7
8
  //#region src/core/cookies.d.ts
8
9
  /**
9
10
  * Минимальное хранилище cookie для сред без своего.
@@ -64,6 +65,13 @@ declare class CookieJar {
64
65
  clear(): void;
65
66
  }
66
67
  //#endregion
68
+ //#region src/notifications-api.d.ts
69
+ /** Уведомления полного клиента: REST-методы и стабильный канал событий. */
70
+ interface NotificationsApi extends NotificationsResource {
71
+ /** Один канал событий уведомлений на всё время жизни клиента. */
72
+ readonly events: NotificationEvents;
73
+ }
74
+ //#endregion
67
75
  //#region src/session/options.d.ts
68
76
  /**
69
77
  * Вход по логину и паролю.
@@ -157,7 +165,29 @@ interface SessionOptions {
157
165
  * });
158
166
  * ```
159
167
  */
160
- interface ItdClientOptions extends RuntimeOptions, SessionOptions {}
168
+ interface ItdClientOptions extends RuntimeOptions, SessionOptions {
169
+ /** Неизменяемые настройки предметных каналов событий клиента. */
170
+ events?: {
171
+ /** Настройки канала уведомлений на всё время жизни клиента. */
172
+ notifications?: NotificationEventsOptions | undefined;
173
+ } | undefined;
174
+ }
175
+ //#endregion
176
+ //#region src/operations/auth.d.ts
177
+ /** Чем закончился запрос входа. */
178
+ declare const SignInStatus: Readonly<{
179
+ readonly Authenticated: "authenticated";
180
+ readonly OtpRequired: "otp_required";
181
+ }>;
182
+ type SignInStatus = (typeof SignInStatus)[keyof typeof SignInStatus];
183
+ /** Результат входа: готовый токен либо продолжение через код подтверждения. */
184
+ type SignInResult = {
185
+ status: 'authenticated';
186
+ accessToken: string;
187
+ } | {
188
+ status: 'otp_required';
189
+ flowToken: string | undefined;
190
+ };
161
191
  //#endregion
162
192
  //#region src/session/auth.d.ts
163
193
  /**
@@ -228,12 +258,12 @@ interface AuthManagerHooks {
228
258
  */
229
259
  declare class AuthManager implements AuthProvider {
230
260
  #private;
231
- constructor(config: SessionConfig, send: RequestHandler, jar: CookieJar, hooks?: AuthManagerHooks);
261
+ constructor(config: SessionConfig, http: HttpClient, jar: CookieJar, hooks?: AuthManagerHooks);
232
262
  /** Подписка на события авторизации. */
233
263
  get on(): Emitter<AuthEvents>['on'];
234
264
  /** Подписка на одно срабатывание. */
235
265
  get once(): Emitter<AuthEvents>['once'];
236
- /** Снимает lifecycle-подписки при терминальном освобождении владельца. @internal */
266
+ /** Снимает служебные подписки при окончательном освобождении владельца. @internal */
237
267
  dispose(): void;
238
268
  /**
239
269
  * Непрозрачная fallback-область авторизации.
@@ -362,25 +392,12 @@ interface ResetPasswordInput {
362
392
  flowToken: string;
363
393
  newPassword: string;
364
394
  }
365
- /** Чем закончился вход: сразу токеном или запросом кода подтверждения. */
366
- declare const SignInStatus: Readonly<{
367
- readonly Authenticated: "authenticated";
368
- readonly OtpRequired: "otp_required";
369
- }>;
370
- type SignInStatus = (typeof SignInStatus)[keyof typeof SignInStatus];
371
395
  /**
372
396
  * Результат входа.
373
397
  *
374
398
  * Сервер может как сразу выдать токен, так и потребовать код подтверждения — размеченное
375
399
  * объединение делает оба случая явными.
376
400
  */
377
- type SignInResult = {
378
- status: 'authenticated';
379
- accessToken: string;
380
- } | {
381
- status: 'otp_required';
382
- flowToken: string | undefined;
383
- };
384
401
  /**
385
402
  * Авторизация, сессии и пароли.
386
403
  *
@@ -586,7 +603,7 @@ declare class ItdClient {
586
603
  /** Загрузка файлов и медиа. */
587
604
  get files(): FilesResource;
588
605
  /** Уведомления: список, счётчик, отметки о прочтении, настройки. */
589
- get notifications(): NotificationsResource;
606
+ get notifications(): NotificationsApi;
590
607
  /** Хэштеги и посты по ним. */
591
608
  get hashtags(): HashtagsResource;
592
609
  /** Глобальный поиск по пользователям и хэштегам. */
@@ -601,6 +618,8 @@ declare class ItdClient {
601
618
  get platform(): PlatformResource;
602
619
  /** Телеметрия просмотров. */
603
620
  get telemetry(): TelemetryResource;
621
+ /** Каталог, доставка и заказы магазина ИТД. */
622
+ get shop(): ShopResource;
604
623
  constructor(options?: ItdClientOptions);
605
624
  /** Базовый URL, к которому обращается клиент. */
606
625
  get baseUrl(): string;
@@ -633,29 +652,27 @@ declare class ItdClient {
633
652
  */
634
653
  rateLimitState(): RateLimitBucketState[];
635
654
  /**
636
- * Устанавливает предметный модуль поверх общей сессии и request pipeline клиента.
655
+ * Устанавливает предметный модуль с общей сессией и обработкой запросов клиента.
637
656
  *
638
- * Сервисы, операции и бакеты feature регистрируются до синхронного `setup()`. Возвращаемое
639
- * значение — типизированный API модуля; повторное имя feature отклоняется.
657
+ * Сервисы, операции и бакеты регистрируются до синхронного `setup()`. Возвращает
658
+ * типизированный API модуля.
640
659
  */
641
660
  install<TApi>(feature: ClientFeature<TApi>): TApi;
642
661
  /**
643
- * Устанавливает feature и публикует его API как readonly-свойство этого же клиента.
662
+ * Устанавливает модуль и добавляет его API в свойство клиента только для чтения.
644
663
  *
645
664
  * Возвращаемое пересечение сохраняет тип уже подключённых свойств, поэтому вызовы можно
646
- * объединять в цепочку: `new ItdClient().withFeature('chats', chatsFeature)`.
665
+ * объединять в цепочку: `new ItdClient().withFeature('pixelBattle', pixelBattleFeature)`.
647
666
  */
648
667
  withFeature<const K extends string, TApi>(key: K, feature: ClientFeature<TApi>): this & { readonly [P in K]: TApi; };
649
- /** Имена установленных feature в порядке установки. */
668
+ /** Имена установленных модулей в порядке установки. */
650
669
  featureNames(): string[];
651
- /** Установлен ли feature с таким именем. */
670
+ /** Установлен ли модуль с таким именем. */
652
671
  hasFeature(name: string): boolean;
653
672
  /**
654
673
  * Подключает плагин.
655
674
  *
656
- * Плагин может независимо регистрировать transformer логической операции и interceptor
657
- * транспортной попытки. Оба контракта охватывают все методы клиента. Подключать плагин
658
- * можно в любой момент, но обычно это делают сразу после создания клиента.
675
+ * Плагин может регистрировать обёртки операций и перехватчики сетевых попыток.
659
676
  *
660
677
  * @throws {ItdConfigError} если плагин задан неверно или уже подключён
661
678
  * @throws {ItdStateError} если клиент уже освобождён через {@link dispose}
@@ -733,44 +750,20 @@ declare class ItdClient {
733
750
  * ```
734
751
  */
735
752
  on<K extends keyof AuthEvents>(event: K, listener: Listener<AuthEvents[K]>): Unsubscribe;
736
- /**
737
- * Создаёт поток уведомлений в реальном времени.
738
- *
739
- * Каждый вызов даёт новый независимый поток; обычно он нужен один на приложение.
740
- * Соединение поднимается методом `connect()` и держится само. Замена авторизации на токен
741
- * другого пользователя завершает все потоки клиента; смена только сессии их не затрагивает.
742
- *
743
- * @example
744
- * ```ts
745
- * import { NotificationType } from 'itd-api';
746
- *
747
- * const stream = itd.realtime();
748
- *
749
- * stream.onNotification(NotificationType.PostComment, async ({ update }) => {
750
- * await handleComment(update.data.notification);
751
- * });
752
- * stream.on('unreadCount', (count) => setBadge(count));
753
- *
754
- * await stream.connect();
755
- * ```
756
- *
757
- * @throws {ItdStateError} если клиент уже освобождён через {@link dispose}
758
- */
759
- realtime(options?: RealtimeOptions): ItdRealtime;
760
753
  /**
761
754
  * Освобождает ресурсы клиента: закрывает все потоки уведомлений, отправляет открытые
762
755
  * накопители {@link telemetry}, затем останавливает очередь запросов.
763
756
  *
764
- * Метод дожидается активных обработчиков потока, но не дольше `shutdownTimeout`. После
765
- * вызова клиентом можно пользоваться снова; ранее созданный поток можно запустить
766
- * повторным `connect()`.
757
+ * Метод дожидается завершения активных обработчиков и освобождения ресурсов остановленных
758
+ * событийных соединений, но не дольше `shutdownTimeout`. После вызова клиентом можно
759
+ * пользоваться снова; ранее созданный поток можно запустить повторным `connect()`.
767
760
  *
768
761
  * Общая очередь, полученная от {@link ItdAccounts}, не останавливается: её гасит сам
769
762
  * контейнер, когда закрывает все аккаунты разом.
770
763
  *
771
764
  * Терминальное освобождение — это {@link dispose}.
772
765
  *
773
- * @throws {ItdStateError} если обработчики потока не завершились за отведённый срок
766
+ * @throws {ItdStateError} если остановка событийного соединения не завершилась за отведённый срок
774
767
  */
775
768
  close(): Promise<void>;
776
769
  /**
@@ -779,10 +772,11 @@ declare class ItdClient {
779
772
  *
780
773
  * Терминальное состояние устанавливается сразу при первом вызове. После этого новые
781
774
  * запросы, подключение плагинов, регистрация сервисов и создание или повторный запуск
782
- * realtime-потоков завершаются с {@link ItdStateError}. Повторные вызовы возвращают
775
+ * событийных каналов завершаются с {@link ItdStateError}. Повторные вызовы возвращают
783
776
  * тот же результат очистки.
784
777
  *
785
- * Ожидание обработчиков потока и операций плагинов ограничено `shutdownTimeout`.
778
+ * Ожидание остановки событийных соединений и операций плагинов ограничено
779
+ * `shutdownTimeout`.
786
780
  *
787
781
  * @example
788
782
  * ```ts
@@ -837,6 +831,16 @@ declare function createClient(options?: ItdClientOptions): ItdClient;
837
831
  //#region src/accounts.d.ts
838
832
  /** Как аккаунты делят между собой очередь запросов. */
839
833
  type RateLimitScope = 'account' | 'shared';
834
+ /**
835
+ * Фабрика подключаемого модуля для клиентов {@link ItdAccounts}.
836
+ *
837
+ * `create()` вызывается отдельно для каждого аккаунта, поэтому описание модуля и его API
838
+ * между клиентами не разделяется. `key` публикует API как readonly-свойство клиента.
839
+ */
840
+ interface AccountFeature<TApi = unknown> {
841
+ readonly key?: string | undefined;
842
+ create(): ClientFeature<TApi>;
843
+ }
840
844
  /**
841
845
  * Опции конструктора {@link ItdAccounts}.
842
846
  *
@@ -852,6 +856,8 @@ interface ItdAccountsOptions extends Omit<ItdClientOptions, 'auth' | 'storage' |
852
856
  storage?: MultiTokenStorage | undefined;
853
857
  /** Плагины, подключаемые каждому аккаунту, в том числе добавленному позже. */
854
858
  plugins?: readonly ClientPlugin[] | undefined;
859
+ /** Модули, создаваемые и устанавливаемые отдельно для каждого аккаунта. */
860
+ features?: readonly AccountFeature[] | undefined;
855
861
  /**
856
862
  * Как делить очередь запросов. По умолчанию `'shared'` — одна на всех.
857
863
  *
@@ -953,7 +959,7 @@ declare class ItdAccounts {
953
959
  /**
954
960
  * Заводит аккаунт.
955
961
  *
956
- * Возвращается обычный `ItdClient` — со всеми ресурсами, плагинами и `realtime()`.
962
+ * Возвращается обычный `ItdClient` — со всеми ресурсами, плагинами и каналом событий.
957
963
  * Хранилище ему подставляется само: срез общего по имени аккаунта.
958
964
  *
959
965
  * Опция `auth` не обязательна: когда сессия этого аккаунта уже лежит в хранилище,
@@ -1084,5 +1090,5 @@ declare class ItdAccounts {
1084
1090
  */
1085
1091
  declare function createAccounts(options?: ItdAccountsOptions): ItdAccounts;
1086
1092
  //#endregion
1087
- export { ALLOWED_MIME_TYPES, AUDIO_MIME_TYPES, AccessType, type AccountEvents, 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 AuthResource, type AuthState, type Author, type AutoSpansOptions, BUCKET_LIMITS, type BuilderInput, type BuiltInOperationId, type CaptchaCredentials, type ChangelogEntry, type Clan, type ClientFeature, type ClientHooks, type ClientPlugin, type Comment, type CommentBuilder, type CommentInput, type CommentReplyTo, CommentSort, type CommentsParams, type CommentsResource, type CreateCommentInput, type CreatePollInput, type CreatePostData, type CreatePostInput, type CreateReportInput, type Credentials, type CredentialsAuth, type CustomOperationId, DEFAULT_BASE_URL, DEFAULT_RATE_LIMIT_BUCKET, type DwellEntry, type EnumerableKeyValueStore, type ErrorContextHook, type FeatureBucketDefinition, type FeatureContext, type FeatureInstallation, type FeatureOperationDefinition, type FeatureOperationId, type FeatureRequestOptions, type FeedParams, FeedTab, type FileContent, type FileContext, type FileInput, 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, ItdAccounts, type ItdAccountsOptions, ItdApiError, type ItdApiErrorInit, ItdApiErrorKind, ItdAuthError, type ItdBuilder, ItdClient, type ItdClientOptions, type ItdClock, ItdConfigError, ItdConflictError, ItdError, ItdErrorCode, ItdErrorKind, type ItdFieldErrors, ItdFileError, ItdFileErrorReason, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdPhoneVerificationError, ItdRateLimitError, ItdRealtime, ItdServerError, type ItdSession, ItdStateError, ItdTimeoutError, ItdValidationError, type KeyValueCodec, type KeyValueStore, type KeyValueStoreKeys, type KeyValueStoreResult, LIBRARY_VERSION, type LazyFile, type LikeResult, LikesVisibility, type Listener, type Logger, type Loose, type MarkupBuilder, type MarkupContent, type MarkupInput, type MarkupSpan, MemoryKeyValueStore, MemoryMultiTokenStorage, MemoryTokenStorage, type MultiTokenStorage, type MultiTokenStorageAdapterOptions, type MyProfile, type Notification, type NotificationEvent, type NotificationEventOfType, type NotificationListParams, type NotificationOfType, type NotificationSettings, NotificationType, type NotificationsResource, OPERATIONS, type ItdOperationDefinition as OperationDefinition, type OperationExtensions, type OperationId, type OperationMethod, type OperationRequestOptions, type OperationTransformer, type Page, type PageState, PaginationMode, type PaginationOptions, Paginator, type PaginatorOptions, type ParseMarkupOptions, type PaymentMethod, 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 PostBuilder, type PostInput, type PostStats, type PostUpdateInput, type PostsResource, type PrivacySettings, type Profile, type PublicProfile, type QueryParams, type QueryValue, type RateLimitBucket, type RateLimitBucketContext, type RateLimitBucketOverride, type RateLimitBucketState, type RateLimitOptions, RateLimitPacing, type RateLimitScope, type RawRequestOptions, RealtimeComposer, type RealtimeContext, type RealtimeContextBase, type RealtimeEngineEvents, type RealtimeErrorBoundary, type RealtimeErrorContext, type RealtimeEvents, type RealtimeFilter, type RealtimeHandler, type RealtimeMiddleware, type RealtimeMiddlewareGroup, type RealtimeMiddlewareLike, type RealtimeMiddlewareObj, type RealtimeNext, type RealtimeNotificationContext, type RealtimeNotificationFilter, type RealtimeNotificationSelector, type RealtimeNotificationUpdate, type RealtimeOptions, type RealtimePredicate, type RealtimeRequest, type RealtimeRequestInput, type RealtimeRouteSelector, type RealtimeRouteTable, RealtimeRouter, type RealtimeSequentializer, RealtimeStatus, type RealtimeTransport, RealtimeTransportKind, type RealtimeTypeGuard, type RealtimeUnknownUpdate, type RealtimeUnreadCountUpdate, type RealtimeUpdate, type RealtimeUpdateOfType, RealtimeUpdateOrigin, RealtimeUpdateType, 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 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 SignInResult, SignInStatus, type Span, SpanRenderFormat, SpanType, type StatusDay, type StatusIncidentLine, type StreamFile, type Subscription, type SubscriptionResource, type SubscriptionState, TURNSTILE_SITE_KEY, type TelemetryBatch, type TelemetryBatchOptions, type TelemetryClock, type TelemetryOptions, type TelemetryResource, type TextMarkup, type TokenStorage, type TokenStorageAdapterOptions, type TransportContext, type TransportEvent, UnauthorizedStreamError, type Unsubscribe, type UpdateNotificationSettingsInput, type UpdatePostInput, type UpdatePrivacyInput, type UpdateProfileInput, type UploadOptions, type UploadedFile, type UrlFile, type UrlFileOptions, type UserId, type UserListParams, type UserPostsParams, type UserRef, type UserSummary, 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, createAccounts, createClient, createKeyValueStore, createMultiTokenStorage, createRecordKeyValueStore, 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, runRealtimeMiddleware, scopedTokenStorage, statusDays, systemClock, toDate, utcStampToIso, withCodec, withNamespace };
1093
+ export { ALLOWED_MIME_TYPES, AUDIO_MIME_TYPES, AccessType, type AccountEvents, type AccountFeature, 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 Author, type AutoSpansOptions, BUCKET_LIMITS, type BuilderInput, type BuiltInOperationId, type CaptchaCredentials, type ChangelogEntry, type Clan, type ClientConnection, type ClientFeature, type ClientHooks, type ClientPlugin, type Comment, type CommentBuilder, type CommentInput, type CommentReplyTo, CommentSort, type CommentsParams, type CommentsResource, type CreateCommentInput, type CreatePollInput, type CreatePostData, type CreatePostInput, type CreateReportInput, type CreateShopOrderInput, type CreateShopOrderOptions, type Credentials, type CredentialsAuth, 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, ItdAccounts, type ItdAccountsOptions, ItdApiError, type ItdApiErrorInit, ItdApiErrorKind, ItdAuthError, type ItdBuilder, ItdClient, 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 LazyFile, type LikeResult, LikesVisibility, type Listener, type Logger, type Loose, type ManagedClientResource, type MarkupBuilder, type MarkupContent, type MarkupInput, type MarkupSpan, MemoryKeyValueStore, MemoryMultiTokenStorage, MemoryShopOrderAccessStorage, MemoryTokenStorage, 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, type OperationMethod, type OperationRequestOptions, type OperationTransformer, type Page, type PageState, PaginationMode, type PaginationOptions, Paginator, type PaginatorOptions, type ParseMarkupOptions, type PayShopOrderOptions, type PaymentMethod, 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 PostBuilder, type PostInput, type PostStats, type PostUpdateInput, type PostsResource, type PreparedBufferSource, type PreparedFileSource, type PreparedStreamSource, type PrivacySettings, type Profile, type PublicProfile, type QueryParams, type QueryValue, type RateLimitBucket, type RateLimitBucketContext, type RateLimitBucketOverride, type RateLimitBucketState, type RateLimitOptions, RateLimitPacing, type RateLimitScope, 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 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, SignInStatus, type Span, SpanRenderFormat, SpanType, type StatusDay, type StatusIncidentLine, type StreamFile, type Subscription, type SubscriptionResource, type SubscriptionState, TURNSTILE_SITE_KEY, type TelemetryBatch, type TelemetryBatchOptions, type TelemetryClock, type TelemetryOptions, type TelemetryResource, type TextMarkup, type TokenStorage, type TokenStorageAdapterOptions, UnauthorizedStreamError, type UnknownNotificationUpdate, type UnreadCountUpdate, type Unsubscribe, type UpdateNotificationSettingsInput, type UpdatePostInput, type UpdatePrivacyInput, type UpdateProfileInput, type UploadOptions, type UploadedFile, type UrlFile, type UrlFileOptions, type UserId, type UserListParams, type UserPostsParams, type UserRef, type UserSummary, 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, createAccounts, createClient, createKeyValueStore, createMemoryShopOrderAccessStorage, 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 };
1088
1094
  //# sourceMappingURL=index.d.ts.map