itd-api 0.0.1 → 0.0.3

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/index.cjs CHANGED
@@ -1,252 +1,284 @@
1
1
  'use strict';
2
2
 
3
- var chunkQILCVTJI_cjs = require('./chunk-QILCVTJI.cjs');
3
+ var chunk3ODOEKQO_cjs = require('./chunk-3ODOEKQO.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "ALLOWED_MIME_TYPES", {
8
8
  enumerable: true,
9
- get: function () { return chunkQILCVTJI_cjs.ALLOWED_MIME_TYPES; }
9
+ get: function () { return chunk3ODOEKQO_cjs.ALLOWED_MIME_TYPES; }
10
10
  });
11
11
  Object.defineProperty(exports, "AUDIO_MIME_TYPES", {
12
12
  enumerable: true,
13
- get: function () { return chunkQILCVTJI_cjs.AUDIO_MIME_TYPES; }
13
+ get: function () { return chunk3ODOEKQO_cjs.AUDIO_MIME_TYPES; }
14
+ });
15
+ Object.defineProperty(exports, "AUTH_FLAG_COOKIE", {
16
+ enumerable: true,
17
+ get: function () { return chunk3ODOEKQO_cjs.AUTH_FLAG_COOKIE; }
18
+ });
19
+ Object.defineProperty(exports, "AUTH_PATHS", {
20
+ enumerable: true,
21
+ get: function () { return chunk3ODOEKQO_cjs.AUTH_PATHS; }
14
22
  });
15
23
  Object.defineProperty(exports, "AttachmentType", {
16
24
  enumerable: true,
17
- get: function () { return chunkQILCVTJI_cjs.AttachmentType; }
25
+ get: function () { return chunk3ODOEKQO_cjs.AttachmentType; }
18
26
  });
19
27
  Object.defineProperty(exports, "CommentSort", {
20
28
  enumerable: true,
21
- get: function () { return chunkQILCVTJI_cjs.CommentSort; }
29
+ get: function () { return chunk3ODOEKQO_cjs.CommentSort; }
22
30
  });
23
31
  Object.defineProperty(exports, "DEFAULT_BASE_URL", {
24
32
  enumerable: true,
25
- get: function () { return chunkQILCVTJI_cjs.DEFAULT_BASE_URL; }
33
+ get: function () { return chunk3ODOEKQO_cjs.DEFAULT_BASE_URL; }
26
34
  });
27
35
  Object.defineProperty(exports, "DEFAULT_TIMEOUT", {
28
36
  enumerable: true,
29
- get: function () { return chunkQILCVTJI_cjs.DEFAULT_TIMEOUT; }
37
+ get: function () { return chunk3ODOEKQO_cjs.DEFAULT_TIMEOUT; }
38
+ });
39
+ Object.defineProperty(exports, "DEFAULT_USER_AGENT", {
40
+ enumerable: true,
41
+ get: function () { return chunk3ODOEKQO_cjs.DEFAULT_USER_AGENT; }
42
+ });
43
+ Object.defineProperty(exports, "DEVICE_ID_HEADER", {
44
+ enumerable: true,
45
+ get: function () { return chunk3ODOEKQO_cjs.DEVICE_ID_HEADER; }
30
46
  });
31
47
  Object.defineProperty(exports, "FeedTab", {
32
48
  enumerable: true,
33
- get: function () { return chunkQILCVTJI_cjs.FeedTab; }
49
+ get: function () { return chunk3ODOEKQO_cjs.FeedTab; }
34
50
  });
35
51
  Object.defineProperty(exports, "IMAGE_MIME_TYPES", {
36
52
  enumerable: true,
37
- get: function () { return chunkQILCVTJI_cjs.IMAGE_MIME_TYPES; }
53
+ get: function () { return chunk3ODOEKQO_cjs.IMAGE_MIME_TYPES; }
38
54
  });
39
55
  Object.defineProperty(exports, "ItdAbortError", {
40
56
  enumerable: true,
41
- get: function () { return chunkQILCVTJI_cjs.ItdAbortError; }
57
+ get: function () { return chunk3ODOEKQO_cjs.ItdAbortError; }
42
58
  });
43
59
  Object.defineProperty(exports, "ItdApiError", {
44
60
  enumerable: true,
45
- get: function () { return chunkQILCVTJI_cjs.ItdApiError; }
61
+ get: function () { return chunk3ODOEKQO_cjs.ItdApiError; }
46
62
  });
47
63
  Object.defineProperty(exports, "ItdAuthError", {
48
64
  enumerable: true,
49
- get: function () { return chunkQILCVTJI_cjs.ItdAuthError; }
65
+ get: function () { return chunk3ODOEKQO_cjs.ItdAuthError; }
50
66
  });
51
67
  Object.defineProperty(exports, "ItdClient", {
52
68
  enumerable: true,
53
- get: function () { return chunkQILCVTJI_cjs.ItdClient; }
69
+ get: function () { return chunk3ODOEKQO_cjs.ItdClient; }
54
70
  });
55
71
  Object.defineProperty(exports, "ItdConfigError", {
56
72
  enumerable: true,
57
- get: function () { return chunkQILCVTJI_cjs.ItdConfigError; }
73
+ get: function () { return chunk3ODOEKQO_cjs.ItdConfigError; }
58
74
  });
59
75
  Object.defineProperty(exports, "ItdConflictError", {
60
76
  enumerable: true,
61
- get: function () { return chunkQILCVTJI_cjs.ItdConflictError; }
77
+ get: function () { return chunk3ODOEKQO_cjs.ItdConflictError; }
62
78
  });
63
79
  Object.defineProperty(exports, "ItdError", {
64
80
  enumerable: true,
65
- get: function () { return chunkQILCVTJI_cjs.ItdError; }
81
+ get: function () { return chunk3ODOEKQO_cjs.ItdError; }
66
82
  });
67
83
  Object.defineProperty(exports, "ItdErrorCode", {
68
84
  enumerable: true,
69
- get: function () { return chunkQILCVTJI_cjs.ItdErrorCode; }
85
+ get: function () { return chunk3ODOEKQO_cjs.ItdErrorCode; }
70
86
  });
71
87
  Object.defineProperty(exports, "ItdForbiddenError", {
72
88
  enumerable: true,
73
- get: function () { return chunkQILCVTJI_cjs.ItdForbiddenError; }
89
+ get: function () { return chunk3ODOEKQO_cjs.ItdForbiddenError; }
74
90
  });
75
91
  Object.defineProperty(exports, "ItdNetworkError", {
76
92
  enumerable: true,
77
- get: function () { return chunkQILCVTJI_cjs.ItdNetworkError; }
93
+ get: function () { return chunk3ODOEKQO_cjs.ItdNetworkError; }
78
94
  });
79
95
  Object.defineProperty(exports, "ItdNotFoundError", {
80
96
  enumerable: true,
81
- get: function () { return chunkQILCVTJI_cjs.ItdNotFoundError; }
97
+ get: function () { return chunk3ODOEKQO_cjs.ItdNotFoundError; }
82
98
  });
83
99
  Object.defineProperty(exports, "ItdPhoneVerificationError", {
84
100
  enumerable: true,
85
- get: function () { return chunkQILCVTJI_cjs.ItdPhoneVerificationError; }
101
+ get: function () { return chunk3ODOEKQO_cjs.ItdPhoneVerificationError; }
86
102
  });
87
103
  Object.defineProperty(exports, "ItdRateLimitError", {
88
104
  enumerable: true,
89
- get: function () { return chunkQILCVTJI_cjs.ItdRateLimitError; }
105
+ get: function () { return chunk3ODOEKQO_cjs.ItdRateLimitError; }
90
106
  });
91
107
  Object.defineProperty(exports, "ItdRealtime", {
92
108
  enumerable: true,
93
- get: function () { return chunkQILCVTJI_cjs.ItdRealtime; }
109
+ get: function () { return chunk3ODOEKQO_cjs.ItdRealtime; }
94
110
  });
95
111
  Object.defineProperty(exports, "ItdServerError", {
96
112
  enumerable: true,
97
- get: function () { return chunkQILCVTJI_cjs.ItdServerError; }
113
+ get: function () { return chunk3ODOEKQO_cjs.ItdServerError; }
98
114
  });
99
115
  Object.defineProperty(exports, "ItdTimeoutError", {
100
116
  enumerable: true,
101
- get: function () { return chunkQILCVTJI_cjs.ItdTimeoutError; }
117
+ get: function () { return chunk3ODOEKQO_cjs.ItdTimeoutError; }
102
118
  });
103
119
  Object.defineProperty(exports, "ItdValidationError", {
104
120
  enumerable: true,
105
- get: function () { return chunkQILCVTJI_cjs.ItdValidationError; }
121
+ get: function () { return chunk3ODOEKQO_cjs.ItdValidationError; }
122
+ });
123
+ Object.defineProperty(exports, "LIBRARY_VERSION", {
124
+ enumerable: true,
125
+ get: function () { return chunk3ODOEKQO_cjs.LIBRARY_VERSION; }
106
126
  });
107
127
  Object.defineProperty(exports, "LikesVisibility", {
108
128
  enumerable: true,
109
- get: function () { return chunkQILCVTJI_cjs.LikesVisibility; }
129
+ get: function () { return chunk3ODOEKQO_cjs.LikesVisibility; }
110
130
  });
111
131
  Object.defineProperty(exports, "LocalStorageTokenStorage", {
112
132
  enumerable: true,
113
- get: function () { return chunkQILCVTJI_cjs.LocalStorageTokenStorage; }
133
+ get: function () { return chunk3ODOEKQO_cjs.LocalStorageTokenStorage; }
114
134
  });
115
135
  Object.defineProperty(exports, "MAX_RECONNECT_ATTEMPTS", {
116
136
  enumerable: true,
117
- get: function () { return chunkQILCVTJI_cjs.MAX_RECONNECT_ATTEMPTS; }
137
+ get: function () { return chunk3ODOEKQO_cjs.MAX_RECONNECT_ATTEMPTS; }
118
138
  });
119
139
  Object.defineProperty(exports, "MemoryTokenStorage", {
120
140
  enumerable: true,
121
- get: function () { return chunkQILCVTJI_cjs.MemoryTokenStorage; }
141
+ get: function () { return chunk3ODOEKQO_cjs.MemoryTokenStorage; }
122
142
  });
123
143
  Object.defineProperty(exports, "NOTIFICATION_TYPE_ALIASES", {
124
144
  enumerable: true,
125
- get: function () { return chunkQILCVTJI_cjs.NOTIFICATION_TYPE_ALIASES; }
145
+ get: function () { return chunk3ODOEKQO_cjs.NOTIFICATION_TYPE_ALIASES; }
126
146
  });
127
147
  Object.defineProperty(exports, "NotificationType", {
128
148
  enumerable: true,
129
- get: function () { return chunkQILCVTJI_cjs.NotificationType; }
149
+ get: function () { return chunk3ODOEKQO_cjs.NotificationType; }
130
150
  });
131
151
  Object.defineProperty(exports, "Paginator", {
132
152
  enumerable: true,
133
- get: function () { return chunkQILCVTJI_cjs.Paginator; }
153
+ get: function () { return chunk3ODOEKQO_cjs.Paginator; }
134
154
  });
135
155
  Object.defineProperty(exports, "RECONNECT_BACKOFF", {
136
156
  enumerable: true,
137
- get: function () { return chunkQILCVTJI_cjs.RECONNECT_BACKOFF; }
157
+ get: function () { return chunk3ODOEKQO_cjs.RECONNECT_BACKOFF; }
138
158
  });
139
159
  Object.defineProperty(exports, "RECONNECT_JITTER", {
140
160
  enumerable: true,
141
- get: function () { return chunkQILCVTJI_cjs.RECONNECT_JITTER; }
161
+ get: function () { return chunk3ODOEKQO_cjs.RECONNECT_JITTER; }
162
+ });
163
+ Object.defineProperty(exports, "REFRESH_COOKIE", {
164
+ enumerable: true,
165
+ get: function () { return chunk3ODOEKQO_cjs.REFRESH_COOKIE; }
166
+ });
167
+ Object.defineProperty(exports, "REFRESH_COOKIE_PATH", {
168
+ enumerable: true,
169
+ get: function () { return chunk3ODOEKQO_cjs.REFRESH_COOKIE_PATH; }
142
170
  });
143
171
  Object.defineProperty(exports, "RealtimeStatus", {
144
172
  enumerable: true,
145
- get: function () { return chunkQILCVTJI_cjs.RealtimeStatus; }
173
+ get: function () { return chunk3ODOEKQO_cjs.RealtimeStatus; }
146
174
  });
147
175
  Object.defineProperty(exports, "ReportReason", {
148
176
  enumerable: true,
149
- get: function () { return chunkQILCVTJI_cjs.ReportReason; }
177
+ get: function () { return chunk3ODOEKQO_cjs.ReportReason; }
150
178
  });
151
179
  Object.defineProperty(exports, "ReportTargetType", {
152
180
  enumerable: true,
153
- get: function () { return chunkQILCVTJI_cjs.ReportTargetType; }
181
+ get: function () { return chunk3ODOEKQO_cjs.ReportTargetType; }
154
182
  });
155
183
  Object.defineProperty(exports, "STREAM_PATH", {
156
184
  enumerable: true,
157
- get: function () { return chunkQILCVTJI_cjs.STREAM_PATH; }
185
+ get: function () { return chunk3ODOEKQO_cjs.STREAM_PATH; }
186
+ });
187
+ Object.defineProperty(exports, "TURNSTILE_SITE_KEY", {
188
+ enumerable: true,
189
+ get: function () { return chunk3ODOEKQO_cjs.TURNSTILE_SITE_KEY; }
158
190
  });
159
191
  Object.defineProperty(exports, "VIDEO_MIME_TYPES", {
160
192
  enumerable: true,
161
- get: function () { return chunkQILCVTJI_cjs.VIDEO_MIME_TYPES; }
193
+ get: function () { return chunk3ODOEKQO_cjs.VIDEO_MIME_TYPES; }
162
194
  });
163
195
  Object.defineProperty(exports, "WallAccess", {
164
196
  enumerable: true,
165
- get: function () { return chunkQILCVTJI_cjs.WallAccess; }
197
+ get: function () { return chunk3ODOEKQO_cjs.WallAccess; }
166
198
  });
167
199
  Object.defineProperty(exports, "canonicalNotificationType", {
168
200
  enumerable: true,
169
- get: function () { return chunkQILCVTJI_cjs.canonicalNotificationType; }
201
+ get: function () { return chunk3ODOEKQO_cjs.canonicalNotificationType; }
170
202
  });
171
203
  Object.defineProperty(exports, "comment", {
172
204
  enumerable: true,
173
- get: function () { return chunkQILCVTJI_cjs.comment; }
205
+ get: function () { return chunk3ODOEKQO_cjs.comment; }
174
206
  });
175
207
  Object.defineProperty(exports, "createClient", {
176
208
  enumerable: true,
177
- get: function () { return chunkQILCVTJI_cjs.createClient; }
209
+ get: function () { return chunk3ODOEKQO_cjs.createClient; }
178
210
  });
179
211
  Object.defineProperty(exports, "createTokenStorage", {
180
212
  enumerable: true,
181
- get: function () { return chunkQILCVTJI_cjs.createTokenStorage; }
213
+ get: function () { return chunk3ODOEKQO_cjs.createTokenStorage; }
182
214
  });
183
215
  Object.defineProperty(exports, "formatNotificationText", {
184
216
  enumerable: true,
185
- get: function () { return chunkQILCVTJI_cjs.formatNotificationText; }
217
+ get: function () { return chunk3ODOEKQO_cjs.formatNotificationText; }
186
218
  });
187
219
  Object.defineProperty(exports, "isBuilder", {
188
220
  enumerable: true,
189
- get: function () { return chunkQILCVTJI_cjs.isBuilder; }
221
+ get: function () { return chunk3ODOEKQO_cjs.isBuilder; }
190
222
  });
191
223
  Object.defineProperty(exports, "isItdApiError", {
192
224
  enumerable: true,
193
- get: function () { return chunkQILCVTJI_cjs.isItdApiError; }
225
+ get: function () { return chunk3ODOEKQO_cjs.isItdApiError; }
194
226
  });
195
227
  Object.defineProperty(exports, "isItdAuthError", {
196
228
  enumerable: true,
197
- get: function () { return chunkQILCVTJI_cjs.isItdAuthError; }
229
+ get: function () { return chunk3ODOEKQO_cjs.isItdAuthError; }
198
230
  });
199
231
  Object.defineProperty(exports, "isItdError", {
200
232
  enumerable: true,
201
- get: function () { return chunkQILCVTJI_cjs.isItdError; }
233
+ get: function () { return chunk3ODOEKQO_cjs.isItdError; }
202
234
  });
203
235
  Object.defineProperty(exports, "isItdRateLimitError", {
204
236
  enumerable: true,
205
- get: function () { return chunkQILCVTJI_cjs.isItdRateLimitError; }
237
+ get: function () { return chunk3ODOEKQO_cjs.isItdRateLimitError; }
206
238
  });
207
239
  Object.defineProperty(exports, "isItdValidationError", {
208
240
  enumerable: true,
209
- get: function () { return chunkQILCVTJI_cjs.isItdValidationError; }
241
+ get: function () { return chunk3ODOEKQO_cjs.isItdValidationError; }
210
242
  });
211
243
  Object.defineProperty(exports, "isKnownNotificationType", {
212
244
  enumerable: true,
213
- get: function () { return chunkQILCVTJI_cjs.isKnownNotificationType; }
245
+ get: function () { return chunk3ODOEKQO_cjs.isKnownNotificationType; }
214
246
  });
215
247
  Object.defineProperty(exports, "isMyProfile", {
216
248
  enumerable: true,
217
- get: function () { return chunkQILCVTJI_cjs.isMyProfile; }
249
+ get: function () { return chunk3ODOEKQO_cjs.isMyProfile; }
218
250
  });
219
251
  Object.defineProperty(exports, "normalizeNotification", {
220
252
  enumerable: true,
221
- get: function () { return chunkQILCVTJI_cjs.normalizeNotification; }
253
+ get: function () { return chunk3ODOEKQO_cjs.normalizeNotification; }
222
254
  });
223
255
  Object.defineProperty(exports, "poll", {
224
256
  enumerable: true,
225
- get: function () { return chunkQILCVTJI_cjs.poll; }
257
+ get: function () { return chunk3ODOEKQO_cjs.poll; }
226
258
  });
227
259
  Object.defineProperty(exports, "post", {
228
260
  enumerable: true,
229
- get: function () { return chunkQILCVTJI_cjs.post; }
261
+ get: function () { return chunk3ODOEKQO_cjs.post; }
230
262
  });
231
263
  Object.defineProperty(exports, "readNotificationEvent", {
232
264
  enumerable: true,
233
- get: function () { return chunkQILCVTJI_cjs.readNotificationEvent; }
265
+ get: function () { return chunk3ODOEKQO_cjs.readNotificationEvent; }
234
266
  });
235
267
  Object.defineProperty(exports, "readUnreadCountEvent", {
236
268
  enumerable: true,
237
- get: function () { return chunkQILCVTJI_cjs.readUnreadCountEvent; }
269
+ get: function () { return chunk3ODOEKQO_cjs.readUnreadCountEvent; }
238
270
  });
239
271
  Object.defineProperty(exports, "report", {
240
272
  enumerable: true,
241
- get: function () { return chunkQILCVTJI_cjs.report; }
273
+ get: function () { return chunk3ODOEKQO_cjs.report; }
242
274
  });
243
275
  Object.defineProperty(exports, "resolveNotificationUrl", {
244
276
  enumerable: true,
245
- get: function () { return chunkQILCVTJI_cjs.resolveNotificationUrl; }
277
+ get: function () { return chunk3ODOEKQO_cjs.resolveNotificationUrl; }
246
278
  });
247
279
  Object.defineProperty(exports, "toDate", {
248
280
  enumerable: true,
249
- get: function () { return chunkQILCVTJI_cjs.toDate; }
281
+ get: function () { return chunk3ODOEKQO_cjs.toDate; }
250
282
  });
251
283
  //# sourceMappingURL=index.cjs.map
252
284
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.cts CHANGED
@@ -1 +1 @@
1
- export { A as ALLOWED_MIME_TYPES, c as AUDIO_MIME_TYPES, d as Actor, e as Announcement, f as AnnouncementButton, g as Attachment, h as AttachmentType, i as AuthInput, j as AuthResource, k as Author, B as BuilderInput, C as ChangelogEntry, l as Clan, m as ClientHooks, n as Comment, o as CommentBuilder, p as CommentInput, q as CommentReplyTo, r as CommentSort, s as CommentsParams, t as CommentsResource, u as CreateCommentInput, v as CreatePollInput, w as CreatePostInput, x as CreateReportInput, y as Credentials, D as DEFAULT_BASE_URL, z as DEFAULT_TIMEOUT, E as DwellEntry, G as ErrorContextHook, H as FeedParams, J as FeedTab, K as FileInput, L as FilesResource, M as FollowResult, N as Hashtag, O as HashtagPostsParams, P as HashtagsResource, Q as IMAGE_MIME_TYPES, R as InteractionEntry, S as IsoDate, U as ItdAbortError, V as ItdApiError, W as ItdApiErrorInit, X as ItdAuthError, Y as ItdBuilder, a as ItdClient, b as ItdClientOptions, Z as ItdConfigError, _ as ItdConflictError, $ as ItdError, a0 as ItdErrorCode, a1 as ItdErrorKind, a2 as ItdFieldErrors, a3 as ItdForbiddenError, a4 as ItdNetworkError, a5 as ItdNotFoundError, a6 as ItdPhoneVerificationError, a7 as ItdRateLimitError, a8 as ItdRealtime, a9 as ItdServerError, I as ItdSession, aa as ItdTimeoutError, ab as ItdValidationError, ac as LikeResult, ad as LikesVisibility, ae as Listener, af as LocalStorageTokenStorage, ag as Logger, ah as Loose, ai as MAX_RECONNECT_ATTEMPTS, aj as MemoryTokenStorage, ak as MyProfile, al as NOTIFICATION_TYPE_ALIASES, am as Notification, an as NotificationEvent, ao as NotificationListParams, ap as NotificationSettings, aq as NotificationType, ar as NotificationsResource, as as OAuthProvider, at as Page, au as PageState, av as PaginationMode, aw as Paginator, ax as PaymentMethod, ay as Pin, az as PinPostResult, aA as PinsResult, aB as PlatformResource, aC as Poll, aD as PollBuilder, aE as PollInput, aF as PollOption, aG as PollTransportOptions, aH as Portal, aI as Post, aJ as PostBuilder, aK as PostInput, aL as PostStats, aM as PostsResource, aN as PrivacySettings, aO as Profile, aP as PublicProfile, aQ as RECONNECT_BACKOFF, aR as RECONNECT_JITTER, aS as RateLimitOptions, aT as RawRequestOptions, aU as RealtimeEvents, aV as RealtimeOptions, aW as RealtimeStatus, aX as RealtimeTransport, aY as RealtimeTransportKind, aZ as ReconnectOptions, a_ as RepliesParams, a$ as Report, b0 as ReportBuilder, b1 as ReportInput, b2 as ReportReason, b3 as ReportTargetType, b4 as ReportsResource, b5 as RequestContext, b6 as RequestOptions, b7 as ResponseContext, b8 as RetryContext, b9 as RetryOptions, ba as RuntimeMode, bb as STREAM_PATH, bc as SearchResource, bd as SearchResult, be as Session, bf as SignInResult, bg as Span, bh as SseTransportOptions, bi as Subscription, bj as SubscriptionResource, bk as SubscriptionState, bl as TelemetryResource, T as TokenStorage, bm as TransportContext, bn as TransportEvent, bo as Unsubscribe, bp as UpdateNotificationSettingsInput, bq as UpdatePrivacyInput, br as UpdateProfileInput, bs as UploadOptions, bt as UploadedFile, bu as UserId, bv as UserListParams, bw as UserPostsParams, bx as UserRef, by as UserSummary, bz as UsersResource, bA as VIDEO_MIME_TYPES, bB as VerificationResource, bC as VerificationStatus, bD as WallAccess, bE as canonicalNotificationType, bF as comment, bY as createClient, bG as createTokenStorage, bH as formatNotificationText, bI as isBuilder, bJ as isItdApiError, bK as isItdAuthError, bL as isItdError, bM as isItdRateLimitError, bN as isItdValidationError, bO as isKnownNotificationType, bP as isMyProfile, bQ as normalizeNotification, bR as poll, bS as post, bT as readNotificationEvent, bU as readUnreadCountEvent, bV as report, bW as resolveNotificationUrl, bX as toDate } from './index-RzyK1gKg.cjs';
1
+ export { A as ALLOWED_MIME_TYPES, c as AUDIO_MIME_TYPES, d as AUTH_FLAG_COOKIE, e as AUTH_PATHS, f as Actor, g as Announcement, h as AnnouncementButton, i as Attachment, j as AttachmentType, k as AuthInput, l as AuthResource, m as Author, B as BuilderInput, C as CaptchaCredentials, n as ChangelogEntry, o as Clan, p as ClientHooks, q as Comment, r as CommentBuilder, s as CommentInput, t as CommentReplyTo, u as CommentSort, v as CommentsParams, w as CommentsResource, x as CreateCommentInput, y as CreatePollInput, z as CreatePostInput, D as CreateReportInput, E as Credentials, G as CredentialsAuth, H as DEFAULT_BASE_URL, J as DEFAULT_TIMEOUT, K as DEFAULT_USER_AGENT, L as DEVICE_ID_HEADER, M as DwellEntry, N as ErrorContextHook, O as FeedParams, P as FeedTab, Q as FileInput, R as FilesResource, S as FollowResult, U as ForgotPasswordInput, V as Hashtag, W as HashtagPostsParams, X as HashtagsResource, Y as IMAGE_MIME_TYPES, Z as InteractionEntry, _ as IsoDate, $ as ItdAbortError, a0 as ItdApiError, a1 as ItdApiErrorInit, a2 as ItdAuthError, a3 as ItdBuilder, a as ItdClient, b as ItdClientOptions, a4 as ItdConfigError, a5 as ItdConflictError, a6 as ItdError, a7 as ItdErrorCode, a8 as ItdErrorKind, a9 as ItdFieldErrors, aa as ItdForbiddenError, ab as ItdNetworkError, ac as ItdNotFoundError, ad as ItdPhoneVerificationError, ae as ItdRateLimitError, af as ItdRealtime, ag as ItdServerError, I as ItdSession, ah as ItdTimeoutError, ai as ItdValidationError, aj as LIBRARY_VERSION, ak as LikeResult, al as LikesVisibility, am as Listener, an as LocalStorageTokenStorage, ao as Logger, ap as Loose, aq as MAX_RECONNECT_ATTEMPTS, 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, aA as OAuthProvider, aB as Page, aC as PageState, aD as PaginationMode, aE as Paginator, aF as PaymentMethod, aG as Pin, aH as PinPostResult, aI as PinsResult, aJ as PlatformResource, aK as Poll, aL as PollBuilder, aM as PollInput, aN as PollOption, aO as PollTransportOptions, aP as Portal, aQ as Post, aR as PostBuilder, aS as PostInput, aT as PostStats, aU as PostsResource, aV as PrivacySettings, aW as Profile, aX as PublicProfile, aY as RECONNECT_BACKOFF, aZ as RECONNECT_JITTER, a_ as REFRESH_COOKIE, a$ as REFRESH_COOKIE_PATH, b0 as RateLimitOptions, b1 as RawRequestOptions, b2 as RealtimeEvents, b3 as RealtimeOptions, b4 as RealtimeStatus, b5 as RealtimeTransport, b6 as RealtimeTransportKind, b7 as ReconnectOptions, b8 as RepliesParams, b9 as Report, ba as ReportBuilder, bb as ReportInput, bc as ReportReason, bd as ReportTargetType, be as ReportsResource, bf as RequestContext, bg as RequestOptions, bh as ResetPasswordInput, bi as ResponseContext, bj as RetryContext, bk as RetryOptions, bl as RuntimeMode, bm as STREAM_PATH, bn as SearchResource, bo as SearchResult, bp as Session, bq as SignInResult, br as Span, bs as SseTransportOptions, bt as Subscription, bu as SubscriptionResource, bv as SubscriptionState, bw as TURNSTILE_SITE_KEY, bx as TelemetryResource, T as TokenStorage, by as TransportContext, bz as TransportEvent, bA as Unsubscribe, bB as UpdateNotificationSettingsInput, bC as UpdatePrivacyInput, bD as UpdateProfileInput, bE as UploadOptions, bF as UploadedFile, bG as UserId, bH as UserListParams, bI as UserPostsParams, bJ as UserRef, bK as UserSummary, bL as UsersResource, bM as VIDEO_MIME_TYPES, bN as VerificationResource, bO as VerificationStatus, bP as WallAccess, bQ as canonicalNotificationType, bR as comment, c8 as createClient, bS as createTokenStorage, bT as formatNotificationText, bU as isBuilder, bV as isItdApiError, bW as isItdAuthError, bX as isItdError, bY as isItdRateLimitError, bZ as isItdValidationError, b_ as isKnownNotificationType, b$ as isMyProfile, c0 as normalizeNotification, c1 as poll, c2 as post, c3 as readNotificationEvent, c4 as readUnreadCountEvent, c5 as report, c6 as resolveNotificationUrl, c7 as toDate } from './index-BCuk8jNA.cjs';
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { A as ALLOWED_MIME_TYPES, c as AUDIO_MIME_TYPES, d as Actor, e as Announcement, f as AnnouncementButton, g as Attachment, h as AttachmentType, i as AuthInput, j as AuthResource, k as Author, B as BuilderInput, C as ChangelogEntry, l as Clan, m as ClientHooks, n as Comment, o as CommentBuilder, p as CommentInput, q as CommentReplyTo, r as CommentSort, s as CommentsParams, t as CommentsResource, u as CreateCommentInput, v as CreatePollInput, w as CreatePostInput, x as CreateReportInput, y as Credentials, D as DEFAULT_BASE_URL, z as DEFAULT_TIMEOUT, E as DwellEntry, G as ErrorContextHook, H as FeedParams, J as FeedTab, K as FileInput, L as FilesResource, M as FollowResult, N as Hashtag, O as HashtagPostsParams, P as HashtagsResource, Q as IMAGE_MIME_TYPES, R as InteractionEntry, S as IsoDate, U as ItdAbortError, V as ItdApiError, W as ItdApiErrorInit, X as ItdAuthError, Y as ItdBuilder, a as ItdClient, b as ItdClientOptions, Z as ItdConfigError, _ as ItdConflictError, $ as ItdError, a0 as ItdErrorCode, a1 as ItdErrorKind, a2 as ItdFieldErrors, a3 as ItdForbiddenError, a4 as ItdNetworkError, a5 as ItdNotFoundError, a6 as ItdPhoneVerificationError, a7 as ItdRateLimitError, a8 as ItdRealtime, a9 as ItdServerError, I as ItdSession, aa as ItdTimeoutError, ab as ItdValidationError, ac as LikeResult, ad as LikesVisibility, ae as Listener, af as LocalStorageTokenStorage, ag as Logger, ah as Loose, ai as MAX_RECONNECT_ATTEMPTS, aj as MemoryTokenStorage, ak as MyProfile, al as NOTIFICATION_TYPE_ALIASES, am as Notification, an as NotificationEvent, ao as NotificationListParams, ap as NotificationSettings, aq as NotificationType, ar as NotificationsResource, as as OAuthProvider, at as Page, au as PageState, av as PaginationMode, aw as Paginator, ax as PaymentMethod, ay as Pin, az as PinPostResult, aA as PinsResult, aB as PlatformResource, aC as Poll, aD as PollBuilder, aE as PollInput, aF as PollOption, aG as PollTransportOptions, aH as Portal, aI as Post, aJ as PostBuilder, aK as PostInput, aL as PostStats, aM as PostsResource, aN as PrivacySettings, aO as Profile, aP as PublicProfile, aQ as RECONNECT_BACKOFF, aR as RECONNECT_JITTER, aS as RateLimitOptions, aT as RawRequestOptions, aU as RealtimeEvents, aV as RealtimeOptions, aW as RealtimeStatus, aX as RealtimeTransport, aY as RealtimeTransportKind, aZ as ReconnectOptions, a_ as RepliesParams, a$ as Report, b0 as ReportBuilder, b1 as ReportInput, b2 as ReportReason, b3 as ReportTargetType, b4 as ReportsResource, b5 as RequestContext, b6 as RequestOptions, b7 as ResponseContext, b8 as RetryContext, b9 as RetryOptions, ba as RuntimeMode, bb as STREAM_PATH, bc as SearchResource, bd as SearchResult, be as Session, bf as SignInResult, bg as Span, bh as SseTransportOptions, bi as Subscription, bj as SubscriptionResource, bk as SubscriptionState, bl as TelemetryResource, T as TokenStorage, bm as TransportContext, bn as TransportEvent, bo as Unsubscribe, bp as UpdateNotificationSettingsInput, bq as UpdatePrivacyInput, br as UpdateProfileInput, bs as UploadOptions, bt as UploadedFile, bu as UserId, bv as UserListParams, bw as UserPostsParams, bx as UserRef, by as UserSummary, bz as UsersResource, bA as VIDEO_MIME_TYPES, bB as VerificationResource, bC as VerificationStatus, bD as WallAccess, bE as canonicalNotificationType, bF as comment, bY as createClient, bG as createTokenStorage, bH as formatNotificationText, bI as isBuilder, bJ as isItdApiError, bK as isItdAuthError, bL as isItdError, bM as isItdRateLimitError, bN as isItdValidationError, bO as isKnownNotificationType, bP as isMyProfile, bQ as normalizeNotification, bR as poll, bS as post, bT as readNotificationEvent, bU as readUnreadCountEvent, bV as report, bW as resolveNotificationUrl, bX as toDate } from './index-RzyK1gKg.js';
1
+ export { A as ALLOWED_MIME_TYPES, c as AUDIO_MIME_TYPES, d as AUTH_FLAG_COOKIE, e as AUTH_PATHS, f as Actor, g as Announcement, h as AnnouncementButton, i as Attachment, j as AttachmentType, k as AuthInput, l as AuthResource, m as Author, B as BuilderInput, C as CaptchaCredentials, n as ChangelogEntry, o as Clan, p as ClientHooks, q as Comment, r as CommentBuilder, s as CommentInput, t as CommentReplyTo, u as CommentSort, v as CommentsParams, w as CommentsResource, x as CreateCommentInput, y as CreatePollInput, z as CreatePostInput, D as CreateReportInput, E as Credentials, G as CredentialsAuth, H as DEFAULT_BASE_URL, J as DEFAULT_TIMEOUT, K as DEFAULT_USER_AGENT, L as DEVICE_ID_HEADER, M as DwellEntry, N as ErrorContextHook, O as FeedParams, P as FeedTab, Q as FileInput, R as FilesResource, S as FollowResult, U as ForgotPasswordInput, V as Hashtag, W as HashtagPostsParams, X as HashtagsResource, Y as IMAGE_MIME_TYPES, Z as InteractionEntry, _ as IsoDate, $ as ItdAbortError, a0 as ItdApiError, a1 as ItdApiErrorInit, a2 as ItdAuthError, a3 as ItdBuilder, a as ItdClient, b as ItdClientOptions, a4 as ItdConfigError, a5 as ItdConflictError, a6 as ItdError, a7 as ItdErrorCode, a8 as ItdErrorKind, a9 as ItdFieldErrors, aa as ItdForbiddenError, ab as ItdNetworkError, ac as ItdNotFoundError, ad as ItdPhoneVerificationError, ae as ItdRateLimitError, af as ItdRealtime, ag as ItdServerError, I as ItdSession, ah as ItdTimeoutError, ai as ItdValidationError, aj as LIBRARY_VERSION, ak as LikeResult, al as LikesVisibility, am as Listener, an as LocalStorageTokenStorage, ao as Logger, ap as Loose, aq as MAX_RECONNECT_ATTEMPTS, 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, aA as OAuthProvider, aB as Page, aC as PageState, aD as PaginationMode, aE as Paginator, aF as PaymentMethod, aG as Pin, aH as PinPostResult, aI as PinsResult, aJ as PlatformResource, aK as Poll, aL as PollBuilder, aM as PollInput, aN as PollOption, aO as PollTransportOptions, aP as Portal, aQ as Post, aR as PostBuilder, aS as PostInput, aT as PostStats, aU as PostsResource, aV as PrivacySettings, aW as Profile, aX as PublicProfile, aY as RECONNECT_BACKOFF, aZ as RECONNECT_JITTER, a_ as REFRESH_COOKIE, a$ as REFRESH_COOKIE_PATH, b0 as RateLimitOptions, b1 as RawRequestOptions, b2 as RealtimeEvents, b3 as RealtimeOptions, b4 as RealtimeStatus, b5 as RealtimeTransport, b6 as RealtimeTransportKind, b7 as ReconnectOptions, b8 as RepliesParams, b9 as Report, ba as ReportBuilder, bb as ReportInput, bc as ReportReason, bd as ReportTargetType, be as ReportsResource, bf as RequestContext, bg as RequestOptions, bh as ResetPasswordInput, bi as ResponseContext, bj as RetryContext, bk as RetryOptions, bl as RuntimeMode, bm as STREAM_PATH, bn as SearchResource, bo as SearchResult, bp as Session, bq as SignInResult, br as Span, bs as SseTransportOptions, bt as Subscription, bu as SubscriptionResource, bv as SubscriptionState, bw as TURNSTILE_SITE_KEY, bx as TelemetryResource, T as TokenStorage, by as TransportContext, bz as TransportEvent, bA as Unsubscribe, bB as UpdateNotificationSettingsInput, bC as UpdatePrivacyInput, bD as UpdateProfileInput, bE as UploadOptions, bF as UploadedFile, bG as UserId, bH as UserListParams, bI as UserPostsParams, bJ as UserRef, bK as UserSummary, bL as UsersResource, bM as VIDEO_MIME_TYPES, bN as VerificationResource, bO as VerificationStatus, bP as WallAccess, bQ as canonicalNotificationType, bR as comment, c8 as createClient, bS as createTokenStorage, bT as formatNotificationText, bU as isBuilder, bV as isItdApiError, bW as isItdAuthError, bX as isItdError, bY as isItdRateLimitError, bZ as isItdValidationError, b_ as isKnownNotificationType, b$ as isMyProfile, c0 as normalizeNotification, c1 as poll, c2 as post, c3 as readNotificationEvent, c4 as readUnreadCountEvent, c5 as report, c6 as resolveNotificationUrl, c7 as toDate } from './index-BCuk8jNA.js';
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { ALLOWED_MIME_TYPES, AUDIO_MIME_TYPES, AttachmentType, CommentSort, DEFAULT_BASE_URL, DEFAULT_TIMEOUT, FeedTab, IMAGE_MIME_TYPES, ItdAbortError, ItdApiError, ItdAuthError, ItdClient, ItdConfigError, ItdConflictError, ItdError, ItdErrorCode, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdPhoneVerificationError, ItdRateLimitError, ItdRealtime, ItdServerError, ItdTimeoutError, ItdValidationError, LikesVisibility, LocalStorageTokenStorage, MAX_RECONNECT_ATTEMPTS, MemoryTokenStorage, NOTIFICATION_TYPE_ALIASES, NotificationType, Paginator, RECONNECT_BACKOFF, RECONNECT_JITTER, RealtimeStatus, ReportReason, ReportTargetType, STREAM_PATH, VIDEO_MIME_TYPES, WallAccess, canonicalNotificationType, comment, createClient, createTokenStorage, formatNotificationText, isBuilder, isItdApiError, isItdAuthError, isItdError, isItdRateLimitError, isItdValidationError, isKnownNotificationType, isMyProfile, normalizeNotification, poll, post, readNotificationEvent, readUnreadCountEvent, report, resolveNotificationUrl, toDate } from './chunk-76C65H5J.js';
1
+ export { ALLOWED_MIME_TYPES, AUDIO_MIME_TYPES, AUTH_FLAG_COOKIE, AUTH_PATHS, AttachmentType, CommentSort, DEFAULT_BASE_URL, DEFAULT_TIMEOUT, DEFAULT_USER_AGENT, DEVICE_ID_HEADER, FeedTab, IMAGE_MIME_TYPES, ItdAbortError, ItdApiError, ItdAuthError, ItdClient, ItdConfigError, ItdConflictError, ItdError, ItdErrorCode, ItdForbiddenError, ItdNetworkError, ItdNotFoundError, ItdPhoneVerificationError, ItdRateLimitError, ItdRealtime, ItdServerError, ItdTimeoutError, ItdValidationError, LIBRARY_VERSION, LikesVisibility, LocalStorageTokenStorage, MAX_RECONNECT_ATTEMPTS, MemoryTokenStorage, NOTIFICATION_TYPE_ALIASES, NotificationType, Paginator, RECONNECT_BACKOFF, RECONNECT_JITTER, REFRESH_COOKIE, REFRESH_COOKIE_PATH, RealtimeStatus, ReportReason, ReportTargetType, STREAM_PATH, TURNSTILE_SITE_KEY, VIDEO_MIME_TYPES, WallAccess, canonicalNotificationType, comment, createClient, createTokenStorage, formatNotificationText, isBuilder, isItdApiError, isItdAuthError, isItdError, isItdRateLimitError, isItdValidationError, isKnownNotificationType, isMyProfile, normalizeNotification, poll, post, readNotificationEvent, readUnreadCountEvent, report, resolveNotificationUrl, toDate } from './chunk-JIT55WDH.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map