@fiberai/sdk 0.0.34 → 0.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1548,14 +1548,6 @@ type TrackerSignal = {
1548
1548
  * When the signal was detected.
1549
1549
  */
1550
1550
  observedAt: string;
1551
- /**
1552
- * Webhook delivery status.
1553
- */
1554
- deliveryStatus: 'PENDING' | 'DELIVERED' | 'FAILED' | 'SKIPPED';
1555
- /**
1556
- * When the webhook was successfully delivered. Null when status is PENDING, FAILED, or SKIPPED.
1557
- */
1558
- deliveredAt: string | null;
1559
1551
  /**
1560
1552
  * Credits charged for the tracker check that produced this signal, in centi-credits (100 = 1 credit).
1561
1553
  */
@@ -104960,11 +104952,15 @@ type AddTrackerPeopleResponses = {
104960
104952
  200: {
104961
104953
  output: {
104962
104954
  /**
104963
- * Number of people successfully added.
104955
+ * Number of people fully resolved and added to the list.
104964
104956
  */
104965
104957
  added: number;
104966
104958
  /**
104967
- * Number skipped (duplicates or invalid).
104959
+ * Number of people accepted and added to the list but whose profile is still being resolved in the background. They become fully tracked once resolution finishes (usually within minutes); a profile that turns out not to exist is dropped automatically.
104960
+ */
104961
+ pending: number;
104962
+ /**
104963
+ * Number of people not added because they were already in the list or appeared more than once in this request. People that could not be resolved are reported in invalidPeople, not here.
104968
104964
  */
104969
104965
  skipped: number;
104970
104966
  /**
package/dist/index.d.ts CHANGED
@@ -1548,14 +1548,6 @@ type TrackerSignal = {
1548
1548
  * When the signal was detected.
1549
1549
  */
1550
1550
  observedAt: string;
1551
- /**
1552
- * Webhook delivery status.
1553
- */
1554
- deliveryStatus: 'PENDING' | 'DELIVERED' | 'FAILED' | 'SKIPPED';
1555
- /**
1556
- * When the webhook was successfully delivered. Null when status is PENDING, FAILED, or SKIPPED.
1557
- */
1558
- deliveredAt: string | null;
1559
1551
  /**
1560
1552
  * Credits charged for the tracker check that produced this signal, in centi-credits (100 = 1 credit).
1561
1553
  */
@@ -104960,11 +104952,15 @@ type AddTrackerPeopleResponses = {
104960
104952
  200: {
104961
104953
  output: {
104962
104954
  /**
104963
- * Number of people successfully added.
104955
+ * Number of people fully resolved and added to the list.
104964
104956
  */
104965
104957
  added: number;
104966
104958
  /**
104967
- * Number skipped (duplicates or invalid).
104959
+ * Number of people accepted and added to the list but whose profile is still being resolved in the background. They become fully tracked once resolution finishes (usually within minutes); a profile that turns out not to exist is dropped automatically.
104960
+ */
104961
+ pending: number;
104962
+ /**
104963
+ * Number of people not added because they were already in the list or appeared more than once in this request. People that could not be resolved are reported in invalidPeople, not here.
104968
104964
  */
104969
104965
  skipped: number;
104970
104966
  /**
package/dist/zod.cjs CHANGED
@@ -2031,16 +2031,6 @@ var zTrackerSignal = import_zod.z.object({
2031
2031
  zPersonCommentChange
2032
2032
  ])),
2033
2033
  observedAt: import_zod.z.iso.datetime(),
2034
- deliveryStatus: import_zod.z.enum([
2035
- "PENDING",
2036
- "DELIVERED",
2037
- "FAILED",
2038
- "SKIPPED"
2039
- ]),
2040
- deliveredAt: import_zod.z.union([
2041
- import_zod.z.iso.datetime(),
2042
- import_zod.z.null()
2043
- ]),
2044
2034
  centiCreditsCharged: import_zod.z.int().gte(0),
2045
2035
  isDummy: import_zod.z.boolean()
2046
2036
  });
@@ -219981,6 +219971,7 @@ var zAddTrackerPeopleData = import_zod.z.object({
219981
219971
  var zAddTrackerPeopleResponse = import_zod.z.object({
219982
219972
  output: import_zod.z.object({
219983
219973
  added: import_zod.z.int().gte(0),
219974
+ pending: import_zod.z.int().gte(0),
219984
219975
  skipped: import_zod.z.int().gte(0),
219985
219976
  invalidPeople: import_zod.z.array(import_zod.z.object({
219986
219977
  index: import_zod.z.int().gte(0),
package/dist/zod.d.cts CHANGED
@@ -1335,13 +1335,6 @@ declare const zTrackerSignal: z.ZodObject<{
1335
1335
  commentedAgo: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1336
1336
  }, z.core.$strip>]>>;
1337
1337
  observedAt: z.ZodISODateTime;
1338
- deliveryStatus: z.ZodEnum<{
1339
- PENDING: "PENDING";
1340
- DELIVERED: "DELIVERED";
1341
- FAILED: "FAILED";
1342
- SKIPPED: "SKIPPED";
1343
- }>;
1344
- deliveredAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>;
1345
1338
  centiCreditsCharged: z.ZodInt;
1346
1339
  isDummy: z.ZodBoolean;
1347
1340
  }, z.core.$strip>;
@@ -3511,9 +3504,9 @@ declare const zPollBatchLiveEnrichResponse: z.ZodObject<{
3511
3504
  output: z.ZodObject<{
3512
3505
  status: z.ZodEnum<{
3513
3506
  PENDING: "PENDING";
3514
- FAILED: "FAILED";
3515
3507
  PROCESSING: "PROCESSING";
3516
3508
  COMPLETED: "COMPLETED";
3509
+ FAILED: "FAILED";
3517
3510
  }>;
3518
3511
  type: z.ZodEnum<{
3519
3512
  PROFILE: "PROFILE";
@@ -3530,8 +3523,8 @@ declare const zPollBatchLiveEnrichResponse: z.ZodObject<{
3530
3523
  results: z.ZodArray<z.ZodObject<{
3531
3524
  identifier: z.ZodString;
3532
3525
  status: z.ZodEnum<{
3533
- FAILED: "FAILED";
3534
3526
  COMPLETED: "COMPLETED";
3527
+ FAILED: "FAILED";
3535
3528
  NOT_FOUND: "NOT_FOUND";
3536
3529
  MALFORMED: "MALFORMED";
3537
3530
  }>;
@@ -4556,8 +4549,8 @@ declare const zPollLocalBusinessSearchResponse: z.ZodObject<{
4556
4549
  researchRunId: z.ZodString;
4557
4550
  status: z.ZodEnum<{
4558
4551
  PENDING: "PENDING";
4559
- FAILED: "FAILED";
4560
4552
  COMPLETED: "COMPLETED";
4553
+ FAILED: "FAILED";
4561
4554
  RUNNING: "RUNNING";
4562
4555
  }>;
4563
4556
  progress: z.ZodObject<{
@@ -4688,8 +4681,8 @@ declare const zCheckGoogleMapsResultsData: z.ZodObject<{
4688
4681
  declare const zCheckGoogleMapsResultsResponse: z.ZodObject<{
4689
4682
  output: z.ZodObject<{
4690
4683
  status: z.ZodEnum<{
4691
- FAILED: "FAILED";
4692
4684
  COMPLETED: "COMPLETED";
4685
+ FAILED: "FAILED";
4693
4686
  RUNNING: "RUNNING";
4694
4687
  NOT_STARTED: "NOT_STARTED";
4695
4688
  }>;
@@ -136395,9 +136388,9 @@ declare const zGetSavedSearchRunResponse: z.ZodObject<{
136395
136388
  run: z.ZodObject<{
136396
136389
  id: z.ZodString;
136397
136390
  status: z.ZodEnum<{
136398
- FAILED: "FAILED";
136399
136391
  PROCESSING: "PROCESSING";
136400
136392
  COMPLETED: "COMPLETED";
136393
+ FAILED: "FAILED";
136401
136394
  NOT_STARTED: "NOT_STARTED";
136402
136395
  REJECTED_NO_FUNDS: "REJECTED_NO_FUNDS";
136403
136396
  }>;
@@ -156832,9 +156825,9 @@ declare const zGetSavedSearchRunStatusResponse: z.ZodObject<{
156832
156825
  startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
156833
156826
  completedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
156834
156827
  status: z.ZodEnum<{
156835
- FAILED: "FAILED";
156836
156828
  PROCESSING: "PROCESSING";
156837
156829
  COMPLETED: "COMPLETED";
156830
+ FAILED: "FAILED";
156838
156831
  NOT_STARTED: "NOT_STARTED";
156839
156832
  REJECTED_NO_FUNDS: "REJECTED_NO_FUNDS";
156840
156833
  }>;
@@ -162625,9 +162618,9 @@ declare const zGetLatestSavedSearchRunResponse: z.ZodObject<{
162625
162618
  run: z.ZodObject<{
162626
162619
  id: z.ZodString;
162627
162620
  status: z.ZodEnum<{
162628
- FAILED: "FAILED";
162629
162621
  PROCESSING: "PROCESSING";
162630
162622
  COMPLETED: "COMPLETED";
162623
+ FAILED: "FAILED";
162631
162624
  NOT_STARTED: "NOT_STARTED";
162632
162625
  REJECTED_NO_FUNDS: "REJECTED_NO_FUNDS";
162633
162626
  }>;
@@ -179396,13 +179389,6 @@ declare const zListTrackerSignalsResponse: z.ZodObject<{
179396
179389
  commentedAgo: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
179397
179390
  }, z.core.$strip>]>>;
179398
179391
  observedAt: z.ZodISODateTime;
179399
- deliveryStatus: z.ZodEnum<{
179400
- PENDING: "PENDING";
179401
- DELIVERED: "DELIVERED";
179402
- FAILED: "FAILED";
179403
- SKIPPED: "SKIPPED";
179404
- }>;
179405
- deliveredAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>;
179406
179392
  centiCreditsCharged: z.ZodInt;
179407
179393
  isDummy: z.ZodBoolean;
179408
179394
  }, z.core.$strip>>;
@@ -182240,6 +182226,7 @@ declare const zAddTrackerPeopleData: z.ZodObject<{
182240
182226
  declare const zAddTrackerPeopleResponse: z.ZodObject<{
182241
182227
  output: z.ZodObject<{
182242
182228
  added: z.ZodInt;
182229
+ pending: z.ZodInt;
182243
182230
  skipped: z.ZodInt;
182244
182231
  invalidPeople: z.ZodArray<z.ZodObject<{
182245
182232
  index: z.ZodInt;
package/dist/zod.d.ts CHANGED
@@ -1335,13 +1335,6 @@ declare const zTrackerSignal: z.ZodObject<{
1335
1335
  commentedAgo: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1336
1336
  }, z.core.$strip>]>>;
1337
1337
  observedAt: z.ZodISODateTime;
1338
- deliveryStatus: z.ZodEnum<{
1339
- PENDING: "PENDING";
1340
- DELIVERED: "DELIVERED";
1341
- FAILED: "FAILED";
1342
- SKIPPED: "SKIPPED";
1343
- }>;
1344
- deliveredAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>;
1345
1338
  centiCreditsCharged: z.ZodInt;
1346
1339
  isDummy: z.ZodBoolean;
1347
1340
  }, z.core.$strip>;
@@ -3511,9 +3504,9 @@ declare const zPollBatchLiveEnrichResponse: z.ZodObject<{
3511
3504
  output: z.ZodObject<{
3512
3505
  status: z.ZodEnum<{
3513
3506
  PENDING: "PENDING";
3514
- FAILED: "FAILED";
3515
3507
  PROCESSING: "PROCESSING";
3516
3508
  COMPLETED: "COMPLETED";
3509
+ FAILED: "FAILED";
3517
3510
  }>;
3518
3511
  type: z.ZodEnum<{
3519
3512
  PROFILE: "PROFILE";
@@ -3530,8 +3523,8 @@ declare const zPollBatchLiveEnrichResponse: z.ZodObject<{
3530
3523
  results: z.ZodArray<z.ZodObject<{
3531
3524
  identifier: z.ZodString;
3532
3525
  status: z.ZodEnum<{
3533
- FAILED: "FAILED";
3534
3526
  COMPLETED: "COMPLETED";
3527
+ FAILED: "FAILED";
3535
3528
  NOT_FOUND: "NOT_FOUND";
3536
3529
  MALFORMED: "MALFORMED";
3537
3530
  }>;
@@ -4556,8 +4549,8 @@ declare const zPollLocalBusinessSearchResponse: z.ZodObject<{
4556
4549
  researchRunId: z.ZodString;
4557
4550
  status: z.ZodEnum<{
4558
4551
  PENDING: "PENDING";
4559
- FAILED: "FAILED";
4560
4552
  COMPLETED: "COMPLETED";
4553
+ FAILED: "FAILED";
4561
4554
  RUNNING: "RUNNING";
4562
4555
  }>;
4563
4556
  progress: z.ZodObject<{
@@ -4688,8 +4681,8 @@ declare const zCheckGoogleMapsResultsData: z.ZodObject<{
4688
4681
  declare const zCheckGoogleMapsResultsResponse: z.ZodObject<{
4689
4682
  output: z.ZodObject<{
4690
4683
  status: z.ZodEnum<{
4691
- FAILED: "FAILED";
4692
4684
  COMPLETED: "COMPLETED";
4685
+ FAILED: "FAILED";
4693
4686
  RUNNING: "RUNNING";
4694
4687
  NOT_STARTED: "NOT_STARTED";
4695
4688
  }>;
@@ -136395,9 +136388,9 @@ declare const zGetSavedSearchRunResponse: z.ZodObject<{
136395
136388
  run: z.ZodObject<{
136396
136389
  id: z.ZodString;
136397
136390
  status: z.ZodEnum<{
136398
- FAILED: "FAILED";
136399
136391
  PROCESSING: "PROCESSING";
136400
136392
  COMPLETED: "COMPLETED";
136393
+ FAILED: "FAILED";
136401
136394
  NOT_STARTED: "NOT_STARTED";
136402
136395
  REJECTED_NO_FUNDS: "REJECTED_NO_FUNDS";
136403
136396
  }>;
@@ -156832,9 +156825,9 @@ declare const zGetSavedSearchRunStatusResponse: z.ZodObject<{
156832
156825
  startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
156833
156826
  completedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
156834
156827
  status: z.ZodEnum<{
156835
- FAILED: "FAILED";
156836
156828
  PROCESSING: "PROCESSING";
156837
156829
  COMPLETED: "COMPLETED";
156830
+ FAILED: "FAILED";
156838
156831
  NOT_STARTED: "NOT_STARTED";
156839
156832
  REJECTED_NO_FUNDS: "REJECTED_NO_FUNDS";
156840
156833
  }>;
@@ -162625,9 +162618,9 @@ declare const zGetLatestSavedSearchRunResponse: z.ZodObject<{
162625
162618
  run: z.ZodObject<{
162626
162619
  id: z.ZodString;
162627
162620
  status: z.ZodEnum<{
162628
- FAILED: "FAILED";
162629
162621
  PROCESSING: "PROCESSING";
162630
162622
  COMPLETED: "COMPLETED";
162623
+ FAILED: "FAILED";
162631
162624
  NOT_STARTED: "NOT_STARTED";
162632
162625
  REJECTED_NO_FUNDS: "REJECTED_NO_FUNDS";
162633
162626
  }>;
@@ -179396,13 +179389,6 @@ declare const zListTrackerSignalsResponse: z.ZodObject<{
179396
179389
  commentedAgo: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
179397
179390
  }, z.core.$strip>]>>;
179398
179391
  observedAt: z.ZodISODateTime;
179399
- deliveryStatus: z.ZodEnum<{
179400
- PENDING: "PENDING";
179401
- DELIVERED: "DELIVERED";
179402
- FAILED: "FAILED";
179403
- SKIPPED: "SKIPPED";
179404
- }>;
179405
- deliveredAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>;
179406
179392
  centiCreditsCharged: z.ZodInt;
179407
179393
  isDummy: z.ZodBoolean;
179408
179394
  }, z.core.$strip>>;
@@ -182240,6 +182226,7 @@ declare const zAddTrackerPeopleData: z.ZodObject<{
182240
182226
  declare const zAddTrackerPeopleResponse: z.ZodObject<{
182241
182227
  output: z.ZodObject<{
182242
182228
  added: z.ZodInt;
182229
+ pending: z.ZodInt;
182243
182230
  skipped: z.ZodInt;
182244
182231
  invalidPeople: z.ZodArray<z.ZodObject<{
182245
182232
  index: z.ZodInt;
package/dist/zod.js CHANGED
@@ -1444,16 +1444,6 @@ var zTrackerSignal = z.object({
1444
1444
  zPersonCommentChange
1445
1445
  ])),
1446
1446
  observedAt: z.iso.datetime(),
1447
- deliveryStatus: z.enum([
1448
- "PENDING",
1449
- "DELIVERED",
1450
- "FAILED",
1451
- "SKIPPED"
1452
- ]),
1453
- deliveredAt: z.union([
1454
- z.iso.datetime(),
1455
- z.null()
1456
- ]),
1457
1447
  centiCreditsCharged: z.int().gte(0),
1458
1448
  isDummy: z.boolean()
1459
1449
  });
@@ -219394,6 +219384,7 @@ var zAddTrackerPeopleData = z.object({
219394
219384
  var zAddTrackerPeopleResponse = z.object({
219395
219385
  output: z.object({
219396
219386
  added: z.int().gte(0),
219387
+ pending: z.int().gte(0),
219397
219388
  skipped: z.int().gte(0),
219398
219389
  invalidPeople: z.array(z.object({
219399
219390
  index: z.int().gte(0),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiberai/sdk",
3
- "version": "0.0.34",
3
+ "version": "0.0.36",
4
4
  "description": "Official TypeScript SDK for Fiber AI API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",