exa-js 2.5.1-beta.0 → 2.5.1-beta.2

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.ts CHANGED
@@ -3324,35 +3324,35 @@ type CreateWebsetParameters = {
3324
3324
  description: string;
3325
3325
  }[];
3326
3326
  recall?: boolean;
3327
- exclude?: {
3327
+ exclude?: ({
3328
3328
  source: "import" | "webset";
3329
3329
  id: string;
3330
- }[];
3331
- scope?: {
3330
+ })[];
3331
+ scope?: ({
3332
3332
  source: "import" | "webset";
3333
3333
  id: string;
3334
3334
  relationship?: {
3335
3335
  definition: string;
3336
3336
  limit: number;
3337
3337
  };
3338
- }[];
3338
+ })[];
3339
3339
  };
3340
- import?: {
3340
+ import?: ({
3341
3341
  source: "import" | "webset";
3342
3342
  id: string;
3343
- }[];
3344
- enrichments?: {
3343
+ })[];
3344
+ enrichments?: ({
3345
3345
  description: string;
3346
3346
  format?: "text" | "date" | "number" | "options" | "email" | "phone" | "url";
3347
3347
  options?: {
3348
3348
  label: string;
3349
3349
  }[];
3350
3350
  metadata?: Record<string, string>;
3351
- }[];
3352
- exclude?: {
3351
+ })[];
3352
+ exclude?: ({
3353
3353
  source: "import" | "webset";
3354
3354
  id: string;
3355
- }[];
3355
+ })[];
3356
3356
  externalId?: string;
3357
3357
  metadata?: Record<string, string>;
3358
3358
  };
@@ -3382,18 +3382,18 @@ type WebsetSearch = {
3382
3382
  }[];
3383
3383
  count: number;
3384
3384
  behavior?: "override" | "append";
3385
- exclude: {
3385
+ exclude: ({
3386
3386
  source: "import" | "webset";
3387
3387
  id: string;
3388
- }[];
3389
- scope: {
3388
+ })[];
3389
+ scope: ({
3390
3390
  source: "import" | "webset";
3391
3391
  id: string;
3392
3392
  relationship?: {
3393
3393
  definition: string;
3394
3394
  limit: number;
3395
3395
  };
3396
- }[];
3396
+ })[];
3397
3397
  progress: {
3398
3398
  found: number;
3399
3399
  analyzed: number;
@@ -3532,7 +3532,7 @@ type Webset = {
3532
3532
  status: "idle" | "pending" | "running" | "paused";
3533
3533
  externalId: string | null;
3534
3534
  title: string | null;
3535
- searches: {
3535
+ searches: ({
3536
3536
  id: string;
3537
3537
  object: "webset_search";
3538
3538
  status: "created" | "pending" | "running" | "completed" | "canceled";
@@ -3558,18 +3558,18 @@ type Webset = {
3558
3558
  }[];
3559
3559
  count: number;
3560
3560
  behavior?: "override" | "append";
3561
- exclude: {
3561
+ exclude: ({
3562
3562
  source: "import" | "webset";
3563
3563
  id: string;
3564
- }[];
3565
- scope: {
3564
+ })[];
3565
+ scope: ({
3566
3566
  source: "import" | "webset";
3567
3567
  id: string;
3568
3568
  relationship?: {
3569
3569
  definition: string;
3570
3570
  limit: number;
3571
3571
  };
3572
- }[];
3572
+ })[];
3573
3573
  progress: {
3574
3574
  found: number;
3575
3575
  analyzed: number;
@@ -3592,8 +3592,8 @@ type Webset = {
3592
3592
  canceledReason: "webset_deleted" | "webset_canceled" | "out_of_credits";
3593
3593
  createdAt: string;
3594
3594
  updatedAt: string;
3595
- }[];
3596
- imports: {
3595
+ })[];
3596
+ imports: ({
3597
3597
  id: string;
3598
3598
  object: "import";
3599
3599
  status: "pending" | "processing" | "completed" | "failed";
@@ -3620,8 +3620,8 @@ type Webset = {
3620
3620
  failedMessage: string | null;
3621
3621
  createdAt: string;
3622
3622
  updatedAt: string;
3623
- }[];
3624
- enrichments: {
3623
+ })[];
3624
+ enrichments: ({
3625
3625
  id: string;
3626
3626
  object: "webset_enrichment";
3627
3627
  status: "pending" | "canceled" | "completed";
@@ -3636,8 +3636,8 @@ type Webset = {
3636
3636
  metadata?: Record<string, string>;
3637
3637
  createdAt: string;
3638
3638
  updatedAt: string;
3639
- }[];
3640
- monitors: {
3639
+ })[];
3640
+ monitors: ({
3641
3641
  id: string;
3642
3642
  object: "monitor";
3643
3643
  status: "enabled" | "disabled";
@@ -3688,11 +3688,11 @@ type Webset = {
3688
3688
  metadata: Record<string, string>;
3689
3689
  createdAt: string;
3690
3690
  updatedAt: string;
3691
- }[];
3692
- excludes?: {
3691
+ })[];
3692
+ excludes?: ({
3693
3693
  source: "import" | "webset";
3694
3694
  id: string;
3695
- }[];
3695
+ })[];
3696
3696
  metadata?: Record<string, string>;
3697
3697
  createdAt: string;
3698
3698
  updatedAt: string;
@@ -3787,29 +3787,29 @@ type WebsetItem = {
3787
3787
  publishedAt: string | null;
3788
3788
  };
3789
3789
  };
3790
- evaluations: {
3790
+ evaluations: ({
3791
3791
  criterion: string;
3792
3792
  reasoning: string;
3793
3793
  satisfied: "yes" | "no" | "unclear";
3794
- references?: {
3794
+ references?: ({
3795
3795
  title: string | null;
3796
3796
  snippet: string | null;
3797
3797
  url: string;
3798
- }[];
3799
- }[];
3800
- enrichments: {
3798
+ })[];
3799
+ })[];
3800
+ enrichments: ({
3801
3801
  object: "enrichment_result";
3802
3802
  status: "pending" | "completed" | "canceled";
3803
3803
  format: "text" | "date" | "number" | "options" | "email" | "phone" | "url";
3804
3804
  result: string[] | null;
3805
3805
  reasoning: string | null;
3806
- references: {
3806
+ references: ({
3807
3807
  title: string | null;
3808
3808
  snippet: string | null;
3809
3809
  url: string;
3810
- }[];
3810
+ })[];
3811
3811
  enrichmentId: string;
3812
- }[] | null;
3812
+ })[] | null;
3813
3813
  createdAt: string;
3814
3814
  updatedAt: string;
3815
3815
  };
@@ -3819,7 +3819,7 @@ type GetWebsetResponse = {
3819
3819
  status: "idle" | "pending" | "running" | "paused";
3820
3820
  externalId: string | null;
3821
3821
  title: string | null;
3822
- searches: {
3822
+ searches: ({
3823
3823
  id: string;
3824
3824
  object: "webset_search";
3825
3825
  status: "created" | "pending" | "running" | "completed" | "canceled";
@@ -3845,18 +3845,18 @@ type GetWebsetResponse = {
3845
3845
  }[];
3846
3846
  count: number;
3847
3847
  behavior?: "override" | "append";
3848
- exclude: {
3848
+ exclude: ({
3849
3849
  source: "import" | "webset";
3850
3850
  id: string;
3851
- }[];
3852
- scope: {
3851
+ })[];
3852
+ scope: ({
3853
3853
  source: "import" | "webset";
3854
3854
  id: string;
3855
3855
  relationship?: {
3856
3856
  definition: string;
3857
3857
  limit: number;
3858
3858
  };
3859
- }[];
3859
+ })[];
3860
3860
  progress: {
3861
3861
  found: number;
3862
3862
  analyzed: number;
@@ -3879,8 +3879,8 @@ type GetWebsetResponse = {
3879
3879
  canceledReason: "webset_deleted" | "webset_canceled" | "out_of_credits";
3880
3880
  createdAt: string;
3881
3881
  updatedAt: string;
3882
- }[];
3883
- imports: {
3882
+ })[];
3883
+ imports: ({
3884
3884
  id: string;
3885
3885
  object: "import";
3886
3886
  status: "pending" | "processing" | "completed" | "failed";
@@ -3907,8 +3907,8 @@ type GetWebsetResponse = {
3907
3907
  failedMessage: string | null;
3908
3908
  createdAt: string;
3909
3909
  updatedAt: string;
3910
- }[];
3911
- enrichments: {
3910
+ })[];
3911
+ enrichments: ({
3912
3912
  id: string;
3913
3913
  object: "webset_enrichment";
3914
3914
  status: "pending" | "canceled" | "completed";
@@ -3923,8 +3923,8 @@ type GetWebsetResponse = {
3923
3923
  metadata?: Record<string, string>;
3924
3924
  createdAt: string;
3925
3925
  updatedAt: string;
3926
- }[];
3927
- monitors: {
3926
+ })[];
3927
+ monitors: ({
3928
3928
  id: string;
3929
3929
  object: "monitor";
3930
3930
  status: "enabled" | "disabled";
@@ -3975,16 +3975,16 @@ type GetWebsetResponse = {
3975
3975
  metadata: Record<string, string>;
3976
3976
  createdAt: string;
3977
3977
  updatedAt: string;
3978
- }[];
3979
- excludes?: {
3978
+ })[];
3979
+ excludes?: ({
3980
3980
  source: "import" | "webset";
3981
3981
  id: string;
3982
- }[];
3982
+ })[];
3983
3983
  metadata?: Record<string, string>;
3984
3984
  createdAt: string;
3985
3985
  updatedAt: string;
3986
3986
  } & {
3987
- items?: {
3987
+ items?: ({
3988
3988
  id: string;
3989
3989
  object: "webset_item";
3990
3990
  source: "search" | "import";
@@ -4074,44 +4074,44 @@ type GetWebsetResponse = {
4074
4074
  publishedAt: string | null;
4075
4075
  };
4076
4076
  };
4077
- evaluations: {
4077
+ evaluations: ({
4078
4078
  criterion: string;
4079
4079
  reasoning: string;
4080
4080
  satisfied: "yes" | "no" | "unclear";
4081
- references?: {
4081
+ references?: ({
4082
4082
  title: string | null;
4083
4083
  snippet: string | null;
4084
4084
  url: string;
4085
- }[];
4086
- }[];
4087
- enrichments: {
4085
+ })[];
4086
+ })[];
4087
+ enrichments: ({
4088
4088
  object: "enrichment_result";
4089
4089
  status: "pending" | "completed" | "canceled";
4090
4090
  format: "text" | "date" | "number" | "options" | "email" | "phone" | "url";
4091
4091
  result: string[] | null;
4092
4092
  reasoning: string | null;
4093
- references: {
4093
+ references: ({
4094
4094
  title: string | null;
4095
4095
  snippet: string | null;
4096
4096
  url: string;
4097
- }[];
4097
+ })[];
4098
4098
  enrichmentId: string;
4099
- }[] | null;
4099
+ })[] | null;
4100
4100
  createdAt: string;
4101
4101
  updatedAt: string;
4102
- }[];
4102
+ })[];
4103
4103
  };
4104
4104
  interface UpdateWebsetRequest {
4105
4105
  metadata?: Record<string, string> | null;
4106
4106
  }
4107
4107
  type ListWebsetsResponse = {
4108
- data: {
4108
+ data: ({
4109
4109
  id: string;
4110
4110
  object: "webset";
4111
4111
  status: "idle" | "pending" | "running" | "paused";
4112
4112
  externalId: string | null;
4113
4113
  title: string | null;
4114
- searches: {
4114
+ searches: ({
4115
4115
  id: string;
4116
4116
  object: "webset_search";
4117
4117
  status: "created" | "pending" | "running" | "completed" | "canceled";
@@ -4137,18 +4137,18 @@ type ListWebsetsResponse = {
4137
4137
  }[];
4138
4138
  count: number;
4139
4139
  behavior?: "override" | "append";
4140
- exclude: {
4140
+ exclude: ({
4141
4141
  source: "import" | "webset";
4142
4142
  id: string;
4143
- }[];
4144
- scope: {
4143
+ })[];
4144
+ scope: ({
4145
4145
  source: "import" | "webset";
4146
4146
  id: string;
4147
4147
  relationship?: {
4148
4148
  definition: string;
4149
4149
  limit: number;
4150
4150
  };
4151
- }[];
4151
+ })[];
4152
4152
  progress: {
4153
4153
  found: number;
4154
4154
  analyzed: number;
@@ -4171,8 +4171,8 @@ type ListWebsetsResponse = {
4171
4171
  canceledReason: "webset_deleted" | "webset_canceled" | "out_of_credits";
4172
4172
  createdAt: string;
4173
4173
  updatedAt: string;
4174
- }[];
4175
- imports: {
4174
+ })[];
4175
+ imports: ({
4176
4176
  id: string;
4177
4177
  object: "import";
4178
4178
  status: "pending" | "processing" | "completed" | "failed";
@@ -4199,8 +4199,8 @@ type ListWebsetsResponse = {
4199
4199
  failedMessage: string | null;
4200
4200
  createdAt: string;
4201
4201
  updatedAt: string;
4202
- }[];
4203
- enrichments: {
4202
+ })[];
4203
+ enrichments: ({
4204
4204
  id: string;
4205
4205
  object: "webset_enrichment";
4206
4206
  status: "pending" | "canceled" | "completed";
@@ -4215,8 +4215,8 @@ type ListWebsetsResponse = {
4215
4215
  metadata?: Record<string, string>;
4216
4216
  createdAt: string;
4217
4217
  updatedAt: string;
4218
- }[];
4219
- monitors: {
4218
+ })[];
4219
+ monitors: ({
4220
4220
  id: string;
4221
4221
  object: "monitor";
4222
4222
  status: "enabled" | "disabled";
@@ -4267,15 +4267,15 @@ type ListWebsetsResponse = {
4267
4267
  metadata: Record<string, string>;
4268
4268
  createdAt: string;
4269
4269
  updatedAt: string;
4270
- }[];
4271
- excludes?: {
4270
+ })[];
4271
+ excludes?: ({
4272
4272
  source: "import" | "webset";
4273
4273
  id: string;
4274
- }[];
4274
+ })[];
4275
4275
  metadata?: Record<string, string>;
4276
4276
  createdAt: string;
4277
4277
  updatedAt: string;
4278
- }[];
4278
+ })[];
4279
4279
  hasMore: boolean;
4280
4280
  nextCursor: string | null;
4281
4281
  };
@@ -4319,14 +4319,14 @@ type PreviewWebsetResponse = {
4319
4319
  description: string;
4320
4320
  }[];
4321
4321
  };
4322
- enrichments: {
4322
+ enrichments: ({
4323
4323
  description: string;
4324
4324
  format: "text" | "date" | "number" | "options" | "email" | "phone" | "url";
4325
4325
  options?: {
4326
4326
  label: string;
4327
4327
  }[];
4328
- }[];
4329
- items: {
4328
+ })[];
4329
+ items: ({
4330
4330
  id: string;
4331
4331
  properties: {
4332
4332
  type: "person";
@@ -4412,10 +4412,10 @@ type PreviewWebsetResponse = {
4412
4412
  };
4413
4413
  };
4414
4414
  createdAt: string;
4415
- }[];
4415
+ })[];
4416
4416
  };
4417
4417
  type ListWebsetItemResponse = {
4418
- data: {
4418
+ data: ({
4419
4419
  id: string;
4420
4420
  object: "webset_item";
4421
4421
  source: "search" | "import";
@@ -4505,32 +4505,32 @@ type ListWebsetItemResponse = {
4505
4505
  publishedAt: string | null;
4506
4506
  };
4507
4507
  };
4508
- evaluations: {
4508
+ evaluations: ({
4509
4509
  criterion: string;
4510
4510
  reasoning: string;
4511
4511
  satisfied: "yes" | "no" | "unclear";
4512
- references?: {
4512
+ references?: ({
4513
4513
  title: string | null;
4514
4514
  snippet: string | null;
4515
4515
  url: string;
4516
- }[];
4517
- }[];
4518
- enrichments: {
4516
+ })[];
4517
+ })[];
4518
+ enrichments: ({
4519
4519
  object: "enrichment_result";
4520
4520
  status: "pending" | "completed" | "canceled";
4521
4521
  format: "text" | "date" | "number" | "options" | "email" | "phone" | "url";
4522
4522
  result: string[] | null;
4523
4523
  reasoning: string | null;
4524
- references: {
4524
+ references: ({
4525
4525
  title: string | null;
4526
4526
  snippet: string | null;
4527
4527
  url: string;
4528
- }[];
4528
+ })[];
4529
4529
  enrichmentId: string;
4530
- }[] | null;
4530
+ })[] | null;
4531
4531
  createdAt: string;
4532
4532
  updatedAt: string;
4533
- }[];
4533
+ })[];
4534
4534
  hasMore: boolean;
4535
4535
  nextCursor: string | null;
4536
4536
  };
@@ -4564,7 +4564,7 @@ interface UpdateWebhookParameters {
4564
4564
  metadata?: Record<string, string>;
4565
4565
  }
4566
4566
  interface ListWebhooksResponse {
4567
- data: {
4567
+ data: ({
4568
4568
  id: string;
4569
4569
  object: "webhook";
4570
4570
  status: "active" | "inactive";
@@ -4574,12 +4574,12 @@ interface ListWebhooksResponse {
4574
4574
  metadata?: Record<string, string>;
4575
4575
  createdAt: string;
4576
4576
  updatedAt: string;
4577
- }[];
4577
+ })[];
4578
4578
  hasMore: boolean;
4579
4579
  nextCursor: string | null;
4580
4580
  }
4581
4581
  interface ListWebhookAttemptsResponse {
4582
- data: {
4582
+ data: ({
4583
4583
  id: string;
4584
4584
  object: "webhook_attempt";
4585
4585
  eventId: string;
@@ -4592,7 +4592,7 @@ interface ListWebhookAttemptsResponse {
4592
4592
  responseStatusCode: number;
4593
4593
  attempt: number;
4594
4594
  attemptedAt: string;
4595
- }[];
4595
+ })[];
4596
4596
  hasMore: boolean;
4597
4597
  nextCursor: string | null;
4598
4598
  }
@@ -4606,7 +4606,7 @@ type Event = {
4606
4606
  status: "idle" | "pending" | "running" | "paused";
4607
4607
  externalId: string | null;
4608
4608
  title: string | null;
4609
- searches: {
4609
+ searches: ({
4610
4610
  id: string;
4611
4611
  object: "webset_search";
4612
4612
  status: "created" | "pending" | "running" | "completed" | "canceled";
@@ -4632,18 +4632,18 @@ type Event = {
4632
4632
  }[];
4633
4633
  count: number;
4634
4634
  behavior?: "override" | "append";
4635
- exclude: {
4635
+ exclude: ({
4636
4636
  source: "import" | "webset";
4637
4637
  id: string;
4638
- }[];
4639
- scope: {
4638
+ })[];
4639
+ scope: ({
4640
4640
  source: "import" | "webset";
4641
4641
  id: string;
4642
4642
  relationship?: {
4643
4643
  definition: string;
4644
4644
  limit: number;
4645
4645
  };
4646
- }[];
4646
+ })[];
4647
4647
  progress: {
4648
4648
  found: number;
4649
4649
  analyzed: number;
@@ -4666,8 +4666,8 @@ type Event = {
4666
4666
  canceledReason: "webset_deleted" | "webset_canceled" | "out_of_credits";
4667
4667
  createdAt: string;
4668
4668
  updatedAt: string;
4669
- }[];
4670
- imports: {
4669
+ })[];
4670
+ imports: ({
4671
4671
  id: string;
4672
4672
  object: "import";
4673
4673
  status: "pending" | "processing" | "completed" | "failed";
@@ -4694,8 +4694,8 @@ type Event = {
4694
4694
  failedMessage: string | null;
4695
4695
  createdAt: string;
4696
4696
  updatedAt: string;
4697
- }[];
4698
- enrichments: {
4697
+ })[];
4698
+ enrichments: ({
4699
4699
  id: string;
4700
4700
  object: "webset_enrichment";
4701
4701
  status: "pending" | "canceled" | "completed";
@@ -4710,8 +4710,8 @@ type Event = {
4710
4710
  metadata?: Record<string, string>;
4711
4711
  createdAt: string;
4712
4712
  updatedAt: string;
4713
- }[];
4714
- monitors: {
4713
+ })[];
4714
+ monitors: ({
4715
4715
  id: string;
4716
4716
  object: "monitor";
4717
4717
  status: "enabled" | "disabled";
@@ -4762,11 +4762,11 @@ type Event = {
4762
4762
  metadata: Record<string, string>;
4763
4763
  createdAt: string;
4764
4764
  updatedAt: string;
4765
- }[];
4766
- excludes?: {
4765
+ })[];
4766
+ excludes?: ({
4767
4767
  source: "import" | "webset";
4768
4768
  id: string;
4769
- }[];
4769
+ })[];
4770
4770
  metadata?: Record<string, string>;
4771
4771
  createdAt: string;
4772
4772
  updatedAt: string;
@@ -4782,7 +4782,7 @@ type Event = {
4782
4782
  status: "idle" | "pending" | "running" | "paused";
4783
4783
  externalId: string | null;
4784
4784
  title: string | null;
4785
- searches: {
4785
+ searches: ({
4786
4786
  id: string;
4787
4787
  object: "webset_search";
4788
4788
  status: "created" | "pending" | "running" | "completed" | "canceled";
@@ -4808,18 +4808,18 @@ type Event = {
4808
4808
  }[];
4809
4809
  count: number;
4810
4810
  behavior?: "override" | "append";
4811
- exclude: {
4811
+ exclude: ({
4812
4812
  source: "import" | "webset";
4813
4813
  id: string;
4814
- }[];
4815
- scope: {
4814
+ })[];
4815
+ scope: ({
4816
4816
  source: "import" | "webset";
4817
4817
  id: string;
4818
4818
  relationship?: {
4819
4819
  definition: string;
4820
4820
  limit: number;
4821
4821
  };
4822
- }[];
4822
+ })[];
4823
4823
  progress: {
4824
4824
  found: number;
4825
4825
  analyzed: number;
@@ -4842,8 +4842,8 @@ type Event = {
4842
4842
  canceledReason: "webset_deleted" | "webset_canceled" | "out_of_credits";
4843
4843
  createdAt: string;
4844
4844
  updatedAt: string;
4845
- }[];
4846
- imports: {
4845
+ })[];
4846
+ imports: ({
4847
4847
  id: string;
4848
4848
  object: "import";
4849
4849
  status: "pending" | "processing" | "completed" | "failed";
@@ -4870,8 +4870,8 @@ type Event = {
4870
4870
  failedMessage: string | null;
4871
4871
  createdAt: string;
4872
4872
  updatedAt: string;
4873
- }[];
4874
- enrichments: {
4873
+ })[];
4874
+ enrichments: ({
4875
4875
  id: string;
4876
4876
  object: "webset_enrichment";
4877
4877
  status: "pending" | "canceled" | "completed";
@@ -4886,8 +4886,8 @@ type Event = {
4886
4886
  metadata?: Record<string, string>;
4887
4887
  createdAt: string;
4888
4888
  updatedAt: string;
4889
- }[];
4890
- monitors: {
4889
+ })[];
4890
+ monitors: ({
4891
4891
  id: string;
4892
4892
  object: "monitor";
4893
4893
  status: "enabled" | "disabled";
@@ -4938,11 +4938,11 @@ type Event = {
4938
4938
  metadata: Record<string, string>;
4939
4939
  createdAt: string;
4940
4940
  updatedAt: string;
4941
- }[];
4942
- excludes?: {
4941
+ })[];
4942
+ excludes?: ({
4943
4943
  source: "import" | "webset";
4944
4944
  id: string;
4945
- }[];
4945
+ })[];
4946
4946
  metadata?: Record<string, string>;
4947
4947
  createdAt: string;
4948
4948
  updatedAt: string;
@@ -4958,7 +4958,7 @@ type Event = {
4958
4958
  status: "idle" | "pending" | "running" | "paused";
4959
4959
  externalId: string | null;
4960
4960
  title: string | null;
4961
- searches: {
4961
+ searches: ({
4962
4962
  id: string;
4963
4963
  object: "webset_search";
4964
4964
  status: "created" | "pending" | "running" | "completed" | "canceled";
@@ -4984,18 +4984,18 @@ type Event = {
4984
4984
  }[];
4985
4985
  count: number;
4986
4986
  behavior?: "override" | "append";
4987
- exclude: {
4987
+ exclude: ({
4988
4988
  source: "import" | "webset";
4989
4989
  id: string;
4990
- }[];
4991
- scope: {
4990
+ })[];
4991
+ scope: ({
4992
4992
  source: "import" | "webset";
4993
4993
  id: string;
4994
4994
  relationship?: {
4995
4995
  definition: string;
4996
4996
  limit: number;
4997
4997
  };
4998
- }[];
4998
+ })[];
4999
4999
  progress: {
5000
5000
  found: number;
5001
5001
  analyzed: number;
@@ -5018,8 +5018,8 @@ type Event = {
5018
5018
  canceledReason: "webset_deleted" | "webset_canceled" | "out_of_credits";
5019
5019
  createdAt: string;
5020
5020
  updatedAt: string;
5021
- }[];
5022
- imports: {
5021
+ })[];
5022
+ imports: ({
5023
5023
  id: string;
5024
5024
  object: "import";
5025
5025
  status: "pending" | "processing" | "completed" | "failed";
@@ -5046,8 +5046,8 @@ type Event = {
5046
5046
  failedMessage: string | null;
5047
5047
  createdAt: string;
5048
5048
  updatedAt: string;
5049
- }[];
5050
- enrichments: {
5049
+ })[];
5050
+ enrichments: ({
5051
5051
  id: string;
5052
5052
  object: "webset_enrichment";
5053
5053
  status: "pending" | "canceled" | "completed";
@@ -5062,8 +5062,8 @@ type Event = {
5062
5062
  metadata?: Record<string, string>;
5063
5063
  createdAt: string;
5064
5064
  updatedAt: string;
5065
- }[];
5066
- monitors: {
5065
+ })[];
5066
+ monitors: ({
5067
5067
  id: string;
5068
5068
  object: "monitor";
5069
5069
  status: "enabled" | "disabled";
@@ -5114,11 +5114,11 @@ type Event = {
5114
5114
  metadata: Record<string, string>;
5115
5115
  createdAt: string;
5116
5116
  updatedAt: string;
5117
- }[];
5118
- excludes?: {
5117
+ })[];
5118
+ excludes?: ({
5119
5119
  source: "import" | "webset";
5120
5120
  id: string;
5121
- }[];
5121
+ })[];
5122
5122
  metadata?: Record<string, string>;
5123
5123
  createdAt: string;
5124
5124
  updatedAt: string;
@@ -5134,7 +5134,7 @@ type Event = {
5134
5134
  status: "idle" | "pending" | "running" | "paused";
5135
5135
  externalId: string | null;
5136
5136
  title: string | null;
5137
- searches: {
5137
+ searches: ({
5138
5138
  id: string;
5139
5139
  object: "webset_search";
5140
5140
  status: "created" | "pending" | "running" | "completed" | "canceled";
@@ -5160,18 +5160,18 @@ type Event = {
5160
5160
  }[];
5161
5161
  count: number;
5162
5162
  behavior?: "override" | "append";
5163
- exclude: {
5163
+ exclude: ({
5164
5164
  source: "import" | "webset";
5165
5165
  id: string;
5166
- }[];
5167
- scope: {
5166
+ })[];
5167
+ scope: ({
5168
5168
  source: "import" | "webset";
5169
5169
  id: string;
5170
5170
  relationship?: {
5171
5171
  definition: string;
5172
5172
  limit: number;
5173
5173
  };
5174
- }[];
5174
+ })[];
5175
5175
  progress: {
5176
5176
  found: number;
5177
5177
  analyzed: number;
@@ -5194,8 +5194,8 @@ type Event = {
5194
5194
  canceledReason: "webset_deleted" | "webset_canceled" | "out_of_credits";
5195
5195
  createdAt: string;
5196
5196
  updatedAt: string;
5197
- }[];
5198
- imports: {
5197
+ })[];
5198
+ imports: ({
5199
5199
  id: string;
5200
5200
  object: "import";
5201
5201
  status: "pending" | "processing" | "completed" | "failed";
@@ -5222,8 +5222,8 @@ type Event = {
5222
5222
  failedMessage: string | null;
5223
5223
  createdAt: string;
5224
5224
  updatedAt: string;
5225
- }[];
5226
- enrichments: {
5225
+ })[];
5226
+ enrichments: ({
5227
5227
  id: string;
5228
5228
  object: "webset_enrichment";
5229
5229
  status: "pending" | "canceled" | "completed";
@@ -5238,8 +5238,8 @@ type Event = {
5238
5238
  metadata?: Record<string, string>;
5239
5239
  createdAt: string;
5240
5240
  updatedAt: string;
5241
- }[];
5242
- monitors: {
5241
+ })[];
5242
+ monitors: ({
5243
5243
  id: string;
5244
5244
  object: "monitor";
5245
5245
  status: "enabled" | "disabled";
@@ -5290,11 +5290,11 @@ type Event = {
5290
5290
  metadata: Record<string, string>;
5291
5291
  createdAt: string;
5292
5292
  updatedAt: string;
5293
- }[];
5294
- excludes?: {
5293
+ })[];
5294
+ excludes?: ({
5295
5295
  source: "import" | "webset";
5296
5296
  id: string;
5297
- }[];
5297
+ })[];
5298
5298
  metadata?: Record<string, string>;
5299
5299
  createdAt: string;
5300
5300
  updatedAt: string;
@@ -5394,29 +5394,29 @@ type Event = {
5394
5394
  publishedAt: string | null;
5395
5395
  };
5396
5396
  };
5397
- evaluations: {
5397
+ evaluations: ({
5398
5398
  criterion: string;
5399
5399
  reasoning: string;
5400
5400
  satisfied: "yes" | "no" | "unclear";
5401
- references?: {
5401
+ references?: ({
5402
5402
  title: string | null;
5403
5403
  snippet: string | null;
5404
5404
  url: string;
5405
- }[];
5406
- }[];
5407
- enrichments: {
5405
+ })[];
5406
+ })[];
5407
+ enrichments: ({
5408
5408
  object: "enrichment_result";
5409
5409
  status: "pending" | "completed" | "canceled";
5410
5410
  format: "text" | "date" | "number" | "options" | "email" | "phone" | "url";
5411
5411
  result: string[] | null;
5412
5412
  reasoning: string | null;
5413
- references: {
5413
+ references: ({
5414
5414
  title: string | null;
5415
5415
  snippet: string | null;
5416
5416
  url: string;
5417
- }[];
5417
+ })[];
5418
5418
  enrichmentId: string;
5419
- }[] | null;
5419
+ })[] | null;
5420
5420
  createdAt: string;
5421
5421
  updatedAt: string;
5422
5422
  };
@@ -5515,29 +5515,29 @@ type Event = {
5515
5515
  publishedAt: string | null;
5516
5516
  };
5517
5517
  };
5518
- evaluations: {
5518
+ evaluations: ({
5519
5519
  criterion: string;
5520
5520
  reasoning: string;
5521
5521
  satisfied: "yes" | "no" | "unclear";
5522
- references?: {
5522
+ references?: ({
5523
5523
  title: string | null;
5524
5524
  snippet: string | null;
5525
5525
  url: string;
5526
- }[];
5527
- }[];
5528
- enrichments: {
5526
+ })[];
5527
+ })[];
5528
+ enrichments: ({
5529
5529
  object: "enrichment_result";
5530
5530
  status: "pending" | "completed" | "canceled";
5531
5531
  format: "text" | "date" | "number" | "options" | "email" | "phone" | "url";
5532
5532
  result: string[] | null;
5533
5533
  reasoning: string | null;
5534
- references: {
5534
+ references: ({
5535
5535
  title: string | null;
5536
5536
  snippet: string | null;
5537
5537
  url: string;
5538
- }[];
5538
+ })[];
5539
5539
  enrichmentId: string;
5540
- }[] | null;
5540
+ })[] | null;
5541
5541
  createdAt: string;
5542
5542
  updatedAt: string;
5543
5543
  };
@@ -5572,18 +5572,18 @@ type Event = {
5572
5572
  }[];
5573
5573
  count: number;
5574
5574
  behavior?: "override" | "append";
5575
- exclude: {
5575
+ exclude: ({
5576
5576
  source: "import" | "webset";
5577
5577
  id: string;
5578
- }[];
5579
- scope: {
5578
+ })[];
5579
+ scope: ({
5580
5580
  source: "import" | "webset";
5581
5581
  id: string;
5582
5582
  relationship?: {
5583
5583
  definition: string;
5584
5584
  limit: number;
5585
5585
  };
5586
- }[];
5586
+ })[];
5587
5587
  progress: {
5588
5588
  found: number;
5589
5589
  analyzed: number;
@@ -5638,18 +5638,18 @@ type Event = {
5638
5638
  }[];
5639
5639
  count: number;
5640
5640
  behavior?: "override" | "append";
5641
- exclude: {
5641
+ exclude: ({
5642
5642
  source: "import" | "webset";
5643
5643
  id: string;
5644
- }[];
5645
- scope: {
5644
+ })[];
5645
+ scope: ({
5646
5646
  source: "import" | "webset";
5647
5647
  id: string;
5648
5648
  relationship?: {
5649
5649
  definition: string;
5650
5650
  limit: number;
5651
5651
  };
5652
- }[];
5652
+ })[];
5653
5653
  progress: {
5654
5654
  found: number;
5655
5655
  analyzed: number;
@@ -5704,18 +5704,18 @@ type Event = {
5704
5704
  }[];
5705
5705
  count: number;
5706
5706
  behavior?: "override" | "append";
5707
- exclude: {
5707
+ exclude: ({
5708
5708
  source: "import" | "webset";
5709
5709
  id: string;
5710
- }[];
5711
- scope: {
5710
+ })[];
5711
+ scope: ({
5712
5712
  source: "import" | "webset";
5713
5713
  id: string;
5714
5714
  relationship?: {
5715
5715
  definition: string;
5716
5716
  limit: number;
5717
5717
  };
5718
- }[];
5718
+ })[];
5719
5719
  progress: {
5720
5720
  found: number;
5721
5721
  analyzed: number;
@@ -5770,18 +5770,18 @@ type Event = {
5770
5770
  }[];
5771
5771
  count: number;
5772
5772
  behavior?: "override" | "append";
5773
- exclude: {
5773
+ exclude: ({
5774
5774
  source: "import" | "webset";
5775
5775
  id: string;
5776
- }[];
5777
- scope: {
5776
+ })[];
5777
+ scope: ({
5778
5778
  source: "import" | "webset";
5779
5779
  id: string;
5780
5780
  relationship?: {
5781
5781
  definition: string;
5782
5782
  limit: number;
5783
5783
  };
5784
- }[];
5784
+ })[];
5785
5785
  progress: {
5786
5786
  found: number;
5787
5787
  analyzed: number;
@@ -6091,7 +6091,7 @@ type ListEventsResponse = {
6091
6091
  status: "idle" | "pending" | "running" | "paused";
6092
6092
  externalId: string | null;
6093
6093
  title: string | null;
6094
- searches: {
6094
+ searches: ({
6095
6095
  id: string;
6096
6096
  object: "webset_search";
6097
6097
  status: "created" | "pending" | "running" | "completed" | "canceled";
@@ -6117,18 +6117,18 @@ type ListEventsResponse = {
6117
6117
  }[];
6118
6118
  count: number;
6119
6119
  behavior?: "override" | "append";
6120
- exclude: {
6120
+ exclude: ({
6121
6121
  source: "import" | "webset";
6122
6122
  id: string;
6123
- }[];
6124
- scope: {
6123
+ })[];
6124
+ scope: ({
6125
6125
  source: "import" | "webset";
6126
6126
  id: string;
6127
6127
  relationship?: {
6128
6128
  definition: string;
6129
6129
  limit: number;
6130
6130
  };
6131
- }[];
6131
+ })[];
6132
6132
  progress: {
6133
6133
  found: number;
6134
6134
  analyzed: number;
@@ -6151,8 +6151,8 @@ type ListEventsResponse = {
6151
6151
  canceledReason: "webset_deleted" | "webset_canceled" | "out_of_credits";
6152
6152
  createdAt: string;
6153
6153
  updatedAt: string;
6154
- }[];
6155
- imports: {
6154
+ })[];
6155
+ imports: ({
6156
6156
  id: string;
6157
6157
  object: "import";
6158
6158
  status: "pending" | "processing" | "completed" | "failed";
@@ -6179,8 +6179,8 @@ type ListEventsResponse = {
6179
6179
  failedMessage: string | null;
6180
6180
  createdAt: string;
6181
6181
  updatedAt: string;
6182
- }[];
6183
- enrichments: {
6182
+ })[];
6183
+ enrichments: ({
6184
6184
  id: string;
6185
6185
  object: "webset_enrichment";
6186
6186
  status: "pending" | "canceled" | "completed";
@@ -6195,8 +6195,8 @@ type ListEventsResponse = {
6195
6195
  metadata?: Record<string, string>;
6196
6196
  createdAt: string;
6197
6197
  updatedAt: string;
6198
- }[];
6199
- monitors: {
6198
+ })[];
6199
+ monitors: ({
6200
6200
  id: string;
6201
6201
  object: "monitor";
6202
6202
  status: "enabled" | "disabled";
@@ -6247,11 +6247,11 @@ type ListEventsResponse = {
6247
6247
  metadata: Record<string, string>;
6248
6248
  createdAt: string;
6249
6249
  updatedAt: string;
6250
- }[];
6251
- excludes?: {
6250
+ })[];
6251
+ excludes?: ({
6252
6252
  source: "import" | "webset";
6253
6253
  id: string;
6254
- }[];
6254
+ })[];
6255
6255
  metadata?: Record<string, string>;
6256
6256
  createdAt: string;
6257
6257
  updatedAt: string;
@@ -6267,7 +6267,7 @@ type ListEventsResponse = {
6267
6267
  status: "idle" | "pending" | "running" | "paused";
6268
6268
  externalId: string | null;
6269
6269
  title: string | null;
6270
- searches: {
6270
+ searches: ({
6271
6271
  id: string;
6272
6272
  object: "webset_search";
6273
6273
  status: "created" | "pending" | "running" | "completed" | "canceled";
@@ -6293,18 +6293,18 @@ type ListEventsResponse = {
6293
6293
  }[];
6294
6294
  count: number;
6295
6295
  behavior?: "override" | "append";
6296
- exclude: {
6296
+ exclude: ({
6297
6297
  source: "import" | "webset";
6298
6298
  id: string;
6299
- }[];
6300
- scope: {
6299
+ })[];
6300
+ scope: ({
6301
6301
  source: "import" | "webset";
6302
6302
  id: string;
6303
6303
  relationship?: {
6304
6304
  definition: string;
6305
6305
  limit: number;
6306
6306
  };
6307
- }[];
6307
+ })[];
6308
6308
  progress: {
6309
6309
  found: number;
6310
6310
  analyzed: number;
@@ -6327,8 +6327,8 @@ type ListEventsResponse = {
6327
6327
  canceledReason: "webset_deleted" | "webset_canceled" | "out_of_credits";
6328
6328
  createdAt: string;
6329
6329
  updatedAt: string;
6330
- }[];
6331
- imports: {
6330
+ })[];
6331
+ imports: ({
6332
6332
  id: string;
6333
6333
  object: "import";
6334
6334
  status: "pending" | "processing" | "completed" | "failed";
@@ -6355,8 +6355,8 @@ type ListEventsResponse = {
6355
6355
  failedMessage: string | null;
6356
6356
  createdAt: string;
6357
6357
  updatedAt: string;
6358
- }[];
6359
- enrichments: {
6358
+ })[];
6359
+ enrichments: ({
6360
6360
  id: string;
6361
6361
  object: "webset_enrichment";
6362
6362
  status: "pending" | "canceled" | "completed";
@@ -6371,8 +6371,8 @@ type ListEventsResponse = {
6371
6371
  metadata?: Record<string, string>;
6372
6372
  createdAt: string;
6373
6373
  updatedAt: string;
6374
- }[];
6375
- monitors: {
6374
+ })[];
6375
+ monitors: ({
6376
6376
  id: string;
6377
6377
  object: "monitor";
6378
6378
  status: "enabled" | "disabled";
@@ -6423,11 +6423,11 @@ type ListEventsResponse = {
6423
6423
  metadata: Record<string, string>;
6424
6424
  createdAt: string;
6425
6425
  updatedAt: string;
6426
- }[];
6427
- excludes?: {
6426
+ })[];
6427
+ excludes?: ({
6428
6428
  source: "import" | "webset";
6429
6429
  id: string;
6430
- }[];
6430
+ })[];
6431
6431
  metadata?: Record<string, string>;
6432
6432
  createdAt: string;
6433
6433
  updatedAt: string;
@@ -6443,7 +6443,7 @@ type ListEventsResponse = {
6443
6443
  status: "idle" | "pending" | "running" | "paused";
6444
6444
  externalId: string | null;
6445
6445
  title: string | null;
6446
- searches: {
6446
+ searches: ({
6447
6447
  id: string;
6448
6448
  object: "webset_search";
6449
6449
  status: "created" | "pending" | "running" | "completed" | "canceled";
@@ -6469,18 +6469,18 @@ type ListEventsResponse = {
6469
6469
  }[];
6470
6470
  count: number;
6471
6471
  behavior?: "override" | "append";
6472
- exclude: {
6472
+ exclude: ({
6473
6473
  source: "import" | "webset";
6474
6474
  id: string;
6475
- }[];
6476
- scope: {
6475
+ })[];
6476
+ scope: ({
6477
6477
  source: "import" | "webset";
6478
6478
  id: string;
6479
6479
  relationship?: {
6480
6480
  definition: string;
6481
6481
  limit: number;
6482
6482
  };
6483
- }[];
6483
+ })[];
6484
6484
  progress: {
6485
6485
  found: number;
6486
6486
  analyzed: number;
@@ -6503,8 +6503,8 @@ type ListEventsResponse = {
6503
6503
  canceledReason: "webset_deleted" | "webset_canceled" | "out_of_credits";
6504
6504
  createdAt: string;
6505
6505
  updatedAt: string;
6506
- }[];
6507
- imports: {
6506
+ })[];
6507
+ imports: ({
6508
6508
  id: string;
6509
6509
  object: "import";
6510
6510
  status: "pending" | "processing" | "completed" | "failed";
@@ -6531,8 +6531,8 @@ type ListEventsResponse = {
6531
6531
  failedMessage: string | null;
6532
6532
  createdAt: string;
6533
6533
  updatedAt: string;
6534
- }[];
6535
- enrichments: {
6534
+ })[];
6535
+ enrichments: ({
6536
6536
  id: string;
6537
6537
  object: "webset_enrichment";
6538
6538
  status: "pending" | "canceled" | "completed";
@@ -6547,8 +6547,8 @@ type ListEventsResponse = {
6547
6547
  metadata?: Record<string, string>;
6548
6548
  createdAt: string;
6549
6549
  updatedAt: string;
6550
- }[];
6551
- monitors: {
6550
+ })[];
6551
+ monitors: ({
6552
6552
  id: string;
6553
6553
  object: "monitor";
6554
6554
  status: "enabled" | "disabled";
@@ -6599,11 +6599,11 @@ type ListEventsResponse = {
6599
6599
  metadata: Record<string, string>;
6600
6600
  createdAt: string;
6601
6601
  updatedAt: string;
6602
- }[];
6603
- excludes?: {
6602
+ })[];
6603
+ excludes?: ({
6604
6604
  source: "import" | "webset";
6605
6605
  id: string;
6606
- }[];
6606
+ })[];
6607
6607
  metadata?: Record<string, string>;
6608
6608
  createdAt: string;
6609
6609
  updatedAt: string;
@@ -6619,7 +6619,7 @@ type ListEventsResponse = {
6619
6619
  status: "idle" | "pending" | "running" | "paused";
6620
6620
  externalId: string | null;
6621
6621
  title: string | null;
6622
- searches: {
6622
+ searches: ({
6623
6623
  id: string;
6624
6624
  object: "webset_search";
6625
6625
  status: "created" | "pending" | "running" | "completed" | "canceled";
@@ -6645,18 +6645,18 @@ type ListEventsResponse = {
6645
6645
  }[];
6646
6646
  count: number;
6647
6647
  behavior?: "override" | "append";
6648
- exclude: {
6648
+ exclude: ({
6649
6649
  source: "import" | "webset";
6650
6650
  id: string;
6651
- }[];
6652
- scope: {
6651
+ })[];
6652
+ scope: ({
6653
6653
  source: "import" | "webset";
6654
6654
  id: string;
6655
6655
  relationship?: {
6656
6656
  definition: string;
6657
6657
  limit: number;
6658
6658
  };
6659
- }[];
6659
+ })[];
6660
6660
  progress: {
6661
6661
  found: number;
6662
6662
  analyzed: number;
@@ -6679,8 +6679,8 @@ type ListEventsResponse = {
6679
6679
  canceledReason: "webset_deleted" | "webset_canceled" | "out_of_credits";
6680
6680
  createdAt: string;
6681
6681
  updatedAt: string;
6682
- }[];
6683
- imports: {
6682
+ })[];
6683
+ imports: ({
6684
6684
  id: string;
6685
6685
  object: "import";
6686
6686
  status: "pending" | "processing" | "completed" | "failed";
@@ -6707,8 +6707,8 @@ type ListEventsResponse = {
6707
6707
  failedMessage: string | null;
6708
6708
  createdAt: string;
6709
6709
  updatedAt: string;
6710
- }[];
6711
- enrichments: {
6710
+ })[];
6711
+ enrichments: ({
6712
6712
  id: string;
6713
6713
  object: "webset_enrichment";
6714
6714
  status: "pending" | "canceled" | "completed";
@@ -6723,8 +6723,8 @@ type ListEventsResponse = {
6723
6723
  metadata?: Record<string, string>;
6724
6724
  createdAt: string;
6725
6725
  updatedAt: string;
6726
- }[];
6727
- monitors: {
6726
+ })[];
6727
+ monitors: ({
6728
6728
  id: string;
6729
6729
  object: "monitor";
6730
6730
  status: "enabled" | "disabled";
@@ -6775,11 +6775,11 @@ type ListEventsResponse = {
6775
6775
  metadata: Record<string, string>;
6776
6776
  createdAt: string;
6777
6777
  updatedAt: string;
6778
- }[];
6779
- excludes?: {
6778
+ })[];
6779
+ excludes?: ({
6780
6780
  source: "import" | "webset";
6781
6781
  id: string;
6782
- }[];
6782
+ })[];
6783
6783
  metadata?: Record<string, string>;
6784
6784
  createdAt: string;
6785
6785
  updatedAt: string;
@@ -6879,29 +6879,29 @@ type ListEventsResponse = {
6879
6879
  publishedAt: string | null;
6880
6880
  };
6881
6881
  };
6882
- evaluations: {
6882
+ evaluations: ({
6883
6883
  criterion: string;
6884
6884
  reasoning: string;
6885
6885
  satisfied: "yes" | "no" | "unclear";
6886
- references?: {
6886
+ references?: ({
6887
6887
  title: string | null;
6888
6888
  snippet: string | null;
6889
6889
  url: string;
6890
- }[];
6891
- }[];
6892
- enrichments: {
6890
+ })[];
6891
+ })[];
6892
+ enrichments: ({
6893
6893
  object: "enrichment_result";
6894
6894
  status: "pending" | "completed" | "canceled";
6895
6895
  format: "text" | "date" | "number" | "options" | "email" | "phone" | "url";
6896
6896
  result: string[] | null;
6897
6897
  reasoning: string | null;
6898
- references: {
6898
+ references: ({
6899
6899
  title: string | null;
6900
6900
  snippet: string | null;
6901
6901
  url: string;
6902
- }[];
6902
+ })[];
6903
6903
  enrichmentId: string;
6904
- }[] | null;
6904
+ })[] | null;
6905
6905
  createdAt: string;
6906
6906
  updatedAt: string;
6907
6907
  };
@@ -7000,29 +7000,29 @@ type ListEventsResponse = {
7000
7000
  publishedAt: string | null;
7001
7001
  };
7002
7002
  };
7003
- evaluations: {
7003
+ evaluations: ({
7004
7004
  criterion: string;
7005
7005
  reasoning: string;
7006
7006
  satisfied: "yes" | "no" | "unclear";
7007
- references?: {
7007
+ references?: ({
7008
7008
  title: string | null;
7009
7009
  snippet: string | null;
7010
7010
  url: string;
7011
- }[];
7012
- }[];
7013
- enrichments: {
7011
+ })[];
7012
+ })[];
7013
+ enrichments: ({
7014
7014
  object: "enrichment_result";
7015
7015
  status: "pending" | "completed" | "canceled";
7016
7016
  format: "text" | "date" | "number" | "options" | "email" | "phone" | "url";
7017
7017
  result: string[] | null;
7018
7018
  reasoning: string | null;
7019
- references: {
7019
+ references: ({
7020
7020
  title: string | null;
7021
7021
  snippet: string | null;
7022
7022
  url: string;
7023
- }[];
7023
+ })[];
7024
7024
  enrichmentId: string;
7025
- }[] | null;
7025
+ })[] | null;
7026
7026
  createdAt: string;
7027
7027
  updatedAt: string;
7028
7028
  };
@@ -7057,18 +7057,18 @@ type ListEventsResponse = {
7057
7057
  }[];
7058
7058
  count: number;
7059
7059
  behavior?: "override" | "append";
7060
- exclude: {
7060
+ exclude: ({
7061
7061
  source: "import" | "webset";
7062
7062
  id: string;
7063
- }[];
7064
- scope: {
7063
+ })[];
7064
+ scope: ({
7065
7065
  source: "import" | "webset";
7066
7066
  id: string;
7067
7067
  relationship?: {
7068
7068
  definition: string;
7069
7069
  limit: number;
7070
7070
  };
7071
- }[];
7071
+ })[];
7072
7072
  progress: {
7073
7073
  found: number;
7074
7074
  analyzed: number;
@@ -7123,18 +7123,18 @@ type ListEventsResponse = {
7123
7123
  }[];
7124
7124
  count: number;
7125
7125
  behavior?: "override" | "append";
7126
- exclude: {
7126
+ exclude: ({
7127
7127
  source: "import" | "webset";
7128
7128
  id: string;
7129
- }[];
7130
- scope: {
7129
+ })[];
7130
+ scope: ({
7131
7131
  source: "import" | "webset";
7132
7132
  id: string;
7133
7133
  relationship?: {
7134
7134
  definition: string;
7135
7135
  limit: number;
7136
7136
  };
7137
- }[];
7137
+ })[];
7138
7138
  progress: {
7139
7139
  found: number;
7140
7140
  analyzed: number;
@@ -7189,18 +7189,18 @@ type ListEventsResponse = {
7189
7189
  }[];
7190
7190
  count: number;
7191
7191
  behavior?: "override" | "append";
7192
- exclude: {
7192
+ exclude: ({
7193
7193
  source: "import" | "webset";
7194
7194
  id: string;
7195
- }[];
7196
- scope: {
7195
+ })[];
7196
+ scope: ({
7197
7197
  source: "import" | "webset";
7198
7198
  id: string;
7199
7199
  relationship?: {
7200
7200
  definition: string;
7201
7201
  limit: number;
7202
7202
  };
7203
- }[];
7203
+ })[];
7204
7204
  progress: {
7205
7205
  found: number;
7206
7206
  analyzed: number;
@@ -7255,18 +7255,18 @@ type ListEventsResponse = {
7255
7255
  }[];
7256
7256
  count: number;
7257
7257
  behavior?: "override" | "append";
7258
- exclude: {
7258
+ exclude: ({
7259
7259
  source: "import" | "webset";
7260
7260
  id: string;
7261
- }[];
7262
- scope: {
7261
+ })[];
7262
+ scope: ({
7263
7263
  source: "import" | "webset";
7264
7264
  id: string;
7265
7265
  relationship?: {
7266
7266
  definition: string;
7267
7267
  limit: number;
7268
7268
  };
7269
- }[];
7269
+ })[];
7270
7270
  progress: {
7271
7271
  found: number;
7272
7272
  analyzed: number;
@@ -7588,18 +7588,18 @@ type CreateWebsetSearchParameters = {
7588
7588
  criteria?: {
7589
7589
  description: string;
7590
7590
  }[];
7591
- exclude?: {
7591
+ exclude?: ({
7592
7592
  source: "import" | "webset";
7593
7593
  id: string;
7594
- }[];
7595
- scope?: {
7594
+ })[];
7595
+ scope?: ({
7596
7596
  source: "import" | "webset";
7597
7597
  id: string;
7598
7598
  relationship?: {
7599
7599
  definition: string;
7600
7600
  limit: number;
7601
7601
  };
7602
- }[];
7602
+ })[];
7603
7603
  recall?: boolean;
7604
7604
  behavior?: "override" | "append";
7605
7605
  metadata?: Record<string, string>;
@@ -7638,7 +7638,7 @@ type CreateMonitorParameters = {
7638
7638
  metadata?: Record<string, string>;
7639
7639
  };
7640
7640
  type ListMonitorsResponse = {
7641
- data: {
7641
+ data: ({
7642
7642
  id: string;
7643
7643
  object: "monitor";
7644
7644
  status: "enabled" | "disabled";
@@ -7689,7 +7689,7 @@ type ListMonitorsResponse = {
7689
7689
  metadata: Record<string, string>;
7690
7690
  createdAt: string;
7691
7691
  updatedAt: string;
7692
- }[];
7692
+ })[];
7693
7693
  hasMore: boolean;
7694
7694
  nextCursor: string | null;
7695
7695
  };
@@ -7727,7 +7727,7 @@ type UpdateMonitor = {
7727
7727
  };
7728
7728
  };
7729
7729
  interface ListMonitorRunsResponse {
7730
- data: {
7730
+ data: ({
7731
7731
  id: string;
7732
7732
  object: "monitor_run";
7733
7733
  status: "created" | "running" | "completed" | "canceled" | "failed";
@@ -7739,7 +7739,7 @@ interface ListMonitorRunsResponse {
7739
7739
  canceledAt: string | null;
7740
7740
  createdAt: string;
7741
7741
  updatedAt: string;
7742
- }[];
7742
+ })[];
7743
7743
  hasMore: boolean;
7744
7744
  nextCursor: string | null;
7745
7745
  }
@@ -7798,7 +7798,7 @@ type CreateImportResponse = {
7798
7798
  uploadValidUntil: string;
7799
7799
  };
7800
7800
  type ListImportsResponse = {
7801
- data: {
7801
+ data: ({
7802
7802
  id: string;
7803
7803
  object: "import";
7804
7804
  status: "pending" | "processing" | "completed" | "failed";
@@ -7825,7 +7825,7 @@ type ListImportsResponse = {
7825
7825
  failedMessage: string | null;
7826
7826
  createdAt: string;
7827
7827
  updatedAt: string;
7828
- }[];
7828
+ })[];
7829
7829
  hasMore: boolean;
7830
7830
  nextCursor: string | null;
7831
7831
  };
@@ -8085,7 +8085,7 @@ type ListResearchResponseDto = {
8085
8085
  content: string;
8086
8086
  parsed?: Record<string, unknown>;
8087
8087
  };
8088
- citations: {
8088
+ citations: ({
8089
8089
  id: string;
8090
8090
  url: string;
8091
8091
  publishedDate?: string;
@@ -8099,7 +8099,7 @@ type ListResearchResponseDto = {
8099
8099
  url: string;
8100
8100
  text: string;
8101
8101
  }[];
8102
- subpages?: {
8102
+ subpages?: ({
8103
8103
  id: string;
8104
8104
  title: string;
8105
8105
  url: string;
@@ -8107,7 +8107,7 @@ type ListResearchResponseDto = {
8107
8107
  author?: string | null;
8108
8108
  text?: string;
8109
8109
  favicon?: string;
8110
- }[];
8110
+ })[];
8111
8111
  image?: string | null;
8112
8112
  favicon?: string | null;
8113
8113
  description?: string;
@@ -8144,11 +8144,11 @@ type ListResearchResponseDto = {
8144
8144
  }[] | null;
8145
8145
  headquarters?: string;
8146
8146
  country_code?: string;
8147
- locations?: {
8147
+ locations?: ({
8148
8148
  address?: string | null;
8149
8149
  address_2?: string | null;
8150
8150
  primary: boolean;
8151
- }[];
8151
+ })[];
8152
8152
  specialties?: string[];
8153
8153
  crunchbase_url?: string;
8154
8154
  stock_symbol?: string;
@@ -8174,10 +8174,10 @@ type ListResearchResponseDto = {
8174
8174
  crunchbase?: string | null;
8175
8175
  pitchbook?: string | null;
8176
8176
  };
8177
- tickers?: {
8177
+ tickers?: ({
8178
8178
  symbol: string;
8179
8179
  exchange?: string | null;
8180
- }[] | null;
8180
+ })[] | null;
8181
8181
  };
8182
8182
  classification?: {
8183
8183
  industry?: string | null;
@@ -8200,7 +8200,7 @@ type ListResearchResponseDto = {
8200
8200
  postal_code?: string | null;
8201
8201
  is_hq?: boolean | null;
8202
8202
  };
8203
- offices?: {
8203
+ offices?: ({
8204
8204
  address?: string | null;
8205
8205
  city?: string | null;
8206
8206
  state?: string | null;
@@ -8208,7 +8208,7 @@ type ListResearchResponseDto = {
8208
8208
  country_code?: string | null;
8209
8209
  postal_code?: string | null;
8210
8210
  is_hq?: boolean | null;
8211
- }[] | null;
8211
+ })[] | null;
8212
8212
  hq_city?: string | null;
8213
8213
  hq_country?: string | null;
8214
8214
  regions?: string[] | null;
@@ -8216,11 +8216,11 @@ type ListResearchResponseDto = {
8216
8216
  profiles?: {
8217
8217
  website?: string | null;
8218
8218
  website_aliases?: string[] | null;
8219
- social?: {
8219
+ social?: ({
8220
8220
  platform: string;
8221
8221
  url?: string | null;
8222
8222
  followers?: number | null;
8223
- }[] | null;
8223
+ })[] | null;
8224
8224
  crunchbase_url?: string | null;
8225
8225
  bloomberg_url?: string | null;
8226
8226
  pitchbook_url?: string | null;
@@ -8232,7 +8232,7 @@ type ListResearchResponseDto = {
8232
8232
  emails?: string[] | null;
8233
8233
  phone_numbers?: string[] | null;
8234
8234
  };
8235
- updates?: {
8235
+ updates?: ({
8236
8236
  followers?: number | null;
8237
8237
  date?: string | null;
8238
8238
  description?: string | null;
@@ -8244,7 +8244,7 @@ type ListResearchResponseDto = {
8244
8244
  reshared_post_description?: string | null;
8245
8245
  reshared_post_date?: string | null;
8246
8246
  reshared_post_followers?: number | null;
8247
- }[] | null;
8247
+ })[] | null;
8248
8248
  };
8249
8249
  provenance?: {
8250
8250
  sources: string[];
@@ -8276,69 +8276,69 @@ type ListResearchResponseDto = {
8276
8276
  by_seniority?: Record<string, number> | null;
8277
8277
  by_location?: Record<string, number> | null;
8278
8278
  by_country?: Record<string, number> | null;
8279
- by_seniority_monthly?: {
8279
+ by_seniority_monthly?: ({
8280
8280
  breakdown: Record<string, number>;
8281
8281
  date?: string | null;
8282
8282
  date_from?: string | null;
8283
8283
  date_to?: string | null;
8284
- }[] | null;
8285
- by_department_monthly?: {
8284
+ })[] | null;
8285
+ by_department_monthly?: ({
8286
8286
  breakdown: Record<string, number>;
8287
8287
  date?: string | null;
8288
8288
  date_from?: string | null;
8289
8289
  date_to?: string | null;
8290
- }[] | null;
8291
- by_region_monthly?: {
8290
+ })[] | null;
8291
+ by_region_monthly?: ({
8292
8292
  breakdown: Record<string, number>;
8293
8293
  date?: string | null;
8294
8294
  date_from?: string | null;
8295
8295
  date_to?: string | null;
8296
- }[] | null;
8297
- by_country_monthly?: {
8296
+ })[] | null;
8297
+ by_country_monthly?: ({
8298
8298
  breakdown: Record<string, number>;
8299
8299
  date?: string | null;
8300
8300
  date_from?: string | null;
8301
8301
  date_to?: string | null;
8302
- }[] | null;
8303
- executives?: {
8302
+ })[] | null;
8303
+ executives?: ({
8304
8304
  name?: string | null;
8305
8305
  title?: string | null;
8306
8306
  start_date?: string | null;
8307
8307
  end_date?: string | null;
8308
8308
  is_current?: boolean | null;
8309
8309
  executive_id?: string | null;
8310
- }[] | null;
8311
- recent_hires?: {
8310
+ })[] | null;
8311
+ recent_hires?: ({
8312
8312
  name?: string | null;
8313
8313
  title?: string | null;
8314
8314
  start_date?: string | null;
8315
8315
  end_date?: string | null;
8316
8316
  is_current?: boolean | null;
8317
8317
  executive_id?: string | null;
8318
- }[] | null;
8319
- recent_departures?: {
8318
+ })[] | null;
8319
+ recent_departures?: ({
8320
8320
  name?: string | null;
8321
8321
  title?: string | null;
8322
8322
  start_date?: string | null;
8323
8323
  end_date?: string | null;
8324
8324
  is_current?: boolean | null;
8325
8325
  executive_id?: string | null;
8326
- }[] | null;
8327
- top_previous_companies?: {
8326
+ })[] | null;
8327
+ top_previous_companies?: ({
8328
8328
  count: number;
8329
8329
  company_name?: string | null;
8330
8330
  company_id?: string | null;
8331
- }[] | null;
8332
- top_next_companies?: {
8331
+ })[] | null;
8332
+ top_next_companies?: ({
8333
8333
  count: number;
8334
8334
  company_name?: string | null;
8335
8335
  company_id?: string | null;
8336
- }[] | null;
8336
+ })[] | null;
8337
8337
  active_job_postings_count?: number | null;
8338
- active_job_postings?: {
8338
+ active_job_postings?: ({
8339
8339
  title: string;
8340
8340
  job_id?: string | null;
8341
- }[] | null;
8341
+ })[] | null;
8342
8342
  active_job_postings_history?: {
8343
8343
  value: number;
8344
8344
  date_from: string;
@@ -8353,7 +8353,7 @@ type ListResearchResponseDto = {
8353
8353
  yearly?: number | null;
8354
8354
  yearly_pct?: number | null;
8355
8355
  };
8356
- salary_ranges?: {
8356
+ salary_ranges?: ({
8357
8357
  title: string;
8358
8358
  percentile_25?: number | null;
8359
8359
  median?: number | null;
@@ -8361,7 +8361,7 @@ type ListResearchResponseDto = {
8361
8361
  currency?: string | null;
8362
8362
  pay_period?: string | null;
8363
8363
  updated_at?: string | null;
8364
- }[] | null;
8364
+ })[] | null;
8365
8365
  growth?: {
8366
8366
  current: number;
8367
8367
  monthly?: number | null;
@@ -8397,7 +8397,7 @@ type ListResearchResponseDto = {
8397
8397
  yearly_pct?: number | null;
8398
8398
  };
8399
8399
  profitable?: boolean | null;
8400
- income_statements?: {
8400
+ income_statements?: ({
8401
8401
  period: string;
8402
8402
  end_date: string;
8403
8403
  revenue?: number | null;
@@ -8410,7 +8410,7 @@ type ListResearchResponseDto = {
8410
8410
  operating_margin?: number | null;
8411
8411
  net_margin?: number | null;
8412
8412
  currency?: string | null;
8413
- }[] | null;
8413
+ })[] | null;
8414
8414
  ipo_date?: string | null;
8415
8415
  market_cap?: {
8416
8416
  value: number;
@@ -8429,7 +8429,7 @@ type ListResearchResponseDto = {
8429
8429
  value: number;
8430
8430
  currency?: string;
8431
8431
  };
8432
- funding_rounds?: {
8432
+ funding_rounds?: ({
8433
8433
  name?: string | null;
8434
8434
  date?: string | null;
8435
8435
  amount?: {
@@ -8442,7 +8442,7 @@ type ListResearchResponseDto = {
8442
8442
  };
8443
8443
  investors?: string[] | null;
8444
8444
  num_investors?: number | null;
8445
- }[] | null;
8445
+ })[] | null;
8446
8446
  last_round?: {
8447
8447
  name?: string | null;
8448
8448
  date?: string | null;
@@ -8467,7 +8467,7 @@ type ListResearchResponseDto = {
8467
8467
  };
8468
8468
  deal_type?: string | null;
8469
8469
  };
8470
- acquisitions?: {
8470
+ acquisitions?: ({
8471
8471
  company_name: string;
8472
8472
  date?: string | null;
8473
8473
  amount?: {
@@ -8475,8 +8475,8 @@ type ListResearchResponseDto = {
8475
8475
  currency?: string;
8476
8476
  };
8477
8477
  deal_type?: string | null;
8478
- }[] | null;
8479
- investments?: {
8478
+ })[] | null;
8479
+ investments?: ({
8480
8480
  company_name: string;
8481
8481
  date?: string | null;
8482
8482
  amount?: {
@@ -8484,7 +8484,7 @@ type ListResearchResponseDto = {
8484
8484
  currency?: string;
8485
8485
  };
8486
8486
  deal_type?: string | null;
8487
- }[] | null;
8487
+ })[] | null;
8488
8488
  total_acquisitions?: number | null;
8489
8489
  total_invested?: {
8490
8490
  value: number;
@@ -8493,7 +8493,7 @@ type ListResearchResponseDto = {
8493
8493
  };
8494
8494
  };
8495
8495
  market?: {
8496
- competitors?: {
8496
+ competitors?: ({
8497
8497
  name: string;
8498
8498
  website?: string | null;
8499
8499
  similarity_score?: number | null;
@@ -8502,23 +8502,23 @@ type ListResearchResponseDto = {
8502
8502
  value: number;
8503
8503
  currency?: string;
8504
8504
  };
8505
- }[] | null;
8505
+ })[] | null;
8506
8506
  market_share?: number | null;
8507
8507
  global_rank?: number | null;
8508
8508
  industry_rank?: number | null;
8509
8509
  country_rank?: number | null;
8510
8510
  };
8511
8511
  products?: {
8512
- products?: {
8512
+ products?: ({
8513
8513
  name: string;
8514
8514
  description?: string | null;
8515
8515
  category?: string | null;
8516
- pricing?: {
8516
+ pricing?: ({
8517
8517
  type?: string | null;
8518
8518
  price?: string | null;
8519
8519
  details?: string | null;
8520
- }[] | null;
8521
- }[] | null;
8520
+ })[] | null;
8521
+ })[] | null;
8522
8522
  has_free_trial?: boolean | null;
8523
8523
  has_free_plan?: boolean | null;
8524
8524
  has_demo?: boolean | null;
@@ -8526,12 +8526,12 @@ type ListResearchResponseDto = {
8526
8526
  has_mobile_app?: boolean | null;
8527
8527
  pricing_available?: boolean | null;
8528
8528
  tech_stack?: string[] | null;
8529
- technologies?: {
8529
+ technologies?: ({
8530
8530
  name: string;
8531
8531
  category?: string | null;
8532
8532
  first_seen?: string | null;
8533
8533
  last_seen?: string | null;
8534
- }[] | null;
8534
+ })[] | null;
8535
8535
  tech_categories?: Record<string, string[]> | null;
8536
8536
  };
8537
8537
  customers?: {
@@ -8635,22 +8635,22 @@ type ListResearchResponseDto = {
8635
8635
  }[] | null;
8636
8636
  };
8637
8637
  news_activity?: {
8638
- news?: {
8638
+ news?: ({
8639
8639
  headline: string;
8640
8640
  date: string;
8641
8641
  summary?: string | null;
8642
8642
  url?: string | null;
8643
8643
  source?: string | null;
8644
8644
  sentiment?: string | null;
8645
- }[] | null;
8646
- press_releases?: {
8645
+ })[] | null;
8646
+ press_releases?: ({
8647
8647
  headline: string;
8648
8648
  date: string;
8649
8649
  summary?: string | null;
8650
8650
  url?: string | null;
8651
8651
  source?: string | null;
8652
8652
  sentiment?: string | null;
8653
- }[] | null;
8653
+ })[] | null;
8654
8654
  social_posts?: Record<string, unknown>[] | null;
8655
8655
  events?: Record<string, unknown>[] | null;
8656
8656
  };
@@ -8699,11 +8699,11 @@ type ListResearchResponseDto = {
8699
8699
  profiles?: {
8700
8700
  website?: string | null;
8701
8701
  website_aliases?: string[] | null;
8702
- social?: {
8702
+ social?: ({
8703
8703
  platform: string;
8704
8704
  url?: string | null;
8705
8705
  followers?: number | null;
8706
- }[] | null;
8706
+ })[] | null;
8707
8707
  logo_url?: string | null;
8708
8708
  logo_base64?: string | null;
8709
8709
  };
@@ -8925,11 +8925,11 @@ type ListResearchResponseDto = {
8925
8925
  contact?: {
8926
8926
  primary_email?: string;
8927
8927
  primary_email_status?: "verified" | "matched_email" | "matched_pattern" | "guessed_common_pattern";
8928
- emails?: {
8928
+ emails?: ({
8929
8929
  email?: string;
8930
8930
  status?: "verified" | "matched_email" | "matched_pattern" | "guessed_common_pattern";
8931
8931
  order_of_priority?: number;
8932
- }[];
8932
+ })[];
8933
8933
  };
8934
8934
  experience?: {
8935
8935
  is_working?: boolean;
@@ -9222,7 +9222,7 @@ type ListResearchResponseDto = {
9222
9222
  category?: "company" | "research paper" | "news" | "github" | "tweet" | "movie" | "song" | "personal site" | "pdf" | "people" | "financial report" | "linkedin profile";
9223
9223
  source?: "keyword-knowledge-graph" | "keyword-organic" | "keyword-organic-serp" | "neural" | "zilliz" | "user" | "contents" | "coresignal";
9224
9224
  title: string;
9225
- }[];
9225
+ })[];
9226
9226
  costDollars: {
9227
9227
  total: number;
9228
9228
  numSearches: number;
@@ -9728,7 +9728,7 @@ type ResearchDtoClass = {
9728
9728
  content: string;
9729
9729
  parsed?: Record<string, unknown>;
9730
9730
  };
9731
- citations: {
9731
+ citations: ({
9732
9732
  id: string;
9733
9733
  url: string;
9734
9734
  publishedDate?: string;
@@ -9742,7 +9742,7 @@ type ResearchDtoClass = {
9742
9742
  url: string;
9743
9743
  text: string;
9744
9744
  }[];
9745
- subpages?: {
9745
+ subpages?: ({
9746
9746
  id: string;
9747
9747
  title: string;
9748
9748
  url: string;
@@ -9750,7 +9750,7 @@ type ResearchDtoClass = {
9750
9750
  author?: string | null;
9751
9751
  text?: string;
9752
9752
  favicon?: string;
9753
- }[];
9753
+ })[];
9754
9754
  image?: string | null;
9755
9755
  favicon?: string | null;
9756
9756
  description?: string;
@@ -9787,11 +9787,11 @@ type ResearchDtoClass = {
9787
9787
  }[] | null;
9788
9788
  headquarters?: string;
9789
9789
  country_code?: string;
9790
- locations?: {
9790
+ locations?: ({
9791
9791
  address?: string | null;
9792
9792
  address_2?: string | null;
9793
9793
  primary: boolean;
9794
- }[];
9794
+ })[];
9795
9795
  specialties?: string[];
9796
9796
  crunchbase_url?: string;
9797
9797
  stock_symbol?: string;
@@ -9817,10 +9817,10 @@ type ResearchDtoClass = {
9817
9817
  crunchbase?: string | null;
9818
9818
  pitchbook?: string | null;
9819
9819
  };
9820
- tickers?: {
9820
+ tickers?: ({
9821
9821
  symbol: string;
9822
9822
  exchange?: string | null;
9823
- }[] | null;
9823
+ })[] | null;
9824
9824
  };
9825
9825
  classification?: {
9826
9826
  industry?: string | null;
@@ -9843,7 +9843,7 @@ type ResearchDtoClass = {
9843
9843
  postal_code?: string | null;
9844
9844
  is_hq?: boolean | null;
9845
9845
  };
9846
- offices?: {
9846
+ offices?: ({
9847
9847
  address?: string | null;
9848
9848
  city?: string | null;
9849
9849
  state?: string | null;
@@ -9851,7 +9851,7 @@ type ResearchDtoClass = {
9851
9851
  country_code?: string | null;
9852
9852
  postal_code?: string | null;
9853
9853
  is_hq?: boolean | null;
9854
- }[] | null;
9854
+ })[] | null;
9855
9855
  hq_city?: string | null;
9856
9856
  hq_country?: string | null;
9857
9857
  regions?: string[] | null;
@@ -9859,11 +9859,11 @@ type ResearchDtoClass = {
9859
9859
  profiles?: {
9860
9860
  website?: string | null;
9861
9861
  website_aliases?: string[] | null;
9862
- social?: {
9862
+ social?: ({
9863
9863
  platform: string;
9864
9864
  url?: string | null;
9865
9865
  followers?: number | null;
9866
- }[] | null;
9866
+ })[] | null;
9867
9867
  crunchbase_url?: string | null;
9868
9868
  bloomberg_url?: string | null;
9869
9869
  pitchbook_url?: string | null;
@@ -9875,7 +9875,7 @@ type ResearchDtoClass = {
9875
9875
  emails?: string[] | null;
9876
9876
  phone_numbers?: string[] | null;
9877
9877
  };
9878
- updates?: {
9878
+ updates?: ({
9879
9879
  followers?: number | null;
9880
9880
  date?: string | null;
9881
9881
  description?: string | null;
@@ -9887,7 +9887,7 @@ type ResearchDtoClass = {
9887
9887
  reshared_post_description?: string | null;
9888
9888
  reshared_post_date?: string | null;
9889
9889
  reshared_post_followers?: number | null;
9890
- }[] | null;
9890
+ })[] | null;
9891
9891
  };
9892
9892
  provenance?: {
9893
9893
  sources: string[];
@@ -9919,69 +9919,69 @@ type ResearchDtoClass = {
9919
9919
  by_seniority?: Record<string, number> | null;
9920
9920
  by_location?: Record<string, number> | null;
9921
9921
  by_country?: Record<string, number> | null;
9922
- by_seniority_monthly?: {
9922
+ by_seniority_monthly?: ({
9923
9923
  breakdown: Record<string, number>;
9924
9924
  date?: string | null;
9925
9925
  date_from?: string | null;
9926
9926
  date_to?: string | null;
9927
- }[] | null;
9928
- by_department_monthly?: {
9927
+ })[] | null;
9928
+ by_department_monthly?: ({
9929
9929
  breakdown: Record<string, number>;
9930
9930
  date?: string | null;
9931
9931
  date_from?: string | null;
9932
9932
  date_to?: string | null;
9933
- }[] | null;
9934
- by_region_monthly?: {
9933
+ })[] | null;
9934
+ by_region_monthly?: ({
9935
9935
  breakdown: Record<string, number>;
9936
9936
  date?: string | null;
9937
9937
  date_from?: string | null;
9938
9938
  date_to?: string | null;
9939
- }[] | null;
9940
- by_country_monthly?: {
9939
+ })[] | null;
9940
+ by_country_monthly?: ({
9941
9941
  breakdown: Record<string, number>;
9942
9942
  date?: string | null;
9943
9943
  date_from?: string | null;
9944
9944
  date_to?: string | null;
9945
- }[] | null;
9946
- executives?: {
9945
+ })[] | null;
9946
+ executives?: ({
9947
9947
  name?: string | null;
9948
9948
  title?: string | null;
9949
9949
  start_date?: string | null;
9950
9950
  end_date?: string | null;
9951
9951
  is_current?: boolean | null;
9952
9952
  executive_id?: string | null;
9953
- }[] | null;
9954
- recent_hires?: {
9953
+ })[] | null;
9954
+ recent_hires?: ({
9955
9955
  name?: string | null;
9956
9956
  title?: string | null;
9957
9957
  start_date?: string | null;
9958
9958
  end_date?: string | null;
9959
9959
  is_current?: boolean | null;
9960
9960
  executive_id?: string | null;
9961
- }[] | null;
9962
- recent_departures?: {
9961
+ })[] | null;
9962
+ recent_departures?: ({
9963
9963
  name?: string | null;
9964
9964
  title?: string | null;
9965
9965
  start_date?: string | null;
9966
9966
  end_date?: string | null;
9967
9967
  is_current?: boolean | null;
9968
9968
  executive_id?: string | null;
9969
- }[] | null;
9970
- top_previous_companies?: {
9969
+ })[] | null;
9970
+ top_previous_companies?: ({
9971
9971
  count: number;
9972
9972
  company_name?: string | null;
9973
9973
  company_id?: string | null;
9974
- }[] | null;
9975
- top_next_companies?: {
9974
+ })[] | null;
9975
+ top_next_companies?: ({
9976
9976
  count: number;
9977
9977
  company_name?: string | null;
9978
9978
  company_id?: string | null;
9979
- }[] | null;
9979
+ })[] | null;
9980
9980
  active_job_postings_count?: number | null;
9981
- active_job_postings?: {
9981
+ active_job_postings?: ({
9982
9982
  title: string;
9983
9983
  job_id?: string | null;
9984
- }[] | null;
9984
+ })[] | null;
9985
9985
  active_job_postings_history?: {
9986
9986
  value: number;
9987
9987
  date_from: string;
@@ -9996,7 +9996,7 @@ type ResearchDtoClass = {
9996
9996
  yearly?: number | null;
9997
9997
  yearly_pct?: number | null;
9998
9998
  };
9999
- salary_ranges?: {
9999
+ salary_ranges?: ({
10000
10000
  title: string;
10001
10001
  percentile_25?: number | null;
10002
10002
  median?: number | null;
@@ -10004,7 +10004,7 @@ type ResearchDtoClass = {
10004
10004
  currency?: string | null;
10005
10005
  pay_period?: string | null;
10006
10006
  updated_at?: string | null;
10007
- }[] | null;
10007
+ })[] | null;
10008
10008
  growth?: {
10009
10009
  current: number;
10010
10010
  monthly?: number | null;
@@ -10040,7 +10040,7 @@ type ResearchDtoClass = {
10040
10040
  yearly_pct?: number | null;
10041
10041
  };
10042
10042
  profitable?: boolean | null;
10043
- income_statements?: {
10043
+ income_statements?: ({
10044
10044
  period: string;
10045
10045
  end_date: string;
10046
10046
  revenue?: number | null;
@@ -10053,7 +10053,7 @@ type ResearchDtoClass = {
10053
10053
  operating_margin?: number | null;
10054
10054
  net_margin?: number | null;
10055
10055
  currency?: string | null;
10056
- }[] | null;
10056
+ })[] | null;
10057
10057
  ipo_date?: string | null;
10058
10058
  market_cap?: {
10059
10059
  value: number;
@@ -10072,7 +10072,7 @@ type ResearchDtoClass = {
10072
10072
  value: number;
10073
10073
  currency?: string;
10074
10074
  };
10075
- funding_rounds?: {
10075
+ funding_rounds?: ({
10076
10076
  name?: string | null;
10077
10077
  date?: string | null;
10078
10078
  amount?: {
@@ -10085,7 +10085,7 @@ type ResearchDtoClass = {
10085
10085
  };
10086
10086
  investors?: string[] | null;
10087
10087
  num_investors?: number | null;
10088
- }[] | null;
10088
+ })[] | null;
10089
10089
  last_round?: {
10090
10090
  name?: string | null;
10091
10091
  date?: string | null;
@@ -10110,7 +10110,7 @@ type ResearchDtoClass = {
10110
10110
  };
10111
10111
  deal_type?: string | null;
10112
10112
  };
10113
- acquisitions?: {
10113
+ acquisitions?: ({
10114
10114
  company_name: string;
10115
10115
  date?: string | null;
10116
10116
  amount?: {
@@ -10118,8 +10118,8 @@ type ResearchDtoClass = {
10118
10118
  currency?: string;
10119
10119
  };
10120
10120
  deal_type?: string | null;
10121
- }[] | null;
10122
- investments?: {
10121
+ })[] | null;
10122
+ investments?: ({
10123
10123
  company_name: string;
10124
10124
  date?: string | null;
10125
10125
  amount?: {
@@ -10127,7 +10127,7 @@ type ResearchDtoClass = {
10127
10127
  currency?: string;
10128
10128
  };
10129
10129
  deal_type?: string | null;
10130
- }[] | null;
10130
+ })[] | null;
10131
10131
  total_acquisitions?: number | null;
10132
10132
  total_invested?: {
10133
10133
  value: number;
@@ -10136,7 +10136,7 @@ type ResearchDtoClass = {
10136
10136
  };
10137
10137
  };
10138
10138
  market?: {
10139
- competitors?: {
10139
+ competitors?: ({
10140
10140
  name: string;
10141
10141
  website?: string | null;
10142
10142
  similarity_score?: number | null;
@@ -10145,23 +10145,23 @@ type ResearchDtoClass = {
10145
10145
  value: number;
10146
10146
  currency?: string;
10147
10147
  };
10148
- }[] | null;
10148
+ })[] | null;
10149
10149
  market_share?: number | null;
10150
10150
  global_rank?: number | null;
10151
10151
  industry_rank?: number | null;
10152
10152
  country_rank?: number | null;
10153
10153
  };
10154
10154
  products?: {
10155
- products?: {
10155
+ products?: ({
10156
10156
  name: string;
10157
10157
  description?: string | null;
10158
10158
  category?: string | null;
10159
- pricing?: {
10159
+ pricing?: ({
10160
10160
  type?: string | null;
10161
10161
  price?: string | null;
10162
10162
  details?: string | null;
10163
- }[] | null;
10164
- }[] | null;
10163
+ })[] | null;
10164
+ })[] | null;
10165
10165
  has_free_trial?: boolean | null;
10166
10166
  has_free_plan?: boolean | null;
10167
10167
  has_demo?: boolean | null;
@@ -10169,12 +10169,12 @@ type ResearchDtoClass = {
10169
10169
  has_mobile_app?: boolean | null;
10170
10170
  pricing_available?: boolean | null;
10171
10171
  tech_stack?: string[] | null;
10172
- technologies?: {
10172
+ technologies?: ({
10173
10173
  name: string;
10174
10174
  category?: string | null;
10175
10175
  first_seen?: string | null;
10176
10176
  last_seen?: string | null;
10177
- }[] | null;
10177
+ })[] | null;
10178
10178
  tech_categories?: Record<string, string[]> | null;
10179
10179
  };
10180
10180
  customers?: {
@@ -10278,22 +10278,22 @@ type ResearchDtoClass = {
10278
10278
  }[] | null;
10279
10279
  };
10280
10280
  news_activity?: {
10281
- news?: {
10281
+ news?: ({
10282
10282
  headline: string;
10283
10283
  date: string;
10284
10284
  summary?: string | null;
10285
10285
  url?: string | null;
10286
10286
  source?: string | null;
10287
10287
  sentiment?: string | null;
10288
- }[] | null;
10289
- press_releases?: {
10288
+ })[] | null;
10289
+ press_releases?: ({
10290
10290
  headline: string;
10291
10291
  date: string;
10292
10292
  summary?: string | null;
10293
10293
  url?: string | null;
10294
10294
  source?: string | null;
10295
10295
  sentiment?: string | null;
10296
- }[] | null;
10296
+ })[] | null;
10297
10297
  social_posts?: Record<string, unknown>[] | null;
10298
10298
  events?: Record<string, unknown>[] | null;
10299
10299
  };
@@ -10342,11 +10342,11 @@ type ResearchDtoClass = {
10342
10342
  profiles?: {
10343
10343
  website?: string | null;
10344
10344
  website_aliases?: string[] | null;
10345
- social?: {
10345
+ social?: ({
10346
10346
  platform: string;
10347
10347
  url?: string | null;
10348
10348
  followers?: number | null;
10349
- }[] | null;
10349
+ })[] | null;
10350
10350
  logo_url?: string | null;
10351
10351
  logo_base64?: string | null;
10352
10352
  };
@@ -10568,11 +10568,11 @@ type ResearchDtoClass = {
10568
10568
  contact?: {
10569
10569
  primary_email?: string;
10570
10570
  primary_email_status?: "verified" | "matched_email" | "matched_pattern" | "guessed_common_pattern";
10571
- emails?: {
10571
+ emails?: ({
10572
10572
  email?: string;
10573
10573
  status?: "verified" | "matched_email" | "matched_pattern" | "guessed_common_pattern";
10574
10574
  order_of_priority?: number;
10575
- }[];
10575
+ })[];
10576
10576
  };
10577
10577
  experience?: {
10578
10578
  is_working?: boolean;
@@ -10865,7 +10865,7 @@ type ResearchDtoClass = {
10865
10865
  category?: "company" | "research paper" | "news" | "github" | "tweet" | "movie" | "song" | "personal site" | "pdf" | "people" | "financial report" | "linkedin profile";
10866
10866
  source?: "keyword-knowledge-graph" | "keyword-organic" | "keyword-organic-serp" | "neural" | "zilliz" | "user" | "contents" | "coresignal";
10867
10867
  title: string;
10868
- }[];
10868
+ })[];
10869
10869
  costDollars: {
10870
10870
  total: number;
10871
10871
  numSearches: number;
@@ -11140,6 +11140,14 @@ declare class WebsetItemsClient extends WebsetsBaseClient {
11140
11140
  list(websetId: string, options?: PaginationParams & {
11141
11141
  sourceId?: string;
11142
11142
  }): Promise<ListWebsetItemResponse>;
11143
+ /** Iterate through all items in a Webset, handling pagination automatically. */
11144
+ listAll(websetId: string, options?: PaginationParams & {
11145
+ sourceId?: string;
11146
+ }): AsyncGenerator<WebsetItem>;
11147
+ /** Collect all items from a Webset into an array. */
11148
+ getAll(websetId: string, options?: PaginationParams & {
11149
+ sourceId?: string;
11150
+ }): Promise<WebsetItem[]>;
11143
11151
  }
11144
11152
  /** Client for managing Webset Searches. */
11145
11153
  declare class WebsetSearchesClient extends WebsetsBaseClient {
@@ -11182,6 +11190,14 @@ declare class WebsetMonitorsClient extends WebsetsBaseClient {
11182
11190
  get(id: string): Promise<Monitor>;
11183
11191
  update(id: string, params: UpdateMonitor): Promise<Monitor>;
11184
11192
  delete(id: string): Promise<Monitor>;
11193
+ /** Iterate through all monitors, handling pagination automatically. */
11194
+ listAll(options?: PaginationParams & {
11195
+ websetId?: string;
11196
+ }): AsyncGenerator<Monitor>;
11197
+ /** Collect all monitors into an array. */
11198
+ getAll(options?: PaginationParams & {
11199
+ websetId?: string;
11200
+ }): Promise<Monitor[]>;
11185
11201
  }
11186
11202
  /** Client for managing Webset Webhooks. */
11187
11203
  declare class WebsetWebhooksClient extends WebsetsBaseClient {
@@ -11228,6 +11244,10 @@ declare class WebsetsClient extends WebsetsBaseClient {
11228
11244
  preview(params: PreviewWebsetParameters, options?: {
11229
11245
  search?: boolean;
11230
11246
  }): Promise<PreviewWebsetResponse>;
11247
+ /** Iterate through all Websets, handling pagination automatically. */
11248
+ listAll(options?: PaginationParams): AsyncGenerator<Webset>;
11249
+ /** Collect all Websets into an array. */
11250
+ getAll(options?: PaginationParams): Promise<Webset[]>;
11231
11251
  /** Poll until a Webset reaches idle status. */
11232
11252
  waitUntilIdle(id: string, options?: {
11233
11253
  timeout?: number;
@@ -11307,6 +11327,18 @@ type SearchOptions = BaseSearchOptions$1 | DeepSearchOptions$1 | TweetSearchOpti
11307
11327
  type FindSimilarOptions$1 = Omit<FindSimilarRequest, "url">;
11308
11328
  type GetContentsOptions = Omit<ContentsRequest, "urls">;
11309
11329
  type AnswerOptions$1 = Omit<AnswerRequest, "query">;
11330
+ type AnswerStreamCitation = Partial<Pick<SearchResult$1, "id" | "url" | "title" | "publishedDate" | "author" | "text">>;
11331
+ type AnswerStreamChunk$1 = {
11332
+ content?: string;
11333
+ citations?: AnswerStreamCitation[];
11334
+ };
11335
+ declare class ExaError extends Error {
11336
+ statusCode: number;
11337
+ timestamp?: string;
11338
+ path?: string;
11339
+ details?: unknown;
11340
+ constructor(message: string, statusCode: number, timestamp?: string, path?: string, details?: unknown);
11341
+ }
11310
11342
  /**
11311
11343
  * Exa API client. Each method corresponds to an Exa API endpoint
11312
11344
  * with positional args extracted and the remaining fields as options.
@@ -11325,6 +11357,10 @@ declare class Exa$1 {
11325
11357
  rawRequest(endpoint: string, method?: string, body?: Record<string, unknown>, params?: Record<string, string | number | boolean | string[] | undefined>): Promise<Response>;
11326
11358
  /** Normalize category values to underscore form. */
11327
11359
  private normalizeCategoryInBody;
11360
+ private buildRequestUrl;
11361
+ private tryParseJsonRecord;
11362
+ private toExaError;
11363
+ private parseAnswerStreamLine;
11328
11364
  /** Separate content-specific options from search/filter options. */
11329
11365
  private extractContentsOptions;
11330
11366
  search(query: string, options?: SearchOptions & {
@@ -11335,7 +11371,7 @@ declare class Exa$1 {
11335
11371
  }): Promise<FindSimilarResponse>;
11336
11372
  getContents(urls?: string | string[], options?: GetContentsOptions): Promise<ContentsResponse>;
11337
11373
  answer(query: string, options?: AnswerOptions$1): Promise<AnswerResponse$1>;
11338
- streamAnswer(query: string, options?: Omit<AnswerOptions$1, "stream">): Promise<Response>;
11374
+ streamAnswer(query: string, options?: Omit<AnswerOptions$1, "stream">): AsyncGenerator<AnswerStreamChunk$1>;
11339
11375
  /**
11340
11376
  * @deprecated Use `search()` instead. The search method now returns text contents by default.
11341
11377
  * Search with contents. Extracts content fields (text, highlights, summary, etc.) into a `contents` wrapper.
@@ -11361,31 +11397,6 @@ declare enum HttpStatusCode {
11361
11397
  InternalServerError = 500,
11362
11398
  ServiceUnavailable = 503
11363
11399
  }
11364
- /**
11365
- * Base error class for all Exa API errors
11366
- */
11367
- declare class ExaError extends Error {
11368
- /**
11369
- * HTTP status code
11370
- */
11371
- statusCode: number;
11372
- /**
11373
- * ISO timestamp from API
11374
- */
11375
- timestamp?: string;
11376
- /**
11377
- * Path that caused the error (may be undefined for client-side errors)
11378
- */
11379
- path?: string;
11380
- /**
11381
- * Create a new ExaError
11382
- * @param message Error message
11383
- * @param statusCode HTTP status code
11384
- * @param timestamp ISO timestamp from API
11385
- * @param path Path that caused the error
11386
- */
11387
- constructor(message: string, statusCode: number, timestamp?: string, path?: string);
11388
- }
11389
11400
 
11390
11401
  /**
11391
11402
  * Options for retrieving page contents