twitter-openapi-typescript-generated 0.0.6 → 0.0.7

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 (118) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +0 -1
  4. package/dist/apis/DefaultApi.d.ts.map +1 -1
  5. package/dist/apis/DefaultApi.js +0 -6
  6. package/dist/apis/DefaultApi.js.map +1 -1
  7. package/dist/apis/TweetApi.d.ts +0 -9
  8. package/dist/apis/TweetApi.d.ts.map +1 -1
  9. package/dist/apis/TweetApi.js +0 -54
  10. package/dist/apis/TweetApi.js.map +1 -1
  11. package/dist/apis/UserApi.d.ts +0 -1
  12. package/dist/apis/UserApi.d.ts.map +1 -1
  13. package/dist/apis/UserApi.js +0 -6
  14. package/dist/apis/UserApi.js.map +1 -1
  15. package/dist/apis/UserListApi.d.ts +0 -2
  16. package/dist/apis/UserListApi.d.ts.map +1 -1
  17. package/dist/apis/UserListApi.js +0 -12
  18. package/dist/apis/UserListApi.js.map +1 -1
  19. package/dist/models/TweetLegacy.d.ts +7 -0
  20. package/dist/models/TweetLegacy.d.ts.map +1 -1
  21. package/dist/models/TweetLegacy.js +3 -0
  22. package/dist/models/TweetLegacy.js.map +1 -1
  23. package/dist/models/TweetLegacySelfThread.d.ts +32 -0
  24. package/dist/models/TweetLegacySelfThread.d.ts.map +1 -0
  25. package/dist/models/TweetLegacySelfThread.js +51 -0
  26. package/dist/models/TweetLegacySelfThread.js.map +1 -0
  27. package/dist/models/index.d.ts +1 -0
  28. package/dist/models/index.d.ts.map +1 -1
  29. package/dist/models/index.js +1 -0
  30. package/dist/models/index.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/apis/DefaultApi.ts +0 -9
  33. package/src/apis/TweetApi.ts +0 -81
  34. package/src/apis/UserApi.ts +0 -9
  35. package/src/apis/UserListApi.ts +0 -18
  36. package/src/models/TweetLegacy.ts +14 -0
  37. package/src/models/TweetLegacySelfThread.ts +66 -0
  38. package/src/models/index.ts +1 -0
  39. package/tools/openapi-generator-config.yaml +2 -2
  40. package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +0 -7
  41. package/twitter-openapi/dist/{test → compatible}/paths/follow.yaml +0 -14
  42. package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +0 -7
  43. package/twitter-openapi/dist/{test → compatible}/paths/timeline.yaml +0 -21
  44. package/twitter-openapi/dist/{test → compatible}/paths/tweet.yaml +0 -7
  45. package/twitter-openapi/dist/{test → compatible}/paths/user.yaml +0 -7
  46. package/twitter-openapi/dist/{typescript → compatible}/paths/usertweets.yaml +0 -28
  47. package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +8 -0
  48. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -56
  49. package/twitter-openapi/dist/docs/paths/follow.yaml +0 -112
  50. package/twitter-openapi/dist/docs/paths/profile.yaml +0 -35
  51. package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -170
  52. package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -61
  53. package/twitter-openapi/dist/docs/paths/user.yaml +0 -41
  54. package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -238
  55. package/twitter-openapi/dist/docs/schemas/tweet.yaml +8 -0
  56. package/twitter-openapi/src/openapi/schemas/tweet.yaml +8 -0
  57. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  58. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  59. package/twitter-openapi/tools/build_config.py +67 -190
  60. package/twitter-openapi/tools/hooks.py +28 -7
  61. package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
  62. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -141
  63. package/twitter-openapi/dist/dart/paths/follow.yaml +0 -276
  64. package/twitter-openapi/dist/dart/paths/post.yaml +0 -876
  65. package/twitter-openapi/dist/dart/paths/profile.yaml +0 -159
  66. package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -401
  67. package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -141
  68. package/twitter-openapi/dist/dart/paths/user.yaml +0 -119
  69. package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -512
  70. package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
  71. package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
  72. package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
  73. package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -112
  74. package/twitter-openapi/dist/test/paths/other.yaml +0 -96
  75. package/twitter-openapi/dist/test/paths/post.yaml +0 -527
  76. package/twitter-openapi/dist/test/paths/usertweets.yaml +0 -396
  77. package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
  78. package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
  79. package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
  80. package/twitter-openapi/dist/test/resources/parameters.yaml +0 -13
  81. package/twitter-openapi/dist/test/response/error.yaml +0 -90
  82. package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
  83. package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
  84. package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
  85. package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
  86. package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -308
  87. package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
  88. package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
  89. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -141
  90. package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -218
  91. package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
  92. package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -130
  93. package/twitter-openapi/dist/typescript/paths/timeline.yaml +0 -314
  94. package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -112
  95. package/twitter-openapi/dist/typescript/paths/user.yaml +0 -90
  96. package/twitter-openapi/dist/typescript/resources/parameters.yaml +0 -13
  97. package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
  98. package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
  99. package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
  100. package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
  101. package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
  102. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -308
  103. package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
  104. package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
  105. /package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +0 -0
  106. /package/twitter-openapi/dist/{dart → compatible}/paths/other.yaml +0 -0
  107. /package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +0 -0
  108. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-get.yaml +0 -0
  109. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-post.yaml +0 -0
  110. /package/twitter-openapi/dist/{typescript → compatible}/paths/v2.0-get.yaml +0 -0
  111. /package/twitter-openapi/dist/{dart → compatible}/resources/parameters.yaml +0 -0
  112. /package/twitter-openapi/dist/{dart → compatible}/response/error.yaml +0 -0
  113. /package/twitter-openapi/dist/{dart → compatible}/schemas/content.yaml +0 -0
  114. /package/twitter-openapi/dist/{dart → compatible}/schemas/general.yaml +0 -0
  115. /package/twitter-openapi/dist/{dart → compatible}/schemas/instruction.yaml +0 -0
  116. /package/twitter-openapi/dist/{dart → compatible}/schemas/timeline.yaml +0 -0
  117. /package/twitter-openapi/dist/{dart → compatible}/schemas/typename.yaml +0 -0
  118. /package/twitter-openapi/dist/{dart → compatible}/schemas/user.yaml +0 -0
@@ -12,6 +12,7 @@
12
12
  import type { Entities } from './Entities';
13
13
  import type { ExtendedEntities } from './ExtendedEntities';
14
14
  import type { ItemResult } from './ItemResult';
15
+ import type { TweetLegacySelfThread } from './TweetLegacySelfThread';
15
16
  /**
16
17
  *
17
18
  * @export
@@ -138,6 +139,12 @@ export interface TweetLegacy {
138
139
  * @memberof TweetLegacy
139
140
  */
140
141
  retweetedStatusResult?: ItemResult;
142
+ /**
143
+ *
144
+ * @type {TweetLegacySelfThread}
145
+ * @memberof TweetLegacy
146
+ */
147
+ selfThread?: TweetLegacySelfThread;
141
148
  /**
142
149
  *
143
150
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"TweetLegacy.d.ts","sourceRoot":"","sources":["../../src/models/TweetLegacy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAM3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAM3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,IAAI,EAAE,MA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CAgCjE"}
@@ -18,6 +18,7 @@ var runtime_1 = require("../runtime");
18
18
  var Entities_1 = require("./Entities");
19
19
  var ExtendedEntities_1 = require("./ExtendedEntities");
20
20
  var ItemResult_1 = require("./ItemResult");
21
+ var TweetLegacySelfThread_1 = require("./TweetLegacySelfThread");
21
22
  /**
22
23
  * Check if a given object implements the TweetLegacy interface.
23
24
  */
@@ -72,6 +73,7 @@ function TweetLegacyFromJSONTyped(json, ignoreDiscriminator) {
72
73
  'retweetCount': json['retweet_count'],
73
74
  'retweeted': json['retweeted'],
74
75
  'retweetedStatusResult': !(0, runtime_1.exists)(json, 'retweeted_status_result') ? undefined : (0, ItemResult_1.ItemResultFromJSON)(json['retweeted_status_result']),
76
+ 'selfThread': !(0, runtime_1.exists)(json, 'self_thread') ? undefined : (0, TweetLegacySelfThread_1.TweetLegacySelfThreadFromJSON)(json['self_thread']),
75
77
  'userIdStr': json['user_id_str'],
76
78
  };
77
79
  }
@@ -104,6 +106,7 @@ function TweetLegacyToJSON(value) {
104
106
  'retweet_count': value.retweetCount,
105
107
  'retweeted': value.retweeted,
106
108
  'retweeted_status_result': (0, ItemResult_1.ItemResultToJSON)(value.retweetedStatusResult),
109
+ 'self_thread': (0, TweetLegacySelfThread_1.TweetLegacySelfThreadToJSON)(value.selfThread),
107
110
  'user_id_str': value.userIdStr,
108
111
  };
109
112
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TweetLegacy.js","sourceRoot":"","sources":["../../src/models/TweetLegacy.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,sCAA+C;AAE/C,uCAIoB;AAEpB,uDAI4B;AAE5B,2CAIsB;AAwItB;;GAEG;AACH,SAAgB,qBAAqB,CAAC,KAAa;IAC/C,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,eAAe,IAAI,KAAK,CAAC;IACpD,UAAU,GAAG,UAAU,IAAI,YAAY,IAA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;QACrC,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,WAAW,EAAE,KAAK,CAAC,QAAQ;QAC3B,QAAQ,EAAE,KAAK,CAAC,KAAK;QACrB,iBAAiB,EAAE,KAAK,CAAC,aAAa;QACtC,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,oBAAoB,EAAE,KAAK,CAAC,iBAAiB;QAC7C,6BAA6B,EAAE,KAAK,CAAC,yBAAyB;QAC9D,aAAa,EAAE,KAAK,CAAC,UAAU;QAC/B,aAAa,EAAE,KAAK,CAAC,UAAU;QAC/B,eAAe,EAAE,KAAK,CAAC,YAAY;QACnC,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,yBAAyB,EAAE,IAAA,6BAAgB,EAAC,KAAK,CAAC,qBAAqB,CAAC;QACxE,aAAa,EAAE,IAAA,mDAA2B,EAAC,KAAK,CAAC,UAAU,CAAC;QAC5D,aAAa,EAAE,KAAK,CAAC,SAAS;KACjC,CAAC;AACN,CAAC;AAhCD,8CAgCC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Twitter OpenAPI
3
+ * Twitter OpenAPI(Swagger) specification
4
+ *
5
+ * The version of the OpenAPI document: 0.0.1
6
+ * Contact: yuki@yuki0311.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface TweetLegacySelfThread
16
+ */
17
+ export interface TweetLegacySelfThread {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TweetLegacySelfThread
22
+ */
23
+ idStr: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the TweetLegacySelfThread interface.
27
+ */
28
+ export declare function instanceOfTweetLegacySelfThread(value: object): boolean;
29
+ export declare function TweetLegacySelfThreadFromJSON(json: any): TweetLegacySelfThread;
30
+ export declare function TweetLegacySelfThreadFromJSONTyped(json: any, ignoreDiscriminator: boolean): TweetLegacySelfThread;
31
+ export declare function TweetLegacySelfThreadToJSON(value?: TweetLegacySelfThread | null): any;
32
+ //# sourceMappingURL=TweetLegacySelfThread.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TweetLegacySelfThread.d.ts","sourceRoot":"","sources":["../../src/models/TweetLegacySelfThread.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAKtE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAQjH;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,GAAG,GAAG,CAWrF"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Twitter OpenAPI
6
+ * Twitter OpenAPI(Swagger) specification
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ * Contact: yuki@yuki0311.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TweetLegacySelfThreadToJSON = exports.TweetLegacySelfThreadFromJSONTyped = exports.TweetLegacySelfThreadFromJSON = exports.instanceOfTweetLegacySelfThread = void 0;
17
+ /**
18
+ * Check if a given object implements the TweetLegacySelfThread interface.
19
+ */
20
+ function instanceOfTweetLegacySelfThread(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "idStr" in value;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfTweetLegacySelfThread = instanceOfTweetLegacySelfThread;
26
+ function TweetLegacySelfThreadFromJSON(json) {
27
+ return TweetLegacySelfThreadFromJSONTyped(json, false);
28
+ }
29
+ exports.TweetLegacySelfThreadFromJSON = TweetLegacySelfThreadFromJSON;
30
+ function TweetLegacySelfThreadFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'idStr': json['id_str'],
36
+ };
37
+ }
38
+ exports.TweetLegacySelfThreadFromJSONTyped = TweetLegacySelfThreadFromJSONTyped;
39
+ function TweetLegacySelfThreadToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'id_str': value.idStr,
48
+ };
49
+ }
50
+ exports.TweetLegacySelfThreadToJSON = TweetLegacySelfThreadToJSON;
51
+ //# sourceMappingURL=TweetLegacySelfThread.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TweetLegacySelfThread.js","sourceRoot":"","sources":["../../src/models/TweetLegacySelfThread.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiBH;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,OAAO,IAAI,KAAK,CAAC;IAE5C,OAAO,UAAU,CAAC;AACtB,CAAC;AALD,0EAKC;AAED,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAFD,sEAEC;AAED,SAAgB,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC1B,CAAC;AACN,CAAC;AARD,gFAQC;AAED,SAAgB,2BAA2B,CAAC,KAAoC;IAC5E,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,KAAK;KACxB,CAAC;AACN,CAAC;AAXD,kEAWC"}
@@ -83,6 +83,7 @@ export * from './TweetDetailResponseData';
83
83
  export * from './TweetEditControl';
84
84
  export * from './TweetEditPrespective';
85
85
  export * from './TweetLegacy';
86
+ export * from './TweetLegacySelfThread';
86
87
  export * from './TweetTombstone';
87
88
  export * from './TweetUnion';
88
89
  export * from './TweetViews';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,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,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
@@ -101,6 +101,7 @@ __exportStar(require("./TweetDetailResponseData"), exports);
101
101
  __exportStar(require("./TweetEditControl"), exports);
102
102
  __exportStar(require("./TweetEditPrespective"), exports);
103
103
  __exportStar(require("./TweetLegacy"), exports);
104
+ __exportStar(require("./TweetLegacySelfThread"), exports);
104
105
  __exportStar(require("./TweetTombstone"), exports);
105
106
  __exportStar(require("./TweetUnion"), exports);
106
107
  __exportStar(require("./TweetViews"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,sDAAoC;AACpC,0DAAwC;AACxC,sDAAoC;AACpC,uDAAqC;AACrC,qDAAmC;AACnC,oDAAkC;AAClC,iDAA+B;AAC/B,kDAAgC;AAChC,0DAAwC;AACxC,8DAA4C;AAC5C,gEAA8C;AAC9C,gDAA8B;AAC9B,wDAAsC;AACtC,4DAA0C;AAC1C,8DAA4C;AAC5C,0DAAwC;AACxC,8DAA4C;AAC5C,wDAAsC;AACtC,4DAA0C;AAC1C,8DAA4C;AAC5C,6CAA2B;AAC3B,qDAAmC;AACnC,kDAAgC;AAChC,8DAA4C;AAC5C,mDAAiC;AACjC,uDAAqC;AACrC,yDAAuC;AACvC,uDAAqC;AACrC,mDAAiC;AACjC,qDAAmC;AACnC,6DAA2C;AAC3C,oDAAkC;AAClC,qDAAmC;AACnC,qDAAmC;AACnC,+CAA6B;AAC7B,uDAAqC;AACrC,2DAAyC;AACzC,2DAAyC;AACzC,+DAA6C;AAC7C,0CAAwB;AACxB,sDAAoC;AACpC,gDAA8B;AAC9B,+CAA6B;AAC7B,8DAA4C;AAC5C,kDAAgC;AAChC,6DAA2C;AAC3C,sEAAoD;AACpD,2DAAyC;AACzC,mEAAiD;AACjD,oEAAkD;AAClD,yEAAuD;AACvD,6DAA2C;AAC3C,sEAAoD;AACpD,2DAAyC;AACzC,6DAA2C;AAC3C,+DAA6C;AAC7C,oDAAkC;AAClC,wDAAsC;AACtC,4CAA0B;AAC1B,kDAAgC;AAChC,4CAA0B;AAC1B,kDAAgC;AAChC,6CAA2B;AAC3B,uDAAqC;AACrC,qDAAmC;AACnC,uDAAqC;AACrC,qDAAmC;AACnC,qDAAmC;AACnC,8DAA4C;AAC5C,2DAAyC;AACzC,yDAAuC;AACvC,2DAAyC;AACzC,kDAAgC;AAChC,iDAA+B;AAC/B,+CAA6B;AAC7B,0CAAwB;AACxB,8CAA4B;AAC5B,oDAAkC;AAClC,sEAAoD;AACpD,2EAAyD;AACzD,wDAAsC;AACtC,4DAA0C;AAC1C,qDAAmC;AACnC,yDAAuC;AACvC,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,+DAA6C;AAC7C,6CAA2B;AAC3B,oDAAkC;AAClC,gEAA8C;AAC9C,wCAAsB;AACtB,yCAAuB;AACvB,iDAA+B;AAC/B,+CAA6B;AAC7B,iDAA+B;AAC/B,qDAAmC;AACnC,2DAAyC;AACzC,iEAA+C;AAC/C,iEAA+C;AAC/C,mDAAiC;AACjC,gDAA8B;AAC9B,mDAAiC;AACjC,uDAAqC;AACrC,qDAAmC;AACnC,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,sDAAoC;AACpC,0DAAwC;AACxC,sDAAoC;AACpC,uDAAqC;AACrC,qDAAmC;AACnC,oDAAkC;AAClC,iDAA+B;AAC/B,kDAAgC;AACh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;AAC3B,oDAAkC;AAClC,gEAA8C;AAC9C,wCAAsB;AACtB,yCAAuB;AACvB,iDAA+B;AAC/B,+CAA6B;AAC7B,iDAA+B;AAC/B,qDAAmC;AACnC,2DAAyC;AACzC,iEAA+C;AAC/C,iEAA+C;AAC/C,mDAAiC;AACjC,gDAA8B;AAC9B,mDAAiC;AACjC,uDAAqC;AACrC,qDAAmC;AACnC,mDAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twitter-openapi-typescript-generated",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "OpenAPI client for twitter-openapi-typescript-generated",
5
5
  "author": "fa0311",
6
6
  "repository": {
@@ -24,7 +24,6 @@ import {
24
24
 
25
25
  export interface GetProfileSpotlightsQueryRequest {
26
26
  pathQueryId: string;
27
- queryId: string;
28
27
  variables: string;
29
28
  features: string;
30
29
  }
@@ -42,10 +41,6 @@ export class DefaultApi extends runtime.BaseAPI {
42
41
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getProfileSpotlightsQuery.');
43
42
  }
44
43
 
45
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
46
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getProfileSpotlightsQuery.');
47
- }
48
-
49
44
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
50
45
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getProfileSpotlightsQuery.');
51
46
  }
@@ -56,10 +51,6 @@ export class DefaultApi extends runtime.BaseAPI {
56
51
 
57
52
  const queryParameters: any = {};
58
53
 
59
- if (requestParameters.queryId !== undefined) {
60
- queryParameters['queryId'] = requestParameters.queryId;
61
- }
62
-
63
54
  if (requestParameters.variables !== undefined) {
64
55
  queryParameters['variables'] = requestParameters.variables;
65
56
  }
@@ -36,63 +36,54 @@ import {
36
36
 
37
37
  export interface GetBookmarksRequest {
38
38
  pathQueryId: string;
39
- queryId: string;
40
39
  variables: string;
41
40
  features: string;
42
41
  }
43
42
 
44
43
  export interface GetHomeLatestTimelineRequest {
45
44
  pathQueryId: string;
46
- queryId: string;
47
45
  variables: string;
48
46
  features: string;
49
47
  }
50
48
 
51
49
  export interface GetHomeTimelineRequest {
52
50
  pathQueryId: string;
53
- queryId: string;
54
51
  variables: string;
55
52
  features: string;
56
53
  }
57
54
 
58
55
  export interface GetLikesRequest {
59
56
  pathQueryId: string;
60
- queryId: string;
61
57
  variables: string;
62
58
  features: string;
63
59
  }
64
60
 
65
61
  export interface GetListLatestTweetsTimelineRequest {
66
62
  pathQueryId: string;
67
- queryId: string;
68
63
  variables: string;
69
64
  features: string;
70
65
  }
71
66
 
72
67
  export interface GetTweetDetailRequest {
73
68
  pathQueryId: string;
74
- queryId: string;
75
69
  variables: string;
76
70
  features: string;
77
71
  }
78
72
 
79
73
  export interface GetUserMediaRequest {
80
74
  pathQueryId: string;
81
- queryId: string;
82
75
  variables: string;
83
76
  features: string;
84
77
  }
85
78
 
86
79
  export interface GetUserTweetsRequest {
87
80
  pathQueryId: string;
88
- queryId: string;
89
81
  variables: string;
90
82
  features: string;
91
83
  }
92
84
 
93
85
  export interface GetUserTweetsAndRepliesRequest {
94
86
  pathQueryId: string;
95
- queryId: string;
96
87
  variables: string;
97
88
  features: string;
98
89
  }
@@ -110,10 +101,6 @@ export class TweetApi extends runtime.BaseAPI {
110
101
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getBookmarks.');
111
102
  }
112
103
 
113
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
114
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getBookmarks.');
115
- }
116
-
117
104
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
118
105
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getBookmarks.');
119
106
  }
@@ -124,10 +111,6 @@ export class TweetApi extends runtime.BaseAPI {
124
111
 
125
112
  const queryParameters: any = {};
126
113
 
127
- if (requestParameters.queryId !== undefined) {
128
- queryParameters['queryId'] = requestParameters.queryId;
129
- }
130
-
131
114
  if (requestParameters.variables !== undefined) {
132
115
  queryParameters['variables'] = requestParameters.variables;
133
116
  }
@@ -196,10 +179,6 @@ export class TweetApi extends runtime.BaseAPI {
196
179
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getHomeLatestTimeline.');
197
180
  }
198
181
 
199
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
200
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getHomeLatestTimeline.');
201
- }
202
-
203
182
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
204
183
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getHomeLatestTimeline.');
205
184
  }
@@ -210,10 +189,6 @@ export class TweetApi extends runtime.BaseAPI {
210
189
 
211
190
  const queryParameters: any = {};
212
191
 
213
- if (requestParameters.queryId !== undefined) {
214
- queryParameters['queryId'] = requestParameters.queryId;
215
- }
216
-
217
192
  if (requestParameters.variables !== undefined) {
218
193
  queryParameters['variables'] = requestParameters.variables;
219
194
  }
@@ -282,10 +257,6 @@ export class TweetApi extends runtime.BaseAPI {
282
257
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getHomeTimeline.');
283
258
  }
284
259
 
285
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
286
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getHomeTimeline.');
287
- }
288
-
289
260
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
290
261
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getHomeTimeline.');
291
262
  }
@@ -296,10 +267,6 @@ export class TweetApi extends runtime.BaseAPI {
296
267
 
297
268
  const queryParameters: any = {};
298
269
 
299
- if (requestParameters.queryId !== undefined) {
300
- queryParameters['queryId'] = requestParameters.queryId;
301
- }
302
-
303
270
  if (requestParameters.variables !== undefined) {
304
271
  queryParameters['variables'] = requestParameters.variables;
305
272
  }
@@ -368,10 +335,6 @@ export class TweetApi extends runtime.BaseAPI {
368
335
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getLikes.');
369
336
  }
370
337
 
371
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
372
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getLikes.');
373
- }
374
-
375
338
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
376
339
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getLikes.');
377
340
  }
@@ -382,10 +345,6 @@ export class TweetApi extends runtime.BaseAPI {
382
345
 
383
346
  const queryParameters: any = {};
384
347
 
385
- if (requestParameters.queryId !== undefined) {
386
- queryParameters['queryId'] = requestParameters.queryId;
387
- }
388
-
389
348
  if (requestParameters.variables !== undefined) {
390
349
  queryParameters['variables'] = requestParameters.variables;
391
350
  }
@@ -454,10 +413,6 @@ export class TweetApi extends runtime.BaseAPI {
454
413
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getListLatestTweetsTimeline.');
455
414
  }
456
415
 
457
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
458
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getListLatestTweetsTimeline.');
459
- }
460
-
461
416
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
462
417
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getListLatestTweetsTimeline.');
463
418
  }
@@ -468,10 +423,6 @@ export class TweetApi extends runtime.BaseAPI {
468
423
 
469
424
  const queryParameters: any = {};
470
425
 
471
- if (requestParameters.queryId !== undefined) {
472
- queryParameters['queryId'] = requestParameters.queryId;
473
- }
474
-
475
426
  if (requestParameters.variables !== undefined) {
476
427
  queryParameters['variables'] = requestParameters.variables;
477
428
  }
@@ -540,10 +491,6 @@ export class TweetApi extends runtime.BaseAPI {
540
491
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getTweetDetail.');
541
492
  }
542
493
 
543
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
544
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getTweetDetail.');
545
- }
546
-
547
494
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
548
495
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getTweetDetail.');
549
496
  }
@@ -554,10 +501,6 @@ export class TweetApi extends runtime.BaseAPI {
554
501
 
555
502
  const queryParameters: any = {};
556
503
 
557
- if (requestParameters.queryId !== undefined) {
558
- queryParameters['queryId'] = requestParameters.queryId;
559
- }
560
-
561
504
  if (requestParameters.variables !== undefined) {
562
505
  queryParameters['variables'] = requestParameters.variables;
563
506
  }
@@ -626,10 +569,6 @@ export class TweetApi extends runtime.BaseAPI {
626
569
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getUserMedia.');
627
570
  }
628
571
 
629
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
630
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getUserMedia.');
631
- }
632
-
633
572
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
634
573
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getUserMedia.');
635
574
  }
@@ -640,10 +579,6 @@ export class TweetApi extends runtime.BaseAPI {
640
579
 
641
580
  const queryParameters: any = {};
642
581
 
643
- if (requestParameters.queryId !== undefined) {
644
- queryParameters['queryId'] = requestParameters.queryId;
645
- }
646
-
647
582
  if (requestParameters.variables !== undefined) {
648
583
  queryParameters['variables'] = requestParameters.variables;
649
584
  }
@@ -712,10 +647,6 @@ export class TweetApi extends runtime.BaseAPI {
712
647
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getUserTweets.');
713
648
  }
714
649
 
715
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
716
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getUserTweets.');
717
- }
718
-
719
650
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
720
651
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getUserTweets.');
721
652
  }
@@ -726,10 +657,6 @@ export class TweetApi extends runtime.BaseAPI {
726
657
 
727
658
  const queryParameters: any = {};
728
659
 
729
- if (requestParameters.queryId !== undefined) {
730
- queryParameters['queryId'] = requestParameters.queryId;
731
- }
732
-
733
660
  if (requestParameters.variables !== undefined) {
734
661
  queryParameters['variables'] = requestParameters.variables;
735
662
  }
@@ -798,10 +725,6 @@ export class TweetApi extends runtime.BaseAPI {
798
725
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getUserTweetsAndReplies.');
799
726
  }
800
727
 
801
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
802
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getUserTweetsAndReplies.');
803
- }
804
-
805
728
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
806
729
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getUserTweetsAndReplies.');
807
730
  }
@@ -812,10 +735,6 @@ export class TweetApi extends runtime.BaseAPI {
812
735
 
813
736
  const queryParameters: any = {};
814
737
 
815
- if (requestParameters.queryId !== undefined) {
816
- queryParameters['queryId'] = requestParameters.queryId;
817
- }
818
-
819
738
  if (requestParameters.variables !== undefined) {
820
739
  queryParameters['variables'] = requestParameters.variables;
821
740
  }
@@ -24,7 +24,6 @@ import {
24
24
 
25
25
  export interface GetUserByScreenNameRequest {
26
26
  pathQueryId: string;
27
- queryId: string;
28
27
  variables: string;
29
28
  features: string;
30
29
  }
@@ -42,10 +41,6 @@ export class UserApi extends runtime.BaseAPI {
42
41
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getUserByScreenName.');
43
42
  }
44
43
 
45
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
46
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getUserByScreenName.');
47
- }
48
-
49
44
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
50
45
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getUserByScreenName.');
51
46
  }
@@ -56,10 +51,6 @@ export class UserApi extends runtime.BaseAPI {
56
51
 
57
52
  const queryParameters: any = {};
58
53
 
59
- if (requestParameters.queryId !== undefined) {
60
- queryParameters['queryId'] = requestParameters.queryId;
61
- }
62
-
63
54
  if (requestParameters.variables !== undefined) {
64
55
  queryParameters['variables'] = requestParameters.variables;
65
56
  }
@@ -24,14 +24,12 @@ import {
24
24
 
25
25
  export interface GetFollowersRequest {
26
26
  pathQueryId: string;
27
- queryId: string;
28
27
  variables: string;
29
28
  features: string;
30
29
  }
31
30
 
32
31
  export interface GetFollowingRequest {
33
32
  pathQueryId: string;
34
- queryId: string;
35
33
  variables: string;
36
34
  features: string;
37
35
  }
@@ -49,10 +47,6 @@ export class UserListApi extends runtime.BaseAPI {
49
47
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getFollowers.');
50
48
  }
51
49
 
52
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
53
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getFollowers.');
54
- }
55
-
56
50
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
57
51
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getFollowers.');
58
52
  }
@@ -63,10 +57,6 @@ export class UserListApi extends runtime.BaseAPI {
63
57
 
64
58
  const queryParameters: any = {};
65
59
 
66
- if (requestParameters.queryId !== undefined) {
67
- queryParameters['queryId'] = requestParameters.queryId;
68
- }
69
-
70
60
  if (requestParameters.variables !== undefined) {
71
61
  queryParameters['variables'] = requestParameters.variables;
72
62
  }
@@ -135,10 +125,6 @@ export class UserListApi extends runtime.BaseAPI {
135
125
  throw new runtime.RequiredError('pathQueryId','Required parameter requestParameters.pathQueryId was null or undefined when calling getFollowing.');
136
126
  }
137
127
 
138
- if (requestParameters.queryId === null || requestParameters.queryId === undefined) {
139
- throw new runtime.RequiredError('queryId','Required parameter requestParameters.queryId was null or undefined when calling getFollowing.');
140
- }
141
-
142
128
  if (requestParameters.variables === null || requestParameters.variables === undefined) {
143
129
  throw new runtime.RequiredError('variables','Required parameter requestParameters.variables was null or undefined when calling getFollowing.');
144
130
  }
@@ -149,10 +135,6 @@ export class UserListApi extends runtime.BaseAPI {
149
135
 
150
136
  const queryParameters: any = {};
151
137
 
152
- if (requestParameters.queryId !== undefined) {
153
- queryParameters['queryId'] = requestParameters.queryId;
154
- }
155
-
156
138
  if (requestParameters.variables !== undefined) {
157
139
  queryParameters['variables'] = requestParameters.variables;
158
140
  }
@@ -31,6 +31,12 @@ import {
31
31
  ItemResultFromJSONTyped,
32
32
  ItemResultToJSON,
33
33
  } from './ItemResult';
34
+ import type { TweetLegacySelfThread } from './TweetLegacySelfThread';
35
+ import {
36
+ TweetLegacySelfThreadFromJSON,
37
+ TweetLegacySelfThreadFromJSONTyped,
38
+ TweetLegacySelfThreadToJSON,
39
+ } from './TweetLegacySelfThread';
34
40
 
35
41
  /**
36
42
  *
@@ -158,6 +164,12 @@ export interface TweetLegacy {
158
164
  * @memberof TweetLegacy
159
165
  */
160
166
  retweetedStatusResult?: ItemResult;
167
+ /**
168
+ *
169
+ * @type {TweetLegacySelfThread}
170
+ * @memberof TweetLegacy
171
+ */
172
+ selfThread?: TweetLegacySelfThread;
161
173
  /**
162
174
  *
163
175
  * @type {string}
@@ -222,6 +234,7 @@ export function TweetLegacyFromJSONTyped(json: any, ignoreDiscriminator: boolean
222
234
  'retweetCount': json['retweet_count'],
223
235
  'retweeted': json['retweeted'],
224
236
  'retweetedStatusResult': !exists(json, 'retweeted_status_result') ? undefined : ItemResultFromJSON(json['retweeted_status_result']),
237
+ 'selfThread': !exists(json, 'self_thread') ? undefined : TweetLegacySelfThreadFromJSON(json['self_thread']),
225
238
  'userIdStr': json['user_id_str'],
226
239
  };
227
240
  }
@@ -255,6 +268,7 @@ export function TweetLegacyToJSON(value?: TweetLegacy | null): any {
255
268
  'retweet_count': value.retweetCount,
256
269
  'retweeted': value.retweeted,
257
270
  'retweeted_status_result': ItemResultToJSON(value.retweetedStatusResult),
271
+ 'self_thread': TweetLegacySelfThreadToJSON(value.selfThread),
258
272
  'user_id_str': value.userIdStr,
259
273
  };
260
274
  }