@keystrokehq/ragic 0.1.0 → 0.1.3

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 (63) 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 +2 -2
  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 +2 -2
  10. package/dist/actions/delete-entry.mjs.map +1 -1
  11. package/dist/actions/download-file.cjs +5 -5
  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 +5 -5
  18. package/dist/actions/download-file.mjs.map +1 -1
  19. package/dist/actions/get-action-buttons.cjs +4 -4
  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 +4 -4
  26. package/dist/actions/get-action-buttons.mjs.map +1 -1
  27. package/dist/actions/get-custom-print-report.cjs +5 -5
  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 +5 -5
  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 +5 -5
  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 +5 -5
  48. package/dist/actions/get-record-as-pdf.mjs.map +1 -1
  49. package/dist/actions/search-records.cjs +2 -2
  50. package/dist/actions/search-records.cjs.map +1 -1
  51. package/dist/actions/search-records.d.cts +42 -3
  52. package/dist/actions/search-records.d.cts.map +1 -1
  53. package/dist/actions/search-records.d.mts +42 -3
  54. package/dist/actions/search-records.d.mts.map +1 -1
  55. package/dist/actions/search-records.mjs +2 -2
  56. package/dist/actions/search-records.mjs.map +1 -1
  57. package/dist/catalog.cjs +13 -1
  58. package/dist/catalog.cjs.map +1 -1
  59. package/dist/catalog.d.cts +12 -0
  60. package/dist/catalog.d.mts +12 -0
  61. package/dist/catalog.mjs +13 -1
  62. package/dist/catalog.mjs.map +1 -1
  63. package/package.json +2 -2
@@ -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}).passthrough();\nexport const RagicGetCustomPrintReportOutput = z.object({\n content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetCustomPrintReport = action(\"RAGIC_GET_CUSTOM_PRINT_REPORT\", {\n slug: \"ragic-get-custom-print-report\",\n name: \"Get Custom Print Report\",\n description: \"Tool to retrieve a custom print report for a Ragic record in various formats (pdf, png, docx). Use when you need to generate and download a formatted report using a specific template.\",\n input: RagicGetCustomPrintReportInput,\n output: RagicGetCustomPrintReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACpG,YAAY,EAAE,KAAK;EAAC;EAAO;EAAO;CAAM,CAAC,CAAC,CAAC,SAAS,4CAA4C;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/H,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;AACxH,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,iDAAiD,SAAS,EACrE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -1 +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,11 +9,11 @@ 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.")
15
- });
16
- const RagicGetRecordAsPdfOutput = zod.z.object({ pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable() });
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
+ }).passthrough();
16
+ const RagicGetRecordAsPdfOutput = zod.z.object({ pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable() }).passthrough();
17
17
  const ragicGetRecordAsPdf = require_action.action("RAGIC_GET_RECORD_AS_PDF", {
18
18
  slug: "ragic-get-record-as-pdf",
19
19
  name: "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}).passthrough();\nexport const RagicGetRecordAsPdfOutput = z.object({\n pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetRecordAsPdf = action(\"RAGIC_GET_RECORD_AS_PDF\", {\n slug: \"ragic-get-record-as-pdf\",\n name: \"Get Record as PDF\",\n description: \"Tool to retrieve a PDF version of a Ragic record. Use when you need to export or download a record in PDF format. The PDF will contain the full record data in a formatted document.\",\n input: RagicGetRecordAsPdfInput,\n output: RagicGetRecordAsPdfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAa,2CAA2C,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,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.$loose>>;
17
+ }, z.core.$loose>;
18
+ declare const ragicGetRecordAsPdf: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ record_id: number;
20
+ tab_folder: string;
21
+ sheet_index: number;
22
+ account_name: string;
23
+ server?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$loose>>;
17
+ }, z.core.$loose>;
18
+ declare const ragicGetRecordAsPdf: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ record_id: number;
20
+ tab_folder: string;
21
+ sheet_index: number;
22
+ account_name: string;
23
+ server?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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,16 +9,16 @@ 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.")
15
- });
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
+ }).passthrough();
16
16
  const ragicGetRecordAsPdf = action("RAGIC_GET_RECORD_AS_PDF", {
17
17
  slug: "ragic-get-record-as-pdf",
18
18
  name: "Get Record as PDF",
19
19
  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.",
20
20
  input: RagicGetRecordAsPdfInput,
21
- output: z.object({ pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable() })
21
+ output: z.object({ pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable() }).passthrough()
22
22
  });
23
23
  //#endregion
24
24
  export { ragicGetRecordAsPdf };
@@ -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}).passthrough();\nexport const RagicGetRecordAsPdfOutput = z.object({\n pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetRecordAsPdf = action(\"RAGIC_GET_RECORD_AS_PDF\", {\n slug: \"ragic-get-record-as-pdf\",\n name: \"Get Record as PDF\",\n description: \"Tool to retrieve a PDF version of a Ragic record. Use when you need to export or download a record in PDF format. The PDF will contain the full record data in a formatted document.\",\n input: RagicGetRecordAsPdfInput,\n output: RagicGetRecordAsPdfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,sBAAsB,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,aAAa,2CAA2C,SAAS,EACnE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -21,9 +21,9 @@ const RagicSearchRecordsInput = zod.z.object({
21
21
  ignoreFixedFilter: zod.z.boolean().describe("When True, the fixed filter on this sheet will be ignored (requires SYSAdmin privilege).").optional()
22
22
  });
23
23
  const RagicSearchRecordsOutput = zod.z.object({
24
- records: zod.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(),
24
+ records: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A dictionary of records that match the search criteria. Each key is a record ID, and the value is a dictionary of field names and values.").nullable().optional(),
25
25
  raw_response: zod.z.unknown().describe("The raw JSON response from the API, for debugging or if the structure is not as expected.").nullable().optional()
26
- });
26
+ }).passthrough();
27
27
  const ragicSearchRecords = require_action.action("RAGIC_SEARCH_RECORDS", {
28
28
  slug: "ragic-search-records",
29
29
  name: "Search Records",
@@ -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.record(z.string(), z.unknown()).describe(\"A dictionary of records that match the search criteria. Each key is a record ID, and the value is a dictionary of field names and values.\").nullable().optional(),\n raw_response: z.unknown().describe(\"The raw JSON response from the API, for debugging or if the structure is not as expected.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicSearchRecords = action(\"RAGIC_SEARCH_RECORDS\", {\n slug: \"ragic-search-records\",\n name: \"Search Records\",\n description: \"Search Records\",\n input: RagicSearchRecordsInput,\n output: RagicSearchRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC9I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC5I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC1K,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC7I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CAClI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC7I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACxF,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AAC/I,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrN,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,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.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
+ raw_response: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
26
+ }, z.core.$loose>;
27
+ declare const ragicSearchRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ sheet_path: string;
29
+ account_name: string;
30
+ search_query: string;
31
+ info?: boolean | undefined;
32
+ limit?: number | undefined;
33
+ bbcode?: boolean | undefined;
34
+ offset?: number | undefined;
35
+ server?: string | undefined;
36
+ comment?: boolean | undefined;
37
+ history?: boolean | undefined;
38
+ listing?: boolean | undefined;
39
+ reverse?: boolean | undefined;
40
+ approval?: boolean | undefined;
41
+ subtables?: boolean | undefined;
42
+ ignoreMask?: boolean | undefined;
43
+ conversation?: boolean | undefined;
44
+ ignoreFixedFilter?: boolean | undefined;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
+ raw_response: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
26
+ }, z.core.$loose>;
27
+ declare const ragicSearchRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ sheet_path: string;
29
+ account_name: string;
30
+ search_query: string;
31
+ info?: boolean | undefined;
32
+ limit?: number | undefined;
33
+ bbcode?: boolean | undefined;
34
+ offset?: number | undefined;
35
+ server?: string | undefined;
36
+ comment?: boolean | undefined;
37
+ history?: boolean | undefined;
38
+ listing?: boolean | undefined;
39
+ reverse?: boolean | undefined;
40
+ approval?: boolean | undefined;
41
+ subtables?: boolean | undefined;
42
+ ignoreMask?: boolean | undefined;
43
+ conversation?: boolean | undefined;
44
+ ignoreFixedFilter?: boolean | undefined;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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"}
@@ -24,9 +24,9 @@ const ragicSearchRecords = action("RAGIC_SEARCH_RECORDS", {
24
24
  ignoreFixedFilter: z.boolean().describe("When True, the fixed filter on this sheet will be ignored (requires SYSAdmin privilege).").optional()
25
25
  }),
26
26
  output: z.object({
27
- 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(),
27
+ records: z.record(z.string(), z.unknown()).describe("A dictionary of records that match the search criteria. Each key is a record ID, and the value is a dictionary of field names and values.").nullable().optional(),
28
28
  raw_response: z.unknown().describe("The raw JSON response from the API, for debugging or if the structure is not as expected.").nullable().optional()
29
- })
29
+ }).passthrough()
30
30
  });
31
31
  //#endregion
32
32
  export { ragicSearchRecords };
@@ -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.record(z.string(), z.unknown()).describe(\"A dictionary of records that match the search criteria. Each key is a record ID, and the value is a dictionary of field names and values.\").nullable().optional(),\n raw_response: z.unknown().describe(\"The raw JSON response from the API, for debugging or if the structure is not as expected.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicSearchRecords = action(\"RAGIC_SEARCH_RECORDS\", {\n slug: \"ragic-search-records\",\n name: \"Search Records\",\n description: \"Search Records\",\n input: RagicSearchRecordsInput,\n output: RagicSearchRecordsOutput,\n});\n"],"mappings":";;AA4BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BqC,EAAE,OAAO;EAC9C,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACpH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAC1H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC9I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACxL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACxH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACtH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACpH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC/H,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;EAC1K,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC7I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAClI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;EAC7J,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC7I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACxF,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/I,CAUS;CACP,QAVsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrN,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
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.3",
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": {