@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,518 @@
|
|
|
1
|
+
import { z, ZodType } from "zod";
|
|
2
|
+
import type { PipePayload } from "../pipes/catalog/pipes-catalog.js";
|
|
3
|
+
import type { PipeOutputField, ValidationContext } from "../pipes/catalog/types.js";
|
|
4
|
+
import { type PipesFieldDefinition, type PipesFieldDefinitionWithName, type RecordFieldFormat, type RecordFieldType } from "../pipes/utils/schemas-primitives.js";
|
|
5
|
+
import type { AppJsonSchema } from "../pipes/utils/types.js";
|
|
6
|
+
import type { IconKey } from "../utils/icons.js";
|
|
7
|
+
import type { ProviderName } from "../utils/schemas.js";
|
|
8
|
+
export declare function getJsonMetaForFieldDef(validationContext: ValidationContext, fieldName: string, def: PipesFieldDefinition): PipeOutputField["jsonMeta"] | undefined;
|
|
9
|
+
type PipeMetadataFactory = (_ctx: {
|
|
10
|
+
validationContext: any;
|
|
11
|
+
pipeEntry: any;
|
|
12
|
+
pipePayload: PipePayload;
|
|
13
|
+
userConnections: {
|
|
14
|
+
public_id: string;
|
|
15
|
+
provider: string;
|
|
16
|
+
}[];
|
|
17
|
+
hash: string;
|
|
18
|
+
}) => GeneratedFormElement;
|
|
19
|
+
export declare const pipesPayloadRegistry: z.core.$ZodRegistry<GeneratedFormElement | PipeMetadataFactory, z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
20
|
+
type PipesPayloadRegistry = typeof pipesPayloadRegistry;
|
|
21
|
+
export declare const searchesPayloadRegistry: z.core.$ZodRegistry<GeneratedFormElement, z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
22
|
+
type SearchesPayloadRegistry = typeof searchesPayloadRegistry;
|
|
23
|
+
type Registry = PipesPayloadRegistry | SearchesPayloadRegistry;
|
|
24
|
+
export declare const isIProvidersField: (metadata: GeneratedFormElement) => metadata is ProvidersInputMetadata;
|
|
25
|
+
export declare const isOperationInputField: (metadata: GeneratedFormElement) => metadata is MergeSourcesInputMetadata;
|
|
26
|
+
export declare const isJsonExtractionField: (metadata: GeneratedFormElement) => metadata is JSONExtractionMetadata;
|
|
27
|
+
export declare const isPipeTriggerField: (metadata: GeneratedFormElement) => metadata is PipesTriggerMetadata;
|
|
28
|
+
export declare const isConnectorField: (metadata: GeneratedFormElement) => metadata is ConnectorMetadata;
|
|
29
|
+
export declare const isIncludeExcludeField: (metadata: GeneratedFormElement) => metadata is IncludeExcludeMetadata;
|
|
30
|
+
export declare const isIncludeExcludeSelectField: (metadata: GeneratedFormElement) => metadata is IncludeExcludeSelectMetadata;
|
|
31
|
+
export declare const isRangeField: (metadata: GeneratedFormElement) => metadata is RangeMetadata;
|
|
32
|
+
export declare const isDateRangeField: (metadata: GeneratedFormElement) => metadata is DateRangeMetadata;
|
|
33
|
+
export declare const isBooleanField: (metadata: GeneratedFormElement) => metadata is BooleanMetadata;
|
|
34
|
+
export declare const isTextField: (metadata: GeneratedFormElement) => metadata is TextMetadata;
|
|
35
|
+
export declare const isTemplateInputField: (metadata: GeneratedFormElement) => metadata is TemplateInputMetadata;
|
|
36
|
+
export declare const isOutputField: (metadata: GeneratedFormElement) => metadata is OutputFieldMetadata;
|
|
37
|
+
export declare const isTextareaField: (metadata: GeneratedFormElement) => metadata is TextareaMetadata;
|
|
38
|
+
export declare const isPromptField: (metadata: GeneratedFormElement) => metadata is PromptMetadata;
|
|
39
|
+
export declare const isSelectField: (metadata: GeneratedFormElement) => metadata is SelectMetadata;
|
|
40
|
+
export declare const isMultiSelectField: (metadata: GeneratedFormElement) => metadata is MultiSelectMetadata;
|
|
41
|
+
export declare const isIntegerField: (metadata: GeneratedFormElement) => metadata is IntegerMetadata;
|
|
42
|
+
export declare const isNumberField: (metadata: GeneratedFormElement) => metadata is NumberMetadata;
|
|
43
|
+
export declare const isJsonSchemaInput: (metadata: GeneratedFormElement) => metadata is JSONSchemaMetadata;
|
|
44
|
+
export type SectionKeys = "connector" | "general" | "conditions" | "config.extractions" | "config.input_fields" | "config.output_fields" | "config.filters";
|
|
45
|
+
export interface ConfigField {
|
|
46
|
+
path: string;
|
|
47
|
+
groupPath: string;
|
|
48
|
+
sectionKey: SectionKeys;
|
|
49
|
+
label?: string;
|
|
50
|
+
description?: string;
|
|
51
|
+
placeholder?: string;
|
|
52
|
+
order?: number;
|
|
53
|
+
}
|
|
54
|
+
export interface IncludeExcludeMetadata extends ConfigField {
|
|
55
|
+
type: "include_exclude_input";
|
|
56
|
+
includeLabel: string;
|
|
57
|
+
excludeLabel: string;
|
|
58
|
+
suggestions?: {
|
|
59
|
+
value: string;
|
|
60
|
+
label: string;
|
|
61
|
+
}[];
|
|
62
|
+
maxItems?: number;
|
|
63
|
+
}
|
|
64
|
+
export interface JSONExtractionMetadata extends ConfigField {
|
|
65
|
+
type: "json_extraction_input";
|
|
66
|
+
fields: {
|
|
67
|
+
fieldName: string;
|
|
68
|
+
fieldLabel: string;
|
|
69
|
+
schema: AppJsonSchema | null;
|
|
70
|
+
exampleValue: any | null;
|
|
71
|
+
}[];
|
|
72
|
+
}
|
|
73
|
+
export interface PipesTriggerMetadata extends ConfigField {
|
|
74
|
+
type: "pipes_trigger_input";
|
|
75
|
+
fields: {
|
|
76
|
+
fieldName: string;
|
|
77
|
+
fieldLabel: string;
|
|
78
|
+
type: RecordFieldType;
|
|
79
|
+
format: RecordFieldFormat;
|
|
80
|
+
}[];
|
|
81
|
+
}
|
|
82
|
+
export interface ConnectorMetadata extends ConfigField {
|
|
83
|
+
type: "connector_input";
|
|
84
|
+
connectorMode: "required" | "optional" | "disabled";
|
|
85
|
+
filteredConnections: {
|
|
86
|
+
connection: string;
|
|
87
|
+
}[];
|
|
88
|
+
}
|
|
89
|
+
export interface ProvidersInputMetadata extends ConfigField {
|
|
90
|
+
type: "providers_input";
|
|
91
|
+
availableProviders: ProviderName[];
|
|
92
|
+
defaultProviders: {
|
|
93
|
+
provider: ProviderName;
|
|
94
|
+
}[];
|
|
95
|
+
maxItems?: number;
|
|
96
|
+
}
|
|
97
|
+
export interface MergeSourcesInputMetadata extends ConfigField {
|
|
98
|
+
type: "merge_sources_input";
|
|
99
|
+
minItems?: number;
|
|
100
|
+
maxItems?: number;
|
|
101
|
+
options: Array<{
|
|
102
|
+
value: string;
|
|
103
|
+
label: string;
|
|
104
|
+
type: RecordFieldType;
|
|
105
|
+
}>;
|
|
106
|
+
}
|
|
107
|
+
export interface OutputFieldDefinitionMetadata extends ConfigField {
|
|
108
|
+
type: "output_field_definition_input";
|
|
109
|
+
}
|
|
110
|
+
export interface IncludeExcludeSelectMetadata extends ConfigField {
|
|
111
|
+
type: "include_exclude_select_input";
|
|
112
|
+
includeLabel: string;
|
|
113
|
+
excludeLabel: string;
|
|
114
|
+
options: {
|
|
115
|
+
value: string;
|
|
116
|
+
label: string;
|
|
117
|
+
}[];
|
|
118
|
+
maxItems?: number;
|
|
119
|
+
}
|
|
120
|
+
export interface RangeMetadata extends ConfigField {
|
|
121
|
+
type: "range_input";
|
|
122
|
+
min?: number;
|
|
123
|
+
max?: number;
|
|
124
|
+
step?: number;
|
|
125
|
+
unit?: string;
|
|
126
|
+
}
|
|
127
|
+
export interface DateRangeMetadata extends ConfigField {
|
|
128
|
+
type: "date_range_input";
|
|
129
|
+
minDate?: string;
|
|
130
|
+
maxDate?: string;
|
|
131
|
+
format?: string;
|
|
132
|
+
}
|
|
133
|
+
export interface BooleanMetadata extends ConfigField {
|
|
134
|
+
type: "boolean_input";
|
|
135
|
+
defaultValue: boolean;
|
|
136
|
+
}
|
|
137
|
+
export interface TextMetadata extends ConfigField {
|
|
138
|
+
type: "text_input";
|
|
139
|
+
inputType: "text" | "email";
|
|
140
|
+
maxLength?: number;
|
|
141
|
+
minLength?: number;
|
|
142
|
+
pattern?: string;
|
|
143
|
+
}
|
|
144
|
+
export interface JSONSchemaMetadata extends ConfigField {
|
|
145
|
+
type: "json_schema_input";
|
|
146
|
+
required: boolean;
|
|
147
|
+
allowEmpty: boolean;
|
|
148
|
+
}
|
|
149
|
+
export interface TextareaMetadata extends ConfigField {
|
|
150
|
+
type: "textarea_input";
|
|
151
|
+
maxLength?: number;
|
|
152
|
+
minLength?: number;
|
|
153
|
+
rows: number;
|
|
154
|
+
}
|
|
155
|
+
export type SupportedTags = ("input" | "output")[];
|
|
156
|
+
export interface PromptMetadata extends ConfigField {
|
|
157
|
+
type: "prompt_input";
|
|
158
|
+
supportedTags: SupportedTags;
|
|
159
|
+
inputFields: PipesFieldDefinitionWithName[];
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Why do templates exist when there is prompt with only "input" tags supported?
|
|
163
|
+
*
|
|
164
|
+
* This is because there's no way to disable the 'json_schema' key in the prompt schema.
|
|
165
|
+
* However, templates never have json schema references
|
|
166
|
+
*/
|
|
167
|
+
export interface TemplateInputMetadata extends ConfigField {
|
|
168
|
+
type: "template_input";
|
|
169
|
+
rows?: number;
|
|
170
|
+
required?: boolean;
|
|
171
|
+
inputFields: PipesFieldDefinitionWithName[];
|
|
172
|
+
}
|
|
173
|
+
export interface OutputFieldMetadata extends ConfigField {
|
|
174
|
+
type: "output_field_input";
|
|
175
|
+
path: `config.output_fields.${string}`;
|
|
176
|
+
maxLength?: number;
|
|
177
|
+
minLength?: number;
|
|
178
|
+
}
|
|
179
|
+
export interface IntegerMetadata extends ConfigField {
|
|
180
|
+
type: "int_input";
|
|
181
|
+
required: boolean;
|
|
182
|
+
max: number;
|
|
183
|
+
min: number;
|
|
184
|
+
}
|
|
185
|
+
export interface NumberMetadata extends ConfigField {
|
|
186
|
+
type: "number_input";
|
|
187
|
+
required: boolean;
|
|
188
|
+
max: number;
|
|
189
|
+
min: number;
|
|
190
|
+
}
|
|
191
|
+
interface SelectInputWidgets {
|
|
192
|
+
logo?: {
|
|
193
|
+
url: string;
|
|
194
|
+
};
|
|
195
|
+
icon?: {
|
|
196
|
+
key: IconKey;
|
|
197
|
+
};
|
|
198
|
+
pricing?: {
|
|
199
|
+
credits: number;
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
export interface SelectMetadata<O extends string = string> extends ConfigField {
|
|
203
|
+
type: "select_input";
|
|
204
|
+
defaultValue?: O;
|
|
205
|
+
options: Array<{
|
|
206
|
+
value: O;
|
|
207
|
+
label: string;
|
|
208
|
+
widgets?: SelectInputWidgets;
|
|
209
|
+
}>;
|
|
210
|
+
required: boolean;
|
|
211
|
+
}
|
|
212
|
+
export interface MultiSelectMetadata extends ConfigField {
|
|
213
|
+
type: "multi_select_input";
|
|
214
|
+
options: Array<{
|
|
215
|
+
value: string;
|
|
216
|
+
label: string;
|
|
217
|
+
}>;
|
|
218
|
+
required: boolean;
|
|
219
|
+
}
|
|
220
|
+
export interface FormSectionMetadata {
|
|
221
|
+
type: "form_section";
|
|
222
|
+
path: string;
|
|
223
|
+
label?: string;
|
|
224
|
+
description?: string;
|
|
225
|
+
[key: string]: unknown;
|
|
226
|
+
}
|
|
227
|
+
export type GeneratedFormElement = IncludeExcludeMetadata | IncludeExcludeSelectMetadata | RangeMetadata | DateRangeMetadata | BooleanMetadata | TextMetadata | SelectMetadata | IntegerMetadata | NumberMetadata | OutputFieldMetadata | TextareaMetadata | PromptMetadata | TemplateInputMetadata | ProvidersInputMetadata | JSONExtractionMetadata | PipesTriggerMetadata | ConnectorMetadata | OutputFieldMetadata | MergeSourcesInputMetadata | OutputFieldDefinitionMetadata | MultiSelectMetadata | JSONSchemaMetadata;
|
|
228
|
+
declare const includeExcludeInput: (metadata: Pick<IncludeExcludeMetadata, "maxItems" | "includeLabel" | "sectionKey" | "excludeLabel" | "path" | "suggestions" | "label" | "groupPath" | "placeholder" | "order" | "description">, registry: Registry) => z.ZodObject<{
|
|
229
|
+
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
230
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
231
|
+
}, z.core.$strip>;
|
|
232
|
+
export declare const pipesIncludedFieldsInput: () => z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
233
|
+
export declare const pipesJsonExtractionInput: () => z.ZodObject<{
|
|
234
|
+
field_name: z.ZodString;
|
|
235
|
+
extractions: z.ZodArray<z.ZodObject<{
|
|
236
|
+
path: z.ZodString;
|
|
237
|
+
output_field: z.ZodObject<{
|
|
238
|
+
name: z.ZodString;
|
|
239
|
+
format: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
240
|
+
email: "email";
|
|
241
|
+
address_line_1: "address_line_1";
|
|
242
|
+
zip_code: "zip_code";
|
|
243
|
+
profile_url: "profile_url";
|
|
244
|
+
phone: "phone";
|
|
245
|
+
website_url: "website_url";
|
|
246
|
+
int: "int";
|
|
247
|
+
date: "date";
|
|
248
|
+
json_object: "json_object";
|
|
249
|
+
json_list: "json_list";
|
|
250
|
+
json_list_string: "json_list_string";
|
|
251
|
+
url: "url";
|
|
252
|
+
datetime: "datetime";
|
|
253
|
+
currency: "currency";
|
|
254
|
+
markdown: "markdown";
|
|
255
|
+
text: "text";
|
|
256
|
+
decimal: "decimal";
|
|
257
|
+
percent: "percent";
|
|
258
|
+
}>>>;
|
|
259
|
+
label: z.ZodOptional<z.ZodString>;
|
|
260
|
+
type: z.ZodEnum<{
|
|
261
|
+
string: "string";
|
|
262
|
+
number: "number";
|
|
263
|
+
boolean: "boolean";
|
|
264
|
+
json: "json";
|
|
265
|
+
unknown: "unknown";
|
|
266
|
+
}>;
|
|
267
|
+
}, z.core.$strip>;
|
|
268
|
+
}, z.core.$strip>>;
|
|
269
|
+
}, z.core.$strip>;
|
|
270
|
+
declare const includeExcludeSelect: (metadata: Pick<IncludeExcludeSelectMetadata, "maxItems" | "includeLabel" | "excludeLabel" | "options" | "path" | "label" | "placeholder" | "order" | "sectionKey" | "groupPath" | "description">, registry: Registry) => z.ZodObject<{
|
|
271
|
+
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
272
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
273
|
+
}, z.core.$strip>;
|
|
274
|
+
declare const rangeInput: (metadata: Pick<RangeMetadata, "min" | "max" | "step" | "unit" | "path" | "label" | "sectionKey" | "placeholder" | "order" | "groupPath" | "description">, registry: Registry) => z.ZodObject<{
|
|
275
|
+
gt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
276
|
+
lt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
277
|
+
gte: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
278
|
+
lte: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
279
|
+
}, z.core.$strip>;
|
|
280
|
+
declare const dateRangeInput: (metadata: Pick<DateRangeMetadata, "minDate" | "maxDate" | "format" | "path" | "sectionKey" | "label" | "placeholder" | "order" | "groupPath" | "description">, registry: Registry) => z.ZodObject<{
|
|
281
|
+
gt: z.ZodOptional<z.ZodISODateTime>;
|
|
282
|
+
lt: z.ZodOptional<z.ZodISODateTime>;
|
|
283
|
+
gte: z.ZodOptional<z.ZodISODateTime>;
|
|
284
|
+
lte: z.ZodOptional<z.ZodISODateTime>;
|
|
285
|
+
}, z.core.$strip>;
|
|
286
|
+
/**
|
|
287
|
+
* Have default value here so we can show it in the docs.
|
|
288
|
+
*/
|
|
289
|
+
declare const booleanInput: (metadata: Pick<BooleanMetadata, "defaultValue" | "path" | "label" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodBoolean | z.ZodDefault<z.ZodBoolean>;
|
|
290
|
+
declare const textInput: (metadata: Pick<TextMetadata, "maxLength" | "minLength" | "inputType" | "pattern" | "path" | "label" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodString;
|
|
291
|
+
declare const textareaInput: (metadata: Pick<TextareaMetadata, "rows" | "maxLength" | "minLength" | "path" | "label" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodString;
|
|
292
|
+
declare const outputFieldInput: (metadata: {
|
|
293
|
+
fieldName: string;
|
|
294
|
+
}, registry: Registry) => z.ZodDefault<z.ZodObject<{
|
|
295
|
+
alias: z.ZodDefault<z.ZodString>;
|
|
296
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
297
|
+
}, z.core.$strip>>;
|
|
298
|
+
declare const integerInput: (metadata: Pick<IntegerMetadata, "max" | "min" | "path" | "required" | "label" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodCoercedNumber<unknown> | z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
299
|
+
declare const numberInput: (metadata: Pick<NumberMetadata, "max" | "min" | "required" | "path" | "label" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodCoercedNumber<unknown> | z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
300
|
+
declare const jsonSchemaInput: (metadata: Pick<JSONSchemaMetadata, "path" | "required" | "label" | "order" | "groupPath" | "sectionKey" | "description" | "allowEmpty">, registry: Registry) => z.ZodRecord<z.ZodString, z.ZodAny> | z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
301
|
+
type SelectInputMetadata = Pick<SelectMetadata, "options" | "path" | "required" | "label" | "placeholder" | "defaultValue" | "order" | "groupPath" | "sectionKey" | "description">;
|
|
302
|
+
declare const selectInput: <T extends SelectInputMetadata>(metadata: T, registry: Registry) => z.ZodEnum<{
|
|
303
|
+
[x: string]: string;
|
|
304
|
+
}> | z.ZodOptional<z.ZodEnum<{
|
|
305
|
+
[x: string]: string;
|
|
306
|
+
}>> | z.ZodDefault<z.ZodEnum<{
|
|
307
|
+
[x: string]: string;
|
|
308
|
+
}>> | z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
309
|
+
[x: string]: string;
|
|
310
|
+
}>>>;
|
|
311
|
+
declare const multiSelectInput: <T extends SelectInputMetadata>(metadata: T, registry: Registry) => z.ZodArray<z.ZodEnum<{
|
|
312
|
+
[x: string]: string;
|
|
313
|
+
}>> | z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
314
|
+
[x: string]: string;
|
|
315
|
+
}>>>;
|
|
316
|
+
export type FieldGroup = {
|
|
317
|
+
type: "group";
|
|
318
|
+
fields: GeneratedFormElement[];
|
|
319
|
+
groupPath: string;
|
|
320
|
+
defaultExpand?: boolean;
|
|
321
|
+
order?: number;
|
|
322
|
+
label?: string;
|
|
323
|
+
description?: string;
|
|
324
|
+
iconKey?: IconKey;
|
|
325
|
+
};
|
|
326
|
+
export type GroupPathMatch = Record<string, {
|
|
327
|
+
label: string;
|
|
328
|
+
description?: string;
|
|
329
|
+
order?: number;
|
|
330
|
+
iconKey: IconKey;
|
|
331
|
+
defaultExpand: boolean | null;
|
|
332
|
+
}>;
|
|
333
|
+
export interface IntermediateFormSection {
|
|
334
|
+
type: "section";
|
|
335
|
+
metadata: FormSectionMetadata;
|
|
336
|
+
fields: GeneratedFormElement[];
|
|
337
|
+
}
|
|
338
|
+
export declare function convertIntermediateFieldsIntoGroups(fields: IntermediateFormSection["fields"], groupPathMatch: GroupPathMatch): FieldGroup[];
|
|
339
|
+
type Metadata<T extends (..._args: never) => unknown> = Parameters<T>[0];
|
|
340
|
+
export declare const pipesTriggerInput: () => z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
341
|
+
action: z.ZodEnum<{
|
|
342
|
+
run: "run";
|
|
343
|
+
}>;
|
|
344
|
+
when: z.ZodObject<{
|
|
345
|
+
logic: z.ZodEnum<{
|
|
346
|
+
and: "and";
|
|
347
|
+
or: "or";
|
|
348
|
+
}>;
|
|
349
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
350
|
+
property: z.ZodLiteral<"value">;
|
|
351
|
+
field_name: z.ZodString;
|
|
352
|
+
operator: z.ZodEnum<{
|
|
353
|
+
eq: "eq";
|
|
354
|
+
neq: "neq";
|
|
355
|
+
gt: "gt";
|
|
356
|
+
gte: "gte";
|
|
357
|
+
lt: "lt";
|
|
358
|
+
lte: "lte";
|
|
359
|
+
contains: "contains";
|
|
360
|
+
}>;
|
|
361
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull]>;
|
|
362
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
363
|
+
property: z.ZodLiteral<"status">;
|
|
364
|
+
field_name: z.ZodString;
|
|
365
|
+
operator: z.ZodEnum<{
|
|
366
|
+
eq: "eq";
|
|
367
|
+
neq: "neq";
|
|
368
|
+
}>;
|
|
369
|
+
value: z.ZodEnum<{
|
|
370
|
+
completed: "completed";
|
|
371
|
+
failed: "failed";
|
|
372
|
+
no_result: "no_result";
|
|
373
|
+
skipped: "skipped";
|
|
374
|
+
}>;
|
|
375
|
+
}, z.core.$strip>], "property">>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
}, z.core.$strip>>>;
|
|
378
|
+
export interface FormSection {
|
|
379
|
+
type: "section";
|
|
380
|
+
metadata: FormSectionMetadata;
|
|
381
|
+
groups: FieldGroup[];
|
|
382
|
+
}
|
|
383
|
+
export declare const extractFormMetadata: <T extends ZodType>(s: T, groupPathMatch: GroupPathMatch, extractFromSchema: (_schema: ZodType) => GeneratedFormElement | undefined, sectionOrder?: Record<string, number>) => FormSection[];
|
|
384
|
+
export declare const pipesPromptInput: (metadata: Pick<PromptMetadata, "path" | "label" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description" | "supportedTags">) => z.ZodObject<{
|
|
385
|
+
template: z.ZodString;
|
|
386
|
+
json_schemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
387
|
+
}, z.core.$strip>;
|
|
388
|
+
export declare const pipesTemplateInput: (metadata: Pick<TemplateInputMetadata, "rows" | "path" | "label" | "required" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description">) => z.ZodString;
|
|
389
|
+
export declare const requiredConnectorInput: () => z.ZodObject<{
|
|
390
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
391
|
+
first: "first";
|
|
392
|
+
}>>;
|
|
393
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
394
|
+
type: z.ZodLiteral<"vault">;
|
|
395
|
+
connection: z.ZodString;
|
|
396
|
+
}, z.core.$strip>>;
|
|
397
|
+
}, z.core.$strip>;
|
|
398
|
+
export declare const optionalConnectorInput: () => z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
399
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
400
|
+
first: "first";
|
|
401
|
+
}>>;
|
|
402
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
403
|
+
type: z.ZodLiteral<"vault">;
|
|
404
|
+
connection: z.ZodString;
|
|
405
|
+
}, z.core.$strip>>;
|
|
406
|
+
}, z.core.$strip>>>;
|
|
407
|
+
export declare const noConnectorInput: () => z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
408
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
409
|
+
first: "first";
|
|
410
|
+
}>>;
|
|
411
|
+
connections: z.ZodArray<z.ZodObject<{
|
|
412
|
+
type: z.ZodLiteral<"vault">;
|
|
413
|
+
connection: z.ZodString;
|
|
414
|
+
}, z.core.$strip>>;
|
|
415
|
+
}, z.core.$strip>>>;
|
|
416
|
+
export declare const pipesInputField: (metadata: {
|
|
417
|
+
fieldName: string;
|
|
418
|
+
}) => z.ZodDefault<z.ZodObject<{
|
|
419
|
+
alias: z.ZodString;
|
|
420
|
+
}, z.core.$strip>>;
|
|
421
|
+
export declare const pipesProviderInput: <Providers extends ProviderName[]>(metadata: {
|
|
422
|
+
availableProviders: Providers;
|
|
423
|
+
defaultProviders: {
|
|
424
|
+
provider: ProviderName;
|
|
425
|
+
}[];
|
|
426
|
+
maxItems?: number;
|
|
427
|
+
sectionKey: SectionKeys;
|
|
428
|
+
}) => z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
429
|
+
provider: z.ZodEnum<{ [k_1 in Providers[number]]: k_1; } extends infer T ? { [k in keyof T]: { [k_1 in Providers[number]]: k_1; }[k]; } : never>;
|
|
430
|
+
}, z.core.$strip>>>;
|
|
431
|
+
export declare const pipesMergeSourcesInput: (metadata: Pick<MergeSourcesInputMetadata, "path" | "label" | "placeholder" | "order" | "maxItems" | "minItems" | "groupPath" | "sectionKey" | "description">) => z.ZodArray<z.ZodObject<{
|
|
432
|
+
field_name: z.ZodString;
|
|
433
|
+
}, z.core.$strip>>;
|
|
434
|
+
export declare const pipesIncludeExcludeInput: (metadata: Metadata<typeof includeExcludeInput>) => z.ZodObject<{
|
|
435
|
+
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
436
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
437
|
+
}, z.core.$strip>;
|
|
438
|
+
export declare const pipesIncludeExcludeSelectInput: (metadata: Metadata<typeof includeExcludeSelect>) => z.ZodObject<{
|
|
439
|
+
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
440
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
441
|
+
}, z.core.$strip>;
|
|
442
|
+
export declare const pipesRangeInput: (metadata: Metadata<typeof rangeInput>) => z.ZodObject<{
|
|
443
|
+
gt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
444
|
+
lt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
445
|
+
gte: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
446
|
+
lte: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
447
|
+
}, z.core.$strip>;
|
|
448
|
+
export declare const pipesDateRangeInput: (metadata: Metadata<typeof dateRangeInput>) => z.ZodObject<{
|
|
449
|
+
gt: z.ZodOptional<z.ZodISODateTime>;
|
|
450
|
+
lt: z.ZodOptional<z.ZodISODateTime>;
|
|
451
|
+
gte: z.ZodOptional<z.ZodISODateTime>;
|
|
452
|
+
lte: z.ZodOptional<z.ZodISODateTime>;
|
|
453
|
+
}, z.core.$strip>;
|
|
454
|
+
export declare const pipesBooleanInput: (metadata: Metadata<typeof booleanInput>) => z.ZodBoolean | z.ZodDefault<z.ZodBoolean>;
|
|
455
|
+
export declare const pipesOutputField: (metadata: Metadata<typeof outputFieldInput>) => z.ZodDefault<z.ZodObject<{
|
|
456
|
+
alias: z.ZodDefault<z.ZodString>;
|
|
457
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
458
|
+
}, z.core.$strip>>;
|
|
459
|
+
export declare const pipesTextInput: (metadata: Metadata<typeof textInput>) => z.ZodString;
|
|
460
|
+
export declare const pipesTextareaInput: (metadata: Metadata<typeof textareaInput>) => z.ZodString;
|
|
461
|
+
export declare const pipesSelectInput: <T extends Metadata<typeof selectInput>>(metadata: T) => z.ZodEnum<{
|
|
462
|
+
[x: string]: string;
|
|
463
|
+
}> | z.ZodOptional<z.ZodEnum<{
|
|
464
|
+
[x: string]: string;
|
|
465
|
+
}>> | z.ZodDefault<z.ZodEnum<{
|
|
466
|
+
[x: string]: string;
|
|
467
|
+
}>> | z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
468
|
+
[x: string]: string;
|
|
469
|
+
}>>>;
|
|
470
|
+
export declare const pipesMultiSelectInput: <T extends Metadata<typeof multiSelectInput>>(metadata: T) => z.ZodArray<z.ZodEnum<{
|
|
471
|
+
[x: string]: string;
|
|
472
|
+
}>> | z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
473
|
+
[x: string]: string;
|
|
474
|
+
}>>>;
|
|
475
|
+
export declare const pipesIntInput: (metadata: Metadata<typeof integerInput>) => z.ZodCoercedNumber<unknown> | z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
476
|
+
export declare const pipesNumberInput: (metadata: Metadata<typeof numberInput>) => z.ZodCoercedNumber<unknown> | z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
477
|
+
export declare const pipesJsonSchemaField: (metadata: Metadata<typeof jsonSchemaInput>) => z.ZodRecord<z.ZodString, z.ZodAny> | z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
478
|
+
export declare const searchesIncludeExcludeInput: (metadata: Metadata<typeof includeExcludeInput>) => z.ZodObject<{
|
|
479
|
+
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
480
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
481
|
+
}, z.core.$strip>;
|
|
482
|
+
export declare const searchesIncludeExcludeSelectInput: (metadata: Metadata<typeof includeExcludeSelect>) => z.ZodObject<{
|
|
483
|
+
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
484
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
485
|
+
}, z.core.$strip>;
|
|
486
|
+
export declare const searchesRangeInput: (metadata: Metadata<typeof rangeInput>) => z.ZodObject<{
|
|
487
|
+
gt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
488
|
+
lt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
489
|
+
gte: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
490
|
+
lte: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
491
|
+
}, z.core.$strip>;
|
|
492
|
+
export declare const searchesDateRangeInput: (metadata: Metadata<typeof dateRangeInput>) => z.ZodObject<{
|
|
493
|
+
gt: z.ZodOptional<z.ZodISODateTime>;
|
|
494
|
+
lt: z.ZodOptional<z.ZodISODateTime>;
|
|
495
|
+
gte: z.ZodOptional<z.ZodISODateTime>;
|
|
496
|
+
lte: z.ZodOptional<z.ZodISODateTime>;
|
|
497
|
+
}, z.core.$strip>;
|
|
498
|
+
export declare const searchesBooleanInput: (metadata: Metadata<typeof booleanInput>) => z.ZodBoolean | z.ZodDefault<z.ZodBoolean>;
|
|
499
|
+
export declare const searchesOutputField: (metadata: Metadata<typeof outputFieldInput>) => z.ZodDefault<z.ZodObject<{
|
|
500
|
+
alias: z.ZodDefault<z.ZodString>;
|
|
501
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
502
|
+
}, z.core.$strip>>;
|
|
503
|
+
export declare const searchesTextInput: (metadata: Metadata<typeof textInput>) => z.ZodString;
|
|
504
|
+
export declare const searchesTextareaField: (metadata: Metadata<typeof textareaInput>) => z.ZodString;
|
|
505
|
+
export declare const searchesSelectField: (metadata: Metadata<typeof selectInput>) => z.ZodEnum<{
|
|
506
|
+
[x: string]: string;
|
|
507
|
+
}> | z.ZodOptional<z.ZodEnum<{
|
|
508
|
+
[x: string]: string;
|
|
509
|
+
}>> | z.ZodDefault<z.ZodEnum<{
|
|
510
|
+
[x: string]: string;
|
|
511
|
+
}>> | z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
512
|
+
[x: string]: string;
|
|
513
|
+
}>>>;
|
|
514
|
+
export declare const searchesIntInput: (metadata: Metadata<typeof integerInput>) => z.ZodCoercedNumber<unknown> | z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
515
|
+
export declare const searchesNumberField: (metadata: Metadata<typeof numberInput>) => z.ZodCoercedNumber<unknown> | z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
516
|
+
export declare const outputFields: <T extends z.ZodObject>(schema: T) => z.ZodOptional<T>;
|
|
517
|
+
export declare const inputFields: <T extends z.ZodObject>(schema: T) => z.ZodOptional<T>;
|
|
518
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type PipePayload } from "../pipes/catalog/pipes-catalog.js";
|
|
2
|
+
import type { ValidationContext } from "../pipes/catalog/types.js";
|
|
3
|
+
import { type GroupPathMatch } from "./fields.js";
|
|
4
|
+
export declare function getPipePayloadFormConfig({ pipePayload, validationContext, userConnections, sectionOrder, groupPathMatch, }: {
|
|
5
|
+
pipePayload: PipePayload;
|
|
6
|
+
validationContext: ValidationContext;
|
|
7
|
+
userConnections: {
|
|
8
|
+
public_id: string;
|
|
9
|
+
provider: string;
|
|
10
|
+
}[];
|
|
11
|
+
sectionOrder?: Record<string, number>;
|
|
12
|
+
groupPathMatch?: GroupPathMatch;
|
|
13
|
+
}): import("./fields.js").FormSection[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type SearchPayload } from "../searches/catalog/searches-catalog.js";
|
|
2
|
+
import { type GroupPathMatch } from "./fields.js";
|
|
3
|
+
export declare function getSearchPayloadFormConfig({ searchPayload, sectionOrder, groupPathMatch, }: {
|
|
4
|
+
searchPayload: SearchPayload;
|
|
5
|
+
sectionOrder?: Record<string, number>;
|
|
6
|
+
groupPathMatch?: GroupPathMatch;
|
|
7
|
+
}): import("./fields.js").FormSection[];
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export * from "./fields/field-catalog.js";
|
|
2
|
+
export * from "./fields/utils/field-utils.js";
|
|
3
|
+
export * from "./form-generation/fields.js";
|
|
4
|
+
export * from "./form-generation/get-pipes-form-config.js";
|
|
5
|
+
export { getPipePayloadFormConfig } from "./form-generation/get-pipes-form-config.js";
|
|
6
|
+
export { getSearchPayloadFormConfig } from "./form-generation/get-searches-form-config.js";
|
|
7
|
+
export * from "./pipes/catalog/entries/people-workemail-waterfall-1.js";
|
|
8
|
+
export * from "./pipes/catalog/pipe.js";
|
|
9
|
+
export * from "./pipes/catalog/pipes-catalog.js";
|
|
10
|
+
export * from "./pipes/catalog/types.js";
|
|
11
|
+
export * from "./pipes/catalog/utils/get-pipe-hash-key.js";
|
|
12
|
+
export * from "./pipes/catalog/utils/get-pipe-instances.js";
|
|
13
|
+
export { getProviderBillableOperation } from "./pipes/catalog/utils/get-provider-billable-operation.js";
|
|
14
|
+
export * from "./pipes/catalog/utils/index.js";
|
|
15
|
+
export { fieldTypeFromValue, getExpansionState, getSearchesFieldWidgets, getFieldWidgets, getUnexpandedValue, } from "./pipes/pipes-validator/pipes-validator-utils.js";
|
|
16
|
+
export { validatePipesOrError as validatePipeline } from "./pipes/pipes-validator/pipes-validator.js";
|
|
17
|
+
export { transformIntoResponse, type TransformIntoResponseConfig, } from "./pipes/pipes-validator/transform-into-response.js";
|
|
18
|
+
export * from "./pipes/providers/provider-catalog.js";
|
|
19
|
+
export * from "./pipes/providers/provider-utils.js";
|
|
20
|
+
export { buildDependencyGraph, type DependencyGraphRelation, } from "./pipes/utils/build-dependency-graph.js";
|
|
21
|
+
export { parseRecordValueOrError } from "./pipes/utils/clean-record-value.js";
|
|
22
|
+
export * from "./pipes/utils/errors.js";
|
|
23
|
+
export * from "./pipes/utils/helpers-widgets.js";
|
|
24
|
+
export * from "./pipes/utils/helpers.js";
|
|
25
|
+
export * from "./pipes/utils/pipes-utils.js";
|
|
26
|
+
export * from "./pipes/utils/schemas-primitives.js";
|
|
27
|
+
export { type PipesEnvironment as PipesEnvironment } from "./pipes/utils/types.js";
|
|
28
|
+
export * from "./searches/catalog/search.js";
|
|
29
|
+
export * from "./searches/catalog/searches-catalog.js";
|
|
30
|
+
export { Searches } from "./searches/index.js";
|
|
31
|
+
export * from "./searches/schemas.js";
|
|
32
|
+
export * from "./searches/searches-validator.js";
|
|
33
|
+
export { type DedupConfig, type DedupStrategy } from "./searches/types.js";
|
|
34
|
+
export * from "./searches/utils/get-search-instances.js";
|
|
35
|
+
export type { SearchCategory } from "./searches/catalog/types.js";
|
|
36
|
+
export * from "./utils/catalog-utils.js";
|
|
37
|
+
export { cleanObject } from "./utils/clean-object.js";
|
|
38
|
+
export { cleanUrl, cleanWebsiteUrl } from "./utils/clean-url.js";
|
|
39
|
+
export { joinConnectionString, splitConnectionString, } from "./utils/connection-id.js";
|
|
40
|
+
export { type IconKey } from "./utils/icons.js";
|
|
41
|
+
export { isEmptyValue } from "./utils/index.js";
|
|
42
|
+
export { getPixelArt } from "./utils/pixelart.js";
|
|
43
|
+
export * from "./utils/schemas.js";
|
|
44
|
+
export { FieldAnnotations } from "./pipes/field-annotations/field-annotations.js";
|
|
45
|
+
export { type BuiltWithTechStackTransformedRespoonse as BuiltWithDomainStack } from "./fields/json-meta/fields/builtwith-domain-stack.js";
|
|
46
|
+
export { type CladoPersonMatch } from "./fields/json-meta/fields/clado-person-match.js";
|
|
47
|
+
export { type IcypeasCompanyMatch } from "./fields/json-meta/fields/icypeas-company-match.js";
|
|
48
|
+
export { type IcypeasPersonMatch } from "./fields/json-meta/fields/icypeas-person-match.js";
|
|
49
|
+
export { type ProfielField } from "./fields/json-meta/fields/profile.js";
|