lumnisai 0.5.52 → 0.5.54

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
@@ -970,7 +970,7 @@ class ContactRelationshipsResource {
970
970
  }
971
971
  }
972
972
 
973
- const COMPANY_SEARCH_PASSTHROUGH_KEYS = ["filters", "properties"];
973
+ const COMPANY_SEARCH_PASSTHROUGH_KEYS = ["filters", "properties", "owners"];
974
974
  class CrmResource {
975
975
  constructor(http) {
976
976
  this.http = http;
@@ -1084,6 +1084,11 @@ class CrmResource {
1084
1084
  * Field metadata is provider-shaped, so the return type narrows on the
1085
1085
  * `provider` you pass.
1086
1086
  *
1087
+ * A definition with `references: 'owner'` holds a CRM user id; request it
1088
+ * in {@link searchCompanies} to have each company's `owners` map resolve
1089
+ * it to a name and email. HubSpot's is `hubspot_owner_id`; Attio has no
1090
+ * standard one, so take the actor-reference slug this listing flags.
1091
+ *
1087
1092
  * Failure modes: `403 crm_access_denied` and `503 crm_access_unavailable`
1088
1093
  * (the `crmUserId` grant), `409 crm_not_connected` (no single active
1089
1094
  * connection for the owner), `404 crm_property_not_found`,
@@ -1104,6 +1109,9 @@ class CrmResource {
1104
1109
  * propertyName: 'employee_range',
1105
1110
  * })
1106
1111
  * console.log(tier.properties[0].options)
1112
+ *
1113
+ * // The field that can fill an owner column.
1114
+ * const ownerField = properties.find(p => p.references === 'owner')
1107
1115
  * ```
1108
1116
  */
1109
1117
  async getCompanyProperties(params) {
@@ -1130,10 +1138,18 @@ class CrmResource {
1130
1138
  * group, OR between groups) with string comparison values; Attio takes its
1131
1139
  * record-query object with `$`-prefixed operators. Both cross the wire
1132
1140
  * verbatim — the SDK's camelCase ↔ snake_case conversion is switched off for
1133
- * `filters` and for each company's `properties` map, whose keys are CRM
1134
- * property names. Discover valid names and operators with
1141
+ * `filters` and for each company's `properties` and `owners` maps, whose
1142
+ * keys are CRM property names. Discover valid names and operators with
1135
1143
  * {@link getCompanyProperties}.
1136
1144
  *
1145
+ * Requesting an owner-typed field (`references: 'owner'` in its definition)
1146
+ * also resolves it: `owners[field]` is the CRM user's `{ id, name, email }`,
1147
+ * null when the company has none, with `name`/`email` null when the id is
1148
+ * not in the user directory. Resolution is part of the page — if the
1149
+ * directory read fails the whole request fails with the codes below rather
1150
+ * than returning half-resolved owners. Cost: any requested field adds one
1151
+ * definitions read per page; an owner field adds one directory read on top.
1152
+ *
1137
1153
  * Paging is cursor-based: pass the previous page's `nextCursor` back as
1138
1154
  * `cursor` and keep every other field identical, because HubSpot pages by
1139
1155
  * record id inside the original query. `nextCursor: null` is the last page.
@@ -1161,13 +1177,13 @@ class CrmResource {
1161
1177
  * ],
1162
1178
  * }],
1163
1179
  * },
1164
- * properties: ['numberofemployees', 'industry'],
1180
+ * properties: ['numberofemployees', 'industry', 'hubspot_owner_id'],
1165
1181
  * limit: 50,
1166
1182
  * }
1167
1183
  *
1168
1184
  * const page = await client.crm.searchCompanies(request)
1169
1185
  * for (const company of page.companies)
1170
- * console.log(company.name, company.properties.industry)
1186
+ * console.log(company.name, company.properties.industry, company.owners?.hubspot_owner_id?.name)
1171
1187
  *
1172
1188
  * // Same query, next page.
1173
1189
  * if (page.nextCursor)
@@ -3407,6 +3423,7 @@ const ACCOUNT_MONITOR_FIELDS = [
3407
3423
  ["depth", "depth"],
3408
3424
  ["committee", "committee"],
3409
3425
  ["competitors", "competitors"],
3426
+ ["maxEmployeesPerCompetitor", "max_employees_per_competitor"],
3410
3427
  ["ourCompany", "our_company"],
3411
3428
  ["days", "days"],
3412
3429
  ["window", "window"],
@@ -3417,6 +3434,20 @@ const ACCOUNT_MONITOR_FIELDS = [
3417
3434
  ["tier", "tier"]
3418
3435
  ];
3419
3436
  const ACCOUNT_MONITOR_FIELD_KEYS = new Set(ACCOUNT_MONITOR_FIELDS.flat());
3437
+ const ACCOUNT_MONITOR_COMPANY_FIELDS = [
3438
+ "company",
3439
+ "people",
3440
+ "matchingPeople",
3441
+ "matching_people",
3442
+ "employeeTitles",
3443
+ "employee_titles"
3444
+ ];
3445
+ const ACCOUNT_MONITOR_MATCHING_PERSON_FIELDS = [
3446
+ "linkedinUrl",
3447
+ "linkedin_url",
3448
+ "name",
3449
+ "title"
3450
+ ];
3420
3451
  const MAX_SIGNAL_CONTEXT_CHARS = 4e3;
3421
3452
  const MAX_CONTENT_INTELLIGENCE_COMPETITORS = 5;
3422
3453
  const MAX_CONTENT_INTELLIGENCE_COMPETITOR_CHARS = 200;
@@ -4057,6 +4088,12 @@ class ResponsesResource {
4057
4088
  const days = params.days;
4058
4089
  if (days !== void 0 && (!Number.isInteger(days) || days < 1))
4059
4090
  throw new ValidationError("days must be a positive integer for account_monitor");
4091
+ const maxEmployees = params.maxEmployeesPerCompetitor;
4092
+ if (maxEmployees !== void 0 && (!Number.isInteger(maxEmployees) || maxEmployees < 1)) {
4093
+ throw new ValidationError(
4094
+ "maxEmployeesPerCompetitor must be a positive integer for account_monitor"
4095
+ );
4096
+ }
4060
4097
  const window = params.window;
4061
4098
  if (window !== void 0) {
4062
4099
  if (days !== void 0)
@@ -4165,6 +4202,8 @@ class ResponsesResource {
4165
4202
  /**
4166
4203
  * A company string means the company page only. People and titles are the
4167
4204
  * only ways to reach employees — neither is implied by the company itself.
4205
+ * `matchingPeople` is not a third way in: it names employees to recognize,
4206
+ * and replaces provider discovery rather than collecting anyone.
4168
4207
  */
4169
4208
  _validateAccountMonitorCompany(value, field) {
4170
4209
  if (typeof value === "string") {
@@ -4174,13 +4213,13 @@ class ResponsesResource {
4174
4213
  }
4175
4214
  if (!this._isPlainObject(value)) {
4176
4215
  throw new ValidationError(
4177
- `${field} must be a company string, or an object with company and an explicit people or employeeTitles scope`
4216
+ `${field} must be a company string, or an object with company and an explicit people, matchingPeople, or employeeTitles scope`
4178
4217
  );
4179
4218
  }
4180
4219
  for (const key of Object.keys(value)) {
4181
- if (!["company", "people", "employeeTitles", "employee_titles"].includes(key)) {
4220
+ if (!ACCOUNT_MONITOR_COMPANY_FIELDS.includes(key)) {
4182
4221
  throw new ValidationError(
4183
- `Unknown ${field} field '${key}'. A company accepts only company, people, and employeeTitles.`
4222
+ `Unknown ${field} field '${key}'. A company accepts only company, people, matchingPeople, and employeeTitles.`
4184
4223
  );
4185
4224
  }
4186
4225
  }
@@ -4190,6 +4229,9 @@ class ResponsesResource {
4190
4229
  const people = this._getParamValue(value, "people", "people");
4191
4230
  if (people !== void 0)
4192
4231
  this._validateAccountMonitorProfiles(people, `${field}.people`);
4232
+ const matchingPeople = this._getParamValue(value, "matchingPeople", "matching_people");
4233
+ if (matchingPeople !== void 0 && matchingPeople !== null)
4234
+ this._validateAccountMonitorMatchingPeople(matchingPeople, `${field}.matchingPeople`);
4193
4235
  const employeeTitles = this._getParamValue(value, "employeeTitles", "employee_titles");
4194
4236
  if (employeeTitles !== void 0 && employeeTitles !== null) {
4195
4237
  if (!Array.isArray(employeeTitles) || employeeTitles.length === 0 || employeeTitles.some((title) => typeof title !== "string" || !title.trim())) {
@@ -4199,6 +4241,47 @@ class ResponsesResource {
4199
4241
  }
4200
4242
  }
4201
4243
  }
4244
+ /**
4245
+ * People supplied only so the run can RECOGNIZE them in someone else's
4246
+ * activity — their own feeds are never fetched. An empty list is meaningful:
4247
+ * it replaces provider employee discovery with nothing, which is why the
4248
+ * check that rejects an empty `employeeTitles` does not apply here.
4249
+ */
4250
+ _validateAccountMonitorMatchingPeople(value, field) {
4251
+ if (!Array.isArray(value)) {
4252
+ throw new ValidationError(
4253
+ `${field} must be an array of LinkedIn profile URLs, or of objects with linkedinUrl and optional name and title. Omit it to keep employee discovery; send [] to replace discovery with no one.`
4254
+ );
4255
+ }
4256
+ value.forEach((person, index) => {
4257
+ const entry = `${field}[${index}]`;
4258
+ if (typeof person === "string") {
4259
+ if (!person.trim())
4260
+ throw new ValidationError(`${entry} must be a non-blank LinkedIn profile URL`);
4261
+ return;
4262
+ }
4263
+ if (!this._isPlainObject(person)) {
4264
+ throw new ValidationError(
4265
+ `${entry} must be a LinkedIn profile URL, or an object with linkedinUrl and optional name and title`
4266
+ );
4267
+ }
4268
+ for (const key of Object.keys(person)) {
4269
+ if (!ACCOUNT_MONITOR_MATCHING_PERSON_FIELDS.includes(key)) {
4270
+ throw new ValidationError(
4271
+ `Unknown ${entry} field '${key}'. A matching person accepts only linkedinUrl, name, and title.`
4272
+ );
4273
+ }
4274
+ }
4275
+ const linkedinUrl = this._getParamValue(person, "linkedinUrl", "linkedin_url");
4276
+ if (typeof linkedinUrl !== "string" || !linkedinUrl.trim())
4277
+ throw new ValidationError(`${entry}.linkedinUrl is required and must be a non-empty string`);
4278
+ for (const key of ["name", "title"]) {
4279
+ const detail = this._getParamValue(person, key, key);
4280
+ if (detail !== void 0 && detail !== null && typeof detail !== "string")
4281
+ throw new ValidationError(`${entry}.${key} must be a string when supplied`);
4282
+ }
4283
+ });
4284
+ }
4202
4285
  _validateAccountMonitorSignalDefinitions(value) {
4203
4286
  if (value === void 0 || value === null)
4204
4287
  return;
@@ -5248,6 +5331,11 @@ class ResponsesResource {
5248
5331
  * string means that company's page, not its employees, and committee work
5249
5332
  * needs `committee` people plus `depth: 'deep'` or an explicit signal.
5250
5333
  *
5334
+ * A company's `matchingPeople` is the exception that proves the rule: those
5335
+ * employees are only ever recognized in the committee's activity, never
5336
+ * collected, and supplying the list replaces provider employee discovery
5337
+ * for that company.
5338
+ *
5251
5339
  * Coverage is always partial and the report says so — a missing record never
5252
5340
  * proves that nothing happened.
5253
5341
  *
@@ -5274,7 +5362,17 @@ class ResponsesResource {
5274
5362
  * days: 14,
5275
5363
  * depth: 'deep',
5276
5364
  * committee: { groups: { 'data platform': ['https://www.linkedin.com/in/some-vp'] } },
5277
- * competitors: [{ company: 'rival.com', employeeTitles: ['Account Executive'] }],
5365
+ * competitors: [
5366
+ * { company: 'rival.com', employeeTitles: ['Account Executive'] },
5367
+ * // Recognize only these two, and skip employee discovery entirely.
5368
+ * {
5369
+ * company: 'other-rival.com',
5370
+ * matchingPeople: [
5371
+ * 'https://www.linkedin.com/in/their-ae',
5372
+ * { linkedinUrl: 'https://www.linkedin.com/in/their-vp', name: 'Dana Lee', title: 'VP Sales' },
5373
+ * ],
5374
+ * },
5375
+ * ],
5278
5376
  * },
5279
5377
  * )
5280
5378
  * ```
@@ -5289,6 +5387,8 @@ class ResponsesResource {
5289
5387
  params.committee = options.committee;
5290
5388
  if (options.competitors !== void 0)
5291
5389
  params.competitors = options.competitors;
5390
+ if (options.maxEmployeesPerCompetitor !== void 0)
5391
+ params.maxEmployeesPerCompetitor = options.maxEmployeesPerCompetitor;
5292
5392
  if (options.ourCompany !== void 0)
5293
5393
  params.ourCompany = options.ourCompany;
5294
5394
  if (options.days !== void 0)
package/dist/index.d.cts CHANGED
@@ -987,6 +987,13 @@ interface CrmHubspotCompanyProperty {
987
987
  externalOptions: boolean;
988
988
  /** Hidden in the HubSpot UI. Archived properties are never returned. */
989
989
  hidden: boolean;
990
+ /**
991
+ * `owner` when the value identifies a CRM user (`hubspot_owner_id` and any
992
+ * custom owner-typed property); null otherwise. Request such a field in
993
+ * {@link CrmHubspotCompanySearchRequest.properties} and each company's
994
+ * `owners` map resolves it to a name and email.
995
+ */
996
+ references?: 'owner' | null;
990
997
  }
991
998
  /** Attio operators. `$not_empty` and `$in` are only valid on some attribute types. */
992
999
  type CrmAttioFilterOperator = '$eq' | '$contains' | '$starts_with' | '$ends_with' | '$in' | '$not_empty' | '$lt' | '$lte' | '$gt' | '$gte';
@@ -1024,6 +1031,14 @@ interface CrmAttioCompanyProperty {
1024
1031
  * the request named this property; null in the full listing.
1025
1032
  */
1026
1033
  options: CrmAttioCompanyPropertyOption[] | null;
1034
+ /**
1035
+ * `owner` when the value identifies a CRM user (any actor-reference
1036
+ * attribute, such as a custom "Owner"); null otherwise. Attio has no
1037
+ * standard owner field and the API does not guess from labels, so pick the
1038
+ * slug with `references === 'owner'` here and request it in
1039
+ * {@link CrmAttioCompanySearchRequest.properties}.
1040
+ */
1041
+ references?: 'owner' | null;
1027
1042
  }
1028
1043
  interface CrmHubspotCompanyPropertiesResponse {
1029
1044
  provider: 'hubspot';
@@ -1105,6 +1120,8 @@ interface CrmHubspotCompanySearchRequest {
1105
1120
  /**
1106
1121
  * Extra native property names to return. `name` and `domain` are always
1107
1122
  * included. Names the CRM does not return are absent from `properties`.
1123
+ * Include `hubspot_owner_id` (or any field whose definition has
1124
+ * `references: 'owner'`) to also get it resolved in each company's `owners`.
1108
1125
  */
1109
1126
  properties?: string[];
1110
1127
  /** 1..100; defaults to 100 server-side. */
@@ -1121,7 +1138,9 @@ interface CrmAttioCompanySearchRequest {
1121
1138
  filters?: CrmAttioCompanyFilters;
1122
1139
  /**
1123
1140
  * Attribute slugs to return alongside `name` and `domain`. An unknown slug
1124
- * comes back as an empty array rather than an error.
1141
+ * comes back as an empty array rather than an error. Include a slug whose
1142
+ * definition has `references: 'owner'` to also get it resolved in each
1143
+ * company's `owners`.
1125
1144
  */
1126
1145
  properties?: string[];
1127
1146
  /** 1..100; defaults to 100 server-side. */
@@ -1130,6 +1149,16 @@ interface CrmAttioCompanySearchRequest {
1130
1149
  cursor?: string | null;
1131
1150
  }
1132
1151
  type CrmCompanySearchRequest = CrmHubspotCompanySearchRequest | CrmAttioCompanySearchRequest;
1152
+ /**
1153
+ * A CRM user resolved from an owner-typed field. `name` and `email` are null
1154
+ * when the id is not in the CRM's user directory (an archived HubSpot owner,
1155
+ * or an Attio system/app actor).
1156
+ */
1157
+ interface CrmCompanyOwner {
1158
+ id: string;
1159
+ name: string | null;
1160
+ email: string | null;
1161
+ }
1133
1162
  interface CrmHubspotCompany {
1134
1163
  /** HubSpot record id (`hs_object_id`), always a decimal string. */
1135
1164
  id: string;
@@ -1141,6 +1170,14 @@ interface CrmHubspotCompany {
1141
1170
  * `properties.hsLastmodifieddate`. HubSpot returns every value as a string.
1142
1171
  */
1143
1172
  properties: Record<string, string | null>;
1173
+ /**
1174
+ * Owner-typed fields from the request's `properties`, keyed by native
1175
+ * HubSpot name (not rewritten either — read `owners.hubspot_owner_id`) and
1176
+ * resolved through the portal's owner directory. Null when the company has
1177
+ * no value in that field; `{}` when no requested field has
1178
+ * `references: 'owner'`. `properties` still holds the raw owner id string.
1179
+ */
1180
+ owners?: Record<string, CrmCompanyOwner | null>;
1144
1181
  }
1145
1182
  /**
1146
1183
  * One Attio value entry, verbatim from the provider. Its keys keep Attio's own
@@ -1165,6 +1202,14 @@ interface CrmAttioCompany {
1165
1202
  * empty when the company has no active value for that slug.
1166
1203
  */
1167
1204
  properties: Record<string, CrmAttioCompanyPropertyValue[]>;
1205
+ /**
1206
+ * Actor-reference fields from the request's `properties`, keyed by Attio
1207
+ * slug (not rewritten either) and resolved through the workspace's member
1208
+ * list. Null when the company has no value in that field; `{}` when no
1209
+ * requested slug has `references: 'owner'`. `properties` still holds the
1210
+ * raw value rows with `referenced_actor_type` / `referenced_actor_id`.
1211
+ */
1212
+ owners?: Record<string, CrmCompanyOwner | null>;
1168
1213
  }
1169
1214
  interface CrmHubspotCompanySearchResponse {
1170
1215
  provider: 'hubspot';
@@ -1206,7 +1251,9 @@ type CrmCompanySearchResponse = CrmHubspotCompanySearchResponse | CrmAttioCompan
1206
1251
  *
1207
1252
  * `competitor_to_committee` is the reverse direction: it reads the
1208
1253
  * competitor's own employees' outgoing comments and reactions, so it needs
1209
- * `people` or `employeeTitles` on that competitor.
1254
+ * `people` or `employeeTitles` on that competitor. `matchingPeople` does not
1255
+ * select candidates for it — those people are only ever recognized, never
1256
+ * collected.
1210
1257
  *
1211
1258
  * `account_to_our_company` reads the account page's own posts.
1212
1259
  *
@@ -1242,6 +1289,19 @@ interface AccountMonitorWindow {
1242
1289
  /** Timezone-aware ISO 8601 end, exclusive. */
1243
1290
  endAt: string;
1244
1291
  }
1292
+ /**
1293
+ * An employee supplied only so the run can RECOGNIZE them in someone else's
1294
+ * activity. It is an identity, never a collection request: their own feed is
1295
+ * never fetched.
1296
+ */
1297
+ interface AccountMonitorMatchingPerson {
1298
+ /** The employee's LinkedIn profile URL. */
1299
+ linkedinUrl: string;
1300
+ /** Display name, when you already have it. */
1301
+ name?: string;
1302
+ /** Current title, when you already have it. */
1303
+ title?: string;
1304
+ }
1245
1305
  /**
1246
1306
  * A company plus an EXPLICIT employee scope. A bare company string means the
1247
1307
  * company page only — it never means the company's employees.
@@ -1254,9 +1314,22 @@ interface AccountMonitorCompany {
1254
1314
  * signals read these people's outgoing comments and reactions.
1255
1315
  */
1256
1316
  people?: string[];
1317
+ /**
1318
+ * Employees used only to recognize engagement — profile URL strings, or
1319
+ * objects carrying the name and title you already know. Their own activity
1320
+ * is never fetched.
1321
+ *
1322
+ * Supplying a list, INCLUDING an empty one, replaces provider employee
1323
+ * discovery for this company; omit the field to keep discovery.
1324
+ */
1325
+ matchingPeople?: Array<string | AccountMonitorMatchingPerson>;
1257
1326
  /**
1258
1327
  * Current-title filters for employee discovery, e.g. `['VP Sales', 'RevOps']`.
1259
1328
  * Omit to skip discovery entirely; every title must be non-blank.
1329
+ *
1330
+ * Committee-to-competitor matching does not use these: it uses
1331
+ * `matchingPeople` when supplied, and otherwise discovers the full
1332
+ * provider-known employee roster.
1260
1333
  */
1261
1334
  employeeTitles?: string[];
1262
1335
  }
@@ -1297,9 +1370,28 @@ interface AccountMonitorParams {
1297
1370
  /**
1298
1371
  * Companies to match against. Strings mean company pages only; use objects
1299
1372
  * to give an explicit employee scope.
1373
+ *
1374
+ * Committee-to-competitor checks use a competitor's `matchingPeople` when
1375
+ * it supplies one, and otherwise discover its provider-known current
1376
+ * employees.
1300
1377
  */
1301
1378
  competitors?: Array<string | AccountMonitorCompany>;
1302
- /** Our own company, kept separate from the account and the competitors. */
1379
+ /**
1380
+ * How many employees per competitor have their outgoing comments and
1381
+ * reactions fetched for `competitor_to_committee`. Counts explicit `people`
1382
+ * and title-discovered candidates together — it is not a per-title limit.
1383
+ *
1384
+ * It caps collection only: employee discovery, committee-to-competitor
1385
+ * matching, the committee and `ourCompany` are all unaffected.
1386
+ * @default 10
1387
+ * @minimum 1
1388
+ */
1389
+ maxEmployeesPerCompetitor?: number;
1390
+ /**
1391
+ * Our own company, kept separate from the account and the competitors.
1392
+ * Supply `people` or `matchingPeople` for selected employees, or
1393
+ * `employeeTitles` for discovery.
1394
+ */
1303
1395
  ourCompany?: string | AccountMonitorCompany;
1304
1396
  /**
1305
1397
  * Rolling look-back in days. Cannot be combined with `window`.
@@ -6740,6 +6832,11 @@ declare class CrmResource {
6740
6832
  * Field metadata is provider-shaped, so the return type narrows on the
6741
6833
  * `provider` you pass.
6742
6834
  *
6835
+ * A definition with `references: 'owner'` holds a CRM user id; request it
6836
+ * in {@link searchCompanies} to have each company's `owners` map resolve
6837
+ * it to a name and email. HubSpot's is `hubspot_owner_id`; Attio has no
6838
+ * standard one, so take the actor-reference slug this listing flags.
6839
+ *
6743
6840
  * Failure modes: `403 crm_access_denied` and `503 crm_access_unavailable`
6744
6841
  * (the `crmUserId` grant), `409 crm_not_connected` (no single active
6745
6842
  * connection for the owner), `404 crm_property_not_found`,
@@ -6760,6 +6857,9 @@ declare class CrmResource {
6760
6857
  * propertyName: 'employee_range',
6761
6858
  * })
6762
6859
  * console.log(tier.properties[0].options)
6860
+ *
6861
+ * // The field that can fill an owner column.
6862
+ * const ownerField = properties.find(p => p.references === 'owner')
6763
6863
  * ```
6764
6864
  */
6765
6865
  getCompanyProperties<T extends CrmCompanyPropertiesRequest>(params: T): Promise<T extends {
@@ -6774,10 +6874,18 @@ declare class CrmResource {
6774
6874
  * group, OR between groups) with string comparison values; Attio takes its
6775
6875
  * record-query object with `$`-prefixed operators. Both cross the wire
6776
6876
  * verbatim — the SDK's camelCase ↔ snake_case conversion is switched off for
6777
- * `filters` and for each company's `properties` map, whose keys are CRM
6778
- * property names. Discover valid names and operators with
6877
+ * `filters` and for each company's `properties` and `owners` maps, whose
6878
+ * keys are CRM property names. Discover valid names and operators with
6779
6879
  * {@link getCompanyProperties}.
6780
6880
  *
6881
+ * Requesting an owner-typed field (`references: 'owner'` in its definition)
6882
+ * also resolves it: `owners[field]` is the CRM user's `{ id, name, email }`,
6883
+ * null when the company has none, with `name`/`email` null when the id is
6884
+ * not in the user directory. Resolution is part of the page — if the
6885
+ * directory read fails the whole request fails with the codes below rather
6886
+ * than returning half-resolved owners. Cost: any requested field adds one
6887
+ * definitions read per page; an owner field adds one directory read on top.
6888
+ *
6781
6889
  * Paging is cursor-based: pass the previous page's `nextCursor` back as
6782
6890
  * `cursor` and keep every other field identical, because HubSpot pages by
6783
6891
  * record id inside the original query. `nextCursor: null` is the last page.
@@ -6805,13 +6913,13 @@ declare class CrmResource {
6805
6913
  * ],
6806
6914
  * }],
6807
6915
  * },
6808
- * properties: ['numberofemployees', 'industry'],
6916
+ * properties: ['numberofemployees', 'industry', 'hubspot_owner_id'],
6809
6917
  * limit: 50,
6810
6918
  * }
6811
6919
  *
6812
6920
  * const page = await client.crm.searchCompanies(request)
6813
6921
  * for (const company of page.companies)
6814
- * console.log(company.name, company.properties.industry)
6922
+ * console.log(company.name, company.properties.industry, company.owners?.hubspot_owner_id?.name)
6815
6923
  *
6816
6924
  * // Same query, next page.
6817
6925
  * if (page.nextCursor)
@@ -9432,8 +9540,17 @@ declare class ResponsesResource {
9432
9540
  /**
9433
9541
  * A company string means the company page only. People and titles are the
9434
9542
  * only ways to reach employees — neither is implied by the company itself.
9543
+ * `matchingPeople` is not a third way in: it names employees to recognize,
9544
+ * and replaces provider discovery rather than collecting anyone.
9435
9545
  */
9436
9546
  private _validateAccountMonitorCompany;
9547
+ /**
9548
+ * People supplied only so the run can RECOGNIZE them in someone else's
9549
+ * activity — their own feeds are never fetched. An empty list is meaningful:
9550
+ * it replaces provider employee discovery with nothing, which is why the
9551
+ * check that rejects an empty `employeeTitles` does not apply here.
9552
+ */
9553
+ private _validateAccountMonitorMatchingPeople;
9437
9554
  private _validateAccountMonitorSignalDefinitions;
9438
9555
  /**
9439
9556
  * Merge the monitor request the way the backend does: flat `options` fields
@@ -9941,6 +10058,11 @@ declare class ResponsesResource {
9941
10058
  * string means that company's page, not its employees, and committee work
9942
10059
  * needs `committee` people plus `depth: 'deep'` or an explicit signal.
9943
10060
  *
10061
+ * A company's `matchingPeople` is the exception that proves the rule: those
10062
+ * employees are only ever recognized in the committee's activity, never
10063
+ * collected, and supplying the list replaces provider employee discovery
10064
+ * for that company.
10065
+ *
9944
10066
  * Coverage is always partial and the report says so — a missing record never
9945
10067
  * proves that nothing happened.
9946
10068
  *
@@ -9967,7 +10089,17 @@ declare class ResponsesResource {
9967
10089
  * days: 14,
9968
10090
  * depth: 'deep',
9969
10091
  * committee: { groups: { 'data platform': ['https://www.linkedin.com/in/some-vp'] } },
9970
- * competitors: [{ company: 'rival.com', employeeTitles: ['Account Executive'] }],
10092
+ * competitors: [
10093
+ * { company: 'rival.com', employeeTitles: ['Account Executive'] },
10094
+ * // Recognize only these two, and skip employee discovery entirely.
10095
+ * {
10096
+ * company: 'other-rival.com',
10097
+ * matchingPeople: [
10098
+ * 'https://www.linkedin.com/in/their-ae',
10099
+ * { linkedinUrl: 'https://www.linkedin.com/in/their-vp', name: 'Dana Lee', title: 'VP Sales' },
10100
+ * ],
10101
+ * },
10102
+ * ],
9971
10103
  * },
9972
10104
  * )
9973
10105
  * ```
@@ -11472,4 +11604,4 @@ declare class ProgressTracker {
11472
11604
  */
11473
11605
  declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
11474
11606
 
11475
- export { ACTION_DELAYS, type AccountMonitorAccountAnalysis, type AccountMonitorAnalysisFailure, type AccountMonitorArtifactRefs, type AccountMonitorAssessment, type AccountMonitorCard, type AccountMonitorClaim, type AccountMonitorCollectedSignal, type AccountMonitorCommittee, type AccountMonitorCommitteeInput, type AccountMonitorCommitteeSynthesis, type AccountMonitorCompany, type AccountMonitorCompanySourceReport, type AccountMonitorComparison, type AccountMonitorComparisonFinding, type AccountMonitorCoverage, type AccountMonitorCrmContext, type AccountMonitorCrmHistoryCoverage, type AccountMonitorCrmProviderCoverage, type AccountMonitorCrmStatus, type AccountMonitorDate, type AccountMonitorDepth, type AccountMonitorEvidenceRow, type AccountMonitorIdentity, type AccountMonitorOptions, type AccountMonitorOutput, type AccountMonitorParams, type AccountMonitorPersonReport, type AccountMonitorProvenance, type AccountMonitorRecency, type AccountMonitorRecommendation, type AccountMonitorReportSection, type AccountMonitorScore, type AccountMonitorSignal, type AccountMonitorSignalDefinition, type AccountMonitorSignalName, type AccountMonitorSignalRef, type AccountMonitorSourceCoverage, type AccountMonitorSourceRequest, type AccountMonitorUsage, type AccountMonitorValidation, type AccountMonitorWindow, 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 AutoSearchSelection, 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 CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, 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 CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, 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 ContentIntelligenceCompetitorAdjacentDelta, type ContentIntelligenceCompetitorAnalysis, type ContentIntelligenceCompetitorAnalysisScope, type ContentIntelligenceCompetitorBucket, type ContentIntelligenceCompetitorComparison, type ContentIntelligenceCompetitorComparisonTotals, type ContentIntelligenceCompetitorCoverage, type ContentIntelligenceCompetitorDelta, type ContentIntelligenceCompetitorDeltas, type ContentIntelligenceCompetitorHighlight, type ContentIntelligenceCompetitorPackage, type ContentIntelligenceCompetitorPeriod, type ContentIntelligenceCompetitorPeriodPoint, type ContentIntelligenceCompetitorPeriodTheme, type ContentIntelligenceCompetitorPost, type ContentIntelligenceCompetitorPostAuthorType, type ContentIntelligenceCompetitorPostSource, type ContentIntelligenceCompetitorResolutionReason, type ContentIntelligenceCompetitorRole, type ContentIntelligenceCompetitorRow, type ContentIntelligenceCompetitorSource, type ContentIntelligenceCompetitorStatus, type ContentIntelligenceCompetitorStopReason, type ContentIntelligenceCompetitorSummary, type ContentIntelligenceCompetitorTakeaway, type ContentIntelligenceCompetitorTargetCoverage, type ContentIntelligenceCompetitorThemePeriod, type ContentIntelligenceCompetitorThemeStats, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligenceOwnCompanyCoverage, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedCompetitor, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, type ContentIntelligenceUnresolvedCompetitor, 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 CrmAccountContextAssociationConfidence, type CrmAccountContextAssociationKind, type CrmAccountContextBatchRequest, type CrmAccountContextBatchResponse, type CrmAccountContextCandidateInput, type CrmAccountContextDealSummary, type CrmAccountContextDetail, type CrmAccountContextMatchConfidence, type CrmAccountContextMatchMethod, type CrmAccountContextPersonPresence, type CrmAccountContextPersonPreview, type CrmAccountContextProviderCoverage, type CrmAccountContextProviderResult, type CrmAccountContextResult, type CrmAccountContextSalesState, type CrmAccountContextSourceStatus, type CrmAccountContextStageChangeTimePrecision, type CrmAccountContextStageClass, type CrmAttioCompany, type CrmAttioCompanyFilters, type CrmAttioCompanyPropertiesRequest, type CrmAttioCompanyPropertiesResponse, type CrmAttioCompanyProperty, type CrmAttioCompanyPropertyFilterField, type CrmAttioCompanyPropertyOption, type CrmAttioCompanyPropertyValue, type CrmAttioCompanySearchRequest, type CrmAttioCompanySearchResponse, type CrmAttioFilterOperator, type CrmCompanyPropertiesRequest, type CrmCompanyPropertiesResponse, type CrmCompanySearchRequest, type CrmCompanySearchResponse, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmHubspotCompany, type CrmHubspotCompanyFilter, type CrmHubspotCompanyFilterGroup, type CrmHubspotCompanyFilters, type CrmHubspotCompanyPropertiesRequest, type CrmHubspotCompanyPropertiesResponse, type CrmHubspotCompanyProperty, type CrmHubspotCompanyPropertyOption, type CrmHubspotCompanySearchRequest, type CrmHubspotCompanySearchResponse, type CrmHubspotFilterOperator, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DateRange, 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 EngagementActivity, type EngagementActivityCoverage, type EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementSignalOutputName, type EngagementSignalSettings, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, 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 InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, 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 PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, 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 ProspectSkip, 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 SignalDateRangeSettings, type SignalDefinition, type SignalDiscoveryLane, type SignalEnrichmentPool, type SignalEnrichmentStats, type SignalEvidence, type SignalFunnel, type SignalFunnelRow, type SignalOutput, type SignalPresentation, type SignalPresentationFact, type SignalPresentationLink, type SignalScope, type SignalType, type SignalVerdict, 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, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
11607
+ export { ACTION_DELAYS, type AccountMonitorAccountAnalysis, type AccountMonitorAnalysisFailure, type AccountMonitorArtifactRefs, type AccountMonitorAssessment, type AccountMonitorCard, type AccountMonitorClaim, type AccountMonitorCollectedSignal, type AccountMonitorCommittee, type AccountMonitorCommitteeInput, type AccountMonitorCommitteeSynthesis, type AccountMonitorCompany, type AccountMonitorCompanySourceReport, type AccountMonitorComparison, type AccountMonitorComparisonFinding, type AccountMonitorCoverage, type AccountMonitorCrmContext, type AccountMonitorCrmHistoryCoverage, type AccountMonitorCrmProviderCoverage, type AccountMonitorCrmStatus, type AccountMonitorDate, type AccountMonitorDepth, type AccountMonitorEvidenceRow, type AccountMonitorIdentity, type AccountMonitorMatchingPerson, type AccountMonitorOptions, type AccountMonitorOutput, type AccountMonitorParams, type AccountMonitorPersonReport, type AccountMonitorProvenance, type AccountMonitorRecency, type AccountMonitorRecommendation, type AccountMonitorReportSection, type AccountMonitorScore, type AccountMonitorSignal, type AccountMonitorSignalDefinition, type AccountMonitorSignalName, type AccountMonitorSignalRef, type AccountMonitorSourceCoverage, type AccountMonitorSourceRequest, type AccountMonitorUsage, type AccountMonitorValidation, type AccountMonitorWindow, 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 AutoSearchSelection, 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 CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, 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 CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, 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 ContentIntelligenceCompetitorAdjacentDelta, type ContentIntelligenceCompetitorAnalysis, type ContentIntelligenceCompetitorAnalysisScope, type ContentIntelligenceCompetitorBucket, type ContentIntelligenceCompetitorComparison, type ContentIntelligenceCompetitorComparisonTotals, type ContentIntelligenceCompetitorCoverage, type ContentIntelligenceCompetitorDelta, type ContentIntelligenceCompetitorDeltas, type ContentIntelligenceCompetitorHighlight, type ContentIntelligenceCompetitorPackage, type ContentIntelligenceCompetitorPeriod, type ContentIntelligenceCompetitorPeriodPoint, type ContentIntelligenceCompetitorPeriodTheme, type ContentIntelligenceCompetitorPost, type ContentIntelligenceCompetitorPostAuthorType, type ContentIntelligenceCompetitorPostSource, type ContentIntelligenceCompetitorResolutionReason, type ContentIntelligenceCompetitorRole, type ContentIntelligenceCompetitorRow, type ContentIntelligenceCompetitorSource, type ContentIntelligenceCompetitorStatus, type ContentIntelligenceCompetitorStopReason, type ContentIntelligenceCompetitorSummary, type ContentIntelligenceCompetitorTakeaway, type ContentIntelligenceCompetitorTargetCoverage, type ContentIntelligenceCompetitorThemePeriod, type ContentIntelligenceCompetitorThemeStats, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligenceOwnCompanyCoverage, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedCompetitor, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, type ContentIntelligenceUnresolvedCompetitor, 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 CrmAccountContextAssociationConfidence, type CrmAccountContextAssociationKind, type CrmAccountContextBatchRequest, type CrmAccountContextBatchResponse, type CrmAccountContextCandidateInput, type CrmAccountContextDealSummary, type CrmAccountContextDetail, type CrmAccountContextMatchConfidence, type CrmAccountContextMatchMethod, type CrmAccountContextPersonPresence, type CrmAccountContextPersonPreview, type CrmAccountContextProviderCoverage, type CrmAccountContextProviderResult, type CrmAccountContextResult, type CrmAccountContextSalesState, type CrmAccountContextSourceStatus, type CrmAccountContextStageChangeTimePrecision, type CrmAccountContextStageClass, type CrmAttioCompany, type CrmAttioCompanyFilters, type CrmAttioCompanyPropertiesRequest, type CrmAttioCompanyPropertiesResponse, type CrmAttioCompanyProperty, type CrmAttioCompanyPropertyFilterField, type CrmAttioCompanyPropertyOption, type CrmAttioCompanyPropertyValue, type CrmAttioCompanySearchRequest, type CrmAttioCompanySearchResponse, type CrmAttioFilterOperator, type CrmCompanyOwner, type CrmCompanyPropertiesRequest, type CrmCompanyPropertiesResponse, type CrmCompanySearchRequest, type CrmCompanySearchResponse, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmHubspotCompany, type CrmHubspotCompanyFilter, type CrmHubspotCompanyFilterGroup, type CrmHubspotCompanyFilters, type CrmHubspotCompanyPropertiesRequest, type CrmHubspotCompanyPropertiesResponse, type CrmHubspotCompanyProperty, type CrmHubspotCompanyPropertyOption, type CrmHubspotCompanySearchRequest, type CrmHubspotCompanySearchResponse, type CrmHubspotFilterOperator, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DateRange, 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 EngagementActivity, type EngagementActivityCoverage, type EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementSignalOutputName, type EngagementSignalSettings, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, 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 InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, 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 PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, 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 ProspectSkip, 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 SignalDateRangeSettings, type SignalDefinition, type SignalDiscoveryLane, type SignalEnrichmentPool, type SignalEnrichmentStats, type SignalEvidence, type SignalFunnel, type SignalFunnelRow, type SignalOutput, type SignalPresentation, type SignalPresentationFact, type SignalPresentationLink, type SignalScope, type SignalType, type SignalVerdict, 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, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };