@book000/twitterts 0.76.2 → 0.77.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.
Files changed (61) hide show
  1. package/dist/converter.d.ts.map +1 -1
  2. package/dist/converter.js +22 -6
  3. package/dist/converter.js.map +1 -1
  4. package/dist/models/responses/custom/custom-graph-qltimeline-success-response.d.ts +11584 -10128
  5. package/dist/models/responses/custom/custom-graph-qltimeline-success-response.d.ts.map +1 -1
  6. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts +107 -27
  7. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts.map +1 -1
  8. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts +9667 -8491
  9. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts.map +1 -1
  10. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts +3174 -2930
  11. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts.map +1 -1
  12. package/dist/models/responses/custom/custom-tweet-object.d.ts +11207 -10188
  13. package/dist/models/responses/custom/custom-tweet-object.d.ts.map +1 -1
  14. package/dist/models/responses/custom/custom-user-legacy-object.d.ts +4 -4
  15. package/dist/models/responses/custom/custom-user-legacy-object.d.ts.map +1 -1
  16. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts +8209 -7671
  17. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts.map +1 -1
  18. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts +284 -330
  19. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts.map +1 -1
  20. package/dist/models/responses/graphql/get/broadcast-query-success.d.ts +92 -149
  21. package/dist/models/responses/graphql/get/broadcast-query-success.d.ts.map +1 -1
  22. package/dist/models/responses/graphql/get/communities-fetch-one-query-success.d.ts +119 -35
  23. package/dist/models/responses/graphql/get/communities-fetch-one-query-success.d.ts.map +1 -1
  24. package/dist/models/responses/graphql/get/follow-host-button-query-success.d.ts +9 -2
  25. package/dist/models/responses/graphql/get/follow-host-button-query-success.d.ts.map +1 -1
  26. package/dist/models/responses/graphql/get/get-alt-text-prompt-preference-success.d.ts +26 -0
  27. package/dist/models/responses/graphql/get/get-alt-text-prompt-preference-success.d.ts.map +1 -1
  28. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts +569 -145
  29. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts.map +1 -1
  30. package/dist/models/responses/graphql/get/home-timeline-success.d.ts +8257 -6974
  31. package/dist/models/responses/graphql/get/home-timeline-success.d.ts.map +1 -1
  32. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-success.d.ts +2 -0
  33. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-success.d.ts.map +1 -1
  34. package/dist/models/responses/graphql/get/pinned-timelines-success.d.ts +44 -14
  35. package/dist/models/responses/graphql/get/pinned-timelines-success.d.ts.map +1 -1
  36. package/dist/models/responses/graphql/get/profile-spotlights-query-success.d.ts +20 -7
  37. package/dist/models/responses/graphql/get/profile-spotlights-query-success.d.ts.map +1 -1
  38. package/dist/models/responses/graphql/get/search-timeline-success.d.ts +107 -27
  39. package/dist/models/responses/graphql/get/search-timeline-success.d.ts.map +1 -1
  40. package/dist/models/responses/graphql/get/tweet-detail-success.d.ts +35 -9
  41. package/dist/models/responses/graphql/get/tweet-detail-success.d.ts.map +1 -1
  42. package/dist/models/responses/graphql/get/tweet-result-by-rest-id-success.d.ts +284 -293
  43. package/dist/models/responses/graphql/get/tweet-result-by-rest-id-success.d.ts.map +1 -1
  44. package/dist/models/responses/graphql/get/use-fetch-profile-sections-can-view-expanded-profile-query-success.d.ts +1 -1
  45. package/dist/models/responses/graphql/get/use-fetch-profile-sections-can-view-expanded-profile-query-success.d.ts.map +1 -1
  46. package/dist/models/responses/graphql/get/user-by-rest-id-success.d.ts +32 -6
  47. package/dist/models/responses/graphql/get/user-by-rest-id-success.d.ts.map +1 -1
  48. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts +32 -9
  49. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts.map +1 -1
  50. package/dist/models/responses/graphql/get/user-tweets-success.d.ts +2092 -2133
  51. package/dist/models/responses/graphql/get/user-tweets-success.d.ts.map +1 -1
  52. package/dist/models/responses/graphql/get/users-verified-avatars-success.d.ts +1 -0
  53. package/dist/models/responses/graphql/get/users-verified-avatars-success.d.ts.map +1 -1
  54. package/dist/models/responses/graphql/get/viewer-success.d.ts +78 -18
  55. package/dist/models/responses/graphql/get/viewer-success.d.ts.map +1 -1
  56. package/dist/models/responses/graphql/post/home-timeline-success.d.ts +8982 -7410
  57. package/dist/models/responses/graphql/post/home-timeline-success.d.ts.map +1 -1
  58. package/dist/parser/user-tweets.js +0 -1
  59. package/dist/parser/user-tweets.js.map +1 -1
  60. package/dist/tsconfig.build.tsbuildinfo +1 -1
  61. package/package.json +2 -2
@@ -3,7 +3,7 @@ export interface CustomUserLegacyObject {
3
3
  following?: boolean;
4
4
  can_dm?: boolean;
5
5
  can_media_tag?: boolean;
6
- created_at: string;
6
+ created_at?: string;
7
7
  default_profile: boolean;
8
8
  default_profile_image: boolean;
9
9
  description: string;
@@ -32,20 +32,20 @@ export interface CustomUserLegacyObject {
32
32
  has_custom_timelines: boolean;
33
33
  is_translator: boolean;
34
34
  listed_count: number;
35
- location: string;
35
+ location?: string;
36
36
  media_count: number;
37
37
  name?: string;
38
38
  normal_followers_count: number;
39
39
  pinned_tweet_ids_str: string[];
40
40
  possibly_sensitive: boolean;
41
41
  profile_banner_url?: string;
42
- profile_image_url_https: string;
42
+ profile_image_url_https?: string;
43
43
  profile_interstitial_type: string;
44
44
  screen_name?: string;
45
45
  statuses_count: number;
46
46
  translator_type: string;
47
47
  url?: string;
48
- verified: boolean;
48
+ verified?: boolean;
49
49
  want_retweets?: boolean;
50
50
  withheld_in_countries: string[];
51
51
  verified_type?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"custom-user-legacy-object.d.ts","sourceRoot":"","sources":["../../../../src/models/responses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C/B,yBAAyB,EAAE,MAAM,CAAA;IACjC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,eAAe,EAAE,MAAM,CAAA;IACvB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,MAAM,EAAE,CAAA;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,wBAAwB,CAAC,EAAE,OAAO,CAAA;CACnC"}
1
+ {"version":3,"file":"custom-user-legacy-object.d.ts","sourceRoot":"","sources":["../../../../src/models/responses/custom/custom-user-legacy-object.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAE1B,MAAM,WAAW,sBAAsB;IACrC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,OAAO,CAAA;IACxB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE;QACR,WAAW,EAAE;YACX,IAAI,EAAE;gBACJ,WAAW,EAAE,MAAM,CAAA;gBACnB,YAAY,EAAE,MAAM,CAAA;gBACpB,GAAG,EAAE,MAAM,CAAA;gBACX,OAAO,EAAE,MAAM,EAAE,CAAA;aAClB,EAAE,CAAA;SACJ,CAAA;QACD,GAAG,CAAC,EAAE;YACJ,IAAI,EAAE;gBACJ,WAAW,EAAE,MAAM,CAAA;gBACnB,YAAY,EAAE,MAAM,CAAA;gBACpB,GAAG,EAAE,MAAM,CAAA;gBACX,OAAO,EAAE,MAAM,EAAE,CAAA;aAClB,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