@keystrokehq/gamma 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +8 -8
  4. package/dist/actions/create-from-template.cjs.map +1 -1
  5. package/dist/actions/create-from-template.d.cts +65 -3
  6. package/dist/actions/create-from-template.d.cts.map +1 -1
  7. package/dist/actions/create-from-template.d.mts +65 -3
  8. package/dist/actions/create-from-template.d.mts.map +1 -1
  9. package/dist/actions/create-from-template.mjs +8 -8
  10. package/dist/actions/create-from-template.mjs.map +1 -1
  11. package/dist/actions/generate-gamma.cjs +8 -8
  12. package/dist/actions/generate-gamma.cjs.map +1 -1
  13. package/dist/actions/generate-gamma.d.cts +350 -3
  14. package/dist/actions/generate-gamma.d.cts.map +1 -1
  15. package/dist/actions/generate-gamma.d.mts +350 -3
  16. package/dist/actions/generate-gamma.d.mts.map +1 -1
  17. package/dist/actions/generate-gamma.mjs +8 -8
  18. package/dist/actions/generate-gamma.mjs.map +1 -1
  19. package/dist/actions/get-gamma-file-urls.cjs +7 -7
  20. package/dist/actions/get-gamma-file-urls.cjs.map +1 -1
  21. package/dist/actions/get-gamma-file-urls.d.cts +27 -3
  22. package/dist/actions/get-gamma-file-urls.d.cts.map +1 -1
  23. package/dist/actions/get-gamma-file-urls.d.mts +27 -3
  24. package/dist/actions/get-gamma-file-urls.d.mts.map +1 -1
  25. package/dist/actions/get-gamma-file-urls.mjs +7 -7
  26. package/dist/actions/get-gamma-file-urls.mjs.map +1 -1
  27. package/dist/actions/list-folders.cjs +4 -4
  28. package/dist/actions/list-folders.cjs.map +1 -1
  29. package/dist/actions/list-folders.d.cts +27 -3
  30. package/dist/actions/list-folders.d.cts.map +1 -1
  31. package/dist/actions/list-folders.d.mts +27 -3
  32. package/dist/actions/list-folders.d.mts.map +1 -1
  33. package/dist/actions/list-folders.mjs +4 -4
  34. package/dist/actions/list-folders.mjs.map +1 -1
  35. package/dist/actions/list-themes.cjs +8 -8
  36. package/dist/actions/list-themes.cjs.map +1 -1
  37. package/dist/actions/list-themes.d.cts +34 -3
  38. package/dist/actions/list-themes.d.cts.map +1 -1
  39. package/dist/actions/list-themes.d.mts +34 -3
  40. package/dist/actions/list-themes.d.mts.map +1 -1
  41. package/dist/actions/list-themes.mjs +8 -8
  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 +1 @@
1
- {"version":3,"file":"get-gamma-file-urls.d.mts","names":[],"sources":["../../src/actions/get-gamma-file-urls.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE4G;AAAA,cAK1I,2BAAA,EAA6B,CAAA,CAAE,UAMuH;AAAA,cAEtJ,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-gamma-file-urls.d.mts","names":[],"sources":["../../src/actions/get-gamma-file-urls.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAQ3B,qBAAA,gCAAqB,wBAAA"}
@@ -3,8 +3,8 @@ import { z } from "zod";
3
3
  //#region src/actions/get-gamma-file-urls.ts
4
4
  const GammaGetGammaFileUrlsInput = z.object({ generation_id: z.string().describe("The generationId obtained from the POST generations endpoint. Must contain only letters and numbers (alphanumeric characters).") }).describe("Request path parameter for GET /v1.0/generations/{generationId}.\nRefer to: https://developers.gamma.app/reference/get-generation-status");
5
5
  const GammaGetGammaFileUrls_CreditsSchema = z.object({
6
- deducted: z.number().int().describe("Number of credits deducted for this generation.").nullable().optional(),
7
- remaining: z.number().int().describe("Number of credits remaining after this generation.").nullable().optional()
6
+ deducted: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of credits deducted for this generation.").optional()),
7
+ remaining: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of credits remaining after this generation.").optional())
8
8
  }).passthrough().describe("Credit usage information returned by Gamma API.");
9
9
  const gammaGetGammaFileUrls = action("GAMMA_GET_GAMMA_FILE_URLS", {
10
10
  slug: "gamma-get-gamma-file-urls",
@@ -12,11 +12,11 @@ const gammaGetGammaFileUrls = action("GAMMA_GET_GAMMA_FILE_URLS", {
12
12
  description: "Retrieve generation status and file URLs. Poll this endpoint every ~5 seconds until status is 'completed'. Docs: https://developers.gamma.app/reference/get-generation-status",
13
13
  input: GammaGetGammaFileUrlsInput,
14
14
  output: z.object({
15
- status: z.string().describe("Generation status (pending, completed, or failed)."),
16
- credits: GammaGetGammaFileUrls_CreditsSchema.nullable().optional(),
17
- gammaUrl: z.string().describe("URL to the generated Gamma document (editable in Gamma app). Available when status is 'completed'.").nullable().optional(),
18
- exportUrl: z.string().describe("URL to the exported file (PDF or PPTX), if exportAs was specified during generation. Available when status is 'completed'.").nullable().optional(),
19
- generationId: z.string().describe("The unique identifier for this generation request.")
15
+ status: z.string().describe("Generation status (pending, completed, or failed).").nullable(),
16
+ credits: z.preprocess((value) => value === null ? void 0 : value, GammaGetGammaFileUrls_CreditsSchema.optional()),
17
+ gammaUrl: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("URL to the generated Gamma document (editable in Gamma app). Available when status is 'completed'.").optional()),
18
+ exportUrl: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("URL to the exported file (PDF or PPTX), if exportAs was specified during generation. Available when status is 'completed'.").optional()),
19
+ generationId: z.string().describe("The unique identifier for this generation request.").nullable()
20
20
  }).passthrough().describe("Response model for GET /v1.0/generations/{generationId} endpoint.\nReturns generation status, file URLs, and credit usage information.")
21
21
  });
22
22
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"get-gamma-file-urls.mjs","names":[],"sources":["../../src/actions/get-gamma-file-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GammaGetGammaFileUrlsInput: z.ZodTypeAny = z.object({\n generation_id: z.string().describe(\"The generationId obtained from the POST generations endpoint. Must contain only letters and numbers (alphanumeric characters).\"),\n}).describe(\"Request path parameter for GET /v1.0/generations/{generationId}.\\nRefer to: https://developers.gamma.app/reference/get-generation-status\");\nconst GammaGetGammaFileUrls_CreditsSchema: z.ZodTypeAny = z.object({\n deducted: z.number().int().describe(\"Number of credits deducted for this generation.\").nullable().optional(),\n remaining: z.number().int().describe(\"Number of credits remaining after this generation.\").nullable().optional(),\n}).passthrough().describe(\"Credit usage information returned by Gamma API.\");\nexport const GammaGetGammaFileUrlsOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Generation status (pending, completed, or failed).\"),\n credits: GammaGetGammaFileUrls_CreditsSchema.nullable().optional(),\n gammaUrl: z.string().describe(\"URL to the generated Gamma document (editable in Gamma app). Available when status is 'completed'.\").nullable().optional(),\n exportUrl: z.string().describe(\"URL to the exported file (PDF or PPTX), if exportAs was specified during generation. Available when status is 'completed'.\").nullable().optional(),\n generationId: z.string().describe(\"The unique identifier for this generation request.\"),\n}).passthrough().describe(\"Response model for GET /v1.0/generations/{generationId} endpoint.\\nReturns generation status, file URLs, and credit usage information.\");\n\nexport const gammaGetGammaFileUrls = action(\"GAMMA_GET_GAMMA_FILE_URLS\", {\n slug: \"gamma-get-gamma-file-urls\",\n name: \"Get Gamma File URLs\",\n description: \"Retrieve generation status and file URLs. Poll this endpoint every ~5 seconds until status is 'completed'. Docs: https://developers.gamma.app/reference/get-generation-status\",\n input: GammaGetGammaFileUrlsInput,\n output: GammaGetGammaFileUrlsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,EAC/D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,EACrK,CAAC,CAAC,CAAC,SAAS,0IAA0I;AACtJ,MAAM,sCAAoD,EAAE,OAAO;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAS3E,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuD,EAAE,OAAO;EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EAChF,SAAS,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wIAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-gamma-file-urls.mjs","names":[],"sources":["../../src/actions/get-gamma-file-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GammaGetGammaFileUrlsInput = z.object({\n generation_id: z.string().describe(\"The generationId obtained from the POST generations endpoint. Must contain only letters and numbers (alphanumeric characters).\"),\n}).describe(\"Request path parameter for GET /v1.0/generations/{generationId}.\\nRefer to: https://developers.gamma.app/reference/get-generation-status\");\nconst GammaGetGammaFileUrls_CreditsSchema = z.object({\n deducted: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of credits deducted for this generation.\").optional()),\n remaining: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of credits remaining after this generation.\").optional()),\n}).passthrough().describe(\"Credit usage information returned by Gamma API.\");\nexport const GammaGetGammaFileUrlsOutput = z.object({\n status: z.string().describe(\"Generation status (pending, completed, or failed).\").nullable(),\n credits: z.preprocess((value) => (value === null ? undefined : value), GammaGetGammaFileUrls_CreditsSchema.optional()),\n gammaUrl: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL to the generated Gamma document (editable in Gamma app). Available when status is 'completed'.\").optional()),\n exportUrl: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL to the exported file (PDF or PPTX), if exportAs was specified during generation. Available when status is 'completed'.\").optional()),\n generationId: z.string().describe(\"The unique identifier for this generation request.\").nullable(),\n}).passthrough().describe(\"Response model for GET /v1.0/generations/{generationId} endpoint.\\nReturns generation status, file URLs, and credit usage information.\");\n\nexport const gammaGetGammaFileUrls = action(\"GAMMA_GET_GAMMA_FILE_URLS\", {\n slug: \"gamma-get-gamma-file-urls\",\n name: \"Get Gamma File URLs\",\n description: \"Retrieve generation status and file URLs. Poll this endpoint every ~5 seconds until status is 'completed'. Docs: https://developers.gamma.app/reference/get-generation-status\",\n input: GammaGetGammaFileUrlsInput,\n output: GammaGetGammaFileUrlsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,EACrK,CAAC,CAAC,CAAC,SAAS,0IAA0I;AACtJ,MAAM,sCAAsC,EAAE,OAAO;CACnD,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;CAC/J,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC;AACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAS3E,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,oCAAoC,SAAS,CAAC;EACrH,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC;EAC5M,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,CAAC;EACrO,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wIAOhB;AACV,CAAC"}
@@ -7,13 +7,13 @@ const GammaListFoldersInput = zod.z.object({
7
7
  query: zod.z.string().describe("Search by name (case-insensitive). Filters results to items matching the search term.").optional()
8
8
  }).describe("Request parameters for GET /v1.0/folders.\nDocs: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained");
9
9
  const GammaListFolders_FolderItemSchema = zod.z.object({
10
- id: zod.z.string().describe("Unique folder identifier."),
11
- name: zod.z.string().describe("Folder name.")
10
+ id: zod.z.string().describe("Unique folder identifier.").nullable(),
11
+ name: zod.z.string().describe("Folder name.").nullable()
12
12
  }).passthrough().describe("Individual folder object.");
13
13
  const GammaListFoldersOutput = zod.z.object({
14
14
  data: zod.z.array(GammaListFolders_FolderItemSchema).describe("Array of folder objects."),
15
- hasMore: zod.z.boolean().describe("Indicates whether more pages exist. When true, use nextCursor to fetch the next page."),
16
- nextCursor: zod.z.string().describe("Opaque cursor token for the next page. Pass this value to the 'after' parameter in your next request. Returns null on the last page.").nullable().optional()
15
+ hasMore: zod.z.boolean().describe("Indicates whether more pages exist. When true, use nextCursor to fetch the next page.").nullable(),
16
+ nextCursor: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Opaque cursor token for the next page. Pass this value to the 'after' parameter in your next request. Returns null on the last page.").optional())
17
17
  }).passthrough().describe("Response for GET /v1.0/folders with pagination support.");
18
18
  const gammaListFolders = require_action.action("GAMMA_LIST_FOLDERS", {
19
19
  slug: "gamma-list-folders",
@@ -1 +1 @@
1
- {"version":3,"file":"list-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GammaListFoldersInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor token for fetching the next page. Use the nextCursor value from the previous response. Pagination is forward-only.\").optional(),\n limit: z.number().int().describe(\"Number of items to return per page. Maximum: 50.\").optional(),\n query: z.string().describe(\"Search by name (case-insensitive). Filters results to items matching the search term.\").optional(),\n}).describe(\"Request parameters for GET /v1.0/folders.\\nDocs: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained\");\nconst GammaListFolders_FolderItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique folder identifier.\"),\n name: z.string().describe(\"Folder name.\"),\n}).passthrough().describe(\"Individual folder object.\");\nexport const GammaListFoldersOutput: z.ZodTypeAny = z.object({\n data: z.array(GammaListFolders_FolderItemSchema).describe(\"Array of folder objects.\"),\n hasMore: z.boolean().describe(\"Indicates whether more pages exist. When true, use nextCursor to fetch the next page.\"),\n nextCursor: z.string().describe(\"Opaque cursor token for the next page. Pass this value to the 'after' parameter in your next request. Returns null on the last page.\").nullable().optional(),\n}).passthrough().describe(\"Response for GET /v1.0/folders with pagination support.\");\n\nexport const gammaListFolders = action(\"GAMMA_LIST_FOLDERS\", {\n slug: \"gamma-list-folders\",\n name: \"List Folders\",\n description: \"Tool to retrieve a paginated list of folders in your Gamma workspace. Use when you need folder IDs to organize generated content or to search for specific folders by name.\",\n input: GammaListFoldersInput,\n output: GammaListFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,gIAAgI;AAC5I,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;AAC1C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,0BAA0B;CACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GammaListFoldersInput = z.object({\n after: z.string().describe(\"Cursor token for fetching the next page. Use the nextCursor value from the previous response. Pagination is forward-only.\").optional(),\n limit: z.number().int().describe(\"Number of items to return per page. Maximum: 50.\").optional(),\n query: z.string().describe(\"Search by name (case-insensitive). Filters results to items matching the search term.\").optional(),\n}).describe(\"Request parameters for GET /v1.0/folders.\\nDocs: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained\");\nconst GammaListFolders_FolderItemSchema = z.object({\n id: z.string().describe(\"Unique folder identifier.\").nullable(),\n name: z.string().describe(\"Folder name.\").nullable(),\n}).passthrough().describe(\"Individual folder object.\");\nexport const GammaListFoldersOutput = z.object({\n data: z.array(GammaListFolders_FolderItemSchema).describe(\"Array of folder objects.\"),\n hasMore: z.boolean().describe(\"Indicates whether more pages exist. When true, use nextCursor to fetch the next page.\").nullable(),\n nextCursor: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Opaque cursor token for the next page. Pass this value to the 'after' parameter in your next request. Returns null on the last page.\").optional()),\n}).passthrough().describe(\"Response for GET /v1.0/folders with pagination support.\");\n\nexport const gammaListFolders = action(\"GAMMA_LIST_FOLDERS\", {\n slug: \"gamma-list-folders\",\n name: \"List Folders\",\n description: \"Tool to retrieve a paginated list of folders in your Gamma workspace. Use when you need folder IDs to organize generated content or to search for specific folders by name.\",\n input: GammaListFoldersInput,\n output: GammaListFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,gIAAgI;AAC5I,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,0BAA0B;CACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC;AAClP,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,33 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-folders.d.ts
4
- declare const GammaListFoldersInput: z.ZodTypeAny;
5
- declare const GammaListFoldersOutput: z.ZodTypeAny;
6
- declare const gammaListFolders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GammaListFoldersInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ query: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const GammaListFoldersOutput: z.ZodObject<{
10
+ data: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$loose>>;
14
+ hasMore: z.ZodNullable<z.ZodBoolean>;
15
+ nextCursor: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ }, z.core.$loose>;
17
+ declare const gammaListFolders: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ after?: string | undefined;
19
+ limit?: number | undefined;
20
+ query?: string | undefined;
21
+ }, {
22
+ [x: string]: unknown;
23
+ data: {
24
+ [x: string]: unknown;
25
+ id: string | null;
26
+ name: string | null;
27
+ }[];
28
+ hasMore: boolean | null;
29
+ nextCursor?: string | undefined;
30
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
31
  //#endregion
8
32
  export { gammaListFolders };
9
33
  //# sourceMappingURL=list-folders.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-folders.d.cts","names":[],"sources":["../../src/actions/list-folders.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAIuG;AAAA,cAKhI,sBAAA,EAAwB,CAAA,CAAE,UAI6C;AAAA,cAEvE,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-folders.d.cts","names":[],"sources":["../../src/actions/list-folders.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cASrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;cAMtB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,33 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-folders.d.ts
4
- declare const GammaListFoldersInput: z.ZodTypeAny;
5
- declare const GammaListFoldersOutput: z.ZodTypeAny;
6
- declare const gammaListFolders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GammaListFoldersInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ query: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const GammaListFoldersOutput: z.ZodObject<{
10
+ data: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$loose>>;
14
+ hasMore: z.ZodNullable<z.ZodBoolean>;
15
+ nextCursor: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ }, z.core.$loose>;
17
+ declare const gammaListFolders: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ after?: string | undefined;
19
+ limit?: number | undefined;
20
+ query?: string | undefined;
21
+ }, {
22
+ [x: string]: unknown;
23
+ data: {
24
+ [x: string]: unknown;
25
+ id: string | null;
26
+ name: string | null;
27
+ }[];
28
+ hasMore: boolean | null;
29
+ nextCursor?: string | undefined;
30
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
31
  //#endregion
8
32
  export { gammaListFolders };
9
33
  //# sourceMappingURL=list-folders.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-folders.d.mts","names":[],"sources":["../../src/actions/list-folders.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAIuG;AAAA,cAKhI,sBAAA,EAAwB,CAAA,CAAE,UAI6C;AAAA,cAEvE,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-folders.d.mts","names":[],"sources":["../../src/actions/list-folders.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cASrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;cAMtB,gBAAA,gCAAgB,wBAAA"}
@@ -7,8 +7,8 @@ const GammaListFoldersInput = z.object({
7
7
  query: z.string().describe("Search by name (case-insensitive). Filters results to items matching the search term.").optional()
8
8
  }).describe("Request parameters for GET /v1.0/folders.\nDocs: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained");
9
9
  const GammaListFolders_FolderItemSchema = z.object({
10
- id: z.string().describe("Unique folder identifier."),
11
- name: z.string().describe("Folder name.")
10
+ id: z.string().describe("Unique folder identifier.").nullable(),
11
+ name: z.string().describe("Folder name.").nullable()
12
12
  }).passthrough().describe("Individual folder object.");
13
13
  const gammaListFolders = action("GAMMA_LIST_FOLDERS", {
14
14
  slug: "gamma-list-folders",
@@ -17,8 +17,8 @@ const gammaListFolders = action("GAMMA_LIST_FOLDERS", {
17
17
  input: GammaListFoldersInput,
18
18
  output: z.object({
19
19
  data: z.array(GammaListFolders_FolderItemSchema).describe("Array of folder objects."),
20
- hasMore: z.boolean().describe("Indicates whether more pages exist. When true, use nextCursor to fetch the next page."),
21
- nextCursor: z.string().describe("Opaque cursor token for the next page. Pass this value to the 'after' parameter in your next request. Returns null on the last page.").nullable().optional()
20
+ hasMore: z.boolean().describe("Indicates whether more pages exist. When true, use nextCursor to fetch the next page.").nullable(),
21
+ nextCursor: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Opaque cursor token for the next page. Pass this value to the 'after' parameter in your next request. Returns null on the last page.").optional())
22
22
  }).passthrough().describe("Response for GET /v1.0/folders with pagination support.")
23
23
  });
24
24
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"list-folders.mjs","names":[],"sources":["../../src/actions/list-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GammaListFoldersInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor token for fetching the next page. Use the nextCursor value from the previous response. Pagination is forward-only.\").optional(),\n limit: z.number().int().describe(\"Number of items to return per page. Maximum: 50.\").optional(),\n query: z.string().describe(\"Search by name (case-insensitive). Filters results to items matching the search term.\").optional(),\n}).describe(\"Request parameters for GET /v1.0/folders.\\nDocs: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained\");\nconst GammaListFolders_FolderItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique folder identifier.\"),\n name: z.string().describe(\"Folder name.\"),\n}).passthrough().describe(\"Individual folder object.\");\nexport const GammaListFoldersOutput: z.ZodTypeAny = z.object({\n data: z.array(GammaListFolders_FolderItemSchema).describe(\"Array of folder objects.\"),\n hasMore: z.boolean().describe(\"Indicates whether more pages exist. When true, use nextCursor to fetch the next page.\"),\n nextCursor: z.string().describe(\"Opaque cursor token for the next page. Pass this value to the 'after' parameter in your next request. Returns null on the last page.\").nullable().optional(),\n}).passthrough().describe(\"Response for GET /v1.0/folders with pagination support.\");\n\nexport const gammaListFolders = action(\"GAMMA_LIST_FOLDERS\", {\n slug: \"gamma-list-folders\",\n name: \"List Folders\",\n description: \"Tool to retrieve a paginated list of folders in your Gamma workspace. Use when you need folder IDs to organize generated content or to search for specific folders by name.\",\n input: GammaListFoldersInput,\n output: GammaListFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjK,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,gIAAgI;AAC5I,MAAM,oCAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;AAC1C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAOrD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXkD,EAAE,OAAO;EAC3D,MAAM,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,0BAA0B;EACpF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;EACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-folders.mjs","names":[],"sources":["../../src/actions/list-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GammaListFoldersInput = z.object({\n after: z.string().describe(\"Cursor token for fetching the next page. Use the nextCursor value from the previous response. Pagination is forward-only.\").optional(),\n limit: z.number().int().describe(\"Number of items to return per page. Maximum: 50.\").optional(),\n query: z.string().describe(\"Search by name (case-insensitive). Filters results to items matching the search term.\").optional(),\n}).describe(\"Request parameters for GET /v1.0/folders.\\nDocs: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained\");\nconst GammaListFolders_FolderItemSchema = z.object({\n id: z.string().describe(\"Unique folder identifier.\").nullable(),\n name: z.string().describe(\"Folder name.\").nullable(),\n}).passthrough().describe(\"Individual folder object.\");\nexport const GammaListFoldersOutput = z.object({\n data: z.array(GammaListFolders_FolderItemSchema).describe(\"Array of folder objects.\"),\n hasMore: z.boolean().describe(\"Indicates whether more pages exist. When true, use nextCursor to fetch the next page.\").nullable(),\n nextCursor: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Opaque cursor token for the next page. Pass this value to the 'after' parameter in your next request. Returns null on the last page.\").optional()),\n}).passthrough().describe(\"Response for GET /v1.0/folders with pagination support.\");\n\nexport const gammaListFolders = action(\"GAMMA_LIST_FOLDERS\", {\n slug: \"gamma-list-folders\",\n name: \"List Folders\",\n description: \"Tool to retrieve a paginated list of folders in your Gamma workspace. Use when you need folder IDs to organize generated content or to search for specific folders by name.\",\n input: GammaListFoldersInput,\n output: GammaListFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjK,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,gIAAgI;AAC5I,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAOrD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoC,EAAE,OAAO;EAC7C,MAAM,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,0BAA0B;EACpF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAChI,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC;CAClP,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -7,16 +7,16 @@ const GammaListThemesInput = zod.z.object({
7
7
  query: zod.z.string().describe("Search themes by name. Filter the list to only themes matching this query string.").optional()
8
8
  }).passthrough().describe("Request schema for GET /v1.0/themes.\nDocumentation: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained");
9
9
  const GammaListThemes_ThemeSchema = zod.z.object({
10
- id: zod.z.string().describe("Unique identifier for the theme."),
11
- name: zod.z.string().describe("Display name of the theme."),
12
- type: zod.z.string().describe("Theme type: 'standard' (global/workspace-agnostic) or 'custom' (workspace-specific)."),
13
- toneKeywords: zod.z.array(zod.z.string()).describe("Array of descriptive style tags (e.g., 'playful', 'modern', 'sophisticated').").nullable().optional(),
14
- colorKeywords: zod.z.array(zod.z.string()).describe("Array of descriptive color-related tags (e.g., 'light', 'blue', 'gradient').").nullable().optional()
10
+ id: zod.z.string().describe("Unique identifier for the theme.").nullable(),
11
+ name: zod.z.string().describe("Display name of the theme.").nullable(),
12
+ type: zod.z.string().describe("Theme type: 'standard' (global/workspace-agnostic) or 'custom' (workspace-specific).").nullable(),
13
+ toneKeywords: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Array of descriptive style tags (e.g., 'playful', 'modern', 'sophisticated').").optional()),
14
+ colorKeywords: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Array of descriptive color-related tags (e.g., 'light', 'blue', 'gradient').").optional())
15
15
  }).passthrough().describe("Individual theme object with styling metadata.");
16
16
  const GammaListThemesOutput = zod.z.object({
17
- data: zod.z.array(GammaListThemes_ThemeSchema).describe("Array of theme objects available in the workspace.").nullable().optional(),
18
- hasMore: zod.z.boolean().describe("Boolean indicating whether additional pages of themes exist."),
19
- nextCursor: zod.z.string().describe("Opaque cursor token for fetching the next page. Null when on the final page.").nullable().optional()
17
+ data: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(GammaListThemes_ThemeSchema).describe("Array of theme objects available in the workspace.").optional()),
18
+ hasMore: zod.z.boolean().describe("Boolean indicating whether additional pages of themes exist.").nullable(),
19
+ nextCursor: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Opaque cursor token for fetching the next page. Null when on the final page.").optional())
20
20
  }).passthrough().describe("Response schema for GET /v1.0/themes with paginated results.");
21
21
  const gammaListThemes = require_action.action("GAMMA_LIST_THEMES", {
22
22
  slug: "gamma-list-themes",
@@ -1 +1 @@
1
- {"version":3,"file":"list-themes.cjs","names":["z","action"],"sources":["../../src/actions/list-themes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GammaListThemesInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor token for pagination. Use the nextCursor value from the previous response to fetch the next page.\").optional(),\n limit: z.number().int().describe(\"Maximum number of themes to return per page. Must be between 1 and 50.\").optional(),\n query: z.string().describe(\"Search themes by name. Filter the list to only themes matching this query string.\").optional(),\n}).passthrough().describe(\"Request schema for GET /v1.0/themes.\\nDocumentation: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained\");\nconst GammaListThemes_ThemeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the theme.\"),\n name: z.string().describe(\"Display name of the theme.\"),\n type: z.string().describe(\"Theme type: 'standard' (global/workspace-agnostic) or 'custom' (workspace-specific).\"),\n toneKeywords: z.array(z.string()).describe(\"Array of descriptive style tags (e.g., 'playful', 'modern', 'sophisticated').\").nullable().optional(),\n colorKeywords: z.array(z.string()).describe(\"Array of descriptive color-related tags (e.g., 'light', 'blue', 'gradient').\").nullable().optional(),\n}).passthrough().describe(\"Individual theme object with styling metadata.\");\nexport const GammaListThemesOutput: z.ZodTypeAny = z.object({\n data: z.array(GammaListThemes_ThemeSchema).describe(\"Array of theme objects available in the workspace.\").nullable().optional(),\n hasMore: z.boolean().describe(\"Boolean indicating whether additional pages of themes exist.\"),\n nextCursor: z.string().describe(\"Opaque cursor token for fetching the next page. Null when on the final page.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GET /v1.0/themes with paginated results.\");\n\nexport const gammaListThemes = action(\"GAMMA_LIST_THEMES\", {\n slug: \"gamma-list-themes\",\n name: \"List Themes\",\n description: \"Fetch the list of themes available in your workspace. Returns both standard (global) and custom (workspace-specific) themes in a paginated format. Use this to discover available theme IDs and names for use with the Generate API. Filter by name using the query parameter.\",\n input: GammaListThemesInput,\n output: GammaListThemesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAChJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oIAAoI;AAC9J,MAAM,8BAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAChH,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-themes.cjs","names":["z","action"],"sources":["../../src/actions/list-themes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GammaListThemesInput = z.object({\n after: z.string().describe(\"Cursor token for pagination. Use the nextCursor value from the previous response to fetch the next page.\").optional(),\n limit: z.number().int().describe(\"Maximum number of themes to return per page. Must be between 1 and 50.\").optional(),\n query: z.string().describe(\"Search themes by name. Filter the list to only themes matching this query string.\").optional(),\n}).passthrough().describe(\"Request schema for GET /v1.0/themes.\\nDocumentation: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained\");\nconst GammaListThemes_ThemeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the theme.\").nullable(),\n name: z.string().describe(\"Display name of the theme.\").nullable(),\n type: z.string().describe(\"Theme type: 'standard' (global/workspace-agnostic) or 'custom' (workspace-specific).\").nullable(),\n toneKeywords: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Array of descriptive style tags (e.g., 'playful', 'modern', 'sophisticated').\").optional()),\n colorKeywords: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Array of descriptive color-related tags (e.g., 'light', 'blue', 'gradient').\").optional()),\n}).passthrough().describe(\"Individual theme object with styling metadata.\");\nexport const GammaListThemesOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.array(GammaListThemes_ThemeSchema).describe(\"Array of theme objects available in the workspace.\").optional()),\n hasMore: z.boolean().describe(\"Boolean indicating whether additional pages of themes exist.\").nullable(),\n nextCursor: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Opaque cursor token for fetching the next page. Null when on the final page.\").optional()),\n}).passthrough().describe(\"Response schema for GET /v1.0/themes with paginated results.\");\n\nexport const gammaListThemes = action(\"GAMMA_LIST_THEMES\", {\n slug: \"gamma-list-themes\",\n name: \"List Themes\",\n description: \"Fetch the list of themes available in your workspace. Returns both standard (global) and custom (workspace-specific) themes in a paginated format. Use this to discover available theme IDs and names for use with the Generate API. Filter by name using the query parameter.\",\n input: GammaListThemesInput,\n output: GammaListThemesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAChJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oIAAoI;AAC9J,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC3H,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC;CACpM,eAAeA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC;AACtM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC;CAClL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC;AAC1L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,40 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-themes.d.ts
4
- declare const GammaListThemesInput: z.ZodTypeAny;
5
- declare const GammaListThemesOutput: z.ZodTypeAny;
6
- declare const gammaListThemes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GammaListThemesInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ query: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$loose>;
9
+ declare const GammaListThemesOutput: z.ZodObject<{
10
+ data: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ type: z.ZodNullable<z.ZodString>;
14
+ toneKeywords: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
15
+ colorKeywords: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
16
+ }, z.core.$loose>>>>;
17
+ hasMore: z.ZodNullable<z.ZodBoolean>;
18
+ nextCursor: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
+ }, z.core.$loose>;
20
+ declare const gammaListThemes: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ [x: string]: unknown;
22
+ after?: string | undefined;
23
+ limit?: number | undefined;
24
+ query?: string | undefined;
25
+ }, {
26
+ [x: string]: unknown;
27
+ hasMore: boolean | null;
28
+ data?: {
29
+ [x: string]: unknown;
30
+ id: string | null;
31
+ name: string | null;
32
+ type: string | null;
33
+ toneKeywords?: string[] | undefined;
34
+ colorKeywords?: string[] | undefined;
35
+ }[] | undefined;
36
+ nextCursor?: string | undefined;
37
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
38
  //#endregion
8
39
  export { gammaListThemes };
9
40
  //# sourceMappingURL=list-themes.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-themes.d.cts","names":[],"sources":["../../src/actions/list-themes.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAI0H;AAAA,cAQlJ,qBAAA,EAAuB,CAAA,CAAE,UAImD;AAAA,cAE5E,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-themes.d.cts","names":[],"sources":["../../src/actions/list-themes.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAYpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAMrB,eAAA,gCAAe,wBAAA;EAAA"}
@@ -1,9 +1,40 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-themes.d.ts
4
- declare const GammaListThemesInput: z.ZodTypeAny;
5
- declare const GammaListThemesOutput: z.ZodTypeAny;
6
- declare const gammaListThemes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GammaListThemesInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ query: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$loose>;
9
+ declare const GammaListThemesOutput: z.ZodObject<{
10
+ data: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ type: z.ZodNullable<z.ZodString>;
14
+ toneKeywords: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
15
+ colorKeywords: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
16
+ }, z.core.$loose>>>>;
17
+ hasMore: z.ZodNullable<z.ZodBoolean>;
18
+ nextCursor: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
+ }, z.core.$loose>;
20
+ declare const gammaListThemes: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ [x: string]: unknown;
22
+ after?: string | undefined;
23
+ limit?: number | undefined;
24
+ query?: string | undefined;
25
+ }, {
26
+ [x: string]: unknown;
27
+ hasMore: boolean | null;
28
+ data?: {
29
+ [x: string]: unknown;
30
+ id: string | null;
31
+ name: string | null;
32
+ type: string | null;
33
+ toneKeywords?: string[] | undefined;
34
+ colorKeywords?: string[] | undefined;
35
+ }[] | undefined;
36
+ nextCursor?: string | undefined;
37
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
38
  //#endregion
8
39
  export { gammaListThemes };
9
40
  //# sourceMappingURL=list-themes.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-themes.d.mts","names":[],"sources":["../../src/actions/list-themes.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAI0H;AAAA,cAQlJ,qBAAA,EAAuB,CAAA,CAAE,UAImD;AAAA,cAE5E,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-themes.d.mts","names":[],"sources":["../../src/actions/list-themes.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAYpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAMrB,eAAA,gCAAe,wBAAA;EAAA"}
@@ -7,11 +7,11 @@ const GammaListThemesInput = z.object({
7
7
  query: z.string().describe("Search themes by name. Filter the list to only themes matching this query string.").optional()
8
8
  }).passthrough().describe("Request schema for GET /v1.0/themes.\nDocumentation: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained");
9
9
  const GammaListThemes_ThemeSchema = z.object({
10
- id: z.string().describe("Unique identifier for the theme."),
11
- name: z.string().describe("Display name of the theme."),
12
- type: z.string().describe("Theme type: 'standard' (global/workspace-agnostic) or 'custom' (workspace-specific)."),
13
- toneKeywords: z.array(z.string()).describe("Array of descriptive style tags (e.g., 'playful', 'modern', 'sophisticated').").nullable().optional(),
14
- colorKeywords: z.array(z.string()).describe("Array of descriptive color-related tags (e.g., 'light', 'blue', 'gradient').").nullable().optional()
10
+ id: z.string().describe("Unique identifier for the theme.").nullable(),
11
+ name: z.string().describe("Display name of the theme.").nullable(),
12
+ type: z.string().describe("Theme type: 'standard' (global/workspace-agnostic) or 'custom' (workspace-specific).").nullable(),
13
+ toneKeywords: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Array of descriptive style tags (e.g., 'playful', 'modern', 'sophisticated').").optional()),
14
+ colorKeywords: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Array of descriptive color-related tags (e.g., 'light', 'blue', 'gradient').").optional())
15
15
  }).passthrough().describe("Individual theme object with styling metadata.");
16
16
  const gammaListThemes = action("GAMMA_LIST_THEMES", {
17
17
  slug: "gamma-list-themes",
@@ -19,9 +19,9 @@ const gammaListThemes = action("GAMMA_LIST_THEMES", {
19
19
  description: "Fetch the list of themes available in your workspace. Returns both standard (global) and custom (workspace-specific) themes in a paginated format. Use this to discover available theme IDs and names for use with the Generate API. Filter by name using the query parameter.",
20
20
  input: GammaListThemesInput,
21
21
  output: z.object({
22
- data: z.array(GammaListThemes_ThemeSchema).describe("Array of theme objects available in the workspace.").nullable().optional(),
23
- hasMore: z.boolean().describe("Boolean indicating whether additional pages of themes exist."),
24
- nextCursor: z.string().describe("Opaque cursor token for fetching the next page. Null when on the final page.").nullable().optional()
22
+ data: z.preprocess((value) => value === null ? void 0 : value, z.array(GammaListThemes_ThemeSchema).describe("Array of theme objects available in the workspace.").optional()),
23
+ hasMore: z.boolean().describe("Boolean indicating whether additional pages of themes exist.").nullable(),
24
+ nextCursor: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Opaque cursor token for fetching the next page. Null when on the final page.").optional())
25
25
  }).passthrough().describe("Response schema for GET /v1.0/themes with paginated results.")
26
26
  });
27
27
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"list-themes.mjs","names":[],"sources":["../../src/actions/list-themes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GammaListThemesInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Cursor token for pagination. Use the nextCursor value from the previous response to fetch the next page.\").optional(),\n limit: z.number().int().describe(\"Maximum number of themes to return per page. Must be between 1 and 50.\").optional(),\n query: z.string().describe(\"Search themes by name. Filter the list to only themes matching this query string.\").optional(),\n}).passthrough().describe(\"Request schema for GET /v1.0/themes.\\nDocumentation: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained\");\nconst GammaListThemes_ThemeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the theme.\"),\n name: z.string().describe(\"Display name of the theme.\"),\n type: z.string().describe(\"Theme type: 'standard' (global/workspace-agnostic) or 'custom' (workspace-specific).\"),\n toneKeywords: z.array(z.string()).describe(\"Array of descriptive style tags (e.g., 'playful', 'modern', 'sophisticated').\").nullable().optional(),\n colorKeywords: z.array(z.string()).describe(\"Array of descriptive color-related tags (e.g., 'light', 'blue', 'gradient').\").nullable().optional(),\n}).passthrough().describe(\"Individual theme object with styling metadata.\");\nexport const GammaListThemesOutput: z.ZodTypeAny = z.object({\n data: z.array(GammaListThemes_ThemeSchema).describe(\"Array of theme objects available in the workspace.\").nullable().optional(),\n hasMore: z.boolean().describe(\"Boolean indicating whether additional pages of themes exist.\"),\n nextCursor: z.string().describe(\"Opaque cursor token for fetching the next page. Null when on the final page.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for GET /v1.0/themes with paginated results.\");\n\nexport const gammaListThemes = action(\"GAMMA_LIST_THEMES\", {\n slug: \"gamma-list-themes\",\n name: \"List Themes\",\n description: \"Fetch the list of themes available in your workspace. Returns both standard (global) and custom (workspace-specific) themes in a paginated format. Use this to discover available theme IDs and names for use with the Generate API. Filter by name using the query parameter.\",\n input: GammaListThemesInput,\n output: GammaListThemesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAChJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oIAAoI;AAC9J,MAAM,8BAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAChH,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAO1E,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXiD,EAAE,OAAO;EAC1D,MAAM,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-themes.mjs","names":[],"sources":["../../src/actions/list-themes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GammaListThemesInput = z.object({\n after: z.string().describe(\"Cursor token for pagination. Use the nextCursor value from the previous response to fetch the next page.\").optional(),\n limit: z.number().int().describe(\"Maximum number of themes to return per page. Must be between 1 and 50.\").optional(),\n query: z.string().describe(\"Search themes by name. Filter the list to only themes matching this query string.\").optional(),\n}).passthrough().describe(\"Request schema for GET /v1.0/themes.\\nDocumentation: https://developers.gamma.app/docs/list-themes-and-list-folders-apis-explained\");\nconst GammaListThemes_ThemeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the theme.\").nullable(),\n name: z.string().describe(\"Display name of the theme.\").nullable(),\n type: z.string().describe(\"Theme type: 'standard' (global/workspace-agnostic) or 'custom' (workspace-specific).\").nullable(),\n toneKeywords: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Array of descriptive style tags (e.g., 'playful', 'modern', 'sophisticated').\").optional()),\n colorKeywords: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Array of descriptive color-related tags (e.g., 'light', 'blue', 'gradient').\").optional()),\n}).passthrough().describe(\"Individual theme object with styling metadata.\");\nexport const GammaListThemesOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.array(GammaListThemes_ThemeSchema).describe(\"Array of theme objects available in the workspace.\").optional()),\n hasMore: z.boolean().describe(\"Boolean indicating whether additional pages of themes exist.\").nullable(),\n nextCursor: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Opaque cursor token for fetching the next page. Null when on the final page.\").optional()),\n}).passthrough().describe(\"Response schema for GET /v1.0/themes with paginated results.\");\n\nexport const gammaListThemes = action(\"GAMMA_LIST_THEMES\", {\n slug: \"gamma-list-themes\",\n name: \"List Themes\",\n description: \"Fetch the list of themes available in your workspace. Returns both standard (global) and custom (workspace-specific) themes in a paginated format. Use this to discover available theme IDs and names for use with the Generate API. Filter by name using the query parameter.\",\n input: GammaListThemesInput,\n output: GammaListThemesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAChJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oIAAoI;AAC9J,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC3H,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC;CACpM,eAAe,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC;AACtM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAO1E,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXmC,EAAE,OAAO;EAC5C,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC;EAClL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC;CAC1L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const gammaCatalog = {
7
7
  "category": "AI Content Generation",
8
8
  "logo": "https://logos.composio.dev/api/gamma",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Gamma API Key",
13
+ "secret": true,
14
+ "description": "Your Gamma API key used for authenticating requests. Find it in your Gamma account settings."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.gammaCatalog = gammaCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const gammaCatalog = {\n \"slug\": \"gamma\",\n \"name\": \"Gamma\",\n \"description\": \"Gamma helps create beautiful, interactive content and presentations using AI. This integration enables programmatic generation via Gamma’s API.\",\n \"category\": \"AI Content Generation\",\n \"logo\": \"https://logos.composio.dev/api/gamma\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const gammaCatalog = {\n \"slug\": \"gamma\",\n \"name\": \"Gamma\",\n \"description\": \"Gamma helps create beautiful, interactive content and presentations using AI. This integration enables programmatic generation via Gamma’s API.\",\n \"category\": \"AI Content Generation\",\n \"logo\": \"https://logos.composio.dev/api/gamma\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Gamma API Key\",\n \"secret\": true,\n \"description\": \"Your Gamma API key used for authenticating requests. Find it in your Gamma account settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const gammaCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/gamma";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Gamma API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your Gamma API key used for authenticating requests. Find it in your Gamma account settings.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { gammaCatalog };
@@ -8,6 +8,14 @@ declare const gammaCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/gamma";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Gamma API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your Gamma API key used for authenticating requests. Find it in your Gamma account settings.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { gammaCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const gammaCatalog = {
7
7
  "category": "AI Content Generation",
8
8
  "logo": "https://logos.composio.dev/api/gamma",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Gamma API Key",
13
+ "secret": true,
14
+ "description": "Your Gamma API key used for authenticating requests. Find it in your Gamma account settings."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { gammaCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const gammaCatalog = {\n \"slug\": \"gamma\",\n \"name\": \"Gamma\",\n \"description\": \"Gamma helps create beautiful, interactive content and presentations using AI. This integration enables programmatic generation via Gamma’s API.\",\n \"category\": \"AI Content Generation\",\n \"logo\": \"https://logos.composio.dev/api/gamma\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const gammaCatalog = {\n \"slug\": \"gamma\",\n \"name\": \"Gamma\",\n \"description\": \"Gamma helps create beautiful, interactive content and presentations using AI. This integration enables programmatic generation via Gamma’s API.\",\n \"category\": \"AI Content Generation\",\n \"logo\": \"https://logos.composio.dev/api/gamma\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Gamma API Key\",\n \"secret\": true,\n \"description\": \"Your Gamma API key used for authenticating requests. Find it in your Gamma account settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/gamma",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {