@book000/twitterts 0.74.80 → 0.75.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.
Files changed (83) hide show
  1. package/dist/converter.d.ts.map +1 -1
  2. package/dist/converter.js +5 -8
  3. package/dist/converter.js.map +1 -1
  4. package/dist/generate-types/custom-types-generator.d.ts.map +1 -1
  5. package/dist/generate-types/custom-types-generator.js +5 -6
  6. package/dist/generate-types/custom-types-generator.js.map +1 -1
  7. package/dist/models/responses/custom/custom-graph-qltimeline-success-response.d.ts +11282 -9733
  8. package/dist/models/responses/custom/custom-graph-qltimeline-success-response.d.ts.map +1 -1
  9. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts +2472 -713
  10. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts.map +1 -1
  11. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts +9390 -8194
  12. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts.map +1 -1
  13. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts +2730 -985
  14. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts.map +1 -1
  15. package/dist/models/responses/custom/custom-tweet-object.d.ts +10515 -7713
  16. package/dist/models/responses/custom/custom-tweet-object.d.ts.map +1 -1
  17. package/dist/models/responses/custom/custom-user-legacy-object.d.ts +17 -10
  18. package/dist/models/responses/custom/custom-user-legacy-object.d.ts.map +1 -1
  19. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts +8710 -2798
  20. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts.map +1 -1
  21. package/dist/models/responses/endpoints.d.ts +12 -6
  22. package/dist/models/responses/endpoints.d.ts.map +1 -1
  23. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts +1201 -266
  24. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts.map +1 -1
  25. package/dist/models/responses/graphql/get/broadcast-query-success.d.ts +111 -141
  26. package/dist/models/responses/graphql/get/broadcast-query-success.d.ts.map +1 -1
  27. package/dist/models/responses/graphql/get/communities-fetch-one-query-success.d.ts +29 -20
  28. package/dist/models/responses/graphql/get/communities-fetch-one-query-success.d.ts.map +1 -1
  29. package/dist/models/responses/graphql/get/communities-fetch-one-query-success.js +1 -1
  30. package/dist/models/responses/graphql/get/communities-fetch-one-query-success.js.map +1 -1
  31. package/dist/models/responses/graphql/get/data-saver-mode-error.d.ts +1 -1
  32. package/dist/models/responses/graphql/get/data-saver-mode-error.d.ts.map +1 -1
  33. package/dist/models/responses/graphql/get/data-saver-mode-success.d.ts +26 -0
  34. package/dist/models/responses/graphql/get/data-saver-mode-success.d.ts.map +1 -1
  35. package/dist/models/responses/graphql/get/home-latest-timeline-error.d.ts +1 -1
  36. package/dist/models/responses/graphql/get/home-latest-timeline-error.d.ts.map +1 -1
  37. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts +5482 -677
  38. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts.map +1 -1
  39. package/dist/models/responses/graphql/get/home-timeline-success.d.ts +6868 -6098
  40. package/dist/models/responses/graphql/get/home-timeline-success.d.ts.map +1 -1
  41. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-error.d.ts +8 -0
  42. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-error.d.ts.map +1 -0
  43. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-error.js +4 -0
  44. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-error.js.map +1 -0
  45. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-success.d.ts +25 -1
  46. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-success.d.ts.map +1 -1
  47. package/dist/models/responses/graphql/get/pinned-timelines-success.d.ts +27 -1
  48. package/dist/models/responses/graphql/get/pinned-timelines-success.d.ts.map +1 -1
  49. package/dist/models/responses/graphql/get/profile-spotlights-query-success.d.ts +175 -4
  50. package/dist/models/responses/graphql/get/profile-spotlights-query-success.d.ts.map +1 -1
  51. package/dist/models/responses/graphql/get/search-timeline-success.d.ts +2204 -418
  52. package/dist/models/responses/graphql/get/search-timeline-success.d.ts.map +1 -1
  53. package/dist/models/responses/graphql/get/tweet-detail-success.d.ts +5898 -566
  54. package/dist/models/responses/graphql/get/tweet-detail-success.d.ts.map +1 -1
  55. package/dist/models/responses/graphql/get/tweet-result-by-rest-id-success.d.ts +976 -32
  56. package/dist/models/responses/graphql/get/tweet-result-by-rest-id-success.d.ts.map +1 -1
  57. package/dist/models/responses/graphql/get/use-fetch-profile-sections-can-view-expanded-profile-query-success.d.ts +27 -1
  58. package/dist/models/responses/graphql/get/use-fetch-profile-sections-can-view-expanded-profile-query-success.d.ts.map +1 -1
  59. package/dist/models/responses/graphql/get/user-by-rest-id-error.d.ts +1 -1
  60. package/dist/models/responses/graphql/get/user-by-rest-id-error.d.ts.map +1 -1
  61. package/dist/models/responses/graphql/get/user-by-rest-id-success.d.ts +78 -49
  62. package/dist/models/responses/graphql/get/user-by-rest-id-success.d.ts.map +1 -1
  63. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts +113 -20
  64. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts.map +1 -1
  65. package/dist/models/responses/graphql/get/user-by-screen-name-success.js +1 -1
  66. package/dist/models/responses/graphql/get/user-by-screen-name-success.js.map +1 -1
  67. package/dist/models/responses/graphql/get/user-tweets-success.d.ts +17923 -3837
  68. package/dist/models/responses/graphql/get/user-tweets-success.d.ts.map +1 -1
  69. package/dist/models/responses/graphql/get/viewer-success.d.ts +63 -18
  70. package/dist/models/responses/graphql/get/viewer-success.d.ts.map +1 -1
  71. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts +5316 -504
  72. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts.map +1 -1
  73. package/dist/models/responses/graphql/post/home-timeline-success.d.ts +7754 -7404
  74. package/dist/models/responses/graphql/post/home-timeline-success.d.ts.map +1 -1
  75. package/dist/parser/user-tweets.js +1 -1
  76. package/dist/parser/user-tweets.js.map +1 -1
  77. package/dist/tsconfig.build.tsbuildinfo +1 -1
  78. package/dist/twitter.d.ts.map +1 -1
  79. package/dist/twitter.js +9 -3
  80. package/dist/twitter.js.map +1 -1
  81. package/dist/twitter.test.js +4 -2
  82. package/dist/twitter.test.js.map +1 -1
  83. package/package.json +2 -2
@@ -1,15 +1,20 @@
1
1
  /** レスポンスユーザーレガシーオブジェクト */
2
2
  export interface CustomUserLegacyObject {
3
- following: boolean;
4
- can_dm: boolean;
5
- can_media_tag: boolean;
3
+ following?: boolean;
4
+ can_dm?: boolean;
5
+ can_media_tag?: boolean;
6
6
  created_at: string;
7
7
  default_profile: boolean;
8
8
  default_profile_image: boolean;
9
9
  description: string;
10
10
  entities: {
11
11
  description: {
12
- urls: unknown[];
12
+ urls: {
13
+ display_url: string;
14
+ expanded_url: string;
15
+ url: string;
16
+ indices: number[];
17
+ }[];
13
18
  };
14
19
  url?: {
15
20
  urls: {
@@ -29,21 +34,23 @@ export interface CustomUserLegacyObject {
29
34
  listed_count: number;
30
35
  location: string;
31
36
  media_count: number;
32
- name: string;
37
+ name?: string;
33
38
  normal_followers_count: number;
34
39
  pinned_tweet_ids_str: string[];
35
40
  possibly_sensitive: boolean;
36
- profile_banner_url: string;
41
+ profile_banner_url?: string;
37
42
  profile_image_url_https: string;
38
43
  profile_interstitial_type: string;
39
- screen_name: string;
44
+ screen_name?: string;
40
45
  statuses_count: number;
41
46
  translator_type: string;
42
- verified: boolean;
43
- want_retweets: boolean;
44
- withheld_in_countries: unknown[];
45
47
  url?: string;
48
+ verified: boolean;
49
+ want_retweets?: boolean;
50
+ withheld_in_countries: string[];
51
+ verified_type?: string;
46
52
  followed_by?: boolean;
53
+ notifications?: boolean;
47
54
  protected?: boolean;
48
55
  needs_phone_verification?: boolean;
49
56
  }
@@ -1 +1 @@
1
- {"version":3,"file":"custom-user-legacy-object.d.ts","sourceRoot":"","sources":["../../../../src/models/responses/custom/custom-user-legacy-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,CAAA;IACtB,qBAAqB,EAAE,OAAO,EAAE,CAAA;IAChC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,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,EAAE,MAAM,CAAA;IAClB,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,EAAE,CAAA;SACJ,CAAA;KACF,CAAA;IACD,oBAAoB,EAAE,MAAM,CAAA;IAC5B,gBAAgB,EAAE,MAAM,CAAA;IACxB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;IACrB,oBAAoB,EAAE,OAAO,CAAA;IAC7B,aAAa,EAAE,OAAO,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,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