lumnisai 0.5.60 → 0.5.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -6234,6 +6234,18 @@ interface CampaignGuardrails {
6234
6234
  * @default false
6235
6235
  */
6236
6236
  excludeCrmContacts?: boolean;
6237
+ /**
6238
+ * When true, the campaign researches each person (person intelligence)
6239
+ * just before it first works them, at 7 credits per person, and uses the
6240
+ * finished report to write messages.
6241
+ *
6242
+ * People who already have a report get it attached free when they are
6243
+ * added, whether or not this is on.
6244
+ *
6245
+ * Off by default.
6246
+ * @default false
6247
+ */
6248
+ personIntelligence?: boolean;
6237
6249
  }
6238
6250
  type ApprovalMode = 'auto' | 'require';
6239
6251
  interface ApprovalSettings {
@@ -6311,6 +6323,13 @@ interface CampaignCreate {
6311
6323
  approvalSettings?: ApprovalSettings;
6312
6324
  maxProspects?: number;
6313
6325
  emailPersonaId?: string;
6326
+ /**
6327
+ * User (UUID or email) whose CRM connection the campaign reads. Omit to
6328
+ * read as the campaign's own `userId`.
6329
+ */
6330
+ crmUserId?: string;
6331
+ /** CRM company field names to read into each prospect's company context. */
6332
+ crmCompanyFields?: string[];
6314
6333
  }
6315
6334
  interface CampaignUpdate {
6316
6335
  name?: string;
@@ -6322,6 +6341,8 @@ interface CampaignUpdate {
6322
6341
  approvalSettings?: ApprovalSettings;
6323
6342
  maxProspects?: number;
6324
6343
  emailPersonaId?: string;
6344
+ /** CRM company field names to read. Send `[]` to clear the list. */
6345
+ crmCompanyFields?: string[];
6325
6346
  }
6326
6347
  interface CampaignResponse {
6327
6348
  id: string;
@@ -6339,6 +6360,10 @@ interface CampaignResponse {
6339
6360
  approvalSettings: ApprovalSettings;
6340
6361
  maxProspects?: number | null;
6341
6362
  emailPersonaId?: string | null;
6363
+ /** User whose CRM connection the campaign reads; null means its own `userId`. */
6364
+ crmUserId?: string | null;
6365
+ /** CRM company field names the campaign reads (empty when none picked). */
6366
+ crmCompanyFields: string[];
6342
6367
  startedAt?: string | null;
6343
6368
  pausedAt?: string | null;
6344
6369
  terminalProspectCount: number;
package/dist/index.d.mts CHANGED
@@ -6234,6 +6234,18 @@ interface CampaignGuardrails {
6234
6234
  * @default false
6235
6235
  */
6236
6236
  excludeCrmContacts?: boolean;
6237
+ /**
6238
+ * When true, the campaign researches each person (person intelligence)
6239
+ * just before it first works them, at 7 credits per person, and uses the
6240
+ * finished report to write messages.
6241
+ *
6242
+ * People who already have a report get it attached free when they are
6243
+ * added, whether or not this is on.
6244
+ *
6245
+ * Off by default.
6246
+ * @default false
6247
+ */
6248
+ personIntelligence?: boolean;
6237
6249
  }
6238
6250
  type ApprovalMode = 'auto' | 'require';
6239
6251
  interface ApprovalSettings {
@@ -6311,6 +6323,13 @@ interface CampaignCreate {
6311
6323
  approvalSettings?: ApprovalSettings;
6312
6324
  maxProspects?: number;
6313
6325
  emailPersonaId?: string;
6326
+ /**
6327
+ * User (UUID or email) whose CRM connection the campaign reads. Omit to
6328
+ * read as the campaign's own `userId`.
6329
+ */
6330
+ crmUserId?: string;
6331
+ /** CRM company field names to read into each prospect's company context. */
6332
+ crmCompanyFields?: string[];
6314
6333
  }
6315
6334
  interface CampaignUpdate {
6316
6335
  name?: string;
@@ -6322,6 +6341,8 @@ interface CampaignUpdate {
6322
6341
  approvalSettings?: ApprovalSettings;
6323
6342
  maxProspects?: number;
6324
6343
  emailPersonaId?: string;
6344
+ /** CRM company field names to read. Send `[]` to clear the list. */
6345
+ crmCompanyFields?: string[];
6325
6346
  }
6326
6347
  interface CampaignResponse {
6327
6348
  id: string;
@@ -6339,6 +6360,10 @@ interface CampaignResponse {
6339
6360
  approvalSettings: ApprovalSettings;
6340
6361
  maxProspects?: number | null;
6341
6362
  emailPersonaId?: string | null;
6363
+ /** User whose CRM connection the campaign reads; null means its own `userId`. */
6364
+ crmUserId?: string | null;
6365
+ /** CRM company field names the campaign reads (empty when none picked). */
6366
+ crmCompanyFields: string[];
6342
6367
  startedAt?: string | null;
6343
6368
  pausedAt?: string | null;
6344
6369
  terminalProspectCount: number;
package/dist/index.d.ts CHANGED
@@ -6234,6 +6234,18 @@ interface CampaignGuardrails {
6234
6234
  * @default false
6235
6235
  */
6236
6236
  excludeCrmContacts?: boolean;
6237
+ /**
6238
+ * When true, the campaign researches each person (person intelligence)
6239
+ * just before it first works them, at 7 credits per person, and uses the
6240
+ * finished report to write messages.
6241
+ *
6242
+ * People who already have a report get it attached free when they are
6243
+ * added, whether or not this is on.
6244
+ *
6245
+ * Off by default.
6246
+ * @default false
6247
+ */
6248
+ personIntelligence?: boolean;
6237
6249
  }
6238
6250
  type ApprovalMode = 'auto' | 'require';
6239
6251
  interface ApprovalSettings {
@@ -6311,6 +6323,13 @@ interface CampaignCreate {
6311
6323
  approvalSettings?: ApprovalSettings;
6312
6324
  maxProspects?: number;
6313
6325
  emailPersonaId?: string;
6326
+ /**
6327
+ * User (UUID or email) whose CRM connection the campaign reads. Omit to
6328
+ * read as the campaign's own `userId`.
6329
+ */
6330
+ crmUserId?: string;
6331
+ /** CRM company field names to read into each prospect's company context. */
6332
+ crmCompanyFields?: string[];
6314
6333
  }
6315
6334
  interface CampaignUpdate {
6316
6335
  name?: string;
@@ -6322,6 +6341,8 @@ interface CampaignUpdate {
6322
6341
  approvalSettings?: ApprovalSettings;
6323
6342
  maxProspects?: number;
6324
6343
  emailPersonaId?: string;
6344
+ /** CRM company field names to read. Send `[]` to clear the list. */
6345
+ crmCompanyFields?: string[];
6325
6346
  }
6326
6347
  interface CampaignResponse {
6327
6348
  id: string;
@@ -6339,6 +6360,10 @@ interface CampaignResponse {
6339
6360
  approvalSettings: ApprovalSettings;
6340
6361
  maxProspects?: number | null;
6341
6362
  emailPersonaId?: string | null;
6363
+ /** User whose CRM connection the campaign reads; null means its own `userId`. */
6364
+ crmUserId?: string | null;
6365
+ /** CRM company field names the campaign reads (empty when none picked). */
6366
+ crmCompanyFields: string[];
6342
6367
  startedAt?: string | null;
6343
6368
  pausedAt?: string | null;
6344
6369
  terminalProspectCount: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lumnisai",
3
3
  "type": "module",
4
- "version": "0.5.60",
4
+ "version": "0.5.62",
5
5
  "description": "Official Node.js SDK for the Lumnis AI API",
6
6
  "author": "Lumnis AI",
7
7
  "license": "MIT",