@keystrokehq/ragic 0.1.2 → 0.1.4
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.
- package/dist/actions/delete-entry.cjs +1 -1
- package/dist/actions/delete-entry.cjs.map +1 -1
- package/dist/actions/delete-entry.d.cts +1 -1
- package/dist/actions/delete-entry.d.mts +1 -1
- package/dist/actions/delete-entry.mjs +1 -1
- package/dist/actions/delete-entry.mjs.map +1 -1
- package/dist/actions/download-file.cjs +2 -2
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +2 -2
- package/dist/actions/download-file.d.mts +2 -2
- package/dist/actions/download-file.mjs +2 -2
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/get-action-buttons.cjs +2 -2
- package/dist/actions/get-action-buttons.cjs.map +1 -1
- package/dist/actions/get-action-buttons.d.cts +2 -2
- package/dist/actions/get-action-buttons.d.mts +2 -2
- package/dist/actions/get-action-buttons.mjs +2 -2
- package/dist/actions/get-action-buttons.mjs.map +1 -1
- package/dist/actions/get-custom-print-report.cjs +2 -2
- package/dist/actions/get-custom-print-report.cjs.map +1 -1
- package/dist/actions/get-custom-print-report.d.cts +2 -2
- package/dist/actions/get-custom-print-report.d.mts +2 -2
- package/dist/actions/get-custom-print-report.mjs +2 -2
- package/dist/actions/get-custom-print-report.mjs.map +1 -1
- package/dist/actions/get-record-as-pdf.cjs +2 -2
- package/dist/actions/get-record-as-pdf.cjs.map +1 -1
- package/dist/actions/get-record-as-pdf.d.cts +2 -2
- package/dist/actions/get-record-as-pdf.d.mts +2 -2
- package/dist/actions/get-record-as-pdf.mjs +2 -2
- package/dist/actions/get-record-as-pdf.mjs.map +1 -1
- package/dist/actions/search-records.cjs +2 -2
- package/dist/actions/search-records.cjs.map +1 -1
- package/dist/actions/search-records.d.cts +2 -2
- package/dist/actions/search-records.d.mts +2 -2
- package/dist/actions/search-records.mjs +2 -2
- package/dist/actions/search-records.mjs.map +1 -1
- package/dist/catalog.cjs +2 -2
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +2 -2
- package/dist/catalog.d.mts +2 -2
- package/dist/catalog.mjs +2 -2
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ const RagicDeleteEntryOutput = zod.z.object({
|
|
|
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()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const ragicDeleteEntry = require_action.action("RAGIC_DELETE_ENTRY", {
|
|
18
18
|
slug: "ragic-delete-entry",
|
|
19
19
|
name: "Delete Entry",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-entry.cjs","names":["z","action"],"sources":["../../src/actions/delete-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDeleteEntryInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to delete.\"),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup' or 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicDeleteEntryOutput = z.object({\n msg: z.string().describe(\"Message returned by the API indicating the result of the delete operation.\").nullable(),\n code: z.string().describe(\"Error code returned by the API, if applicable.\").nullable().optional(),\n status: z.string().describe(\"Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).\").nullable().optional(),\n ragicId: z.number().int().describe(\"The ID of the deleted record.\").nullable().optional(),\n});\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;
|
|
1
|
+
{"version":3,"file":"delete-entry.cjs","names":["z","action"],"sources":["../../src/actions/delete-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDeleteEntryInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to delete.\"),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup' or 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicDeleteEntryOutput = z.object({\n msg: z.string().describe(\"Message returned by the API indicating the result of the delete operation.\").nullable(),\n code: z.string().describe(\"Error code returned by the API, if applicable.\").nullable().optional(),\n status: z.string().describe(\"Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).\").nullable().optional(),\n ragicId: z.number().int().describe(\"The ID of the deleted record.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicDeleteEntry = action(\"RAGIC_DELETE_ENTRY\", {\n slug: \"ragic-delete-entry\",\n name: \"Delete Entry\",\n description: \"Tool to delete an entry from a Ragic sheet. Use when you need to remove a specific record from a sheet by its record ID.\",\n input: RagicDeleteEntryInput,\n output: RagicDeleteEntryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAChE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const RagicDeleteEntryOutput: z.ZodObject<{
|
|
|
13
13
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
ragicId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const ragicDeleteEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
record_id: number;
|
|
19
19
|
tab_folder: string;
|
|
@@ -13,7 +13,7 @@ declare const RagicDeleteEntryOutput: z.ZodObject<{
|
|
|
13
13
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
ragicId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const ragicDeleteEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
record_id: number;
|
|
19
19
|
tab_folder: string;
|
|
@@ -16,7 +16,7 @@ const ragicDeleteEntry = action("RAGIC_DELETE_ENTRY", {
|
|
|
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()
|
|
19
|
-
})
|
|
19
|
+
}).passthrough()
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { ragicDeleteEntry };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-entry.mjs","names":[],"sources":["../../src/actions/delete-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDeleteEntryInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to delete.\"),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup' or 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicDeleteEntryOutput = z.object({\n msg: z.string().describe(\"Message returned by the API indicating the result of the delete operation.\").nullable(),\n code: z.string().describe(\"Error code returned by the API, if applicable.\").nullable().optional(),\n status: z.string().describe(\"Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).\").nullable().optional(),\n ragicId: z.number().int().describe(\"The ID of the deleted record.\").nullable().optional(),\n});\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,
|
|
1
|
+
{"version":3,"file":"delete-entry.mjs","names":[],"sources":["../../src/actions/delete-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDeleteEntryInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to delete.\"),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup' or 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicDeleteEntryOutput = z.object({\n msg: z.string().describe(\"Message returned by the API indicating the result of the delete operation.\").nullable(),\n code: z.string().describe(\"Error code returned by the API, if applicable.\").nullable().optional(),\n status: z.string().describe(\"Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).\").nullable().optional(),\n ragicId: z.number().int().describe(\"The ID of the deleted record.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicDeleteEntry = action(\"RAGIC_DELETE_ENTRY\", {\n slug: \"ragic-delete-entry\",\n name: \"Delete Entry\",\n description: \"Tool to delete an entry from a Ragic sheet. Use when you need to remove a specific record from a sheet by its record ID.\",\n input: RagicDeleteEntryInput,\n output: RagicDeleteEntryOutput,\n});\n"],"mappings":";;AAkBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACxL,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;EAChE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC/J,CAYS;CACP,QAZoC,EAAE,OAAO;EAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ const RagicDownloadFile_FileDownloadableSchema = zod.z.object({
|
|
|
10
10
|
name: zod.z.string().describe("Name of the file").nullable(),
|
|
11
11
|
s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
12
12
|
mimetype: zod.z.string().describe("Mime type of the file.").nullable()
|
|
13
|
-
});
|
|
14
|
-
const RagicDownloadFileOutput = zod.z.object({ content: RagicDownloadFile_FileDownloadableSchema.nullable() });
|
|
13
|
+
}).passthrough();
|
|
14
|
+
const RagicDownloadFileOutput = zod.z.object({ content: RagicDownloadFile_FileDownloadableSchema.nullable() }).passthrough();
|
|
15
15
|
const ragicDownloadFile = require_action.action("RAGIC_DOWNLOAD_FILE", {
|
|
16
16
|
slug: "ragic-download-file",
|
|
17
17
|
name: "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.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;
|
|
1
|
+
{"version":3,"file":"download-file.cjs","names":["z","action"],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDownloadFileInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n file_reference: z.string().describe(\"The file reference as returned from API responses (e.g., 'Ni92W2luv@My_Picture.jpg'). This is the encoded filename with hash prefix.\"),\n});\nconst RagicDownloadFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicDownloadFileOutput = z.object({\n content: RagicDownloadFile_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicDownloadFile = action(\"RAGIC_DOWNLOAD_FILE\", {\n slug: \"ragic-download-file\",\n name: \"Download File\",\n description: \"Tool to download uploaded files, images, or email attachments from Ragic. Use the file reference returned from API responses (e.g., from record fields).\",\n input: RagicDownloadFileInput,\n output: RagicDownloadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;AAC5K,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAAS,yCAAyC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const RagicDownloadFileOutput: z.ZodObject<{
|
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
12
|
s3url: z.ZodNullable<z.ZodString>;
|
|
13
13
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const ragicDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
account_name: string;
|
|
18
18
|
file_reference: string;
|
|
@@ -11,8 +11,8 @@ declare const RagicDownloadFileOutput: z.ZodObject<{
|
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
12
|
s3url: z.ZodNullable<z.ZodString>;
|
|
13
13
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const ragicDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
account_name: string;
|
|
18
18
|
file_reference: string;
|
|
@@ -10,13 +10,13 @@ const RagicDownloadFile_FileDownloadableSchema = z.object({
|
|
|
10
10
|
name: z.string().describe("Name of the file").nullable(),
|
|
11
11
|
s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
12
12
|
mimetype: z.string().describe("Mime type of the file.").nullable()
|
|
13
|
-
});
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const ragicDownloadFile = action("RAGIC_DOWNLOAD_FILE", {
|
|
15
15
|
slug: "ragic-download-file",
|
|
16
16
|
name: "Download File",
|
|
17
17
|
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).",
|
|
18
18
|
input: RagicDownloadFileInput,
|
|
19
|
-
output: z.object({ content: RagicDownloadFile_FileDownloadableSchema.nullable() })
|
|
19
|
+
output: z.object({ content: RagicDownloadFile_FileDownloadableSchema.nullable() }).passthrough()
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { ragicDownloadFile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-file.mjs","names":[],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDownloadFileInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n file_reference: z.string().describe(\"The file reference as returned from API responses (e.g., 'Ni92W2luv@My_Picture.jpg'). This is the encoded filename with hash prefix.\"),\n});\nconst RagicDownloadFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\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;
|
|
1
|
+
{"version":3,"file":"download-file.mjs","names":[],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDownloadFileInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n file_reference: z.string().describe(\"The file reference as returned from API responses (e.g., 'Ni92W2luv@My_Picture.jpg'). This is the encoded filename with hash prefix.\"),\n});\nconst RagicDownloadFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicDownloadFileOutput = z.object({\n content: RagicDownloadFile_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicDownloadFile = action(\"RAGIC_DOWNLOAD_FILE\", {\n slug: \"ragic-download-file\",\n name: \"Download File\",\n description: \"Tool to download uploaded files, images, or email attachments from Ragic. Use the file reference returned from API responses (e.g., from record fields).\",\n input: RagicDownloadFileInput,\n output: RagicDownloadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;AAC5K,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,SAAS,yCAAyC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ const RagicGetActionButtonsInput = zod.z.object({
|
|
|
11
11
|
const RagicGetActionButtons_ActionButtonSchema = zod.z.object({
|
|
12
12
|
id: zod.z.string().describe("The unique identifier of the action button.").nullable(),
|
|
13
13
|
name: zod.z.string().describe("The display name of the action button.").nullable()
|
|
14
|
-
});
|
|
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() });
|
|
14
|
+
}).passthrough();
|
|
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() }).passthrough();
|
|
16
16
|
const ragicGetActionButtons = require_action.action("RAGIC_GET_ACTION_BUTTONS", {
|
|
17
17
|
slug: "ragic-get-action-buttons",
|
|
18
18
|
name: "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.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;
|
|
1
|
+
{"version":3,"file":"get-action-buttons.cjs","names":["z","action"],"sources":["../../src/actions/get-action-buttons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetActionButtonsInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na3', 'www', 'na5', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n category: z.string().describe(\"Filter action buttons by category. Use 'massOperation' to get buttons available for mass operations on multiple records. If not provided, may return HTTP 500 error on some sheets.\").optional(),\n tab_folder: z.string().describe(\"The tab folder path in the Ragic sheet structure.\"),\n sheet_index: z.number().int().describe(\"The sheet index number identifying the specific sheet.\"),\n account_name: z.string().describe(\"The Ragic account name (the subdirectory in your Ragic URL, e.g., 'RSDemo' from 'https://na3.ragic.com/RSDemo/...').\"),\n});\nconst RagicGetActionButtons_ActionButtonSchema = z.object({\n id: z.string().describe(\"The unique identifier of the action button.\").nullable(),\n name: z.string().describe(\"The display name of the action button.\").nullable(),\n}).passthrough();\nexport const RagicGetActionButtonsOutput = z.object({\n actionButtons: z.array(RagicGetActionButtons_ActionButtonSchema).describe(\"List of available action buttons on the specified Ragic sheet.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicGetActionButtons = action(\"RAGIC_GET_ACTION_BUTTONS\", {\n slug: \"ragic-get-action-buttons\",\n name: \"Get Action Buttons\",\n description: \"Tool to retrieve the list of available action buttons on a Ragic sheet. Returns action button IDs and names. Use category=massOperation to get buttons available for mass operations.\",\n input: RagicGetActionButtonsInput,\n output: RagicGetActionButtonsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAC/L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AAC1J,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,8 +12,8 @@ declare const RagicGetActionButtonsOutput: z.ZodObject<{
|
|
|
12
12
|
actionButtons: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
id: z.ZodNullable<z.ZodString>;
|
|
14
14
|
name: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const ragicGetActionButtons: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
tab_folder: string;
|
|
19
19
|
sheet_index: number;
|
|
@@ -12,8 +12,8 @@ declare const RagicGetActionButtonsOutput: z.ZodObject<{
|
|
|
12
12
|
actionButtons: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
13
|
id: z.ZodNullable<z.ZodString>;
|
|
14
14
|
name: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const ragicGetActionButtons: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
tab_folder: string;
|
|
19
19
|
sheet_index: number;
|
|
@@ -11,13 +11,13 @@ const RagicGetActionButtonsInput = z.object({
|
|
|
11
11
|
const RagicGetActionButtons_ActionButtonSchema = z.object({
|
|
12
12
|
id: z.string().describe("The unique identifier of the action button.").nullable(),
|
|
13
13
|
name: z.string().describe("The display name of the action button.").nullable()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const ragicGetActionButtons = action("RAGIC_GET_ACTION_BUTTONS", {
|
|
16
16
|
slug: "ragic-get-action-buttons",
|
|
17
17
|
name: "Get Action Buttons",
|
|
18
18
|
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.",
|
|
19
19
|
input: RagicGetActionButtonsInput,
|
|
20
|
-
output: z.object({ actionButtons: z.array(RagicGetActionButtons_ActionButtonSchema).describe("List of available action buttons on the specified Ragic sheet.").nullable().optional() })
|
|
20
|
+
output: z.object({ actionButtons: z.array(RagicGetActionButtons_ActionButtonSchema).describe("List of available action buttons on the specified Ragic sheet.").nullable().optional() }).passthrough()
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { ragicGetActionButtons };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-action-buttons.mjs","names":[],"sources":["../../src/actions/get-action-buttons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetActionButtonsInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na3', 'www', 'na5', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n category: z.string().describe(\"Filter action buttons by category. Use 'massOperation' to get buttons available for mass operations on multiple records. If not provided, may return HTTP 500 error on some sheets.\").optional(),\n tab_folder: z.string().describe(\"The tab folder path in the Ragic sheet structure.\"),\n sheet_index: z.number().int().describe(\"The sheet index number identifying the specific sheet.\"),\n account_name: z.string().describe(\"The Ragic account name (the subdirectory in your Ragic URL, e.g., 'RSDemo' from 'https://na3.ragic.com/RSDemo/...').\"),\n});\nconst RagicGetActionButtons_ActionButtonSchema = z.object({\n id: z.string().describe(\"The unique identifier of the action button.\").nullable(),\n name: z.string().describe(\"The display name of the action button.\").nullable(),\n});\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;
|
|
1
|
+
{"version":3,"file":"get-action-buttons.mjs","names":[],"sources":["../../src/actions/get-action-buttons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetActionButtonsInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na3', 'www', 'na5', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n category: z.string().describe(\"Filter action buttons by category. Use 'massOperation' to get buttons available for mass operations on multiple records. If not provided, may return HTTP 500 error on some sheets.\").optional(),\n tab_folder: z.string().describe(\"The tab folder path in the Ragic sheet structure.\"),\n sheet_index: z.number().int().describe(\"The sheet index number identifying the specific sheet.\"),\n account_name: z.string().describe(\"The Ragic account name (the subdirectory in your Ragic URL, e.g., 'RSDemo' from 'https://na3.ragic.com/RSDemo/...').\"),\n});\nconst RagicGetActionButtons_ActionButtonSchema = z.object({\n id: z.string().describe(\"The unique identifier of the action button.\").nullable(),\n name: z.string().describe(\"The display name of the action button.\").nullable(),\n}).passthrough();\nexport const RagicGetActionButtonsOutput = z.object({\n actionButtons: z.array(RagicGetActionButtons_ActionButtonSchema).describe(\"List of available action buttons on the specified Ragic sheet.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicGetActionButtons = action(\"RAGIC_GET_ACTION_BUTTONS\", {\n slug: \"ragic-get-action-buttons\",\n name: \"Get Action Buttons\",\n description: \"Tool to retrieve the list of available action buttons on a Ragic sheet. Returns action button IDs and names. Use category=massOperation to get buttons available for mass operations.\",\n input: RagicGetActionButtonsInput,\n output: RagicGetActionButtonsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAC/L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AAC1J,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,eAAe,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -19,8 +19,8 @@ const RagicGetCustomPrintReport_FileDownloadableSchema = zod.z.object({
|
|
|
19
19
|
name: zod.z.string().describe("Name of the file").nullable(),
|
|
20
20
|
s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
21
21
|
mimetype: zod.z.string().describe("Mime type of the file.").nullable()
|
|
22
|
-
});
|
|
23
|
-
const RagicGetCustomPrintReportOutput = zod.z.object({ content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable() });
|
|
22
|
+
}).passthrough();
|
|
23
|
+
const RagicGetCustomPrintReportOutput = zod.z.object({ content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable() }).passthrough();
|
|
24
24
|
const ragicGetCustomPrintReport = require_action.action("RAGIC_GET_CUSTOM_PRINT_REPORT", {
|
|
25
25
|
slug: "ragic-get-custom-print-report",
|
|
26
26
|
name: "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.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;
|
|
1
|
+
{"version":3,"file":"get-custom-print-report.cjs","names":["z","action"],"sources":["../../src/actions/get-custom-print-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetCustomPrintReportInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The ID of the record to retrieve the custom print report for.\"),\n fileFormat: z.enum([\"pdf\", \"png\", \"docx\"]).describe(\"Output format for the custom print report.\"),\n tab_folder: z.string().describe(\"The tab folder path in your Ragic sheet URL.\"),\n sheet_index: z.number().int().describe(\"The sheet index number from your Ragic sheet URL.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n fileNameRefDomainId: z.number().int().describe(\"Optional field ID to use as the filename for the downloaded report.\").optional(),\n ragicCustomPrintTemplateId: z.number().int().describe(\"The custom print template ID to use for generating the report.\"),\n});\nconst RagicGetCustomPrintReport_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicGetCustomPrintReportOutput = z.object({\n content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetCustomPrintReport = action(\"RAGIC_GET_CUSTOM_PRINT_REPORT\", {\n slug: \"ragic-get-custom-print-report\",\n name: \"Get Custom Print Report\",\n description: \"Tool to retrieve a custom print report for a Ragic record in various formats (pdf, png, docx). Use when you need to generate and download a formatted report using a specific template.\",\n input: RagicGetCustomPrintReportInput,\n output: RagicGetCustomPrintReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACpG,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;CAAM,CAAC,CAAC,CAAC,SAAS,4CAA4C;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/H,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;AACxH,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAAS,iDAAiD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,8 +20,8 @@ declare const RagicGetCustomPrintReportOutput: z.ZodObject<{
|
|
|
20
20
|
name: z.ZodNullable<z.ZodString>;
|
|
21
21
|
s3url: z.ZodNullable<z.ZodString>;
|
|
22
22
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const ragicGetCustomPrintReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
record_id: number;
|
|
27
27
|
fileFormat: "pdf" | "png" | "docx";
|
|
@@ -20,8 +20,8 @@ declare const RagicGetCustomPrintReportOutput: z.ZodObject<{
|
|
|
20
20
|
name: z.ZodNullable<z.ZodString>;
|
|
21
21
|
s3url: z.ZodNullable<z.ZodString>;
|
|
22
22
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const ragicGetCustomPrintReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
record_id: number;
|
|
27
27
|
fileFormat: "pdf" | "png" | "docx";
|
|
@@ -19,13 +19,13 @@ const RagicGetCustomPrintReport_FileDownloadableSchema = z.object({
|
|
|
19
19
|
name: z.string().describe("Name of the file").nullable(),
|
|
20
20
|
s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
21
21
|
mimetype: z.string().describe("Mime type of the file.").nullable()
|
|
22
|
-
});
|
|
22
|
+
}).passthrough();
|
|
23
23
|
const ragicGetCustomPrintReport = action("RAGIC_GET_CUSTOM_PRINT_REPORT", {
|
|
24
24
|
slug: "ragic-get-custom-print-report",
|
|
25
25
|
name: "Get Custom Print Report",
|
|
26
26
|
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.",
|
|
27
27
|
input: RagicGetCustomPrintReportInput,
|
|
28
|
-
output: z.object({ content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable() })
|
|
28
|
+
output: z.object({ content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable() }).passthrough()
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { ragicGetCustomPrintReport };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-custom-print-report.mjs","names":[],"sources":["../../src/actions/get-custom-print-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetCustomPrintReportInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The ID of the record to retrieve the custom print report for.\"),\n fileFormat: z.enum([\"pdf\", \"png\", \"docx\"]).describe(\"Output format for the custom print report.\"),\n tab_folder: z.string().describe(\"The tab folder path in your Ragic sheet URL.\"),\n sheet_index: z.number().int().describe(\"The sheet index number from your Ragic sheet URL.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n fileNameRefDomainId: z.number().int().describe(\"Optional field ID to use as the filename for the downloaded report.\").optional(),\n ragicCustomPrintTemplateId: z.number().int().describe(\"The custom print template ID to use for generating the report.\"),\n});\nconst RagicGetCustomPrintReport_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\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;
|
|
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"}
|
|
@@ -12,8 +12,8 @@ const RagicGetRecordAsPdf_FileDownloadableSchema = zod.z.object({
|
|
|
12
12
|
name: zod.z.string().describe("Name of the file").nullable(),
|
|
13
13
|
s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
14
14
|
mimetype: zod.z.string().describe("Mime type of the file.").nullable()
|
|
15
|
-
});
|
|
16
|
-
const RagicGetRecordAsPdfOutput = zod.z.object({ pdf_content: RagicGetRecordAsPdf_FileDownloadableSchema.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.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;
|
|
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"}
|
|
@@ -13,8 +13,8 @@ declare const RagicGetRecordAsPdfOutput: z.ZodObject<{
|
|
|
13
13
|
name: z.ZodNullable<z.ZodString>;
|
|
14
14
|
s3url: z.ZodNullable<z.ZodString>;
|
|
15
15
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const ragicGetRecordAsPdf: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
record_id: number;
|
|
20
20
|
tab_folder: string;
|
|
@@ -13,8 +13,8 @@ declare const RagicGetRecordAsPdfOutput: z.ZodObject<{
|
|
|
13
13
|
name: z.ZodNullable<z.ZodString>;
|
|
14
14
|
s3url: z.ZodNullable<z.ZodString>;
|
|
15
15
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const ragicGetRecordAsPdf: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
record_id: number;
|
|
20
20
|
tab_folder: string;
|
|
@@ -12,13 +12,13 @@ const RagicGetRecordAsPdf_FileDownloadableSchema = z.object({
|
|
|
12
12
|
name: z.string().describe("Name of the file").nullable(),
|
|
13
13
|
s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
14
14
|
mimetype: z.string().describe("Mime type of the file.").nullable()
|
|
15
|
-
});
|
|
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.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;
|
|
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.
|
|
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.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.
|
|
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"}
|
|
@@ -21,9 +21,9 @@ declare const RagicSearchRecordsInput: z.ZodObject<{
|
|
|
21
21
|
ignoreFixedFilter: z.ZodOptional<z.ZodBoolean>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
declare const RagicSearchRecordsOutput: z.ZodObject<{
|
|
24
|
-
records: z.ZodOptional<z.ZodNullable<z.
|
|
24
|
+
records: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
25
|
raw_response: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const ragicSearchRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
sheet_path: string;
|
|
29
29
|
account_name: string;
|
|
@@ -21,9 +21,9 @@ declare const RagicSearchRecordsInput: z.ZodObject<{
|
|
|
21
21
|
ignoreFixedFilter: z.ZodOptional<z.ZodBoolean>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
declare const RagicSearchRecordsOutput: z.ZodObject<{
|
|
24
|
-
records: z.ZodOptional<z.ZodNullable<z.
|
|
24
|
+
records: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
25
|
raw_response: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const ragicSearchRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
sheet_path: string;
|
|
29
29
|
account_name: string;
|
|
@@ -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.
|
|
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.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.
|
|
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
|
@@ -9,11 +9,11 @@ const ragicCatalog = {
|
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
11
|
"credentialFields": {
|
|
12
|
-
"
|
|
12
|
+
"subdomain": {
|
|
13
13
|
"label": "Server Location",
|
|
14
14
|
"description": "The server location for your Ragic account, such as 'na3', 'ap5', or 'eu2'."
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"generic_api_key": {
|
|
17
17
|
"label": "Ragic API Key",
|
|
18
18
|
"secret": true,
|
|
19
19
|
"description": "Your Ragic API key, obtainable from Personal Settings > Profile."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -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 \"credentialFields\": {\n \"
|
|
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 \"subdomain\": {\n \"label\": \"Server Location\",\n \"description\": \"The server location for your Ragic account, such as 'na3', 'ap5', or 'eu2'.\"\n },\n \"generic_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,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,11 +9,11 @@ declare const ragicCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly subdomain: {
|
|
13
13
|
readonly label: "Server Location";
|
|
14
14
|
readonly description: "The server location for your Ragic account, such as 'na3', 'ap5', or 'eu2'.";
|
|
15
15
|
};
|
|
16
|
-
readonly
|
|
16
|
+
readonly generic_api_key: {
|
|
17
17
|
readonly label: "Ragic API Key";
|
|
18
18
|
readonly secret: true;
|
|
19
19
|
readonly description: "Your Ragic API key, obtainable from Personal Settings > Profile.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,11 +9,11 @@ declare const ragicCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly subdomain: {
|
|
13
13
|
readonly label: "Server Location";
|
|
14
14
|
readonly description: "The server location for your Ragic account, such as 'na3', 'ap5', or 'eu2'.";
|
|
15
15
|
};
|
|
16
|
-
readonly
|
|
16
|
+
readonly generic_api_key: {
|
|
17
17
|
readonly label: "Ragic API Key";
|
|
18
18
|
readonly secret: true;
|
|
19
19
|
readonly description: "Your Ragic API key, obtainable from Personal Settings > Profile.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -9,11 +9,11 @@ const ragicCatalog = {
|
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
11
|
"credentialFields": {
|
|
12
|
-
"
|
|
12
|
+
"subdomain": {
|
|
13
13
|
"label": "Server Location",
|
|
14
14
|
"description": "The server location for your Ragic account, such as 'na3', 'ap5', or 'eu2'."
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"generic_api_key": {
|
|
17
17
|
"label": "Ragic API Key",
|
|
18
18
|
"secret": true,
|
|
19
19
|
"description": "Your Ragic API key, obtainable from Personal Settings > Profile."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -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 \"credentialFields\": {\n \"
|
|
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 \"subdomain\": {\n \"label\": \"Server Location\",\n \"description\": \"The server location for your Ragic account, such as 'na3', 'ap5', or 'eu2'.\"\n },\n \"generic_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,aAAa;GACX,SAAS;GACT,eAAe;EACjB;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|