-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathktumblr-js.d.ts
1640 lines (1640 loc) · 85.2 KB
/
ktumblr-js.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
type Nullable<T> = T | null | undefined
export declare namespace work.socialhub.ktumblr {
interface Tumblr {
auth(): work.socialhub.ktumblr.api.AuthResource;
user(): work.socialhub.ktumblr.api.UserResource;
blog(): work.socialhub.ktumblr.api.BlogResource;
tagged(): work.socialhub.ktumblr.api.TaggedResource;
readonly __doNotUseOrImplementIt: {
readonly "work.socialhub.ktumblr.Tumblr": unique symbol;
};
}
}
export declare namespace work.socialhub.ktumblr {
const TumblrFactory: {
instance(clientId?: string, clientSecret?: Nullable<string>, accessToken?: Nullable<string>, refreshToken?: Nullable<string>): work.socialhub.ktumblr.Tumblr;
};
}
export declare namespace work.socialhub.ktumblr.api {
interface AuthResource {
authorizeUrl(request: work.socialhub.ktumblr.api.request.auth.AuthAuthorizeUrlRequest): string;
oAuth2Token(request: work.socialhub.ktumblr.api.request.auth.AuthOAuth2TokenRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.auth.AuthOAuth2TokenResponse>>;
oAuth2TokenRefresh(request: work.socialhub.ktumblr.api.request.auth.AuthOAuth2TokenRefreshRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.auth.AuthOAuth2TokenResponse>>;
readonly __doNotUseOrImplementIt: {
readonly "work.socialhub.ktumblr.api.AuthResource": unique symbol;
};
}
}
export declare namespace work.socialhub.ktumblr.api {
interface BlogResource {
blogInfo(request: work.socialhub.ktumblr.api.request.blog.BlogInfoRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<work.socialhub.ktumblr.api.response.blog.BlogInfoResponse>>>;
blogAvatar(request: work.socialhub.ktumblr.api.request.blog.BlogAvatarRequest): Promise<work.socialhub.ktumblr.api.response.Response<string>>;
blogLikes(request: work.socialhub.ktumblr.api.request.blog.BlogLikesRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<work.socialhub.ktumblr.api.response.blog.BlogLikesResponse>>>;
blogFollowing(request: work.socialhub.ktumblr.api.request.blog.BlogFollowingRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<work.socialhub.ktumblr.api.response.blog.BlogFollowingResponse>>>;
blogFollowers(request: work.socialhub.ktumblr.api.request.blog.BlogFollowersRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<work.socialhub.ktumblr.api.response.blog.BlogFollowersResponse>>>;
blogPosts(request: work.socialhub.ktumblr.api.request.blog.BlogPostsRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<work.socialhub.ktumblr.api.response.blog.BlogPostsResponse>>>;
blogQueuedPosts(request: work.socialhub.ktumblr.api.request.blog.BlogQueueRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<work.socialhub.ktumblr.api.response.blog.BlogPostsResponse>>>;
blogDraftPosts(request: work.socialhub.ktumblr.api.request.blog.BlogDraftsRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<work.socialhub.ktumblr.api.response.blog.BlogPostsResponse>>>;
blogSubmissions(request: work.socialhub.ktumblr.api.request.blog.BlogSubmissionsRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<work.socialhub.ktumblr.api.response.blog.BlogPostsResponse>>>;
postCreate(request: work.socialhub.ktumblr.api.request.blog.post.BlogPostRequest): work.socialhub.ktumblr.api.response.ResponseUnit;
postEdit(request: work.socialhub.ktumblr.api.request.blog.post.BlogPostRequest): work.socialhub.ktumblr.api.response.ResponseUnit;
postReblog(request: work.socialhub.ktumblr.api.request.blog.post.BlogReblogRequest): work.socialhub.ktumblr.api.response.ResponseUnit;
postDelete(request: work.socialhub.ktumblr.api.request.blog.post.BlogDeleteRequest): work.socialhub.ktumblr.api.response.ResponseUnit;
readonly __doNotUseOrImplementIt: {
readonly "work.socialhub.ktumblr.api.BlogResource": unique symbol;
};
}
}
export declare namespace work.socialhub.ktumblr.api {
interface TaggedResource {
tagged(request: work.socialhub.ktumblr.api.request.tagged.TaggedRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<Array<work.socialhub.ktumblr.entity.post.Post>>>>;
readonly __doNotUseOrImplementIt: {
readonly "work.socialhub.ktumblr.api.TaggedResource": unique symbol;
};
}
}
export declare namespace work.socialhub.ktumblr.api {
interface UserResource {
user(): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<work.socialhub.ktumblr.api.response.user.UserResponse>>>;
userDashboard(request: work.socialhub.ktumblr.api.request.user.UserDashboardRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<work.socialhub.ktumblr.api.response.user.UserDashboardResponse>>>;
userFollowing(request: work.socialhub.ktumblr.api.request.user.UserFollowingRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<work.socialhub.ktumblr.api.response.user.UserFollowingResponse>>>;
userLikes(request: work.socialhub.ktumblr.api.request.user.UserLikesRequest): Promise<work.socialhub.ktumblr.api.response.Response<work.socialhub.ktumblr.api.response.Body<work.socialhub.ktumblr.api.response.user.UserLikesResponse>>>;
like(request: work.socialhub.ktumblr.api.request.user.UserLikeRequest): work.socialhub.ktumblr.api.response.ResponseUnit;
unlike(request: work.socialhub.ktumblr.api.request.user.UserUnlikeRequest): work.socialhub.ktumblr.api.response.ResponseUnit;
follow(request: work.socialhub.ktumblr.api.request.user.UserFollowRequest): work.socialhub.ktumblr.api.response.ResponseUnit;
unfollow(request: work.socialhub.ktumblr.api.request.user.UserUnfollowRequest): work.socialhub.ktumblr.api.response.ResponseUnit;
readonly __doNotUseOrImplementIt: {
readonly "work.socialhub.ktumblr.api.UserResource": unique symbol;
};
}
}
export declare namespace work.socialhub.ktumblr.api.request {
class FileRequest {
constructor(name: string, data: Int8Array);
get name(): string;
get data(): Int8Array;
}
}
export declare namespace work.socialhub.ktumblr.api.request.auth {
class AuthAuthorizeUrlRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get responseType(): string;
set responseType(value: string);
get redirectUri(): Nullable<string>;
set redirectUri(value: Nullable<string>);
get state(): Nullable<string>;
set state(value: Nullable<string>);
get scope(): string;
set scope(value: string);
}
}
export declare namespace work.socialhub.ktumblr.api.request.auth {
class AuthOAuth2TokenRefreshRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get grantType(): string;
set grantType(value: string);
get clientId(): Nullable<string>;
set clientId(value: Nullable<string>);
get clientSecret(): Nullable<string>;
set clientSecret(value: Nullable<string>);
get refreshToken(): Nullable<string>;
set refreshToken(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.auth {
class AuthOAuth2TokenRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get grantType(): string;
set grantType(value: string);
get code(): Nullable<string>;
set code(value: Nullable<string>);
get clientId(): Nullable<string>;
set clientId(value: Nullable<string>);
get clientSecret(): Nullable<string>;
set clientSecret(value: Nullable<string>);
get redirectUri(): Nullable<string>;
set redirectUri(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog {
class BlogAvatarRequest {
constructor();
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get size(): Nullable<number>;
set size(value: Nullable<number>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog {
class BlogDraftsRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get beforeId(): Nullable<number>;
set beforeId(value: Nullable<number>);
get filter(): Nullable<string>;
set filter(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog {
class BlogFollowersRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get limit(): Nullable<number>;
set limit(value: Nullable<number>);
get offset(): Nullable<number>;
set offset(value: Nullable<number>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog {
class BlogFollowingRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get limit(): Nullable<number>;
set limit(value: Nullable<number>);
get offset(): Nullable<number>;
set offset(value: Nullable<number>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog {
class BlogInfoRequest {
constructor();
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog {
class BlogLikesRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get limit(): Nullable<number>;
set limit(value: Nullable<number>);
get offset(): Nullable<number>;
set offset(value: Nullable<number>);
get before(): Nullable<number>;
set before(value: Nullable<number>);
get after(): Nullable<number>;
set after(value: Nullable<number>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog {
class BlogPostsRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get type(): Nullable<string>;
set type(value: Nullable<string>);
get id(): Nullable<number>;
set id(value: Nullable<number>);
get tag(): Nullable<string>;
set tag(value: Nullable<string>);
get limit(): Nullable<number>;
set limit(value: Nullable<number>);
get offset(): Nullable<number>;
set offset(value: Nullable<number>);
get reblogInfo(): Nullable<boolean>;
set reblogInfo(value: Nullable<boolean>);
get notesInfo(): Nullable<boolean>;
set notesInfo(value: Nullable<boolean>);
get filter(): Nullable<string>;
set filter(value: Nullable<string>);
get before(): Nullable<number>;
set before(value: Nullable<number>);
get npf(): Nullable<boolean>;
set npf(value: Nullable<boolean>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog {
class BlogQueueRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get limit(): Nullable<number>;
set limit(value: Nullable<number>);
get offset(): Nullable<number>;
set offset(value: Nullable<number>);
get filter(): Nullable<string>;
set filter(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog {
class BlogSubmissionsRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get offset(): Nullable<string>;
set offset(value: Nullable<string>);
get filter(): Nullable<string>;
set filter(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog.post {
class BlogAudioPostRequest extends work.socialhub.ktumblr.api.request.blog.post.BlogPostRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get caption(): Nullable<string>;
set caption(value: Nullable<string>);
get externalUrl(): Nullable<string>;
set externalUrl(value: Nullable<string>);
get data(): Nullable<string>;
set data(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog.post {
class BlogChatPostRequest extends work.socialhub.ktumblr.api.request.blog.post.BlogPostRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get title(): Nullable<string>;
set title(value: Nullable<string>);
get conversation(): Nullable<string>;
set conversation(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog.post {
class BlogDeleteRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get id(): Nullable<string>;
set id(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog.post {
class BlogLinkPostRequest extends work.socialhub.ktumblr.api.request.blog.post.BlogPostRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get title(): Nullable<string>;
set title(value: Nullable<string>);
get url(): Nullable<string>;
set url(value: Nullable<string>);
get description(): Nullable<string>;
set description(value: Nullable<string>);
get thumbnail(): Nullable<string>;
set thumbnail(value: Nullable<string>);
get excerpt(): Nullable<string>;
set excerpt(value: Nullable<string>);
get author(): Nullable<string>;
set author(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog.post {
class BlogPhotoPostRequest extends work.socialhub.ktumblr.api.request.blog.post.BlogPostRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get caption(): Nullable<string>;
set caption(value: Nullable<string>);
get link(): Nullable<string>;
set link(value: Nullable<string>);
get source(): Nullable<string>;
set source(value: Nullable<string>);
get data(): Nullable<Array<work.socialhub.ktumblr.api.request.FileRequest>>;
set data(value: Nullable<Array<work.socialhub.ktumblr.api.request.FileRequest>>);
get data64(): Nullable<string>;
set data64(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog.post {
class BlogPostRequest {
constructor();
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get id(): Nullable<string>;
set id(value: Nullable<string>);
get type(): Nullable<string>;
set type(value: Nullable<string>);
get state(): Nullable<string>;
set state(value: Nullable<string>);
get tags(): Nullable<string>;
set tags(value: Nullable<string>);
get tweet(): Nullable<string>;
set tweet(value: Nullable<string>);
get date(): Nullable<string>;
set date(value: Nullable<string>);
get format(): Nullable<string>;
set format(value: Nullable<string>);
get slug(): Nullable<string>;
set slug(value: Nullable<string>);
get nativeInlineImages(): Nullable<boolean>;
set nativeInlineImages(value: Nullable<boolean>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog.post {
class BlogQuotePostRequest extends work.socialhub.ktumblr.api.request.blog.post.BlogPostRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get quote(): Nullable<string>;
set quote(value: Nullable<string>);
get source(): Nullable<string>;
set source(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog.post {
class BlogReblogRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get id(): Nullable<string>;
set id(value: Nullable<string>);
get reblogKey(): Nullable<string>;
set reblogKey(value: Nullable<string>);
get comment(): Nullable<string>;
set comment(value: Nullable<string>);
get nativeInlineImages(): Nullable<boolean>;
set nativeInlineImages(value: Nullable<boolean>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog.post {
class BlogTextPostRequest extends work.socialhub.ktumblr.api.request.blog.post.BlogPostRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get title(): Nullable<string>;
set title(value: Nullable<string>);
get body(): Nullable<string>;
set body(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.blog.post {
class BlogVideoPostRequest extends work.socialhub.ktumblr.api.request.blog.post.BlogPostRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get caption(): Nullable<string>;
set caption(value: Nullable<string>);
get embed(): Nullable<string>;
set embed(value: Nullable<string>);
get data(): Nullable<string>;
set data(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.tagged {
class TaggedRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get tag(): Nullable<string>;
set tag(value: Nullable<string>);
get before(): Nullable<number>;
set before(value: Nullable<number>);
get limit(): Nullable<number>;
set limit(value: Nullable<number>);
get filter(): Nullable<string>;
set filter(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.user {
class UserDashboardRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get limit(): Nullable<number>;
set limit(value: Nullable<number>);
get offset(): Nullable<number>;
set offset(value: Nullable<number>);
get type(): Nullable<string>;
set type(value: Nullable<string>);
get sinceId(): Nullable<number>;
set sinceId(value: Nullable<number>);
get reblogInfo(): Nullable<boolean>;
set reblogInfo(value: Nullable<boolean>);
get notesInfo(): Nullable<boolean>;
set notesInfo(value: Nullable<boolean>);
get npf(): Nullable<boolean>;
set npf(value: Nullable<boolean>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.user {
class UserFollowRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get url(): Nullable<string>;
set url(value: Nullable<string>);
get email(): Nullable<string>;
set email(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.user {
class UserFollowingRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get limit(): Nullable<number>;
set limit(value: Nullable<number>);
get offset(): Nullable<number>;
set offset(value: Nullable<number>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.user {
class UserLikeRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get id(): Nullable<string>;
set id(value: Nullable<string>);
get reblogKey(): Nullable<string>;
set reblogKey(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.user {
class UserLikesRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get limit(): Nullable<number>;
set limit(value: Nullable<number>);
get offset(): Nullable<number>;
set offset(value: Nullable<number>);
get before(): Nullable<number>;
set before(value: Nullable<number>);
get after(): Nullable<number>;
set after(value: Nullable<number>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.user {
class UserUnfollowRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get url(): Nullable<string>;
set url(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.request.user {
class UserUnlikeRequest /* implements work.socialhub.ktumblr.api.request.MapRequest */ {
constructor();
get id(): Nullable<string>;
set id(value: Nullable<string>);
get reblogKey(): Nullable<string>;
set reblogKey(value: Nullable<string>);
}
}
export declare namespace work.socialhub.ktumblr.api.response {
class Body<T> {
constructor();
get meta(): Nullable<work.socialhub.ktumblr.api.response.Meta>;
set meta(value: Nullable<work.socialhub.ktumblr.api.response.Meta>);
get response(): Nullable<T>;
set response(value: Nullable<T>);
static get Companion(): {
get $cachedDescriptor(): any/* kotlinx.serialization.descriptors.SerialDescriptor */;
} & any/* kotlinx.serialization.internal.SerializerFactory */;
}
}
export declare namespace work.socialhub.ktumblr.api.response {
class Meta {
constructor();
get status(): Nullable<number>;
set status(value: Nullable<number>);
get msg(): Nullable<string>;
set msg(value: Nullable<string>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.api.response {
class Response<T> {
constructor(data: T, json: string, status?: Nullable<number>, message?: Nullable<string>);
get data(): T;
set data(value: T);
get json(): string;
set json(value: string);
get status(): Nullable<number>;
get message(): Nullable<string>;
copy(data?: T, json?: string, status?: Nullable<number>, message?: Nullable<string>): Promise<work.socialhub.ktumblr.api.response.Response<T>>;
toString(): string;
hashCode(): number;
equals(other: Nullable<any>): boolean;
}
}
export declare namespace work.socialhub.ktumblr.api.response {
class ResponseUnit {
constructor(json: string, status?: Nullable<number>, message?: Nullable<string>);
get json(): string;
set json(value: string);
get status(): Nullable<number>;
get message(): Nullable<string>;
}
}
export declare namespace work.socialhub.ktumblr.api.response.auth {
class AuthOAuth2TokenResponse {
constructor();
get accessToken(): Nullable<string>;
set accessToken(value: Nullable<string>);
get expiresIn(): Nullable<number>;
set expiresIn(value: Nullable<number>);
get tokenType(): Nullable<string>;
set tokenType(value: Nullable<string>);
get scope(): Nullable<string>;
set scope(value: Nullable<string>);
get refreshToken(): Nullable<string>;
set refreshToken(value: Nullable<string>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.api.response.blog {
class BlogFollowersResponse {
constructor();
get totalUsers(): Nullable<number>;
set totalUsers(value: Nullable<number>);
get users(): Nullable<Array<work.socialhub.ktumblr.entity.user.FollowerUser>>;
set users(value: Nullable<Array<work.socialhub.ktumblr.entity.user.FollowerUser>>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.api.response.blog {
class BlogFollowingResponse {
constructor();
get blogs(): Nullable<Array<work.socialhub.ktumblr.entity.blog.Blog>>;
set blogs(value: Nullable<Array<work.socialhub.ktumblr.entity.blog.Blog>>);
get totalBlogs(): Nullable<number>;
set totalBlogs(value: Nullable<number>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.api.response.blog {
class BlogInfoResponse {
constructor();
get blog(): Nullable<work.socialhub.ktumblr.entity.blog.Blog>;
set blog(value: Nullable<work.socialhub.ktumblr.entity.blog.Blog>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.api.response.blog {
class BlogLikesResponse {
constructor();
get likedPosts(): Nullable<Array<work.socialhub.ktumblr.entity.post.Post>>;
set likedPosts(value: Nullable<Array<work.socialhub.ktumblr.entity.post.Post>>);
get likedCount(): Nullable<number>;
set likedCount(value: Nullable<number>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.api.response.blog {
class BlogPostsResponse {
constructor();
get blog(): Nullable<work.socialhub.ktumblr.entity.blog.Blog>;
set blog(value: Nullable<work.socialhub.ktumblr.entity.blog.Blog>);
get posts(): Nullable<Array<work.socialhub.ktumblr.entity.post.Post>>;
set posts(value: Nullable<Array<work.socialhub.ktumblr.entity.post.Post>>);
get totalPosts(): Nullable<number>;
set totalPosts(value: Nullable<number>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.api.response.user {
class UserDashboardResponse {
constructor();
get posts(): Nullable<Array<work.socialhub.ktumblr.entity.post.Post>>;
set posts(value: Nullable<Array<work.socialhub.ktumblr.entity.post.Post>>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.api.response.user {
class UserFollowingResponse {
constructor();
get totalBlog(): Nullable<number>;
set totalBlog(value: Nullable<number>);
get blogs(): Nullable<Array<work.socialhub.ktumblr.entity.blog.Blog>>;
set blogs(value: Nullable<Array<work.socialhub.ktumblr.entity.blog.Blog>>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.api.response.user {
class UserLikesResponse {
constructor();
get likedPosts(): Nullable<Array<work.socialhub.ktumblr.entity.post.Post>>;
set likedPosts(value: Nullable<Array<work.socialhub.ktumblr.entity.post.Post>>);
get likedCount(): Nullable<number>;
set likedCount(value: Nullable<number>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.api.response.user {
class UserResponse {
constructor();
get user(): Nullable<work.socialhub.ktumblr.entity.user.User>;
set user(value: Nullable<work.socialhub.ktumblr.entity.user.User>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.define {
abstract class PhotoType {
private constructor();
static get SOURCE(): work.socialhub.ktumblr.define.PhotoType & {
get name(): "SOURCE";
get ordinal(): 0;
};
static get FILE(): work.socialhub.ktumblr.define.PhotoType & {
get name(): "FILE";
get ordinal(): 1;
};
get name(): "SOURCE" | "FILE";
get ordinal(): 0 | 1;
get prefix(): string;
static values(): Array<work.socialhub.ktumblr.define.PhotoType>;
static valueOf(value: string): work.socialhub.ktumblr.define.PhotoType;
}
}
export declare namespace work.socialhub.ktumblr.define {
abstract class PostType {
private constructor();
static get TEXT(): work.socialhub.ktumblr.define.PostType & {
get name(): "TEXT";
get ordinal(): 0;
};
static get PHOTO(): work.socialhub.ktumblr.define.PostType & {
get name(): "PHOTO";
get ordinal(): 1;
};
static get QUOTE(): work.socialhub.ktumblr.define.PostType & {
get name(): "QUOTE";
get ordinal(): 2;
};
static get LINK(): work.socialhub.ktumblr.define.PostType & {
get name(): "LINK";
get ordinal(): 3;
};
static get CHAT(): work.socialhub.ktumblr.define.PostType & {
get name(): "CHAT";
get ordinal(): 4;
};
static get AUDIO(): work.socialhub.ktumblr.define.PostType & {
get name(): "AUDIO";
get ordinal(): 5;
};
static get VIDEO(): work.socialhub.ktumblr.define.PostType & {
get name(): "VIDEO";
get ordinal(): 6;
};
static get ANSWER(): work.socialhub.ktumblr.define.PostType & {
get name(): "ANSWER";
get ordinal(): 7;
};
static get POSTCARD(): work.socialhub.ktumblr.define.PostType & {
get name(): "POSTCARD";
get ordinal(): 8;
};
static get UNKNOWN(): work.socialhub.ktumblr.define.PostType & {
get name(): "UNKNOWN";
get ordinal(): 9;
};
get name(): "TEXT" | "PHOTO" | "QUOTE" | "LINK" | "CHAT" | "AUDIO" | "VIDEO" | "ANSWER" | "POSTCARD" | "UNKNOWN";
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
get value(): string;
static values(): Array<work.socialhub.ktumblr.define.PostType>;
static valueOf(value: string): work.socialhub.ktumblr.define.PostType;
}
}
export declare namespace work.socialhub.ktumblr.entity {
class Note {
constructor();
get type(): Nullable<string>;
get timestamp(): Nullable<number>;
get blogName(): Nullable<string>;
get blogUuid(): Nullable<string>;
get blogUrl(): Nullable<string>;
get isFollowed(): Nullable<boolean>;
get avatarShape(): Nullable<string>;
get postId(): Nullable<string>;
get reblogParentBlogName(): Nullable<string>;
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.entity {
class NoteAvatar {
constructor();
get size64(): Nullable<string>;
set size64(value: Nullable<string>);
get size128(): Nullable<string>;
set size128(value: Nullable<string>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.entity.blog {
class Blog /* extends work.socialhub.ktumblr.entity.Resource */ {
constructor();
get title(): Nullable<string>;
set title(value: Nullable<string>);
get postCount(): number;
set postCount(value: number);
get name(): Nullable<string>;
set name(value: Nullable<string>);
get updated(): Nullable<number>;
set updated(value: Nullable<number>);
get description(): Nullable<string>;
set description(value: Nullable<string>);
get isAsk(): Nullable<boolean>;
set isAsk(value: Nullable<boolean>);
get isAskAnon(): Nullable<boolean>;
set isAskAnon(value: Nullable<boolean>);
get isFollowed(): Nullable<boolean>;
set isFollowed(value: Nullable<boolean>);
get likeCount(): Nullable<number>;
get isBlockedFromPrimary(): Nullable<boolean>;
get avatar(): Nullable<Array<work.socialhub.ktumblr.entity.blog.BlogAvatar>>;
get url(): Nullable<string>;
get theme(): Nullable<work.socialhub.ktumblr.entity.blog.BlogTheme>;
get isAdmin(): Nullable<boolean>;
get askPageTitle(): Nullable<string>;
get isNSFW(): Nullable<boolean>;
get isPrimary(): Nullable<boolean>;
get followerCount(): Nullable<number>;
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.entity.blog {
class BlogAvatar {
constructor();
get width(): Nullable<number>;
set width(value: Nullable<number>);
get height(): Nullable<number>;
set height(value: Nullable<number>);
get url(): Nullable<string>;
set url(value: Nullable<string>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.entity.blog {
class BlogTheme {
constructor();
get avatarShape(): Nullable<string>;
set avatarShape(value: Nullable<string>);
get backgroundColor(): Nullable<string>;
set backgroundColor(value: Nullable<string>);
get bodyFont(): Nullable<string>;
set bodyFont(value: Nullable<string>);
get headerImage(): Nullable<string>;
set headerImage(value: Nullable<string>);
get headerImageFocused(): Nullable<string>;
set headerImageFocused(value: Nullable<string>);
get headerImagePoster(): Nullable<string>;
set headerImagePoster(value: Nullable<string>);
get headerImageScaled(): Nullable<string>;
set headerImageScaled(value: Nullable<string>);
get isHeaderStretch(): boolean;
set isHeaderStretch(value: boolean);
get linkColor(): Nullable<string>;
get isShowAvatar(): boolean;
get isShowDescription(): boolean;
get isShowHeaderImage(): boolean;
get isShowTitle(): boolean;
get titleColor(): Nullable<string>;
get titleFont(): Nullable<string>;
get titleFontWeight(): Nullable<string>;
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.entity.blog {
class Reblog {
constructor();
get comment(): Nullable<string>;
set comment(value: Nullable<string>);
get treeHtml(): Nullable<string>;
set treeHtml(value: Nullable<string>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.entity.post {
abstract class Post {
constructor();
get asLegacyTextPost(): Nullable<work.socialhub.ktumblr.entity.post.Post>/* Nullable<work.socialhub.ktumblr.entity.post.legacy.LegacyTextPost> */;
get asLegacyPhotoPost(): Nullable<work.socialhub.ktumblr.entity.post.legacy.LegacyPhotoPost>;
get asLegacyQuotePost(): Nullable<work.socialhub.ktumblr.entity.post.legacy.LegacyQuotePost>;
get asLegacyLinkPost(): Nullable<work.socialhub.ktumblr.entity.post.legacy.LegacyLinkPost>;
get asLegacyVideoPost(): Nullable<work.socialhub.ktumblr.entity.post.legacy.LegacyVideoPost>;
get asLegacyAnswerPost(): Nullable<work.socialhub.ktumblr.entity.post.legacy.LegacyAnswerPost>;
abstract get blogName(): Nullable<string>;
abstract set blogName(value: Nullable<string>);
abstract get idString(): Nullable<string>;
abstract set idString(value: Nullable<string>);
abstract get genesisPostId(): Nullable<string>;
abstract set genesisPostId(value: Nullable<string>);
abstract get postUrl(): Nullable<string>;
abstract set postUrl(value: Nullable<string>);
abstract get parentPostUrl(): Nullable<string>;
abstract set parentPostUrl(value: Nullable<string>);
abstract get type(): Nullable<string>;
abstract set type(value: Nullable<string>);
abstract get timestamp(): Nullable<number>;
abstract set timestamp(value: Nullable<number>);
abstract get date(): Nullable<string>;
abstract set date(value: Nullable<string>);
abstract get format(): Nullable<string>;
abstract set format(value: Nullable<string>);
abstract get reblogKey(): Nullable<string>;
abstract set reblogKey(value: Nullable<string>);
abstract get tags(): Nullable<Array<string>>;
abstract set tags(value: Nullable<Array<string>>);
abstract get isBookmarklet(): Nullable<boolean>;
abstract set isBookmarklet(value: Nullable<boolean>);
abstract get isMobile(): Nullable<boolean>;
abstract set isMobile(value: Nullable<boolean>);
abstract get sourceUrl(): Nullable<string>;
abstract set sourceUrl(value: Nullable<string>);
abstract get sourceTitle(): Nullable<string>;
abstract set sourceTitle(value: Nullable<string>);
abstract get isLiked(): Nullable<boolean>;
abstract set isLiked(value: Nullable<boolean>);
abstract get state(): Nullable<string>;
abstract set state(value: Nullable<string>);
abstract get title(): Nullable<string>;
abstract set title(value: Nullable<string>);
abstract get body(): Nullable<string>;
abstract set body(value: Nullable<string>);
abstract get noteCount(): Nullable<number>;
abstract set noteCount(value: Nullable<number>);
abstract get summary(): Nullable<string>;
abstract set summary(value: Nullable<string>);
abstract get slug(): Nullable<string>;
abstract set slug(value: Nullable<string>);
abstract get rebloggedFromId(): Nullable<string>;
abstract set rebloggedFromId(value: Nullable<string>);
abstract get rebloggedFromUrl(): Nullable<string>;
abstract set rebloggedFromUrl(value: Nullable<string>);
abstract get rebloggedFromName(): Nullable<string>;
abstract set rebloggedFromName(value: Nullable<string>);
abstract get rebloggedFromTitle(): Nullable<string>;
abstract set rebloggedFromTitle(value: Nullable<string>);
abstract get rebloggedFromUuid(): Nullable<string>;
abstract set rebloggedFromUuid(value: Nullable<string>);
abstract get rebloggedFromCanMessage(): Nullable<boolean>;
abstract set rebloggedFromCanMessage(value: Nullable<boolean>);
abstract get rebloggedFromFollowing(): Nullable<boolean>;
abstract set rebloggedFromFollowing(value: Nullable<boolean>);
abstract get rebloggedRootId(): Nullable<string>;
abstract set rebloggedRootId(value: Nullable<string>);
abstract get rebloggedRootUrl(): Nullable<string>;
abstract set rebloggedRootUrl(value: Nullable<string>);
abstract get rebloggedRootName(): Nullable<string>;
abstract set rebloggedRootName(value: Nullable<string>);
abstract get rebloggedRootTitle(): Nullable<string>;
abstract set rebloggedRootTitle(value: Nullable<string>);
abstract get rebloggedRootUuid(): Nullable<string>;
abstract set rebloggedRootUuid(value: Nullable<string>);
abstract get rebloggedRootCanMessage(): Nullable<boolean>;
abstract set rebloggedRootCanMessage(value: Nullable<boolean>);
abstract get rebloggedRootFollowing(): Nullable<boolean>;
abstract set rebloggedRootFollowing(value: Nullable<boolean>);
abstract get notes(): Nullable<Array<work.socialhub.ktumblr.entity.Note>>;
abstract set notes(value: Nullable<Array<work.socialhub.ktumblr.entity.Note>>);
abstract get blog(): Nullable<work.socialhub.ktumblr.entity.blog.Blog>;
abstract set blog(value: Nullable<work.socialhub.ktumblr.entity.blog.Blog>);
abstract get reblog(): Nullable<work.socialhub.ktumblr.entity.blog.Reblog>;
abstract set reblog(value: Nullable<work.socialhub.ktumblr.entity.blog.Reblog>);
abstract get trail(): Nullable<Array<work.socialhub.ktumblr.entity.trail.Trail>>;
abstract set trail(value: Nullable<Array<work.socialhub.ktumblr.entity.trail.Trail>>);
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.entity.post.legacy {
/* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
class LegacyAnswerPost extends work.socialhub.ktumblr.entity.post.Post {
constructor(blogName: Nullable<string>, idString: Nullable<string>, genesisPostId: Nullable<string>, postUrl: Nullable<string>, parentPostUrl: Nullable<string>, type: Nullable<string>, timestamp: Nullable<number>, date: Nullable<string>, format: Nullable<string>, reblogKey: Nullable<string>, tags: Nullable<Array<string>>, isBookmarklet: Nullable<boolean>, isMobile: Nullable<boolean>, sourceUrl: Nullable<string>, sourceTitle: Nullable<string>, isLiked: Nullable<boolean>, state: Nullable<string>, title: Nullable<string>, body: Nullable<string>, noteCount: Nullable<number>, summary: Nullable<string>, slug: Nullable<string>, rebloggedFromId: Nullable<string>, rebloggedFromUrl: Nullable<string>, rebloggedFromName: Nullable<string>, rebloggedFromTitle: Nullable<string>, rebloggedFromUuid: Nullable<string>, rebloggedFromCanMessage: Nullable<boolean>, rebloggedFromFollowing: Nullable<boolean>, rebloggedRootId: Nullable<string>, rebloggedRootUrl: Nullable<string>, rebloggedRootName: Nullable<string>, rebloggedRootTitle: Nullable<string>, rebloggedRootUuid: Nullable<string>, rebloggedRootCanMessage: Nullable<boolean>, rebloggedRootFollowing: Nullable<boolean>, notes: Nullable<Array<work.socialhub.ktumblr.entity.Note>>, blog: Nullable<work.socialhub.ktumblr.entity.blog.Blog>, reblog: Nullable<work.socialhub.ktumblr.entity.blog.Reblog>, trail: Nullable<Array<work.socialhub.ktumblr.entity.trail.Trail>>);
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get idString(): Nullable<string>;
set idString(value: Nullable<string>);
get genesisPostId(): Nullable<string>;
set genesisPostId(value: Nullable<string>);
get postUrl(): Nullable<string>;
set postUrl(value: Nullable<string>);
get parentPostUrl(): Nullable<string>;
set parentPostUrl(value: Nullable<string>);
get type(): Nullable<string>;
set type(value: Nullable<string>);
get timestamp(): Nullable<number>;
set timestamp(value: Nullable<number>);
get date(): Nullable<string>;
set date(value: Nullable<string>);
get format(): Nullable<string>;
set format(value: Nullable<string>);
get reblogKey(): Nullable<string>;
set reblogKey(value: Nullable<string>);
get tags(): Nullable<Array<string>>;
set tags(value: Nullable<Array<string>>);
get isBookmarklet(): Nullable<boolean>;
set isBookmarklet(value: Nullable<boolean>);
get isMobile(): Nullable<boolean>;
set isMobile(value: Nullable<boolean>);
get sourceUrl(): Nullable<string>;
set sourceUrl(value: Nullable<string>);
get sourceTitle(): Nullable<string>;
set sourceTitle(value: Nullable<string>);
get isLiked(): Nullable<boolean>;
set isLiked(value: Nullable<boolean>);
get state(): Nullable<string>;
set state(value: Nullable<string>);
get title(): Nullable<string>;
set title(value: Nullable<string>);
get body(): Nullable<string>;
set body(value: Nullable<string>);
get noteCount(): Nullable<number>;
set noteCount(value: Nullable<number>);
get summary(): Nullable<string>;
set summary(value: Nullable<string>);
get slug(): Nullable<string>;
set slug(value: Nullable<string>);
get rebloggedFromId(): Nullable<string>;
set rebloggedFromId(value: Nullable<string>);
get rebloggedFromUrl(): Nullable<string>;
set rebloggedFromUrl(value: Nullable<string>);
get rebloggedFromName(): Nullable<string>;
set rebloggedFromName(value: Nullable<string>);
get rebloggedFromTitle(): Nullable<string>;
set rebloggedFromTitle(value: Nullable<string>);
get rebloggedFromUuid(): Nullable<string>;
set rebloggedFromUuid(value: Nullable<string>);
get rebloggedFromCanMessage(): Nullable<boolean>;
set rebloggedFromCanMessage(value: Nullable<boolean>);
get rebloggedFromFollowing(): Nullable<boolean>;
set rebloggedFromFollowing(value: Nullable<boolean>);
get rebloggedRootId(): Nullable<string>;
set rebloggedRootId(value: Nullable<string>);
get rebloggedRootUrl(): Nullable<string>;
set rebloggedRootUrl(value: Nullable<string>);
get rebloggedRootName(): Nullable<string>;
set rebloggedRootName(value: Nullable<string>);
get rebloggedRootTitle(): Nullable<string>;
set rebloggedRootTitle(value: Nullable<string>);
get rebloggedRootUuid(): Nullable<string>;
set rebloggedRootUuid(value: Nullable<string>);
get rebloggedRootCanMessage(): Nullable<boolean>;
set rebloggedRootCanMessage(value: Nullable<boolean>);
get rebloggedRootFollowing(): Nullable<boolean>;
set rebloggedRootFollowing(value: Nullable<boolean>);
get notes(): Nullable<Array<work.socialhub.ktumblr.entity.Note>>;
set notes(value: Nullable<Array<work.socialhub.ktumblr.entity.Note>>);
get blog(): Nullable<work.socialhub.ktumblr.entity.blog.Blog>;
set blog(value: Nullable<work.socialhub.ktumblr.entity.blog.Blog>);
get reblog(): Nullable<work.socialhub.ktumblr.entity.blog.Reblog>;
set reblog(value: Nullable<work.socialhub.ktumblr.entity.blog.Reblog>);
get trail(): Nullable<Array<work.socialhub.ktumblr.entity.trail.Trail>>;
set trail(value: Nullable<Array<work.socialhub.ktumblr.entity.trail.Trail>>);
get askingName(): Nullable<string>;
get askingUrl(): Nullable<string>;
get question(): Nullable<string>;
get answer(): Nullable<string>;
static get Companion(): {
};
}
}
export declare namespace work.socialhub.ktumblr.entity.post.legacy {
/* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
class LegacyAudioPost extends work.socialhub.ktumblr.entity.post.Post {
constructor(blogName: Nullable<string>, idString: Nullable<string>, genesisPostId: Nullable<string>, postUrl: Nullable<string>, parentPostUrl: Nullable<string>, type: Nullable<string>, timestamp: Nullable<number>, date: Nullable<string>, format: Nullable<string>, reblogKey: Nullable<string>, tags: Nullable<Array<string>>, isBookmarklet: Nullable<boolean>, isMobile: Nullable<boolean>, sourceUrl: Nullable<string>, sourceTitle: Nullable<string>, isLiked: Nullable<boolean>, state: Nullable<string>, title: Nullable<string>, body: Nullable<string>, noteCount: Nullable<number>, summary: Nullable<string>, slug: Nullable<string>, rebloggedFromId: Nullable<string>, rebloggedFromUrl: Nullable<string>, rebloggedFromName: Nullable<string>, rebloggedFromTitle: Nullable<string>, rebloggedFromUuid: Nullable<string>, rebloggedFromCanMessage: Nullable<boolean>, rebloggedFromFollowing: Nullable<boolean>, rebloggedRootId: Nullable<string>, rebloggedRootUrl: Nullable<string>, rebloggedRootName: Nullable<string>, rebloggedRootTitle: Nullable<string>, rebloggedRootUuid: Nullable<string>, rebloggedRootCanMessage: Nullable<boolean>, rebloggedRootFollowing: Nullable<boolean>, notes: Nullable<Array<work.socialhub.ktumblr.entity.Note>>, blog: Nullable<work.socialhub.ktumblr.entity.blog.Blog>, reblog: Nullable<work.socialhub.ktumblr.entity.blog.Reblog>, trail: Nullable<Array<work.socialhub.ktumblr.entity.trail.Trail>>);
get blogName(): Nullable<string>;
set blogName(value: Nullable<string>);
get idString(): Nullable<string>;
set idString(value: Nullable<string>);
get genesisPostId(): Nullable<string>;
set genesisPostId(value: Nullable<string>);
get postUrl(): Nullable<string>;
set postUrl(value: Nullable<string>);
get parentPostUrl(): Nullable<string>;
set parentPostUrl(value: Nullable<string>);
get type(): Nullable<string>;
set type(value: Nullable<string>);
get timestamp(): Nullable<number>;
set timestamp(value: Nullable<number>);
get date(): Nullable<string>;
set date(value: Nullable<string>);
get format(): Nullable<string>;
set format(value: Nullable<string>);