@fiberai/sdk 0.0.25 → 0.0.26
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 +21 -2
- package/dist/index.d.ts +21 -2
- package/dist/zod.cjs +15 -2
- package/dist/zod.d.cts +7 -0
- package/dist/zod.d.ts +7 -0
- package/dist/zod.js +15 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -7960,13 +7960,16 @@ type AddCompaniesToExclusionListData = {
|
|
|
7960
7960
|
*/
|
|
7961
7961
|
listId: string;
|
|
7962
7962
|
/**
|
|
7963
|
-
* The companies to add to the exclusion list. A maximum of 5000 companies can be added at a time.
|
|
7963
|
+
* The companies to add to the exclusion list. A maximum of 5000 companies can be added at a time. Each entry needs a domain or a LinkedIn company URL; invalid entries are skipped and reported in the response without failing the request.
|
|
7964
7964
|
*/
|
|
7965
7965
|
companies: Array<{
|
|
7966
7966
|
/**
|
|
7967
|
-
* A domain, like 'example.com'
|
|
7967
|
+
* A company domain, like 'example.com'.
|
|
7968
7968
|
*/
|
|
7969
7969
|
domain?: string | null;
|
|
7970
|
+
/**
|
|
7971
|
+
* A LinkedIn company URL, like 'https://www.linkedin.com/company/google'.
|
|
7972
|
+
*/
|
|
7970
7973
|
linkedinUrl?: string | null;
|
|
7971
7974
|
}>;
|
|
7972
7975
|
};
|
|
@@ -8101,6 +8104,22 @@ type AddCompaniesToExclusionListResponses = {
|
|
|
8101
8104
|
* Number of companies added to the exclusion list
|
|
8102
8105
|
*/
|
|
8103
8106
|
companiesAdded: number;
|
|
8107
|
+
/**
|
|
8108
|
+
* Entries that could not be added because they had no valid company domain or LinkedIn company URL. Valid entries in the same request are still added.
|
|
8109
|
+
*/
|
|
8110
|
+
invalidIdentifiers: Array<{
|
|
8111
|
+
/**
|
|
8112
|
+
* The original entry as submitted.
|
|
8113
|
+
*/
|
|
8114
|
+
input: {
|
|
8115
|
+
domain?: string | null;
|
|
8116
|
+
linkedinUrl?: string | null;
|
|
8117
|
+
};
|
|
8118
|
+
/**
|
|
8119
|
+
* The specific reason this entry could not be added.
|
|
8120
|
+
*/
|
|
8121
|
+
reason: string;
|
|
8122
|
+
}>;
|
|
8104
8123
|
};
|
|
8105
8124
|
chargeInfo: {
|
|
8106
8125
|
method: 'charged-now';
|
package/dist/index.d.ts
CHANGED
|
@@ -7960,13 +7960,16 @@ type AddCompaniesToExclusionListData = {
|
|
|
7960
7960
|
*/
|
|
7961
7961
|
listId: string;
|
|
7962
7962
|
/**
|
|
7963
|
-
* The companies to add to the exclusion list. A maximum of 5000 companies can be added at a time.
|
|
7963
|
+
* The companies to add to the exclusion list. A maximum of 5000 companies can be added at a time. Each entry needs a domain or a LinkedIn company URL; invalid entries are skipped and reported in the response without failing the request.
|
|
7964
7964
|
*/
|
|
7965
7965
|
companies: Array<{
|
|
7966
7966
|
/**
|
|
7967
|
-
* A domain, like 'example.com'
|
|
7967
|
+
* A company domain, like 'example.com'.
|
|
7968
7968
|
*/
|
|
7969
7969
|
domain?: string | null;
|
|
7970
|
+
/**
|
|
7971
|
+
* A LinkedIn company URL, like 'https://www.linkedin.com/company/google'.
|
|
7972
|
+
*/
|
|
7970
7973
|
linkedinUrl?: string | null;
|
|
7971
7974
|
}>;
|
|
7972
7975
|
};
|
|
@@ -8101,6 +8104,22 @@ type AddCompaniesToExclusionListResponses = {
|
|
|
8101
8104
|
* Number of companies added to the exclusion list
|
|
8102
8105
|
*/
|
|
8103
8106
|
companiesAdded: number;
|
|
8107
|
+
/**
|
|
8108
|
+
* Entries that could not be added because they had no valid company domain or LinkedIn company URL. Valid entries in the same request are still added.
|
|
8109
|
+
*/
|
|
8110
|
+
invalidIdentifiers: Array<{
|
|
8111
|
+
/**
|
|
8112
|
+
* The original entry as submitted.
|
|
8113
|
+
*/
|
|
8114
|
+
input: {
|
|
8115
|
+
domain?: string | null;
|
|
8116
|
+
linkedinUrl?: string | null;
|
|
8117
|
+
};
|
|
8118
|
+
/**
|
|
8119
|
+
* The specific reason this entry could not be added.
|
|
8120
|
+
*/
|
|
8121
|
+
reason: string;
|
|
8122
|
+
}>;
|
|
8104
8123
|
};
|
|
8105
8124
|
chargeInfo: {
|
|
8106
8125
|
method: 'charged-now';
|
package/dist/zod.cjs
CHANGED
|
@@ -5839,7 +5839,7 @@ var zAddCompaniesToExclusionListData = import_zod.z.object({
|
|
|
5839
5839
|
listId: import_zod.z.string(),
|
|
5840
5840
|
companies: import_zod.z.array(import_zod.z.object({
|
|
5841
5841
|
domain: import_zod.z.optional(import_zod.z.union([
|
|
5842
|
-
import_zod.z.string()
|
|
5842
|
+
import_zod.z.string(),
|
|
5843
5843
|
import_zod.z.null()
|
|
5844
5844
|
])),
|
|
5845
5845
|
linkedinUrl: import_zod.z.optional(import_zod.z.union([
|
|
@@ -5854,7 +5854,20 @@ var zAddCompaniesToExclusionListData = import_zod.z.object({
|
|
|
5854
5854
|
var zAddCompaniesToExclusionListResponse = import_zod.z.object({
|
|
5855
5855
|
output: import_zod.z.object({
|
|
5856
5856
|
listId: import_zod.z.string(),
|
|
5857
|
-
companiesAdded: import_zod.z.number()
|
|
5857
|
+
companiesAdded: import_zod.z.number(),
|
|
5858
|
+
invalidIdentifiers: import_zod.z.array(import_zod.z.object({
|
|
5859
|
+
input: import_zod.z.object({
|
|
5860
|
+
domain: import_zod.z.optional(import_zod.z.union([
|
|
5861
|
+
import_zod.z.string(),
|
|
5862
|
+
import_zod.z.null()
|
|
5863
|
+
])),
|
|
5864
|
+
linkedinUrl: import_zod.z.optional(import_zod.z.union([
|
|
5865
|
+
import_zod.z.string(),
|
|
5866
|
+
import_zod.z.null()
|
|
5867
|
+
]))
|
|
5868
|
+
}),
|
|
5869
|
+
reason: import_zod.z.string()
|
|
5870
|
+
}))
|
|
5858
5871
|
}),
|
|
5859
5872
|
chargeInfo: import_zod.z.union([
|
|
5860
5873
|
import_zod.z.object({
|
package/dist/zod.d.cts
CHANGED
|
@@ -3764,6 +3764,13 @@ declare const zAddCompaniesToExclusionListResponse: z.ZodObject<{
|
|
|
3764
3764
|
output: z.ZodObject<{
|
|
3765
3765
|
listId: z.ZodString;
|
|
3766
3766
|
companiesAdded: z.ZodNumber;
|
|
3767
|
+
invalidIdentifiers: z.ZodArray<z.ZodObject<{
|
|
3768
|
+
input: z.ZodObject<{
|
|
3769
|
+
domain: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3770
|
+
linkedinUrl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3771
|
+
}, z.core.$strip>;
|
|
3772
|
+
reason: z.ZodString;
|
|
3773
|
+
}, z.core.$strip>>;
|
|
3767
3774
|
}, z.core.$strip>;
|
|
3768
3775
|
chargeInfo: z.ZodUnion<readonly [z.ZodObject<{
|
|
3769
3776
|
method: z.ZodEnum<{
|
package/dist/zod.d.ts
CHANGED
|
@@ -3764,6 +3764,13 @@ declare const zAddCompaniesToExclusionListResponse: z.ZodObject<{
|
|
|
3764
3764
|
output: z.ZodObject<{
|
|
3765
3765
|
listId: z.ZodString;
|
|
3766
3766
|
companiesAdded: z.ZodNumber;
|
|
3767
|
+
invalidIdentifiers: z.ZodArray<z.ZodObject<{
|
|
3768
|
+
input: z.ZodObject<{
|
|
3769
|
+
domain: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3770
|
+
linkedinUrl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3771
|
+
}, z.core.$strip>;
|
|
3772
|
+
reason: z.ZodString;
|
|
3773
|
+
}, z.core.$strip>>;
|
|
3767
3774
|
}, z.core.$strip>;
|
|
3768
3775
|
chargeInfo: z.ZodUnion<readonly [z.ZodObject<{
|
|
3769
3776
|
method: z.ZodEnum<{
|
package/dist/zod.js
CHANGED
|
@@ -5387,7 +5387,7 @@ var zAddCompaniesToExclusionListData = z.object({
|
|
|
5387
5387
|
listId: z.string(),
|
|
5388
5388
|
companies: z.array(z.object({
|
|
5389
5389
|
domain: z.optional(z.union([
|
|
5390
|
-
z.string()
|
|
5390
|
+
z.string(),
|
|
5391
5391
|
z.null()
|
|
5392
5392
|
])),
|
|
5393
5393
|
linkedinUrl: z.optional(z.union([
|
|
@@ -5402,7 +5402,20 @@ var zAddCompaniesToExclusionListData = z.object({
|
|
|
5402
5402
|
var zAddCompaniesToExclusionListResponse = z.object({
|
|
5403
5403
|
output: z.object({
|
|
5404
5404
|
listId: z.string(),
|
|
5405
|
-
companiesAdded: z.number()
|
|
5405
|
+
companiesAdded: z.number(),
|
|
5406
|
+
invalidIdentifiers: z.array(z.object({
|
|
5407
|
+
input: z.object({
|
|
5408
|
+
domain: z.optional(z.union([
|
|
5409
|
+
z.string(),
|
|
5410
|
+
z.null()
|
|
5411
|
+
])),
|
|
5412
|
+
linkedinUrl: z.optional(z.union([
|
|
5413
|
+
z.string(),
|
|
5414
|
+
z.null()
|
|
5415
|
+
]))
|
|
5416
|
+
}),
|
|
5417
|
+
reason: z.string()
|
|
5418
|
+
}))
|
|
5406
5419
|
}),
|
|
5407
5420
|
chargeInfo: z.union([
|
|
5408
5421
|
z.object({
|