@pipe0/client 0.0.19 → 0.0.20

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @pipe0/client
2
2
 
3
+ ## 0.0.20
4
+
5
+ ### Patch Changes
6
+
7
+ - 116762a: Change search pipes config
8
+
3
9
  ## 0.0.19
4
10
 
5
11
  ### Patch Changes
@@ -6947,14 +6947,66 @@ export interface components {
6947
6947
  };
6948
6948
  };
6949
6949
  filters: {
6950
- locations?: string[];
6951
- /** @default [] */
6952
- profile_headline_keywords?: string[];
6953
- /** @default [] */
6954
- profile_summary_keywords?: string[];
6955
- profile_languages?: ("Arabic" | "English" | "Spanish" | "Portuguese" | "Chinese" | "French" | "Italian" | "Russian" | "German" | "Dutch" | "Turkish" | "Tagalog" | "Polish" | "Korean" | "Japanese" | "Malay" | "Norwegian" | "Danish" | "Romanian" | "Swedish" | "Bahasa Indonesia" | "Czech")[];
6956
- languages?: string[];
6957
- skills?: string[];
6950
+ /**
6951
+ * @default {
6952
+ * "include": [],
6953
+ * "exclude": []
6954
+ * }
6955
+ */
6956
+ locations?: {
6957
+ /** @default [] */
6958
+ include?: string[];
6959
+ /** @default [] */
6960
+ exclude?: string[];
6961
+ };
6962
+ profile_headline_keywords: {
6963
+ /** @default [] */
6964
+ include?: string[];
6965
+ /** @default [] */
6966
+ exclude?: string[];
6967
+ };
6968
+ profile_summary_keywords: {
6969
+ /** @default [] */
6970
+ include?: string[];
6971
+ /** @default [] */
6972
+ exclude?: string[];
6973
+ };
6974
+ /**
6975
+ * @default {
6976
+ * "include": [],
6977
+ * "exclude": []
6978
+ * }
6979
+ */
6980
+ profile_languages?: {
6981
+ /** @default [] */
6982
+ include?: string[];
6983
+ /** @default [] */
6984
+ exclude?: string[];
6985
+ };
6986
+ /**
6987
+ * @default {
6988
+ * "include": [],
6989
+ * "exclude": []
6990
+ * }
6991
+ */
6992
+ languages?: {
6993
+ /** @default [] */
6994
+ include?: string[];
6995
+ /** @default [] */
6996
+ exclude?: string[];
6997
+ };
6998
+ /**
6999
+ * @default {
7000
+ * "include": [],
7001
+ * "exclude": []
7002
+ * }
7003
+ */
7004
+ skills?: {
7005
+ /** @default [] */
7006
+ include?: string[];
7007
+ /** @default [] */
7008
+ exclude?: string[];
7009
+ };
6958
7010
  years_of_experience?: ("Less than 1 year" | "1 to 2 years" | "3 to 5 years" | "6 to 10 years" | "More than 10 years")[];
6959
7011
  /**
6960
7012
  * @default {
@@ -6968,16 +7020,43 @@ export interface components {
6968
7020
  /** @default [] */
6969
7021
  exclude?: string[];
6970
7022
  };
6971
- /** @default [] */
6972
- current_employers?: string[];
6973
- /** @default [] */
6974
- current_employers_website_urls?: string[];
6975
- /** @default [] */
6976
- current_job_titles?: string[];
6977
- current_employers_linkedin_industries?: string[];
7023
+ current_employers: {
7024
+ /** @default [] */
7025
+ include?: string[];
7026
+ /** @default [] */
7027
+ exclude?: string[];
7028
+ };
7029
+ current_employers_website_urls: {
7030
+ /** @default [] */
7031
+ include?: string[];
7032
+ /** @default [] */
7033
+ exclude?: string[];
7034
+ };
7035
+ current_job_titles: {
7036
+ /** @default [] */
7037
+ include?: string[];
7038
+ /** @default [] */
7039
+ exclude?: string[];
7040
+ };
7041
+ /**
7042
+ * @default {
7043
+ * "include": [],
7044
+ * "exclude": []
7045
+ * }
7046
+ */
7047
+ current_employers_linkedin_industries?: {
7048
+ /** @default [] */
7049
+ include?: string[];
7050
+ /** @default [] */
7051
+ exclude?: string[];
7052
+ };
6978
7053
  years_at_current_company?: ("Less than 1 year" | "1 to 2 years" | "3 to 5 years" | "6 to 10 years" | "More than 10 years")[];
6979
- /** @default [] */
6980
- previous_employers_website_urls?: string[];
7054
+ previous_employers_website_urls: {
7055
+ /** @default [] */
7056
+ include?: string[];
7057
+ /** @default [] */
7058
+ exclude?: string[];
7059
+ };
6981
7060
  /**
6982
7061
  * @default {
6983
7062
  * "include": [],
@@ -6990,23 +7069,98 @@ export interface components {
6990
7069
  /** @default [] */
6991
7070
  exclude?: string[];
6992
7071
  };
6993
- /** @default [] */
6994
- previous_employers?: string[];
6995
- /** @default [] */
6996
- previous_job_titles?: string[];
6997
- previous_employers_linkedin_industries?: string[];
6998
- /** @default [] */
6999
- certifications?: string[];
7000
- /** @default [] */
7001
- honors?: string[];
7072
+ previous_employers: {
7073
+ /** @default [] */
7074
+ include?: string[];
7075
+ /** @default [] */
7076
+ exclude?: string[];
7077
+ };
7078
+ previous_job_titles: {
7079
+ /** @default [] */
7080
+ include?: string[];
7081
+ /** @default [] */
7082
+ exclude?: string[];
7083
+ };
7084
+ /**
7085
+ * @default {
7086
+ * "include": [],
7087
+ * "exclude": []
7088
+ * }
7089
+ */
7090
+ previous_employers_linkedin_industries?: {
7091
+ /** @default [] */
7092
+ include?: string[];
7093
+ /** @default [] */
7094
+ exclude?: string[];
7095
+ };
7096
+ certifications: {
7097
+ /** @default [] */
7098
+ include?: string[];
7099
+ /** @default [] */
7100
+ exclude?: string[];
7101
+ };
7102
+ honors: {
7103
+ /** @default [] */
7104
+ include?: string[];
7105
+ /** @default [] */
7106
+ exclude?: string[];
7107
+ };
7002
7108
  /** @default null */
7003
7109
  recently_changed_jobs?: boolean | null;
7004
- fields_of_study?: string[];
7005
- degree_names?: string[];
7006
- school_names?: string[];
7007
- current_school_names?: string[];
7008
- /** @default [] */
7009
- extracurricular_activities?: string[];
7110
+ /**
7111
+ * @default {
7112
+ * "include": [],
7113
+ * "exclude": []
7114
+ * }
7115
+ */
7116
+ fields_of_study?: {
7117
+ /** @default [] */
7118
+ include?: string[];
7119
+ /** @default [] */
7120
+ exclude?: string[];
7121
+ };
7122
+ /**
7123
+ * @default {
7124
+ * "include": [],
7125
+ * "exclude": []
7126
+ * }
7127
+ */
7128
+ degree_names?: {
7129
+ /** @default [] */
7130
+ include?: string[];
7131
+ /** @default [] */
7132
+ exclude?: string[];
7133
+ };
7134
+ /**
7135
+ * @default {
7136
+ * "include": [],
7137
+ * "exclude": []
7138
+ * }
7139
+ */
7140
+ school_names?: {
7141
+ /** @default [] */
7142
+ include?: string[];
7143
+ /** @default [] */
7144
+ exclude?: string[];
7145
+ };
7146
+ /**
7147
+ * @default {
7148
+ * "include": [],
7149
+ * "exclude": []
7150
+ * }
7151
+ */
7152
+ current_school_names?: {
7153
+ /** @default [] */
7154
+ include?: string[];
7155
+ /** @default [] */
7156
+ exclude?: string[];
7157
+ };
7158
+ extracurricular_activities: {
7159
+ /** @default [] */
7160
+ include?: string[];
7161
+ /** @default [] */
7162
+ exclude?: string[];
7163
+ };
7010
7164
  };
7011
7165
  };
7012
7166
  } | {
@@ -7100,96 +7254,221 @@ export interface components {
7100
7254
  };
7101
7255
  };
7102
7256
  filters: {
7103
- hq_locations?: string[];
7104
- crunchbase_categories?: string[];
7105
- crunchbase_investors?: string[];
7106
- tracxn_investors?: string[];
7107
- company_types?: ("Public Company" | "Privately Held" | "Non Profit" | "Educational Institution" | "Partnership" | "Self Employed" | "Self Owned" | "Government Agency")[];
7108
- linkedin_industries?: string[];
7109
- markets?: string[];
7110
- linkedin_categories?: string[];
7111
- headcount?: ("1-10" | "11-50" | "51-200" | "201-500" | "501-1,000" | "1,001-5,000" | "5,001-10,000" | "10,001+")[];
7112
- headcount_growth_last_6m_in_percent?: ("0-10%" | "10-20%" | "20-50%" | "50-70%" | "70%+")[];
7113
7257
  /**
7114
7258
  * @default {
7115
- * "from": null,
7116
- * "to": null
7259
+ * "include": [],
7260
+ * "exclude": []
7117
7261
  * }
7118
7262
  */
7119
- revenue_in_usd?: {
7120
- from?: number | null;
7121
- to?: number | null;
7263
+ hq_locations?: {
7264
+ /** @default [] */
7265
+ include?: string[];
7266
+ /** @default [] */
7267
+ exclude?: string[];
7122
7268
  };
7123
- last_funding_type?: ("Series A" | "Series B" | "Series C" | "Series D")[];
7124
7269
  /**
7125
7270
  * @default {
7126
- * "from": null,
7127
- * "to": null
7271
+ * "include": [],
7272
+ * "exclude": []
7128
7273
  * }
7129
7274
  */
7130
- last_funding_amount?: {
7131
- from?: number | null;
7132
- to?: number | null;
7275
+ crunchbase_categories?: {
7276
+ /** @default [] */
7277
+ include?: string[];
7278
+ /** @default [] */
7279
+ exclude?: string[];
7133
7280
  };
7134
- number_of_followers?: ("1-500" | "501-1000" | "1001-5000" | "5001-10000" | "10001-30000" | "30000+")[];
7135
- follower_growth_last_6m_in_percent?: ("0-10%" | "10-20%" | "20-50%" | "50-70%" | "70%+")[];
7136
- /** @default [] */
7137
- profile_summary_keywords?: string[];
7138
- /** @default [] */
7139
- competitor_websites?: string[];
7140
- };
7141
- };
7142
- } | null;
7143
- SearchResponseSchema: {
7144
- id: string;
7145
- /** @enum {string} */
7146
- status: "completed" | "failed" | "pending" | "processing";
7147
- /** @enum {string} */
7148
- search_id: "companies:profiles:crustdata@1" | "people:profiles:crustdata@1";
7149
- errors: {
7150
- code: string;
7151
- message: string;
7152
- path?: string;
7153
- }[];
7154
- results: {
7155
- [key: string]: {
7156
- value: string | number | boolean | null | {
7157
- [key: string]: unknown;
7158
- } | unknown[];
7159
- status: "completed" | "failed" | "pending" | "queued" | "processing" | "no_result" | "skipped";
7160
- /** @enum {string} */
7161
- type?: "string" | "number" | "boolean" | "json" | "unknown";
7162
- /** @enum {string|null} */
7163
- format?: "json_object" | "json_list" | "json_list_string" | "url" | "website_url" | "profile_url" | "email" | "datetime" | "currency" | "date" | "phone" | "markdown" | "text" | "int" | "decimal" | "address_line_1" | "zip_code" | "percent" | null;
7164
- resolved_by?: {
7165
- /** @enum {string|null} */
7166
- ref: "prompt:run@1" | "company:newssummary:website@1" | "company:techstack:builtwith@1" | "company:websiteurl:email@1" | "company:funding:leadmagic@1" | "people:workemail:waterfall@1" | "people:email:iswork@1" | "people:name:split@1" | "people:name:join@1" | "people:validate:email:zerobounce@1" | "people:email:validate:zerobounce@2" | "people:mobilenumber:workemail:waterfall@1" | "company:overview@1" | "company:overview@2" | "json:extract@1" | "email:write@1" | "message:write@1" | "email:send:resend@1" | "email:send:gmail@1" | "message:send:slack@1" | "template:fill@1" | "contact:create:resend@1" | "people:match:role:waterfall@1" | "people:identity:amplemarket@1" | "company:identity@2" | "people:match:amplemarket@1" | "people:phone:profile:waterfall@1" | "people:personalemail:profile:waterfall@1" | "people:profile:waterfall@1" | "people:profileurl:email:waterfall@1" | "people:profileurl:name@1" | "people:email:validate:zerobounce@1" | "people:email:validate:millionverifier@1" | "people:phone:workemail:waterfall@1" | "fields:merge@1" | "field:slugify@1" | "field:domainify@1" | "website:scrape:firecrawl@1" | "website:scrapelist:firecrawl@1" | "website:extract:firecrawl@1" | "website:maplinks:firecrawl@1" | "sheet:row:append@1" | "sheet:row:expandappend@1" | "company:lookalikes:companyenrich@1" | "company:match:logodev@1" | "people:posts:crustdata@1" | "company:match:crustdata@1" | "people:profile:workemail:crustdata@1" | "people:workemail:profileurl:waterfall@1" | "people:identity:email:waterfall@1" | "sheet:row:append:sheet@1" | "company:identity@1" | "people:professionalprofile:waterfall@1" | "people:professionalprofileurl:name@1" | "people:professionalprofileurl:email:waterfall@1" | "people:mobilenumber:professionalprofile:waterfall@1" | "input" | "system" | null;
7167
- /** @enum {string|null} */
7168
- environment: "production" | "sandbox" | null;
7169
- config_hash: string | null;
7170
- input_hash: string | null;
7171
- } | null;
7172
- /** @description A map of widgets associated with this field for UI display, keyed by widget type. */
7173
- widgets?: {
7174
- display_value?: {
7175
- label?: string;
7176
- };
7177
- entity_logo?: {
7178
- /**
7179
- * Format: uri
7180
- * @description URL to the provider's logo image.
7181
- */
7182
- image_url: string;
7183
- /** @description The name of the entity. */
7184
- entity: string;
7185
- };
7186
- location_indicator?: {
7187
- /** @description Country flag emoji. */
7188
- emoji: string;
7189
- };
7190
- avatar?: {
7191
- /**
7192
- * Format: uri
7281
+ /**
7282
+ * @default {
7283
+ * "include": [],
7284
+ * "exclude": []
7285
+ * }
7286
+ */
7287
+ crunchbase_investors?: {
7288
+ /** @default [] */
7289
+ include?: string[];
7290
+ /** @default [] */
7291
+ exclude?: string[];
7292
+ };
7293
+ /**
7294
+ * @default {
7295
+ * "include": [],
7296
+ * "exclude": []
7297
+ * }
7298
+ */
7299
+ tracxn_investors?: {
7300
+ /** @default [] */
7301
+ include?: string[];
7302
+ /** @default [] */
7303
+ exclude?: string[];
7304
+ };
7305
+ /**
7306
+ * @default {
7307
+ * "include": [],
7308
+ * "exclude": []
7309
+ * }
7310
+ */
7311
+ company_types?: {
7312
+ /** @default [] */
7313
+ include?: string[];
7314
+ /** @default [] */
7315
+ exclude?: string[];
7316
+ };
7317
+ /**
7318
+ * @default {
7319
+ * "include": [],
7320
+ * "exclude": []
7321
+ * }
7322
+ */
7323
+ linkedin_industries?: {
7324
+ /** @default [] */
7325
+ include?: string[];
7326
+ /** @default [] */
7327
+ exclude?: string[];
7328
+ };
7329
+ /**
7330
+ * @default {
7331
+ * "include": [],
7332
+ * "exclude": []
7333
+ * }
7334
+ */
7335
+ markets?: {
7336
+ /** @default [] */
7337
+ include?: string[];
7338
+ /** @default [] */
7339
+ exclude?: string[];
7340
+ };
7341
+ /**
7342
+ * @default {
7343
+ * "include": [],
7344
+ * "exclude": []
7345
+ * }
7346
+ */
7347
+ linkedin_categories?: {
7348
+ /** @default [] */
7349
+ include?: string[];
7350
+ /** @default [] */
7351
+ exclude?: string[];
7352
+ };
7353
+ /**
7354
+ * @default {
7355
+ * "include": [],
7356
+ * "exclude": []
7357
+ * }
7358
+ */
7359
+ headcount?: {
7360
+ /** @default [] */
7361
+ include?: string[];
7362
+ /** @default [] */
7363
+ exclude?: string[];
7364
+ };
7365
+ headcount_growth_last_6m_in_percent?: ("0-10%" | "10-20%" | "20-50%" | "50-70%" | "70%+")[];
7366
+ /**
7367
+ * @default {
7368
+ * "from": null,
7369
+ * "to": null
7370
+ * }
7371
+ */
7372
+ revenue_in_usd?: {
7373
+ from?: number | null;
7374
+ to?: number | null;
7375
+ };
7376
+ /**
7377
+ * @default {
7378
+ * "include": [],
7379
+ * "exclude": []
7380
+ * }
7381
+ */
7382
+ last_funding_type?: {
7383
+ /** @default [] */
7384
+ include?: string[];
7385
+ /** @default [] */
7386
+ exclude?: string[];
7387
+ };
7388
+ /**
7389
+ * @default {
7390
+ * "from": null,
7391
+ * "to": null
7392
+ * }
7393
+ */
7394
+ last_funding_amount?: {
7395
+ from?: number | null;
7396
+ to?: number | null;
7397
+ };
7398
+ number_of_followers?: ("1-500" | "501-1000" | "1001-5000" | "5001-10000" | "10001-30000" | "30000+")[];
7399
+ /**
7400
+ * @default {
7401
+ * "include": [],
7402
+ * "exclude": []
7403
+ * }
7404
+ */
7405
+ follower_growth_last_6m_in_percent?: {
7406
+ /** @default [] */
7407
+ include?: string[];
7408
+ /** @default [] */
7409
+ exclude?: string[];
7410
+ };
7411
+ profile_summary_keywords: {
7412
+ /** @default [] */
7413
+ include?: string[];
7414
+ /** @default [] */
7415
+ exclude?: string[];
7416
+ };
7417
+ /** @default [] */
7418
+ competitor_websites?: string[];
7419
+ };
7420
+ };
7421
+ } | null;
7422
+ SearchResponseSchema: {
7423
+ id: string;
7424
+ /** @enum {string} */
7425
+ status: "completed" | "failed" | "pending" | "processing";
7426
+ /** @enum {string} */
7427
+ search_id: "companies:profiles:crustdata@1" | "people:profiles:crustdata@1";
7428
+ errors: {
7429
+ code: string;
7430
+ message: string;
7431
+ path?: string;
7432
+ }[];
7433
+ results: {
7434
+ [key: string]: {
7435
+ value: string | number | boolean | null | {
7436
+ [key: string]: unknown;
7437
+ } | unknown[];
7438
+ status: "completed" | "failed" | "pending" | "queued" | "processing" | "no_result" | "skipped";
7439
+ /** @enum {string} */
7440
+ type?: "string" | "number" | "boolean" | "json" | "unknown";
7441
+ /** @enum {string|null} */
7442
+ format?: "json_object" | "json_list" | "json_list_string" | "url" | "website_url" | "profile_url" | "email" | "datetime" | "currency" | "date" | "phone" | "markdown" | "text" | "int" | "decimal" | "address_line_1" | "zip_code" | "percent" | null;
7443
+ resolved_by?: {
7444
+ /** @enum {string|null} */
7445
+ ref: "prompt:run@1" | "company:newssummary:website@1" | "company:techstack:builtwith@1" | "company:websiteurl:email@1" | "company:funding:leadmagic@1" | "people:workemail:waterfall@1" | "people:email:iswork@1" | "people:name:split@1" | "people:name:join@1" | "people:validate:email:zerobounce@1" | "people:email:validate:zerobounce@2" | "people:mobilenumber:workemail:waterfall@1" | "company:overview@1" | "company:overview@2" | "json:extract@1" | "email:write@1" | "message:write@1" | "email:send:resend@1" | "email:send:gmail@1" | "message:send:slack@1" | "template:fill@1" | "contact:create:resend@1" | "people:match:role:waterfall@1" | "people:identity:amplemarket@1" | "company:identity@2" | "people:match:amplemarket@1" | "people:phone:profile:waterfall@1" | "people:personalemail:profile:waterfall@1" | "people:profile:waterfall@1" | "people:profileurl:email:waterfall@1" | "people:profileurl:name@1" | "people:email:validate:zerobounce@1" | "people:email:validate:millionverifier@1" | "people:phone:workemail:waterfall@1" | "fields:merge@1" | "field:slugify@1" | "field:domainify@1" | "website:scrape:firecrawl@1" | "website:scrapelist:firecrawl@1" | "website:extract:firecrawl@1" | "website:maplinks:firecrawl@1" | "sheet:row:append@1" | "sheet:row:expandappend@1" | "company:lookalikes:companyenrich@1" | "company:match:logodev@1" | "people:posts:crustdata@1" | "company:match:crustdata@1" | "people:profile:workemail:crustdata@1" | "people:workemail:profileurl:waterfall@1" | "people:identity:email:waterfall@1" | "sheet:row:append:sheet@1" | "company:identity@1" | "people:professionalprofile:waterfall@1" | "people:professionalprofileurl:name@1" | "people:professionalprofileurl:email:waterfall@1" | "people:mobilenumber:professionalprofile:waterfall@1" | "input" | "system" | null;
7446
+ /** @enum {string|null} */
7447
+ environment: "production" | "sandbox" | null;
7448
+ config_hash: string | null;
7449
+ input_hash: string | null;
7450
+ } | null;
7451
+ /** @description A map of widgets associated with this field for UI display, keyed by widget type. */
7452
+ widgets?: {
7453
+ display_value?: {
7454
+ label?: string;
7455
+ };
7456
+ entity_logo?: {
7457
+ /**
7458
+ * Format: uri
7459
+ * @description URL to the provider's logo image.
7460
+ */
7461
+ image_url: string;
7462
+ /** @description The name of the entity. */
7463
+ entity: string;
7464
+ };
7465
+ location_indicator?: {
7466
+ /** @description Country flag emoji. */
7467
+ emoji: string;
7468
+ };
7469
+ avatar?: {
7470
+ /**
7471
+ * Format: uri
7193
7472
  * @description URL to the provider's logo image.
7194
7473
  */
7195
7474
  image_url: string;
@@ -7220,46 +7499,353 @@ export interface components {
7220
7499
  url: string;
7221
7500
  }[];
7222
7501
  };
7223
- confidence?: {
7224
- numeric: number;
7502
+ confidence?: {
7503
+ numeric: number;
7504
+ };
7505
+ };
7506
+ } | null;
7507
+ }[];
7508
+ organization_id: string;
7509
+ next_page: components["schemas"]["SearchPayloadSchema"];
7510
+ /** @enum {string|null} */
7511
+ pagination_type: "cursor" | null;
7512
+ total_pages: number | null;
7513
+ };
7514
+ SearchRequestSchema: {
7515
+ /**
7516
+ * @default {
7517
+ * "environment": "production",
7518
+ * "widgets": {
7519
+ * "enabled": false
7520
+ * }
7521
+ * }
7522
+ */
7523
+ config?: {
7524
+ /**
7525
+ * @default production
7526
+ * @enum {string}
7527
+ */
7528
+ environment?: "production" | "sandbox";
7529
+ /**
7530
+ * @default {
7531
+ * "enabled": false
7532
+ * }
7533
+ */
7534
+ widgets?: {
7535
+ /** @default false */
7536
+ enabled?: boolean;
7537
+ };
7538
+ };
7539
+ search: components["schemas"]["SearchPayloadSchema"] & ({
7540
+ /** @enum {string} */
7541
+ search_id: "people:profiles:crustdata@1";
7542
+ connector?: {
7543
+ /**
7544
+ * @default first
7545
+ * @enum {string}
7546
+ */
7547
+ strategy?: "first";
7548
+ connections: {
7549
+ /** @enum {string} */
7550
+ type: "vault";
7551
+ connection: string;
7552
+ }[];
7553
+ } | null;
7554
+ config: {
7555
+ /**
7556
+ * @default {
7557
+ * "limit": 100,
7558
+ * "cursor": null
7559
+ * }
7560
+ */
7561
+ pagination?: {
7562
+ /** @default 100 */
7563
+ limit?: number | null;
7564
+ /** @default null */
7565
+ cursor?: string | null;
7566
+ };
7567
+ output_fields?: {
7568
+ /**
7569
+ * @default {
7570
+ * "alias": "",
7571
+ * "enabled": true
7572
+ * }
7573
+ */
7574
+ name?: {
7575
+ /** @default */
7576
+ alias?: string;
7577
+ /** @default true */
7578
+ enabled?: boolean;
7579
+ };
7580
+ /**
7581
+ * @default {
7582
+ * "alias": "",
7583
+ * "enabled": true
7584
+ * }
7585
+ */
7586
+ company_website_url?: {
7587
+ /** @default */
7588
+ alias?: string;
7589
+ /** @default true */
7590
+ enabled?: boolean;
7591
+ };
7592
+ /**
7593
+ * @default {
7594
+ * "alias": "",
7595
+ * "enabled": true
7596
+ * }
7597
+ */
7598
+ profile_url?: {
7599
+ /** @default */
7600
+ alias?: string;
7601
+ /** @default true */
7602
+ enabled?: boolean;
7603
+ };
7604
+ /**
7605
+ * @default {
7606
+ * "alias": "",
7607
+ * "enabled": true
7608
+ * }
7609
+ */
7610
+ job_title?: {
7611
+ /** @default */
7612
+ alias?: string;
7613
+ /** @default true */
7614
+ enabled?: boolean;
7615
+ };
7616
+ /**
7617
+ * @default {
7618
+ * "alias": "",
7619
+ * "enabled": true
7620
+ * }
7621
+ */
7622
+ crustdata_person_match?: {
7623
+ /** @default */
7624
+ alias?: string;
7625
+ /** @default true */
7626
+ enabled?: boolean;
7627
+ };
7628
+ };
7629
+ filters: {
7630
+ /**
7631
+ * @default {
7632
+ * "include": [],
7633
+ * "exclude": []
7634
+ * }
7635
+ */
7636
+ locations?: {
7637
+ /** @default [] */
7638
+ include?: string[];
7639
+ /** @default [] */
7640
+ exclude?: string[];
7641
+ };
7642
+ profile_headline_keywords: {
7643
+ /** @default [] */
7644
+ include?: string[];
7645
+ /** @default [] */
7646
+ exclude?: string[];
7647
+ };
7648
+ profile_summary_keywords: {
7649
+ /** @default [] */
7650
+ include?: string[];
7651
+ /** @default [] */
7652
+ exclude?: string[];
7653
+ };
7654
+ /**
7655
+ * @default {
7656
+ * "include": [],
7657
+ * "exclude": []
7658
+ * }
7659
+ */
7660
+ profile_languages?: {
7661
+ /** @default [] */
7662
+ include?: string[];
7663
+ /** @default [] */
7664
+ exclude?: string[];
7665
+ };
7666
+ /**
7667
+ * @default {
7668
+ * "include": [],
7669
+ * "exclude": []
7670
+ * }
7671
+ */
7672
+ languages?: {
7673
+ /** @default [] */
7674
+ include?: string[];
7675
+ /** @default [] */
7676
+ exclude?: string[];
7677
+ };
7678
+ /**
7679
+ * @default {
7680
+ * "include": [],
7681
+ * "exclude": []
7682
+ * }
7683
+ */
7684
+ skills?: {
7685
+ /** @default [] */
7686
+ include?: string[];
7687
+ /** @default [] */
7688
+ exclude?: string[];
7689
+ };
7690
+ years_of_experience?: ("Less than 1 year" | "1 to 2 years" | "3 to 5 years" | "6 to 10 years" | "More than 10 years")[];
7691
+ /**
7692
+ * @default {
7693
+ * "include": [],
7694
+ * "exclude": []
7695
+ * }
7696
+ */
7697
+ current_seniority_levels?: {
7698
+ /** @default [] */
7699
+ include?: string[];
7700
+ /** @default [] */
7701
+ exclude?: string[];
7702
+ };
7703
+ current_employers: {
7704
+ /** @default [] */
7705
+ include?: string[];
7706
+ /** @default [] */
7707
+ exclude?: string[];
7708
+ };
7709
+ current_employers_website_urls: {
7710
+ /** @default [] */
7711
+ include?: string[];
7712
+ /** @default [] */
7713
+ exclude?: string[];
7714
+ };
7715
+ current_job_titles: {
7716
+ /** @default [] */
7717
+ include?: string[];
7718
+ /** @default [] */
7719
+ exclude?: string[];
7720
+ };
7721
+ /**
7722
+ * @default {
7723
+ * "include": [],
7724
+ * "exclude": []
7725
+ * }
7726
+ */
7727
+ current_employers_linkedin_industries?: {
7728
+ /** @default [] */
7729
+ include?: string[];
7730
+ /** @default [] */
7731
+ exclude?: string[];
7732
+ };
7733
+ years_at_current_company?: ("Less than 1 year" | "1 to 2 years" | "3 to 5 years" | "6 to 10 years" | "More than 10 years")[];
7734
+ previous_employers_website_urls: {
7735
+ /** @default [] */
7736
+ include?: string[];
7737
+ /** @default [] */
7738
+ exclude?: string[];
7739
+ };
7740
+ /**
7741
+ * @default {
7742
+ * "include": [],
7743
+ * "exclude": []
7744
+ * }
7745
+ */
7746
+ previous_seniority_levels?: {
7747
+ /** @default [] */
7748
+ include?: string[];
7749
+ /** @default [] */
7750
+ exclude?: string[];
7751
+ };
7752
+ previous_employers: {
7753
+ /** @default [] */
7754
+ include?: string[];
7755
+ /** @default [] */
7756
+ exclude?: string[];
7757
+ };
7758
+ previous_job_titles: {
7759
+ /** @default [] */
7760
+ include?: string[];
7761
+ /** @default [] */
7762
+ exclude?: string[];
7763
+ };
7764
+ /**
7765
+ * @default {
7766
+ * "include": [],
7767
+ * "exclude": []
7768
+ * }
7769
+ */
7770
+ previous_employers_linkedin_industries?: {
7771
+ /** @default [] */
7772
+ include?: string[];
7773
+ /** @default [] */
7774
+ exclude?: string[];
7775
+ };
7776
+ certifications: {
7777
+ /** @default [] */
7778
+ include?: string[];
7779
+ /** @default [] */
7780
+ exclude?: string[];
7781
+ };
7782
+ honors: {
7783
+ /** @default [] */
7784
+ include?: string[];
7785
+ /** @default [] */
7786
+ exclude?: string[];
7787
+ };
7788
+ /** @default null */
7789
+ recently_changed_jobs?: boolean | null;
7790
+ /**
7791
+ * @default {
7792
+ * "include": [],
7793
+ * "exclude": []
7794
+ * }
7795
+ */
7796
+ fields_of_study?: {
7797
+ /** @default [] */
7798
+ include?: string[];
7799
+ /** @default [] */
7800
+ exclude?: string[];
7801
+ };
7802
+ /**
7803
+ * @default {
7804
+ * "include": [],
7805
+ * "exclude": []
7806
+ * }
7807
+ */
7808
+ degree_names?: {
7809
+ /** @default [] */
7810
+ include?: string[];
7811
+ /** @default [] */
7812
+ exclude?: string[];
7813
+ };
7814
+ /**
7815
+ * @default {
7816
+ * "include": [],
7817
+ * "exclude": []
7818
+ * }
7819
+ */
7820
+ school_names?: {
7821
+ /** @default [] */
7822
+ include?: string[];
7823
+ /** @default [] */
7824
+ exclude?: string[];
7825
+ };
7826
+ /**
7827
+ * @default {
7828
+ * "include": [],
7829
+ * "exclude": []
7830
+ * }
7831
+ */
7832
+ current_school_names?: {
7833
+ /** @default [] */
7834
+ include?: string[];
7835
+ /** @default [] */
7836
+ exclude?: string[];
7837
+ };
7838
+ extracurricular_activities: {
7839
+ /** @default [] */
7840
+ include?: string[];
7841
+ /** @default [] */
7842
+ exclude?: string[];
7225
7843
  };
7226
7844
  };
7227
- } | null;
7228
- }[];
7229
- organization_id: string;
7230
- next_page: components["schemas"]["SearchPayloadSchema"];
7231
- /** @enum {string|null} */
7232
- pagination_type: "cursor" | null;
7233
- total_pages: number | null;
7234
- };
7235
- SearchRequestSchema: {
7236
- /**
7237
- * @default {
7238
- * "environment": "production",
7239
- * "widgets": {
7240
- * "enabled": false
7241
- * }
7242
- * }
7243
- */
7244
- config?: {
7245
- /**
7246
- * @default production
7247
- * @enum {string}
7248
- */
7249
- environment?: "production" | "sandbox";
7250
- /**
7251
- * @default {
7252
- * "enabled": false
7253
- * }
7254
- */
7255
- widgets?: {
7256
- /** @default false */
7257
- enabled?: boolean;
7258
7845
  };
7259
- };
7260
- search: components["schemas"]["SearchPayloadSchema"] & ({
7846
+ } | {
7261
7847
  /** @enum {string} */
7262
- search_id: "people:profiles:crustdata@1";
7848
+ search_id: "companies:profiles:crustdata@1";
7263
7849
  connector?: {
7264
7850
  /**
7265
7851
  * @default first
@@ -7292,7 +7878,7 @@ export interface components {
7292
7878
  * "enabled": true
7293
7879
  * }
7294
7880
  */
7295
- name?: {
7881
+ company_name?: {
7296
7882
  /** @default */
7297
7883
  alias?: string;
7298
7884
  /** @default true */
@@ -7316,7 +7902,7 @@ export interface components {
7316
7902
  * "enabled": true
7317
7903
  * }
7318
7904
  */
7319
- profile_url?: {
7905
+ company_description?: {
7320
7906
  /** @default */
7321
7907
  alias?: string;
7322
7908
  /** @default true */
@@ -7328,7 +7914,7 @@ export interface components {
7328
7914
  * "enabled": true
7329
7915
  * }
7330
7916
  */
7331
- job_title?: {
7917
+ company_profile_url?: {
7332
7918
  /** @default */
7333
7919
  alias?: string;
7334
7920
  /** @default true */
@@ -7340,7 +7926,7 @@ export interface components {
7340
7926
  * "enabled": true
7341
7927
  * }
7342
7928
  */
7343
- crustdata_person_match?: {
7929
+ crustdata_company_match?: {
7344
7930
  /** @default */
7345
7931
  alias?: string;
7346
7932
  /** @default true */
@@ -7348,168 +7934,114 @@ export interface components {
7348
7934
  };
7349
7935
  };
7350
7936
  filters: {
7351
- locations?: string[];
7352
- /** @default [] */
7353
- profile_headline_keywords?: string[];
7354
- /** @default [] */
7355
- profile_summary_keywords?: string[];
7356
- profile_languages?: ("Arabic" | "English" | "Spanish" | "Portuguese" | "Chinese" | "French" | "Italian" | "Russian" | "German" | "Dutch" | "Turkish" | "Tagalog" | "Polish" | "Korean" | "Japanese" | "Malay" | "Norwegian" | "Danish" | "Romanian" | "Swedish" | "Bahasa Indonesia" | "Czech")[];
7357
- languages?: string[];
7358
- skills?: string[];
7359
- years_of_experience?: ("Less than 1 year" | "1 to 2 years" | "3 to 5 years" | "6 to 10 years" | "More than 10 years")[];
7360
7937
  /**
7361
7938
  * @default {
7362
7939
  * "include": [],
7363
7940
  * "exclude": []
7364
7941
  * }
7365
7942
  */
7366
- current_seniority_levels?: {
7943
+ hq_locations?: {
7367
7944
  /** @default [] */
7368
7945
  include?: string[];
7369
7946
  /** @default [] */
7370
7947
  exclude?: string[];
7371
7948
  };
7372
- /** @default [] */
7373
- current_employers?: string[];
7374
- /** @default [] */
7375
- current_employers_website_urls?: string[];
7376
- /** @default [] */
7377
- current_job_titles?: string[];
7378
- current_employers_linkedin_industries?: string[];
7379
- years_at_current_company?: ("Less than 1 year" | "1 to 2 years" | "3 to 5 years" | "6 to 10 years" | "More than 10 years")[];
7380
- /** @default [] */
7381
- previous_employers_website_urls?: string[];
7382
7949
  /**
7383
7950
  * @default {
7384
7951
  * "include": [],
7385
7952
  * "exclude": []
7386
7953
  * }
7387
7954
  */
7388
- previous_seniority_levels?: {
7955
+ crunchbase_categories?: {
7389
7956
  /** @default [] */
7390
7957
  include?: string[];
7391
7958
  /** @default [] */
7392
7959
  exclude?: string[];
7393
7960
  };
7394
- /** @default [] */
7395
- previous_employers?: string[];
7396
- /** @default [] */
7397
- previous_job_titles?: string[];
7398
- previous_employers_linkedin_industries?: string[];
7399
- /** @default [] */
7400
- certifications?: string[];
7401
- /** @default [] */
7402
- honors?: string[];
7403
- /** @default null */
7404
- recently_changed_jobs?: boolean | null;
7405
- fields_of_study?: string[];
7406
- degree_names?: string[];
7407
- school_names?: string[];
7408
- current_school_names?: string[];
7409
- /** @default [] */
7410
- extracurricular_activities?: string[];
7411
- };
7412
- };
7413
- } | {
7414
- /** @enum {string} */
7415
- search_id: "companies:profiles:crustdata@1";
7416
- connector?: {
7417
- /**
7418
- * @default first
7419
- * @enum {string}
7420
- */
7421
- strategy?: "first";
7422
- connections: {
7423
- /** @enum {string} */
7424
- type: "vault";
7425
- connection: string;
7426
- }[];
7427
- } | null;
7428
- config: {
7429
- /**
7430
- * @default {
7431
- * "limit": 100,
7432
- * "cursor": null
7433
- * }
7434
- */
7435
- pagination?: {
7436
- /** @default 100 */
7437
- limit?: number | null;
7438
- /** @default null */
7439
- cursor?: string | null;
7440
- };
7441
- output_fields?: {
7442
7961
  /**
7443
7962
  * @default {
7444
- * "alias": "",
7445
- * "enabled": true
7963
+ * "include": [],
7964
+ * "exclude": []
7446
7965
  * }
7447
7966
  */
7448
- company_name?: {
7449
- /** @default */
7450
- alias?: string;
7451
- /** @default true */
7452
- enabled?: boolean;
7967
+ crunchbase_investors?: {
7968
+ /** @default [] */
7969
+ include?: string[];
7970
+ /** @default [] */
7971
+ exclude?: string[];
7453
7972
  };
7454
7973
  /**
7455
7974
  * @default {
7456
- * "alias": "",
7457
- * "enabled": true
7975
+ * "include": [],
7976
+ * "exclude": []
7458
7977
  * }
7459
7978
  */
7460
- company_website_url?: {
7461
- /** @default */
7462
- alias?: string;
7463
- /** @default true */
7464
- enabled?: boolean;
7979
+ tracxn_investors?: {
7980
+ /** @default [] */
7981
+ include?: string[];
7982
+ /** @default [] */
7983
+ exclude?: string[];
7465
7984
  };
7466
7985
  /**
7467
7986
  * @default {
7468
- * "alias": "",
7469
- * "enabled": true
7987
+ * "include": [],
7988
+ * "exclude": []
7470
7989
  * }
7471
7990
  */
7472
- company_description?: {
7473
- /** @default */
7474
- alias?: string;
7475
- /** @default true */
7476
- enabled?: boolean;
7991
+ company_types?: {
7992
+ /** @default [] */
7993
+ include?: string[];
7994
+ /** @default [] */
7995
+ exclude?: string[];
7477
7996
  };
7478
7997
  /**
7479
7998
  * @default {
7480
- * "alias": "",
7481
- * "enabled": true
7999
+ * "include": [],
8000
+ * "exclude": []
7482
8001
  * }
7483
8002
  */
7484
- company_profile_url?: {
7485
- /** @default */
7486
- alias?: string;
7487
- /** @default true */
7488
- enabled?: boolean;
8003
+ linkedin_industries?: {
8004
+ /** @default [] */
8005
+ include?: string[];
8006
+ /** @default [] */
8007
+ exclude?: string[];
7489
8008
  };
7490
8009
  /**
7491
8010
  * @default {
7492
- * "alias": "",
7493
- * "enabled": true
8011
+ * "include": [],
8012
+ * "exclude": []
7494
8013
  * }
7495
8014
  */
7496
- crustdata_company_match?: {
7497
- /** @default */
7498
- alias?: string;
7499
- /** @default true */
7500
- enabled?: boolean;
8015
+ markets?: {
8016
+ /** @default [] */
8017
+ include?: string[];
8018
+ /** @default [] */
8019
+ exclude?: string[];
8020
+ };
8021
+ /**
8022
+ * @default {
8023
+ * "include": [],
8024
+ * "exclude": []
8025
+ * }
8026
+ */
8027
+ linkedin_categories?: {
8028
+ /** @default [] */
8029
+ include?: string[];
8030
+ /** @default [] */
8031
+ exclude?: string[];
8032
+ };
8033
+ /**
8034
+ * @default {
8035
+ * "include": [],
8036
+ * "exclude": []
8037
+ * }
8038
+ */
8039
+ headcount?: {
8040
+ /** @default [] */
8041
+ include?: string[];
8042
+ /** @default [] */
8043
+ exclude?: string[];
7501
8044
  };
7502
- };
7503
- filters: {
7504
- hq_locations?: string[];
7505
- crunchbase_categories?: string[];
7506
- crunchbase_investors?: string[];
7507
- tracxn_investors?: string[];
7508
- company_types?: ("Public Company" | "Privately Held" | "Non Profit" | "Educational Institution" | "Partnership" | "Self Employed" | "Self Owned" | "Government Agency")[];
7509
- linkedin_industries?: string[];
7510
- markets?: string[];
7511
- linkedin_categories?: string[];
7512
- headcount?: ("1-10" | "11-50" | "51-200" | "201-500" | "501-1,000" | "1,001-5,000" | "5,001-10,000" | "10,001+")[];
7513
8045
  headcount_growth_last_6m_in_percent?: ("0-10%" | "10-20%" | "20-50%" | "50-70%" | "70%+")[];
7514
8046
  /**
7515
8047
  * @default {
@@ -7521,7 +8053,18 @@ export interface components {
7521
8053
  from?: number | null;
7522
8054
  to?: number | null;
7523
8055
  };
7524
- last_funding_type?: ("Series A" | "Series B" | "Series C" | "Series D")[];
8056
+ /**
8057
+ * @default {
8058
+ * "include": [],
8059
+ * "exclude": []
8060
+ * }
8061
+ */
8062
+ last_funding_type?: {
8063
+ /** @default [] */
8064
+ include?: string[];
8065
+ /** @default [] */
8066
+ exclude?: string[];
8067
+ };
7525
8068
  /**
7526
8069
  * @default {
7527
8070
  * "from": null,
@@ -7533,9 +8076,24 @@ export interface components {
7533
8076
  to?: number | null;
7534
8077
  };
7535
8078
  number_of_followers?: ("1-500" | "501-1000" | "1001-5000" | "5001-10000" | "10001-30000" | "30000+")[];
7536
- follower_growth_last_6m_in_percent?: ("0-10%" | "10-20%" | "20-50%" | "50-70%" | "70%+")[];
7537
- /** @default [] */
7538
- profile_summary_keywords?: string[];
8079
+ /**
8080
+ * @default {
8081
+ * "include": [],
8082
+ * "exclude": []
8083
+ * }
8084
+ */
8085
+ follower_growth_last_6m_in_percent?: {
8086
+ /** @default [] */
8087
+ include?: string[];
8088
+ /** @default [] */
8089
+ exclude?: string[];
8090
+ };
8091
+ profile_summary_keywords: {
8092
+ /** @default [] */
8093
+ include?: string[];
8094
+ /** @default [] */
8095
+ exclude?: string[];
8096
+ };
7539
8097
  /** @default [] */
7540
8098
  competitor_websites?: string[];
7541
8099
  };
package/dist/pipe0.d.ts CHANGED
@@ -4,6 +4,8 @@ export type PipesRequest = paths["/v1/pipes/run"]["post"]["requestBody"]["conten
4
4
  export type PipesResponse = paths["/v1/pipes/check/{run_id}"]["get"]["responses"]["200"]["content"]["application/json"];
5
5
  export type SearchesRequest = paths["/v1/searches/run"]["post"]["requestBody"]["content"]["application/json"];
6
6
  export type SearchesResponse = paths["/v1/searches/check/{run_id}"]["get"]["responses"]["200"]["content"]["application/json"];
7
+ export type SearchRequest = paths["/v1/search/run"]["post"]["requestBody"]["content"]["application/json"];
8
+ export type SearchResponse = paths["/v1/search/check/{run_id}"]["get"]["responses"]["200"]["content"]["application/json"];
7
9
  export declare class Pipe0TimeoutError extends Error {
8
10
  readonly runId?: string | undefined;
9
11
  constructor(message: string, runId?: string | undefined);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipe0/client",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "type": "module",