@keystrokehq/ragic 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) 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 -1
  4. package/dist/actions/delete-entry.cjs.map +1 -1
  5. package/dist/actions/delete-entry.d.cts +20 -3
  6. package/dist/actions/delete-entry.d.cts.map +1 -1
  7. package/dist/actions/delete-entry.d.mts +20 -3
  8. package/dist/actions/delete-entry.d.mts.map +1 -1
  9. package/dist/actions/delete-entry.mjs +1 -1
  10. package/dist/actions/delete-entry.mjs.map +1 -1
  11. package/dist/actions/download-file.cjs +3 -3
  12. package/dist/actions/download-file.cjs.map +1 -1
  13. package/dist/actions/download-file.d.cts +17 -3
  14. package/dist/actions/download-file.d.cts.map +1 -1
  15. package/dist/actions/download-file.d.mts +17 -3
  16. package/dist/actions/download-file.d.mts.map +1 -1
  17. package/dist/actions/download-file.mjs +3 -3
  18. package/dist/actions/download-file.mjs.map +1 -1
  19. package/dist/actions/get-action-buttons.cjs +2 -2
  20. package/dist/actions/get-action-buttons.cjs.map +1 -1
  21. package/dist/actions/get-action-buttons.d.cts +20 -3
  22. package/dist/actions/get-action-buttons.d.cts.map +1 -1
  23. package/dist/actions/get-action-buttons.d.mts +20 -3
  24. package/dist/actions/get-action-buttons.d.mts.map +1 -1
  25. package/dist/actions/get-action-buttons.mjs +2 -2
  26. package/dist/actions/get-action-buttons.mjs.map +1 -1
  27. package/dist/actions/get-custom-print-report.cjs +3 -3
  28. package/dist/actions/get-custom-print-report.cjs.map +1 -1
  29. package/dist/actions/get-custom-print-report.d.cts +31 -3
  30. package/dist/actions/get-custom-print-report.d.cts.map +1 -1
  31. package/dist/actions/get-custom-print-report.d.mts +31 -3
  32. package/dist/actions/get-custom-print-report.d.mts.map +1 -1
  33. package/dist/actions/get-custom-print-report.mjs +3 -3
  34. package/dist/actions/get-custom-print-report.mjs.map +1 -1
  35. package/dist/actions/get-entry.cjs.map +1 -1
  36. package/dist/actions/get-entry.d.cts +25 -3
  37. package/dist/actions/get-entry.d.cts.map +1 -1
  38. package/dist/actions/get-entry.d.mts +25 -3
  39. package/dist/actions/get-entry.d.mts.map +1 -1
  40. package/dist/actions/get-entry.mjs.map +1 -1
  41. package/dist/actions/get-record-as-pdf.cjs +3 -3
  42. package/dist/actions/get-record-as-pdf.cjs.map +1 -1
  43. package/dist/actions/get-record-as-pdf.d.cts +21 -3
  44. package/dist/actions/get-record-as-pdf.d.cts.map +1 -1
  45. package/dist/actions/get-record-as-pdf.d.mts +21 -3
  46. package/dist/actions/get-record-as-pdf.d.mts.map +1 -1
  47. package/dist/actions/get-record-as-pdf.mjs +3 -3
  48. package/dist/actions/get-record-as-pdf.mjs.map +1 -1
  49. package/dist/actions/search-records.cjs.map +1 -1
  50. package/dist/actions/search-records.d.cts +42 -3
  51. package/dist/actions/search-records.d.cts.map +1 -1
  52. package/dist/actions/search-records.d.mts +42 -3
  53. package/dist/actions/search-records.d.mts.map +1 -1
  54. package/dist/actions/search-records.mjs.map +1 -1
  55. package/dist/catalog.cjs +13 -1
  56. package/dist/catalog.cjs.map +1 -1
  57. package/dist/catalog.d.cts +12 -0
  58. package/dist/catalog.d.mts +12 -0
  59. package/dist/catalog.mjs +13 -1
  60. package/dist/catalog.mjs.map +1 -1
  61. 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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 { 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 +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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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 { 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"}
@@ -9,7 +9,7 @@ const RagicDeleteEntryInput = zod.z.object({
9
9
  account_name: zod.z.string().describe("Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').")
10
10
  });
11
11
  const RagicDeleteEntryOutput = zod.z.object({
12
- msg: zod.z.string().describe("Message returned by the API indicating the result of the delete operation."),
12
+ msg: zod.z.string().describe("Message returned by the API indicating the result of the delete operation.").nullable(),
13
13
  code: zod.z.string().describe("Error code returned by the API, if applicable.").nullable().optional(),
14
14
  status: zod.z.string().describe("Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).").nullable().optional(),
15
15
  ragicId: zod.z.number().int().describe("The ID of the deleted record.").nullable().optional()
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n msg: z.string().describe(\"Message returned by the API indicating the result of the delete operation.\"),\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});\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,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACrG,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;AAED,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 { 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});\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;AAED,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-entry.d.ts
4
- declare const RagicDeleteEntryInput: z.ZodTypeAny;
5
- declare const RagicDeleteEntryOutput: z.ZodTypeAny;
6
- declare const ragicDeleteEntry: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicDeleteEntryInput: z.ZodObject<{
5
+ server: z.ZodOptional<z.ZodString>;
6
+ record_id: z.ZodNumber;
7
+ tab_folder: z.ZodString;
8
+ sheet_index: z.ZodNumber;
9
+ account_name: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const RagicDeleteEntryOutput: z.ZodObject<{
12
+ msg: z.ZodNullable<z.ZodString>;
13
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ ragicId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ }, z.core.$strip>;
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]>;
7
24
  //#endregion
8
25
  export { ragicDeleteEntry };
9
26
  //# 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,EAAuB,CAAA,CAAE,UAMpC;AAAA,cACW,sBAAA,EAAwB,CAAA,CAAE,UAKrC;AAAA,cAEW,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-entry.d.ts
4
- declare const RagicDeleteEntryInput: z.ZodTypeAny;
5
- declare const RagicDeleteEntryOutput: z.ZodTypeAny;
6
- declare const ragicDeleteEntry: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicDeleteEntryInput: z.ZodObject<{
5
+ server: z.ZodOptional<z.ZodString>;
6
+ record_id: z.ZodNumber;
7
+ tab_folder: z.ZodString;
8
+ sheet_index: z.ZodNumber;
9
+ account_name: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const RagicDeleteEntryOutput: z.ZodObject<{
12
+ msg: z.ZodNullable<z.ZodString>;
13
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ ragicId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ }, z.core.$strip>;
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]>;
7
24
  //#endregion
8
25
  export { ragicDeleteEntry };
9
26
  //# 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,EAAuB,CAAA,CAAE,UAMpC;AAAA,cACW,sBAAA,EAAwB,CAAA,CAAE,UAKrC;AAAA,cAEW,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -12,7 +12,7 @@ const ragicDeleteEntry = action("RAGIC_DELETE_ENTRY", {
12
12
  account_name: z.string().describe("Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').")
13
13
  }),
14
14
  output: z.object({
15
- msg: z.string().describe("Message returned by the API indicating the result of the delete operation."),
15
+ msg: z.string().describe("Message returned by the API indicating the result of the delete operation.").nullable(),
16
16
  code: z.string().describe("Error code returned by the API, if applicable.").nullable().optional(),
17
17
  status: z.string().describe("Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).").nullable().optional(),
18
18
  ragicId: z.number().int().describe("The ID of the deleted record.").nullable().optional()
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n msg: z.string().describe(\"Message returned by the API indicating the result of the delete operation.\"),\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});\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,OAlBiD,EAAE,OAAO;EAC1D,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,QAZkD,EAAE,OAAO;EAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;EACrG,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,CAOU;AACV,CAAC"}
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});\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,CAOU;AACV,CAAC"}
@@ -7,9 +7,9 @@ const RagicDownloadFileInput = zod.z.object({
7
7
  file_reference: zod.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.")
8
8
  });
9
9
  const RagicDownloadFile_FileDownloadableSchema = zod.z.object({
10
- name: zod.z.string().describe("Name of the file"),
11
- s3url: zod.z.string().describe("S3 URL of the downloaded file."),
12
- mimetype: zod.z.string().describe("Mime type of the file.")
10
+ name: zod.z.string().describe("Name of the file").nullable(),
11
+ s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
12
+ mimetype: zod.z.string().describe("Mime type of the file.").nullable()
13
13
  });
14
14
  const RagicDownloadFileOutput = zod.z.object({ content: RagicDownloadFile_FileDownloadableSchema.nullable() });
15
15
  const ragicDownloadFile = require_action.action("RAGIC_DOWNLOAD_FILE", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const RagicDownloadFileOutput: z.ZodTypeAny = z.object({\n content: RagicDownloadFile_FileDownloadableSchema.nullable(),\n});\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,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAAS,yCAAyC,SAAS,EAC7D,CAAC;AAED,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 { 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});\nexport const RagicDownloadFileOutput = z.object({\n content: RagicDownloadFile_FileDownloadableSchema.nullable(),\n});\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;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAAS,yCAAyC,SAAS,EAC7D,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/download-file.d.ts
4
- declare const RagicDownloadFileInput: z.ZodTypeAny;
5
- declare const RagicDownloadFileOutput: z.ZodTypeAny;
6
- declare const ragicDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicDownloadFileInput: z.ZodObject<{
5
+ server: z.ZodOptional<z.ZodString>;
6
+ account_name: z.ZodString;
7
+ file_reference: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const RagicDownloadFileOutput: z.ZodObject<{
10
+ content: z.ZodNullable<z.ZodObject<{
11
+ name: z.ZodNullable<z.ZodString>;
12
+ s3url: z.ZodNullable<z.ZodString>;
13
+ mimetype: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
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]>;
7
21
  //#endregion
8
22
  export { ragicDownloadFile };
9
23
  //# 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,EAAwB,CAAA,CAAE,UAIrC;AAAA,cAMW,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/download-file.d.ts
4
- declare const RagicDownloadFileInput: z.ZodTypeAny;
5
- declare const RagicDownloadFileOutput: z.ZodTypeAny;
6
- declare const ragicDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicDownloadFileInput: z.ZodObject<{
5
+ server: z.ZodOptional<z.ZodString>;
6
+ account_name: z.ZodString;
7
+ file_reference: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const RagicDownloadFileOutput: z.ZodObject<{
10
+ content: z.ZodNullable<z.ZodObject<{
11
+ name: z.ZodNullable<z.ZodString>;
12
+ s3url: z.ZodNullable<z.ZodString>;
13
+ mimetype: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
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]>;
7
21
  //#endregion
8
22
  export { ragicDownloadFile };
9
23
  //# 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,EAAwB,CAAA,CAAE,UAIrC;AAAA,cAMW,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -7,9 +7,9 @@ const RagicDownloadFileInput = z.object({
7
7
  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.")
8
8
  });
9
9
  const RagicDownloadFile_FileDownloadableSchema = z.object({
10
- name: z.string().describe("Name of the file"),
11
- s3url: z.string().describe("S3 URL of the downloaded file."),
12
- mimetype: z.string().describe("Mime type of the file.")
10
+ name: z.string().describe("Name of the file").nullable(),
11
+ s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
12
+ mimetype: z.string().describe("Mime type of the file.").nullable()
13
13
  });
14
14
  const ragicDownloadFile = action("RAGIC_DOWNLOAD_FILE", {
15
15
  slug: "ragic-download-file",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const RagicDownloadFileOutput: z.ZodTypeAny = z.object({\n content: RagicDownloadFile_FileDownloadableSchema.nullable(),\n});\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,yBAAuC,EAAE,OAAO;CAC3D,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,2CAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,yCAAyC,SAAS,EAC7D,CAOU;AACV,CAAC"}
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});\nexport const RagicDownloadFileOutput = z.object({\n content: RagicDownloadFile_FileDownloadableSchema.nullable(),\n});\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;AAKD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,SAAS,yCAAyC,SAAS,EAC7D,CAOU;AACV,CAAC"}
@@ -9,8 +9,8 @@ const RagicGetActionButtonsInput = zod.z.object({
9
9
  account_name: zod.z.string().describe("The Ragic account name (the subdirectory in your Ragic URL, e.g., 'RSDemo' from 'https://na3.ragic.com/RSDemo/...').")
10
10
  });
11
11
  const RagicGetActionButtons_ActionButtonSchema = zod.z.object({
12
- id: zod.z.string().describe("The unique identifier of the action button."),
13
- name: zod.z.string().describe("The display name of the action button.")
12
+ id: zod.z.string().describe("The unique identifier of the action button.").nullable(),
13
+ name: zod.z.string().describe("The display name of the action button.").nullable()
14
14
  });
15
15
  const RagicGetActionButtonsOutput = zod.z.object({ actionButtons: zod.z.array(RagicGetActionButtons_ActionButtonSchema).describe("List of available action buttons on the specified Ragic sheet.").nullable().optional() });
16
16
  const ragicGetActionButtons = require_action.action("RAGIC_GET_ACTION_BUTTONS", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the action button.\"),\n name: z.string().describe(\"The display name of the action button.\"),\n});\nexport const RagicGetActionButtonsOutput: z.ZodTypeAny = z.object({\n actionButtons: z.array(RagicGetActionButtons_ActionButtonSchema).describe(\"List of available action buttons on the specified Ragic sheet.\").nullable().optional(),\n});\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,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,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,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AACpE,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClK,CAAC;AAED,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 { 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});\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});\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;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClK,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-action-buttons.d.ts
4
- declare const RagicGetActionButtonsInput: z.ZodTypeAny;
5
- declare const RagicGetActionButtonsOutput: z.ZodTypeAny;
6
- declare const ragicGetActionButtons: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicGetActionButtonsInput: z.ZodObject<{
5
+ server: z.ZodOptional<z.ZodString>;
6
+ category: z.ZodOptional<z.ZodString>;
7
+ tab_folder: z.ZodString;
8
+ sheet_index: z.ZodNumber;
9
+ account_name: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const RagicGetActionButtonsOutput: z.ZodObject<{
12
+ actionButtons: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>>>>;
16
+ }, z.core.$strip>;
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]>;
7
24
  //#endregion
8
25
  export { ragicGetActionButtons };
9
26
  //# 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,EAA4B,CAAA,CAAE,UAMzC;AAAA,cAKW,2BAAA,EAA6B,CAAA,CAAE,UAE1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-action-buttons.d.ts
4
- declare const RagicGetActionButtonsInput: z.ZodTypeAny;
5
- declare const RagicGetActionButtonsOutput: z.ZodTypeAny;
6
- declare const ragicGetActionButtons: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicGetActionButtonsInput: z.ZodObject<{
5
+ server: z.ZodOptional<z.ZodString>;
6
+ category: z.ZodOptional<z.ZodString>;
7
+ tab_folder: z.ZodString;
8
+ sheet_index: z.ZodNumber;
9
+ account_name: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const RagicGetActionButtonsOutput: z.ZodObject<{
12
+ actionButtons: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>>>>;
16
+ }, z.core.$strip>;
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]>;
7
24
  //#endregion
8
25
  export { ragicGetActionButtons };
9
26
  //# 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,EAA4B,CAAA,CAAE,UAMzC;AAAA,cAKW,2BAAA,EAA6B,CAAA,CAAE,UAE1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -9,8 +9,8 @@ const RagicGetActionButtonsInput = z.object({
9
9
  account_name: z.string().describe("The Ragic account name (the subdirectory in your Ragic URL, e.g., 'RSDemo' from 'https://na3.ragic.com/RSDemo/...').")
10
10
  });
11
11
  const RagicGetActionButtons_ActionButtonSchema = z.object({
12
- id: z.string().describe("The unique identifier of the action button."),
13
- name: z.string().describe("The display name of the action button.")
12
+ id: z.string().describe("The unique identifier of the action button.").nullable(),
13
+ name: z.string().describe("The display name of the action button.").nullable()
14
14
  });
15
15
  const ragicGetActionButtons = action("RAGIC_GET_ACTION_BUTTONS", {
16
16
  slug: "ragic-get-action-buttons",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the action button.\"),\n name: z.string().describe(\"The display name of the action button.\"),\n});\nexport const RagicGetActionButtonsOutput: z.ZodTypeAny = z.object({\n actionButtons: z.array(RagicGetActionButtons_ActionButtonSchema).describe(\"List of available action buttons on the specified Ragic sheet.\").nullable().optional(),\n});\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,6BAA2C,EAAE,OAAO;CAC/D,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,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AACpE,CAAC;AAKD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClK,CAOU;AACV,CAAC"}
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});\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});\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;AAKD,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,CAOU;AACV,CAAC"}
@@ -16,9 +16,9 @@ const RagicGetCustomPrintReportInput = zod.z.object({
16
16
  ragicCustomPrintTemplateId: zod.z.number().int().describe("The custom print template ID to use for generating the report.")
17
17
  });
18
18
  const RagicGetCustomPrintReport_FileDownloadableSchema = zod.z.object({
19
- name: zod.z.string().describe("Name of the file"),
20
- s3url: zod.z.string().describe("S3 URL of the downloaded file."),
21
- mimetype: zod.z.string().describe("Mime type of the file.")
19
+ name: zod.z.string().describe("Name of the file").nullable(),
20
+ s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
21
+ mimetype: zod.z.string().describe("Mime type of the file.").nullable()
22
22
  });
23
23
  const RagicGetCustomPrintReportOutput = zod.z.object({ content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable() });
24
24
  const ragicGetCustomPrintReport = require_action.action("RAGIC_GET_CUSTOM_PRINT_REPORT", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const RagicGetCustomPrintReportOutput: z.ZodTypeAny = z.object({\n content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable(),\n});\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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,SAAS,iDAAiD,SAAS,EACrE,CAAC;AAED,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 { 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});\nexport const RagicGetCustomPrintReportOutput = z.object({\n content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable(),\n});\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;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAAS,iDAAiD,SAAS,EACrE,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-custom-print-report.d.ts
4
- declare const RagicGetCustomPrintReportInput: z.ZodTypeAny;
5
- declare const RagicGetCustomPrintReportOutput: z.ZodTypeAny;
6
- declare const ragicGetCustomPrintReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicGetCustomPrintReportInput: z.ZodObject<{
5
+ server: z.ZodOptional<z.ZodString>;
6
+ record_id: z.ZodNumber;
7
+ fileFormat: z.ZodEnum<{
8
+ pdf: "pdf";
9
+ png: "png";
10
+ docx: "docx";
11
+ }>;
12
+ tab_folder: z.ZodString;
13
+ sheet_index: z.ZodNumber;
14
+ account_name: z.ZodString;
15
+ fileNameRefDomainId: z.ZodOptional<z.ZodNumber>;
16
+ ragicCustomPrintTemplateId: z.ZodNumber;
17
+ }, z.core.$strip>;
18
+ declare const RagicGetCustomPrintReportOutput: z.ZodObject<{
19
+ content: z.ZodNullable<z.ZodObject<{
20
+ name: z.ZodNullable<z.ZodString>;
21
+ s3url: z.ZodNullable<z.ZodString>;
22
+ mimetype: z.ZodNullable<z.ZodString>;
23
+ }, z.core.$strip>>;
24
+ }, z.core.$strip>;
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]>;
7
35
  //#endregion
8
36
  export { ragicGetCustomPrintReport };
9
37
  //# 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,EAAgC,CAAA,CAAE,UAS7C;AAAA,cAMW,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-custom-print-report.d.ts
4
- declare const RagicGetCustomPrintReportInput: z.ZodTypeAny;
5
- declare const RagicGetCustomPrintReportOutput: z.ZodTypeAny;
6
- declare const ragicGetCustomPrintReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicGetCustomPrintReportInput: z.ZodObject<{
5
+ server: z.ZodOptional<z.ZodString>;
6
+ record_id: z.ZodNumber;
7
+ fileFormat: z.ZodEnum<{
8
+ pdf: "pdf";
9
+ png: "png";
10
+ docx: "docx";
11
+ }>;
12
+ tab_folder: z.ZodString;
13
+ sheet_index: z.ZodNumber;
14
+ account_name: z.ZodString;
15
+ fileNameRefDomainId: z.ZodOptional<z.ZodNumber>;
16
+ ragicCustomPrintTemplateId: z.ZodNumber;
17
+ }, z.core.$strip>;
18
+ declare const RagicGetCustomPrintReportOutput: z.ZodObject<{
19
+ content: z.ZodNullable<z.ZodObject<{
20
+ name: z.ZodNullable<z.ZodString>;
21
+ s3url: z.ZodNullable<z.ZodString>;
22
+ mimetype: z.ZodNullable<z.ZodString>;
23
+ }, z.core.$strip>>;
24
+ }, z.core.$strip>;
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]>;
7
35
  //#endregion
8
36
  export { ragicGetCustomPrintReport };
9
37
  //# 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,EAAgC,CAAA,CAAE,UAS7C;AAAA,cAMW,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -16,9 +16,9 @@ const RagicGetCustomPrintReportInput = z.object({
16
16
  ragicCustomPrintTemplateId: z.number().int().describe("The custom print template ID to use for generating the report.")
17
17
  });
18
18
  const RagicGetCustomPrintReport_FileDownloadableSchema = z.object({
19
- name: z.string().describe("Name of the file"),
20
- s3url: z.string().describe("S3 URL of the downloaded file."),
21
- mimetype: z.string().describe("Mime type of the file.")
19
+ name: z.string().describe("Name of the file").nullable(),
20
+ s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
21
+ mimetype: z.string().describe("Mime type of the file.").nullable()
22
22
  });
23
23
  const ragicGetCustomPrintReport = action("RAGIC_GET_CUSTOM_PRINT_REPORT", {
24
24
  slug: "ragic-get-custom-print-report",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const RagicGetCustomPrintReportOutput: z.ZodTypeAny = z.object({\n content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable(),\n});\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,iCAA+C,EAAE,OAAO;CACnE,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,mDAAiE,EAAE,OAAO;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,SAAS,iDAAiD,SAAS,EACrE,CAOU;AACV,CAAC"}
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});\nexport const RagicGetCustomPrintReportOutput = z.object({\n content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable(),\n});\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;AAKD,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,iDAAiD,SAAS,EACrE,CAOU;AACV,CAAC"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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,qBAAmCA,IAAAA,EAAE,OAAO;CACvD,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,sBAAoCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAAuI;AAEnO,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 { 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,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-entry.d.ts
4
- declare const RagicGetEntryInput: z.ZodTypeAny;
5
- declare const RagicGetEntryOutput: z.ZodTypeAny;
6
- declare const ragicGetEntry: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicGetEntryInput: z.ZodObject<{
5
+ v: z.ZodOptional<z.ZodString>;
6
+ info: z.ZodOptional<z.ZodBoolean>;
7
+ server: z.ZodOptional<z.ZodString>;
8
+ comment: z.ZodOptional<z.ZodBoolean>;
9
+ history: z.ZodOptional<z.ZodBoolean>;
10
+ record_id: z.ZodNumber;
11
+ subtables: z.ZodOptional<z.ZodBoolean>;
12
+ tab_folder: z.ZodString;
13
+ sheet_index: z.ZodNumber;
14
+ account_name: z.ZodString;
15
+ }, z.core.$strip>;
16
+ 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]>;
7
29
  //#endregion
8
30
  export { ragicGetEntry };
9
31
  //# 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,EAAoB,CAAA,CAAE,UAWjC;AAAA,cACW,mBAAA,EAAqB,CAAA,CAAE,UAAgM;AAAA,cAEvN,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-entry.d.ts
4
- declare const RagicGetEntryInput: z.ZodTypeAny;
5
- declare const RagicGetEntryOutput: z.ZodTypeAny;
6
- declare const ragicGetEntry: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicGetEntryInput: z.ZodObject<{
5
+ v: z.ZodOptional<z.ZodString>;
6
+ info: z.ZodOptional<z.ZodBoolean>;
7
+ server: z.ZodOptional<z.ZodString>;
8
+ comment: z.ZodOptional<z.ZodBoolean>;
9
+ history: z.ZodOptional<z.ZodBoolean>;
10
+ record_id: z.ZodNumber;
11
+ subtables: z.ZodOptional<z.ZodBoolean>;
12
+ tab_folder: z.ZodString;
13
+ sheet_index: z.ZodNumber;
14
+ account_name: z.ZodString;
15
+ }, z.core.$strip>;
16
+ 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]>;
7
29
  //#endregion
8
30
  export { ragicGetEntry };
9
31
  //# 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,EAAoB,CAAA,CAAE,UAWjC;AAAA,cACW,mBAAA,EAAqB,CAAA,CAAE,UAAgM;AAAA,cAEvN,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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 +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.ZodTypeAny = 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.ZodTypeAny = 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,OAlB8C,EAAE,OAAO;EACvD,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,QAP+C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAOlF;AACV,CAAC"}
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"}
@@ -9,9 +9,9 @@ const RagicGetRecordAsPdfInput = zod.z.object({
9
9
  account_name: zod.z.string().describe("Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').")
10
10
  });
11
11
  const RagicGetRecordAsPdf_FileDownloadableSchema = zod.z.object({
12
- name: zod.z.string().describe("Name of the file"),
13
- s3url: zod.z.string().describe("S3 URL of the downloaded file."),
14
- mimetype: zod.z.string().describe("Mime type of the file.")
12
+ name: zod.z.string().describe("Name of the file").nullable(),
13
+ s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
14
+ mimetype: zod.z.string().describe("Mime type of the file.").nullable()
15
15
  });
16
16
  const RagicGetRecordAsPdfOutput = zod.z.object({ pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable() });
17
17
  const ragicGetRecordAsPdf = require_action.action("RAGIC_GET_RECORD_AS_PDF", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const RagicGetRecordAsPdfOutput: z.ZodTypeAny = z.object({\n pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable(),\n});\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,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,aAAa,2CAA2C,SAAS,EACnE,CAAC;AAED,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 { 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});\nexport const RagicGetRecordAsPdfOutput = z.object({\n pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable(),\n});\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;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAa,2CAA2C,SAAS,EACnE,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-record-as-pdf.d.ts
4
- declare const RagicGetRecordAsPdfInput: z.ZodTypeAny;
5
- declare const RagicGetRecordAsPdfOutput: z.ZodTypeAny;
6
- declare const ragicGetRecordAsPdf: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicGetRecordAsPdfInput: z.ZodObject<{
5
+ server: z.ZodOptional<z.ZodString>;
6
+ record_id: z.ZodNumber;
7
+ tab_folder: z.ZodString;
8
+ sheet_index: z.ZodNumber;
9
+ account_name: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const RagicGetRecordAsPdfOutput: z.ZodObject<{
12
+ pdf_content: z.ZodNullable<z.ZodObject<{
13
+ name: z.ZodNullable<z.ZodString>;
14
+ s3url: z.ZodNullable<z.ZodString>;
15
+ mimetype: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
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]>;
7
25
  //#endregion
8
26
  export { ragicGetRecordAsPdf };
9
27
  //# 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,EAA0B,CAAA,CAAE,UAMvC;AAAA,cAMW,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-record-as-pdf.d.ts
4
- declare const RagicGetRecordAsPdfInput: z.ZodTypeAny;
5
- declare const RagicGetRecordAsPdfOutput: z.ZodTypeAny;
6
- declare const ragicGetRecordAsPdf: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicGetRecordAsPdfInput: z.ZodObject<{
5
+ server: z.ZodOptional<z.ZodString>;
6
+ record_id: z.ZodNumber;
7
+ tab_folder: z.ZodString;
8
+ sheet_index: z.ZodNumber;
9
+ account_name: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const RagicGetRecordAsPdfOutput: z.ZodObject<{
12
+ pdf_content: z.ZodNullable<z.ZodObject<{
13
+ name: z.ZodNullable<z.ZodString>;
14
+ s3url: z.ZodNullable<z.ZodString>;
15
+ mimetype: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
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]>;
7
25
  //#endregion
8
26
  export { ragicGetRecordAsPdf };
9
27
  //# 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,EAA0B,CAAA,CAAE,UAMvC;AAAA,cAMW,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -9,9 +9,9 @@ const RagicGetRecordAsPdfInput = z.object({
9
9
  account_name: z.string().describe("Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').")
10
10
  });
11
11
  const RagicGetRecordAsPdf_FileDownloadableSchema = z.object({
12
- name: z.string().describe("Name of the file"),
13
- s3url: z.string().describe("S3 URL of the downloaded file."),
14
- mimetype: z.string().describe("Mime type of the file.")
12
+ name: z.string().describe("Name of the file").nullable(),
13
+ s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
14
+ mimetype: z.string().describe("Mime type of the file.").nullable()
15
15
  });
16
16
  const ragicGetRecordAsPdf = action("RAGIC_GET_RECORD_AS_PDF", {
17
17
  slug: "ragic-get-record-as-pdf",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const RagicGetRecordAsPdfOutput: z.ZodTypeAny = z.object({\n pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable(),\n});\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,2BAAyC,EAAE,OAAO;CAC7D,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,6CAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,sBAAsB,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,aAAa,2CAA2C,SAAS,EACnE,CAOU;AACV,CAAC"}
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});\nexport const RagicGetRecordAsPdfOutput = z.object({\n pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable(),\n});\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;AAKD,MAAa,sBAAsB,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,aAAa,2CAA2C,SAAS,EACnE,CAOU;AACV,CAAC"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n records: z.object({}).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});\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,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,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,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChM,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC;AAED,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 { 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.object({}).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});\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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChM,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,48 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/search-records.d.ts
4
- declare const RagicSearchRecordsInput: z.ZodTypeAny;
5
- declare const RagicSearchRecordsOutput: z.ZodTypeAny;
6
- declare const ragicSearchRecords: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicSearchRecordsInput: z.ZodObject<{
5
+ info: z.ZodOptional<z.ZodBoolean>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ bbcode: z.ZodOptional<z.ZodBoolean>;
8
+ offset: z.ZodOptional<z.ZodNumber>;
9
+ server: z.ZodOptional<z.ZodString>;
10
+ comment: z.ZodOptional<z.ZodBoolean>;
11
+ history: z.ZodOptional<z.ZodBoolean>;
12
+ listing: z.ZodOptional<z.ZodBoolean>;
13
+ reverse: z.ZodOptional<z.ZodBoolean>;
14
+ approval: z.ZodOptional<z.ZodBoolean>;
15
+ subtables: z.ZodOptional<z.ZodBoolean>;
16
+ ignoreMask: z.ZodOptional<z.ZodBoolean>;
17
+ sheet_path: z.ZodString;
18
+ account_name: z.ZodString;
19
+ conversation: z.ZodOptional<z.ZodBoolean>;
20
+ search_query: z.ZodString;
21
+ ignoreFixedFilter: z.ZodOptional<z.ZodBoolean>;
22
+ }, z.core.$strip>;
23
+ declare const RagicSearchRecordsOutput: z.ZodObject<{
24
+ records: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
25
+ raw_response: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
26
+ }, z.core.$strip>;
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]>;
7
46
  //#endregion
8
47
  export { ragicSearchRecords };
9
48
  //# 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,EAAyB,CAAA,CAAE,UAkBtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAGvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,48 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/search-records.d.ts
4
- declare const RagicSearchRecordsInput: z.ZodTypeAny;
5
- declare const RagicSearchRecordsOutput: z.ZodTypeAny;
6
- declare const ragicSearchRecords: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RagicSearchRecordsInput: z.ZodObject<{
5
+ info: z.ZodOptional<z.ZodBoolean>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ bbcode: z.ZodOptional<z.ZodBoolean>;
8
+ offset: z.ZodOptional<z.ZodNumber>;
9
+ server: z.ZodOptional<z.ZodString>;
10
+ comment: z.ZodOptional<z.ZodBoolean>;
11
+ history: z.ZodOptional<z.ZodBoolean>;
12
+ listing: z.ZodOptional<z.ZodBoolean>;
13
+ reverse: z.ZodOptional<z.ZodBoolean>;
14
+ approval: z.ZodOptional<z.ZodBoolean>;
15
+ subtables: z.ZodOptional<z.ZodBoolean>;
16
+ ignoreMask: z.ZodOptional<z.ZodBoolean>;
17
+ sheet_path: z.ZodString;
18
+ account_name: z.ZodString;
19
+ conversation: z.ZodOptional<z.ZodBoolean>;
20
+ search_query: z.ZodString;
21
+ ignoreFixedFilter: z.ZodOptional<z.ZodBoolean>;
22
+ }, z.core.$strip>;
23
+ declare const RagicSearchRecordsOutput: z.ZodObject<{
24
+ records: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
25
+ raw_response: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
26
+ }, z.core.$strip>;
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]>;
7
46
  //#endregion
8
47
  export { ragicSearchRecords };
9
48
  //# 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,EAAyB,CAAA,CAAE,UAkBtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAGvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n records: z.object({}).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});\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,OA5BmD,EAAE,OAAO;EAC5D,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,QAVoD,EAAE,OAAO;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChM,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,CAOU;AACV,CAAC"}
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.object({}).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});\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,CAAC,CAAC,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChM,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,CAOU;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,19 @@ const ragicCatalog = {
7
7
  "category": "Databases",
8
8
  "logo": "https://logos.composio.dev/api/ragic",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": {
12
+ "server_location": {
13
+ "label": "Server Location",
14
+ "description": "The server location for your Ragic account, such as 'na3', 'ap5', or 'eu2'."
15
+ },
16
+ "api_key": {
17
+ "label": "Ragic API Key",
18
+ "secret": true,
19
+ "description": "Your Ragic API key, obtainable from Personal Settings > Profile."
20
+ }
21
+ },
22
+ "credentialScheme": "API_KEY"
11
23
  };
12
24
  //#endregion
13
25
  exports.ragicCatalog = ragicCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ragicCatalog = {\n \"slug\": \"ragic\",\n \"name\": \"Ragic\",\n \"description\": \"Ragic is a web-based database builder that allows users to create and manage databases as easily as creating a spreadsheet.\",\n \"category\": \"Databases\",\n \"logo\": \"https://logos.composio.dev/api/ragic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ragicCatalog = {\n \"slug\": \"ragic\",\n \"name\": \"Ragic\",\n \"description\": \"Ragic is a web-based database builder that allows users to create and manage databases as easily as creating a spreadsheet.\",\n \"category\": \"Databases\",\n \"logo\": \"https://logos.composio.dev/api/ragic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"server_location\": {\n \"label\": \"Server Location\",\n \"description\": \"The server location for your Ragic account, such as 'na3', 'ap5', or 'eu2'.\"\n },\n \"api_key\": {\n \"label\": \"Ragic API Key\",\n \"secret\": true,\n \"description\": \"Your Ragic API key, obtainable from Personal Settings > Profile.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,mBAAmB;GACjB,SAAS;GACT,eAAe;EACjB;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,18 @@ declare const ragicCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/ragic";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly server_location: {
13
+ readonly label: "Server Location";
14
+ readonly description: "The server location for your Ragic account, such as 'na3', 'ap5', or 'eu2'.";
15
+ };
16
+ readonly api_key: {
17
+ readonly label: "Ragic API Key";
18
+ readonly secret: true;
19
+ readonly description: "Your Ragic API key, obtainable from Personal Settings > Profile.";
20
+ };
21
+ };
22
+ readonly credentialScheme: "API_KEY";
11
23
  };
12
24
  //#endregion
13
25
  export { ragicCatalog };
@@ -8,6 +8,18 @@ declare const ragicCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/ragic";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly server_location: {
13
+ readonly label: "Server Location";
14
+ readonly description: "The server location for your Ragic account, such as 'na3', 'ap5', or 'eu2'.";
15
+ };
16
+ readonly api_key: {
17
+ readonly label: "Ragic API Key";
18
+ readonly secret: true;
19
+ readonly description: "Your Ragic API key, obtainable from Personal Settings > Profile.";
20
+ };
21
+ };
22
+ readonly credentialScheme: "API_KEY";
11
23
  };
12
24
  //#endregion
13
25
  export { ragicCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,19 @@ const ragicCatalog = {
7
7
  "category": "Databases",
8
8
  "logo": "https://logos.composio.dev/api/ragic",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": {
12
+ "server_location": {
13
+ "label": "Server Location",
14
+ "description": "The server location for your Ragic account, such as 'na3', 'ap5', or 'eu2'."
15
+ },
16
+ "api_key": {
17
+ "label": "Ragic API Key",
18
+ "secret": true,
19
+ "description": "Your Ragic API key, obtainable from Personal Settings > Profile."
20
+ }
21
+ },
22
+ "credentialScheme": "API_KEY"
11
23
  };
12
24
  //#endregion
13
25
  export { ragicCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ragicCatalog = {\n \"slug\": \"ragic\",\n \"name\": \"Ragic\",\n \"description\": \"Ragic is a web-based database builder that allows users to create and manage databases as easily as creating a spreadsheet.\",\n \"category\": \"Databases\",\n \"logo\": \"https://logos.composio.dev/api/ragic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ragicCatalog = {\n \"slug\": \"ragic\",\n \"name\": \"Ragic\",\n \"description\": \"Ragic is a web-based database builder that allows users to create and manage databases as easily as creating a spreadsheet.\",\n \"category\": \"Databases\",\n \"logo\": \"https://logos.composio.dev/api/ragic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"server_location\": {\n \"label\": \"Server Location\",\n \"description\": \"The server location for your Ragic account, such as 'na3', 'ap5', or 'eu2'.\"\n },\n \"api_key\": {\n \"label\": \"Ragic API Key\",\n \"secret\": true,\n \"description\": \"Your Ragic API key, obtainable from Personal Settings > Profile.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,mBAAmB;GACjB,SAAS;GACT,eAAe;EACjB;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/ragic",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {