@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.
Files changed (131) hide show
  1. package/README.md +68 -0
  2. package/dist/api/core-client.types.d.ts +9259 -0
  3. package/dist/fields/field-catalog.d.ts +5095 -0
  4. package/dist/fields/json-meta/fields/builtwith-domain-stack.d.ts +14 -0
  5. package/dist/fields/json-meta/fields/clado-person-match-v2.d.ts +639 -0
  6. package/dist/fields/json-meta/fields/clado-person-match.d.ts +139 -0
  7. package/dist/fields/json-meta/fields/exa_match_evaluation.d.ts +18 -0
  8. package/dist/fields/json-meta/fields/funding_history.d.ts +10 -0
  9. package/dist/fields/json-meta/fields/icypeas-company-match.d.ts +30 -0
  10. package/dist/fields/json-meta/fields/icypeas-person-match.d.ts +22 -0
  11. package/dist/fields/json-meta/fields/leadmagic-fields.d.ts +25 -0
  12. package/dist/fields/json-meta/fields/million-verifier-validation-match.d.ts +25 -0
  13. package/dist/fields/json-meta/fields/oceanio-company-match.d.ts +133 -0
  14. package/dist/fields/json-meta/fields/profile.d.ts +82 -0
  15. package/dist/fields/json-meta/fields/scrape-batch-result.d.ts +11 -0
  16. package/dist/fields/json-meta/fields/website-link-list.d.ts +7 -0
  17. package/dist/fields/json-meta/fields/zerobounce-validation-match.d.ts +28 -0
  18. package/dist/fields/schemas.d.ts +18 -0
  19. package/dist/fields/utils/field-utils.d.ts +2 -0
  20. package/dist/fields/utils/flag-from.d.ts +12 -0
  21. package/dist/fields/utils/linkedin-display-value.d.ts +1 -0
  22. package/dist/form-generation/fields.d.ts +518 -0
  23. package/dist/form-generation/get-pipes-form-config.d.ts +13 -0
  24. package/dist/form-generation/get-searches-form-config.d.ts +7 -0
  25. package/dist/index.d.ts +49 -0
  26. package/dist/index.js +31112 -0
  27. package/dist/payload-config/provider-info.d.ts +1 -0
  28. package/dist/pipes/catalog/entries/company-funding-leadmagic-1.d.ts +257 -0
  29. package/dist/pipes/catalog/entries/company-identity-2.d.ts +232 -0
  30. package/dist/pipes/catalog/entries/company-newssummary-website-1.d.ts +207 -0
  31. package/dist/pipes/catalog/entries/company-overview-2.d.ts +297 -0
  32. package/dist/pipes/catalog/entries/company-techstack-builtwith-1.d.ts +248 -0
  33. package/dist/pipes/catalog/entries/company-websiteurl-email-1.d.ts +206 -0
  34. package/dist/pipes/catalog/entries/contact-create-resent-1.d.ts +218 -0
  35. package/dist/pipes/catalog/entries/deprecated/company-identity-1.d.ts +235 -0
  36. package/dist/pipes/catalog/entries/deprecated/company-overview-1.d.ts +288 -0
  37. package/dist/pipes/catalog/entries/deprecated/people-email-validate-zerobounce-1.d.ts +203 -0
  38. package/dist/pipes/catalog/entries/deprecated/people-mobile-number-professional-profile-waterfall-1.d.ts +253 -0
  39. package/dist/pipes/catalog/entries/deprecated/people-mobile-number-work-email-waterfall-1.d.ts +237 -0
  40. package/dist/pipes/catalog/entries/deprecated/people-professionalprofile-waterfall-1.d.ts +241 -0
  41. package/dist/pipes/catalog/entries/deprecated/people-professionalprofileurl-email-waterfall-1.d.ts +242 -0
  42. package/dist/pipes/catalog/entries/deprecated/people-professionalprofileurl-name-1.d.ts +216 -0
  43. package/dist/pipes/catalog/entries/deprecated/people-validate-email-zero-bounce-1.d.ts +212 -0
  44. package/dist/pipes/catalog/entries/email-send-gmail.d.ts +224 -0
  45. package/dist/pipes/catalog/entries/email-send-resend-1.d.ts +227 -0
  46. package/dist/pipes/catalog/entries/email-write-1.d.ts +260 -0
  47. package/dist/pipes/catalog/entries/fields-merge-1.d.ts +187 -0
  48. package/dist/pipes/catalog/entries/json-extract-1.d.ts +240 -0
  49. package/dist/pipes/catalog/entries/message-send-slack-1.d.ts +206 -0
  50. package/dist/pipes/catalog/entries/message-write-1.d.ts +226 -0
  51. package/dist/pipes/catalog/entries/people-email-iswork-1.d.ts +207 -0
  52. package/dist/pipes/catalog/entries/people-email-validate-million-1.d.ts +212 -0
  53. package/dist/pipes/catalog/entries/people-email-validate-zerobounce-2.d.ts +212 -0
  54. package/dist/pipes/catalog/entries/people-name-join-1.d.ts +224 -0
  55. package/dist/pipes/catalog/entries/people-name-split-1.d.ts +220 -0
  56. package/dist/pipes/catalog/entries/people-personalemail-profile-waterfall-1.d.ts +262 -0
  57. package/dist/pipes/catalog/entries/people-phone-profile-waterfall-1.d.ts +266 -0
  58. package/dist/pipes/catalog/entries/people-phone-workemail-waterfall-1.d.ts +234 -0
  59. package/dist/pipes/catalog/entries/people-profile-waterfall-1.d.ts +254 -0
  60. package/dist/pipes/catalog/entries/people-profileurl-email-waterfall-1.d.ts +239 -0
  61. package/dist/pipes/catalog/entries/people-profileurl-name-1.d.ts +213 -0
  62. package/dist/pipes/catalog/entries/people-workemail-waterfall-1.d.ts +279 -0
  63. package/dist/pipes/catalog/entries/prompt-run-1.d.ts +217 -0
  64. package/dist/pipes/catalog/entries/sheet-append-1.d.ts +195 -0
  65. package/dist/pipes/catalog/entries/sheet-expandappend-1.d.ts +207 -0
  66. package/dist/pipes/catalog/entries/template-fill-1.d.ts +183 -0
  67. package/dist/pipes/catalog/entries/website-extract-firecrawl-1.d.ts +214 -0
  68. package/dist/pipes/catalog/entries/website-maplinks-firecrawl-1.d.ts +225 -0
  69. package/dist/pipes/catalog/entries/website-scrape-firecrawl-1.d.ts +227 -0
  70. package/dist/pipes/catalog/entries/website-scrapelist-firecrawl-1.d.ts +216 -0
  71. package/dist/pipes/catalog/pipe.d.ts +1866 -0
  72. package/dist/pipes/catalog/pipes-catalog.d.ts +15435 -0
  73. package/dist/pipes/catalog/types.d.ts +109 -0
  74. package/dist/pipes/catalog/utils/find-fields-in-ctx.d.ts +11 -0
  75. package/dist/pipes/catalog/utils/get-pipe-hash-key.d.ts +4 -0
  76. package/dist/pipes/catalog/utils/get-pipe-instances.d.ts +6 -0
  77. package/dist/pipes/catalog/utils/get-provider-billable-operation.d.ts +6 -0
  78. package/dist/pipes/catalog/utils/index.d.ts +389 -0
  79. package/dist/pipes/catalog/utils/lazy-property-resolve.d.ts +3 -0
  80. package/dist/pipes/field-annotations/field-annotations.d.ts +12 -0
  81. package/dist/pipes/pipes-validator/pipes-validator-utils.d.ts +15 -0
  82. package/dist/pipes/pipes-validator/pipes-validator.conditions.test.d.ts +1 -0
  83. package/dist/pipes/pipes-validator/pipes-validator.d.ts +15 -0
  84. package/dist/pipes/pipes-validator/transform-into-response.d.ts +18 -0
  85. package/dist/pipes/providers/provider-catalog.d.ts +242 -0
  86. package/dist/pipes/providers/provider-utils.d.ts +230 -0
  87. package/dist/pipes/utils/build-dependency-graph.d.ts +15 -0
  88. package/dist/pipes/utils/clean-payload.d.ts +2 -0
  89. package/dist/pipes/utils/clean-record-value.d.ts +2 -0
  90. package/dist/pipes/utils/config-defaults.d.ts +1 -0
  91. package/dist/pipes/utils/errors.d.ts +219 -0
  92. package/dist/pipes/utils/get-json-values.d.ts +1 -0
  93. package/dist/pipes/utils/helpers-widgets.d.ts +17 -0
  94. package/dist/pipes/utils/helpers.d.ts +13 -0
  95. package/dist/pipes/utils/input-groups-satisfied.d.ts +13 -0
  96. package/dist/pipes/utils/parse-prompt-tags.d.ts +41 -0
  97. package/dist/pipes/utils/pipes-utils.d.ts +382 -0
  98. package/dist/pipes/utils/schemas-primitives.d.ts +1710 -0
  99. package/dist/pipes/utils/types.d.ts +5 -0
  100. package/dist/searches/catalog/entries/companies-profiles-exa-1.d.ts +159 -0
  101. package/dist/searches/catalog/entries/companies-profiles-icypeas-1.d.ts +265 -0
  102. package/dist/searches/catalog/entries/deprecated/people-profiles-clado-1.d.ts +162 -0
  103. package/dist/searches/catalog/entries/people-employees-leadmagic-1.d.ts +135 -0
  104. package/dist/searches/catalog/entries/people-profiles-clado-2.d.ts +165 -0
  105. package/dist/searches/catalog/entries/people-profiles-exa-1.d.ts +159 -0
  106. package/dist/searches/catalog/entries/people-profiles-icypeas-1.d.ts +301 -0
  107. package/dist/searches/catalog/search.d.ts +26 -0
  108. package/dist/searches/catalog/searches-catalog.d.ts +2925 -0
  109. package/dist/searches/catalog/types.d.ts +32 -0
  110. package/dist/searches/catalog/utils/index.d.ts +1 -0
  111. package/dist/searches/errors.d.ts +11 -0
  112. package/dist/searches/index.d.ts +751 -0
  113. package/dist/searches/schemas.d.ts +12 -0
  114. package/dist/searches/searches-validator.d.ts +5 -0
  115. package/dist/searches/types.d.ts +17 -0
  116. package/dist/searches/utils/get-search-instances.d.ts +3 -0
  117. package/dist/searches/utils/index.d.ts +2 -0
  118. package/dist/searches/utils/is-filters-empty.d.ts +1 -0
  119. package/dist/utils/catalog-tags.d.ts +25 -0
  120. package/dist/utils/catalog-utils.d.ts +11 -0
  121. package/dist/utils/clean-object.d.ts +1 -0
  122. package/dist/utils/clean-url.d.ts +24 -0
  123. package/dist/utils/connection-id.d.ts +8 -0
  124. package/dist/utils/hasher.d.ts +8 -0
  125. package/dist/utils/icons.d.ts +1 -0
  126. package/dist/utils/index.d.ts +3 -0
  127. package/dist/utils/json-schema-utils.d.ts +3 -0
  128. package/dist/utils/pixelart.d.ts +13 -0
  129. package/dist/utils/schemas.d.ts +113 -0
  130. package/dist/utils/types.d.ts +4 -0
  131. package/package.json +69 -0
@@ -0,0 +1,240 @@
1
+ import { z, ZodType } from "zod";
2
+ import type { ProviderName } from "../../../utils/schemas.js";
3
+ import { type PipeId } from "../../utils/schemas-primitives.js";
4
+ import { Pipe } from "../pipe.js";
5
+ import type { InputGroup, PipeConnectionRequirement, PipeOutputField } from "../types.js";
6
+ declare const PayloadSchema: z.ZodObject<{
7
+ pipe_id: z.ZodLiteral<"json:extract@1">;
8
+ trigger: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9
+ action: z.ZodEnum<{
10
+ run: "run";
11
+ }>;
12
+ when: z.ZodObject<{
13
+ logic: z.ZodEnum<{
14
+ and: "and";
15
+ or: "or";
16
+ }>;
17
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
18
+ property: z.ZodLiteral<"value">;
19
+ field_name: z.ZodString;
20
+ operator: z.ZodEnum<{
21
+ eq: "eq";
22
+ neq: "neq";
23
+ gt: "gt";
24
+ gte: "gte";
25
+ lt: "lt";
26
+ lte: "lte";
27
+ contains: "contains";
28
+ }>;
29
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ property: z.ZodLiteral<"status">;
32
+ field_name: z.ZodString;
33
+ operator: z.ZodEnum<{
34
+ eq: "eq";
35
+ neq: "neq";
36
+ }>;
37
+ value: z.ZodEnum<{
38
+ completed: "completed";
39
+ failed: "failed";
40
+ no_result: "no_result";
41
+ skipped: "skipped";
42
+ }>;
43
+ }, z.core.$strip>], "property">>;
44
+ }, z.core.$strip>;
45
+ }, z.core.$strip>>>;
46
+ connector: z.ZodNullable<z.ZodOptional<z.ZodObject<{
47
+ strategy: z.ZodDefault<z.ZodEnum<{
48
+ first: "first";
49
+ }>>;
50
+ connections: z.ZodArray<z.ZodObject<{
51
+ type: z.ZodLiteral<"vault">;
52
+ connection: z.ZodString;
53
+ }, z.core.$strip>>;
54
+ }, z.core.$strip>>>;
55
+ config: z.ZodObject<{
56
+ json_extraction: z.ZodObject<{
57
+ field_name: z.ZodString;
58
+ extractions: z.ZodArray<z.ZodObject<{
59
+ path: z.ZodString;
60
+ output_field: z.ZodObject<{
61
+ name: z.ZodString;
62
+ format: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
63
+ email: "email";
64
+ address_line_1: "address_line_1";
65
+ zip_code: "zip_code";
66
+ profile_url: "profile_url";
67
+ phone: "phone";
68
+ website_url: "website_url";
69
+ int: "int";
70
+ date: "date";
71
+ json_object: "json_object";
72
+ json_list: "json_list";
73
+ json_list_string: "json_list_string";
74
+ url: "url";
75
+ datetime: "datetime";
76
+ currency: "currency";
77
+ markdown: "markdown";
78
+ text: "text";
79
+ decimal: "decimal";
80
+ percent: "percent";
81
+ }>>>;
82
+ label: z.ZodOptional<z.ZodString>;
83
+ type: z.ZodEnum<{
84
+ string: "string";
85
+ number: "number";
86
+ boolean: "boolean";
87
+ json: "json";
88
+ unknown: "unknown";
89
+ }>;
90
+ }, z.core.$strip>;
91
+ }, z.core.$strip>>;
92
+ }, z.core.$strip>;
93
+ }, z.core.$strip>;
94
+ }, z.core.$strip>;
95
+ export type Payload = z.infer<typeof PayloadSchema>;
96
+ declare class PipeClass extends Pipe<Payload> {
97
+ pipeId: PipeId;
98
+ payload: Payload;
99
+ payloadSchema: ZodType;
100
+ protected billableOperations: {
101
+ readonly "pipe0-extract-json": {
102
+ readonly provider: "pipe0";
103
+ readonly allowManagedConnection: true;
104
+ readonly credits: 0;
105
+ readonly mode: "always";
106
+ };
107
+ };
108
+ constructor(payload: Payload);
109
+ getProviderNames(): ProviderName[];
110
+ estimateBillableOperations(): (keyof typeof this.billableOperations)[];
111
+ getInputGroups(): InputGroup[];
112
+ getRawOutputFields(): Record<string, PipeOutputField>;
113
+ getConnectionsRequirements(): Array<PipeConnectionRequirement>;
114
+ }
115
+ export declare const JSONExtract1PipeClass: typeof PipeClass;
116
+ export declare const JsonExtract1PayloadSchema: z.ZodObject<{
117
+ pipe_id: z.ZodLiteral<"json:extract@1">;
118
+ trigger: z.ZodNullable<z.ZodOptional<z.ZodObject<{
119
+ action: z.ZodEnum<{
120
+ run: "run";
121
+ }>;
122
+ when: z.ZodObject<{
123
+ logic: z.ZodEnum<{
124
+ and: "and";
125
+ or: "or";
126
+ }>;
127
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
128
+ property: z.ZodLiteral<"value">;
129
+ field_name: z.ZodString;
130
+ operator: z.ZodEnum<{
131
+ eq: "eq";
132
+ neq: "neq";
133
+ gt: "gt";
134
+ gte: "gte";
135
+ lt: "lt";
136
+ lte: "lte";
137
+ contains: "contains";
138
+ }>;
139
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>;
140
+ }, z.core.$strip>, z.ZodObject<{
141
+ property: z.ZodLiteral<"status">;
142
+ field_name: z.ZodString;
143
+ operator: z.ZodEnum<{
144
+ eq: "eq";
145
+ neq: "neq";
146
+ }>;
147
+ value: z.ZodEnum<{
148
+ completed: "completed";
149
+ failed: "failed";
150
+ no_result: "no_result";
151
+ skipped: "skipped";
152
+ }>;
153
+ }, z.core.$strip>], "property">>;
154
+ }, z.core.$strip>;
155
+ }, z.core.$strip>>>;
156
+ connector: z.ZodNullable<z.ZodOptional<z.ZodObject<{
157
+ strategy: z.ZodDefault<z.ZodEnum<{
158
+ first: "first";
159
+ }>>;
160
+ connections: z.ZodArray<z.ZodObject<{
161
+ type: z.ZodLiteral<"vault">;
162
+ connection: z.ZodString;
163
+ }, z.core.$strip>>;
164
+ }, z.core.$strip>>>;
165
+ config: z.ZodObject<{
166
+ json_extraction: z.ZodObject<{
167
+ field_name: z.ZodString;
168
+ extractions: z.ZodArray<z.ZodObject<{
169
+ path: z.ZodString;
170
+ output_field: z.ZodObject<{
171
+ name: z.ZodString;
172
+ format: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
173
+ email: "email";
174
+ address_line_1: "address_line_1";
175
+ zip_code: "zip_code";
176
+ profile_url: "profile_url";
177
+ phone: "phone";
178
+ website_url: "website_url";
179
+ int: "int";
180
+ date: "date";
181
+ json_object: "json_object";
182
+ json_list: "json_list";
183
+ json_list_string: "json_list_string";
184
+ url: "url";
185
+ datetime: "datetime";
186
+ currency: "currency";
187
+ markdown: "markdown";
188
+ text: "text";
189
+ decimal: "decimal";
190
+ percent: "percent";
191
+ }>>>;
192
+ label: z.ZodOptional<z.ZodString>;
193
+ type: z.ZodEnum<{
194
+ string: "string";
195
+ number: "number";
196
+ boolean: "boolean";
197
+ json: "json";
198
+ unknown: "unknown";
199
+ }>;
200
+ }, z.core.$strip>;
201
+ }, z.core.$strip>>;
202
+ }, z.core.$strip>;
203
+ }, z.core.$strip>;
204
+ }, z.core.$strip>;
205
+ export declare const JsonExtract1Entry: {
206
+ readonly pipeId: "json:extract@1";
207
+ readonly basePipe: string;
208
+ readonly inputFieldMode: "config";
209
+ readonly outputFieldMode: "config";
210
+ readonly label: "JSON extract";
211
+ readonly executionMode: "single";
212
+ readonly categories: ["tools"];
213
+ readonly lifecycle: null;
214
+ readonly description: "Extract nested JSON properteis into new output fields.";
215
+ readonly docPath: "/resources/pipe-catalog/json:extract/1";
216
+ readonly tags: ["Json"];
217
+ readonly managedProviders: ["pipe0"];
218
+ readonly allowedUserConnectionProviders: [];
219
+ readonly billableOperations: {
220
+ readonly "pipe0-extract-json": {
221
+ readonly provider: "pipe0";
222
+ readonly allowManagedConnection: true;
223
+ readonly credits: 0;
224
+ readonly mode: "always";
225
+ };
226
+ };
227
+ readonly defaultInputGroups: [];
228
+ readonly defaultPayload: {
229
+ readonly pipe_id: "json:extract@1";
230
+ readonly trigger: null;
231
+ readonly connector: null;
232
+ readonly config: {
233
+ readonly json_extraction: {
234
+ readonly field_name: "";
235
+ readonly extractions: [];
236
+ };
237
+ };
238
+ };
239
+ };
240
+ export {};
@@ -0,0 +1,206 @@
1
+ import { z, ZodType } from "zod";
2
+ import type { ProviderName } from "../../../utils/schemas.js";
3
+ import { type PipeId } from "../../utils/schemas-primitives.js";
4
+ import { Pipe } from "../pipe.js";
5
+ import type { InputGroup, PipeOutputField } from "../types.js";
6
+ declare const PayloadSchema: z.ZodObject<{
7
+ pipe_id: z.ZodLiteral<"message:send:slack@1">;
8
+ connector: z.ZodObject<{
9
+ strategy: z.ZodDefault<z.ZodEnum<{
10
+ first: "first";
11
+ }>>;
12
+ connections: z.ZodArray<z.ZodObject<{
13
+ type: z.ZodLiteral<"vault">;
14
+ connection: z.ZodString;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
17
+ trigger: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18
+ action: z.ZodEnum<{
19
+ run: "run";
20
+ }>;
21
+ when: z.ZodObject<{
22
+ logic: z.ZodEnum<{
23
+ and: "and";
24
+ or: "or";
25
+ }>;
26
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
27
+ property: z.ZodLiteral<"value">;
28
+ field_name: z.ZodString;
29
+ operator: z.ZodEnum<{
30
+ eq: "eq";
31
+ neq: "neq";
32
+ gt: "gt";
33
+ gte: "gte";
34
+ lt: "lt";
35
+ lte: "lte";
36
+ contains: "contains";
37
+ }>;
38
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ property: z.ZodLiteral<"status">;
41
+ field_name: z.ZodString;
42
+ operator: z.ZodEnum<{
43
+ eq: "eq";
44
+ neq: "neq";
45
+ }>;
46
+ value: z.ZodEnum<{
47
+ completed: "completed";
48
+ failed: "failed";
49
+ no_result: "no_result";
50
+ skipped: "skipped";
51
+ }>;
52
+ }, z.core.$strip>], "property">>;
53
+ }, z.core.$strip>;
54
+ }, z.core.$strip>>>;
55
+ config: z.ZodObject<{
56
+ channel_id: z.ZodDefault<z.ZodString>;
57
+ input_fields: z.ZodOptional<z.ZodObject<{
58
+ message: z.ZodDefault<z.ZodObject<{
59
+ alias: z.ZodString;
60
+ }, z.core.$strip>>;
61
+ }, z.core.$strip>>;
62
+ output_fields: z.ZodOptional<z.ZodObject<{
63
+ slack_message_success: z.ZodDefault<z.ZodObject<{
64
+ alias: z.ZodDefault<z.ZodString>;
65
+ enabled: z.ZodDefault<z.ZodBoolean>;
66
+ }, z.core.$strip>>;
67
+ }, z.core.$strip>>;
68
+ }, z.core.$strip>;
69
+ }, z.core.$strip>;
70
+ type Payload = z.infer<typeof PayloadSchema>;
71
+ declare class PipeClass extends Pipe<Payload> {
72
+ pipeId: PipeId;
73
+ payload: Payload;
74
+ payloadSchema: ZodType;
75
+ billableOperations: {
76
+ readonly "send-message-slack": {
77
+ readonly allowManagedConnection: false;
78
+ readonly provider: "slack";
79
+ readonly credits: null;
80
+ readonly mode: null;
81
+ };
82
+ };
83
+ constructor(payload: Payload);
84
+ getProviderNames(): ProviderName[];
85
+ estimateBillableOperations(): (keyof typeof this.billableOperations)[];
86
+ getInputGroups(): InputGroup[];
87
+ getRawOutputFields(): Record<string, PipeOutputField>;
88
+ getConnectionsRequirements(): {
89
+ provider: "slack";
90
+ rateLimitRatio: number;
91
+ rateLimitOperation: "slack_post_message";
92
+ allowManagedConnection: false;
93
+ }[];
94
+ }
95
+ export declare const MessageSendSlackPipeClass1: typeof PipeClass;
96
+ export declare const MessageSendSlackPayloadSchema1: z.ZodObject<{
97
+ pipe_id: z.ZodLiteral<"message:send:slack@1">;
98
+ connector: z.ZodObject<{
99
+ strategy: z.ZodDefault<z.ZodEnum<{
100
+ first: "first";
101
+ }>>;
102
+ connections: z.ZodArray<z.ZodObject<{
103
+ type: z.ZodLiteral<"vault">;
104
+ connection: z.ZodString;
105
+ }, z.core.$strip>>;
106
+ }, z.core.$strip>;
107
+ trigger: z.ZodNullable<z.ZodOptional<z.ZodObject<{
108
+ action: z.ZodEnum<{
109
+ run: "run";
110
+ }>;
111
+ when: z.ZodObject<{
112
+ logic: z.ZodEnum<{
113
+ and: "and";
114
+ or: "or";
115
+ }>;
116
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
117
+ property: z.ZodLiteral<"value">;
118
+ field_name: z.ZodString;
119
+ operator: z.ZodEnum<{
120
+ eq: "eq";
121
+ neq: "neq";
122
+ gt: "gt";
123
+ gte: "gte";
124
+ lt: "lt";
125
+ lte: "lte";
126
+ contains: "contains";
127
+ }>;
128
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>;
129
+ }, z.core.$strip>, z.ZodObject<{
130
+ property: z.ZodLiteral<"status">;
131
+ field_name: z.ZodString;
132
+ operator: z.ZodEnum<{
133
+ eq: "eq";
134
+ neq: "neq";
135
+ }>;
136
+ value: z.ZodEnum<{
137
+ completed: "completed";
138
+ failed: "failed";
139
+ no_result: "no_result";
140
+ skipped: "skipped";
141
+ }>;
142
+ }, z.core.$strip>], "property">>;
143
+ }, z.core.$strip>;
144
+ }, z.core.$strip>>>;
145
+ config: z.ZodObject<{
146
+ channel_id: z.ZodDefault<z.ZodString>;
147
+ input_fields: z.ZodOptional<z.ZodObject<{
148
+ message: z.ZodDefault<z.ZodObject<{
149
+ alias: z.ZodString;
150
+ }, z.core.$strip>>;
151
+ }, z.core.$strip>>;
152
+ output_fields: z.ZodOptional<z.ZodObject<{
153
+ slack_message_success: z.ZodDefault<z.ZodObject<{
154
+ alias: z.ZodDefault<z.ZodString>;
155
+ enabled: z.ZodDefault<z.ZodBoolean>;
156
+ }, z.core.$strip>>;
157
+ }, z.core.$strip>>;
158
+ }, z.core.$strip>;
159
+ }, z.core.$strip>;
160
+ export declare const MessageSendSlackEntry1: {
161
+ readonly pipeId: "message:send:slack@1";
162
+ readonly basePipe: string;
163
+ readonly label: "Send message with Slack";
164
+ readonly executionMode: "single";
165
+ readonly categories: ["actions"];
166
+ readonly lifecycle: null;
167
+ readonly description: "Send message to an authorized Slack channel.";
168
+ readonly tags: ["Chat"];
169
+ readonly docPath: "/resources/pipe-catalog/message:send:slack/1";
170
+ readonly billableOperations: {
171
+ readonly "send-message-slack": {
172
+ readonly allowManagedConnection: false;
173
+ readonly provider: "slack";
174
+ readonly credits: null;
175
+ readonly mode: null;
176
+ };
177
+ };
178
+ readonly inputFieldMode: "static";
179
+ readonly outputFieldMode: "static";
180
+ readonly allowedUserConnectionProviders: ["slack"];
181
+ readonly managedProviders: [];
182
+ readonly defaultInputGroups: InputGroup[];
183
+ readonly defaultPayload: {
184
+ readonly pipe_id: "message:send:slack@1";
185
+ readonly connector: {
186
+ readonly strategy: "first";
187
+ readonly connections: [];
188
+ };
189
+ readonly trigger: null;
190
+ readonly config: {
191
+ readonly channel_id: "";
192
+ readonly input_fields: {
193
+ readonly message: {
194
+ readonly alias: "";
195
+ };
196
+ };
197
+ readonly output_fields: {
198
+ readonly slack_message_success: {
199
+ readonly alias: "";
200
+ readonly enabled: true;
201
+ };
202
+ };
203
+ };
204
+ };
205
+ };
206
+ export {};
@@ -0,0 +1,226 @@
1
+ import { z, ZodType } from "zod";
2
+ import type { ProviderName } from "../../../utils/schemas.js";
3
+ import { type PipeId } from "../../utils/schemas-primitives.js";
4
+ import { Pipe } from "../pipe.js";
5
+ import type { PipeConnectionRequirement, PipeOutputField } from "../types.js";
6
+ declare const PayloadSchema: z.ZodObject<{
7
+ pipe_id: z.ZodLiteral<"message:write@1">;
8
+ connector: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
+ strategy: z.ZodDefault<z.ZodEnum<{
10
+ first: "first";
11
+ }>>;
12
+ connections: z.ZodArray<z.ZodObject<{
13
+ type: z.ZodLiteral<"vault">;
14
+ connection: z.ZodString;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>>>;
17
+ trigger: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18
+ action: z.ZodEnum<{
19
+ run: "run";
20
+ }>;
21
+ when: z.ZodObject<{
22
+ logic: z.ZodEnum<{
23
+ and: "and";
24
+ or: "or";
25
+ }>;
26
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
27
+ property: z.ZodLiteral<"value">;
28
+ field_name: z.ZodString;
29
+ operator: z.ZodEnum<{
30
+ eq: "eq";
31
+ neq: "neq";
32
+ gt: "gt";
33
+ gte: "gte";
34
+ lt: "lt";
35
+ lte: "lte";
36
+ contains: "contains";
37
+ }>;
38
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ property: z.ZodLiteral<"status">;
41
+ field_name: z.ZodString;
42
+ operator: z.ZodEnum<{
43
+ eq: "eq";
44
+ neq: "neq";
45
+ }>;
46
+ value: z.ZodEnum<{
47
+ completed: "completed";
48
+ failed: "failed";
49
+ no_result: "no_result";
50
+ skipped: "skipped";
51
+ }>;
52
+ }, z.core.$strip>], "property">>;
53
+ }, z.core.$strip>;
54
+ }, z.core.$strip>>>;
55
+ config: z.ZodObject<{
56
+ template: z.ZodString;
57
+ model: z.ZodEnum<{
58
+ [x: string]: string;
59
+ }> | z.ZodOptional<z.ZodEnum<{
60
+ [x: string]: string;
61
+ }>> | z.ZodDefault<z.ZodEnum<{
62
+ [x: string]: string;
63
+ }>> | z.ZodDefault<z.ZodOptional<z.ZodEnum<{
64
+ [x: string]: string;
65
+ }>>>;
66
+ output_fields: z.ZodOptional<z.ZodObject<{
67
+ message: z.ZodDefault<z.ZodObject<{
68
+ alias: z.ZodDefault<z.ZodString>;
69
+ enabled: z.ZodDefault<z.ZodBoolean>;
70
+ }, z.core.$strip>>;
71
+ }, z.core.$strip>>;
72
+ }, z.core.$strip>;
73
+ }, z.core.$strip>;
74
+ export type Payload = z.infer<typeof PayloadSchema>;
75
+ declare class PipeClass extends Pipe<Payload> {
76
+ pipeId: PipeId;
77
+ payload: Payload;
78
+ payloadSchema: ZodType;
79
+ billableOperations: {
80
+ readonly "gemini-flash-latest-write-message": {
81
+ readonly credits: 0.5;
82
+ readonly allowManagedConnection: true;
83
+ readonly provider: "gemini";
84
+ readonly mode: "always";
85
+ };
86
+ readonly "openai-gpt-latest-write-message": {
87
+ readonly credits: 1;
88
+ readonly allowManagedConnection: true;
89
+ readonly provider: "openai";
90
+ readonly mode: "always";
91
+ };
92
+ readonly "openai-gpt-mini-latest-write-message": {
93
+ readonly credits: 0.5;
94
+ readonly allowManagedConnection: true;
95
+ readonly provider: "openai";
96
+ readonly mode: "always";
97
+ };
98
+ };
99
+ constructor(payload: Payload);
100
+ getProviderNames(): ProviderName[];
101
+ estimateBillableOperations(): (keyof typeof this.billableOperations)[];
102
+ getInputGroups(): import("../types.js").InputGroup[];
103
+ getRawOutputFields(): Record<string, PipeOutputField>;
104
+ getConnectionsRequirements(): Array<PipeConnectionRequirement>;
105
+ }
106
+ export declare const MessageWritePipeClass1: typeof PipeClass;
107
+ export declare const MessageWritePayloadSchema1: z.ZodObject<{
108
+ pipe_id: z.ZodLiteral<"message:write@1">;
109
+ connector: z.ZodOptional<z.ZodNullable<z.ZodObject<{
110
+ strategy: z.ZodDefault<z.ZodEnum<{
111
+ first: "first";
112
+ }>>;
113
+ connections: z.ZodArray<z.ZodObject<{
114
+ type: z.ZodLiteral<"vault">;
115
+ connection: z.ZodString;
116
+ }, z.core.$strip>>;
117
+ }, z.core.$strip>>>;
118
+ trigger: z.ZodNullable<z.ZodOptional<z.ZodObject<{
119
+ action: z.ZodEnum<{
120
+ run: "run";
121
+ }>;
122
+ when: z.ZodObject<{
123
+ logic: z.ZodEnum<{
124
+ and: "and";
125
+ or: "or";
126
+ }>;
127
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
128
+ property: z.ZodLiteral<"value">;
129
+ field_name: z.ZodString;
130
+ operator: z.ZodEnum<{
131
+ eq: "eq";
132
+ neq: "neq";
133
+ gt: "gt";
134
+ gte: "gte";
135
+ lt: "lt";
136
+ lte: "lte";
137
+ contains: "contains";
138
+ }>;
139
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>;
140
+ }, z.core.$strip>, z.ZodObject<{
141
+ property: z.ZodLiteral<"status">;
142
+ field_name: z.ZodString;
143
+ operator: z.ZodEnum<{
144
+ eq: "eq";
145
+ neq: "neq";
146
+ }>;
147
+ value: z.ZodEnum<{
148
+ completed: "completed";
149
+ failed: "failed";
150
+ no_result: "no_result";
151
+ skipped: "skipped";
152
+ }>;
153
+ }, z.core.$strip>], "property">>;
154
+ }, z.core.$strip>;
155
+ }, z.core.$strip>>>;
156
+ config: z.ZodObject<{
157
+ template: z.ZodString;
158
+ model: z.ZodEnum<{
159
+ [x: string]: string;
160
+ }> | z.ZodOptional<z.ZodEnum<{
161
+ [x: string]: string;
162
+ }>> | z.ZodDefault<z.ZodEnum<{
163
+ [x: string]: string;
164
+ }>> | z.ZodDefault<z.ZodOptional<z.ZodEnum<{
165
+ [x: string]: string;
166
+ }>>>;
167
+ output_fields: z.ZodOptional<z.ZodObject<{
168
+ message: z.ZodDefault<z.ZodObject<{
169
+ alias: z.ZodDefault<z.ZodString>;
170
+ enabled: z.ZodDefault<z.ZodBoolean>;
171
+ }, z.core.$strip>>;
172
+ }, z.core.$strip>>;
173
+ }, z.core.$strip>;
174
+ }, z.core.$strip>;
175
+ export declare const MessageWriteEntry1: {
176
+ readonly pipeId: "message:write@1";
177
+ readonly inputFieldMode: "config";
178
+ readonly outputFieldMode: "static";
179
+ readonly basePipe: string;
180
+ readonly label: "Message writer";
181
+ readonly executionMode: "single";
182
+ readonly categories: ["tools"];
183
+ readonly lifecycle: null;
184
+ readonly description: "An AI agent specialized in composing messages for modern workplace communication platforms (Slack, Teams, Discord, etc.)";
185
+ readonly tags: ["AI"];
186
+ readonly docPath: "/resources/pipe-catalog/message:write/1";
187
+ readonly defaultInputGroups: [];
188
+ readonly billableOperations: {
189
+ readonly "gemini-flash-latest-write-message": {
190
+ readonly credits: 0.5;
191
+ readonly allowManagedConnection: true;
192
+ readonly provider: "gemini";
193
+ readonly mode: "always";
194
+ };
195
+ readonly "openai-gpt-latest-write-message": {
196
+ readonly credits: 1;
197
+ readonly allowManagedConnection: true;
198
+ readonly provider: "openai";
199
+ readonly mode: "always";
200
+ };
201
+ readonly "openai-gpt-mini-latest-write-message": {
202
+ readonly credits: 0.5;
203
+ readonly allowManagedConnection: true;
204
+ readonly provider: "openai";
205
+ readonly mode: "always";
206
+ };
207
+ };
208
+ readonly allowedUserConnectionProviders: ["gemini", "openai"];
209
+ readonly managedProviders: ["gemini", "openai"];
210
+ readonly defaultPayload: {
211
+ readonly pipe_id: "message:write@1";
212
+ readonly connector: null;
213
+ readonly trigger: null;
214
+ readonly config: {
215
+ readonly model: "openai-gpt-latest";
216
+ readonly template: "";
217
+ readonly output_fields: {
218
+ readonly message: {
219
+ readonly alias: "";
220
+ readonly enabled: true;
221
+ };
222
+ };
223
+ };
224
+ };
225
+ };
226
+ export {};