@corsair-dev/figma 0.1.0

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 (65) hide show
  1. package/LICENSE +191 -0
  2. package/dist/client.d.ts +13 -0
  3. package/dist/client.d.ts.map +1 -0
  4. package/dist/endpoints/activityLogs.d.ts +3 -0
  5. package/dist/endpoints/activityLogs.d.ts.map +1 -0
  6. package/dist/endpoints/comments.d.ts +8 -0
  7. package/dist/endpoints/comments.d.ts.map +1 -0
  8. package/dist/endpoints/components.d.ts +8 -0
  9. package/dist/endpoints/components.d.ts.map +1 -0
  10. package/dist/endpoints/designTools.d.ts +7 -0
  11. package/dist/endpoints/designTools.d.ts.map +1 -0
  12. package/dist/endpoints/devResources.d.ts +6 -0
  13. package/dist/endpoints/devResources.d.ts.map +1 -0
  14. package/dist/endpoints/example.d.ts +3 -0
  15. package/dist/endpoints/example.d.ts.map +1 -0
  16. package/dist/endpoints/files.d.ts +10 -0
  17. package/dist/endpoints/files.d.ts.map +1 -0
  18. package/dist/endpoints/index.d.ts +717 -0
  19. package/dist/endpoints/index.d.ts.map +1 -0
  20. package/dist/endpoints/libraryAnalytics.d.ts +8 -0
  21. package/dist/endpoints/libraryAnalytics.d.ts.map +1 -0
  22. package/dist/endpoints/payments.d.ts +3 -0
  23. package/dist/endpoints/payments.d.ts.map +1 -0
  24. package/dist/endpoints/projects.d.ts +3 -0
  25. package/dist/endpoints/projects.d.ts.map +1 -0
  26. package/dist/endpoints/styles.d.ts +4 -0
  27. package/dist/endpoints/styles.d.ts.map +1 -0
  28. package/dist/endpoints/types.d.ts +5643 -0
  29. package/dist/endpoints/types.d.ts.map +1 -0
  30. package/dist/endpoints/users.d.ts +3 -0
  31. package/dist/endpoints/users.d.ts.map +1 -0
  32. package/dist/endpoints/variables.d.ts +5 -0
  33. package/dist/endpoints/variables.d.ts.map +1 -0
  34. package/dist/endpoints/webhooks.d.ts +8 -0
  35. package/dist/endpoints/webhooks.d.ts.map +1 -0
  36. package/dist/error-handlers.d.ts +40 -0
  37. package/dist/error-handlers.d.ts.map +1 -0
  38. package/dist/index.d.ts +3035 -0
  39. package/dist/index.d.ts.map +1 -0
  40. package/dist/index.js +13 -0
  41. package/dist/schema/database.d.ts +168 -0
  42. package/dist/schema/database.d.ts.map +1 -0
  43. package/dist/schema/index.d.ts +167 -0
  44. package/dist/schema/index.d.ts.map +1 -0
  45. package/dist/tsup.config.d.ts +3 -0
  46. package/dist/tsup.config.d.ts.map +1 -0
  47. package/dist/webhooks/example.d.ts +3 -0
  48. package/dist/webhooks/example.d.ts.map +1 -0
  49. package/dist/webhooks/fileComment.d.ts +3 -0
  50. package/dist/webhooks/fileComment.d.ts.map +1 -0
  51. package/dist/webhooks/fileDelete.d.ts +3 -0
  52. package/dist/webhooks/fileDelete.d.ts.map +1 -0
  53. package/dist/webhooks/fileUpdate.d.ts +3 -0
  54. package/dist/webhooks/fileUpdate.d.ts.map +1 -0
  55. package/dist/webhooks/fileVersionUpdate.d.ts +3 -0
  56. package/dist/webhooks/fileVersionUpdate.d.ts.map +1 -0
  57. package/dist/webhooks/index.d.ts +38 -0
  58. package/dist/webhooks/index.d.ts.map +1 -0
  59. package/dist/webhooks/libraryPublish.d.ts +3 -0
  60. package/dist/webhooks/libraryPublish.d.ts.map +1 -0
  61. package/dist/webhooks/ping.d.ts +3 -0
  62. package/dist/webhooks/ping.d.ts.map +1 -0
  63. package/dist/webhooks/types.d.ts +488 -0
  64. package/dist/webhooks/types.d.ts.map +1 -0
  65. package/package.json +40 -0
@@ -0,0 +1,3035 @@
1
+ import type { BindEndpoints, BindWebhooks, CorsairEndpoint, CorsairErrorHandler, CorsairPlugin, CorsairPluginContext, CorsairWebhook, KeyBuilderContext, PluginPermissionsConfig } from 'corsair/core';
2
+ import type { AuthTypes, PickAuth } from 'corsair/core';
3
+ import type { FigmaEndpointInputs, FigmaEndpointOutputs } from './endpoints/types';
4
+ import type { FigmaWebhookOutputs } from './webhooks/types';
5
+ import { FigmaSchema } from './schema';
6
+ import type { FigmaFileCommentEvent, FigmaFileUpdateEvent, FigmaFileDeleteEvent, FigmaFileVersionUpdateEvent, FigmaLibraryPublishEvent, FigmaPingEvent } from './webhooks/types';
7
+ export type FigmaPluginOptions = {
8
+ authType?: PickAuth<'api_key'>;
9
+ key?: string;
10
+ webhookSecret?: string;
11
+ hooks?: InternalFigmaPlugin['hooks'];
12
+ webhookHooks?: InternalFigmaPlugin['webhookHooks'];
13
+ errorHandlers?: CorsairErrorHandler;
14
+ /**
15
+ * Permission configuration for the Figma plugin.
16
+ * Controls what the AI agent is allowed to do.
17
+ * Overrides use dot-notation paths from the Figma endpoint tree — invalid paths are type errors.
18
+ */
19
+ permissions?: PluginPermissionsConfig<typeof figmaEndpointsNested>;
20
+ };
21
+ export type FigmaContext = CorsairPluginContext<typeof FigmaSchema, FigmaPluginOptions>;
22
+ export type FigmaKeyBuilderContext = KeyBuilderContext<FigmaPluginOptions>;
23
+ export type FigmaBoundEndpoints = BindEndpoints<typeof figmaEndpointsNested>;
24
+ type FigmaEndpoint<K extends keyof FigmaEndpointOutputs> = CorsairEndpoint<FigmaContext, FigmaEndpointInputs[K], FigmaEndpointOutputs[K]>;
25
+ export type FigmaEndpoints = {
26
+ commentsAdd: FigmaEndpoint<'commentsAdd'>;
27
+ commentsDelete: FigmaEndpoint<'commentsDelete'>;
28
+ commentsList: FigmaEndpoint<'commentsList'>;
29
+ commentsGetReactions: FigmaEndpoint<'commentsGetReactions'>;
30
+ commentsAddReaction: FigmaEndpoint<'commentsAddReaction'>;
31
+ commentsDeleteReaction: FigmaEndpoint<'commentsDeleteReaction'>;
32
+ webhooksCreate: FigmaEndpoint<'webhooksCreate'>;
33
+ webhooksDelete: FigmaEndpoint<'webhooksDelete'>;
34
+ webhooksGet: FigmaEndpoint<'webhooksGet'>;
35
+ webhooksList: FigmaEndpoint<'webhooksList'>;
36
+ webhooksGetRequests: FigmaEndpoint<'webhooksGetRequests'>;
37
+ webhooksUpdate: FigmaEndpoint<'webhooksUpdate'>;
38
+ devResourcesCreate: FigmaEndpoint<'devResourcesCreate'>;
39
+ devResourcesDelete: FigmaEndpoint<'devResourcesDelete'>;
40
+ devResourcesGet: FigmaEndpoint<'devResourcesGet'>;
41
+ devResourcesUpdate: FigmaEndpoint<'devResourcesUpdate'>;
42
+ variablesCreateModifyDelete: FigmaEndpoint<'variablesCreateModifyDelete'>;
43
+ variablesGetLocal: FigmaEndpoint<'variablesGetLocal'>;
44
+ variablesGetPublished: FigmaEndpoint<'variablesGetPublished'>;
45
+ componentsGet: FigmaEndpoint<'componentsGet'>;
46
+ componentSetsGet: FigmaEndpoint<'componentSetsGet'>;
47
+ componentsGetForFile: FigmaEndpoint<'componentsGetForFile'>;
48
+ componentSetsGetForFile: FigmaEndpoint<'componentSetsGetForFile'>;
49
+ componentsGetForTeam: FigmaEndpoint<'componentsGetForTeam'>;
50
+ componentSetsGetForTeam: FigmaEndpoint<'componentSetsGetForTeam'>;
51
+ filesGetJSON: FigmaEndpoint<'filesGetJSON'>;
52
+ filesGetMetadata: FigmaEndpoint<'filesGetMetadata'>;
53
+ filesGetNodes: FigmaEndpoint<'filesGetNodes'>;
54
+ filesGetStyles: FigmaEndpoint<'filesGetStyles'>;
55
+ filesGetImageFills: FigmaEndpoint<'filesGetImageFills'>;
56
+ filesGetVersions: FigmaEndpoint<'filesGetVersions'>;
57
+ filesRenderImages: FigmaEndpoint<'filesRenderImages'>;
58
+ filesGetProjectFiles: FigmaEndpoint<'filesGetProjectFiles'>;
59
+ stylesGet: FigmaEndpoint<'stylesGet'>;
60
+ stylesGetForTeam: FigmaEndpoint<'stylesGetForTeam'>;
61
+ projectsGetTeamProjects: FigmaEndpoint<'projectsGetTeamProjects'>;
62
+ usersGetCurrent: FigmaEndpoint<'usersGetCurrent'>;
63
+ libraryAnalyticsComponentActions: FigmaEndpoint<'libraryAnalyticsComponentActions'>;
64
+ libraryAnalyticsComponentUsages: FigmaEndpoint<'libraryAnalyticsComponentUsages'>;
65
+ libraryAnalyticsStyleActions: FigmaEndpoint<'libraryAnalyticsStyleActions'>;
66
+ libraryAnalyticsStyleUsages: FigmaEndpoint<'libraryAnalyticsStyleUsages'>;
67
+ libraryAnalyticsVariableActions: FigmaEndpoint<'libraryAnalyticsVariableActions'>;
68
+ libraryAnalyticsVariableUsages: FigmaEndpoint<'libraryAnalyticsVariableUsages'>;
69
+ activityLogsList: FigmaEndpoint<'activityLogsList'>;
70
+ paymentsGet: FigmaEndpoint<'paymentsGet'>;
71
+ designToolsDiscoverResources: FigmaEndpoint<'designToolsDiscoverResources'>;
72
+ designToolsExtractDesignTokens: FigmaEndpoint<'designToolsExtractDesignTokens'>;
73
+ designToolsExtractPrototypeInteractions: FigmaEndpoint<'designToolsExtractPrototypeInteractions'>;
74
+ designToolsDownloadImages: FigmaEndpoint<'designToolsDownloadImages'>;
75
+ designToolsDesignTokensToTailwind: FigmaEndpoint<'designToolsDesignTokensToTailwind'>;
76
+ };
77
+ type FigmaWebhook<K extends keyof FigmaWebhookOutputs, TEvent> = CorsairWebhook<FigmaContext, TEvent, FigmaWebhookOutputs[K]>;
78
+ export type FigmaWebhooks = {
79
+ fileComment: FigmaWebhook<'fileComment', FigmaFileCommentEvent>;
80
+ fileUpdate: FigmaWebhook<'fileUpdate', FigmaFileUpdateEvent>;
81
+ fileDelete: FigmaWebhook<'fileDelete', FigmaFileDeleteEvent>;
82
+ fileVersionUpdate: FigmaWebhook<'fileVersionUpdate', FigmaFileVersionUpdateEvent>;
83
+ libraryPublish: FigmaWebhook<'libraryPublish', FigmaLibraryPublishEvent>;
84
+ ping: FigmaWebhook<'ping', FigmaPingEvent>;
85
+ };
86
+ export type FigmaBoundWebhooks = BindWebhooks<FigmaWebhooks>;
87
+ declare const figmaEndpointsNested: {
88
+ readonly comments: {
89
+ readonly add: FigmaEndpoint<"commentsAdd">;
90
+ readonly delete: FigmaEndpoint<"commentsDelete">;
91
+ readonly list: FigmaEndpoint<"commentsList">;
92
+ readonly getReactions: FigmaEndpoint<"commentsGetReactions">;
93
+ readonly addReaction: FigmaEndpoint<"commentsAddReaction">;
94
+ readonly deleteReaction: FigmaEndpoint<"commentsDeleteReaction">;
95
+ };
96
+ readonly webhooks: {
97
+ readonly create: FigmaEndpoint<"webhooksCreate">;
98
+ readonly delete: FigmaEndpoint<"webhooksDelete">;
99
+ readonly get: FigmaEndpoint<"webhooksGet">;
100
+ readonly list: FigmaEndpoint<"webhooksList">;
101
+ readonly getRequests: FigmaEndpoint<"webhooksGetRequests">;
102
+ readonly update: FigmaEndpoint<"webhooksUpdate">;
103
+ };
104
+ readonly devResources: {
105
+ readonly create: FigmaEndpoint<"devResourcesCreate">;
106
+ readonly delete: FigmaEndpoint<"devResourcesDelete">;
107
+ readonly get: FigmaEndpoint<"devResourcesGet">;
108
+ readonly update: FigmaEndpoint<"devResourcesUpdate">;
109
+ };
110
+ readonly variables: {
111
+ readonly createModifyDelete: FigmaEndpoint<"variablesCreateModifyDelete">;
112
+ readonly getLocal: FigmaEndpoint<"variablesGetLocal">;
113
+ readonly getPublished: FigmaEndpoint<"variablesGetPublished">;
114
+ };
115
+ readonly components: {
116
+ readonly get: FigmaEndpoint<"componentsGet">;
117
+ readonly getComponentSet: FigmaEndpoint<"componentSetsGet">;
118
+ readonly getForFile: FigmaEndpoint<"componentsGetForFile">;
119
+ readonly getComponentSetsForFile: FigmaEndpoint<"componentSetsGetForFile">;
120
+ readonly getForTeam: FigmaEndpoint<"componentsGetForTeam">;
121
+ readonly getComponentSetsForTeam: FigmaEndpoint<"componentSetsGetForTeam">;
122
+ };
123
+ readonly files: {
124
+ readonly getJSON: FigmaEndpoint<"filesGetJSON">;
125
+ readonly getMetadata: FigmaEndpoint<"filesGetMetadata">;
126
+ readonly getNodes: FigmaEndpoint<"filesGetNodes">;
127
+ readonly getStyles: FigmaEndpoint<"filesGetStyles">;
128
+ readonly getImageFills: FigmaEndpoint<"filesGetImageFills">;
129
+ readonly getVersions: FigmaEndpoint<"filesGetVersions">;
130
+ readonly renderImages: FigmaEndpoint<"filesRenderImages">;
131
+ readonly getProjectFiles: FigmaEndpoint<"filesGetProjectFiles">;
132
+ };
133
+ readonly styles: {
134
+ readonly get: FigmaEndpoint<"stylesGet">;
135
+ readonly getForTeam: FigmaEndpoint<"stylesGetForTeam">;
136
+ };
137
+ readonly projects: {
138
+ readonly getTeamProjects: FigmaEndpoint<"projectsGetTeamProjects">;
139
+ };
140
+ readonly users: {
141
+ readonly getCurrent: FigmaEndpoint<"usersGetCurrent">;
142
+ };
143
+ readonly libraryAnalytics: {
144
+ readonly componentActions: FigmaEndpoint<"libraryAnalyticsComponentActions">;
145
+ readonly componentUsages: FigmaEndpoint<"libraryAnalyticsComponentUsages">;
146
+ readonly styleActions: FigmaEndpoint<"libraryAnalyticsStyleActions">;
147
+ readonly styleUsages: FigmaEndpoint<"libraryAnalyticsStyleUsages">;
148
+ readonly variableActions: FigmaEndpoint<"libraryAnalyticsVariableActions">;
149
+ readonly variableUsages: FigmaEndpoint<"libraryAnalyticsVariableUsages">;
150
+ };
151
+ readonly activityLogs: {
152
+ readonly list: FigmaEndpoint<"activityLogsList">;
153
+ };
154
+ readonly payments: {
155
+ readonly get: FigmaEndpoint<"paymentsGet">;
156
+ };
157
+ readonly designTools: {
158
+ readonly discoverResources: FigmaEndpoint<"designToolsDiscoverResources">;
159
+ readonly extractDesignTokens: FigmaEndpoint<"designToolsExtractDesignTokens">;
160
+ readonly extractPrototypeInteractions: FigmaEndpoint<"designToolsExtractPrototypeInteractions">;
161
+ readonly downloadImages: FigmaEndpoint<"designToolsDownloadImages">;
162
+ readonly designTokensToTailwind: FigmaEndpoint<"designToolsDesignTokensToTailwind">;
163
+ };
164
+ };
165
+ declare const figmaWebhooksNested: {
166
+ readonly files: {
167
+ readonly fileComment: FigmaWebhook<"fileComment", FigmaFileCommentEvent>;
168
+ readonly fileUpdate: FigmaWebhook<"fileUpdate", FigmaFileUpdateEvent>;
169
+ readonly fileDelete: FigmaWebhook<"fileDelete", FigmaFileDeleteEvent>;
170
+ readonly fileVersionUpdate: FigmaWebhook<"fileVersionUpdate", FigmaFileVersionUpdateEvent>;
171
+ };
172
+ readonly library: {
173
+ readonly libraryPublish: FigmaWebhook<"libraryPublish", FigmaLibraryPublishEvent>;
174
+ };
175
+ readonly ping: {
176
+ readonly ping: FigmaWebhook<"ping", FigmaPingEvent>;
177
+ };
178
+ };
179
+ export declare const figmaEndpointSchemas: {
180
+ readonly 'comments.add': {
181
+ readonly input: import("zod").ZodObject<{
182
+ message: import("zod").ZodString;
183
+ file_key: import("zod").ZodString;
184
+ comment_id: import("zod").ZodOptional<import("zod").ZodString>;
185
+ client_meta: import("zod").ZodOptional<import("zod").ZodUnknown>;
186
+ }, "strip", import("zod").ZodTypeAny, {
187
+ message: string;
188
+ file_key: string;
189
+ client_meta?: unknown;
190
+ comment_id?: string | undefined;
191
+ }, {
192
+ message: string;
193
+ file_key: string;
194
+ client_meta?: unknown;
195
+ comment_id?: string | undefined;
196
+ }>;
197
+ readonly output: import("zod").ZodObject<{
198
+ id: import("zod").ZodString;
199
+ uuid: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
200
+ message: import("zod").ZodOptional<import("zod").ZodString>;
201
+ file_key: import("zod").ZodOptional<import("zod").ZodString>;
202
+ order_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
203
+ parent_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
204
+ reactions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
205
+ user: import("zod").ZodOptional<import("zod").ZodObject<{
206
+ id: import("zod").ZodString;
207
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
208
+ img_url: import("zod").ZodOptional<import("zod").ZodString>;
209
+ }, "strip", import("zod").ZodTypeAny, {
210
+ id: string;
211
+ handle?: string | undefined;
212
+ img_url?: string | undefined;
213
+ }, {
214
+ id: string;
215
+ handle?: string | undefined;
216
+ img_url?: string | undefined;
217
+ }>>;
218
+ emoji: import("zod").ZodOptional<import("zod").ZodString>;
219
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
220
+ }, "strip", import("zod").ZodTypeAny, {
221
+ created_at?: string | undefined;
222
+ user?: {
223
+ id: string;
224
+ handle?: string | undefined;
225
+ img_url?: string | undefined;
226
+ } | undefined;
227
+ emoji?: string | undefined;
228
+ }, {
229
+ created_at?: string | undefined;
230
+ user?: {
231
+ id: string;
232
+ handle?: string | undefined;
233
+ img_url?: string | undefined;
234
+ } | undefined;
235
+ emoji?: string | undefined;
236
+ }>, "many">>;
237
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
238
+ client_meta: import("zod").ZodOptional<import("zod").ZodUnknown>;
239
+ resolved_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
240
+ user: import("zod").ZodOptional<import("zod").ZodObject<{
241
+ id: import("zod").ZodString;
242
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
243
+ img_url: import("zod").ZodOptional<import("zod").ZodString>;
244
+ }, "strip", import("zod").ZodTypeAny, {
245
+ id: string;
246
+ handle?: string | undefined;
247
+ img_url?: string | undefined;
248
+ }, {
249
+ id: string;
250
+ handle?: string | undefined;
251
+ img_url?: string | undefined;
252
+ }>>;
253
+ }, "strip", import("zod").ZodTypeAny, {
254
+ id: string;
255
+ created_at?: string | undefined;
256
+ message?: string | undefined;
257
+ user?: {
258
+ id: string;
259
+ handle?: string | undefined;
260
+ img_url?: string | undefined;
261
+ } | undefined;
262
+ uuid?: string | null | undefined;
263
+ file_key?: string | undefined;
264
+ order_id?: string | null | undefined;
265
+ parent_id?: string | null | undefined;
266
+ reactions?: {
267
+ created_at?: string | undefined;
268
+ user?: {
269
+ id: string;
270
+ handle?: string | undefined;
271
+ img_url?: string | undefined;
272
+ } | undefined;
273
+ emoji?: string | undefined;
274
+ }[] | undefined;
275
+ client_meta?: unknown;
276
+ resolved_at?: string | null | undefined;
277
+ }, {
278
+ id: string;
279
+ created_at?: string | undefined;
280
+ message?: string | undefined;
281
+ user?: {
282
+ id: string;
283
+ handle?: string | undefined;
284
+ img_url?: string | undefined;
285
+ } | undefined;
286
+ uuid?: string | null | undefined;
287
+ file_key?: string | undefined;
288
+ order_id?: string | null | undefined;
289
+ parent_id?: string | null | undefined;
290
+ reactions?: {
291
+ created_at?: string | undefined;
292
+ user?: {
293
+ id: string;
294
+ handle?: string | undefined;
295
+ img_url?: string | undefined;
296
+ } | undefined;
297
+ emoji?: string | undefined;
298
+ }[] | undefined;
299
+ client_meta?: unknown;
300
+ resolved_at?: string | null | undefined;
301
+ }>;
302
+ };
303
+ readonly 'comments.delete': {
304
+ readonly input: import("zod").ZodObject<{
305
+ file_key: import("zod").ZodString;
306
+ comment_id: import("zod").ZodString;
307
+ }, "strip", import("zod").ZodTypeAny, {
308
+ file_key: string;
309
+ comment_id: string;
310
+ }, {
311
+ file_key: string;
312
+ comment_id: string;
313
+ }>;
314
+ readonly output: import("zod").ZodObject<{
315
+ status: import("zod").ZodOptional<import("zod").ZodNumber>;
316
+ error: import("zod").ZodOptional<import("zod").ZodBoolean>;
317
+ }, "strip", import("zod").ZodTypeAny, {
318
+ status?: number | undefined;
319
+ error?: boolean | undefined;
320
+ }, {
321
+ status?: number | undefined;
322
+ error?: boolean | undefined;
323
+ }>;
324
+ };
325
+ readonly 'comments.list': {
326
+ readonly input: import("zod").ZodObject<{
327
+ file_key: import("zod").ZodString;
328
+ as_md: import("zod").ZodOptional<import("zod").ZodBoolean>;
329
+ }, "strip", import("zod").ZodTypeAny, {
330
+ file_key: string;
331
+ as_md?: boolean | undefined;
332
+ }, {
333
+ file_key: string;
334
+ as_md?: boolean | undefined;
335
+ }>;
336
+ readonly output: import("zod").ZodObject<{
337
+ comments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
338
+ id: import("zod").ZodString;
339
+ uuid: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
340
+ message: import("zod").ZodOptional<import("zod").ZodString>;
341
+ file_key: import("zod").ZodOptional<import("zod").ZodString>;
342
+ order_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
343
+ parent_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
344
+ reactions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
345
+ user: import("zod").ZodOptional<import("zod").ZodObject<{
346
+ id: import("zod").ZodString;
347
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
348
+ img_url: import("zod").ZodOptional<import("zod").ZodString>;
349
+ }, "strip", import("zod").ZodTypeAny, {
350
+ id: string;
351
+ handle?: string | undefined;
352
+ img_url?: string | undefined;
353
+ }, {
354
+ id: string;
355
+ handle?: string | undefined;
356
+ img_url?: string | undefined;
357
+ }>>;
358
+ emoji: import("zod").ZodOptional<import("zod").ZodString>;
359
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
360
+ }, "strip", import("zod").ZodTypeAny, {
361
+ created_at?: string | undefined;
362
+ user?: {
363
+ id: string;
364
+ handle?: string | undefined;
365
+ img_url?: string | undefined;
366
+ } | undefined;
367
+ emoji?: string | undefined;
368
+ }, {
369
+ created_at?: string | undefined;
370
+ user?: {
371
+ id: string;
372
+ handle?: string | undefined;
373
+ img_url?: string | undefined;
374
+ } | undefined;
375
+ emoji?: string | undefined;
376
+ }>, "many">>;
377
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
378
+ client_meta: import("zod").ZodOptional<import("zod").ZodUnknown>;
379
+ resolved_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
380
+ user: import("zod").ZodOptional<import("zod").ZodObject<{
381
+ id: import("zod").ZodString;
382
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
383
+ img_url: import("zod").ZodOptional<import("zod").ZodString>;
384
+ }, "strip", import("zod").ZodTypeAny, {
385
+ id: string;
386
+ handle?: string | undefined;
387
+ img_url?: string | undefined;
388
+ }, {
389
+ id: string;
390
+ handle?: string | undefined;
391
+ img_url?: string | undefined;
392
+ }>>;
393
+ }, "strip", import("zod").ZodTypeAny, {
394
+ id: string;
395
+ created_at?: string | undefined;
396
+ message?: string | undefined;
397
+ user?: {
398
+ id: string;
399
+ handle?: string | undefined;
400
+ img_url?: string | undefined;
401
+ } | undefined;
402
+ uuid?: string | null | undefined;
403
+ file_key?: string | undefined;
404
+ order_id?: string | null | undefined;
405
+ parent_id?: string | null | undefined;
406
+ reactions?: {
407
+ created_at?: string | undefined;
408
+ user?: {
409
+ id: string;
410
+ handle?: string | undefined;
411
+ img_url?: string | undefined;
412
+ } | undefined;
413
+ emoji?: string | undefined;
414
+ }[] | undefined;
415
+ client_meta?: unknown;
416
+ resolved_at?: string | null | undefined;
417
+ }, {
418
+ id: string;
419
+ created_at?: string | undefined;
420
+ message?: string | undefined;
421
+ user?: {
422
+ id: string;
423
+ handle?: string | undefined;
424
+ img_url?: string | undefined;
425
+ } | undefined;
426
+ uuid?: string | null | undefined;
427
+ file_key?: string | undefined;
428
+ order_id?: string | null | undefined;
429
+ parent_id?: string | null | undefined;
430
+ reactions?: {
431
+ created_at?: string | undefined;
432
+ user?: {
433
+ id: string;
434
+ handle?: string | undefined;
435
+ img_url?: string | undefined;
436
+ } | undefined;
437
+ emoji?: string | undefined;
438
+ }[] | undefined;
439
+ client_meta?: unknown;
440
+ resolved_at?: string | null | undefined;
441
+ }>, "many">>;
442
+ }, "strip", import("zod").ZodTypeAny, {
443
+ comments?: {
444
+ id: string;
445
+ created_at?: string | undefined;
446
+ message?: string | undefined;
447
+ user?: {
448
+ id: string;
449
+ handle?: string | undefined;
450
+ img_url?: string | undefined;
451
+ } | undefined;
452
+ uuid?: string | null | undefined;
453
+ file_key?: string | undefined;
454
+ order_id?: string | null | undefined;
455
+ parent_id?: string | null | undefined;
456
+ reactions?: {
457
+ created_at?: string | undefined;
458
+ user?: {
459
+ id: string;
460
+ handle?: string | undefined;
461
+ img_url?: string | undefined;
462
+ } | undefined;
463
+ emoji?: string | undefined;
464
+ }[] | undefined;
465
+ client_meta?: unknown;
466
+ resolved_at?: string | null | undefined;
467
+ }[] | undefined;
468
+ }, {
469
+ comments?: {
470
+ id: string;
471
+ created_at?: string | undefined;
472
+ message?: string | undefined;
473
+ user?: {
474
+ id: string;
475
+ handle?: string | undefined;
476
+ img_url?: string | undefined;
477
+ } | undefined;
478
+ uuid?: string | null | undefined;
479
+ file_key?: string | undefined;
480
+ order_id?: string | null | undefined;
481
+ parent_id?: string | null | undefined;
482
+ reactions?: {
483
+ created_at?: string | undefined;
484
+ user?: {
485
+ id: string;
486
+ handle?: string | undefined;
487
+ img_url?: string | undefined;
488
+ } | undefined;
489
+ emoji?: string | undefined;
490
+ }[] | undefined;
491
+ client_meta?: unknown;
492
+ resolved_at?: string | null | undefined;
493
+ }[] | undefined;
494
+ }>;
495
+ };
496
+ readonly 'comments.getReactions': {
497
+ readonly input: import("zod").ZodObject<{
498
+ file_key: import("zod").ZodString;
499
+ comment_id: import("zod").ZodString;
500
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
501
+ }, "strip", import("zod").ZodTypeAny, {
502
+ file_key: string;
503
+ comment_id: string;
504
+ cursor?: string | undefined;
505
+ }, {
506
+ file_key: string;
507
+ comment_id: string;
508
+ cursor?: string | undefined;
509
+ }>;
510
+ readonly output: import("zod").ZodObject<{
511
+ reactions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
512
+ user: import("zod").ZodOptional<import("zod").ZodObject<{
513
+ id: import("zod").ZodString;
514
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
515
+ img_url: import("zod").ZodOptional<import("zod").ZodString>;
516
+ }, "strip", import("zod").ZodTypeAny, {
517
+ id: string;
518
+ handle?: string | undefined;
519
+ img_url?: string | undefined;
520
+ }, {
521
+ id: string;
522
+ handle?: string | undefined;
523
+ img_url?: string | undefined;
524
+ }>>;
525
+ emoji: import("zod").ZodOptional<import("zod").ZodString>;
526
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
527
+ }, "strip", import("zod").ZodTypeAny, {
528
+ created_at?: string | undefined;
529
+ user?: {
530
+ id: string;
531
+ handle?: string | undefined;
532
+ img_url?: string | undefined;
533
+ } | undefined;
534
+ emoji?: string | undefined;
535
+ }, {
536
+ created_at?: string | undefined;
537
+ user?: {
538
+ id: string;
539
+ handle?: string | undefined;
540
+ img_url?: string | undefined;
541
+ } | undefined;
542
+ emoji?: string | undefined;
543
+ }>, "many">>;
544
+ pagination: import("zod").ZodOptional<import("zod").ZodObject<{
545
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
546
+ }, "strip", import("zod").ZodTypeAny, {
547
+ cursor?: string | undefined;
548
+ }, {
549
+ cursor?: string | undefined;
550
+ }>>;
551
+ }, "strip", import("zod").ZodTypeAny, {
552
+ reactions?: {
553
+ created_at?: string | undefined;
554
+ user?: {
555
+ id: string;
556
+ handle?: string | undefined;
557
+ img_url?: string | undefined;
558
+ } | undefined;
559
+ emoji?: string | undefined;
560
+ }[] | undefined;
561
+ pagination?: {
562
+ cursor?: string | undefined;
563
+ } | undefined;
564
+ }, {
565
+ reactions?: {
566
+ created_at?: string | undefined;
567
+ user?: {
568
+ id: string;
569
+ handle?: string | undefined;
570
+ img_url?: string | undefined;
571
+ } | undefined;
572
+ emoji?: string | undefined;
573
+ }[] | undefined;
574
+ pagination?: {
575
+ cursor?: string | undefined;
576
+ } | undefined;
577
+ }>;
578
+ };
579
+ readonly 'comments.addReaction': {
580
+ readonly input: import("zod").ZodObject<{
581
+ file_key: import("zod").ZodString;
582
+ comment_id: import("zod").ZodString;
583
+ emoji: import("zod").ZodString;
584
+ }, "strip", import("zod").ZodTypeAny, {
585
+ emoji: string;
586
+ file_key: string;
587
+ comment_id: string;
588
+ }, {
589
+ emoji: string;
590
+ file_key: string;
591
+ comment_id: string;
592
+ }>;
593
+ readonly output: import("zod").ZodObject<{
594
+ status: import("zod").ZodOptional<import("zod").ZodNumber>;
595
+ error: import("zod").ZodOptional<import("zod").ZodBoolean>;
596
+ }, "strip", import("zod").ZodTypeAny, {
597
+ status?: number | undefined;
598
+ error?: boolean | undefined;
599
+ }, {
600
+ status?: number | undefined;
601
+ error?: boolean | undefined;
602
+ }>;
603
+ };
604
+ readonly 'comments.deleteReaction': {
605
+ readonly input: import("zod").ZodObject<{
606
+ file_key: import("zod").ZodString;
607
+ comment_id: import("zod").ZodString;
608
+ emoji: import("zod").ZodString;
609
+ }, "strip", import("zod").ZodTypeAny, {
610
+ emoji: string;
611
+ file_key: string;
612
+ comment_id: string;
613
+ }, {
614
+ emoji: string;
615
+ file_key: string;
616
+ comment_id: string;
617
+ }>;
618
+ readonly output: import("zod").ZodObject<{
619
+ status: import("zod").ZodOptional<import("zod").ZodNumber>;
620
+ error: import("zod").ZodOptional<import("zod").ZodBoolean>;
621
+ }, "strip", import("zod").ZodTypeAny, {
622
+ status?: number | undefined;
623
+ error?: boolean | undefined;
624
+ }, {
625
+ status?: number | undefined;
626
+ error?: boolean | undefined;
627
+ }>;
628
+ };
629
+ readonly 'webhooks.create': {
630
+ readonly input: import("zod").ZodObject<{
631
+ event_type: import("zod").ZodString;
632
+ endpoint: import("zod").ZodString;
633
+ passcode: import("zod").ZodString;
634
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["ACTIVE", "PAUSED"]>>;
635
+ context: import("zod").ZodOptional<import("zod").ZodString>;
636
+ context_id: import("zod").ZodOptional<import("zod").ZodString>;
637
+ team_id: import("zod").ZodOptional<import("zod").ZodString>;
638
+ description: import("zod").ZodOptional<import("zod").ZodString>;
639
+ }, "strip", import("zod").ZodTypeAny, {
640
+ event_type: string;
641
+ endpoint: string;
642
+ passcode: string;
643
+ status?: "ACTIVE" | "PAUSED" | undefined;
644
+ description?: string | undefined;
645
+ context?: string | undefined;
646
+ team_id?: string | undefined;
647
+ context_id?: string | undefined;
648
+ }, {
649
+ event_type: string;
650
+ endpoint: string;
651
+ passcode: string;
652
+ status?: "ACTIVE" | "PAUSED" | undefined;
653
+ description?: string | undefined;
654
+ context?: string | undefined;
655
+ team_id?: string | undefined;
656
+ context_id?: string | undefined;
657
+ }>;
658
+ readonly output: import("zod").ZodObject<{
659
+ id: import("zod").ZodString;
660
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["ACTIVE", "PAUSED"]>>;
661
+ context: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<["team", "project", "file"]>>>;
662
+ team_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
663
+ endpoint: import("zod").ZodOptional<import("zod").ZodString>;
664
+ passcode: import("zod").ZodOptional<import("zod").ZodString>;
665
+ client_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
666
+ context_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
667
+ event_type: import("zod").ZodOptional<import("zod").ZodString>;
668
+ description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
669
+ }, "strip", import("zod").ZodTypeAny, {
670
+ id: string;
671
+ status?: "ACTIVE" | "PAUSED" | undefined;
672
+ event_type?: string | undefined;
673
+ endpoint?: string | undefined;
674
+ client_id?: string | null | undefined;
675
+ description?: string | null | undefined;
676
+ context?: "team" | "project" | "file" | null | undefined;
677
+ team_id?: string | null | undefined;
678
+ passcode?: string | undefined;
679
+ context_id?: string | null | undefined;
680
+ }, {
681
+ id: string;
682
+ status?: "ACTIVE" | "PAUSED" | undefined;
683
+ event_type?: string | undefined;
684
+ endpoint?: string | undefined;
685
+ client_id?: string | null | undefined;
686
+ description?: string | null | undefined;
687
+ context?: "team" | "project" | "file" | null | undefined;
688
+ team_id?: string | null | undefined;
689
+ passcode?: string | undefined;
690
+ context_id?: string | null | undefined;
691
+ }>;
692
+ };
693
+ readonly 'webhooks.delete': {
694
+ readonly input: import("zod").ZodObject<{
695
+ webhook_id: import("zod").ZodString;
696
+ }, "strip", import("zod").ZodTypeAny, {
697
+ webhook_id: string;
698
+ }, {
699
+ webhook_id: string;
700
+ }>;
701
+ readonly output: import("zod").ZodObject<{
702
+ id: import("zod").ZodOptional<import("zod").ZodString>;
703
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["ACTIVE", "PAUSED"]>>;
704
+ context: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<["team", "project", "file"]>>>;
705
+ team_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
706
+ endpoint: import("zod").ZodOptional<import("zod").ZodString>;
707
+ passcode: import("zod").ZodOptional<import("zod").ZodString>;
708
+ client_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
709
+ context_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
710
+ event_type: import("zod").ZodOptional<import("zod").ZodString>;
711
+ description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
712
+ }, "strip", import("zod").ZodTypeAny, {
713
+ id?: string | undefined;
714
+ status?: "ACTIVE" | "PAUSED" | undefined;
715
+ event_type?: string | undefined;
716
+ endpoint?: string | undefined;
717
+ client_id?: string | null | undefined;
718
+ description?: string | null | undefined;
719
+ context?: "team" | "project" | "file" | null | undefined;
720
+ team_id?: string | null | undefined;
721
+ passcode?: string | undefined;
722
+ context_id?: string | null | undefined;
723
+ }, {
724
+ id?: string | undefined;
725
+ status?: "ACTIVE" | "PAUSED" | undefined;
726
+ event_type?: string | undefined;
727
+ endpoint?: string | undefined;
728
+ client_id?: string | null | undefined;
729
+ description?: string | null | undefined;
730
+ context?: "team" | "project" | "file" | null | undefined;
731
+ team_id?: string | null | undefined;
732
+ passcode?: string | undefined;
733
+ context_id?: string | null | undefined;
734
+ }>;
735
+ };
736
+ readonly 'webhooks.get': {
737
+ readonly input: import("zod").ZodObject<{
738
+ webhook_id: import("zod").ZodString;
739
+ }, "strip", import("zod").ZodTypeAny, {
740
+ webhook_id: string;
741
+ }, {
742
+ webhook_id: string;
743
+ }>;
744
+ readonly output: import("zod").ZodObject<{
745
+ id: import("zod").ZodString;
746
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["ACTIVE", "PAUSED"]>>;
747
+ context: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<["team", "project", "file"]>>>;
748
+ team_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
749
+ endpoint: import("zod").ZodOptional<import("zod").ZodString>;
750
+ passcode: import("zod").ZodOptional<import("zod").ZodString>;
751
+ client_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
752
+ context_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
753
+ event_type: import("zod").ZodOptional<import("zod").ZodString>;
754
+ description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
755
+ }, "strip", import("zod").ZodTypeAny, {
756
+ id: string;
757
+ status?: "ACTIVE" | "PAUSED" | undefined;
758
+ event_type?: string | undefined;
759
+ endpoint?: string | undefined;
760
+ client_id?: string | null | undefined;
761
+ description?: string | null | undefined;
762
+ context?: "team" | "project" | "file" | null | undefined;
763
+ team_id?: string | null | undefined;
764
+ passcode?: string | undefined;
765
+ context_id?: string | null | undefined;
766
+ }, {
767
+ id: string;
768
+ status?: "ACTIVE" | "PAUSED" | undefined;
769
+ event_type?: string | undefined;
770
+ endpoint?: string | undefined;
771
+ client_id?: string | null | undefined;
772
+ description?: string | null | undefined;
773
+ context?: "team" | "project" | "file" | null | undefined;
774
+ team_id?: string | null | undefined;
775
+ passcode?: string | undefined;
776
+ context_id?: string | null | undefined;
777
+ }>;
778
+ };
779
+ readonly 'webhooks.list': {
780
+ readonly input: import("zod").ZodObject<{
781
+ context: import("zod").ZodOptional<import("zod").ZodString>;
782
+ context_id: import("zod").ZodOptional<import("zod").ZodString>;
783
+ }, "strip", import("zod").ZodTypeAny, {
784
+ context?: string | undefined;
785
+ context_id?: string | undefined;
786
+ }, {
787
+ context?: string | undefined;
788
+ context_id?: string | undefined;
789
+ }>;
790
+ readonly output: import("zod").ZodObject<{
791
+ webhooks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
792
+ id: import("zod").ZodString;
793
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["ACTIVE", "PAUSED"]>>;
794
+ context: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<["team", "project", "file"]>>>;
795
+ team_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
796
+ endpoint: import("zod").ZodOptional<import("zod").ZodString>;
797
+ passcode: import("zod").ZodOptional<import("zod").ZodString>;
798
+ client_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
799
+ context_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
800
+ event_type: import("zod").ZodOptional<import("zod").ZodString>;
801
+ description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
802
+ }, "strip", import("zod").ZodTypeAny, {
803
+ id: string;
804
+ status?: "ACTIVE" | "PAUSED" | undefined;
805
+ event_type?: string | undefined;
806
+ endpoint?: string | undefined;
807
+ client_id?: string | null | undefined;
808
+ description?: string | null | undefined;
809
+ context?: "team" | "project" | "file" | null | undefined;
810
+ team_id?: string | null | undefined;
811
+ passcode?: string | undefined;
812
+ context_id?: string | null | undefined;
813
+ }, {
814
+ id: string;
815
+ status?: "ACTIVE" | "PAUSED" | undefined;
816
+ event_type?: string | undefined;
817
+ endpoint?: string | undefined;
818
+ client_id?: string | null | undefined;
819
+ description?: string | null | undefined;
820
+ context?: "team" | "project" | "file" | null | undefined;
821
+ team_id?: string | null | undefined;
822
+ passcode?: string | undefined;
823
+ context_id?: string | null | undefined;
824
+ }>, "many">>;
825
+ }, "strip", import("zod").ZodTypeAny, {
826
+ webhooks?: {
827
+ id: string;
828
+ status?: "ACTIVE" | "PAUSED" | undefined;
829
+ event_type?: string | undefined;
830
+ endpoint?: string | undefined;
831
+ client_id?: string | null | undefined;
832
+ description?: string | null | undefined;
833
+ context?: "team" | "project" | "file" | null | undefined;
834
+ team_id?: string | null | undefined;
835
+ passcode?: string | undefined;
836
+ context_id?: string | null | undefined;
837
+ }[] | undefined;
838
+ }, {
839
+ webhooks?: {
840
+ id: string;
841
+ status?: "ACTIVE" | "PAUSED" | undefined;
842
+ event_type?: string | undefined;
843
+ endpoint?: string | undefined;
844
+ client_id?: string | null | undefined;
845
+ description?: string | null | undefined;
846
+ context?: "team" | "project" | "file" | null | undefined;
847
+ team_id?: string | null | undefined;
848
+ passcode?: string | undefined;
849
+ context_id?: string | null | undefined;
850
+ }[] | undefined;
851
+ }>;
852
+ };
853
+ readonly 'webhooks.getRequests': {
854
+ readonly input: import("zod").ZodObject<{
855
+ webhook_id: import("zod").ZodString;
856
+ }, "strip", import("zod").ZodTypeAny, {
857
+ webhook_id: string;
858
+ }, {
859
+ webhook_id: string;
860
+ }>;
861
+ readonly output: import("zod").ZodObject<{
862
+ requests: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
863
+ id: import("zod").ZodString;
864
+ webhook_id: import("zod").ZodString;
865
+ status: import("zod").ZodOptional<import("zod").ZodString>;
866
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
867
+ error: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
868
+ }, "strip", import("zod").ZodTypeAny, {
869
+ id: string;
870
+ webhook_id: string;
871
+ created_at?: string | undefined;
872
+ status?: string | undefined;
873
+ error?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
874
+ }, {
875
+ id: string;
876
+ webhook_id: string;
877
+ created_at?: string | undefined;
878
+ status?: string | undefined;
879
+ error?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
880
+ }>, "many">>;
881
+ }, "strip", import("zod").ZodTypeAny, {
882
+ requests?: {
883
+ id: string;
884
+ webhook_id: string;
885
+ created_at?: string | undefined;
886
+ status?: string | undefined;
887
+ error?: import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
888
+ }[] | undefined;
889
+ }, {
890
+ requests?: {
891
+ id: string;
892
+ webhook_id: string;
893
+ created_at?: string | undefined;
894
+ status?: string | undefined;
895
+ error?: import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough"> | undefined;
896
+ }[] | undefined;
897
+ }>;
898
+ };
899
+ readonly 'webhooks.update': {
900
+ readonly input: import("zod").ZodObject<{
901
+ webhook_id: import("zod").ZodString;
902
+ event_type: import("zod").ZodOptional<import("zod").ZodString>;
903
+ endpoint: import("zod").ZodOptional<import("zod").ZodString>;
904
+ passcode: import("zod").ZodOptional<import("zod").ZodString>;
905
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["ACTIVE", "PAUSED"]>>;
906
+ description: import("zod").ZodOptional<import("zod").ZodString>;
907
+ }, "strip", import("zod").ZodTypeAny, {
908
+ webhook_id: string;
909
+ status?: "ACTIVE" | "PAUSED" | undefined;
910
+ event_type?: string | undefined;
911
+ endpoint?: string | undefined;
912
+ description?: string | undefined;
913
+ passcode?: string | undefined;
914
+ }, {
915
+ webhook_id: string;
916
+ status?: "ACTIVE" | "PAUSED" | undefined;
917
+ event_type?: string | undefined;
918
+ endpoint?: string | undefined;
919
+ description?: string | undefined;
920
+ passcode?: string | undefined;
921
+ }>;
922
+ readonly output: import("zod").ZodObject<{
923
+ id: import("zod").ZodString;
924
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["ACTIVE", "PAUSED"]>>;
925
+ context: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<["team", "project", "file"]>>>;
926
+ team_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
927
+ endpoint: import("zod").ZodOptional<import("zod").ZodString>;
928
+ passcode: import("zod").ZodOptional<import("zod").ZodString>;
929
+ client_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
930
+ context_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
931
+ event_type: import("zod").ZodOptional<import("zod").ZodString>;
932
+ description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
933
+ }, "strip", import("zod").ZodTypeAny, {
934
+ id: string;
935
+ status?: "ACTIVE" | "PAUSED" | undefined;
936
+ event_type?: string | undefined;
937
+ endpoint?: string | undefined;
938
+ client_id?: string | null | undefined;
939
+ description?: string | null | undefined;
940
+ context?: "team" | "project" | "file" | null | undefined;
941
+ team_id?: string | null | undefined;
942
+ passcode?: string | undefined;
943
+ context_id?: string | null | undefined;
944
+ }, {
945
+ id: string;
946
+ status?: "ACTIVE" | "PAUSED" | undefined;
947
+ event_type?: string | undefined;
948
+ endpoint?: string | undefined;
949
+ client_id?: string | null | undefined;
950
+ description?: string | null | undefined;
951
+ context?: "team" | "project" | "file" | null | undefined;
952
+ team_id?: string | null | undefined;
953
+ passcode?: string | undefined;
954
+ context_id?: string | null | undefined;
955
+ }>;
956
+ };
957
+ readonly 'devResources.create': {
958
+ readonly input: import("zod").ZodObject<{
959
+ dev_resources: import("zod").ZodArray<import("zod").ZodObject<{
960
+ url: import("zod").ZodString;
961
+ name: import("zod").ZodString;
962
+ node_id: import("zod").ZodString;
963
+ file_key: import("zod").ZodString;
964
+ }, "strip", import("zod").ZodTypeAny, {
965
+ name: string;
966
+ file_key: string;
967
+ node_id: string;
968
+ url: string;
969
+ }, {
970
+ name: string;
971
+ file_key: string;
972
+ node_id: string;
973
+ url: string;
974
+ }>, "many">;
975
+ }, "strip", import("zod").ZodTypeAny, {
976
+ dev_resources: {
977
+ name: string;
978
+ file_key: string;
979
+ node_id: string;
980
+ url: string;
981
+ }[];
982
+ }, {
983
+ dev_resources: {
984
+ name: string;
985
+ file_key: string;
986
+ node_id: string;
987
+ url: string;
988
+ }[];
989
+ }>;
990
+ readonly output: import("zod").ZodObject<{
991
+ links_created: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
992
+ id: import("zod").ZodString;
993
+ url: import("zod").ZodString;
994
+ name: import("zod").ZodString;
995
+ node_id: import("zod").ZodString;
996
+ file_key: import("zod").ZodString;
997
+ }, "strip", import("zod").ZodTypeAny, {
998
+ id: string;
999
+ name: string;
1000
+ file_key: string;
1001
+ node_id: string;
1002
+ url: string;
1003
+ }, {
1004
+ id: string;
1005
+ name: string;
1006
+ file_key: string;
1007
+ node_id: string;
1008
+ url: string;
1009
+ }>, "many">>;
1010
+ errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1011
+ error: import("zod").ZodString;
1012
+ node_id: import("zod").ZodOptional<import("zod").ZodString>;
1013
+ file_key: import("zod").ZodOptional<import("zod").ZodString>;
1014
+ }, "strip", import("zod").ZodTypeAny, {
1015
+ error: string;
1016
+ file_key?: string | undefined;
1017
+ node_id?: string | undefined;
1018
+ }, {
1019
+ error: string;
1020
+ file_key?: string | undefined;
1021
+ node_id?: string | undefined;
1022
+ }>, "many">>;
1023
+ }, "strip", import("zod").ZodTypeAny, {
1024
+ links_created?: {
1025
+ id: string;
1026
+ name: string;
1027
+ file_key: string;
1028
+ node_id: string;
1029
+ url: string;
1030
+ }[] | undefined;
1031
+ errors?: {
1032
+ error: string;
1033
+ file_key?: string | undefined;
1034
+ node_id?: string | undefined;
1035
+ }[] | undefined;
1036
+ }, {
1037
+ links_created?: {
1038
+ id: string;
1039
+ name: string;
1040
+ file_key: string;
1041
+ node_id: string;
1042
+ url: string;
1043
+ }[] | undefined;
1044
+ errors?: {
1045
+ error: string;
1046
+ file_key?: string | undefined;
1047
+ node_id?: string | undefined;
1048
+ }[] | undefined;
1049
+ }>;
1050
+ };
1051
+ readonly 'devResources.delete': {
1052
+ readonly input: import("zod").ZodObject<{
1053
+ file_key: import("zod").ZodString;
1054
+ dev_resource_id: import("zod").ZodString;
1055
+ }, "strip", import("zod").ZodTypeAny, {
1056
+ file_key: string;
1057
+ dev_resource_id: string;
1058
+ }, {
1059
+ file_key: string;
1060
+ dev_resource_id: string;
1061
+ }>;
1062
+ readonly output: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
1063
+ };
1064
+ readonly 'devResources.get': {
1065
+ readonly input: import("zod").ZodObject<{
1066
+ file_key: import("zod").ZodString;
1067
+ node_ids: import("zod").ZodOptional<import("zod").ZodString>;
1068
+ }, "strip", import("zod").ZodTypeAny, {
1069
+ file_key: string;
1070
+ node_ids?: string | undefined;
1071
+ }, {
1072
+ file_key: string;
1073
+ node_ids?: string | undefined;
1074
+ }>;
1075
+ readonly output: import("zod").ZodObject<{
1076
+ dev_resources: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1077
+ id: import("zod").ZodString;
1078
+ url: import("zod").ZodString;
1079
+ name: import("zod").ZodString;
1080
+ node_id: import("zod").ZodString;
1081
+ file_key: import("zod").ZodString;
1082
+ }, "strip", import("zod").ZodTypeAny, {
1083
+ id: string;
1084
+ name: string;
1085
+ file_key: string;
1086
+ node_id: string;
1087
+ url: string;
1088
+ }, {
1089
+ id: string;
1090
+ name: string;
1091
+ file_key: string;
1092
+ node_id: string;
1093
+ url: string;
1094
+ }>, "many">>;
1095
+ }, "strip", import("zod").ZodTypeAny, {
1096
+ dev_resources?: {
1097
+ id: string;
1098
+ name: string;
1099
+ file_key: string;
1100
+ node_id: string;
1101
+ url: string;
1102
+ }[] | undefined;
1103
+ }, {
1104
+ dev_resources?: {
1105
+ id: string;
1106
+ name: string;
1107
+ file_key: string;
1108
+ node_id: string;
1109
+ url: string;
1110
+ }[] | undefined;
1111
+ }>;
1112
+ };
1113
+ readonly 'devResources.update': {
1114
+ readonly input: import("zod").ZodObject<{
1115
+ dev_resources: import("zod").ZodArray<import("zod").ZodObject<{
1116
+ id: import("zod").ZodString;
1117
+ url: import("zod").ZodOptional<import("zod").ZodString>;
1118
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1119
+ }, "strip", import("zod").ZodTypeAny, {
1120
+ id: string;
1121
+ name?: string | undefined;
1122
+ url?: string | undefined;
1123
+ }, {
1124
+ id: string;
1125
+ name?: string | undefined;
1126
+ url?: string | undefined;
1127
+ }>, "many">;
1128
+ }, "strip", import("zod").ZodTypeAny, {
1129
+ dev_resources: {
1130
+ id: string;
1131
+ name?: string | undefined;
1132
+ url?: string | undefined;
1133
+ }[];
1134
+ }, {
1135
+ dev_resources: {
1136
+ id: string;
1137
+ name?: string | undefined;
1138
+ url?: string | undefined;
1139
+ }[];
1140
+ }>;
1141
+ readonly output: import("zod").ZodObject<{
1142
+ links_updated: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1143
+ id: import("zod").ZodString;
1144
+ url: import("zod").ZodOptional<import("zod").ZodString>;
1145
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1146
+ }, "strip", import("zod").ZodTypeAny, {
1147
+ id: string;
1148
+ name?: string | undefined;
1149
+ url?: string | undefined;
1150
+ }, {
1151
+ id: string;
1152
+ name?: string | undefined;
1153
+ url?: string | undefined;
1154
+ }>, "many">>;
1155
+ errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1156
+ error: import("zod").ZodString;
1157
+ dev_resource_id: import("zod").ZodOptional<import("zod").ZodString>;
1158
+ }, "strip", import("zod").ZodTypeAny, {
1159
+ error: string;
1160
+ dev_resource_id?: string | undefined;
1161
+ }, {
1162
+ error: string;
1163
+ dev_resource_id?: string | undefined;
1164
+ }>, "many">>;
1165
+ }, "strip", import("zod").ZodTypeAny, {
1166
+ errors?: {
1167
+ error: string;
1168
+ dev_resource_id?: string | undefined;
1169
+ }[] | undefined;
1170
+ links_updated?: {
1171
+ id: string;
1172
+ name?: string | undefined;
1173
+ url?: string | undefined;
1174
+ }[] | undefined;
1175
+ }, {
1176
+ errors?: {
1177
+ error: string;
1178
+ dev_resource_id?: string | undefined;
1179
+ }[] | undefined;
1180
+ links_updated?: {
1181
+ id: string;
1182
+ name?: string | undefined;
1183
+ url?: string | undefined;
1184
+ }[] | undefined;
1185
+ }>;
1186
+ };
1187
+ readonly 'variables.createModifyDelete': {
1188
+ readonly input: import("zod").ZodObject<{
1189
+ file_key: import("zod").ZodString;
1190
+ variables: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
1191
+ variableModes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
1192
+ variableModeValues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
1193
+ variableCollections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
1194
+ }, "strip", import("zod").ZodTypeAny, {
1195
+ file_key: string;
1196
+ variables?: unknown[] | undefined;
1197
+ variableModes?: unknown[] | undefined;
1198
+ variableModeValues?: unknown[] | undefined;
1199
+ variableCollections?: unknown[] | undefined;
1200
+ }, {
1201
+ file_key: string;
1202
+ variables?: unknown[] | undefined;
1203
+ variableModes?: unknown[] | undefined;
1204
+ variableModeValues?: unknown[] | undefined;
1205
+ variableCollections?: unknown[] | undefined;
1206
+ }>;
1207
+ readonly output: import("zod").ZodObject<{
1208
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
1209
+ tempIdToRealId: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1210
+ }, "strip", import("zod").ZodTypeAny, {
1211
+ tempIdToRealId?: Record<string, string> | undefined;
1212
+ }, {
1213
+ tempIdToRealId?: Record<string, string> | undefined;
1214
+ }>>;
1215
+ status: import("zod").ZodOptional<import("zod").ZodNumber>;
1216
+ error: import("zod").ZodOptional<import("zod").ZodBoolean>;
1217
+ }, "strip", import("zod").ZodTypeAny, {
1218
+ status?: number | undefined;
1219
+ error?: boolean | undefined;
1220
+ meta?: {
1221
+ tempIdToRealId?: Record<string, string> | undefined;
1222
+ } | undefined;
1223
+ }, {
1224
+ status?: number | undefined;
1225
+ error?: boolean | undefined;
1226
+ meta?: {
1227
+ tempIdToRealId?: Record<string, string> | undefined;
1228
+ } | undefined;
1229
+ }>;
1230
+ };
1231
+ readonly 'variables.getLocal': {
1232
+ readonly input: import("zod").ZodObject<{
1233
+ file_key: import("zod").ZodString;
1234
+ }, "strip", import("zod").ZodTypeAny, {
1235
+ file_key: string;
1236
+ }, {
1237
+ file_key: string;
1238
+ }>;
1239
+ readonly output: import("zod").ZodObject<{
1240
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
1241
+ variables: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
1242
+ variableCollections: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
1243
+ }, "strip", import("zod").ZodTypeAny, {
1244
+ variables?: Record<string, unknown> | undefined;
1245
+ variableCollections?: Record<string, unknown> | undefined;
1246
+ }, {
1247
+ variables?: Record<string, unknown> | undefined;
1248
+ variableCollections?: Record<string, unknown> | undefined;
1249
+ }>>;
1250
+ status: import("zod").ZodOptional<import("zod").ZodNumber>;
1251
+ error: import("zod").ZodOptional<import("zod").ZodBoolean>;
1252
+ }, "strip", import("zod").ZodTypeAny, {
1253
+ status?: number | undefined;
1254
+ error?: boolean | undefined;
1255
+ meta?: {
1256
+ variables?: Record<string, unknown> | undefined;
1257
+ variableCollections?: Record<string, unknown> | undefined;
1258
+ } | undefined;
1259
+ }, {
1260
+ status?: number | undefined;
1261
+ error?: boolean | undefined;
1262
+ meta?: {
1263
+ variables?: Record<string, unknown> | undefined;
1264
+ variableCollections?: Record<string, unknown> | undefined;
1265
+ } | undefined;
1266
+ }>;
1267
+ };
1268
+ readonly 'variables.getPublished': {
1269
+ readonly input: import("zod").ZodObject<{
1270
+ file_key: import("zod").ZodString;
1271
+ }, "strip", import("zod").ZodTypeAny, {
1272
+ file_key: string;
1273
+ }, {
1274
+ file_key: string;
1275
+ }>;
1276
+ readonly output: import("zod").ZodObject<{
1277
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
1278
+ variables: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
1279
+ variableCollections: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
1280
+ }, "strip", import("zod").ZodTypeAny, {
1281
+ variables?: Record<string, unknown> | undefined;
1282
+ variableCollections?: Record<string, unknown> | undefined;
1283
+ }, {
1284
+ variables?: Record<string, unknown> | undefined;
1285
+ variableCollections?: Record<string, unknown> | undefined;
1286
+ }>>;
1287
+ status: import("zod").ZodOptional<import("zod").ZodNumber>;
1288
+ error: import("zod").ZodOptional<import("zod").ZodBoolean>;
1289
+ }, "strip", import("zod").ZodTypeAny, {
1290
+ status?: number | undefined;
1291
+ error?: boolean | undefined;
1292
+ meta?: {
1293
+ variables?: Record<string, unknown> | undefined;
1294
+ variableCollections?: Record<string, unknown> | undefined;
1295
+ } | undefined;
1296
+ }, {
1297
+ status?: number | undefined;
1298
+ error?: boolean | undefined;
1299
+ meta?: {
1300
+ variables?: Record<string, unknown> | undefined;
1301
+ variableCollections?: Record<string, unknown> | undefined;
1302
+ } | undefined;
1303
+ }>;
1304
+ };
1305
+ readonly 'components.get': {
1306
+ readonly input: import("zod").ZodObject<{
1307
+ key: import("zod").ZodString;
1308
+ }, "strip", import("zod").ZodTypeAny, {
1309
+ key: string;
1310
+ }, {
1311
+ key: string;
1312
+ }>;
1313
+ readonly output: import("zod").ZodObject<{
1314
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
1315
+ component: import("zod").ZodOptional<import("zod").ZodObject<{
1316
+ key: import("zod").ZodString;
1317
+ file_key: import("zod").ZodOptional<import("zod").ZodString>;
1318
+ node_id: import("zod").ZodOptional<import("zod").ZodString>;
1319
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
1320
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1321
+ description: import("zod").ZodOptional<import("zod").ZodString>;
1322
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
1323
+ updated_at: import("zod").ZodOptional<import("zod").ZodString>;
1324
+ containing_frame: import("zod").ZodOptional<import("zod").ZodObject<{
1325
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1326
+ node_id: import("zod").ZodOptional<import("zod").ZodString>;
1327
+ }, "strip", import("zod").ZodTypeAny, {
1328
+ name?: string | undefined;
1329
+ node_id?: string | undefined;
1330
+ }, {
1331
+ name?: string | undefined;
1332
+ node_id?: string | undefined;
1333
+ }>>;
1334
+ user: import("zod").ZodOptional<import("zod").ZodObject<{
1335
+ id: import("zod").ZodString;
1336
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
1337
+ img_url: import("zod").ZodOptional<import("zod").ZodString>;
1338
+ }, "strip", import("zod").ZodTypeAny, {
1339
+ id: string;
1340
+ handle?: string | undefined;
1341
+ img_url?: string | undefined;
1342
+ }, {
1343
+ id: string;
1344
+ handle?: string | undefined;
1345
+ img_url?: string | undefined;
1346
+ }>>;
1347
+ }, "strip", import("zod").ZodTypeAny, {
1348
+ key: string;
1349
+ created_at?: string | undefined;
1350
+ updated_at?: string | undefined;
1351
+ name?: string | undefined;
1352
+ description?: string | undefined;
1353
+ user?: {
1354
+ id: string;
1355
+ handle?: string | undefined;
1356
+ img_url?: string | undefined;
1357
+ } | undefined;
1358
+ file_key?: string | undefined;
1359
+ node_id?: string | undefined;
1360
+ thumbnail_url?: string | undefined;
1361
+ containing_frame?: {
1362
+ name?: string | undefined;
1363
+ node_id?: string | undefined;
1364
+ } | undefined;
1365
+ }, {
1366
+ key: string;
1367
+ created_at?: string | undefined;
1368
+ updated_at?: string | undefined;
1369
+ name?: string | undefined;
1370
+ description?: string | undefined;
1371
+ user?: {
1372
+ id: string;
1373
+ handle?: string | undefined;
1374
+ img_url?: string | undefined;
1375
+ } | undefined;
1376
+ file_key?: string | undefined;
1377
+ node_id?: string | undefined;
1378
+ thumbnail_url?: string | undefined;
1379
+ containing_frame?: {
1380
+ name?: string | undefined;
1381
+ node_id?: string | undefined;
1382
+ } | undefined;
1383
+ }>>;
1384
+ }, "strip", import("zod").ZodTypeAny, {
1385
+ component?: {
1386
+ key: string;
1387
+ created_at?: string | undefined;
1388
+ updated_at?: string | undefined;
1389
+ name?: string | undefined;
1390
+ description?: string | undefined;
1391
+ user?: {
1392
+ id: string;
1393
+ handle?: string | undefined;
1394
+ img_url?: string | undefined;
1395
+ } | undefined;
1396
+ file_key?: string | undefined;
1397
+ node_id?: string | undefined;
1398
+ thumbnail_url?: string | undefined;
1399
+ containing_frame?: {
1400
+ name?: string | undefined;
1401
+ node_id?: string | undefined;
1402
+ } | undefined;
1403
+ } | undefined;
1404
+ }, {
1405
+ component?: {
1406
+ key: string;
1407
+ created_at?: string | undefined;
1408
+ updated_at?: string | undefined;
1409
+ name?: string | undefined;
1410
+ description?: string | undefined;
1411
+ user?: {
1412
+ id: string;
1413
+ handle?: string | undefined;
1414
+ img_url?: string | undefined;
1415
+ } | undefined;
1416
+ file_key?: string | undefined;
1417
+ node_id?: string | undefined;
1418
+ thumbnail_url?: string | undefined;
1419
+ containing_frame?: {
1420
+ name?: string | undefined;
1421
+ node_id?: string | undefined;
1422
+ } | undefined;
1423
+ } | undefined;
1424
+ }>>;
1425
+ status: import("zod").ZodOptional<import("zod").ZodNumber>;
1426
+ }, "strip", import("zod").ZodTypeAny, {
1427
+ status?: number | undefined;
1428
+ meta?: {
1429
+ component?: {
1430
+ key: string;
1431
+ created_at?: string | undefined;
1432
+ updated_at?: string | undefined;
1433
+ name?: string | undefined;
1434
+ description?: string | undefined;
1435
+ user?: {
1436
+ id: string;
1437
+ handle?: string | undefined;
1438
+ img_url?: string | undefined;
1439
+ } | undefined;
1440
+ file_key?: string | undefined;
1441
+ node_id?: string | undefined;
1442
+ thumbnail_url?: string | undefined;
1443
+ containing_frame?: {
1444
+ name?: string | undefined;
1445
+ node_id?: string | undefined;
1446
+ } | undefined;
1447
+ } | undefined;
1448
+ } | undefined;
1449
+ }, {
1450
+ status?: number | undefined;
1451
+ meta?: {
1452
+ component?: {
1453
+ key: string;
1454
+ created_at?: string | undefined;
1455
+ updated_at?: string | undefined;
1456
+ name?: string | undefined;
1457
+ description?: string | undefined;
1458
+ user?: {
1459
+ id: string;
1460
+ handle?: string | undefined;
1461
+ img_url?: string | undefined;
1462
+ } | undefined;
1463
+ file_key?: string | undefined;
1464
+ node_id?: string | undefined;
1465
+ thumbnail_url?: string | undefined;
1466
+ containing_frame?: {
1467
+ name?: string | undefined;
1468
+ node_id?: string | undefined;
1469
+ } | undefined;
1470
+ } | undefined;
1471
+ } | undefined;
1472
+ }>;
1473
+ };
1474
+ readonly 'components.getComponentSet': {
1475
+ readonly input: import("zod").ZodObject<{
1476
+ key: import("zod").ZodString;
1477
+ }, "strip", import("zod").ZodTypeAny, {
1478
+ key: string;
1479
+ }, {
1480
+ key: string;
1481
+ }>;
1482
+ readonly output: import("zod").ZodObject<{
1483
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
1484
+ component_set: import("zod").ZodOptional<import("zod").ZodObject<{
1485
+ key: import("zod").ZodString;
1486
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1487
+ description: import("zod").ZodOptional<import("zod").ZodString>;
1488
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
1489
+ }, "strip", import("zod").ZodTypeAny, {
1490
+ key: string;
1491
+ name?: string | undefined;
1492
+ description?: string | undefined;
1493
+ thumbnail_url?: string | undefined;
1494
+ }, {
1495
+ key: string;
1496
+ name?: string | undefined;
1497
+ description?: string | undefined;
1498
+ thumbnail_url?: string | undefined;
1499
+ }>>;
1500
+ }, "strip", import("zod").ZodTypeAny, {
1501
+ component_set?: {
1502
+ key: string;
1503
+ name?: string | undefined;
1504
+ description?: string | undefined;
1505
+ thumbnail_url?: string | undefined;
1506
+ } | undefined;
1507
+ }, {
1508
+ component_set?: {
1509
+ key: string;
1510
+ name?: string | undefined;
1511
+ description?: string | undefined;
1512
+ thumbnail_url?: string | undefined;
1513
+ } | undefined;
1514
+ }>>;
1515
+ status: import("zod").ZodOptional<import("zod").ZodNumber>;
1516
+ }, "strip", import("zod").ZodTypeAny, {
1517
+ status?: number | undefined;
1518
+ meta?: {
1519
+ component_set?: {
1520
+ key: string;
1521
+ name?: string | undefined;
1522
+ description?: string | undefined;
1523
+ thumbnail_url?: string | undefined;
1524
+ } | undefined;
1525
+ } | undefined;
1526
+ }, {
1527
+ status?: number | undefined;
1528
+ meta?: {
1529
+ component_set?: {
1530
+ key: string;
1531
+ name?: string | undefined;
1532
+ description?: string | undefined;
1533
+ thumbnail_url?: string | undefined;
1534
+ } | undefined;
1535
+ } | undefined;
1536
+ }>;
1537
+ };
1538
+ readonly 'components.getForFile': {
1539
+ readonly input: import("zod").ZodObject<{
1540
+ file_key: import("zod").ZodString;
1541
+ }, "strip", import("zod").ZodTypeAny, {
1542
+ file_key: string;
1543
+ }, {
1544
+ file_key: string;
1545
+ }>;
1546
+ readonly output: import("zod").ZodObject<{
1547
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
1548
+ components: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1549
+ key: import("zod").ZodString;
1550
+ file_key: import("zod").ZodOptional<import("zod").ZodString>;
1551
+ node_id: import("zod").ZodOptional<import("zod").ZodString>;
1552
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
1553
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1554
+ description: import("zod").ZodOptional<import("zod").ZodString>;
1555
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
1556
+ updated_at: import("zod").ZodOptional<import("zod").ZodString>;
1557
+ containing_frame: import("zod").ZodOptional<import("zod").ZodObject<{
1558
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1559
+ node_id: import("zod").ZodOptional<import("zod").ZodString>;
1560
+ }, "strip", import("zod").ZodTypeAny, {
1561
+ name?: string | undefined;
1562
+ node_id?: string | undefined;
1563
+ }, {
1564
+ name?: string | undefined;
1565
+ node_id?: string | undefined;
1566
+ }>>;
1567
+ user: import("zod").ZodOptional<import("zod").ZodObject<{
1568
+ id: import("zod").ZodString;
1569
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
1570
+ img_url: import("zod").ZodOptional<import("zod").ZodString>;
1571
+ }, "strip", import("zod").ZodTypeAny, {
1572
+ id: string;
1573
+ handle?: string | undefined;
1574
+ img_url?: string | undefined;
1575
+ }, {
1576
+ id: string;
1577
+ handle?: string | undefined;
1578
+ img_url?: string | undefined;
1579
+ }>>;
1580
+ }, "strip", import("zod").ZodTypeAny, {
1581
+ key: string;
1582
+ created_at?: string | undefined;
1583
+ updated_at?: string | undefined;
1584
+ name?: string | undefined;
1585
+ description?: string | undefined;
1586
+ user?: {
1587
+ id: string;
1588
+ handle?: string | undefined;
1589
+ img_url?: string | undefined;
1590
+ } | undefined;
1591
+ file_key?: string | undefined;
1592
+ node_id?: string | undefined;
1593
+ thumbnail_url?: string | undefined;
1594
+ containing_frame?: {
1595
+ name?: string | undefined;
1596
+ node_id?: string | undefined;
1597
+ } | undefined;
1598
+ }, {
1599
+ key: string;
1600
+ created_at?: string | undefined;
1601
+ updated_at?: string | undefined;
1602
+ name?: string | undefined;
1603
+ description?: string | undefined;
1604
+ user?: {
1605
+ id: string;
1606
+ handle?: string | undefined;
1607
+ img_url?: string | undefined;
1608
+ } | undefined;
1609
+ file_key?: string | undefined;
1610
+ node_id?: string | undefined;
1611
+ thumbnail_url?: string | undefined;
1612
+ containing_frame?: {
1613
+ name?: string | undefined;
1614
+ node_id?: string | undefined;
1615
+ } | undefined;
1616
+ }>, "many">>;
1617
+ }, "strip", import("zod").ZodTypeAny, {
1618
+ components?: {
1619
+ key: string;
1620
+ created_at?: string | undefined;
1621
+ updated_at?: string | undefined;
1622
+ name?: string | undefined;
1623
+ description?: string | undefined;
1624
+ user?: {
1625
+ id: string;
1626
+ handle?: string | undefined;
1627
+ img_url?: string | undefined;
1628
+ } | undefined;
1629
+ file_key?: string | undefined;
1630
+ node_id?: string | undefined;
1631
+ thumbnail_url?: string | undefined;
1632
+ containing_frame?: {
1633
+ name?: string | undefined;
1634
+ node_id?: string | undefined;
1635
+ } | undefined;
1636
+ }[] | undefined;
1637
+ }, {
1638
+ components?: {
1639
+ key: string;
1640
+ created_at?: string | undefined;
1641
+ updated_at?: string | undefined;
1642
+ name?: string | undefined;
1643
+ description?: string | undefined;
1644
+ user?: {
1645
+ id: string;
1646
+ handle?: string | undefined;
1647
+ img_url?: string | undefined;
1648
+ } | undefined;
1649
+ file_key?: string | undefined;
1650
+ node_id?: string | undefined;
1651
+ thumbnail_url?: string | undefined;
1652
+ containing_frame?: {
1653
+ name?: string | undefined;
1654
+ node_id?: string | undefined;
1655
+ } | undefined;
1656
+ }[] | undefined;
1657
+ }>>;
1658
+ status: import("zod").ZodOptional<import("zod").ZodNumber>;
1659
+ }, "strip", import("zod").ZodTypeAny, {
1660
+ status?: number | undefined;
1661
+ meta?: {
1662
+ components?: {
1663
+ key: string;
1664
+ created_at?: string | undefined;
1665
+ updated_at?: string | undefined;
1666
+ name?: string | undefined;
1667
+ description?: string | undefined;
1668
+ user?: {
1669
+ id: string;
1670
+ handle?: string | undefined;
1671
+ img_url?: string | undefined;
1672
+ } | undefined;
1673
+ file_key?: string | undefined;
1674
+ node_id?: string | undefined;
1675
+ thumbnail_url?: string | undefined;
1676
+ containing_frame?: {
1677
+ name?: string | undefined;
1678
+ node_id?: string | undefined;
1679
+ } | undefined;
1680
+ }[] | undefined;
1681
+ } | undefined;
1682
+ }, {
1683
+ status?: number | undefined;
1684
+ meta?: {
1685
+ components?: {
1686
+ key: string;
1687
+ created_at?: string | undefined;
1688
+ updated_at?: string | undefined;
1689
+ name?: string | undefined;
1690
+ description?: string | undefined;
1691
+ user?: {
1692
+ id: string;
1693
+ handle?: string | undefined;
1694
+ img_url?: string | undefined;
1695
+ } | undefined;
1696
+ file_key?: string | undefined;
1697
+ node_id?: string | undefined;
1698
+ thumbnail_url?: string | undefined;
1699
+ containing_frame?: {
1700
+ name?: string | undefined;
1701
+ node_id?: string | undefined;
1702
+ } | undefined;
1703
+ }[] | undefined;
1704
+ } | undefined;
1705
+ }>;
1706
+ };
1707
+ readonly 'components.getComponentSetsForFile': {
1708
+ readonly input: import("zod").ZodObject<{
1709
+ file_key: import("zod").ZodString;
1710
+ }, "strip", import("zod").ZodTypeAny, {
1711
+ file_key: string;
1712
+ }, {
1713
+ file_key: string;
1714
+ }>;
1715
+ readonly output: import("zod").ZodObject<{
1716
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
1717
+ component_sets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1718
+ key: import("zod").ZodString;
1719
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1720
+ }, "strip", import("zod").ZodTypeAny, {
1721
+ key: string;
1722
+ name?: string | undefined;
1723
+ }, {
1724
+ key: string;
1725
+ name?: string | undefined;
1726
+ }>, "many">>;
1727
+ }, "strip", import("zod").ZodTypeAny, {
1728
+ component_sets?: {
1729
+ key: string;
1730
+ name?: string | undefined;
1731
+ }[] | undefined;
1732
+ }, {
1733
+ component_sets?: {
1734
+ key: string;
1735
+ name?: string | undefined;
1736
+ }[] | undefined;
1737
+ }>>;
1738
+ }, "strip", import("zod").ZodTypeAny, {
1739
+ meta?: {
1740
+ component_sets?: {
1741
+ key: string;
1742
+ name?: string | undefined;
1743
+ }[] | undefined;
1744
+ } | undefined;
1745
+ }, {
1746
+ meta?: {
1747
+ component_sets?: {
1748
+ key: string;
1749
+ name?: string | undefined;
1750
+ }[] | undefined;
1751
+ } | undefined;
1752
+ }>;
1753
+ };
1754
+ readonly 'components.getForTeam': {
1755
+ readonly input: import("zod").ZodObject<{
1756
+ team_id: import("zod").ZodString;
1757
+ page_size: import("zod").ZodOptional<import("zod").ZodNumber>;
1758
+ after: import("zod").ZodOptional<import("zod").ZodNumber>;
1759
+ before: import("zod").ZodOptional<import("zod").ZodNumber>;
1760
+ }, "strip", import("zod").ZodTypeAny, {
1761
+ team_id: string;
1762
+ before?: number | undefined;
1763
+ after?: number | undefined;
1764
+ page_size?: number | undefined;
1765
+ }, {
1766
+ team_id: string;
1767
+ before?: number | undefined;
1768
+ after?: number | undefined;
1769
+ page_size?: number | undefined;
1770
+ }>;
1771
+ readonly output: import("zod").ZodObject<{
1772
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
1773
+ components: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1774
+ key: import("zod").ZodString;
1775
+ file_key: import("zod").ZodOptional<import("zod").ZodString>;
1776
+ node_id: import("zod").ZodOptional<import("zod").ZodString>;
1777
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
1778
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1779
+ description: import("zod").ZodOptional<import("zod").ZodString>;
1780
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
1781
+ updated_at: import("zod").ZodOptional<import("zod").ZodString>;
1782
+ containing_frame: import("zod").ZodOptional<import("zod").ZodObject<{
1783
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1784
+ node_id: import("zod").ZodOptional<import("zod").ZodString>;
1785
+ }, "strip", import("zod").ZodTypeAny, {
1786
+ name?: string | undefined;
1787
+ node_id?: string | undefined;
1788
+ }, {
1789
+ name?: string | undefined;
1790
+ node_id?: string | undefined;
1791
+ }>>;
1792
+ user: import("zod").ZodOptional<import("zod").ZodObject<{
1793
+ id: import("zod").ZodString;
1794
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
1795
+ img_url: import("zod").ZodOptional<import("zod").ZodString>;
1796
+ }, "strip", import("zod").ZodTypeAny, {
1797
+ id: string;
1798
+ handle?: string | undefined;
1799
+ img_url?: string | undefined;
1800
+ }, {
1801
+ id: string;
1802
+ handle?: string | undefined;
1803
+ img_url?: string | undefined;
1804
+ }>>;
1805
+ }, "strip", import("zod").ZodTypeAny, {
1806
+ key: string;
1807
+ created_at?: string | undefined;
1808
+ updated_at?: string | undefined;
1809
+ name?: string | undefined;
1810
+ description?: string | undefined;
1811
+ user?: {
1812
+ id: string;
1813
+ handle?: string | undefined;
1814
+ img_url?: string | undefined;
1815
+ } | undefined;
1816
+ file_key?: string | undefined;
1817
+ node_id?: string | undefined;
1818
+ thumbnail_url?: string | undefined;
1819
+ containing_frame?: {
1820
+ name?: string | undefined;
1821
+ node_id?: string | undefined;
1822
+ } | undefined;
1823
+ }, {
1824
+ key: string;
1825
+ created_at?: string | undefined;
1826
+ updated_at?: string | undefined;
1827
+ name?: string | undefined;
1828
+ description?: string | undefined;
1829
+ user?: {
1830
+ id: string;
1831
+ handle?: string | undefined;
1832
+ img_url?: string | undefined;
1833
+ } | undefined;
1834
+ file_key?: string | undefined;
1835
+ node_id?: string | undefined;
1836
+ thumbnail_url?: string | undefined;
1837
+ containing_frame?: {
1838
+ name?: string | undefined;
1839
+ node_id?: string | undefined;
1840
+ } | undefined;
1841
+ }>, "many">>;
1842
+ }, "strip", import("zod").ZodTypeAny, {
1843
+ components?: {
1844
+ key: string;
1845
+ created_at?: string | undefined;
1846
+ updated_at?: string | undefined;
1847
+ name?: string | undefined;
1848
+ description?: string | undefined;
1849
+ user?: {
1850
+ id: string;
1851
+ handle?: string | undefined;
1852
+ img_url?: string | undefined;
1853
+ } | undefined;
1854
+ file_key?: string | undefined;
1855
+ node_id?: string | undefined;
1856
+ thumbnail_url?: string | undefined;
1857
+ containing_frame?: {
1858
+ name?: string | undefined;
1859
+ node_id?: string | undefined;
1860
+ } | undefined;
1861
+ }[] | undefined;
1862
+ }, {
1863
+ components?: {
1864
+ key: string;
1865
+ created_at?: string | undefined;
1866
+ updated_at?: string | undefined;
1867
+ name?: string | undefined;
1868
+ description?: string | undefined;
1869
+ user?: {
1870
+ id: string;
1871
+ handle?: string | undefined;
1872
+ img_url?: string | undefined;
1873
+ } | undefined;
1874
+ file_key?: string | undefined;
1875
+ node_id?: string | undefined;
1876
+ thumbnail_url?: string | undefined;
1877
+ containing_frame?: {
1878
+ name?: string | undefined;
1879
+ node_id?: string | undefined;
1880
+ } | undefined;
1881
+ }[] | undefined;
1882
+ }>>;
1883
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
1884
+ }, "strip", import("zod").ZodTypeAny, {
1885
+ cursor?: string | undefined;
1886
+ meta?: {
1887
+ components?: {
1888
+ key: string;
1889
+ created_at?: string | undefined;
1890
+ updated_at?: string | undefined;
1891
+ name?: string | undefined;
1892
+ description?: string | undefined;
1893
+ user?: {
1894
+ id: string;
1895
+ handle?: string | undefined;
1896
+ img_url?: string | undefined;
1897
+ } | undefined;
1898
+ file_key?: string | undefined;
1899
+ node_id?: string | undefined;
1900
+ thumbnail_url?: string | undefined;
1901
+ containing_frame?: {
1902
+ name?: string | undefined;
1903
+ node_id?: string | undefined;
1904
+ } | undefined;
1905
+ }[] | undefined;
1906
+ } | undefined;
1907
+ }, {
1908
+ cursor?: string | undefined;
1909
+ meta?: {
1910
+ components?: {
1911
+ key: string;
1912
+ created_at?: string | undefined;
1913
+ updated_at?: string | undefined;
1914
+ name?: string | undefined;
1915
+ description?: string | undefined;
1916
+ user?: {
1917
+ id: string;
1918
+ handle?: string | undefined;
1919
+ img_url?: string | undefined;
1920
+ } | undefined;
1921
+ file_key?: string | undefined;
1922
+ node_id?: string | undefined;
1923
+ thumbnail_url?: string | undefined;
1924
+ containing_frame?: {
1925
+ name?: string | undefined;
1926
+ node_id?: string | undefined;
1927
+ } | undefined;
1928
+ }[] | undefined;
1929
+ } | undefined;
1930
+ }>;
1931
+ };
1932
+ readonly 'components.getComponentSetsForTeam': {
1933
+ readonly input: import("zod").ZodObject<{
1934
+ team_id: import("zod").ZodString;
1935
+ page_size: import("zod").ZodOptional<import("zod").ZodNumber>;
1936
+ after: import("zod").ZodOptional<import("zod").ZodNumber>;
1937
+ before: import("zod").ZodOptional<import("zod").ZodNumber>;
1938
+ }, "strip", import("zod").ZodTypeAny, {
1939
+ team_id: string;
1940
+ before?: number | undefined;
1941
+ after?: number | undefined;
1942
+ page_size?: number | undefined;
1943
+ }, {
1944
+ team_id: string;
1945
+ before?: number | undefined;
1946
+ after?: number | undefined;
1947
+ page_size?: number | undefined;
1948
+ }>;
1949
+ readonly output: import("zod").ZodObject<{
1950
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
1951
+ component_sets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1952
+ key: import("zod").ZodString;
1953
+ name: import("zod").ZodOptional<import("zod").ZodString>;
1954
+ }, "strip", import("zod").ZodTypeAny, {
1955
+ key: string;
1956
+ name?: string | undefined;
1957
+ }, {
1958
+ key: string;
1959
+ name?: string | undefined;
1960
+ }>, "many">>;
1961
+ }, "strip", import("zod").ZodTypeAny, {
1962
+ component_sets?: {
1963
+ key: string;
1964
+ name?: string | undefined;
1965
+ }[] | undefined;
1966
+ }, {
1967
+ component_sets?: {
1968
+ key: string;
1969
+ name?: string | undefined;
1970
+ }[] | undefined;
1971
+ }>>;
1972
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
1973
+ }, "strip", import("zod").ZodTypeAny, {
1974
+ cursor?: string | undefined;
1975
+ meta?: {
1976
+ component_sets?: {
1977
+ key: string;
1978
+ name?: string | undefined;
1979
+ }[] | undefined;
1980
+ } | undefined;
1981
+ }, {
1982
+ cursor?: string | undefined;
1983
+ meta?: {
1984
+ component_sets?: {
1985
+ key: string;
1986
+ name?: string | undefined;
1987
+ }[] | undefined;
1988
+ } | undefined;
1989
+ }>;
1990
+ };
1991
+ readonly 'files.getJSON': {
1992
+ readonly input: import("zod").ZodObject<{
1993
+ file_key: import("zod").ZodString;
1994
+ version: import("zod").ZodOptional<import("zod").ZodString>;
1995
+ ids: import("zod").ZodOptional<import("zod").ZodString>;
1996
+ depth: import("zod").ZodOptional<import("zod").ZodNumber>;
1997
+ geometry: import("zod").ZodOptional<import("zod").ZodString>;
1998
+ plugin_data: import("zod").ZodOptional<import("zod").ZodString>;
1999
+ branch_data: import("zod").ZodOptional<import("zod").ZodBoolean>;
2000
+ simplify: import("zod").ZodOptional<import("zod").ZodBoolean>;
2001
+ include_raw: import("zod").ZodOptional<import("zod").ZodBoolean>;
2002
+ }, "strip", import("zod").ZodTypeAny, {
2003
+ file_key: string;
2004
+ version?: string | undefined;
2005
+ ids?: string | undefined;
2006
+ depth?: number | undefined;
2007
+ geometry?: string | undefined;
2008
+ plugin_data?: string | undefined;
2009
+ branch_data?: boolean | undefined;
2010
+ simplify?: boolean | undefined;
2011
+ include_raw?: boolean | undefined;
2012
+ }, {
2013
+ file_key: string;
2014
+ version?: string | undefined;
2015
+ ids?: string | undefined;
2016
+ depth?: number | undefined;
2017
+ geometry?: string | undefined;
2018
+ plugin_data?: string | undefined;
2019
+ branch_data?: boolean | undefined;
2020
+ simplify?: boolean | undefined;
2021
+ include_raw?: boolean | undefined;
2022
+ }>;
2023
+ readonly output: import("zod").ZodObject<{
2024
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2025
+ role: import("zod").ZodOptional<import("zod").ZodString>;
2026
+ lastModified: import("zod").ZodOptional<import("zod").ZodString>;
2027
+ editorType: import("zod").ZodOptional<import("zod").ZodString>;
2028
+ thumbnailUrl: import("zod").ZodOptional<import("zod").ZodString>;
2029
+ version: import("zod").ZodOptional<import("zod").ZodString>;
2030
+ document: import("zod").ZodOptional<import("zod").ZodUnknown>;
2031
+ components: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
2032
+ styles: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
2033
+ }, "strip", import("zod").ZodTypeAny, {
2034
+ name?: string | undefined;
2035
+ version?: string | undefined;
2036
+ components?: Record<string, unknown> | undefined;
2037
+ role?: string | undefined;
2038
+ lastModified?: string | undefined;
2039
+ editorType?: string | undefined;
2040
+ thumbnailUrl?: string | undefined;
2041
+ document?: unknown;
2042
+ styles?: Record<string, unknown> | undefined;
2043
+ }, {
2044
+ name?: string | undefined;
2045
+ version?: string | undefined;
2046
+ components?: Record<string, unknown> | undefined;
2047
+ role?: string | undefined;
2048
+ lastModified?: string | undefined;
2049
+ editorType?: string | undefined;
2050
+ thumbnailUrl?: string | undefined;
2051
+ document?: unknown;
2052
+ styles?: Record<string, unknown> | undefined;
2053
+ }>;
2054
+ };
2055
+ readonly 'files.getMetadata': {
2056
+ readonly input: import("zod").ZodObject<{
2057
+ file_key: import("zod").ZodString;
2058
+ }, "strip", import("zod").ZodTypeAny, {
2059
+ file_key: string;
2060
+ }, {
2061
+ file_key: string;
2062
+ }>;
2063
+ readonly output: import("zod").ZodObject<{
2064
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2065
+ role: import("zod").ZodOptional<import("zod").ZodString>;
2066
+ last_modified: import("zod").ZodOptional<import("zod").ZodString>;
2067
+ editorType: import("zod").ZodOptional<import("zod").ZodString>;
2068
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodString>;
2069
+ version: import("zod").ZodOptional<import("zod").ZodString>;
2070
+ }, "strip", import("zod").ZodTypeAny, {
2071
+ name?: string | undefined;
2072
+ version?: string | undefined;
2073
+ thumbnail_url?: string | undefined;
2074
+ role?: string | undefined;
2075
+ editorType?: string | undefined;
2076
+ last_modified?: string | undefined;
2077
+ }, {
2078
+ name?: string | undefined;
2079
+ version?: string | undefined;
2080
+ thumbnail_url?: string | undefined;
2081
+ role?: string | undefined;
2082
+ editorType?: string | undefined;
2083
+ last_modified?: string | undefined;
2084
+ }>;
2085
+ };
2086
+ readonly 'files.getNodes': {
2087
+ readonly input: import("zod").ZodObject<{
2088
+ file_key: import("zod").ZodString;
2089
+ ids: import("zod").ZodString;
2090
+ version: import("zod").ZodOptional<import("zod").ZodString>;
2091
+ depth: import("zod").ZodOptional<import("zod").ZodNumber>;
2092
+ geometry: import("zod").ZodOptional<import("zod").ZodString>;
2093
+ plugin_data: import("zod").ZodOptional<import("zod").ZodString>;
2094
+ }, "strip", import("zod").ZodTypeAny, {
2095
+ file_key: string;
2096
+ ids: string;
2097
+ version?: string | undefined;
2098
+ depth?: number | undefined;
2099
+ geometry?: string | undefined;
2100
+ plugin_data?: string | undefined;
2101
+ }, {
2102
+ file_key: string;
2103
+ ids: string;
2104
+ version?: string | undefined;
2105
+ depth?: number | undefined;
2106
+ geometry?: string | undefined;
2107
+ plugin_data?: string | undefined;
2108
+ }>;
2109
+ readonly output: import("zod").ZodObject<{
2110
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2111
+ nodes: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
2112
+ }, "strip", import("zod").ZodTypeAny, {
2113
+ name?: string | undefined;
2114
+ nodes?: Record<string, unknown> | undefined;
2115
+ }, {
2116
+ name?: string | undefined;
2117
+ nodes?: Record<string, unknown> | undefined;
2118
+ }>;
2119
+ };
2120
+ readonly 'files.getStyles': {
2121
+ readonly input: import("zod").ZodObject<{
2122
+ file_key: import("zod").ZodString;
2123
+ }, "strip", import("zod").ZodTypeAny, {
2124
+ file_key: string;
2125
+ }, {
2126
+ file_key: string;
2127
+ }>;
2128
+ readonly output: import("zod").ZodObject<{
2129
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
2130
+ styles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2131
+ key: import("zod").ZodString;
2132
+ file_key: import("zod").ZodOptional<import("zod").ZodString>;
2133
+ node_id: import("zod").ZodOptional<import("zod").ZodString>;
2134
+ style_type: import("zod").ZodOptional<import("zod").ZodString>;
2135
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2136
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2137
+ }, "strip", import("zod").ZodTypeAny, {
2138
+ key: string;
2139
+ name?: string | undefined;
2140
+ description?: string | undefined;
2141
+ file_key?: string | undefined;
2142
+ node_id?: string | undefined;
2143
+ style_type?: string | undefined;
2144
+ }, {
2145
+ key: string;
2146
+ name?: string | undefined;
2147
+ description?: string | undefined;
2148
+ file_key?: string | undefined;
2149
+ node_id?: string | undefined;
2150
+ style_type?: string | undefined;
2151
+ }>, "many">>;
2152
+ }, "strip", import("zod").ZodTypeAny, {
2153
+ styles?: {
2154
+ key: string;
2155
+ name?: string | undefined;
2156
+ description?: string | undefined;
2157
+ file_key?: string | undefined;
2158
+ node_id?: string | undefined;
2159
+ style_type?: string | undefined;
2160
+ }[] | undefined;
2161
+ }, {
2162
+ styles?: {
2163
+ key: string;
2164
+ name?: string | undefined;
2165
+ description?: string | undefined;
2166
+ file_key?: string | undefined;
2167
+ node_id?: string | undefined;
2168
+ style_type?: string | undefined;
2169
+ }[] | undefined;
2170
+ }>>;
2171
+ }, "strip", import("zod").ZodTypeAny, {
2172
+ meta?: {
2173
+ styles?: {
2174
+ key: string;
2175
+ name?: string | undefined;
2176
+ description?: string | undefined;
2177
+ file_key?: string | undefined;
2178
+ node_id?: string | undefined;
2179
+ style_type?: string | undefined;
2180
+ }[] | undefined;
2181
+ } | undefined;
2182
+ }, {
2183
+ meta?: {
2184
+ styles?: {
2185
+ key: string;
2186
+ name?: string | undefined;
2187
+ description?: string | undefined;
2188
+ file_key?: string | undefined;
2189
+ node_id?: string | undefined;
2190
+ style_type?: string | undefined;
2191
+ }[] | undefined;
2192
+ } | undefined;
2193
+ }>;
2194
+ };
2195
+ readonly 'files.getImageFills': {
2196
+ readonly input: import("zod").ZodObject<{
2197
+ file_key: import("zod").ZodString;
2198
+ }, "strip", import("zod").ZodTypeAny, {
2199
+ file_key: string;
2200
+ }, {
2201
+ file_key: string;
2202
+ }>;
2203
+ readonly output: import("zod").ZodObject<{
2204
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
2205
+ images: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
2206
+ }, "strip", import("zod").ZodTypeAny, {
2207
+ images?: Record<string, string> | undefined;
2208
+ }, {
2209
+ images?: Record<string, string> | undefined;
2210
+ }>>;
2211
+ error: import("zod").ZodOptional<import("zod").ZodBoolean>;
2212
+ }, "strip", import("zod").ZodTypeAny, {
2213
+ error?: boolean | undefined;
2214
+ meta?: {
2215
+ images?: Record<string, string> | undefined;
2216
+ } | undefined;
2217
+ }, {
2218
+ error?: boolean | undefined;
2219
+ meta?: {
2220
+ images?: Record<string, string> | undefined;
2221
+ } | undefined;
2222
+ }>;
2223
+ };
2224
+ readonly 'files.getVersions': {
2225
+ readonly input: import("zod").ZodObject<{
2226
+ file_key: import("zod").ZodString;
2227
+ page_size: import("zod").ZodOptional<import("zod").ZodNumber>;
2228
+ before: import("zod").ZodOptional<import("zod").ZodNumber>;
2229
+ after: import("zod").ZodOptional<import("zod").ZodNumber>;
2230
+ }, "strip", import("zod").ZodTypeAny, {
2231
+ file_key: string;
2232
+ before?: number | undefined;
2233
+ after?: number | undefined;
2234
+ page_size?: number | undefined;
2235
+ }, {
2236
+ file_key: string;
2237
+ before?: number | undefined;
2238
+ after?: number | undefined;
2239
+ page_size?: number | undefined;
2240
+ }>;
2241
+ readonly output: import("zod").ZodObject<{
2242
+ versions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2243
+ id: import("zod").ZodString;
2244
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
2245
+ label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2246
+ description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2247
+ user: import("zod").ZodOptional<import("zod").ZodObject<{
2248
+ id: import("zod").ZodString;
2249
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
2250
+ img_url: import("zod").ZodOptional<import("zod").ZodString>;
2251
+ }, "strip", import("zod").ZodTypeAny, {
2252
+ id: string;
2253
+ handle?: string | undefined;
2254
+ img_url?: string | undefined;
2255
+ }, {
2256
+ id: string;
2257
+ handle?: string | undefined;
2258
+ img_url?: string | undefined;
2259
+ }>>;
2260
+ }, "strip", import("zod").ZodTypeAny, {
2261
+ id: string;
2262
+ created_at?: string | undefined;
2263
+ description?: string | null | undefined;
2264
+ user?: {
2265
+ id: string;
2266
+ handle?: string | undefined;
2267
+ img_url?: string | undefined;
2268
+ } | undefined;
2269
+ label?: string | null | undefined;
2270
+ }, {
2271
+ id: string;
2272
+ created_at?: string | undefined;
2273
+ description?: string | null | undefined;
2274
+ user?: {
2275
+ id: string;
2276
+ handle?: string | undefined;
2277
+ img_url?: string | undefined;
2278
+ } | undefined;
2279
+ label?: string | null | undefined;
2280
+ }>, "many">>;
2281
+ pagination: import("zod").ZodOptional<import("zod").ZodObject<{
2282
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2283
+ }, "strip", import("zod").ZodTypeAny, {
2284
+ cursor?: string | undefined;
2285
+ }, {
2286
+ cursor?: string | undefined;
2287
+ }>>;
2288
+ }, "strip", import("zod").ZodTypeAny, {
2289
+ pagination?: {
2290
+ cursor?: string | undefined;
2291
+ } | undefined;
2292
+ versions?: {
2293
+ id: string;
2294
+ created_at?: string | undefined;
2295
+ description?: string | null | undefined;
2296
+ user?: {
2297
+ id: string;
2298
+ handle?: string | undefined;
2299
+ img_url?: string | undefined;
2300
+ } | undefined;
2301
+ label?: string | null | undefined;
2302
+ }[] | undefined;
2303
+ }, {
2304
+ pagination?: {
2305
+ cursor?: string | undefined;
2306
+ } | undefined;
2307
+ versions?: {
2308
+ id: string;
2309
+ created_at?: string | undefined;
2310
+ description?: string | null | undefined;
2311
+ user?: {
2312
+ id: string;
2313
+ handle?: string | undefined;
2314
+ img_url?: string | undefined;
2315
+ } | undefined;
2316
+ label?: string | null | undefined;
2317
+ }[] | undefined;
2318
+ }>;
2319
+ };
2320
+ readonly 'files.renderImages': {
2321
+ readonly input: import("zod").ZodObject<{
2322
+ file_key: import("zod").ZodString;
2323
+ ids: import("zod").ZodString;
2324
+ scale: import("zod").ZodOptional<import("zod").ZodNumber>;
2325
+ format: import("zod").ZodOptional<import("zod").ZodEnum<["jpg", "png", "svg", "pdf"]>>;
2326
+ version: import("zod").ZodOptional<import("zod").ZodString>;
2327
+ contents_only: import("zod").ZodOptional<import("zod").ZodBoolean>;
2328
+ svg_include_id: import("zod").ZodOptional<import("zod").ZodBoolean>;
2329
+ svg_outline_text: import("zod").ZodOptional<import("zod").ZodBoolean>;
2330
+ svg_include_node_id: import("zod").ZodOptional<import("zod").ZodBoolean>;
2331
+ svg_simplify_stroke: import("zod").ZodOptional<import("zod").ZodBoolean>;
2332
+ use_absolute_bounds: import("zod").ZodOptional<import("zod").ZodBoolean>;
2333
+ }, "strip", import("zod").ZodTypeAny, {
2334
+ file_key: string;
2335
+ ids: string;
2336
+ version?: string | undefined;
2337
+ scale?: number | undefined;
2338
+ format?: "jpg" | "png" | "svg" | "pdf" | undefined;
2339
+ contents_only?: boolean | undefined;
2340
+ svg_include_id?: boolean | undefined;
2341
+ svg_outline_text?: boolean | undefined;
2342
+ svg_include_node_id?: boolean | undefined;
2343
+ svg_simplify_stroke?: boolean | undefined;
2344
+ use_absolute_bounds?: boolean | undefined;
2345
+ }, {
2346
+ file_key: string;
2347
+ ids: string;
2348
+ version?: string | undefined;
2349
+ scale?: number | undefined;
2350
+ format?: "jpg" | "png" | "svg" | "pdf" | undefined;
2351
+ contents_only?: boolean | undefined;
2352
+ svg_include_id?: boolean | undefined;
2353
+ svg_outline_text?: boolean | undefined;
2354
+ svg_include_node_id?: boolean | undefined;
2355
+ svg_simplify_stroke?: boolean | undefined;
2356
+ use_absolute_bounds?: boolean | undefined;
2357
+ }>;
2358
+ readonly output: import("zod").ZodObject<{
2359
+ images: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNullable<import("zod").ZodString>>>;
2360
+ err: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2361
+ }, "strip", import("zod").ZodTypeAny, {
2362
+ images?: Record<string, string | null> | undefined;
2363
+ err?: string | null | undefined;
2364
+ }, {
2365
+ images?: Record<string, string | null> | undefined;
2366
+ err?: string | null | undefined;
2367
+ }>;
2368
+ };
2369
+ readonly 'files.getProjectFiles': {
2370
+ readonly input: import("zod").ZodObject<{
2371
+ project_id: import("zod").ZodString;
2372
+ branch_data: import("zod").ZodOptional<import("zod").ZodBoolean>;
2373
+ }, "strip", import("zod").ZodTypeAny, {
2374
+ project_id: string;
2375
+ branch_data?: boolean | undefined;
2376
+ }, {
2377
+ project_id: string;
2378
+ branch_data?: boolean | undefined;
2379
+ }>;
2380
+ readonly output: import("zod").ZodObject<{
2381
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2382
+ files: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2383
+ key: import("zod").ZodString;
2384
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2385
+ thumbnail_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2386
+ last_modified: import("zod").ZodOptional<import("zod").ZodString>;
2387
+ }, "strip", import("zod").ZodTypeAny, {
2388
+ key: string;
2389
+ name?: string | undefined;
2390
+ thumbnail_url?: string | null | undefined;
2391
+ last_modified?: string | undefined;
2392
+ }, {
2393
+ key: string;
2394
+ name?: string | undefined;
2395
+ thumbnail_url?: string | null | undefined;
2396
+ last_modified?: string | undefined;
2397
+ }>, "many">>;
2398
+ }, "strip", import("zod").ZodTypeAny, {
2399
+ name?: string | undefined;
2400
+ files?: {
2401
+ key: string;
2402
+ name?: string | undefined;
2403
+ thumbnail_url?: string | null | undefined;
2404
+ last_modified?: string | undefined;
2405
+ }[] | undefined;
2406
+ }, {
2407
+ name?: string | undefined;
2408
+ files?: {
2409
+ key: string;
2410
+ name?: string | undefined;
2411
+ thumbnail_url?: string | null | undefined;
2412
+ last_modified?: string | undefined;
2413
+ }[] | undefined;
2414
+ }>;
2415
+ };
2416
+ readonly 'styles.get': {
2417
+ readonly input: import("zod").ZodObject<{
2418
+ key: import("zod").ZodString;
2419
+ }, "strip", import("zod").ZodTypeAny, {
2420
+ key: string;
2421
+ }, {
2422
+ key: string;
2423
+ }>;
2424
+ readonly output: import("zod").ZodObject<{
2425
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
2426
+ style: import("zod").ZodOptional<import("zod").ZodObject<{
2427
+ key: import("zod").ZodString;
2428
+ file_key: import("zod").ZodOptional<import("zod").ZodString>;
2429
+ node_id: import("zod").ZodOptional<import("zod").ZodString>;
2430
+ style_type: import("zod").ZodOptional<import("zod").ZodString>;
2431
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2432
+ description: import("zod").ZodOptional<import("zod").ZodString>;
2433
+ }, "strip", import("zod").ZodTypeAny, {
2434
+ key: string;
2435
+ name?: string | undefined;
2436
+ description?: string | undefined;
2437
+ file_key?: string | undefined;
2438
+ node_id?: string | undefined;
2439
+ style_type?: string | undefined;
2440
+ }, {
2441
+ key: string;
2442
+ name?: string | undefined;
2443
+ description?: string | undefined;
2444
+ file_key?: string | undefined;
2445
+ node_id?: string | undefined;
2446
+ style_type?: string | undefined;
2447
+ }>>;
2448
+ }, "strip", import("zod").ZodTypeAny, {
2449
+ style?: {
2450
+ key: string;
2451
+ name?: string | undefined;
2452
+ description?: string | undefined;
2453
+ file_key?: string | undefined;
2454
+ node_id?: string | undefined;
2455
+ style_type?: string | undefined;
2456
+ } | undefined;
2457
+ }, {
2458
+ style?: {
2459
+ key: string;
2460
+ name?: string | undefined;
2461
+ description?: string | undefined;
2462
+ file_key?: string | undefined;
2463
+ node_id?: string | undefined;
2464
+ style_type?: string | undefined;
2465
+ } | undefined;
2466
+ }>>;
2467
+ }, "strip", import("zod").ZodTypeAny, {
2468
+ meta?: {
2469
+ style?: {
2470
+ key: string;
2471
+ name?: string | undefined;
2472
+ description?: string | undefined;
2473
+ file_key?: string | undefined;
2474
+ node_id?: string | undefined;
2475
+ style_type?: string | undefined;
2476
+ } | undefined;
2477
+ } | undefined;
2478
+ }, {
2479
+ meta?: {
2480
+ style?: {
2481
+ key: string;
2482
+ name?: string | undefined;
2483
+ description?: string | undefined;
2484
+ file_key?: string | undefined;
2485
+ node_id?: string | undefined;
2486
+ style_type?: string | undefined;
2487
+ } | undefined;
2488
+ } | undefined;
2489
+ }>;
2490
+ };
2491
+ readonly 'styles.getForTeam': {
2492
+ readonly input: import("zod").ZodObject<{
2493
+ team_id: import("zod").ZodString;
2494
+ page_size: import("zod").ZodOptional<import("zod").ZodNumber>;
2495
+ after: import("zod").ZodOptional<import("zod").ZodNumber>;
2496
+ before: import("zod").ZodOptional<import("zod").ZodNumber>;
2497
+ }, "strip", import("zod").ZodTypeAny, {
2498
+ team_id: string;
2499
+ before?: number | undefined;
2500
+ after?: number | undefined;
2501
+ page_size?: number | undefined;
2502
+ }, {
2503
+ team_id: string;
2504
+ before?: number | undefined;
2505
+ after?: number | undefined;
2506
+ page_size?: number | undefined;
2507
+ }>;
2508
+ readonly output: import("zod").ZodObject<{
2509
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
2510
+ styles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2511
+ key: import("zod").ZodString;
2512
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2513
+ style_type: import("zod").ZodOptional<import("zod").ZodString>;
2514
+ }, "strip", import("zod").ZodTypeAny, {
2515
+ key: string;
2516
+ name?: string | undefined;
2517
+ style_type?: string | undefined;
2518
+ }, {
2519
+ key: string;
2520
+ name?: string | undefined;
2521
+ style_type?: string | undefined;
2522
+ }>, "many">>;
2523
+ }, "strip", import("zod").ZodTypeAny, {
2524
+ styles?: {
2525
+ key: string;
2526
+ name?: string | undefined;
2527
+ style_type?: string | undefined;
2528
+ }[] | undefined;
2529
+ }, {
2530
+ styles?: {
2531
+ key: string;
2532
+ name?: string | undefined;
2533
+ style_type?: string | undefined;
2534
+ }[] | undefined;
2535
+ }>>;
2536
+ }, "strip", import("zod").ZodTypeAny, {
2537
+ meta?: {
2538
+ styles?: {
2539
+ key: string;
2540
+ name?: string | undefined;
2541
+ style_type?: string | undefined;
2542
+ }[] | undefined;
2543
+ } | undefined;
2544
+ }, {
2545
+ meta?: {
2546
+ styles?: {
2547
+ key: string;
2548
+ name?: string | undefined;
2549
+ style_type?: string | undefined;
2550
+ }[] | undefined;
2551
+ } | undefined;
2552
+ }>;
2553
+ };
2554
+ readonly 'projects.getTeamProjects': {
2555
+ readonly input: import("zod").ZodObject<{
2556
+ team_id: import("zod").ZodString;
2557
+ }, "strip", import("zod").ZodTypeAny, {
2558
+ team_id: string;
2559
+ }, {
2560
+ team_id: string;
2561
+ }>;
2562
+ readonly output: import("zod").ZodObject<{
2563
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2564
+ projects: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2565
+ id: import("zod").ZodString;
2566
+ name: import("zod").ZodOptional<import("zod").ZodString>;
2567
+ }, "strip", import("zod").ZodTypeAny, {
2568
+ id: string;
2569
+ name?: string | undefined;
2570
+ }, {
2571
+ id: string;
2572
+ name?: string | undefined;
2573
+ }>, "many">>;
2574
+ }, "strip", import("zod").ZodTypeAny, {
2575
+ name?: string | undefined;
2576
+ projects?: {
2577
+ id: string;
2578
+ name?: string | undefined;
2579
+ }[] | undefined;
2580
+ }, {
2581
+ name?: string | undefined;
2582
+ projects?: {
2583
+ id: string;
2584
+ name?: string | undefined;
2585
+ }[] | undefined;
2586
+ }>;
2587
+ };
2588
+ readonly 'users.getCurrent': {
2589
+ readonly input: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
2590
+ readonly output: import("zod").ZodObject<{
2591
+ id: import("zod").ZodString;
2592
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
2593
+ img_url: import("zod").ZodOptional<import("zod").ZodString>;
2594
+ email: import("zod").ZodOptional<import("zod").ZodString>;
2595
+ }, "strip", import("zod").ZodTypeAny, {
2596
+ id: string;
2597
+ handle?: string | undefined;
2598
+ img_url?: string | undefined;
2599
+ email?: string | undefined;
2600
+ }, {
2601
+ id: string;
2602
+ handle?: string | undefined;
2603
+ img_url?: string | undefined;
2604
+ email?: string | undefined;
2605
+ }>;
2606
+ };
2607
+ readonly 'libraryAnalytics.componentActions': {
2608
+ readonly input: import("zod").ZodObject<{
2609
+ file_key: import("zod").ZodString;
2610
+ start_date: import("zod").ZodOptional<import("zod").ZodString>;
2611
+ end_date: import("zod").ZodOptional<import("zod").ZodString>;
2612
+ group_by: import("zod").ZodOptional<import("zod").ZodString>;
2613
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2614
+ }, "strip", import("zod").ZodTypeAny, {
2615
+ file_key: string;
2616
+ cursor?: string | undefined;
2617
+ start_date?: string | undefined;
2618
+ end_date?: string | undefined;
2619
+ group_by?: string | undefined;
2620
+ }, {
2621
+ file_key: string;
2622
+ cursor?: string | undefined;
2623
+ start_date?: string | undefined;
2624
+ end_date?: string | undefined;
2625
+ group_by?: string | undefined;
2626
+ }>;
2627
+ readonly output: import("zod").ZodObject<{
2628
+ rows: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
2629
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2630
+ next_page: import("zod").ZodOptional<import("zod").ZodBoolean>;
2631
+ }, "strip", import("zod").ZodTypeAny, {
2632
+ cursor?: string | undefined;
2633
+ rows?: unknown[] | undefined;
2634
+ next_page?: boolean | undefined;
2635
+ }, {
2636
+ cursor?: string | undefined;
2637
+ rows?: unknown[] | undefined;
2638
+ next_page?: boolean | undefined;
2639
+ }>;
2640
+ };
2641
+ readonly 'libraryAnalytics.componentUsages': {
2642
+ readonly input: import("zod").ZodObject<{
2643
+ file_key: import("zod").ZodString;
2644
+ group_by: import("zod").ZodOptional<import("zod").ZodString>;
2645
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2646
+ }, "strip", import("zod").ZodTypeAny, {
2647
+ file_key: string;
2648
+ cursor?: string | undefined;
2649
+ group_by?: string | undefined;
2650
+ }, {
2651
+ file_key: string;
2652
+ cursor?: string | undefined;
2653
+ group_by?: string | undefined;
2654
+ }>;
2655
+ readonly output: import("zod").ZodObject<{
2656
+ rows: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
2657
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2658
+ next_page: import("zod").ZodOptional<import("zod").ZodBoolean>;
2659
+ }, "strip", import("zod").ZodTypeAny, {
2660
+ cursor?: string | undefined;
2661
+ rows?: unknown[] | undefined;
2662
+ next_page?: boolean | undefined;
2663
+ }, {
2664
+ cursor?: string | undefined;
2665
+ rows?: unknown[] | undefined;
2666
+ next_page?: boolean | undefined;
2667
+ }>;
2668
+ };
2669
+ readonly 'libraryAnalytics.styleActions': {
2670
+ readonly input: import("zod").ZodObject<{
2671
+ file_key: import("zod").ZodString;
2672
+ start_date: import("zod").ZodOptional<import("zod").ZodString>;
2673
+ end_date: import("zod").ZodOptional<import("zod").ZodString>;
2674
+ group_by: import("zod").ZodOptional<import("zod").ZodString>;
2675
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2676
+ }, "strip", import("zod").ZodTypeAny, {
2677
+ file_key: string;
2678
+ cursor?: string | undefined;
2679
+ start_date?: string | undefined;
2680
+ end_date?: string | undefined;
2681
+ group_by?: string | undefined;
2682
+ }, {
2683
+ file_key: string;
2684
+ cursor?: string | undefined;
2685
+ start_date?: string | undefined;
2686
+ end_date?: string | undefined;
2687
+ group_by?: string | undefined;
2688
+ }>;
2689
+ readonly output: import("zod").ZodObject<{
2690
+ rows: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
2691
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2692
+ next_page: import("zod").ZodOptional<import("zod").ZodBoolean>;
2693
+ }, "strip", import("zod").ZodTypeAny, {
2694
+ cursor?: string | undefined;
2695
+ rows?: unknown[] | undefined;
2696
+ next_page?: boolean | undefined;
2697
+ }, {
2698
+ cursor?: string | undefined;
2699
+ rows?: unknown[] | undefined;
2700
+ next_page?: boolean | undefined;
2701
+ }>;
2702
+ };
2703
+ readonly 'libraryAnalytics.styleUsages': {
2704
+ readonly input: import("zod").ZodObject<{
2705
+ file_key: import("zod").ZodString;
2706
+ group_by: import("zod").ZodOptional<import("zod").ZodString>;
2707
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2708
+ }, "strip", import("zod").ZodTypeAny, {
2709
+ file_key: string;
2710
+ cursor?: string | undefined;
2711
+ group_by?: string | undefined;
2712
+ }, {
2713
+ file_key: string;
2714
+ cursor?: string | undefined;
2715
+ group_by?: string | undefined;
2716
+ }>;
2717
+ readonly output: import("zod").ZodObject<{
2718
+ rows: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
2719
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2720
+ next_page: import("zod").ZodOptional<import("zod").ZodBoolean>;
2721
+ }, "strip", import("zod").ZodTypeAny, {
2722
+ cursor?: string | undefined;
2723
+ rows?: unknown[] | undefined;
2724
+ next_page?: boolean | undefined;
2725
+ }, {
2726
+ cursor?: string | undefined;
2727
+ rows?: unknown[] | undefined;
2728
+ next_page?: boolean | undefined;
2729
+ }>;
2730
+ };
2731
+ readonly 'libraryAnalytics.variableActions': {
2732
+ readonly input: import("zod").ZodObject<{
2733
+ file_key: import("zod").ZodString;
2734
+ start_date: import("zod").ZodOptional<import("zod").ZodString>;
2735
+ end_date: import("zod").ZodOptional<import("zod").ZodString>;
2736
+ group_by: import("zod").ZodOptional<import("zod").ZodString>;
2737
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2738
+ }, "strip", import("zod").ZodTypeAny, {
2739
+ file_key: string;
2740
+ cursor?: string | undefined;
2741
+ start_date?: string | undefined;
2742
+ end_date?: string | undefined;
2743
+ group_by?: string | undefined;
2744
+ }, {
2745
+ file_key: string;
2746
+ cursor?: string | undefined;
2747
+ start_date?: string | undefined;
2748
+ end_date?: string | undefined;
2749
+ group_by?: string | undefined;
2750
+ }>;
2751
+ readonly output: import("zod").ZodObject<{
2752
+ rows: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
2753
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2754
+ next_page: import("zod").ZodOptional<import("zod").ZodBoolean>;
2755
+ }, "strip", import("zod").ZodTypeAny, {
2756
+ cursor?: string | undefined;
2757
+ rows?: unknown[] | undefined;
2758
+ next_page?: boolean | undefined;
2759
+ }, {
2760
+ cursor?: string | undefined;
2761
+ rows?: unknown[] | undefined;
2762
+ next_page?: boolean | undefined;
2763
+ }>;
2764
+ };
2765
+ readonly 'libraryAnalytics.variableUsages': {
2766
+ readonly input: import("zod").ZodObject<{
2767
+ file_key: import("zod").ZodString;
2768
+ group_by: import("zod").ZodOptional<import("zod").ZodString>;
2769
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2770
+ }, "strip", import("zod").ZodTypeAny, {
2771
+ file_key: string;
2772
+ cursor?: string | undefined;
2773
+ group_by?: string | undefined;
2774
+ }, {
2775
+ file_key: string;
2776
+ cursor?: string | undefined;
2777
+ group_by?: string | undefined;
2778
+ }>;
2779
+ readonly output: import("zod").ZodObject<{
2780
+ rows: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
2781
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2782
+ next_page: import("zod").ZodOptional<import("zod").ZodBoolean>;
2783
+ }, "strip", import("zod").ZodTypeAny, {
2784
+ cursor?: string | undefined;
2785
+ rows?: unknown[] | undefined;
2786
+ next_page?: boolean | undefined;
2787
+ }, {
2788
+ cursor?: string | undefined;
2789
+ rows?: unknown[] | undefined;
2790
+ next_page?: boolean | undefined;
2791
+ }>;
2792
+ };
2793
+ readonly 'activityLogs.list': {
2794
+ readonly input: import("zod").ZodObject<{
2795
+ start_time: import("zod").ZodOptional<import("zod").ZodNumber>;
2796
+ end_time: import("zod").ZodOptional<import("zod").ZodNumber>;
2797
+ limit: import("zod").ZodOptional<import("zod").ZodNumber>;
2798
+ order: import("zod").ZodOptional<import("zod").ZodString>;
2799
+ events: import("zod").ZodOptional<import("zod").ZodString>;
2800
+ }, "strip", import("zod").ZodTypeAny, {
2801
+ limit?: number | undefined;
2802
+ start_time?: number | undefined;
2803
+ end_time?: number | undefined;
2804
+ order?: string | undefined;
2805
+ events?: string | undefined;
2806
+ }, {
2807
+ limit?: number | undefined;
2808
+ start_time?: number | undefined;
2809
+ end_time?: number | undefined;
2810
+ order?: string | undefined;
2811
+ events?: string | undefined;
2812
+ }>;
2813
+ readonly output: import("zod").ZodObject<{
2814
+ activity_logs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
2815
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
2816
+ next_page: import("zod").ZodOptional<import("zod").ZodBoolean>;
2817
+ }, "strip", import("zod").ZodTypeAny, {
2818
+ cursor?: string | undefined;
2819
+ next_page?: boolean | undefined;
2820
+ activity_logs?: unknown[] | undefined;
2821
+ }, {
2822
+ cursor?: string | undefined;
2823
+ next_page?: boolean | undefined;
2824
+ activity_logs?: unknown[] | undefined;
2825
+ }>;
2826
+ };
2827
+ readonly 'payments.get': {
2828
+ readonly input: import("zod").ZodObject<{
2829
+ user_id: import("zod").ZodOptional<import("zod").ZodString>;
2830
+ plugin_id: import("zod").ZodOptional<import("zod").ZodString>;
2831
+ widget_id: import("zod").ZodOptional<import("zod").ZodString>;
2832
+ community_file_id: import("zod").ZodOptional<import("zod").ZodString>;
2833
+ plugin_payment_token: import("zod").ZodOptional<import("zod").ZodString>;
2834
+ }, "strip", import("zod").ZodTypeAny, {
2835
+ user_id?: string | undefined;
2836
+ plugin_id?: string | undefined;
2837
+ widget_id?: string | undefined;
2838
+ community_file_id?: string | undefined;
2839
+ plugin_payment_token?: string | undefined;
2840
+ }, {
2841
+ user_id?: string | undefined;
2842
+ plugin_id?: string | undefined;
2843
+ widget_id?: string | undefined;
2844
+ community_file_id?: string | undefined;
2845
+ plugin_payment_token?: string | undefined;
2846
+ }>;
2847
+ readonly output: import("zod").ZodObject<{
2848
+ meta: import("zod").ZodOptional<import("zod").ZodObject<{
2849
+ payment_information: import("zod").ZodOptional<import("zod").ZodUnknown>;
2850
+ }, "strip", import("zod").ZodTypeAny, {
2851
+ payment_information?: unknown;
2852
+ }, {
2853
+ payment_information?: unknown;
2854
+ }>>;
2855
+ status: import("zod").ZodOptional<import("zod").ZodNumber>;
2856
+ }, "strip", import("zod").ZodTypeAny, {
2857
+ status?: number | undefined;
2858
+ meta?: {
2859
+ payment_information?: unknown;
2860
+ } | undefined;
2861
+ }, {
2862
+ status?: number | undefined;
2863
+ meta?: {
2864
+ payment_information?: unknown;
2865
+ } | undefined;
2866
+ }>;
2867
+ };
2868
+ readonly 'designTools.discoverResources': {
2869
+ readonly input: import("zod").ZodObject<{
2870
+ figma_url: import("zod").ZodOptional<import("zod").ZodString>;
2871
+ file_key: import("zod").ZodOptional<import("zod").ZodString>;
2872
+ team_id: import("zod").ZodOptional<import("zod").ZodString>;
2873
+ project_id: import("zod").ZodOptional<import("zod").ZodString>;
2874
+ max_depth: import("zod").ZodOptional<import("zod").ZodNumber>;
2875
+ }, "strip", import("zod").ZodTypeAny, {
2876
+ file_key?: string | undefined;
2877
+ team_id?: string | undefined;
2878
+ project_id?: string | undefined;
2879
+ figma_url?: string | undefined;
2880
+ max_depth?: number | undefined;
2881
+ }, {
2882
+ file_key?: string | undefined;
2883
+ team_id?: string | undefined;
2884
+ project_id?: string | undefined;
2885
+ figma_url?: string | undefined;
2886
+ max_depth?: number | undefined;
2887
+ }>;
2888
+ readonly output: import("zod").ZodObject<{
2889
+ files: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
2890
+ projects: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
2891
+ teams: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
2892
+ }, "strip", import("zod").ZodTypeAny, {
2893
+ teams?: unknown[] | undefined;
2894
+ files?: unknown[] | undefined;
2895
+ projects?: unknown[] | undefined;
2896
+ }, {
2897
+ teams?: unknown[] | undefined;
2898
+ files?: unknown[] | undefined;
2899
+ projects?: unknown[] | undefined;
2900
+ }>;
2901
+ };
2902
+ readonly 'designTools.extractDesignTokens': {
2903
+ readonly input: import("zod").ZodObject<{
2904
+ file_key: import("zod").ZodString;
2905
+ include_variables: import("zod").ZodOptional<import("zod").ZodBoolean>;
2906
+ include_local_styles: import("zod").ZodOptional<import("zod").ZodBoolean>;
2907
+ extract_from_nodes: import("zod").ZodOptional<import("zod").ZodString>;
2908
+ }, "strip", import("zod").ZodTypeAny, {
2909
+ file_key: string;
2910
+ include_variables?: boolean | undefined;
2911
+ include_local_styles?: boolean | undefined;
2912
+ extract_from_nodes?: string | undefined;
2913
+ }, {
2914
+ file_key: string;
2915
+ include_variables?: boolean | undefined;
2916
+ include_local_styles?: boolean | undefined;
2917
+ extract_from_nodes?: string | undefined;
2918
+ }>;
2919
+ readonly output: import("zod").ZodObject<{
2920
+ tokens: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
2921
+ }, "strip", import("zod").ZodTypeAny, {
2922
+ tokens?: Record<string, unknown> | undefined;
2923
+ }, {
2924
+ tokens?: Record<string, unknown> | undefined;
2925
+ }>;
2926
+ };
2927
+ readonly 'designTools.extractPrototypeInteractions': {
2928
+ readonly input: import("zod").ZodObject<{
2929
+ file_key: import("zod").ZodString;
2930
+ analyze_components: import("zod").ZodOptional<import("zod").ZodBoolean>;
2931
+ include_animations: import("zod").ZodOptional<import("zod").ZodBoolean>;
2932
+ }, "strip", import("zod").ZodTypeAny, {
2933
+ file_key: string;
2934
+ analyze_components?: boolean | undefined;
2935
+ include_animations?: boolean | undefined;
2936
+ }, {
2937
+ file_key: string;
2938
+ analyze_components?: boolean | undefined;
2939
+ include_animations?: boolean | undefined;
2940
+ }>;
2941
+ readonly output: import("zod").ZodObject<{
2942
+ interactions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
2943
+ flows: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown, "many">>;
2944
+ }, "strip", import("zod").ZodTypeAny, {
2945
+ interactions?: unknown[] | undefined;
2946
+ flows?: unknown[] | undefined;
2947
+ }, {
2948
+ interactions?: unknown[] | undefined;
2949
+ flows?: unknown[] | undefined;
2950
+ }>;
2951
+ };
2952
+ readonly 'designTools.downloadImages': {
2953
+ readonly input: import("zod").ZodObject<{
2954
+ file_key: import("zod").ZodString;
2955
+ images: import("zod").ZodArray<import("zod").ZodObject<{
2956
+ node_id: import("zod").ZodString;
2957
+ }, "strip", import("zod").ZodTypeAny, {
2958
+ node_id: string;
2959
+ }, {
2960
+ node_id: string;
2961
+ }>, "many">;
2962
+ scale: import("zod").ZodOptional<import("zod").ZodNumber>;
2963
+ svg_include_id: import("zod").ZodOptional<import("zod").ZodBoolean>;
2964
+ svg_outline_text: import("zod").ZodOptional<import("zod").ZodBoolean>;
2965
+ svg_simplify_stroke: import("zod").ZodOptional<import("zod").ZodBoolean>;
2966
+ }, "strip", import("zod").ZodTypeAny, {
2967
+ file_key: string;
2968
+ images: {
2969
+ node_id: string;
2970
+ }[];
2971
+ scale?: number | undefined;
2972
+ svg_include_id?: boolean | undefined;
2973
+ svg_outline_text?: boolean | undefined;
2974
+ svg_simplify_stroke?: boolean | undefined;
2975
+ }, {
2976
+ file_key: string;
2977
+ images: {
2978
+ node_id: string;
2979
+ }[];
2980
+ scale?: number | undefined;
2981
+ svg_include_id?: boolean | undefined;
2982
+ svg_outline_text?: boolean | undefined;
2983
+ svg_simplify_stroke?: boolean | undefined;
2984
+ }>;
2985
+ readonly output: import("zod").ZodObject<{
2986
+ images: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNullable<import("zod").ZodString>>>;
2987
+ }, "strip", import("zod").ZodTypeAny, {
2988
+ images?: Record<string, string | null> | undefined;
2989
+ }, {
2990
+ images?: Record<string, string | null> | undefined;
2991
+ }>;
2992
+ };
2993
+ readonly 'designTools.designTokensToTailwind': {
2994
+ readonly input: import("zod").ZodObject<{
2995
+ tokens: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
2996
+ prefix: import("zod").ZodOptional<import("zod").ZodString>;
2997
+ config_format: import("zod").ZodOptional<import("zod").ZodString>;
2998
+ include_font_imports: import("zod").ZodOptional<import("zod").ZodBoolean>;
2999
+ }, "strip", import("zod").ZodTypeAny, {
3000
+ tokens: Record<string, unknown>;
3001
+ prefix?: string | undefined;
3002
+ config_format?: string | undefined;
3003
+ include_font_imports?: boolean | undefined;
3004
+ }, {
3005
+ tokens: Record<string, unknown>;
3006
+ prefix?: string | undefined;
3007
+ config_format?: string | undefined;
3008
+ include_font_imports?: boolean | undefined;
3009
+ }>;
3010
+ readonly output: import("zod").ZodObject<{
3011
+ config: import("zod").ZodOptional<import("zod").ZodString>;
3012
+ css: import("zod").ZodOptional<import("zod").ZodString>;
3013
+ }, "strip", import("zod").ZodTypeAny, {
3014
+ config?: string | undefined;
3015
+ css?: string | undefined;
3016
+ }, {
3017
+ config?: string | undefined;
3018
+ css?: string | undefined;
3019
+ }>;
3020
+ };
3021
+ };
3022
+ declare const defaultAuthType: AuthTypes;
3023
+ export declare const figmaAuthConfig: {
3024
+ readonly api_key: {
3025
+ readonly account: readonly ["one"];
3026
+ };
3027
+ };
3028
+ export type BaseFigmaPlugin<T extends FigmaPluginOptions> = CorsairPlugin<'figma', typeof FigmaSchema, typeof figmaEndpointsNested, typeof figmaWebhooksNested, T, typeof defaultAuthType>;
3029
+ export type InternalFigmaPlugin = BaseFigmaPlugin<FigmaPluginOptions>;
3030
+ export type ExternalFigmaPlugin<T extends FigmaPluginOptions> = BaseFigmaPlugin<T>;
3031
+ export declare function figma<const T extends FigmaPluginOptions>(incomingOptions?: FigmaPluginOptions & T): ExternalFigmaPlugin<T>;
3032
+ export type { FigmaFileCommentEvent, FigmaFileUpdateEvent, FigmaFileDeleteEvent, FigmaFileVersionUpdateEvent, FigmaLibraryPublishEvent, FigmaPingEvent, FigmaWebhookOutputs, FigmaWebhookPayload, } from './webhooks/types';
3033
+ export { createFigmaEventMatch } from './webhooks/types';
3034
+ export type { FigmaEndpointInputs, FigmaEndpointOutputs, CommentsAddResponse, CommentsDeleteResponse, CommentsListResponse, CommentsGetReactionsResponse, CommentsAddReactionResponse, CommentsDeleteReactionResponse, WebhooksCreateResponse, WebhooksDeleteResponse, WebhooksGetResponse, WebhooksListResponse, WebhooksGetRequestsResponse, WebhooksUpdateResponse, DevResourcesCreateResponse, DevResourcesDeleteResponse, DevResourcesGetResponse, DevResourcesUpdateResponse, VariablesCreateModifyDeleteResponse, VariablesGetLocalResponse, VariablesGetPublishedResponse, ComponentsGetResponse, ComponentSetsGetResponse, ComponentsGetForFileResponse, ComponentSetsGetForFileResponse, ComponentsGetForTeamResponse, ComponentSetsGetForTeamResponse, FilesGetJSONResponse, FilesGetMetadataResponse, FilesGetNodesResponse, FilesGetStylesResponse, FilesGetImageFillsResponse, FilesGetVersionsResponse, FilesRenderImagesResponse, FilesGetProjectFilesResponse, StylesGetResponse, StylesGetForTeamResponse, ProjectsGetTeamProjectsResponse, UsersGetCurrentResponse, LibraryAnalyticsComponentActionsResponse, LibraryAnalyticsComponentUsagesResponse, LibraryAnalyticsStyleActionsResponse, LibraryAnalyticsStyleUsagesResponse, LibraryAnalyticsVariableActionsResponse, LibraryAnalyticsVariableUsagesResponse, ActivityLogsListResponse, PaymentsGetResponse, DesignToolsDiscoverResourcesResponse, DesignToolsExtractDesignTokensResponse, DesignToolsExtractPrototypeInteractionsResponse, DesignToolsDownloadImagesResponse, DesignToolsDesignTokensToTailwindResponse, } from './endpoints/types';
3035
+ //# sourceMappingURL=index.d.ts.map