@pipe0/ops 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -0
- package/dist/api/core-client.types.d.ts +9259 -0
- package/dist/fields/field-catalog.d.ts +5095 -0
- package/dist/fields/json-meta/fields/builtwith-domain-stack.d.ts +14 -0
- package/dist/fields/json-meta/fields/clado-person-match-v2.d.ts +639 -0
- package/dist/fields/json-meta/fields/clado-person-match.d.ts +139 -0
- package/dist/fields/json-meta/fields/exa_match_evaluation.d.ts +18 -0
- package/dist/fields/json-meta/fields/funding_history.d.ts +10 -0
- package/dist/fields/json-meta/fields/icypeas-company-match.d.ts +30 -0
- package/dist/fields/json-meta/fields/icypeas-person-match.d.ts +22 -0
- package/dist/fields/json-meta/fields/leadmagic-fields.d.ts +25 -0
- package/dist/fields/json-meta/fields/million-verifier-validation-match.d.ts +25 -0
- package/dist/fields/json-meta/fields/oceanio-company-match.d.ts +133 -0
- package/dist/fields/json-meta/fields/profile.d.ts +82 -0
- package/dist/fields/json-meta/fields/scrape-batch-result.d.ts +11 -0
- package/dist/fields/json-meta/fields/website-link-list.d.ts +7 -0
- package/dist/fields/json-meta/fields/zerobounce-validation-match.d.ts +28 -0
- package/dist/fields/schemas.d.ts +18 -0
- package/dist/fields/utils/field-utils.d.ts +2 -0
- package/dist/fields/utils/flag-from.d.ts +12 -0
- package/dist/fields/utils/linkedin-display-value.d.ts +1 -0
- package/dist/form-generation/fields.d.ts +518 -0
- package/dist/form-generation/get-pipes-form-config.d.ts +13 -0
- package/dist/form-generation/get-searches-form-config.d.ts +7 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.js +31112 -0
- package/dist/payload-config/provider-info.d.ts +1 -0
- package/dist/pipes/catalog/entries/company-funding-leadmagic-1.d.ts +257 -0
- package/dist/pipes/catalog/entries/company-identity-2.d.ts +232 -0
- package/dist/pipes/catalog/entries/company-newssummary-website-1.d.ts +207 -0
- package/dist/pipes/catalog/entries/company-overview-2.d.ts +297 -0
- package/dist/pipes/catalog/entries/company-techstack-builtwith-1.d.ts +248 -0
- package/dist/pipes/catalog/entries/company-websiteurl-email-1.d.ts +206 -0
- package/dist/pipes/catalog/entries/contact-create-resent-1.d.ts +218 -0
- package/dist/pipes/catalog/entries/deprecated/company-identity-1.d.ts +235 -0
- package/dist/pipes/catalog/entries/deprecated/company-overview-1.d.ts +288 -0
- package/dist/pipes/catalog/entries/deprecated/people-email-validate-zerobounce-1.d.ts +203 -0
- package/dist/pipes/catalog/entries/deprecated/people-mobile-number-professional-profile-waterfall-1.d.ts +253 -0
- package/dist/pipes/catalog/entries/deprecated/people-mobile-number-work-email-waterfall-1.d.ts +237 -0
- package/dist/pipes/catalog/entries/deprecated/people-professionalprofile-waterfall-1.d.ts +241 -0
- package/dist/pipes/catalog/entries/deprecated/people-professionalprofileurl-email-waterfall-1.d.ts +242 -0
- package/dist/pipes/catalog/entries/deprecated/people-professionalprofileurl-name-1.d.ts +216 -0
- package/dist/pipes/catalog/entries/deprecated/people-validate-email-zero-bounce-1.d.ts +212 -0
- package/dist/pipes/catalog/entries/email-send-gmail.d.ts +224 -0
- package/dist/pipes/catalog/entries/email-send-resend-1.d.ts +227 -0
- package/dist/pipes/catalog/entries/email-write-1.d.ts +260 -0
- package/dist/pipes/catalog/entries/fields-merge-1.d.ts +187 -0
- package/dist/pipes/catalog/entries/json-extract-1.d.ts +240 -0
- package/dist/pipes/catalog/entries/message-send-slack-1.d.ts +206 -0
- package/dist/pipes/catalog/entries/message-write-1.d.ts +226 -0
- package/dist/pipes/catalog/entries/people-email-iswork-1.d.ts +207 -0
- package/dist/pipes/catalog/entries/people-email-validate-million-1.d.ts +212 -0
- package/dist/pipes/catalog/entries/people-email-validate-zerobounce-2.d.ts +212 -0
- package/dist/pipes/catalog/entries/people-name-join-1.d.ts +224 -0
- package/dist/pipes/catalog/entries/people-name-split-1.d.ts +220 -0
- package/dist/pipes/catalog/entries/people-personalemail-profile-waterfall-1.d.ts +262 -0
- package/dist/pipes/catalog/entries/people-phone-profile-waterfall-1.d.ts +266 -0
- package/dist/pipes/catalog/entries/people-phone-workemail-waterfall-1.d.ts +234 -0
- package/dist/pipes/catalog/entries/people-profile-waterfall-1.d.ts +254 -0
- package/dist/pipes/catalog/entries/people-profileurl-email-waterfall-1.d.ts +239 -0
- package/dist/pipes/catalog/entries/people-profileurl-name-1.d.ts +213 -0
- package/dist/pipes/catalog/entries/people-workemail-waterfall-1.d.ts +279 -0
- package/dist/pipes/catalog/entries/prompt-run-1.d.ts +217 -0
- package/dist/pipes/catalog/entries/sheet-append-1.d.ts +195 -0
- package/dist/pipes/catalog/entries/sheet-expandappend-1.d.ts +207 -0
- package/dist/pipes/catalog/entries/template-fill-1.d.ts +183 -0
- package/dist/pipes/catalog/entries/website-extract-firecrawl-1.d.ts +214 -0
- package/dist/pipes/catalog/entries/website-maplinks-firecrawl-1.d.ts +225 -0
- package/dist/pipes/catalog/entries/website-scrape-firecrawl-1.d.ts +227 -0
- package/dist/pipes/catalog/entries/website-scrapelist-firecrawl-1.d.ts +216 -0
- package/dist/pipes/catalog/pipe.d.ts +1866 -0
- package/dist/pipes/catalog/pipes-catalog.d.ts +15435 -0
- package/dist/pipes/catalog/types.d.ts +109 -0
- package/dist/pipes/catalog/utils/find-fields-in-ctx.d.ts +11 -0
- package/dist/pipes/catalog/utils/get-pipe-hash-key.d.ts +4 -0
- package/dist/pipes/catalog/utils/get-pipe-instances.d.ts +6 -0
- package/dist/pipes/catalog/utils/get-provider-billable-operation.d.ts +6 -0
- package/dist/pipes/catalog/utils/index.d.ts +389 -0
- package/dist/pipes/catalog/utils/lazy-property-resolve.d.ts +3 -0
- package/dist/pipes/field-annotations/field-annotations.d.ts +12 -0
- package/dist/pipes/pipes-validator/pipes-validator-utils.d.ts +15 -0
- package/dist/pipes/pipes-validator/pipes-validator.conditions.test.d.ts +1 -0
- package/dist/pipes/pipes-validator/pipes-validator.d.ts +15 -0
- package/dist/pipes/pipes-validator/transform-into-response.d.ts +18 -0
- package/dist/pipes/providers/provider-catalog.d.ts +242 -0
- package/dist/pipes/providers/provider-utils.d.ts +230 -0
- package/dist/pipes/utils/build-dependency-graph.d.ts +15 -0
- package/dist/pipes/utils/clean-payload.d.ts +2 -0
- package/dist/pipes/utils/clean-record-value.d.ts +2 -0
- package/dist/pipes/utils/config-defaults.d.ts +1 -0
- package/dist/pipes/utils/errors.d.ts +219 -0
- package/dist/pipes/utils/get-json-values.d.ts +1 -0
- package/dist/pipes/utils/helpers-widgets.d.ts +17 -0
- package/dist/pipes/utils/helpers.d.ts +13 -0
- package/dist/pipes/utils/input-groups-satisfied.d.ts +13 -0
- package/dist/pipes/utils/parse-prompt-tags.d.ts +41 -0
- package/dist/pipes/utils/pipes-utils.d.ts +382 -0
- package/dist/pipes/utils/schemas-primitives.d.ts +1710 -0
- package/dist/pipes/utils/types.d.ts +5 -0
- package/dist/searches/catalog/entries/companies-profiles-exa-1.d.ts +159 -0
- package/dist/searches/catalog/entries/companies-profiles-icypeas-1.d.ts +265 -0
- package/dist/searches/catalog/entries/deprecated/people-profiles-clado-1.d.ts +162 -0
- package/dist/searches/catalog/entries/people-employees-leadmagic-1.d.ts +135 -0
- package/dist/searches/catalog/entries/people-profiles-clado-2.d.ts +165 -0
- package/dist/searches/catalog/entries/people-profiles-exa-1.d.ts +159 -0
- package/dist/searches/catalog/entries/people-profiles-icypeas-1.d.ts +301 -0
- package/dist/searches/catalog/search.d.ts +26 -0
- package/dist/searches/catalog/searches-catalog.d.ts +2925 -0
- package/dist/searches/catalog/types.d.ts +32 -0
- package/dist/searches/catalog/utils/index.d.ts +1 -0
- package/dist/searches/errors.d.ts +11 -0
- package/dist/searches/index.d.ts +751 -0
- package/dist/searches/schemas.d.ts +12 -0
- package/dist/searches/searches-validator.d.ts +5 -0
- package/dist/searches/types.d.ts +17 -0
- package/dist/searches/utils/get-search-instances.d.ts +3 -0
- package/dist/searches/utils/index.d.ts +2 -0
- package/dist/searches/utils/is-filters-empty.d.ts +1 -0
- package/dist/utils/catalog-tags.d.ts +25 -0
- package/dist/utils/catalog-utils.d.ts +11 -0
- package/dist/utils/clean-object.d.ts +1 -0
- package/dist/utils/clean-url.d.ts +24 -0
- package/dist/utils/connection-id.d.ts +8 -0
- package/dist/utils/hasher.d.ts +8 -0
- package/dist/utils/icons.d.ts +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/json-schema-utils.d.ts +3 -0
- package/dist/utils/pixelart.d.ts +13 -0
- package/dist/utils/schemas.d.ts +113 -0
- package/dist/utils/types.d.ts +4 -0
- package/package.json +69 -0
|
@@ -0,0 +1,227 @@
|
|
|
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<"email:send:resend@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
|
+
from: z.ZodString;
|
|
57
|
+
reply_to: z.ZodDefault<z.ZodString>;
|
|
58
|
+
input_fields: z.ZodOptional<z.ZodObject<{
|
|
59
|
+
email: z.ZodDefault<z.ZodObject<{
|
|
60
|
+
alias: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>;
|
|
62
|
+
email_body: z.ZodDefault<z.ZodObject<{
|
|
63
|
+
alias: z.ZodString;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
email_subject: z.ZodDefault<z.ZodObject<{
|
|
66
|
+
alias: z.ZodString;
|
|
67
|
+
}, z.core.$strip>>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
69
|
+
output_fields: z.ZodOptional<z.ZodObject<{
|
|
70
|
+
resend_email_success: z.ZodDefault<z.ZodObject<{
|
|
71
|
+
alias: z.ZodDefault<z.ZodString>;
|
|
72
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
73
|
+
}, z.core.$strip>>;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
type Payload = z.infer<typeof PayloadSchema>;
|
|
78
|
+
declare class PipeClass extends Pipe<Payload> {
|
|
79
|
+
pipeId: PipeId;
|
|
80
|
+
payload: Payload;
|
|
81
|
+
payloadSchema: ZodType;
|
|
82
|
+
billableOperations: {
|
|
83
|
+
readonly "send-email-resend": {
|
|
84
|
+
readonly allowManagedConnection: false;
|
|
85
|
+
readonly provider: "resend";
|
|
86
|
+
readonly credits: null;
|
|
87
|
+
readonly mode: null;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
constructor(payload: Payload);
|
|
91
|
+
getProviderNames(): ProviderName[];
|
|
92
|
+
estimateBillableOperations(): (keyof typeof this.billableOperations)[];
|
|
93
|
+
getInputGroups(): InputGroup[];
|
|
94
|
+
getRawOutputFields(): Record<string, PipeOutputField>;
|
|
95
|
+
getConnectionsRequirements(): {
|
|
96
|
+
provider: "resend";
|
|
97
|
+
rateLimitRatio: number;
|
|
98
|
+
rateLimitOperation: "resend_generic";
|
|
99
|
+
allowManagedConnection: false;
|
|
100
|
+
}[];
|
|
101
|
+
}
|
|
102
|
+
export declare const ActionSendMailResend1PipeClass: typeof PipeClass;
|
|
103
|
+
export declare const ActionSendMailResend1PayloadSchema: z.ZodObject<{
|
|
104
|
+
pipe_id: z.ZodLiteral<"email:send:resend@1">;
|
|
105
|
+
connector: z.ZodObject<{
|
|
106
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
107
|
+
first: "first";
|
|
108
|
+
}>>;
|
|
109
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
110
|
+
type: z.ZodLiteral<"vault">;
|
|
111
|
+
connection: z.ZodString;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
trigger: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
115
|
+
action: z.ZodEnum<{
|
|
116
|
+
run: "run";
|
|
117
|
+
}>;
|
|
118
|
+
when: z.ZodObject<{
|
|
119
|
+
logic: z.ZodEnum<{
|
|
120
|
+
and: "and";
|
|
121
|
+
or: "or";
|
|
122
|
+
}>;
|
|
123
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
124
|
+
property: z.ZodLiteral<"value">;
|
|
125
|
+
field_name: z.ZodString;
|
|
126
|
+
operator: z.ZodEnum<{
|
|
127
|
+
eq: "eq";
|
|
128
|
+
neq: "neq";
|
|
129
|
+
gt: "gt";
|
|
130
|
+
gte: "gte";
|
|
131
|
+
lt: "lt";
|
|
132
|
+
lte: "lte";
|
|
133
|
+
contains: "contains";
|
|
134
|
+
}>;
|
|
135
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>;
|
|
136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
137
|
+
property: z.ZodLiteral<"status">;
|
|
138
|
+
field_name: z.ZodString;
|
|
139
|
+
operator: z.ZodEnum<{
|
|
140
|
+
eq: "eq";
|
|
141
|
+
neq: "neq";
|
|
142
|
+
}>;
|
|
143
|
+
value: z.ZodEnum<{
|
|
144
|
+
completed: "completed";
|
|
145
|
+
failed: "failed";
|
|
146
|
+
no_result: "no_result";
|
|
147
|
+
skipped: "skipped";
|
|
148
|
+
}>;
|
|
149
|
+
}, z.core.$strip>], "property">>;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
}, z.core.$strip>>>;
|
|
152
|
+
config: z.ZodObject<{
|
|
153
|
+
from: z.ZodString;
|
|
154
|
+
reply_to: z.ZodDefault<z.ZodString>;
|
|
155
|
+
input_fields: z.ZodOptional<z.ZodObject<{
|
|
156
|
+
email: z.ZodDefault<z.ZodObject<{
|
|
157
|
+
alias: z.ZodString;
|
|
158
|
+
}, z.core.$strip>>;
|
|
159
|
+
email_body: z.ZodDefault<z.ZodObject<{
|
|
160
|
+
alias: z.ZodString;
|
|
161
|
+
}, z.core.$strip>>;
|
|
162
|
+
email_subject: z.ZodDefault<z.ZodObject<{
|
|
163
|
+
alias: z.ZodString;
|
|
164
|
+
}, z.core.$strip>>;
|
|
165
|
+
}, z.core.$strip>>;
|
|
166
|
+
output_fields: z.ZodOptional<z.ZodObject<{
|
|
167
|
+
resend_email_success: z.ZodDefault<z.ZodObject<{
|
|
168
|
+
alias: z.ZodDefault<z.ZodString>;
|
|
169
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
170
|
+
}, z.core.$strip>>;
|
|
171
|
+
}, z.core.$strip>>;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
export declare const ActionSendMailResend1Entry: {
|
|
175
|
+
readonly pipeId: "email:send:resend@1";
|
|
176
|
+
readonly basePipe: string;
|
|
177
|
+
readonly label: "Send email with Resend";
|
|
178
|
+
readonly executionMode: "single";
|
|
179
|
+
readonly categories: ["actions"];
|
|
180
|
+
readonly lifecycle: null;
|
|
181
|
+
readonly description: "Send email with Resend";
|
|
182
|
+
readonly tags: ["Email"];
|
|
183
|
+
readonly docPath: "/resources/pipe-catalog/email:send:resend/1";
|
|
184
|
+
readonly billableOperations: {
|
|
185
|
+
readonly "send-email-resend": {
|
|
186
|
+
readonly allowManagedConnection: false;
|
|
187
|
+
readonly provider: "resend";
|
|
188
|
+
readonly credits: null;
|
|
189
|
+
readonly mode: null;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
readonly inputFieldMode: "static";
|
|
193
|
+
readonly outputFieldMode: "static";
|
|
194
|
+
readonly allowedUserConnectionProviders: ["resend"];
|
|
195
|
+
readonly defaultInputGroups: InputGroup[];
|
|
196
|
+
readonly managedProviders: [];
|
|
197
|
+
readonly defaultPayload: {
|
|
198
|
+
readonly pipe_id: "email:send:resend@1";
|
|
199
|
+
readonly connector: {
|
|
200
|
+
readonly strategy: "first";
|
|
201
|
+
readonly connections: [];
|
|
202
|
+
};
|
|
203
|
+
readonly trigger: null;
|
|
204
|
+
readonly config: {
|
|
205
|
+
readonly from: "";
|
|
206
|
+
readonly reply_to: "";
|
|
207
|
+
readonly input_fields: {
|
|
208
|
+
readonly email: {
|
|
209
|
+
readonly alias: "";
|
|
210
|
+
};
|
|
211
|
+
readonly email_body: {
|
|
212
|
+
readonly alias: "";
|
|
213
|
+
};
|
|
214
|
+
readonly email_subject: {
|
|
215
|
+
readonly alias: "";
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
readonly output_fields: {
|
|
219
|
+
readonly resend_email_success: {
|
|
220
|
+
readonly alias: "";
|
|
221
|
+
readonly enabled: true;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
export {};
|
|
@@ -0,0 +1,260 @@
|
|
|
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<"email: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
|
+
signature: z.ZodString;
|
|
67
|
+
persona: z.ZodEnum<{
|
|
68
|
+
[x: string]: string;
|
|
69
|
+
}> | z.ZodOptional<z.ZodEnum<{
|
|
70
|
+
[x: string]: string;
|
|
71
|
+
}>> | z.ZodDefault<z.ZodEnum<{
|
|
72
|
+
[x: string]: string;
|
|
73
|
+
}>> | z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
[x: string]: string;
|
|
75
|
+
}>>>;
|
|
76
|
+
output_fields: z.ZodOptional<z.ZodObject<{
|
|
77
|
+
email_subject: z.ZodDefault<z.ZodObject<{
|
|
78
|
+
alias: z.ZodDefault<z.ZodString>;
|
|
79
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
80
|
+
}, z.core.$strip>>;
|
|
81
|
+
email_body: z.ZodDefault<z.ZodObject<{
|
|
82
|
+
alias: z.ZodDefault<z.ZodString>;
|
|
83
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
}, z.core.$strip>>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
export type Payload = z.infer<typeof PayloadSchema>;
|
|
89
|
+
declare class PipeClass extends Pipe<Payload> {
|
|
90
|
+
pipeId: PipeId;
|
|
91
|
+
payload: Payload;
|
|
92
|
+
payloadSchema: ZodType;
|
|
93
|
+
billableOperations: {
|
|
94
|
+
readonly "gemini-flash-latest-write-email": {
|
|
95
|
+
readonly credits: 0.5;
|
|
96
|
+
readonly allowManagedConnection: true;
|
|
97
|
+
readonly provider: "gemini";
|
|
98
|
+
readonly mode: "always";
|
|
99
|
+
};
|
|
100
|
+
readonly "openai-gpt-latest-write-email": {
|
|
101
|
+
readonly credits: 1;
|
|
102
|
+
readonly allowManagedConnection: true;
|
|
103
|
+
readonly provider: "openai";
|
|
104
|
+
readonly mode: "always";
|
|
105
|
+
};
|
|
106
|
+
readonly "openai-gpt-mini-latest-write-email": {
|
|
107
|
+
readonly credits: 0.5;
|
|
108
|
+
readonly allowManagedConnection: true;
|
|
109
|
+
readonly provider: "openai";
|
|
110
|
+
readonly mode: "always";
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
constructor(payload: Payload);
|
|
114
|
+
getProviderNames(): ProviderName[];
|
|
115
|
+
estimateBillableOperations(): (keyof typeof this.billableOperations)[];
|
|
116
|
+
getInputGroups(): import("../types.js").InputGroup[];
|
|
117
|
+
getRawOutputFields(): Record<string, PipeOutputField>;
|
|
118
|
+
getConnectionsRequirements(): Array<PipeConnectionRequirement>;
|
|
119
|
+
}
|
|
120
|
+
export declare const EmailWrite1PipeClass: typeof PipeClass;
|
|
121
|
+
export declare const EmailWrite1PayloadSchema: z.ZodObject<{
|
|
122
|
+
pipe_id: z.ZodLiteral<"email:write@1">;
|
|
123
|
+
connector: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
124
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
125
|
+
first: "first";
|
|
126
|
+
}>>;
|
|
127
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
128
|
+
type: z.ZodLiteral<"vault">;
|
|
129
|
+
connection: z.ZodString;
|
|
130
|
+
}, z.core.$strip>>;
|
|
131
|
+
}, z.core.$strip>>>;
|
|
132
|
+
trigger: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
133
|
+
action: z.ZodEnum<{
|
|
134
|
+
run: "run";
|
|
135
|
+
}>;
|
|
136
|
+
when: z.ZodObject<{
|
|
137
|
+
logic: z.ZodEnum<{
|
|
138
|
+
and: "and";
|
|
139
|
+
or: "or";
|
|
140
|
+
}>;
|
|
141
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
142
|
+
property: z.ZodLiteral<"value">;
|
|
143
|
+
field_name: z.ZodString;
|
|
144
|
+
operator: z.ZodEnum<{
|
|
145
|
+
eq: "eq";
|
|
146
|
+
neq: "neq";
|
|
147
|
+
gt: "gt";
|
|
148
|
+
gte: "gte";
|
|
149
|
+
lt: "lt";
|
|
150
|
+
lte: "lte";
|
|
151
|
+
contains: "contains";
|
|
152
|
+
}>;
|
|
153
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>;
|
|
154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
155
|
+
property: z.ZodLiteral<"status">;
|
|
156
|
+
field_name: z.ZodString;
|
|
157
|
+
operator: z.ZodEnum<{
|
|
158
|
+
eq: "eq";
|
|
159
|
+
neq: "neq";
|
|
160
|
+
}>;
|
|
161
|
+
value: z.ZodEnum<{
|
|
162
|
+
completed: "completed";
|
|
163
|
+
failed: "failed";
|
|
164
|
+
no_result: "no_result";
|
|
165
|
+
skipped: "skipped";
|
|
166
|
+
}>;
|
|
167
|
+
}, z.core.$strip>], "property">>;
|
|
168
|
+
}, z.core.$strip>;
|
|
169
|
+
}, z.core.$strip>>>;
|
|
170
|
+
config: z.ZodObject<{
|
|
171
|
+
template: z.ZodString;
|
|
172
|
+
model: z.ZodEnum<{
|
|
173
|
+
[x: string]: string;
|
|
174
|
+
}> | z.ZodOptional<z.ZodEnum<{
|
|
175
|
+
[x: string]: string;
|
|
176
|
+
}>> | z.ZodDefault<z.ZodEnum<{
|
|
177
|
+
[x: string]: string;
|
|
178
|
+
}>> | z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
179
|
+
[x: string]: string;
|
|
180
|
+
}>>>;
|
|
181
|
+
signature: z.ZodString;
|
|
182
|
+
persona: z.ZodEnum<{
|
|
183
|
+
[x: string]: string;
|
|
184
|
+
}> | z.ZodOptional<z.ZodEnum<{
|
|
185
|
+
[x: string]: string;
|
|
186
|
+
}>> | z.ZodDefault<z.ZodEnum<{
|
|
187
|
+
[x: string]: string;
|
|
188
|
+
}>> | z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
189
|
+
[x: string]: string;
|
|
190
|
+
}>>>;
|
|
191
|
+
output_fields: z.ZodOptional<z.ZodObject<{
|
|
192
|
+
email_subject: z.ZodDefault<z.ZodObject<{
|
|
193
|
+
alias: z.ZodDefault<z.ZodString>;
|
|
194
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
email_body: z.ZodDefault<z.ZodObject<{
|
|
197
|
+
alias: z.ZodDefault<z.ZodString>;
|
|
198
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
199
|
+
}, z.core.$strip>>;
|
|
200
|
+
}, z.core.$strip>>;
|
|
201
|
+
}, z.core.$strip>;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
export declare const EmailWrite1Entry: {
|
|
204
|
+
readonly pipeId: "email:write@1";
|
|
205
|
+
readonly inputFieldMode: "config";
|
|
206
|
+
readonly outputFieldMode: "static";
|
|
207
|
+
readonly basePipe: string;
|
|
208
|
+
readonly label: "Mail writer";
|
|
209
|
+
readonly executionMode: "single";
|
|
210
|
+
readonly categories: ["tools"];
|
|
211
|
+
readonly lifecycle: null;
|
|
212
|
+
readonly description: "An AI agent specialized in composing emails.";
|
|
213
|
+
readonly tags: ["AI"];
|
|
214
|
+
readonly docPath: "/resources/pipe-catalog/email:write/1";
|
|
215
|
+
readonly defaultInputGroups: [];
|
|
216
|
+
readonly billableOperations: {
|
|
217
|
+
readonly "gemini-flash-latest-write-email": {
|
|
218
|
+
readonly credits: 0.5;
|
|
219
|
+
readonly allowManagedConnection: true;
|
|
220
|
+
readonly provider: "gemini";
|
|
221
|
+
readonly mode: "always";
|
|
222
|
+
};
|
|
223
|
+
readonly "openai-gpt-latest-write-email": {
|
|
224
|
+
readonly credits: 1;
|
|
225
|
+
readonly allowManagedConnection: true;
|
|
226
|
+
readonly provider: "openai";
|
|
227
|
+
readonly mode: "always";
|
|
228
|
+
};
|
|
229
|
+
readonly "openai-gpt-mini-latest-write-email": {
|
|
230
|
+
readonly credits: 0.5;
|
|
231
|
+
readonly allowManagedConnection: true;
|
|
232
|
+
readonly provider: "openai";
|
|
233
|
+
readonly mode: "always";
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
readonly allowedUserConnectionProviders: ["gemini", "openai"];
|
|
237
|
+
readonly managedProviders: ["gemini", "openai"];
|
|
238
|
+
readonly defaultPayload: {
|
|
239
|
+
readonly pipe_id: "email:write@1";
|
|
240
|
+
readonly connector: null;
|
|
241
|
+
readonly trigger: null;
|
|
242
|
+
readonly config: {
|
|
243
|
+
readonly template: "";
|
|
244
|
+
readonly output_fields: {
|
|
245
|
+
readonly email_body: {
|
|
246
|
+
readonly alias: "";
|
|
247
|
+
readonly enabled: true;
|
|
248
|
+
};
|
|
249
|
+
readonly email_subject: {
|
|
250
|
+
readonly alias: "";
|
|
251
|
+
readonly enabled: true;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
readonly persona: "sales";
|
|
255
|
+
readonly model: "openai-gpt-latest";
|
|
256
|
+
readonly signature: "";
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
export {};
|
|
@@ -0,0 +1,187 @@
|
|
|
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<"fields:merge@1">;
|
|
8
|
+
connector: z.ZodNullable<z.ZodOptional<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
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
57
|
+
field_name: z.ZodString;
|
|
58
|
+
}, z.core.$strip>>;
|
|
59
|
+
output_fields: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
merge_result: z.ZodDefault<z.ZodObject<{
|
|
61
|
+
alias: z.ZodDefault<z.ZodString>;
|
|
62
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
63
|
+
}, z.core.$strip>>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
export type Payload = z.infer<typeof PayloadSchema>;
|
|
68
|
+
declare class PipeClass extends Pipe<Payload> {
|
|
69
|
+
pipeId: PipeId;
|
|
70
|
+
payload: Payload;
|
|
71
|
+
payloadSchema: ZodType;
|
|
72
|
+
billableOperations: {
|
|
73
|
+
readonly "pipe0-field-or": {
|
|
74
|
+
readonly credits: 0;
|
|
75
|
+
readonly allowManagedConnection: true;
|
|
76
|
+
readonly provider: "pipe0";
|
|
77
|
+
readonly mode: "always";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
constructor(payload: Payload);
|
|
81
|
+
getProviderNames(): ProviderName[];
|
|
82
|
+
estimateBillableOperations(): (keyof typeof this.billableOperations)[];
|
|
83
|
+
getInputGroups(): InputGroup[];
|
|
84
|
+
getRawOutputFields(): Record<string, PipeOutputField>;
|
|
85
|
+
getConnectionsRequirements(): Array<PipeConnectionRequirement>;
|
|
86
|
+
}
|
|
87
|
+
export declare const FieldsOrPipeClass1: typeof PipeClass;
|
|
88
|
+
export declare const FieldsOrPayloadSchema1: z.ZodObject<{
|
|
89
|
+
pipe_id: z.ZodLiteral<"fields:merge@1">;
|
|
90
|
+
connector: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
91
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
92
|
+
first: "first";
|
|
93
|
+
}>>;
|
|
94
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
95
|
+
type: z.ZodLiteral<"vault">;
|
|
96
|
+
connection: z.ZodString;
|
|
97
|
+
}, z.core.$strip>>;
|
|
98
|
+
}, z.core.$strip>>>;
|
|
99
|
+
trigger: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
100
|
+
action: z.ZodEnum<{
|
|
101
|
+
run: "run";
|
|
102
|
+
}>;
|
|
103
|
+
when: z.ZodObject<{
|
|
104
|
+
logic: z.ZodEnum<{
|
|
105
|
+
and: "and";
|
|
106
|
+
or: "or";
|
|
107
|
+
}>;
|
|
108
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
109
|
+
property: z.ZodLiteral<"value">;
|
|
110
|
+
field_name: z.ZodString;
|
|
111
|
+
operator: z.ZodEnum<{
|
|
112
|
+
eq: "eq";
|
|
113
|
+
neq: "neq";
|
|
114
|
+
gt: "gt";
|
|
115
|
+
gte: "gte";
|
|
116
|
+
lt: "lt";
|
|
117
|
+
lte: "lte";
|
|
118
|
+
contains: "contains";
|
|
119
|
+
}>;
|
|
120
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>;
|
|
121
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
122
|
+
property: z.ZodLiteral<"status">;
|
|
123
|
+
field_name: z.ZodString;
|
|
124
|
+
operator: z.ZodEnum<{
|
|
125
|
+
eq: "eq";
|
|
126
|
+
neq: "neq";
|
|
127
|
+
}>;
|
|
128
|
+
value: z.ZodEnum<{
|
|
129
|
+
completed: "completed";
|
|
130
|
+
failed: "failed";
|
|
131
|
+
no_result: "no_result";
|
|
132
|
+
skipped: "skipped";
|
|
133
|
+
}>;
|
|
134
|
+
}, z.core.$strip>], "property">>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
}, z.core.$strip>>>;
|
|
137
|
+
config: z.ZodObject<{
|
|
138
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
139
|
+
field_name: z.ZodString;
|
|
140
|
+
}, z.core.$strip>>;
|
|
141
|
+
output_fields: z.ZodOptional<z.ZodObject<{
|
|
142
|
+
merge_result: z.ZodDefault<z.ZodObject<{
|
|
143
|
+
alias: z.ZodDefault<z.ZodString>;
|
|
144
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
145
|
+
}, z.core.$strip>>;
|
|
146
|
+
}, z.core.$strip>>;
|
|
147
|
+
}, z.core.$strip>;
|
|
148
|
+
}, z.core.$strip>;
|
|
149
|
+
export declare const FieldsOrEntry1: {
|
|
150
|
+
readonly pipeId: "fields:merge@1";
|
|
151
|
+
readonly inputFieldMode: "config";
|
|
152
|
+
readonly outputFieldMode: "static";
|
|
153
|
+
readonly basePipe: string;
|
|
154
|
+
readonly label: "Merge fields";
|
|
155
|
+
readonly executionMode: "single";
|
|
156
|
+
readonly categories: ["tools"];
|
|
157
|
+
readonly lifecycle: null;
|
|
158
|
+
readonly description: "Join multiple fields into one fields. The final result will be the first defined field.";
|
|
159
|
+
readonly tags: ["Fields", "Logic"];
|
|
160
|
+
readonly docPath: "/resources/pipe-catalog/fields:merge/1";
|
|
161
|
+
readonly defaultInputGroups: [];
|
|
162
|
+
readonly billableOperations: {
|
|
163
|
+
readonly "pipe0-field-or": {
|
|
164
|
+
readonly credits: 0;
|
|
165
|
+
readonly allowManagedConnection: true;
|
|
166
|
+
readonly provider: "pipe0";
|
|
167
|
+
readonly mode: "always";
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
readonly allowedUserConnectionProviders: [];
|
|
171
|
+
readonly managedProviders: ["pipe0"];
|
|
172
|
+
readonly defaultPayload: {
|
|
173
|
+
readonly pipe_id: "fields:merge@1";
|
|
174
|
+
readonly connector: null;
|
|
175
|
+
readonly trigger: null;
|
|
176
|
+
readonly config: {
|
|
177
|
+
readonly sources: [];
|
|
178
|
+
readonly output_fields: {
|
|
179
|
+
readonly merge_result: {
|
|
180
|
+
readonly alias: "";
|
|
181
|
+
readonly enabled: true;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
export {};
|