@pipe0/ops 0.0.4 → 0.0.6

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.
Files changed (79) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +47 -34
  3. package/dist/fields/field-catalog.d.ts +949 -0
  4. package/dist/fields/json-meta/fields/crustdata-company-match.d.ts +79 -0
  5. package/dist/fields/json-meta/fields/crustdata-person-match.d.ts +115 -0
  6. package/dist/fields/json-meta/fields/crustdata-post-list.d.ts +29 -0
  7. package/dist/fields/json-meta/fields/person-reverse-match.d.ts +1 -0
  8. package/dist/fields/types.d.ts +1 -0
  9. package/dist/form-generation/fields.d.ts +92 -40
  10. package/dist/index.d.ts +2 -0
  11. package/dist/index.js +4295 -1524
  12. package/dist/payload-config/country-codes.d.ts +7 -0
  13. package/dist/payload-config/linkedin-standard-industries.d.ts +1 -0
  14. package/dist/pipes/catalog/entries/company-identity-2.d.ts +4 -4
  15. package/dist/pipes/catalog/entries/company-lookalikes-companyenrich-1.d.ts +6 -6
  16. package/dist/pipes/catalog/entries/company-match-logodev-1.d.ts +5 -5
  17. package/dist/pipes/catalog/entries/company-newssummary-website-1.d.ts +4 -4
  18. package/dist/pipes/catalog/entries/company-overview-2.d.ts +8 -8
  19. package/dist/pipes/catalog/entries/company-techstack-builtwith-1.d.ts +8 -8
  20. package/dist/pipes/catalog/entries/company-websiteurl-email-1.d.ts +4 -4
  21. package/dist/pipes/catalog/entries/contact-create-resent-1.d.ts +2 -2
  22. package/dist/pipes/catalog/entries/deprecated/company-identity-1.d.ts +4 -4
  23. package/dist/pipes/catalog/entries/deprecated/company-overview-1.d.ts +8 -8
  24. package/dist/pipes/catalog/entries/deprecated/people-mobile-number-professional-profile-waterfall-1.d.ts +8 -8
  25. package/dist/pipes/catalog/entries/deprecated/people-mobile-number-work-email-waterfall-1.d.ts +9 -9
  26. package/dist/pipes/catalog/entries/deprecated/people-professionalprofile-waterfall-1.d.ts +5 -5
  27. package/dist/pipes/catalog/entries/deprecated/people-professionalprofileurl-email-waterfall-1.d.ts +8 -8
  28. package/dist/pipes/catalog/entries/email-write-1.d.ts +16 -16
  29. package/dist/pipes/catalog/entries/message-write-1.d.ts +8 -8
  30. package/dist/pipes/catalog/entries/people-email-iswork-1.d.ts +4 -4
  31. package/dist/pipes/catalog/entries/people-identity-email-waterfall-1.d.ts +305 -0
  32. package/dist/pipes/catalog/entries/people-match-role-waterfall-1.d.ts +4 -4
  33. package/dist/pipes/catalog/entries/people-name-join-1.d.ts +8 -8
  34. package/dist/pipes/catalog/entries/people-name-split-1.d.ts +4 -4
  35. package/dist/pipes/catalog/entries/people-personalemail-profile-waterfall-1.d.ts +8 -8
  36. package/dist/pipes/catalog/entries/people-phone-profile-waterfall-1.d.ts +27 -11
  37. package/dist/pipes/catalog/entries/people-phone-workemail-waterfall-1.d.ts +9 -9
  38. package/dist/pipes/catalog/entries/people-posts-crustdata-1.d.ts +225 -0
  39. package/dist/pipes/catalog/entries/people-profile-waterfall-1.d.ts +5 -5
  40. package/dist/pipes/catalog/entries/people-profile-workemail-curstdata-1.d.ts +220 -0
  41. package/dist/pipes/catalog/entries/people-profileurl-email-waterfall-1.d.ts +8 -8
  42. package/dist/pipes/catalog/entries/people-workemail-profileurl-waterfall-1.d.ts +295 -0
  43. package/dist/pipes/catalog/entries/people-workemail-waterfall-1.d.ts +41 -7
  44. package/dist/pipes/catalog/entries/prompt-run-1.d.ts +8 -8
  45. package/dist/pipes/catalog/entries/sheet-append-1.d.ts +4 -4
  46. package/dist/pipes/catalog/entries/sheet-expandappend-1.d.ts +4 -4
  47. package/dist/pipes/catalog/entries/website-extract-firecrawl-1.d.ts +4 -4
  48. package/dist/pipes/catalog/entries/website-maplinks-firecrawl-1.d.ts +10 -10
  49. package/dist/pipes/catalog/entries/website-scrape-firecrawl-1.d.ts +2 -2
  50. package/dist/pipes/catalog/entries/website-scrapelist-firecrawl-1.d.ts +2 -2
  51. package/dist/pipes/catalog/pipe.d.ts +434 -4
  52. package/dist/pipes/catalog/pipes-catalog.d.ts +2740 -1048
  53. package/dist/pipes/catalog/utils/get-pipe-instances.d.ts +2 -2
  54. package/dist/pipes/catalog/utils/index.d.ts +34 -34
  55. package/dist/pipes/catalog/utils/partner-logos.d.ts +3 -0
  56. package/dist/pipes/providers/provider-catalog.d.ts +24 -0
  57. package/dist/pipes/providers/provider-utils.d.ts +45 -21
  58. package/dist/pipes/utils/pipes-utils.d.ts +30 -30
  59. package/dist/pipes/utils/schemas-primitives.d.ts +83 -1
  60. package/dist/pipes/utils/sheet-schemas-primitives.d.ts +2078 -1129
  61. package/dist/searches/catalog/entries/companies-profiles-crustdata-1.d.ts +264 -0
  62. package/dist/searches/catalog/entries/companies-profiles-exa-1.d.ts +2 -2
  63. package/dist/searches/catalog/entries/companies-profiles-icypeas-1.d.ts +14 -14
  64. package/dist/searches/catalog/entries/deprecated/people-profiles-clado-1.d.ts +2 -2
  65. package/dist/searches/catalog/entries/people-employees-leadmagic-1.d.ts +2 -2
  66. package/dist/searches/catalog/entries/people-profiles-clado-2.d.ts +4 -4
  67. package/dist/searches/catalog/entries/people-profiles-crustdata-1.d.ts +261 -0
  68. package/dist/searches/catalog/entries/people-profiles-exa-1.d.ts +2 -2
  69. package/dist/searches/catalog/entries/people-profiles-icypeas-1.d.ts +2 -2
  70. package/dist/searches/catalog/entries/utils/crustdata-options-helpers.d.ts +13 -0
  71. package/dist/searches/catalog/searches-catalog.d.ts +1226 -264
  72. package/dist/searches/index.d.ts +270 -16
  73. package/dist/searches/schemas.d.ts +3 -1
  74. package/dist/utils/connection-id.d.ts +1 -1
  75. package/dist/utils/get-domain.d.ts +1 -0
  76. package/dist/utils/icons.d.ts +1 -1
  77. package/dist/utils/schemas.d.ts +9 -2
  78. package/package.json +3 -2
  79. package/dist/payload-config/provider-info.d.ts +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @pipe0/ops
2
2
 
3
+ ## 0.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 106b4b1: Add new waterfall pipes
8
+ - Updated dependencies [106b4b1]
9
+ - @pipe0/client@0.0.9
10
+
11
+ ## 0.0.5
12
+
13
+ ### Patch Changes
14
+
15
+ - 7948f65: Add crustdata search
16
+ - Updated dependencies [7948f65]
17
+ - @pipe0/client@0.0.8
18
+
3
19
  ## 0.0.4
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -15,51 +15,64 @@ Here are some things pipe0 does for you:
15
15
  - 💨 Analyze enrichment pipelines and parallelize execution (we're fast!)
16
16
  - 💰 Run enrichment, scraping and AI infrastructure at low cost (we take 0% margin on external providers)
17
17
 
18
- ## Browser SDK
18
+ ## Client Library
19
19
 
20
- This package contains the browser SDK for [pipe0](https://pipe0.com). It is written in TypeScript and contains
21
- many useful types and utilities for building [UI-based apps](https://pipe0.com/resources/documentation/ui-apps)
22
- based on pipe0.
20
+ This package contains a strongly typed client for [pipe0](https://pipe0.com).
23
21
 
24
- ## Quckstart
22
+ ## Pipes (Enrichment)
25
23
 
26
- The main way to interact with the SDK is the `Pipe0` class. Use it like this.
24
+ Perform enrichments and actions. See [pipes catalog](https://www.pipe0.com/resources/pipe-catalog) to find all available pipes.
27
25
 
28
26
  ```typescript
29
- export const pipe0 = new Pipe0({ url: YOUR_SERVER_URL });
30
-
31
- const req = pipe0.request
32
- .create({
33
- pipes: initialPipeList,
34
- input: initialInput,
35
- fieldAnnotations,
36
- })
37
- .validate()
38
- .getResponse();
39
-
40
- const res = await req.send();
27
+ import { Pipe0 } from "@pipe0/client";
28
+
29
+ const client = new Pipe0({ apiKey: API_KEY });
30
+
31
+ const data = await client.pipes.pipe({
32
+ config: {
33
+ environment: "sandbox",
34
+ },
35
+ pipes: [
36
+ {
37
+ pipe_id: "people:name:split@1",
38
+ },
39
+ ],
40
+ input: [
41
+ {
42
+ id: "1",
43
+ name: "John Doe",
44
+ },
45
+ ],
46
+ });
41
47
  ```
42
48
 
43
- ## What makes a framework?
49
+ ## Search
44
50
 
45
- The term `framework` may surprise you because pipe0 is an API, dashboard, and SDK.
51
+ Find companies and people. See [search catalog](https://www.pipe0.com/resources/search-catalog) to find all available searches.
46
52
 
47
- While you can perform powerful enrichments in just 10 lines of code, you can choose to express logic and direction of data flow
48
- with it, too.
49
-
50
- The following is an example of an enrichment flow that requires logic.
51
-
52
- ```text filename="Flow that needs logic"
53
- FIND phone number of person
54
- IF found
55
- FIND website of current employer
56
- IF NOT found
57
- FIND work email address
53
+ ```typescript
54
+ import { Pipe0 } from "@pipe0/client";
55
+
56
+ const piper = new Pipe0({ apiKey: API_KEY });
57
+
58
+ const data = await piper.searches.search({
59
+ config: {
60
+ environment: "sandbox",
61
+ },
62
+ searches: [
63
+ {
64
+ search_id: "people:profiles:exa@1",
65
+ config: {
66
+ limit: 1,
67
+ filters: {
68
+ query: "Find all employees of pipe0",
69
+ },
70
+ },
71
+ },
72
+ ],
73
+ });
58
74
  ```
59
75
 
60
- Your first instinct might be to implement this with code. However, pipe0 offers a much simpler way to express this
61
- and removes brittle spaghetti code once and for all.
62
-
63
76
  ## Useful links
64
77
 
65
78
  - [Documentation](https://pipe0.com/resources/documentation)