@pipe0/ops 0.0.1
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/README.md +68 -0
- package/dist/api/core-client.types.d.ts +9259 -0
- package/dist/fields/field-catalog.d.ts +5095 -0
- package/dist/fields/json-meta/fields/builtwith-domain-stack.d.ts +14 -0
- package/dist/fields/json-meta/fields/clado-person-match-v2.d.ts +639 -0
- package/dist/fields/json-meta/fields/clado-person-match.d.ts +139 -0
- package/dist/fields/json-meta/fields/exa_match_evaluation.d.ts +18 -0
- package/dist/fields/json-meta/fields/funding_history.d.ts +10 -0
- package/dist/fields/json-meta/fields/icypeas-company-match.d.ts +30 -0
- package/dist/fields/json-meta/fields/icypeas-person-match.d.ts +22 -0
- package/dist/fields/json-meta/fields/leadmagic-fields.d.ts +25 -0
- package/dist/fields/json-meta/fields/million-verifier-validation-match.d.ts +25 -0
- package/dist/fields/json-meta/fields/oceanio-company-match.d.ts +133 -0
- package/dist/fields/json-meta/fields/profile.d.ts +82 -0
- package/dist/fields/json-meta/fields/scrape-batch-result.d.ts +11 -0
- package/dist/fields/json-meta/fields/website-link-list.d.ts +7 -0
- package/dist/fields/json-meta/fields/zerobounce-validation-match.d.ts +28 -0
- package/dist/fields/schemas.d.ts +18 -0
- package/dist/fields/utils/field-utils.d.ts +2 -0
- package/dist/fields/utils/flag-from.d.ts +12 -0
- package/dist/fields/utils/linkedin-display-value.d.ts +1 -0
- package/dist/form-generation/fields.d.ts +518 -0
- package/dist/form-generation/get-pipes-form-config.d.ts +13 -0
- package/dist/form-generation/get-searches-form-config.d.ts +7 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.js +31112 -0
- package/dist/payload-config/provider-info.d.ts +1 -0
- package/dist/pipes/catalog/entries/company-funding-leadmagic-1.d.ts +257 -0
- package/dist/pipes/catalog/entries/company-identity-2.d.ts +232 -0
- package/dist/pipes/catalog/entries/company-newssummary-website-1.d.ts +207 -0
- package/dist/pipes/catalog/entries/company-overview-2.d.ts +297 -0
- package/dist/pipes/catalog/entries/company-techstack-builtwith-1.d.ts +248 -0
- package/dist/pipes/catalog/entries/company-websiteurl-email-1.d.ts +206 -0
- package/dist/pipes/catalog/entries/contact-create-resent-1.d.ts +218 -0
- package/dist/pipes/catalog/entries/deprecated/company-identity-1.d.ts +235 -0
- package/dist/pipes/catalog/entries/deprecated/company-overview-1.d.ts +288 -0
- package/dist/pipes/catalog/entries/deprecated/people-email-validate-zerobounce-1.d.ts +203 -0
- package/dist/pipes/catalog/entries/deprecated/people-mobile-number-professional-profile-waterfall-1.d.ts +253 -0
- package/dist/pipes/catalog/entries/deprecated/people-mobile-number-work-email-waterfall-1.d.ts +237 -0
- package/dist/pipes/catalog/entries/deprecated/people-professionalprofile-waterfall-1.d.ts +241 -0
- package/dist/pipes/catalog/entries/deprecated/people-professionalprofileurl-email-waterfall-1.d.ts +242 -0
- package/dist/pipes/catalog/entries/deprecated/people-professionalprofileurl-name-1.d.ts +216 -0
- package/dist/pipes/catalog/entries/deprecated/people-validate-email-zero-bounce-1.d.ts +212 -0
- package/dist/pipes/catalog/entries/email-send-gmail.d.ts +224 -0
- package/dist/pipes/catalog/entries/email-send-resend-1.d.ts +227 -0
- package/dist/pipes/catalog/entries/email-write-1.d.ts +260 -0
- package/dist/pipes/catalog/entries/fields-merge-1.d.ts +187 -0
- package/dist/pipes/catalog/entries/json-extract-1.d.ts +240 -0
- package/dist/pipes/catalog/entries/message-send-slack-1.d.ts +206 -0
- package/dist/pipes/catalog/entries/message-write-1.d.ts +226 -0
- package/dist/pipes/catalog/entries/people-email-iswork-1.d.ts +207 -0
- package/dist/pipes/catalog/entries/people-email-validate-million-1.d.ts +212 -0
- package/dist/pipes/catalog/entries/people-email-validate-zerobounce-2.d.ts +212 -0
- package/dist/pipes/catalog/entries/people-name-join-1.d.ts +224 -0
- package/dist/pipes/catalog/entries/people-name-split-1.d.ts +220 -0
- package/dist/pipes/catalog/entries/people-personalemail-profile-waterfall-1.d.ts +262 -0
- package/dist/pipes/catalog/entries/people-phone-profile-waterfall-1.d.ts +266 -0
- package/dist/pipes/catalog/entries/people-phone-workemail-waterfall-1.d.ts +234 -0
- package/dist/pipes/catalog/entries/people-profile-waterfall-1.d.ts +254 -0
- package/dist/pipes/catalog/entries/people-profileurl-email-waterfall-1.d.ts +239 -0
- package/dist/pipes/catalog/entries/people-profileurl-name-1.d.ts +213 -0
- package/dist/pipes/catalog/entries/people-workemail-waterfall-1.d.ts +279 -0
- package/dist/pipes/catalog/entries/prompt-run-1.d.ts +217 -0
- package/dist/pipes/catalog/entries/sheet-append-1.d.ts +195 -0
- package/dist/pipes/catalog/entries/sheet-expandappend-1.d.ts +207 -0
- package/dist/pipes/catalog/entries/template-fill-1.d.ts +183 -0
- package/dist/pipes/catalog/entries/website-extract-firecrawl-1.d.ts +214 -0
- package/dist/pipes/catalog/entries/website-maplinks-firecrawl-1.d.ts +225 -0
- package/dist/pipes/catalog/entries/website-scrape-firecrawl-1.d.ts +227 -0
- package/dist/pipes/catalog/entries/website-scrapelist-firecrawl-1.d.ts +216 -0
- package/dist/pipes/catalog/pipe.d.ts +1866 -0
- package/dist/pipes/catalog/pipes-catalog.d.ts +15435 -0
- package/dist/pipes/catalog/types.d.ts +109 -0
- package/dist/pipes/catalog/utils/find-fields-in-ctx.d.ts +11 -0
- package/dist/pipes/catalog/utils/get-pipe-hash-key.d.ts +4 -0
- package/dist/pipes/catalog/utils/get-pipe-instances.d.ts +6 -0
- package/dist/pipes/catalog/utils/get-provider-billable-operation.d.ts +6 -0
- package/dist/pipes/catalog/utils/index.d.ts +389 -0
- package/dist/pipes/catalog/utils/lazy-property-resolve.d.ts +3 -0
- package/dist/pipes/field-annotations/field-annotations.d.ts +12 -0
- package/dist/pipes/pipes-validator/pipes-validator-utils.d.ts +15 -0
- package/dist/pipes/pipes-validator/pipes-validator.conditions.test.d.ts +1 -0
- package/dist/pipes/pipes-validator/pipes-validator.d.ts +15 -0
- package/dist/pipes/pipes-validator/transform-into-response.d.ts +18 -0
- package/dist/pipes/providers/provider-catalog.d.ts +242 -0
- package/dist/pipes/providers/provider-utils.d.ts +230 -0
- package/dist/pipes/utils/build-dependency-graph.d.ts +15 -0
- package/dist/pipes/utils/clean-payload.d.ts +2 -0
- package/dist/pipes/utils/clean-record-value.d.ts +2 -0
- package/dist/pipes/utils/config-defaults.d.ts +1 -0
- package/dist/pipes/utils/errors.d.ts +219 -0
- package/dist/pipes/utils/get-json-values.d.ts +1 -0
- package/dist/pipes/utils/helpers-widgets.d.ts +17 -0
- package/dist/pipes/utils/helpers.d.ts +13 -0
- package/dist/pipes/utils/input-groups-satisfied.d.ts +13 -0
- package/dist/pipes/utils/parse-prompt-tags.d.ts +41 -0
- package/dist/pipes/utils/pipes-utils.d.ts +382 -0
- package/dist/pipes/utils/schemas-primitives.d.ts +1710 -0
- package/dist/pipes/utils/types.d.ts +5 -0
- package/dist/searches/catalog/entries/companies-profiles-exa-1.d.ts +159 -0
- package/dist/searches/catalog/entries/companies-profiles-icypeas-1.d.ts +265 -0
- package/dist/searches/catalog/entries/deprecated/people-profiles-clado-1.d.ts +162 -0
- package/dist/searches/catalog/entries/people-employees-leadmagic-1.d.ts +135 -0
- package/dist/searches/catalog/entries/people-profiles-clado-2.d.ts +165 -0
- package/dist/searches/catalog/entries/people-profiles-exa-1.d.ts +159 -0
- package/dist/searches/catalog/entries/people-profiles-icypeas-1.d.ts +301 -0
- package/dist/searches/catalog/search.d.ts +26 -0
- package/dist/searches/catalog/searches-catalog.d.ts +2925 -0
- package/dist/searches/catalog/types.d.ts +32 -0
- package/dist/searches/catalog/utils/index.d.ts +1 -0
- package/dist/searches/errors.d.ts +11 -0
- package/dist/searches/index.d.ts +751 -0
- package/dist/searches/schemas.d.ts +12 -0
- package/dist/searches/searches-validator.d.ts +5 -0
- package/dist/searches/types.d.ts +17 -0
- package/dist/searches/utils/get-search-instances.d.ts +3 -0
- package/dist/searches/utils/index.d.ts +2 -0
- package/dist/searches/utils/is-filters-empty.d.ts +1 -0
- package/dist/utils/catalog-tags.d.ts +25 -0
- package/dist/utils/catalog-utils.d.ts +11 -0
- package/dist/utils/clean-object.d.ts +1 -0
- package/dist/utils/clean-url.d.ts +24 -0
- package/dist/utils/connection-id.d.ts +8 -0
- package/dist/utils/hasher.d.ts +8 -0
- package/dist/utils/icons.d.ts +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/json-schema-utils.d.ts +3 -0
- package/dist/utils/pixelart.d.ts +13 -0
- package/dist/utils/schemas.d.ts +113 -0
- package/dist/utils/types.d.ts +4 -0
- package/package.json +69 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SEARCH_IDS: readonly ["people:profiles:icypeas@1", "companies:profiles:icypeas@1", "people:profiles:clado@1", "people:profiles:clado@2", "people:employees:leadmagic@1", "companies:profiles:exa@1", "people:profiles:exa@1"];
|
|
3
|
+
export declare const SearchIdSchema: z.ZodEnum<{
|
|
4
|
+
"people:profiles:icypeas@1": "people:profiles:icypeas@1";
|
|
5
|
+
"companies:profiles:icypeas@1": "companies:profiles:icypeas@1";
|
|
6
|
+
"people:profiles:clado@1": "people:profiles:clado@1";
|
|
7
|
+
"people:profiles:clado@2": "people:profiles:clado@2";
|
|
8
|
+
"people:employees:leadmagic@1": "people:employees:leadmagic@1";
|
|
9
|
+
"companies:profiles:exa@1": "companies:profiles:exa@1";
|
|
10
|
+
"people:profiles:exa@1": "people:profiles:exa@1";
|
|
11
|
+
}>;
|
|
12
|
+
export type SearchId = z.infer<typeof SearchIdSchema>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Search } from "./catalog/search.js";
|
|
2
|
+
export type AnySearchConstructor = new (_config: any) => Search;
|
|
3
|
+
export interface DedupConfig<FieldName extends string = string> {
|
|
4
|
+
default: {
|
|
5
|
+
input: {
|
|
6
|
+
fields: {
|
|
7
|
+
outputField: FieldName;
|
|
8
|
+
}[];
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export type DedupStrategy = keyof DedupConfig;
|
|
13
|
+
export type OutputFieldNames<Payload extends {
|
|
14
|
+
config: {
|
|
15
|
+
output_fields?: object;
|
|
16
|
+
};
|
|
17
|
+
}> = keyof NonNullable<Payload["config"]["output_fields"]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isFiltersEmpty<T extends object>(o: T): boolean;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const CATALOG_TAGS: {
|
|
2
|
+
readonly EMAIL: "Email";
|
|
3
|
+
readonly TEXT: "Text";
|
|
4
|
+
readonly CHAT: "Chat";
|
|
5
|
+
readonly PERSONAL_EMAIL: "Personal Email";
|
|
6
|
+
readonly NAMES: "Names";
|
|
7
|
+
readonly WORK_EMAIL: "Work Email";
|
|
8
|
+
readonly WATERFALL: "Waterfall";
|
|
9
|
+
readonly WEBSITE: "Website";
|
|
10
|
+
readonly SCRAPE: "Scrape";
|
|
11
|
+
readonly ADDRESS: "Address";
|
|
12
|
+
readonly NEWS: "News";
|
|
13
|
+
readonly LINKEDIN: "LinkedIn";
|
|
14
|
+
readonly FINANCIAL_DATA: "Financial Data";
|
|
15
|
+
readonly AI: "AI";
|
|
16
|
+
readonly PHONE: "Phone Number";
|
|
17
|
+
readonly NEW: "New";
|
|
18
|
+
readonly BETA: "Beta";
|
|
19
|
+
readonly PEOPLE_PROFILES: "People Profiles";
|
|
20
|
+
readonly COMPANY_PROFILES: "Company Profiles";
|
|
21
|
+
readonly JSON: "Json";
|
|
22
|
+
readonly FIELDS: "Fields";
|
|
23
|
+
readonly LOGIC: "Logic";
|
|
24
|
+
readonly DEPRECATED: "Deprecated ❌";
|
|
25
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PipeCatalogEntry } from "../pipes/catalog/pipes-catalog.js";
|
|
2
|
+
import type { SearchCatalogEntry } from "../searches/catalog/searches-catalog.js";
|
|
3
|
+
export type BillingMode = "always" | "onSuccess";
|
|
4
|
+
/**
|
|
5
|
+
* Get starting price for pipe cost
|
|
6
|
+
*
|
|
7
|
+
* @param costPerResult
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
export declare function getLowestPipeCreditAmount(entry: PipeCatalogEntry): number;
|
|
11
|
+
export declare function getLoweestSearchesCreditAmount(entry: SearchCatalogEntry): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function cleanObject(obj: unknown): any;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Simplified URL Cleaner
|
|
3
|
+
*
|
|
4
|
+
* Cleans URLs by:
|
|
5
|
+
* - Ensuring HTTPS protocol
|
|
6
|
+
* - Preserving valid subdomains (including www)
|
|
7
|
+
* - Removing query parameters and fragments
|
|
8
|
+
* - Removing path components
|
|
9
|
+
* - Validating domain structure
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Cleans a URL to its canonical form
|
|
13
|
+
*
|
|
14
|
+
* @param url The URL to clean
|
|
15
|
+
* @returns The cleaned URL with HTTPS and core domain
|
|
16
|
+
*/
|
|
17
|
+
export declare function cleanWebsiteUrl(url: string): string;
|
|
18
|
+
/**
|
|
19
|
+
* Normalizes a URL while preserving the full path and structure
|
|
20
|
+
*
|
|
21
|
+
* @param url The URL to normalize
|
|
22
|
+
* @returns The normalized URL with proper protocol and preserved path/query/fragment
|
|
23
|
+
*/
|
|
24
|
+
export declare function cleanUrl(url: string): string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function splitConnectionString(connection: string): {
|
|
2
|
+
provider: "pipe0" | "findymail" | "zerobounce" | "millionverifier" | "googlemaps" | "gemini" | "leadmagic" | "builtwith" | "perplexity" | "serper" | "icypeas" | "prospeo" | "clado" | "resend" | "slack" | "gmail" | "firecrawl" | "exa" | "openai";
|
|
3
|
+
id: string;
|
|
4
|
+
};
|
|
5
|
+
export declare function joinConnectionString(connection: {
|
|
6
|
+
id: string;
|
|
7
|
+
provider: string;
|
|
8
|
+
}): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type IconKey = "school" | "user" | "location" | "language" | "brain" | "book" | "web" | "plug" | "money" | "office" | "job" | "search" | "output" | "input" | "mix" | "linkedin" | "text" | "workflow" | "letter" | "source";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const pixelArtMap: {
|
|
2
|
+
readonly company: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/4a186c98-5aeb-4993-8220-23391c032100/catalogpreview";
|
|
3
|
+
readonly email: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/0df5621f-b145-44cb-a0e5-6c48dee31200/catalogpreview";
|
|
4
|
+
readonly phone: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/5339eb51-38f1-49a8-d792-5bd95023df00/catalogpreview";
|
|
5
|
+
readonly logic: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/4fd584fd-183e-43ae-4abe-8ded517eb300/catalogpreview";
|
|
6
|
+
readonly json: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/65d3dc9c-8a27-4ce5-4e36-e6ddaebe8300/catalogpreview";
|
|
7
|
+
readonly ai: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/4e92717a-2445-4a46-2042-f594c3db1a00/catalogpreview";
|
|
8
|
+
readonly linkedin: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/30d2bfd8-8f5a-44b8-2a56-00a95807b900/catalogpreview";
|
|
9
|
+
readonly web: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/bc7a0217-c9db-4aee-352e-adc593183f00/catalogpreview";
|
|
10
|
+
readonly people: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/bb67686e-3cf4-470d-5328-8aeaf5b9be00/catalogpreview";
|
|
11
|
+
};
|
|
12
|
+
export type PixelArtKey = keyof typeof pixelArtMap;
|
|
13
|
+
export declare function getPixelArt(key: PixelArtKey): "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/4a186c98-5aeb-4993-8220-23391c032100/catalogpreview" | "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/0df5621f-b145-44cb-a0e5-6c48dee31200/catalogpreview" | "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/5339eb51-38f1-49a8-d792-5bd95023df00/catalogpreview" | "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/4fd584fd-183e-43ae-4abe-8ded517eb300/catalogpreview" | "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/65d3dc9c-8a27-4ce5-4e36-e6ddaebe8300/catalogpreview" | "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/4e92717a-2445-4a46-2042-f594c3db1a00/catalogpreview" | "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/30d2bfd8-8f5a-44b8-2a56-00a95807b900/catalogpreview" | "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/bc7a0217-c9db-4aee-352e-adc593183f00/catalogpreview" | "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/bb67686e-3cf4-470d-5328-8aeaf5b9be00/catalogpreview";
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const FieldNameSchema: z.ZodEnum<{
|
|
3
|
+
company_description: "company_description";
|
|
4
|
+
cleaned_company_name: "cleaned_company_name";
|
|
5
|
+
company_industry: "company_industry";
|
|
6
|
+
company_region: "company_region";
|
|
7
|
+
location_hint: "location_hint";
|
|
8
|
+
estimated_revenue: "estimated_revenue";
|
|
9
|
+
founded_year: "founded_year";
|
|
10
|
+
technology_list: "technology_list";
|
|
11
|
+
spending_trend: "spending_trend";
|
|
12
|
+
technology_match_builtwith: "technology_match_builtwith";
|
|
13
|
+
number_of_social_followers: "number_of_social_followers";
|
|
14
|
+
email: "email";
|
|
15
|
+
personal_email: "personal_email";
|
|
16
|
+
alternate_personal_emails: "alternate_personal_emails";
|
|
17
|
+
company_news_summary: "company_news_summary";
|
|
18
|
+
work_email: "work_email";
|
|
19
|
+
headcount: "headcount";
|
|
20
|
+
company_website_url: "company_website_url";
|
|
21
|
+
company_name: "company_name";
|
|
22
|
+
first_name: "first_name";
|
|
23
|
+
addressee_name: "addressee_name";
|
|
24
|
+
address_line_1: "address_line_1";
|
|
25
|
+
address_line_2: "address_line_2";
|
|
26
|
+
job_title: "job_title";
|
|
27
|
+
job_description: "job_description";
|
|
28
|
+
profile_headline: "profile_headline";
|
|
29
|
+
address_city: "address_city";
|
|
30
|
+
address_country: "address_country";
|
|
31
|
+
address_state: "address_state";
|
|
32
|
+
zip_code: "zip_code";
|
|
33
|
+
last_name: "last_name";
|
|
34
|
+
is_work_email: "is_work_email";
|
|
35
|
+
name: "name";
|
|
36
|
+
ip_address: "ip_address";
|
|
37
|
+
skills: "skills";
|
|
38
|
+
avatar_url: "avatar_url";
|
|
39
|
+
estimated_salary: "estimated_salary";
|
|
40
|
+
is_email_valid: "is_email_valid";
|
|
41
|
+
profile_url: "profile_url";
|
|
42
|
+
company_profile_url: "company_profile_url";
|
|
43
|
+
profile_posts: "profile_posts";
|
|
44
|
+
clado_person_match: "clado_person_match";
|
|
45
|
+
clado_person_match_v2: "clado_person_match_v2";
|
|
46
|
+
icypeas_person_match: "icypeas_person_match";
|
|
47
|
+
icypeas_company_match: "icypeas_company_match";
|
|
48
|
+
clado_person_profile: "clado_person_profile";
|
|
49
|
+
resend_email_success: "resend_email_success";
|
|
50
|
+
email_body: "email_body";
|
|
51
|
+
email_subject: "email_subject";
|
|
52
|
+
profile: "profile";
|
|
53
|
+
mobile: "mobile";
|
|
54
|
+
landline: "landline";
|
|
55
|
+
phone: "phone";
|
|
56
|
+
message: "message";
|
|
57
|
+
slack_message_success: "slack_message_success";
|
|
58
|
+
funding_history: "funding_history";
|
|
59
|
+
funding_total_usd: "funding_total_usd";
|
|
60
|
+
template_output: "template_output";
|
|
61
|
+
gmail_email_success: "gmail_email_success";
|
|
62
|
+
zerobounce_validation_status: "zerobounce_validation_status";
|
|
63
|
+
zerobounce_validation_match: "zerobounce_validation_match";
|
|
64
|
+
leadmagic_competitor_list: "leadmagic_competitor_list";
|
|
65
|
+
leadmagic_acquisition_history: "leadmagic_acquisition_history";
|
|
66
|
+
leadmagic_company_news_list: "leadmagic_company_news_list";
|
|
67
|
+
merge_result: "merge_result";
|
|
68
|
+
mapped_links: "mapped_links";
|
|
69
|
+
website_markdown: "website_markdown";
|
|
70
|
+
website_html: "website_html";
|
|
71
|
+
website_url: "website_url";
|
|
72
|
+
urls: "urls";
|
|
73
|
+
website_links: "website_links";
|
|
74
|
+
firecrawl_extract_result: "firecrawl_extract_result";
|
|
75
|
+
exa_match_evaluation: "exa_match_evaluation";
|
|
76
|
+
email_validation_status: "email_validation_status";
|
|
77
|
+
million_validation_match: "million_validation_match";
|
|
78
|
+
scrape_list_response: "scrape_list_response";
|
|
79
|
+
resend_contact_id: "resend_contact_id";
|
|
80
|
+
sheet_record_id: "sheet_record_id";
|
|
81
|
+
sheet_record_ids: "sheet_record_ids";
|
|
82
|
+
input_objects: "input_objects";
|
|
83
|
+
professional_profile_url: "professional_profile_url";
|
|
84
|
+
professional_profile: "professional_profile";
|
|
85
|
+
company_social_url: "company_social_url";
|
|
86
|
+
mobile_number: "mobile_number";
|
|
87
|
+
}>;
|
|
88
|
+
export type FieldName = z.infer<typeof FieldNameSchema>;
|
|
89
|
+
export declare const ProviderNameSchema: z.ZodEnum<{
|
|
90
|
+
pipe0: "pipe0";
|
|
91
|
+
findymail: "findymail";
|
|
92
|
+
zerobounce: "zerobounce";
|
|
93
|
+
millionverifier: "millionverifier";
|
|
94
|
+
googlemaps: "googlemaps";
|
|
95
|
+
gemini: "gemini";
|
|
96
|
+
leadmagic: "leadmagic";
|
|
97
|
+
builtwith: "builtwith";
|
|
98
|
+
perplexity: "perplexity";
|
|
99
|
+
serper: "serper";
|
|
100
|
+
icypeas: "icypeas";
|
|
101
|
+
prospeo: "prospeo";
|
|
102
|
+
clado: "clado";
|
|
103
|
+
resend: "resend";
|
|
104
|
+
slack: "slack";
|
|
105
|
+
gmail: "gmail";
|
|
106
|
+
firecrawl: "firecrawl";
|
|
107
|
+
exa: "exa";
|
|
108
|
+
openai: "openai";
|
|
109
|
+
}>;
|
|
110
|
+
export type ProviderRateLimitOperation = "pipe0_logic" | "pipe0_generic" | "pipe0-sheet-operation" | "pipe0_scraper" | "findymail_generic" | "findymail_email_lookup" | "findymail_phone_lookup" | "dropcontact_generic" | "hunter_generic" | "zerobounce_generic" | "millionverifier_generic" | "googlemaps_generic" | "gemini_25_flash_preview" | "gemini_20_flash" | "leadmagic_company_search" | "leadmagic_email_lookup" | "leadmagic_email_to_b2b_profile" | "leadmagic_personal_email_finder" | "leadmagic_mobile_number_lookup" | "leadmagic_company_funding" | "contactout_generic" | "builtwith_generic" | "perplexity_generic" | "serper_search" | "clado_search_people" | "clado_contact_information" | "icypeas_scrape_profile" | "icypeas_lead_database" | "icypeas_company_database" | "icypeas_email_lookup" | "prospeo_phone_number_lookup" | "prospeo_social_profile_lookup" | "clado_social_profile_lookup" | "prospeo_email_lookup" | "resend_generic" | "slack_post_message" | "gmail_send_email" | "leadmagic_employee_finder" | "firecrawl_generic" | "firecrawl_map_requests" | "firecrawl_extract" | "exa_websets" | "openai_gpt-5" | "openai_gpt-5-mini";
|
|
111
|
+
export type ProviderName = z.infer<typeof ProviderNameSchema>;
|
|
112
|
+
export type ExternalProviderName = Exclude<ProviderName, "pipe0">;
|
|
113
|
+
export type BillableOperation = "builtwith-get-financial-profile1" | "pipe0-get-company-identity" | "pipe0-get-company-news-summary" | "pipe0-get-company-overview" | "gemini-flash-latest-prompt" | "prospeo-get-work-email" | "leadmagic-get-work-email" | "icypeas-get-work-email" | "pipe0-get-website-url" | "pipe0-extract-json" | "pipe0-is-workemail-check" | "pipe0-join-name" | "pipe0-split-name" | "leadmagic-mobile-from-profile" | "leadmagic-mobile-from-workemail" | "prospeo-mobile-from-profile" | "clado-personal-email-from-profile" | "leadmagic-personal-email-from-profile" | "icypeas-get-professional-profile" | "prospeo-get-professional-profile" | "clado-get-professional-profile" | "leadmagic-profile-url-from-email" | "pipe0-get-profileurl-from-name" | "pipe0-split-name" | "zerobounce-validate-email" | "millionverifier-validate-email" | "builtwith-get-technology-stack" | "send-email-resend" | "gemini-flash-latest-write-email" | "gemini-flash-latest-write-message" | "openai-gpt-latest-write-message" | "openai-gpt-mini-latest-write-message" | "send-message-slack" | "findymail-get-work-email" | "findymail-mobile-from-profile" | "get-company-funding-leadmagic" | "template-fill" | "send-email-gmail" | "pipe0-field-or" | "firecrawl-website-scrape" | "firecrawl-list-url-scrape" | "firecrawl-website-extract" | "firecrawl-website-maplinks" | "openai-gpt-latest-write-email" | "openai-gpt-mini-latest-write-email" | "openai-gpt-latest-prompt" | "openai-gpt-mini-latest-prompt" | "contact-create-resend" | "sheets-append-pipe0" | "sheets-appendexpand-pipe0";
|
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pipe0/ops",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"author": "pipe0",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"module": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"data enrichment",
|
|
14
|
+
"prospecting",
|
|
15
|
+
"company data",
|
|
16
|
+
"people data",
|
|
17
|
+
"sales technology",
|
|
18
|
+
"sales engineering"
|
|
19
|
+
],
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"@pipezero/dev": "./src/index.ts",
|
|
23
|
+
"import": "./dist/index.js",
|
|
24
|
+
"require": "./dist/index.js",
|
|
25
|
+
"default": "./dist/index.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"provenance": false,
|
|
30
|
+
"access": "public"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist",
|
|
34
|
+
"LICENSE",
|
|
35
|
+
"README.md",
|
|
36
|
+
"CHANGELOG.md"
|
|
37
|
+
],
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@asteasolutions/zod-to-openapi": "8.0.0",
|
|
40
|
+
"ajv": "^8.17.1",
|
|
41
|
+
"date-fns": "^4.1.0",
|
|
42
|
+
"immer": "^10.1.1",
|
|
43
|
+
"json-schema-traverse": "^1.0.0",
|
|
44
|
+
"json-schema-typed": "^8.0.1",
|
|
45
|
+
"lodash": "^4.17.21",
|
|
46
|
+
"openapi-fetch": "^0.13.4",
|
|
47
|
+
"xxhash-wasm": "^1.1.0",
|
|
48
|
+
"zod": "4.1.12"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/json-schema": "^7.0.15",
|
|
52
|
+
"@types/lodash": "^4.17.20",
|
|
53
|
+
"eslint": "^9.30.1",
|
|
54
|
+
"openapi-typescript": "^7.6.1",
|
|
55
|
+
"tsc-alias": "^1.8.10",
|
|
56
|
+
"typescript": "^5.8.0",
|
|
57
|
+
"vite": "npm:rolldown-vite@latest",
|
|
58
|
+
"vite-plugin-dts": "^4.5.4",
|
|
59
|
+
"vitest": "^4.0.7",
|
|
60
|
+
"@pipe0/eslint-config": "0.0.0"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"dev": " tsc -b ./tsconfig.production.json --watch --noEmit",
|
|
64
|
+
"build": "rm -rf ./dist && vite build && pnpm run types",
|
|
65
|
+
"types": "tsc --emitDeclarationOnly -p ./tsconfig.production.json",
|
|
66
|
+
"test": "vitest run",
|
|
67
|
+
"lint": "eslint . && npx madge --circular ."
|
|
68
|
+
}
|
|
69
|
+
}
|