itd-api 0.0.10 → 0.0.11

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/node.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkBN4AC3DP_cjs = require('./chunk-BN4AC3DP.cjs');
3
+ var chunkQD4UHJFF_cjs = require('./chunk-QD4UHJFF.cjs');
4
4
 
5
5
  // src/node.ts
6
6
  function hasErrorCode(error, code) {
@@ -24,7 +24,7 @@ async function readJsonFile(path, strict = false) {
24
24
  return JSON.parse(raw);
25
25
  } catch {
26
26
  if (!strict) return null;
27
- throw new chunkBN4AC3DP_cjs.ItdConfigError(
27
+ throw new chunkQD4UHJFF_cjs.ItdConfigError(
28
28
  `\u0424\u0430\u0439\u043B ${path} \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0451\u043D: \u043E\u0436\u0438\u0434\u0430\u043B\u0441\u044F JSON \u0441 \u0441\u0435\u0441\u0441\u0438\u044F\u043C\u0438 \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u043E\u0432. \u0418\u0441\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u0444\u0430\u0439\u043B \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0435\u0433\u043E \u043F\u0435\u0440\u0435\u0434 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u043C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u043C.`
29
29
  );
30
30
  }
@@ -63,10 +63,10 @@ var FileTokenStorage = class {
63
63
  () => void 0
64
64
  );
65
65
  const parsed = await readJsonFile(this.#path);
66
- return typeof parsed === "object" && parsed !== null ? chunkBN4AC3DP_cjs.copySession(parsed) : null;
66
+ return typeof parsed === "object" && parsed !== null ? chunkQD4UHJFF_cjs.copySession(parsed) : null;
67
67
  }
68
68
  set(session) {
69
- const snapshot = chunkBN4AC3DP_cjs.copySession(session);
69
+ const snapshot = chunkQD4UHJFF_cjs.copySession(session);
70
70
  return this.#enqueue(() => writeJsonAtomic(this.#path, snapshot));
71
71
  }
72
72
  clear() {
@@ -85,7 +85,7 @@ var FileMultiTokenStorage = class {
85
85
  /** @param path путь к файлу сессий. Добавьте его в `.gitignore`. */
86
86
  constructor(path) {
87
87
  this.#path = path;
88
- this.#inner = chunkBN4AC3DP_cjs.createRecordMultiStorage({
88
+ this.#inner = chunkQD4UHJFF_cjs.createRecordMultiStorage({
89
89
  read: () => this.#read(),
90
90
  write: (accounts) => writeJsonAtomic(path, { version: SESSIONS_FILE_VERSION, accounts }),
91
91
  // Последний аккаунт ушёл — файл с пустой картой выглядел бы мусором.
@@ -110,14 +110,14 @@ var FileMultiTokenStorage = class {
110
110
  const envelope = typeof parsed === "object" && parsed !== null ? parsed : void 0;
111
111
  const accounts = envelope?.accounts;
112
112
  if (envelope?.version !== SESSIONS_FILE_VERSION || typeof accounts !== "object" || accounts === null || Array.isArray(accounts)) {
113
- throw new chunkBN4AC3DP_cjs.ItdConfigError(
113
+ throw new chunkQD4UHJFF_cjs.ItdConfigError(
114
114
  `\u0424\u0430\u0439\u043B ${this.#path} \u0438\u043C\u0435\u0435\u0442 \u043D\u0435\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442: \u043E\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044F { version: ${SESSIONS_FILE_VERSION}, accounts }. \u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u044D\u0442\u043E \u0444\u0430\u0439\u043B \u043E\u0434\u0438\u043D\u043E\u0447\u043D\u043E\u0439 \u0441\u0435\u0441\u0441\u0438\u0438 \u0438\u043B\u0438 \u0444\u0430\u0439\u043B \u0434\u0440\u0443\u0433\u043E\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u2014 \u0432\u043E\u0437\u044C\u043C\u0438\u0442\u0435 \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u044B\u0439 \u043F\u0443\u0442\u044C, \u0447\u0442\u043E\u0431\u044B \u043D\u0435 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044C \u0435\u0433\u043E.`
115
115
  );
116
116
  }
117
117
  return accounts;
118
118
  }
119
119
  };
120
- var ItdClient2 = class extends chunkBN4AC3DP_cjs.ItdClient {
120
+ var ItdClient2 = class extends chunkQD4UHJFF_cjs.ItdClient {
121
121
  constructor(options = {}, internals = {}) {
122
122
  super(options, { ...internals, fileReader: nodeFileReader });
123
123
  }
@@ -125,7 +125,7 @@ var ItdClient2 = class extends chunkBN4AC3DP_cjs.ItdClient {
125
125
  function createClient(options = {}) {
126
126
  return new ItdClient2(options);
127
127
  }
128
- var ItdAccounts2 = class extends chunkBN4AC3DP_cjs.ItdAccounts {
128
+ var ItdAccounts2 = class extends chunkQD4UHJFF_cjs.ItdAccounts {
129
129
  constructor(options = {}) {
130
130
  super(options, {
131
131
  createClient: (clientOptions, internals) => new ItdClient2(clientOptions, internals)
@@ -138,419 +138,419 @@ function createAccounts(options = {}) {
138
138
 
139
139
  Object.defineProperty(exports, "ALLOWED_MIME_TYPES", {
140
140
  enumerable: true,
141
- get: function () { return chunkBN4AC3DP_cjs.ALLOWED_MIME_TYPES; }
141
+ get: function () { return chunkQD4UHJFF_cjs.ALLOWED_MIME_TYPES; }
142
142
  });
143
143
  Object.defineProperty(exports, "AUDIO_MIME_TYPES", {
144
144
  enumerable: true,
145
- get: function () { return chunkBN4AC3DP_cjs.AUDIO_MIME_TYPES; }
145
+ get: function () { return chunkQD4UHJFF_cjs.AUDIO_MIME_TYPES; }
146
146
  });
147
147
  Object.defineProperty(exports, "AUTH_FLAG_COOKIE", {
148
148
  enumerable: true,
149
- get: function () { return chunkBN4AC3DP_cjs.AUTH_FLAG_COOKIE; }
149
+ get: function () { return chunkQD4UHJFF_cjs.AUTH_FLAG_COOKIE; }
150
150
  });
151
151
  Object.defineProperty(exports, "AUTH_PATHS", {
152
152
  enumerable: true,
153
- get: function () { return chunkBN4AC3DP_cjs.AUTH_PATHS; }
153
+ get: function () { return chunkQD4UHJFF_cjs.AUTH_PATHS; }
154
154
  });
155
155
  Object.defineProperty(exports, "AccessType", {
156
156
  enumerable: true,
157
- get: function () { return chunkBN4AC3DP_cjs.AccessType; }
157
+ get: function () { return chunkQD4UHJFF_cjs.AccessType; }
158
158
  });
159
159
  Object.defineProperty(exports, "AttachmentType", {
160
160
  enumerable: true,
161
- get: function () { return chunkBN4AC3DP_cjs.AttachmentType; }
161
+ get: function () { return chunkQD4UHJFF_cjs.AttachmentType; }
162
162
  });
163
163
  Object.defineProperty(exports, "BUILT_IN_SERVICES", {
164
164
  enumerable: true,
165
- get: function () { return chunkBN4AC3DP_cjs.BUILT_IN_SERVICES; }
165
+ get: function () { return chunkQD4UHJFF_cjs.BUILT_IN_SERVICES; }
166
166
  });
167
167
  Object.defineProperty(exports, "CommentSort", {
168
168
  enumerable: true,
169
- get: function () { return chunkBN4AC3DP_cjs.CommentSort; }
169
+ get: function () { return chunkQD4UHJFF_cjs.CommentSort; }
170
170
  });
171
171
  Object.defineProperty(exports, "DEFAULT_BASE_URL", {
172
172
  enumerable: true,
173
- get: function () { return chunkBN4AC3DP_cjs.DEFAULT_BASE_URL; }
173
+ get: function () { return chunkQD4UHJFF_cjs.DEFAULT_BASE_URL; }
174
174
  });
175
175
  Object.defineProperty(exports, "DEFAULT_STATUS_BASE_URL", {
176
176
  enumerable: true,
177
- get: function () { return chunkBN4AC3DP_cjs.DEFAULT_STATUS_BASE_URL; }
177
+ get: function () { return chunkQD4UHJFF_cjs.DEFAULT_STATUS_BASE_URL; }
178
178
  });
179
179
  Object.defineProperty(exports, "DEFAULT_TIMEOUT", {
180
180
  enumerable: true,
181
- get: function () { return chunkBN4AC3DP_cjs.DEFAULT_TIMEOUT; }
181
+ get: function () { return chunkQD4UHJFF_cjs.DEFAULT_TIMEOUT; }
182
182
  });
183
183
  Object.defineProperty(exports, "DEFAULT_UPLOAD_TIMEOUT", {
184
184
  enumerable: true,
185
- get: function () { return chunkBN4AC3DP_cjs.DEFAULT_UPLOAD_TIMEOUT; }
185
+ get: function () { return chunkQD4UHJFF_cjs.DEFAULT_UPLOAD_TIMEOUT; }
186
186
  });
187
187
  Object.defineProperty(exports, "DEFAULT_USER_AGENT", {
188
188
  enumerable: true,
189
- get: function () { return chunkBN4AC3DP_cjs.DEFAULT_USER_AGENT; }
189
+ get: function () { return chunkQD4UHJFF_cjs.DEFAULT_USER_AGENT; }
190
190
  });
191
191
  Object.defineProperty(exports, "DEVICE_ID_HEADER", {
192
192
  enumerable: true,
193
- get: function () { return chunkBN4AC3DP_cjs.DEVICE_ID_HEADER; }
193
+ get: function () { return chunkQD4UHJFF_cjs.DEVICE_ID_HEADER; }
194
194
  });
195
195
  Object.defineProperty(exports, "DetectedRuntime", {
196
196
  enumerable: true,
197
- get: function () { return chunkBN4AC3DP_cjs.DetectedRuntime; }
197
+ get: function () { return chunkQD4UHJFF_cjs.DetectedRuntime; }
198
198
  });
199
199
  Object.defineProperty(exports, "FeedTab", {
200
200
  enumerable: true,
201
- get: function () { return chunkBN4AC3DP_cjs.FeedTab; }
201
+ get: function () { return chunkQD4UHJFF_cjs.FeedTab; }
202
202
  });
203
203
  Object.defineProperty(exports, "IMAGE_MIME_TYPES", {
204
204
  enumerable: true,
205
- get: function () { return chunkBN4AC3DP_cjs.IMAGE_MIME_TYPES; }
205
+ get: function () { return chunkQD4UHJFF_cjs.IMAGE_MIME_TYPES; }
206
206
  });
207
207
  Object.defineProperty(exports, "IncidentKind", {
208
208
  enumerable: true,
209
- get: function () { return chunkBN4AC3DP_cjs.IncidentKind; }
209
+ get: function () { return chunkQD4UHJFF_cjs.IncidentKind; }
210
210
  });
211
211
  Object.defineProperty(exports, "InteractionType", {
212
212
  enumerable: true,
213
- get: function () { return chunkBN4AC3DP_cjs.InteractionType; }
213
+ get: function () { return chunkQD4UHJFF_cjs.InteractionType; }
214
214
  });
215
215
  Object.defineProperty(exports, "ItdAbortError", {
216
216
  enumerable: true,
217
- get: function () { return chunkBN4AC3DP_cjs.ItdAbortError; }
217
+ get: function () { return chunkQD4UHJFF_cjs.ItdAbortError; }
218
218
  });
219
219
  Object.defineProperty(exports, "ItdApiError", {
220
220
  enumerable: true,
221
- get: function () { return chunkBN4AC3DP_cjs.ItdApiError; }
221
+ get: function () { return chunkQD4UHJFF_cjs.ItdApiError; }
222
222
  });
223
223
  Object.defineProperty(exports, "ItdApiErrorKind", {
224
224
  enumerable: true,
225
- get: function () { return chunkBN4AC3DP_cjs.ItdApiErrorKind; }
225
+ get: function () { return chunkQD4UHJFF_cjs.ItdApiErrorKind; }
226
226
  });
227
227
  Object.defineProperty(exports, "ItdAuthError", {
228
228
  enumerable: true,
229
- get: function () { return chunkBN4AC3DP_cjs.ItdAuthError; }
229
+ get: function () { return chunkQD4UHJFF_cjs.ItdAuthError; }
230
230
  });
231
231
  Object.defineProperty(exports, "ItdConfigError", {
232
232
  enumerable: true,
233
- get: function () { return chunkBN4AC3DP_cjs.ItdConfigError; }
233
+ get: function () { return chunkQD4UHJFF_cjs.ItdConfigError; }
234
234
  });
235
235
  Object.defineProperty(exports, "ItdConflictError", {
236
236
  enumerable: true,
237
- get: function () { return chunkBN4AC3DP_cjs.ItdConflictError; }
237
+ get: function () { return chunkQD4UHJFF_cjs.ItdConflictError; }
238
238
  });
239
239
  Object.defineProperty(exports, "ItdError", {
240
240
  enumerable: true,
241
- get: function () { return chunkBN4AC3DP_cjs.ItdError; }
241
+ get: function () { return chunkQD4UHJFF_cjs.ItdError; }
242
242
  });
243
243
  Object.defineProperty(exports, "ItdErrorCode", {
244
244
  enumerable: true,
245
- get: function () { return chunkBN4AC3DP_cjs.ItdErrorCode; }
245
+ get: function () { return chunkQD4UHJFF_cjs.ItdErrorCode; }
246
246
  });
247
247
  Object.defineProperty(exports, "ItdErrorKind", {
248
248
  enumerable: true,
249
- get: function () { return chunkBN4AC3DP_cjs.ItdErrorKind; }
249
+ get: function () { return chunkQD4UHJFF_cjs.ItdErrorKind; }
250
250
  });
251
251
  Object.defineProperty(exports, "ItdForbiddenError", {
252
252
  enumerable: true,
253
- get: function () { return chunkBN4AC3DP_cjs.ItdForbiddenError; }
253
+ get: function () { return chunkQD4UHJFF_cjs.ItdForbiddenError; }
254
254
  });
255
255
  Object.defineProperty(exports, "ItdNetworkError", {
256
256
  enumerable: true,
257
- get: function () { return chunkBN4AC3DP_cjs.ItdNetworkError; }
257
+ get: function () { return chunkQD4UHJFF_cjs.ItdNetworkError; }
258
258
  });
259
259
  Object.defineProperty(exports, "ItdNotFoundError", {
260
260
  enumerable: true,
261
- get: function () { return chunkBN4AC3DP_cjs.ItdNotFoundError; }
261
+ get: function () { return chunkQD4UHJFF_cjs.ItdNotFoundError; }
262
262
  });
263
263
  Object.defineProperty(exports, "ItdPhoneVerificationError", {
264
264
  enumerable: true,
265
- get: function () { return chunkBN4AC3DP_cjs.ItdPhoneVerificationError; }
265
+ get: function () { return chunkQD4UHJFF_cjs.ItdPhoneVerificationError; }
266
266
  });
267
267
  Object.defineProperty(exports, "ItdRateLimitError", {
268
268
  enumerable: true,
269
- get: function () { return chunkBN4AC3DP_cjs.ItdRateLimitError; }
269
+ get: function () { return chunkQD4UHJFF_cjs.ItdRateLimitError; }
270
270
  });
271
271
  Object.defineProperty(exports, "ItdRealtime", {
272
272
  enumerable: true,
273
- get: function () { return chunkBN4AC3DP_cjs.ItdRealtime; }
273
+ get: function () { return chunkQD4UHJFF_cjs.ItdRealtime; }
274
274
  });
275
275
  Object.defineProperty(exports, "ItdServerError", {
276
276
  enumerable: true,
277
- get: function () { return chunkBN4AC3DP_cjs.ItdServerError; }
277
+ get: function () { return chunkQD4UHJFF_cjs.ItdServerError; }
278
278
  });
279
279
  Object.defineProperty(exports, "ItdTimeoutError", {
280
280
  enumerable: true,
281
- get: function () { return chunkBN4AC3DP_cjs.ItdTimeoutError; }
281
+ get: function () { return chunkQD4UHJFF_cjs.ItdTimeoutError; }
282
282
  });
283
283
  Object.defineProperty(exports, "ItdValidationError", {
284
284
  enumerable: true,
285
- get: function () { return chunkBN4AC3DP_cjs.ItdValidationError; }
285
+ get: function () { return chunkQD4UHJFF_cjs.ItdValidationError; }
286
286
  });
287
287
  Object.defineProperty(exports, "LIBRARY_VERSION", {
288
288
  enumerable: true,
289
- get: function () { return chunkBN4AC3DP_cjs.LIBRARY_VERSION; }
289
+ get: function () { return chunkQD4UHJFF_cjs.LIBRARY_VERSION; }
290
290
  });
291
291
  Object.defineProperty(exports, "LikesVisibility", {
292
292
  enumerable: true,
293
- get: function () { return chunkBN4AC3DP_cjs.LikesVisibility; }
293
+ get: function () { return chunkQD4UHJFF_cjs.LikesVisibility; }
294
294
  });
295
295
  Object.defineProperty(exports, "LocalStorageTokenStorage", {
296
296
  enumerable: true,
297
- get: function () { return chunkBN4AC3DP_cjs.LocalStorageTokenStorage; }
297
+ get: function () { return chunkQD4UHJFF_cjs.LocalStorageTokenStorage; }
298
298
  });
299
299
  Object.defineProperty(exports, "MAX_RECONNECT_ATTEMPTS", {
300
300
  enumerable: true,
301
- get: function () { return chunkBN4AC3DP_cjs.MAX_RECONNECT_ATTEMPTS; }
301
+ get: function () { return chunkQD4UHJFF_cjs.MAX_RECONNECT_ATTEMPTS; }
302
302
  });
303
303
  Object.defineProperty(exports, "MemoryMultiTokenStorage", {
304
304
  enumerable: true,
305
- get: function () { return chunkBN4AC3DP_cjs.MemoryMultiTokenStorage; }
305
+ get: function () { return chunkQD4UHJFF_cjs.MemoryMultiTokenStorage; }
306
306
  });
307
307
  Object.defineProperty(exports, "MemoryTokenStorage", {
308
308
  enumerable: true,
309
- get: function () { return chunkBN4AC3DP_cjs.MemoryTokenStorage; }
309
+ get: function () { return chunkQD4UHJFF_cjs.MemoryTokenStorage; }
310
310
  });
311
311
  Object.defineProperty(exports, "NOTIFICATION_TYPE_ALIASES", {
312
312
  enumerable: true,
313
- get: function () { return chunkBN4AC3DP_cjs.NOTIFICATION_TYPE_ALIASES; }
313
+ get: function () { return chunkQD4UHJFF_cjs.NOTIFICATION_TYPE_ALIASES; }
314
314
  });
315
315
  Object.defineProperty(exports, "NotificationType", {
316
316
  enumerable: true,
317
- get: function () { return chunkBN4AC3DP_cjs.NotificationType; }
317
+ get: function () { return chunkQD4UHJFF_cjs.NotificationType; }
318
318
  });
319
319
  Object.defineProperty(exports, "OAuthProvider", {
320
320
  enumerable: true,
321
- get: function () { return chunkBN4AC3DP_cjs.OAuthProvider; }
321
+ get: function () { return chunkQD4UHJFF_cjs.OAuthProvider; }
322
322
  });
323
323
  Object.defineProperty(exports, "PaginationMode", {
324
324
  enumerable: true,
325
- get: function () { return chunkBN4AC3DP_cjs.PaginationMode; }
325
+ get: function () { return chunkQD4UHJFF_cjs.PaginationMode; }
326
326
  });
327
327
  Object.defineProperty(exports, "Paginator", {
328
328
  enumerable: true,
329
- get: function () { return chunkBN4AC3DP_cjs.Paginator; }
329
+ get: function () { return chunkQD4UHJFF_cjs.Paginator; }
330
330
  });
331
331
  Object.defineProperty(exports, "RECONNECT_BACKOFF", {
332
332
  enumerable: true,
333
- get: function () { return chunkBN4AC3DP_cjs.RECONNECT_BACKOFF; }
333
+ get: function () { return chunkQD4UHJFF_cjs.RECONNECT_BACKOFF; }
334
334
  });
335
335
  Object.defineProperty(exports, "RECONNECT_JITTER", {
336
336
  enumerable: true,
337
- get: function () { return chunkBN4AC3DP_cjs.RECONNECT_JITTER; }
337
+ get: function () { return chunkQD4UHJFF_cjs.RECONNECT_JITTER; }
338
338
  });
339
339
  Object.defineProperty(exports, "REFRESH_COOKIE", {
340
340
  enumerable: true,
341
- get: function () { return chunkBN4AC3DP_cjs.REFRESH_COOKIE; }
341
+ get: function () { return chunkQD4UHJFF_cjs.REFRESH_COOKIE; }
342
342
  });
343
343
  Object.defineProperty(exports, "REFRESH_COOKIE_PATH", {
344
344
  enumerable: true,
345
- get: function () { return chunkBN4AC3DP_cjs.REFRESH_COOKIE_PATH; }
345
+ get: function () { return chunkQD4UHJFF_cjs.REFRESH_COOKIE_PATH; }
346
346
  });
347
347
  Object.defineProperty(exports, "REQUEST_OPTION_KEYS", {
348
348
  enumerable: true,
349
- get: function () { return chunkBN4AC3DP_cjs.REQUEST_OPTION_KEYS; }
349
+ get: function () { return chunkQD4UHJFF_cjs.REQUEST_OPTION_KEYS; }
350
350
  });
351
351
  Object.defineProperty(exports, "RealtimeStatus", {
352
352
  enumerable: true,
353
- get: function () { return chunkBN4AC3DP_cjs.RealtimeStatus; }
353
+ get: function () { return chunkQD4UHJFF_cjs.RealtimeStatus; }
354
354
  });
355
355
  Object.defineProperty(exports, "RealtimeTransportKind", {
356
356
  enumerable: true,
357
- get: function () { return chunkBN4AC3DP_cjs.RealtimeTransportKind; }
357
+ get: function () { return chunkQD4UHJFF_cjs.RealtimeTransportKind; }
358
358
  });
359
359
  Object.defineProperty(exports, "ReportReason", {
360
360
  enumerable: true,
361
- get: function () { return chunkBN4AC3DP_cjs.ReportReason; }
361
+ get: function () { return chunkQD4UHJFF_cjs.ReportReason; }
362
362
  });
363
363
  Object.defineProperty(exports, "ReportTargetType", {
364
364
  enumerable: true,
365
- get: function () { return chunkBN4AC3DP_cjs.ReportTargetType; }
365
+ get: function () { return chunkQD4UHJFF_cjs.ReportTargetType; }
366
366
  });
367
367
  Object.defineProperty(exports, "RuntimeMode", {
368
368
  enumerable: true,
369
- get: function () { return chunkBN4AC3DP_cjs.RuntimeMode; }
369
+ get: function () { return chunkQD4UHJFF_cjs.RuntimeMode; }
370
370
  });
371
371
  Object.defineProperty(exports, "STATUS_SERVICE", {
372
372
  enumerable: true,
373
- get: function () { return chunkBN4AC3DP_cjs.STATUS_SERVICE; }
373
+ get: function () { return chunkQD4UHJFF_cjs.STATUS_SERVICE; }
374
374
  });
375
375
  Object.defineProperty(exports, "STREAM_PATH", {
376
376
  enumerable: true,
377
- get: function () { return chunkBN4AC3DP_cjs.STREAM_PATH; }
377
+ get: function () { return chunkQD4UHJFF_cjs.STREAM_PATH; }
378
378
  });
379
379
  Object.defineProperty(exports, "ServiceRegistry", {
380
380
  enumerable: true,
381
- get: function () { return chunkBN4AC3DP_cjs.ServiceRegistry; }
381
+ get: function () { return chunkQD4UHJFF_cjs.ServiceRegistry; }
382
382
  });
383
383
  Object.defineProperty(exports, "ServiceState", {
384
384
  enumerable: true,
385
- get: function () { return chunkBN4AC3DP_cjs.ServiceState; }
385
+ get: function () { return chunkQD4UHJFF_cjs.ServiceState; }
386
386
  });
387
387
  Object.defineProperty(exports, "SignInStatus", {
388
388
  enumerable: true,
389
- get: function () { return chunkBN4AC3DP_cjs.SignInStatus; }
389
+ get: function () { return chunkQD4UHJFF_cjs.SignInStatus; }
390
390
  });
391
391
  Object.defineProperty(exports, "SpanType", {
392
392
  enumerable: true,
393
- get: function () { return chunkBN4AC3DP_cjs.SpanType; }
393
+ get: function () { return chunkQD4UHJFF_cjs.SpanType; }
394
394
  });
395
395
  Object.defineProperty(exports, "TURNSTILE_SITE_KEY", {
396
396
  enumerable: true,
397
- get: function () { return chunkBN4AC3DP_cjs.TURNSTILE_SITE_KEY; }
397
+ get: function () { return chunkQD4UHJFF_cjs.TURNSTILE_SITE_KEY; }
398
398
  });
399
399
  Object.defineProperty(exports, "UnauthorizedStreamError", {
400
400
  enumerable: true,
401
- get: function () { return chunkBN4AC3DP_cjs.UnauthorizedStreamError; }
401
+ get: function () { return chunkQD4UHJFF_cjs.UnauthorizedStreamError; }
402
402
  });
403
403
  Object.defineProperty(exports, "VIDEO_MIME_TYPES", {
404
404
  enumerable: true,
405
- get: function () { return chunkBN4AC3DP_cjs.VIDEO_MIME_TYPES; }
405
+ get: function () { return chunkQD4UHJFF_cjs.VIDEO_MIME_TYPES; }
406
406
  });
407
407
  Object.defineProperty(exports, "ViewReason", {
408
408
  enumerable: true,
409
- get: function () { return chunkBN4AC3DP_cjs.ViewReason; }
409
+ get: function () { return chunkQD4UHJFF_cjs.ViewReason; }
410
410
  });
411
411
  Object.defineProperty(exports, "ViewSource", {
412
412
  enumerable: true,
413
- get: function () { return chunkBN4AC3DP_cjs.ViewSource; }
413
+ get: function () { return chunkQD4UHJFF_cjs.ViewSource; }
414
414
  });
415
415
  Object.defineProperty(exports, "WallAccess", {
416
416
  enumerable: true,
417
- get: function () { return chunkBN4AC3DP_cjs.WallAccess; }
417
+ get: function () { return chunkQD4UHJFF_cjs.WallAccess; }
418
418
  });
419
419
  Object.defineProperty(exports, "autoSpans", {
420
420
  enumerable: true,
421
- get: function () { return chunkBN4AC3DP_cjs.autoSpans; }
421
+ get: function () { return chunkQD4UHJFF_cjs.autoSpans; }
422
422
  });
423
423
  Object.defineProperty(exports, "canonicalNotificationType", {
424
424
  enumerable: true,
425
- get: function () { return chunkBN4AC3DP_cjs.canonicalNotificationType; }
425
+ get: function () { return chunkQD4UHJFF_cjs.canonicalNotificationType; }
426
426
  });
427
427
  Object.defineProperty(exports, "comment", {
428
428
  enumerable: true,
429
- get: function () { return chunkBN4AC3DP_cjs.comment; }
429
+ get: function () { return chunkQD4UHJFF_cjs.comment; }
430
430
  });
431
431
  Object.defineProperty(exports, "createMultiTokenStorage", {
432
432
  enumerable: true,
433
- get: function () { return chunkBN4AC3DP_cjs.createMultiTokenStorage; }
433
+ get: function () { return chunkQD4UHJFF_cjs.createMultiTokenStorage; }
434
434
  });
435
435
  Object.defineProperty(exports, "createRecordMultiStorage", {
436
436
  enumerable: true,
437
- get: function () { return chunkBN4AC3DP_cjs.createRecordMultiStorage; }
437
+ get: function () { return chunkQD4UHJFF_cjs.createRecordMultiStorage; }
438
438
  });
439
439
  Object.defineProperty(exports, "createTokenStorage", {
440
440
  enumerable: true,
441
- get: function () { return chunkBN4AC3DP_cjs.createTokenStorage; }
441
+ get: function () { return chunkQD4UHJFF_cjs.createTokenStorage; }
442
442
  });
443
443
  Object.defineProperty(exports, "formatNotificationText", {
444
444
  enumerable: true,
445
- get: function () { return chunkBN4AC3DP_cjs.formatNotificationText; }
445
+ get: function () { return chunkQD4UHJFF_cjs.formatNotificationText; }
446
446
  });
447
447
  Object.defineProperty(exports, "isBuilder", {
448
448
  enumerable: true,
449
- get: function () { return chunkBN4AC3DP_cjs.isBuilder; }
449
+ get: function () { return chunkQD4UHJFF_cjs.isBuilder; }
450
450
  });
451
451
  Object.defineProperty(exports, "isItdApiError", {
452
452
  enumerable: true,
453
- get: function () { return chunkBN4AC3DP_cjs.isItdApiError; }
453
+ get: function () { return chunkQD4UHJFF_cjs.isItdApiError; }
454
454
  });
455
455
  Object.defineProperty(exports, "isItdAuthError", {
456
456
  enumerable: true,
457
- get: function () { return chunkBN4AC3DP_cjs.isItdAuthError; }
457
+ get: function () { return chunkQD4UHJFF_cjs.isItdAuthError; }
458
458
  });
459
459
  Object.defineProperty(exports, "isItdConflictError", {
460
460
  enumerable: true,
461
- get: function () { return chunkBN4AC3DP_cjs.isItdConflictError; }
461
+ get: function () { return chunkQD4UHJFF_cjs.isItdConflictError; }
462
462
  });
463
463
  Object.defineProperty(exports, "isItdError", {
464
464
  enumerable: true,
465
- get: function () { return chunkBN4AC3DP_cjs.isItdError; }
465
+ get: function () { return chunkQD4UHJFF_cjs.isItdError; }
466
466
  });
467
467
  Object.defineProperty(exports, "isItdForbiddenError", {
468
468
  enumerable: true,
469
- get: function () { return chunkBN4AC3DP_cjs.isItdForbiddenError; }
469
+ get: function () { return chunkQD4UHJFF_cjs.isItdForbiddenError; }
470
470
  });
471
471
  Object.defineProperty(exports, "isItdNotFoundError", {
472
472
  enumerable: true,
473
- get: function () { return chunkBN4AC3DP_cjs.isItdNotFoundError; }
473
+ get: function () { return chunkQD4UHJFF_cjs.isItdNotFoundError; }
474
474
  });
475
475
  Object.defineProperty(exports, "isItdPhoneVerificationError", {
476
476
  enumerable: true,
477
- get: function () { return chunkBN4AC3DP_cjs.isItdPhoneVerificationError; }
477
+ get: function () { return chunkQD4UHJFF_cjs.isItdPhoneVerificationError; }
478
478
  });
479
479
  Object.defineProperty(exports, "isItdRateLimitError", {
480
480
  enumerable: true,
481
- get: function () { return chunkBN4AC3DP_cjs.isItdRateLimitError; }
481
+ get: function () { return chunkQD4UHJFF_cjs.isItdRateLimitError; }
482
482
  });
483
483
  Object.defineProperty(exports, "isItdServerError", {
484
484
  enumerable: true,
485
- get: function () { return chunkBN4AC3DP_cjs.isItdServerError; }
485
+ get: function () { return chunkQD4UHJFF_cjs.isItdServerError; }
486
486
  });
487
487
  Object.defineProperty(exports, "isItdValidationError", {
488
488
  enumerable: true,
489
- get: function () { return chunkBN4AC3DP_cjs.isItdValidationError; }
489
+ get: function () { return chunkQD4UHJFF_cjs.isItdValidationError; }
490
490
  });
491
491
  Object.defineProperty(exports, "isKnownNotificationType", {
492
492
  enumerable: true,
493
- get: function () { return chunkBN4AC3DP_cjs.isKnownNotificationType; }
493
+ get: function () { return chunkQD4UHJFF_cjs.isKnownNotificationType; }
494
494
  });
495
495
  Object.defineProperty(exports, "isMyProfile", {
496
496
  enumerable: true,
497
- get: function () { return chunkBN4AC3DP_cjs.isMyProfile; }
497
+ get: function () { return chunkQD4UHJFF_cjs.isMyProfile; }
498
498
  });
499
499
  Object.defineProperty(exports, "mapPage", {
500
500
  enumerable: true,
501
- get: function () { return chunkBN4AC3DP_cjs.mapPage; }
501
+ get: function () { return chunkQD4UHJFF_cjs.mapPage; }
502
502
  });
503
503
  Object.defineProperty(exports, "markup", {
504
504
  enumerable: true,
505
- get: function () { return chunkBN4AC3DP_cjs.markup; }
505
+ get: function () { return chunkQD4UHJFF_cjs.markup; }
506
506
  });
507
507
  Object.defineProperty(exports, "normalizeNotification", {
508
508
  enumerable: true,
509
- get: function () { return chunkBN4AC3DP_cjs.normalizeNotification; }
509
+ get: function () { return chunkQD4UHJFF_cjs.normalizeNotification; }
510
510
  });
511
511
  Object.defineProperty(exports, "poll", {
512
512
  enumerable: true,
513
- get: function () { return chunkBN4AC3DP_cjs.poll; }
513
+ get: function () { return chunkQD4UHJFF_cjs.poll; }
514
514
  });
515
515
  Object.defineProperty(exports, "post", {
516
516
  enumerable: true,
517
- get: function () { return chunkBN4AC3DP_cjs.post; }
517
+ get: function () { return chunkQD4UHJFF_cjs.post; }
518
518
  });
519
519
  Object.defineProperty(exports, "readNotificationEvent", {
520
520
  enumerable: true,
521
- get: function () { return chunkBN4AC3DP_cjs.readNotificationEvent; }
521
+ get: function () { return chunkQD4UHJFF_cjs.readNotificationEvent; }
522
522
  });
523
523
  Object.defineProperty(exports, "readUnreadCountEvent", {
524
524
  enumerable: true,
525
- get: function () { return chunkBN4AC3DP_cjs.readUnreadCountEvent; }
525
+ get: function () { return chunkQD4UHJFF_cjs.readUnreadCountEvent; }
526
526
  });
527
527
  Object.defineProperty(exports, "renderSpans", {
528
528
  enumerable: true,
529
- get: function () { return chunkBN4AC3DP_cjs.renderSpans; }
529
+ get: function () { return chunkQD4UHJFF_cjs.renderSpans; }
530
530
  });
531
531
  Object.defineProperty(exports, "report", {
532
532
  enumerable: true,
533
- get: function () { return chunkBN4AC3DP_cjs.report; }
533
+ get: function () { return chunkQD4UHJFF_cjs.report; }
534
534
  });
535
535
  Object.defineProperty(exports, "resolveNotificationUrl", {
536
536
  enumerable: true,
537
- get: function () { return chunkBN4AC3DP_cjs.resolveNotificationUrl; }
537
+ get: function () { return chunkQD4UHJFF_cjs.resolveNotificationUrl; }
538
538
  });
539
539
  Object.defineProperty(exports, "scopedTokenStorage", {
540
540
  enumerable: true,
541
- get: function () { return chunkBN4AC3DP_cjs.scopedTokenStorage; }
541
+ get: function () { return chunkQD4UHJFF_cjs.scopedTokenStorage; }
542
542
  });
543
543
  Object.defineProperty(exports, "statusDays", {
544
544
  enumerable: true,
545
- get: function () { return chunkBN4AC3DP_cjs.statusDays; }
545
+ get: function () { return chunkQD4UHJFF_cjs.statusDays; }
546
546
  });
547
547
  Object.defineProperty(exports, "toDate", {
548
548
  enumerable: true,
549
- get: function () { return chunkBN4AC3DP_cjs.toDate; }
549
+ get: function () { return chunkQD4UHJFF_cjs.toDate; }
550
550
  });
551
551
  Object.defineProperty(exports, "utcStampToIso", {
552
552
  enumerable: true,
553
- get: function () { return chunkBN4AC3DP_cjs.utcStampToIso; }
553
+ get: function () { return chunkQD4UHJFF_cjs.utcStampToIso; }
554
554
  });
555
555
  exports.FileMultiTokenStorage = FileMultiTokenStorage;
556
556
  exports.FileTokenStorage = FileTokenStorage;
package/dist/node.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { M as MultiTokenStorage, I as ItdSession, T as TokenStorage, a as ItdAccounts$1, b as ItdAccountsOptions, c as ItdClient$1, d as ItdClientOptions, e as ItdClientInternals, F as FileReader } from './index-CSjDNGCE.cjs';
2
- export { A as ALLOWED_MIME_TYPES, f as AUDIO_MIME_TYPES, g as AUTH_FLAG_COOKIE, h as AUTH_PATHS, i as AccessType, j as AccountEvents, k as Actor, l as AddAccountOptions, m as AllowedMimeType, n as Announcement, o as AnnouncementButton, p as Attachment, q as AttachmentType, r as AudioMimeType, s as AuthEvents, t as AuthInput, u as AuthResource, v as Author, w as AutoSpansOptions, B as BUILT_IN_SERVICES, x as BuilderInput, C as CaptchaCredentials, y as ChangelogEntry, z as Clan, D as ClientHooks, E as Comment, G as CommentBuilder, H as CommentInput, J as CommentReplyTo, K as CommentSort, L as CommentsParams, N as CommentsResource, O as CreateCommentInput, P as CreatePollInput, Q as CreatePostInput, R as CreateReportInput, S as Credentials, U as CredentialsAuth, V as DEFAULT_BASE_URL, W as DEFAULT_STATUS_BASE_URL, X as DEFAULT_TIMEOUT, Y as DEFAULT_UPLOAD_TIMEOUT, Z as DEFAULT_USER_AGENT, _ as DEVICE_ID_HEADER, $ as DetectedRuntime, a0 as DwellEntry, a1 as ErrorContextHook, a2 as FeedParams, a3 as FeedTab, a4 as FileInput, a5 as FilesResource, a6 as FollowResult, a7 as ForgotPasswordInput, a8 as Hashtag, a9 as HashtagPostsParams, aa as HashtagsResource, ab as IMAGE_MIME_TYPES, ac as ImageMimeType, ad as IncidentKind, ae as InteractionEntry, af as InteractionType, ag as IsoDate, ah as ItdAbortError, ai as ItdApiError, aj as ItdApiErrorInit, ak as ItdApiErrorKind, al as ItdAuthError, am as ItdBuilder, an as ItdConfigError, ao as ItdConflictError, ap as ItdError, aq as ItdErrorCode, ar as ItdErrorKind, as as ItdFieldErrors, at as ItdForbiddenError, au as ItdNetworkError, av as ItdNotFoundError, aw as ItdPhoneVerificationError, ax as ItdPlugin, ay as ItdRateLimitError, az as ItdRealtime, aA as ItdServerError, aB as ItdTimeoutError, aC as ItdValidationError, aD as LIBRARY_VERSION, aE as LikeResult, aF as LikesVisibility, aG as Listener, aH as LocalStorageTokenStorage, aI as Logger, aJ as Loose, aK as MAX_RECONNECT_ATTEMPTS, aL as MarkupBuilder, aM as MarkupContent, aN as MarkupInput, aO as MarkupSpan, aP as MemoryMultiTokenStorage, aQ as MemoryTokenStorage, aR as MyProfile, aS as NOTIFICATION_TYPE_ALIASES, aT as Notification, aU as NotificationEvent, aV as NotificationListParams, aW as NotificationSettings, aX as NotificationType, aY as NotificationsResource, aZ as OAuthProvider, a_ as Page, a$ as PageState, b0 as PaginationMode, b1 as Paginator, b2 as PaginatorOptions, b3 as PaymentMethod, b4 as Pin, b5 as PinPostResult, b6 as PinsResult, b7 as PlatformResource, b8 as PlatformStatus, b9 as PluginContext, ba as Poll, bb as PollBuilder, bc as PollInput, bd as PollOption, be as PollTransportOptions, bf as Portal, bg as Post, bh as PostBuilder, bi as PostInput, bj as PostStats, bk as PostUpdateInput, bl as PostsResource, bm as PrivacySettings, bn as Profile, bo as PublicProfile, bp as QueryParams, bq as QueryValue, br as RECONNECT_BACKOFF, bs as RECONNECT_JITTER, bt as REFRESH_COOKIE, bu as REFRESH_COOKIE_PATH, bv as REQUEST_OPTION_KEYS, bw as RateLimitOptions, bx as RateLimitScope, by as RawRequestOptions, bz as RealtimeDeps, bA as RealtimeEvents, bB as RealtimeOptions, bC as RealtimeStatus, bD as RealtimeTransport, bE as RealtimeTransportKind, bF as ReconnectOptions, bG as RecordStorageSource, bH as RemoveAccountOptions, bI as RenderSpansOptions, bJ as RepliesParams, bK as Report, bL as ReportBuilder, bM as ReportInput, bN as ReportReason, bO as ReportTargetType, bP as ReportsResource, bQ as RequestContext, bR as RequestOptions, bS as ResetPasswordInput, bT as ResponseContext, bU as RetryContext, bV as RetryOptions, bW as RuntimeMode, bX as STATUS_SERVICE, bY as STREAM_PATH, bZ as SearchResource, b_ as SearchResult, b$ as ServiceDefinition, c0 as ServiceRegistry, c1 as ServiceState, c2 as ServiceStatus, c3 as Session, c4 as SignInResult, c5 as SignInStatus, c6 as Span, c7 as SpanRenderFormat, c8 as SpanType, c9 as SseTransportOptions, ca as StatusDay, cb as StatusIncidentLine, cc as Subscription, cd as SubscriptionResource, ce as SubscriptionState, cf as TURNSTILE_SITE_KEY, cg as TelemetryOptions, ch as TelemetryResource, ci as TextMarkup, cj as Transformer, ck as TransportContext, cl as TransportEvent, cm as UnauthorizedStreamError, cn as Unsubscribe, co as UpdateNotificationSettingsInput, cp as UpdatePostInput, cq as UpdatePrivacyInput, cr as UpdateProfileInput, cs as UploadOptions, ct as UploadedFile, cu as UserId, cv as UserListParams, cw as UserPostsParams, cx as UserRef, cy as UserSummary, cz as UsersResource, cA as VIDEO_MIME_TYPES, cB as VerificationResource, cC as VerificationStatus, cD as VideoMimeType, cE as ViewReason, cF as ViewSource, cG as WallAccess, cH as autoSpans, cI as canonicalNotificationType, cJ as comment, cK as createMultiTokenStorage, cL as createRecordMultiStorage, cM as createTokenStorage, cN as formatNotificationText, cO as isBuilder, cP as isItdApiError, cQ as isItdAuthError, cR as isItdConflictError, cS as isItdError, cT as isItdForbiddenError, cU as isItdNotFoundError, cV as isItdPhoneVerificationError, cW as isItdRateLimitError, cX as isItdServerError, cY as isItdValidationError, cZ as isKnownNotificationType, c_ as isMyProfile, c$ as mapPage, d0 as markup, d1 as normalizeNotification, d2 as poll, d3 as post, d4 as readNotificationEvent, d5 as readUnreadCountEvent, d6 as renderSpans, d7 as report, d8 as resolveNotificationUrl, d9 as scopedTokenStorage, da as statusDays, db as toDate, dc as utcStampToIso } from './index-CSjDNGCE.cjs';
1
+ import { M as MultiTokenStorage, I as ItdSession, T as TokenStorage, a as ItdAccounts$1, b as ItdAccountsOptions, c as ItdClient$1, d as ItdClientOptions, e as ItdClientInternals, F as FileReader } from './index-CrlTO7sR.cjs';
2
+ export { A as ALLOWED_MIME_TYPES, f as AUDIO_MIME_TYPES, g as AUTH_FLAG_COOKIE, h as AUTH_PATHS, i as AccessType, j as AccountEvents, k as Actor, l as AddAccountOptions, m as AllowedMimeType, n as Announcement, o as AnnouncementButton, p as Attachment, q as AttachmentType, r as AudioMimeType, s as AuthEvents, t as AuthIdentity, u as AuthInput, v as AuthResource, w as Author, x as AutoSpansOptions, B as BUILT_IN_SERVICES, y as BuilderInput, C as CaptchaCredentials, z as ChangelogEntry, D as Clan, E as ClientHooks, G as Comment, H as CommentBuilder, J as CommentInput, K as CommentReplyTo, L as CommentSort, N as CommentsParams, O as CommentsResource, P as CreateCommentInput, Q as CreatePollInput, R as CreatePostInput, S as CreateReportInput, U as Credentials, V as CredentialsAuth, W as DEFAULT_BASE_URL, X as DEFAULT_STATUS_BASE_URL, Y as DEFAULT_TIMEOUT, Z as DEFAULT_UPLOAD_TIMEOUT, _ as DEFAULT_USER_AGENT, $ as DEVICE_ID_HEADER, a0 as DetectedRuntime, a1 as DwellEntry, a2 as ErrorContextHook, a3 as FeedParams, a4 as FeedTab, a5 as FileInput, a6 as FilesResource, a7 as FollowResult, a8 as ForgotPasswordInput, a9 as Hashtag, aa as HashtagPostsParams, ab as HashtagsResource, ac as IMAGE_MIME_TYPES, ad as ImageMimeType, ae as IncidentKind, af as InteractionEntry, ag as InteractionType, ah as IsoDate, ai as ItdAbortError, aj as ItdApiError, ak as ItdApiErrorInit, al as ItdApiErrorKind, am as ItdAuthError, an as ItdBuilder, ao as ItdConfigError, ap as ItdConflictError, aq as ItdError, ar as ItdErrorCode, as as ItdErrorKind, at as ItdFieldErrors, au as ItdForbiddenError, av as ItdNetworkError, aw as ItdNotFoundError, ax as ItdPhoneVerificationError, ay as ItdPlugin, az as ItdRateLimitError, aA as ItdRealtime, aB as ItdServerError, aC as ItdTimeoutError, aD as ItdValidationError, aE as LIBRARY_VERSION, aF as LikeResult, aG as LikesVisibility, aH as Listener, aI as LocalStorageTokenStorage, aJ as Logger, aK as Loose, aL as MAX_RECONNECT_ATTEMPTS, aM as MarkupBuilder, aN as MarkupContent, aO as MarkupInput, aP as MarkupSpan, aQ as MemoryMultiTokenStorage, aR as MemoryTokenStorage, aS as MyProfile, aT as NOTIFICATION_TYPE_ALIASES, aU as Notification, aV as NotificationEvent, aW as NotificationListParams, aX as NotificationSettings, aY as NotificationType, aZ as NotificationsResource, a_ as OAuthProvider, a$ as Page, b0 as PageState, b1 as PaginationMode, b2 as Paginator, b3 as PaginatorOptions, b4 as PaymentMethod, b5 as Pin, b6 as PinPostResult, b7 as PinsResult, b8 as PlatformResource, b9 as PlatformStatus, ba as PluginContext, bb as Poll, bc as PollBuilder, bd as PollInput, be as PollOption, bf as PollTransportOptions, bg as Portal, bh as Post, bi as PostBuilder, bj as PostInput, bk as PostStats, bl as PostUpdateInput, bm as PostsResource, bn as PrivacySettings, bo as Profile, bp as PublicProfile, bq as QueryParams, br as QueryValue, bs as RECONNECT_BACKOFF, bt as RECONNECT_JITTER, bu as REFRESH_COOKIE, bv as REFRESH_COOKIE_PATH, bw as REQUEST_OPTION_KEYS, bx as RateLimitOptions, by as RateLimitScope, bz as RawRequestOptions, bA as RealtimeDeps, bB as RealtimeEvents, bC as RealtimeOptions, bD as RealtimeStatus, bE as RealtimeTransport, bF as RealtimeTransportKind, bG as ReconnectOptions, bH as RecordStorageSource, bI as RemoveAccountOptions, bJ as RenderSpansOptions, bK as RepliesParams, bL as Report, bM as ReportBuilder, bN as ReportInput, bO as ReportReason, bP as ReportTargetType, bQ as ReportsResource, bR as RequestContext, bS as RequestOptions, bT as ResetPasswordInput, bU as ResponseContext, bV as RetryContext, bW as RetryOptions, bX as RuntimeMode, bY as STATUS_SERVICE, bZ as STREAM_PATH, b_ as SearchResource, b$ as SearchResult, c0 as ServiceDefinition, c1 as ServiceRegistry, c2 as ServiceState, c3 as ServiceStatus, c4 as Session, c5 as SignInResult, c6 as SignInStatus, c7 as Span, c8 as SpanRenderFormat, c9 as SpanType, ca as SseTransportOptions, cb as StatusDay, cc as StatusIncidentLine, cd as Subscription, ce as SubscriptionResource, cf as SubscriptionState, cg as TURNSTILE_SITE_KEY, ch as TelemetryOptions, ci as TelemetryResource, cj as TextMarkup, ck as Transformer, cl as TransportContext, cm as TransportEvent, cn as UnauthorizedStreamError, co as Unsubscribe, cp as UpdateNotificationSettingsInput, cq as UpdatePostInput, cr as UpdatePrivacyInput, cs as UpdateProfileInput, ct as UploadOptions, cu as UploadedFile, cv as UserId, cw as UserListParams, cx as UserPostsParams, cy as UserRef, cz as UserSummary, cA as UsersResource, cB as VIDEO_MIME_TYPES, cC as VerificationResource, cD as VerificationStatus, cE as VideoMimeType, cF as ViewReason, cG as ViewSource, cH as WallAccess, cI as autoSpans, cJ as canonicalNotificationType, cK as comment, cL as createMultiTokenStorage, cM as createRecordMultiStorage, cN as createTokenStorage, cO as formatNotificationText, cP as isBuilder, cQ as isItdApiError, cR as isItdAuthError, cS as isItdConflictError, cT as isItdError, cU as isItdForbiddenError, cV as isItdNotFoundError, cW as isItdPhoneVerificationError, cX as isItdRateLimitError, cY as isItdServerError, cZ as isItdValidationError, c_ as isKnownNotificationType, c$ as isMyProfile, d0 as mapPage, d1 as markup, d2 as normalizeNotification, d3 as poll, d4 as post, d5 as readNotificationEvent, d6 as readUnreadCountEvent, d7 as renderSpans, d8 as report, d9 as resolveNotificationUrl, da as scopedTokenStorage, db as statusDays, dc as toDate, dd as utcStampToIso } from './index-CrlTO7sR.cjs';
3
3
 
4
4
  /**
5
5
  * `itd-api/node` — то же, что `itd-api`, плюс работа с файловой системой.