@uptiqai/integrations-sdk 1.34.0 → 1.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1201,6 +1201,200 @@ export type AirtableListWebhookPayloads200 = {
1201
1201
  mightHaveMore?: boolean;
1202
1202
  [key: string]: unknown;
1203
1203
  };
1204
+ export type AkoyaOauthInitiateBody = {
1205
+ userId?: string;
1206
+ /** @minLength 1 */
1207
+ externalUserId?: string;
1208
+ originalRedirectUrl?: string;
1209
+ };
1210
+ export type AkoyaOauthInitiate200 = {
1211
+ authorizationUrl: string;
1212
+ };
1213
+ export type AkoyaOauthCallbackParams = {
1214
+ code?: string;
1215
+ state?: string;
1216
+ error?: string;
1217
+ };
1218
+ export type AkoyaOauthCallback200 = {
1219
+ success: boolean;
1220
+ userId: string;
1221
+ };
1222
+ export type AkoyaGetAccountInfoBody = {
1223
+ /**
1224
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1225
+ * @minLength 1
1226
+ * @nullable
1227
+ */
1228
+ providerId?: string | null;
1229
+ /** Integration user id for Akoya requests. */
1230
+ userId: string;
1231
+ [key: string]: unknown;
1232
+ };
1233
+ export type AkoyaGetAccountInfo200AccountsItem = {
1234
+ [key: string]: unknown | null;
1235
+ };
1236
+ export type AkoyaGetAccountInfo200 = {
1237
+ accounts?: AkoyaGetAccountInfo200AccountsItem[];
1238
+ [key: string]: unknown;
1239
+ };
1240
+ export type AkoyaGetBalancesBody = {
1241
+ /**
1242
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1243
+ * @minLength 1
1244
+ * @nullable
1245
+ */
1246
+ providerId?: string | null;
1247
+ /** Integration user id for Akoya requests. */
1248
+ userId: string;
1249
+ [key: string]: unknown;
1250
+ };
1251
+ export type AkoyaGetBalances200AccountsItem = {
1252
+ [key: string]: unknown | null;
1253
+ };
1254
+ export type AkoyaGetBalances200 = {
1255
+ accounts?: AkoyaGetBalances200AccountsItem[];
1256
+ [key: string]: unknown;
1257
+ };
1258
+ export type AkoyaGetTransactionsBody = {
1259
+ /**
1260
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1261
+ * @minLength 1
1262
+ * @nullable
1263
+ */
1264
+ providerId?: string | null;
1265
+ /**
1266
+ * A real Akoya account id, obtained from Fetch Account Info.
1267
+ * @minLength 1
1268
+ */
1269
+ accountId: string;
1270
+ /**
1271
+ * Start of the transaction date range (ISO 8601).
1272
+ * @nullable
1273
+ */
1274
+ startDate?: string | null;
1275
+ /**
1276
+ * End of the transaction date range (ISO 8601).
1277
+ * @nullable
1278
+ */
1279
+ endDate?: string | null;
1280
+ /** Integration user id for Akoya requests. */
1281
+ userId: string;
1282
+ [key: string]: unknown;
1283
+ };
1284
+ export type AkoyaGetTransactions200AccountsItem = {
1285
+ [key: string]: unknown | null;
1286
+ };
1287
+ export type AkoyaGetTransactions200 = {
1288
+ accounts?: AkoyaGetTransactions200AccountsItem[];
1289
+ [key: string]: unknown;
1290
+ };
1291
+ export type AkoyaGetStatementsBody = {
1292
+ /**
1293
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1294
+ * @minLength 1
1295
+ * @nullable
1296
+ */
1297
+ providerId?: string | null;
1298
+ /**
1299
+ * A real Akoya account id, obtained from Fetch Account Info. Required to reach Akoya’s application logic.
1300
+ * @minLength 1
1301
+ * @nullable
1302
+ */
1303
+ accountId?: string | null;
1304
+ /** Integration user id for Akoya requests. */
1305
+ userId: string;
1306
+ [key: string]: unknown;
1307
+ };
1308
+ export type AkoyaGetStatements200AccountsItem = {
1309
+ [key: string]: unknown | null;
1310
+ };
1311
+ export type AkoyaGetStatements200 = {
1312
+ accounts?: AkoyaGetStatements200AccountsItem[];
1313
+ [key: string]: unknown;
1314
+ };
1315
+ export type AkoyaGetInvestmentsBody = {
1316
+ /**
1317
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1318
+ * @minLength 1
1319
+ * @nullable
1320
+ */
1321
+ providerId?: string | null;
1322
+ /** Integration user id for Akoya requests. */
1323
+ userId: string;
1324
+ [key: string]: unknown;
1325
+ };
1326
+ export type AkoyaGetInvestments200AccountsItem = {
1327
+ [key: string]: unknown | null;
1328
+ };
1329
+ export type AkoyaGetInvestments200 = {
1330
+ accounts?: AkoyaGetInvestments200AccountsItem[];
1331
+ [key: string]: unknown;
1332
+ };
1333
+ export type AkoyaGetIdentityBody = {
1334
+ /**
1335
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1336
+ * @minLength 1
1337
+ * @nullable
1338
+ */
1339
+ providerId?: string | null;
1340
+ /** Integration user id for Akoya requests. */
1341
+ userId: string;
1342
+ [key: string]: unknown;
1343
+ };
1344
+ export type AkoyaGetIdentity200CustomersItem = {
1345
+ [key: string]: unknown | null;
1346
+ };
1347
+ export type AkoyaGetIdentity200 = {
1348
+ customers?: AkoyaGetIdentity200CustomersItem[];
1349
+ [key: string]: unknown;
1350
+ };
1351
+ export type AkoyaGetTaxDocumentsBody = {
1352
+ /**
1353
+ * Akoya provider id for the linked institution connection. Defaults to the connected institution — omit unless overriding.
1354
+ * @minLength 1
1355
+ * @nullable
1356
+ */
1357
+ providerId?: string | null;
1358
+ /**
1359
+ * A real Akoya account id, obtained from Fetch Account Info. Required to reach Akoya’s application logic.
1360
+ * @minLength 1
1361
+ * @nullable
1362
+ */
1363
+ accountId?: string | null;
1364
+ /** Integration user id for Akoya requests. */
1365
+ userId: string;
1366
+ [key: string]: unknown;
1367
+ };
1368
+ export type AkoyaGetTaxDocuments200AccountsItem = {
1369
+ [key: string]: unknown | null;
1370
+ };
1371
+ export type AkoyaGetTaxDocuments200 = {
1372
+ accounts?: AkoyaGetTaxDocuments200AccountsItem[];
1373
+ [key: string]: unknown;
1374
+ };
1375
+ /**
1376
+ * Which stored token to revoke at Akoya. Defaults to the refresh token (full de-authorization).
1377
+ * @nullable
1378
+ */
1379
+ export type AkoyaRevokeConsentBodyTokenTypeHint = typeof AkoyaRevokeConsentBodyTokenTypeHint[keyof typeof AkoyaRevokeConsentBodyTokenTypeHint] | null;
1380
+ export declare const AkoyaRevokeConsentBodyTokenTypeHint: {
1381
+ readonly access_token: "access_token";
1382
+ readonly refresh_token: "refresh_token";
1383
+ };
1384
+ export type AkoyaRevokeConsentBody = {
1385
+ /**
1386
+ * Which stored token to revoke at Akoya. Defaults to the refresh token (full de-authorization).
1387
+ * @nullable
1388
+ */
1389
+ tokenTypeHint?: AkoyaRevokeConsentBodyTokenTypeHint;
1390
+ /** Integration user id for Akoya requests. */
1391
+ userId: string;
1392
+ [key: string]: unknown;
1393
+ };
1394
+ export type AkoyaRevokeConsent200 = {
1395
+ success: boolean;
1396
+ userId: string;
1397
+ };
1204
1398
  export type AlloyCreatePersonEntityBody = {
1205
1399
  userId?: string;
1206
1400
  [key: string]: unknown;
@@ -10203,23 +10397,297 @@ export type HeyreachSetUserCredentialsBody = {
10203
10397
  export type HeyreachSetUserCredentials200 = {
10204
10398
  userId: string;
10205
10399
  };
10400
+ export type HeyreachCreateCampaignBodySchedule = {
10401
+ /** Daily send-window start, e.g. "09:00:00". */
10402
+ dailyStartTime: string;
10403
+ /** Daily send-window end, e.g. "17:00:00". */
10404
+ dailyEndTime: string;
10405
+ timeZoneId?: string;
10406
+ enabledMonday?: boolean;
10407
+ enabledTuesday?: boolean;
10408
+ enabledWednesday?: boolean;
10409
+ enabledThursday?: boolean;
10410
+ enabledFriday?: boolean;
10411
+ enabledSaturday?: boolean;
10412
+ enabledSunday?: boolean;
10413
+ /** Date-only, e.g. "2025-06-01". */
10414
+ startDate?: string;
10415
+ endDate?: string;
10416
+ [key: string]: unknown;
10417
+ };
10418
+ export type HeyreachCreateCampaignBodySequenceNodeType = typeof HeyreachCreateCampaignBodySequenceNodeType[keyof typeof HeyreachCreateCampaignBodySequenceNodeType];
10419
+ export declare const HeyreachCreateCampaignBodySequenceNodeType: {
10420
+ readonly CONNECTION_REQUEST: "CONNECTION_REQUEST";
10421
+ readonly MESSAGE: "MESSAGE";
10422
+ readonly INMAIL: "INMAIL";
10423
+ readonly VIEW_PROFILE: "VIEW_PROFILE";
10424
+ readonly FOLLOW: "FOLLOW";
10425
+ readonly LIKE_POST: "LIKE_POST";
10426
+ readonly FIND_EMAIL: "FIND_EMAIL";
10427
+ readonly CHECK_IS_CONNECTION: "CHECK_IS_CONNECTION";
10428
+ readonly CHECK_IS_OPEN_PROFILE: "CHECK_IS_OPEN_PROFILE";
10429
+ readonly SEND_LEAD_TO_INSTANTLY: "SEND_LEAD_TO_INSTANTLY";
10430
+ readonly SEND_LEAD_TO_SMARTLEAD: "SEND_LEAD_TO_SMARTLEAD";
10431
+ readonly END: "END";
10432
+ };
10433
+ export type HeyreachCreateCampaignBodySequenceUnconditionalNodeNodeType = typeof HeyreachCreateCampaignBodySequenceUnconditionalNodeNodeType[keyof typeof HeyreachCreateCampaignBodySequenceUnconditionalNodeNodeType];
10434
+ export declare const HeyreachCreateCampaignBodySequenceUnconditionalNodeNodeType: {
10435
+ readonly CONNECTION_REQUEST: "CONNECTION_REQUEST";
10436
+ readonly MESSAGE: "MESSAGE";
10437
+ readonly INMAIL: "INMAIL";
10438
+ readonly VIEW_PROFILE: "VIEW_PROFILE";
10439
+ readonly FOLLOW: "FOLLOW";
10440
+ readonly LIKE_POST: "LIKE_POST";
10441
+ readonly FIND_EMAIL: "FIND_EMAIL";
10442
+ readonly CHECK_IS_CONNECTION: "CHECK_IS_CONNECTION";
10443
+ readonly CHECK_IS_OPEN_PROFILE: "CHECK_IS_OPEN_PROFILE";
10444
+ readonly SEND_LEAD_TO_INSTANTLY: "SEND_LEAD_TO_INSTANTLY";
10445
+ readonly SEND_LEAD_TO_SMARTLEAD: "SEND_LEAD_TO_SMARTLEAD";
10446
+ readonly END: "END";
10447
+ };
10448
+ export type HeyreachCreateCampaignBodySequenceUnconditionalNodeActionDelayUnit = typeof HeyreachCreateCampaignBodySequenceUnconditionalNodeActionDelayUnit[keyof typeof HeyreachCreateCampaignBodySequenceUnconditionalNodeActionDelayUnit];
10449
+ export declare const HeyreachCreateCampaignBodySequenceUnconditionalNodeActionDelayUnit: {
10450
+ readonly HOUR: "HOUR";
10451
+ readonly DAY: "DAY";
10452
+ };
10453
+ export type HeyreachCreateCampaignBodySequenceUnconditionalNodePayload = {
10454
+ [key: string]: unknown | null;
10455
+ };
10456
+ /**
10457
+ * Next step for a non-branching node type.
10458
+ */
10459
+ export type HeyreachCreateCampaignBodySequenceUnconditionalNode = {
10460
+ nodeType: HeyreachCreateCampaignBodySequenceUnconditionalNodeNodeType;
10461
+ /**
10462
+ * @minimum 0
10463
+ * @maximum 100
10464
+ */
10465
+ actionDelay?: number;
10466
+ actionDelayUnit?: HeyreachCreateCampaignBodySequenceUnconditionalNodeActionDelayUnit;
10467
+ payload?: HeyreachCreateCampaignBodySequenceUnconditionalNodePayload;
10468
+ /** @maxLength 100 */
10469
+ externalReference?: string;
10470
+ [key: string]: unknown;
10471
+ };
10472
+ export type HeyreachCreateCampaignBodySequenceConditionalNodeNodeType = typeof HeyreachCreateCampaignBodySequenceConditionalNodeNodeType[keyof typeof HeyreachCreateCampaignBodySequenceConditionalNodeNodeType];
10473
+ export declare const HeyreachCreateCampaignBodySequenceConditionalNodeNodeType: {
10474
+ readonly CONNECTION_REQUEST: "CONNECTION_REQUEST";
10475
+ readonly MESSAGE: "MESSAGE";
10476
+ readonly INMAIL: "INMAIL";
10477
+ readonly VIEW_PROFILE: "VIEW_PROFILE";
10478
+ readonly FOLLOW: "FOLLOW";
10479
+ readonly LIKE_POST: "LIKE_POST";
10480
+ readonly FIND_EMAIL: "FIND_EMAIL";
10481
+ readonly CHECK_IS_CONNECTION: "CHECK_IS_CONNECTION";
10482
+ readonly CHECK_IS_OPEN_PROFILE: "CHECK_IS_OPEN_PROFILE";
10483
+ readonly SEND_LEAD_TO_INSTANTLY: "SEND_LEAD_TO_INSTANTLY";
10484
+ readonly SEND_LEAD_TO_SMARTLEAD: "SEND_LEAD_TO_SMARTLEAD";
10485
+ readonly END: "END";
10486
+ };
10487
+ export type HeyreachCreateCampaignBodySequenceConditionalNodeActionDelayUnit = typeof HeyreachCreateCampaignBodySequenceConditionalNodeActionDelayUnit[keyof typeof HeyreachCreateCampaignBodySequenceConditionalNodeActionDelayUnit];
10488
+ export declare const HeyreachCreateCampaignBodySequenceConditionalNodeActionDelayUnit: {
10489
+ readonly HOUR: "HOUR";
10490
+ readonly DAY: "DAY";
10491
+ };
10492
+ export type HeyreachCreateCampaignBodySequenceConditionalNodePayload = {
10493
+ [key: string]: unknown | null;
10494
+ };
10495
+ /**
10496
+ * Branch taken for a branching node type (e.g. CONNECTION_REQUEST, FIND_EMAIL).
10497
+ */
10498
+ export type HeyreachCreateCampaignBodySequenceConditionalNode = {
10499
+ nodeType: HeyreachCreateCampaignBodySequenceConditionalNodeNodeType;
10500
+ /**
10501
+ * @minimum 0
10502
+ * @maximum 100
10503
+ */
10504
+ actionDelay?: number;
10505
+ actionDelayUnit?: HeyreachCreateCampaignBodySequenceConditionalNodeActionDelayUnit;
10506
+ payload?: HeyreachCreateCampaignBodySequenceConditionalNodePayload;
10507
+ /** @maxLength 100 */
10508
+ externalReference?: string;
10509
+ [key: string]: unknown;
10510
+ };
10511
+ export type HeyreachCreateCampaignBodySequenceActionDelayUnit = typeof HeyreachCreateCampaignBodySequenceActionDelayUnit[keyof typeof HeyreachCreateCampaignBodySequenceActionDelayUnit];
10512
+ export declare const HeyreachCreateCampaignBodySequenceActionDelayUnit: {
10513
+ readonly HOUR: "HOUR";
10514
+ readonly DAY: "DAY";
10515
+ };
10516
+ export type HeyreachCreateCampaignBodySequencePayload = {
10517
+ [key: string]: unknown | null;
10518
+ };
10519
+ export type HeyreachCreateCampaignBodySequence = {
10520
+ nodeType: HeyreachCreateCampaignBodySequenceNodeType;
10521
+ /** Next step for a non-branching node type. */
10522
+ unconditionalNode?: HeyreachCreateCampaignBodySequenceUnconditionalNode;
10523
+ /** Branch taken for a branching node type (e.g. CONNECTION_REQUEST, FIND_EMAIL). */
10524
+ conditionalNode?: HeyreachCreateCampaignBodySequenceConditionalNode;
10525
+ /**
10526
+ * @minimum 0
10527
+ * @maximum 100
10528
+ */
10529
+ actionDelay?: number;
10530
+ actionDelayUnit?: HeyreachCreateCampaignBodySequenceActionDelayUnit;
10531
+ payload?: HeyreachCreateCampaignBodySequencePayload;
10532
+ /** @maxLength 100 */
10533
+ externalReference?: string;
10534
+ [key: string]: unknown;
10535
+ };
10206
10536
  export type HeyreachCreateCampaignBody = {
10207
10537
  userId?: string;
10538
+ /**
10539
+ * Campaign name.
10540
+ * @minLength 1
10541
+ * @maxLength 50
10542
+ */
10543
+ name: string;
10208
10544
  /**
10209
10545
  * LinkedIn sender account ids to assign to the campaign. Required by HeyReach. Must be numeric — HeyReach expects integer account ids, not UUIDs.
10210
10546
  * @minItems 1
10547
+ * @maxItems 100
10211
10548
  */
10212
10549
  linkedInAccountIds: string[];
10213
10550
  /**
10214
- * Lead list id to run the campaign against. Required by HeyReach. Must be numeric — HeyReach expects an integer list id, not a UUID.
10551
+ * Lead list id (type USER_LIST) to run the campaign against. Required by HeyReach. Must be numeric — HeyReach expects an integer list id, not a UUID.
10215
10552
  * @minLength 1
10216
10553
  */
10217
10554
  linkedInUserListId: string;
10555
+ /** Skip leads already contacted by other campaigns. HeyReach defaults this to false. */
10556
+ excludeContactedFromOtherCampaigns?: boolean;
10557
+ /** Skip leads with existing conversations on other sender accounts. HeyReach defaults this to false. */
10558
+ excludeHasOtherAccConversations?: boolean;
10559
+ /** Skip leads already contacted by this sender in another campaign. HeyReach defaults this to false. */
10560
+ excludeContactedFromSenderInOtherCampaign?: boolean;
10561
+ /** List id whose leads should be excluded. */
10562
+ excludeListId?: string;
10563
+ schedule?: HeyreachCreateCampaignBodySchedule;
10564
+ sequence?: HeyreachCreateCampaignBodySequence;
10218
10565
  [key: string]: unknown;
10219
10566
  };
10220
10567
  export type HeyreachCreateCampaign200 = {
10221
10568
  [key: string]: unknown | null;
10222
10569
  };
10570
+ export type HeyreachUpdateSequenceBodySequenceNodeType = typeof HeyreachUpdateSequenceBodySequenceNodeType[keyof typeof HeyreachUpdateSequenceBodySequenceNodeType];
10571
+ export declare const HeyreachUpdateSequenceBodySequenceNodeType: {
10572
+ readonly CONNECTION_REQUEST: "CONNECTION_REQUEST";
10573
+ readonly MESSAGE: "MESSAGE";
10574
+ readonly INMAIL: "INMAIL";
10575
+ readonly VIEW_PROFILE: "VIEW_PROFILE";
10576
+ readonly FOLLOW: "FOLLOW";
10577
+ readonly LIKE_POST: "LIKE_POST";
10578
+ readonly FIND_EMAIL: "FIND_EMAIL";
10579
+ readonly CHECK_IS_CONNECTION: "CHECK_IS_CONNECTION";
10580
+ readonly CHECK_IS_OPEN_PROFILE: "CHECK_IS_OPEN_PROFILE";
10581
+ readonly SEND_LEAD_TO_INSTANTLY: "SEND_LEAD_TO_INSTANTLY";
10582
+ readonly SEND_LEAD_TO_SMARTLEAD: "SEND_LEAD_TO_SMARTLEAD";
10583
+ readonly END: "END";
10584
+ };
10585
+ export type HeyreachUpdateSequenceBodySequenceUnconditionalNodeNodeType = typeof HeyreachUpdateSequenceBodySequenceUnconditionalNodeNodeType[keyof typeof HeyreachUpdateSequenceBodySequenceUnconditionalNodeNodeType];
10586
+ export declare const HeyreachUpdateSequenceBodySequenceUnconditionalNodeNodeType: {
10587
+ readonly CONNECTION_REQUEST: "CONNECTION_REQUEST";
10588
+ readonly MESSAGE: "MESSAGE";
10589
+ readonly INMAIL: "INMAIL";
10590
+ readonly VIEW_PROFILE: "VIEW_PROFILE";
10591
+ readonly FOLLOW: "FOLLOW";
10592
+ readonly LIKE_POST: "LIKE_POST";
10593
+ readonly FIND_EMAIL: "FIND_EMAIL";
10594
+ readonly CHECK_IS_CONNECTION: "CHECK_IS_CONNECTION";
10595
+ readonly CHECK_IS_OPEN_PROFILE: "CHECK_IS_OPEN_PROFILE";
10596
+ readonly SEND_LEAD_TO_INSTANTLY: "SEND_LEAD_TO_INSTANTLY";
10597
+ readonly SEND_LEAD_TO_SMARTLEAD: "SEND_LEAD_TO_SMARTLEAD";
10598
+ readonly END: "END";
10599
+ };
10600
+ export type HeyreachUpdateSequenceBodySequenceUnconditionalNodeActionDelayUnit = typeof HeyreachUpdateSequenceBodySequenceUnconditionalNodeActionDelayUnit[keyof typeof HeyreachUpdateSequenceBodySequenceUnconditionalNodeActionDelayUnit];
10601
+ export declare const HeyreachUpdateSequenceBodySequenceUnconditionalNodeActionDelayUnit: {
10602
+ readonly HOUR: "HOUR";
10603
+ readonly DAY: "DAY";
10604
+ };
10605
+ export type HeyreachUpdateSequenceBodySequenceUnconditionalNodePayload = {
10606
+ [key: string]: unknown | null;
10607
+ };
10608
+ /**
10609
+ * Next step for a non-branching node type.
10610
+ */
10611
+ export type HeyreachUpdateSequenceBodySequenceUnconditionalNode = {
10612
+ nodeType: HeyreachUpdateSequenceBodySequenceUnconditionalNodeNodeType;
10613
+ /**
10614
+ * @minimum 0
10615
+ * @maximum 100
10616
+ */
10617
+ actionDelay?: number;
10618
+ actionDelayUnit?: HeyreachUpdateSequenceBodySequenceUnconditionalNodeActionDelayUnit;
10619
+ payload?: HeyreachUpdateSequenceBodySequenceUnconditionalNodePayload;
10620
+ /** @maxLength 100 */
10621
+ externalReference?: string;
10622
+ [key: string]: unknown;
10623
+ };
10624
+ export type HeyreachUpdateSequenceBodySequenceConditionalNodeNodeType = typeof HeyreachUpdateSequenceBodySequenceConditionalNodeNodeType[keyof typeof HeyreachUpdateSequenceBodySequenceConditionalNodeNodeType];
10625
+ export declare const HeyreachUpdateSequenceBodySequenceConditionalNodeNodeType: {
10626
+ readonly CONNECTION_REQUEST: "CONNECTION_REQUEST";
10627
+ readonly MESSAGE: "MESSAGE";
10628
+ readonly INMAIL: "INMAIL";
10629
+ readonly VIEW_PROFILE: "VIEW_PROFILE";
10630
+ readonly FOLLOW: "FOLLOW";
10631
+ readonly LIKE_POST: "LIKE_POST";
10632
+ readonly FIND_EMAIL: "FIND_EMAIL";
10633
+ readonly CHECK_IS_CONNECTION: "CHECK_IS_CONNECTION";
10634
+ readonly CHECK_IS_OPEN_PROFILE: "CHECK_IS_OPEN_PROFILE";
10635
+ readonly SEND_LEAD_TO_INSTANTLY: "SEND_LEAD_TO_INSTANTLY";
10636
+ readonly SEND_LEAD_TO_SMARTLEAD: "SEND_LEAD_TO_SMARTLEAD";
10637
+ readonly END: "END";
10638
+ };
10639
+ export type HeyreachUpdateSequenceBodySequenceConditionalNodeActionDelayUnit = typeof HeyreachUpdateSequenceBodySequenceConditionalNodeActionDelayUnit[keyof typeof HeyreachUpdateSequenceBodySequenceConditionalNodeActionDelayUnit];
10640
+ export declare const HeyreachUpdateSequenceBodySequenceConditionalNodeActionDelayUnit: {
10641
+ readonly HOUR: "HOUR";
10642
+ readonly DAY: "DAY";
10643
+ };
10644
+ export type HeyreachUpdateSequenceBodySequenceConditionalNodePayload = {
10645
+ [key: string]: unknown | null;
10646
+ };
10647
+ /**
10648
+ * Branch taken for a branching node type (e.g. CONNECTION_REQUEST, FIND_EMAIL).
10649
+ */
10650
+ export type HeyreachUpdateSequenceBodySequenceConditionalNode = {
10651
+ nodeType: HeyreachUpdateSequenceBodySequenceConditionalNodeNodeType;
10652
+ /**
10653
+ * @minimum 0
10654
+ * @maximum 100
10655
+ */
10656
+ actionDelay?: number;
10657
+ actionDelayUnit?: HeyreachUpdateSequenceBodySequenceConditionalNodeActionDelayUnit;
10658
+ payload?: HeyreachUpdateSequenceBodySequenceConditionalNodePayload;
10659
+ /** @maxLength 100 */
10660
+ externalReference?: string;
10661
+ [key: string]: unknown;
10662
+ };
10663
+ export type HeyreachUpdateSequenceBodySequenceActionDelayUnit = typeof HeyreachUpdateSequenceBodySequenceActionDelayUnit[keyof typeof HeyreachUpdateSequenceBodySequenceActionDelayUnit];
10664
+ export declare const HeyreachUpdateSequenceBodySequenceActionDelayUnit: {
10665
+ readonly HOUR: "HOUR";
10666
+ readonly DAY: "DAY";
10667
+ };
10668
+ export type HeyreachUpdateSequenceBodySequencePayload = {
10669
+ [key: string]: unknown | null;
10670
+ };
10671
+ /**
10672
+ * Automation-step tree that fully replaces the campaign sequence. Required by HeyReach.
10673
+ */
10674
+ export type HeyreachUpdateSequenceBodySequence = {
10675
+ nodeType: HeyreachUpdateSequenceBodySequenceNodeType;
10676
+ /** Next step for a non-branching node type. */
10677
+ unconditionalNode?: HeyreachUpdateSequenceBodySequenceUnconditionalNode;
10678
+ /** Branch taken for a branching node type (e.g. CONNECTION_REQUEST, FIND_EMAIL). */
10679
+ conditionalNode?: HeyreachUpdateSequenceBodySequenceConditionalNode;
10680
+ /**
10681
+ * @minimum 0
10682
+ * @maximum 100
10683
+ */
10684
+ actionDelay?: number;
10685
+ actionDelayUnit?: HeyreachUpdateSequenceBodySequenceActionDelayUnit;
10686
+ payload?: HeyreachUpdateSequenceBodySequencePayload;
10687
+ /** @maxLength 100 */
10688
+ externalReference?: string;
10689
+ [key: string]: unknown;
10690
+ };
10223
10691
  export type HeyreachUpdateSequenceBody = {
10224
10692
  userId?: string;
10225
10693
  /**
@@ -10227,11 +10695,34 @@ export type HeyreachUpdateSequenceBody = {
10227
10695
  * @minLength 1
10228
10696
  */
10229
10697
  campaignId: string;
10698
+ /** Automation-step tree that fully replaces the campaign sequence. Required by HeyReach. */
10699
+ sequence: HeyreachUpdateSequenceBodySequence;
10230
10700
  [key: string]: unknown;
10231
10701
  };
10232
10702
  export type HeyreachUpdateSequence200 = {
10233
10703
  [key: string]: unknown | null;
10234
10704
  };
10705
+ /**
10706
+ * Campaign send schedule that fully replaces the campaign's current schedule. Required by HeyReach.
10707
+ */
10708
+ export type HeyreachUpdateCampaignScheduleBodySchedule = {
10709
+ /** Daily send-window start, e.g. "09:00:00". */
10710
+ dailyStartTime: string;
10711
+ /** Daily send-window end, e.g. "17:00:00". */
10712
+ dailyEndTime: string;
10713
+ timeZoneId?: string;
10714
+ enabledMonday?: boolean;
10715
+ enabledTuesday?: boolean;
10716
+ enabledWednesday?: boolean;
10717
+ enabledThursday?: boolean;
10718
+ enabledFriday?: boolean;
10719
+ enabledSaturday?: boolean;
10720
+ enabledSunday?: boolean;
10721
+ /** Date-only, e.g. "2025-06-01". */
10722
+ startDate?: string;
10723
+ endDate?: string;
10724
+ [key: string]: unknown;
10725
+ };
10235
10726
  export type HeyreachUpdateCampaignScheduleBody = {
10236
10727
  userId?: string;
10237
10728
  /**
@@ -10239,6 +10730,8 @@ export type HeyreachUpdateCampaignScheduleBody = {
10239
10730
  * @minLength 1
10240
10731
  */
10241
10732
  campaignId: string;
10733
+ /** Campaign send schedule that fully replaces the campaign's current schedule. Required by HeyReach. */
10734
+ schedule: HeyreachUpdateCampaignScheduleBodySchedule;
10242
10735
  [key: string]: unknown;
10243
10736
  };
10244
10737
  export type HeyreachUpdateCampaignSchedule200 = {
@@ -10287,25 +10780,88 @@ export type HeyreachGetCampaignsBody = {
10287
10780
  export type HeyreachGetCampaigns200 = {
10288
10781
  [key: string]: unknown | null;
10289
10782
  };
10783
+ /**
10784
+ * List type. Defaults to a lead list (USER_LIST) when omitted.
10785
+ */
10786
+ export type HeyreachCreateEmptyListBodyType = typeof HeyreachCreateEmptyListBodyType[keyof typeof HeyreachCreateEmptyListBodyType];
10787
+ export declare const HeyreachCreateEmptyListBodyType: {
10788
+ readonly USER_LIST: "USER_LIST";
10789
+ readonly COMPANY_LIST: "COMPANY_LIST";
10790
+ };
10290
10791
  export type HeyreachCreateEmptyListBody = {
10291
10792
  userId?: string;
10793
+ /**
10794
+ * List name.
10795
+ * @minLength 1
10796
+ */
10797
+ name: string;
10798
+ /** List type. Defaults to a lead list (USER_LIST) when omitted. */
10799
+ type?: HeyreachCreateEmptyListBodyType;
10292
10800
  [key: string]: unknown;
10293
10801
  };
10294
10802
  export type HeyreachCreateEmptyList200 = {
10295
10803
  [key: string]: unknown | null;
10296
10804
  };
10805
+ export type HeyreachAddLeadsToListBodyLeadsItemCustomUserFieldsItem = {
10806
+ name: string;
10807
+ value: string;
10808
+ };
10809
+ export type HeyreachAddLeadsToListBodyLeadsItem = {
10810
+ firstName?: string;
10811
+ lastName?: string;
10812
+ /** Lead's LinkedIn profile URL. */
10813
+ profileUrl?: string;
10814
+ location?: string;
10815
+ summary?: string;
10816
+ companyName?: string;
10817
+ position?: string;
10818
+ about?: string;
10819
+ emailAddress?: string;
10820
+ /** Custom field name/value pairs. `name` must be alphanumeric or underscore-only — HeyReach rejects other characters. */
10821
+ customUserFields?: HeyreachAddLeadsToListBodyLeadsItemCustomUserFieldsItem[];
10822
+ [key: string]: unknown;
10823
+ };
10297
10824
  export type HeyreachAddLeadsToListBody = {
10298
10825
  userId?: string;
10299
10826
  /**
10300
- * List id to add the leads to.
10827
+ * List id to add the leads to. Must be numeric — HeyReach expects an integer list id.
10301
10828
  * @minLength 1
10302
10829
  */
10303
10830
  listId: string;
10831
+ /**
10832
+ * Leads to import. Up to 100 per request.
10833
+ * @maxItems 100
10834
+ */
10835
+ leads: HeyreachAddLeadsToListBodyLeadsItem[];
10304
10836
  [key: string]: unknown;
10305
10837
  };
10306
10838
  export type HeyreachAddLeadsToList200 = {
10307
10839
  [key: string]: unknown | null;
10308
10840
  };
10841
+ export type HeyreachAddLeadsToCampaignBodyAccountLeadPairsItemLeadCustomUserFieldsItem = {
10842
+ name: string;
10843
+ value: string;
10844
+ };
10845
+ export type HeyreachAddLeadsToCampaignBodyAccountLeadPairsItemLead = {
10846
+ firstName?: string;
10847
+ lastName?: string;
10848
+ /** Lead's LinkedIn profile URL. */
10849
+ profileUrl?: string;
10850
+ location?: string;
10851
+ summary?: string;
10852
+ companyName?: string;
10853
+ position?: string;
10854
+ about?: string;
10855
+ emailAddress?: string;
10856
+ /** Custom field name/value pairs. `name` must be alphanumeric or underscore-only — HeyReach rejects other characters. */
10857
+ customUserFields?: HeyreachAddLeadsToCampaignBodyAccountLeadPairsItemLeadCustomUserFieldsItem[];
10858
+ [key: string]: unknown;
10859
+ };
10860
+ export type HeyreachAddLeadsToCampaignBodyAccountLeadPairsItem = {
10861
+ /** LinkedIn sender account id to map this lead to. Must be numeric if provided. */
10862
+ linkedInAccountId?: string;
10863
+ lead: HeyreachAddLeadsToCampaignBodyAccountLeadPairsItemLead;
10864
+ };
10309
10865
  export type HeyreachAddLeadsToCampaignBody = {
10310
10866
  userId?: string;
10311
10867
  /**
@@ -10313,6 +10869,15 @@ export type HeyreachAddLeadsToCampaignBody = {
10313
10869
  * @minLength 1
10314
10870
  */
10315
10871
  campaignId: string;
10872
+ /**
10873
+ * Leads (optionally paired with a sender account) to add. Up to 100 per request.
10874
+ * @maxItems 100
10875
+ */
10876
+ accountLeadPairs: HeyreachAddLeadsToCampaignBodyAccountLeadPairsItem[];
10877
+ /** Resume the campaign if it had already finished. */
10878
+ resumeFinishedCampaign?: boolean;
10879
+ /** Resume the campaign if it is currently paused. */
10880
+ resumePausedCampaign?: boolean;
10316
10881
  [key: string]: unknown;
10317
10882
  };
10318
10883
  export type HeyreachAddLeadsToCampaign200 = {
@@ -10325,6 +10890,10 @@ export type HeyreachStopLeadInCampaignBody = {
10325
10890
  * @minLength 1
10326
10891
  */
10327
10892
  campaignId: string;
10893
+ /** Lead's member id (HeyReach's `linkedin_id`, from GetLeadsFromCampaign/GetLeadsFromList). */
10894
+ leadMemberId?: string;
10895
+ /** Lead's LinkedIn profile URL. */
10896
+ leadUrl?: string;
10328
10897
  [key: string]: unknown;
10329
10898
  };
10330
10899
  export type HeyreachStopLeadInCampaign200 = {
@@ -10342,13 +10911,48 @@ export type HeyreachAddLeadTagsBody = {
10342
10911
  * @minLength 1
10343
10912
  */
10344
10913
  leadProfileUrl?: string;
10914
+ /**
10915
+ * Tags to add to the lead.
10916
+ * @minItems 1
10917
+ */
10918
+ tags: string[];
10919
+ /** If true, creates tags that don't already exist. If false and a tag doesn't exist, HeyReach returns a 400. */
10920
+ createTagIfNotExisting?: boolean;
10345
10921
  [key: string]: unknown;
10346
10922
  };
10347
10923
  export type HeyreachAddLeadTags200 = {
10348
10924
  [key: string]: unknown | null;
10349
10925
  };
10926
+ export type HeyreachGetConversationsBodyFilters = {
10927
+ /** LinkedIn sender account ids to filter by. Numeric. */
10928
+ linkedInAccountIds?: string[];
10929
+ /** Campaign ids to filter by. Numeric. */
10930
+ campaignIds?: string[];
10931
+ searchString?: string;
10932
+ /** Lead's LinkedIn id. Cannot be combined with leadProfileUrl. */
10933
+ leadLinkedInId?: string;
10934
+ /** Lead's LinkedIn profile URL. Cannot be combined with leadLinkedInId. */
10935
+ leadProfileUrl?: string;
10936
+ /** Case-insensitive lead tags — conversations of leads with at least one matching tag are returned. */
10937
+ tags?: string[];
10938
+ /**
10939
+ * true = read only, false = unread only, omit/null = both.
10940
+ * @nullable
10941
+ */
10942
+ seen?: boolean | null;
10943
+ [key: string]: unknown;
10944
+ };
10350
10945
  export type HeyreachGetConversationsBody = {
10351
10946
  userId?: string;
10947
+ filters?: HeyreachGetConversationsBodyFilters;
10948
+ /** @minimum 0 */
10949
+ offset?: number;
10950
+ /**
10951
+ * Page size, up to 100.
10952
+ * @minimum 1
10953
+ * @maximum 100
10954
+ */
10955
+ limit?: number;
10352
10956
  [key: string]: unknown;
10353
10957
  };
10354
10958
  export type HeyreachGetConversations200 = {
@@ -10369,7 +10973,19 @@ export type HeyreachGetConversation200 = {
10369
10973
  export type HeyreachSendInboxMessageBody = {
10370
10974
  userId?: string;
10371
10975
  /**
10372
- * LinkedIn sender account id to send the message from.
10976
+ * Conversation id to send the message to.
10977
+ * @minLength 1
10978
+ */
10979
+ conversationId: string;
10980
+ /**
10981
+ * Message body.
10982
+ * @minLength 1
10983
+ */
10984
+ message: string;
10985
+ /** Subject line (used for InMail messages). */
10986
+ subject?: string;
10987
+ /**
10988
+ * LinkedIn sender account id to send the message from. Numeric.
10373
10989
  * @minLength 1
10374
10990
  */
10375
10991
  linkedInAccountId?: string;
@@ -10380,16 +10996,14 @@ export type HeyreachSendInboxMessage200 = {
10380
10996
  };
10381
10997
  export type HeyreachGetOverallStatsBody = {
10382
10998
  userId?: string;
10383
- /**
10384
- * LinkedIn sender account ids. Required by HeyReach.
10385
- * @minItems 1
10386
- */
10999
+ /** LinkedIn sender account ids. Empty or omitted means all senders are included. */
10387
11000
  accountIds: string[];
10388
- /**
10389
- * Campaign ids. Required by HeyReach.
10390
- * @minItems 1
10391
- */
11001
+ /** Campaign ids. Empty or omitted means all campaigns are included. */
10392
11002
  campaignIds: string[];
11003
+ /** ISO 8601 datetime lower bound, e.g. "2024-12-17T00:00:00.000Z". */
11004
+ startDate?: string;
11005
+ /** ISO 8601 datetime upper bound, e.g. "2024-12-19T23:59:59.999Z". */
11006
+ endDate?: string;
10393
11007
  [key: string]: unknown;
10394
11008
  };
10395
11009
  export type HeyreachGetOverallStats200 = {
@@ -26194,6 +26808,16 @@ export declare const getIntegrationsAPI: () => {
26194
26808
  airtableUploadAttachment: (airtableUploadAttachmentBody?: AirtableUploadAttachmentBody) => Promise<AirtableUploadAttachment200>;
26195
26809
  airtableCreateWebhook: (airtableCreateWebhookBody?: AirtableCreateWebhookBody) => Promise<AirtableCreateWebhook200>;
26196
26810
  airtableListWebhookPayloads: (airtableListWebhookPayloadsBody?: AirtableListWebhookPayloadsBody) => Promise<AirtableListWebhookPayloads200>;
26811
+ akoyaOauthInitiate: (akoyaOauthInitiateBody?: AkoyaOauthInitiateBody) => Promise<AkoyaOauthInitiate200>;
26812
+ akoyaOauthCallback: (params?: AkoyaOauthCallbackParams) => Promise<AkoyaOauthCallback200>;
26813
+ akoyaGetAccountInfo: (akoyaGetAccountInfoBody?: AkoyaGetAccountInfoBody) => Promise<AkoyaGetAccountInfo200>;
26814
+ akoyaGetBalances: (akoyaGetBalancesBody?: AkoyaGetBalancesBody) => Promise<AkoyaGetBalances200>;
26815
+ akoyaGetTransactions: (akoyaGetTransactionsBody?: AkoyaGetTransactionsBody) => Promise<AkoyaGetTransactions200>;
26816
+ akoyaGetStatements: (akoyaGetStatementsBody?: AkoyaGetStatementsBody) => Promise<AkoyaGetStatements200>;
26817
+ akoyaGetInvestments: (akoyaGetInvestmentsBody?: AkoyaGetInvestmentsBody) => Promise<AkoyaGetInvestments200>;
26818
+ akoyaGetIdentity: (akoyaGetIdentityBody?: AkoyaGetIdentityBody) => Promise<AkoyaGetIdentity200>;
26819
+ akoyaGetTaxDocuments: (akoyaGetTaxDocumentsBody?: AkoyaGetTaxDocumentsBody) => Promise<AkoyaGetTaxDocuments200>;
26820
+ akoyaRevokeConsent: (akoyaRevokeConsentBody?: AkoyaRevokeConsentBody) => Promise<AkoyaRevokeConsent200>;
26197
26821
  alloyCreatePersonEntity: (alloyCreatePersonEntityBody?: AlloyCreatePersonEntityBody) => Promise<AlloyCreatePersonEntity200>;
26198
26822
  alloyGetPersonEntity: (alloyGetPersonEntityBody?: AlloyGetPersonEntityBody) => Promise<AlloyGetPersonEntity200>;
26199
26823
  alloyCreateBusinessEntity: (alloyCreateBusinessEntityBody?: AlloyCreateBusinessEntityBody) => Promise<AlloyCreateBusinessEntity200>;
@@ -27501,6 +28125,16 @@ export type AirtableGetBaseSchemaResult = NonNullable<Awaited<ReturnType<ReturnT
27501
28125
  export type AirtableUploadAttachmentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['airtableUploadAttachment']>>>;
27502
28126
  export type AirtableCreateWebhookResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['airtableCreateWebhook']>>>;
27503
28127
  export type AirtableListWebhookPayloadsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['airtableListWebhookPayloads']>>>;
28128
+ export type AkoyaOauthInitiateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaOauthInitiate']>>>;
28129
+ export type AkoyaOauthCallbackResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaOauthCallback']>>>;
28130
+ export type AkoyaGetAccountInfoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetAccountInfo']>>>;
28131
+ export type AkoyaGetBalancesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetBalances']>>>;
28132
+ export type AkoyaGetTransactionsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetTransactions']>>>;
28133
+ export type AkoyaGetStatementsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetStatements']>>>;
28134
+ export type AkoyaGetInvestmentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetInvestments']>>>;
28135
+ export type AkoyaGetIdentityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetIdentity']>>>;
28136
+ export type AkoyaGetTaxDocumentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaGetTaxDocuments']>>>;
28137
+ export type AkoyaRevokeConsentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['akoyaRevokeConsent']>>>;
27504
28138
  export type AlloyCreatePersonEntityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['alloyCreatePersonEntity']>>>;
27505
28139
  export type AlloyGetPersonEntityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['alloyGetPersonEntity']>>>;
27506
28140
  export type AlloyCreateBusinessEntityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['alloyCreateBusinessEntity']>>>;