rettiwt-api 5.0.0-alpha.3 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +160 -87
- package/dist/collections/Extractors.d.ts +6 -2
- package/dist/collections/Extractors.js +1 -0
- package/dist/collections/Extractors.js.map +1 -1
- package/dist/collections/Groups.js +1 -0
- package/dist/collections/Groups.js.map +1 -1
- package/dist/collections/Requests.d.ts +1 -1
- package/dist/collections/Requests.js +4 -2
- package/dist/collections/Requests.js.map +1 -1
- package/dist/collections/Tweet.d.ts +10 -0
- package/dist/collections/Tweet.js +17 -0
- package/dist/collections/Tweet.js.map +1 -0
- package/dist/commands/Tweet.js +0 -16
- package/dist/commands/Tweet.js.map +1 -1
- package/dist/commands/User.js +15 -15
- package/dist/commands/User.js.map +1 -1
- package/dist/enums/Api.d.ts +1 -51
- package/dist/enums/Api.js +1 -52
- package/dist/enums/Api.js.map +1 -1
- package/dist/enums/Resource.d.ts +1 -0
- package/dist/enums/Resource.js +1 -0
- package/dist/enums/Resource.js.map +1 -1
- package/dist/enums/Tweet.d.ts +8 -0
- package/dist/enums/Tweet.js +13 -0
- package/dist/enums/Tweet.js.map +1 -0
- package/dist/enums/raw/Tweet.d.ts +11 -1
- package/dist/enums/raw/Tweet.js +13 -2
- package/dist/enums/raw/Tweet.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/dist/models/RettiwtConfig.d.ts +27 -3
- package/dist/models/RettiwtConfig.js +37 -4
- package/dist/models/RettiwtConfig.js.map +1 -1
- package/dist/models/args/FetchArgs.d.ts +3 -3
- package/dist/models/args/FetchArgs.js +3 -2
- package/dist/models/args/FetchArgs.js.map +1 -1
- package/dist/models/args/PostArgs.d.ts +2 -3
- package/dist/models/args/PostArgs.js +3 -3
- package/dist/models/args/PostArgs.js.map +1 -1
- package/dist/models/auth/AuthCookie.d.ts +1 -1
- package/dist/models/auth/AuthCookie.js +1 -1
- package/dist/models/auth/AuthCredential.d.ts +1 -1
- package/dist/models/auth/AuthCredential.js +1 -1
- package/dist/models/data/List.d.ts +4 -0
- package/dist/models/data/List.js +7 -0
- package/dist/models/data/List.js.map +1 -1
- package/dist/models/data/Notification.d.ts +4 -0
- package/dist/models/data/Notification.js +7 -0
- package/dist/models/data/Notification.js.map +1 -1
- package/dist/models/data/Tweet.d.ts +4 -0
- package/dist/models/data/Tweet.js +7 -0
- package/dist/models/data/Tweet.js.map +1 -1
- package/dist/models/data/User.d.ts +4 -0
- package/dist/models/data/User.js +7 -0
- package/dist/models/data/User.js.map +1 -1
- package/dist/models/errors/TwitterError.d.ts +37 -0
- package/dist/models/errors/TwitterError.js +60 -0
- package/dist/models/errors/TwitterError.js.map +1 -0
- package/dist/requests/List.js +28 -9
- package/dist/requests/List.js.map +1 -1
- package/dist/requests/Tweet.d.ts +2 -1
- package/dist/requests/Tweet.js +94 -38
- package/dist/requests/Tweet.js.map +1 -1
- package/dist/requests/User.js +231 -111
- package/dist/requests/User.js.map +1 -1
- package/dist/services/internal/AuthService.d.ts +6 -6
- package/dist/services/internal/AuthService.js +7 -8
- package/dist/services/internal/AuthService.js.map +1 -1
- package/dist/services/internal/ErrorService.d.ts +5 -76
- package/dist/services/internal/ErrorService.js +13 -116
- package/dist/services/internal/ErrorService.js.map +1 -1
- package/dist/services/internal/TidService.d.ts +4 -5
- package/dist/services/internal/TidService.js +18 -24
- package/dist/services/internal/TidService.js.map +1 -1
- package/dist/services/public/FetcherService.d.ts +4 -3
- package/dist/services/public/FetcherService.js +8 -7
- package/dist/services/public/FetcherService.js.map +1 -1
- package/dist/services/public/ListService.d.ts +6 -4
- package/dist/services/public/ListService.js +6 -4
- package/dist/services/public/ListService.js.map +1 -1
- package/dist/services/public/TweetService.d.ts +96 -74
- package/dist/services/public/TweetService.js +97 -87
- package/dist/services/public/TweetService.js.map +1 -1
- package/dist/services/public/UserService.d.ts +106 -38
- package/dist/services/public/UserService.js +126 -43
- package/dist/services/public/UserService.js.map +1 -1
- package/dist/types/args/FetchArgs.d.ts +8 -0
- package/dist/types/errors/TwitterError.d.ts +30 -0
- package/dist/types/{raw/generic/Error.js → errors/TwitterError.js} +1 -1
- package/dist/types/errors/TwitterError.js.map +1 -0
- package/dist/types/raw/base/Error.d.ts +32 -0
- package/dist/types/raw/base/Error.js +4 -0
- package/dist/types/raw/base/Error.js.map +1 -0
- package/dist/types/raw/generic/Response.d.ts +0 -2
- package/dist/types/raw/tweet/DetailsBulk.d.ts +288 -0
- package/dist/types/raw/tweet/DetailsBulk.js +4 -0
- package/dist/types/raw/tweet/DetailsBulk.js.map +1 -0
- package/dist/types/raw/user/DetailsBulk.d.ts +91 -0
- package/dist/types/raw/user/DetailsBulk.js +4 -0
- package/dist/types/raw/user/DetailsBulk.js.map +1 -0
- package/package.json +1 -1
- package/src/collections/Extractors.ts +8 -2
- package/src/collections/Groups.ts +1 -0
- package/src/collections/Requests.ts +6 -2
- package/src/collections/Tweet.ts +17 -0
- package/src/commands/Tweet.ts +0 -16
- package/src/commands/User.ts +15 -15
- package/src/enums/Api.ts +0 -51
- package/src/enums/Resource.ts +1 -0
- package/src/enums/Tweet.ts +8 -0
- package/src/enums/raw/Tweet.ts +12 -1
- package/src/index.ts +6 -6
- package/src/models/RettiwtConfig.ts +43 -4
- package/src/models/args/FetchArgs.ts +4 -3
- package/src/models/args/PostArgs.ts +3 -4
- package/src/models/auth/AuthCookie.ts +1 -1
- package/src/models/auth/AuthCredential.ts +1 -1
- package/src/models/data/List.ts +9 -0
- package/src/models/data/Notification.ts +10 -0
- package/src/models/data/Tweet.ts +9 -0
- package/src/models/data/User.ts +9 -0
- package/src/models/errors/TwitterError.ts +65 -0
- package/src/requests/List.ts +28 -9
- package/src/requests/Tweet.ts +95 -39
- package/src/requests/User.ts +231 -111
- package/src/services/internal/AuthService.ts +8 -9
- package/src/services/internal/ErrorService.ts +14 -132
- package/src/services/internal/TidService.ts +21 -28
- package/src/services/public/FetcherService.ts +8 -7
- package/src/services/public/ListService.ts +6 -4
- package/src/services/public/TweetService.ts +104 -95
- package/src/services/public/UserService.ts +143 -51
- package/src/types/args/FetchArgs.ts +10 -0
- package/src/types/errors/TwitterError.ts +37 -0
- package/src/types/raw/base/Error.ts +37 -0
- package/src/types/raw/generic/Response.ts +0 -3
- package/src/types/raw/tweet/DetailsBulk.ts +338 -0
- package/src/types/raw/user/DetailsBulk.ts +104 -0
- package/dist/enums/Http.d.ts +0 -68
- package/dist/enums/Http.js +0 -73
- package/dist/enums/Http.js.map +0 -1
- package/dist/models/errors/ApiError.d.ts +0 -15
- package/dist/models/errors/ApiError.js +0 -23
- package/dist/models/errors/ApiError.js.map +0 -1
- package/dist/models/errors/HttpError.d.ts +0 -15
- package/dist/models/errors/HttpError.js +0 -23
- package/dist/models/errors/HttpError.js.map +0 -1
- package/dist/models/errors/RettiwtError.d.ts +0 -9
- package/dist/models/errors/RettiwtError.js +0 -17
- package/dist/models/errors/RettiwtError.js.map +0 -1
- package/dist/models/errors/TimeoutError.d.ts +0 -12
- package/dist/models/errors/TimeoutError.js +0 -19
- package/dist/models/errors/TimeoutError.js.map +0 -1
- package/dist/types/raw/generic/Error.d.ts +0 -30
- package/dist/types/raw/generic/Error.js.map +0 -1
- package/src/enums/Http.ts +0 -68
- package/src/models/errors/ApiError.ts +0 -21
- package/src/models/errors/HttpError.ts +0 -21
- package/src/models/errors/RettiwtError.ts +0 -13
- package/src/models/errors/TimeoutError.ts +0 -15
- package/src/types/raw/generic/Error.ts +0 -35
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
export interface ITweetDetailsBulkResponse {
|
|
4
|
+
data: Data;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface Data {
|
|
8
|
+
tweetResult: TweetResult[];
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface TweetResult {
|
|
12
|
+
result: Result;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface Result {
|
|
16
|
+
__typename: string;
|
|
17
|
+
rest_id: string;
|
|
18
|
+
core: Core;
|
|
19
|
+
unmention_data: UnmentionData;
|
|
20
|
+
edit_control: EditControl;
|
|
21
|
+
is_translatable: boolean;
|
|
22
|
+
views: Views;
|
|
23
|
+
source: string;
|
|
24
|
+
legacy: Legacy2;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface Core {
|
|
28
|
+
user_results: UserResults;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface UserResults {
|
|
32
|
+
result: Result2;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface Result2 {
|
|
36
|
+
__typename: string;
|
|
37
|
+
id: string;
|
|
38
|
+
rest_id: string;
|
|
39
|
+
affiliates_highlighted_label: AffiliatesHighlightedLabel;
|
|
40
|
+
has_graduated_access: boolean;
|
|
41
|
+
is_blue_verified: boolean;
|
|
42
|
+
profile_image_shape: string;
|
|
43
|
+
legacy: Legacy;
|
|
44
|
+
verified_phone_status: boolean;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface AffiliatesHighlightedLabel {}
|
|
48
|
+
|
|
49
|
+
export interface Legacy {
|
|
50
|
+
following: boolean;
|
|
51
|
+
can_dm: boolean;
|
|
52
|
+
can_media_tag: boolean;
|
|
53
|
+
created_at: string;
|
|
54
|
+
default_profile: boolean;
|
|
55
|
+
default_profile_image: boolean;
|
|
56
|
+
description: string;
|
|
57
|
+
entities: Entities;
|
|
58
|
+
fast_followers_count: number;
|
|
59
|
+
favourites_count: number;
|
|
60
|
+
followers_count: number;
|
|
61
|
+
friends_count: number;
|
|
62
|
+
has_custom_timelines: boolean;
|
|
63
|
+
is_translator: boolean;
|
|
64
|
+
listed_count: number;
|
|
65
|
+
location: string;
|
|
66
|
+
media_count: number;
|
|
67
|
+
name: string;
|
|
68
|
+
normal_followers_count: number;
|
|
69
|
+
pinned_tweet_ids_str: string[];
|
|
70
|
+
possibly_sensitive: boolean;
|
|
71
|
+
profile_banner_url: string;
|
|
72
|
+
profile_image_url_https: string;
|
|
73
|
+
profile_interstitial_type: string;
|
|
74
|
+
screen_name: string;
|
|
75
|
+
statuses_count: number;
|
|
76
|
+
translator_type: string;
|
|
77
|
+
verified: boolean;
|
|
78
|
+
want_retweets: boolean;
|
|
79
|
+
withheld_in_countries: any[];
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export interface Entities {
|
|
83
|
+
description: Description;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export interface Description {
|
|
87
|
+
urls: any[];
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export interface UnmentionData {}
|
|
91
|
+
|
|
92
|
+
export interface EditControl {
|
|
93
|
+
edit_tweet_ids: string[];
|
|
94
|
+
editable_until_msecs: string;
|
|
95
|
+
is_edit_eligible: boolean;
|
|
96
|
+
edits_remaining: string;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface Views {
|
|
100
|
+
count: string;
|
|
101
|
+
state: string;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface Legacy2 {
|
|
105
|
+
bookmark_count: number;
|
|
106
|
+
bookmarked: boolean;
|
|
107
|
+
created_at: string;
|
|
108
|
+
conversation_id_str: string;
|
|
109
|
+
display_text_range: number[];
|
|
110
|
+
entities: Entities2;
|
|
111
|
+
extended_entities: ExtendedEntities;
|
|
112
|
+
favorite_count: number;
|
|
113
|
+
favorited: boolean;
|
|
114
|
+
full_text: string;
|
|
115
|
+
is_quote_status: boolean;
|
|
116
|
+
lang: string;
|
|
117
|
+
possibly_sensitive: boolean;
|
|
118
|
+
possibly_sensitive_editable: boolean;
|
|
119
|
+
quote_count: number;
|
|
120
|
+
reply_count: number;
|
|
121
|
+
retweet_count: number;
|
|
122
|
+
retweeted: boolean;
|
|
123
|
+
user_id_str: string;
|
|
124
|
+
id_str: string;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export interface Entities2 {
|
|
128
|
+
hashtags: any[];
|
|
129
|
+
media: Medum[];
|
|
130
|
+
symbols: any[];
|
|
131
|
+
timestamps: any[];
|
|
132
|
+
urls: any[];
|
|
133
|
+
user_mentions: any[];
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export interface Medum {
|
|
137
|
+
display_url: string;
|
|
138
|
+
expanded_url: string;
|
|
139
|
+
id_str: string;
|
|
140
|
+
indices: number[];
|
|
141
|
+
media_key: string;
|
|
142
|
+
media_url_https: string;
|
|
143
|
+
type: string;
|
|
144
|
+
url: string;
|
|
145
|
+
ext_media_availability: ExtMediaAvailability;
|
|
146
|
+
features: Features;
|
|
147
|
+
sizes: Sizes;
|
|
148
|
+
original_info: OriginalInfo;
|
|
149
|
+
allow_download_status: AllowDownloadStatus;
|
|
150
|
+
media_results: MediaResults;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export interface ExtMediaAvailability {
|
|
154
|
+
status: string;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export interface Features {
|
|
158
|
+
large: Large;
|
|
159
|
+
medium: Medium;
|
|
160
|
+
small: Small;
|
|
161
|
+
orig: Orig;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export interface Large {
|
|
165
|
+
faces: any[];
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export interface Medium {
|
|
169
|
+
faces: any[];
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export interface Small {
|
|
173
|
+
faces: any[];
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface Orig {
|
|
177
|
+
faces: any[];
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export interface Sizes {
|
|
181
|
+
large: Large2;
|
|
182
|
+
medium: Medium2;
|
|
183
|
+
small: Small2;
|
|
184
|
+
thumb: Thumb;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export interface Large2 {
|
|
188
|
+
h: number;
|
|
189
|
+
w: number;
|
|
190
|
+
resize: string;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export interface Medium2 {
|
|
194
|
+
h: number;
|
|
195
|
+
w: number;
|
|
196
|
+
resize: string;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export interface Small2 {
|
|
200
|
+
h: number;
|
|
201
|
+
w: number;
|
|
202
|
+
resize: string;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export interface Thumb {
|
|
206
|
+
h: number;
|
|
207
|
+
w: number;
|
|
208
|
+
resize: string;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export interface OriginalInfo {
|
|
212
|
+
height: number;
|
|
213
|
+
width: number;
|
|
214
|
+
focus_rects: FocusRect[];
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export interface FocusRect {
|
|
218
|
+
x: number;
|
|
219
|
+
y: number;
|
|
220
|
+
w: number;
|
|
221
|
+
h: number;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export interface AllowDownloadStatus {
|
|
225
|
+
allow_download: boolean;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export interface MediaResults {
|
|
229
|
+
result: Result3;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export interface Result3 {
|
|
233
|
+
media_key: string;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export interface ExtendedEntities {
|
|
237
|
+
media: Medum2[];
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export interface Medum2 {
|
|
241
|
+
display_url: string;
|
|
242
|
+
expanded_url: string;
|
|
243
|
+
id_str: string;
|
|
244
|
+
indices: number[];
|
|
245
|
+
media_key: string;
|
|
246
|
+
media_url_https: string;
|
|
247
|
+
type: string;
|
|
248
|
+
url: string;
|
|
249
|
+
ext_media_availability: ExtMediaAvailability2;
|
|
250
|
+
features: Features2;
|
|
251
|
+
sizes: Sizes2;
|
|
252
|
+
original_info: OriginalInfo2;
|
|
253
|
+
allow_download_status: AllowDownloadStatus2;
|
|
254
|
+
media_results: MediaResults2;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export interface ExtMediaAvailability2 {
|
|
258
|
+
status: string;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export interface Features2 {
|
|
262
|
+
large: Large3;
|
|
263
|
+
medium: Medium3;
|
|
264
|
+
small: Small3;
|
|
265
|
+
orig: Orig2;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export interface Large3 {
|
|
269
|
+
faces: any[];
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export interface Medium3 {
|
|
273
|
+
faces: any[];
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export interface Small3 {
|
|
277
|
+
faces: any[];
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export interface Orig2 {
|
|
281
|
+
faces: any[];
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export interface Sizes2 {
|
|
285
|
+
large: Large4;
|
|
286
|
+
medium: Medium4;
|
|
287
|
+
small: Small4;
|
|
288
|
+
thumb: Thumb2;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export interface Large4 {
|
|
292
|
+
h: number;
|
|
293
|
+
w: number;
|
|
294
|
+
resize: string;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export interface Medium4 {
|
|
298
|
+
h: number;
|
|
299
|
+
w: number;
|
|
300
|
+
resize: string;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export interface Small4 {
|
|
304
|
+
h: number;
|
|
305
|
+
w: number;
|
|
306
|
+
resize: string;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export interface Thumb2 {
|
|
310
|
+
h: number;
|
|
311
|
+
w: number;
|
|
312
|
+
resize: string;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export interface OriginalInfo2 {
|
|
316
|
+
height: number;
|
|
317
|
+
width: number;
|
|
318
|
+
focus_rects: FocusRect2[];
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export interface FocusRect2 {
|
|
322
|
+
x: number;
|
|
323
|
+
y: number;
|
|
324
|
+
w: number;
|
|
325
|
+
h: number;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export interface AllowDownloadStatus2 {
|
|
329
|
+
allow_download: boolean;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export interface MediaResults2 {
|
|
333
|
+
result: Result4;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export interface Result4 {
|
|
337
|
+
media_key: string;
|
|
338
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
export interface IUserDetailsBulkResponse {
|
|
4
|
+
data: Data;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface Data {
|
|
8
|
+
users: User[];
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface User {
|
|
12
|
+
result: Result;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface Result {
|
|
16
|
+
__typename: string;
|
|
17
|
+
id: string;
|
|
18
|
+
rest_id: string;
|
|
19
|
+
affiliates_highlighted_label: AffiliatesHighlightedLabel;
|
|
20
|
+
has_graduated_access: boolean;
|
|
21
|
+
is_blue_verified: boolean;
|
|
22
|
+
profile_image_shape: string;
|
|
23
|
+
legacy: Legacy;
|
|
24
|
+
professional?: Professional;
|
|
25
|
+
super_follow_eligible: boolean;
|
|
26
|
+
super_followed_by: boolean;
|
|
27
|
+
super_following: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface AffiliatesHighlightedLabel {
|
|
31
|
+
label?: Label;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface Label {
|
|
35
|
+
url: Url;
|
|
36
|
+
badge: Badge;
|
|
37
|
+
description: string;
|
|
38
|
+
userLabelType: string;
|
|
39
|
+
userLabelDisplayType: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface Url {
|
|
43
|
+
url: string;
|
|
44
|
+
urlType: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface Badge {
|
|
48
|
+
url: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface Legacy {
|
|
52
|
+
blocked_by: boolean;
|
|
53
|
+
blocking: boolean;
|
|
54
|
+
follow_request_sent: boolean;
|
|
55
|
+
followed_by: boolean;
|
|
56
|
+
muting: boolean;
|
|
57
|
+
notifications: boolean;
|
|
58
|
+
protected: boolean;
|
|
59
|
+
following: boolean;
|
|
60
|
+
can_dm: boolean;
|
|
61
|
+
can_media_tag: boolean;
|
|
62
|
+
created_at: string;
|
|
63
|
+
default_profile: boolean;
|
|
64
|
+
default_profile_image: boolean;
|
|
65
|
+
description: string;
|
|
66
|
+
entities: Entities;
|
|
67
|
+
fast_followers_count: number;
|
|
68
|
+
favourites_count: number;
|
|
69
|
+
followers_count: number;
|
|
70
|
+
friends_count: number;
|
|
71
|
+
has_custom_timelines: boolean;
|
|
72
|
+
is_translator: boolean;
|
|
73
|
+
listed_count: number;
|
|
74
|
+
location: string;
|
|
75
|
+
media_count: number;
|
|
76
|
+
name: string;
|
|
77
|
+
normal_followers_count: number;
|
|
78
|
+
pinned_tweet_ids_str: any[];
|
|
79
|
+
possibly_sensitive: boolean;
|
|
80
|
+
profile_banner_url?: string;
|
|
81
|
+
profile_image_url_https: string;
|
|
82
|
+
profile_interstitial_type: string;
|
|
83
|
+
screen_name: string;
|
|
84
|
+
statuses_count: number;
|
|
85
|
+
translator_type: string;
|
|
86
|
+
verified: boolean;
|
|
87
|
+
want_retweets: boolean;
|
|
88
|
+
withheld_in_countries: any[];
|
|
89
|
+
needs_phone_verification?: boolean;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface Entities {
|
|
93
|
+
description: Description;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface Description {
|
|
97
|
+
urls: any[];
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export interface Professional {
|
|
101
|
+
rest_id: string;
|
|
102
|
+
professional_type: string;
|
|
103
|
+
category: any[];
|
|
104
|
+
}
|
package/dist/enums/Http.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The different types of http status codes
|
|
3
|
-
*
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export declare enum EHttpStatus {
|
|
7
|
-
CONTINUE = 100,
|
|
8
|
-
SWITCHING_PROTOCOLS = 101,
|
|
9
|
-
PROCESSING = 102,
|
|
10
|
-
OK = 200,
|
|
11
|
-
CREATED = 201,
|
|
12
|
-
ACCEPTED = 202,
|
|
13
|
-
NON_AUTHORITATIVE_INFORMATION = 203,
|
|
14
|
-
NO_CONTENT = 204,
|
|
15
|
-
RESET_CONTENT = 205,
|
|
16
|
-
PARTIAL_CONTENT = 206,
|
|
17
|
-
MULTI_STATUS = 207,
|
|
18
|
-
ALREADY_REPORTED = 208,
|
|
19
|
-
IM_USED = 226,
|
|
20
|
-
MULTIPLE_CHOICES = 300,
|
|
21
|
-
MOVED_PERMANENTLY = 301,
|
|
22
|
-
FOUND = 302,
|
|
23
|
-
SEE_OTHER = 303,
|
|
24
|
-
NOT_MODIFIED = 304,
|
|
25
|
-
USE_PROXY = 305,
|
|
26
|
-
SWITCH_PROXY = 306,
|
|
27
|
-
TEMPORARY_REDIRECT = 307,
|
|
28
|
-
PERMANENT_REDIRECT = 308,
|
|
29
|
-
BAD_REQUEST = 400,
|
|
30
|
-
UNAUTHORIZED = 401,
|
|
31
|
-
PAYMENT_REQUIRED = 402,
|
|
32
|
-
FORBIDDEN = 403,
|
|
33
|
-
NOT_FOUND = 404,
|
|
34
|
-
METHOD_NOT_ALLOWED = 405,
|
|
35
|
-
NOT_ACCEPTABLE = 406,
|
|
36
|
-
PROXY_AUTHENTICATION_REQUIRED = 407,
|
|
37
|
-
REQUEST_TIMEOUT = 408,
|
|
38
|
-
CONFLICT = 409,
|
|
39
|
-
GONE = 410,
|
|
40
|
-
LENGTH_REQUIRED = 411,
|
|
41
|
-
PRECONDITION_FAILED = 412,
|
|
42
|
-
PAYLOAD_TOO_LARGE = 413,
|
|
43
|
-
URI_TOO_LONG = 414,
|
|
44
|
-
UNSUPPORTED_MEDIA_TYPE = 415,
|
|
45
|
-
RANGE_NOT_SATISFIABLE = 416,
|
|
46
|
-
EXPECTATION_FAILED = 417,
|
|
47
|
-
I_AM_A_TEAPOT = 418,
|
|
48
|
-
MISDIRECTED_REQUEST = 421,
|
|
49
|
-
UNPROCESSABLE_ENTITY = 422,
|
|
50
|
-
LOCKED = 423,
|
|
51
|
-
FAILED_DEPENDENCY = 424,
|
|
52
|
-
UPGRADE_REQUIRED = 426,
|
|
53
|
-
PRECONDITION_REQUIRED = 428,
|
|
54
|
-
TOO_MANY_REQUESTS = 429,
|
|
55
|
-
REQUEST_HEADER_FIELDS_TOO_LARGE = 431,
|
|
56
|
-
UNAVAILABLE_FOR_LEGAL_REASONS = 451,
|
|
57
|
-
INTERNAL_SERVER_ERROR = 500,
|
|
58
|
-
NOT_IMPLEMENTED = 501,
|
|
59
|
-
BAD_GATEWAY = 502,
|
|
60
|
-
SERVICE_UNAVAILABLE = 503,
|
|
61
|
-
GATEWAY_TIMEOUT = 504,
|
|
62
|
-
HTTP_VERSION_NOT_SUPPORTED = 505,
|
|
63
|
-
VARIANT_ALSO_NEGOTIATES = 506,
|
|
64
|
-
INSUFFICIENT_STORAGE = 507,
|
|
65
|
-
LOOP_DETECTED = 508,
|
|
66
|
-
NOT_EXTENDED = 510,
|
|
67
|
-
NETWORK_AUTHENTICATION_REQUIRED = 511
|
|
68
|
-
}
|
package/dist/enums/Http.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EHttpStatus = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* The different types of http status codes
|
|
6
|
-
*
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
var EHttpStatus;
|
|
10
|
-
(function (EHttpStatus) {
|
|
11
|
-
EHttpStatus[EHttpStatus["CONTINUE"] = 100] = "CONTINUE";
|
|
12
|
-
EHttpStatus[EHttpStatus["SWITCHING_PROTOCOLS"] = 101] = "SWITCHING_PROTOCOLS";
|
|
13
|
-
EHttpStatus[EHttpStatus["PROCESSING"] = 102] = "PROCESSING";
|
|
14
|
-
EHttpStatus[EHttpStatus["OK"] = 200] = "OK";
|
|
15
|
-
EHttpStatus[EHttpStatus["CREATED"] = 201] = "CREATED";
|
|
16
|
-
EHttpStatus[EHttpStatus["ACCEPTED"] = 202] = "ACCEPTED";
|
|
17
|
-
EHttpStatus[EHttpStatus["NON_AUTHORITATIVE_INFORMATION"] = 203] = "NON_AUTHORITATIVE_INFORMATION";
|
|
18
|
-
EHttpStatus[EHttpStatus["NO_CONTENT"] = 204] = "NO_CONTENT";
|
|
19
|
-
EHttpStatus[EHttpStatus["RESET_CONTENT"] = 205] = "RESET_CONTENT";
|
|
20
|
-
EHttpStatus[EHttpStatus["PARTIAL_CONTENT"] = 206] = "PARTIAL_CONTENT";
|
|
21
|
-
EHttpStatus[EHttpStatus["MULTI_STATUS"] = 207] = "MULTI_STATUS";
|
|
22
|
-
EHttpStatus[EHttpStatus["ALREADY_REPORTED"] = 208] = "ALREADY_REPORTED";
|
|
23
|
-
EHttpStatus[EHttpStatus["IM_USED"] = 226] = "IM_USED";
|
|
24
|
-
EHttpStatus[EHttpStatus["MULTIPLE_CHOICES"] = 300] = "MULTIPLE_CHOICES";
|
|
25
|
-
EHttpStatus[EHttpStatus["MOVED_PERMANENTLY"] = 301] = "MOVED_PERMANENTLY";
|
|
26
|
-
EHttpStatus[EHttpStatus["FOUND"] = 302] = "FOUND";
|
|
27
|
-
EHttpStatus[EHttpStatus["SEE_OTHER"] = 303] = "SEE_OTHER";
|
|
28
|
-
EHttpStatus[EHttpStatus["NOT_MODIFIED"] = 304] = "NOT_MODIFIED";
|
|
29
|
-
EHttpStatus[EHttpStatus["USE_PROXY"] = 305] = "USE_PROXY";
|
|
30
|
-
EHttpStatus[EHttpStatus["SWITCH_PROXY"] = 306] = "SWITCH_PROXY";
|
|
31
|
-
EHttpStatus[EHttpStatus["TEMPORARY_REDIRECT"] = 307] = "TEMPORARY_REDIRECT";
|
|
32
|
-
EHttpStatus[EHttpStatus["PERMANENT_REDIRECT"] = 308] = "PERMANENT_REDIRECT";
|
|
33
|
-
EHttpStatus[EHttpStatus["BAD_REQUEST"] = 400] = "BAD_REQUEST";
|
|
34
|
-
EHttpStatus[EHttpStatus["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
|
|
35
|
-
EHttpStatus[EHttpStatus["PAYMENT_REQUIRED"] = 402] = "PAYMENT_REQUIRED";
|
|
36
|
-
EHttpStatus[EHttpStatus["FORBIDDEN"] = 403] = "FORBIDDEN";
|
|
37
|
-
EHttpStatus[EHttpStatus["NOT_FOUND"] = 404] = "NOT_FOUND";
|
|
38
|
-
EHttpStatus[EHttpStatus["METHOD_NOT_ALLOWED"] = 405] = "METHOD_NOT_ALLOWED";
|
|
39
|
-
EHttpStatus[EHttpStatus["NOT_ACCEPTABLE"] = 406] = "NOT_ACCEPTABLE";
|
|
40
|
-
EHttpStatus[EHttpStatus["PROXY_AUTHENTICATION_REQUIRED"] = 407] = "PROXY_AUTHENTICATION_REQUIRED";
|
|
41
|
-
EHttpStatus[EHttpStatus["REQUEST_TIMEOUT"] = 408] = "REQUEST_TIMEOUT";
|
|
42
|
-
EHttpStatus[EHttpStatus["CONFLICT"] = 409] = "CONFLICT";
|
|
43
|
-
EHttpStatus[EHttpStatus["GONE"] = 410] = "GONE";
|
|
44
|
-
EHttpStatus[EHttpStatus["LENGTH_REQUIRED"] = 411] = "LENGTH_REQUIRED";
|
|
45
|
-
EHttpStatus[EHttpStatus["PRECONDITION_FAILED"] = 412] = "PRECONDITION_FAILED";
|
|
46
|
-
EHttpStatus[EHttpStatus["PAYLOAD_TOO_LARGE"] = 413] = "PAYLOAD_TOO_LARGE";
|
|
47
|
-
EHttpStatus[EHttpStatus["URI_TOO_LONG"] = 414] = "URI_TOO_LONG";
|
|
48
|
-
EHttpStatus[EHttpStatus["UNSUPPORTED_MEDIA_TYPE"] = 415] = "UNSUPPORTED_MEDIA_TYPE";
|
|
49
|
-
EHttpStatus[EHttpStatus["RANGE_NOT_SATISFIABLE"] = 416] = "RANGE_NOT_SATISFIABLE";
|
|
50
|
-
EHttpStatus[EHttpStatus["EXPECTATION_FAILED"] = 417] = "EXPECTATION_FAILED";
|
|
51
|
-
EHttpStatus[EHttpStatus["I_AM_A_TEAPOT"] = 418] = "I_AM_A_TEAPOT";
|
|
52
|
-
EHttpStatus[EHttpStatus["MISDIRECTED_REQUEST"] = 421] = "MISDIRECTED_REQUEST";
|
|
53
|
-
EHttpStatus[EHttpStatus["UNPROCESSABLE_ENTITY"] = 422] = "UNPROCESSABLE_ENTITY";
|
|
54
|
-
EHttpStatus[EHttpStatus["LOCKED"] = 423] = "LOCKED";
|
|
55
|
-
EHttpStatus[EHttpStatus["FAILED_DEPENDENCY"] = 424] = "FAILED_DEPENDENCY";
|
|
56
|
-
EHttpStatus[EHttpStatus["UPGRADE_REQUIRED"] = 426] = "UPGRADE_REQUIRED";
|
|
57
|
-
EHttpStatus[EHttpStatus["PRECONDITION_REQUIRED"] = 428] = "PRECONDITION_REQUIRED";
|
|
58
|
-
EHttpStatus[EHttpStatus["TOO_MANY_REQUESTS"] = 429] = "TOO_MANY_REQUESTS";
|
|
59
|
-
EHttpStatus[EHttpStatus["REQUEST_HEADER_FIELDS_TOO_LARGE"] = 431] = "REQUEST_HEADER_FIELDS_TOO_LARGE";
|
|
60
|
-
EHttpStatus[EHttpStatus["UNAVAILABLE_FOR_LEGAL_REASONS"] = 451] = "UNAVAILABLE_FOR_LEGAL_REASONS";
|
|
61
|
-
EHttpStatus[EHttpStatus["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
|
|
62
|
-
EHttpStatus[EHttpStatus["NOT_IMPLEMENTED"] = 501] = "NOT_IMPLEMENTED";
|
|
63
|
-
EHttpStatus[EHttpStatus["BAD_GATEWAY"] = 502] = "BAD_GATEWAY";
|
|
64
|
-
EHttpStatus[EHttpStatus["SERVICE_UNAVAILABLE"] = 503] = "SERVICE_UNAVAILABLE";
|
|
65
|
-
EHttpStatus[EHttpStatus["GATEWAY_TIMEOUT"] = 504] = "GATEWAY_TIMEOUT";
|
|
66
|
-
EHttpStatus[EHttpStatus["HTTP_VERSION_NOT_SUPPORTED"] = 505] = "HTTP_VERSION_NOT_SUPPORTED";
|
|
67
|
-
EHttpStatus[EHttpStatus["VARIANT_ALSO_NEGOTIATES"] = 506] = "VARIANT_ALSO_NEGOTIATES";
|
|
68
|
-
EHttpStatus[EHttpStatus["INSUFFICIENT_STORAGE"] = 507] = "INSUFFICIENT_STORAGE";
|
|
69
|
-
EHttpStatus[EHttpStatus["LOOP_DETECTED"] = 508] = "LOOP_DETECTED";
|
|
70
|
-
EHttpStatus[EHttpStatus["NOT_EXTENDED"] = 510] = "NOT_EXTENDED";
|
|
71
|
-
EHttpStatus[EHttpStatus["NETWORK_AUTHENTICATION_REQUIRED"] = 511] = "NETWORK_AUTHENTICATION_REQUIRED";
|
|
72
|
-
})(EHttpStatus || (exports.EHttpStatus = EHttpStatus = {}));
|
|
73
|
-
//# sourceMappingURL=Http.js.map
|
package/dist/enums/Http.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Http.js","sourceRoot":"","sources":["../../src/enums/Http.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,IAAY,WA8DX;AA9DD,WAAY,WAAW;IACtB,uDAAc,CAAA;IACd,6EAAyB,CAAA;IACzB,2DAAgB,CAAA;IAChB,2CAAQ,CAAA;IACR,qDAAa,CAAA;IACb,uDAAc,CAAA;IACd,iGAAmC,CAAA;IACnC,2DAAgB,CAAA;IAChB,iEAAmB,CAAA;IACnB,qEAAqB,CAAA;IACrB,+DAAkB,CAAA;IAClB,uEAAsB,CAAA;IACtB,qDAAa,CAAA;IACb,uEAAsB,CAAA;IACtB,yEAAuB,CAAA;IACvB,iDAAW,CAAA;IACX,yDAAe,CAAA;IACf,+DAAkB,CAAA;IAClB,yDAAe,CAAA;IACf,+DAAkB,CAAA;IAClB,2EAAwB,CAAA;IACxB,2EAAwB,CAAA;IACxB,6DAAiB,CAAA;IACjB,+DAAkB,CAAA;IAClB,uEAAsB,CAAA;IACtB,yDAAe,CAAA;IACf,yDAAe,CAAA;IACf,2EAAwB,CAAA;IACxB,mEAAoB,CAAA;IACpB,iGAAmC,CAAA;IACnC,qEAAqB,CAAA;IACrB,uDAAc,CAAA;IACd,+CAAU,CAAA;IACV,qEAAqB,CAAA;IACrB,6EAAyB,CAAA;IACzB,yEAAuB,CAAA;IACvB,+DAAkB,CAAA;IAClB,mFAA4B,CAAA;IAC5B,iFAA2B,CAAA;IAC3B,2EAAwB,CAAA;IACxB,iEAAmB,CAAA;IACnB,6EAAyB,CAAA;IACzB,+EAA0B,CAAA;IAC1B,mDAAY,CAAA;IACZ,yEAAuB,CAAA;IACvB,uEAAsB,CAAA;IACtB,iFAA2B,CAAA;IAC3B,yEAAuB,CAAA;IACvB,qGAAqC,CAAA;IACrC,iGAAmC,CAAA;IACnC,iFAA2B,CAAA;IAC3B,qEAAqB,CAAA;IACrB,6DAAiB,CAAA;IACjB,6EAAyB,CAAA;IACzB,qEAAqB,CAAA;IACrB,2FAAgC,CAAA;IAChC,qFAA6B,CAAA;IAC7B,+EAA0B,CAAA;IAC1B,iEAAmB,CAAA;IACnB,+DAAkB,CAAA;IAClB,qGAAqC,CAAA;AACtC,CAAC,EA9DW,WAAW,2BAAX,WAAW,QA8DtB"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { RettiwtError } from './RettiwtError';
|
|
2
|
-
/**
|
|
3
|
-
* Represents an error that is thrown by Twitter API.
|
|
4
|
-
*
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class ApiError extends RettiwtError {
|
|
8
|
-
/** The error code thrown by Twitter API. */
|
|
9
|
-
code: number;
|
|
10
|
-
/**
|
|
11
|
-
* @param errorCode - The error code thrown by Twitter API.
|
|
12
|
-
* @param message - Any additional error message.
|
|
13
|
-
*/
|
|
14
|
-
constructor(errorCode: number, message?: string);
|
|
15
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApiError = void 0;
|
|
4
|
-
const RettiwtError_1 = require("./RettiwtError");
|
|
5
|
-
/**
|
|
6
|
-
* Represents an error that is thrown by Twitter API.
|
|
7
|
-
*
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
class ApiError extends RettiwtError_1.RettiwtError {
|
|
11
|
-
/** The error code thrown by Twitter API. */
|
|
12
|
-
code;
|
|
13
|
-
/**
|
|
14
|
-
* @param errorCode - The error code thrown by Twitter API.
|
|
15
|
-
* @param message - Any additional error message.
|
|
16
|
-
*/
|
|
17
|
-
constructor(errorCode, message) {
|
|
18
|
-
super(message);
|
|
19
|
-
this.code = errorCode;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.ApiError = ApiError;
|
|
23
|
-
//# sourceMappingURL=ApiError.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiError.js","sourceRoot":"","sources":["../../../src/models/errors/ApiError.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C;;;;GAIG;AACH,MAAa,QAAS,SAAQ,2BAAY;IACzC,4CAA4C;IACrC,IAAI,CAAS;IAEpB;;;OAGG;IACH,YAAmB,SAAiB,EAAE,OAAgB;QACrD,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC;IACvB,CAAC;CACD;AAbD,4BAaC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { RettiwtError } from './RettiwtError';
|
|
2
|
-
/**
|
|
3
|
-
* Represents an HTTP error that occues while making a request to Twitter API.
|
|
4
|
-
*
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class HttpError extends RettiwtError {
|
|
8
|
-
/** The HTTP status code. */
|
|
9
|
-
status: number;
|
|
10
|
-
/**
|
|
11
|
-
* @param httpStatus - The HTTP status code received upon making the request
|
|
12
|
-
* @param message - Any additional error message.
|
|
13
|
-
*/
|
|
14
|
-
constructor(httpStatus: number, message?: string);
|
|
15
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HttpError = void 0;
|
|
4
|
-
const RettiwtError_1 = require("./RettiwtError");
|
|
5
|
-
/**
|
|
6
|
-
* Represents an HTTP error that occues while making a request to Twitter API.
|
|
7
|
-
*
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
class HttpError extends RettiwtError_1.RettiwtError {
|
|
11
|
-
/** The HTTP status code. */
|
|
12
|
-
status;
|
|
13
|
-
/**
|
|
14
|
-
* @param httpStatus - The HTTP status code received upon making the request
|
|
15
|
-
* @param message - Any additional error message.
|
|
16
|
-
*/
|
|
17
|
-
constructor(httpStatus, message) {
|
|
18
|
-
super(message);
|
|
19
|
-
this.status = httpStatus;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.HttpError = HttpError;
|
|
23
|
-
//# sourceMappingURL=HttpError.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HttpError.js","sourceRoot":"","sources":["../../../src/models/errors/HttpError.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C;;;;GAIG;AACH,MAAa,SAAU,SAAQ,2BAAY;IAC1C,4BAA4B;IACrB,MAAM,CAAS;IAEtB;;;OAGG;IACH,YAAmB,UAAkB,EAAE,OAAgB;QACtD,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;IAC1B,CAAC;CACD;AAbD,8BAaC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RettiwtError = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Represents an error that arises inside the package.
|
|
6
|
-
*/
|
|
7
|
-
class RettiwtError extends Error {
|
|
8
|
-
/**
|
|
9
|
-
* @param message - The error message.
|
|
10
|
-
*/
|
|
11
|
-
constructor(message) {
|
|
12
|
-
super(message);
|
|
13
|
-
Object.setPrototypeOf(this, RettiwtError.prototype);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
exports.RettiwtError = RettiwtError;
|
|
17
|
-
//# sourceMappingURL=RettiwtError.js.map
|