scavio 0.9.0 → 0.10.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/dist/index.d.cts CHANGED
@@ -1150,150 +1150,125 @@ declare class XNamespace {
1150
1150
  trending(options?: XTrendingOptions): Promise<Record<string, unknown>>;
1151
1151
  }
1152
1152
 
1153
+ /** A member reference: a vanity handle, or a full profile URL. */
1153
1154
  interface LinkedInPersonOptions {
1154
- /** Public identifier (vanity handle). */
1155
- username: string;
1156
- /** Include the experiences section (default true server-side). */
1157
- include_experiences?: boolean;
1158
- /** Include the educations section (default true server-side). */
1159
- include_educations?: boolean;
1160
- /** Include the skills section (default true server-side). */
1161
- include_skills?: boolean;
1162
- /** Include the certifications section (default true server-side). */
1163
- include_certifications?: boolean;
1164
- /** Include follower and connection counts (default true server-side). */
1165
- include_follower_and_connection?: boolean;
1166
- [key: string]: unknown;
1167
- }
1168
- interface LinkedInPersonRefOptions {
1169
- /** Member urn. */
1170
- urn?: string;
1171
- /** Public identifier; resolved to a urn if urn is omitted. */
1155
+ /** Public identifier (vanity handle), e.g. "williamhgates". */
1172
1156
  username?: string;
1157
+ /** Full LinkedIn profile URL, as an alternative to username. */
1158
+ url?: string;
1173
1159
  [key: string]: unknown;
1174
1160
  }
1175
- interface LinkedInPersonPostsOptions {
1176
- /** Member urn. */
1177
- urn?: string;
1178
- /** Public identifier; resolved to a urn if urn is omitted. */
1179
- username?: string;
1180
- /** Pagination cursor from a prior response. */
1181
- cursor?: string;
1161
+ /** A company reference: a universal name (slug), or a full company URL. */
1162
+ interface LinkedInCompanyOptions {
1163
+ /** Company universal name (slug), e.g. "microsoft". */
1164
+ company?: string;
1165
+ /** Full LinkedIn company URL, as an alternative to company. */
1166
+ url?: string;
1182
1167
  [key: string]: unknown;
1183
1168
  }
1184
- interface LinkedInPersonContactOptions {
1185
- /** Public identifier (vanity handle). */
1186
- username: string;
1169
+ /** @deprecated Use {@link LinkedInPersonOptions}. */
1170
+ type LinkedInPersonRefOptions = LinkedInPersonOptions;
1171
+ /** @deprecated Use {@link LinkedInPersonOptions}. */
1172
+ type LinkedInPersonPostsOptions = LinkedInPersonOptions;
1173
+ /** @deprecated Use {@link LinkedInCompanyOptions}. */
1174
+ type LinkedInCompanyPostsOptions = LinkedInCompanyOptions;
1175
+ interface LinkedInSearchJobsOptions {
1176
+ /** Search keyword. */
1177
+ search: string;
1178
+ /** Geographic filter; omit to search everywhere. */
1179
+ location?: string;
1187
1180
  [key: string]: unknown;
1188
1181
  }
1189
- interface LinkedInCompanyOptions {
1190
- /** Company universal name (slug) or LinkedIn company URL. */
1191
- company: string;
1182
+ interface LinkedInJobOptions {
1183
+ /** Job listing id. */
1184
+ job_id?: string;
1185
+ /** Full LinkedIn job URL, as an alternative to job_id. */
1186
+ url?: string;
1192
1187
  [key: string]: unknown;
1193
1188
  }
1194
- interface LinkedInCompanyPostsOptions {
1195
- /** Company universal name (slug) or LinkedIn company URL. */
1196
- company: string;
1197
- /** Pagination cursor from a prior response. */
1198
- cursor?: string;
1199
- /** Results per page (1-100). */
1200
- count?: number;
1189
+ interface LinkedInPostOptions {
1190
+ /** Post id or activity urn. */
1191
+ post_id?: string;
1192
+ /** Full LinkedIn post URL, as an alternative to post_id. */
1193
+ url?: string;
1194
+ [key: string]: unknown;
1195
+ }
1196
+ interface LinkedInPostCommentsOptions extends LinkedInPostOptions {
1197
+ /** 1-based page number, 10 comments per page. */
1198
+ page?: number;
1199
+ }
1200
+ /** @deprecated Retired upstream; always returns HTTP 410. */
1201
+ interface LinkedInPersonContactOptions {
1202
+ username?: string;
1201
1203
  [key: string]: unknown;
1202
1204
  }
1205
+ /** @deprecated Retired upstream; always returns HTTP 410. */
1203
1206
  interface LinkedInCompanyRefOptions {
1204
- /** Numeric company id. */
1205
1207
  company_id?: string;
1206
- /** Company slug/url; resolved to a company_id if company_id is omitted. */
1207
1208
  company?: string;
1208
- /** Pagination cursor from a prior response. */
1209
- cursor?: string;
1210
1209
  [key: string]: unknown;
1211
1210
  }
1211
+ /** @deprecated Retired upstream; always returns HTTP 410. */
1212
1212
  interface LinkedInSearchPeopleOptions {
1213
- /** Name to search for. */
1214
1213
  search?: string;
1215
- /** Job title filter. */
1216
1214
  title?: string;
1217
- /** Company filter. */
1218
1215
  company?: string;
1219
- /** School filter. */
1220
1216
  school?: string;
1221
- /** A geo name or id to filter by. */
1222
1217
  location?: string;
1223
- /** Page cursor (page number). */
1224
- cursor?: string;
1225
- [key: string]: unknown;
1226
- }
1227
- interface LinkedInSearchJobsOptions {
1228
- /** Search query (1-500 characters). */
1229
- search: string;
1230
- /** Page cursor (page number). */
1231
- cursor?: string;
1232
- /** Date-posted filter. */
1233
- date_posted?: string;
1234
- /** Geo code to filter by. */
1235
- geocode?: string;
1236
- /** Experience level filter. */
1237
- experience_level?: string;
1238
- /** Remote filter. */
1239
- remote?: string;
1240
- /** Job type filter. */
1241
- job_type?: string;
1242
1218
  [key: string]: unknown;
1243
1219
  }
1220
+ /** @deprecated Retired upstream; always returns HTTP 410. */
1244
1221
  interface LinkedInSearchPostsOptions {
1245
- /** Search query (1-500 characters). */
1246
- search: string;
1247
- /** Page cursor (page number). */
1248
- cursor?: string;
1249
- /** Date-posted filter. */
1250
- date_posted?: string;
1251
- /** Sort order. */
1252
- sort_by?: string;
1253
- /** Content type filter. */
1254
- content_type?: string;
1255
- [key: string]: unknown;
1256
- }
1257
- interface LinkedInJobOptions {
1258
- /** Job listing id. */
1259
- job_id: string;
1260
- /** Include the required-skills section. */
1261
- include_skills?: boolean;
1262
- [key: string]: unknown;
1263
- }
1264
- interface LinkedInPostOptions {
1265
- /** Post id or activity urn. */
1266
- post_id: string;
1267
- [key: string]: unknown;
1268
- }
1269
- interface LinkedInPostCommentsOptions {
1270
- /** Post id or activity urn. */
1271
- post_id: string;
1272
- /** Pagination cursor from a prior response. */
1273
- cursor?: string;
1274
- /** Comment sort order. */
1275
- sort_order?: "relevance" | "recent";
1276
- /** Post type. */
1277
- post_type?: "activity" | "ugc";
1222
+ search?: string;
1278
1223
  [key: string]: unknown;
1279
1224
  }
1280
1225
  declare class LinkedInNamespace {
1281
1226
  private client;
1282
1227
  constructor(client: Scavio);
1228
+ /** Full profile: about text, experience, education, honours and links. */
1283
1229
  person(options: LinkedInPersonOptions): Promise<Record<string, unknown>>;
1284
- personAbout(options: LinkedInPersonRefOptions): Promise<Record<string, unknown>>;
1285
- personPosts(options: LinkedInPersonPostsOptions): Promise<Record<string, unknown>>;
1286
- personContact(options: LinkedInPersonContactOptions): Promise<Record<string, unknown>>;
1230
+ /** The about-only slice of the profile payload. */
1231
+ personAbout(options: LinkedInPersonOptions): Promise<Record<string, unknown>>;
1232
+ /** Recent posts, up to 50. Upstream exposes no further pages. */
1233
+ personPosts(options: LinkedInPersonOptions): Promise<Record<string, unknown>>;
1234
+ /** Company profile, including locations and featured employees. */
1287
1235
  company(options: LinkedInCompanyOptions): Promise<Record<string, unknown>>;
1288
- companyPosts(options: LinkedInCompanyPostsOptions): Promise<Record<string, unknown>>;
1289
- companyPeople(options: LinkedInCompanyRefOptions): Promise<Record<string, unknown>>;
1290
- companyJobs(options: LinkedInCompanyRefOptions): Promise<Record<string, unknown>>;
1291
- searchPeople(options: LinkedInSearchPeopleOptions): Promise<Record<string, unknown>>;
1236
+ /** Recent company posts, up to 50. Upstream exposes no further pages. */
1237
+ companyPosts(options: LinkedInCompanyOptions): Promise<Record<string, unknown>>;
1238
+ /** Job search. Upstream rotates its result set, so repeat calls differ. */
1292
1239
  searchJobs(options: LinkedInSearchJobsOptions): Promise<Record<string, unknown>>;
1293
- searchPosts(options: LinkedInSearchPostsOptions): Promise<Record<string, unknown>>;
1240
+ /** Full detail for one job listing, including the hiring company. */
1294
1241
  job(options: LinkedInJobOptions): Promise<Record<string, unknown>>;
1242
+ /** Full detail for one post, including its top visible comments. */
1295
1243
  post(options: LinkedInPostOptions): Promise<Record<string, unknown>>;
1244
+ /** Comments with their replies, 10 per page. */
1296
1245
  postComments(options: LinkedInPostCommentsOptions): Promise<Record<string, unknown>>;
1246
+ /**
1247
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1248
+ * never billed.
1249
+ */
1250
+ personContact(options: LinkedInPersonContactOptions): Promise<Record<string, unknown>>;
1251
+ /**
1252
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1253
+ * never billed. `company()` returns `featured_employees`, a small sample of
1254
+ * staff profiles.
1255
+ */
1256
+ companyPeople(options: LinkedInCompanyRefOptions): Promise<Record<string, unknown>>;
1257
+ /**
1258
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1259
+ * never billed. Use `searchJobs()` with the company name as the search term.
1260
+ */
1261
+ companyJobs(options: LinkedInCompanyRefOptions): Promise<Record<string, unknown>>;
1262
+ /**
1263
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1264
+ * never billed.
1265
+ */
1266
+ searchPeople(options: LinkedInSearchPeopleOptions): Promise<Record<string, unknown>>;
1267
+ /**
1268
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1269
+ * never billed.
1270
+ */
1271
+ searchPosts(options: LinkedInSearchPostsOptions): Promise<Record<string, unknown>>;
1297
1272
  }
1298
1273
 
1299
1274
  interface ScavioConfig {
package/dist/index.d.ts CHANGED
@@ -1150,150 +1150,125 @@ declare class XNamespace {
1150
1150
  trending(options?: XTrendingOptions): Promise<Record<string, unknown>>;
1151
1151
  }
1152
1152
 
1153
+ /** A member reference: a vanity handle, or a full profile URL. */
1153
1154
  interface LinkedInPersonOptions {
1154
- /** Public identifier (vanity handle). */
1155
- username: string;
1156
- /** Include the experiences section (default true server-side). */
1157
- include_experiences?: boolean;
1158
- /** Include the educations section (default true server-side). */
1159
- include_educations?: boolean;
1160
- /** Include the skills section (default true server-side). */
1161
- include_skills?: boolean;
1162
- /** Include the certifications section (default true server-side). */
1163
- include_certifications?: boolean;
1164
- /** Include follower and connection counts (default true server-side). */
1165
- include_follower_and_connection?: boolean;
1166
- [key: string]: unknown;
1167
- }
1168
- interface LinkedInPersonRefOptions {
1169
- /** Member urn. */
1170
- urn?: string;
1171
- /** Public identifier; resolved to a urn if urn is omitted. */
1155
+ /** Public identifier (vanity handle), e.g. "williamhgates". */
1172
1156
  username?: string;
1157
+ /** Full LinkedIn profile URL, as an alternative to username. */
1158
+ url?: string;
1173
1159
  [key: string]: unknown;
1174
1160
  }
1175
- interface LinkedInPersonPostsOptions {
1176
- /** Member urn. */
1177
- urn?: string;
1178
- /** Public identifier; resolved to a urn if urn is omitted. */
1179
- username?: string;
1180
- /** Pagination cursor from a prior response. */
1181
- cursor?: string;
1161
+ /** A company reference: a universal name (slug), or a full company URL. */
1162
+ interface LinkedInCompanyOptions {
1163
+ /** Company universal name (slug), e.g. "microsoft". */
1164
+ company?: string;
1165
+ /** Full LinkedIn company URL, as an alternative to company. */
1166
+ url?: string;
1182
1167
  [key: string]: unknown;
1183
1168
  }
1184
- interface LinkedInPersonContactOptions {
1185
- /** Public identifier (vanity handle). */
1186
- username: string;
1169
+ /** @deprecated Use {@link LinkedInPersonOptions}. */
1170
+ type LinkedInPersonRefOptions = LinkedInPersonOptions;
1171
+ /** @deprecated Use {@link LinkedInPersonOptions}. */
1172
+ type LinkedInPersonPostsOptions = LinkedInPersonOptions;
1173
+ /** @deprecated Use {@link LinkedInCompanyOptions}. */
1174
+ type LinkedInCompanyPostsOptions = LinkedInCompanyOptions;
1175
+ interface LinkedInSearchJobsOptions {
1176
+ /** Search keyword. */
1177
+ search: string;
1178
+ /** Geographic filter; omit to search everywhere. */
1179
+ location?: string;
1187
1180
  [key: string]: unknown;
1188
1181
  }
1189
- interface LinkedInCompanyOptions {
1190
- /** Company universal name (slug) or LinkedIn company URL. */
1191
- company: string;
1182
+ interface LinkedInJobOptions {
1183
+ /** Job listing id. */
1184
+ job_id?: string;
1185
+ /** Full LinkedIn job URL, as an alternative to job_id. */
1186
+ url?: string;
1192
1187
  [key: string]: unknown;
1193
1188
  }
1194
- interface LinkedInCompanyPostsOptions {
1195
- /** Company universal name (slug) or LinkedIn company URL. */
1196
- company: string;
1197
- /** Pagination cursor from a prior response. */
1198
- cursor?: string;
1199
- /** Results per page (1-100). */
1200
- count?: number;
1189
+ interface LinkedInPostOptions {
1190
+ /** Post id or activity urn. */
1191
+ post_id?: string;
1192
+ /** Full LinkedIn post URL, as an alternative to post_id. */
1193
+ url?: string;
1194
+ [key: string]: unknown;
1195
+ }
1196
+ interface LinkedInPostCommentsOptions extends LinkedInPostOptions {
1197
+ /** 1-based page number, 10 comments per page. */
1198
+ page?: number;
1199
+ }
1200
+ /** @deprecated Retired upstream; always returns HTTP 410. */
1201
+ interface LinkedInPersonContactOptions {
1202
+ username?: string;
1201
1203
  [key: string]: unknown;
1202
1204
  }
1205
+ /** @deprecated Retired upstream; always returns HTTP 410. */
1203
1206
  interface LinkedInCompanyRefOptions {
1204
- /** Numeric company id. */
1205
1207
  company_id?: string;
1206
- /** Company slug/url; resolved to a company_id if company_id is omitted. */
1207
1208
  company?: string;
1208
- /** Pagination cursor from a prior response. */
1209
- cursor?: string;
1210
1209
  [key: string]: unknown;
1211
1210
  }
1211
+ /** @deprecated Retired upstream; always returns HTTP 410. */
1212
1212
  interface LinkedInSearchPeopleOptions {
1213
- /** Name to search for. */
1214
1213
  search?: string;
1215
- /** Job title filter. */
1216
1214
  title?: string;
1217
- /** Company filter. */
1218
1215
  company?: string;
1219
- /** School filter. */
1220
1216
  school?: string;
1221
- /** A geo name or id to filter by. */
1222
1217
  location?: string;
1223
- /** Page cursor (page number). */
1224
- cursor?: string;
1225
- [key: string]: unknown;
1226
- }
1227
- interface LinkedInSearchJobsOptions {
1228
- /** Search query (1-500 characters). */
1229
- search: string;
1230
- /** Page cursor (page number). */
1231
- cursor?: string;
1232
- /** Date-posted filter. */
1233
- date_posted?: string;
1234
- /** Geo code to filter by. */
1235
- geocode?: string;
1236
- /** Experience level filter. */
1237
- experience_level?: string;
1238
- /** Remote filter. */
1239
- remote?: string;
1240
- /** Job type filter. */
1241
- job_type?: string;
1242
1218
  [key: string]: unknown;
1243
1219
  }
1220
+ /** @deprecated Retired upstream; always returns HTTP 410. */
1244
1221
  interface LinkedInSearchPostsOptions {
1245
- /** Search query (1-500 characters). */
1246
- search: string;
1247
- /** Page cursor (page number). */
1248
- cursor?: string;
1249
- /** Date-posted filter. */
1250
- date_posted?: string;
1251
- /** Sort order. */
1252
- sort_by?: string;
1253
- /** Content type filter. */
1254
- content_type?: string;
1255
- [key: string]: unknown;
1256
- }
1257
- interface LinkedInJobOptions {
1258
- /** Job listing id. */
1259
- job_id: string;
1260
- /** Include the required-skills section. */
1261
- include_skills?: boolean;
1262
- [key: string]: unknown;
1263
- }
1264
- interface LinkedInPostOptions {
1265
- /** Post id or activity urn. */
1266
- post_id: string;
1267
- [key: string]: unknown;
1268
- }
1269
- interface LinkedInPostCommentsOptions {
1270
- /** Post id or activity urn. */
1271
- post_id: string;
1272
- /** Pagination cursor from a prior response. */
1273
- cursor?: string;
1274
- /** Comment sort order. */
1275
- sort_order?: "relevance" | "recent";
1276
- /** Post type. */
1277
- post_type?: "activity" | "ugc";
1222
+ search?: string;
1278
1223
  [key: string]: unknown;
1279
1224
  }
1280
1225
  declare class LinkedInNamespace {
1281
1226
  private client;
1282
1227
  constructor(client: Scavio);
1228
+ /** Full profile: about text, experience, education, honours and links. */
1283
1229
  person(options: LinkedInPersonOptions): Promise<Record<string, unknown>>;
1284
- personAbout(options: LinkedInPersonRefOptions): Promise<Record<string, unknown>>;
1285
- personPosts(options: LinkedInPersonPostsOptions): Promise<Record<string, unknown>>;
1286
- personContact(options: LinkedInPersonContactOptions): Promise<Record<string, unknown>>;
1230
+ /** The about-only slice of the profile payload. */
1231
+ personAbout(options: LinkedInPersonOptions): Promise<Record<string, unknown>>;
1232
+ /** Recent posts, up to 50. Upstream exposes no further pages. */
1233
+ personPosts(options: LinkedInPersonOptions): Promise<Record<string, unknown>>;
1234
+ /** Company profile, including locations and featured employees. */
1287
1235
  company(options: LinkedInCompanyOptions): Promise<Record<string, unknown>>;
1288
- companyPosts(options: LinkedInCompanyPostsOptions): Promise<Record<string, unknown>>;
1289
- companyPeople(options: LinkedInCompanyRefOptions): Promise<Record<string, unknown>>;
1290
- companyJobs(options: LinkedInCompanyRefOptions): Promise<Record<string, unknown>>;
1291
- searchPeople(options: LinkedInSearchPeopleOptions): Promise<Record<string, unknown>>;
1236
+ /** Recent company posts, up to 50. Upstream exposes no further pages. */
1237
+ companyPosts(options: LinkedInCompanyOptions): Promise<Record<string, unknown>>;
1238
+ /** Job search. Upstream rotates its result set, so repeat calls differ. */
1292
1239
  searchJobs(options: LinkedInSearchJobsOptions): Promise<Record<string, unknown>>;
1293
- searchPosts(options: LinkedInSearchPostsOptions): Promise<Record<string, unknown>>;
1240
+ /** Full detail for one job listing, including the hiring company. */
1294
1241
  job(options: LinkedInJobOptions): Promise<Record<string, unknown>>;
1242
+ /** Full detail for one post, including its top visible comments. */
1295
1243
  post(options: LinkedInPostOptions): Promise<Record<string, unknown>>;
1244
+ /** Comments with their replies, 10 per page. */
1296
1245
  postComments(options: LinkedInPostCommentsOptions): Promise<Record<string, unknown>>;
1246
+ /**
1247
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1248
+ * never billed.
1249
+ */
1250
+ personContact(options: LinkedInPersonContactOptions): Promise<Record<string, unknown>>;
1251
+ /**
1252
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1253
+ * never billed. `company()` returns `featured_employees`, a small sample of
1254
+ * staff profiles.
1255
+ */
1256
+ companyPeople(options: LinkedInCompanyRefOptions): Promise<Record<string, unknown>>;
1257
+ /**
1258
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1259
+ * never billed. Use `searchJobs()` with the company name as the search term.
1260
+ */
1261
+ companyJobs(options: LinkedInCompanyRefOptions): Promise<Record<string, unknown>>;
1262
+ /**
1263
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1264
+ * never billed.
1265
+ */
1266
+ searchPeople(options: LinkedInSearchPeopleOptions): Promise<Record<string, unknown>>;
1267
+ /**
1268
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1269
+ * never billed.
1270
+ */
1271
+ searchPosts(options: LinkedInSearchPostsOptions): Promise<Record<string, unknown>>;
1297
1272
  }
1298
1273
 
1299
1274
  interface ScavioConfig {
package/dist/index.js CHANGED
@@ -720,48 +720,78 @@ var LinkedInNamespace = class {
720
720
  this.client = client;
721
721
  }
722
722
  client;
723
+ /** Full profile: about text, experience, education, honours and links. */
723
724
  async person(options) {
724
725
  return this.client._post("/api/v1/linkedin/person", options);
725
726
  }
727
+ /** The about-only slice of the profile payload. */
726
728
  async personAbout(options) {
727
729
  return this.client._post("/api/v1/linkedin/person/about", options);
728
730
  }
731
+ /** Recent posts, up to 50. Upstream exposes no further pages. */
729
732
  async personPosts(options) {
730
733
  return this.client._post("/api/v1/linkedin/person/posts", options);
731
734
  }
732
- async personContact(options) {
733
- return this.client._post("/api/v1/linkedin/person/contact", options);
734
- }
735
+ /** Company profile, including locations and featured employees. */
735
736
  async company(options) {
736
737
  return this.client._post("/api/v1/linkedin/company", options);
737
738
  }
739
+ /** Recent company posts, up to 50. Upstream exposes no further pages. */
738
740
  async companyPosts(options) {
739
741
  return this.client._post("/api/v1/linkedin/company/posts", options);
740
742
  }
741
- async companyPeople(options) {
742
- return this.client._post("/api/v1/linkedin/company/people", options);
743
- }
744
- async companyJobs(options) {
745
- return this.client._post("/api/v1/linkedin/company/jobs", options);
746
- }
747
- async searchPeople(options) {
748
- return this.client._post("/api/v1/linkedin/search/people", options);
749
- }
743
+ /** Job search. Upstream rotates its result set, so repeat calls differ. */
750
744
  async searchJobs(options) {
751
745
  return this.client._post("/api/v1/linkedin/search/jobs", options);
752
746
  }
753
- async searchPosts(options) {
754
- return this.client._post("/api/v1/linkedin/search/posts", options);
755
- }
747
+ /** Full detail for one job listing, including the hiring company. */
756
748
  async job(options) {
757
749
  return this.client._post("/api/v1/linkedin/job", options);
758
750
  }
751
+ /** Full detail for one post, including its top visible comments. */
759
752
  async post(options) {
760
753
  return this.client._post("/api/v1/linkedin/post", options);
761
754
  }
755
+ /** Comments with their replies, 10 per page. */
762
756
  async postComments(options) {
763
757
  return this.client._post("/api/v1/linkedin/post/comments", options);
764
758
  }
759
+ /**
760
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
761
+ * never billed.
762
+ */
763
+ async personContact(options) {
764
+ return this.client._post("/api/v1/linkedin/person/contact", options);
765
+ }
766
+ /**
767
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
768
+ * never billed. `company()` returns `featured_employees`, a small sample of
769
+ * staff profiles.
770
+ */
771
+ async companyPeople(options) {
772
+ return this.client._post("/api/v1/linkedin/company/people", options);
773
+ }
774
+ /**
775
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
776
+ * never billed. Use `searchJobs()` with the company name as the search term.
777
+ */
778
+ async companyJobs(options) {
779
+ return this.client._post("/api/v1/linkedin/company/jobs", options);
780
+ }
781
+ /**
782
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
783
+ * never billed.
784
+ */
785
+ async searchPeople(options) {
786
+ return this.client._post("/api/v1/linkedin/search/people", options);
787
+ }
788
+ /**
789
+ * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
790
+ * never billed.
791
+ */
792
+ async searchPosts(options) {
793
+ return this.client._post("/api/v1/linkedin/search/posts", options);
794
+ }
765
795
  };
766
796
 
767
797
  // src/client.ts