@keystrokehq/gamma 0.1.0 → 0.1.2

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 (49) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-from-template.cjs +2 -2
  4. package/dist/actions/create-from-template.cjs.map +1 -1
  5. package/dist/actions/create-from-template.d.cts +53 -3
  6. package/dist/actions/create-from-template.d.cts.map +1 -1
  7. package/dist/actions/create-from-template.d.mts +53 -3
  8. package/dist/actions/create-from-template.d.mts.map +1 -1
  9. package/dist/actions/create-from-template.mjs +2 -2
  10. package/dist/actions/create-from-template.mjs.map +1 -1
  11. package/dist/actions/generate-gamma.cjs +2 -2
  12. package/dist/actions/generate-gamma.cjs.map +1 -1
  13. package/dist/actions/generate-gamma.d.cts +338 -3
  14. package/dist/actions/generate-gamma.d.cts.map +1 -1
  15. package/dist/actions/generate-gamma.d.mts +338 -3
  16. package/dist/actions/generate-gamma.d.mts.map +1 -1
  17. package/dist/actions/generate-gamma.mjs +2 -2
  18. package/dist/actions/generate-gamma.mjs.map +1 -1
  19. package/dist/actions/get-gamma-file-urls.cjs +2 -2
  20. package/dist/actions/get-gamma-file-urls.cjs.map +1 -1
  21. package/dist/actions/get-gamma-file-urls.d.cts +16 -3
  22. package/dist/actions/get-gamma-file-urls.d.cts.map +1 -1
  23. package/dist/actions/get-gamma-file-urls.d.mts +16 -3
  24. package/dist/actions/get-gamma-file-urls.d.mts.map +1 -1
  25. package/dist/actions/get-gamma-file-urls.mjs +2 -2
  26. package/dist/actions/get-gamma-file-urls.mjs.map +1 -1
  27. package/dist/actions/list-folders.cjs +3 -3
  28. package/dist/actions/list-folders.cjs.map +1 -1
  29. package/dist/actions/list-folders.d.cts +18 -3
  30. package/dist/actions/list-folders.d.cts.map +1 -1
  31. package/dist/actions/list-folders.d.mts +18 -3
  32. package/dist/actions/list-folders.d.mts.map +1 -1
  33. package/dist/actions/list-folders.mjs +3 -3
  34. package/dist/actions/list-folders.mjs.map +1 -1
  35. package/dist/actions/list-themes.cjs +4 -4
  36. package/dist/actions/list-themes.cjs.map +1 -1
  37. package/dist/actions/list-themes.d.cts +22 -3
  38. package/dist/actions/list-themes.d.cts.map +1 -1
  39. package/dist/actions/list-themes.d.mts +22 -3
  40. package/dist/actions/list-themes.d.mts.map +1 -1
  41. package/dist/actions/list-themes.mjs +4 -4
  42. package/dist/actions/list-themes.mjs.map +1 -1
  43. package/dist/catalog.cjs +7 -1
  44. package/dist/catalog.cjs.map +1 -1
  45. package/dist/catalog.d.cts +8 -0
  46. package/dist/catalog.d.mts +8 -0
  47. package/dist/catalog.mjs +7 -1
  48. package/dist/catalog.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1,9 +1,344 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/generate-gamma.d.ts
4
- declare const GammaGenerateGammaInput: z.ZodTypeAny;
5
- declare const GammaGenerateGammaOutput: z.ZodTypeAny;
6
- declare const gammaGenerateGamma: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GammaGenerateGammaInput: z.ZodObject<{
5
+ format: z.ZodOptional<z.ZodString>;
6
+ themeId: z.ZodOptional<z.ZodString>;
7
+ exportAs: z.ZodOptional<z.ZodString>;
8
+ numCards: z.ZodOptional<z.ZodNumber>;
9
+ textMode: z.ZodString;
10
+ cardSplit: z.ZodOptional<z.ZodString>;
11
+ folderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
+ inputText: z.ZodString;
13
+ cardOptions: z.ZodOptional<z.ZodObject<{
14
+ dimensions: z.ZodOptional<z.ZodString>;
15
+ headerFooter: z.ZodOptional<z.ZodObject<{
16
+ topLeft: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
17
+ type: z.ZodString;
18
+ value: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ src: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
22
+ sm: "sm";
23
+ md: "md";
24
+ lg: "lg";
25
+ xl: "xl";
26
+ }>>>;
27
+ type: z.ZodString;
28
+ source: z.ZodEnum<{
29
+ custom: "custom";
30
+ themeLogo: "themeLogo";
31
+ }>;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ type: z.ZodString;
34
+ }, z.core.$strip>]>>;
35
+ topRight: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
36
+ type: z.ZodString;
37
+ value: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ src: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
41
+ sm: "sm";
42
+ md: "md";
43
+ lg: "lg";
44
+ xl: "xl";
45
+ }>>>;
46
+ type: z.ZodString;
47
+ source: z.ZodEnum<{
48
+ custom: "custom";
49
+ themeLogo: "themeLogo";
50
+ }>;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ type: z.ZodString;
53
+ }, z.core.$strip>]>>;
54
+ topCenter: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
55
+ type: z.ZodString;
56
+ value: z.ZodString;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ src: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
60
+ sm: "sm";
61
+ md: "md";
62
+ lg: "lg";
63
+ xl: "xl";
64
+ }>>>;
65
+ type: z.ZodString;
66
+ source: z.ZodEnum<{
67
+ custom: "custom";
68
+ themeLogo: "themeLogo";
69
+ }>;
70
+ }, z.core.$strip>, z.ZodObject<{
71
+ type: z.ZodString;
72
+ }, z.core.$strip>]>>;
73
+ bottomLeft: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
74
+ type: z.ZodString;
75
+ value: z.ZodString;
76
+ }, z.core.$strip>, z.ZodObject<{
77
+ src: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
79
+ sm: "sm";
80
+ md: "md";
81
+ lg: "lg";
82
+ xl: "xl";
83
+ }>>>;
84
+ type: z.ZodString;
85
+ source: z.ZodEnum<{
86
+ custom: "custom";
87
+ themeLogo: "themeLogo";
88
+ }>;
89
+ }, z.core.$strip>, z.ZodObject<{
90
+ type: z.ZodString;
91
+ }, z.core.$strip>]>>;
92
+ bottomRight: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
93
+ type: z.ZodString;
94
+ value: z.ZodString;
95
+ }, z.core.$strip>, z.ZodObject<{
96
+ src: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
+ size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
98
+ sm: "sm";
99
+ md: "md";
100
+ lg: "lg";
101
+ xl: "xl";
102
+ }>>>;
103
+ type: z.ZodString;
104
+ source: z.ZodEnum<{
105
+ custom: "custom";
106
+ themeLogo: "themeLogo";
107
+ }>;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ type: z.ZodString;
110
+ }, z.core.$strip>]>>;
111
+ bottomCenter: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
112
+ type: z.ZodString;
113
+ value: z.ZodString;
114
+ }, z.core.$strip>, z.ZodObject<{
115
+ src: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
117
+ sm: "sm";
118
+ md: "md";
119
+ lg: "lg";
120
+ xl: "xl";
121
+ }>>>;
122
+ type: z.ZodString;
123
+ source: z.ZodEnum<{
124
+ custom: "custom";
125
+ themeLogo: "themeLogo";
126
+ }>;
127
+ }, z.core.$strip>, z.ZodObject<{
128
+ type: z.ZodString;
129
+ }, z.core.$strip>]>>;
130
+ hideFromLastCard: z.ZodOptional<z.ZodBoolean>;
131
+ hideFromFirstCard: z.ZodOptional<z.ZodBoolean>;
132
+ }, z.core.$strip>>;
133
+ }, z.core.$strip>>;
134
+ textOptions: z.ZodOptional<z.ZodObject<{
135
+ tone: z.ZodOptional<z.ZodString>;
136
+ amount: z.ZodOptional<z.ZodEnum<{
137
+ brief: "brief";
138
+ medium: "medium";
139
+ detailed: "detailed";
140
+ extensive: "extensive";
141
+ }>>;
142
+ audience: z.ZodOptional<z.ZodString>;
143
+ language: z.ZodOptional<z.ZodEnum<{
144
+ id: "id";
145
+ af: "af";
146
+ sq: "sq";
147
+ ar: "ar";
148
+ "ar-sa": "ar-sa";
149
+ bn: "bn";
150
+ bs: "bs";
151
+ bg: "bg";
152
+ ca: "ca";
153
+ hr: "hr";
154
+ cs: "cs";
155
+ da: "da";
156
+ nl: "nl";
157
+ en: "en";
158
+ "en-in": "en-in";
159
+ "en-gb": "en-gb";
160
+ et: "et";
161
+ fi: "fi";
162
+ fr: "fr";
163
+ de: "de";
164
+ el: "el";
165
+ gu: "gu";
166
+ ha: "ha";
167
+ he: "he";
168
+ hi: "hi";
169
+ hu: "hu";
170
+ is: "is";
171
+ it: "it";
172
+ ja: "ja";
173
+ "ja-da": "ja-da";
174
+ kn: "kn";
175
+ kk: "kk";
176
+ ko: "ko";
177
+ lv: "lv";
178
+ lt: "lt";
179
+ mk: "mk";
180
+ ms: "ms";
181
+ ml: "ml";
182
+ mr: "mr";
183
+ nb: "nb";
184
+ fa: "fa";
185
+ pl: "pl";
186
+ "pt-br": "pt-br";
187
+ "pt-pt": "pt-pt";
188
+ ro: "ro";
189
+ ru: "ru";
190
+ sr: "sr";
191
+ "zh-cn": "zh-cn";
192
+ sl: "sl";
193
+ es: "es";
194
+ "es-419": "es-419";
195
+ "es-mx": "es-mx";
196
+ "es-es": "es-es";
197
+ sw: "sw";
198
+ sv: "sv";
199
+ tl: "tl";
200
+ ta: "ta";
201
+ te: "te";
202
+ th: "th";
203
+ "zh-tw": "zh-tw";
204
+ tr: "tr";
205
+ uk: "uk";
206
+ ur: "ur";
207
+ uz: "uz";
208
+ vi: "vi";
209
+ cy: "cy";
210
+ yo: "yo";
211
+ }>>;
212
+ }, z.core.$strip>>;
213
+ imageOptions: z.ZodOptional<z.ZodObject<{
214
+ model: z.ZodOptional<z.ZodString>;
215
+ style: z.ZodOptional<z.ZodString>;
216
+ source: z.ZodOptional<z.ZodString>;
217
+ }, z.core.$strip>>;
218
+ sharingOptions: z.ZodOptional<z.ZodObject<{
219
+ emailOptions: z.ZodOptional<z.ZodObject<{
220
+ access: z.ZodOptional<z.ZodString>;
221
+ recipients: z.ZodOptional<z.ZodArray<z.ZodString>>;
222
+ }, z.core.$strip>>;
223
+ externalAccess: z.ZodOptional<z.ZodString>;
224
+ workspaceAccess: z.ZodOptional<z.ZodString>;
225
+ }, z.core.$strip>>;
226
+ additionalInstructions: z.ZodOptional<z.ZodString>;
227
+ }, z.core.$strip>;
228
+ declare const GammaGenerateGammaOutput: z.ZodObject<{
229
+ status: z.ZodNullable<z.ZodString>;
230
+ credits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
231
+ deducted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
232
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
233
+ }, z.core.$loose>>>;
234
+ gammaUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
235
+ exportUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
236
+ timed_out: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
237
+ generationId: z.ZodNullable<z.ZodString>;
238
+ }, z.core.$loose>;
239
+ declare const gammaGenerateGamma: import("@keystrokehq/action").WorkflowActionDefinition<{
240
+ textMode: string;
241
+ inputText: string;
242
+ format?: string | undefined;
243
+ themeId?: string | undefined;
244
+ exportAs?: string | undefined;
245
+ numCards?: number | undefined;
246
+ cardSplit?: string | undefined;
247
+ folderIds?: string[] | undefined;
248
+ cardOptions?: {
249
+ dimensions?: string | undefined;
250
+ headerFooter?: {
251
+ topLeft?: {
252
+ type: string;
253
+ value: string;
254
+ } | {
255
+ type: string;
256
+ source: "custom" | "themeLogo";
257
+ src?: string | null | undefined;
258
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
259
+ } | {
260
+ type: string;
261
+ } | undefined;
262
+ topRight?: {
263
+ type: string;
264
+ value: string;
265
+ } | {
266
+ type: string;
267
+ source: "custom" | "themeLogo";
268
+ src?: string | null | undefined;
269
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
270
+ } | {
271
+ type: string;
272
+ } | undefined;
273
+ topCenter?: {
274
+ type: string;
275
+ value: string;
276
+ } | {
277
+ type: string;
278
+ source: "custom" | "themeLogo";
279
+ src?: string | null | undefined;
280
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
281
+ } | {
282
+ type: string;
283
+ } | undefined;
284
+ bottomLeft?: {
285
+ type: string;
286
+ value: string;
287
+ } | {
288
+ type: string;
289
+ source: "custom" | "themeLogo";
290
+ src?: string | null | undefined;
291
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
292
+ } | {
293
+ type: string;
294
+ } | undefined;
295
+ bottomRight?: {
296
+ type: string;
297
+ value: string;
298
+ } | {
299
+ type: string;
300
+ source: "custom" | "themeLogo";
301
+ src?: string | null | undefined;
302
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
303
+ } | {
304
+ type: string;
305
+ } | undefined;
306
+ bottomCenter?: {
307
+ type: string;
308
+ value: string;
309
+ } | {
310
+ type: string;
311
+ source: "custom" | "themeLogo";
312
+ src?: string | null | undefined;
313
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
314
+ } | {
315
+ type: string;
316
+ } | undefined;
317
+ hideFromLastCard?: boolean | undefined;
318
+ hideFromFirstCard?: boolean | undefined;
319
+ } | undefined;
320
+ } | undefined;
321
+ textOptions?: {
322
+ tone?: string | undefined;
323
+ amount?: "brief" | "medium" | "detailed" | "extensive" | undefined;
324
+ audience?: string | undefined;
325
+ language?: "id" | "af" | "sq" | "ar" | "ar-sa" | "bn" | "bs" | "bg" | "ca" | "hr" | "cs" | "da" | "nl" | "en" | "en-in" | "en-gb" | "et" | "fi" | "fr" | "de" | "el" | "gu" | "ha" | "he" | "hi" | "hu" | "is" | "it" | "ja" | "ja-da" | "kn" | "kk" | "ko" | "lv" | "lt" | "mk" | "ms" | "ml" | "mr" | "nb" | "fa" | "pl" | "pt-br" | "pt-pt" | "ro" | "ru" | "sr" | "zh-cn" | "sl" | "es" | "es-419" | "es-mx" | "es-es" | "sw" | "sv" | "tl" | "ta" | "te" | "th" | "zh-tw" | "tr" | "uk" | "ur" | "uz" | "vi" | "cy" | "yo" | undefined;
326
+ } | undefined;
327
+ imageOptions?: {
328
+ model?: string | undefined;
329
+ style?: string | undefined;
330
+ source?: string | undefined;
331
+ } | undefined;
332
+ sharingOptions?: {
333
+ emailOptions?: {
334
+ access?: string | undefined;
335
+ recipients?: string[] | undefined;
336
+ } | undefined;
337
+ externalAccess?: string | undefined;
338
+ workspaceAccess?: string | undefined;
339
+ } | undefined;
340
+ additionalInstructions?: string | undefined;
341
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
342
  //#endregion
8
343
  export { gammaGenerateGamma };
9
344
  //# sourceMappingURL=generate-gamma.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generate-gamma.d.cts","names":[],"sources":["../../src/actions/generate-gamma.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAsG8G;AAAA,cAKzI,wBAAA,EAA0B,CAAA,CAAE,UAOsK;AAAA,cAElM,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"generate-gamma.d.cts","names":[],"sources":["../../src/actions/generate-gamma.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2GvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cASxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,344 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/generate-gamma.d.ts
4
- declare const GammaGenerateGammaInput: z.ZodTypeAny;
5
- declare const GammaGenerateGammaOutput: z.ZodTypeAny;
6
- declare const gammaGenerateGamma: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GammaGenerateGammaInput: z.ZodObject<{
5
+ format: z.ZodOptional<z.ZodString>;
6
+ themeId: z.ZodOptional<z.ZodString>;
7
+ exportAs: z.ZodOptional<z.ZodString>;
8
+ numCards: z.ZodOptional<z.ZodNumber>;
9
+ textMode: z.ZodString;
10
+ cardSplit: z.ZodOptional<z.ZodString>;
11
+ folderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
+ inputText: z.ZodString;
13
+ cardOptions: z.ZodOptional<z.ZodObject<{
14
+ dimensions: z.ZodOptional<z.ZodString>;
15
+ headerFooter: z.ZodOptional<z.ZodObject<{
16
+ topLeft: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
17
+ type: z.ZodString;
18
+ value: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ src: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
22
+ sm: "sm";
23
+ md: "md";
24
+ lg: "lg";
25
+ xl: "xl";
26
+ }>>>;
27
+ type: z.ZodString;
28
+ source: z.ZodEnum<{
29
+ custom: "custom";
30
+ themeLogo: "themeLogo";
31
+ }>;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ type: z.ZodString;
34
+ }, z.core.$strip>]>>;
35
+ topRight: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
36
+ type: z.ZodString;
37
+ value: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ src: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
41
+ sm: "sm";
42
+ md: "md";
43
+ lg: "lg";
44
+ xl: "xl";
45
+ }>>>;
46
+ type: z.ZodString;
47
+ source: z.ZodEnum<{
48
+ custom: "custom";
49
+ themeLogo: "themeLogo";
50
+ }>;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ type: z.ZodString;
53
+ }, z.core.$strip>]>>;
54
+ topCenter: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
55
+ type: z.ZodString;
56
+ value: z.ZodString;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ src: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
60
+ sm: "sm";
61
+ md: "md";
62
+ lg: "lg";
63
+ xl: "xl";
64
+ }>>>;
65
+ type: z.ZodString;
66
+ source: z.ZodEnum<{
67
+ custom: "custom";
68
+ themeLogo: "themeLogo";
69
+ }>;
70
+ }, z.core.$strip>, z.ZodObject<{
71
+ type: z.ZodString;
72
+ }, z.core.$strip>]>>;
73
+ bottomLeft: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
74
+ type: z.ZodString;
75
+ value: z.ZodString;
76
+ }, z.core.$strip>, z.ZodObject<{
77
+ src: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
79
+ sm: "sm";
80
+ md: "md";
81
+ lg: "lg";
82
+ xl: "xl";
83
+ }>>>;
84
+ type: z.ZodString;
85
+ source: z.ZodEnum<{
86
+ custom: "custom";
87
+ themeLogo: "themeLogo";
88
+ }>;
89
+ }, z.core.$strip>, z.ZodObject<{
90
+ type: z.ZodString;
91
+ }, z.core.$strip>]>>;
92
+ bottomRight: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
93
+ type: z.ZodString;
94
+ value: z.ZodString;
95
+ }, z.core.$strip>, z.ZodObject<{
96
+ src: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
+ size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
98
+ sm: "sm";
99
+ md: "md";
100
+ lg: "lg";
101
+ xl: "xl";
102
+ }>>>;
103
+ type: z.ZodString;
104
+ source: z.ZodEnum<{
105
+ custom: "custom";
106
+ themeLogo: "themeLogo";
107
+ }>;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ type: z.ZodString;
110
+ }, z.core.$strip>]>>;
111
+ bottomCenter: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
112
+ type: z.ZodString;
113
+ value: z.ZodString;
114
+ }, z.core.$strip>, z.ZodObject<{
115
+ src: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
117
+ sm: "sm";
118
+ md: "md";
119
+ lg: "lg";
120
+ xl: "xl";
121
+ }>>>;
122
+ type: z.ZodString;
123
+ source: z.ZodEnum<{
124
+ custom: "custom";
125
+ themeLogo: "themeLogo";
126
+ }>;
127
+ }, z.core.$strip>, z.ZodObject<{
128
+ type: z.ZodString;
129
+ }, z.core.$strip>]>>;
130
+ hideFromLastCard: z.ZodOptional<z.ZodBoolean>;
131
+ hideFromFirstCard: z.ZodOptional<z.ZodBoolean>;
132
+ }, z.core.$strip>>;
133
+ }, z.core.$strip>>;
134
+ textOptions: z.ZodOptional<z.ZodObject<{
135
+ tone: z.ZodOptional<z.ZodString>;
136
+ amount: z.ZodOptional<z.ZodEnum<{
137
+ brief: "brief";
138
+ medium: "medium";
139
+ detailed: "detailed";
140
+ extensive: "extensive";
141
+ }>>;
142
+ audience: z.ZodOptional<z.ZodString>;
143
+ language: z.ZodOptional<z.ZodEnum<{
144
+ id: "id";
145
+ af: "af";
146
+ sq: "sq";
147
+ ar: "ar";
148
+ "ar-sa": "ar-sa";
149
+ bn: "bn";
150
+ bs: "bs";
151
+ bg: "bg";
152
+ ca: "ca";
153
+ hr: "hr";
154
+ cs: "cs";
155
+ da: "da";
156
+ nl: "nl";
157
+ en: "en";
158
+ "en-in": "en-in";
159
+ "en-gb": "en-gb";
160
+ et: "et";
161
+ fi: "fi";
162
+ fr: "fr";
163
+ de: "de";
164
+ el: "el";
165
+ gu: "gu";
166
+ ha: "ha";
167
+ he: "he";
168
+ hi: "hi";
169
+ hu: "hu";
170
+ is: "is";
171
+ it: "it";
172
+ ja: "ja";
173
+ "ja-da": "ja-da";
174
+ kn: "kn";
175
+ kk: "kk";
176
+ ko: "ko";
177
+ lv: "lv";
178
+ lt: "lt";
179
+ mk: "mk";
180
+ ms: "ms";
181
+ ml: "ml";
182
+ mr: "mr";
183
+ nb: "nb";
184
+ fa: "fa";
185
+ pl: "pl";
186
+ "pt-br": "pt-br";
187
+ "pt-pt": "pt-pt";
188
+ ro: "ro";
189
+ ru: "ru";
190
+ sr: "sr";
191
+ "zh-cn": "zh-cn";
192
+ sl: "sl";
193
+ es: "es";
194
+ "es-419": "es-419";
195
+ "es-mx": "es-mx";
196
+ "es-es": "es-es";
197
+ sw: "sw";
198
+ sv: "sv";
199
+ tl: "tl";
200
+ ta: "ta";
201
+ te: "te";
202
+ th: "th";
203
+ "zh-tw": "zh-tw";
204
+ tr: "tr";
205
+ uk: "uk";
206
+ ur: "ur";
207
+ uz: "uz";
208
+ vi: "vi";
209
+ cy: "cy";
210
+ yo: "yo";
211
+ }>>;
212
+ }, z.core.$strip>>;
213
+ imageOptions: z.ZodOptional<z.ZodObject<{
214
+ model: z.ZodOptional<z.ZodString>;
215
+ style: z.ZodOptional<z.ZodString>;
216
+ source: z.ZodOptional<z.ZodString>;
217
+ }, z.core.$strip>>;
218
+ sharingOptions: z.ZodOptional<z.ZodObject<{
219
+ emailOptions: z.ZodOptional<z.ZodObject<{
220
+ access: z.ZodOptional<z.ZodString>;
221
+ recipients: z.ZodOptional<z.ZodArray<z.ZodString>>;
222
+ }, z.core.$strip>>;
223
+ externalAccess: z.ZodOptional<z.ZodString>;
224
+ workspaceAccess: z.ZodOptional<z.ZodString>;
225
+ }, z.core.$strip>>;
226
+ additionalInstructions: z.ZodOptional<z.ZodString>;
227
+ }, z.core.$strip>;
228
+ declare const GammaGenerateGammaOutput: z.ZodObject<{
229
+ status: z.ZodNullable<z.ZodString>;
230
+ credits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
231
+ deducted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
232
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
233
+ }, z.core.$loose>>>;
234
+ gammaUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
235
+ exportUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
236
+ timed_out: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
237
+ generationId: z.ZodNullable<z.ZodString>;
238
+ }, z.core.$loose>;
239
+ declare const gammaGenerateGamma: import("@keystrokehq/action").WorkflowActionDefinition<{
240
+ textMode: string;
241
+ inputText: string;
242
+ format?: string | undefined;
243
+ themeId?: string | undefined;
244
+ exportAs?: string | undefined;
245
+ numCards?: number | undefined;
246
+ cardSplit?: string | undefined;
247
+ folderIds?: string[] | undefined;
248
+ cardOptions?: {
249
+ dimensions?: string | undefined;
250
+ headerFooter?: {
251
+ topLeft?: {
252
+ type: string;
253
+ value: string;
254
+ } | {
255
+ type: string;
256
+ source: "custom" | "themeLogo";
257
+ src?: string | null | undefined;
258
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
259
+ } | {
260
+ type: string;
261
+ } | undefined;
262
+ topRight?: {
263
+ type: string;
264
+ value: string;
265
+ } | {
266
+ type: string;
267
+ source: "custom" | "themeLogo";
268
+ src?: string | null | undefined;
269
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
270
+ } | {
271
+ type: string;
272
+ } | undefined;
273
+ topCenter?: {
274
+ type: string;
275
+ value: string;
276
+ } | {
277
+ type: string;
278
+ source: "custom" | "themeLogo";
279
+ src?: string | null | undefined;
280
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
281
+ } | {
282
+ type: string;
283
+ } | undefined;
284
+ bottomLeft?: {
285
+ type: string;
286
+ value: string;
287
+ } | {
288
+ type: string;
289
+ source: "custom" | "themeLogo";
290
+ src?: string | null | undefined;
291
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
292
+ } | {
293
+ type: string;
294
+ } | undefined;
295
+ bottomRight?: {
296
+ type: string;
297
+ value: string;
298
+ } | {
299
+ type: string;
300
+ source: "custom" | "themeLogo";
301
+ src?: string | null | undefined;
302
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
303
+ } | {
304
+ type: string;
305
+ } | undefined;
306
+ bottomCenter?: {
307
+ type: string;
308
+ value: string;
309
+ } | {
310
+ type: string;
311
+ source: "custom" | "themeLogo";
312
+ src?: string | null | undefined;
313
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
314
+ } | {
315
+ type: string;
316
+ } | undefined;
317
+ hideFromLastCard?: boolean | undefined;
318
+ hideFromFirstCard?: boolean | undefined;
319
+ } | undefined;
320
+ } | undefined;
321
+ textOptions?: {
322
+ tone?: string | undefined;
323
+ amount?: "brief" | "medium" | "detailed" | "extensive" | undefined;
324
+ audience?: string | undefined;
325
+ language?: "id" | "af" | "sq" | "ar" | "ar-sa" | "bn" | "bs" | "bg" | "ca" | "hr" | "cs" | "da" | "nl" | "en" | "en-in" | "en-gb" | "et" | "fi" | "fr" | "de" | "el" | "gu" | "ha" | "he" | "hi" | "hu" | "is" | "it" | "ja" | "ja-da" | "kn" | "kk" | "ko" | "lv" | "lt" | "mk" | "ms" | "ml" | "mr" | "nb" | "fa" | "pl" | "pt-br" | "pt-pt" | "ro" | "ru" | "sr" | "zh-cn" | "sl" | "es" | "es-419" | "es-mx" | "es-es" | "sw" | "sv" | "tl" | "ta" | "te" | "th" | "zh-tw" | "tr" | "uk" | "ur" | "uz" | "vi" | "cy" | "yo" | undefined;
326
+ } | undefined;
327
+ imageOptions?: {
328
+ model?: string | undefined;
329
+ style?: string | undefined;
330
+ source?: string | undefined;
331
+ } | undefined;
332
+ sharingOptions?: {
333
+ emailOptions?: {
334
+ access?: string | undefined;
335
+ recipients?: string[] | undefined;
336
+ } | undefined;
337
+ externalAccess?: string | undefined;
338
+ workspaceAccess?: string | undefined;
339
+ } | undefined;
340
+ additionalInstructions?: string | undefined;
341
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
342
  //#endregion
8
343
  export { gammaGenerateGamma };
9
344
  //# sourceMappingURL=generate-gamma.d.mts.map