@fiberai/sdk 0.0.54 → 0.0.55
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 +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/zod.cjs +8 -0
- package/dist/zod.d.cts +5 -0
- package/dist/zod.d.ts +5 -0
- package/dist/zod.js +8 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -12214,6 +12214,14 @@ type PollExhaustiveContactEnrichmentResultResponses = {
|
|
|
12214
12214
|
type: 'work' | 'personal' | 'other' | 'unknown' | 'generic';
|
|
12215
12215
|
status?: 'valid' | 'risky' | 'unknown' | 'invalid';
|
|
12216
12216
|
}> | null;
|
|
12217
|
+
/**
|
|
12218
|
+
* Counts of contact details discovered but not returned because they were not part of the requested enrichmentType set. Only present when at least one unrequested type was found; request the corresponding enrichment types and run the task again to receive them.
|
|
12219
|
+
*/
|
|
12220
|
+
foundOtherTypes?: {
|
|
12221
|
+
workEmails: number;
|
|
12222
|
+
personalEmails: number;
|
|
12223
|
+
phoneNumbers: number;
|
|
12224
|
+
} | null;
|
|
12217
12225
|
};
|
|
12218
12226
|
/**
|
|
12219
12227
|
* Whether the enrichment is completed or not.
|
|
@@ -153367,7 +153375,7 @@ declare const accountVerifyOtp: <ThrowOnError extends boolean = false>(options:
|
|
|
153367
153375
|
/**
|
|
153368
153376
|
* Poll exhaustive contact details reveal result
|
|
153369
153377
|
*
|
|
153370
|
-
* Polls the status of an exhaustive contact reveal task. Pass the task ID returned by /contact-details/exhaustive/start.
|
|
153378
|
+
* Polls the status of an exhaustive contact reveal task. Pass the task ID returned by /contact-details/exhaustive/start. Exhaustive reveal is our slowest, maximum-coverage endpoint — expect the full run to take roughly 2–3 minutes (most tasks finish sooner). Poll every 15–30 seconds until done is true. If you need fast results, use /contact-details/turbo/sync, /contact-details/single, or /contact-details/lite instead. Returns the current status and, once complete, the full set of discovered emails and phone numbers. Includes both high-quality emails and low-quality emails (risky/undeliverable). Low-quality emails failed our internal validation checks and should be filtered out before use, but are included for transparency.
|
|
153371
153379
|
*
|
|
153372
153380
|
* <span>⚡ <strong>Rate limit:</strong> 240 requests per 1 minute</span>
|
|
153373
153381
|
*/
|
|
@@ -154167,7 +154175,7 @@ declare const startMosaic: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
154167
154175
|
/**
|
|
154168
154176
|
* Start exhaustive contact details reveal
|
|
154169
154177
|
*
|
|
154170
|
-
* Maximum-coverage contact reveal — runs
|
|
154178
|
+
* Maximum-coverage contact reveal — runs multiple enrichment sources in parallel for the highest yield. This is our SLOWEST endpoint by design: expect to wait roughly 2–3 minutes for results. This is an asynchronous operation — call it to start the task, then poll /contact-details/exhaustive/poll with the returned task ID every 15–30 seconds. Do NOT use this endpoint in time-sensitive flows. If speed matters, use /contact-details/turbo/sync (fastest), /contact-details/single (balanced), or /contact-details/lite (cheapest) instead — exhaustive is for when maximum coverage is worth the wait.
|
|
154171
154179
|
*
|
|
154172
154180
|
* <span>⚡ <strong>Rate limit:</strong> 120 requests per 1 minute</span>
|
|
154173
154181
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -12214,6 +12214,14 @@ type PollExhaustiveContactEnrichmentResultResponses = {
|
|
|
12214
12214
|
type: 'work' | 'personal' | 'other' | 'unknown' | 'generic';
|
|
12215
12215
|
status?: 'valid' | 'risky' | 'unknown' | 'invalid';
|
|
12216
12216
|
}> | null;
|
|
12217
|
+
/**
|
|
12218
|
+
* Counts of contact details discovered but not returned because they were not part of the requested enrichmentType set. Only present when at least one unrequested type was found; request the corresponding enrichment types and run the task again to receive them.
|
|
12219
|
+
*/
|
|
12220
|
+
foundOtherTypes?: {
|
|
12221
|
+
workEmails: number;
|
|
12222
|
+
personalEmails: number;
|
|
12223
|
+
phoneNumbers: number;
|
|
12224
|
+
} | null;
|
|
12217
12225
|
};
|
|
12218
12226
|
/**
|
|
12219
12227
|
* Whether the enrichment is completed or not.
|
|
@@ -153367,7 +153375,7 @@ declare const accountVerifyOtp: <ThrowOnError extends boolean = false>(options:
|
|
|
153367
153375
|
/**
|
|
153368
153376
|
* Poll exhaustive contact details reveal result
|
|
153369
153377
|
*
|
|
153370
|
-
* Polls the status of an exhaustive contact reveal task. Pass the task ID returned by /contact-details/exhaustive/start.
|
|
153378
|
+
* Polls the status of an exhaustive contact reveal task. Pass the task ID returned by /contact-details/exhaustive/start. Exhaustive reveal is our slowest, maximum-coverage endpoint — expect the full run to take roughly 2–3 minutes (most tasks finish sooner). Poll every 15–30 seconds until done is true. If you need fast results, use /contact-details/turbo/sync, /contact-details/single, or /contact-details/lite instead. Returns the current status and, once complete, the full set of discovered emails and phone numbers. Includes both high-quality emails and low-quality emails (risky/undeliverable). Low-quality emails failed our internal validation checks and should be filtered out before use, but are included for transparency.
|
|
153371
153379
|
*
|
|
153372
153380
|
* <span>⚡ <strong>Rate limit:</strong> 240 requests per 1 minute</span>
|
|
153373
153381
|
*/
|
|
@@ -154167,7 +154175,7 @@ declare const startMosaic: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
154167
154175
|
/**
|
|
154168
154176
|
* Start exhaustive contact details reveal
|
|
154169
154177
|
*
|
|
154170
|
-
* Maximum-coverage contact reveal — runs
|
|
154178
|
+
* Maximum-coverage contact reveal — runs multiple enrichment sources in parallel for the highest yield. This is our SLOWEST endpoint by design: expect to wait roughly 2–3 minutes for results. This is an asynchronous operation — call it to start the task, then poll /contact-details/exhaustive/poll with the returned task ID every 15–30 seconds. Do NOT use this endpoint in time-sensitive flows. If speed matters, use /contact-details/turbo/sync (fastest), /contact-details/single (balanced), or /contact-details/lite (cheapest) instead — exhaustive is for when maximum coverage is worth the wait.
|
|
154171
154179
|
*
|
|
154172
154180
|
* <span>⚡ <strong>Rate limit:</strong> 120 requests per 1 minute</span>
|
|
154173
154181
|
*
|
package/dist/zod.cjs
CHANGED
|
@@ -7550,6 +7550,14 @@ var zPollExhaustiveContactEnrichmentResultResponse = import_zod.z.object({
|
|
|
7550
7550
|
]))
|
|
7551
7551
|
})),
|
|
7552
7552
|
import_zod.z.null()
|
|
7553
|
+
])),
|
|
7554
|
+
foundOtherTypes: import_zod.z.optional(import_zod.z.union([
|
|
7555
|
+
import_zod.z.object({
|
|
7556
|
+
workEmails: import_zod.z.int().gte(0),
|
|
7557
|
+
personalEmails: import_zod.z.int().gte(0),
|
|
7558
|
+
phoneNumbers: import_zod.z.int().gte(0)
|
|
7559
|
+
}),
|
|
7560
|
+
import_zod.z.null()
|
|
7553
7561
|
]))
|
|
7554
7562
|
}),
|
|
7555
7563
|
done: import_zod.z.boolean()
|
package/dist/zod.d.cts
CHANGED
|
@@ -5580,6 +5580,11 @@ declare const zPollExhaustiveContactEnrichmentResultResponse: z.ZodObject<{
|
|
|
5580
5580
|
invalid: "invalid";
|
|
5581
5581
|
}>>;
|
|
5582
5582
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
5583
|
+
foundOtherTypes: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
5584
|
+
workEmails: z.ZodInt;
|
|
5585
|
+
personalEmails: z.ZodInt;
|
|
5586
|
+
phoneNumbers: z.ZodInt;
|
|
5587
|
+
}, z.core.$strip>, z.ZodNull]>>;
|
|
5583
5588
|
}, z.core.$strip>;
|
|
5584
5589
|
done: z.ZodBoolean;
|
|
5585
5590
|
}, z.core.$strip>;
|
package/dist/zod.d.ts
CHANGED
|
@@ -5580,6 +5580,11 @@ declare const zPollExhaustiveContactEnrichmentResultResponse: z.ZodObject<{
|
|
|
5580
5580
|
invalid: "invalid";
|
|
5581
5581
|
}>>;
|
|
5582
5582
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
5583
|
+
foundOtherTypes: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
5584
|
+
workEmails: z.ZodInt;
|
|
5585
|
+
personalEmails: z.ZodInt;
|
|
5586
|
+
phoneNumbers: z.ZodInt;
|
|
5587
|
+
}, z.core.$strip>, z.ZodNull]>>;
|
|
5583
5588
|
}, z.core.$strip>;
|
|
5584
5589
|
done: z.ZodBoolean;
|
|
5585
5590
|
}, z.core.$strip>;
|
package/dist/zod.js
CHANGED
|
@@ -6844,6 +6844,14 @@ var zPollExhaustiveContactEnrichmentResultResponse = z.object({
|
|
|
6844
6844
|
]))
|
|
6845
6845
|
})),
|
|
6846
6846
|
z.null()
|
|
6847
|
+
])),
|
|
6848
|
+
foundOtherTypes: z.optional(z.union([
|
|
6849
|
+
z.object({
|
|
6850
|
+
workEmails: z.int().gte(0),
|
|
6851
|
+
personalEmails: z.int().gte(0),
|
|
6852
|
+
phoneNumbers: z.int().gte(0)
|
|
6853
|
+
}),
|
|
6854
|
+
z.null()
|
|
6847
6855
|
]))
|
|
6848
6856
|
}),
|
|
6849
6857
|
done: z.boolean()
|