@pipe0/base 0.4.0 → 0.4.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/CHANGELOG.md +8 -0
- package/dist/index.d.mts +128 -11
- package/dist/index.mjs +6 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -2950,7 +2950,7 @@ declare const ProviderNameSchema: z.ZodEnum<{
|
|
|
2950
2950
|
type ProviderRateLimitOperation = "pipe0_logic" | "pipe0_generic" | "pipe0-sheet-operation" | "pipe0_scraper" | "findymail_generic" | "findymail_email_lookup" | "findymail_email_b2b_lookup" | "findymail_phone_lookup" | "dropcontact_generic" | "hunter_generic" | "hunter_email_finder" | "hunter_email_enrichment" | "zerobounce_generic" | "millionverifier_generic" | "googlemaps_generic" | "gemini_35_flash" | "gemini_20_flash" | "leadmagic_company_search" | "leadmagic_email_lookup" | "leadmagic_email_b2b_lookup" | "leadmagic_email_to_b2b_profile" | "leadmagic_personal_email_finder" | "leadmagic_mobile_number_lookup" | "leadmagic_company_funding" | "leadmagic_role_finder" | "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" | "parallel_search_base" | "parallel_entity_search" | "parallel_extract" | "openai_gpt-5" | "openai_gpt-5-mini" | "company_enrich_generic" | "logodev_describe" | "crustdata_company_db_search" | "crustdata_company_enrich" | "crustdata_company_identify" | "crustdata_people_db_search" | "crustdata_realtime_post_fetch" | "crustdata_realtime_person_enrich" | "amplemarket_generic" | "amplemarket-person-reveal" | "amplemarket_people_search" | "amplemarket_company_search" | "mixrank-person-match" | "luma_get_guests";
|
|
2951
2951
|
type ProviderName = z.infer<typeof ProviderNameSchema>;
|
|
2952
2952
|
type ExternalProviderName = Exclude<ProviderName, "pipe0">;
|
|
2953
|
-
type BillableOperation = "companies-profiles-amplemarket-v1" | "companies-profiles-amplemarket-v2" | "companies-profiles-crustdata-v1" | "companies-profiles-crustdata-v2" | "companies-entitysearch-parallel-v1" | "people-entitysearch-parallel-v1" | "people-eventguests-luma-v1" | "company-domain-workemail-v1-pipe0" | "company-funding-leadmagic-v1-leadmagic" | "company-funding-leadmagic-v2-leadmagic" | "company-identity-v1-pipe0" | "company-identity-v2-pipe0" | "company-identity-v3-pipe0" | "company-lookalikes-companyenrich-v1-companyenrich" | "company-lookalikes-companyenrich-v2-companyenrich" | "company-identity-crustdata-v1-crustdata" | "company-match-crustdata-v1-crustdata" | "company-match-crustdata-v2-crustdata" | "company-match-logodev-v1-logodev" | "company-match-logodev-v2-logodev" | "company-newssummary-domain-v1-pipe0" | "company-newssummary-website-v1-pipe0" | "company-overview-v1-pipe0" | "company-overview-v2-pipe0" | "company-overview-v3-pipe0" | "company-techstack-builtwith-v1-builtwith" | "company-techstack-builtwith-v2-builtwith" | "company-websiteurl-email-v1-pipe0" | "contact-create-resend-v1-resend" | "email-iswork-v1-pipe0" | "email-send-gmail-v1-gmail" | "email-send-resend-v1-resend" | "email-validate-zerobounce-v1-zerobounce" | "email-write-v1-gemini-flash-latest" | "email-write-v1-openai-gpt-latest" | "email-write-v1-openai-gpt-mini-latest" | "field-domainify-v1-pipe0" | "field-slugify-v1-pipe0" | "fields-merge-v1-pipe0" | "http-request-v1-pipe0" | "json-extract-multi-v1-pipe0" | "message-send-slack-v1-slack" | "message-write-v1-gemini-flash-latest" | "message-write-v1-openai-gpt-latest" | "message-write-v1-openai-gpt-mini-latest" | "people-email-iswork-v1-pipe0" | "people-email-validate-zerobounce-v1-zerobounce" | "people-email-validate-zerobounce-v2-zerobounce" | "people-identity-email-waterfall-v1-crustdata" | "people-identity-email-waterfall-v1-findymail" | "people-identity-email-waterfall-v1-hunter" | "people-match-role-waterfall-v1-leadmagic" | "people-mobilenumber-professionalprofile-waterfall-v1-leadmagic" | "people-mobilenumber-professionalprofile-waterfall-v1-prospeo" | "people-mobilenumber-workemail-waterfall-v1-leadmagic" | "people-name-split-v1-pipe0" | "people-personalemail-profile-waterfall-v1-clado" | "people-personalemail-profile-waterfall-v1-leadmagic" | "people-personalemail-profile-waterfall-v1-mixrank" | "people-phone-profile-waterfall-v1-amplemarket" | "people-phone-profile-waterfall-v1-clado" | "people-phone-profile-waterfall-v1-findymail" | "people-phone-profile-waterfall-v1-leadmagic" | "people-phone-profile-waterfall-v1-prospeo" | "people-phone-workemail-waterfall-v1-amplemarket" | "people-phone-workemail-waterfall-v1-leadmagic" | "people-professionalprofile-waterfall-v1-icypeas" | "people-professionalprofile-waterfall-v1-prospeo" | "people-professionalprofileurl-email-waterfall-v1-leadmagic" | "people-professionalprofileurl-name-v1-pipe0" | "people-profile-waterfall-v1-amplemarket" | "people-profile-waterfall-v1-clado" | "people-profile-waterfall-v1-icypeas" | "people-profile-waterfall-v1-prospeo" | "people-profile-workemail-crustdata-v1-crustdata" | "people-profiles-amplemarket-v1" | "people-profiles-amplemarket-v2" | "people-profiles-crustdata-v1" | "people-profiles-crustdata-v2" | "people-profileurl-email-waterfall-v1-leadmagic" | "people-validate-email-zerobounce-v1-zerobounce" | "people-workemail-profileurl-waterfall-v1-amplemarket" | "people-workemail-profileurl-waterfall-v1-clado" | "people-workemail-profileurl-waterfall-v1-crustdata" | "people-workemail-profileurl-waterfall-v1-findymail" | "people-workemail-profileurl-waterfall-v1-hunter" | "people-workemail-profileurl-waterfall-v1-leadmagic" | "people-workemail-waterfall-v1-amplemarket" | "people-workemail-waterfall-v1-findymail" | "people-workemail-waterfall-v1-hunter" | "people-workemail-waterfall-v1-icypeas" | "people-workemail-waterfall-v1-leadmagic" | "people-workemail-waterfall-v1-prospeo" | "person-email-validate-millionverifier-v1-millionverifier" | "person-identity-amplemarket-v1-amplemarket" | "person-identity-email-waterfall-v1-crustdata" | "person-identity-email-waterfall-v1-findymail" | "person-identity-email-waterfall-v1-hunter" | "person-match-amplemarket-v1-amplemarket" | "person-match-role-waterfall-v1-leadmagic" | "person-mobile-profileurl-waterfall-v1-amplemarket" | "person-mobile-profileurl-waterfall-v1-findymail" | "person-mobile-profileurl-waterfall-v1-leadmagic" | "person-mobile-profileurl-waterfall-v1-prospeo" | "person-mobile-workemail-waterfall-v1-amplemarket" | "person-mobile-workemail-waterfall-v1-leadmagic" | "person-devprofileurl-profileurl-waterfall-v1-crustdata" | "person-name-join-v1-pipe0" | "person-name-split-v1-pipe0" | "person-personalemail-profileurl-waterfall-v1-leadmagic" | "person-personalemail-profileurl-waterfall-v1-mixrank" | "person-posts-crustdata-v1-crustdata" | "person-profile-waterfall-v1-amplemarket" | "person-profile-waterfall-v1-icypeas" | "person-profile-waterfall-v1-prospeo" | "person-profile-workemail-crustdata-v1-crustdata" | "person-profileurl-email-waterfall-v1-leadmagic" | "person-profileurl-name-v1-pipe0" | "person-workemail-profileurl-waterfall-v1-amplemarket" | "person-workemail-profileurl-waterfall-v1-crustdata" | "person-workemail-profileurl-waterfall-v1-findymail" | "person-workemail-profileurl-waterfall-v1-hunter" | "person-workemail-profileurl-waterfall-v1-leadmagic" | "person-workemail-waterfall-v1-amplemarket" | "person-workemail-waterfall-v1-findymail" | "person-workemail-waterfall-v1-hunter" | "person-workemail-waterfall-v1-icypeas" | "person-workemail-waterfall-v1-leadmagic" | "person-workemail-waterfall-v1-prospeo" | "prompt-run-v1-gemini-flash-latest" | "prompt-run-v1-openai-gpt-latest" | "prompt-run-v1-openai-gpt-mini-latest" | "sheet-row-append-v1-pipe0" | "sheet-row-expandappend-v1-pipe0" | "template-fill-v1-pipe0" | "website-extract-firecrawl-v1-firecrawl" | "website-extract-parallel-v1-parallel" | "website-maplinks-firecrawl-v1-firecrawl" | "website-scrape-firecrawl-v1-firecrawl" | "website-scrapelist-firecrawl-v1-firecrawl";
|
|
2953
|
+
type BillableOperation = "companies-profiles-amplemarket-v1" | "companies-profiles-amplemarket-v2" | "companies-profiles-crustdata-v1" | "companies-profiles-crustdata-v2" | "companies-entitysearch-parallel-v1" | "people-entitysearch-parallel-v1" | "people-eventguests-luma-v1" | "company-domain-workemail-v1-pipe0" | "company-funding-leadmagic-v1-leadmagic" | "company-funding-leadmagic-v2-leadmagic" | "company-identity-v1-pipe0" | "company-identity-v2-pipe0" | "company-identity-v3-pipe0" | "company-lookalikes-companyenrich-v1-companyenrich" | "company-lookalikes-companyenrich-v2-companyenrich" | "company-identity-crustdata-v1-crustdata" | "company-match-crustdata-v1-crustdata" | "company-match-crustdata-v2-crustdata" | "company-match-logodev-v1-logodev" | "company-match-logodev-v2-logodev" | "company-newssummary-domain-v1-pipe0" | "company-newssummary-website-v1-pipe0" | "company-overview-v1-pipe0" | "company-overview-v2-pipe0" | "company-overview-v3-pipe0" | "company-techstack-builtwith-v1-builtwith" | "company-techstack-builtwith-v2-builtwith" | "company-websiteurl-email-v1-pipe0" | "contact-create-resend-v1-resend" | "email-iswork-v1-pipe0" | "email-send-gmail-v1-gmail" | "email-send-resend-v1-resend" | "email-validate-zerobounce-v1-zerobounce" | "email-write-v1-gemini-flash-latest" | "email-write-v1-openai-gpt-latest" | "email-write-v1-openai-gpt-mini-latest" | "field-domainify-v1-pipe0" | "field-slugify-v1-pipe0" | "fields-merge-v1-pipe0" | "http-request-v1-pipe0" | "json-extract-multi-v1-pipe0" | "message-send-slack-v1-slack" | "message-write-v1-gemini-flash-latest" | "message-write-v1-openai-gpt-latest" | "message-write-v1-openai-gpt-mini-latest" | "people-email-iswork-v1-pipe0" | "people-email-validate-zerobounce-v1-zerobounce" | "people-email-validate-zerobounce-v2-zerobounce" | "people-identity-email-waterfall-v1-crustdata" | "people-identity-email-waterfall-v1-findymail" | "people-identity-email-waterfall-v1-hunter" | "people-match-role-waterfall-v1-leadmagic" | "people-mobilenumber-professionalprofile-waterfall-v1-leadmagic" | "people-mobilenumber-professionalprofile-waterfall-v1-prospeo" | "people-mobilenumber-workemail-waterfall-v1-leadmagic" | "people-name-split-v1-pipe0" | "people-personalemail-profile-waterfall-v1-clado" | "people-personalemail-profile-waterfall-v1-leadmagic" | "people-personalemail-profile-waterfall-v1-mixrank" | "people-phone-profile-waterfall-v1-amplemarket" | "people-phone-profile-waterfall-v1-clado" | "people-phone-profile-waterfall-v1-findymail" | "people-phone-profile-waterfall-v1-leadmagic" | "people-phone-profile-waterfall-v1-prospeo" | "people-phone-workemail-waterfall-v1-amplemarket" | "people-phone-workemail-waterfall-v1-leadmagic" | "people-professionalprofile-waterfall-v1-icypeas" | "people-professionalprofile-waterfall-v1-prospeo" | "people-professionalprofileurl-email-waterfall-v1-leadmagic" | "people-professionalprofileurl-name-v1-pipe0" | "people-profile-waterfall-v1-amplemarket" | "people-profile-waterfall-v1-clado" | "people-profile-waterfall-v1-icypeas" | "people-profile-waterfall-v1-prospeo" | "people-profile-workemail-crustdata-v1-crustdata" | "people-profiles-amplemarket-v1" | "people-profiles-amplemarket-v2" | "people-profiles-crustdata-v1" | "people-profiles-crustdata-v2" | "people-profileurl-email-waterfall-v1-leadmagic" | "people-validate-email-zerobounce-v1-zerobounce" | "people-workemail-profileurl-waterfall-v1-amplemarket" | "people-workemail-profileurl-waterfall-v1-clado" | "people-workemail-profileurl-waterfall-v1-crustdata" | "people-workemail-profileurl-waterfall-v1-findymail" | "people-workemail-profileurl-waterfall-v1-hunter" | "people-workemail-profileurl-waterfall-v1-leadmagic" | "people-workemail-waterfall-v1-amplemarket" | "people-workemail-waterfall-v1-findymail" | "people-workemail-waterfall-v1-hunter" | "people-workemail-waterfall-v1-icypeas" | "people-workemail-waterfall-v1-leadmagic" | "people-workemail-waterfall-v1-prospeo" | "person-email-validate-millionverifier-v1-millionverifier" | "person-identity-amplemarket-v1-amplemarket" | "person-identity-email-waterfall-v1-crustdata" | "person-identity-email-waterfall-v1-findymail" | "person-identity-email-waterfall-v1-hunter" | "person-match-amplemarket-v1-amplemarket" | "person-match-role-waterfall-v1-leadmagic" | "person-mobile-profileurl-waterfall-v1-amplemarket" | "person-mobile-profileurl-waterfall-v1-findymail" | "person-mobile-profileurl-waterfall-v1-leadmagic" | "person-mobile-profileurl-waterfall-v1-prospeo" | "person-mobile-workemail-waterfall-v1-amplemarket" | "person-mobile-workemail-waterfall-v1-leadmagic" | "person-devprofileurl-profileurl-waterfall-v1-crustdata" | "person-name-join-v1-pipe0" | "person-name-split-v1-pipe0" | "person-personalemail-profileurl-waterfall-v1-leadmagic" | "person-personalemail-profileurl-waterfall-v1-mixrank" | "person-posts-crustdata-v1-crustdata" | "person-profile-waterfall-v1-amplemarket" | "person-profile-waterfall-v1-icypeas" | "person-profile-waterfall-v1-prospeo" | "person-profile-workemail-crustdata-v1-crustdata" | "person-profileurl-email-waterfall-v1-leadmagic" | "person-profileurl-name-v1-pipe0" | "person-workemail-profileurl-waterfall-v1-amplemarket" | "person-workemail-profileurl-waterfall-v1-crustdata" | "person-workemail-profileurl-waterfall-v1-findymail" | "person-workemail-profileurl-waterfall-v1-hunter" | "person-workemail-profileurl-waterfall-v1-leadmagic" | "person-workemail-waterfall-v1-amplemarket" | "person-workemail-waterfall-v1-findymail" | "person-workemail-waterfall-v1-hunter" | "person-workemail-waterfall-v1-icypeas" | "person-workemail-waterfall-v1-leadmagic" | "person-workemail-waterfall-v1-prospeo" | "prompt-run-v1-gemini-flash-latest" | "prompt-run-v1-openai-gpt-latest" | "prompt-run-v1-openai-gpt-mini-latest" | "sheet-row-append-v1-pipe0" | "sheet-items-v1-pipe0" | "sheet-row-expandappend-v1-pipe0" | "template-fill-v1-pipe0" | "website-extract-firecrawl-v1-firecrawl" | "website-extract-parallel-v1-parallel" | "website-maplinks-firecrawl-v1-firecrawl" | "website-scrape-firecrawl-v1-firecrawl" | "website-scrapelist-firecrawl-v1-firecrawl";
|
|
2954
2954
|
//#endregion
|
|
2955
2955
|
//#region src/fields/field-catalog.d.ts
|
|
2956
2956
|
type FieldEntry = {
|
|
@@ -13216,7 +13216,7 @@ interface FormResolvers {
|
|
|
13216
13216
|
}
|
|
13217
13217
|
//#endregion
|
|
13218
13218
|
//#region src/search/schemas.d.ts
|
|
13219
|
-
declare const SEARCH_IDS: readonly ["companies:profiles:crustdata@1", "companies:profiles:crustdata@2", "companies:profiles:amplemarket@1", "companies:profiles:amplemarket@2", "people:profiles:crustdata@1", "people:profiles:crustdata@2", "people:profiles:amplemarket@1", "people:profiles:amplemarket@2", "companies:entitysearch:parallel@1", "people:entitysearch:parallel@1", "people:eventguests:luma@1"];
|
|
13219
|
+
declare const SEARCH_IDS: readonly ["companies:profiles:crustdata@1", "companies:profiles:crustdata@2", "companies:profiles:amplemarket@1", "companies:profiles:amplemarket@2", "people:profiles:crustdata@1", "people:profiles:crustdata@2", "people:profiles:amplemarket@1", "people:profiles:amplemarket@2", "companies:entitysearch:parallel@1", "people:entitysearch:parallel@1", "people:eventguests:luma@1", "sheet:rows@1"];
|
|
13220
13220
|
declare const SearchIdSchema: z.ZodEnum<{
|
|
13221
13221
|
"companies:profiles:crustdata@1": "companies:profiles:crustdata@1";
|
|
13222
13222
|
"companies:profiles:crustdata@2": "companies:profiles:crustdata@2";
|
|
@@ -13229,6 +13229,7 @@ declare const SearchIdSchema: z.ZodEnum<{
|
|
|
13229
13229
|
"companies:entitysearch:parallel@1": "companies:entitysearch:parallel@1";
|
|
13230
13230
|
"people:entitysearch:parallel@1": "people:entitysearch:parallel@1";
|
|
13231
13231
|
"people:eventguests:luma@1": "people:eventguests:luma@1";
|
|
13232
|
+
"sheet:rows@1": "sheet:rows@1";
|
|
13232
13233
|
}>;
|
|
13233
13234
|
type SearchId = z.infer<typeof SearchIdSchema>;
|
|
13234
13235
|
//#endregion
|
|
@@ -13267,7 +13268,7 @@ interface DedupConfig$1<FieldName extends string = string> {
|
|
|
13267
13268
|
}
|
|
13268
13269
|
//#endregion
|
|
13269
13270
|
//#region src/search/catalog/categories.d.ts
|
|
13270
|
-
type SearchCategory = "people" | "companies" | "deprecated";
|
|
13271
|
+
type SearchCategory = "people" | "companies" | "data" | "deprecated";
|
|
13271
13272
|
interface SearchCategoryEntry {
|
|
13272
13273
|
id: SearchCategory;
|
|
13273
13274
|
label: string;
|
|
@@ -13293,6 +13294,15 @@ type SearchDef<PayloadSchema extends z.ZodType> = {
|
|
|
13293
13294
|
searchId: SearchId;
|
|
13294
13295
|
baseSearch: string;
|
|
13295
13296
|
paginationType: PaginationType;
|
|
13297
|
+
/**
|
|
13298
|
+
* Output-field topology (mirrors pipes' `outputFieldMode`):
|
|
13299
|
+
* - `"static"` (default when omitted) — columns are known from the catalog at
|
|
13300
|
+
* compile time; the form/validator/MCP enumerate them ahead of the run.
|
|
13301
|
+
* - `"dynamic"` — columns are only known at run time (e.g. a sheet / warehouse
|
|
13302
|
+
* reader); the search ships its column definitions in the response under
|
|
13303
|
+
* `field_definitions` instead.
|
|
13304
|
+
*/
|
|
13305
|
+
outputFieldMode?: "static" | "dynamic";
|
|
13296
13306
|
provider: ProviderName;
|
|
13297
13307
|
billableOperation: BillableOperation;
|
|
13298
13308
|
hasManagedConnection: boolean;
|
|
@@ -14600,6 +14610,24 @@ declare const searchPayloadSchemaCatalog: {
|
|
|
14600
14610
|
}, z$1.core.$strip>;
|
|
14601
14611
|
}, z$1.core.$strip>;
|
|
14602
14612
|
}, z$1.core.$strip>;
|
|
14613
|
+
"sheet:rows@1": z$1.ZodObject<{
|
|
14614
|
+
search_id: z$1.ZodLiteral<"sheet:rows@1">;
|
|
14615
|
+
connector: z$1.ZodObject<{
|
|
14616
|
+
strategy: z$1.ZodDefault<z$1.ZodEnum<{
|
|
14617
|
+
first: "first";
|
|
14618
|
+
}>>;
|
|
14619
|
+
connections: z$1.ZodArray<z$1.ZodObject<{
|
|
14620
|
+
type: z$1.ZodLiteral<"vault">;
|
|
14621
|
+
connection: z$1.ZodString;
|
|
14622
|
+
}, z$1.core.$strip>>;
|
|
14623
|
+
}, z$1.core.$strip>;
|
|
14624
|
+
config: z$1.ZodObject<{
|
|
14625
|
+
sheet: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodArray<z$1.ZodString>]> | z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodArray<z$1.ZodString>]>>;
|
|
14626
|
+
limit: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodCoercedNumber<unknown>>>>;
|
|
14627
|
+
cursor: z$1.ZodCoercedString<unknown> | z$1.ZodNullable<z$1.ZodCoercedString<unknown>>;
|
|
14628
|
+
include_metadata: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
14629
|
+
}, z$1.core.$strip>;
|
|
14630
|
+
}, z$1.core.$strip>;
|
|
14603
14631
|
};
|
|
14604
14632
|
declare const searchCatalog: Record<SearchId, SearchDef<any>>;
|
|
14605
14633
|
type SearchCatalog = typeof searchCatalog;
|
|
@@ -14620,6 +14648,9 @@ declare const SearchRequestSchema: z$1.ZodObject<{
|
|
|
14620
14648
|
widgets: z$1.ZodDefault<z$1.ZodObject<{
|
|
14621
14649
|
enabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
14622
14650
|
}, z$1.core.$strip>>;
|
|
14651
|
+
field_definitions: z$1.ZodDefault<z$1.ZodObject<{
|
|
14652
|
+
enabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
14653
|
+
}, z$1.core.$strip>>;
|
|
14623
14654
|
}, z$1.core.$strip>>;
|
|
14624
14655
|
search: z$1.ZodDiscriminatedUnion<readonly [z$1.ZodObject<{
|
|
14625
14656
|
search_id: z$1.ZodLiteral<"companies:profiles:crustdata@1">;
|
|
@@ -15900,6 +15931,23 @@ declare const SearchRequestSchema: z$1.ZodObject<{
|
|
|
15900
15931
|
approval_status: z$1.ZodString | z$1.ZodDefault<z$1.ZodString>;
|
|
15901
15932
|
}, z$1.core.$strip>;
|
|
15902
15933
|
}, z$1.core.$strip>;
|
|
15934
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15935
|
+
search_id: z$1.ZodLiteral<"sheet:rows@1">;
|
|
15936
|
+
connector: z$1.ZodObject<{
|
|
15937
|
+
strategy: z$1.ZodDefault<z$1.ZodEnum<{
|
|
15938
|
+
first: "first";
|
|
15939
|
+
}>>;
|
|
15940
|
+
connections: z$1.ZodArray<z$1.ZodObject<{
|
|
15941
|
+
type: z$1.ZodLiteral<"vault">;
|
|
15942
|
+
connection: z$1.ZodString;
|
|
15943
|
+
}, z$1.core.$strip>>;
|
|
15944
|
+
}, z$1.core.$strip>;
|
|
15945
|
+
config: z$1.ZodObject<{
|
|
15946
|
+
sheet: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodArray<z$1.ZodString>]> | z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodArray<z$1.ZodString>]>>;
|
|
15947
|
+
limit: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodCoercedNumber<unknown>>>>;
|
|
15948
|
+
cursor: z$1.ZodCoercedString<unknown> | z$1.ZodNullable<z$1.ZodCoercedString<unknown>>;
|
|
15949
|
+
include_metadata: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
15950
|
+
}, z$1.core.$strip>;
|
|
15903
15951
|
}, z$1.core.$strip>], string>;
|
|
15904
15952
|
}, z$1.core.$strip>;
|
|
15905
15953
|
declare const SearchErrorSchema: z$1.ZodObject<{
|
|
@@ -17696,6 +17744,23 @@ declare function getSearchPayloadSchema(seachId: SearchId): z$1.ZodObject<{
|
|
|
17696
17744
|
approval_status: z$1.ZodString | z$1.ZodDefault<z$1.ZodString>;
|
|
17697
17745
|
}, z$1.core.$strip>;
|
|
17698
17746
|
}, z$1.core.$strip>;
|
|
17747
|
+
}, z$1.core.$strip> | z$1.ZodObject<{
|
|
17748
|
+
search_id: z$1.ZodLiteral<"sheet:rows@1">;
|
|
17749
|
+
connector: z$1.ZodObject<{
|
|
17750
|
+
strategy: z$1.ZodDefault<z$1.ZodEnum<{
|
|
17751
|
+
first: "first";
|
|
17752
|
+
}>>;
|
|
17753
|
+
connections: z$1.ZodArray<z$1.ZodObject<{
|
|
17754
|
+
type: z$1.ZodLiteral<"vault">;
|
|
17755
|
+
connection: z$1.ZodString;
|
|
17756
|
+
}, z$1.core.$strip>>;
|
|
17757
|
+
}, z$1.core.$strip>;
|
|
17758
|
+
config: z$1.ZodObject<{
|
|
17759
|
+
sheet: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodArray<z$1.ZodString>]> | z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodArray<z$1.ZodString>]>>;
|
|
17760
|
+
limit: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodCoercedNumber<unknown>>>>;
|
|
17761
|
+
cursor: z$1.ZodCoercedString<unknown> | z$1.ZodNullable<z$1.ZodCoercedString<unknown>>;
|
|
17762
|
+
include_metadata: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
17763
|
+
}, z$1.core.$strip>;
|
|
17699
17764
|
}, z$1.core.$strip>;
|
|
17700
17765
|
declare const PaginationTypeSchema: z$1.ZodEnum<{
|
|
17701
17766
|
cursor: "cursor";
|
|
@@ -17722,6 +17787,7 @@ declare const SearchResponseSchema: z$1.ZodObject<{
|
|
|
17722
17787
|
"companies:entitysearch:parallel@1": "companies:entitysearch:parallel@1";
|
|
17723
17788
|
"people:entitysearch:parallel@1": "people:entitysearch:parallel@1";
|
|
17724
17789
|
"people:eventguests:luma@1": "people:eventguests:luma@1";
|
|
17790
|
+
"sheet:rows@1": "sheet:rows@1";
|
|
17725
17791
|
}>;
|
|
17726
17792
|
errors: z$1.ZodArray<z$1.ZodObject<{
|
|
17727
17793
|
code: z$1.ZodString;
|
|
@@ -19261,12 +19327,63 @@ declare const SearchResponseSchema: z$1.ZodObject<{
|
|
|
19261
19327
|
approval_status: z$1.ZodString | z$1.ZodDefault<z$1.ZodString>;
|
|
19262
19328
|
}, z$1.core.$strip>;
|
|
19263
19329
|
}, z$1.core.$strip>;
|
|
19330
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
19331
|
+
search_id: z$1.ZodLiteral<"sheet:rows@1">;
|
|
19332
|
+
connector: z$1.ZodObject<{
|
|
19333
|
+
strategy: z$1.ZodDefault<z$1.ZodEnum<{
|
|
19334
|
+
first: "first";
|
|
19335
|
+
}>>;
|
|
19336
|
+
connections: z$1.ZodArray<z$1.ZodObject<{
|
|
19337
|
+
type: z$1.ZodLiteral<"vault">;
|
|
19338
|
+
connection: z$1.ZodString;
|
|
19339
|
+
}, z$1.core.$strip>>;
|
|
19340
|
+
}, z$1.core.$strip>;
|
|
19341
|
+
config: z$1.ZodObject<{
|
|
19342
|
+
sheet: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodArray<z$1.ZodString>]> | z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodArray<z$1.ZodString>]>>;
|
|
19343
|
+
limit: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodCoercedNumber<unknown>>>>;
|
|
19344
|
+
cursor: z$1.ZodCoercedString<unknown> | z$1.ZodNullable<z$1.ZodCoercedString<unknown>>;
|
|
19345
|
+
include_metadata: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
19346
|
+
}, z$1.core.$strip>;
|
|
19264
19347
|
}, z$1.core.$strip>], string>>;
|
|
19265
19348
|
pagination_type: z$1.ZodNullable<z$1.ZodEnum<{
|
|
19266
19349
|
cursor: "cursor";
|
|
19267
19350
|
page_number: "page_number";
|
|
19268
19351
|
}>>;
|
|
19269
19352
|
total_pages: z$1.ZodNullable<z$1.ZodInt32>;
|
|
19353
|
+
field_definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
19354
|
+
type: z$1.ZodEnum<{
|
|
19355
|
+
string: "string";
|
|
19356
|
+
number: "number";
|
|
19357
|
+
boolean: "boolean";
|
|
19358
|
+
unknown: "unknown";
|
|
19359
|
+
json: "json";
|
|
19360
|
+
}>;
|
|
19361
|
+
label: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
19362
|
+
format: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodEnum<{
|
|
19363
|
+
profile_url: "profile_url";
|
|
19364
|
+
int: "int";
|
|
19365
|
+
date: "date";
|
|
19366
|
+
email: "email";
|
|
19367
|
+
address_line_1: "address_line_1";
|
|
19368
|
+
zip_code: "zip_code";
|
|
19369
|
+
phone: "phone";
|
|
19370
|
+
website_url: "website_url";
|
|
19371
|
+
markdown: "markdown";
|
|
19372
|
+
json_object: "json_object";
|
|
19373
|
+
json_list: "json_list";
|
|
19374
|
+
json_list_string: "json_list_string";
|
|
19375
|
+
url: "url";
|
|
19376
|
+
datetime: "datetime";
|
|
19377
|
+
currency: "currency";
|
|
19378
|
+
text: "text";
|
|
19379
|
+
decimal: "decimal";
|
|
19380
|
+
percent: "percent";
|
|
19381
|
+
}>>>;
|
|
19382
|
+
json_metadata: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
19383
|
+
example_value: z$1.ZodNullable<z$1.ZodAny>;
|
|
19384
|
+
schema: z$1.ZodNullable<z$1.ZodAny>;
|
|
19385
|
+
}, z$1.core.$strip>>>;
|
|
19386
|
+
}, z$1.core.$strip>>>;
|
|
19270
19387
|
}, z$1.core.$strip>;
|
|
19271
19388
|
type SearchRequestType = z$1.infer<typeof SearchRequestSchema>;
|
|
19272
19389
|
type SearchRequestPayload = z$1.input<typeof SearchRequestSchema>;
|
|
@@ -19293,12 +19410,12 @@ declare function getSearchEntry(searchId: SearchId): SearchDef<any>;
|
|
|
19293
19410
|
declare function getInitialSearchTableData(category: SearchCategory | null): SearchCatalogTableData[];
|
|
19294
19411
|
declare function getDefaultSearchOutputFields(searchId: SearchId): string[];
|
|
19295
19412
|
declare function getSearchTableDataAggregates(initialTableData: SearchCatalogTableData[], category: SearchCategory | null): {
|
|
19296
|
-
searchIdsByOutputField: Record<string, ("companies:profiles:crustdata@1" | "companies:profiles:crustdata@2" | "companies:profiles:amplemarket@1" | "companies:profiles:amplemarket@2" | "people:profiles:crustdata@1" | "people:profiles:crustdata@2" | "people:profiles:amplemarket@1" | "people:profiles:amplemarket@2" | "companies:entitysearch:parallel@1" | "people:entitysearch:parallel@1" | "people:eventguests:luma@1")[]>;
|
|
19297
|
-
searchIdsByTag: Record<string, ("companies:profiles:crustdata@1" | "companies:profiles:crustdata@2" | "companies:profiles:amplemarket@1" | "companies:profiles:amplemarket@2" | "people:profiles:crustdata@1" | "people:profiles:crustdata@2" | "people:profiles:amplemarket@1" | "people:profiles:amplemarket@2" | "companies:entitysearch:parallel@1" | "people:entitysearch:parallel@1" | "people:eventguests:luma@1")[]>;
|
|
19298
|
-
searchIdsByProvider: Record<string, ("companies:profiles:crustdata@1" | "companies:profiles:crustdata@2" | "companies:profiles:amplemarket@1" | "companies:profiles:amplemarket@2" | "people:profiles:crustdata@1" | "people:profiles:crustdata@2" | "people:profiles:amplemarket@1" | "people:profiles:amplemarket@2" | "companies:entitysearch:parallel@1" | "people:entitysearch:parallel@1" | "people:eventguests:luma@1")[]>;
|
|
19299
|
-
sortedTagEntries: [string, ("companies:profiles:crustdata@1" | "companies:profiles:crustdata@2" | "companies:profiles:amplemarket@1" | "companies:profiles:amplemarket@2" | "people:profiles:crustdata@1" | "people:profiles:crustdata@2" | "people:profiles:amplemarket@1" | "people:profiles:amplemarket@2" | "companies:entitysearch:parallel@1" | "people:entitysearch:parallel@1" | "people:eventguests:luma@1")[]][];
|
|
19300
|
-
sortedOutputFieldEntries: [string, ("companies:profiles:crustdata@1" | "companies:profiles:crustdata@2" | "companies:profiles:amplemarket@1" | "companies:profiles:amplemarket@2" | "people:profiles:crustdata@1" | "people:profiles:crustdata@2" | "people:profiles:amplemarket@1" | "people:profiles:amplemarket@2" | "companies:entitysearch:parallel@1" | "people:entitysearch:parallel@1" | "people:eventguests:luma@1")[]][];
|
|
19301
|
-
sortedProviderEntries: [string, ("companies:profiles:crustdata@1" | "companies:profiles:crustdata@2" | "companies:profiles:amplemarket@1" | "companies:profiles:amplemarket@2" | "people:profiles:crustdata@1" | "people:profiles:crustdata@2" | "people:profiles:amplemarket@1" | "people:profiles:amplemarket@2" | "companies:entitysearch:parallel@1" | "people:entitysearch:parallel@1" | "people:eventguests:luma@1")[]][];
|
|
19413
|
+
searchIdsByOutputField: Record<string, ("companies:profiles:crustdata@1" | "companies:profiles:crustdata@2" | "companies:profiles:amplemarket@1" | "companies:profiles:amplemarket@2" | "people:profiles:crustdata@1" | "people:profiles:crustdata@2" | "people:profiles:amplemarket@1" | "people:profiles:amplemarket@2" | "companies:entitysearch:parallel@1" | "people:entitysearch:parallel@1" | "people:eventguests:luma@1" | "sheet:rows@1")[]>;
|
|
19414
|
+
searchIdsByTag: Record<string, ("companies:profiles:crustdata@1" | "companies:profiles:crustdata@2" | "companies:profiles:amplemarket@1" | "companies:profiles:amplemarket@2" | "people:profiles:crustdata@1" | "people:profiles:crustdata@2" | "people:profiles:amplemarket@1" | "people:profiles:amplemarket@2" | "companies:entitysearch:parallel@1" | "people:entitysearch:parallel@1" | "people:eventguests:luma@1" | "sheet:rows@1")[]>;
|
|
19415
|
+
searchIdsByProvider: Record<string, ("companies:profiles:crustdata@1" | "companies:profiles:crustdata@2" | "companies:profiles:amplemarket@1" | "companies:profiles:amplemarket@2" | "people:profiles:crustdata@1" | "people:profiles:crustdata@2" | "people:profiles:amplemarket@1" | "people:profiles:amplemarket@2" | "companies:entitysearch:parallel@1" | "people:entitysearch:parallel@1" | "people:eventguests:luma@1" | "sheet:rows@1")[]>;
|
|
19416
|
+
sortedTagEntries: [string, ("companies:profiles:crustdata@1" | "companies:profiles:crustdata@2" | "companies:profiles:amplemarket@1" | "companies:profiles:amplemarket@2" | "people:profiles:crustdata@1" | "people:profiles:crustdata@2" | "people:profiles:amplemarket@1" | "people:profiles:amplemarket@2" | "companies:entitysearch:parallel@1" | "people:entitysearch:parallel@1" | "people:eventguests:luma@1" | "sheet:rows@1")[]][];
|
|
19417
|
+
sortedOutputFieldEntries: [string, ("companies:profiles:crustdata@1" | "companies:profiles:crustdata@2" | "companies:profiles:amplemarket@1" | "companies:profiles:amplemarket@2" | "people:profiles:crustdata@1" | "people:profiles:crustdata@2" | "people:profiles:amplemarket@1" | "people:profiles:amplemarket@2" | "companies:entitysearch:parallel@1" | "people:entitysearch:parallel@1" | "people:eventguests:luma@1" | "sheet:rows@1")[]][];
|
|
19418
|
+
sortedProviderEntries: [string, ("companies:profiles:crustdata@1" | "companies:profiles:crustdata@2" | "companies:profiles:amplemarket@1" | "companies:profiles:amplemarket@2" | "people:profiles:crustdata@1" | "people:profiles:crustdata@2" | "people:profiles:amplemarket@1" | "people:profiles:amplemarket@2" | "companies:entitysearch:parallel@1" | "people:entitysearch:parallel@1" | "people:eventguests:luma@1" | "sheet:rows@1")[]][];
|
|
19302
19419
|
searchEntriesByBaseSearch: Record<string, SearchMetaEntryWithId[]>;
|
|
19303
19420
|
};
|
|
19304
19421
|
declare function getStartingCostPerSearchProvider(search_id: SearchId): {
|
|
@@ -49857,7 +49974,7 @@ declare const providerCatalog: {
|
|
|
49857
49974
|
readonly allowsUserConnections: true;
|
|
49858
49975
|
readonly oAuthConfig: null;
|
|
49859
49976
|
readonly connectionType: "api_key";
|
|
49860
|
-
readonly logoUrl: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/
|
|
49977
|
+
readonly logoUrl: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/a612ed1c-d5cf-421a-23c5-3cf74f506100/icon";
|
|
49861
49978
|
readonly background: {
|
|
49862
49979
|
readonly light: "#FFE4D4";
|
|
49863
49980
|
readonly dark: "#3D1F0C";
|
|
@@ -50293,7 +50410,7 @@ declare function getProviderEntry(providerName: ProviderName): {
|
|
|
50293
50410
|
allowsUserConnections: true;
|
|
50294
50411
|
oAuthConfig: null;
|
|
50295
50412
|
connectionType: "api_key";
|
|
50296
|
-
logoUrl: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/
|
|
50413
|
+
logoUrl: "https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/a612ed1c-d5cf-421a-23c5-3cf74f506100/icon";
|
|
50297
50414
|
background: {
|
|
50298
50415
|
readonly light: "#FFE4D4";
|
|
50299
50416
|
readonly dark: "#3D1F0C";
|