@fiberai/sdk 0.0.15 → 0.0.16
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 +23 -0
- package/dist/index.d.cts +2134 -169
- package/dist/index.d.ts +2134 -169
- package/dist/index.js +20 -0
- package/dist/zod.cjs +1802 -298
- package/dist/zod.d.cts +1004 -72
- package/dist/zod.d.ts +1004 -72
- package/dist/zod.js +1775 -298
- package/package.json +1 -1
package/dist/zod.js
CHANGED
|
@@ -453,6 +453,24 @@ var zGetOrgCreditsResponse = z.object({
|
|
|
453
453
|
centiCreditCost: z.number().gte(0)
|
|
454
454
|
})).min(1)
|
|
455
455
|
}).default({ levels: [{ limit: null, centiCreditCost: 200 }] }),
|
|
456
|
+
getLiProfileLatestActivities: z.object({
|
|
457
|
+
levels: z.array(z.object({
|
|
458
|
+
limit: z.optional(z.union([
|
|
459
|
+
z.number().gt(0),
|
|
460
|
+
z.null()
|
|
461
|
+
])),
|
|
462
|
+
centiCreditCost: z.number().gte(0)
|
|
463
|
+
})).min(1)
|
|
464
|
+
}).default({ levels: [{ limit: null, centiCreditCost: 300 }] }),
|
|
465
|
+
getLiProfileLastActiveDate: z.object({
|
|
466
|
+
levels: z.array(z.object({
|
|
467
|
+
limit: z.optional(z.union([
|
|
468
|
+
z.number().gt(0),
|
|
469
|
+
z.null()
|
|
470
|
+
])),
|
|
471
|
+
centiCreditCost: z.number().gte(0)
|
|
472
|
+
})).min(1)
|
|
473
|
+
}).default({ levels: [{ limit: null, centiCreditCost: 200 }] }),
|
|
456
474
|
getProfileLatestLiPost: z.object({
|
|
457
475
|
levels: z.array(z.object({
|
|
458
476
|
limit: z.optional(z.union([
|
|
@@ -830,7 +848,16 @@ var zGetOrgCreditsResponse = z.object({
|
|
|
830
848
|
])),
|
|
831
849
|
centiCreditCost: z.number().gte(0)
|
|
832
850
|
})).min(1)
|
|
833
|
-
}).default({ levels: [{ limit: null, centiCreditCost: 200 }] })
|
|
851
|
+
}).default({ levels: [{ limit: null, centiCreditCost: 200 }] }),
|
|
852
|
+
mosaicRow: z.object({
|
|
853
|
+
levels: z.array(z.object({
|
|
854
|
+
limit: z.optional(z.union([
|
|
855
|
+
z.number().gt(0),
|
|
856
|
+
z.null()
|
|
857
|
+
])),
|
|
858
|
+
centiCreditCost: z.number().gte(0)
|
|
859
|
+
})).min(1)
|
|
860
|
+
}).default({ levels: [{ limit: null, centiCreditCost: 1e3 }] })
|
|
834
861
|
}),
|
|
835
862
|
z.null()
|
|
836
863
|
]))
|
|
@@ -1218,7 +1245,7 @@ var zBuyCreditsResponse = z.object({
|
|
|
1218
1245
|
var zPollExhaustiveContactEnrichmentResultData = z.object({
|
|
1219
1246
|
body: z.object({
|
|
1220
1247
|
apiKey: z.string(),
|
|
1221
|
-
taskId: z.string()
|
|
1248
|
+
taskId: z.string().min(1)
|
|
1222
1249
|
}),
|
|
1223
1250
|
path: z.optional(z.never()),
|
|
1224
1251
|
query: z.optional(z.never())
|
|
@@ -2228,6 +2255,10 @@ var zPollBatchLiveEnrichResponse = z.object({
|
|
|
2228
2255
|
z.array(z.string()),
|
|
2229
2256
|
z.null()
|
|
2230
2257
|
])),
|
|
2258
|
+
is_verified: z.optional(z.union([
|
|
2259
|
+
z.boolean(),
|
|
2260
|
+
z.null()
|
|
2261
|
+
])),
|
|
2231
2262
|
current_job: z.optional(z.union([
|
|
2232
2263
|
z.object({
|
|
2233
2264
|
linkedin_company_id: z.optional(z.union([
|
|
@@ -3968,78 +3999,71 @@ var zGithubToLinkedInPollingResponse = z.object({
|
|
|
3968
3999
|
]),
|
|
3969
4000
|
data: z.array(z.object({
|
|
3970
4001
|
githubUsername: z.string(),
|
|
3971
|
-
customerProvidedId: z.union([
|
|
4002
|
+
customerProvidedId: z.optional(z.union([
|
|
3972
4003
|
z.string(),
|
|
3973
4004
|
z.null()
|
|
3974
|
-
]),
|
|
4005
|
+
])),
|
|
3975
4006
|
status: z.enum([
|
|
3976
4007
|
"NOT_STARTED",
|
|
3977
4008
|
"STARTED",
|
|
3978
4009
|
"DONE",
|
|
3979
4010
|
"FAILED"
|
|
3980
4011
|
]),
|
|
3981
|
-
linkedInUrl: z.union([
|
|
4012
|
+
linkedInUrl: z.optional(z.union([
|
|
3982
4013
|
z.url(),
|
|
3983
4014
|
z.null()
|
|
3984
|
-
]),
|
|
3985
|
-
linkedInSlug: z.union([
|
|
4015
|
+
])),
|
|
4016
|
+
linkedInSlug: z.optional(z.union([
|
|
3986
4017
|
z.string(),
|
|
3987
4018
|
z.null()
|
|
3988
|
-
]),
|
|
4019
|
+
])),
|
|
3989
4020
|
confidenceOutOf10: z.int().gte(0).lte(10),
|
|
3990
|
-
|
|
3991
|
-
"email",
|
|
3992
|
-
"name-search",
|
|
3993
|
-
"agent",
|
|
3994
|
-
"web-search",
|
|
3995
|
-
"not-found"
|
|
3996
|
-
]),
|
|
3997
|
-
rationale: z.union([
|
|
4021
|
+
rationale: z.optional(z.union([
|
|
3998
4022
|
z.string(),
|
|
3999
4023
|
z.null()
|
|
4000
|
-
]),
|
|
4024
|
+
])),
|
|
4001
4025
|
extractedEmails: z.array(z.string()),
|
|
4002
|
-
githubProfile: z.union([
|
|
4026
|
+
githubProfile: z.optional(z.union([
|
|
4003
4027
|
z.object({
|
|
4004
|
-
name: z.union([
|
|
4028
|
+
name: z.optional(z.union([
|
|
4005
4029
|
z.string(),
|
|
4006
4030
|
z.null()
|
|
4007
|
-
]),
|
|
4008
|
-
company: z.union([
|
|
4031
|
+
])),
|
|
4032
|
+
company: z.optional(z.union([
|
|
4009
4033
|
z.string(),
|
|
4010
4034
|
z.null()
|
|
4011
|
-
]),
|
|
4012
|
-
location: z.union([
|
|
4035
|
+
])),
|
|
4036
|
+
location: z.optional(z.union([
|
|
4013
4037
|
z.string(),
|
|
4014
4038
|
z.null()
|
|
4015
|
-
]),
|
|
4016
|
-
bio: z.union([
|
|
4039
|
+
])),
|
|
4040
|
+
bio: z.optional(z.union([
|
|
4017
4041
|
z.string(),
|
|
4018
4042
|
z.null()
|
|
4019
|
-
]),
|
|
4020
|
-
blog: z.union([
|
|
4043
|
+
])),
|
|
4044
|
+
blog: z.optional(z.union([
|
|
4021
4045
|
z.string(),
|
|
4022
4046
|
z.null()
|
|
4023
|
-
]),
|
|
4024
|
-
avatarUrl: z.union([
|
|
4047
|
+
])),
|
|
4048
|
+
avatarUrl: z.optional(z.union([
|
|
4025
4049
|
z.string(),
|
|
4026
4050
|
z.null()
|
|
4027
|
-
]),
|
|
4028
|
-
followers: z.union([
|
|
4051
|
+
])),
|
|
4052
|
+
followers: z.optional(z.union([
|
|
4029
4053
|
z.int(),
|
|
4030
4054
|
z.null()
|
|
4031
|
-
]),
|
|
4032
|
-
publicRepos: z.union([
|
|
4055
|
+
])),
|
|
4056
|
+
publicRepos: z.optional(z.union([
|
|
4033
4057
|
z.int(),
|
|
4034
4058
|
z.null()
|
|
4035
|
-
])
|
|
4059
|
+
]))
|
|
4036
4060
|
}),
|
|
4037
4061
|
z.null()
|
|
4038
|
-
]),
|
|
4039
|
-
errorMessage: z.union([
|
|
4062
|
+
])),
|
|
4063
|
+
errorMessage: z.optional(z.union([
|
|
4040
4064
|
z.string(),
|
|
4041
4065
|
z.null()
|
|
4042
|
-
])
|
|
4066
|
+
]))
|
|
4043
4067
|
})),
|
|
4044
4068
|
nextCursor: z.optional(z.union([
|
|
4045
4069
|
z.string(),
|
|
@@ -6106,6 +6130,81 @@ var zGetTechnologiesResponse = z.object({
|
|
|
6106
6130
|
z.null()
|
|
6107
6131
|
]))
|
|
6108
6132
|
});
|
|
6133
|
+
var zGetFlightRegionsData = z.object({
|
|
6134
|
+
body: z.optional(z.never()),
|
|
6135
|
+
path: z.optional(z.never()),
|
|
6136
|
+
query: z.object({
|
|
6137
|
+
apiKey: z.string()
|
|
6138
|
+
})
|
|
6139
|
+
});
|
|
6140
|
+
var zGetFlightRegionsResponse = z.object({
|
|
6141
|
+
output: z.object({
|
|
6142
|
+
regions: z.array(z.object({
|
|
6143
|
+
apiCode: z.string(),
|
|
6144
|
+
name: z.string(),
|
|
6145
|
+
airportIataCodes: z.array(z.string().regex(/^[A-Z]{3}$/)).min(1),
|
|
6146
|
+
freebaseId: z.string().regex(/^\/(?:m|g)\/[A-Za-z0-9_]+$/)
|
|
6147
|
+
})).min(1)
|
|
6148
|
+
}),
|
|
6149
|
+
chargeInfo: z.union([
|
|
6150
|
+
z.object({
|
|
6151
|
+
method: z.enum(["charged-now"]),
|
|
6152
|
+
creditsCharged: z.number(),
|
|
6153
|
+
lowCreditAlert: z.optional(z.union([
|
|
6154
|
+
z.object({
|
|
6155
|
+
getMoreCreditsUrl: z.url(),
|
|
6156
|
+
message: z.string(),
|
|
6157
|
+
availableCredits: z.number()
|
|
6158
|
+
}),
|
|
6159
|
+
z.null()
|
|
6160
|
+
]))
|
|
6161
|
+
}),
|
|
6162
|
+
z.object({
|
|
6163
|
+
method: z.enum(["charging-later"]),
|
|
6164
|
+
message: z.string(),
|
|
6165
|
+
lowCreditAlert: z.optional(z.union([
|
|
6166
|
+
z.object({
|
|
6167
|
+
getMoreCreditsUrl: z.url(),
|
|
6168
|
+
message: z.string(),
|
|
6169
|
+
availableCredits: z.number()
|
|
6170
|
+
}),
|
|
6171
|
+
z.null()
|
|
6172
|
+
]))
|
|
6173
|
+
}),
|
|
6174
|
+
z.object({
|
|
6175
|
+
method: z.enum(["charged-for-async-process"]),
|
|
6176
|
+
creditsCharged: z.number(),
|
|
6177
|
+
message: z.string(),
|
|
6178
|
+
lowCreditAlert: z.optional(z.union([
|
|
6179
|
+
z.object({
|
|
6180
|
+
getMoreCreditsUrl: z.url(),
|
|
6181
|
+
message: z.string(),
|
|
6182
|
+
availableCredits: z.number()
|
|
6183
|
+
}),
|
|
6184
|
+
z.null()
|
|
6185
|
+
]))
|
|
6186
|
+
}),
|
|
6187
|
+
z.object({
|
|
6188
|
+
method: z.enum(["free"]),
|
|
6189
|
+
message: z.string(),
|
|
6190
|
+
lowCreditAlert: z.optional(z.union([
|
|
6191
|
+
z.object({
|
|
6192
|
+
getMoreCreditsUrl: z.url(),
|
|
6193
|
+
message: z.string(),
|
|
6194
|
+
availableCredits: z.number()
|
|
6195
|
+
}),
|
|
6196
|
+
z.null()
|
|
6197
|
+
]))
|
|
6198
|
+
})
|
|
6199
|
+
]),
|
|
6200
|
+
warnings: z.optional(z.union([
|
|
6201
|
+
z.array(z.object({
|
|
6202
|
+
field: z.string(),
|
|
6203
|
+
message: z.string()
|
|
6204
|
+
})),
|
|
6205
|
+
z.null()
|
|
6206
|
+
]))
|
|
6207
|
+
});
|
|
6109
6208
|
var zCreateAudienceData = z.object({
|
|
6110
6209
|
body: z.object({
|
|
6111
6210
|
apiKey: z.string(),
|
|
@@ -14723,6 +14822,45 @@ var zUpdateAudienceSearchParamsData = z.object({
|
|
|
14723
14822
|
}),
|
|
14724
14823
|
z.null()
|
|
14725
14824
|
])),
|
|
14825
|
+
exactProfileV2: z.optional(z.union([
|
|
14826
|
+
z.object({
|
|
14827
|
+
anyOf: z.optional(z.union([
|
|
14828
|
+
z.array(z.union([
|
|
14829
|
+
z.object({
|
|
14830
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
14831
|
+
linkedin_slug: z.string().min(1)
|
|
14832
|
+
}),
|
|
14833
|
+
z.object({
|
|
14834
|
+
identifier: z.enum(["linkedin-url"]),
|
|
14835
|
+
linkedin_url: z.url()
|
|
14836
|
+
}),
|
|
14837
|
+
z.object({
|
|
14838
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
14839
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
14840
|
+
})
|
|
14841
|
+
])),
|
|
14842
|
+
z.null()
|
|
14843
|
+
])),
|
|
14844
|
+
noneOf: z.optional(z.union([
|
|
14845
|
+
z.array(z.union([
|
|
14846
|
+
z.object({
|
|
14847
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
14848
|
+
linkedin_slug: z.string().min(1)
|
|
14849
|
+
}),
|
|
14850
|
+
z.object({
|
|
14851
|
+
identifier: z.enum(["linkedin-url"]),
|
|
14852
|
+
linkedin_url: z.url()
|
|
14853
|
+
}),
|
|
14854
|
+
z.object({
|
|
14855
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
14856
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
14857
|
+
})
|
|
14858
|
+
])),
|
|
14859
|
+
z.null()
|
|
14860
|
+
]))
|
|
14861
|
+
}),
|
|
14862
|
+
z.null()
|
|
14863
|
+
])),
|
|
14726
14864
|
startedInRole: z.optional(z.union([
|
|
14727
14865
|
z.object({
|
|
14728
14866
|
strategy: z.enum(["absolute"]),
|
|
@@ -37552,6 +37690,45 @@ var zPeopleSearchData = z.object({
|
|
|
37552
37690
|
}),
|
|
37553
37691
|
z.null()
|
|
37554
37692
|
])),
|
|
37693
|
+
exactProfileV2: z.optional(z.union([
|
|
37694
|
+
z.object({
|
|
37695
|
+
anyOf: z.optional(z.union([
|
|
37696
|
+
z.array(z.union([
|
|
37697
|
+
z.object({
|
|
37698
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
37699
|
+
linkedin_slug: z.string().min(1)
|
|
37700
|
+
}),
|
|
37701
|
+
z.object({
|
|
37702
|
+
identifier: z.enum(["linkedin-url"]),
|
|
37703
|
+
linkedin_url: z.url()
|
|
37704
|
+
}),
|
|
37705
|
+
z.object({
|
|
37706
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
37707
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
37708
|
+
})
|
|
37709
|
+
])),
|
|
37710
|
+
z.null()
|
|
37711
|
+
])),
|
|
37712
|
+
noneOf: z.optional(z.union([
|
|
37713
|
+
z.array(z.union([
|
|
37714
|
+
z.object({
|
|
37715
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
37716
|
+
linkedin_slug: z.string().min(1)
|
|
37717
|
+
}),
|
|
37718
|
+
z.object({
|
|
37719
|
+
identifier: z.enum(["linkedin-url"]),
|
|
37720
|
+
linkedin_url: z.url()
|
|
37721
|
+
}),
|
|
37722
|
+
z.object({
|
|
37723
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
37724
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
37725
|
+
})
|
|
37726
|
+
])),
|
|
37727
|
+
z.null()
|
|
37728
|
+
]))
|
|
37729
|
+
}),
|
|
37730
|
+
z.null()
|
|
37731
|
+
])),
|
|
37555
37732
|
startedInRole: z.optional(z.union([
|
|
37556
37733
|
z.object({
|
|
37557
37734
|
strategy: z.enum(["absolute"]),
|
|
@@ -40505,6 +40682,10 @@ var zPeopleSearchResponse = z.object({
|
|
|
40505
40682
|
z.array(z.string()),
|
|
40506
40683
|
z.null()
|
|
40507
40684
|
])),
|
|
40685
|
+
is_verified: z.optional(z.union([
|
|
40686
|
+
z.boolean(),
|
|
40687
|
+
z.null()
|
|
40688
|
+
])),
|
|
40508
40689
|
current_job: z.optional(z.union([
|
|
40509
40690
|
z.object({
|
|
40510
40691
|
linkedin_company_id: z.optional(z.union([
|
|
@@ -41815,6 +41996,45 @@ var zPeopleSearchCountData = z.object({
|
|
|
41815
41996
|
}),
|
|
41816
41997
|
z.null()
|
|
41817
41998
|
])),
|
|
41999
|
+
exactProfileV2: z.optional(z.union([
|
|
42000
|
+
z.object({
|
|
42001
|
+
anyOf: z.optional(z.union([
|
|
42002
|
+
z.array(z.union([
|
|
42003
|
+
z.object({
|
|
42004
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
42005
|
+
linkedin_slug: z.string().min(1)
|
|
42006
|
+
}),
|
|
42007
|
+
z.object({
|
|
42008
|
+
identifier: z.enum(["linkedin-url"]),
|
|
42009
|
+
linkedin_url: z.url()
|
|
42010
|
+
}),
|
|
42011
|
+
z.object({
|
|
42012
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
42013
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
42014
|
+
})
|
|
42015
|
+
])),
|
|
42016
|
+
z.null()
|
|
42017
|
+
])),
|
|
42018
|
+
noneOf: z.optional(z.union([
|
|
42019
|
+
z.array(z.union([
|
|
42020
|
+
z.object({
|
|
42021
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
42022
|
+
linkedin_slug: z.string().min(1)
|
|
42023
|
+
}),
|
|
42024
|
+
z.object({
|
|
42025
|
+
identifier: z.enum(["linkedin-url"]),
|
|
42026
|
+
linkedin_url: z.url()
|
|
42027
|
+
}),
|
|
42028
|
+
z.object({
|
|
42029
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
42030
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
42031
|
+
})
|
|
42032
|
+
])),
|
|
42033
|
+
z.null()
|
|
42034
|
+
]))
|
|
42035
|
+
}),
|
|
42036
|
+
z.null()
|
|
42037
|
+
])),
|
|
41818
42038
|
startedInRole: z.optional(z.union([
|
|
41819
42039
|
z.object({
|
|
41820
42040
|
strategy: z.enum(["absolute"]),
|
|
@@ -52266,6 +52486,45 @@ var zPaginatedCombinedSearchData = z.object({
|
|
|
52266
52486
|
}),
|
|
52267
52487
|
z.null()
|
|
52268
52488
|
])),
|
|
52489
|
+
exactProfileV2: z.optional(z.union([
|
|
52490
|
+
z.object({
|
|
52491
|
+
anyOf: z.optional(z.union([
|
|
52492
|
+
z.array(z.union([
|
|
52493
|
+
z.object({
|
|
52494
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
52495
|
+
linkedin_slug: z.string().min(1)
|
|
52496
|
+
}),
|
|
52497
|
+
z.object({
|
|
52498
|
+
identifier: z.enum(["linkedin-url"]),
|
|
52499
|
+
linkedin_url: z.url()
|
|
52500
|
+
}),
|
|
52501
|
+
z.object({
|
|
52502
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
52503
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
52504
|
+
})
|
|
52505
|
+
])),
|
|
52506
|
+
z.null()
|
|
52507
|
+
])),
|
|
52508
|
+
noneOf: z.optional(z.union([
|
|
52509
|
+
z.array(z.union([
|
|
52510
|
+
z.object({
|
|
52511
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
52512
|
+
linkedin_slug: z.string().min(1)
|
|
52513
|
+
}),
|
|
52514
|
+
z.object({
|
|
52515
|
+
identifier: z.enum(["linkedin-url"]),
|
|
52516
|
+
linkedin_url: z.url()
|
|
52517
|
+
}),
|
|
52518
|
+
z.object({
|
|
52519
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
52520
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
52521
|
+
})
|
|
52522
|
+
])),
|
|
52523
|
+
z.null()
|
|
52524
|
+
]))
|
|
52525
|
+
}),
|
|
52526
|
+
z.null()
|
|
52527
|
+
])),
|
|
52269
52528
|
startedInRole: z.optional(z.union([
|
|
52270
52529
|
z.object({
|
|
52271
52530
|
strategy: z.enum(["absolute"]),
|
|
@@ -58157,6 +58416,10 @@ var zPaginatedCombinedSearchResponse = z.object({
|
|
|
58157
58416
|
z.array(z.string()),
|
|
58158
58417
|
z.null()
|
|
58159
58418
|
])),
|
|
58419
|
+
is_verified: z.optional(z.union([
|
|
58420
|
+
z.boolean(),
|
|
58421
|
+
z.null()
|
|
58422
|
+
])),
|
|
58160
58423
|
current_job: z.optional(z.union([
|
|
58161
58424
|
z.object({
|
|
58162
58425
|
linkedin_company_id: z.optional(z.union([
|
|
@@ -66809,6 +67072,45 @@ var zCombinedSearchCountData = z.object({
|
|
|
66809
67072
|
}),
|
|
66810
67073
|
z.null()
|
|
66811
67074
|
])),
|
|
67075
|
+
exactProfileV2: z.optional(z.union([
|
|
67076
|
+
z.object({
|
|
67077
|
+
anyOf: z.optional(z.union([
|
|
67078
|
+
z.array(z.union([
|
|
67079
|
+
z.object({
|
|
67080
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
67081
|
+
linkedin_slug: z.string().min(1)
|
|
67082
|
+
}),
|
|
67083
|
+
z.object({
|
|
67084
|
+
identifier: z.enum(["linkedin-url"]),
|
|
67085
|
+
linkedin_url: z.url()
|
|
67086
|
+
}),
|
|
67087
|
+
z.object({
|
|
67088
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
67089
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
67090
|
+
})
|
|
67091
|
+
])),
|
|
67092
|
+
z.null()
|
|
67093
|
+
])),
|
|
67094
|
+
noneOf: z.optional(z.union([
|
|
67095
|
+
z.array(z.union([
|
|
67096
|
+
z.object({
|
|
67097
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
67098
|
+
linkedin_slug: z.string().min(1)
|
|
67099
|
+
}),
|
|
67100
|
+
z.object({
|
|
67101
|
+
identifier: z.enum(["linkedin-url"]),
|
|
67102
|
+
linkedin_url: z.url()
|
|
67103
|
+
}),
|
|
67104
|
+
z.object({
|
|
67105
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
67106
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
67107
|
+
})
|
|
67108
|
+
])),
|
|
67109
|
+
z.null()
|
|
67110
|
+
]))
|
|
67111
|
+
}),
|
|
67112
|
+
z.null()
|
|
67113
|
+
])),
|
|
66812
67114
|
startedInRole: z.optional(z.union([
|
|
66813
67115
|
z.object({
|
|
66814
67116
|
strategy: z.enum(["absolute"]),
|
|
@@ -70203,6 +70505,45 @@ var zStealthFoundersSearchData = z.object({
|
|
|
70203
70505
|
}),
|
|
70204
70506
|
z.null()
|
|
70205
70507
|
])),
|
|
70508
|
+
exactProfileV2: z.optional(z.union([
|
|
70509
|
+
z.object({
|
|
70510
|
+
anyOf: z.optional(z.union([
|
|
70511
|
+
z.array(z.union([
|
|
70512
|
+
z.object({
|
|
70513
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
70514
|
+
linkedin_slug: z.string().min(1)
|
|
70515
|
+
}),
|
|
70516
|
+
z.object({
|
|
70517
|
+
identifier: z.enum(["linkedin-url"]),
|
|
70518
|
+
linkedin_url: z.url()
|
|
70519
|
+
}),
|
|
70520
|
+
z.object({
|
|
70521
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
70522
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
70523
|
+
})
|
|
70524
|
+
])),
|
|
70525
|
+
z.null()
|
|
70526
|
+
])),
|
|
70527
|
+
noneOf: z.optional(z.union([
|
|
70528
|
+
z.array(z.union([
|
|
70529
|
+
z.object({
|
|
70530
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
70531
|
+
linkedin_slug: z.string().min(1)
|
|
70532
|
+
}),
|
|
70533
|
+
z.object({
|
|
70534
|
+
identifier: z.enum(["linkedin-url"]),
|
|
70535
|
+
linkedin_url: z.url()
|
|
70536
|
+
}),
|
|
70537
|
+
z.object({
|
|
70538
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
70539
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
70540
|
+
})
|
|
70541
|
+
])),
|
|
70542
|
+
z.null()
|
|
70543
|
+
]))
|
|
70544
|
+
}),
|
|
70545
|
+
z.null()
|
|
70546
|
+
])),
|
|
70206
70547
|
startedInRole: z.optional(z.union([
|
|
70207
70548
|
z.object({
|
|
70208
70549
|
strategy: z.enum(["absolute"]),
|
|
@@ -73779,6 +74120,45 @@ var zStealthFoundersCountData = z.object({
|
|
|
73779
74120
|
}),
|
|
73780
74121
|
z.null()
|
|
73781
74122
|
])),
|
|
74123
|
+
exactProfileV2: z.optional(z.union([
|
|
74124
|
+
z.object({
|
|
74125
|
+
anyOf: z.optional(z.union([
|
|
74126
|
+
z.array(z.union([
|
|
74127
|
+
z.object({
|
|
74128
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
74129
|
+
linkedin_slug: z.string().min(1)
|
|
74130
|
+
}),
|
|
74131
|
+
z.object({
|
|
74132
|
+
identifier: z.enum(["linkedin-url"]),
|
|
74133
|
+
linkedin_url: z.url()
|
|
74134
|
+
}),
|
|
74135
|
+
z.object({
|
|
74136
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
74137
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
74138
|
+
})
|
|
74139
|
+
])),
|
|
74140
|
+
z.null()
|
|
74141
|
+
])),
|
|
74142
|
+
noneOf: z.optional(z.union([
|
|
74143
|
+
z.array(z.union([
|
|
74144
|
+
z.object({
|
|
74145
|
+
identifier: z.enum(["linkedin-slug"]),
|
|
74146
|
+
linkedin_slug: z.string().min(1)
|
|
74147
|
+
}),
|
|
74148
|
+
z.object({
|
|
74149
|
+
identifier: z.enum(["linkedin-url"]),
|
|
74150
|
+
linkedin_url: z.url()
|
|
74151
|
+
}),
|
|
74152
|
+
z.object({
|
|
74153
|
+
identifier: z.enum(["linkedin-user-id"]),
|
|
74154
|
+
user_id: z.string().min(1).regex(/^[0-9]+$/)
|
|
74155
|
+
})
|
|
74156
|
+
])),
|
|
74157
|
+
z.null()
|
|
74158
|
+
]))
|
|
74159
|
+
}),
|
|
74160
|
+
z.null()
|
|
74161
|
+
])),
|
|
73782
74162
|
startedInRole: z.optional(z.union([
|
|
73783
74163
|
z.object({
|
|
73784
74164
|
strategy: z.enum(["absolute"]),
|
|
@@ -76099,208 +76479,319 @@ var zSyncQuickContactRevealResponse = z.object({
|
|
|
76099
76479
|
z.null()
|
|
76100
76480
|
]))
|
|
76101
76481
|
});
|
|
76102
|
-
var
|
|
76482
|
+
var zLiteContactRevealData = z.object({
|
|
76103
76483
|
body: z.object({
|
|
76104
76484
|
apiKey: z.string(),
|
|
76105
|
-
|
|
76485
|
+
input: z.union([
|
|
76106
76486
|
z.object({
|
|
76107
|
-
|
|
76108
|
-
|
|
76109
|
-
|
|
76110
|
-
|
|
76111
|
-
|
|
76112
|
-
|
|
76113
|
-
}),
|
|
76114
|
-
z.object({
|
|
76115
|
-
identifier: z.enum(["linkedinOrgId"]),
|
|
76116
|
-
value: z.string().min(1).regex(/^\d+$/)
|
|
76487
|
+
mode: z.enum(["linkedin"]),
|
|
76488
|
+
linkedinIdentifier: z.string().min(1),
|
|
76489
|
+
fullName: z.optional(z.union([
|
|
76490
|
+
z.string().min(1),
|
|
76491
|
+
z.null()
|
|
76492
|
+
]))
|
|
76117
76493
|
}),
|
|
76118
76494
|
z.object({
|
|
76119
|
-
|
|
76120
|
-
|
|
76495
|
+
mode: z.enum(["name-domain"]),
|
|
76496
|
+
fullName: z.string().min(1),
|
|
76497
|
+
companyDomain: z.string().min(1)
|
|
76121
76498
|
})
|
|
76122
76499
|
]),
|
|
76123
|
-
functions: z.optional(z.union([
|
|
76124
|
-
z.array(z.string().min(1)).min(1).max(30),
|
|
76125
|
-
z.null()
|
|
76126
|
-
]))
|
|
76127
|
-
}),
|
|
76128
|
-
path: z.optional(z.never()),
|
|
76129
|
-
query: z.optional(z.never())
|
|
76130
|
-
});
|
|
76131
|
-
var zStartDepthChartResponse = z.object({
|
|
76132
|
-
output: z.object({
|
|
76133
|
-
reportId: z.string()
|
|
76134
|
-
}),
|
|
76135
|
-
chargeInfo: z.union([
|
|
76136
|
-
z.object({
|
|
76137
|
-
method: z.enum(["charged-now"]),
|
|
76138
|
-
creditsCharged: z.number(),
|
|
76139
|
-
lowCreditAlert: z.optional(z.union([
|
|
76140
|
-
z.object({
|
|
76141
|
-
getMoreCreditsUrl: z.url(),
|
|
76142
|
-
message: z.string(),
|
|
76143
|
-
availableCredits: z.number()
|
|
76144
|
-
}),
|
|
76145
|
-
z.null()
|
|
76146
|
-
]))
|
|
76147
|
-
}),
|
|
76148
|
-
z.object({
|
|
76149
|
-
method: z.enum(["charging-later"]),
|
|
76150
|
-
message: z.string(),
|
|
76151
|
-
lowCreditAlert: z.optional(z.union([
|
|
76152
|
-
z.object({
|
|
76153
|
-
getMoreCreditsUrl: z.url(),
|
|
76154
|
-
message: z.string(),
|
|
76155
|
-
availableCredits: z.number()
|
|
76156
|
-
}),
|
|
76157
|
-
z.null()
|
|
76158
|
-
]))
|
|
76159
|
-
}),
|
|
76160
|
-
z.object({
|
|
76161
|
-
method: z.enum(["charged-for-async-process"]),
|
|
76162
|
-
creditsCharged: z.number(),
|
|
76163
|
-
message: z.string(),
|
|
76164
|
-
lowCreditAlert: z.optional(z.union([
|
|
76165
|
-
z.object({
|
|
76166
|
-
getMoreCreditsUrl: z.url(),
|
|
76167
|
-
message: z.string(),
|
|
76168
|
-
availableCredits: z.number()
|
|
76169
|
-
}),
|
|
76170
|
-
z.null()
|
|
76171
|
-
]))
|
|
76172
|
-
}),
|
|
76173
|
-
z.object({
|
|
76174
|
-
method: z.enum(["free"]),
|
|
76175
|
-
message: z.string(),
|
|
76176
|
-
lowCreditAlert: z.optional(z.union([
|
|
76177
|
-
z.object({
|
|
76178
|
-
getMoreCreditsUrl: z.url(),
|
|
76179
|
-
message: z.string(),
|
|
76180
|
-
availableCredits: z.number()
|
|
76181
|
-
}),
|
|
76182
|
-
z.null()
|
|
76183
|
-
]))
|
|
76184
|
-
})
|
|
76185
|
-
]),
|
|
76186
|
-
warnings: z.optional(z.union([
|
|
76187
|
-
z.array(z.object({
|
|
76188
|
-
field: z.string(),
|
|
76189
|
-
message: z.string()
|
|
76190
|
-
})),
|
|
76191
|
-
z.null()
|
|
76192
|
-
]))
|
|
76193
|
-
});
|
|
76194
|
-
var zTriggerExhaustiveContactEnrichmentData = z.object({
|
|
76195
|
-
body: z.object({
|
|
76196
|
-
apiKey: z.string(),
|
|
76197
|
-
linkedinUrl: z.string().min(1),
|
|
76198
76500
|
enrichmentType: z.optional(z.object({
|
|
76199
76501
|
getWorkEmails: z.optional(z.boolean()).default(true),
|
|
76200
|
-
getPersonalEmails: z.optional(z.boolean()).default(
|
|
76201
|
-
|
|
76202
|
-
})).default({
|
|
76203
|
-
getWorkEmails: true,
|
|
76204
|
-
getPersonalEmails: true,
|
|
76205
|
-
getPhoneNumbers: true
|
|
76206
|
-
})
|
|
76502
|
+
getPersonalEmails: z.optional(z.boolean()).default(false)
|
|
76503
|
+
})).default({ getWorkEmails: true, getPersonalEmails: false })
|
|
76207
76504
|
}),
|
|
76208
76505
|
path: z.optional(z.never()),
|
|
76209
76506
|
query: z.optional(z.never())
|
|
76210
76507
|
});
|
|
76211
|
-
var
|
|
76508
|
+
var zLiteContactRevealResponse = z.object({
|
|
76212
76509
|
output: z.object({
|
|
76213
|
-
|
|
76214
|
-
|
|
76215
|
-
|
|
76216
|
-
|
|
76217
|
-
|
|
76218
|
-
|
|
76219
|
-
|
|
76220
|
-
z.
|
|
76221
|
-
|
|
76222
|
-
|
|
76223
|
-
|
|
76224
|
-
|
|
76225
|
-
|
|
76226
|
-
|
|
76227
|
-
|
|
76228
|
-
|
|
76229
|
-
|
|
76230
|
-
|
|
76231
|
-
|
|
76232
|
-
|
|
76233
|
-
|
|
76234
|
-
|
|
76235
|
-
availableCredits: z.number()
|
|
76236
|
-
}),
|
|
76237
|
-
z.null()
|
|
76238
|
-
]))
|
|
76239
|
-
}),
|
|
76240
|
-
z.object({
|
|
76241
|
-
method: z.enum(["charged-for-async-process"]),
|
|
76242
|
-
creditsCharged: z.number(),
|
|
76243
|
-
message: z.string(),
|
|
76244
|
-
lowCreditAlert: z.optional(z.union([
|
|
76245
|
-
z.object({
|
|
76246
|
-
getMoreCreditsUrl: z.url(),
|
|
76247
|
-
message: z.string(),
|
|
76248
|
-
availableCredits: z.number()
|
|
76249
|
-
}),
|
|
76250
|
-
z.null()
|
|
76251
|
-
]))
|
|
76252
|
-
}),
|
|
76253
|
-
z.object({
|
|
76254
|
-
method: z.enum(["free"]),
|
|
76255
|
-
message: z.string(),
|
|
76256
|
-
lowCreditAlert: z.optional(z.union([
|
|
76257
|
-
z.object({
|
|
76258
|
-
getMoreCreditsUrl: z.url(),
|
|
76259
|
-
message: z.string(),
|
|
76260
|
-
availableCredits: z.number()
|
|
76261
|
-
}),
|
|
76262
|
-
z.null()
|
|
76263
|
-
]))
|
|
76264
|
-
})
|
|
76265
|
-
]),
|
|
76266
|
-
warnings: z.optional(z.union([
|
|
76267
|
-
z.array(z.object({
|
|
76268
|
-
field: z.string(),
|
|
76269
|
-
message: z.string()
|
|
76270
|
-
})),
|
|
76271
|
-
z.null()
|
|
76272
|
-
]))
|
|
76273
|
-
});
|
|
76274
|
-
var zStartBatchContactDetailsData = z.object({
|
|
76275
|
-
body: z.object({
|
|
76276
|
-
apiKey: z.string(),
|
|
76277
|
-
personDetails: z.array(z.object({
|
|
76278
|
-
linkedinUrl: z.object({
|
|
76279
|
-
value: z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(?<slug>[^\/\\?,#]+)\/?(?:[\?,#].*)?/)
|
|
76280
|
-
})
|
|
76281
|
-
})).min(1).max(2e3),
|
|
76282
|
-
enrichmentTypes: z.optional(z.object({
|
|
76283
|
-
getWorkEmails: z.optional(z.boolean()).default(true),
|
|
76284
|
-
getPersonalEmails: z.optional(z.boolean()).default(true),
|
|
76285
|
-
getPhoneNumbers: z.optional(z.boolean()).default(true)
|
|
76286
|
-
})).default({
|
|
76287
|
-
getWorkEmails: true,
|
|
76288
|
-
getPersonalEmails: true,
|
|
76289
|
-
getPhoneNumbers: true
|
|
76510
|
+
profile: z.object({
|
|
76511
|
+
emails: z.array(z.object({
|
|
76512
|
+
emailAddress: z.optional(z.union([
|
|
76513
|
+
z.string().min(1),
|
|
76514
|
+
z.null()
|
|
76515
|
+
])),
|
|
76516
|
+
type: z.optional(z.nullable(z.enum(["work", "personal"]))),
|
|
76517
|
+
validationStatus: z.optional(z.nullable(z.enum([
|
|
76518
|
+
"valid",
|
|
76519
|
+
"risky",
|
|
76520
|
+
"unknown",
|
|
76521
|
+
"invalid"
|
|
76522
|
+
]))),
|
|
76523
|
+
deliverabilityScore: z.optional(z.union([
|
|
76524
|
+
z.number().gte(0).lte(100),
|
|
76525
|
+
z.null()
|
|
76526
|
+
])),
|
|
76527
|
+
isCatchAll: z.optional(z.union([
|
|
76528
|
+
z.boolean(),
|
|
76529
|
+
z.null()
|
|
76530
|
+
]))
|
|
76531
|
+
})).default([])
|
|
76290
76532
|
})
|
|
76291
76533
|
}),
|
|
76292
|
-
|
|
76293
|
-
|
|
76294
|
-
|
|
76295
|
-
|
|
76296
|
-
|
|
76297
|
-
|
|
76298
|
-
|
|
76299
|
-
|
|
76300
|
-
|
|
76301
|
-
|
|
76302
|
-
|
|
76303
|
-
|
|
76534
|
+
chargeInfo: z.union([
|
|
76535
|
+
z.object({
|
|
76536
|
+
method: z.enum(["charged-now"]),
|
|
76537
|
+
creditsCharged: z.number(),
|
|
76538
|
+
lowCreditAlert: z.optional(z.union([
|
|
76539
|
+
z.object({
|
|
76540
|
+
getMoreCreditsUrl: z.url(),
|
|
76541
|
+
message: z.string(),
|
|
76542
|
+
availableCredits: z.number()
|
|
76543
|
+
}),
|
|
76544
|
+
z.null()
|
|
76545
|
+
]))
|
|
76546
|
+
}),
|
|
76547
|
+
z.object({
|
|
76548
|
+
method: z.enum(["charging-later"]),
|
|
76549
|
+
message: z.string(),
|
|
76550
|
+
lowCreditAlert: z.optional(z.union([
|
|
76551
|
+
z.object({
|
|
76552
|
+
getMoreCreditsUrl: z.url(),
|
|
76553
|
+
message: z.string(),
|
|
76554
|
+
availableCredits: z.number()
|
|
76555
|
+
}),
|
|
76556
|
+
z.null()
|
|
76557
|
+
]))
|
|
76558
|
+
}),
|
|
76559
|
+
z.object({
|
|
76560
|
+
method: z.enum(["charged-for-async-process"]),
|
|
76561
|
+
creditsCharged: z.number(),
|
|
76562
|
+
message: z.string(),
|
|
76563
|
+
lowCreditAlert: z.optional(z.union([
|
|
76564
|
+
z.object({
|
|
76565
|
+
getMoreCreditsUrl: z.url(),
|
|
76566
|
+
message: z.string(),
|
|
76567
|
+
availableCredits: z.number()
|
|
76568
|
+
}),
|
|
76569
|
+
z.null()
|
|
76570
|
+
]))
|
|
76571
|
+
}),
|
|
76572
|
+
z.object({
|
|
76573
|
+
method: z.enum(["free"]),
|
|
76574
|
+
message: z.string(),
|
|
76575
|
+
lowCreditAlert: z.optional(z.union([
|
|
76576
|
+
z.object({
|
|
76577
|
+
getMoreCreditsUrl: z.url(),
|
|
76578
|
+
message: z.string(),
|
|
76579
|
+
availableCredits: z.number()
|
|
76580
|
+
}),
|
|
76581
|
+
z.null()
|
|
76582
|
+
]))
|
|
76583
|
+
})
|
|
76584
|
+
]),
|
|
76585
|
+
warnings: z.optional(z.union([
|
|
76586
|
+
z.array(z.object({
|
|
76587
|
+
field: z.string(),
|
|
76588
|
+
message: z.string()
|
|
76589
|
+
})),
|
|
76590
|
+
z.null()
|
|
76591
|
+
]))
|
|
76592
|
+
});
|
|
76593
|
+
var zStartDepthChartData = z.object({
|
|
76594
|
+
body: z.object({
|
|
76595
|
+
apiKey: z.string(),
|
|
76596
|
+
company: z.union([
|
|
76597
|
+
z.object({
|
|
76598
|
+
identifier: z.enum(["linkedinUrl"]),
|
|
76599
|
+
value: z.string().min(1)
|
|
76600
|
+
}),
|
|
76601
|
+
z.object({
|
|
76602
|
+
identifier: z.enum(["linkedinSlug"]),
|
|
76603
|
+
value: z.string().min(1)
|
|
76604
|
+
}),
|
|
76605
|
+
z.object({
|
|
76606
|
+
identifier: z.enum(["linkedinOrgId"]),
|
|
76607
|
+
value: z.string().min(1).regex(/^\d+$/)
|
|
76608
|
+
}),
|
|
76609
|
+
z.object({
|
|
76610
|
+
identifier: z.enum(["domain"]),
|
|
76611
|
+
value: z.string().min(1)
|
|
76612
|
+
})
|
|
76613
|
+
]),
|
|
76614
|
+
functions: z.optional(z.union([
|
|
76615
|
+
z.array(z.string().min(1)).min(1).max(30),
|
|
76616
|
+
z.null()
|
|
76617
|
+
]))
|
|
76618
|
+
}),
|
|
76619
|
+
path: z.optional(z.never()),
|
|
76620
|
+
query: z.optional(z.never())
|
|
76621
|
+
});
|
|
76622
|
+
var zStartDepthChartResponse = z.object({
|
|
76623
|
+
output: z.object({
|
|
76624
|
+
reportId: z.string()
|
|
76625
|
+
}),
|
|
76626
|
+
chargeInfo: z.union([
|
|
76627
|
+
z.object({
|
|
76628
|
+
method: z.enum(["charged-now"]),
|
|
76629
|
+
creditsCharged: z.number(),
|
|
76630
|
+
lowCreditAlert: z.optional(z.union([
|
|
76631
|
+
z.object({
|
|
76632
|
+
getMoreCreditsUrl: z.url(),
|
|
76633
|
+
message: z.string(),
|
|
76634
|
+
availableCredits: z.number()
|
|
76635
|
+
}),
|
|
76636
|
+
z.null()
|
|
76637
|
+
]))
|
|
76638
|
+
}),
|
|
76639
|
+
z.object({
|
|
76640
|
+
method: z.enum(["charging-later"]),
|
|
76641
|
+
message: z.string(),
|
|
76642
|
+
lowCreditAlert: z.optional(z.union([
|
|
76643
|
+
z.object({
|
|
76644
|
+
getMoreCreditsUrl: z.url(),
|
|
76645
|
+
message: z.string(),
|
|
76646
|
+
availableCredits: z.number()
|
|
76647
|
+
}),
|
|
76648
|
+
z.null()
|
|
76649
|
+
]))
|
|
76650
|
+
}),
|
|
76651
|
+
z.object({
|
|
76652
|
+
method: z.enum(["charged-for-async-process"]),
|
|
76653
|
+
creditsCharged: z.number(),
|
|
76654
|
+
message: z.string(),
|
|
76655
|
+
lowCreditAlert: z.optional(z.union([
|
|
76656
|
+
z.object({
|
|
76657
|
+
getMoreCreditsUrl: z.url(),
|
|
76658
|
+
message: z.string(),
|
|
76659
|
+
availableCredits: z.number()
|
|
76660
|
+
}),
|
|
76661
|
+
z.null()
|
|
76662
|
+
]))
|
|
76663
|
+
}),
|
|
76664
|
+
z.object({
|
|
76665
|
+
method: z.enum(["free"]),
|
|
76666
|
+
message: z.string(),
|
|
76667
|
+
lowCreditAlert: z.optional(z.union([
|
|
76668
|
+
z.object({
|
|
76669
|
+
getMoreCreditsUrl: z.url(),
|
|
76670
|
+
message: z.string(),
|
|
76671
|
+
availableCredits: z.number()
|
|
76672
|
+
}),
|
|
76673
|
+
z.null()
|
|
76674
|
+
]))
|
|
76675
|
+
})
|
|
76676
|
+
]),
|
|
76677
|
+
warnings: z.optional(z.union([
|
|
76678
|
+
z.array(z.object({
|
|
76679
|
+
field: z.string(),
|
|
76680
|
+
message: z.string()
|
|
76681
|
+
})),
|
|
76682
|
+
z.null()
|
|
76683
|
+
]))
|
|
76684
|
+
});
|
|
76685
|
+
var zTriggerExhaustiveContactEnrichmentData = z.object({
|
|
76686
|
+
body: z.object({
|
|
76687
|
+
apiKey: z.string(),
|
|
76688
|
+
linkedinUrl: z.string().min(1),
|
|
76689
|
+
enrichmentType: z.optional(z.object({
|
|
76690
|
+
getWorkEmails: z.optional(z.boolean()).default(true),
|
|
76691
|
+
getPersonalEmails: z.optional(z.boolean()).default(true),
|
|
76692
|
+
getPhoneNumbers: z.optional(z.boolean()).default(true)
|
|
76693
|
+
})).default({
|
|
76694
|
+
getWorkEmails: true,
|
|
76695
|
+
getPersonalEmails: true,
|
|
76696
|
+
getPhoneNumbers: true
|
|
76697
|
+
})
|
|
76698
|
+
}),
|
|
76699
|
+
path: z.optional(z.never()),
|
|
76700
|
+
query: z.optional(z.never())
|
|
76701
|
+
});
|
|
76702
|
+
var zTriggerExhaustiveContactEnrichmentResponse = z.object({
|
|
76703
|
+
output: z.object({
|
|
76704
|
+
taskId: z.string()
|
|
76705
|
+
}),
|
|
76706
|
+
chargeInfo: z.union([
|
|
76707
|
+
z.object({
|
|
76708
|
+
method: z.enum(["charged-now"]),
|
|
76709
|
+
creditsCharged: z.number(),
|
|
76710
|
+
lowCreditAlert: z.optional(z.union([
|
|
76711
|
+
z.object({
|
|
76712
|
+
getMoreCreditsUrl: z.url(),
|
|
76713
|
+
message: z.string(),
|
|
76714
|
+
availableCredits: z.number()
|
|
76715
|
+
}),
|
|
76716
|
+
z.null()
|
|
76717
|
+
]))
|
|
76718
|
+
}),
|
|
76719
|
+
z.object({
|
|
76720
|
+
method: z.enum(["charging-later"]),
|
|
76721
|
+
message: z.string(),
|
|
76722
|
+
lowCreditAlert: z.optional(z.union([
|
|
76723
|
+
z.object({
|
|
76724
|
+
getMoreCreditsUrl: z.url(),
|
|
76725
|
+
message: z.string(),
|
|
76726
|
+
availableCredits: z.number()
|
|
76727
|
+
}),
|
|
76728
|
+
z.null()
|
|
76729
|
+
]))
|
|
76730
|
+
}),
|
|
76731
|
+
z.object({
|
|
76732
|
+
method: z.enum(["charged-for-async-process"]),
|
|
76733
|
+
creditsCharged: z.number(),
|
|
76734
|
+
message: z.string(),
|
|
76735
|
+
lowCreditAlert: z.optional(z.union([
|
|
76736
|
+
z.object({
|
|
76737
|
+
getMoreCreditsUrl: z.url(),
|
|
76738
|
+
message: z.string(),
|
|
76739
|
+
availableCredits: z.number()
|
|
76740
|
+
}),
|
|
76741
|
+
z.null()
|
|
76742
|
+
]))
|
|
76743
|
+
}),
|
|
76744
|
+
z.object({
|
|
76745
|
+
method: z.enum(["free"]),
|
|
76746
|
+
message: z.string(),
|
|
76747
|
+
lowCreditAlert: z.optional(z.union([
|
|
76748
|
+
z.object({
|
|
76749
|
+
getMoreCreditsUrl: z.url(),
|
|
76750
|
+
message: z.string(),
|
|
76751
|
+
availableCredits: z.number()
|
|
76752
|
+
}),
|
|
76753
|
+
z.null()
|
|
76754
|
+
]))
|
|
76755
|
+
})
|
|
76756
|
+
]),
|
|
76757
|
+
warnings: z.optional(z.union([
|
|
76758
|
+
z.array(z.object({
|
|
76759
|
+
field: z.string(),
|
|
76760
|
+
message: z.string()
|
|
76761
|
+
})),
|
|
76762
|
+
z.null()
|
|
76763
|
+
]))
|
|
76764
|
+
});
|
|
76765
|
+
var zStartBatchContactDetailsData = z.object({
|
|
76766
|
+
body: z.object({
|
|
76767
|
+
apiKey: z.string(),
|
|
76768
|
+
personDetails: z.array(z.object({
|
|
76769
|
+
linkedinUrl: z.object({
|
|
76770
|
+
value: z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(?<slug>[^\/\\?,#]+)\/?(?:[\?,#].*)?/)
|
|
76771
|
+
})
|
|
76772
|
+
})).min(1).max(2e3),
|
|
76773
|
+
enrichmentTypes: z.optional(z.object({
|
|
76774
|
+
getWorkEmails: z.optional(z.boolean()).default(true),
|
|
76775
|
+
getPersonalEmails: z.optional(z.boolean()).default(true),
|
|
76776
|
+
getPhoneNumbers: z.optional(z.boolean()).default(true)
|
|
76777
|
+
})).default({
|
|
76778
|
+
getWorkEmails: true,
|
|
76779
|
+
getPersonalEmails: true,
|
|
76780
|
+
getPhoneNumbers: true
|
|
76781
|
+
})
|
|
76782
|
+
}),
|
|
76783
|
+
path: z.optional(z.never()),
|
|
76784
|
+
query: z.optional(z.never())
|
|
76785
|
+
});
|
|
76786
|
+
var zStartBatchContactDetailsResponse = z.object({
|
|
76787
|
+
output: z.object({
|
|
76788
|
+
taskId: z.string().min(1),
|
|
76789
|
+
numPeopleEnqueued: z.int().gt(0),
|
|
76790
|
+
numDuplicatesSkipped: z.optional(z.union([
|
|
76791
|
+
z.int(),
|
|
76792
|
+
z.null()
|
|
76793
|
+
]))
|
|
76794
|
+
}),
|
|
76304
76795
|
chargeInfo: z.union([
|
|
76305
76796
|
z.object({
|
|
76306
76797
|
method: z.enum(["charged-now"]),
|
|
@@ -76984,6 +77475,10 @@ var zProfileLiveEnrichResponse = z.object({
|
|
|
76984
77475
|
z.array(z.string()),
|
|
76985
77476
|
z.null()
|
|
76986
77477
|
])),
|
|
77478
|
+
is_verified: z.optional(z.union([
|
|
77479
|
+
z.boolean(),
|
|
77480
|
+
z.null()
|
|
77481
|
+
])),
|
|
76987
77482
|
current_job: z.optional(z.union([
|
|
76988
77483
|
z.object({
|
|
76989
77484
|
linkedin_company_id: z.optional(z.union([
|
|
@@ -80471,6 +80966,10 @@ var zReverseEmailLookupResponse = z.object({
|
|
|
80471
80966
|
z.array(z.string()),
|
|
80472
80967
|
z.null()
|
|
80473
80968
|
])),
|
|
80969
|
+
is_verified: z.optional(z.union([
|
|
80970
|
+
z.boolean(),
|
|
80971
|
+
z.null()
|
|
80972
|
+
])),
|
|
80474
80973
|
current_job: z.optional(z.union([
|
|
80475
80974
|
z.object({
|
|
80476
80975
|
linkedin_company_id: z.optional(z.union([
|
|
@@ -82526,6 +83025,10 @@ var zKitchenSinkProfileResponse = z.object({
|
|
|
82526
83025
|
z.array(z.string()),
|
|
82527
83026
|
z.null()
|
|
82528
83027
|
])),
|
|
83028
|
+
is_verified: z.optional(z.union([
|
|
83029
|
+
z.boolean(),
|
|
83030
|
+
z.null()
|
|
83031
|
+
])),
|
|
82529
83032
|
current_job: z.optional(z.union([
|
|
82530
83033
|
z.object({
|
|
82531
83034
|
linkedin_company_id: z.optional(z.union([
|
|
@@ -86741,6 +87244,10 @@ var zKitchenSinkBulkProfileResponse = z.object({
|
|
|
86741
87244
|
z.array(z.string()),
|
|
86742
87245
|
z.null()
|
|
86743
87246
|
])),
|
|
87247
|
+
is_verified: z.optional(z.union([
|
|
87248
|
+
z.boolean(),
|
|
87249
|
+
z.null()
|
|
87250
|
+
])),
|
|
86744
87251
|
current_job: z.optional(z.union([
|
|
86745
87252
|
z.object({
|
|
86746
87253
|
linkedin_company_id: z.optional(z.union([
|
|
@@ -102518,6 +103025,10 @@ var zTextToCombinedSearchResponse = z.object({
|
|
|
102518
103025
|
z.array(z.string()),
|
|
102519
103026
|
z.null()
|
|
102520
103027
|
])),
|
|
103028
|
+
is_verified: z.optional(z.union([
|
|
103029
|
+
z.boolean(),
|
|
103030
|
+
z.null()
|
|
103031
|
+
])),
|
|
102521
103032
|
current_job: z.optional(z.union([
|
|
102522
103033
|
z.object({
|
|
102523
103034
|
linkedin_company_id: z.optional(z.union([
|
|
@@ -103592,6 +104103,10 @@ var zJdToProfileSearchResponse = z.object({
|
|
|
103592
104103
|
z.array(z.string()),
|
|
103593
104104
|
z.null()
|
|
103594
104105
|
])),
|
|
104106
|
+
is_verified: z.optional(z.union([
|
|
104107
|
+
z.boolean(),
|
|
104108
|
+
z.null()
|
|
104109
|
+
])),
|
|
103595
104110
|
current_job: z.optional(z.union([
|
|
103596
104111
|
z.object({
|
|
103597
104112
|
linkedin_company_id: z.optional(z.union([
|
|
@@ -119360,6 +119875,10 @@ var zGithubToLinkedinSingleData = z.object({
|
|
|
119360
119875
|
body: z.object({
|
|
119361
119876
|
apiKey: z.string(),
|
|
119362
119877
|
githubUsername: z.string().min(1),
|
|
119878
|
+
context: z.optional(z.union([
|
|
119879
|
+
z.string().min(1).max(1e3),
|
|
119880
|
+
z.null()
|
|
119881
|
+
])),
|
|
119363
119882
|
outputType: z.optional(z.enum([
|
|
119364
119883
|
"linkedin",
|
|
119365
119884
|
"email",
|
|
@@ -119368,8 +119887,7 @@ var zGithubToLinkedinSingleData = z.object({
|
|
|
119368
119887
|
customerProvidedId: z.optional(z.union([
|
|
119369
119888
|
z.string().min(1),
|
|
119370
119889
|
z.null()
|
|
119371
|
-
]))
|
|
119372
|
-
includeDebugTimings: z.optional(z.boolean()).default(false)
|
|
119890
|
+
]))
|
|
119373
119891
|
}),
|
|
119374
119892
|
path: z.optional(z.never()),
|
|
119375
119893
|
query: z.optional(z.never())
|
|
@@ -119377,105 +119895,58 @@ var zGithubToLinkedinSingleData = z.object({
|
|
|
119377
119895
|
var zGithubToLinkedinSingleResponse = z.object({
|
|
119378
119896
|
output: z.object({
|
|
119379
119897
|
githubUsername: z.string(),
|
|
119380
|
-
customerProvidedId: z.union([
|
|
119898
|
+
customerProvidedId: z.optional(z.union([
|
|
119381
119899
|
z.string(),
|
|
119382
119900
|
z.null()
|
|
119383
|
-
]),
|
|
119384
|
-
linkedInUrl: z.union([
|
|
119901
|
+
])),
|
|
119902
|
+
linkedInUrl: z.optional(z.union([
|
|
119385
119903
|
z.url(),
|
|
119386
119904
|
z.null()
|
|
119387
|
-
]),
|
|
119388
|
-
linkedInSlug: z.union([
|
|
119905
|
+
])),
|
|
119906
|
+
linkedInSlug: z.optional(z.union([
|
|
119389
119907
|
z.string(),
|
|
119390
119908
|
z.null()
|
|
119391
|
-
]),
|
|
119909
|
+
])),
|
|
119392
119910
|
confidenceOutOf10: z.int().gte(0).lte(10),
|
|
119393
|
-
|
|
119394
|
-
"email",
|
|
119395
|
-
"name-search",
|
|
119396
|
-
"agent",
|
|
119397
|
-
"web-search",
|
|
119398
|
-
"not-found"
|
|
119399
|
-
]),
|
|
119400
|
-
rationale: z.union([
|
|
119911
|
+
rationale: z.optional(z.union([
|
|
119401
119912
|
z.string(),
|
|
119402
119913
|
z.null()
|
|
119403
|
-
]),
|
|
119914
|
+
])),
|
|
119404
119915
|
extractedEmails: z.array(z.string()).default([]),
|
|
119405
|
-
githubProfile: z.union([
|
|
119916
|
+
githubProfile: z.optional(z.union([
|
|
119406
119917
|
z.object({
|
|
119407
|
-
name: z.union([
|
|
119918
|
+
name: z.optional(z.union([
|
|
119408
119919
|
z.string(),
|
|
119409
119920
|
z.null()
|
|
119410
|
-
]),
|
|
119411
|
-
company: z.union([
|
|
119921
|
+
])),
|
|
119922
|
+
company: z.optional(z.union([
|
|
119412
119923
|
z.string(),
|
|
119413
119924
|
z.null()
|
|
119414
|
-
]),
|
|
119415
|
-
location: z.union([
|
|
119925
|
+
])),
|
|
119926
|
+
location: z.optional(z.union([
|
|
119416
119927
|
z.string(),
|
|
119417
119928
|
z.null()
|
|
119418
|
-
]),
|
|
119419
|
-
bio: z.union([
|
|
119929
|
+
])),
|
|
119930
|
+
bio: z.optional(z.union([
|
|
119420
119931
|
z.string(),
|
|
119421
119932
|
z.null()
|
|
119422
|
-
]),
|
|
119423
|
-
blog: z.union([
|
|
119933
|
+
])),
|
|
119934
|
+
blog: z.optional(z.union([
|
|
119424
119935
|
z.string(),
|
|
119425
119936
|
z.null()
|
|
119426
|
-
]),
|
|
119427
|
-
avatarUrl: z.union([
|
|
119937
|
+
])),
|
|
119938
|
+
avatarUrl: z.optional(z.union([
|
|
119428
119939
|
z.string(),
|
|
119429
119940
|
z.null()
|
|
119430
|
-
]),
|
|
119431
|
-
followers: z.union([
|
|
119432
|
-
z.int(),
|
|
119433
|
-
z.null()
|
|
119434
|
-
]),
|
|
119435
|
-
publicRepos: z.union([
|
|
119941
|
+
])),
|
|
119942
|
+
followers: z.optional(z.union([
|
|
119436
119943
|
z.int(),
|
|
119437
119944
|
z.null()
|
|
119438
|
-
])
|
|
119439
|
-
}),
|
|
119440
|
-
z.null()
|
|
119441
|
-
]),
|
|
119442
|
-
debugTimings: z.optional(z.union([
|
|
119443
|
-
z.object({
|
|
119444
|
-
lookupDurationMs: z.int().gte(0),
|
|
119445
|
-
bootstrapDurationMs: z.int().gte(0),
|
|
119446
|
-
resolverDurationMs: z.int().gte(0),
|
|
119447
|
-
resolverStepDurationsSumMs: z.int().gte(0),
|
|
119448
|
-
resolverUninstrumentedDurationMs: z.int().gte(0),
|
|
119449
|
-
creditChargeDurationMs: z.optional(z.union([
|
|
119450
|
-
z.int().gte(0),
|
|
119451
|
-
z.null()
|
|
119452
119945
|
])),
|
|
119453
|
-
|
|
119454
|
-
z.int()
|
|
119946
|
+
publicRepos: z.optional(z.union([
|
|
119947
|
+
z.int(),
|
|
119455
119948
|
z.null()
|
|
119456
|
-
]))
|
|
119457
|
-
resolverSteps: z.array(z.object({
|
|
119458
|
-
step: z.enum([
|
|
119459
|
-
"cache_bootstrap",
|
|
119460
|
-
"zen_cache_hit",
|
|
119461
|
-
"github_fetch",
|
|
119462
|
-
"email_waterfall",
|
|
119463
|
-
"kitchen_sink",
|
|
119464
|
-
"agent",
|
|
119465
|
-
"tavily_web_search"
|
|
119466
|
-
]),
|
|
119467
|
-
durationMs: z.int().gte(0),
|
|
119468
|
-
outcome: z.enum([
|
|
119469
|
-
"hit",
|
|
119470
|
-
"miss",
|
|
119471
|
-
"skipped",
|
|
119472
|
-
"error"
|
|
119473
|
-
]),
|
|
119474
|
-
detail: z.optional(z.union([
|
|
119475
|
-
z.string(),
|
|
119476
|
-
z.null()
|
|
119477
|
-
]))
|
|
119478
|
-
}))
|
|
119949
|
+
]))
|
|
119479
119950
|
}),
|
|
119480
119951
|
z.null()
|
|
119481
119952
|
]))
|
|
@@ -120299,6 +120770,575 @@ var zYoutubeChannelResponse = z.object({
|
|
|
120299
120770
|
z.null()
|
|
120300
120771
|
]))
|
|
120301
120772
|
});
|
|
120773
|
+
var zFlightSearchData = z.object({
|
|
120774
|
+
body: z.object({
|
|
120775
|
+
apiKey: z.string(),
|
|
120776
|
+
travelClass: z.optional(z.nullable(z.enum([
|
|
120777
|
+
"economy",
|
|
120778
|
+
"premiumEconomy",
|
|
120779
|
+
"business",
|
|
120780
|
+
"first"
|
|
120781
|
+
]))),
|
|
120782
|
+
adults: z.optional(z.int().gte(1).lte(9)).default(1),
|
|
120783
|
+
children: z.optional(z.int().gte(0).lte(8)).default(0),
|
|
120784
|
+
infantsInSeat: z.optional(z.int().gte(0).lte(8)).default(0),
|
|
120785
|
+
infantsOnLap: z.optional(z.int().gte(0).lte(8)).default(0),
|
|
120786
|
+
maxStops: z.optional(z.union([
|
|
120787
|
+
z.int().gte(0).lte(2),
|
|
120788
|
+
z.null()
|
|
120789
|
+
])),
|
|
120790
|
+
sortBy: z.optional(z.nullable(z.enum([
|
|
120791
|
+
"top",
|
|
120792
|
+
"price",
|
|
120793
|
+
"departureTime",
|
|
120794
|
+
"arrivalTime",
|
|
120795
|
+
"duration",
|
|
120796
|
+
"emissions"
|
|
120797
|
+
]))),
|
|
120798
|
+
airlines: z.optional(z.union([
|
|
120799
|
+
z.object({
|
|
120800
|
+
include: z.optional(z.union([
|
|
120801
|
+
z.array(z.string()),
|
|
120802
|
+
z.null()
|
|
120803
|
+
])),
|
|
120804
|
+
exclude: z.optional(z.union([
|
|
120805
|
+
z.array(z.string()),
|
|
120806
|
+
z.null()
|
|
120807
|
+
]))
|
|
120808
|
+
}),
|
|
120809
|
+
z.null()
|
|
120810
|
+
])),
|
|
120811
|
+
minCarryOnBags: z.optional(z.union([
|
|
120812
|
+
z.int().gte(0).lte(5),
|
|
120813
|
+
z.null()
|
|
120814
|
+
])),
|
|
120815
|
+
minCheckedBags: z.optional(z.union([
|
|
120816
|
+
z.int().gte(0).lte(5),
|
|
120817
|
+
z.null()
|
|
120818
|
+
])),
|
|
120819
|
+
maxPrice: z.optional(z.union([
|
|
120820
|
+
z.int().gte(1),
|
|
120821
|
+
z.null()
|
|
120822
|
+
])),
|
|
120823
|
+
outboundTimeWindow: z.optional(z.union([
|
|
120824
|
+
z.object({
|
|
120825
|
+
departure: z.optional(z.union([
|
|
120826
|
+
z.object({
|
|
120827
|
+
startHour: z.int().gte(0).lte(23),
|
|
120828
|
+
endHour: z.int().gte(0).lte(23)
|
|
120829
|
+
}),
|
|
120830
|
+
z.null()
|
|
120831
|
+
])),
|
|
120832
|
+
arrival: z.optional(z.union([
|
|
120833
|
+
z.object({
|
|
120834
|
+
startHour: z.int().gte(0).lte(23),
|
|
120835
|
+
endHour: z.int().gte(0).lte(23)
|
|
120836
|
+
}),
|
|
120837
|
+
z.null()
|
|
120838
|
+
]))
|
|
120839
|
+
}),
|
|
120840
|
+
z.null()
|
|
120841
|
+
])),
|
|
120842
|
+
returnTimeWindow: z.optional(z.union([
|
|
120843
|
+
z.object({
|
|
120844
|
+
departure: z.optional(z.union([
|
|
120845
|
+
z.object({
|
|
120846
|
+
startHour: z.int().gte(0).lte(23),
|
|
120847
|
+
endHour: z.int().gte(0).lte(23)
|
|
120848
|
+
}),
|
|
120849
|
+
z.null()
|
|
120850
|
+
])),
|
|
120851
|
+
arrival: z.optional(z.union([
|
|
120852
|
+
z.object({
|
|
120853
|
+
startHour: z.int().gte(0).lte(23),
|
|
120854
|
+
endHour: z.int().gte(0).lte(23)
|
|
120855
|
+
}),
|
|
120856
|
+
z.null()
|
|
120857
|
+
]))
|
|
120858
|
+
}),
|
|
120859
|
+
z.null()
|
|
120860
|
+
])),
|
|
120861
|
+
layoverDuration: z.optional(z.union([
|
|
120862
|
+
z.object({
|
|
120863
|
+
minMinutes: z.optional(z.union([
|
|
120864
|
+
z.int().gte(30).lte(1440),
|
|
120865
|
+
z.null()
|
|
120866
|
+
])),
|
|
120867
|
+
maxMinutes: z.optional(z.union([
|
|
120868
|
+
z.int().gte(30).lte(1440),
|
|
120869
|
+
z.null()
|
|
120870
|
+
]))
|
|
120871
|
+
}),
|
|
120872
|
+
z.null()
|
|
120873
|
+
])),
|
|
120874
|
+
maxFlightDurationMinutes: z.optional(z.union([
|
|
120875
|
+
z.int().gte(30).lte(4320),
|
|
120876
|
+
z.null()
|
|
120877
|
+
])),
|
|
120878
|
+
connectingAirports: z.optional(z.union([
|
|
120879
|
+
z.object({
|
|
120880
|
+
include: z.optional(z.union([
|
|
120881
|
+
z.array(z.string()),
|
|
120882
|
+
z.null()
|
|
120883
|
+
])),
|
|
120884
|
+
exclude: z.optional(z.union([
|
|
120885
|
+
z.array(z.string()),
|
|
120886
|
+
z.null()
|
|
120887
|
+
]))
|
|
120888
|
+
}),
|
|
120889
|
+
z.null()
|
|
120890
|
+
])),
|
|
120891
|
+
onlyShowLowEmissionFlights: z.optional(z.boolean()).default(false),
|
|
120892
|
+
showHidden: z.optional(z.boolean()).default(true),
|
|
120893
|
+
hideSeparateTickets: z.optional(z.boolean()).default(false),
|
|
120894
|
+
currencyCode: z.optional(z.string().regex(/^[A-Za-z]{3}$/)).default("USD"),
|
|
120895
|
+
searchMarketCountryCode: z.optional(z.string().regex(/^[A-Za-z]{3}$/)).default("USA"),
|
|
120896
|
+
languageCode: z.optional(z.string().regex(/^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$/)).default("en"),
|
|
120897
|
+
nextPageToken: z.optional(z.union([
|
|
120898
|
+
z.string(),
|
|
120899
|
+
z.null()
|
|
120900
|
+
])),
|
|
120901
|
+
trip: z.union([
|
|
120902
|
+
z.object({
|
|
120903
|
+
flightType: z.enum(["one_way"]),
|
|
120904
|
+
departureAirports: z.string(),
|
|
120905
|
+
arrivalAirports: z.string(),
|
|
120906
|
+
outboundDate: z.string().regex(/^(\d{4})-(\d{2})-(\d{2})$/)
|
|
120907
|
+
}),
|
|
120908
|
+
z.object({
|
|
120909
|
+
flightType: z.enum(["round_trip"]),
|
|
120910
|
+
departureAirports: z.string(),
|
|
120911
|
+
arrivalAirports: z.string(),
|
|
120912
|
+
outboundDate: z.string().regex(/^(\d{4})-(\d{2})-(\d{2})$/),
|
|
120913
|
+
returnDate: z.string().regex(/^(\d{4})-(\d{2})-(\d{2})$/)
|
|
120914
|
+
}),
|
|
120915
|
+
z.object({
|
|
120916
|
+
flightType: z.enum(["multi_city"]),
|
|
120917
|
+
segments: z.array(z.object({
|
|
120918
|
+
departureAirports: z.string(),
|
|
120919
|
+
arrivalAirports: z.string(),
|
|
120920
|
+
outboundDate: z.string().regex(/^(\d{4})-(\d{2})-(\d{2})$/)
|
|
120921
|
+
})).min(2).max(5)
|
|
120922
|
+
})
|
|
120923
|
+
])
|
|
120924
|
+
}),
|
|
120925
|
+
path: z.optional(z.never()),
|
|
120926
|
+
query: z.optional(z.never())
|
|
120927
|
+
});
|
|
120928
|
+
var zFlightSearchResponse = z.object({
|
|
120929
|
+
output: z.object({
|
|
120930
|
+
bestFlights: z.array(z.object({
|
|
120931
|
+
segments: z.array(z.object({
|
|
120932
|
+
departureAirport: z.object({
|
|
120933
|
+
iataCode: z.optional(z.union([
|
|
120934
|
+
z.string().length(3),
|
|
120935
|
+
z.null()
|
|
120936
|
+
])),
|
|
120937
|
+
name: z.optional(z.union([
|
|
120938
|
+
z.string(),
|
|
120939
|
+
z.null()
|
|
120940
|
+
])),
|
|
120941
|
+
localDateTime: z.optional(z.union([
|
|
120942
|
+
z.string(),
|
|
120943
|
+
z.null()
|
|
120944
|
+
]))
|
|
120945
|
+
}),
|
|
120946
|
+
arrivalAirport: z.object({
|
|
120947
|
+
iataCode: z.optional(z.union([
|
|
120948
|
+
z.string().length(3),
|
|
120949
|
+
z.null()
|
|
120950
|
+
])),
|
|
120951
|
+
name: z.optional(z.union([
|
|
120952
|
+
z.string(),
|
|
120953
|
+
z.null()
|
|
120954
|
+
])),
|
|
120955
|
+
localDateTime: z.optional(z.union([
|
|
120956
|
+
z.string(),
|
|
120957
|
+
z.null()
|
|
120958
|
+
]))
|
|
120959
|
+
}),
|
|
120960
|
+
durationMinutes: z.optional(z.union([
|
|
120961
|
+
z.int(),
|
|
120962
|
+
z.null()
|
|
120963
|
+
])),
|
|
120964
|
+
airlineName: z.optional(z.union([
|
|
120965
|
+
z.string(),
|
|
120966
|
+
z.null()
|
|
120967
|
+
])),
|
|
120968
|
+
airlineLogoUrl: z.optional(z.union([
|
|
120969
|
+
z.string(),
|
|
120970
|
+
z.null()
|
|
120971
|
+
])),
|
|
120972
|
+
travelClass: z.optional(z.union([
|
|
120973
|
+
z.string(),
|
|
120974
|
+
z.null()
|
|
120975
|
+
])),
|
|
120976
|
+
flightNumber: z.optional(z.union([
|
|
120977
|
+
z.string(),
|
|
120978
|
+
z.null()
|
|
120979
|
+
])),
|
|
120980
|
+
aircraftModel: z.optional(z.union([
|
|
120981
|
+
z.string(),
|
|
120982
|
+
z.null()
|
|
120983
|
+
])),
|
|
120984
|
+
legroom: z.optional(z.union([
|
|
120985
|
+
z.string(),
|
|
120986
|
+
z.null()
|
|
120987
|
+
])),
|
|
120988
|
+
isOvernight: z.optional(z.union([
|
|
120989
|
+
z.boolean(),
|
|
120990
|
+
z.null()
|
|
120991
|
+
])),
|
|
120992
|
+
isOftenDelayed: z.optional(z.union([
|
|
120993
|
+
z.boolean(),
|
|
120994
|
+
z.null()
|
|
120995
|
+
])),
|
|
120996
|
+
carbonEmissionKg: z.optional(z.union([
|
|
120997
|
+
z.number(),
|
|
120998
|
+
z.null()
|
|
120999
|
+
]))
|
|
121000
|
+
})),
|
|
121001
|
+
layovers: z.array(z.object({
|
|
121002
|
+
iataCode: z.optional(z.union([
|
|
121003
|
+
z.string().length(3),
|
|
121004
|
+
z.null()
|
|
121005
|
+
])),
|
|
121006
|
+
airportName: z.optional(z.union([
|
|
121007
|
+
z.string(),
|
|
121008
|
+
z.null()
|
|
121009
|
+
])),
|
|
121010
|
+
durationMinutes: z.optional(z.union([
|
|
121011
|
+
z.int(),
|
|
121012
|
+
z.null()
|
|
121013
|
+
])),
|
|
121014
|
+
isOvernight: z.optional(z.union([
|
|
121015
|
+
z.boolean(),
|
|
121016
|
+
z.null()
|
|
121017
|
+
]))
|
|
121018
|
+
})),
|
|
121019
|
+
totalDurationMinutes: z.optional(z.union([
|
|
121020
|
+
z.int(),
|
|
121021
|
+
z.null()
|
|
121022
|
+
])),
|
|
121023
|
+
price: z.optional(z.union([
|
|
121024
|
+
z.int(),
|
|
121025
|
+
z.null()
|
|
121026
|
+
])),
|
|
121027
|
+
bookingToken: z.optional(z.union([
|
|
121028
|
+
z.string(),
|
|
121029
|
+
z.null()
|
|
121030
|
+
])),
|
|
121031
|
+
flightType: z.optional(z.nullable(z.enum([
|
|
121032
|
+
"one_way",
|
|
121033
|
+
"round_trip",
|
|
121034
|
+
"multi_city"
|
|
121035
|
+
]))),
|
|
121036
|
+
mainAirlineLogoUrl: z.optional(z.union([
|
|
121037
|
+
z.string(),
|
|
121038
|
+
z.null()
|
|
121039
|
+
])),
|
|
121040
|
+
carbonEmissions: z.optional(z.union([
|
|
121041
|
+
z.object({
|
|
121042
|
+
thisFlightKg: z.optional(z.union([
|
|
121043
|
+
z.int(),
|
|
121044
|
+
z.null()
|
|
121045
|
+
])),
|
|
121046
|
+
typicalForRouteKg: z.optional(z.union([
|
|
121047
|
+
z.int(),
|
|
121048
|
+
z.null()
|
|
121049
|
+
])),
|
|
121050
|
+
differencePercent: z.optional(z.union([
|
|
121051
|
+
z.number(),
|
|
121052
|
+
z.null()
|
|
121053
|
+
]))
|
|
121054
|
+
}),
|
|
121055
|
+
z.null()
|
|
121056
|
+
])),
|
|
121057
|
+
alsoSoldBy: z.optional(z.union([
|
|
121058
|
+
z.array(z.string()),
|
|
121059
|
+
z.null()
|
|
121060
|
+
])),
|
|
121061
|
+
operatingCarrier: z.optional(z.union([
|
|
121062
|
+
z.string(),
|
|
121063
|
+
z.null()
|
|
121064
|
+
]))
|
|
121065
|
+
})),
|
|
121066
|
+
otherFlights: z.array(z.object({
|
|
121067
|
+
segments: z.array(z.object({
|
|
121068
|
+
departureAirport: z.object({
|
|
121069
|
+
iataCode: z.optional(z.union([
|
|
121070
|
+
z.string().length(3),
|
|
121071
|
+
z.null()
|
|
121072
|
+
])),
|
|
121073
|
+
name: z.optional(z.union([
|
|
121074
|
+
z.string(),
|
|
121075
|
+
z.null()
|
|
121076
|
+
])),
|
|
121077
|
+
localDateTime: z.optional(z.union([
|
|
121078
|
+
z.string(),
|
|
121079
|
+
z.null()
|
|
121080
|
+
]))
|
|
121081
|
+
}),
|
|
121082
|
+
arrivalAirport: z.object({
|
|
121083
|
+
iataCode: z.optional(z.union([
|
|
121084
|
+
z.string().length(3),
|
|
121085
|
+
z.null()
|
|
121086
|
+
])),
|
|
121087
|
+
name: z.optional(z.union([
|
|
121088
|
+
z.string(),
|
|
121089
|
+
z.null()
|
|
121090
|
+
])),
|
|
121091
|
+
localDateTime: z.optional(z.union([
|
|
121092
|
+
z.string(),
|
|
121093
|
+
z.null()
|
|
121094
|
+
]))
|
|
121095
|
+
}),
|
|
121096
|
+
durationMinutes: z.optional(z.union([
|
|
121097
|
+
z.int(),
|
|
121098
|
+
z.null()
|
|
121099
|
+
])),
|
|
121100
|
+
airlineName: z.optional(z.union([
|
|
121101
|
+
z.string(),
|
|
121102
|
+
z.null()
|
|
121103
|
+
])),
|
|
121104
|
+
airlineLogoUrl: z.optional(z.union([
|
|
121105
|
+
z.string(),
|
|
121106
|
+
z.null()
|
|
121107
|
+
])),
|
|
121108
|
+
travelClass: z.optional(z.union([
|
|
121109
|
+
z.string(),
|
|
121110
|
+
z.null()
|
|
121111
|
+
])),
|
|
121112
|
+
flightNumber: z.optional(z.union([
|
|
121113
|
+
z.string(),
|
|
121114
|
+
z.null()
|
|
121115
|
+
])),
|
|
121116
|
+
aircraftModel: z.optional(z.union([
|
|
121117
|
+
z.string(),
|
|
121118
|
+
z.null()
|
|
121119
|
+
])),
|
|
121120
|
+
legroom: z.optional(z.union([
|
|
121121
|
+
z.string(),
|
|
121122
|
+
z.null()
|
|
121123
|
+
])),
|
|
121124
|
+
isOvernight: z.optional(z.union([
|
|
121125
|
+
z.boolean(),
|
|
121126
|
+
z.null()
|
|
121127
|
+
])),
|
|
121128
|
+
isOftenDelayed: z.optional(z.union([
|
|
121129
|
+
z.boolean(),
|
|
121130
|
+
z.null()
|
|
121131
|
+
])),
|
|
121132
|
+
carbonEmissionKg: z.optional(z.union([
|
|
121133
|
+
z.number(),
|
|
121134
|
+
z.null()
|
|
121135
|
+
]))
|
|
121136
|
+
})),
|
|
121137
|
+
layovers: z.array(z.object({
|
|
121138
|
+
iataCode: z.optional(z.union([
|
|
121139
|
+
z.string().length(3),
|
|
121140
|
+
z.null()
|
|
121141
|
+
])),
|
|
121142
|
+
airportName: z.optional(z.union([
|
|
121143
|
+
z.string(),
|
|
121144
|
+
z.null()
|
|
121145
|
+
])),
|
|
121146
|
+
durationMinutes: z.optional(z.union([
|
|
121147
|
+
z.int(),
|
|
121148
|
+
z.null()
|
|
121149
|
+
])),
|
|
121150
|
+
isOvernight: z.optional(z.union([
|
|
121151
|
+
z.boolean(),
|
|
121152
|
+
z.null()
|
|
121153
|
+
]))
|
|
121154
|
+
})),
|
|
121155
|
+
totalDurationMinutes: z.optional(z.union([
|
|
121156
|
+
z.int(),
|
|
121157
|
+
z.null()
|
|
121158
|
+
])),
|
|
121159
|
+
price: z.optional(z.union([
|
|
121160
|
+
z.int(),
|
|
121161
|
+
z.null()
|
|
121162
|
+
])),
|
|
121163
|
+
bookingToken: z.optional(z.union([
|
|
121164
|
+
z.string(),
|
|
121165
|
+
z.null()
|
|
121166
|
+
])),
|
|
121167
|
+
flightType: z.optional(z.nullable(z.enum([
|
|
121168
|
+
"one_way",
|
|
121169
|
+
"round_trip",
|
|
121170
|
+
"multi_city"
|
|
121171
|
+
]))),
|
|
121172
|
+
mainAirlineLogoUrl: z.optional(z.union([
|
|
121173
|
+
z.string(),
|
|
121174
|
+
z.null()
|
|
121175
|
+
])),
|
|
121176
|
+
carbonEmissions: z.optional(z.union([
|
|
121177
|
+
z.object({
|
|
121178
|
+
thisFlightKg: z.optional(z.union([
|
|
121179
|
+
z.int(),
|
|
121180
|
+
z.null()
|
|
121181
|
+
])),
|
|
121182
|
+
typicalForRouteKg: z.optional(z.union([
|
|
121183
|
+
z.int(),
|
|
121184
|
+
z.null()
|
|
121185
|
+
])),
|
|
121186
|
+
differencePercent: z.optional(z.union([
|
|
121187
|
+
z.number(),
|
|
121188
|
+
z.null()
|
|
121189
|
+
]))
|
|
121190
|
+
}),
|
|
121191
|
+
z.null()
|
|
121192
|
+
])),
|
|
121193
|
+
alsoSoldBy: z.optional(z.union([
|
|
121194
|
+
z.array(z.string()),
|
|
121195
|
+
z.null()
|
|
121196
|
+
])),
|
|
121197
|
+
operatingCarrier: z.optional(z.union([
|
|
121198
|
+
z.string(),
|
|
121199
|
+
z.null()
|
|
121200
|
+
]))
|
|
121201
|
+
})),
|
|
121202
|
+
nextPageToken: z.optional(z.union([
|
|
121203
|
+
z.string(),
|
|
121204
|
+
z.null()
|
|
121205
|
+
])),
|
|
121206
|
+
currencyCode: z.optional(z.union([
|
|
121207
|
+
z.string().regex(/^[A-Z]{3}$/),
|
|
121208
|
+
z.null()
|
|
121209
|
+
])),
|
|
121210
|
+
priceInsights: z.optional(z.union([
|
|
121211
|
+
z.object({
|
|
121212
|
+
lowestPrice: z.optional(z.union([
|
|
121213
|
+
z.int(),
|
|
121214
|
+
z.null()
|
|
121215
|
+
])),
|
|
121216
|
+
priceLevel: z.optional(z.nullable(z.enum([
|
|
121217
|
+
"low",
|
|
121218
|
+
"typical",
|
|
121219
|
+
"high"
|
|
121220
|
+
]))),
|
|
121221
|
+
typicalPriceRange: z.optional(z.union([
|
|
121222
|
+
z.object({
|
|
121223
|
+
lowerBound: z.optional(z.union([
|
|
121224
|
+
z.int(),
|
|
121225
|
+
z.null()
|
|
121226
|
+
])),
|
|
121227
|
+
upperBound: z.optional(z.union([
|
|
121228
|
+
z.int(),
|
|
121229
|
+
z.null()
|
|
121230
|
+
]))
|
|
121231
|
+
}),
|
|
121232
|
+
z.null()
|
|
121233
|
+
])),
|
|
121234
|
+
history: z.array(z.object({
|
|
121235
|
+
snapshotDate: z.optional(z.union([
|
|
121236
|
+
z.string(),
|
|
121237
|
+
z.null()
|
|
121238
|
+
])),
|
|
121239
|
+
price: z.int()
|
|
121240
|
+
}))
|
|
121241
|
+
}),
|
|
121242
|
+
z.null()
|
|
121243
|
+
])),
|
|
121244
|
+
airports: z.array(z.object({
|
|
121245
|
+
departure: z.array(z.object({
|
|
121246
|
+
iataCode: z.optional(z.union([
|
|
121247
|
+
z.string(),
|
|
121248
|
+
z.null()
|
|
121249
|
+
])),
|
|
121250
|
+
name: z.optional(z.union([
|
|
121251
|
+
z.string(),
|
|
121252
|
+
z.null()
|
|
121253
|
+
])),
|
|
121254
|
+
city: z.optional(z.union([
|
|
121255
|
+
z.string(),
|
|
121256
|
+
z.null()
|
|
121257
|
+
])),
|
|
121258
|
+
countryCode: z.optional(z.union([
|
|
121259
|
+
z.string(),
|
|
121260
|
+
z.null()
|
|
121261
|
+
]))
|
|
121262
|
+
})),
|
|
121263
|
+
arrival: z.array(z.object({
|
|
121264
|
+
iataCode: z.optional(z.union([
|
|
121265
|
+
z.string(),
|
|
121266
|
+
z.null()
|
|
121267
|
+
])),
|
|
121268
|
+
name: z.optional(z.union([
|
|
121269
|
+
z.string(),
|
|
121270
|
+
z.null()
|
|
121271
|
+
])),
|
|
121272
|
+
city: z.optional(z.union([
|
|
121273
|
+
z.string(),
|
|
121274
|
+
z.null()
|
|
121275
|
+
])),
|
|
121276
|
+
countryCode: z.optional(z.union([
|
|
121277
|
+
z.string(),
|
|
121278
|
+
z.null()
|
|
121279
|
+
]))
|
|
121280
|
+
}))
|
|
121281
|
+
}))
|
|
121282
|
+
}),
|
|
121283
|
+
chargeInfo: z.union([
|
|
121284
|
+
z.object({
|
|
121285
|
+
method: z.enum(["charged-now"]),
|
|
121286
|
+
creditsCharged: z.number(),
|
|
121287
|
+
lowCreditAlert: z.optional(z.union([
|
|
121288
|
+
z.object({
|
|
121289
|
+
getMoreCreditsUrl: z.url(),
|
|
121290
|
+
message: z.string(),
|
|
121291
|
+
availableCredits: z.number()
|
|
121292
|
+
}),
|
|
121293
|
+
z.null()
|
|
121294
|
+
]))
|
|
121295
|
+
}),
|
|
121296
|
+
z.object({
|
|
121297
|
+
method: z.enum(["charging-later"]),
|
|
121298
|
+
message: z.string(),
|
|
121299
|
+
lowCreditAlert: z.optional(z.union([
|
|
121300
|
+
z.object({
|
|
121301
|
+
getMoreCreditsUrl: z.url(),
|
|
121302
|
+
message: z.string(),
|
|
121303
|
+
availableCredits: z.number()
|
|
121304
|
+
}),
|
|
121305
|
+
z.null()
|
|
121306
|
+
]))
|
|
121307
|
+
}),
|
|
121308
|
+
z.object({
|
|
121309
|
+
method: z.enum(["charged-for-async-process"]),
|
|
121310
|
+
creditsCharged: z.number(),
|
|
121311
|
+
message: z.string(),
|
|
121312
|
+
lowCreditAlert: z.optional(z.union([
|
|
121313
|
+
z.object({
|
|
121314
|
+
getMoreCreditsUrl: z.url(),
|
|
121315
|
+
message: z.string(),
|
|
121316
|
+
availableCredits: z.number()
|
|
121317
|
+
}),
|
|
121318
|
+
z.null()
|
|
121319
|
+
]))
|
|
121320
|
+
}),
|
|
121321
|
+
z.object({
|
|
121322
|
+
method: z.enum(["free"]),
|
|
121323
|
+
message: z.string(),
|
|
121324
|
+
lowCreditAlert: z.optional(z.union([
|
|
121325
|
+
z.object({
|
|
121326
|
+
getMoreCreditsUrl: z.url(),
|
|
121327
|
+
message: z.string(),
|
|
121328
|
+
availableCredits: z.number()
|
|
121329
|
+
}),
|
|
121330
|
+
z.null()
|
|
121331
|
+
]))
|
|
121332
|
+
})
|
|
121333
|
+
]),
|
|
121334
|
+
warnings: z.optional(z.union([
|
|
121335
|
+
z.array(z.object({
|
|
121336
|
+
field: z.string(),
|
|
121337
|
+
message: z.string()
|
|
121338
|
+
})),
|
|
121339
|
+
z.null()
|
|
121340
|
+
]))
|
|
121341
|
+
});
|
|
120302
121342
|
var zFetchRealEstateListingsData = z.object({
|
|
120303
121343
|
body: z.object({
|
|
120304
121344
|
apiKey: z.string(),
|
|
@@ -120902,7 +121942,11 @@ var zFetchRealEstateListingsResponse = z.object({
|
|
|
120902
121942
|
z.number(),
|
|
120903
121943
|
z.null()
|
|
120904
121944
|
]))
|
|
120905
|
-
}))
|
|
121945
|
+
})),
|
|
121946
|
+
warnings: z.optional(z.union([
|
|
121947
|
+
z.array(z.string()),
|
|
121948
|
+
z.null()
|
|
121949
|
+
]))
|
|
120906
121950
|
}),
|
|
120907
121951
|
chargeInfo: z.union([
|
|
120908
121952
|
z.object({
|
|
@@ -126254,6 +127298,412 @@ var zGetCompanyRevenueResponse = z.object({
|
|
|
126254
127298
|
z.null()
|
|
126255
127299
|
]))
|
|
126256
127300
|
});
|
|
127301
|
+
var zRevealCompletedWebhookRequest = z.object({
|
|
127302
|
+
body: z.object({
|
|
127303
|
+
emails: z.array(z.object({
|
|
127304
|
+
email: z.string(),
|
|
127305
|
+
type: z.enum([
|
|
127306
|
+
"work",
|
|
127307
|
+
"personal",
|
|
127308
|
+
"other",
|
|
127309
|
+
"unknown",
|
|
127310
|
+
"generic"
|
|
127311
|
+
]),
|
|
127312
|
+
status: z.optional(z.enum([
|
|
127313
|
+
"valid",
|
|
127314
|
+
"risky",
|
|
127315
|
+
"unknown",
|
|
127316
|
+
"invalid"
|
|
127317
|
+
]))
|
|
127318
|
+
})),
|
|
127319
|
+
error: z.optional(z.union([
|
|
127320
|
+
z.string(),
|
|
127321
|
+
z.null()
|
|
127322
|
+
])),
|
|
127323
|
+
linkedin_url: z.string(),
|
|
127324
|
+
phone_numbers: z.array(z.object({
|
|
127325
|
+
number: z.string(),
|
|
127326
|
+
type: z.enum([
|
|
127327
|
+
"mobile",
|
|
127328
|
+
"other",
|
|
127329
|
+
"unknown"
|
|
127330
|
+
])
|
|
127331
|
+
})),
|
|
127332
|
+
success: z.boolean(),
|
|
127333
|
+
task_id: z.string()
|
|
127334
|
+
}),
|
|
127335
|
+
path: z.optional(z.never()),
|
|
127336
|
+
query: z.optional(z.never())
|
|
127337
|
+
});
|
|
127338
|
+
var zSavedSearchRunCompletedWebhookRequest = z.object({
|
|
127339
|
+
body: z.object({
|
|
127340
|
+
saved_search_id: z.string(),
|
|
127341
|
+
saved_search_run_id: z.string(),
|
|
127342
|
+
started_at: z.string(),
|
|
127343
|
+
completed_at: z.string(),
|
|
127344
|
+
success: z.boolean()
|
|
127345
|
+
}),
|
|
127346
|
+
path: z.optional(z.never()),
|
|
127347
|
+
query: z.optional(z.never())
|
|
127348
|
+
});
|
|
127349
|
+
var zJobChangedWebhookRequest = z.object({
|
|
127350
|
+
body: z.object({
|
|
127351
|
+
profiles: z.array(z.object({
|
|
127352
|
+
id: z.string(),
|
|
127353
|
+
linkedinUrl: z.string(),
|
|
127354
|
+
movementDetails: z.object({
|
|
127355
|
+
discoveredAt: z.string(),
|
|
127356
|
+
newCompanyName: z.optional(z.union([
|
|
127357
|
+
z.string(),
|
|
127358
|
+
z.null()
|
|
127359
|
+
])),
|
|
127360
|
+
newCompanyLogoUrl: z.optional(z.union([
|
|
127361
|
+
z.string(),
|
|
127362
|
+
z.null()
|
|
127363
|
+
])),
|
|
127364
|
+
newCompanyOrgId: z.optional(z.union([
|
|
127365
|
+
z.string(),
|
|
127366
|
+
z.null()
|
|
127367
|
+
])),
|
|
127368
|
+
newCompanyLiSlug: z.optional(z.union([
|
|
127369
|
+
z.string(),
|
|
127370
|
+
z.null()
|
|
127371
|
+
])),
|
|
127372
|
+
newCompanyDomain: z.optional(z.union([
|
|
127373
|
+
z.string(),
|
|
127374
|
+
z.null()
|
|
127375
|
+
])),
|
|
127376
|
+
newJobTitle: z.optional(z.union([
|
|
127377
|
+
z.string(),
|
|
127378
|
+
z.null()
|
|
127379
|
+
])),
|
|
127380
|
+
oldCompanyName: z.optional(z.union([
|
|
127381
|
+
z.string(),
|
|
127382
|
+
z.null()
|
|
127383
|
+
])),
|
|
127384
|
+
oldCompanyLogoUrl: z.optional(z.union([
|
|
127385
|
+
z.string(),
|
|
127386
|
+
z.null()
|
|
127387
|
+
])),
|
|
127388
|
+
oldCompanyOrgId: z.optional(z.union([
|
|
127389
|
+
z.string(),
|
|
127390
|
+
z.null()
|
|
127391
|
+
])),
|
|
127392
|
+
oldCompanyLiSlug: z.optional(z.union([
|
|
127393
|
+
z.string(),
|
|
127394
|
+
z.null()
|
|
127395
|
+
])),
|
|
127396
|
+
oldCompanyDomain: z.optional(z.union([
|
|
127397
|
+
z.string(),
|
|
127398
|
+
z.null()
|
|
127399
|
+
])),
|
|
127400
|
+
oldJobTitle: z.optional(z.union([
|
|
127401
|
+
z.string(),
|
|
127402
|
+
z.null()
|
|
127403
|
+
])),
|
|
127404
|
+
startedInRoleAt: z.optional(z.union([
|
|
127405
|
+
z.string(),
|
|
127406
|
+
z.null()
|
|
127407
|
+
])),
|
|
127408
|
+
startedAtCompanyAt: z.optional(z.union([
|
|
127409
|
+
z.string(),
|
|
127410
|
+
z.null()
|
|
127411
|
+
])),
|
|
127412
|
+
movement: z.enum([
|
|
127413
|
+
"promoted",
|
|
127414
|
+
"lateral-move",
|
|
127415
|
+
"new-role",
|
|
127416
|
+
"changed",
|
|
127417
|
+
"no-change"
|
|
127418
|
+
])
|
|
127419
|
+
})
|
|
127420
|
+
}))
|
|
127421
|
+
}),
|
|
127422
|
+
path: z.optional(z.never()),
|
|
127423
|
+
query: z.optional(z.never())
|
|
127424
|
+
});
|
|
127425
|
+
var zBatchLiveEnrichCompletedWebhookRequest = z.object({
|
|
127426
|
+
body: z.object({
|
|
127427
|
+
job_id: z.string(),
|
|
127428
|
+
type: z.enum(["PROFILE", "COMPANY"]),
|
|
127429
|
+
success: z.boolean(),
|
|
127430
|
+
total_identifiers: z.number(),
|
|
127431
|
+
completed: z.number(),
|
|
127432
|
+
failed: z.number(),
|
|
127433
|
+
not_found: z.number(),
|
|
127434
|
+
malformed: z.number()
|
|
127435
|
+
}),
|
|
127436
|
+
path: z.optional(z.never()),
|
|
127437
|
+
query: z.optional(z.never())
|
|
127438
|
+
});
|
|
127439
|
+
var zBatchContactEnrichCompletedWebhookRequest = z.object({
|
|
127440
|
+
body: z.object({
|
|
127441
|
+
task_id: z.string().min(1),
|
|
127442
|
+
success: z.boolean(),
|
|
127443
|
+
total: z.number(),
|
|
127444
|
+
completed: z.number(),
|
|
127445
|
+
failed: z.number(),
|
|
127446
|
+
error: z.optional(z.union([
|
|
127447
|
+
z.string(),
|
|
127448
|
+
z.null()
|
|
127449
|
+
]))
|
|
127450
|
+
}),
|
|
127451
|
+
path: z.optional(z.never()),
|
|
127452
|
+
query: z.optional(z.never())
|
|
127453
|
+
});
|
|
127454
|
+
var zBatchContactEnrichV1CompletedWebhookRequest = z.object({
|
|
127455
|
+
body: z.object({
|
|
127456
|
+
task_id: z.string().min(1),
|
|
127457
|
+
audience_id: z.string().min(1),
|
|
127458
|
+
success: z.boolean(),
|
|
127459
|
+
total: z.number(),
|
|
127460
|
+
error: z.optional(z.union([
|
|
127461
|
+
z.string(),
|
|
127462
|
+
z.null()
|
|
127463
|
+
]))
|
|
127464
|
+
}),
|
|
127465
|
+
path: z.optional(z.never()),
|
|
127466
|
+
query: z.optional(z.never())
|
|
127467
|
+
});
|
|
127468
|
+
var zGithubToLinkedinCompletedWebhookRequest = z.object({
|
|
127469
|
+
body: z.object({
|
|
127470
|
+
run_id: z.string().min(1),
|
|
127471
|
+
success: z.boolean(),
|
|
127472
|
+
total: z.number(),
|
|
127473
|
+
failed_batches: z.number(),
|
|
127474
|
+
error: z.optional(z.union([
|
|
127475
|
+
z.string(),
|
|
127476
|
+
z.null()
|
|
127477
|
+
]))
|
|
127478
|
+
}),
|
|
127479
|
+
path: z.optional(z.never()),
|
|
127480
|
+
query: z.optional(z.never())
|
|
127481
|
+
});
|
|
127482
|
+
var zGithubLookupCompletedWebhookRequest = z.object({
|
|
127483
|
+
body: z.object({
|
|
127484
|
+
run_id: z.string().min(1),
|
|
127485
|
+
success: z.boolean(),
|
|
127486
|
+
total: z.number(),
|
|
127487
|
+
failed_batches: z.number(),
|
|
127488
|
+
error: z.optional(z.union([
|
|
127489
|
+
z.string(),
|
|
127490
|
+
z.null()
|
|
127491
|
+
]))
|
|
127492
|
+
}),
|
|
127493
|
+
path: z.optional(z.never()),
|
|
127494
|
+
query: z.optional(z.never())
|
|
127495
|
+
});
|
|
127496
|
+
var zDomainLookupCompletedWebhookRequest = z.object({
|
|
127497
|
+
body: z.object({
|
|
127498
|
+
run_id: z.string().min(1),
|
|
127499
|
+
success: z.boolean(),
|
|
127500
|
+
total: z.number(),
|
|
127501
|
+
resolved: z.number(),
|
|
127502
|
+
error: z.optional(z.union([
|
|
127503
|
+
z.string(),
|
|
127504
|
+
z.null()
|
|
127505
|
+
]))
|
|
127506
|
+
}),
|
|
127507
|
+
path: z.optional(z.never()),
|
|
127508
|
+
query: z.optional(z.never())
|
|
127509
|
+
});
|
|
127510
|
+
var zSocialMediaLookupCompletedWebhookRequest = z.object({
|
|
127511
|
+
body: z.object({
|
|
127512
|
+
run_id: z.string().min(1),
|
|
127513
|
+
success: z.boolean(),
|
|
127514
|
+
total: z.number(),
|
|
127515
|
+
error: z.optional(z.union([
|
|
127516
|
+
z.string(),
|
|
127517
|
+
z.null()
|
|
127518
|
+
]))
|
|
127519
|
+
}),
|
|
127520
|
+
path: z.optional(z.never()),
|
|
127521
|
+
query: z.optional(z.never())
|
|
127522
|
+
});
|
|
127523
|
+
var zGoogleMapsSearchCompletedWebhookRequest = z.object({
|
|
127524
|
+
body: z.object({
|
|
127525
|
+
search_id: z.string().min(1),
|
|
127526
|
+
success: z.boolean(),
|
|
127527
|
+
total_results: z.number(),
|
|
127528
|
+
error: z.optional(z.union([
|
|
127529
|
+
z.string(),
|
|
127530
|
+
z.null()
|
|
127531
|
+
]))
|
|
127532
|
+
}),
|
|
127533
|
+
path: z.optional(z.never()),
|
|
127534
|
+
query: z.optional(z.never())
|
|
127535
|
+
});
|
|
127536
|
+
var zLocalBusinessSearchCompletedWebhookRequest = z.object({
|
|
127537
|
+
body: z.object({
|
|
127538
|
+
run_id: z.string().min(1),
|
|
127539
|
+
success: z.boolean(),
|
|
127540
|
+
total_results: z.number(),
|
|
127541
|
+
error: z.optional(z.union([
|
|
127542
|
+
z.string(),
|
|
127543
|
+
z.null()
|
|
127544
|
+
]))
|
|
127545
|
+
}),
|
|
127546
|
+
path: z.optional(z.never()),
|
|
127547
|
+
query: z.optional(z.never())
|
|
127548
|
+
});
|
|
127549
|
+
var zDepthChartCompletedWebhookRequest = z.object({
|
|
127550
|
+
body: z.object({
|
|
127551
|
+
task_id: z.string().min(1),
|
|
127552
|
+
success: z.boolean(),
|
|
127553
|
+
company_name: z.optional(z.union([
|
|
127554
|
+
z.string(),
|
|
127555
|
+
z.null()
|
|
127556
|
+
])),
|
|
127557
|
+
employee_count: z.optional(z.union([
|
|
127558
|
+
z.number(),
|
|
127559
|
+
z.null()
|
|
127560
|
+
])),
|
|
127561
|
+
error: z.optional(z.union([
|
|
127562
|
+
z.string(),
|
|
127563
|
+
z.null()
|
|
127564
|
+
]))
|
|
127565
|
+
}),
|
|
127566
|
+
path: z.optional(z.never()),
|
|
127567
|
+
query: z.optional(z.never())
|
|
127568
|
+
});
|
|
127569
|
+
var zAudienceEnrichmentCompletedWebhookRequest = z.object({
|
|
127570
|
+
body: z.object({
|
|
127571
|
+
audience_id: z.string().min(1),
|
|
127572
|
+
combined_enrichment_id: z.string().min(1),
|
|
127573
|
+
success: z.boolean(),
|
|
127574
|
+
enriched_prospect_count: z.optional(z.union([
|
|
127575
|
+
z.number(),
|
|
127576
|
+
z.null()
|
|
127577
|
+
])),
|
|
127578
|
+
error: z.optional(z.union([
|
|
127579
|
+
z.string(),
|
|
127580
|
+
z.null()
|
|
127581
|
+
]))
|
|
127582
|
+
}),
|
|
127583
|
+
path: z.optional(z.never()),
|
|
127584
|
+
query: z.optional(z.never())
|
|
127585
|
+
});
|
|
127586
|
+
var zAudienceProspectExportCompletedWebhookRequest = z.object({
|
|
127587
|
+
body: z.object({
|
|
127588
|
+
audience_id: z.string().min(1),
|
|
127589
|
+
export_id: z.optional(z.union([
|
|
127590
|
+
z.string().min(1),
|
|
127591
|
+
z.null()
|
|
127592
|
+
])),
|
|
127593
|
+
success: z.boolean(),
|
|
127594
|
+
total_rows: z.optional(z.union([
|
|
127595
|
+
z.number(),
|
|
127596
|
+
z.null()
|
|
127597
|
+
])),
|
|
127598
|
+
error: z.optional(z.union([
|
|
127599
|
+
z.string(),
|
|
127600
|
+
z.null()
|
|
127601
|
+
]))
|
|
127602
|
+
}),
|
|
127603
|
+
path: z.optional(z.never()),
|
|
127604
|
+
query: z.optional(z.never())
|
|
127605
|
+
});
|
|
127606
|
+
var zAudienceCompanyExportCompletedWebhookRequest = z.object({
|
|
127607
|
+
body: z.object({
|
|
127608
|
+
audience_id: z.string().min(1),
|
|
127609
|
+
export_id: z.optional(z.union([
|
|
127610
|
+
z.string().min(1),
|
|
127611
|
+
z.null()
|
|
127612
|
+
])),
|
|
127613
|
+
success: z.boolean(),
|
|
127614
|
+
total_rows: z.optional(z.union([
|
|
127615
|
+
z.number(),
|
|
127616
|
+
z.null()
|
|
127617
|
+
])),
|
|
127618
|
+
error: z.optional(z.union([
|
|
127619
|
+
z.string(),
|
|
127620
|
+
z.null()
|
|
127621
|
+
]))
|
|
127622
|
+
}),
|
|
127623
|
+
path: z.optional(z.never()),
|
|
127624
|
+
query: z.optional(z.never())
|
|
127625
|
+
});
|
|
127626
|
+
var zAudienceBuildCompletedWebhookRequest = z.object({
|
|
127627
|
+
body: z.object({
|
|
127628
|
+
audience_id: z.string().min(1),
|
|
127629
|
+
success: z.boolean(),
|
|
127630
|
+
total_companies: z.optional(z.union([
|
|
127631
|
+
z.number(),
|
|
127632
|
+
z.null()
|
|
127633
|
+
])),
|
|
127634
|
+
total_prospects: z.optional(z.union([
|
|
127635
|
+
z.number(),
|
|
127636
|
+
z.null()
|
|
127637
|
+
])),
|
|
127638
|
+
error: z.optional(z.union([
|
|
127639
|
+
z.string(),
|
|
127640
|
+
z.null()
|
|
127641
|
+
]))
|
|
127642
|
+
}),
|
|
127643
|
+
path: z.optional(z.never()),
|
|
127644
|
+
query: z.optional(z.never())
|
|
127645
|
+
});
|
|
127646
|
+
var zCombinedSearchCompletedWebhookRequest = z.object({
|
|
127647
|
+
body: z.object({
|
|
127648
|
+
search_id: z.string().min(1),
|
|
127649
|
+
success: z.boolean(),
|
|
127650
|
+
error: z.optional(z.union([
|
|
127651
|
+
z.string(),
|
|
127652
|
+
z.null()
|
|
127653
|
+
]))
|
|
127654
|
+
}),
|
|
127655
|
+
path: z.optional(z.never()),
|
|
127656
|
+
query: z.optional(z.never())
|
|
127657
|
+
});
|
|
127658
|
+
var zSalesNavScrapeCompletedWebhookRequest = z.object({
|
|
127659
|
+
body: z.object({
|
|
127660
|
+
task_id: z.string().min(1),
|
|
127661
|
+
success: z.boolean(),
|
|
127662
|
+
total: z.optional(z.union([
|
|
127663
|
+
z.number(),
|
|
127664
|
+
z.null()
|
|
127665
|
+
])),
|
|
127666
|
+
error: z.optional(z.union([
|
|
127667
|
+
z.string(),
|
|
127668
|
+
z.null()
|
|
127669
|
+
]))
|
|
127670
|
+
}),
|
|
127671
|
+
path: z.optional(z.never()),
|
|
127672
|
+
query: z.optional(z.never())
|
|
127673
|
+
});
|
|
127674
|
+
var zSalesNavLiteScrapeCompletedWebhookRequest = z.object({
|
|
127675
|
+
body: z.object({
|
|
127676
|
+
task_id: z.string().min(1),
|
|
127677
|
+
success: z.boolean(),
|
|
127678
|
+
total: z.optional(z.union([
|
|
127679
|
+
z.number(),
|
|
127680
|
+
z.null()
|
|
127681
|
+
])),
|
|
127682
|
+
error: z.optional(z.union([
|
|
127683
|
+
z.string(),
|
|
127684
|
+
z.null()
|
|
127685
|
+
]))
|
|
127686
|
+
}),
|
|
127687
|
+
path: z.optional(z.never()),
|
|
127688
|
+
query: z.optional(z.never())
|
|
127689
|
+
});
|
|
127690
|
+
var zJobChangesProfilesAddedWebhookRequest = z.object({
|
|
127691
|
+
body: z.object({
|
|
127692
|
+
list_id: z.string().min(1),
|
|
127693
|
+
success: z.boolean(),
|
|
127694
|
+
total_added: z.number(),
|
|
127695
|
+
invalid_count: z.optional(z.union([
|
|
127696
|
+
z.number(),
|
|
127697
|
+
z.null()
|
|
127698
|
+
])),
|
|
127699
|
+
error: z.optional(z.union([
|
|
127700
|
+
z.string(),
|
|
127701
|
+
z.null()
|
|
127702
|
+
]))
|
|
127703
|
+
}),
|
|
127704
|
+
path: z.optional(z.never()),
|
|
127705
|
+
query: z.optional(z.never())
|
|
127706
|
+
});
|
|
126257
127707
|
export {
|
|
126258
127708
|
zAddCompaniesToExclusionListData,
|
|
126259
127709
|
zAddCompaniesToExclusionListResponse,
|
|
@@ -126261,6 +127711,13 @@ export {
|
|
|
126261
127711
|
zAddProfilesToListResponse,
|
|
126262
127712
|
zAddProspectsToExclusionListData,
|
|
126263
127713
|
zAddProspectsToExclusionListResponse,
|
|
127714
|
+
zAudienceBuildCompletedWebhookRequest,
|
|
127715
|
+
zAudienceCompanyExportCompletedWebhookRequest,
|
|
127716
|
+
zAudienceEnrichmentCompletedWebhookRequest,
|
|
127717
|
+
zAudienceProspectExportCompletedWebhookRequest,
|
|
127718
|
+
zBatchContactEnrichCompletedWebhookRequest,
|
|
127719
|
+
zBatchContactEnrichV1CompletedWebhookRequest,
|
|
127720
|
+
zBatchLiveEnrichCompletedWebhookRequest,
|
|
126264
127721
|
zBuildAudienceData,
|
|
126265
127722
|
zBuildAudienceResponse,
|
|
126266
127723
|
zBulkCompanyLogosData,
|
|
@@ -126271,6 +127728,7 @@ export {
|
|
|
126271
127728
|
zBuyCreditsResponse,
|
|
126272
127729
|
zCheckGoogleMapsResultsData,
|
|
126273
127730
|
zCheckGoogleMapsResultsResponse,
|
|
127731
|
+
zCombinedSearchCompletedWebhookRequest,
|
|
126274
127732
|
zCombinedSearchCountData,
|
|
126275
127733
|
zCombinedSearchCountResponse,
|
|
126276
127734
|
zCompanyCountData,
|
|
@@ -126305,6 +127763,8 @@ export {
|
|
|
126305
127763
|
zDeleteProfilesFromJobChangeListResponse,
|
|
126306
127764
|
zDeleteProspectExclusionListData,
|
|
126307
127765
|
zDeleteProspectExclusionListResponse,
|
|
127766
|
+
zDepthChartCompletedWebhookRequest,
|
|
127767
|
+
zDomainLookupCompletedWebhookRequest,
|
|
126308
127768
|
zDomainLookupPollingData,
|
|
126309
127769
|
zDomainLookupPollingResponse,
|
|
126310
127770
|
zDomainLookupTriggerData,
|
|
@@ -126319,6 +127779,8 @@ export {
|
|
|
126319
127779
|
zExportProspectsResponse,
|
|
126320
127780
|
zFetchRealEstateListingsData,
|
|
126321
127781
|
zFetchRealEstateListingsResponse,
|
|
127782
|
+
zFlightSearchData,
|
|
127783
|
+
zFlightSearchResponse,
|
|
126322
127784
|
zGetAcceleratorsData,
|
|
126323
127785
|
zGetAcceleratorsResponse,
|
|
126324
127786
|
zGetAudienceCompaniesData,
|
|
@@ -126339,6 +127801,8 @@ export {
|
|
|
126339
127801
|
zGetExcludedCompaniesForExclusionListResponse,
|
|
126340
127802
|
zGetExcludedProspectsForExclusionListData,
|
|
126341
127803
|
zGetExcludedProspectsForExclusionListResponse,
|
|
127804
|
+
zGetFlightRegionsData,
|
|
127805
|
+
zGetFlightRegionsResponse,
|
|
126342
127806
|
zGetIndustriesData,
|
|
126343
127807
|
zGetIndustriesResponse,
|
|
126344
127808
|
zGetJourneymanListData,
|
|
@@ -126366,6 +127830,7 @@ export {
|
|
|
126366
127830
|
zGetTechnologiesResponse,
|
|
126367
127831
|
zGetTimeZonesData,
|
|
126368
127832
|
zGetTimeZonesResponse,
|
|
127833
|
+
zGithubLookupCompletedWebhookRequest,
|
|
126369
127834
|
zGithubLookupPollData,
|
|
126370
127835
|
zGithubLookupPollResponse,
|
|
126371
127836
|
zGithubLookupTriggerData,
|
|
@@ -126374,8 +127839,10 @@ export {
|
|
|
126374
127839
|
zGithubToLinkedInPollingResponse,
|
|
126375
127840
|
zGithubToLinkedInTriggerData,
|
|
126376
127841
|
zGithubToLinkedInTriggerResponse,
|
|
127842
|
+
zGithubToLinkedinCompletedWebhookRequest,
|
|
126377
127843
|
zGithubToLinkedinSingleData,
|
|
126378
127844
|
zGithubToLinkedinSingleResponse,
|
|
127845
|
+
zGoogleMapsSearchCompletedWebhookRequest,
|
|
126379
127846
|
zGoogleMapsSearchData,
|
|
126380
127847
|
zGoogleMapsSearchResponse,
|
|
126381
127848
|
zHealthCheckData,
|
|
@@ -126392,6 +127859,8 @@ export {
|
|
|
126392
127859
|
zInstagramUserReelsResponse,
|
|
126393
127860
|
zJdToProfileSearchData,
|
|
126394
127861
|
zJdToProfileSearchResponse,
|
|
127862
|
+
zJobChangedWebhookRequest,
|
|
127863
|
+
zJobChangesProfilesAddedWebhookRequest,
|
|
126395
127864
|
zJobPostingSearchCountData,
|
|
126396
127865
|
zJobPostingSearchCountResponse,
|
|
126397
127866
|
zJobPostingSearchData,
|
|
@@ -126412,6 +127881,9 @@ export {
|
|
|
126412
127881
|
zListAllProfilesFromJourneymanListResponse,
|
|
126413
127882
|
zListAudiencesData,
|
|
126414
127883
|
zListAudiencesResponse,
|
|
127884
|
+
zLiteContactRevealData,
|
|
127885
|
+
zLiteContactRevealResponse,
|
|
127886
|
+
zLocalBusinessSearchCompletedWebhookRequest,
|
|
126415
127887
|
zLocationTypeaheadData,
|
|
126416
127888
|
zLocationTypeaheadResponse,
|
|
126417
127889
|
zMultiSourceSearchData,
|
|
@@ -126452,8 +127924,13 @@ export {
|
|
|
126452
127924
|
zRemoveCompanyFromExclusionListResponse,
|
|
126453
127925
|
zRemoveProspectFromExclusionListData,
|
|
126454
127926
|
zRemoveProspectFromExclusionListResponse,
|
|
127927
|
+
zRevealCompletedWebhookRequest,
|
|
126455
127928
|
zReverseEmailLookupData,
|
|
126456
127929
|
zReverseEmailLookupResponse,
|
|
127930
|
+
zSalesNavLiteScrapeCompletedWebhookRequest,
|
|
127931
|
+
zSalesNavScrapeCompletedWebhookRequest,
|
|
127932
|
+
zSavedSearchRunCompletedWebhookRequest,
|
|
127933
|
+
zSocialMediaLookupCompletedWebhookRequest,
|
|
126457
127934
|
zSocialMediaLookupPollingData,
|
|
126458
127935
|
zSocialMediaLookupPollingResponse,
|
|
126459
127936
|
zSocialMediaLookupTriggerData,
|