@jam-nodes/nodes 0.2.7 → 0.2.10

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 (132) hide show
  1. package/README.md +147 -0
  2. package/dist/ai/analyze-posts.d.ts +3 -3
  3. package/dist/ai/draft-emails.d.ts +1 -1
  4. package/dist/index.d.ts +363 -8
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +26 -3
  7. package/dist/index.js.map +1 -1
  8. package/dist/integrations/apollo/search-contacts.d.ts +4 -4
  9. package/dist/integrations/dataforseo/keyword-research.d.ts +6 -6
  10. package/dist/integrations/dataforseo/keyword-research.d.ts.map +1 -1
  11. package/dist/integrations/dataforseo/keyword-research.js +2 -8
  12. package/dist/integrations/dataforseo/keyword-research.js.map +1 -1
  13. package/dist/integrations/devto/create-article.d.ts +20 -0
  14. package/dist/integrations/devto/create-article.d.ts.map +1 -0
  15. package/dist/integrations/devto/create-article.js +67 -0
  16. package/dist/integrations/devto/create-article.js.map +1 -0
  17. package/dist/integrations/devto/credentials.d.ts +2 -0
  18. package/dist/integrations/devto/credentials.d.ts.map +1 -0
  19. package/dist/integrations/devto/credentials.js +17 -0
  20. package/dist/integrations/devto/credentials.js.map +1 -0
  21. package/dist/integrations/devto/get-articles.d.ts +21 -0
  22. package/dist/integrations/devto/get-articles.d.ts.map +1 -0
  23. package/dist/integrations/devto/get-articles.js +78 -0
  24. package/dist/integrations/devto/get-articles.js.map +1 -0
  25. package/dist/integrations/devto/index.d.ts +6 -0
  26. package/dist/integrations/devto/index.d.ts.map +1 -0
  27. package/dist/integrations/devto/index.js +6 -0
  28. package/dist/integrations/devto/index.js.map +1 -0
  29. package/dist/integrations/devto/schemas.d.ts +243 -0
  30. package/dist/integrations/devto/schemas.d.ts.map +1 -0
  31. package/dist/integrations/devto/schemas.js +69 -0
  32. package/dist/integrations/devto/schemas.js.map +1 -0
  33. package/dist/integrations/devto/update-article.d.ts +19 -0
  34. package/dist/integrations/devto/update-article.d.ts.map +1 -0
  35. package/dist/integrations/devto/update-article.js +65 -0
  36. package/dist/integrations/devto/update-article.js.map +1 -0
  37. package/dist/integrations/discord/schemas.d.ts +2 -2
  38. package/dist/integrations/discord/send-message.d.ts +1 -1
  39. package/dist/integrations/firecrawl/crawl.d.ts +121 -0
  40. package/dist/integrations/firecrawl/crawl.d.ts.map +1 -0
  41. package/dist/integrations/firecrawl/crawl.js +168 -0
  42. package/dist/integrations/firecrawl/crawl.js.map +1 -0
  43. package/dist/integrations/firecrawl/extract.d.ts +82 -0
  44. package/dist/integrations/firecrawl/extract.d.ts.map +1 -0
  45. package/dist/integrations/firecrawl/extract.js +168 -0
  46. package/dist/integrations/firecrawl/extract.js.map +1 -0
  47. package/dist/integrations/firecrawl/index.d.ts +4 -0
  48. package/dist/integrations/firecrawl/index.d.ts.map +1 -0
  49. package/dist/integrations/firecrawl/index.js +4 -0
  50. package/dist/integrations/firecrawl/index.js.map +1 -0
  51. package/dist/integrations/firecrawl/scrape.d.ts +1208 -0
  52. package/dist/integrations/firecrawl/scrape.d.ts.map +1 -0
  53. package/dist/integrations/firecrawl/scrape.js +254 -0
  54. package/dist/integrations/firecrawl/scrape.js.map +1 -0
  55. package/dist/integrations/index.d.ts +4 -1
  56. package/dist/integrations/index.d.ts.map +1 -1
  57. package/dist/integrations/index.js +7 -1
  58. package/dist/integrations/index.js.map +1 -1
  59. package/dist/integrations/social/credentials.d.ts +2 -0
  60. package/dist/integrations/social/credentials.d.ts.map +1 -0
  61. package/dist/integrations/social/credentials.js +36 -0
  62. package/dist/integrations/social/credentials.js.map +1 -0
  63. package/dist/integrations/social/index.d.ts +8 -0
  64. package/dist/integrations/social/index.d.ts.map +1 -1
  65. package/dist/integrations/social/index.js +8 -0
  66. package/dist/integrations/social/index.js.map +1 -1
  67. package/dist/integrations/social/twitter-client.d.ts +6 -0
  68. package/dist/integrations/social/twitter-client.d.ts.map +1 -0
  69. package/dist/integrations/social/twitter-client.js +140 -0
  70. package/dist/integrations/social/twitter-client.js.map +1 -0
  71. package/dist/integrations/social/twitter-create-tweet.d.ts +61 -0
  72. package/dist/integrations/social/twitter-create-tweet.d.ts.map +1 -0
  73. package/dist/integrations/social/twitter-create-tweet.js +83 -0
  74. package/dist/integrations/social/twitter-create-tweet.js.map +1 -0
  75. package/dist/integrations/social/twitter-delete-tweet.d.ts +23 -0
  76. package/dist/integrations/social/twitter-delete-tweet.d.ts.map +1 -0
  77. package/dist/integrations/social/twitter-delete-tweet.js +41 -0
  78. package/dist/integrations/social/twitter-delete-tweet.js.map +1 -0
  79. package/dist/integrations/social/twitter-get-user-by-username.d.ts +39 -0
  80. package/dist/integrations/social/twitter-get-user-by-username.d.ts.map +1 -0
  81. package/dist/integrations/social/twitter-get-user-by-username.js +56 -0
  82. package/dist/integrations/social/twitter-get-user-by-username.js.map +1 -0
  83. package/dist/integrations/social/twitter-like-tweet.d.ts +23 -0
  84. package/dist/integrations/social/twitter-like-tweet.d.ts.map +1 -0
  85. package/dist/integrations/social/twitter-like-tweet.js +48 -0
  86. package/dist/integrations/social/twitter-like-tweet.js.map +1 -0
  87. package/dist/integrations/social/twitter-retweet.d.ts +23 -0
  88. package/dist/integrations/social/twitter-retweet.d.ts.map +1 -0
  89. package/dist/integrations/social/twitter-retweet.js +48 -0
  90. package/dist/integrations/social/twitter-retweet.js.map +1 -0
  91. package/dist/integrations/social/twitter-search-tweets.d.ts +77 -0
  92. package/dist/integrations/social/twitter-search-tweets.d.ts.map +1 -0
  93. package/dist/integrations/social/twitter-search-tweets.js +76 -0
  94. package/dist/integrations/social/twitter-search-tweets.js.map +1 -0
  95. package/dist/integrations/social/twitter-send-dm.d.ts +39 -0
  96. package/dist/integrations/social/twitter-send-dm.d.ts.map +1 -0
  97. package/dist/integrations/social/twitter-send-dm.js +67 -0
  98. package/dist/integrations/social/twitter-send-dm.js.map +1 -0
  99. package/dist/integrations/wordpress/createPost.d.ts +25 -0
  100. package/dist/integrations/wordpress/createPost.d.ts.map +1 -0
  101. package/dist/integrations/wordpress/createPost.js +67 -0
  102. package/dist/integrations/wordpress/createPost.js.map +1 -0
  103. package/dist/integrations/wordpress/credentials.d.ts +2 -0
  104. package/dist/integrations/wordpress/credentials.d.ts.map +1 -0
  105. package/dist/integrations/wordpress/credentials.js +25 -0
  106. package/dist/integrations/wordpress/credentials.js.map +1 -0
  107. package/dist/integrations/wordpress/getPosts.d.ts +28 -0
  108. package/dist/integrations/wordpress/getPosts.d.ts.map +1 -0
  109. package/dist/integrations/wordpress/getPosts.js +70 -0
  110. package/dist/integrations/wordpress/getPosts.js.map +1 -0
  111. package/dist/integrations/wordpress/index.d.ts +8 -0
  112. package/dist/integrations/wordpress/index.d.ts.map +1 -0
  113. package/dist/integrations/wordpress/index.js +7 -0
  114. package/dist/integrations/wordpress/index.js.map +1 -0
  115. package/dist/integrations/wordpress/schemas.d.ts +411 -0
  116. package/dist/integrations/wordpress/schemas.d.ts.map +1 -0
  117. package/dist/integrations/wordpress/schemas.js +110 -0
  118. package/dist/integrations/wordpress/schemas.js.map +1 -0
  119. package/dist/integrations/wordpress/updatePost.d.ts +21 -0
  120. package/dist/integrations/wordpress/updatePost.d.ts.map +1 -0
  121. package/dist/integrations/wordpress/updatePost.js +59 -0
  122. package/dist/integrations/wordpress/updatePost.js.map +1 -0
  123. package/dist/integrations/wordpress/uploadMedia.d.ts +15 -0
  124. package/dist/integrations/wordpress/uploadMedia.d.ts.map +1 -0
  125. package/dist/integrations/wordpress/uploadMedia.js +56 -0
  126. package/dist/integrations/wordpress/uploadMedia.js.map +1 -0
  127. package/dist/integrations/wordpress/utils.d.ts +15 -0
  128. package/dist/integrations/wordpress/utils.d.ts.map +1 -0
  129. package/dist/integrations/wordpress/utils.js +15 -0
  130. package/dist/integrations/wordpress/utils.js.map +1 -0
  131. package/dist/schemas/ai.d.ts +20 -20
  132. package/package.json +2 -1
@@ -0,0 +1,1208 @@
1
+ import { z } from 'zod';
2
+ export declare const FirecrawlScrapeInputSchema: z.ZodObject<{
3
+ /** URL to scrape */
4
+ url: z.ZodString;
5
+ /** Output formats to include in the response */
6
+ formats: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEnum<["markdown", "summary", "html", "rawHtml", "links", "images", "branding"]>, z.ZodObject<{
7
+ type: z.ZodLiteral<"screenshot">;
8
+ /** Whether to capture a full-page screenshot or limit to the current viewport */
9
+ fullPage: z.ZodDefault<z.ZodBoolean>;
10
+ /** Quality of the screenshot, from 1 to 100 */
11
+ quality: z.ZodOptional<z.ZodNumber>;
12
+ /** Viewport dimensions for the screenshot */
13
+ viewport: z.ZodOptional<z.ZodObject<{
14
+ width: z.ZodNumber;
15
+ height: z.ZodNumber;
16
+ }, "strip", z.ZodTypeAny, {
17
+ width: number;
18
+ height: number;
19
+ }, {
20
+ width: number;
21
+ height: number;
22
+ }>>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ type: "screenshot";
25
+ fullPage: boolean;
26
+ quality?: number | undefined;
27
+ viewport?: {
28
+ width: number;
29
+ height: number;
30
+ } | undefined;
31
+ }, {
32
+ type: "screenshot";
33
+ fullPage?: boolean | undefined;
34
+ quality?: number | undefined;
35
+ viewport?: {
36
+ width: number;
37
+ height: number;
38
+ } | undefined;
39
+ }>, z.ZodObject<{
40
+ type: z.ZodLiteral<"json">;
41
+ /** JSON Schema object defining the output structure */
42
+ schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
43
+ /** Prompt to guide extraction behavior */
44
+ prompt: z.ZodOptional<z.ZodString>;
45
+ }, "strip", z.ZodTypeAny, {
46
+ type: "json";
47
+ schema?: Record<string, unknown> | undefined;
48
+ prompt?: string | undefined;
49
+ }, {
50
+ type: "json";
51
+ schema?: Record<string, unknown> | undefined;
52
+ prompt?: string | undefined;
53
+ }>, z.ZodObject<{
54
+ type: z.ZodLiteral<"changeTracking">;
55
+ /** Tracking modes */
56
+ modes: z.ZodOptional<z.ZodArray<z.ZodEnum<["git-diff", "json"]>, "many">>;
57
+ /** JSON Schema object for json mode */
58
+ schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
59
+ /** Prompt for extraction instructions */
60
+ prompt: z.ZodOptional<z.ZodString>;
61
+ /** Tag for branching history */
62
+ tag: z.ZodDefault<z.ZodNullable<z.ZodString>>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ type: "changeTracking";
65
+ tag: string | null;
66
+ schema?: Record<string, unknown> | undefined;
67
+ prompt?: string | undefined;
68
+ modes?: ("json" | "git-diff")[] | undefined;
69
+ }, {
70
+ type: "changeTracking";
71
+ schema?: Record<string, unknown> | undefined;
72
+ prompt?: string | undefined;
73
+ modes?: ("json" | "git-diff")[] | undefined;
74
+ tag?: string | null | undefined;
75
+ }>]>, "many">>;
76
+ /** Return only the main content and exclude headers, navs, footers, etc */
77
+ onlyMainContent: z.ZodDefault<z.ZodBoolean>;
78
+ /** Delay in ms before fetching content to allow dynamic page loading */
79
+ waitFor: z.ZodDefault<z.ZodNumber>;
80
+ }, "strip", z.ZodTypeAny, {
81
+ url: string;
82
+ formats: ("links" | "images" | "markdown" | "summary" | "html" | "rawHtml" | "branding" | {
83
+ type: "screenshot";
84
+ fullPage: boolean;
85
+ quality?: number | undefined;
86
+ viewport?: {
87
+ width: number;
88
+ height: number;
89
+ } | undefined;
90
+ } | {
91
+ type: "json";
92
+ schema?: Record<string, unknown> | undefined;
93
+ prompt?: string | undefined;
94
+ } | {
95
+ type: "changeTracking";
96
+ tag: string | null;
97
+ schema?: Record<string, unknown> | undefined;
98
+ prompt?: string | undefined;
99
+ modes?: ("json" | "git-diff")[] | undefined;
100
+ })[];
101
+ onlyMainContent: boolean;
102
+ waitFor: number;
103
+ }, {
104
+ url: string;
105
+ formats?: ("links" | "images" | "markdown" | "summary" | "html" | "rawHtml" | "branding" | {
106
+ type: "screenshot";
107
+ fullPage?: boolean | undefined;
108
+ quality?: number | undefined;
109
+ viewport?: {
110
+ width: number;
111
+ height: number;
112
+ } | undefined;
113
+ } | {
114
+ type: "json";
115
+ schema?: Record<string, unknown> | undefined;
116
+ prompt?: string | undefined;
117
+ } | {
118
+ type: "changeTracking";
119
+ schema?: Record<string, unknown> | undefined;
120
+ prompt?: string | undefined;
121
+ modes?: ("json" | "git-diff")[] | undefined;
122
+ tag?: string | null | undefined;
123
+ })[] | undefined;
124
+ onlyMainContent?: boolean | undefined;
125
+ waitFor?: number | undefined;
126
+ }>;
127
+ export type FirecrawlScrapeInput = z.infer<typeof FirecrawlScrapeInputSchema>;
128
+ export declare const FirecrawlScrapeOutputSchema: z.ZodObject<{
129
+ success: z.ZodBoolean;
130
+ data: z.ZodObject<{
131
+ markdown: z.ZodOptional<z.ZodString>;
132
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
+ html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
+ rawHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
+ screenshot: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
+ links: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
137
+ actions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
138
+ screenshots: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
139
+ scrapes: z.ZodOptional<z.ZodArray<z.ZodObject<{
140
+ url: z.ZodString;
141
+ html: z.ZodString;
142
+ }, "strip", z.ZodTypeAny, {
143
+ url: string;
144
+ html: string;
145
+ }, {
146
+ url: string;
147
+ html: string;
148
+ }>, "many">>;
149
+ javascriptReturns: z.ZodOptional<z.ZodArray<z.ZodObject<{
150
+ type: z.ZodString;
151
+ value: z.ZodUnknown;
152
+ }, "strip", z.ZodTypeAny, {
153
+ type: string;
154
+ value?: unknown;
155
+ }, {
156
+ type: string;
157
+ value?: unknown;
158
+ }>, "many">>;
159
+ pdfs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ screenshots?: string[] | undefined;
162
+ scrapes?: {
163
+ url: string;
164
+ html: string;
165
+ }[] | undefined;
166
+ javascriptReturns?: {
167
+ type: string;
168
+ value?: unknown;
169
+ }[] | undefined;
170
+ pdfs?: string[] | undefined;
171
+ }, {
172
+ screenshots?: string[] | undefined;
173
+ scrapes?: {
174
+ url: string;
175
+ html: string;
176
+ }[] | undefined;
177
+ javascriptReturns?: {
178
+ type: string;
179
+ value?: unknown;
180
+ }[] | undefined;
181
+ pdfs?: string[] | undefined;
182
+ }>>>;
183
+ metadata: z.ZodOptional<z.ZodObject<{
184
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
185
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
186
+ language: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
187
+ sourceURL: z.ZodOptional<z.ZodString>;
188
+ url: z.ZodOptional<z.ZodString>;
189
+ keywords: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
190
+ ogLocaleAlternate: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
191
+ statusCode: z.ZodOptional<z.ZodNumber>;
192
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
193
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
194
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
195
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
196
+ language: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
197
+ sourceURL: z.ZodOptional<z.ZodString>;
198
+ url: z.ZodOptional<z.ZodString>;
199
+ keywords: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
200
+ ogLocaleAlternate: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
201
+ statusCode: z.ZodOptional<z.ZodNumber>;
202
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
204
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
205
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
206
+ language: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
207
+ sourceURL: z.ZodOptional<z.ZodString>;
208
+ url: z.ZodOptional<z.ZodString>;
209
+ keywords: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
210
+ ogLocaleAlternate: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
211
+ statusCode: z.ZodOptional<z.ZodNumber>;
212
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
213
+ }, z.ZodTypeAny, "passthrough">>>;
214
+ warning: z.ZodOptional<z.ZodNullable<z.ZodString>>;
215
+ changeTracking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
216
+ previousScrapeAt: z.ZodOptional<z.ZodString>;
217
+ changeStatus: z.ZodOptional<z.ZodEnum<["new", "same", "changed", "removed"]>>;
218
+ visibility: z.ZodOptional<z.ZodEnum<["visible", "hidden"]>>;
219
+ diff: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
+ json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ json?: Record<string, unknown> | undefined;
223
+ previousScrapeAt?: string | undefined;
224
+ changeStatus?: "new" | "same" | "changed" | "removed" | undefined;
225
+ visibility?: "visible" | "hidden" | undefined;
226
+ diff?: string | null | undefined;
227
+ }, {
228
+ json?: Record<string, unknown> | undefined;
229
+ previousScrapeAt?: string | undefined;
230
+ changeStatus?: "new" | "same" | "changed" | "removed" | undefined;
231
+ visibility?: "visible" | "hidden" | undefined;
232
+ diff?: string | null | undefined;
233
+ }>>>;
234
+ branding: z.ZodOptional<z.ZodNullable<z.ZodObject<{
235
+ colorScheme: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
236
+ logo: z.ZodOptional<z.ZodString>;
237
+ colors: z.ZodOptional<z.ZodObject<{
238
+ primary: z.ZodOptional<z.ZodString>;
239
+ secondary: z.ZodOptional<z.ZodString>;
240
+ accent: z.ZodOptional<z.ZodString>;
241
+ background: z.ZodOptional<z.ZodString>;
242
+ textPrimary: z.ZodOptional<z.ZodString>;
243
+ textSecondary: z.ZodOptional<z.ZodString>;
244
+ link: z.ZodOptional<z.ZodString>;
245
+ success: z.ZodOptional<z.ZodString>;
246
+ warning: z.ZodOptional<z.ZodString>;
247
+ error: z.ZodOptional<z.ZodString>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ success?: string | undefined;
250
+ error?: string | undefined;
251
+ link?: string | undefined;
252
+ warning?: string | undefined;
253
+ primary?: string | undefined;
254
+ secondary?: string | undefined;
255
+ accent?: string | undefined;
256
+ background?: string | undefined;
257
+ textPrimary?: string | undefined;
258
+ textSecondary?: string | undefined;
259
+ }, {
260
+ success?: string | undefined;
261
+ error?: string | undefined;
262
+ link?: string | undefined;
263
+ warning?: string | undefined;
264
+ primary?: string | undefined;
265
+ secondary?: string | undefined;
266
+ accent?: string | undefined;
267
+ background?: string | undefined;
268
+ textPrimary?: string | undefined;
269
+ textSecondary?: string | undefined;
270
+ }>>;
271
+ fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
272
+ family: z.ZodOptional<z.ZodString>;
273
+ }, "strip", z.ZodTypeAny, {
274
+ family?: string | undefined;
275
+ }, {
276
+ family?: string | undefined;
277
+ }>, "many">>;
278
+ typography: z.ZodOptional<z.ZodObject<{
279
+ fontFamilies: z.ZodOptional<z.ZodObject<{
280
+ primary: z.ZodOptional<z.ZodString>;
281
+ heading: z.ZodOptional<z.ZodString>;
282
+ code: z.ZodOptional<z.ZodString>;
283
+ }, "strip", z.ZodTypeAny, {
284
+ code?: string | undefined;
285
+ primary?: string | undefined;
286
+ heading?: string | undefined;
287
+ }, {
288
+ code?: string | undefined;
289
+ primary?: string | undefined;
290
+ heading?: string | undefined;
291
+ }>>;
292
+ fontSizes: z.ZodOptional<z.ZodObject<{
293
+ h1: z.ZodOptional<z.ZodString>;
294
+ h2: z.ZodOptional<z.ZodString>;
295
+ h3: z.ZodOptional<z.ZodString>;
296
+ body: z.ZodOptional<z.ZodString>;
297
+ }, "strip", z.ZodTypeAny, {
298
+ body?: string | undefined;
299
+ h1?: string | undefined;
300
+ h2?: string | undefined;
301
+ h3?: string | undefined;
302
+ }, {
303
+ body?: string | undefined;
304
+ h1?: string | undefined;
305
+ h2?: string | undefined;
306
+ h3?: string | undefined;
307
+ }>>;
308
+ fontWeights: z.ZodOptional<z.ZodObject<{
309
+ light: z.ZodOptional<z.ZodNumber>;
310
+ regular: z.ZodOptional<z.ZodNumber>;
311
+ medium: z.ZodOptional<z.ZodNumber>;
312
+ bold: z.ZodOptional<z.ZodNumber>;
313
+ }, "strip", z.ZodTypeAny, {
314
+ light?: number | undefined;
315
+ regular?: number | undefined;
316
+ medium?: number | undefined;
317
+ bold?: number | undefined;
318
+ }, {
319
+ light?: number | undefined;
320
+ regular?: number | undefined;
321
+ medium?: number | undefined;
322
+ bold?: number | undefined;
323
+ }>>;
324
+ lineHeights: z.ZodOptional<z.ZodObject<{
325
+ heading: z.ZodOptional<z.ZodString>;
326
+ body: z.ZodOptional<z.ZodString>;
327
+ }, "strip", z.ZodTypeAny, {
328
+ body?: string | undefined;
329
+ heading?: string | undefined;
330
+ }, {
331
+ body?: string | undefined;
332
+ heading?: string | undefined;
333
+ }>>;
334
+ }, "strip", z.ZodTypeAny, {
335
+ fontFamilies?: {
336
+ code?: string | undefined;
337
+ primary?: string | undefined;
338
+ heading?: string | undefined;
339
+ } | undefined;
340
+ fontSizes?: {
341
+ body?: string | undefined;
342
+ h1?: string | undefined;
343
+ h2?: string | undefined;
344
+ h3?: string | undefined;
345
+ } | undefined;
346
+ fontWeights?: {
347
+ light?: number | undefined;
348
+ regular?: number | undefined;
349
+ medium?: number | undefined;
350
+ bold?: number | undefined;
351
+ } | undefined;
352
+ lineHeights?: {
353
+ body?: string | undefined;
354
+ heading?: string | undefined;
355
+ } | undefined;
356
+ }, {
357
+ fontFamilies?: {
358
+ code?: string | undefined;
359
+ primary?: string | undefined;
360
+ heading?: string | undefined;
361
+ } | undefined;
362
+ fontSizes?: {
363
+ body?: string | undefined;
364
+ h1?: string | undefined;
365
+ h2?: string | undefined;
366
+ h3?: string | undefined;
367
+ } | undefined;
368
+ fontWeights?: {
369
+ light?: number | undefined;
370
+ regular?: number | undefined;
371
+ medium?: number | undefined;
372
+ bold?: number | undefined;
373
+ } | undefined;
374
+ lineHeights?: {
375
+ body?: string | undefined;
376
+ heading?: string | undefined;
377
+ } | undefined;
378
+ }>>;
379
+ spacing: z.ZodOptional<z.ZodObject<{
380
+ baseUnit: z.ZodOptional<z.ZodNumber>;
381
+ borderRadius: z.ZodOptional<z.ZodString>;
382
+ padding: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
383
+ margins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ baseUnit?: number | undefined;
386
+ borderRadius?: string | undefined;
387
+ padding?: Record<string, unknown> | undefined;
388
+ margins?: Record<string, unknown> | undefined;
389
+ }, {
390
+ baseUnit?: number | undefined;
391
+ borderRadius?: string | undefined;
392
+ padding?: Record<string, unknown> | undefined;
393
+ margins?: Record<string, unknown> | undefined;
394
+ }>>;
395
+ components: z.ZodOptional<z.ZodObject<{
396
+ buttonPrimary: z.ZodOptional<z.ZodObject<{
397
+ background: z.ZodOptional<z.ZodString>;
398
+ textColor: z.ZodOptional<z.ZodString>;
399
+ borderRadius: z.ZodOptional<z.ZodString>;
400
+ }, "strip", z.ZodTypeAny, {
401
+ background?: string | undefined;
402
+ borderRadius?: string | undefined;
403
+ textColor?: string | undefined;
404
+ }, {
405
+ background?: string | undefined;
406
+ borderRadius?: string | undefined;
407
+ textColor?: string | undefined;
408
+ }>>;
409
+ buttonSecondary: z.ZodOptional<z.ZodObject<{
410
+ background: z.ZodOptional<z.ZodString>;
411
+ textColor: z.ZodOptional<z.ZodString>;
412
+ borderColor: z.ZodOptional<z.ZodString>;
413
+ borderRadius: z.ZodOptional<z.ZodString>;
414
+ }, "strip", z.ZodTypeAny, {
415
+ background?: string | undefined;
416
+ borderRadius?: string | undefined;
417
+ textColor?: string | undefined;
418
+ borderColor?: string | undefined;
419
+ }, {
420
+ background?: string | undefined;
421
+ borderRadius?: string | undefined;
422
+ textColor?: string | undefined;
423
+ borderColor?: string | undefined;
424
+ }>>;
425
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
426
+ }, "strip", z.ZodTypeAny, {
427
+ buttonPrimary?: {
428
+ background?: string | undefined;
429
+ borderRadius?: string | undefined;
430
+ textColor?: string | undefined;
431
+ } | undefined;
432
+ buttonSecondary?: {
433
+ background?: string | undefined;
434
+ borderRadius?: string | undefined;
435
+ textColor?: string | undefined;
436
+ borderColor?: string | undefined;
437
+ } | undefined;
438
+ input?: Record<string, unknown> | undefined;
439
+ }, {
440
+ buttonPrimary?: {
441
+ background?: string | undefined;
442
+ borderRadius?: string | undefined;
443
+ textColor?: string | undefined;
444
+ } | undefined;
445
+ buttonSecondary?: {
446
+ background?: string | undefined;
447
+ borderRadius?: string | undefined;
448
+ textColor?: string | undefined;
449
+ borderColor?: string | undefined;
450
+ } | undefined;
451
+ input?: Record<string, unknown> | undefined;
452
+ }>>;
453
+ icons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
454
+ images: z.ZodOptional<z.ZodObject<{
455
+ logo: z.ZodOptional<z.ZodString>;
456
+ favicon: z.ZodOptional<z.ZodString>;
457
+ ogImage: z.ZodOptional<z.ZodString>;
458
+ }, "strip", z.ZodTypeAny, {
459
+ logo?: string | undefined;
460
+ favicon?: string | undefined;
461
+ ogImage?: string | undefined;
462
+ }, {
463
+ logo?: string | undefined;
464
+ favicon?: string | undefined;
465
+ ogImage?: string | undefined;
466
+ }>>;
467
+ animations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
468
+ layout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
469
+ personality: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
470
+ }, "strip", z.ZodTypeAny, {
471
+ images?: {
472
+ logo?: string | undefined;
473
+ favicon?: string | undefined;
474
+ ogImage?: string | undefined;
475
+ } | undefined;
476
+ colorScheme?: "light" | "dark" | undefined;
477
+ logo?: string | undefined;
478
+ colors?: {
479
+ success?: string | undefined;
480
+ error?: string | undefined;
481
+ link?: string | undefined;
482
+ warning?: string | undefined;
483
+ primary?: string | undefined;
484
+ secondary?: string | undefined;
485
+ accent?: string | undefined;
486
+ background?: string | undefined;
487
+ textPrimary?: string | undefined;
488
+ textSecondary?: string | undefined;
489
+ } | undefined;
490
+ fonts?: {
491
+ family?: string | undefined;
492
+ }[] | undefined;
493
+ typography?: {
494
+ fontFamilies?: {
495
+ code?: string | undefined;
496
+ primary?: string | undefined;
497
+ heading?: string | undefined;
498
+ } | undefined;
499
+ fontSizes?: {
500
+ body?: string | undefined;
501
+ h1?: string | undefined;
502
+ h2?: string | undefined;
503
+ h3?: string | undefined;
504
+ } | undefined;
505
+ fontWeights?: {
506
+ light?: number | undefined;
507
+ regular?: number | undefined;
508
+ medium?: number | undefined;
509
+ bold?: number | undefined;
510
+ } | undefined;
511
+ lineHeights?: {
512
+ body?: string | undefined;
513
+ heading?: string | undefined;
514
+ } | undefined;
515
+ } | undefined;
516
+ spacing?: {
517
+ baseUnit?: number | undefined;
518
+ borderRadius?: string | undefined;
519
+ padding?: Record<string, unknown> | undefined;
520
+ margins?: Record<string, unknown> | undefined;
521
+ } | undefined;
522
+ components?: {
523
+ buttonPrimary?: {
524
+ background?: string | undefined;
525
+ borderRadius?: string | undefined;
526
+ textColor?: string | undefined;
527
+ } | undefined;
528
+ buttonSecondary?: {
529
+ background?: string | undefined;
530
+ borderRadius?: string | undefined;
531
+ textColor?: string | undefined;
532
+ borderColor?: string | undefined;
533
+ } | undefined;
534
+ input?: Record<string, unknown> | undefined;
535
+ } | undefined;
536
+ icons?: Record<string, unknown> | undefined;
537
+ animations?: Record<string, unknown> | undefined;
538
+ layout?: Record<string, unknown> | undefined;
539
+ personality?: Record<string, unknown> | undefined;
540
+ }, {
541
+ images?: {
542
+ logo?: string | undefined;
543
+ favicon?: string | undefined;
544
+ ogImage?: string | undefined;
545
+ } | undefined;
546
+ colorScheme?: "light" | "dark" | undefined;
547
+ logo?: string | undefined;
548
+ colors?: {
549
+ success?: string | undefined;
550
+ error?: string | undefined;
551
+ link?: string | undefined;
552
+ warning?: string | undefined;
553
+ primary?: string | undefined;
554
+ secondary?: string | undefined;
555
+ accent?: string | undefined;
556
+ background?: string | undefined;
557
+ textPrimary?: string | undefined;
558
+ textSecondary?: string | undefined;
559
+ } | undefined;
560
+ fonts?: {
561
+ family?: string | undefined;
562
+ }[] | undefined;
563
+ typography?: {
564
+ fontFamilies?: {
565
+ code?: string | undefined;
566
+ primary?: string | undefined;
567
+ heading?: string | undefined;
568
+ } | undefined;
569
+ fontSizes?: {
570
+ body?: string | undefined;
571
+ h1?: string | undefined;
572
+ h2?: string | undefined;
573
+ h3?: string | undefined;
574
+ } | undefined;
575
+ fontWeights?: {
576
+ light?: number | undefined;
577
+ regular?: number | undefined;
578
+ medium?: number | undefined;
579
+ bold?: number | undefined;
580
+ } | undefined;
581
+ lineHeights?: {
582
+ body?: string | undefined;
583
+ heading?: string | undefined;
584
+ } | undefined;
585
+ } | undefined;
586
+ spacing?: {
587
+ baseUnit?: number | undefined;
588
+ borderRadius?: string | undefined;
589
+ padding?: Record<string, unknown> | undefined;
590
+ margins?: Record<string, unknown> | undefined;
591
+ } | undefined;
592
+ components?: {
593
+ buttonPrimary?: {
594
+ background?: string | undefined;
595
+ borderRadius?: string | undefined;
596
+ textColor?: string | undefined;
597
+ } | undefined;
598
+ buttonSecondary?: {
599
+ background?: string | undefined;
600
+ borderRadius?: string | undefined;
601
+ textColor?: string | undefined;
602
+ borderColor?: string | undefined;
603
+ } | undefined;
604
+ input?: Record<string, unknown> | undefined;
605
+ } | undefined;
606
+ icons?: Record<string, unknown> | undefined;
607
+ animations?: Record<string, unknown> | undefined;
608
+ layout?: Record<string, unknown> | undefined;
609
+ personality?: Record<string, unknown> | undefined;
610
+ }>>>;
611
+ }, "strip", z.ZodTypeAny, {
612
+ links?: string[] | undefined;
613
+ markdown?: string | undefined;
614
+ summary?: string | null | undefined;
615
+ html?: string | null | undefined;
616
+ rawHtml?: string | null | undefined;
617
+ branding?: {
618
+ images?: {
619
+ logo?: string | undefined;
620
+ favicon?: string | undefined;
621
+ ogImage?: string | undefined;
622
+ } | undefined;
623
+ colorScheme?: "light" | "dark" | undefined;
624
+ logo?: string | undefined;
625
+ colors?: {
626
+ success?: string | undefined;
627
+ error?: string | undefined;
628
+ link?: string | undefined;
629
+ warning?: string | undefined;
630
+ primary?: string | undefined;
631
+ secondary?: string | undefined;
632
+ accent?: string | undefined;
633
+ background?: string | undefined;
634
+ textPrimary?: string | undefined;
635
+ textSecondary?: string | undefined;
636
+ } | undefined;
637
+ fonts?: {
638
+ family?: string | undefined;
639
+ }[] | undefined;
640
+ typography?: {
641
+ fontFamilies?: {
642
+ code?: string | undefined;
643
+ primary?: string | undefined;
644
+ heading?: string | undefined;
645
+ } | undefined;
646
+ fontSizes?: {
647
+ body?: string | undefined;
648
+ h1?: string | undefined;
649
+ h2?: string | undefined;
650
+ h3?: string | undefined;
651
+ } | undefined;
652
+ fontWeights?: {
653
+ light?: number | undefined;
654
+ regular?: number | undefined;
655
+ medium?: number | undefined;
656
+ bold?: number | undefined;
657
+ } | undefined;
658
+ lineHeights?: {
659
+ body?: string | undefined;
660
+ heading?: string | undefined;
661
+ } | undefined;
662
+ } | undefined;
663
+ spacing?: {
664
+ baseUnit?: number | undefined;
665
+ borderRadius?: string | undefined;
666
+ padding?: Record<string, unknown> | undefined;
667
+ margins?: Record<string, unknown> | undefined;
668
+ } | undefined;
669
+ components?: {
670
+ buttonPrimary?: {
671
+ background?: string | undefined;
672
+ borderRadius?: string | undefined;
673
+ textColor?: string | undefined;
674
+ } | undefined;
675
+ buttonSecondary?: {
676
+ background?: string | undefined;
677
+ borderRadius?: string | undefined;
678
+ textColor?: string | undefined;
679
+ borderColor?: string | undefined;
680
+ } | undefined;
681
+ input?: Record<string, unknown> | undefined;
682
+ } | undefined;
683
+ icons?: Record<string, unknown> | undefined;
684
+ animations?: Record<string, unknown> | undefined;
685
+ layout?: Record<string, unknown> | undefined;
686
+ personality?: Record<string, unknown> | undefined;
687
+ } | null | undefined;
688
+ screenshot?: string | null | undefined;
689
+ changeTracking?: {
690
+ json?: Record<string, unknown> | undefined;
691
+ previousScrapeAt?: string | undefined;
692
+ changeStatus?: "new" | "same" | "changed" | "removed" | undefined;
693
+ visibility?: "visible" | "hidden" | undefined;
694
+ diff?: string | null | undefined;
695
+ } | null | undefined;
696
+ actions?: {
697
+ screenshots?: string[] | undefined;
698
+ scrapes?: {
699
+ url: string;
700
+ html: string;
701
+ }[] | undefined;
702
+ javascriptReturns?: {
703
+ type: string;
704
+ value?: unknown;
705
+ }[] | undefined;
706
+ pdfs?: string[] | undefined;
707
+ } | null | undefined;
708
+ metadata?: z.objectOutputType<{
709
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
710
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
711
+ language: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
712
+ sourceURL: z.ZodOptional<z.ZodString>;
713
+ url: z.ZodOptional<z.ZodString>;
714
+ keywords: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
715
+ ogLocaleAlternate: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
716
+ statusCode: z.ZodOptional<z.ZodNumber>;
717
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
718
+ }, z.ZodTypeAny, "passthrough"> | undefined;
719
+ warning?: string | null | undefined;
720
+ }, {
721
+ links?: string[] | undefined;
722
+ markdown?: string | undefined;
723
+ summary?: string | null | undefined;
724
+ html?: string | null | undefined;
725
+ rawHtml?: string | null | undefined;
726
+ branding?: {
727
+ images?: {
728
+ logo?: string | undefined;
729
+ favicon?: string | undefined;
730
+ ogImage?: string | undefined;
731
+ } | undefined;
732
+ colorScheme?: "light" | "dark" | undefined;
733
+ logo?: string | undefined;
734
+ colors?: {
735
+ success?: string | undefined;
736
+ error?: string | undefined;
737
+ link?: string | undefined;
738
+ warning?: string | undefined;
739
+ primary?: string | undefined;
740
+ secondary?: string | undefined;
741
+ accent?: string | undefined;
742
+ background?: string | undefined;
743
+ textPrimary?: string | undefined;
744
+ textSecondary?: string | undefined;
745
+ } | undefined;
746
+ fonts?: {
747
+ family?: string | undefined;
748
+ }[] | undefined;
749
+ typography?: {
750
+ fontFamilies?: {
751
+ code?: string | undefined;
752
+ primary?: string | undefined;
753
+ heading?: string | undefined;
754
+ } | undefined;
755
+ fontSizes?: {
756
+ body?: string | undefined;
757
+ h1?: string | undefined;
758
+ h2?: string | undefined;
759
+ h3?: string | undefined;
760
+ } | undefined;
761
+ fontWeights?: {
762
+ light?: number | undefined;
763
+ regular?: number | undefined;
764
+ medium?: number | undefined;
765
+ bold?: number | undefined;
766
+ } | undefined;
767
+ lineHeights?: {
768
+ body?: string | undefined;
769
+ heading?: string | undefined;
770
+ } | undefined;
771
+ } | undefined;
772
+ spacing?: {
773
+ baseUnit?: number | undefined;
774
+ borderRadius?: string | undefined;
775
+ padding?: Record<string, unknown> | undefined;
776
+ margins?: Record<string, unknown> | undefined;
777
+ } | undefined;
778
+ components?: {
779
+ buttonPrimary?: {
780
+ background?: string | undefined;
781
+ borderRadius?: string | undefined;
782
+ textColor?: string | undefined;
783
+ } | undefined;
784
+ buttonSecondary?: {
785
+ background?: string | undefined;
786
+ borderRadius?: string | undefined;
787
+ textColor?: string | undefined;
788
+ borderColor?: string | undefined;
789
+ } | undefined;
790
+ input?: Record<string, unknown> | undefined;
791
+ } | undefined;
792
+ icons?: Record<string, unknown> | undefined;
793
+ animations?: Record<string, unknown> | undefined;
794
+ layout?: Record<string, unknown> | undefined;
795
+ personality?: Record<string, unknown> | undefined;
796
+ } | null | undefined;
797
+ screenshot?: string | null | undefined;
798
+ changeTracking?: {
799
+ json?: Record<string, unknown> | undefined;
800
+ previousScrapeAt?: string | undefined;
801
+ changeStatus?: "new" | "same" | "changed" | "removed" | undefined;
802
+ visibility?: "visible" | "hidden" | undefined;
803
+ diff?: string | null | undefined;
804
+ } | null | undefined;
805
+ actions?: {
806
+ screenshots?: string[] | undefined;
807
+ scrapes?: {
808
+ url: string;
809
+ html: string;
810
+ }[] | undefined;
811
+ javascriptReturns?: {
812
+ type: string;
813
+ value?: unknown;
814
+ }[] | undefined;
815
+ pdfs?: string[] | undefined;
816
+ } | null | undefined;
817
+ metadata?: z.objectInputType<{
818
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
819
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
820
+ language: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
821
+ sourceURL: z.ZodOptional<z.ZodString>;
822
+ url: z.ZodOptional<z.ZodString>;
823
+ keywords: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
824
+ ogLocaleAlternate: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
825
+ statusCode: z.ZodOptional<z.ZodNumber>;
826
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
827
+ }, z.ZodTypeAny, "passthrough"> | undefined;
828
+ warning?: string | null | undefined;
829
+ }>;
830
+ }, "strip", z.ZodTypeAny, {
831
+ success: boolean;
832
+ data: {
833
+ links?: string[] | undefined;
834
+ markdown?: string | undefined;
835
+ summary?: string | null | undefined;
836
+ html?: string | null | undefined;
837
+ rawHtml?: string | null | undefined;
838
+ branding?: {
839
+ images?: {
840
+ logo?: string | undefined;
841
+ favicon?: string | undefined;
842
+ ogImage?: string | undefined;
843
+ } | undefined;
844
+ colorScheme?: "light" | "dark" | undefined;
845
+ logo?: string | undefined;
846
+ colors?: {
847
+ success?: string | undefined;
848
+ error?: string | undefined;
849
+ link?: string | undefined;
850
+ warning?: string | undefined;
851
+ primary?: string | undefined;
852
+ secondary?: string | undefined;
853
+ accent?: string | undefined;
854
+ background?: string | undefined;
855
+ textPrimary?: string | undefined;
856
+ textSecondary?: string | undefined;
857
+ } | undefined;
858
+ fonts?: {
859
+ family?: string | undefined;
860
+ }[] | undefined;
861
+ typography?: {
862
+ fontFamilies?: {
863
+ code?: string | undefined;
864
+ primary?: string | undefined;
865
+ heading?: string | undefined;
866
+ } | undefined;
867
+ fontSizes?: {
868
+ body?: string | undefined;
869
+ h1?: string | undefined;
870
+ h2?: string | undefined;
871
+ h3?: string | undefined;
872
+ } | undefined;
873
+ fontWeights?: {
874
+ light?: number | undefined;
875
+ regular?: number | undefined;
876
+ medium?: number | undefined;
877
+ bold?: number | undefined;
878
+ } | undefined;
879
+ lineHeights?: {
880
+ body?: string | undefined;
881
+ heading?: string | undefined;
882
+ } | undefined;
883
+ } | undefined;
884
+ spacing?: {
885
+ baseUnit?: number | undefined;
886
+ borderRadius?: string | undefined;
887
+ padding?: Record<string, unknown> | undefined;
888
+ margins?: Record<string, unknown> | undefined;
889
+ } | undefined;
890
+ components?: {
891
+ buttonPrimary?: {
892
+ background?: string | undefined;
893
+ borderRadius?: string | undefined;
894
+ textColor?: string | undefined;
895
+ } | undefined;
896
+ buttonSecondary?: {
897
+ background?: string | undefined;
898
+ borderRadius?: string | undefined;
899
+ textColor?: string | undefined;
900
+ borderColor?: string | undefined;
901
+ } | undefined;
902
+ input?: Record<string, unknown> | undefined;
903
+ } | undefined;
904
+ icons?: Record<string, unknown> | undefined;
905
+ animations?: Record<string, unknown> | undefined;
906
+ layout?: Record<string, unknown> | undefined;
907
+ personality?: Record<string, unknown> | undefined;
908
+ } | null | undefined;
909
+ screenshot?: string | null | undefined;
910
+ changeTracking?: {
911
+ json?: Record<string, unknown> | undefined;
912
+ previousScrapeAt?: string | undefined;
913
+ changeStatus?: "new" | "same" | "changed" | "removed" | undefined;
914
+ visibility?: "visible" | "hidden" | undefined;
915
+ diff?: string | null | undefined;
916
+ } | null | undefined;
917
+ actions?: {
918
+ screenshots?: string[] | undefined;
919
+ scrapes?: {
920
+ url: string;
921
+ html: string;
922
+ }[] | undefined;
923
+ javascriptReturns?: {
924
+ type: string;
925
+ value?: unknown;
926
+ }[] | undefined;
927
+ pdfs?: string[] | undefined;
928
+ } | null | undefined;
929
+ metadata?: z.objectOutputType<{
930
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
931
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
932
+ language: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
933
+ sourceURL: z.ZodOptional<z.ZodString>;
934
+ url: z.ZodOptional<z.ZodString>;
935
+ keywords: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
936
+ ogLocaleAlternate: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
937
+ statusCode: z.ZodOptional<z.ZodNumber>;
938
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
939
+ }, z.ZodTypeAny, "passthrough"> | undefined;
940
+ warning?: string | null | undefined;
941
+ };
942
+ }, {
943
+ success: boolean;
944
+ data: {
945
+ links?: string[] | undefined;
946
+ markdown?: string | undefined;
947
+ summary?: string | null | undefined;
948
+ html?: string | null | undefined;
949
+ rawHtml?: string | null | undefined;
950
+ branding?: {
951
+ images?: {
952
+ logo?: string | undefined;
953
+ favicon?: string | undefined;
954
+ ogImage?: string | undefined;
955
+ } | undefined;
956
+ colorScheme?: "light" | "dark" | undefined;
957
+ logo?: string | undefined;
958
+ colors?: {
959
+ success?: string | undefined;
960
+ error?: string | undefined;
961
+ link?: string | undefined;
962
+ warning?: string | undefined;
963
+ primary?: string | undefined;
964
+ secondary?: string | undefined;
965
+ accent?: string | undefined;
966
+ background?: string | undefined;
967
+ textPrimary?: string | undefined;
968
+ textSecondary?: string | undefined;
969
+ } | undefined;
970
+ fonts?: {
971
+ family?: string | undefined;
972
+ }[] | undefined;
973
+ typography?: {
974
+ fontFamilies?: {
975
+ code?: string | undefined;
976
+ primary?: string | undefined;
977
+ heading?: string | undefined;
978
+ } | undefined;
979
+ fontSizes?: {
980
+ body?: string | undefined;
981
+ h1?: string | undefined;
982
+ h2?: string | undefined;
983
+ h3?: string | undefined;
984
+ } | undefined;
985
+ fontWeights?: {
986
+ light?: number | undefined;
987
+ regular?: number | undefined;
988
+ medium?: number | undefined;
989
+ bold?: number | undefined;
990
+ } | undefined;
991
+ lineHeights?: {
992
+ body?: string | undefined;
993
+ heading?: string | undefined;
994
+ } | undefined;
995
+ } | undefined;
996
+ spacing?: {
997
+ baseUnit?: number | undefined;
998
+ borderRadius?: string | undefined;
999
+ padding?: Record<string, unknown> | undefined;
1000
+ margins?: Record<string, unknown> | undefined;
1001
+ } | undefined;
1002
+ components?: {
1003
+ buttonPrimary?: {
1004
+ background?: string | undefined;
1005
+ borderRadius?: string | undefined;
1006
+ textColor?: string | undefined;
1007
+ } | undefined;
1008
+ buttonSecondary?: {
1009
+ background?: string | undefined;
1010
+ borderRadius?: string | undefined;
1011
+ textColor?: string | undefined;
1012
+ borderColor?: string | undefined;
1013
+ } | undefined;
1014
+ input?: Record<string, unknown> | undefined;
1015
+ } | undefined;
1016
+ icons?: Record<string, unknown> | undefined;
1017
+ animations?: Record<string, unknown> | undefined;
1018
+ layout?: Record<string, unknown> | undefined;
1019
+ personality?: Record<string, unknown> | undefined;
1020
+ } | null | undefined;
1021
+ screenshot?: string | null | undefined;
1022
+ changeTracking?: {
1023
+ json?: Record<string, unknown> | undefined;
1024
+ previousScrapeAt?: string | undefined;
1025
+ changeStatus?: "new" | "same" | "changed" | "removed" | undefined;
1026
+ visibility?: "visible" | "hidden" | undefined;
1027
+ diff?: string | null | undefined;
1028
+ } | null | undefined;
1029
+ actions?: {
1030
+ screenshots?: string[] | undefined;
1031
+ scrapes?: {
1032
+ url: string;
1033
+ html: string;
1034
+ }[] | undefined;
1035
+ javascriptReturns?: {
1036
+ type: string;
1037
+ value?: unknown;
1038
+ }[] | undefined;
1039
+ pdfs?: string[] | undefined;
1040
+ } | null | undefined;
1041
+ metadata?: z.objectInputType<{
1042
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1043
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1044
+ language: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
1045
+ sourceURL: z.ZodOptional<z.ZodString>;
1046
+ url: z.ZodOptional<z.ZodString>;
1047
+ keywords: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1048
+ ogLocaleAlternate: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1049
+ statusCode: z.ZodOptional<z.ZodNumber>;
1050
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1051
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1052
+ warning?: string | null | undefined;
1053
+ };
1054
+ }>;
1055
+ export type FirecrawlScrapeOutput = z.infer<typeof FirecrawlScrapeOutputSchema>;
1056
+ /**
1057
+ * Firecrawl Scrape Node
1058
+ *
1059
+ * Scrapes a single URL and extracts content using the Firecrawl API.
1060
+ * Supports multiple output formats including markdown, HTML, screenshots,
1061
+ * structured JSON extraction, and change tracking.
1062
+ *
1063
+ * @example
1064
+ * ```typescript
1065
+ * const result = await firecrawlScrapeNode.executor({
1066
+ * url: 'https://example.com',
1067
+ * formats: ['markdown'],
1068
+ * onlyMainContent: true,
1069
+ * }, context);
1070
+ * ```
1071
+ */
1072
+ export declare const firecrawlScrapeNode: import("@jam-nodes/core").NodeDefinition<{
1073
+ url: string;
1074
+ formats?: ("links" | "images" | "markdown" | "summary" | "html" | "rawHtml" | "branding" | {
1075
+ type: "screenshot";
1076
+ fullPage?: boolean | undefined;
1077
+ quality?: number | undefined;
1078
+ viewport?: {
1079
+ width: number;
1080
+ height: number;
1081
+ } | undefined;
1082
+ } | {
1083
+ type: "json";
1084
+ schema?: Record<string, unknown> | undefined;
1085
+ prompt?: string | undefined;
1086
+ } | {
1087
+ type: "changeTracking";
1088
+ schema?: Record<string, unknown> | undefined;
1089
+ prompt?: string | undefined;
1090
+ modes?: ("json" | "git-diff")[] | undefined;
1091
+ tag?: string | null | undefined;
1092
+ })[] | undefined;
1093
+ onlyMainContent?: boolean | undefined;
1094
+ waitFor?: number | undefined;
1095
+ }, {
1096
+ success: boolean;
1097
+ data: {
1098
+ links?: string[] | undefined;
1099
+ markdown?: string | undefined;
1100
+ summary?: string | null | undefined;
1101
+ html?: string | null | undefined;
1102
+ rawHtml?: string | null | undefined;
1103
+ branding?: {
1104
+ images?: {
1105
+ logo?: string | undefined;
1106
+ favicon?: string | undefined;
1107
+ ogImage?: string | undefined;
1108
+ } | undefined;
1109
+ colorScheme?: "light" | "dark" | undefined;
1110
+ logo?: string | undefined;
1111
+ colors?: {
1112
+ success?: string | undefined;
1113
+ error?: string | undefined;
1114
+ link?: string | undefined;
1115
+ warning?: string | undefined;
1116
+ primary?: string | undefined;
1117
+ secondary?: string | undefined;
1118
+ accent?: string | undefined;
1119
+ background?: string | undefined;
1120
+ textPrimary?: string | undefined;
1121
+ textSecondary?: string | undefined;
1122
+ } | undefined;
1123
+ fonts?: {
1124
+ family?: string | undefined;
1125
+ }[] | undefined;
1126
+ typography?: {
1127
+ fontFamilies?: {
1128
+ code?: string | undefined;
1129
+ primary?: string | undefined;
1130
+ heading?: string | undefined;
1131
+ } | undefined;
1132
+ fontSizes?: {
1133
+ body?: string | undefined;
1134
+ h1?: string | undefined;
1135
+ h2?: string | undefined;
1136
+ h3?: string | undefined;
1137
+ } | undefined;
1138
+ fontWeights?: {
1139
+ light?: number | undefined;
1140
+ regular?: number | undefined;
1141
+ medium?: number | undefined;
1142
+ bold?: number | undefined;
1143
+ } | undefined;
1144
+ lineHeights?: {
1145
+ body?: string | undefined;
1146
+ heading?: string | undefined;
1147
+ } | undefined;
1148
+ } | undefined;
1149
+ spacing?: {
1150
+ baseUnit?: number | undefined;
1151
+ borderRadius?: string | undefined;
1152
+ padding?: Record<string, unknown> | undefined;
1153
+ margins?: Record<string, unknown> | undefined;
1154
+ } | undefined;
1155
+ components?: {
1156
+ buttonPrimary?: {
1157
+ background?: string | undefined;
1158
+ borderRadius?: string | undefined;
1159
+ textColor?: string | undefined;
1160
+ } | undefined;
1161
+ buttonSecondary?: {
1162
+ background?: string | undefined;
1163
+ borderRadius?: string | undefined;
1164
+ textColor?: string | undefined;
1165
+ borderColor?: string | undefined;
1166
+ } | undefined;
1167
+ input?: Record<string, unknown> | undefined;
1168
+ } | undefined;
1169
+ icons?: Record<string, unknown> | undefined;
1170
+ animations?: Record<string, unknown> | undefined;
1171
+ layout?: Record<string, unknown> | undefined;
1172
+ personality?: Record<string, unknown> | undefined;
1173
+ } | null | undefined;
1174
+ screenshot?: string | null | undefined;
1175
+ changeTracking?: {
1176
+ json?: Record<string, unknown> | undefined;
1177
+ previousScrapeAt?: string | undefined;
1178
+ changeStatus?: "new" | "same" | "changed" | "removed" | undefined;
1179
+ visibility?: "visible" | "hidden" | undefined;
1180
+ diff?: string | null | undefined;
1181
+ } | null | undefined;
1182
+ actions?: {
1183
+ screenshots?: string[] | undefined;
1184
+ scrapes?: {
1185
+ url: string;
1186
+ html: string;
1187
+ }[] | undefined;
1188
+ javascriptReturns?: {
1189
+ type: string;
1190
+ value?: unknown;
1191
+ }[] | undefined;
1192
+ pdfs?: string[] | undefined;
1193
+ } | null | undefined;
1194
+ metadata?: z.objectInputType<{
1195
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1196
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1197
+ language: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
1198
+ sourceURL: z.ZodOptional<z.ZodString>;
1199
+ url: z.ZodOptional<z.ZodString>;
1200
+ keywords: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1201
+ ogLocaleAlternate: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1202
+ statusCode: z.ZodOptional<z.ZodNumber>;
1203
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1204
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1205
+ warning?: string | null | undefined;
1206
+ };
1207
+ }>;
1208
+ //# sourceMappingURL=scrape.d.ts.map