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.
- package/CHANGELOG.md +33 -5
- package/README.md +1 -0
- package/client.d.mts +8 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/internal/detect-platform.d.mts +3 -1
- package/internal/detect-platform.d.mts.map +1 -1
- package/internal/detect-platform.d.ts +3 -1
- package/internal/detect-platform.d.ts.map +1 -1
- package/internal/detect-platform.js +1 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/events.d.mts +50 -11
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts +50 -11
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js.map +1 -1
- package/resources/events.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/monitors/index.d.mts +2 -1
- package/resources/monitors/index.d.mts.map +1 -1
- package/resources/monitors/index.d.ts +2 -1
- package/resources/monitors/index.d.ts.map +1 -1
- package/resources/monitors/index.js +3 -1
- package/resources/monitors/index.js.map +1 -1
- package/resources/monitors/index.mjs +1 -0
- package/resources/monitors/index.mjs.map +1 -1
- package/resources/monitors/keywords.d.mts +10 -96
- package/resources/monitors/keywords.d.mts.map +1 -1
- package/resources/monitors/keywords.d.ts +10 -96
- package/resources/monitors/keywords.d.ts.map +1 -1
- package/resources/monitors/monitors.d.mts +6 -2
- package/resources/monitors/monitors.d.mts.map +1 -1
- package/resources/monitors/monitors.d.ts +6 -2
- package/resources/monitors/monitors.d.ts.map +1 -1
- package/resources/monitors/monitors.js +4 -0
- package/resources/monitors/monitors.js.map +1 -1
- package/resources/monitors/monitors.mjs +4 -0
- package/resources/monitors/monitors.mjs.map +1 -1
- package/resources/monitors/posts.d.mts +344 -0
- package/resources/monitors/posts.d.mts.map +1 -0
- package/resources/monitors/posts.d.ts +344 -0
- package/resources/monitors/posts.d.ts.map +1 -0
- package/resources/monitors/posts.js +94 -0
- package/resources/monitors/posts.js.map +1 -0
- package/resources/monitors/posts.mjs +90 -0
- package/resources/monitors/posts.mjs.map +1 -0
- package/resources/shared.d.mts +577 -2
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +577 -2
- package/resources/shared.d.ts.map +1 -1
- package/resources/support/index.d.mts +1 -1
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts +1 -1
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/index.js.map +1 -1
- package/resources/support/index.mjs.map +1 -1
- package/resources/support/support.d.mts +2 -2
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts +2 -2
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/support.js.map +1 -1
- package/resources/support/support.mjs.map +1 -1
- package/resources/support/tickets.d.mts +12 -20
- package/resources/support/tickets.d.mts.map +1 -1
- package/resources/support/tickets.d.ts +12 -20
- package/resources/support/tickets.d.ts.map +1 -1
- package/resources/webhooks.d.mts +5 -4
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +5 -4
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/x/accounts.d.mts +14 -4
- package/resources/x/accounts.d.mts.map +1 -1
- package/resources/x/accounts.d.ts +14 -4
- package/resources/x/accounts.d.ts.map +1 -1
- package/resources/x/accounts.js +6 -4
- package/resources/x/accounts.js.map +1 -1
- package/resources/x/accounts.mjs +6 -4
- package/resources/x/accounts.mjs.map +1 -1
- package/resources/x/broadcasts.d.mts +3 -131
- package/resources/x/broadcasts.d.mts.map +1 -1
- package/resources/x/broadcasts.d.ts +3 -131
- package/resources/x/broadcasts.d.ts.map +1 -1
- package/resources/x/communities/communities.d.mts +92 -1
- package/resources/x/communities/communities.d.mts.map +1 -1
- package/resources/x/communities/communities.d.ts +92 -1
- package/resources/x/communities/communities.d.ts.map +1 -1
- package/resources/x/communities/communities.js +14 -0
- package/resources/x/communities/communities.js.map +1 -1
- package/resources/x/communities/communities.mjs +14 -0
- package/resources/x/communities/communities.mjs.map +1 -1
- package/resources/x/communities/index.d.mts +1 -1
- package/resources/x/communities/index.d.mts.map +1 -1
- package/resources/x/communities/index.d.ts +1 -1
- package/resources/x/communities/index.d.ts.map +1 -1
- package/resources/x/communities/index.js.map +1 -1
- package/resources/x/communities/index.mjs.map +1 -1
- package/resources/x/community-notes.d.mts +122 -510
- package/resources/x/community-notes.d.mts.map +1 -1
- package/resources/x/community-notes.d.ts +122 -510
- package/resources/x/community-notes.d.ts.map +1 -1
- package/resources/x/community-notes.js.map +1 -1
- package/resources/x/community-notes.mjs.map +1 -1
- package/resources/x/index.d.mts +7 -6
- package/resources/x/index.d.mts.map +1 -1
- package/resources/x/index.d.ts +7 -6
- package/resources/x/index.d.ts.map +1 -1
- package/resources/x/index.js +3 -1
- package/resources/x/index.js.map +1 -1
- package/resources/x/index.mjs +1 -0
- package/resources/x/index.mjs.map +1 -1
- package/resources/x/jobs.d.mts +144 -291
- package/resources/x/jobs.d.mts.map +1 -1
- package/resources/x/jobs.d.ts +144 -291
- package/resources/x/jobs.d.ts.map +1 -1
- package/resources/x/jobs.js.map +1 -1
- package/resources/x/jobs.mjs.map +1 -1
- package/resources/x/lists.d.mts +21 -419
- package/resources/x/lists.d.mts.map +1 -1
- package/resources/x/lists.d.ts +21 -419
- package/resources/x/lists.d.ts.map +1 -1
- package/resources/x/spaces.d.mts +213 -693
- package/resources/x/spaces.d.mts.map +1 -1
- package/resources/x/spaces.d.ts +213 -693
- package/resources/x/spaces.d.ts.map +1 -1
- package/resources/x/spaces.js.map +1 -1
- package/resources/x/spaces.mjs.map +1 -1
- package/resources/x/sports.d.mts +1349 -0
- package/resources/x/sports.d.mts.map +1 -0
- package/resources/x/sports.d.ts +1349 -0
- package/resources/x/sports.d.ts.map +1 -0
- package/resources/x/sports.js +76 -0
- package/resources/x/sports.js.map +1 -0
- package/resources/x/sports.mjs +72 -0
- package/resources/x/sports.mjs.map +1 -0
- package/resources/x/tweets/tweets.d.mts +11 -13
- package/resources/x/tweets/tweets.d.mts.map +1 -1
- package/resources/x/tweets/tweets.d.ts +11 -13
- package/resources/x/tweets/tweets.d.ts.map +1 -1
- package/resources/x/users/users.d.mts +29 -585
- package/resources/x/users/users.d.mts.map +1 -1
- package/resources/x/users/users.d.ts +29 -585
- package/resources/x/users/users.d.ts.map +1 -1
- package/resources/x/users/users.js.map +1 -1
- package/resources/x/users/users.mjs.map +1 -1
- package/resources/x/x.d.mts +55 -118
- package/resources/x/x.d.mts.map +1 -1
- package/resources/x/x.d.ts +55 -118
- package/resources/x/x.d.ts.map +1 -1
- package/resources/x/x.js +4 -0
- package/resources/x/x.js.map +1 -1
- package/resources/x/x.mjs +4 -0
- package/resources/x/x.mjs.map +1 -1
- package/skills/x-twitter-scraper/references/api-endpoints-x-api.md +1 -0
- package/src/client.ts +8 -0
- package/src/internal/detect-platform.ts +2 -2
- package/src/resources/events.ts +72 -10
- package/src/resources/index.ts +1 -0
- package/src/resources/monitors/index.ts +21 -0
- package/src/resources/monitors/keywords.ts +10 -118
- package/src/resources/monitors/monitors.ts +46 -0
- package/src/resources/monitors/posts.ts +463 -0
- package/src/resources/shared.ts +773 -200
- package/src/resources/support/index.ts +1 -0
- package/src/resources/support/support.ts +2 -0
- package/src/resources/support/tickets.ts +14 -21
- package/src/resources/webhooks.ts +5 -4
- package/src/resources/x/accounts.ts +19 -4
- package/src/resources/x/broadcasts.ts +3 -159
- package/src/resources/x/communities/communities.ts +113 -0
- package/src/resources/x/communities/index.ts +3 -0
- package/src/resources/x/community-notes.ts +137 -582
- package/src/resources/x/index.ts +62 -0
- package/src/resources/x/jobs.ts +160 -334
- package/src/resources/x/lists.ts +21 -493
- package/src/resources/x/spaces.ts +227 -817
- package/src/resources/x/sports.ts +1675 -0
- package/src/resources/x/tweets/tweets.ts +15 -15
- package/src/resources/x/users/users.ts +29 -693
- package/src/resources/x/x.ts +175 -128
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/src/lib/.keep +0 -2
package/src/resources/x/index.ts
CHANGED
|
@@ -22,6 +22,7 @@ export {
|
|
|
22
22
|
type AccountReauthResponse,
|
|
23
23
|
type AccountCreateParams,
|
|
24
24
|
type AccountListParams,
|
|
25
|
+
type AccountBulkRetryParams,
|
|
25
26
|
type AccountReauthParams,
|
|
26
27
|
} from './accounts';
|
|
27
28
|
export {
|
|
@@ -48,6 +49,8 @@ export {
|
|
|
48
49
|
export { Broadcasts, type BroadcastRetrieveResponse, type BroadcastRetrieveParams } from './broadcasts';
|
|
49
50
|
export {
|
|
50
51
|
Communities,
|
|
52
|
+
type CommunityAnalytics,
|
|
53
|
+
type CommunityAnalyticsMetric,
|
|
51
54
|
type CommunityCreateResponse,
|
|
52
55
|
type CommunityDeleteResponse,
|
|
53
56
|
type CommunityListSuggestedResponse,
|
|
@@ -59,6 +62,7 @@ export {
|
|
|
59
62
|
type CommunityListPopularParams,
|
|
60
63
|
type CommunityListSuggestedParams,
|
|
61
64
|
type CommunityListTopicsParams,
|
|
65
|
+
type CommunityRetrieveAnalyticsParams,
|
|
62
66
|
type CommunityRetrieveInfoParams,
|
|
63
67
|
type CommunityRetrieveMembersParams,
|
|
64
68
|
type CommunityRetrieveModeratorsParams,
|
|
@@ -67,6 +71,9 @@ export {
|
|
|
67
71
|
} from './communities/index';
|
|
68
72
|
export {
|
|
69
73
|
CommunityNotes,
|
|
74
|
+
type CommunityNotesContributor,
|
|
75
|
+
type CommunityNotesRatingOutcome,
|
|
76
|
+
type PaginatedCommunityNotes,
|
|
70
77
|
type CommunityNoteListContributorDeletedNotesResponse,
|
|
71
78
|
type CommunityNoteListContributorNotesResponse,
|
|
72
79
|
type CommunityNoteRetrieveContributorResponse,
|
|
@@ -86,6 +93,7 @@ export {
|
|
|
86
93
|
export { Followers, type FollowerCheckResponse, type FollowerCheckParams } from './followers';
|
|
87
94
|
export {
|
|
88
95
|
Jobs,
|
|
96
|
+
type Job,
|
|
89
97
|
type JobRetrieveResponse,
|
|
90
98
|
type JobListLocationsResponse,
|
|
91
99
|
type JobSearchResponse,
|
|
@@ -123,6 +131,8 @@ export {
|
|
|
123
131
|
} from './profile';
|
|
124
132
|
export {
|
|
125
133
|
Spaces,
|
|
134
|
+
type Space,
|
|
135
|
+
type SpaceParticipant,
|
|
126
136
|
type SpaceRetrieveResponse,
|
|
127
137
|
type SpaceRetrieveReplayResponse,
|
|
128
138
|
type SpaceSearchResponse,
|
|
@@ -212,6 +222,7 @@ export {
|
|
|
212
222
|
export { WriteActions, type WriteActionRetrieveResponse } from './write-actions';
|
|
213
223
|
export {
|
|
214
224
|
X,
|
|
225
|
+
type TrendLocation,
|
|
215
226
|
type XAutocompleteSearchResponse,
|
|
216
227
|
type XGetArticleResponse,
|
|
217
228
|
type XGetHashflagsResponse,
|
|
@@ -232,3 +243,54 @@ export {
|
|
|
232
243
|
type XGetTrendsHistoryParams,
|
|
233
244
|
type XSearchPlacesParams,
|
|
234
245
|
} from './x';
|
|
246
|
+
export {
|
|
247
|
+
Sports,
|
|
248
|
+
type FootballLeague,
|
|
249
|
+
type FootballTeamScore,
|
|
250
|
+
type FootballSchedulePeriod,
|
|
251
|
+
type FootballOdds,
|
|
252
|
+
type FootballScheduleGameOdds,
|
|
253
|
+
type FootballScheduleGame,
|
|
254
|
+
type SportsTeamColor,
|
|
255
|
+
type SportsTeamLogos,
|
|
256
|
+
type SportsTeam,
|
|
257
|
+
type FootballSchedule,
|
|
258
|
+
type FootballScoreboardSituation,
|
|
259
|
+
type FootballSide,
|
|
260
|
+
type FootballPeriod,
|
|
261
|
+
type FootballPlayScore,
|
|
262
|
+
type FootballPlayStart,
|
|
263
|
+
type FootballPlayOnField,
|
|
264
|
+
type FootballPlayDetailPlayer,
|
|
265
|
+
type FootballPlayDetailPenalty,
|
|
266
|
+
type FootballPlayDetail,
|
|
267
|
+
type FootballPlayPost,
|
|
268
|
+
type FootballPlay,
|
|
269
|
+
type FootballPlayerHeadshots,
|
|
270
|
+
type FootballPlayerXUser,
|
|
271
|
+
type FootballPlayer,
|
|
272
|
+
type FootballScoreboard,
|
|
273
|
+
type FootballTeamTotalsThirdDowns,
|
|
274
|
+
type FootballFumbleStats,
|
|
275
|
+
type FootballPassingStats,
|
|
276
|
+
type FootballTeamTotalsPenalties,
|
|
277
|
+
type FootballRushingStats,
|
|
278
|
+
type FootballTeamTotals,
|
|
279
|
+
type FootballPlayerStatsReceiving,
|
|
280
|
+
type FootballPlayerStatsDefense,
|
|
281
|
+
type FootballReturnStats,
|
|
282
|
+
type FootballPlayerStatsPunts,
|
|
283
|
+
type FootballPlayerStatsFieldGoals,
|
|
284
|
+
type FootballPlayerStatsExtraPoints,
|
|
285
|
+
type FootballPlayerStatsConversions,
|
|
286
|
+
type FootballPlayerStats,
|
|
287
|
+
type FootballTeamBox,
|
|
288
|
+
type FootballBoxScore,
|
|
289
|
+
type FootballDrive,
|
|
290
|
+
type FootballQuarter,
|
|
291
|
+
type FootballPlays,
|
|
292
|
+
type SportListGamesParams,
|
|
293
|
+
type SportRetrieveScoreboardParams,
|
|
294
|
+
type SportRetrieveBoxScoreParams,
|
|
295
|
+
type SportRetrievePlaysParams,
|
|
296
|
+
} from './sports';
|
package/src/resources/x/jobs.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
|
|
5
5
|
import { APIResource } from '../../core/resource';
|
|
6
|
+
import * as JobsAPI from './jobs';
|
|
6
7
|
import { APIPromise } from '../../core/api-promise';
|
|
7
8
|
import { RequestOptions } from '../../internal/request-options';
|
|
8
9
|
import { path } from '../../internal/utils/path';
|
|
@@ -66,206 +67,214 @@ export class Jobs extends APIResource {
|
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
69
|
|
|
69
|
-
|
|
70
|
+
/**
|
|
71
|
+
* Public X job listing. A search returns the fields down to the salary, plus
|
|
72
|
+
* company & account. A lookup adds work type, seniority, function, team &
|
|
73
|
+
* descriptions. A field X leaves empty is left out.
|
|
74
|
+
*/
|
|
75
|
+
export interface Job {
|
|
70
76
|
/**
|
|
71
|
-
*
|
|
72
|
-
* company & account. A lookup adds work type, seniority, function, team &
|
|
73
|
-
* descriptions. A field X leaves empty is left out.
|
|
77
|
+
* Job ID.
|
|
74
78
|
*/
|
|
75
|
-
|
|
76
|
-
}
|
|
79
|
+
id: string;
|
|
77
80
|
|
|
78
|
-
export namespace JobRetrieveResponse {
|
|
79
81
|
/**
|
|
80
|
-
*
|
|
81
|
-
* company & account. A lookup adds work type, seniority, function, team &
|
|
82
|
-
* descriptions. A field X leaves empty is left out.
|
|
82
|
+
* The job page on X.
|
|
83
83
|
*/
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Job ID.
|
|
87
|
-
*/
|
|
88
|
-
id: string;
|
|
84
|
+
url: string;
|
|
89
85
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
86
|
+
/**
|
|
87
|
+
* The X account that posted a job. A job has none when X imported it from a job
|
|
88
|
+
* board or no longer shows the account.
|
|
89
|
+
*/
|
|
90
|
+
account?: Job.Account;
|
|
94
91
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
account?: Job.Account;
|
|
92
|
+
/**
|
|
93
|
+
* Where applicants apply, off X.
|
|
94
|
+
*/
|
|
95
|
+
applyUrl?: string;
|
|
100
96
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
97
|
+
/**
|
|
98
|
+
* The company profile of a job X imported from a job board.
|
|
99
|
+
*/
|
|
100
|
+
company?: Job.Company;
|
|
105
101
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
102
|
+
/**
|
|
103
|
+
* Full description as plain text, 1 line per paragraph.
|
|
104
|
+
*/
|
|
105
|
+
description?: string;
|
|
110
106
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
107
|
+
/**
|
|
108
|
+
* Full description as Markdown, with headings, lists, links, bold & italics.
|
|
109
|
+
*/
|
|
110
|
+
descriptionMarkdown?: string;
|
|
115
111
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
112
|
+
/**
|
|
113
|
+
* Contract type (full_time, full_time_contract, part_time or contract_to_hire).
|
|
114
|
+
*/
|
|
115
|
+
employmentType?: string;
|
|
120
116
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
117
|
+
/**
|
|
118
|
+
* Whether X features the job.
|
|
119
|
+
*/
|
|
120
|
+
featured?: boolean;
|
|
125
121
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
122
|
+
/**
|
|
123
|
+
* Salary as X shows it.
|
|
124
|
+
*/
|
|
125
|
+
formattedSalary?: string;
|
|
130
126
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
127
|
+
/**
|
|
128
|
+
* Job function, such as software_engineering.
|
|
129
|
+
*/
|
|
130
|
+
jobFunction?: string;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Location as the employer wrote it.
|
|
134
|
+
*/
|
|
135
|
+
location?: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Where the work happens (onsite, remote or hybrid).
|
|
139
|
+
*/
|
|
140
|
+
locationType?: string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* When the employer posted the job.
|
|
144
|
+
*/
|
|
145
|
+
postedAt?: string;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* ISO 4217 currency code of the salary.
|
|
149
|
+
*/
|
|
150
|
+
salaryCurrencyCode?: string;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Pay period of the salary (annually or hourly).
|
|
154
|
+
*/
|
|
155
|
+
salaryInterval?: string;
|
|
135
156
|
|
|
157
|
+
/**
|
|
158
|
+
* Highest salary, in salaryCurrencyCode per salaryInterval.
|
|
159
|
+
*/
|
|
160
|
+
salaryMax?: number;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Lowest salary, in salaryCurrencyCode per salaryInterval.
|
|
164
|
+
*/
|
|
165
|
+
salaryMin?: number;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Seniority (intern, entry_level, junior, mid_level, senior, lead, manager or
|
|
169
|
+
* executive).
|
|
170
|
+
*/
|
|
171
|
+
seniorityLevel?: string;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Short summary of the job, as plain text.
|
|
175
|
+
*/
|
|
176
|
+
shortDescription?: string;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Team inside the company.
|
|
180
|
+
*/
|
|
181
|
+
team?: string;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Job title.
|
|
185
|
+
*/
|
|
186
|
+
title?: string;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export namespace Job {
|
|
190
|
+
/**
|
|
191
|
+
* The X account that posted a job. A job has none when X imported it from a job
|
|
192
|
+
* board or no longer shows the account.
|
|
193
|
+
*/
|
|
194
|
+
export interface Account {
|
|
136
195
|
/**
|
|
137
|
-
*
|
|
196
|
+
* X user ID of the account.
|
|
138
197
|
*/
|
|
139
|
-
|
|
198
|
+
id: string;
|
|
140
199
|
|
|
141
200
|
/**
|
|
142
|
-
*
|
|
201
|
+
* Whether X shows a verification badge on the account.
|
|
143
202
|
*/
|
|
144
|
-
|
|
203
|
+
verified: boolean;
|
|
145
204
|
|
|
146
205
|
/**
|
|
147
|
-
*
|
|
206
|
+
* Bio of the account. A job lookup returns it.
|
|
148
207
|
*/
|
|
149
|
-
|
|
208
|
+
description?: string;
|
|
150
209
|
|
|
151
210
|
/**
|
|
152
|
-
*
|
|
211
|
+
* Display name of the account that posted the job.
|
|
153
212
|
*/
|
|
154
|
-
|
|
213
|
+
name?: string;
|
|
155
214
|
|
|
156
215
|
/**
|
|
157
|
-
*
|
|
216
|
+
* Avatar shape, such as Circle or Square.
|
|
158
217
|
*/
|
|
159
|
-
|
|
218
|
+
profileImageShape?: string;
|
|
160
219
|
|
|
161
220
|
/**
|
|
162
|
-
*
|
|
221
|
+
* Avatar URL of the account that posted the job.
|
|
163
222
|
*/
|
|
164
|
-
|
|
223
|
+
profilePicture?: string;
|
|
165
224
|
|
|
166
225
|
/**
|
|
167
|
-
*
|
|
226
|
+
* The job account's avatar at full size.
|
|
168
227
|
*/
|
|
169
|
-
|
|
228
|
+
profilePictureOriginal?: string;
|
|
170
229
|
|
|
171
230
|
/**
|
|
172
|
-
*
|
|
231
|
+
* Handle without @.
|
|
173
232
|
*/
|
|
174
|
-
|
|
233
|
+
username?: string;
|
|
175
234
|
|
|
176
235
|
/**
|
|
177
|
-
*
|
|
178
|
-
* executive).
|
|
236
|
+
* Badge type, such as Business or Government.
|
|
179
237
|
*/
|
|
180
|
-
|
|
238
|
+
verifiedType?: string;
|
|
239
|
+
}
|
|
181
240
|
|
|
241
|
+
/**
|
|
242
|
+
* The company profile of a job X imported from a job board.
|
|
243
|
+
*/
|
|
244
|
+
export interface Company {
|
|
182
245
|
/**
|
|
183
|
-
*
|
|
246
|
+
* X company profile ID.
|
|
184
247
|
*/
|
|
185
|
-
|
|
248
|
+
id: string;
|
|
186
249
|
|
|
187
250
|
/**
|
|
188
|
-
*
|
|
251
|
+
* Company logo URL.
|
|
189
252
|
*/
|
|
190
|
-
|
|
253
|
+
logoUrl?: string;
|
|
191
254
|
|
|
192
255
|
/**
|
|
193
|
-
*
|
|
256
|
+
* Company name.
|
|
194
257
|
*/
|
|
195
|
-
|
|
258
|
+
name?: string;
|
|
196
259
|
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export interface JobRetrieveResponse {
|
|
263
|
+
/**
|
|
264
|
+
* Public X job listing. A search returns the fields down to the salary, plus
|
|
265
|
+
* company & account. A lookup adds work type, seniority, function, team &
|
|
266
|
+
* descriptions. A field X leaves empty is left out.
|
|
267
|
+
*/
|
|
268
|
+
job: Job;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export namespace JobRetrieveResponse {
|
|
272
|
+
export type Job = JobsAPI.Job;
|
|
197
273
|
|
|
198
274
|
export namespace Job {
|
|
199
|
-
|
|
200
|
-
* The X account that posted a job. A job has none when X imported it from a job
|
|
201
|
-
* board or no longer shows the account.
|
|
202
|
-
*/
|
|
203
|
-
export interface Account {
|
|
204
|
-
/**
|
|
205
|
-
* X user ID of the account.
|
|
206
|
-
*/
|
|
207
|
-
id: string;
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Whether X shows a verification badge on the account.
|
|
211
|
-
*/
|
|
212
|
-
verified: boolean;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Bio of the account. A job lookup returns it.
|
|
216
|
-
*/
|
|
217
|
-
description?: string;
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* Display name of the account that posted the job.
|
|
221
|
-
*/
|
|
222
|
-
name?: string;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Avatar shape, such as Circle or Square.
|
|
226
|
-
*/
|
|
227
|
-
profileImageShape?: string;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Avatar URL of the account that posted the job.
|
|
231
|
-
*/
|
|
232
|
-
profilePicture?: string;
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* The job account's avatar at full size.
|
|
236
|
-
*/
|
|
237
|
-
profilePictureOriginal?: string;
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* Handle without @.
|
|
241
|
-
*/
|
|
242
|
-
username?: string;
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* Badge type, such as Business or Government.
|
|
246
|
-
*/
|
|
247
|
-
verifiedType?: string;
|
|
248
|
-
}
|
|
275
|
+
export type Account = JobsAPI.Job.Account;
|
|
249
276
|
|
|
250
|
-
|
|
251
|
-
* The company profile of a job X imported from a job board.
|
|
252
|
-
*/
|
|
253
|
-
export interface Company {
|
|
254
|
-
/**
|
|
255
|
-
* X company profile ID.
|
|
256
|
-
*/
|
|
257
|
-
id: string;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Company logo URL.
|
|
261
|
-
*/
|
|
262
|
-
logoUrl?: string;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Company name.
|
|
266
|
-
*/
|
|
267
|
-
name?: string;
|
|
268
|
-
}
|
|
277
|
+
export type Company = JobsAPI.Job.Company;
|
|
269
278
|
}
|
|
270
279
|
}
|
|
271
280
|
|
|
@@ -308,202 +317,18 @@ export namespace JobListLocationsResponse {
|
|
|
308
317
|
export interface JobSearchResponse {
|
|
309
318
|
has_next_page: boolean;
|
|
310
319
|
|
|
311
|
-
jobs: Array<
|
|
320
|
+
jobs: Array<Job>;
|
|
312
321
|
|
|
313
322
|
next_cursor: string;
|
|
314
323
|
}
|
|
315
324
|
|
|
316
325
|
export namespace JobSearchResponse {
|
|
317
|
-
|
|
318
|
-
* Public X job listing. A search returns the fields down to the salary, plus
|
|
319
|
-
* company & account. A lookup adds work type, seniority, function, team &
|
|
320
|
-
* descriptions. A field X leaves empty is left out.
|
|
321
|
-
*/
|
|
322
|
-
export interface Job {
|
|
323
|
-
/**
|
|
324
|
-
* Job ID.
|
|
325
|
-
*/
|
|
326
|
-
id: string;
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* The job page on X.
|
|
330
|
-
*/
|
|
331
|
-
url: string;
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* The X account that posted a job. A job has none when X imported it from a job
|
|
335
|
-
* board or no longer shows the account.
|
|
336
|
-
*/
|
|
337
|
-
account?: Job.Account;
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Where applicants apply, off X.
|
|
341
|
-
*/
|
|
342
|
-
applyUrl?: string;
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* The company profile of a job X imported from a job board.
|
|
346
|
-
*/
|
|
347
|
-
company?: Job.Company;
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* Full description as plain text, 1 line per paragraph.
|
|
351
|
-
*/
|
|
352
|
-
description?: string;
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* Full description as Markdown, with headings, lists, links, bold & italics.
|
|
356
|
-
*/
|
|
357
|
-
descriptionMarkdown?: string;
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* Contract type (full_time, full_time_contract, part_time or contract_to_hire).
|
|
361
|
-
*/
|
|
362
|
-
employmentType?: string;
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* Whether X features the job.
|
|
366
|
-
*/
|
|
367
|
-
featured?: boolean;
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* Salary as X shows it.
|
|
371
|
-
*/
|
|
372
|
-
formattedSalary?: string;
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* Job function, such as software_engineering.
|
|
376
|
-
*/
|
|
377
|
-
jobFunction?: string;
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* Location as the employer wrote it.
|
|
381
|
-
*/
|
|
382
|
-
location?: string;
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* Where the work happens (onsite, remote or hybrid).
|
|
386
|
-
*/
|
|
387
|
-
locationType?: string;
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* When the employer posted the job.
|
|
391
|
-
*/
|
|
392
|
-
postedAt?: string;
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* ISO 4217 currency code of the salary.
|
|
396
|
-
*/
|
|
397
|
-
salaryCurrencyCode?: string;
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* Pay period of the salary (annually or hourly).
|
|
401
|
-
*/
|
|
402
|
-
salaryInterval?: string;
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* Highest salary, in salaryCurrencyCode per salaryInterval.
|
|
406
|
-
*/
|
|
407
|
-
salaryMax?: number;
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* Lowest salary, in salaryCurrencyCode per salaryInterval.
|
|
411
|
-
*/
|
|
412
|
-
salaryMin?: number;
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* Seniority (intern, entry_level, junior, mid_level, senior, lead, manager or
|
|
416
|
-
* executive).
|
|
417
|
-
*/
|
|
418
|
-
seniorityLevel?: string;
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* Short summary of the job, as plain text.
|
|
422
|
-
*/
|
|
423
|
-
shortDescription?: string;
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* Team inside the company.
|
|
427
|
-
*/
|
|
428
|
-
team?: string;
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Job title.
|
|
432
|
-
*/
|
|
433
|
-
title?: string;
|
|
434
|
-
}
|
|
326
|
+
export type Job = JobsAPI.Job;
|
|
435
327
|
|
|
436
328
|
export namespace Job {
|
|
437
|
-
|
|
438
|
-
* The X account that posted a job. A job has none when X imported it from a job
|
|
439
|
-
* board or no longer shows the account.
|
|
440
|
-
*/
|
|
441
|
-
export interface Account {
|
|
442
|
-
/**
|
|
443
|
-
* X user ID of the account.
|
|
444
|
-
*/
|
|
445
|
-
id: string;
|
|
446
|
-
|
|
447
|
-
/**
|
|
448
|
-
* Whether X shows a verification badge on the account.
|
|
449
|
-
*/
|
|
450
|
-
verified: boolean;
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
* Bio of the account. A job lookup returns it.
|
|
454
|
-
*/
|
|
455
|
-
description?: string;
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* Display name of the account that posted the job.
|
|
459
|
-
*/
|
|
460
|
-
name?: string;
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* Avatar shape, such as Circle or Square.
|
|
464
|
-
*/
|
|
465
|
-
profileImageShape?: string;
|
|
466
|
-
|
|
467
|
-
/**
|
|
468
|
-
* Avatar URL of the account that posted the job.
|
|
469
|
-
*/
|
|
470
|
-
profilePicture?: string;
|
|
471
|
-
|
|
472
|
-
/**
|
|
473
|
-
* The job account's avatar at full size.
|
|
474
|
-
*/
|
|
475
|
-
profilePictureOriginal?: string;
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* Handle without @.
|
|
479
|
-
*/
|
|
480
|
-
username?: string;
|
|
481
|
-
|
|
482
|
-
/**
|
|
483
|
-
* Badge type, such as Business or Government.
|
|
484
|
-
*/
|
|
485
|
-
verifiedType?: string;
|
|
486
|
-
}
|
|
329
|
+
export type Account = JobsAPI.Job.Account;
|
|
487
330
|
|
|
488
|
-
|
|
489
|
-
* The company profile of a job X imported from a job board.
|
|
490
|
-
*/
|
|
491
|
-
export interface Company {
|
|
492
|
-
/**
|
|
493
|
-
* X company profile ID.
|
|
494
|
-
*/
|
|
495
|
-
id: string;
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* Company logo URL.
|
|
499
|
-
*/
|
|
500
|
-
logoUrl?: string;
|
|
501
|
-
|
|
502
|
-
/**
|
|
503
|
-
* Company name.
|
|
504
|
-
*/
|
|
505
|
-
name?: string;
|
|
506
|
-
}
|
|
331
|
+
export type Company = JobsAPI.Job.Company;
|
|
507
332
|
}
|
|
508
333
|
}
|
|
509
334
|
|
|
@@ -625,6 +450,7 @@ export interface JobSearchParams {
|
|
|
625
450
|
|
|
626
451
|
export declare namespace Jobs {
|
|
627
452
|
export {
|
|
453
|
+
type Job as Job,
|
|
628
454
|
type JobRetrieveResponse as JobRetrieveResponse,
|
|
629
455
|
type JobListLocationsResponse as JobListLocationsResponse,
|
|
630
456
|
type JobSearchResponse as JobSearchResponse,
|