@fiberai/sdk 0.0.53 → 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/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()
@@ -121429,6 +121437,110 @@ var zReverseEmailLookupResponse = z.object({
121429
121437
  z.null()
121430
121438
  ]))
121431
121439
  });
121440
+ var zHemLookupData = z.object({
121441
+ body: z.object({
121442
+ apiKey: z.string(),
121443
+ hashedEmails: z.array(z.string().max(64)).min(1).max(100)
121444
+ }),
121445
+ path: z.optional(z.never()),
121446
+ query: z.optional(z.never())
121447
+ });
121448
+ var zHemLookupResponse = z.object({
121449
+ output: z.object({
121450
+ data: z.array(z.union([z.object({
121451
+ status: z.enum(["found"]),
121452
+ hashedEmail: z.string(),
121453
+ originalEmail: z.string(),
121454
+ linkedinUrl: z.union([
121455
+ z.string(),
121456
+ z.null()
121457
+ ]),
121458
+ linkedinUserID: z.union([
121459
+ z.string(),
121460
+ z.null()
121461
+ ])
121462
+ }), z.object({
121463
+ status: z.enum(["not_found", "rejected"]),
121464
+ hashedEmail: z.string(),
121465
+ message: z.string()
121466
+ })]))
121467
+ }),
121468
+ chargeInfo: z.union([
121469
+ z.object({
121470
+ method: z.enum(["charged-now"]),
121471
+ creditsCharged: z.number(),
121472
+ lowCreditAlert: z.optional(z.union([
121473
+ z.object({
121474
+ getMoreCreditsUrl: z.url(),
121475
+ message: z.string(),
121476
+ availableCredits: z.number()
121477
+ }),
121478
+ z.null()
121479
+ ]))
121480
+ }),
121481
+ z.object({
121482
+ method: z.enum(["charging-later"]),
121483
+ message: z.string(),
121484
+ lowCreditAlert: z.optional(z.union([
121485
+ z.object({
121486
+ getMoreCreditsUrl: z.url(),
121487
+ message: z.string(),
121488
+ availableCredits: z.number()
121489
+ }),
121490
+ z.null()
121491
+ ]))
121492
+ }),
121493
+ z.object({
121494
+ method: z.enum(["charged-for-async-process"]),
121495
+ creditsCharged: z.number(),
121496
+ message: z.string(),
121497
+ lowCreditAlert: z.optional(z.union([
121498
+ z.object({
121499
+ getMoreCreditsUrl: z.url(),
121500
+ message: z.string(),
121501
+ availableCredits: z.number()
121502
+ }),
121503
+ z.null()
121504
+ ]))
121505
+ }),
121506
+ z.object({
121507
+ method: z.enum(["free"]),
121508
+ message: z.string(),
121509
+ lowCreditAlert: z.optional(z.union([
121510
+ z.object({
121511
+ getMoreCreditsUrl: z.url(),
121512
+ message: z.string(),
121513
+ availableCredits: z.number()
121514
+ }),
121515
+ z.null()
121516
+ ]))
121517
+ }),
121518
+ z.object({
121519
+ method: z.enum(["credits-refunded"]),
121520
+ creditsRefunded: z.number(),
121521
+ message: z.string(),
121522
+ lowCreditAlert: z.optional(z.union([
121523
+ z.object({
121524
+ getMoreCreditsUrl: z.url(),
121525
+ message: z.string(),
121526
+ availableCredits: z.number()
121527
+ }),
121528
+ z.null()
121529
+ ]))
121530
+ })
121531
+ ]),
121532
+ warnings: z.optional(z.union([
121533
+ z.array(z.object({
121534
+ field: z.string(),
121535
+ message: z.string()
121536
+ })),
121537
+ z.null()
121538
+ ])),
121539
+ advice: z.optional(z.union([
121540
+ z.array(z.string()),
121541
+ z.null()
121542
+ ]))
121543
+ });
121432
121544
  var zLiteReverseEmailLookupData = z.object({
121433
121545
  body: z.object({
121434
121546
  apiKey: z.string(),
@@ -303119,6 +303231,8 @@ export {
303119
303231
  zHeadcountGrowthPercentResponse,
303120
303232
  zHealthCheckData,
303121
303233
  zHealthCheckResponse,
303234
+ zHemLookupData,
303235
+ zHemLookupResponse,
303122
303236
  zHotelPropertyData,
303123
303237
  zHotelPropertyResponse,
303124
303238
  zHotelSearchData,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiberai/sdk",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
4
4
  "description": "Official TypeScript SDK for Fiber AI API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",