@fiberai/sdk 0.0.46 → 0.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/zod.cjs +11 -11
- package/dist/zod.js +11 -11
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -143037,6 +143037,9 @@ type TwitterSearchResponses = {
|
|
|
143037
143037
|
type TwitterSearchResponse = TwitterSearchResponses[keyof TwitterSearchResponses];
|
|
143038
143038
|
type GetCompanyRevenueData = {
|
|
143039
143039
|
body: {
|
|
143040
|
+
/**
|
|
143041
|
+
* Your Fiber API key
|
|
143042
|
+
*/
|
|
143040
143043
|
apiKey: string;
|
|
143041
143044
|
companyMetadata: {
|
|
143042
143045
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -143037,6 +143037,9 @@ type TwitterSearchResponses = {
|
|
|
143037
143037
|
type TwitterSearchResponse = TwitterSearchResponses[keyof TwitterSearchResponses];
|
|
143038
143038
|
type GetCompanyRevenueData = {
|
|
143039
143039
|
body: {
|
|
143040
|
+
/**
|
|
143041
|
+
* Your Fiber API key
|
|
143042
|
+
*/
|
|
143040
143043
|
apiKey: string;
|
|
143041
143044
|
companyMetadata: {
|
|
143042
143045
|
/**
|
package/dist/zod.cjs
CHANGED
|
@@ -6869,7 +6869,7 @@ var zPollBatchContactDetailsResponse = import_zod.z.object({
|
|
|
6869
6869
|
pageResults: import_zod.z.array(import_zod.z.object({
|
|
6870
6870
|
inputs: import_zod.z.object({
|
|
6871
6871
|
linkedinUrl: import_zod.z.object({
|
|
6872
|
-
value: import_zod.z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(
|
|
6872
|
+
value: import_zod.z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(?:[^\/\\?,#]+)\/?(?:[\?,#].*)?/)
|
|
6873
6873
|
})
|
|
6874
6874
|
}),
|
|
6875
6875
|
outputs: import_zod.z.optional(import_zod.z.union([
|
|
@@ -10395,7 +10395,7 @@ var zRemoveCompanyFromExclusionListData = import_zod.z.object({
|
|
|
10395
10395
|
import_zod.z.null()
|
|
10396
10396
|
])).prefault([]),
|
|
10397
10397
|
linkedinUrls: import_zod.z.optional(import_zod.z.union([
|
|
10398
|
-
import_zod.z.array(import_zod.z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(
|
|
10398
|
+
import_zod.z.array(import_zod.z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(?:[^\/\?#]+)\/?(\?.*)?(#.*)?$/)).prefault([]),
|
|
10399
10399
|
import_zod.z.null()
|
|
10400
10400
|
])).prefault([])
|
|
10401
10401
|
})
|
|
@@ -46954,7 +46954,7 @@ var zJobPostingSearchData = import_zod.z.object({
|
|
|
46954
46954
|
}),
|
|
46955
46955
|
import_zod.z.object({
|
|
46956
46956
|
identifier: import_zod.z.enum(["linkedinUrl"]),
|
|
46957
|
-
value: import_zod.z.array(import_zod.z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(
|
|
46957
|
+
value: import_zod.z.array(import_zod.z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(?:[^\/\?#]+)\/?(\?.*)?(#.*)?$/))
|
|
46958
46958
|
}),
|
|
46959
46959
|
import_zod.z.object({
|
|
46960
46960
|
identifier: import_zod.z.enum(["linkedinOrgID"]),
|
|
@@ -47900,7 +47900,7 @@ var zJobPostingSearchCountData = import_zod.z.object({
|
|
|
47900
47900
|
}),
|
|
47901
47901
|
import_zod.z.object({
|
|
47902
47902
|
identifier: import_zod.z.enum(["linkedinUrl"]),
|
|
47903
|
-
value: import_zod.z.array(import_zod.z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(
|
|
47903
|
+
value: import_zod.z.array(import_zod.z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(?:[^\/\?#]+)\/?(\?.*)?(#.*)?$/))
|
|
47904
47904
|
}),
|
|
47905
47905
|
import_zod.z.object({
|
|
47906
47906
|
identifier: import_zod.z.enum(["linkedinOrgID"]),
|
|
@@ -80026,7 +80026,7 @@ var zBulkCompanyLogosData = import_zod.z.object({
|
|
|
80026
80026
|
}),
|
|
80027
80027
|
import_zod.z.object({
|
|
80028
80028
|
type: import_zod.z.enum(["linkedinUrls"]),
|
|
80029
|
-
linkedinUrls: import_zod.z.array(import_zod.z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(
|
|
80029
|
+
linkedinUrls: import_zod.z.array(import_zod.z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(?:[^\/\?#]+)\/?(\?.*)?(#.*)?$/)).min(1).max(1e4)
|
|
80030
80030
|
}),
|
|
80031
80031
|
import_zod.z.object({
|
|
80032
80032
|
type: import_zod.z.enum(["liOrgIds"]),
|
|
@@ -80050,7 +80050,7 @@ var zBulkCompanyLogosResponse = import_zod.z.object({
|
|
|
80050
80050
|
import_zod.z.object({
|
|
80051
80051
|
type: import_zod.z.enum(["linkedinUrls"]),
|
|
80052
80052
|
data: import_zod.z.array(import_zod.z.object({
|
|
80053
|
-
linkedinUrl: import_zod.z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(
|
|
80053
|
+
linkedinUrl: import_zod.z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(?:[^\/\?#]+)\/?(\?.*)?(#.*)?$/),
|
|
80054
80054
|
logoUrl: import_zod.z.url()
|
|
80055
80055
|
})).max(1e4)
|
|
80056
80056
|
}),
|
|
@@ -80233,7 +80233,7 @@ var zCompanyLogoResponse = import_zod.z.object({
|
|
|
80233
80233
|
var zBulkProfilePicData = import_zod.z.object({
|
|
80234
80234
|
body: import_zod.z.object({
|
|
80235
80235
|
apiKey: import_zod.z.string(),
|
|
80236
|
-
linkedinUrls: import_zod.z.array(import_zod.z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(
|
|
80236
|
+
linkedinUrls: import_zod.z.array(import_zod.z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(?:[^\/\\?,#]+)\/?(?:[\?,#].*)?/)).min(1).max(1e4)
|
|
80237
80237
|
}),
|
|
80238
80238
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
80239
80239
|
query: import_zod.z.optional(import_zod.z.never())
|
|
@@ -80241,7 +80241,7 @@ var zBulkProfilePicData = import_zod.z.object({
|
|
|
80241
80241
|
var zBulkProfilePicResponse = import_zod.z.object({
|
|
80242
80242
|
output: import_zod.z.object({
|
|
80243
80243
|
data: import_zod.z.array(import_zod.z.object({
|
|
80244
|
-
linkedinUrl: import_zod.z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(
|
|
80244
|
+
linkedinUrl: import_zod.z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(?:[^\/\\?,#]+)\/?(?:[\?,#].*)?/),
|
|
80245
80245
|
profilePicFound: import_zod.z.boolean(),
|
|
80246
80246
|
profilePic: import_zod.z.union([
|
|
80247
80247
|
import_zod.z.string(),
|
|
@@ -112347,7 +112347,7 @@ var zStartBatchContactDetailsData = import_zod.z.object({
|
|
|
112347
112347
|
apiKey: import_zod.z.string(),
|
|
112348
112348
|
personDetails: import_zod.z.array(import_zod.z.object({
|
|
112349
112349
|
linkedinUrl: import_zod.z.object({
|
|
112350
|
-
value: import_zod.z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(
|
|
112350
|
+
value: import_zod.z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(?:[^\/\\?,#]+)\/?(?:[\?,#].*)?/)
|
|
112351
112351
|
})
|
|
112352
112352
|
})).min(1).max(2e3),
|
|
112353
112353
|
enrichmentTypes: import_zod.z.optional(import_zod.z.object({
|
|
@@ -261672,7 +261672,7 @@ var zAddProfilesToListData = import_zod.z.object({
|
|
|
261672
261672
|
apiKey: import_zod.z.string(),
|
|
261673
261673
|
jobChangeListId: import_zod.z.string(),
|
|
261674
261674
|
profiles: import_zod.z.array(import_zod.z.object({
|
|
261675
|
-
linkedinUrl: import_zod.z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(
|
|
261675
|
+
linkedinUrl: import_zod.z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(?:[^\/\\?,#]+)\/?(?:[\?,#].*)?/)
|
|
261676
261676
|
})).min(1).max(5e3)
|
|
261677
261677
|
}),
|
|
261678
261678
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
@@ -292350,7 +292350,7 @@ var zTwitterSearchResponse = import_zod.z.object({
|
|
|
292350
292350
|
});
|
|
292351
292351
|
var zGetCompanyRevenueData = import_zod.z.object({
|
|
292352
292352
|
body: import_zod.z.object({
|
|
292353
|
-
apiKey: import_zod.z.string()
|
|
292353
|
+
apiKey: import_zod.z.string(),
|
|
292354
292354
|
companyMetadata: import_zod.z.object({
|
|
292355
292355
|
name: import_zod.z.optional(import_zod.z.union([
|
|
292356
292356
|
import_zod.z.string().min(1),
|
package/dist/zod.js
CHANGED
|
@@ -6214,7 +6214,7 @@ var zPollBatchContactDetailsResponse = z.object({
|
|
|
6214
6214
|
pageResults: z.array(z.object({
|
|
6215
6215
|
inputs: z.object({
|
|
6216
6216
|
linkedinUrl: z.object({
|
|
6217
|
-
value: z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(
|
|
6217
|
+
value: z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(?:[^\/\\?,#]+)\/?(?:[\?,#].*)?/)
|
|
6218
6218
|
})
|
|
6219
6219
|
}),
|
|
6220
6220
|
outputs: z.optional(z.union([
|
|
@@ -9740,7 +9740,7 @@ var zRemoveCompanyFromExclusionListData = z.object({
|
|
|
9740
9740
|
z.null()
|
|
9741
9741
|
])).prefault([]),
|
|
9742
9742
|
linkedinUrls: z.optional(z.union([
|
|
9743
|
-
z.array(z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(
|
|
9743
|
+
z.array(z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(?:[^\/\?#]+)\/?(\?.*)?(#.*)?$/)).prefault([]),
|
|
9744
9744
|
z.null()
|
|
9745
9745
|
])).prefault([])
|
|
9746
9746
|
})
|
|
@@ -46299,7 +46299,7 @@ var zJobPostingSearchData = z.object({
|
|
|
46299
46299
|
}),
|
|
46300
46300
|
z.object({
|
|
46301
46301
|
identifier: z.enum(["linkedinUrl"]),
|
|
46302
|
-
value: z.array(z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(
|
|
46302
|
+
value: z.array(z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(?:[^\/\?#]+)\/?(\?.*)?(#.*)?$/))
|
|
46303
46303
|
}),
|
|
46304
46304
|
z.object({
|
|
46305
46305
|
identifier: z.enum(["linkedinOrgID"]),
|
|
@@ -47245,7 +47245,7 @@ var zJobPostingSearchCountData = z.object({
|
|
|
47245
47245
|
}),
|
|
47246
47246
|
z.object({
|
|
47247
47247
|
identifier: z.enum(["linkedinUrl"]),
|
|
47248
|
-
value: z.array(z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(
|
|
47248
|
+
value: z.array(z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(?:[^\/\?#]+)\/?(\?.*)?(#.*)?$/))
|
|
47249
47249
|
}),
|
|
47250
47250
|
z.object({
|
|
47251
47251
|
identifier: z.enum(["linkedinOrgID"]),
|
|
@@ -79371,7 +79371,7 @@ var zBulkCompanyLogosData = z.object({
|
|
|
79371
79371
|
}),
|
|
79372
79372
|
z.object({
|
|
79373
79373
|
type: z.enum(["linkedinUrls"]),
|
|
79374
|
-
linkedinUrls: z.array(z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(
|
|
79374
|
+
linkedinUrls: z.array(z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(?:[^\/\?#]+)\/?(\?.*)?(#.*)?$/)).min(1).max(1e4)
|
|
79375
79375
|
}),
|
|
79376
79376
|
z.object({
|
|
79377
79377
|
type: z.enum(["liOrgIds"]),
|
|
@@ -79395,7 +79395,7 @@ var zBulkCompanyLogosResponse = z.object({
|
|
|
79395
79395
|
z.object({
|
|
79396
79396
|
type: z.enum(["linkedinUrls"]),
|
|
79397
79397
|
data: z.array(z.object({
|
|
79398
|
-
linkedinUrl: z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(
|
|
79398
|
+
linkedinUrl: z.url().regex(/^(https?:\/\/)?(\w+\.)?linkedin\.\w+(\.\w+)?\/(company|company-beta|showcase|organization|school|companies)\/(?:[^\/\?#]+)\/?(\?.*)?(#.*)?$/),
|
|
79399
79399
|
logoUrl: z.url()
|
|
79400
79400
|
})).max(1e4)
|
|
79401
79401
|
}),
|
|
@@ -79578,7 +79578,7 @@ var zCompanyLogoResponse = z.object({
|
|
|
79578
79578
|
var zBulkProfilePicData = z.object({
|
|
79579
79579
|
body: z.object({
|
|
79580
79580
|
apiKey: z.string(),
|
|
79581
|
-
linkedinUrls: z.array(z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(
|
|
79581
|
+
linkedinUrls: z.array(z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(?:[^\/\\?,#]+)\/?(?:[\?,#].*)?/)).min(1).max(1e4)
|
|
79582
79582
|
}),
|
|
79583
79583
|
path: z.optional(z.never()),
|
|
79584
79584
|
query: z.optional(z.never())
|
|
@@ -79586,7 +79586,7 @@ var zBulkProfilePicData = z.object({
|
|
|
79586
79586
|
var zBulkProfilePicResponse = z.object({
|
|
79587
79587
|
output: z.object({
|
|
79588
79588
|
data: z.array(z.object({
|
|
79589
|
-
linkedinUrl: z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(
|
|
79589
|
+
linkedinUrl: z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(?:[^\/\\?,#]+)\/?(?:[\?,#].*)?/),
|
|
79590
79590
|
profilePicFound: z.boolean(),
|
|
79591
79591
|
profilePic: z.union([
|
|
79592
79592
|
z.string(),
|
|
@@ -111692,7 +111692,7 @@ var zStartBatchContactDetailsData = z.object({
|
|
|
111692
111692
|
apiKey: z.string(),
|
|
111693
111693
|
personDetails: z.array(z.object({
|
|
111694
111694
|
linkedinUrl: z.object({
|
|
111695
|
-
value: z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(
|
|
111695
|
+
value: z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(?:[^\/\\?,#]+)\/?(?:[\?,#].*)?/)
|
|
111696
111696
|
})
|
|
111697
111697
|
})).min(1).max(2e3),
|
|
111698
111698
|
enrichmentTypes: z.optional(z.object({
|
|
@@ -261017,7 +261017,7 @@ var zAddProfilesToListData = z.object({
|
|
|
261017
261017
|
apiKey: z.string(),
|
|
261018
261018
|
jobChangeListId: z.string(),
|
|
261019
261019
|
profiles: z.array(z.object({
|
|
261020
|
-
linkedinUrl: z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(
|
|
261020
|
+
linkedinUrl: z.string().regex(/^(?:https?:\/\/)?(?:[a-z]+\.)?linkedin\.[a-z]{2,}\/(?:in|sales\/lead|talent\/profile)\/(?:[^\/\\?,#]+)\/?(?:[\?,#].*)?/)
|
|
261021
261021
|
})).min(1).max(5e3)
|
|
261022
261022
|
}),
|
|
261023
261023
|
path: z.optional(z.never()),
|
|
@@ -291695,7 +291695,7 @@ var zTwitterSearchResponse = z.object({
|
|
|
291695
291695
|
});
|
|
291696
291696
|
var zGetCompanyRevenueData = z.object({
|
|
291697
291697
|
body: z.object({
|
|
291698
|
-
apiKey: z.string()
|
|
291698
|
+
apiKey: z.string(),
|
|
291699
291699
|
companyMetadata: z.object({
|
|
291700
291700
|
name: z.optional(z.union([
|
|
291701
291701
|
z.string().min(1),
|