itd-api 0.12.1 → 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.
Files changed (90) hide show
  1. package/dist/events/index.cjs +4 -4
  2. package/dist/events/index.d.cts +7 -2
  3. package/dist/events/index.d.ts +7 -2
  4. package/dist/events/index.js +4 -4
  5. package/dist/index.cjs +715 -90
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.cts +515 -46
  8. package/dist/index.d.ts +515 -46
  9. package/dist/index.js +707 -91
  10. package/dist/index.js.map +1 -1
  11. package/dist/node/index.cjs +6 -7
  12. package/dist/node/index.cjs.map +1 -1
  13. package/dist/node/index.d.cts +24 -7
  14. package/dist/node/index.d.ts +24 -7
  15. package/dist/node/index.js +6 -7
  16. package/dist/node/index.js.map +1 -1
  17. package/dist/rest/index.cjs +19 -7
  18. package/dist/rest/index.cjs.map +1 -1
  19. package/dist/rest/index.d.cts +28 -7
  20. package/dist/rest/index.d.ts +28 -7
  21. package/dist/rest/index.js +17 -8
  22. package/dist/rest/index.js.map +1 -1
  23. package/dist/shared/{contracts-BoT7msmq.d.ts → contracts-DEbkC0cB.d.cts} +1 -4
  24. package/dist/shared/{contracts-BoT7msmq.d.cts → contracts-pxnDIsQP.d.ts} +1 -4
  25. package/dist/shared/{events-FaXfdle0.d.cts → events-Bip3qvCc.d.cts} +42 -63
  26. package/dist/shared/{events-9215JDDd.d.ts → events-DF1elRzZ.d.ts} +2 -23
  27. package/dist/shared/{events-_iYo8EP5.js → events-DRbBDq9p.js} +30 -40
  28. package/dist/shared/events-DRbBDq9p.js.map +1 -0
  29. package/dist/shared/{events-BKyxZQNw.cjs → events-DcxmyPTX.cjs} +30 -40
  30. package/dist/shared/events-DcxmyPTX.cjs.map +1 -0
  31. package/dist/shared/{key-value-store-COZaNHZS.d.ts → key-value-store-BGoSgLze.d.cts} +1 -4
  32. package/dist/shared/{key-value-store-w1Dn5Pjb.js → key-value-store-BwXlaoD4.js} +3 -4
  33. package/dist/shared/{key-value-store-w1Dn5Pjb.js.map → key-value-store-BwXlaoD4.js.map} +1 -1
  34. package/dist/shared/{key-value-store-DYSPsqwq.cjs → key-value-store-CmnIjuE4.cjs} +3 -4
  35. package/dist/shared/{key-value-store-DYSPsqwq.cjs.map → key-value-store-CmnIjuE4.cjs.map} +1 -1
  36. package/dist/shared/{key-value-store-COZaNHZS.d.cts → key-value-store-WUQBeTAr.d.ts} +1 -4
  37. package/dist/shared/{multi-storage-LkljOSzA.d.ts → multi-storage-DQiERirK.d.ts} +3 -6
  38. package/dist/shared/{multi-storage-DiBSx64p.js → multi-storage-DffEAzdc.js} +6 -7
  39. package/dist/shared/{multi-storage-DiBSx64p.js.map → multi-storage-DffEAzdc.js.map} +1 -1
  40. package/dist/shared/{multi-storage-7Y3KCseI.cjs → multi-storage-Dp5x6OOl.cjs} +6 -7
  41. package/dist/shared/multi-storage-Dp5x6OOl.cjs.map +1 -0
  42. package/dist/shared/{multi-storage-BEL7tcKn.d.cts → multi-storage-OGWNMK3x.d.cts} +3 -6
  43. package/dist/shared/{options-DLlaETn_.js → options-Ddyc5qec.js} +8 -12
  44. package/dist/shared/{options-DLlaETn_.js.map → options-Ddyc5qec.js.map} +1 -1
  45. package/dist/shared/{options-D5ttspWk.cjs → options-DsmQRyx4.cjs} +8 -12
  46. package/dist/shared/{options-D5ttspWk.cjs.map → options-DsmQRyx4.cjs.map} +1 -1
  47. package/dist/shared/{redact-DSfdmeY7.js → redact-BCmucE19.js} +16 -16
  48. package/dist/shared/redact-BCmucE19.js.map +1 -0
  49. package/dist/shared/{redact-BbhtA9o-.cjs → redact-BuXRKC1G.cjs} +16 -16
  50. package/dist/shared/redact-BuXRKC1G.cjs.map +1 -0
  51. package/dist/shared/{render-BS09ygcy.d.ts → render-Bvv1V5Tp.d.ts} +154 -102
  52. package/dist/shared/{render-BQvC5UxF.cjs → render-C1lmsu1i.cjs} +204 -109
  53. package/dist/shared/render-C1lmsu1i.cjs.map +1 -0
  54. package/dist/shared/{render-X2JCo1JS.d.cts → render-D83t9ckd.d.cts} +152 -251
  55. package/dist/shared/{render-CFoF2WaH.js → render-DJKZqv9O.js} +181 -110
  56. package/dist/shared/render-DJKZqv9O.js.map +1 -0
  57. package/dist/shared/{storage-86wiHeXD.js → storage-Bc4lWtSj.js} +4 -5
  58. package/dist/shared/{storage-86wiHeXD.js.map → storage-Bc4lWtSj.js.map} +1 -1
  59. package/dist/shared/{storage-CTRGT5wF.d.ts → storage-C_ZujAZt.d.ts} +2 -5
  60. package/dist/shared/{storage-BQrtKon9.d.cts → storage-FtS4NIC7.d.cts} +2 -5
  61. package/dist/shared/{storage-CIjejZDt.cjs → storage-e2xYL6ro.cjs} +4 -5
  62. package/dist/shared/{storage-CIjejZDt.cjs.map → storage-e2xYL6ro.cjs.map} +1 -1
  63. package/dist/shared/{url-ioIaywDi.cjs → url-CXRaoR_w.cjs} +263 -91
  64. package/dist/shared/url-CXRaoR_w.cjs.map +1 -0
  65. package/dist/shared/{url-_R0oJ7gE.d.cts → url-V4bCae35.d.ts} +222 -78
  66. package/dist/shared/{url-CdT4lMxQ.js → url-aw_NZdVY.js} +263 -91
  67. package/dist/shared/url-aw_NZdVY.js.map +1 -0
  68. package/dist/shared/{url-_R0oJ7gE.d.ts → url-n_h2pvHA.d.cts} +1915 -1620
  69. package/dist/shared/{validate-CFx2dISs.cjs → validate-BHKy_YMv.cjs} +8 -7
  70. package/dist/shared/validate-BHKy_YMv.cjs.map +1 -0
  71. package/dist/shared/{validate-D7_kq3g5.js → validate-BQzL_oJ4.js} +8 -7
  72. package/dist/shared/validate-BQzL_oJ4.js.map +1 -0
  73. package/dist/web/index.cjs +4 -5
  74. package/dist/web/index.cjs.map +1 -1
  75. package/dist/web/index.d.cts +22 -5
  76. package/dist/web/index.d.ts +22 -5
  77. package/dist/web/index.js +4 -5
  78. package/dist/web/index.js.map +1 -1
  79. package/package.json +6 -6
  80. package/dist/shared/events-BKyxZQNw.cjs.map +0 -1
  81. package/dist/shared/events-_iYo8EP5.js.map +0 -1
  82. package/dist/shared/multi-storage-7Y3KCseI.cjs.map +0 -1
  83. package/dist/shared/redact-BbhtA9o-.cjs.map +0 -1
  84. package/dist/shared/redact-DSfdmeY7.js.map +0 -1
  85. package/dist/shared/render-BQvC5UxF.cjs.map +0 -1
  86. package/dist/shared/render-CFoF2WaH.js.map +0 -1
  87. package/dist/shared/url-CdT4lMxQ.js.map +0 -1
  88. package/dist/shared/url-ioIaywDi.cjs.map +0 -1
  89. package/dist/shared/validate-CFx2dISs.cjs.map +0 -1
  90. package/dist/shared/validate-D7_kq3g5.js.map +0 -1
@@ -1,7 +1,6 @@
1
- import { At as RawRequestOptions, C as UserSummary, Cn as Loose, Ct as ClientHooks, Dn as ReportReason, En as QrLocationPrecision, Et as PaginationOptions, Gt as Logger, Jt as BuiltInOperationId, Kt as ItdClock, Mn as ViewReason, Nn as ViewSource, Nt as RequestOptions, On as ReportTargetType, Ot as RateLimitBucketOverride, Qt as OperationId, S as UserBase, St as RetrySafety, Tt as OperationRequestOptions, Vt as ServiceDefinition, _ as PinsResult, _n as FeedTab, b as PublicProfile, bt as OperationMetadata, c as NotificationSettings, cn as UserId, ct as ClientConnection, dn as AttachmentType, f as Author, h as MyProfile, hn as CommentSort, kn as ServiceState, ln as UserRef, lt as AuthIdentity, on as IsoDate, p as FollowResult, s as Notification, sn as Span, st as Unsubscribe, v as PrivacySettings, vn as IncidentKind, vt as OperationAnnotations, w as UsernameAvailability, xt as OperationMethod, y as Profile, yn as InteractionType, yt as OperationContract, zt as QueryParams } from "./url-_R0oJ7gE.js";
2
- import { c as LazyFile, d as UrlFileOptions, i as FileStreamContent, l as StreamFile, n as FileContext, o as FileTransferMode, r as FileInput, s as FromStreamOptions } from "./contracts-BoT7msmq.js";
3
- import { r as KeyValueStore } from "./key-value-store-COZaNHZS.js";
4
- //#region src/core/cookies.d.ts
1
+ import { At as RawRequestOptions, C as UserSummary, Cn as Loose, Ct as ClientHooks, Dn as ReportReason, En as QrLocationPrecision, Et as PaginationOptions, Gt as Logger, Jt as BuiltInOperationId, Kt as ItdClock, Mn as ViewReason, Nn as ViewSource, Nt as RequestOptions, On as ReportTargetType, Ot as RateLimitBucketOverride, Qt as OperationId, S as UserBase, St as RetrySafety, Tt as OperationRequestOptions, Vt as ServiceDefinition, _ as PinsResult, _n as FeedTab, b as PublicProfile, bt as OperationMetadata, c as NotificationSettings, cn as UserId, ct as ClientConnection, dn as AttachmentType, f as Author, h as MyProfile, hn as CommentSort, kn as ServiceState, ln as UserRef, lt as AuthIdentity, on as IsoDate, p as FollowResult, s as Notification, sn as Span, st as Unsubscribe, v as PrivacySettings, vn as IncidentKind, vt as OperationAnnotations, w as UsernameAvailability, xt as OperationMethod, y as Profile, yn as InteractionType, yt as OperationContract, zt as QueryParams } from "./url-V4bCae35.js";
2
+ import { c as LazyFile, d as UrlFileOptions, i as FileStreamContent, l as StreamFile, n as FileContext, o as FileTransferMode, r as FileInput, s as FromStreamOptions } from "./contracts-pxnDIsQP.js";
3
+ import { r as KeyValueStore } from "./key-value-store-WUQBeTAr.js";
5
4
  /**
6
5
  * Минимальное хранилище cookie для сред без своего.
7
6
  *
@@ -64,8 +63,6 @@ declare class CookieJar {
64
63
  /** Удаляет все cookie. */
65
64
  clear(): void;
66
65
  }
67
- //#endregion
68
- //#region src/core/execution/pipeline.d.ts
69
66
  /** Тело, заново подготовленное для одной транспортной попытки. */
70
67
  interface PreparedRequestBody {
71
68
  body: BodyInit;
@@ -91,6 +88,8 @@ type RequestBodyFactory = (context: RequestBodyContext) => PreparedRequestBody |
91
88
  interface PipelineRequest extends OperationRequestOptions {
92
89
  /** Изолированный cookie jar конкретного auth-flow. @internal */
93
90
  cookieJar?: CookieJar | undefined;
91
+ /** Запрещает перенаправление запроса с секретом подтверждения. @internal */
92
+ redirect?: 'error' | undefined;
94
93
  /** Повторяемое тело. Используется внутренними ресурсами вместо `body`. @internal */
95
94
  bodyFactory?: RequestBodyFactory | undefined;
96
95
  /**
@@ -114,8 +113,6 @@ type PipelineRequestInput = Omit<PipelineRequest, 'operationId'> & {
114
113
  };
115
114
  /** Обработчик запроса. Самый внутренний в цепочке — транспорт. */
116
115
  type RequestHandler = (request: PipelineRequest) => Promise<unknown>;
117
- //#endregion
118
- //#region src/core/execution/http.d.ts
119
116
  /** Что нужно точке входа в конвейер. */
120
117
  interface HttpClientDeps {
121
118
  /** Готовый обработчик — вся цепочка стадий поверх транспорта. */
@@ -155,8 +152,6 @@ declare class HttpClient {
155
152
  /** Выполняет внутреннюю операцию финализации после начала `ItdClient.dispose()`. @internal */
156
153
  cleanupOperation<T, TId extends OperationId>(operation: OperationContract<T, TId>, options: HttpOperationOptions): Promise<T>;
157
154
  }
158
- //#endregion
159
- //#region src/core/attachments/resolver.d.ts
160
155
  /** Дополнительные требования потребителя к подготовленному источнику. */
161
156
  interface ResolveFileOptions {
162
157
  /** Имя, которое имеет приоритет над именем источника. */
@@ -208,8 +203,6 @@ interface FileResolver {
208
203
  interface InternalFileResolver extends FileResolver {
209
204
  mode(input: FileInput): FileTransferMode;
210
205
  }
211
- //#endregion
212
- //#region src/core/managed-resources.d.ts
213
206
  /** Долгоживущий ресурс клиента. */
214
207
  interface ManagedClientResource {
215
208
  /** Короткое имя для диагностики зависшей остановки. */
@@ -219,8 +212,6 @@ interface ManagedClientResource {
219
212
  /** Завершается после остановки обработчиков и освобождения внешних ресурсов. */
220
213
  drain(): Promise<void>;
221
214
  }
222
- //#endregion
223
- //#region src/core/features.d.ts
224
215
  /** Параметры запроса feature: маршрут задаёт ресурс, transport metadata — manifest. */
225
216
  type FeatureRequestOptions = Omit<RawRequestOptions, 'operationId' | 'method' | 'service' | 'baseUrl' | 'retrySafety' | 'rateLimitBucket'>;
226
217
  /** Операция одного feature. Локальный ключ используется в {@link FeatureContext.request}. */
@@ -286,8 +277,6 @@ interface FeatureContext {
286
277
  /** Проверяет, что создавший модуль клиент ещё работает. */
287
278
  assertActive(action: string): void;
288
279
  }
289
- //#endregion
290
- //#region src/core/plugins/contracts.d.ts
291
280
  /**
292
281
  * Обёртка одной логической операции.
293
282
  *
@@ -446,8 +435,6 @@ interface ClientPlugin {
446
435
  */
447
436
  install(api: PluginApi): void | PluginTeardown;
448
437
  }
449
- //#endregion
450
- //#region src/core/scheduling/rate-limit.d.ts
451
438
  /** Снимок одного бакета. */
452
439
  interface RateLimitBucketState {
453
440
  /** Origin, на котором ведётся счётчик. `undefined` — очередь без известного направления. */
@@ -462,8 +449,6 @@ interface RateLimitBucketState {
462
449
  /** Запросов бакета ждёт своей очереди — из-за паузы или предела одновременности. */
463
450
  pending: number;
464
451
  }
465
- //#endregion
466
- //#region src/resources/pagination.d.ts
467
452
  /**
468
453
  * Страница списка — единая форма для всех трёх схем пагинации API.
469
454
  *
@@ -587,8 +572,6 @@ declare class Paginator<T> implements AsyncIterable<T> {
587
572
  */
588
573
  collect(max?: number): Promise<T[]>;
589
574
  }
590
- //#endregion
591
- //#region src/resources/base.d.ts
592
575
  /**
593
576
  * Описание перебираемого эндпоинта.
594
577
  *
@@ -653,8 +636,6 @@ declare class BaseResource {
653
636
  */
654
637
  protected paginated<T, P extends object>(spec: ListingSpec<T, P>): Listing<T, P>;
655
638
  }
656
- //#endregion
657
- //#region src/resources/notifications.d.ts
658
639
  /** Параметры запроса списка уведомлений. */
659
640
  interface NotificationListParams {
660
641
  limit?: number;
@@ -723,8 +704,6 @@ declare class NotificationsResource extends BaseResource {
723
704
  */
724
705
  updateSettings(input: UpdateNotificationSettingsInput, options?: RequestOptions): Promise<NotificationSettings>;
725
706
  }
726
- //#endregion
727
- //#region src/models/account.d.ts
728
707
  /** Активная сессия входа. */
729
708
  interface Session {
730
709
  id: string;
@@ -791,8 +770,13 @@ interface PaymentMethod {
791
770
  isDefault?: boolean;
792
771
  expiresAt?: IsoDate | null;
793
772
  }
794
- //#endregion
795
- //#region src/domain/params.d.ts
773
+ /** Деактивация и восстановление текущего аккаунта. */
774
+ declare class AccountLifecycleResource extends BaseResource {
775
+ /** Деактивирует аккаунт. Вернуть его можно через {@link restore}. */
776
+ deactivate(options?: RequestOptions): Promise<void>;
777
+ /** Восстанавливает деактивированный аккаунт. */
778
+ restore(options?: RequestOptions): Promise<void>;
779
+ }
796
780
  /** Данные для создания опроса. */
797
781
  interface CreatePollInput {
798
782
  /** Вопрос. Не может быть пустым. */
@@ -865,8 +849,6 @@ interface CreateReportInput {
865
849
  /** Пояснение в свободной форме. */
866
850
  description?: string;
867
851
  }
868
- //#endregion
869
- //#region src/builders/base.d.ts
870
852
  /** Метка билдера. Через `Symbol.for` — чтобы распознавание переживало смешивание ESM и CJS. */
871
853
  declare const BUILDER: unique symbol;
872
854
  /**
@@ -900,8 +882,6 @@ interface ItdBuilder<T> {
900
882
  type BuilderInput<T, B extends ItdBuilder<T>> = T | B | ((builder: B) => B | T);
901
883
  /** Является ли значение билдером. */
902
884
  declare function isBuilder<T>(value: unknown): value is ItdBuilder<T>;
903
- //#endregion
904
- //#region src/builders/comment.d.ts
905
885
  /** Внутреннее состояние {@link CommentBuilder}. */
906
886
  interface CommentState extends CreateCommentInput {
907
887
  content: string;
@@ -966,8 +946,6 @@ declare class CommentBuilder implements ItdBuilder<CreateCommentInput> {
966
946
  declare function comment(content?: string): CommentBuilder;
967
947
  /** Что принимает параметр комментария: объект, билдер или функция-настройщик. */
968
948
  type CommentInput = BuilderInput<CreateCommentInput, CommentBuilder>;
969
- //#endregion
970
- //#region src/models/content.d.ts
971
949
  /** Вложение поста или комментария. */
972
950
  interface Attachment {
973
951
  id: string;
@@ -1049,9 +1027,9 @@ interface OriginalPost extends PostBase {
1049
1027
  }
1050
1028
  /** Пост ленты, стены или профиля. */
1051
1029
  interface Post extends PostBase {
1052
- /** Чья это стена, если пост опубликован не у себя. */
1053
- wallRecipientId: UserId | null;
1054
- /** Владелец стены. Приходит не во всех ответах. */
1030
+ /** ID владельца чужой стены. `null` — пост опубликован не на чужой стене. */
1031
+ wallRecipientId?: UserId | null;
1032
+ /** Профиль владельца стены. */
1055
1033
  wallRecipient?: Author | null;
1056
1034
  /** Поставили ли вы реакцию. */
1057
1035
  isLiked: boolean;
@@ -1138,8 +1116,6 @@ interface PinPostResult {
1138
1116
  success: boolean;
1139
1117
  pinnedPostId: string | null;
1140
1118
  }
1141
- //#endregion
1142
- //#region src/resources/comments.d.ts
1143
1119
  /** Параметры запроса ответов на комментарий. */
1144
1120
  interface RepliesParams {
1145
1121
  limit?: number;
@@ -1185,8 +1161,45 @@ declare class CommentsResource extends BaseResource {
1185
1161
  /** Убирает реакцию с комментария. */
1186
1162
  unlike(commentId: string, options?: RequestOptions): Promise<LikeResult>;
1187
1163
  }
1188
- //#endregion
1189
- //#region src/resources/files.d.ts
1164
+ /** Инструменты редактора баннера в формате версии 1. */
1165
+ declare const BannerDrawingTool: Readonly<{
1166
+ readonly Brush: "brush";
1167
+ readonly Eraser: "eraser";
1168
+ readonly Line: "line";
1169
+ readonly Rectangle: "rectangle";
1170
+ readonly Circle: "circle";
1171
+ }>;
1172
+ type BannerDrawingTool = (typeof BannerDrawingTool)[keyof typeof BannerDrawingTool];
1173
+ /** Координаты точки в пикселях холста. */
1174
+ type BannerDrawingPoint = readonly [x: number, y: number];
1175
+ /** Штрих или фигура, которую нужно нарисовать на холсте. */
1176
+ interface BannerDrawingOperation {
1177
+ tool: BannerDrawingTool;
1178
+ /** Цвет в формате CSS hex, например `#000000`. */
1179
+ color: string;
1180
+ /** Толщина линии в пикселях. */
1181
+ width: number;
1182
+ /** Точки штриха. Для линии, прямоугольника и круга передайте две точки. */
1183
+ points: readonly BannerDrawingPoint[];
1184
+ }
1185
+ /** Описание рисунка для загрузки в качестве баннера. */
1186
+ interface BannerDrawing {
1187
+ version: 1;
1188
+ /** Ширина холста в пикселях. */
1189
+ width: number;
1190
+ /** Высота холста в пикселях. */
1191
+ height: number;
1192
+ /** Операции в порядке рисования. */
1193
+ ops: readonly BannerDrawingOperation[];
1194
+ }
1195
+ /** Изображение, созданное сервером из рисунка. */
1196
+ interface UploadedBannerDrawing {
1197
+ /** Идентификатор для поля `bannerId` при обновлении профиля. */
1198
+ id: string;
1199
+ url: string;
1200
+ width: number;
1201
+ height: number;
1202
+ }
1190
1203
  /** Ответ загрузки файла. */
1191
1204
  interface UploadedFile {
1192
1205
  /** Идентификатор вложения — его передают в `attachmentIds`. */
@@ -1226,13 +1239,18 @@ declare class FilesResource extends BaseResource {
1226
1239
  * после успешного чтения переиспользуется.
1227
1240
  */
1228
1241
  upload(input: FileInput, uploadOptions?: UploadOptions, requestOptions?: RequestOptions): Promise<UploadedFile>;
1242
+ /**
1243
+ * Отправляет описание рисунка и возвращает созданное сервером изображение.
1244
+ *
1245
+ * Чтобы установить баннер, передайте полученный `id` в
1246
+ * `itd.users.updateMe({ bannerId: id })`.
1247
+ */
1248
+ uploadBannerDrawing(drawing: BannerDrawing, options?: RequestOptions): Promise<UploadedBannerDrawing>;
1229
1249
  /** Загружает несколько файлов последовательно, сохраняя порядок. */
1230
1250
  uploadMany(files: FileInput[], uploadOptions?: UploadOptions, requestOptions?: RequestOptions): Promise<string[]>;
1231
1251
  /** Удаляет загруженный файл. */
1232
1252
  remove(fileId: string, options?: RequestOptions): Promise<void>;
1233
1253
  }
1234
- //#endregion
1235
- //#region src/resources/hashtags.d.ts
1236
1254
  /** Параметры запроса постов по хэштегу. */
1237
1255
  interface HashtagPostsParams {
1238
1256
  limit?: number;
@@ -1259,8 +1277,84 @@ declare class HashtagsResource extends BaseResource {
1259
1277
  /** Перебирает посты по хэштегу. */
1260
1278
  iteratePosts(tag: string, params?: HashtagPostsParams, options?: PaginationOptions): Paginator<Post>;
1261
1279
  }
1262
- //#endregion
1263
- //#region src/models/platform.d.ts
1280
+ /** Область действия документа. */
1281
+ declare const LegalDocumentScope: Readonly<{
1282
+ readonly Social: "social";
1283
+ }>;
1284
+ type LegalDocumentScope = Loose<(typeof LegalDocumentScope)[keyof typeof LegalDocumentScope]>;
1285
+ /** Сведения о редакции документа в списке документов и истории редакций. */
1286
+ interface LegalDocumentSummary {
1287
+ scope: LegalDocumentScope;
1288
+ /** Идентификатор документа в пределах области действия. */
1289
+ slug: string;
1290
+ title: string;
1291
+ shortTitle: string;
1292
+ summary: string;
1293
+ /** Идентификатор редакции. Передавайте его в `legal.version()` как строку. */
1294
+ version: string;
1295
+ /** Дата вступления редакции в силу. */
1296
+ effectiveAt: string;
1297
+ /** Контрольная сумма текста, которую возвращает сервер. */
1298
+ contentSha256: string;
1299
+ /** Дата, указанная в документе. */
1300
+ documentDate: string;
1301
+ /** Дата публикации или `null`, если она не указана. */
1302
+ publishedAt: string | null;
1303
+ }
1304
+ /** Запись истории редакций. */
1305
+ interface LegalDocumentVersion extends LegalDocumentSummary {
1306
+ /** Действует ли эта редакция сейчас. */
1307
+ current: boolean;
1308
+ }
1309
+ /** Виды блоков текста документа. */
1310
+ declare const LegalDocumentBlockType: Readonly<{
1311
+ readonly Heading: "heading";
1312
+ readonly List: "list";
1313
+ readonly Lines: "lines";
1314
+ }>;
1315
+ type LegalDocumentBlockType = Loose<(typeof LegalDocumentBlockType)[keyof typeof LegalDocumentBlockType]>;
1316
+ /** Блок текста. Поля зависят от его вида. */
1317
+ interface LegalDocumentBlock {
1318
+ type: LegalDocumentBlockType;
1319
+ /** Уровень заголовка. */
1320
+ level?: number;
1321
+ /** Текст заголовка или абзаца. */
1322
+ text?: string;
1323
+ /** Пункты списка или строки многострочного блока. */
1324
+ items?: string[];
1325
+ }
1326
+ /** Редакция документа с полным текстом. */
1327
+ interface LegalDocument extends LegalDocumentSummary {
1328
+ /** Блоки в порядке чтения. */
1329
+ blocks: LegalDocumentBlock[];
1330
+ }
1331
+ /** Публичные документы ИТД и история их редакций. Доступны через `itd.legal`. */
1332
+ declare class LegalResource extends BaseResource {
1333
+ /**
1334
+ * Возвращает список документов выбранной области.
1335
+ *
1336
+ * В списке указаны действующие редакции. Полный текст загружается через {@link current}.
1337
+ */
1338
+ list(scope?: LegalDocumentScope, options?: RequestOptions): Promise<LegalDocumentSummary[]>;
1339
+ /**
1340
+ * Загружает действующую редакцию документа с полным текстом.
1341
+ *
1342
+ * @example
1343
+ * ```ts
1344
+ * const terms = await itd.legal.current(LegalDocumentScope.Social, 'terms');
1345
+ * console.log(terms.version, terms.blocks);
1346
+ * ```
1347
+ */
1348
+ current(scope: LegalDocumentScope, slug: string, options?: RequestOptions): Promise<LegalDocument>;
1349
+ /** Возвращает историю редакций без текста. Поле `current` отмечает действующую редакцию. */
1350
+ versions(scope: LegalDocumentScope, slug: string, options?: RequestOptions): Promise<LegalDocumentVersion[]>;
1351
+ /**
1352
+ * Загружает конкретную редакцию документа с полным текстом.
1353
+ *
1354
+ * @param version идентификатор редакции из {@link versions}, например `2026-04-03`
1355
+ */
1356
+ version(scope: LegalDocumentScope, slug: string, version: string, options?: RequestOptions): Promise<LegalDocument>;
1357
+ }
1264
1358
  /** Клан в рейтинге. */
1265
1359
  interface Clan {
1266
1360
  /** Эмодзи клана — оно же `clanAvatar` его участников. */
@@ -1312,8 +1406,6 @@ interface Report {
1312
1406
  id: string;
1313
1407
  createdAt: IsoDate;
1314
1408
  }
1315
- //#endregion
1316
- //#region src/models/status.d.ts
1317
1409
  /** Происшествие в истории сервиса. */
1318
1410
  interface StatusIncidentLine {
1319
1411
  /** Вид происшествия. */
@@ -1353,6 +1445,8 @@ interface ServiceStatus {
1353
1445
  last_checked: IsoDate;
1354
1446
  /** Доступность за 90 суток в процентах. */
1355
1447
  uptime_90d: number;
1448
+ /** Считает ли сервер данные последней проверки актуальными. */
1449
+ data_fresh?: boolean;
1356
1450
  /**
1357
1451
  * История по суткам. Ключ — сколько суток назад, `'0'` — сегодня.
1358
1452
  *
@@ -1367,18 +1461,26 @@ interface PlatformStatus {
1367
1461
  overall_status: ServiceState;
1368
1462
  /** Когда данные последний раз пересчитаны. */
1369
1463
  updated_at: IsoDate;
1464
+ /** Когда сформирован ответ. */
1465
+ generated_at?: IsoDate;
1466
+ /** Через сколько миллисекунд сервер считает данные устаревшими. */
1467
+ stale_after_ms?: number;
1468
+ /** Доступность платформы за 90 суток в процентах. */
1469
+ uptime_90d?: number;
1470
+ /** Первая дата периода, `YYYY-MM-DD`. */
1471
+ window_start?: string;
1472
+ /** Последняя дата периода, `YYYY-MM-DD`. */
1473
+ window_end?: string;
1474
+ /** Число суток с данными за период. */
1475
+ sample_days?: number;
1370
1476
  services: ServiceStatus[];
1371
1477
  }
1372
- //#endregion
1373
- //#region src/resources/status.d.ts
1374
1478
  /** API встроенного status feature. @internal */
1375
1479
  declare class StatusResource {
1376
1480
  #private;
1377
1481
  constructor(context: FeatureContext);
1378
1482
  get(options?: RequestOptions): Promise<PlatformStatus>;
1379
1483
  }
1380
- //#endregion
1381
- //#region src/resources/platform.d.ts
1382
1484
  /** Требования к версии одного приложения платформы. */
1383
1485
  interface PlatformClientVersion {
1384
1486
  /** Минимальная поддерживаемая версия приложения. */
@@ -1439,8 +1541,6 @@ declare class PlatformResource extends BaseResource {
1439
1541
  */
1440
1542
  status(options?: RequestOptions): Promise<PlatformStatus>;
1441
1543
  }
1442
- //#endregion
1443
- //#region src/builders/markup.d.ts
1444
1544
  /** Текст вместе с рассчитанной разметкой. */
1445
1545
  interface TextMarkup {
1446
1546
  content: string;
@@ -1527,8 +1627,6 @@ declare function markup(content?: string): MarkupBuilder;
1527
1627
  * `substring`, DOM Selection и wire-форматом сайта даже при наличии эмодзи.
1528
1628
  */
1529
1629
  declare function autoSpans(text: string, options?: AutoSpansOptions): Span[];
1530
- //#endregion
1531
- //#region src/spans/parse.d.ts
1532
1630
  /** Настройки безопасного импорта разметки. */
1533
1631
  interface ParseMarkupOptions {
1534
1632
  /**
@@ -1555,8 +1653,6 @@ declare function parseMarkdown(source: string, options?: ParseMarkupOptions): Te
1555
1653
  * удаляется. Опасный `href` сохраняет текст ссылки, но не создаёт span.
1556
1654
  */
1557
1655
  declare function parseHtml(source: string, options?: ParseMarkupOptions): TextMarkup;
1558
- //#endregion
1559
- //#region src/builders/poll.d.ts
1560
1656
  /**
1561
1657
  * Билдер опроса.
1562
1658
  *
@@ -1606,8 +1702,6 @@ declare class PollBuilder implements ItdBuilder<CreatePollInput> {
1606
1702
  declare function poll(question?: string): PollBuilder;
1607
1703
  /** Что принимает параметр опроса: объект, билдер или функция-настройщик. */
1608
1704
  type PollInput = BuilderInput<CreatePollInput, PollBuilder>;
1609
- //#endregion
1610
- //#region src/builders/post.d.ts
1611
1705
  declare const BUILD_UPDATE: unique symbol;
1612
1706
  /** Данные для создания поста, включая поддерживаемые builder-формы вложенного опроса. */
1613
1707
  interface CreatePostInput extends Omit<CreatePostData, 'poll'> {
@@ -1727,8 +1821,6 @@ declare function post(content?: string): PostBuilder;
1727
1821
  type PostInput = BuilderInput<CreatePostInput, PostBuilder>;
1728
1822
  /** Что принимает `posts.update`: объект, билдер поста или функция-настройщик. */
1729
1823
  type PostUpdateInput = UpdatePostInput | PostBuilder | ((builder: PostBuilder) => PostBuilder | UpdatePostInput);
1730
- //#endregion
1731
- //#region src/resources/posts.d.ts
1732
1824
  /** Параметры запроса ленты. */
1733
1825
  interface FeedParams {
1734
1826
  /** Вкладка ленты. По умолчанию сервер отдаёт популярное. */
@@ -1900,8 +1992,6 @@ declare class PostsResource extends BaseResource {
1900
1992
  */
1901
1993
  voiceComment(postId: string, audio: FileInput, options?: RequestOptions): Promise<Comment>;
1902
1994
  }
1903
- //#endregion
1904
- //#region src/builders/report.d.ts
1905
1995
  /**
1906
1996
  * Билдер жалобы.
1907
1997
  *
@@ -1945,8 +2035,6 @@ declare const report: Readonly<{
1945
2035
  }>;
1946
2036
  /** Что принимает параметр жалобы: объект, билдер или функция-настройщик. */
1947
2037
  type ReportInput = BuilderInput<CreateReportInput, ReportBuilder>;
1948
- //#endregion
1949
- //#region src/resources/reports.d.ts
1950
2038
  /**
1951
2039
  * Жалобы на контент и пользователей.
1952
2040
  *
@@ -1967,8 +2055,6 @@ declare class ReportsResource extends BaseResource {
1967
2055
  */
1968
2056
  create(input: ReportInput, options?: RequestOptions): Promise<Report>;
1969
2057
  }
1970
- //#endregion
1971
- //#region src/resources/search.d.ts
1972
2058
  /** Результат глобального поиска. */
1973
2059
  interface SearchResult {
1974
2060
  users: UserSummary[];
@@ -1990,8 +2076,6 @@ declare class SearchResource extends BaseResource {
1990
2076
  */
1991
2077
  all(query: string, options?: RequestOptions): Promise<SearchResult>;
1992
2078
  }
1993
- //#endregion
1994
- //#region src/models/shop.d.ts
1995
2079
  /** Категория товара магазина. */
1996
2080
  declare const ShopProductCategory: Readonly<{
1997
2081
  readonly Apparel: "apparel";
@@ -2216,8 +2300,6 @@ interface ShopOrderAccessVerification {
2216
2300
  token: string;
2217
2301
  expiresInSec: number;
2218
2302
  }
2219
- //#endregion
2220
- //#region src/resources/shop.d.ts
2221
2303
  /** Параметры запроса, который может использовать токен доступа к заказам. */
2222
2304
  interface ShopOrderRequestOptions extends RequestOptions {
2223
2305
  /** Временный токен из проверки кода или `pass` созданного заказа. */
@@ -2284,8 +2366,6 @@ declare class ShopResource {
2284
2366
  /** @internal */
2285
2367
  constructor(http: ConstructorParameters<typeof BaseResource>[0]);
2286
2368
  }
2287
- //#endregion
2288
- //#region src/resources/subscription.d.ts
2289
2369
  /**
2290
2370
  * Подписка и способы оплаты.
2291
2371
  *
@@ -2311,8 +2391,6 @@ declare class SubscriptionResource extends BaseResource {
2311
2391
  /** Удаляет способ оплаты. */
2312
2392
  removeMethod(methodId: string, options?: RequestOptions): Promise<void>;
2313
2393
  }
2314
- //#endregion
2315
- //#region src/resources/telemetry.d.ts
2316
2394
  /** Параметры событий телеметрии. */
2317
2395
  interface TelemetryOptions {
2318
2396
  /** Переопределяет идентификатор сессии телеметрии (`sid`) для этого запроса. */
@@ -2480,8 +2558,6 @@ declare class TelemetryResource extends BaseResource {
2480
2558
  /** Закрывает все созданные накопители, отправляя оставшиеся записи. */
2481
2559
  close(): Promise<void>;
2482
2560
  }
2483
- //#endregion
2484
- //#region src/resources/users.d.ts
2485
2561
  /**
2486
2562
  * Параметры списков пользователей.
2487
2563
  *
@@ -2534,10 +2610,6 @@ declare class UsersResource extends BaseResource {
2534
2610
  setBanner(file: FileInput, uploadOptions?: UploadOptions, requestOptions?: RequestOptions): Promise<MyProfile>;
2535
2611
  /** Удаляет баннер профиля, устанавливая `bannerId` в `null`. */
2536
2612
  removeBanner(options?: RequestOptions): Promise<MyProfile>;
2537
- /** Деактивирует аккаунт. Вернуть его можно через {@link restore}. */
2538
- deactivate(options?: RequestOptions): Promise<void>;
2539
- /** Восстанавливает деактивированный аккаунт. */
2540
- restore(options?: RequestOptions): Promise<void>;
2541
2613
  /** Создаёт профиль после регистрации. */
2542
2614
  createProfile(input: {
2543
2615
  username: string;
@@ -2637,8 +2709,6 @@ declare class UsersResource extends BaseResource {
2637
2709
  /** Снимает активный значок. */
2638
2710
  removePin(options?: RequestOptions): Promise<void>;
2639
2711
  }
2640
- //#endregion
2641
- //#region src/resources/verification.d.ts
2642
2712
  /**
2643
2713
  * Верификация профиля.
2644
2714
  *
@@ -2650,8 +2720,6 @@ declare class VerificationResource extends BaseResource {
2650
2720
  /** Подаёт заявку на верификацию с видео. */
2651
2721
  submit(videoUrl: string, options?: RequestOptions): Promise<unknown>;
2652
2722
  }
2653
- //#endregion
2654
- //#region src/core/attachments/factories.d.ts
2655
2723
  /** Создаёт URL-источник в выбранном режиме. */
2656
2724
  declare function fromUrl(url: string, options: UrlFileOptions & {
2657
2725
  mode: typeof FileTransferMode.Stream;
@@ -2666,8 +2734,6 @@ declare function fromUrl(url: string, options: UrlFileOptions): LazyFile | Strea
2666
2734
  * Фабрика вызывается заново для каждой попытки; возвращать один и тот же поток нельзя.
2667
2735
  */
2668
2736
  declare function fromStream(factory: (context: FileContext) => ReadableStream<Uint8Array> | FileStreamContent | Promise<ReadableStream<Uint8Array> | FileStreamContent>, options?: FromStreamOptions): StreamFile;
2669
- //#endregion
2670
- //#region src/domain/mime.d.ts
2671
2737
  /** Изображения, которые принимает `POST /api/files/upload`. */
2672
2738
  declare const IMAGE_MIME_TYPES: readonly ["image/jpeg", "image/png", "image/gif", "image/webp", "image/avif", "image/heic", "image/heif"];
2673
2739
  type ImageMimeType = (typeof IMAGE_MIME_TYPES)[number];
@@ -2680,8 +2746,6 @@ type AudioMimeType = (typeof AUDIO_MIME_TYPES)[number];
2680
2746
  /** Все типы, которые принимает загрузка. */
2681
2747
  declare const ALLOWED_MIME_TYPES: readonly ["image/jpeg", "image/png", "image/gif", "image/webp", "image/avif", "image/heic", "image/heif", "video/mp4", "video/webm", "video/quicktime", "audio/ogg"];
2682
2748
  type AllowedMimeType = (typeof ALLOWED_MIME_TYPES)[number];
2683
- //#endregion
2684
- //#region src/domain/time.d.ts
2685
2749
  /**
2686
2750
  * Приводит отметку времени PostgreSQL к ISO-8601 в UTC.
2687
2751
  *
@@ -2707,8 +2771,6 @@ declare function utcStampToIso(value: string): string;
2707
2771
  * ```
2708
2772
  */
2709
2773
  declare function toDate(value: IsoDate | null | undefined): Date | null;
2710
- //#endregion
2711
- //#region src/models/guards.d.ts
2712
2774
  /**
2713
2775
  * Свой ли это профиль.
2714
2776
  *
@@ -2718,8 +2780,6 @@ declare function toDate(value: IsoDate | null | undefined): Date | null;
2718
2780
  * ```
2719
2781
  */
2720
2782
  declare function isMyProfile(profile: Profile): profile is MyProfile;
2721
- //#endregion
2722
- //#region src/models/status-helpers.d.ts
2723
2783
  /**
2724
2784
  * Разворачивает историю сервиса в массив на 90 суток.
2725
2785
  * Сутки без данных становятся `null`.
@@ -2736,8 +2796,6 @@ declare function isMyProfile(profile: Profile): profile is MyProfile;
2736
2796
  * ```
2737
2797
  */
2738
2798
  declare function statusDays(service: ServiceStatus): (StatusDay | null)[];
2739
- //#endregion
2740
- //#region src/shop/order-access.d.ts
2741
2799
  /** Хранилище временного доступа к гостевым заказам. */
2742
2800
  interface ShopOrderAccessStorage {
2743
2801
  get(): ShopOrderAccessSession | null | Promise<ShopOrderAccessSession | null>;
@@ -2759,8 +2817,6 @@ interface ShopOrderAccessStorageAdapterOptions {
2759
2817
  }
2760
2818
  /** Создаёт хранилище доступа к заказам поверх `KeyValueStore`. */
2761
2819
  declare function createShopOrderAccessStorage(store: KeyValueStore<ShopOrderAccessSession>, options?: ShopOrderAccessStorageAdapterOptions): ShopOrderAccessStorage;
2762
- //#endregion
2763
- //#region src/shop/feature.d.ts
2764
2820
  /** Настройки подключаемого модуля доступа к заказам по коду из письма. */
2765
2821
  interface ShopFeatureOptions {
2766
2822
  /** Отдельное хранилище токена заказов. По умолчанию используется память процесса. */
@@ -2787,8 +2843,6 @@ interface ShopFeatureApi {
2787
2843
  }
2788
2844
  /** Создаёт подключаемый модуль для доступа к заказам по коду из письма. */
2789
2845
  declare function createShopFeature(options?: ShopFeatureOptions): ClientFeature<ShopFeatureApi>;
2790
- //#endregion
2791
- //#region src/spans/render.d.ts
2792
2846
  /** Формат результата {@link renderSpans}. */
2793
2847
  declare const SpanRenderFormat: Readonly<{
2794
2848
  readonly Html: "html";
@@ -2818,6 +2872,4 @@ interface RenderSpansOptions {
2818
2872
  * Отсутствующий массив считается пустым; формат по умолчанию — HTML.
2819
2873
  */
2820
2874
  declare function renderSpans(content: string, spans?: readonly Span[] | null | undefined, options?: RenderSpansOptions): string;
2821
- //#endregion
2822
- export { ShopConsentContext as $, NotificationListParams as $n, autoSpans as $t, DwellEntry as A, Poll as An, PreparedStreamSource as Ar, ReportInput as At, ViewTrackerInput as B, comment as Bn, post as Bt, fromStream as C, Comment as Cn, FeatureInstallation as Cr, ShopRecipient as Ct, UpdateProfileInput as D, LikeResult as Dn, FileResolver as Dr, SearchResult as Dt, UpdatePrivacyInput as E, Hashtag as En, ManagedClientResource as Er, SearchResource as Et, TelemetryClock as F, PostStats as Fn, UserPostsParams as Ft, ShopConsentsResource as G, CreatePollInput as Gn, parseHtml as Gt, SubscriptionResource as H, ItdBuilder as Hn, PollInput as Ht, TelemetryOptions as I, PostUpdateResult as In, CreatePostInput as It, ShopOrdersResource as J, UpdatePostInput as Jn, MarkupBuilder as Jt, ShopDeliveryResource as K, CreatePostData as Kn, parseMarkdown as Kt, TelemetryResource as L, UpdateResultBase as Ln, PostBuilder as Lt, PhotoOpenInput as M, Post as Mn, ResolveFileOptions as Mr, CommentsParams as Mt, TelemetryBatch as N, PostBase as Nn, HttpClient as Nr, FeedParams as Nt, UserListParams as O, OriginalPost as On, PreparedBufferSource as Or, ReportsResource as Ot, TelemetryBatchOptions as P, PostCounters as Pn, CookieJar as Pr, PostsResource as Pt, ShopConsent as Q, Subscription as Qn, TextMarkup as Qt, VideoProgressInput as R, CommentBuilder as Rn, PostInput as Rt, VideoMimeType as S, Attachment as Sn, FeatureContext as Sr, ShopProductStatus as St, VerificationResource as T, CommentUpdateResult as Tn, FeatureRequestOptions as Tr, ShopSizeChartRow as Tt, CreateShopOrderOptions as U, isBuilder as Un, poll as Ut, ViewTrackerOptions as V, BuilderInput as Vn, PollBuilder as Vt, PayShopOrderOptions as W, CreateCommentInput as Wn, ParseMarkupOptions as Wt, ShopResource as X, QrLoginTarget as Xn, MarkupInput as Xt, ShopProductsResource as Y, PaymentMethod as Yn, MarkupContent as Yt, CreateShopOrderInput as Z, Session as Zn, MarkupSpan as Zt, AllowedMimeType as _, FilesResource as _n, OperationTransformer as _r, ShopPayment as _t, ShopFeatureOptions as a, ServiceStatus as an, PaginationMode as ar, ShopDeliveryDestination as at, ImageMimeType as b, CommentsResource as bn, ClientFeature as br, ShopProductColor as bt, ShopOrderAccessStorage as c, Announcement as cn, mapPage as cr, ShopOrderAccessSession as ct, statusDays as d, Clan as dn, AttemptExtensions as dr, ShopOrderDelivery as dt, markup as en, NotificationsResource as er, ShopConsentKind as et, isMyProfile as f, Portal as fn, AttemptInterceptor as fr, ShopOrderItem as ft, AUDIO_MIME_TYPES as g, HashtagsResource as gn, OperationTransformContext as gr, ShopOrderSupport as gt, ALLOWED_MIME_TYPES as h, HashtagPostsParams as hn, OperationExtensions as hr, ShopOrderSummary as ht, ShopFeatureApi as i, PlatformStatus as in, PageState as ir, ShopDeliveryCountry as it, InteractionEntry as j, PollOption as jn, ResolveFileContext as jr, report as jt, UsersResource as k, PinPostResult as kn, PreparedFileSource as kr, ReportBuilder as kt, ShopOrderAccessStorageAdapterOptions as l, AnnouncementButton as ln, RateLimitBucketState as lr, ShopOrderAccessVerification as lt, utcStampToIso as m, VerificationStatus as mn, ClientPlugin as mr, ShopOrderStatus as mt, SpanRenderFormat as n, PlatformResource as nn, BaseResource as nr, ShopDeliveryCalculation as nt, createShopFeature as o, StatusDay as on, Paginator as or, ShopDeliveryPoint as ot, toDate as p, Report as pn, AttemptNext as pr, ShopOrderItemInput as pt, ShopOrderRequestOptions as q, CreateReportInput as qn, AutoSpansOptions as qt, renderSpans as r, PlatformVersions as rn, Page as rr, ShopDeliveryCity as rt, MemoryShopOrderAccessStorage as s, StatusIncidentLine as sn, PaginatorOptions as sr, ShopOrder as st, RenderSpansOptions as t, PlatformClientVersion as tn, UpdateNotificationSettingsInput as tr, ShopCreatedOrder as tt, createShopOrderAccessStorage as u, ChangelogEntry as un, AttemptContext as ur, ShopOrderBase as ut, AudioMimeType as v, UploadOptions as vn, PluginApi as vr, ShopProduct as vt, fromUrl as w, CommentReplyTo as wn, FeatureOperationDefinition as wr, ShopSizeChart as wt, VIDEO_MIME_TYPES as x, RepliesParams as xn, FeatureBucketDefinition as xr, ShopProductSpec as xt, IMAGE_MIME_TYPES as y, UploadedFile as yn, PluginTeardown as yr, ShopProductCategory as yt, ViewTracker as z, CommentInput as zn, PostUpdateInput as zt };
2823
- //# sourceMappingURL=render-BS09ygcy.d.ts.map
2875
+ export { ShopConsentContext as $, BuilderInput as $n, autoSpans as $t, DwellEntry as A, BannerDrawingTool as An, OperationTransformer as Ar, ReportInput as At, ViewTrackerInput as B, OriginalPost as Bn, FileResolver as Br, post as Bt, fromStream as C, HashtagsResource as Cn, AttemptContext as Cr, ShopRecipient as Ct, UpdateProfileInput as D, BannerDrawing as Dn, ClientPlugin as Dr, SearchResult as Dt, UpdatePrivacyInput as E, UploadedFile as En, AttemptNext as Er, SearchResource as Et, TelemetryClock as F, Comment as Fn, FeatureContext as Fr, UserPostsParams as Ft, ShopConsentsResource as G, PostBase as Gn, ResolveFileOptions as Gr, parseHtml as Gt, SubscriptionResource as H, Poll as Hn, PreparedFileSource as Hr, PollInput as Ht, TelemetryOptions as I, CommentReplyTo as In, FeatureInstallation as Ir, CreatePostInput as It, ShopOrdersResource as J, PostUpdateResult as Jn, MarkupBuilder as Jt, ShopDeliveryResource as K, PostCounters as Kn, HttpClient as Kr, parseMarkdown as Kt, TelemetryResource as L, CommentUpdateResult as Ln, FeatureOperationDefinition as Lr, PostBuilder as Lt, PhotoOpenInput as M, CommentsResource as Mn, PluginTeardown as Mr, CommentsParams as Mt, TelemetryBatch as N, RepliesParams as Nn, ClientFeature as Nr, FeedParams as Nt, UserListParams as O, BannerDrawingOperation as On, OperationExtensions as Or, ReportsResource as Ot, TelemetryBatchOptions as P, Attachment as Pn, FeatureBucketDefinition as Pr, PostsResource as Pt, ShopConsent as Q, comment as Qn, TextMarkup as Qt, VideoProgressInput as R, Hashtag as Rn, FeatureRequestOptions as Rr, PostInput as Rt, VideoMimeType as S, HashtagPostsParams as Sn, RateLimitBucketState as Sr, ShopProductStatus as St, VerificationResource as T, UploadOptions as Tn, AttemptInterceptor as Tr, ShopSizeChartRow as Tt, CreateShopOrderOptions as U, PollOption as Un, PreparedStreamSource as Ur, poll as Ut, ViewTrackerOptions as V, PinPostResult as Vn, PreparedBufferSource as Vr, PollBuilder as Vt, PayShopOrderOptions as W, Post as Wn, ResolveFileContext as Wr, ParseMarkupOptions as Wt, ShopResource as X, CommentBuilder as Xn, MarkupInput as Xt, ShopProductsResource as Y, UpdateResultBase as Yn, MarkupContent as Yt, CreateShopOrderInput as Z, CommentInput as Zn, MarkupSpan as Zt, AllowedMimeType as _, LegalDocumentBlock as _n, PageState as _r, ShopPayment as _t, ShopFeatureOptions as a, ServiceStatus as an, CreateReportInput as ar, ShopDeliveryDestination as at, ImageMimeType as b, LegalDocumentSummary as bn, PaginatorOptions as br, ShopProductColor as bt, ShopOrderAccessStorage as c, Announcement as cn, PaymentMethod as cr, ShopOrderAccessSession as ct, statusDays as d, Clan as dn, Subscription as dr, ShopOrderDelivery as dt, markup as en, ItdBuilder as er, ShopConsentKind as et, isMyProfile as f, Portal as fn, NotificationListParams as fr, ShopOrderItem as ft, AUDIO_MIME_TYPES as g, LegalDocument as gn, Page as gr, ShopOrderSupport as gt, ALLOWED_MIME_TYPES as h, LegalResource as hn, BaseResource as hr, ShopOrderSummary as ht, ShopFeatureApi as i, PlatformStatus as in, CreatePostData as ir, ShopDeliveryCountry as it, InteractionEntry as j, UploadedBannerDrawing as jn, PluginApi as jr, report as jt, UsersResource as k, BannerDrawingPoint as kn, OperationTransformContext as kr, ReportBuilder as kt, ShopOrderAccessStorageAdapterOptions as l, AnnouncementButton as ln, QrLoginTarget as lr, ShopOrderAccessVerification as lt, utcStampToIso as m, VerificationStatus as mn, UpdateNotificationSettingsInput as mr, ShopOrderStatus as mt, SpanRenderFormat as n, PlatformResource as nn, CreateCommentInput as nr, ShopDeliveryCalculation as nt, createShopFeature as o, StatusDay as on, UpdatePostInput as or, ShopDeliveryPoint as ot, toDate as p, Report as pn, NotificationsResource as pr, ShopOrderItemInput as pt, ShopOrderRequestOptions as q, PostStats as qn, CookieJar as qr, AutoSpansOptions as qt, renderSpans as r, PlatformVersions as rn, CreatePollInput as rr, ShopDeliveryCity as rt, MemoryShopOrderAccessStorage as s, StatusIncidentLine as sn, AccountLifecycleResource as sr, ShopOrder as st, RenderSpansOptions as t, PlatformClientVersion as tn, isBuilder as tr, ShopCreatedOrder as tt, createShopOrderAccessStorage as u, ChangelogEntry as un, Session as ur, ShopOrderBase as ut, AudioMimeType as v, LegalDocumentBlockType as vn, PaginationMode as vr, ShopProduct as vt, fromUrl as w, FilesResource as wn, AttemptExtensions as wr, ShopSizeChart as wt, VIDEO_MIME_TYPES as x, LegalDocumentVersion as xn, mapPage as xr, ShopProductSpec as xt, IMAGE_MIME_TYPES as y, LegalDocumentScope as yn, Paginator as yr, ShopProductCategory as yt, ViewTracker as z, LikeResult as zn, ManagedClientResource as zr, PostUpdateInput as zt };