lumnisai 0.5.30 → 0.5.32

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.cjs CHANGED
@@ -969,8 +969,9 @@ class CrmResource {
969
969
  * `crmRecordId`. Stale links (record deleted in the CRM) are detected
970
970
  * and re-created automatically.
971
971
  *
972
- * Works with or without a `campaign_prospects` row — search-sourced
973
- * prospects are enriched from profile cache when needed.
972
+ * Pass `contact` to avoid re-deriving attributes the caller already has.
973
+ * Any omitted contact fields are gap-filled from campaign/profile data when
974
+ * available. `customFields` keys are provider-native property names.
974
975
  *
975
976
  * @example
976
977
  * ```typescript
@@ -978,6 +979,13 @@ class CrmResource {
978
979
  * userId: 'user@example.com',
979
980
  * provider: 'attio',
980
981
  * linkedinUrl: 'https://www.linkedin.com/in/jane-doe/',
982
+ * contact: {
983
+ * fullName: 'Jane Doe',
984
+ * email: 'jane@example.com',
985
+ * jobTitle: 'VP of Sales',
986
+ * company: 'Acme',
987
+ * },
988
+ * customFields: { lead_source: 'Lumnis' },
981
989
  * })
982
990
  * console.log(result.action, result.crmUrl)
983
991
  * ```
@@ -1884,7 +1892,8 @@ function convertCase(obj, converter) {
1884
1892
  return obj.map((v) => convertCase(v, converter));
1885
1893
  } else if (obj !== null && typeof obj === "object") {
1886
1894
  return Object.keys(obj).reduce((acc, key) => {
1887
- acc[converter(key)] = convertCase(obj[key], converter);
1895
+ const value = key === "customFields" || key === "custom_fields" ? obj[key] : convertCase(obj[key], converter);
1896
+ acc[converter(key)] = value;
1888
1897
  return acc;
1889
1898
  }, {});
1890
1899
  }
@@ -3357,6 +3366,36 @@ class ResponsesResource {
3357
3366
  throw new ValidationError("maxEngagementsPerRep must be between 1 and 1000");
3358
3367
  }
3359
3368
  }
3369
+ _validateContentIntelligenceParams(params) {
3370
+ const limit = this._getParamValue(params, "limit", "limit");
3371
+ if (limit !== void 0 && (!Number.isInteger(limit) || limit < 1 || limit > 1e3))
3372
+ throw new ValidationError("limit must be an integer between 1 and 1000 for content_intelligence");
3373
+ const exaResultsPerQuery = this._getParamValue(
3374
+ params,
3375
+ "exaResultsPerQuery",
3376
+ "exa_results_per_query"
3377
+ );
3378
+ if (exaResultsPerQuery !== void 0 && (!Number.isInteger(exaResultsPerQuery) || exaResultsPerQuery < 1)) {
3379
+ throw new ValidationError("exaResultsPerQuery must be a positive integer");
3380
+ }
3381
+ const outputs = this._getParamValue(params, "outputs", "outputs");
3382
+ if (outputs !== void 0) {
3383
+ if (!Array.isArray(outputs) || outputs.length === 0)
3384
+ throw new ValidationError("outputs must contain at least one value");
3385
+ const supported = [
3386
+ "top_posts",
3387
+ "post_ideas",
3388
+ "engagement_analysis"
3389
+ ];
3390
+ for (const output of outputs) {
3391
+ if (!supported.includes(output)) {
3392
+ throw new ValidationError(
3393
+ `Invalid content_intelligence output: ${String(output)}. Supported outputs: ${supported.join(", ")}.`
3394
+ );
3395
+ }
3396
+ }
3397
+ }
3398
+ }
3360
3399
  _validateCriteriaParams(params, specializedAgent) {
3361
3400
  if (!params)
3362
3401
  return;
@@ -3468,6 +3507,8 @@ class ResponsesResource {
3468
3507
  this._validateCompetitorPostEngagementParams(rawParams);
3469
3508
  if (specializedAgent === "competitor_rep_engagement")
3470
3509
  this._validateCompetitorRepEngagementParams(rawParams);
3510
+ if (specializedAgent === "content_intelligence")
3511
+ this._validateContentIntelligenceParams(rawParams);
3471
3512
  }
3472
3513
  _validateFileReference(uri) {
3473
3514
  if (uri.startsWith("artifact_"))
@@ -3782,6 +3823,40 @@ class ResponsesResource {
3782
3823
  }
3783
3824
  return this.create(request);
3784
3825
  }
3826
+ /**
3827
+ * Discover what content a described audience engages with on LinkedIn.
3828
+ *
3829
+ * The backend searches for the audience, collects their reaction history,
3830
+ * saves the normalized package, and produces grounded views from it. Pass
3831
+ * `reusePackageFrom` to re-cook a saved package without collecting again.
3832
+ *
3833
+ * @param query - Natural-language description of the audience. A nonblank
3834
+ * message is required even when reusing a package.
3835
+ * @param options - Audience, collection-window, package-reuse, and output controls.
3836
+ * Omit `outputs` to use the backend's default set.
3837
+ */
3838
+ async contentIntelligence(query, options = {}) {
3839
+ if (!query.trim())
3840
+ throw new ValidationError("contentIntelligence requires a non-empty audience query");
3841
+ const params = {};
3842
+ if (options.limit !== void 0)
3843
+ params.limit = options.limit;
3844
+ if (options.postsDateRange !== void 0)
3845
+ params.postsDateRange = options.postsDateRange;
3846
+ if (options.postsEnableFiltering !== void 0)
3847
+ params.postsEnableFiltering = options.postsEnableFiltering;
3848
+ if (options.exaResultsPerQuery !== void 0)
3849
+ params.exaResultsPerQuery = options.exaResultsPerQuery;
3850
+ if (options.reusePackageFrom !== void 0)
3851
+ params.reusePackageFrom = options.reusePackageFrom;
3852
+ if (options.outputs !== void 0)
3853
+ params.outputs = options.outputs;
3854
+ return this.create({
3855
+ messages: [{ role: "user", content: query }],
3856
+ specializedAgent: "content_intelligence",
3857
+ specializedAgentParams: params
3858
+ });
3859
+ }
3785
3860
  /**
3786
3861
  * Score people who reacted to or commented on competitor LinkedIn posts.
3787
3862
  *
package/dist/index.d.cts CHANGED
@@ -1107,6 +1107,286 @@ interface CompetitorRepEngagementOutput {
1107
1107
  agentParams?: Record<string, any>;
1108
1108
  }
1109
1109
 
1110
+ /** Outputs currently supported by the content_intelligence agent. */
1111
+ type ContentIntelligenceOutputName = 'top_posts' | 'post_ideas' | 'engagement_analysis';
1112
+ /** Options accepted by {@link ResponsesResource.contentIntelligence}. */
1113
+ interface ContentIntelligenceOptions {
1114
+ /** Number of audience members whose reactions are collected. @default 100 */
1115
+ limit?: number;
1116
+ /** How far back to collect each audience member's reactions. @default 'past-month' */
1117
+ postsDateRange?: PostsDateRange;
1118
+ /** Mark junk posts during curation without deleting them from the package. @default true */
1119
+ postsEnableFiltering?: boolean;
1120
+ /** Results requested from each Exa people-search query. The search lane defaults to 100. */
1121
+ exaResultsPerQuery?: number;
1122
+ /** Re-cook the package stored on this response ID without collecting again. */
1123
+ reusePackageFrom?: string;
1124
+ /** Outputs to produce. Omit to use the backend's current default set. */
1125
+ outputs?: ContentIntelligenceOutputName[];
1126
+ }
1127
+ interface ContentIntelligenceResolvedParams {
1128
+ limit: number;
1129
+ postsDateRange: PostsDateRange;
1130
+ postsEnableFiltering: boolean;
1131
+ exaResultsPerQuery?: number | null;
1132
+ reusePackageFrom?: string | null;
1133
+ outputs: ContentIntelligenceOutputName[];
1134
+ }
1135
+ interface ContentIntelligenceDateValue {
1136
+ kind: 'exact' | 'age';
1137
+ value: string;
1138
+ }
1139
+ interface ContentIntelligenceAuthor {
1140
+ name?: string | null;
1141
+ url?: string | null;
1142
+ }
1143
+ interface ContentIntelligenceEngager {
1144
+ person: string;
1145
+ action: 'reaction' | 'comment';
1146
+ when?: ContentIntelligenceDateValue | null;
1147
+ }
1148
+ interface ContentIntelligencePost {
1149
+ key: string;
1150
+ ids: string[];
1151
+ text?: string | null;
1152
+ author?: ContentIntelligenceAuthor | null;
1153
+ published?: ContentIntelligenceDateValue | null;
1154
+ url?: string | null;
1155
+ sources: string[];
1156
+ engagers: ContentIntelligenceEngager[];
1157
+ audienceCount: number;
1158
+ totals?: {
1159
+ reactions?: number | null;
1160
+ comments?: number | null;
1161
+ } | null;
1162
+ missing: string[];
1163
+ reasoning?: string;
1164
+ removalClass?: 'hiring' | 'personal' | 'promo' | 'bait' | 'no_substance' | 'unclassified';
1165
+ relevance?: number | null;
1166
+ totalReactions?: number | null;
1167
+ totalComments?: number | null;
1168
+ hybridScore?: number;
1169
+ }
1170
+ interface ContentIntelligencePackage {
1171
+ posts: ContentIntelligencePost[];
1172
+ uncopiedFields: Record<string, number>;
1173
+ }
1174
+ interface TopPost {
1175
+ key?: string | null;
1176
+ url?: string | null;
1177
+ hybridScore?: number | null;
1178
+ relevance?: number | null;
1179
+ totalReactions?: number | null;
1180
+ totalComments?: number | null;
1181
+ audienceCount?: number | null;
1182
+ author?: string | null;
1183
+ text: string;
1184
+ }
1185
+ interface TopPostsOutput {
1186
+ artifact: 'top_posts';
1187
+ n: number;
1188
+ requested: number;
1189
+ posts: TopPost[];
1190
+ }
1191
+ interface PostIdea {
1192
+ reasoning: string;
1193
+ idea: string;
1194
+ angle: string;
1195
+ citedPostKeys: string[];
1196
+ draft: string;
1197
+ probability: number;
1198
+ keysExist: number;
1199
+ keysCited: number;
1200
+ supported: boolean;
1201
+ groundingReason: string;
1202
+ }
1203
+ interface PostIdeasOutput {
1204
+ artifact: 'post_ideas';
1205
+ n: number;
1206
+ ideas: PostIdea[];
1207
+ allSupported?: boolean;
1208
+ postsSeen?: number;
1209
+ chunks?: number;
1210
+ note?: string;
1211
+ }
1212
+ interface ThemeStats {
1213
+ posts: number;
1214
+ audienceEngagements: number;
1215
+ marketReactions: number;
1216
+ avgRelevance?: number | null;
1217
+ }
1218
+ interface ThemeAssignment {
1219
+ theme: string;
1220
+ postKeys: string[];
1221
+ keysCited: number;
1222
+ keysExist: number;
1223
+ stats: ThemeStats;
1224
+ }
1225
+ interface StandoutPost {
1226
+ postKey: string;
1227
+ whyItWorked: string;
1228
+ keyExists: boolean;
1229
+ }
1230
+ interface PeriodInsight {
1231
+ reasoning: string;
1232
+ startDay: string;
1233
+ endDay: string;
1234
+ headline: string;
1235
+ topTheme: string;
1236
+ themes: ThemeAssignment[];
1237
+ gravitatedTo: string;
1238
+ standoutPost?: StandoutPost | null;
1239
+ examplePostKeys: string[];
1240
+ shiftFromPrevious?: string | null;
1241
+ keysCited: number;
1242
+ keysExist: number;
1243
+ }
1244
+ interface Takeaway {
1245
+ reasoning: string;
1246
+ finding: string;
1247
+ action: string;
1248
+ examplePostKeys: string[];
1249
+ keysCited: number;
1250
+ keysExist: number;
1251
+ }
1252
+ interface Opportunity {
1253
+ reasoning: string;
1254
+ topic: string;
1255
+ evidence: string;
1256
+ suggestedAngle: string;
1257
+ examplePostKeys: string[];
1258
+ keysCited: number;
1259
+ keysExist: number;
1260
+ }
1261
+ interface PainPoint {
1262
+ reasoning: string;
1263
+ pain: string;
1264
+ whoFeelsIt: string;
1265
+ evidence: string;
1266
+ resonatingLanguage: string[];
1267
+ messagingImplication: string;
1268
+ examplePostKeys: string[];
1269
+ keysCited: number;
1270
+ keysExist: number;
1271
+ }
1272
+ interface ThemePeriodStats extends ThemeStats {
1273
+ period: number;
1274
+ share: number;
1275
+ }
1276
+ interface ThemeTrend {
1277
+ theme: string;
1278
+ perPeriod: ThemePeriodStats[];
1279
+ shareDelta: number;
1280
+ trend: 'rising' | 'flat' | 'falling';
1281
+ }
1282
+ interface TopVoice {
1283
+ author: string;
1284
+ authorUrl?: string | null;
1285
+ posts: number;
1286
+ audienceEngagements: number;
1287
+ marketReactions: number;
1288
+ themes: string[];
1289
+ examplePostKey?: string | null;
1290
+ }
1291
+ interface EngagementAnalysisScope {
1292
+ audience: string;
1293
+ windowStart?: string | null;
1294
+ windowEnd?: string | null;
1295
+ daysPresent: number;
1296
+ feedPosts: number;
1297
+ packagePosts: number;
1298
+ removalMix: Record<string, number>;
1299
+ }
1300
+ interface EngagementAnalysisOutput {
1301
+ artifact: 'engagement_analysis';
1302
+ n: number;
1303
+ periods: PeriodInsight[];
1304
+ themeStats?: ThemeTrend[];
1305
+ takeaways: Takeaway[];
1306
+ opportunities?: Opportunity[];
1307
+ painPoints?: PainPoint[];
1308
+ topVoices?: TopVoice[];
1309
+ summary: string;
1310
+ segmentationReasoning?: string;
1311
+ scope?: EngagementAnalysisScope;
1312
+ chunks?: number;
1313
+ note?: string;
1314
+ }
1315
+ interface ContentIntelligenceCurationStats {
1316
+ kept?: number;
1317
+ removedByClass?: Record<string, number>;
1318
+ unscored?: number;
1319
+ [key: string]: unknown;
1320
+ }
1321
+ interface ContentIntelligenceOutputs {
1322
+ outputsRequested: ContentIntelligenceOutputName[];
1323
+ curation: ContentIntelligenceCurationStats;
1324
+ note?: string;
1325
+ topPosts?: TopPostsOutput;
1326
+ postIdeas?: PostIdeasOutput;
1327
+ engagementAnalysis?: EngagementAnalysisOutput;
1328
+ }
1329
+ interface ContentIntelligenceCoveragePerson {
1330
+ linkedinUrl?: string;
1331
+ pages?: number;
1332
+ records?: number;
1333
+ credits?: number;
1334
+ stopReason?: string;
1335
+ error?: unknown;
1336
+ [key: string]: unknown;
1337
+ }
1338
+ interface ContentIntelligenceCoverage {
1339
+ audienceSize?: number;
1340
+ windowDays?: number;
1341
+ budgetCredits?: number;
1342
+ creditsSpent?: number;
1343
+ records?: number;
1344
+ peopleWithRecords?: number;
1345
+ dormantPeople?: Array<{
1346
+ linkedinUrl?: string;
1347
+ name?: string;
1348
+ }>;
1349
+ resumedPeople?: number;
1350
+ resumedAvailable?: number;
1351
+ perPerson?: ContentIntelligenceCoveragePerson[] | Record<string, ContentIntelligenceCoveragePerson>;
1352
+ durationMs?: number;
1353
+ stopReason?: string;
1354
+ }
1355
+ interface ContentIntelligenceSummary {
1356
+ audienceSize: number;
1357
+ peopleWithRecords?: number | null;
1358
+ creditsSpent?: number | null;
1359
+ windowDays?: number | null;
1360
+ outputsProduced: ContentIntelligenceOutputName[];
1361
+ feedPosts: number;
1362
+ curation: ContentIntelligenceCurationStats;
1363
+ reusedPackageFrom?: string | null;
1364
+ posts: number;
1365
+ postsKept: number;
1366
+ postsRemoved: number;
1367
+ }
1368
+ interface ContentIntelligenceAudienceStats {
1369
+ scored: number;
1370
+ scoredByBucket: Record<string, number>;
1371
+ limit: number;
1372
+ audienceSize: number;
1373
+ audienceByBucket: Record<string, number>;
1374
+ droppedMissingUrl: number;
1375
+ droppedDuplicateUrl: number;
1376
+ topScore?: number | null;
1377
+ lowestScore?: number | null;
1378
+ durationMs: number;
1379
+ }
1380
+ /** Full structured response returned by the content_intelligence agent. */
1381
+ interface ContentIntelligenceOutput {
1382
+ package: ContentIntelligencePackage;
1383
+ summary: ContentIntelligenceSummary;
1384
+ outputs: ContentIntelligenceOutputs;
1385
+ coverage: ContentIntelligenceCoverage;
1386
+ audienceStats: ContentIntelligenceAudienceStats | Record<string, never>;
1387
+ agentParams: ContentIntelligenceResolvedParams;
1388
+ }
1389
+
1110
1390
  /**
1111
1391
  * Available people search data sources
1112
1392
  */
@@ -1714,12 +1994,18 @@ interface StructuredResponse extends Record<string, any> {
1714
1994
  /** Competitor rep engagement output (when using competitor_rep_engagement agent) */
1715
1995
  resolutionWarnings?: string[];
1716
1996
  repEngagementStats?: RepEngagementStats;
1997
+ /** Content intelligence output (when using content_intelligence agent). */
1998
+ package?: ContentIntelligencePackage;
1999
+ summary?: ContentIntelligenceSummary;
2000
+ outputs?: ContentIntelligenceOutputs;
2001
+ coverage?: ContentIntelligenceCoverage;
2002
+ audienceStats?: ContentIntelligenceAudienceStats | Record<string, never>;
1717
2003
  }
1718
2004
  /**
1719
2005
  * Available specialized agents
1720
2006
  * Using a union type that can be extended with any string to support future agents
1721
2007
  */
1722
- type SpecializedAgentType = 'quick_people_search' | 'deep_people_search' | 'people_scoring' | 'competitor_post_engagement' | 'competitor_rep_engagement' | (string & {});
2008
+ type SpecializedAgentType = 'quick_people_search' | 'deep_people_search' | 'people_scoring' | 'competitor_post_engagement' | 'competitor_rep_engagement' | 'content_intelligence' | (string & {});
1723
2009
  /**
1724
2010
  * Shared posts date-range enum (deep_people_search, competitor_post_engagement,
1725
2011
  * competitor_rep_engagement).
@@ -1821,6 +2107,24 @@ interface SpecializedAgentParams {
1821
2107
  * Each candidate must include at least one identifier: linkedin_url or email/emails.
1822
2108
  */
1823
2109
  candidateProfiles?: Array<Record<string, any>>;
2110
+ /**
2111
+ * Re-cook the content package stored on a prior response without repeating
2112
+ * audience search or engagement collection.
2113
+ * Used by content_intelligence.
2114
+ */
2115
+ reusePackageFrom?: string;
2116
+ /**
2117
+ * Outputs to produce. Omit to use the backend's default set, currently all
2118
+ * three supported outputs.
2119
+ * Used by content_intelligence.
2120
+ */
2121
+ outputs?: ContentIntelligenceOutputName[];
2122
+ /**
2123
+ * Results requested from each Exa query in the people-search research lane.
2124
+ * Minimum 1; omitted uses the lane default of 100.
2125
+ * Used by deep_people_search and content_intelligence.
2126
+ */
2127
+ exaResultsPerQuery?: number;
1824
2128
  /**
1825
2129
  * Whether to search profile databases (CrustData/PDL).
1826
2130
  * Options: true (always), false (never), 'auto' (LLM decides).
@@ -1861,12 +2165,13 @@ interface SpecializedAgentParams {
1861
2165
  * Options: 'past-24h', 'past-week', 'past-month', 'past-quarter',
1862
2166
  * 'past-6-months', 'past-year', 'past-2-years', 'past-3-years'.
1863
2167
  * @default 'past-month'
1864
- * Used by deep_people_search, competitor_post_engagement, and
1865
- * competitor_rep_engagement.
2168
+ * Used by deep_people_search, competitor_post_engagement,
2169
+ * competitor_rep_engagement, and content_intelligence.
1866
2170
  *
1867
2171
  * For deep_people_search / competitor_post_engagement it bounds POST recency;
1868
2172
  * for competitor_rep_engagement it bounds how far back each rep's OUTGOING
1869
- * engagement is considered (also bounded by `maxEngagementsPerRep`).
2173
+ * engagement is considered (also bounded by `maxEngagementsPerRep`); for
2174
+ * content_intelligence it bounds each audience member's reaction history.
1870
2175
  *
1871
2176
  * NOTE on keyword post search: Crustdata's keyword-post API only supports up to
1872
2177
  * 'past-year'. 'past-6-months' is honored window-exact via a client-side cutoff
@@ -1910,7 +2215,8 @@ interface SpecializedAgentParams {
1910
2215
  * @default true
1911
2216
  * Uses LLM to identify and skip hiring posts, spam, and irrelevant content.
1912
2217
  * Improves candidate quality at cost of ~1 LLM call per post.
1913
- * Used by deep_people_search when searchPosts is enabled.
2218
+ * In content_intelligence this marks junk on package rows without deleting it.
2219
+ * Used by deep_people_search and content_intelligence.
1914
2220
  */
1915
2221
  postsEnableFiltering?: boolean;
1916
2222
  /**
@@ -2210,7 +2516,8 @@ interface CreateResponseRequest {
2210
2516
  /**
2211
2517
  * Route to a specialized agent instead of the main Lumnis agent
2212
2518
  * Known agents: 'quick_people_search', 'deep_people_search', 'people_scoring',
2213
- * 'competitor_post_engagement', 'competitor_rep_engagement'
2519
+ * 'competitor_post_engagement', 'competitor_rep_engagement',
2520
+ * 'content_intelligence'
2214
2521
  * Accepts any string to support future agents without SDK updates
2215
2522
  */
2216
2523
  specializedAgent?: SpecializedAgentType;
@@ -3315,11 +3622,29 @@ interface CrmExclusionGrantListResponse {
3315
3622
  memberUserId: string;
3316
3623
  ownerUserIds: string[];
3317
3624
  }
3625
+ /**
3626
+ * Contact attributes to send with a prospect sync.
3627
+ *
3628
+ * Every field is optional. The server fills omitted values from its campaign
3629
+ * and profile data when available. Supply either `fullName` or
3630
+ * `firstName` + `lastName`; `fullName` takes precedence when both are set.
3631
+ */
3632
+ interface CrmContactInput {
3633
+ fullName?: string;
3634
+ firstName?: string;
3635
+ lastName?: string;
3636
+ email?: string;
3637
+ jobTitle?: string;
3638
+ company?: string;
3639
+ /** Accepted by the API but not mapped to a CRM field in v1. */
3640
+ location?: string;
3641
+ }
3318
3642
  /**
3319
3643
  * Push one Lumnis prospect to the connected CRM.
3320
3644
  *
3321
- * Prefer a `campaign_prospects` row owned by `userId` when present; otherwise
3322
- * the server enriches from profile cache / Fiber and creates the CRM record.
3645
+ * Caller-supplied contact attributes take precedence. The server gap-fills
3646
+ * omitted values from campaign/profile data and creates the CRM record when
3647
+ * no existing contact matches.
3323
3648
  * Provider-id/URN LinkedIn URLs are resolved to vanity before reconcile.
3324
3649
  */
3325
3650
  interface CrmSyncProspectRequest {
@@ -3328,6 +3653,13 @@ interface CrmSyncProspectRequest {
3328
3653
  provider: CrmProvider;
3329
3654
  /** Must contain `linkedin.com/in/`. */
3330
3655
  linkedinUrl: string;
3656
+ /** Optional contact details; omitted fields are gap-filled server-side. */
3657
+ contact?: CrmContactInput;
3658
+ /**
3659
+ * Provider-native CRM property/attribute names mapped to string values.
3660
+ * These are applied on create and fill empty fields on an existing record.
3661
+ */
3662
+ customFields?: Record<string, string>;
3331
3663
  }
3332
3664
  interface CrmSyncProspectResponse {
3333
3665
  /**
@@ -3398,8 +3730,9 @@ declare class CrmResource {
3398
3730
  * `crmRecordId`. Stale links (record deleted in the CRM) are detected
3399
3731
  * and re-created automatically.
3400
3732
  *
3401
- * Works with or without a `campaign_prospects` row — search-sourced
3402
- * prospects are enriched from profile cache when needed.
3733
+ * Pass `contact` to avoid re-deriving attributes the caller already has.
3734
+ * Any omitted contact fields are gap-filled from campaign/profile data when
3735
+ * available. `customFields` keys are provider-native property names.
3403
3736
  *
3404
3737
  * @example
3405
3738
  * ```typescript
@@ -3407,6 +3740,13 @@ declare class CrmResource {
3407
3740
  * userId: 'user@example.com',
3408
3741
  * provider: 'attio',
3409
3742
  * linkedinUrl: 'https://www.linkedin.com/in/jane-doe/',
3743
+ * contact: {
3744
+ * fullName: 'Jane Doe',
3745
+ * email: 'jane@example.com',
3746
+ * jobTitle: 'VP of Sales',
3747
+ * company: 'Acme',
3748
+ * },
3749
+ * customFields: { lead_source: 'Lumnis' },
3410
3750
  * })
3411
3751
  * console.log(result.action, result.crmUrl)
3412
3752
  * ```
@@ -5984,6 +6324,7 @@ declare class ResponsesResource {
5984
6324
  private _validateCriteriaClassification;
5985
6325
  private _validateCompetitorPostEngagementParams;
5986
6326
  private _validateCompetitorRepEngagementParams;
6327
+ private _validateContentIntelligenceParams;
5987
6328
  private _validateCriteriaParams;
5988
6329
  private _validateFileReference;
5989
6330
  /**
@@ -6175,6 +6516,19 @@ declare class ResponsesResource {
6175
6516
  deepValidationBackfillBelowCriteria?: boolean;
6176
6517
  deepSearchCriteriaModel?: string;
6177
6518
  }): Promise<CreateResponseResponse>;
6519
+ /**
6520
+ * Discover what content a described audience engages with on LinkedIn.
6521
+ *
6522
+ * The backend searches for the audience, collects their reaction history,
6523
+ * saves the normalized package, and produces grounded views from it. Pass
6524
+ * `reusePackageFrom` to re-cook a saved package without collecting again.
6525
+ *
6526
+ * @param query - Natural-language description of the audience. A nonblank
6527
+ * message is required even when reusing a package.
6528
+ * @param options - Audience, collection-window, package-reuse, and output controls.
6529
+ * Omit `outputs` to use the backend's default set.
6530
+ */
6531
+ contentIntelligence(query: string, options?: ContentIntelligenceOptions): Promise<CreateResponseResponse>;
6178
6532
  /**
6179
6533
  * Score people who reacted to or commented on competitor LinkedIn posts.
6180
6534
  *
@@ -7827,4 +8181,4 @@ declare class ProgressTracker {
7827
8181
  */
7828
8182
  declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
7829
8183
 
7830
- export { ACTION_DELAYS, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ColumnKind, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type ResumeProspectsRequest, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
8184
+ export { ACTION_DELAYS, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ColumnKind, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentIntelligenceAudienceStats, type ContentIntelligenceAuthor, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type Opportunity, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PainPoint, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PeriodInsight, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostIdea, type PostIdeasOutput, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type ResumeProspectsRequest, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StandoutPost, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type Takeaway, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThemeAssignment, type ThemePeriodStats, type ThemeStats, type ThemeTrend, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TopPost, type TopPostsOutput, type TopVoice, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };