@fiberai/sdk 0.0.50 → 0.0.51
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.cjs +10 -0
- package/dist/index.d.cts +361 -1
- package/dist/index.d.ts +361 -1
- package/dist/index.js +9 -0
- package/dist/zod.cjs +166 -0
- package/dist/zod.d.cts +128 -1
- package/dist/zod.d.ts +128 -1
- package/dist/zod.js +164 -0
- package/package.json +1 -1
package/dist/zod.js
CHANGED
|
@@ -2652,6 +2652,24 @@ var zGetOrgCreditsResponse = z.object({
|
|
|
2652
2652
|
centiCreditCost: z.number().gte(0)
|
|
2653
2653
|
})).min(1)
|
|
2654
2654
|
}).prefault({ levels: [{ limit: null, centiCreditCost: 100 }] }),
|
|
2655
|
+
instantEmailReveal: z.object({
|
|
2656
|
+
levels: z.array(z.object({
|
|
2657
|
+
limit: z.optional(z.union([
|
|
2658
|
+
z.number().gt(0),
|
|
2659
|
+
z.null()
|
|
2660
|
+
])),
|
|
2661
|
+
centiCreditCost: z.number().gte(0)
|
|
2662
|
+
})).min(1)
|
|
2663
|
+
}).prefault({ levels: [{ limit: null, centiCreditCost: 100 }] }),
|
|
2664
|
+
instantPhoneReveal: z.object({
|
|
2665
|
+
levels: z.array(z.object({
|
|
2666
|
+
limit: z.optional(z.union([
|
|
2667
|
+
z.number().gt(0),
|
|
2668
|
+
z.null()
|
|
2669
|
+
])),
|
|
2670
|
+
centiCreditCost: z.number().gte(0)
|
|
2671
|
+
})).min(1)
|
|
2672
|
+
}).prefault({ levels: [{ limit: null, centiCreditCost: 100 }] }),
|
|
2655
2673
|
allEmailReveal: z.object({
|
|
2656
2674
|
levels: z.array(z.object({
|
|
2657
2675
|
limit: z.optional(z.union([
|
|
@@ -112353,6 +112371,150 @@ var zLiteContactRevealResponse = z.object({
|
|
|
112353
112371
|
z.null()
|
|
112354
112372
|
]))
|
|
112355
112373
|
});
|
|
112374
|
+
var zInstantContactRevealData = z.object({
|
|
112375
|
+
body: z.object({
|
|
112376
|
+
apiKey: z.string(),
|
|
112377
|
+
input: z.union([
|
|
112378
|
+
z.object({
|
|
112379
|
+
mode: z.enum(["linkedin"]),
|
|
112380
|
+
linkedinIdentifier: z.string().min(1),
|
|
112381
|
+
fullName: z.optional(z.union([
|
|
112382
|
+
z.string().min(1),
|
|
112383
|
+
z.null()
|
|
112384
|
+
]))
|
|
112385
|
+
}),
|
|
112386
|
+
z.object({
|
|
112387
|
+
mode: z.enum(["name-domain"]),
|
|
112388
|
+
fullName: z.string().min(1),
|
|
112389
|
+
companyDomain: z.string().min(1)
|
|
112390
|
+
})
|
|
112391
|
+
]),
|
|
112392
|
+
enrichmentType: z.optional(z.object({
|
|
112393
|
+
getWorkEmails: z.optional(z.boolean()).prefault(true),
|
|
112394
|
+
getPersonalEmails: z.optional(z.boolean()).prefault(false),
|
|
112395
|
+
getPhoneNumbers: z.optional(z.boolean()).prefault(false)
|
|
112396
|
+
})).prefault({
|
|
112397
|
+
getWorkEmails: true,
|
|
112398
|
+
getPersonalEmails: false,
|
|
112399
|
+
getPhoneNumbers: false
|
|
112400
|
+
})
|
|
112401
|
+
}),
|
|
112402
|
+
path: z.optional(z.never()),
|
|
112403
|
+
query: z.optional(z.never())
|
|
112404
|
+
});
|
|
112405
|
+
var zInstantContactRevealResponse = z.object({
|
|
112406
|
+
output: z.object({
|
|
112407
|
+
profile: z.object({
|
|
112408
|
+
emails: z.array(z.object({
|
|
112409
|
+
emailAddress: z.optional(z.union([
|
|
112410
|
+
z.string().min(1),
|
|
112411
|
+
z.null()
|
|
112412
|
+
])),
|
|
112413
|
+
type: z.optional(z.nullable(z.enum(["work", "personal"]))),
|
|
112414
|
+
validationStatus: z.optional(z.nullable(z.enum([
|
|
112415
|
+
"valid",
|
|
112416
|
+
"risky",
|
|
112417
|
+
"unknown",
|
|
112418
|
+
"invalid"
|
|
112419
|
+
]))),
|
|
112420
|
+
deliverabilityScore: z.optional(z.union([
|
|
112421
|
+
z.number().gte(0).lte(100),
|
|
112422
|
+
z.null()
|
|
112423
|
+
])),
|
|
112424
|
+
isCatchAll: z.optional(z.union([
|
|
112425
|
+
z.boolean(),
|
|
112426
|
+
z.null()
|
|
112427
|
+
]))
|
|
112428
|
+
})).prefault([]),
|
|
112429
|
+
phoneNumbers: z.array(z.object({
|
|
112430
|
+
phoneNumber: z.optional(z.union([
|
|
112431
|
+
z.string().min(1),
|
|
112432
|
+
z.null()
|
|
112433
|
+
])),
|
|
112434
|
+
type: z.optional(z.nullable(z.enum([
|
|
112435
|
+
"mobile",
|
|
112436
|
+
"other",
|
|
112437
|
+
"unknown"
|
|
112438
|
+
])))
|
|
112439
|
+
})).prefault([])
|
|
112440
|
+
})
|
|
112441
|
+
}),
|
|
112442
|
+
chargeInfo: z.union([
|
|
112443
|
+
z.object({
|
|
112444
|
+
method: z.enum(["charged-now"]),
|
|
112445
|
+
creditsCharged: z.number(),
|
|
112446
|
+
lowCreditAlert: z.optional(z.union([
|
|
112447
|
+
z.object({
|
|
112448
|
+
getMoreCreditsUrl: z.url(),
|
|
112449
|
+
message: z.string(),
|
|
112450
|
+
availableCredits: z.number()
|
|
112451
|
+
}),
|
|
112452
|
+
z.null()
|
|
112453
|
+
]))
|
|
112454
|
+
}),
|
|
112455
|
+
z.object({
|
|
112456
|
+
method: z.enum(["charging-later"]),
|
|
112457
|
+
message: z.string(),
|
|
112458
|
+
lowCreditAlert: z.optional(z.union([
|
|
112459
|
+
z.object({
|
|
112460
|
+
getMoreCreditsUrl: z.url(),
|
|
112461
|
+
message: z.string(),
|
|
112462
|
+
availableCredits: z.number()
|
|
112463
|
+
}),
|
|
112464
|
+
z.null()
|
|
112465
|
+
]))
|
|
112466
|
+
}),
|
|
112467
|
+
z.object({
|
|
112468
|
+
method: z.enum(["charged-for-async-process"]),
|
|
112469
|
+
creditsCharged: z.number(),
|
|
112470
|
+
message: z.string(),
|
|
112471
|
+
lowCreditAlert: z.optional(z.union([
|
|
112472
|
+
z.object({
|
|
112473
|
+
getMoreCreditsUrl: z.url(),
|
|
112474
|
+
message: z.string(),
|
|
112475
|
+
availableCredits: z.number()
|
|
112476
|
+
}),
|
|
112477
|
+
z.null()
|
|
112478
|
+
]))
|
|
112479
|
+
}),
|
|
112480
|
+
z.object({
|
|
112481
|
+
method: z.enum(["free"]),
|
|
112482
|
+
message: z.string(),
|
|
112483
|
+
lowCreditAlert: z.optional(z.union([
|
|
112484
|
+
z.object({
|
|
112485
|
+
getMoreCreditsUrl: z.url(),
|
|
112486
|
+
message: z.string(),
|
|
112487
|
+
availableCredits: z.number()
|
|
112488
|
+
}),
|
|
112489
|
+
z.null()
|
|
112490
|
+
]))
|
|
112491
|
+
}),
|
|
112492
|
+
z.object({
|
|
112493
|
+
method: z.enum(["credits-refunded"]),
|
|
112494
|
+
creditsRefunded: z.number(),
|
|
112495
|
+
message: z.string(),
|
|
112496
|
+
lowCreditAlert: z.optional(z.union([
|
|
112497
|
+
z.object({
|
|
112498
|
+
getMoreCreditsUrl: z.url(),
|
|
112499
|
+
message: z.string(),
|
|
112500
|
+
availableCredits: z.number()
|
|
112501
|
+
}),
|
|
112502
|
+
z.null()
|
|
112503
|
+
]))
|
|
112504
|
+
})
|
|
112505
|
+
]),
|
|
112506
|
+
warnings: z.optional(z.union([
|
|
112507
|
+
z.array(z.object({
|
|
112508
|
+
field: z.string(),
|
|
112509
|
+
message: z.string()
|
|
112510
|
+
})),
|
|
112511
|
+
z.null()
|
|
112512
|
+
])),
|
|
112513
|
+
advice: z.optional(z.union([
|
|
112514
|
+
z.array(z.string()),
|
|
112515
|
+
z.null()
|
|
112516
|
+
]))
|
|
112517
|
+
});
|
|
112356
112518
|
var zStartDepthChartData = z.object({
|
|
112357
112519
|
body: z.object({
|
|
112358
112520
|
apiKey: z.string(),
|
|
@@ -296563,6 +296725,8 @@ export {
|
|
|
296563
296725
|
zInstagramUserPostsResponse,
|
|
296564
296726
|
zInstagramUserReelsData,
|
|
296565
296727
|
zInstagramUserReelsResponse,
|
|
296728
|
+
zInstantContactRevealData,
|
|
296729
|
+
zInstantContactRevealResponse,
|
|
296566
296730
|
zInvestorChange,
|
|
296567
296731
|
zJobChangedWebhookRequest,
|
|
296568
296732
|
zJobChangesProfilesAddedWebhookRequest,
|