x-twitter-scraper 0.16.0 → 0.17.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 (198) hide show
  1. package/CHANGELOG.md +33 -5
  2. package/README.md +1 -0
  3. package/client.d.mts +8 -2
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +8 -2
  6. package/client.d.ts.map +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs.map +1 -1
  9. package/internal/detect-platform.d.mts +3 -1
  10. package/internal/detect-platform.d.mts.map +1 -1
  11. package/internal/detect-platform.d.ts +3 -1
  12. package/internal/detect-platform.d.ts.map +1 -1
  13. package/internal/detect-platform.js +1 -1
  14. package/internal/detect-platform.js.map +1 -1
  15. package/internal/detect-platform.mjs +1 -1
  16. package/internal/detect-platform.mjs.map +1 -1
  17. package/package.json +1 -1
  18. package/resources/events.d.mts +50 -11
  19. package/resources/events.d.mts.map +1 -1
  20. package/resources/events.d.ts +50 -11
  21. package/resources/events.d.ts.map +1 -1
  22. package/resources/events.js.map +1 -1
  23. package/resources/events.mjs.map +1 -1
  24. package/resources/index.d.mts +1 -1
  25. package/resources/index.d.mts.map +1 -1
  26. package/resources/index.d.ts +1 -1
  27. package/resources/index.d.ts.map +1 -1
  28. package/resources/index.js.map +1 -1
  29. package/resources/index.mjs.map +1 -1
  30. package/resources/monitors/index.d.mts +2 -1
  31. package/resources/monitors/index.d.mts.map +1 -1
  32. package/resources/monitors/index.d.ts +2 -1
  33. package/resources/monitors/index.d.ts.map +1 -1
  34. package/resources/monitors/index.js +3 -1
  35. package/resources/monitors/index.js.map +1 -1
  36. package/resources/monitors/index.mjs +1 -0
  37. package/resources/monitors/index.mjs.map +1 -1
  38. package/resources/monitors/keywords.d.mts +10 -96
  39. package/resources/monitors/keywords.d.mts.map +1 -1
  40. package/resources/monitors/keywords.d.ts +10 -96
  41. package/resources/monitors/keywords.d.ts.map +1 -1
  42. package/resources/monitors/monitors.d.mts +6 -2
  43. package/resources/monitors/monitors.d.mts.map +1 -1
  44. package/resources/monitors/monitors.d.ts +6 -2
  45. package/resources/monitors/monitors.d.ts.map +1 -1
  46. package/resources/monitors/monitors.js +4 -0
  47. package/resources/monitors/monitors.js.map +1 -1
  48. package/resources/monitors/monitors.mjs +4 -0
  49. package/resources/monitors/monitors.mjs.map +1 -1
  50. package/resources/monitors/posts.d.mts +344 -0
  51. package/resources/monitors/posts.d.mts.map +1 -0
  52. package/resources/monitors/posts.d.ts +344 -0
  53. package/resources/monitors/posts.d.ts.map +1 -0
  54. package/resources/monitors/posts.js +94 -0
  55. package/resources/monitors/posts.js.map +1 -0
  56. package/resources/monitors/posts.mjs +90 -0
  57. package/resources/monitors/posts.mjs.map +1 -0
  58. package/resources/shared.d.mts +577 -2
  59. package/resources/shared.d.mts.map +1 -1
  60. package/resources/shared.d.ts +577 -2
  61. package/resources/shared.d.ts.map +1 -1
  62. package/resources/support/index.d.mts +1 -1
  63. package/resources/support/index.d.mts.map +1 -1
  64. package/resources/support/index.d.ts +1 -1
  65. package/resources/support/index.d.ts.map +1 -1
  66. package/resources/support/index.js.map +1 -1
  67. package/resources/support/index.mjs.map +1 -1
  68. package/resources/support/support.d.mts +2 -2
  69. package/resources/support/support.d.mts.map +1 -1
  70. package/resources/support/support.d.ts +2 -2
  71. package/resources/support/support.d.ts.map +1 -1
  72. package/resources/support/support.js.map +1 -1
  73. package/resources/support/support.mjs.map +1 -1
  74. package/resources/support/tickets.d.mts +12 -20
  75. package/resources/support/tickets.d.mts.map +1 -1
  76. package/resources/support/tickets.d.ts +12 -20
  77. package/resources/support/tickets.d.ts.map +1 -1
  78. package/resources/webhooks.d.mts +5 -4
  79. package/resources/webhooks.d.mts.map +1 -1
  80. package/resources/webhooks.d.ts +5 -4
  81. package/resources/webhooks.d.ts.map +1 -1
  82. package/resources/webhooks.js.map +1 -1
  83. package/resources/webhooks.mjs.map +1 -1
  84. package/resources/x/accounts.d.mts +14 -4
  85. package/resources/x/accounts.d.mts.map +1 -1
  86. package/resources/x/accounts.d.ts +14 -4
  87. package/resources/x/accounts.d.ts.map +1 -1
  88. package/resources/x/accounts.js +6 -4
  89. package/resources/x/accounts.js.map +1 -1
  90. package/resources/x/accounts.mjs +6 -4
  91. package/resources/x/accounts.mjs.map +1 -1
  92. package/resources/x/broadcasts.d.mts +3 -131
  93. package/resources/x/broadcasts.d.mts.map +1 -1
  94. package/resources/x/broadcasts.d.ts +3 -131
  95. package/resources/x/broadcasts.d.ts.map +1 -1
  96. package/resources/x/communities/communities.d.mts +92 -1
  97. package/resources/x/communities/communities.d.mts.map +1 -1
  98. package/resources/x/communities/communities.d.ts +92 -1
  99. package/resources/x/communities/communities.d.ts.map +1 -1
  100. package/resources/x/communities/communities.js +14 -0
  101. package/resources/x/communities/communities.js.map +1 -1
  102. package/resources/x/communities/communities.mjs +14 -0
  103. package/resources/x/communities/communities.mjs.map +1 -1
  104. package/resources/x/communities/index.d.mts +1 -1
  105. package/resources/x/communities/index.d.mts.map +1 -1
  106. package/resources/x/communities/index.d.ts +1 -1
  107. package/resources/x/communities/index.d.ts.map +1 -1
  108. package/resources/x/communities/index.js.map +1 -1
  109. package/resources/x/communities/index.mjs.map +1 -1
  110. package/resources/x/community-notes.d.mts +122 -510
  111. package/resources/x/community-notes.d.mts.map +1 -1
  112. package/resources/x/community-notes.d.ts +122 -510
  113. package/resources/x/community-notes.d.ts.map +1 -1
  114. package/resources/x/community-notes.js.map +1 -1
  115. package/resources/x/community-notes.mjs.map +1 -1
  116. package/resources/x/index.d.mts +7 -6
  117. package/resources/x/index.d.mts.map +1 -1
  118. package/resources/x/index.d.ts +7 -6
  119. package/resources/x/index.d.ts.map +1 -1
  120. package/resources/x/index.js +3 -1
  121. package/resources/x/index.js.map +1 -1
  122. package/resources/x/index.mjs +1 -0
  123. package/resources/x/index.mjs.map +1 -1
  124. package/resources/x/jobs.d.mts +144 -291
  125. package/resources/x/jobs.d.mts.map +1 -1
  126. package/resources/x/jobs.d.ts +144 -291
  127. package/resources/x/jobs.d.ts.map +1 -1
  128. package/resources/x/jobs.js.map +1 -1
  129. package/resources/x/jobs.mjs.map +1 -1
  130. package/resources/x/lists.d.mts +21 -419
  131. package/resources/x/lists.d.mts.map +1 -1
  132. package/resources/x/lists.d.ts +21 -419
  133. package/resources/x/lists.d.ts.map +1 -1
  134. package/resources/x/spaces.d.mts +213 -693
  135. package/resources/x/spaces.d.mts.map +1 -1
  136. package/resources/x/spaces.d.ts +213 -693
  137. package/resources/x/spaces.d.ts.map +1 -1
  138. package/resources/x/spaces.js.map +1 -1
  139. package/resources/x/spaces.mjs.map +1 -1
  140. package/resources/x/sports.d.mts +1349 -0
  141. package/resources/x/sports.d.mts.map +1 -0
  142. package/resources/x/sports.d.ts +1349 -0
  143. package/resources/x/sports.d.ts.map +1 -0
  144. package/resources/x/sports.js +76 -0
  145. package/resources/x/sports.js.map +1 -0
  146. package/resources/x/sports.mjs +72 -0
  147. package/resources/x/sports.mjs.map +1 -0
  148. package/resources/x/tweets/tweets.d.mts +11 -13
  149. package/resources/x/tweets/tweets.d.mts.map +1 -1
  150. package/resources/x/tweets/tweets.d.ts +11 -13
  151. package/resources/x/tweets/tweets.d.ts.map +1 -1
  152. package/resources/x/users/users.d.mts +29 -585
  153. package/resources/x/users/users.d.mts.map +1 -1
  154. package/resources/x/users/users.d.ts +29 -585
  155. package/resources/x/users/users.d.ts.map +1 -1
  156. package/resources/x/users/users.js.map +1 -1
  157. package/resources/x/users/users.mjs.map +1 -1
  158. package/resources/x/x.d.mts +55 -118
  159. package/resources/x/x.d.mts.map +1 -1
  160. package/resources/x/x.d.ts +55 -118
  161. package/resources/x/x.d.ts.map +1 -1
  162. package/resources/x/x.js +4 -0
  163. package/resources/x/x.js.map +1 -1
  164. package/resources/x/x.mjs +4 -0
  165. package/resources/x/x.mjs.map +1 -1
  166. package/skills/x-twitter-scraper/references/api-endpoints-x-api.md +1 -0
  167. package/src/client.ts +8 -0
  168. package/src/internal/detect-platform.ts +2 -2
  169. package/src/resources/events.ts +72 -10
  170. package/src/resources/index.ts +1 -0
  171. package/src/resources/monitors/index.ts +21 -0
  172. package/src/resources/monitors/keywords.ts +10 -118
  173. package/src/resources/monitors/monitors.ts +46 -0
  174. package/src/resources/monitors/posts.ts +463 -0
  175. package/src/resources/shared.ts +773 -200
  176. package/src/resources/support/index.ts +1 -0
  177. package/src/resources/support/support.ts +2 -0
  178. package/src/resources/support/tickets.ts +14 -21
  179. package/src/resources/webhooks.ts +5 -4
  180. package/src/resources/x/accounts.ts +19 -4
  181. package/src/resources/x/broadcasts.ts +3 -159
  182. package/src/resources/x/communities/communities.ts +113 -0
  183. package/src/resources/x/communities/index.ts +3 -0
  184. package/src/resources/x/community-notes.ts +137 -582
  185. package/src/resources/x/index.ts +62 -0
  186. package/src/resources/x/jobs.ts +160 -334
  187. package/src/resources/x/lists.ts +21 -493
  188. package/src/resources/x/spaces.ts +227 -817
  189. package/src/resources/x/sports.ts +1675 -0
  190. package/src/resources/x/tweets/tweets.ts +15 -15
  191. package/src/resources/x/users/users.ts +29 -693
  192. package/src/resources/x/x.ts +175 -128
  193. package/src/version.ts +1 -1
  194. package/version.d.mts +1 -1
  195. package/version.d.ts +1 -1
  196. package/version.js +1 -1
  197. package/version.mjs +1 -1
  198. package/src/lib/.keep +0 -2
@@ -1,4 +1,5 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
+ import * as JobsAPI from "./jobs.mjs";
2
3
  import { APIPromise } from "../../core/api-promise.mjs";
3
4
  import { RequestOptions } from "../../internal/request-options.mjs";
4
5
  /**
@@ -44,172 +45,177 @@ export declare class Jobs extends APIResource {
44
45
  */
45
46
  search(query: JobSearchParams, options?: RequestOptions): APIPromise<JobSearchResponse>;
46
47
  }
47
- export interface JobRetrieveResponse {
48
+ /**
49
+ * Public X job listing. A search returns the fields down to the salary, plus
50
+ * company & account. A lookup adds work type, seniority, function, team &
51
+ * descriptions. A field X leaves empty is left out.
52
+ */
53
+ export interface Job {
48
54
  /**
49
- * Public X job listing. A search returns the fields down to the salary, plus
50
- * company & account. A lookup adds work type, seniority, function, team &
51
- * descriptions. A field X leaves empty is left out.
55
+ * Job ID.
56
+ */
57
+ id: string;
58
+ /**
59
+ * The job page on X.
60
+ */
61
+ url: string;
62
+ /**
63
+ * The X account that posted a job. A job has none when X imported it from a job
64
+ * board or no longer shows the account.
65
+ */
66
+ account?: Job.Account;
67
+ /**
68
+ * Where applicants apply, off X.
69
+ */
70
+ applyUrl?: string;
71
+ /**
72
+ * The company profile of a job X imported from a job board.
73
+ */
74
+ company?: Job.Company;
75
+ /**
76
+ * Full description as plain text, 1 line per paragraph.
77
+ */
78
+ description?: string;
79
+ /**
80
+ * Full description as Markdown, with headings, lists, links, bold & italics.
81
+ */
82
+ descriptionMarkdown?: string;
83
+ /**
84
+ * Contract type (full_time, full_time_contract, part_time or contract_to_hire).
85
+ */
86
+ employmentType?: string;
87
+ /**
88
+ * Whether X features the job.
89
+ */
90
+ featured?: boolean;
91
+ /**
92
+ * Salary as X shows it.
93
+ */
94
+ formattedSalary?: string;
95
+ /**
96
+ * Job function, such as software_engineering.
97
+ */
98
+ jobFunction?: string;
99
+ /**
100
+ * Location as the employer wrote it.
101
+ */
102
+ location?: string;
103
+ /**
104
+ * Where the work happens (onsite, remote or hybrid).
105
+ */
106
+ locationType?: string;
107
+ /**
108
+ * When the employer posted the job.
109
+ */
110
+ postedAt?: string;
111
+ /**
112
+ * ISO 4217 currency code of the salary.
52
113
  */
53
- job: JobRetrieveResponse.Job;
114
+ salaryCurrencyCode?: string;
115
+ /**
116
+ * Pay period of the salary (annually or hourly).
117
+ */
118
+ salaryInterval?: string;
119
+ /**
120
+ * Highest salary, in salaryCurrencyCode per salaryInterval.
121
+ */
122
+ salaryMax?: number;
123
+ /**
124
+ * Lowest salary, in salaryCurrencyCode per salaryInterval.
125
+ */
126
+ salaryMin?: number;
127
+ /**
128
+ * Seniority (intern, entry_level, junior, mid_level, senior, lead, manager or
129
+ * executive).
130
+ */
131
+ seniorityLevel?: string;
132
+ /**
133
+ * Short summary of the job, as plain text.
134
+ */
135
+ shortDescription?: string;
136
+ /**
137
+ * Team inside the company.
138
+ */
139
+ team?: string;
140
+ /**
141
+ * Job title.
142
+ */
143
+ title?: string;
54
144
  }
55
- export declare namespace JobRetrieveResponse {
145
+ export declare namespace Job {
56
146
  /**
57
- * Public X job listing. A search returns the fields down to the salary, plus
58
- * company & account. A lookup adds work type, seniority, function, team &
59
- * descriptions. A field X leaves empty is left out.
147
+ * The X account that posted a job. A job has none when X imported it from a job
148
+ * board or no longer shows the account.
60
149
  */
61
- interface Job {
150
+ interface Account {
62
151
  /**
63
- * Job ID.
152
+ * X user ID of the account.
64
153
  */
65
154
  id: string;
66
155
  /**
67
- * The job page on X.
156
+ * Whether X shows a verification badge on the account.
68
157
  */
69
- url: string;
158
+ verified: boolean;
70
159
  /**
71
- * The X account that posted a job. A job has none when X imported it from a job
72
- * board or no longer shows the account.
73
- */
74
- account?: Job.Account;
75
- /**
76
- * Where applicants apply, off X.
77
- */
78
- applyUrl?: string;
79
- /**
80
- * The company profile of a job X imported from a job board.
81
- */
82
- company?: Job.Company;
83
- /**
84
- * Full description as plain text, 1 line per paragraph.
160
+ * Bio of the account. A job lookup returns it.
85
161
  */
86
162
  description?: string;
87
163
  /**
88
- * Full description as Markdown, with headings, lists, links, bold & italics.
89
- */
90
- descriptionMarkdown?: string;
91
- /**
92
- * Contract type (full_time, full_time_contract, part_time or contract_to_hire).
93
- */
94
- employmentType?: string;
95
- /**
96
- * Whether X features the job.
97
- */
98
- featured?: boolean;
99
- /**
100
- * Salary as X shows it.
101
- */
102
- formattedSalary?: string;
103
- /**
104
- * Job function, such as software_engineering.
105
- */
106
- jobFunction?: string;
107
- /**
108
- * Location as the employer wrote it.
109
- */
110
- location?: string;
111
- /**
112
- * Where the work happens (onsite, remote or hybrid).
113
- */
114
- locationType?: string;
115
- /**
116
- * When the employer posted the job.
164
+ * Display name of the account that posted the job.
117
165
  */
118
- postedAt?: string;
166
+ name?: string;
119
167
  /**
120
- * ISO 4217 currency code of the salary.
168
+ * Avatar shape, such as Circle or Square.
121
169
  */
122
- salaryCurrencyCode?: string;
170
+ profileImageShape?: string;
123
171
  /**
124
- * Pay period of the salary (annually or hourly).
172
+ * Avatar URL of the account that posted the job.
125
173
  */
126
- salaryInterval?: string;
174
+ profilePicture?: string;
127
175
  /**
128
- * Highest salary, in salaryCurrencyCode per salaryInterval.
176
+ * The job account's avatar at full size.
129
177
  */
130
- salaryMax?: number;
178
+ profilePictureOriginal?: string;
131
179
  /**
132
- * Lowest salary, in salaryCurrencyCode per salaryInterval.
180
+ * Handle without @.
133
181
  */
134
- salaryMin?: number;
182
+ username?: string;
135
183
  /**
136
- * Seniority (intern, entry_level, junior, mid_level, senior, lead, manager or
137
- * executive).
184
+ * Badge type, such as Business or Government.
138
185
  */
139
- seniorityLevel?: string;
186
+ verifiedType?: string;
187
+ }
188
+ /**
189
+ * The company profile of a job X imported from a job board.
190
+ */
191
+ interface Company {
140
192
  /**
141
- * Short summary of the job, as plain text.
193
+ * X company profile ID.
142
194
  */
143
- shortDescription?: string;
195
+ id: string;
144
196
  /**
145
- * Team inside the company.
197
+ * Company logo URL.
146
198
  */
147
- team?: string;
199
+ logoUrl?: string;
148
200
  /**
149
- * Job title.
201
+ * Company name.
150
202
  */
151
- title?: string;
203
+ name?: string;
152
204
  }
205
+ }
206
+ export interface JobRetrieveResponse {
207
+ /**
208
+ * Public X job listing. A search returns the fields down to the salary, plus
209
+ * company & account. A lookup adds work type, seniority, function, team &
210
+ * descriptions. A field X leaves empty is left out.
211
+ */
212
+ job: Job;
213
+ }
214
+ export declare namespace JobRetrieveResponse {
215
+ type Job = JobsAPI.Job;
153
216
  namespace Job {
154
- /**
155
- * The X account that posted a job. A job has none when X imported it from a job
156
- * board or no longer shows the account.
157
- */
158
- interface Account {
159
- /**
160
- * X user ID of the account.
161
- */
162
- id: string;
163
- /**
164
- * Whether X shows a verification badge on the account.
165
- */
166
- verified: boolean;
167
- /**
168
- * Bio of the account. A job lookup returns it.
169
- */
170
- description?: string;
171
- /**
172
- * Display name of the account that posted the job.
173
- */
174
- name?: string;
175
- /**
176
- * Avatar shape, such as Circle or Square.
177
- */
178
- profileImageShape?: string;
179
- /**
180
- * Avatar URL of the account that posted the job.
181
- */
182
- profilePicture?: string;
183
- /**
184
- * The job account's avatar at full size.
185
- */
186
- profilePictureOriginal?: string;
187
- /**
188
- * Handle without @.
189
- */
190
- username?: string;
191
- /**
192
- * Badge type, such as Business or Government.
193
- */
194
- verifiedType?: string;
195
- }
196
- /**
197
- * The company profile of a job X imported from a job board.
198
- */
199
- interface Company {
200
- /**
201
- * X company profile ID.
202
- */
203
- id: string;
204
- /**
205
- * Company logo URL.
206
- */
207
- logoUrl?: string;
208
- /**
209
- * Company name.
210
- */
211
- name?: string;
212
- }
217
+ type Account = JobsAPI.Job.Account;
218
+ type Company = JobsAPI.Job.Company;
213
219
  }
214
220
  }
215
221
  /**
@@ -246,167 +252,14 @@ export declare namespace JobListLocationsResponse {
246
252
  */
247
253
  export interface JobSearchResponse {
248
254
  has_next_page: boolean;
249
- jobs: Array<JobSearchResponse.Job>;
255
+ jobs: Array<Job>;
250
256
  next_cursor: string;
251
257
  }
252
258
  export declare namespace JobSearchResponse {
253
- /**
254
- * Public X job listing. A search returns the fields down to the salary, plus
255
- * company & account. A lookup adds work type, seniority, function, team &
256
- * descriptions. A field X leaves empty is left out.
257
- */
258
- interface Job {
259
- /**
260
- * Job ID.
261
- */
262
- id: string;
263
- /**
264
- * The job page on X.
265
- */
266
- url: string;
267
- /**
268
- * The X account that posted a job. A job has none when X imported it from a job
269
- * board or no longer shows the account.
270
- */
271
- account?: Job.Account;
272
- /**
273
- * Where applicants apply, off X.
274
- */
275
- applyUrl?: string;
276
- /**
277
- * The company profile of a job X imported from a job board.
278
- */
279
- company?: Job.Company;
280
- /**
281
- * Full description as plain text, 1 line per paragraph.
282
- */
283
- description?: string;
284
- /**
285
- * Full description as Markdown, with headings, lists, links, bold & italics.
286
- */
287
- descriptionMarkdown?: string;
288
- /**
289
- * Contract type (full_time, full_time_contract, part_time or contract_to_hire).
290
- */
291
- employmentType?: string;
292
- /**
293
- * Whether X features the job.
294
- */
295
- featured?: boolean;
296
- /**
297
- * Salary as X shows it.
298
- */
299
- formattedSalary?: string;
300
- /**
301
- * Job function, such as software_engineering.
302
- */
303
- jobFunction?: string;
304
- /**
305
- * Location as the employer wrote it.
306
- */
307
- location?: string;
308
- /**
309
- * Where the work happens (onsite, remote or hybrid).
310
- */
311
- locationType?: string;
312
- /**
313
- * When the employer posted the job.
314
- */
315
- postedAt?: string;
316
- /**
317
- * ISO 4217 currency code of the salary.
318
- */
319
- salaryCurrencyCode?: string;
320
- /**
321
- * Pay period of the salary (annually or hourly).
322
- */
323
- salaryInterval?: string;
324
- /**
325
- * Highest salary, in salaryCurrencyCode per salaryInterval.
326
- */
327
- salaryMax?: number;
328
- /**
329
- * Lowest salary, in salaryCurrencyCode per salaryInterval.
330
- */
331
- salaryMin?: number;
332
- /**
333
- * Seniority (intern, entry_level, junior, mid_level, senior, lead, manager or
334
- * executive).
335
- */
336
- seniorityLevel?: string;
337
- /**
338
- * Short summary of the job, as plain text.
339
- */
340
- shortDescription?: string;
341
- /**
342
- * Team inside the company.
343
- */
344
- team?: string;
345
- /**
346
- * Job title.
347
- */
348
- title?: string;
349
- }
259
+ type Job = JobsAPI.Job;
350
260
  namespace Job {
351
- /**
352
- * The X account that posted a job. A job has none when X imported it from a job
353
- * board or no longer shows the account.
354
- */
355
- interface Account {
356
- /**
357
- * X user ID of the account.
358
- */
359
- id: string;
360
- /**
361
- * Whether X shows a verification badge on the account.
362
- */
363
- verified: boolean;
364
- /**
365
- * Bio of the account. A job lookup returns it.
366
- */
367
- description?: string;
368
- /**
369
- * Display name of the account that posted the job.
370
- */
371
- name?: string;
372
- /**
373
- * Avatar shape, such as Circle or Square.
374
- */
375
- profileImageShape?: string;
376
- /**
377
- * Avatar URL of the account that posted the job.
378
- */
379
- profilePicture?: string;
380
- /**
381
- * The job account's avatar at full size.
382
- */
383
- profilePictureOriginal?: string;
384
- /**
385
- * Handle without @.
386
- */
387
- username?: string;
388
- /**
389
- * Badge type, such as Business or Government.
390
- */
391
- verifiedType?: string;
392
- }
393
- /**
394
- * The company profile of a job X imported from a job board.
395
- */
396
- interface Company {
397
- /**
398
- * X company profile ID.
399
- */
400
- id: string;
401
- /**
402
- * Company logo URL.
403
- */
404
- logoUrl?: string;
405
- /**
406
- * Company name.
407
- */
408
- name?: string;
409
- }
261
+ type Account = JobsAPI.Job.Account;
262
+ type Company = JobsAPI.Job.Company;
410
263
  }
411
264
  }
412
265
  export interface JobRetrieveParams {
@@ -509,6 +362,6 @@ export interface JobSearchParams {
509
362
  seniority?: string;
510
363
  }
511
364
  export declare namespace Jobs {
512
- export { type JobRetrieveResponse as JobRetrieveResponse, type JobListLocationsResponse as JobListLocationsResponse, type JobSearchResponse as JobSearchResponse, type JobRetrieveParams as JobRetrieveParams, type JobListLocationsParams as JobListLocationsParams, type JobSearchParams as JobSearchParams, };
365
+ export { type Job as Job, type JobRetrieveResponse as JobRetrieveResponse, type JobListLocationsResponse as JobListLocationsResponse, type JobSearchResponse as JobSearchResponse, type JobRetrieveParams as JobRetrieveParams, type JobListLocationsParams as JobListLocationsParams, type JobSearchParams as JobSearchParams, };
513
366
  }
514
367
  //# sourceMappingURL=jobs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"jobs.d.mts","sourceRoot":"","sources":["../../src/resources/x/jobs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG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