@keystrokehq/ragic 0.1.4 → 0.1.6

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 (69) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/delete-entry.cjs +1 -0
  4. package/dist/actions/delete-entry.cjs.map +1 -1
  5. package/dist/actions/delete-entry.d.cts +3 -7
  6. package/dist/actions/delete-entry.d.cts.map +1 -1
  7. package/dist/actions/delete-entry.d.mts +3 -7
  8. package/dist/actions/delete-entry.d.mts.map +1 -1
  9. package/dist/actions/delete-entry.mjs +1 -0
  10. package/dist/actions/delete-entry.mjs.map +1 -1
  11. package/dist/actions/download-file.cjs +1 -0
  12. package/dist/actions/download-file.cjs.map +1 -1
  13. package/dist/actions/download-file.d.cts +3 -5
  14. package/dist/actions/download-file.d.cts.map +1 -1
  15. package/dist/actions/download-file.d.mts +3 -5
  16. package/dist/actions/download-file.d.mts.map +1 -1
  17. package/dist/actions/download-file.mjs +1 -0
  18. package/dist/actions/download-file.mjs.map +1 -1
  19. package/dist/actions/get-action-buttons.cjs +1 -0
  20. package/dist/actions/get-action-buttons.cjs.map +1 -1
  21. package/dist/actions/get-action-buttons.d.cts +3 -7
  22. package/dist/actions/get-action-buttons.d.cts.map +1 -1
  23. package/dist/actions/get-action-buttons.d.mts +3 -7
  24. package/dist/actions/get-action-buttons.d.mts.map +1 -1
  25. package/dist/actions/get-action-buttons.mjs +1 -0
  26. package/dist/actions/get-action-buttons.mjs.map +1 -1
  27. package/dist/actions/get-custom-print-report.cjs +1 -0
  28. package/dist/actions/get-custom-print-report.cjs.map +1 -1
  29. package/dist/actions/get-custom-print-report.d.cts +3 -10
  30. package/dist/actions/get-custom-print-report.d.cts.map +1 -1
  31. package/dist/actions/get-custom-print-report.d.mts +3 -10
  32. package/dist/actions/get-custom-print-report.d.mts.map +1 -1
  33. package/dist/actions/get-custom-print-report.mjs +1 -0
  34. package/dist/actions/get-custom-print-report.mjs.map +1 -1
  35. package/dist/actions/get-entry.cjs +1 -0
  36. package/dist/actions/get-entry.cjs.map +1 -1
  37. package/dist/actions/get-entry.d.cts +3 -12
  38. package/dist/actions/get-entry.d.cts.map +1 -1
  39. package/dist/actions/get-entry.d.mts +3 -12
  40. package/dist/actions/get-entry.d.mts.map +1 -1
  41. package/dist/actions/get-entry.mjs +1 -0
  42. package/dist/actions/get-entry.mjs.map +1 -1
  43. package/dist/actions/get-record-as-pdf.cjs +1 -0
  44. package/dist/actions/get-record-as-pdf.cjs.map +1 -1
  45. package/dist/actions/get-record-as-pdf.d.cts +3 -7
  46. package/dist/actions/get-record-as-pdf.d.cts.map +1 -1
  47. package/dist/actions/get-record-as-pdf.d.mts +3 -7
  48. package/dist/actions/get-record-as-pdf.d.mts.map +1 -1
  49. package/dist/actions/get-record-as-pdf.mjs +1 -0
  50. package/dist/actions/get-record-as-pdf.mjs.map +1 -1
  51. package/dist/actions/search-records.cjs +1 -0
  52. package/dist/actions/search-records.cjs.map +1 -1
  53. package/dist/actions/search-records.d.cts +3 -19
  54. package/dist/actions/search-records.d.cts.map +1 -1
  55. package/dist/actions/search-records.d.mts +3 -19
  56. package/dist/actions/search-records.d.mts.map +1 -1
  57. package/dist/actions/search-records.mjs +1 -0
  58. package/dist/actions/search-records.mjs.map +1 -1
  59. package/dist/app.cjs +9 -2
  60. package/dist/app.cjs.map +1 -1
  61. package/dist/app.d.cts +8 -1
  62. package/dist/app.d.cts.map +1 -1
  63. package/dist/app.d.mts +8 -1
  64. package/dist/app.d.mts.map +1 -1
  65. package/dist/app.mjs +6 -2
  66. package/dist/app.mjs.map +1 -1
  67. package/dist/index.d.cts +1 -1
  68. package/dist/index.d.mts +1 -1
  69. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["ragic","executeRagicTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ragic } from \"./app\";\nimport { executeRagicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return ragic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRagicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["ragic","executeRagicTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { ragic } from \"./app\";\nimport { executeRagicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof ragic.credential> {\n return ragic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRagicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ragic } from \"./app\";\nimport { executeRagicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return ragic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRagicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { ragic } from \"./app\";\nimport { executeRagicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof ragic.credential> {\n return ragic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRagicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-entry.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-entry.cjs","names":["z","action"],"sources":["../../src/actions/delete-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDeleteEntryInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to delete.\"),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup' or 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicDeleteEntryOutput = z.object({\n msg: z.string().describe(\"Message returned by the API indicating the result of the delete operation.\").nullable(),\n code: z.string().describe(\"Error code returned by the API, if applicable.\").nullable().optional(),\n status: z.string().describe(\"Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).\").nullable().optional(),\n ragicId: z.number().int().describe(\"The ID of the deleted record.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicDeleteEntry = action(\"RAGIC_DELETE_ENTRY\", {\n slug: \"ragic-delete-entry\",\n name: \"Delete Entry\",\n description: \"Tool to delete an entry from a Ragic sheet. Use when you need to remove a specific record from a sheet by its record ID.\",\n input: RagicDeleteEntryInput,\n output: RagicDeleteEntryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAChE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-entry.cjs","names":["z","action"],"sources":["../../src/actions/delete-entry.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicDeleteEntryInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to delete.\"),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup' or 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicDeleteEntryOutput = z.object({\n msg: z.string().describe(\"Message returned by the API indicating the result of the delete operation.\").nullable(),\n code: z.string().describe(\"Error code returned by the API, if applicable.\").nullable().optional(),\n status: z.string().describe(\"Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).\").nullable().optional(),\n ragicId: z.number().int().describe(\"The ID of the deleted record.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicDeleteEntry: AppAction<\n typeof RagicDeleteEntryInput,\n typeof RagicDeleteEntryOutput,\n typeof ragic.credential\n> = action(\"RAGIC_DELETE_ENTRY\", {\n slug: \"ragic-delete-entry\",\n name: \"Delete Entry\",\n description: \"Tool to delete an entry from a Ragic sheet. Use when you need to remove a specific record from a sheet by its record ID.\",\n input: RagicDeleteEntryInput,\n output: RagicDeleteEntryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAChE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-entry.d.ts
@@ -14,13 +16,7 @@ declare const RagicDeleteEntryOutput: z.ZodObject<{
14
16
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  ragicId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
18
  }, z.core.$loose>;
17
- declare const ragicDeleteEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- record_id: number;
19
- tab_folder: string;
20
- sheet_index: number;
21
- account_name: string;
22
- server?: string | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const ragicDeleteEntry: AppAction<typeof RagicDeleteEntryInput, typeof RagicDeleteEntryOutput, typeof ragic.credential>;
24
20
  //#endregion
25
21
  export { ragicDeleteEntry };
26
22
  //# sourceMappingURL=delete-entry.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-entry.d.cts","names":[],"sources":["../../src/actions/delete-entry.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAOrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAOtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"delete-entry.d.cts","names":[],"sources":["../../src/actions/delete-entry.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAOrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAOtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-entry.d.ts
@@ -14,13 +16,7 @@ declare const RagicDeleteEntryOutput: z.ZodObject<{
14
16
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  ragicId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
18
  }, z.core.$loose>;
17
- declare const ragicDeleteEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- record_id: number;
19
- tab_folder: string;
20
- sheet_index: number;
21
- account_name: string;
22
- server?: string | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const ragicDeleteEntry: AppAction<typeof RagicDeleteEntryInput, typeof RagicDeleteEntryOutput, typeof ragic.credential>;
24
20
  //#endregion
25
21
  export { ragicDeleteEntry };
26
22
  //# sourceMappingURL=delete-entry.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-entry.d.mts","names":[],"sources":["../../src/actions/delete-entry.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAOrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAOtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"delete-entry.d.mts","names":[],"sources":["../../src/actions/delete-entry.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAOrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAOtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const ragicDeleteEntry = action("RAGIC_DELETE_ENTRY", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-entry.mjs","names":[],"sources":["../../src/actions/delete-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDeleteEntryInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to delete.\"),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup' or 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicDeleteEntryOutput = z.object({\n msg: z.string().describe(\"Message returned by the API indicating the result of the delete operation.\").nullable(),\n code: z.string().describe(\"Error code returned by the API, if applicable.\").nullable().optional(),\n status: z.string().describe(\"Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).\").nullable().optional(),\n ragicId: z.number().int().describe(\"The ID of the deleted record.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicDeleteEntry = action(\"RAGIC_DELETE_ENTRY\", {\n slug: \"ragic-delete-entry\",\n name: \"Delete Entry\",\n description: \"Tool to delete an entry from a Ragic sheet. Use when you need to remove a specific record from a sheet by its record ID.\",\n input: RagicDeleteEntryInput,\n output: RagicDeleteEntryOutput,\n});\n"],"mappings":";;AAkBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACxL,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;EAChE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC/J,CAYS;CACP,QAZoC,EAAE,OAAO;EAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"delete-entry.mjs","names":[],"sources":["../../src/actions/delete-entry.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicDeleteEntryInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to delete.\"),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup' or 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicDeleteEntryOutput = z.object({\n msg: z.string().describe(\"Message returned by the API indicating the result of the delete operation.\").nullable(),\n code: z.string().describe(\"Error code returned by the API, if applicable.\").nullable().optional(),\n status: z.string().describe(\"Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).\").nullable().optional(),\n ragicId: z.number().int().describe(\"The ID of the deleted record.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicDeleteEntry: AppAction<\n typeof RagicDeleteEntryInput,\n typeof RagicDeleteEntryOutput,\n typeof ragic.credential\n> = action(\"RAGIC_DELETE_ENTRY\", {\n slug: \"ragic-delete-entry\",\n name: \"Delete Entry\",\n description: \"Tool to delete an entry from a Ragic sheet. Use when you need to remove a specific record from a sheet by its record ID.\",\n input: RagicDeleteEntryInput,\n output: RagicDeleteEntryOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACxL,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;EAChE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC/J,CAgBS;CACP,QAhBoC,EAAE,OAAO;EAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/download-file.ts
@@ -1 +1 @@
1
- {"version":3,"file":"download-file.cjs","names":["z","action"],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDownloadFileInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n file_reference: z.string().describe(\"The file reference as returned from API responses (e.g., 'Ni92W2luv@My_Picture.jpg'). This is the encoded filename with hash prefix.\"),\n});\nconst RagicDownloadFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicDownloadFileOutput = z.object({\n content: RagicDownloadFile_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicDownloadFile = action(\"RAGIC_DOWNLOAD_FILE\", {\n slug: \"ragic-download-file\",\n name: \"Download File\",\n description: \"Tool to download uploaded files, images, or email attachments from Ragic. Use the file reference returned from API responses (e.g., from record fields).\",\n input: RagicDownloadFileInput,\n output: RagicDownloadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;AAC5K,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAAS,yCAAyC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"download-file.cjs","names":["z","action"],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicDownloadFileInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n file_reference: z.string().describe(\"The file reference as returned from API responses (e.g., 'Ni92W2luv@My_Picture.jpg'). This is the encoded filename with hash prefix.\"),\n});\nconst RagicDownloadFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicDownloadFileOutput = z.object({\n content: RagicDownloadFile_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicDownloadFile: AppAction<\n typeof RagicDownloadFileInput,\n typeof RagicDownloadFileOutput,\n typeof ragic.credential\n> = action(\"RAGIC_DOWNLOAD_FILE\", {\n slug: \"ragic-download-file\",\n name: \"Download File\",\n description: \"Tool to download uploaded files, images, or email attachments from Ragic. Use the file reference returned from API responses (e.g., from record fields).\",\n input: RagicDownloadFileInput,\n output: RagicDownloadFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;AAC5K,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAAS,yCAAyC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/download-file.d.ts
@@ -13,11 +15,7 @@ declare const RagicDownloadFileOutput: z.ZodObject<{
13
15
  mimetype: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>>;
15
17
  }, z.core.$loose>;
16
- declare const ragicDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- account_name: string;
18
- file_reference: string;
19
- server?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const ragicDownloadFile: AppAction<typeof RagicDownloadFileInput, typeof RagicDownloadFileOutput, typeof ragic.credential>;
21
19
  //#endregion
22
20
  export { ragicDownloadFile };
23
21
  //# sourceMappingURL=download-file.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-file.d.cts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAUtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"download-file.d.cts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAUtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/download-file.d.ts
@@ -13,11 +15,7 @@ declare const RagicDownloadFileOutput: z.ZodObject<{
13
15
  mimetype: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>>;
15
17
  }, z.core.$loose>;
16
- declare const ragicDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- account_name: string;
18
- file_reference: string;
19
- server?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const ragicDownloadFile: AppAction<typeof RagicDownloadFileInput, typeof RagicDownloadFileOutput, typeof ragic.credential>;
21
19
  //#endregion
22
20
  export { ragicDownloadFile };
23
21
  //# sourceMappingURL=download-file.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-file.d.mts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAUtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"download-file.d.mts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAUtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/download-file.ts
@@ -1 +1 @@
1
- {"version":3,"file":"download-file.mjs","names":[],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDownloadFileInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n file_reference: z.string().describe(\"The file reference as returned from API responses (e.g., 'Ni92W2luv@My_Picture.jpg'). This is the encoded filename with hash prefix.\"),\n});\nconst RagicDownloadFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicDownloadFileOutput = z.object({\n content: RagicDownloadFile_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicDownloadFile = action(\"RAGIC_DOWNLOAD_FILE\", {\n slug: \"ragic-download-file\",\n name: \"Download File\",\n description: \"Tool to download uploaded files, images, or email attachments from Ragic. Use the file reference returned from API responses (e.g., from record fields).\",\n input: RagicDownloadFileInput,\n output: RagicDownloadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;AAC5K,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,SAAS,yCAAyC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"download-file.mjs","names":[],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicDownloadFileInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n file_reference: z.string().describe(\"The file reference as returned from API responses (e.g., 'Ni92W2luv@My_Picture.jpg'). This is the encoded filename with hash prefix.\"),\n});\nconst RagicDownloadFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicDownloadFileOutput = z.object({\n content: RagicDownloadFile_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicDownloadFile: AppAction<\n typeof RagicDownloadFileInput,\n typeof RagicDownloadFileOutput,\n typeof ragic.credential\n> = action(\"RAGIC_DOWNLOAD_FILE\", {\n slug: \"ragic-download-file\",\n name: \"Download File\",\n description: \"Tool to download uploaded files, images, or email attachments from Ragic. Use the file reference returned from API responses (e.g., from record fields).\",\n input: RagicDownloadFileInput,\n output: RagicDownloadFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;AAC5K,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,SAAS,yCAAyC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-action-buttons.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-buttons.cjs","names":["z","action"],"sources":["../../src/actions/get-action-buttons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetActionButtonsInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na3', 'www', 'na5', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n category: z.string().describe(\"Filter action buttons by category. Use 'massOperation' to get buttons available for mass operations on multiple records. If not provided, may return HTTP 500 error on some sheets.\").optional(),\n tab_folder: z.string().describe(\"The tab folder path in the Ragic sheet structure.\"),\n sheet_index: z.number().int().describe(\"The sheet index number identifying the specific sheet.\"),\n account_name: z.string().describe(\"The Ragic account name (the subdirectory in your Ragic URL, e.g., 'RSDemo' from 'https://na3.ragic.com/RSDemo/...').\"),\n});\nconst RagicGetActionButtons_ActionButtonSchema = z.object({\n id: z.string().describe(\"The unique identifier of the action button.\").nullable(),\n name: z.string().describe(\"The display name of the action button.\").nullable(),\n}).passthrough();\nexport const RagicGetActionButtonsOutput = z.object({\n actionButtons: z.array(RagicGetActionButtons_ActionButtonSchema).describe(\"List of available action buttons on the specified Ragic sheet.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicGetActionButtons = action(\"RAGIC_GET_ACTION_BUTTONS\", {\n slug: \"ragic-get-action-buttons\",\n name: \"Get Action Buttons\",\n description: \"Tool to retrieve the list of available action buttons on a Ragic sheet. Returns action button IDs and names. Use category=massOperation to get buttons available for mass operations.\",\n input: RagicGetActionButtonsInput,\n output: RagicGetActionButtonsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAC/L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AAC1J,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-action-buttons.cjs","names":["z","action"],"sources":["../../src/actions/get-action-buttons.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicGetActionButtonsInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na3', 'www', 'na5', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n category: z.string().describe(\"Filter action buttons by category. Use 'massOperation' to get buttons available for mass operations on multiple records. If not provided, may return HTTP 500 error on some sheets.\").optional(),\n tab_folder: z.string().describe(\"The tab folder path in the Ragic sheet structure.\"),\n sheet_index: z.number().int().describe(\"The sheet index number identifying the specific sheet.\"),\n account_name: z.string().describe(\"The Ragic account name (the subdirectory in your Ragic URL, e.g., 'RSDemo' from 'https://na3.ragic.com/RSDemo/...').\"),\n});\nconst RagicGetActionButtons_ActionButtonSchema = z.object({\n id: z.string().describe(\"The unique identifier of the action button.\").nullable(),\n name: z.string().describe(\"The display name of the action button.\").nullable(),\n}).passthrough();\nexport const RagicGetActionButtonsOutput = z.object({\n actionButtons: z.array(RagicGetActionButtons_ActionButtonSchema).describe(\"List of available action buttons on the specified Ragic sheet.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicGetActionButtons: AppAction<\n typeof RagicGetActionButtonsInput,\n typeof RagicGetActionButtonsOutput,\n typeof ragic.credential\n> = action(\"RAGIC_GET_ACTION_BUTTONS\", {\n slug: \"ragic-get-action-buttons\",\n name: \"Get Action Buttons\",\n description: \"Tool to retrieve the list of available action buttons on a Ragic sheet. Returns action button IDs and names. Use category=massOperation to get buttons available for mass operations.\",\n input: RagicGetActionButtonsInput,\n output: RagicGetActionButtonsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAC/L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AAC1J,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-action-buttons.d.ts
@@ -14,13 +16,7 @@ declare const RagicGetActionButtonsOutput: z.ZodObject<{
14
16
  name: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>>>>;
16
18
  }, z.core.$loose>;
17
- declare const ragicGetActionButtons: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- tab_folder: string;
19
- sheet_index: number;
20
- account_name: string;
21
- server?: string | undefined;
22
- category?: string | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const ragicGetActionButtons: AppAction<typeof RagicGetActionButtonsInput, typeof RagicGetActionButtonsOutput, typeof ragic.credential>;
24
20
  //#endregion
25
21
  export { ragicGetActionButtons };
26
22
  //# sourceMappingURL=get-action-buttons.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-buttons.d.cts","names":[],"sources":["../../src/actions/get-action-buttons.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-action-buttons.d.cts","names":[],"sources":["../../src/actions/get-action-buttons.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-action-buttons.d.ts
@@ -14,13 +16,7 @@ declare const RagicGetActionButtonsOutput: z.ZodObject<{
14
16
  name: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>>>>;
16
18
  }, z.core.$loose>;
17
- declare const ragicGetActionButtons: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- tab_folder: string;
19
- sheet_index: number;
20
- account_name: string;
21
- server?: string | undefined;
22
- category?: string | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const ragicGetActionButtons: AppAction<typeof RagicGetActionButtonsInput, typeof RagicGetActionButtonsOutput, typeof ragic.credential>;
24
20
  //#endregion
25
21
  export { ragicGetActionButtons };
26
22
  //# sourceMappingURL=get-action-buttons.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-buttons.d.mts","names":[],"sources":["../../src/actions/get-action-buttons.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"get-action-buttons.d.mts","names":[],"sources":["../../src/actions/get-action-buttons.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-action-buttons.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-buttons.mjs","names":[],"sources":["../../src/actions/get-action-buttons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetActionButtonsInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na3', 'www', 'na5', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n category: z.string().describe(\"Filter action buttons by category. Use 'massOperation' to get buttons available for mass operations on multiple records. If not provided, may return HTTP 500 error on some sheets.\").optional(),\n tab_folder: z.string().describe(\"The tab folder path in the Ragic sheet structure.\"),\n sheet_index: z.number().int().describe(\"The sheet index number identifying the specific sheet.\"),\n account_name: z.string().describe(\"The Ragic account name (the subdirectory in your Ragic URL, e.g., 'RSDemo' from 'https://na3.ragic.com/RSDemo/...').\"),\n});\nconst RagicGetActionButtons_ActionButtonSchema = z.object({\n id: z.string().describe(\"The unique identifier of the action button.\").nullable(),\n name: z.string().describe(\"The display name of the action button.\").nullable(),\n}).passthrough();\nexport const RagicGetActionButtonsOutput = z.object({\n actionButtons: z.array(RagicGetActionButtons_ActionButtonSchema).describe(\"List of available action buttons on the specified Ragic sheet.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicGetActionButtons = action(\"RAGIC_GET_ACTION_BUTTONS\", {\n slug: \"ragic-get-action-buttons\",\n name: \"Get Action Buttons\",\n description: \"Tool to retrieve the list of available action buttons on a Ragic sheet. Returns action button IDs and names. Use category=massOperation to get buttons available for mass operations.\",\n input: RagicGetActionButtonsInput,\n output: RagicGetActionButtonsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAC/L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AAC1J,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-action-buttons.mjs","names":[],"sources":["../../src/actions/get-action-buttons.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicGetActionButtonsInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na3', 'www', 'na5', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n category: z.string().describe(\"Filter action buttons by category. Use 'massOperation' to get buttons available for mass operations on multiple records. If not provided, may return HTTP 500 error on some sheets.\").optional(),\n tab_folder: z.string().describe(\"The tab folder path in the Ragic sheet structure.\"),\n sheet_index: z.number().int().describe(\"The sheet index number identifying the specific sheet.\"),\n account_name: z.string().describe(\"The Ragic account name (the subdirectory in your Ragic URL, e.g., 'RSDemo' from 'https://na3.ragic.com/RSDemo/...').\"),\n});\nconst RagicGetActionButtons_ActionButtonSchema = z.object({\n id: z.string().describe(\"The unique identifier of the action button.\").nullable(),\n name: z.string().describe(\"The display name of the action button.\").nullable(),\n}).passthrough();\nexport const RagicGetActionButtonsOutput = z.object({\n actionButtons: z.array(RagicGetActionButtons_ActionButtonSchema).describe(\"List of available action buttons on the specified Ragic sheet.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicGetActionButtons: AppAction<\n typeof RagicGetActionButtonsInput,\n typeof RagicGetActionButtonsOutput,\n typeof ragic.credential\n> = action(\"RAGIC_GET_ACTION_BUTTONS\", {\n slug: \"ragic-get-action-buttons\",\n name: \"Get Action Buttons\",\n description: \"Tool to retrieve the list of available action buttons on a Ragic sheet. Returns action button IDs and names. Use category=massOperation to get buttons available for mass operations.\",\n input: RagicGetActionButtonsInput,\n output: RagicGetActionButtonsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAC/L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AAC1J,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClK,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-custom-print-report.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-custom-print-report.cjs","names":["z","action"],"sources":["../../src/actions/get-custom-print-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetCustomPrintReportInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The ID of the record to retrieve the custom print report for.\"),\n fileFormat: z.enum([\"pdf\", \"png\", \"docx\"]).describe(\"Output format for the custom print report.\"),\n tab_folder: z.string().describe(\"The tab folder path in your Ragic sheet URL.\"),\n sheet_index: z.number().int().describe(\"The sheet index number from your Ragic sheet URL.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n fileNameRefDomainId: z.number().int().describe(\"Optional field ID to use as the filename for the downloaded report.\").optional(),\n ragicCustomPrintTemplateId: z.number().int().describe(\"The custom print template ID to use for generating the report.\"),\n});\nconst RagicGetCustomPrintReport_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicGetCustomPrintReportOutput = z.object({\n content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetCustomPrintReport = action(\"RAGIC_GET_CUSTOM_PRINT_REPORT\", {\n slug: \"ragic-get-custom-print-report\",\n name: \"Get Custom Print Report\",\n description: \"Tool to retrieve a custom print report for a Ragic record in various formats (pdf, png, docx). Use when you need to generate and download a formatted report using a specific template.\",\n input: RagicGetCustomPrintReportInput,\n output: RagicGetCustomPrintReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACpG,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;CAAM,CAAC,CAAC,CAAC,SAAS,4CAA4C;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/H,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;AACxH,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAAS,iDAAiD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-custom-print-report.cjs","names":["z","action"],"sources":["../../src/actions/get-custom-print-report.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicGetCustomPrintReportInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The ID of the record to retrieve the custom print report for.\"),\n fileFormat: z.enum([\"pdf\", \"png\", \"docx\"]).describe(\"Output format for the custom print report.\"),\n tab_folder: z.string().describe(\"The tab folder path in your Ragic sheet URL.\"),\n sheet_index: z.number().int().describe(\"The sheet index number from your Ragic sheet URL.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n fileNameRefDomainId: z.number().int().describe(\"Optional field ID to use as the filename for the downloaded report.\").optional(),\n ragicCustomPrintTemplateId: z.number().int().describe(\"The custom print template ID to use for generating the report.\"),\n});\nconst RagicGetCustomPrintReport_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicGetCustomPrintReportOutput = z.object({\n content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetCustomPrintReport: AppAction<\n typeof RagicGetCustomPrintReportInput,\n typeof RagicGetCustomPrintReportOutput,\n typeof ragic.credential\n> = action(\"RAGIC_GET_CUSTOM_PRINT_REPORT\", {\n slug: \"ragic-get-custom-print-report\",\n name: \"Get Custom Print Report\",\n description: \"Tool to retrieve a custom print report for a Ragic record in various formats (pdf, png, docx). Use when you need to generate and download a formatted report using a specific template.\",\n input: RagicGetCustomPrintReportInput,\n output: RagicGetCustomPrintReportOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACpG,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;CAAM,CAAC,CAAC,CAAC,SAAS,4CAA4C;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/H,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;AACxH,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAAS,iDAAiD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-custom-print-report.d.ts
@@ -22,16 +24,7 @@ declare const RagicGetCustomPrintReportOutput: z.ZodObject<{
22
24
  mimetype: z.ZodNullable<z.ZodString>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const ragicGetCustomPrintReport: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- record_id: number;
27
- fileFormat: "pdf" | "png" | "docx";
28
- tab_folder: string;
29
- sheet_index: number;
30
- account_name: string;
31
- ragicCustomPrintTemplateId: number;
32
- server?: string | undefined;
33
- fileNameRefDomainId?: number | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const ragicGetCustomPrintReport: AppAction<typeof RagicGetCustomPrintReportInput, typeof RagicGetCustomPrintReportOutput, typeof ragic.credential>;
35
28
  //#endregion
36
29
  export { ragicGetCustomPrintReport };
37
30
  //# sourceMappingURL=get-custom-print-report.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-custom-print-report.d.cts","names":[],"sources":["../../src/actions/get-custom-print-report.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"get-custom-print-report.d.cts","names":[],"sources":["../../src/actions/get-custom-print-report.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-custom-print-report.d.ts
@@ -22,16 +24,7 @@ declare const RagicGetCustomPrintReportOutput: z.ZodObject<{
22
24
  mimetype: z.ZodNullable<z.ZodString>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const ragicGetCustomPrintReport: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- record_id: number;
27
- fileFormat: "pdf" | "png" | "docx";
28
- tab_folder: string;
29
- sheet_index: number;
30
- account_name: string;
31
- ragicCustomPrintTemplateId: number;
32
- server?: string | undefined;
33
- fileNameRefDomainId?: number | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const ragicGetCustomPrintReport: AppAction<typeof RagicGetCustomPrintReportInput, typeof RagicGetCustomPrintReportOutput, typeof ragic.credential>;
35
28
  //#endregion
36
29
  export { ragicGetCustomPrintReport };
37
30
  //# sourceMappingURL=get-custom-print-report.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-custom-print-report.d.mts","names":[],"sources":["../../src/actions/get-custom-print-report.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"get-custom-print-report.d.mts","names":[],"sources":["../../src/actions/get-custom-print-report.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-custom-print-report.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-custom-print-report.mjs","names":[],"sources":["../../src/actions/get-custom-print-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetCustomPrintReportInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The ID of the record to retrieve the custom print report for.\"),\n fileFormat: z.enum([\"pdf\", \"png\", \"docx\"]).describe(\"Output format for the custom print report.\"),\n tab_folder: z.string().describe(\"The tab folder path in your Ragic sheet URL.\"),\n sheet_index: z.number().int().describe(\"The sheet index number from your Ragic sheet URL.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n fileNameRefDomainId: z.number().int().describe(\"Optional field ID to use as the filename for the downloaded report.\").optional(),\n ragicCustomPrintTemplateId: z.number().int().describe(\"The custom print template ID to use for generating the report.\"),\n});\nconst RagicGetCustomPrintReport_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicGetCustomPrintReportOutput = z.object({\n content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetCustomPrintReport = action(\"RAGIC_GET_CUSTOM_PRINT_REPORT\", {\n slug: \"ragic-get-custom-print-report\",\n name: \"Get Custom Print Report\",\n description: \"Tool to retrieve a custom print report for a Ragic record in various formats (pdf, png, docx). Use when you need to generate and download a formatted report using a specific template.\",\n input: RagicGetCustomPrintReportInput,\n output: RagicGetCustomPrintReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACpG,YAAY,EAAE,KAAK;EAAC;EAAO;EAAO;CAAM,CAAC,CAAC,CAAC,SAAS,4CAA4C;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/H,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;AACxH,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,iDAAiD,SAAS,EACrE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-custom-print-report.mjs","names":[],"sources":["../../src/actions/get-custom-print-report.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicGetCustomPrintReportInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The ID of the record to retrieve the custom print report for.\"),\n fileFormat: z.enum([\"pdf\", \"png\", \"docx\"]).describe(\"Output format for the custom print report.\"),\n tab_folder: z.string().describe(\"The tab folder path in your Ragic sheet URL.\"),\n sheet_index: z.number().int().describe(\"The sheet index number from your Ragic sheet URL.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n fileNameRefDomainId: z.number().int().describe(\"Optional field ID to use as the filename for the downloaded report.\").optional(),\n ragicCustomPrintTemplateId: z.number().int().describe(\"The custom print template ID to use for generating the report.\"),\n});\nconst RagicGetCustomPrintReport_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicGetCustomPrintReportOutput = z.object({\n content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetCustomPrintReport: AppAction<\n typeof RagicGetCustomPrintReportInput,\n typeof RagicGetCustomPrintReportOutput,\n typeof ragic.credential\n> = action(\"RAGIC_GET_CUSTOM_PRINT_REPORT\", {\n slug: \"ragic-get-custom-print-report\",\n name: \"Get Custom Print Report\",\n description: \"Tool to retrieve a custom print report for a Ragic record in various formats (pdf, png, docx). Use when you need to generate and download a formatted report using a specific template.\",\n input: RagicGetCustomPrintReportInput,\n output: RagicGetCustomPrintReportOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACpG,YAAY,EAAE,KAAK;EAAC;EAAO;EAAO;CAAM,CAAC,CAAC,CAAC,SAAS,4CAA4C;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/H,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;AACxH,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,SAAS,iDAAiD,SAAS,EACrE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-entry.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-entry.cjs","names":["z","action"],"sources":["../../src/actions/get-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetEntryInput = z.object({\n v: z.string().describe(\"API version (e.g., '3' or 'version=2025-01-01'). Recommended to use '3' for v3 API.\").optional(),\n info: z.boolean().describe(\"Set to True to add 'Create Date' and 'Create User' information to the response.\").optional(),\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n comment: z.boolean().describe(\"Set to True to add comment thread information related to this record to the response.\").optional(),\n history: z.boolean().describe(\"Set to True to add edit history related to this record to the response.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to retrieve.\"),\n subtables: z.boolean().describe(\"Set to False to exclude subtable data from the response. If True or not provided, subtables are included by default.\").optional(),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup', 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number (e.g., 1, 2).\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicGetEntryOutput = z.record(z.string(), z.unknown()).describe(\"Response model for a single entry from Ragic.\\nThe API returns the entry data directly as key-value pairs where keys are field names.\");\n\nexport const ragicGetEntry = action(\"RAGIC_GET_ENTRY\", {\n slug: \"ragic-get-entry\",\n name: \"Get Entry\",\n description: \"Tool to retrieve a single entry from a Ragic sheet by its record ID. Use when you need to fetch specific record data including field values and optional subtable data.\",\n input: RagicGetEntryInput,\n output: RagicGetEntryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACvH,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAC9E,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACjK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC;AACD,MAAa,sBAAsBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAAuI;AAErN,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-entry.cjs","names":["z","action"],"sources":["../../src/actions/get-entry.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicGetEntryInput = z.object({\n v: z.string().describe(\"API version (e.g., '3' or 'version=2025-01-01'). Recommended to use '3' for v3 API.\").optional(),\n info: z.boolean().describe(\"Set to True to add 'Create Date' and 'Create User' information to the response.\").optional(),\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n comment: z.boolean().describe(\"Set to True to add comment thread information related to this record to the response.\").optional(),\n history: z.boolean().describe(\"Set to True to add edit history related to this record to the response.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to retrieve.\"),\n subtables: z.boolean().describe(\"Set to False to exclude subtable data from the response. If True or not provided, subtables are included by default.\").optional(),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup', 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number (e.g., 1, 2).\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicGetEntryOutput = z.record(z.string(), z.unknown()).describe(\"Response model for a single entry from Ragic.\\nThe API returns the entry data directly as key-value pairs where keys are field names.\");\n\nexport const ragicGetEntry: AppAction<\n typeof RagicGetEntryInput,\n typeof RagicGetEntryOutput,\n typeof ragic.credential\n> = action(\"RAGIC_GET_ENTRY\", {\n slug: \"ragic-get-entry\",\n name: \"Get Entry\",\n description: \"Tool to retrieve a single entry from a Ragic sheet by its record ID. Use when you need to fetch specific record data including field values and optional subtable data.\",\n input: RagicGetEntryInput,\n output: RagicGetEntryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACvH,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAC9E,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACjK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC;AACD,MAAa,sBAAsBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAAuI;AAErN,MAAa,gBAITC,eAAAA,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-entry.d.ts
@@ -14,18 +16,7 @@ declare const RagicGetEntryInput: z.ZodObject<{
14
16
  account_name: z.ZodString;
15
17
  }, z.core.$strip>;
16
18
  declare const RagicGetEntryOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
17
- declare const ragicGetEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- record_id: number;
19
- tab_folder: string;
20
- sheet_index: number;
21
- account_name: string;
22
- v?: string | undefined;
23
- info?: boolean | undefined;
24
- server?: string | undefined;
25
- comment?: boolean | undefined;
26
- history?: boolean | undefined;
27
- subtables?: boolean | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const ragicGetEntry: AppAction<typeof RagicGetEntryInput, typeof RagicGetEntryOutput, typeof ragic.credential>;
29
20
  //#endregion
30
21
  export { ragicGetEntry };
31
22
  //# sourceMappingURL=get-entry.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-entry.d.cts","names":[],"sources":["../../src/actions/get-entry.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAYlB,mBAAA,EAAmB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEnB,aAAA,gCAAa,wBAAA"}
1
+ {"version":3,"file":"get-entry.d.cts","names":[],"sources":["../../src/actions/get-entry.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAYlB,mBAAA,EAAmB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-entry.d.ts
@@ -14,18 +16,7 @@ declare const RagicGetEntryInput: z.ZodObject<{
14
16
  account_name: z.ZodString;
15
17
  }, z.core.$strip>;
16
18
  declare const RagicGetEntryOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
17
- declare const ragicGetEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- record_id: number;
19
- tab_folder: string;
20
- sheet_index: number;
21
- account_name: string;
22
- v?: string | undefined;
23
- info?: boolean | undefined;
24
- server?: string | undefined;
25
- comment?: boolean | undefined;
26
- history?: boolean | undefined;
27
- subtables?: boolean | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const ragicGetEntry: AppAction<typeof RagicGetEntryInput, typeof RagicGetEntryOutput, typeof ragic.credential>;
29
20
  //#endregion
30
21
  export { ragicGetEntry };
31
22
  //# sourceMappingURL=get-entry.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-entry.d.mts","names":[],"sources":["../../src/actions/get-entry.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAYlB,mBAAA,EAAmB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEnB,aAAA,gCAAa,wBAAA"}
1
+ {"version":3,"file":"get-entry.d.mts","names":[],"sources":["../../src/actions/get-entry.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAYlB,mBAAA,EAAmB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const ragicGetEntry = action("RAGIC_GET_ENTRY", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-entry.mjs","names":[],"sources":["../../src/actions/get-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetEntryInput = z.object({\n v: z.string().describe(\"API version (e.g., '3' or 'version=2025-01-01'). Recommended to use '3' for v3 API.\").optional(),\n info: z.boolean().describe(\"Set to True to add 'Create Date' and 'Create User' information to the response.\").optional(),\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n comment: z.boolean().describe(\"Set to True to add comment thread information related to this record to the response.\").optional(),\n history: z.boolean().describe(\"Set to True to add edit history related to this record to the response.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to retrieve.\"),\n subtables: z.boolean().describe(\"Set to False to exclude subtable data from the response. If True or not provided, subtables are included by default.\").optional(),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup', 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number (e.g., 1, 2).\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicGetEntryOutput = z.record(z.string(), z.unknown()).describe(\"Response model for a single entry from Ragic.\\nThe API returns the entry data directly as key-value pairs where keys are field names.\");\n\nexport const ragicGetEntry = action(\"RAGIC_GET_ENTRY\", {\n slug: \"ragic-get-entry\",\n name: \"Get Entry\",\n description: \"Tool to retrieve a single entry from a Ragic sheet by its record ID. Use when you need to fetch specific record data including field values and optional subtable data.\",\n input: RagicGetEntryInput,\n output: RagicGetEntryOutput,\n});\n"],"mappings":";;AAkBA,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBgC,EAAE,OAAO;EACzC,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EACvH,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACxL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAChI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EAC9E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EACjK,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;EAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC/J,CAOS;CACP,QAPiC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAOpE;AACV,CAAC"}
1
+ {"version":3,"file":"get-entry.mjs","names":[],"sources":["../../src/actions/get-entry.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicGetEntryInput = z.object({\n v: z.string().describe(\"API version (e.g., '3' or 'version=2025-01-01'). Recommended to use '3' for v3 API.\").optional(),\n info: z.boolean().describe(\"Set to True to add 'Create Date' and 'Create User' information to the response.\").optional(),\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n comment: z.boolean().describe(\"Set to True to add comment thread information related to this record to the response.\").optional(),\n history: z.boolean().describe(\"Set to True to add edit history related to this record to the response.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to retrieve.\"),\n subtables: z.boolean().describe(\"Set to False to exclude subtable data from the response. If True or not provided, subtables are included by default.\").optional(),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup', 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number (e.g., 1, 2).\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicGetEntryOutput = z.record(z.string(), z.unknown()).describe(\"Response model for a single entry from Ragic.\\nThe API returns the entry data directly as key-value pairs where keys are field names.\");\n\nexport const ragicGetEntry: AppAction<\n typeof RagicGetEntryInput,\n typeof RagicGetEntryOutput,\n typeof ragic.credential\n> = action(\"RAGIC_GET_ENTRY\", {\n slug: \"ragic-get-entry\",\n name: \"Get Entry\",\n description: \"Tool to retrieve a single entry from a Ragic sheet by its record ID. Use when you need to fetch specific record data including field values and optional subtable data.\",\n input: RagicGetEntryInput,\n output: RagicGetEntryOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,gBAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBgC,EAAE,OAAO;EACzC,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EACvH,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACxL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAChI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EAC9E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EACjK,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;EAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC/J,CAWS;CACP,QAXiC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAWpE;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-record-as-pdf.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-record-as-pdf.cjs","names":["z","action"],"sources":["../../src/actions/get-record-as-pdf.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetRecordAsPdfInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID to retrieve as PDF.\"),\n tab_folder: z.string().describe(\"The tab folder path in your Ragic account.\"),\n sheet_index: z.number().int().describe(\"The sheet index number (numeric identifier for the sheet).\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nconst RagicGetRecordAsPdf_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicGetRecordAsPdfOutput = z.object({\n pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetRecordAsPdf = action(\"RAGIC_GET_RECORD_AS_PDF\", {\n slug: \"ragic-get-record-as-pdf\",\n name: \"Get Record as PDF\",\n description: \"Tool to retrieve a PDF version of a Ragic record. Use when you need to export or download a record in PDF format. The PDF will contain the full record data in a formatted document.\",\n input: RagicGetRecordAsPdfInput,\n output: RagicGetRecordAsPdfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAa,2CAA2C,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-record-as-pdf.cjs","names":["z","action"],"sources":["../../src/actions/get-record-as-pdf.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicGetRecordAsPdfInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID to retrieve as PDF.\"),\n tab_folder: z.string().describe(\"The tab folder path in your Ragic account.\"),\n sheet_index: z.number().int().describe(\"The sheet index number (numeric identifier for the sheet).\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nconst RagicGetRecordAsPdf_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicGetRecordAsPdfOutput = z.object({\n pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetRecordAsPdf: AppAction<\n typeof RagicGetRecordAsPdfInput,\n typeof RagicGetRecordAsPdfOutput,\n typeof ragic.credential\n> = action(\"RAGIC_GET_RECORD_AS_PDF\", {\n slug: \"ragic-get-record-as-pdf\",\n name: \"Get Record as PDF\",\n description: \"Tool to retrieve a PDF version of a Ragic record. Use when you need to export or download a record in PDF format. The PDF will contain the full record data in a formatted document.\",\n input: RagicGetRecordAsPdfInput,\n output: RagicGetRecordAsPdfOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAa,2CAA2C,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-record-as-pdf.d.ts
@@ -15,13 +17,7 @@ declare const RagicGetRecordAsPdfOutput: z.ZodObject<{
15
17
  mimetype: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const ragicGetRecordAsPdf: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- record_id: number;
20
- tab_folder: string;
21
- sheet_index: number;
22
- account_name: string;
23
- server?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const ragicGetRecordAsPdf: AppAction<typeof RagicGetRecordAsPdfInput, typeof RagicGetRecordAsPdfOutput, typeof ragic.credential>;
25
21
  //#endregion
26
22
  export { ragicGetRecordAsPdf };
27
23
  //# sourceMappingURL=get-record-as-pdf.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-record-as-pdf.d.cts","names":[],"sources":["../../src/actions/get-record-as-pdf.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-record-as-pdf.d.cts","names":[],"sources":["../../src/actions/get-record-as-pdf.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-record-as-pdf.d.ts
@@ -15,13 +17,7 @@ declare const RagicGetRecordAsPdfOutput: z.ZodObject<{
15
17
  mimetype: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const ragicGetRecordAsPdf: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- record_id: number;
20
- tab_folder: string;
21
- sheet_index: number;
22
- account_name: string;
23
- server?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const ragicGetRecordAsPdf: AppAction<typeof RagicGetRecordAsPdfInput, typeof RagicGetRecordAsPdfOutput, typeof ragic.credential>;
25
21
  //#endregion
26
22
  export { ragicGetRecordAsPdf };
27
23
  //# sourceMappingURL=get-record-as-pdf.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-record-as-pdf.d.mts","names":[],"sources":["../../src/actions/get-record-as-pdf.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-record-as-pdf.d.mts","names":[],"sources":["../../src/actions/get-record-as-pdf.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-record-as-pdf.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-record-as-pdf.mjs","names":[],"sources":["../../src/actions/get-record-as-pdf.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetRecordAsPdfInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID to retrieve as PDF.\"),\n tab_folder: z.string().describe(\"The tab folder path in your Ragic account.\"),\n sheet_index: z.number().int().describe(\"The sheet index number (numeric identifier for the sheet).\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nconst RagicGetRecordAsPdf_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicGetRecordAsPdfOutput = z.object({\n pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetRecordAsPdf = action(\"RAGIC_GET_RECORD_AS_PDF\", {\n slug: \"ragic-get-record-as-pdf\",\n name: \"Get Record as PDF\",\n description: \"Tool to retrieve a PDF version of a Ragic record. Use when you need to export or download a record in PDF format. The PDF will contain the full record data in a formatted document.\",\n input: RagicGetRecordAsPdfInput,\n output: RagicGetRecordAsPdfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,sBAAsB,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,aAAa,2CAA2C,SAAS,EACnE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-record-as-pdf.mjs","names":[],"sources":["../../src/actions/get-record-as-pdf.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicGetRecordAsPdfInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID to retrieve as PDF.\"),\n tab_folder: z.string().describe(\"The tab folder path in your Ragic account.\"),\n sheet_index: z.number().int().describe(\"The sheet index number (numeric identifier for the sheet).\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nconst RagicGetRecordAsPdf_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicGetRecordAsPdfOutput = z.object({\n pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetRecordAsPdf: AppAction<\n typeof RagicGetRecordAsPdfInput,\n typeof RagicGetRecordAsPdfOutput,\n typeof ragic.credential\n> = action(\"RAGIC_GET_RECORD_AS_PDF\", {\n slug: \"ragic-get-record-as-pdf\",\n name: \"Get Record as PDF\",\n description: \"Tool to retrieve a PDF version of a Ragic record. Use when you need to export or download a record in PDF format. The PDF will contain the full record data in a formatted document.\",\n input: RagicGetRecordAsPdfInput,\n output: RagicGetRecordAsPdfOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,sBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,aAAa,2CAA2C,SAAS,EACnE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/search-records.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-records.cjs","names":["z","action"],"sources":["../../src/actions/search-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicSearchRecordsInput = z.object({\n info: z.boolean().describe(\"Set to True to add 'Create Date', 'Create User' information to the response.\").optional(),\n limit: z.number().int().describe(\"Maximum number of records to return. Ragic defaults to 100 if not specified.\").optional(),\n bbcode: z.boolean().describe(\"Set to True to retrieve the raw BBCode value saved to the field instead of being translated to HTML.\").optional(),\n offset: z.number().int().describe(\"The starting record index (0-based) for pagination. Use with 'limit' to page through results.\").optional(),\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n comment: z.boolean().describe(\"Set to True to add the comment thread related to this record to the response.\").optional(),\n history: z.boolean().describe(\"Set to True to add the edit history related to this record to the response.\").optional(),\n listing: z.boolean().describe(\"Set to True to only include fields in the Listing Page.\").optional(),\n reverse: z.boolean().describe(\"Set to True to reverse the default ordering of the listing page response.\").optional(),\n approval: z.boolean().describe(\"Set to True to add the approval information related to this record to the response.\").optional(),\n subtables: z.boolean().describe(\"Set to False to not include subtable information in the response. If True or not provided, subtables are included by default.\").optional(),\n ignoreMask: z.boolean().describe(\"When True, the field value of 'Masked text' will be unmasked if you are in the viewable groups.\").optional(),\n sheet_path: z.string().describe(\"Path to the Ragic sheet in format 'tab_folder/sheet_index' (e.g., 'ragic-setup/1' or 'sales/2').\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n conversation: z.boolean().describe(\"Set to True to add the email conversation information related to this record to the response.\").optional(),\n search_query: z.string().describe(\"The full-text search query to find matching records.\"),\n ignoreFixedFilter: z.boolean().describe(\"When True, the fixed filter on this sheet will be ignored (requires SYSAdmin privilege).\").optional(),\n});\nexport const RagicSearchRecordsOutput = z.object({\n records: z.record(z.string(), z.unknown()).describe(\"A dictionary of records that match the search criteria. Each key is a record ID, and the value is a dictionary of field names and values.\").nullable().optional(),\n raw_response: z.unknown().describe(\"The raw JSON response from the API, for debugging or if the structure is not as expected.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicSearchRecords = action(\"RAGIC_SEARCH_RECORDS\", {\n slug: \"ragic-search-records\",\n name: \"Search Records\",\n description: \"Search Records\",\n input: RagicSearchRecordsInput,\n output: RagicSearchRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC9I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC5I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC1K,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC7I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CAClI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC7I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACxF,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AAC/I,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrN,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-records.cjs","names":["z","action"],"sources":["../../src/actions/search-records.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicSearchRecordsInput = z.object({\n info: z.boolean().describe(\"Set to True to add 'Create Date', 'Create User' information to the response.\").optional(),\n limit: z.number().int().describe(\"Maximum number of records to return. Ragic defaults to 100 if not specified.\").optional(),\n bbcode: z.boolean().describe(\"Set to True to retrieve the raw BBCode value saved to the field instead of being translated to HTML.\").optional(),\n offset: z.number().int().describe(\"The starting record index (0-based) for pagination. Use with 'limit' to page through results.\").optional(),\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n comment: z.boolean().describe(\"Set to True to add the comment thread related to this record to the response.\").optional(),\n history: z.boolean().describe(\"Set to True to add the edit history related to this record to the response.\").optional(),\n listing: z.boolean().describe(\"Set to True to only include fields in the Listing Page.\").optional(),\n reverse: z.boolean().describe(\"Set to True to reverse the default ordering of the listing page response.\").optional(),\n approval: z.boolean().describe(\"Set to True to add the approval information related to this record to the response.\").optional(),\n subtables: z.boolean().describe(\"Set to False to not include subtable information in the response. If True or not provided, subtables are included by default.\").optional(),\n ignoreMask: z.boolean().describe(\"When True, the field value of 'Masked text' will be unmasked if you are in the viewable groups.\").optional(),\n sheet_path: z.string().describe(\"Path to the Ragic sheet in format 'tab_folder/sheet_index' (e.g., 'ragic-setup/1' or 'sales/2').\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n conversation: z.boolean().describe(\"Set to True to add the email conversation information related to this record to the response.\").optional(),\n search_query: z.string().describe(\"The full-text search query to find matching records.\"),\n ignoreFixedFilter: z.boolean().describe(\"When True, the fixed filter on this sheet will be ignored (requires SYSAdmin privilege).\").optional(),\n});\nexport const RagicSearchRecordsOutput = z.object({\n records: z.record(z.string(), z.unknown()).describe(\"A dictionary of records that match the search criteria. Each key is a record ID, and the value is a dictionary of field names and values.\").nullable().optional(),\n raw_response: z.unknown().describe(\"The raw JSON response from the API, for debugging or if the structure is not as expected.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicSearchRecords: AppAction<\n typeof RagicSearchRecordsInput,\n typeof RagicSearchRecordsOutput,\n typeof ragic.credential\n> = action(\"RAGIC_SEARCH_RECORDS\", {\n slug: \"ragic-search-records\",\n name: \"Search Records\",\n description: \"Search Records\",\n input: RagicSearchRecordsInput,\n output: RagicSearchRecordsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC9I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC5I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC1K,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC7I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CAClI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC7I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACxF,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AAC/I,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrN,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-records.d.ts
@@ -24,25 +26,7 @@ declare const RagicSearchRecordsOutput: z.ZodObject<{
24
26
  records: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
27
  raw_response: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
26
28
  }, z.core.$loose>;
27
- declare const ragicSearchRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- sheet_path: string;
29
- account_name: string;
30
- search_query: string;
31
- info?: boolean | undefined;
32
- limit?: number | undefined;
33
- bbcode?: boolean | undefined;
34
- offset?: number | undefined;
35
- server?: string | undefined;
36
- comment?: boolean | undefined;
37
- history?: boolean | undefined;
38
- listing?: boolean | undefined;
39
- reverse?: boolean | undefined;
40
- approval?: boolean | undefined;
41
- subtables?: boolean | undefined;
42
- ignoreMask?: boolean | undefined;
43
- conversation?: boolean | undefined;
44
- ignoreFixedFilter?: boolean | undefined;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const ragicSearchRecords: AppAction<typeof RagicSearchRecordsInput, typeof RagicSearchRecordsOutput, typeof ragic.credential>;
46
30
  //#endregion
47
31
  export { ragicSearchRecords };
48
32
  //# sourceMappingURL=search-records.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-records.d.cts","names":[],"sources":["../../src/actions/search-records.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"search-records.d.cts","names":[],"sources":["../../src/actions/search-records.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ragic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search-records.d.ts
@@ -24,25 +26,7 @@ declare const RagicSearchRecordsOutput: z.ZodObject<{
24
26
  records: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
27
  raw_response: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
26
28
  }, z.core.$loose>;
27
- declare const ragicSearchRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- sheet_path: string;
29
- account_name: string;
30
- search_query: string;
31
- info?: boolean | undefined;
32
- limit?: number | undefined;
33
- bbcode?: boolean | undefined;
34
- offset?: number | undefined;
35
- server?: string | undefined;
36
- comment?: boolean | undefined;
37
- history?: boolean | undefined;
38
- listing?: boolean | undefined;
39
- reverse?: boolean | undefined;
40
- approval?: boolean | undefined;
41
- subtables?: boolean | undefined;
42
- ignoreMask?: boolean | undefined;
43
- conversation?: boolean | undefined;
44
- ignoreFixedFilter?: boolean | undefined;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const ragicSearchRecords: AppAction<typeof RagicSearchRecordsInput, typeof RagicSearchRecordsOutput, typeof ragic.credential>;
46
30
  //#endregion
47
31
  export { ragicSearchRecords };
48
32
  //# sourceMappingURL=search-records.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-records.d.mts","names":[],"sources":["../../src/actions/search-records.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"search-records.d.mts","names":[],"sources":["../../src/actions/search-records.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const ragicSearchRecords = action("RAGIC_SEARCH_RECORDS", {
@@ -1 +1 @@
1
- {"version":3,"file":"search-records.mjs","names":[],"sources":["../../src/actions/search-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicSearchRecordsInput = z.object({\n info: z.boolean().describe(\"Set to True to add 'Create Date', 'Create User' information to the response.\").optional(),\n limit: z.number().int().describe(\"Maximum number of records to return. Ragic defaults to 100 if not specified.\").optional(),\n bbcode: z.boolean().describe(\"Set to True to retrieve the raw BBCode value saved to the field instead of being translated to HTML.\").optional(),\n offset: z.number().int().describe(\"The starting record index (0-based) for pagination. Use with 'limit' to page through results.\").optional(),\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n comment: z.boolean().describe(\"Set to True to add the comment thread related to this record to the response.\").optional(),\n history: z.boolean().describe(\"Set to True to add the edit history related to this record to the response.\").optional(),\n listing: z.boolean().describe(\"Set to True to only include fields in the Listing Page.\").optional(),\n reverse: z.boolean().describe(\"Set to True to reverse the default ordering of the listing page response.\").optional(),\n approval: z.boolean().describe(\"Set to True to add the approval information related to this record to the response.\").optional(),\n subtables: z.boolean().describe(\"Set to False to not include subtable information in the response. If True or not provided, subtables are included by default.\").optional(),\n ignoreMask: z.boolean().describe(\"When True, the field value of 'Masked text' will be unmasked if you are in the viewable groups.\").optional(),\n sheet_path: z.string().describe(\"Path to the Ragic sheet in format 'tab_folder/sheet_index' (e.g., 'ragic-setup/1' or 'sales/2').\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n conversation: z.boolean().describe(\"Set to True to add the email conversation information related to this record to the response.\").optional(),\n search_query: z.string().describe(\"The full-text search query to find matching records.\"),\n ignoreFixedFilter: z.boolean().describe(\"When True, the fixed filter on this sheet will be ignored (requires SYSAdmin privilege).\").optional(),\n});\nexport const RagicSearchRecordsOutput = z.object({\n records: z.record(z.string(), z.unknown()).describe(\"A dictionary of records that match the search criteria. Each key is a record ID, and the value is a dictionary of field names and values.\").nullable().optional(),\n raw_response: z.unknown().describe(\"The raw JSON response from the API, for debugging or if the structure is not as expected.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicSearchRecords = action(\"RAGIC_SEARCH_RECORDS\", {\n slug: \"ragic-search-records\",\n name: \"Search Records\",\n description: \"Search Records\",\n input: RagicSearchRecordsInput,\n output: RagicSearchRecordsOutput,\n});\n"],"mappings":";;AA4BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BqC,EAAE,OAAO;EAC9C,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACpH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAC1H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC9I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACxL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACxH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACtH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACpH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC/H,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EAC1K,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC7I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAClI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;EAC7J,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC7I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACxF,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/I,CAUS;CACP,QAVsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrN,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"search-records.mjs","names":[],"sources":["../../src/actions/search-records.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ragic } from \"../app\";\n\nexport const RagicSearchRecordsInput = z.object({\n info: z.boolean().describe(\"Set to True to add 'Create Date', 'Create User' information to the response.\").optional(),\n limit: z.number().int().describe(\"Maximum number of records to return. Ragic defaults to 100 if not specified.\").optional(),\n bbcode: z.boolean().describe(\"Set to True to retrieve the raw BBCode value saved to the field instead of being translated to HTML.\").optional(),\n offset: z.number().int().describe(\"The starting record index (0-based) for pagination. Use with 'limit' to page through results.\").optional(),\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n comment: z.boolean().describe(\"Set to True to add the comment thread related to this record to the response.\").optional(),\n history: z.boolean().describe(\"Set to True to add the edit history related to this record to the response.\").optional(),\n listing: z.boolean().describe(\"Set to True to only include fields in the Listing Page.\").optional(),\n reverse: z.boolean().describe(\"Set to True to reverse the default ordering of the listing page response.\").optional(),\n approval: z.boolean().describe(\"Set to True to add the approval information related to this record to the response.\").optional(),\n subtables: z.boolean().describe(\"Set to False to not include subtable information in the response. If True or not provided, subtables are included by default.\").optional(),\n ignoreMask: z.boolean().describe(\"When True, the field value of 'Masked text' will be unmasked if you are in the viewable groups.\").optional(),\n sheet_path: z.string().describe(\"Path to the Ragic sheet in format 'tab_folder/sheet_index' (e.g., 'ragic-setup/1' or 'sales/2').\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n conversation: z.boolean().describe(\"Set to True to add the email conversation information related to this record to the response.\").optional(),\n search_query: z.string().describe(\"The full-text search query to find matching records.\"),\n ignoreFixedFilter: z.boolean().describe(\"When True, the fixed filter on this sheet will be ignored (requires SYSAdmin privilege).\").optional(),\n});\nexport const RagicSearchRecordsOutput = z.object({\n records: z.record(z.string(), z.unknown()).describe(\"A dictionary of records that match the search criteria. Each key is a record ID, and the value is a dictionary of field names and values.\").nullable().optional(),\n raw_response: z.unknown().describe(\"The raw JSON response from the API, for debugging or if the structure is not as expected.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicSearchRecords: AppAction<\n typeof RagicSearchRecordsInput,\n typeof RagicSearchRecordsOutput,\n typeof ragic.credential\n> = action(\"RAGIC_SEARCH_RECORDS\", {\n slug: \"ragic-search-records\",\n name: \"Search Records\",\n description: \"Search Records\",\n input: RagicSearchRecordsInput,\n output: RagicSearchRecordsOutput,\n});\n"],"mappings":";;;AA8BA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhCqC,EAAE,OAAO;EAC9C,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACpH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAC1H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC9I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACxL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACxH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACtH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACpH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC/H,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EAC1K,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC7I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAClI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;EAC7J,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC7I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACxF,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/I,CAcS;CACP,QAdsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrN,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,14 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const ragic = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const credential = {
5
+ subdomain: zod.z.string(),
6
+ generic_api_key: zod.z.string()
7
+ };
8
+ const ragic = (0, _keystrokehq_keystroke_app.defineApp)({
3
9
  slug: "ragic",
4
- auth: "keystroke"
10
+ auth: "keystroke",
11
+ credential
5
12
  });
6
13
  //#endregion
7
14
  exports.ragic = ragic;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const ragic = defineApp({\n slug: \"ragic\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,SAAA,uCAAA,CAAA,CAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n subdomain: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const ragic: KeystrokeApp<\"ragic\", typeof credential> = defineApp({\n slug: \"ragic\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,WAAWA,IAAAA,EAAE,OAAO;CACpB,iBAAiBA,IAAAA,EAAE,OAAO;AAC5B;AAEA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAA4D;CACvE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const ragic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ subdomain: z.ZodString;
7
+ generic_api_key: z.ZodString;
8
+ };
9
+ declare const ragic: KeystrokeApp<"ragic", typeof credential>;
3
10
  //#endregion
4
11
  export { ragic };
5
12
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;aAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const ragic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ subdomain: z.ZodString;
7
+ generic_api_key: z.ZodString;
8
+ };
9
+ declare const ragic: KeystrokeApp<"ragic", typeof credential>;
3
10
  //#endregion
4
11
  export { ragic };
5
12
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;aAGL,CAAA,CAAA,SAAA;mBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,12 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const ragic = defineApp({
4
4
  slug: "ragic",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: {
7
+ subdomain: z.string(),
8
+ generic_api_key: z.string()
9
+ }
6
10
  });
7
11
  //#endregion
8
12
  export { ragic };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const ragic = defineApp({\n slug: \"ragic\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n subdomain: z.string(),\n generic_api_key: z.string(),\n};\n\nexport const ragic: KeystrokeApp<\"ragic\", typeof credential> = defineApp({\n slug: \"ragic\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,QAAkD,UAAU;CACvE,MAAM;CACN,MAAM;CACN;EAPA,WAAW,EAAE,OAAO;EACpB,iBAAiB,EAAE,OAAO;CAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ragic } from "./app.cjs";
1
2
  import { ragicDeleteEntry } from "./actions/delete-entry.cjs";
2
3
  import { ragicDownloadFile } from "./actions/download-file.cjs";
3
4
  import { ragicGetActionButtons } from "./actions/get-action-buttons.cjs";
@@ -5,6 +6,5 @@ import { ragicGetCustomPrintReport } from "./actions/get-custom-print-report.cjs
5
6
  import { ragicGetEntry } from "./actions/get-entry.cjs";
6
7
  import { ragicGetRecordAsPdf } from "./actions/get-record-as-pdf.cjs";
7
8
  import { ragicSearchRecords } from "./actions/search-records.cjs";
8
- import { ragic } from "./app.cjs";
9
9
  import { ragicCatalog } from "./catalog.cjs";
10
10
  export { ragic, ragicCatalog, ragicDeleteEntry, ragicDownloadFile, ragicGetActionButtons, ragicGetCustomPrintReport, ragicGetEntry, ragicGetRecordAsPdf, ragicSearchRecords };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ragic } from "./app.mjs";
1
2
  import { ragicDeleteEntry } from "./actions/delete-entry.mjs";
2
3
  import { ragicDownloadFile } from "./actions/download-file.mjs";
3
4
  import { ragicGetActionButtons } from "./actions/get-action-buttons.mjs";
@@ -5,6 +6,5 @@ import { ragicGetCustomPrintReport } from "./actions/get-custom-print-report.mjs
5
6
  import { ragicGetEntry } from "./actions/get-entry.mjs";
6
7
  import { ragicGetRecordAsPdf } from "./actions/get-record-as-pdf.mjs";
7
8
  import { ragicSearchRecords } from "./actions/search-records.mjs";
8
- import { ragic } from "./app.mjs";
9
9
  import { ragicCatalog } from "./catalog.mjs";
10
10
  export { ragic, ragicCatalog, ragicDeleteEntry, ragicDownloadFile, ragicGetActionButtons, ragicGetCustomPrintReport, ragicGetEntry, ragicGetRecordAsPdf, ragicSearchRecords };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/ragic",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
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.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {