itd-api 0.13.0 → 0.13.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/dist/events/index.cjs +4 -4
- package/dist/events/index.d.cts +2 -2
- package/dist/events/index.d.ts +2 -2
- package/dist/events/index.js +4 -4
- package/dist/index.cjs +74 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -14
- package/dist/index.d.ts +32 -14
- package/dist/index.js +74 -31
- package/dist/index.js.map +1 -1
- package/dist/node/index.cjs +5 -5
- package/dist/node/index.js +5 -5
- package/dist/rest/index.cjs +5 -5
- package/dist/rest/index.d.cts +2 -2
- package/dist/rest/index.d.ts +2 -2
- package/dist/rest/index.js +5 -5
- package/dist/shared/{events-B6uqXOSs.d.cts → events-Bip3qvCc.d.cts} +1 -1
- package/dist/shared/{events-D_aMNrPd.d.ts → events-DF1elRzZ.d.ts} +1 -1
- package/dist/shared/{events-C_MgYlXR.js → events-DRbBDq9p.js} +4 -4
- package/dist/shared/{events-C_MgYlXR.js.map → events-DRbBDq9p.js.map} +1 -1
- package/dist/shared/{events-DV1i1t6J.cjs → events-DcxmyPTX.cjs} +4 -4
- package/dist/shared/{events-DV1i1t6J.cjs.map → events-DcxmyPTX.cjs.map} +1 -1
- package/dist/shared/{key-value-store-PnZE_DFC.js → key-value-store-BwXlaoD4.js} +2 -2
- package/dist/shared/{key-value-store-PnZE_DFC.js.map → key-value-store-BwXlaoD4.js.map} +1 -1
- package/dist/shared/{key-value-store-6DHm_iNW.cjs → key-value-store-CmnIjuE4.cjs} +2 -2
- package/dist/shared/{key-value-store-6DHm_iNW.cjs.map → key-value-store-CmnIjuE4.cjs.map} +1 -1
- package/dist/shared/{multi-storage-DM0skcSO.js → multi-storage-DffEAzdc.js} +5 -5
- package/dist/shared/{multi-storage-DM0skcSO.js.map → multi-storage-DffEAzdc.js.map} +1 -1
- package/dist/shared/{multi-storage-DnonVBfO.cjs → multi-storage-Dp5x6OOl.cjs} +5 -5
- package/dist/shared/{multi-storage-DnonVBfO.cjs.map → multi-storage-Dp5x6OOl.cjs.map} +1 -1
- package/dist/shared/{options-bS27r_gR.js → options-Ddyc5qec.js} +3 -3
- package/dist/shared/{options-bS27r_gR.js.map → options-Ddyc5qec.js.map} +1 -1
- package/dist/shared/{options-SvAWOaqT.cjs → options-DsmQRyx4.cjs} +3 -3
- package/dist/shared/{options-SvAWOaqT.cjs.map → options-DsmQRyx4.cjs.map} +1 -1
- package/dist/shared/{redact-C4b2NzdB.js → redact-BCmucE19.js} +2 -2
- package/dist/shared/{redact-C4b2NzdB.js.map → redact-BCmucE19.js.map} +1 -1
- package/dist/shared/{redact-DDGkv8KF.cjs → redact-BuXRKC1G.cjs} +2 -2
- package/dist/shared/{redact-DDGkv8KF.cjs.map → redact-BuXRKC1G.cjs.map} +1 -1
- package/dist/shared/{render-eOxYgdoA.d.ts → render-Bvv1V5Tp.d.ts} +3 -1
- package/dist/shared/{render-0-JJPOwb.cjs → render-C1lmsu1i.cjs} +6 -6
- package/dist/shared/{render-0-JJPOwb.cjs.map → render-C1lmsu1i.cjs.map} +1 -1
- package/dist/shared/{render-CYVOc_IW.d.cts → render-D83t9ckd.d.cts} +1 -1
- package/dist/shared/{render-CF49aBO8.js → render-DJKZqv9O.js} +6 -6
- package/dist/shared/{render-CF49aBO8.js.map → render-DJKZqv9O.js.map} +1 -1
- package/dist/shared/{storage-B6OkSi38.js → storage-Bc4lWtSj.js} +3 -3
- package/dist/shared/{storage-B6OkSi38.js.map → storage-Bc4lWtSj.js.map} +1 -1
- package/dist/shared/{storage-CezF2Mvz.cjs → storage-e2xYL6ro.cjs} +3 -3
- package/dist/shared/{storage-CezF2Mvz.cjs.map → storage-e2xYL6ro.cjs.map} +1 -1
- package/dist/shared/{url-DOfjru6L.cjs → url-CXRaoR_w.cjs} +18 -5
- package/dist/shared/url-CXRaoR_w.cjs.map +1 -0
- package/dist/shared/{url-DL5Mip4L.d.ts → url-V4bCae35.d.ts} +14 -1
- package/dist/shared/{url-CPKhcxf1.js → url-aw_NZdVY.js} +18 -5
- package/dist/shared/url-aw_NZdVY.js.map +1 -0
- package/dist/shared/{url-DCqxoxGX.d.cts → url-n_h2pvHA.d.cts} +16 -1
- package/dist/shared/{validate-CfxCK1BC.cjs → validate-BHKy_YMv.cjs} +4 -1
- package/dist/shared/validate-BHKy_YMv.cjs.map +1 -0
- package/dist/shared/{validate-B5l_vLKD.js → validate-BQzL_oJ4.js} +4 -1
- package/dist/shared/validate-BQzL_oJ4.js.map +1 -0
- package/dist/web/index.cjs +3 -3
- package/dist/web/index.js +3 -3
- package/package.json +1 -1
- package/dist/shared/url-CPKhcxf1.js.map +0 -1
- package/dist/shared/url-DOfjru6L.cjs.map +0 -1
- package/dist/shared/validate-B5l_vLKD.js.map +0 -1
- package/dist/shared/validate-CfxCK1BC.cjs.map +0 -1
package/dist/node/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_options = require("../shared/options-
|
|
3
|
-
const require_validate = require("../shared/validate-
|
|
4
|
-
const require_key_value_store = require("../shared/key-value-store-
|
|
5
|
-
const require_multi_storage = require("../shared/multi-storage-
|
|
6
|
-
const require_storage = require("../shared/storage-
|
|
2
|
+
const require_options = require("../shared/options-DsmQRyx4.cjs");
|
|
3
|
+
const require_validate = require("../shared/validate-BHKy_YMv.cjs");
|
|
4
|
+
const require_key_value_store = require("../shared/key-value-store-CmnIjuE4.cjs");
|
|
5
|
+
const require_multi_storage = require("../shared/multi-storage-Dp5x6OOl.cjs");
|
|
6
|
+
const require_storage = require("../shared/storage-e2xYL6ro.cjs");
|
|
7
7
|
// src/node.ts
|
|
8
8
|
/**
|
|
9
9
|
* `itd-api/node` — файловая система для Node, Bun и Deno.
|
package/dist/node/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as FileTransferMode, n as boundedFileStream, t as resolveFileStreamOptions } from "../shared/options-
|
|
2
|
-
import { l as ItdConfigError, m as ItdFileErrorReason, p as ItdFileError } from "../shared/validate-
|
|
3
|
-
import { i as createRecordKeyValueStore } from "../shared/key-value-store-
|
|
4
|
-
import { r as createMultiTokenStorage } from "../shared/multi-storage-
|
|
5
|
-
import { r as createTokenStorage } from "../shared/storage-
|
|
1
|
+
import { c as FileTransferMode, n as boundedFileStream, t as resolveFileStreamOptions } from "../shared/options-Ddyc5qec.js";
|
|
2
|
+
import { l as ItdConfigError, m as ItdFileErrorReason, p as ItdFileError } from "../shared/validate-BQzL_oJ4.js";
|
|
3
|
+
import { i as createRecordKeyValueStore } from "../shared/key-value-store-BwXlaoD4.js";
|
|
4
|
+
import { r as createMultiTokenStorage } from "../shared/multi-storage-DffEAzdc.js";
|
|
5
|
+
import { r as createTokenStorage } from "../shared/storage-Bc4lWtSj.js";
|
|
6
6
|
// src/node.ts
|
|
7
7
|
/**
|
|
8
8
|
* `itd-api/node` — файловая система для Node, Bun и Deno.
|
package/dist/rest/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_render = require("../shared/render-
|
|
3
|
-
const require_options = require("../shared/options-
|
|
4
|
-
const require_url = require("../shared/url-
|
|
5
|
-
const require_validate = require("../shared/validate-
|
|
6
|
-
const require_redact = require("../shared/redact-
|
|
2
|
+
const require_render = require("../shared/render-C1lmsu1i.cjs");
|
|
3
|
+
const require_options = require("../shared/options-DsmQRyx4.cjs");
|
|
4
|
+
const require_url = require("../shared/url-CXRaoR_w.cjs");
|
|
5
|
+
const require_validate = require("../shared/validate-BHKy_YMv.cjs");
|
|
6
|
+
const require_redact = require("../shared/redact-BuXRKC1G.cjs");
|
|
7
7
|
// src/rest/client.ts
|
|
8
8
|
/**
|
|
9
9
|
* Минимальный клиент REST API итд.com.
|
package/dist/rest/index.d.cts
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
*
|
|
19
19
|
* @packageDocumentation
|
|
20
20
|
*/
|
|
21
|
-
import { $ as ShopConsentContext, $n as BuilderInput, $t as autoSpans, A as DwellEntry, An as BannerDrawingTool, Ar as OperationTransformer, At as ReportInput, B as ViewTrackerInput, Bn as OriginalPost, Br as FileResolver, Bt as post, C as fromStream, Cn as HashtagsResource, Cr as AttemptContext, Ct as ShopRecipient, D as UpdateProfileInput, Dn as BannerDrawing, Dr as ClientPlugin, Dt as SearchResult, E as UpdatePrivacyInput, En as UploadedFile, Er as AttemptNext, Et as SearchResource, F as TelemetryClock, Fn as Comment, Fr as FeatureContext, Ft as UserPostsParams, G as ShopConsentsResource, Gn as PostBase, Gr as ResolveFileOptions, Gt as parseHtml, H as SubscriptionResource, Hn as Poll, Hr as PreparedFileSource, Ht as PollInput, I as TelemetryOptions, In as CommentReplyTo, Ir as FeatureInstallation, It as CreatePostInput, J as ShopOrdersResource, Jn as PostUpdateResult, Jt as MarkupBuilder, K as ShopDeliveryResource, Kn as PostCounters, Kt as parseMarkdown, L as TelemetryResource, Ln as CommentUpdateResult, Lr as FeatureOperationDefinition, Lt as PostBuilder, M as PhotoOpenInput, Mn as CommentsResource, Mr as PluginTeardown, Mt as CommentsParams, N as TelemetryBatch, Nn as RepliesParams, Nr as ClientFeature, Nt as FeedParams, O as UserListParams, On as BannerDrawingOperation, Or as OperationExtensions, Ot as ReportsResource, P as TelemetryBatchOptions, Pn as Attachment, Pr as FeatureBucketDefinition, Pt as PostsResource, Q as ShopConsent, Qn as comment, Qt as TextMarkup, R as VideoProgressInput, Rn as Hashtag, Rr as FeatureRequestOptions, Rt as PostInput, S as VideoMimeType, Sn as HashtagPostsParams, Sr as RateLimitBucketState, St as ShopProductStatus, T as VerificationResource, Tn as UploadOptions, Tr as AttemptInterceptor, Tt as ShopSizeChartRow, U as CreateShopOrderOptions, Un as PollOption, Ur as PreparedStreamSource, Ut as poll, V as ViewTrackerOptions, Vn as PinPostResult, Vr as PreparedBufferSource, Vt as PollBuilder, W as PayShopOrderOptions, Wn as Post, Wr as ResolveFileContext, Wt as ParseMarkupOptions, X as ShopResource, Xn as CommentBuilder, Xt as MarkupInput, Y as ShopProductsResource, Yn as UpdateResultBase, Yt as MarkupContent, Z as CreateShopOrderInput, Zn as CommentInput, Zt as MarkupSpan, _ as AllowedMimeType, _n as LegalDocumentBlock, _r as PageState, _t as ShopPayment, a as ShopFeatureOptions, an as ServiceStatus, ar as CreateReportInput, at as ShopDeliveryDestination, b as ImageMimeType, bn as LegalDocumentSummary, br as PaginatorOptions, bt as ShopProductColor, c as ShopOrderAccessStorage, cn as Announcement, cr as PaymentMethod, ct as ShopOrderAccessSession, d as statusDays, dn as Clan, dr as Subscription, dt as ShopOrderDelivery, en as markup, er as ItdBuilder, et as ShopConsentKind, f as isMyProfile, fn as Portal, fr as NotificationListParams, ft as ShopOrderItem, g as AUDIO_MIME_TYPES, gn as LegalDocument, gr as Page, gt as ShopOrderSupport, h as ALLOWED_MIME_TYPES, hn as LegalResource, ht as ShopOrderSummary, i as ShopFeatureApi, in as PlatformStatus, ir as CreatePostData, it as ShopDeliveryCountry, j as InteractionEntry, jn as UploadedBannerDrawing, jr as PluginApi, jt as report, k as UsersResource, kn as BannerDrawingPoint, kr as OperationTransformContext, kt as ReportBuilder, l as ShopOrderAccessStorageAdapterOptions, ln as AnnouncementButton, lt as ShopOrderAccessVerification, m as utcStampToIso, mn as VerificationStatus, mr as UpdateNotificationSettingsInput, mt as ShopOrderStatus, n as SpanRenderFormat, nn as PlatformResource, nr as CreateCommentInput, nt as ShopDeliveryCalculation, o as createShopFeature, on as StatusDay, or as UpdatePostInput, ot as ShopDeliveryPoint, p as toDate, pn as Report, pr as NotificationsResource, pt as ShopOrderItemInput, q as ShopOrderRequestOptions, qn as PostStats, qt as AutoSpansOptions, r as renderSpans, rn as PlatformVersions, rr as CreatePollInput, rt as ShopDeliveryCity, s as MemoryShopOrderAccessStorage, sn as StatusIncidentLine, sr as AccountLifecycleResource, st as ShopOrder, t as RenderSpansOptions, tn as PlatformClientVersion, tr as isBuilder, tt as ShopCreatedOrder, u as createShopOrderAccessStorage, un as ChangelogEntry, ur as Session, ut as ShopOrderBase, v as AudioMimeType, vn as LegalDocumentBlockType, vr as PaginationMode, vt as ShopProduct, w as fromUrl, wn as FilesResource, wr as AttemptExtensions, wt as ShopSizeChart, x as VIDEO_MIME_TYPES, xn as LegalDocumentVersion, xr as mapPage, xt as ShopProductSpec, y as IMAGE_MIME_TYPES, yn as LegalDocumentScope, yr as Paginator, yt as ShopProductCategory, z as ViewTracker, zn as LikeResult, zr as ManagedClientResource, zt as PostUpdateInput } from "../shared/render-
|
|
21
|
+
import { $ as ShopConsentContext, $n as BuilderInput, $t as autoSpans, A as DwellEntry, An as BannerDrawingTool, Ar as OperationTransformer, At as ReportInput, B as ViewTrackerInput, Bn as OriginalPost, Br as FileResolver, Bt as post, C as fromStream, Cn as HashtagsResource, Cr as AttemptContext, Ct as ShopRecipient, D as UpdateProfileInput, Dn as BannerDrawing, Dr as ClientPlugin, Dt as SearchResult, E as UpdatePrivacyInput, En as UploadedFile, Er as AttemptNext, Et as SearchResource, F as TelemetryClock, Fn as Comment, Fr as FeatureContext, Ft as UserPostsParams, G as ShopConsentsResource, Gn as PostBase, Gr as ResolveFileOptions, Gt as parseHtml, H as SubscriptionResource, Hn as Poll, Hr as PreparedFileSource, Ht as PollInput, I as TelemetryOptions, In as CommentReplyTo, Ir as FeatureInstallation, It as CreatePostInput, J as ShopOrdersResource, Jn as PostUpdateResult, Jt as MarkupBuilder, K as ShopDeliveryResource, Kn as PostCounters, Kt as parseMarkdown, L as TelemetryResource, Ln as CommentUpdateResult, Lr as FeatureOperationDefinition, Lt as PostBuilder, M as PhotoOpenInput, Mn as CommentsResource, Mr as PluginTeardown, Mt as CommentsParams, N as TelemetryBatch, Nn as RepliesParams, Nr as ClientFeature, Nt as FeedParams, O as UserListParams, On as BannerDrawingOperation, Or as OperationExtensions, Ot as ReportsResource, P as TelemetryBatchOptions, Pn as Attachment, Pr as FeatureBucketDefinition, Pt as PostsResource, Q as ShopConsent, Qn as comment, Qt as TextMarkup, R as VideoProgressInput, Rn as Hashtag, Rr as FeatureRequestOptions, Rt as PostInput, S as VideoMimeType, Sn as HashtagPostsParams, Sr as RateLimitBucketState, St as ShopProductStatus, T as VerificationResource, Tn as UploadOptions, Tr as AttemptInterceptor, Tt as ShopSizeChartRow, U as CreateShopOrderOptions, Un as PollOption, Ur as PreparedStreamSource, Ut as poll, V as ViewTrackerOptions, Vn as PinPostResult, Vr as PreparedBufferSource, Vt as PollBuilder, W as PayShopOrderOptions, Wn as Post, Wr as ResolveFileContext, Wt as ParseMarkupOptions, X as ShopResource, Xn as CommentBuilder, Xt as MarkupInput, Y as ShopProductsResource, Yn as UpdateResultBase, Yt as MarkupContent, Z as CreateShopOrderInput, Zn as CommentInput, Zt as MarkupSpan, _ as AllowedMimeType, _n as LegalDocumentBlock, _r as PageState, _t as ShopPayment, a as ShopFeatureOptions, an as ServiceStatus, ar as CreateReportInput, at as ShopDeliveryDestination, b as ImageMimeType, bn as LegalDocumentSummary, br as PaginatorOptions, bt as ShopProductColor, c as ShopOrderAccessStorage, cn as Announcement, cr as PaymentMethod, ct as ShopOrderAccessSession, d as statusDays, dn as Clan, dr as Subscription, dt as ShopOrderDelivery, en as markup, er as ItdBuilder, et as ShopConsentKind, f as isMyProfile, fn as Portal, fr as NotificationListParams, ft as ShopOrderItem, g as AUDIO_MIME_TYPES, gn as LegalDocument, gr as Page, gt as ShopOrderSupport, h as ALLOWED_MIME_TYPES, hn as LegalResource, ht as ShopOrderSummary, i as ShopFeatureApi, in as PlatformStatus, ir as CreatePostData, it as ShopDeliveryCountry, j as InteractionEntry, jn as UploadedBannerDrawing, jr as PluginApi, jt as report, k as UsersResource, kn as BannerDrawingPoint, kr as OperationTransformContext, kt as ReportBuilder, l as ShopOrderAccessStorageAdapterOptions, ln as AnnouncementButton, lt as ShopOrderAccessVerification, m as utcStampToIso, mn as VerificationStatus, mr as UpdateNotificationSettingsInput, mt as ShopOrderStatus, n as SpanRenderFormat, nn as PlatformResource, nr as CreateCommentInput, nt as ShopDeliveryCalculation, o as createShopFeature, on as StatusDay, or as UpdatePostInput, ot as ShopDeliveryPoint, p as toDate, pn as Report, pr as NotificationsResource, pt as ShopOrderItemInput, q as ShopOrderRequestOptions, qn as PostStats, qt as AutoSpansOptions, r as renderSpans, rn as PlatformVersions, rr as CreatePollInput, rt as ShopDeliveryCity, s as MemoryShopOrderAccessStorage, sn as StatusIncidentLine, sr as AccountLifecycleResource, st as ShopOrder, t as RenderSpansOptions, tn as PlatformClientVersion, tr as isBuilder, tt as ShopCreatedOrder, u as createShopOrderAccessStorage, un as ChangelogEntry, ur as Session, ut as ShopOrderBase, v as AudioMimeType, vn as LegalDocumentBlockType, vr as PaginationMode, vt as ShopProduct, w as fromUrl, wn as FilesResource, wr as AttemptExtensions, wt as ShopSizeChart, x as VIDEO_MIME_TYPES, xn as LegalDocumentVersion, xr as mapPage, xt as ShopProductSpec, y as IMAGE_MIME_TYPES, yn as LegalDocumentScope, yr as Paginator, yt as ShopProductCategory, z as ViewTracker, zn as LikeResult, zr as ManagedClientResource, zt as PostUpdateInput } from "../shared/render-D83t9ckd.cjs";
|
|
22
22
|
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";
|
|
23
|
-
import { $ as Profile, $t as operationRetrySafety, A as isItdError, An as ClientConnection, At as Loose, B as normalizeNotification, Bt as ViewSource, C as ItdStateError, Cn as RetryOptions, D as isItdApiError, Dn as ServiceDefinition, Dt as ItdErrorCode, E as TimeoutBudget, En as QueryValue, Et as InteractionType, F as isItdRateLimitError, Fn as Unsubscribe, Ft as ReportTargetType, G as AuthUser, Gt as BuiltInOperationId, H as NotificationSettings, I as isItdServerError, In as LogLevel, It as ServiceState, J as LastSeen, Jt as OPERATIONS, K as Author, Kt as CustomOperationId, L as isItdStateError, Ln as Logger, Lt as SpanType, M as isItdForbiddenError, Mn as systemClock, Mt as NotificationType, N as isItdNotFoundError, O as isItdAuthError, On as RateLimitPacing, Ot as LastSeenUnit, P as isItdPhoneVerificationError, Pn as Listener, Pt as ReportReason, Q as PrivacySettings, Qt as operationMethod, R as isItdValidationError, Rt as UsernameUnavailableReason, S as ItdServerError, Sn as RetryDecisionContext, St as CommentSort, T as ItdValidationError, Tn as QueryParams, Tt as IncidentKind, U as Actor, V as Notification, Vt as WallAccess, W as AuthState, X as Pin, Xt as isBuiltInOperationId, Y as MyProfile, Yt as OperationId, Z as PinsResult, Zt as operationBucket, _ as ItdForbiddenError, _n as RequestContext, _t as AccessType, a as ItdAbortError, b as ItdPhoneVerificationError, bn as ResponseContext, c as ItdApiErrorKind, cn as RetrySafety, ct as bearerToken, d as ItdConflictError, dn as OperationRequestOptions, dt as STATUS_SERVICE, en as BUCKET_LIMITS, et as PublicProfile, f as ItdError, fn as PaginationOptions, ft as LIBRARY_VERSION, g as ItdFileErrorReason, gn as RawRequestOptions, gt as UserRef, h as ItdFileError, hn as RateLimitOptions, ht as UserId, i as formatNotificationText, in as OperationAnnotations, it as UsernameAvailability, j as isItdFileError, jn as ItdClock, jt as MessageAccess, k as isItdConflictError, kn as RuntimeMode, kt as LikesVisibility, l as ItdAuthError, ln as ClientHooks, lt as tokenProvider, m as ItdFieldErrors, mn as RateLimitBucketOverride, mt as Span, n as canonicalNotificationType, nn as RateLimitBucket, nt as UserBase, o as ItdApiError, on as OperationMetadata, ot as AuthProvider, p as ItdErrorKind, pn as RateLimitBucketContext, pt as IsoDate, q as FollowResult, qt as ItdOperationDefinition, r as isKnownNotificationType, rn as FeatureOperationId, rt as UserSummary, s as ItdApiErrorInit, sn as OperationMethod, st as anonymousAuth, t as resolveNotificationUrl, tn as DEFAULT_RATE_LIMIT_BUCKET, tt as SubscriptionState, u as ItdConfigError, un as ErrorContextHook, ut as DEFAULT_BASE_URL, v as ItdNetworkError, vn as RequestExtensions, vt as AttachmentType, w as ItdTimeoutError, wn as RuntimeOptions, wt as FeedTab, x as ItdRateLimitError, xn as RetryContext, y as ItdNotFoundError, yn as RequestOptions, z as NotificationEvent, zt as ViewReason } from "../shared/url-
|
|
23
|
+
import { $ as Profile, $t as operationRetrySafety, A as isItdError, An as ClientConnection, At as Loose, B as normalizeNotification, Bt as ViewSource, C as ItdStateError, Cn as RetryOptions, D as isItdApiError, Dn as ServiceDefinition, Dt as ItdErrorCode, E as TimeoutBudget, En as QueryValue, Et as InteractionType, F as isItdRateLimitError, Fn as Unsubscribe, Ft as ReportTargetType, G as AuthUser, Gt as BuiltInOperationId, H as NotificationSettings, I as isItdServerError, In as LogLevel, It as ServiceState, J as LastSeen, Jt as OPERATIONS, K as Author, Kt as CustomOperationId, L as isItdStateError, Ln as Logger, Lt as SpanType, M as isItdForbiddenError, Mn as systemClock, Mt as NotificationType, N as isItdNotFoundError, O as isItdAuthError, On as RateLimitPacing, Ot as LastSeenUnit, P as isItdPhoneVerificationError, Pn as Listener, Pt as ReportReason, Q as PrivacySettings, Qt as operationMethod, R as isItdValidationError, Rt as UsernameUnavailableReason, S as ItdServerError, Sn as RetryDecisionContext, St as CommentSort, T as ItdValidationError, Tn as QueryParams, Tt as IncidentKind, U as Actor, V as Notification, Vt as WallAccess, W as AuthState, X as Pin, Xt as isBuiltInOperationId, Y as MyProfile, Yt as OperationId, Z as PinsResult, Zt as operationBucket, _ as ItdForbiddenError, _n as RequestContext, _t as AccessType, a as ItdAbortError, b as ItdPhoneVerificationError, bn as ResponseContext, c as ItdApiErrorKind, cn as RetrySafety, ct as bearerToken, d as ItdConflictError, dn as OperationRequestOptions, dt as STATUS_SERVICE, en as BUCKET_LIMITS, et as PublicProfile, f as ItdError, fn as PaginationOptions, ft as LIBRARY_VERSION, g as ItdFileErrorReason, gn as RawRequestOptions, gt as UserRef, h as ItdFileError, hn as RateLimitOptions, ht as UserId, i as formatNotificationText, in as OperationAnnotations, it as UsernameAvailability, j as isItdFileError, jn as ItdClock, jt as MessageAccess, k as isItdConflictError, kn as RuntimeMode, kt as LikesVisibility, l as ItdAuthError, ln as ClientHooks, lt as tokenProvider, m as ItdFieldErrors, mn as RateLimitBucketOverride, mt as Span, n as canonicalNotificationType, nn as RateLimitBucket, nt as UserBase, o as ItdApiError, on as OperationMetadata, ot as AuthProvider, p as ItdErrorKind, pn as RateLimitBucketContext, pt as IsoDate, q as FollowResult, qt as ItdOperationDefinition, r as isKnownNotificationType, rn as FeatureOperationId, rt as UserSummary, s as ItdApiErrorInit, sn as OperationMethod, st as anonymousAuth, t as resolveNotificationUrl, tn as DEFAULT_RATE_LIMIT_BUCKET, tt as SubscriptionState, u as ItdConfigError, un as ErrorContextHook, ut as DEFAULT_BASE_URL, v as ItdNetworkError, vn as RequestExtensions, vt as AttachmentType, w as ItdTimeoutError, wn as RuntimeOptions, wt as FeedTab, x as ItdRateLimitError, xn as RetryContext, y as ItdNotFoundError, yn as RequestOptions, z as NotificationEvent, zt as ViewReason } from "../shared/url-n_h2pvHA.cjs";
|
|
24
24
|
/** Опции конструктора {@link ItdRestClient}. */
|
|
25
25
|
interface RestClientOptions extends RuntimeOptions {
|
|
26
26
|
/**
|
package/dist/rest/index.d.ts
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
*
|
|
19
19
|
* @packageDocumentation
|
|
20
20
|
*/
|
|
21
|
-
import { $ as ShopConsentContext, $n as BuilderInput, $t as autoSpans, A as DwellEntry, An as BannerDrawingTool, Ar as OperationTransformer, At as ReportInput, B as ViewTrackerInput, Bn as OriginalPost, Br as FileResolver, Bt as post, C as fromStream, Cn as HashtagsResource, Cr as AttemptContext, Ct as ShopRecipient, D as UpdateProfileInput, Dn as BannerDrawing, Dr as ClientPlugin, Dt as SearchResult, E as UpdatePrivacyInput, En as UploadedFile, Er as AttemptNext, Et as SearchResource, F as TelemetryClock, Fn as Comment, Fr as FeatureContext, Ft as UserPostsParams, G as ShopConsentsResource, Gn as PostBase, Gr as ResolveFileOptions, Gt as parseHtml, H as SubscriptionResource, Hn as Poll, Hr as PreparedFileSource, Ht as PollInput, I as TelemetryOptions, In as CommentReplyTo, Ir as FeatureInstallation, It as CreatePostInput, J as ShopOrdersResource, Jn as PostUpdateResult, Jt as MarkupBuilder, K as ShopDeliveryResource, Kn as PostCounters, Kt as parseMarkdown, L as TelemetryResource, Ln as CommentUpdateResult, Lr as FeatureOperationDefinition, Lt as PostBuilder, M as PhotoOpenInput, Mn as CommentsResource, Mr as PluginTeardown, Mt as CommentsParams, N as TelemetryBatch, Nn as RepliesParams, Nr as ClientFeature, Nt as FeedParams, O as UserListParams, On as BannerDrawingOperation, Or as OperationExtensions, Ot as ReportsResource, P as TelemetryBatchOptions, Pn as Attachment, Pr as FeatureBucketDefinition, Pt as PostsResource, Q as ShopConsent, Qn as comment, Qt as TextMarkup, R as VideoProgressInput, Rn as Hashtag, Rr as FeatureRequestOptions, Rt as PostInput, S as VideoMimeType, Sn as HashtagPostsParams, Sr as RateLimitBucketState, St as ShopProductStatus, T as VerificationResource, Tn as UploadOptions, Tr as AttemptInterceptor, Tt as ShopSizeChartRow, U as CreateShopOrderOptions, Un as PollOption, Ur as PreparedStreamSource, Ut as poll, V as ViewTrackerOptions, Vn as PinPostResult, Vr as PreparedBufferSource, Vt as PollBuilder, W as PayShopOrderOptions, Wn as Post, Wr as ResolveFileContext, Wt as ParseMarkupOptions, X as ShopResource, Xn as CommentBuilder, Xt as MarkupInput, Y as ShopProductsResource, Yn as UpdateResultBase, Yt as MarkupContent, Z as CreateShopOrderInput, Zn as CommentInput, Zt as MarkupSpan, _ as AllowedMimeType, _n as LegalDocumentBlock, _r as PageState, _t as ShopPayment, a as ShopFeatureOptions, an as ServiceStatus, ar as CreateReportInput, at as ShopDeliveryDestination, b as ImageMimeType, bn as LegalDocumentSummary, br as PaginatorOptions, bt as ShopProductColor, c as ShopOrderAccessStorage, cn as Announcement, cr as PaymentMethod, ct as ShopOrderAccessSession, d as statusDays, dn as Clan, dr as Subscription, dt as ShopOrderDelivery, en as markup, er as ItdBuilder, et as ShopConsentKind, f as isMyProfile, fn as Portal, fr as NotificationListParams, ft as ShopOrderItem, g as AUDIO_MIME_TYPES, gn as LegalDocument, gr as Page, gt as ShopOrderSupport, h as ALLOWED_MIME_TYPES, hn as LegalResource, ht as ShopOrderSummary, i as ShopFeatureApi, in as PlatformStatus, ir as CreatePostData, it as ShopDeliveryCountry, j as InteractionEntry, jn as UploadedBannerDrawing, jr as PluginApi, jt as report, k as UsersResource, kn as BannerDrawingPoint, kr as OperationTransformContext, kt as ReportBuilder, l as ShopOrderAccessStorageAdapterOptions, ln as AnnouncementButton, lt as ShopOrderAccessVerification, m as utcStampToIso, mn as VerificationStatus, mr as UpdateNotificationSettingsInput, mt as ShopOrderStatus, n as SpanRenderFormat, nn as PlatformResource, nr as CreateCommentInput, nt as ShopDeliveryCalculation, o as createShopFeature, on as StatusDay, or as UpdatePostInput, ot as ShopDeliveryPoint, p as toDate, pn as Report, pr as NotificationsResource, pt as ShopOrderItemInput, q as ShopOrderRequestOptions, qn as PostStats, qt as AutoSpansOptions, r as renderSpans, rn as PlatformVersions, rr as CreatePollInput, rt as ShopDeliveryCity, s as MemoryShopOrderAccessStorage, sn as StatusIncidentLine, sr as AccountLifecycleResource, st as ShopOrder, t as RenderSpansOptions, tn as PlatformClientVersion, tr as isBuilder, tt as ShopCreatedOrder, u as createShopOrderAccessStorage, un as ChangelogEntry, ur as Session, ut as ShopOrderBase, v as AudioMimeType, vn as LegalDocumentBlockType, vr as PaginationMode, vt as ShopProduct, w as fromUrl, wn as FilesResource, wr as AttemptExtensions, wt as ShopSizeChart, x as VIDEO_MIME_TYPES, xn as LegalDocumentVersion, xr as mapPage, xt as ShopProductSpec, y as IMAGE_MIME_TYPES, yn as LegalDocumentScope, yr as Paginator, yt as ShopProductCategory, z as ViewTracker, zn as LikeResult, zr as ManagedClientResource, zt as PostUpdateInput } from "../shared/render-
|
|
21
|
+
import { $ as ShopConsentContext, $n as BuilderInput, $t as autoSpans, A as DwellEntry, An as BannerDrawingTool, Ar as OperationTransformer, At as ReportInput, B as ViewTrackerInput, Bn as OriginalPost, Br as FileResolver, Bt as post, C as fromStream, Cn as HashtagsResource, Cr as AttemptContext, Ct as ShopRecipient, D as UpdateProfileInput, Dn as BannerDrawing, Dr as ClientPlugin, Dt as SearchResult, E as UpdatePrivacyInput, En as UploadedFile, Er as AttemptNext, Et as SearchResource, F as TelemetryClock, Fn as Comment, Fr as FeatureContext, Ft as UserPostsParams, G as ShopConsentsResource, Gn as PostBase, Gr as ResolveFileOptions, Gt as parseHtml, H as SubscriptionResource, Hn as Poll, Hr as PreparedFileSource, Ht as PollInput, I as TelemetryOptions, In as CommentReplyTo, Ir as FeatureInstallation, It as CreatePostInput, J as ShopOrdersResource, Jn as PostUpdateResult, Jt as MarkupBuilder, K as ShopDeliveryResource, Kn as PostCounters, Kt as parseMarkdown, L as TelemetryResource, Ln as CommentUpdateResult, Lr as FeatureOperationDefinition, Lt as PostBuilder, M as PhotoOpenInput, Mn as CommentsResource, Mr as PluginTeardown, Mt as CommentsParams, N as TelemetryBatch, Nn as RepliesParams, Nr as ClientFeature, Nt as FeedParams, O as UserListParams, On as BannerDrawingOperation, Or as OperationExtensions, Ot as ReportsResource, P as TelemetryBatchOptions, Pn as Attachment, Pr as FeatureBucketDefinition, Pt as PostsResource, Q as ShopConsent, Qn as comment, Qt as TextMarkup, R as VideoProgressInput, Rn as Hashtag, Rr as FeatureRequestOptions, Rt as PostInput, S as VideoMimeType, Sn as HashtagPostsParams, Sr as RateLimitBucketState, St as ShopProductStatus, T as VerificationResource, Tn as UploadOptions, Tr as AttemptInterceptor, Tt as ShopSizeChartRow, U as CreateShopOrderOptions, Un as PollOption, Ur as PreparedStreamSource, Ut as poll, V as ViewTrackerOptions, Vn as PinPostResult, Vr as PreparedBufferSource, Vt as PollBuilder, W as PayShopOrderOptions, Wn as Post, Wr as ResolveFileContext, Wt as ParseMarkupOptions, X as ShopResource, Xn as CommentBuilder, Xt as MarkupInput, Y as ShopProductsResource, Yn as UpdateResultBase, Yt as MarkupContent, Z as CreateShopOrderInput, Zn as CommentInput, Zt as MarkupSpan, _ as AllowedMimeType, _n as LegalDocumentBlock, _r as PageState, _t as ShopPayment, a as ShopFeatureOptions, an as ServiceStatus, ar as CreateReportInput, at as ShopDeliveryDestination, b as ImageMimeType, bn as LegalDocumentSummary, br as PaginatorOptions, bt as ShopProductColor, c as ShopOrderAccessStorage, cn as Announcement, cr as PaymentMethod, ct as ShopOrderAccessSession, d as statusDays, dn as Clan, dr as Subscription, dt as ShopOrderDelivery, en as markup, er as ItdBuilder, et as ShopConsentKind, f as isMyProfile, fn as Portal, fr as NotificationListParams, ft as ShopOrderItem, g as AUDIO_MIME_TYPES, gn as LegalDocument, gr as Page, gt as ShopOrderSupport, h as ALLOWED_MIME_TYPES, hn as LegalResource, ht as ShopOrderSummary, i as ShopFeatureApi, in as PlatformStatus, ir as CreatePostData, it as ShopDeliveryCountry, j as InteractionEntry, jn as UploadedBannerDrawing, jr as PluginApi, jt as report, k as UsersResource, kn as BannerDrawingPoint, kr as OperationTransformContext, kt as ReportBuilder, l as ShopOrderAccessStorageAdapterOptions, ln as AnnouncementButton, lt as ShopOrderAccessVerification, m as utcStampToIso, mn as VerificationStatus, mr as UpdateNotificationSettingsInput, mt as ShopOrderStatus, n as SpanRenderFormat, nn as PlatformResource, nr as CreateCommentInput, nt as ShopDeliveryCalculation, o as createShopFeature, on as StatusDay, or as UpdatePostInput, ot as ShopDeliveryPoint, p as toDate, pn as Report, pr as NotificationsResource, pt as ShopOrderItemInput, q as ShopOrderRequestOptions, qn as PostStats, qt as AutoSpansOptions, r as renderSpans, rn as PlatformVersions, rr as CreatePollInput, rt as ShopDeliveryCity, s as MemoryShopOrderAccessStorage, sn as StatusIncidentLine, sr as AccountLifecycleResource, st as ShopOrder, t as RenderSpansOptions, tn as PlatformClientVersion, tr as isBuilder, tt as ShopCreatedOrder, u as createShopOrderAccessStorage, un as ChangelogEntry, ur as Session, ut as ShopOrderBase, v as AudioMimeType, vn as LegalDocumentBlockType, vr as PaginationMode, vt as ShopProduct, w as fromUrl, wn as FilesResource, wr as AttemptExtensions, wt as ShopSizeChart, x as VIDEO_MIME_TYPES, xn as LegalDocumentVersion, xr as mapPage, xt as ShopProductSpec, y as IMAGE_MIME_TYPES, yn as LegalDocumentScope, yr as Paginator, yt as ShopProductCategory, z as ViewTracker, zn as LikeResult, zr as ManagedClientResource, zt as PostUpdateInput } from "../shared/render-Bvv1V5Tp.js";
|
|
22
22
|
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";
|
|
23
|
-
import { $ as isItdNotFoundError, $t as isBuiltInOperationId, A as ItdConfigError, An as SpanType, At as RawRequestOptions, B as ItdPhoneVerificationError, Bt as QueryValue, C as UserSummary, Cn as Loose, Ct as ClientHooks, D as ItdApiErrorInit, Dn as ReportReason, Dt as RateLimitBucketContext, E as ItdApiError, Et as PaginationOptions, F as ItdFileError, Ft as RetryContext, G as ItdValidationError, Gt as Logger, H as ItdServerError, Ht as RateLimitPacing, I as ItdFileErrorReason, It as RetryDecisionContext, J as isItdAuthError, Jt as BuiltInOperationId, K as TimeoutBudget, Kt as ItdClock, L as ItdForbiddenError, Lt as RetryOptions, M as ItdError, Mn as ViewReason, Mt as RequestExtensions, N as ItdErrorKind, Nn as ViewSource, Nt as RequestOptions, O as ItdApiErrorKind, On as ReportTargetType, Ot as RateLimitBucketOverride, P as ItdFieldErrors, Pn as WallAccess, Pt as ResponseContext, Q as isItdForbiddenError, Qt as OperationId, R as ItdNetworkError, Rt as RuntimeOptions, S as UserBase, Sn as LikesVisibility, St as RetrySafety, T as ItdAbortError, Tn as NotificationType, Tt as OperationRequestOptions, U as ItdStateError, Ut as RuntimeMode, V as ItdRateLimitError, Vt as ServiceDefinition, W as ItdTimeoutError, Wt as LogLevel, X as isItdError, Xt as ItdOperationDefinition, Y as isItdConflictError, Yt as CustomOperationId, Z as isItdFileError, Zt as OPERATIONS, _ as PinsResult, _n as FeedTab, _t as FeatureOperationId, a as NotificationEvent, an as RateLimitBucket, b as PublicProfile, bn as ItdErrorCode, bt as OperationMetadata, c as NotificationSettings, cn as UserId, ct as ClientConnection, d as AuthUser, dn as AttachmentType, dt as anonymousAuth, en as operationBucket, et as isItdPhoneVerificationError, f as Author, ft as bearerToken, g as Pin, gt as LIBRARY_VERSION, h as MyProfile, hn as CommentSort, ht as STATUS_SERVICE, i as formatNotificationText, in as DEFAULT_RATE_LIMIT_BUCKET, it as isItdValidationError, j as ItdConflictError, jn as UsernameUnavailableReason, jt as RequestContext, k as ItdAuthError, kn as ServiceState, kt as RateLimitOptions, l as Actor, ln as UserRef, m as LastSeen, mt as DEFAULT_BASE_URL, n as canonicalNotificationType, nn as operationRetrySafety, nt as isItdServerError, o as normalizeNotification, on as IsoDate, ot as Listener, p as FollowResult, pt as tokenProvider, q as isItdApiError, qt as systemClock, r as isKnownNotificationType, rn as BUCKET_LIMITS, rt as isItdStateError, s as Notification, sn as Span, st as Unsubscribe, t as resolveNotificationUrl, tn as operationMethod, tt as isItdRateLimitError, u as AuthState, un as AccessType, ut as AuthProvider, v as PrivacySettings, vn as IncidentKind, vt as OperationAnnotations, w as UsernameAvailability, wn as MessageAccess, wt as ErrorContextHook, x as SubscriptionState, xn as LastSeenUnit, xt as OperationMethod, y as Profile, yn as InteractionType, z as ItdNotFoundError, zt as QueryParams } from "../shared/url-
|
|
23
|
+
import { $ as isItdNotFoundError, $t as isBuiltInOperationId, A as ItdConfigError, An as SpanType, At as RawRequestOptions, B as ItdPhoneVerificationError, Bt as QueryValue, C as UserSummary, Cn as Loose, Ct as ClientHooks, D as ItdApiErrorInit, Dn as ReportReason, Dt as RateLimitBucketContext, E as ItdApiError, Et as PaginationOptions, F as ItdFileError, Ft as RetryContext, G as ItdValidationError, Gt as Logger, H as ItdServerError, Ht as RateLimitPacing, I as ItdFileErrorReason, It as RetryDecisionContext, J as isItdAuthError, Jt as BuiltInOperationId, K as TimeoutBudget, Kt as ItdClock, L as ItdForbiddenError, Lt as RetryOptions, M as ItdError, Mn as ViewReason, Mt as RequestExtensions, N as ItdErrorKind, Nn as ViewSource, Nt as RequestOptions, O as ItdApiErrorKind, On as ReportTargetType, Ot as RateLimitBucketOverride, P as ItdFieldErrors, Pn as WallAccess, Pt as ResponseContext, Q as isItdForbiddenError, Qt as OperationId, R as ItdNetworkError, Rt as RuntimeOptions, S as UserBase, Sn as LikesVisibility, St as RetrySafety, T as ItdAbortError, Tn as NotificationType, Tt as OperationRequestOptions, U as ItdStateError, Ut as RuntimeMode, V as ItdRateLimitError, Vt as ServiceDefinition, W as ItdTimeoutError, Wt as LogLevel, X as isItdError, Xt as ItdOperationDefinition, Y as isItdConflictError, Yt as CustomOperationId, Z as isItdFileError, Zt as OPERATIONS, _ as PinsResult, _n as FeedTab, _t as FeatureOperationId, a as NotificationEvent, an as RateLimitBucket, b as PublicProfile, bn as ItdErrorCode, bt as OperationMetadata, c as NotificationSettings, cn as UserId, ct as ClientConnection, d as AuthUser, dn as AttachmentType, dt as anonymousAuth, en as operationBucket, et as isItdPhoneVerificationError, f as Author, ft as bearerToken, g as Pin, gt as LIBRARY_VERSION, h as MyProfile, hn as CommentSort, ht as STATUS_SERVICE, i as formatNotificationText, in as DEFAULT_RATE_LIMIT_BUCKET, it as isItdValidationError, j as ItdConflictError, jn as UsernameUnavailableReason, jt as RequestContext, k as ItdAuthError, kn as ServiceState, kt as RateLimitOptions, l as Actor, ln as UserRef, m as LastSeen, mt as DEFAULT_BASE_URL, n as canonicalNotificationType, nn as operationRetrySafety, nt as isItdServerError, o as normalizeNotification, on as IsoDate, ot as Listener, p as FollowResult, pt as tokenProvider, q as isItdApiError, qt as systemClock, r as isKnownNotificationType, rn as BUCKET_LIMITS, rt as isItdStateError, s as Notification, sn as Span, st as Unsubscribe, t as resolveNotificationUrl, tn as operationMethod, tt as isItdRateLimitError, u as AuthState, un as AccessType, ut as AuthProvider, v as PrivacySettings, vn as IncidentKind, vt as OperationAnnotations, w as UsernameAvailability, wn as MessageAccess, wt as ErrorContextHook, x as SubscriptionState, xn as LastSeenUnit, xt as OperationMethod, y as Profile, yn as InteractionType, z as ItdNotFoundError, zt as QueryParams } from "../shared/url-V4bCae35.js";
|
|
24
24
|
/** Опции конструктора {@link ItdRestClient}. */
|
|
25
25
|
interface RestClientOptions extends RuntimeOptions {
|
|
26
26
|
/**
|
package/dist/rest/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as isBuilder, B as createFeatureHost, C as LegalDocumentBlockType, D as IMAGE_MIME_TYPES, E as AUDIO_MIME_TYPES, F as NotificationsResource, L as PaginationMode, M as toDate, N as utcStampToIso, O as VIDEO_MIME_TYPES, P as AccountLifecycleResource, R as Paginator, S as parseMarkdown, T as ALLOWED_MIME_TYPES, V as ExtensibleOperationCatalog, _ as post, a as createShopOrderAccessStorage, b as markup, c as ShopOrderStatus, d as isMyProfile, f as BannerDrawingTool, g as report, h as createResources, i as MemoryShopOrderAccessStorage, j as createStatusFeature, k as comment, l as ShopProductCategory, m as fromUrl, n as renderSpans, o as statusDays, p as fromStream, r as createShopFeature, s as ShopConsentKind, t as SpanRenderFormat, u as ShopProductStatus, v as poll, w as LegalDocumentScope, x as parseHtml, y as autoSpans, z as mapPage } from "../shared/render-
|
|
2
|
-
import { c as FileTransferMode } from "../shared/options-
|
|
3
|
-
import { $ as OperationMethod, A as ReportTargetType, B as isBuiltInOperationId, C as ItdErrorCode, D as NotificationType, E as MessageAccess, F as ViewSource, G as DEFAULT_RATE_LIMIT_BUCKET, H as operationMethod, I as WallAccess, K as createClientRuntime, L as ITD_CATALOG, M as SpanType, N as UsernameUnavailableReason, P as ViewReason, R as OPERATIONS, S as InteractionType, T as LikesVisibility, U as operationRetrySafety, V as operationBucket, W as BUCKET_LIMITS, _t as systemClock, a as tokenProvider, b as FeedTab, c as normalizeNotification, d as canonicalNotificationType, et as RetrySafety, f as isKnownNotificationType, ft as STATUS_SERVICE, ht as RateLimitPacing, i as bearerToken, j as ServiceState, k as ReportReason, m as AttachmentType, mt as LIBRARY_VERSION, n as formatNotificationText, p as AccessType, r as anonymousAuth, t as resolveNotificationUrl, ut as DEFAULT_BASE_URL, v as CommentSort, vt as installAsyncDisposeFallback, w as LastSeenUnit, x as IncidentKind } from "../shared/url-
|
|
4
|
-
import { A as isItdForbiddenError, C as ItdValidationError, D as isItdConflictError, E as isItdAuthError, F as isItdStateError, I as isItdValidationError, M as isItdPhoneVerificationError, N as isItdRateLimitError, O as isItdError, P as isItdServerError, S as ItdTimeoutError, T as isItdApiError, _ as ItdNotFoundError, a as ItdAbortError, b as ItdServerError, c as ItdAuthError, d as ItdError, f as ItdErrorKind, g as ItdNetworkError, h as ItdForbiddenError, j as isItdNotFoundError, k as isItdFileError, l as ItdConfigError, m as ItdFileErrorReason, o as ItdApiError, p as ItdFileError, s as ItdApiErrorKind, u as ItdConflictError, v as ItdPhoneVerificationError, w as TimeoutBudget, x as ItdStateError, y as ItdRateLimitError } from "../shared/validate-
|
|
5
|
-
import { E as LogLevel, v as RuntimeMode } from "../shared/redact-
|
|
1
|
+
import { A as isBuilder, B as createFeatureHost, C as LegalDocumentBlockType, D as IMAGE_MIME_TYPES, E as AUDIO_MIME_TYPES, F as NotificationsResource, L as PaginationMode, M as toDate, N as utcStampToIso, O as VIDEO_MIME_TYPES, P as AccountLifecycleResource, R as Paginator, S as parseMarkdown, T as ALLOWED_MIME_TYPES, V as ExtensibleOperationCatalog, _ as post, a as createShopOrderAccessStorage, b as markup, c as ShopOrderStatus, d as isMyProfile, f as BannerDrawingTool, g as report, h as createResources, i as MemoryShopOrderAccessStorage, j as createStatusFeature, k as comment, l as ShopProductCategory, m as fromUrl, n as renderSpans, o as statusDays, p as fromStream, r as createShopFeature, s as ShopConsentKind, t as SpanRenderFormat, u as ShopProductStatus, v as poll, w as LegalDocumentScope, x as parseHtml, y as autoSpans, z as mapPage } from "../shared/render-DJKZqv9O.js";
|
|
2
|
+
import { c as FileTransferMode } from "../shared/options-Ddyc5qec.js";
|
|
3
|
+
import { $ as OperationMethod, A as ReportTargetType, B as isBuiltInOperationId, C as ItdErrorCode, D as NotificationType, E as MessageAccess, F as ViewSource, G as DEFAULT_RATE_LIMIT_BUCKET, H as operationMethod, I as WallAccess, K as createClientRuntime, L as ITD_CATALOG, M as SpanType, N as UsernameUnavailableReason, P as ViewReason, R as OPERATIONS, S as InteractionType, T as LikesVisibility, U as operationRetrySafety, V as operationBucket, W as BUCKET_LIMITS, _t as systemClock, a as tokenProvider, b as FeedTab, c as normalizeNotification, d as canonicalNotificationType, et as RetrySafety, f as isKnownNotificationType, ft as STATUS_SERVICE, ht as RateLimitPacing, i as bearerToken, j as ServiceState, k as ReportReason, m as AttachmentType, mt as LIBRARY_VERSION, n as formatNotificationText, p as AccessType, r as anonymousAuth, t as resolveNotificationUrl, ut as DEFAULT_BASE_URL, v as CommentSort, vt as installAsyncDisposeFallback, w as LastSeenUnit, x as IncidentKind } from "../shared/url-aw_NZdVY.js";
|
|
4
|
+
import { A as isItdForbiddenError, C as ItdValidationError, D as isItdConflictError, E as isItdAuthError, F as isItdStateError, I as isItdValidationError, M as isItdPhoneVerificationError, N as isItdRateLimitError, O as isItdError, P as isItdServerError, S as ItdTimeoutError, T as isItdApiError, _ as ItdNotFoundError, a as ItdAbortError, b as ItdServerError, c as ItdAuthError, d as ItdError, f as ItdErrorKind, g as ItdNetworkError, h as ItdForbiddenError, j as isItdNotFoundError, k as isItdFileError, l as ItdConfigError, m as ItdFileErrorReason, o as ItdApiError, p as ItdFileError, s as ItdApiErrorKind, u as ItdConflictError, v as ItdPhoneVerificationError, w as TimeoutBudget, x as ItdStateError, y as ItdRateLimitError } from "../shared/validate-BQzL_oJ4.js";
|
|
5
|
+
import { E as LogLevel, v as RuntimeMode } from "../shared/redact-BCmucE19.js";
|
|
6
6
|
// src/rest/client.ts
|
|
7
7
|
/**
|
|
8
8
|
* Минимальный клиент REST API итд.com.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { An as ClientConnection, Ct as EventChannelStatus, Fn as Unsubscribe, Ln as Logger, Mt as NotificationType, Pn as Listener, Tn as QueryParams, V as Notification, at as AuthIdentity, jn as ItdClock, ot as AuthProvider, wn as RuntimeOptions, z as NotificationEvent } from "./url-
|
|
1
|
+
import { An as ClientConnection, Ct as EventChannelStatus, Fn as Unsubscribe, Ln as Logger, Mt as NotificationType, Pn as Listener, Tn as QueryParams, V as Notification, at as AuthIdentity, jn as ItdClock, ot as AuthProvider, wn as RuntimeOptions, z as NotificationEvent } from "./url-n_h2pvHA.cjs";
|
|
2
2
|
/** Идентификаторы операций транспорта уведомлений. */
|
|
3
3
|
type EventOperationId = 'events.notifications.poll.updates' | 'events.notifications.poll.unread';
|
|
4
4
|
/** Запрос транспорта к конвейеру клиента. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gt as Logger, Kt as ItdClock, Rt as RuntimeOptions, Tn as NotificationType, a as NotificationEvent, ct as ClientConnection, gn as EventChannelStatus, lt as AuthIdentity, ot as Listener, s as Notification, st as Unsubscribe, ut as AuthProvider, zt as QueryParams } from "./url-
|
|
1
|
+
import { Gt as Logger, Kt as ItdClock, Rt as RuntimeOptions, Tn as NotificationType, a as NotificationEvent, ct as ClientConnection, gn as EventChannelStatus, lt as AuthIdentity, ot as Listener, s as Notification, st as Unsubscribe, ut as AuthProvider, zt as QueryParams } from "./url-V4bCae35.js";
|
|
2
2
|
/** Идентификаторы операций транспорта уведомлений. */
|
|
3
3
|
type EventOperationId = 'events.notifications.poll.updates' | 'events.notifications.poll.unread';
|
|
4
4
|
/** Запрос транспорта к конвейеру клиента. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as pickArray, K as createClientRuntime, L as ITD_CATALOG, Q as pickString, X as pickNumber, _t as systemClock, i as bearerToken, l as readNotificationEvent, o as passthroughOperation, r as anonymousAuth, u as readUnreadCountEvent, vt as installAsyncDisposeFallback, y as EventChannelStatus } from "./url-
|
|
2
|
-
import { E as isItdAuthError, a as ItdAbortError, l as ItdConfigError, x as ItdStateError } from "./validate-
|
|
3
|
-
import { D as fallbackLogger, T as supportsStreamingBody, a as redactUrl, d as buildQuery, h as joinUrl, t as maskSecret } from "./redact-
|
|
1
|
+
import { J as pickArray, K as createClientRuntime, L as ITD_CATALOG, Q as pickString, X as pickNumber, _t as systemClock, i as bearerToken, l as readNotificationEvent, o as passthroughOperation, r as anonymousAuth, u as readUnreadCountEvent, vt as installAsyncDisposeFallback, y as EventChannelStatus } from "./url-aw_NZdVY.js";
|
|
2
|
+
import { E as isItdAuthError, a as ItdAbortError, l as ItdConfigError, x as ItdStateError } from "./validate-BQzL_oJ4.js";
|
|
3
|
+
import { D as fallbackLogger, T as supportsStreamingBody, a as redactUrl, d as buildQuery, h as joinUrl, t as maskSecret } from "./redact-BCmucE19.js";
|
|
4
4
|
// src/core/emitter.ts
|
|
5
5
|
/**
|
|
6
6
|
* Минимальный типизированный источник событий.
|
|
@@ -2335,4 +2335,4 @@ var EventComposer = class EventComposer {
|
|
|
2335
2335
|
};
|
|
2336
2336
|
export { Emitter as _, WebSocketTransport as a, NotificationEventsTransport as c, NotificationUpdateOrigin as d, NotificationUpdateType as f, runEventMiddleware as g, UnauthorizedStreamError as h, createNotificationEventsClient as i, resolveNotificationEventsOptions as l, EventChannel as m, EventRouter as n, EVENT_OPERATIONS as o, createParser as p, NotificationEventsClient as r, NotificationEvents as s, EventComposer as t, setNotificationEventsConnectGuard as u, reportListenerError as v };
|
|
2337
2337
|
|
|
2338
|
-
//# sourceMappingURL=events-
|
|
2338
|
+
//# sourceMappingURL=events-DRbBDq9p.js.map
|