@book000/twitterts 0.18.1 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2276,7 +2276,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2276
2276
  indices: number[];
2277
2277
  }[];
2278
2278
  };
2279
- url: {
2279
+ url?: {
2280
2280
  urls: {
2281
2281
  display_url: string;
2282
2282
  expanded_url: string;
@@ -2304,12 +2304,12 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2304
2304
  screen_name: string;
2305
2305
  statuses_count: number;
2306
2306
  translator_type: string;
2307
- url: string;
2307
+ url?: string;
2308
2308
  verified: boolean;
2309
2309
  want_retweets: boolean;
2310
2310
  withheld_in_countries: unknown[];
2311
2311
  };
2312
- professional: {
2312
+ professional?: {
2313
2313
  rest_id: string;
2314
2314
  professional_type: string;
2315
2315
  category: {
@@ -2318,7 +2318,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2318
2318
  icon_name: string;
2319
2319
  }[];
2320
2320
  };
2321
- super_follow_eligible: boolean;
2321
+ super_follow_eligible?: boolean;
2322
2322
  };
2323
2323
  };
2324
2324
  };
@@ -2328,7 +2328,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2328
2328
  is_edit_eligible: boolean;
2329
2329
  edits_remaining: string;
2330
2330
  };
2331
- edit_perspective: {
2331
+ edit_perspective?: {
2332
2332
  favorited: boolean;
2333
2333
  retweeted: boolean;
2334
2334
  };
@@ -2338,7 +2338,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2338
2338
  state: string;
2339
2339
  };
2340
2340
  source: string;
2341
- note_tweet: {
2341
+ note_tweet?: {
2342
2342
  is_expandable: boolean;
2343
2343
  note_tweet_results: {
2344
2344
  result: {
@@ -2445,9 +2445,17 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2445
2445
  }[];
2446
2446
  };
2447
2447
  }[];
2448
- user_mentions: unknown[];
2448
+ user_mentions: {
2449
+ id_str: string;
2450
+ name: string;
2451
+ screen_name: string;
2452
+ indices: number[];
2453
+ }[];
2449
2454
  urls: unknown[];
2450
- hashtags: unknown[];
2455
+ hashtags: {
2456
+ indices: number[];
2457
+ text: string;
2458
+ }[];
2451
2459
  symbols: unknown[];
2452
2460
  };
2453
2461
  extended_entities: {
@@ -2567,7 +2575,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2567
2575
  landingUrl?: {
2568
2576
  url: string;
2569
2577
  urlType: string;
2570
- urtEndpointOptions: {
2578
+ urtEndpointOptions?: {
2571
2579
  title: string;
2572
2580
  requestParams: {
2573
2581
  key: string;
@@ -2731,7 +2739,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2731
2739
  entityToken?: string;
2732
2740
  details: {
2733
2741
  timelinesDetails: {
2734
- injectionType: string;
2742
+ injectionType?: string;
2735
2743
  controllerData: string;
2736
2744
  sourceData?: string;
2737
2745
  };
@@ -2745,7 +2753,7 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2745
2753
  itemContent: {
2746
2754
  itemType: string;
2747
2755
  __typename: string;
2748
- user_results: {
2756
+ user_results?: {
2749
2757
  result: {
2750
2758
  __typename: string;
2751
2759
  id: string;
@@ -2829,11 +2837,15 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2829
2837
  };
2830
2838
  };
2831
2839
  };
2832
- userDisplayType: string;
2840
+ userDisplayType?: string;
2833
2841
  socialContext?: {
2834
2842
  type: string;
2835
2843
  contextType: string;
2836
2844
  text: string;
2845
+ landingUrl?: {
2846
+ url: string;
2847
+ urlType: string;
2848
+ };
2837
2849
  };
2838
2850
  promotedMetadata?: {
2839
2851
  advertiser_results: {
@@ -2911,6 +2923,297 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2911
2923
  }[];
2912
2924
  };
2913
2925
  };
2926
+ tweet_results?: {
2927
+ result: {
2928
+ __typename: string;
2929
+ rest_id: string;
2930
+ core: {
2931
+ user_results: {
2932
+ result: {
2933
+ __typename: string;
2934
+ id: string;
2935
+ rest_id: string;
2936
+ affiliates_highlighted_label: {};
2937
+ has_graduated_access: boolean;
2938
+ is_blue_verified: boolean;
2939
+ profile_image_shape: string;
2940
+ legacy: {
2941
+ can_dm: boolean;
2942
+ can_media_tag: boolean;
2943
+ created_at: string;
2944
+ default_profile: boolean;
2945
+ default_profile_image: boolean;
2946
+ description: string;
2947
+ entities: {
2948
+ description: {
2949
+ urls: {
2950
+ display_url: string;
2951
+ expanded_url: string;
2952
+ url: string;
2953
+ indices: number[];
2954
+ }[];
2955
+ };
2956
+ url?: {
2957
+ urls: {
2958
+ display_url: string;
2959
+ expanded_url: string;
2960
+ url: string;
2961
+ indices: number[];
2962
+ }[];
2963
+ };
2964
+ };
2965
+ fast_followers_count: number;
2966
+ favourites_count: number;
2967
+ followers_count: number;
2968
+ friends_count: number;
2969
+ has_custom_timelines: boolean;
2970
+ is_translator: boolean;
2971
+ listed_count: number;
2972
+ location: string;
2973
+ media_count: number;
2974
+ name: string;
2975
+ normal_followers_count: number;
2976
+ pinned_tweet_ids_str: string[];
2977
+ possibly_sensitive: boolean;
2978
+ profile_banner_url: string;
2979
+ profile_image_url_https: string;
2980
+ profile_interstitial_type: string;
2981
+ screen_name: string;
2982
+ statuses_count: number;
2983
+ translator_type: string;
2984
+ url?: string;
2985
+ verified: boolean;
2986
+ want_retweets: boolean;
2987
+ withheld_in_countries: unknown[];
2988
+ followed_by?: boolean;
2989
+ following?: boolean;
2990
+ verified_type?: string;
2991
+ };
2992
+ professional?: {
2993
+ rest_id: string;
2994
+ professional_type: string;
2995
+ category: {
2996
+ id: number;
2997
+ name: string;
2998
+ icon_name: string;
2999
+ }[];
3000
+ };
3001
+ };
3002
+ };
3003
+ };
3004
+ edit_control: {
3005
+ edit_tweet_ids: string[];
3006
+ editable_until_msecs: string;
3007
+ is_edit_eligible: boolean;
3008
+ edits_remaining: string;
3009
+ };
3010
+ is_translatable: boolean;
3011
+ views: {
3012
+ count: string;
3013
+ state: string;
3014
+ };
3015
+ source: string;
3016
+ legacy: {
3017
+ bookmark_count: number;
3018
+ bookmarked: boolean;
3019
+ created_at: string;
3020
+ conversation_id_str: string;
3021
+ display_text_range: number[];
3022
+ entities: {
3023
+ media?: {
3024
+ display_url: string;
3025
+ expanded_url: string;
3026
+ id_str: string;
3027
+ indices: number[];
3028
+ media_url_https: string;
3029
+ type: string;
3030
+ url: string;
3031
+ features: {
3032
+ large: {
3033
+ faces: {
3034
+ x: number;
3035
+ y: number;
3036
+ h: number;
3037
+ w: number;
3038
+ }[];
3039
+ };
3040
+ medium: {
3041
+ faces: {
3042
+ x: number;
3043
+ y: number;
3044
+ h: number;
3045
+ w: number;
3046
+ }[];
3047
+ };
3048
+ small: {
3049
+ faces: {
3050
+ x: number;
3051
+ y: number;
3052
+ h: number;
3053
+ w: number;
3054
+ }[];
3055
+ };
3056
+ orig: {
3057
+ faces: {
3058
+ x: number;
3059
+ y: number;
3060
+ h: number;
3061
+ w: number;
3062
+ }[];
3063
+ };
3064
+ };
3065
+ sizes: {
3066
+ large: {
3067
+ h: number;
3068
+ w: number;
3069
+ resize: string;
3070
+ };
3071
+ medium: {
3072
+ h: number;
3073
+ w: number;
3074
+ resize: string;
3075
+ };
3076
+ small: {
3077
+ h: number;
3078
+ w: number;
3079
+ resize: string;
3080
+ };
3081
+ thumb: {
3082
+ h: number;
3083
+ w: number;
3084
+ resize: string;
3085
+ };
3086
+ };
3087
+ original_info: {
3088
+ height: number;
3089
+ width: number;
3090
+ focus_rects: {
3091
+ x: number;
3092
+ y: number;
3093
+ w: number;
3094
+ h: number;
3095
+ }[];
3096
+ };
3097
+ }[];
3098
+ user_mentions: {
3099
+ id_str: string;
3100
+ name: string;
3101
+ screen_name: string;
3102
+ indices: number[];
3103
+ }[];
3104
+ urls: {
3105
+ display_url: string;
3106
+ expanded_url: string;
3107
+ url: string;
3108
+ indices: number[];
3109
+ }[];
3110
+ hashtags: {
3111
+ indices: number[];
3112
+ text: string;
3113
+ }[];
3114
+ symbols: unknown[];
3115
+ };
3116
+ extended_entities?: {
3117
+ media: {
3118
+ display_url: string;
3119
+ expanded_url: string;
3120
+ id_str: string;
3121
+ indices: number[];
3122
+ media_key: string;
3123
+ media_url_https: string;
3124
+ type: string;
3125
+ url: string;
3126
+ ext_media_availability: {
3127
+ status: string;
3128
+ };
3129
+ features: {
3130
+ large: {
3131
+ faces: {
3132
+ x: number;
3133
+ y: number;
3134
+ h: number;
3135
+ w: number;
3136
+ }[];
3137
+ };
3138
+ medium: {
3139
+ faces: {
3140
+ x: number;
3141
+ y: number;
3142
+ h: number;
3143
+ w: number;
3144
+ }[];
3145
+ };
3146
+ small: {
3147
+ faces: {
3148
+ x: number;
3149
+ y: number;
3150
+ h: number;
3151
+ w: number;
3152
+ }[];
3153
+ };
3154
+ orig: {
3155
+ faces: {
3156
+ x: number;
3157
+ y: number;
3158
+ h: number;
3159
+ w: number;
3160
+ }[];
3161
+ };
3162
+ };
3163
+ sizes: {
3164
+ large: {
3165
+ h: number;
3166
+ w: number;
3167
+ resize: string;
3168
+ };
3169
+ medium: {
3170
+ h: number;
3171
+ w: number;
3172
+ resize: string;
3173
+ };
3174
+ small: {
3175
+ h: number;
3176
+ w: number;
3177
+ resize: string;
3178
+ };
3179
+ thumb: {
3180
+ h: number;
3181
+ w: number;
3182
+ resize: string;
3183
+ };
3184
+ };
3185
+ original_info: {
3186
+ height: number;
3187
+ width: number;
3188
+ focus_rects: {
3189
+ x: number;
3190
+ y: number;
3191
+ w: number;
3192
+ h: number;
3193
+ }[];
3194
+ };
3195
+ }[];
3196
+ };
3197
+ favorite_count: number;
3198
+ favorited: boolean;
3199
+ full_text: string;
3200
+ is_quote_status: boolean;
3201
+ lang: string;
3202
+ possibly_sensitive?: boolean;
3203
+ possibly_sensitive_editable?: boolean;
3204
+ quote_count: number;
3205
+ reply_count: number;
3206
+ retweet_count: number;
3207
+ retweeted: boolean;
3208
+ user_id_str: string;
3209
+ id_str: string;
3210
+ in_reply_to_screen_name?: string;
3211
+ in_reply_to_status_id_str?: string;
3212
+ in_reply_to_user_id_str?: string;
3213
+ };
3214
+ };
3215
+ };
3216
+ tweetDisplayType?: string;
2914
3217
  };
2915
3218
  clientEventInfo: {
2916
3219
  component: string;
@@ -2919,10 +3222,14 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2919
3222
  timelinesDetails: {
2920
3223
  injectionType: string;
2921
3224
  controllerData: string;
2922
- sourceData: string;
3225
+ sourceData?: string;
2923
3226
  };
2924
3227
  };
2925
3228
  };
3229
+ feedbackInfo?: {
3230
+ feedbackKeys: string[];
3231
+ feedbackMetadata: string;
3232
+ };
2926
3233
  };
2927
3234
  }[];
2928
3235
  displayType?: string;
@@ -2944,6 +3251,12 @@ export interface GraphQLPostHomeTimelineSuccessResponse {
2944
3251
  urlType: string;
2945
3252
  };
2946
3253
  };
3254
+ metadata?: {
3255
+ conversationMetadata: {
3256
+ allTweetIds: string[];
3257
+ enableDeduplication: boolean;
3258
+ };
3259
+ };
2947
3260
  };
2948
3261
  }[];
2949
3262
  clientEventInfo?: {