@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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/delete-entry.cjs +2 -2
- package/dist/actions/delete-entry.cjs.map +1 -1
- package/dist/actions/delete-entry.d.cts +20 -3
- package/dist/actions/delete-entry.d.cts.map +1 -1
- package/dist/actions/delete-entry.d.mts +20 -3
- package/dist/actions/delete-entry.d.mts.map +1 -1
- package/dist/actions/delete-entry.mjs +2 -2
- package/dist/actions/delete-entry.mjs.map +1 -1
- package/dist/actions/download-file.cjs +5 -5
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +17 -3
- package/dist/actions/download-file.d.cts.map +1 -1
- package/dist/actions/download-file.d.mts +17 -3
- package/dist/actions/download-file.d.mts.map +1 -1
- package/dist/actions/download-file.mjs +5 -5
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/get-action-buttons.cjs +4 -4
- package/dist/actions/get-action-buttons.cjs.map +1 -1
- package/dist/actions/get-action-buttons.d.cts +20 -3
- package/dist/actions/get-action-buttons.d.cts.map +1 -1
- package/dist/actions/get-action-buttons.d.mts +20 -3
- package/dist/actions/get-action-buttons.d.mts.map +1 -1
- package/dist/actions/get-action-buttons.mjs +4 -4
- package/dist/actions/get-action-buttons.mjs.map +1 -1
- package/dist/actions/get-custom-print-report.cjs +5 -5
- package/dist/actions/get-custom-print-report.cjs.map +1 -1
- package/dist/actions/get-custom-print-report.d.cts +31 -3
- package/dist/actions/get-custom-print-report.d.cts.map +1 -1
- package/dist/actions/get-custom-print-report.d.mts +31 -3
- package/dist/actions/get-custom-print-report.d.mts.map +1 -1
- package/dist/actions/get-custom-print-report.mjs +5 -5
- package/dist/actions/get-custom-print-report.mjs.map +1 -1
- package/dist/actions/get-entry.cjs.map +1 -1
- package/dist/actions/get-entry.d.cts +25 -3
- package/dist/actions/get-entry.d.cts.map +1 -1
- package/dist/actions/get-entry.d.mts +25 -3
- package/dist/actions/get-entry.d.mts.map +1 -1
- package/dist/actions/get-entry.mjs.map +1 -1
- package/dist/actions/get-record-as-pdf.cjs +5 -5
- package/dist/actions/get-record-as-pdf.cjs.map +1 -1
- package/dist/actions/get-record-as-pdf.d.cts +21 -3
- package/dist/actions/get-record-as-pdf.d.cts.map +1 -1
- package/dist/actions/get-record-as-pdf.d.mts +21 -3
- package/dist/actions/get-record-as-pdf.d.mts.map +1 -1
- package/dist/actions/get-record-as-pdf.mjs +5 -5
- 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 +42 -3
- package/dist/actions/search-records.d.cts.map +1 -1
- package/dist/actions/search-records.d.mts +42 -3
- package/dist/actions/search-records.d.mts.map +1 -1
- package/dist/actions/search-records.mjs +2 -2
- package/dist/actions/search-records.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["ragic","executeRagicTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ragic } from \"./app\";\nimport { executeRagicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["ragic","executeRagicTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ragic } from \"./app\";\nimport { executeRagicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return ragic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRagicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ragic } from \"./app\";\nimport { executeRagicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ragic } from \"./app\";\nimport { executeRagicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return ragic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRagicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
|
@@ -9,11 +9,11 @@ const RagicDeleteEntryInput = zod.z.object({
|
|
|
9
9
|
account_name: zod.z.string().describe("Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').")
|
|
10
10
|
});
|
|
11
11
|
const RagicDeleteEntryOutput = zod.z.object({
|
|
12
|
-
msg: zod.z.string().describe("Message returned by the API indicating the result of the delete operation."),
|
|
12
|
+
msg: zod.z.string().describe("Message returned by the API indicating the result of the delete operation.").nullable(),
|
|
13
13
|
code: zod.z.string().describe("Error code returned by the API, if applicable.").nullable().optional(),
|
|
14
14
|
status: zod.z.string().describe("Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).").nullable().optional(),
|
|
15
15
|
ragicId: zod.z.number().int().describe("The ID of the deleted record.").nullable().optional()
|
|
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
|
|
1
|
+
{"version":3,"file":"delete-entry.cjs","names":["z","action"],"sources":["../../src/actions/delete-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDeleteEntryInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The record ID of the entry to delete.\"),\n tab_folder: z.string().describe(\"The tab folder path for the sheet (e.g., 'ragic-setup' or 'sales').\"),\n sheet_index: z.number().int().describe(\"The sheet index number.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n});\nexport const RagicDeleteEntryOutput = z.object({\n msg: z.string().describe(\"Message returned by the API indicating the result of the delete operation.\").nullable(),\n code: z.string().describe(\"Error code returned by the API, if applicable.\").nullable().optional(),\n status: z.string().describe(\"Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).\").nullable().optional(),\n ragicId: z.number().int().describe(\"The ID of the deleted record.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicDeleteEntry = action(\"RAGIC_DELETE_ENTRY\", {\n slug: \"ragic-delete-entry\",\n name: \"Delete Entry\",\n description: \"Tool to delete an entry from a Ragic sheet. Use when you need to remove a specific record from a sheet by its record ID.\",\n input: RagicDeleteEntryInput,\n output: RagicDeleteEntryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAChE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;AAC/J,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-entry.d.ts
|
|
4
|
-
declare const RagicDeleteEntryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RagicDeleteEntryInput: z.ZodObject<{
|
|
5
|
+
server: z.ZodOptional<z.ZodString>;
|
|
6
|
+
record_id: z.ZodNumber;
|
|
7
|
+
tab_folder: z.ZodString;
|
|
8
|
+
sheet_index: z.ZodNumber;
|
|
9
|
+
account_name: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const RagicDeleteEntryOutput: z.ZodObject<{
|
|
12
|
+
msg: z.ZodNullable<z.ZodString>;
|
|
13
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
ragicId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const ragicDeleteEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
record_id: number;
|
|
19
|
+
tab_folder: string;
|
|
20
|
+
sheet_index: number;
|
|
21
|
+
account_name: string;
|
|
22
|
+
server?: string | undefined;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { ragicDeleteEntry };
|
|
9
26
|
//# sourceMappingURL=delete-entry.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-entry.d.cts","names":[],"sources":["../../src/actions/delete-entry.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"delete-entry.d.cts","names":[],"sources":["../../src/actions/delete-entry.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAOrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAOtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-entry.d.ts
|
|
4
|
-
declare const RagicDeleteEntryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RagicDeleteEntryInput: z.ZodObject<{
|
|
5
|
+
server: z.ZodOptional<z.ZodString>;
|
|
6
|
+
record_id: z.ZodNumber;
|
|
7
|
+
tab_folder: z.ZodString;
|
|
8
|
+
sheet_index: z.ZodNumber;
|
|
9
|
+
account_name: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const RagicDeleteEntryOutput: z.ZodObject<{
|
|
12
|
+
msg: z.ZodNullable<z.ZodString>;
|
|
13
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
ragicId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const ragicDeleteEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
record_id: number;
|
|
19
|
+
tab_folder: string;
|
|
20
|
+
sheet_index: number;
|
|
21
|
+
account_name: string;
|
|
22
|
+
server?: string | undefined;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { ragicDeleteEntry };
|
|
9
26
|
//# sourceMappingURL=delete-entry.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-entry.d.mts","names":[],"sources":["../../src/actions/delete-entry.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"delete-entry.d.mts","names":[],"sources":["../../src/actions/delete-entry.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAOrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAOtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -12,11 +12,11 @@ const ragicDeleteEntry = action("RAGIC_DELETE_ENTRY", {
|
|
|
12
12
|
account_name: z.string().describe("Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').")
|
|
13
13
|
}),
|
|
14
14
|
output: z.object({
|
|
15
|
-
msg: z.string().describe("Message returned by the API indicating the result of the delete operation."),
|
|
15
|
+
msg: z.string().describe("Message returned by the API indicating the result of the delete operation.").nullable(),
|
|
16
16
|
code: z.string().describe("Error code returned by the API, if applicable.").nullable().optional(),
|
|
17
17
|
status: z.string().describe("Status of the delete operation, typically 'SUCCESS' or 'ERROR' (for error responses).").nullable().optional(),
|
|
18
18
|
ragicId: z.number().int().describe("The ID of the deleted record.").nullable().optional()
|
|
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
|
|
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"}
|
|
@@ -7,11 +7,11 @@ const RagicDownloadFileInput = zod.z.object({
|
|
|
7
7
|
file_reference: zod.z.string().describe("The file reference as returned from API responses (e.g., 'Ni92W2luv@My_Picture.jpg'). This is the encoded filename with hash prefix.")
|
|
8
8
|
});
|
|
9
9
|
const RagicDownloadFile_FileDownloadableSchema = zod.z.object({
|
|
10
|
-
name: zod.z.string().describe("Name of the file"),
|
|
11
|
-
s3url: zod.z.string().describe("S3 URL of the downloaded file."),
|
|
12
|
-
mimetype: zod.z.string().describe("Mime type of the file.")
|
|
13
|
-
});
|
|
14
|
-
const RagicDownloadFileOutput = zod.z.object({ content: RagicDownloadFile_FileDownloadableSchema.nullable() });
|
|
10
|
+
name: zod.z.string().describe("Name of the file").nullable(),
|
|
11
|
+
s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
12
|
+
mimetype: zod.z.string().describe("Mime type of the file.").nullable()
|
|
13
|
+
}).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
|
|
1
|
+
{"version":3,"file":"download-file.cjs","names":["z","action"],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicDownloadFileInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n file_reference: z.string().describe(\"The file reference as returned from API responses (e.g., 'Ni92W2luv@My_Picture.jpg'). This is the encoded filename with hash prefix.\"),\n});\nconst RagicDownloadFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicDownloadFileOutput = z.object({\n content: RagicDownloadFile_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicDownloadFile = action(\"RAGIC_DOWNLOAD_FILE\", {\n slug: \"ragic-download-file\",\n name: \"Download File\",\n description: \"Tool to download uploaded files, images, or email attachments from Ragic. Use the file reference returned from API responses (e.g., from record fields).\",\n input: RagicDownloadFileInput,\n output: RagicDownloadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;AAC5K,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAAS,yCAAyC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/download-file.d.ts
|
|
4
|
-
declare const RagicDownloadFileInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RagicDownloadFileInput: z.ZodObject<{
|
|
5
|
+
server: z.ZodOptional<z.ZodString>;
|
|
6
|
+
account_name: z.ZodString;
|
|
7
|
+
file_reference: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RagicDownloadFileOutput: z.ZodObject<{
|
|
10
|
+
content: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
s3url: z.ZodNullable<z.ZodString>;
|
|
13
|
+
mimetype: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const ragicDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
account_name: string;
|
|
18
|
+
file_reference: string;
|
|
19
|
+
server?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { ragicDownloadFile };
|
|
9
23
|
//# sourceMappingURL=download-file.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-file.d.cts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"download-file.d.cts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAUtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/download-file.d.ts
|
|
4
|
-
declare const RagicDownloadFileInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RagicDownloadFileInput: z.ZodObject<{
|
|
5
|
+
server: z.ZodOptional<z.ZodString>;
|
|
6
|
+
account_name: z.ZodString;
|
|
7
|
+
file_reference: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RagicDownloadFileOutput: z.ZodObject<{
|
|
10
|
+
content: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
s3url: z.ZodNullable<z.ZodString>;
|
|
13
|
+
mimetype: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const ragicDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
account_name: string;
|
|
18
|
+
file_reference: string;
|
|
19
|
+
server?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { ragicDownloadFile };
|
|
9
23
|
//# sourceMappingURL=download-file.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-file.d.mts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"download-file.d.mts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAUtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -7,16 +7,16 @@ const RagicDownloadFileInput = z.object({
|
|
|
7
7
|
file_reference: z.string().describe("The file reference as returned from API responses (e.g., 'Ni92W2luv@My_Picture.jpg'). This is the encoded filename with hash prefix.")
|
|
8
8
|
});
|
|
9
9
|
const RagicDownloadFile_FileDownloadableSchema = z.object({
|
|
10
|
-
name: z.string().describe("Name of the file"),
|
|
11
|
-
s3url: z.string().describe("S3 URL of the downloaded file."),
|
|
12
|
-
mimetype: z.string().describe("Mime type of the file.")
|
|
13
|
-
});
|
|
10
|
+
name: z.string().describe("Name of the file").nullable(),
|
|
11
|
+
s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
12
|
+
mimetype: z.string().describe("Mime type of the file.").nullable()
|
|
13
|
+
}).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
|
|
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"}
|
|
@@ -9,10 +9,10 @@ const RagicGetActionButtonsInput = zod.z.object({
|
|
|
9
9
|
account_name: zod.z.string().describe("The Ragic account name (the subdirectory in your Ragic URL, e.g., 'RSDemo' from 'https://na3.ragic.com/RSDemo/...').")
|
|
10
10
|
});
|
|
11
11
|
const RagicGetActionButtons_ActionButtonSchema = zod.z.object({
|
|
12
|
-
id: zod.z.string().describe("The unique identifier of the action button."),
|
|
13
|
-
name: zod.z.string().describe("The display name of the action button.")
|
|
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() });
|
|
12
|
+
id: zod.z.string().describe("The unique identifier of the action button.").nullable(),
|
|
13
|
+
name: zod.z.string().describe("The display name of the action button.").nullable()
|
|
14
|
+
}).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
|
|
1
|
+
{"version":3,"file":"get-action-buttons.cjs","names":["z","action"],"sources":["../../src/actions/get-action-buttons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetActionButtonsInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na3', 'www', 'na5', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n category: z.string().describe(\"Filter action buttons by category. Use 'massOperation' to get buttons available for mass operations on multiple records. If not provided, may return HTTP 500 error on some sheets.\").optional(),\n tab_folder: z.string().describe(\"The tab folder path in the Ragic sheet structure.\"),\n sheet_index: z.number().int().describe(\"The sheet index number identifying the specific sheet.\"),\n account_name: z.string().describe(\"The Ragic account name (the subdirectory in your Ragic URL, e.g., 'RSDemo' from 'https://na3.ragic.com/RSDemo/...').\"),\n});\nconst RagicGetActionButtons_ActionButtonSchema = z.object({\n id: z.string().describe(\"The unique identifier of the action button.\").nullable(),\n name: z.string().describe(\"The display name of the action button.\").nullable(),\n}).passthrough();\nexport const RagicGetActionButtonsOutput = z.object({\n actionButtons: z.array(RagicGetActionButtons_ActionButtonSchema).describe(\"List of available action buttons on the specified Ragic sheet.\").nullable().optional(),\n}).passthrough();\n\nexport const ragicGetActionButtons = action(\"RAGIC_GET_ACTION_BUTTONS\", {\n slug: \"ragic-get-action-buttons\",\n name: \"Get Action Buttons\",\n description: \"Tool to retrieve the list of available action buttons on a Ragic sheet. Returns action button IDs and names. Use category=massOperation to get buttons available for mass operations.\",\n input: RagicGetActionButtonsInput,\n output: RagicGetActionButtonsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAC/L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AAC1J,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,eAAeA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-action-buttons.d.ts
|
|
4
|
-
declare const RagicGetActionButtonsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RagicGetActionButtonsInput: z.ZodObject<{
|
|
5
|
+
server: z.ZodOptional<z.ZodString>;
|
|
6
|
+
category: z.ZodOptional<z.ZodString>;
|
|
7
|
+
tab_folder: z.ZodString;
|
|
8
|
+
sheet_index: z.ZodNumber;
|
|
9
|
+
account_name: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const RagicGetActionButtonsOutput: z.ZodObject<{
|
|
12
|
+
actionButtons: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const ragicGetActionButtons: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
tab_folder: string;
|
|
19
|
+
sheet_index: number;
|
|
20
|
+
account_name: string;
|
|
21
|
+
server?: string | undefined;
|
|
22
|
+
category?: string | undefined;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { ragicGetActionButtons };
|
|
9
26
|
//# sourceMappingURL=get-action-buttons.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-action-buttons.d.cts","names":[],"sources":["../../src/actions/get-action-buttons.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-action-buttons.d.cts","names":[],"sources":["../../src/actions/get-action-buttons.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-action-buttons.d.ts
|
|
4
|
-
declare const RagicGetActionButtonsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RagicGetActionButtonsInput: z.ZodObject<{
|
|
5
|
+
server: z.ZodOptional<z.ZodString>;
|
|
6
|
+
category: z.ZodOptional<z.ZodString>;
|
|
7
|
+
tab_folder: z.ZodString;
|
|
8
|
+
sheet_index: z.ZodNumber;
|
|
9
|
+
account_name: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const RagicGetActionButtonsOutput: z.ZodObject<{
|
|
12
|
+
actionButtons: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const ragicGetActionButtons: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
tab_folder: string;
|
|
19
|
+
sheet_index: number;
|
|
20
|
+
account_name: string;
|
|
21
|
+
server?: string | undefined;
|
|
22
|
+
category?: string | undefined;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { ragicGetActionButtons };
|
|
9
26
|
//# sourceMappingURL=get-action-buttons.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-action-buttons.d.mts","names":[],"sources":["../../src/actions/get-action-buttons.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-action-buttons.d.mts","names":[],"sources":["../../src/actions/get-action-buttons.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -9,15 +9,15 @@ const RagicGetActionButtonsInput = z.object({
|
|
|
9
9
|
account_name: z.string().describe("The Ragic account name (the subdirectory in your Ragic URL, e.g., 'RSDemo' from 'https://na3.ragic.com/RSDemo/...').")
|
|
10
10
|
});
|
|
11
11
|
const RagicGetActionButtons_ActionButtonSchema = z.object({
|
|
12
|
-
id: z.string().describe("The unique identifier of the action button."),
|
|
13
|
-
name: z.string().describe("The display name of the action button.")
|
|
14
|
-
});
|
|
12
|
+
id: z.string().describe("The unique identifier of the action button.").nullable(),
|
|
13
|
+
name: z.string().describe("The display name of the action button.").nullable()
|
|
14
|
+
}).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
|
|
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"}
|
|
@@ -16,11 +16,11 @@ const RagicGetCustomPrintReportInput = zod.z.object({
|
|
|
16
16
|
ragicCustomPrintTemplateId: zod.z.number().int().describe("The custom print template ID to use for generating the report.")
|
|
17
17
|
});
|
|
18
18
|
const RagicGetCustomPrintReport_FileDownloadableSchema = zod.z.object({
|
|
19
|
-
name: zod.z.string().describe("Name of the file"),
|
|
20
|
-
s3url: zod.z.string().describe("S3 URL of the downloaded file."),
|
|
21
|
-
mimetype: zod.z.string().describe("Mime type of the file.")
|
|
22
|
-
});
|
|
23
|
-
const RagicGetCustomPrintReportOutput = zod.z.object({ content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable() });
|
|
19
|
+
name: zod.z.string().describe("Name of the file").nullable(),
|
|
20
|
+
s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
21
|
+
mimetype: zod.z.string().describe("Mime type of the file.").nullable()
|
|
22
|
+
}).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
|
|
1
|
+
{"version":3,"file":"get-custom-print-report.cjs","names":["z","action"],"sources":["../../src/actions/get-custom-print-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagicGetCustomPrintReportInput = z.object({\n server: z.string().describe(\"Ragic server subdomain (e.g., 'na5', 'www', 'ap5', 'eu2'). If provided, overrides the default server. Check your Ragic URL to find your server.\").optional(),\n record_id: z.number().int().describe(\"The ID of the record to retrieve the custom print report for.\"),\n fileFormat: z.enum([\"pdf\", \"png\", \"docx\"]).describe(\"Output format for the custom print report.\"),\n tab_folder: z.string().describe(\"The tab folder path in your Ragic sheet URL.\"),\n sheet_index: z.number().int().describe(\"The sheet index number from your Ragic sheet URL.\"),\n account_name: z.string().describe(\"Your Ragic account name (the subdirectory in your Ragic URL, e.g., 'composio' from 'https://na5.ragic.com/composio/...').\"),\n fileNameRefDomainId: z.number().int().describe(\"Optional field ID to use as the filename for the downloaded report.\").optional(),\n ragicCustomPrintTemplateId: z.number().int().describe(\"The custom print template ID to use for generating the report.\"),\n});\nconst RagicGetCustomPrintReport_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const RagicGetCustomPrintReportOutput = z.object({\n content: RagicGetCustomPrintReport_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const ragicGetCustomPrintReport = action(\"RAGIC_GET_CUSTOM_PRINT_REPORT\", {\n slug: \"ragic-get-custom-print-report\",\n name: \"Get Custom Print Report\",\n description: \"Tool to retrieve a custom print report for a Ragic record in various formats (pdf, png, docx). Use when you need to generate and download a formatted report using a specific template.\",\n input: RagicGetCustomPrintReportInput,\n output: RagicGetCustomPrintReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACxL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACpG,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;CAAM,CAAC,CAAC,CAAC,SAAS,4CAA4C;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC7J,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/H,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;AACxH,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAAS,iDAAiD,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-custom-print-report.d.ts
|
|
4
|
-
declare const RagicGetCustomPrintReportInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RagicGetCustomPrintReportInput: z.ZodObject<{
|
|
5
|
+
server: z.ZodOptional<z.ZodString>;
|
|
6
|
+
record_id: z.ZodNumber;
|
|
7
|
+
fileFormat: z.ZodEnum<{
|
|
8
|
+
pdf: "pdf";
|
|
9
|
+
png: "png";
|
|
10
|
+
docx: "docx";
|
|
11
|
+
}>;
|
|
12
|
+
tab_folder: z.ZodString;
|
|
13
|
+
sheet_index: z.ZodNumber;
|
|
14
|
+
account_name: z.ZodString;
|
|
15
|
+
fileNameRefDomainId: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
ragicCustomPrintTemplateId: z.ZodNumber;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const RagicGetCustomPrintReportOutput: z.ZodObject<{
|
|
19
|
+
content: z.ZodNullable<z.ZodObject<{
|
|
20
|
+
name: z.ZodNullable<z.ZodString>;
|
|
21
|
+
s3url: z.ZodNullable<z.ZodString>;
|
|
22
|
+
mimetype: z.ZodNullable<z.ZodString>;
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
declare const ragicGetCustomPrintReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
record_id: number;
|
|
27
|
+
fileFormat: "pdf" | "png" | "docx";
|
|
28
|
+
tab_folder: string;
|
|
29
|
+
sheet_index: number;
|
|
30
|
+
account_name: string;
|
|
31
|
+
ragicCustomPrintTemplateId: number;
|
|
32
|
+
server?: string | undefined;
|
|
33
|
+
fileNameRefDomainId?: number | undefined;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { ragicGetCustomPrintReport };
|
|
9
37
|
//# sourceMappingURL=get-custom-print-report.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-custom-print-report.d.cts","names":[],"sources":["../../src/actions/get-custom-print-report.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-custom-print-report.d.cts","names":[],"sources":["../../src/actions/get-custom-print-report.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-custom-print-report.d.ts
|
|
4
|
-
declare const RagicGetCustomPrintReportInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RagicGetCustomPrintReportInput: z.ZodObject<{
|
|
5
|
+
server: z.ZodOptional<z.ZodString>;
|
|
6
|
+
record_id: z.ZodNumber;
|
|
7
|
+
fileFormat: z.ZodEnum<{
|
|
8
|
+
pdf: "pdf";
|
|
9
|
+
png: "png";
|
|
10
|
+
docx: "docx";
|
|
11
|
+
}>;
|
|
12
|
+
tab_folder: z.ZodString;
|
|
13
|
+
sheet_index: z.ZodNumber;
|
|
14
|
+
account_name: z.ZodString;
|
|
15
|
+
fileNameRefDomainId: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
ragicCustomPrintTemplateId: z.ZodNumber;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const RagicGetCustomPrintReportOutput: z.ZodObject<{
|
|
19
|
+
content: z.ZodNullable<z.ZodObject<{
|
|
20
|
+
name: z.ZodNullable<z.ZodString>;
|
|
21
|
+
s3url: z.ZodNullable<z.ZodString>;
|
|
22
|
+
mimetype: z.ZodNullable<z.ZodString>;
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
declare const ragicGetCustomPrintReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
record_id: number;
|
|
27
|
+
fileFormat: "pdf" | "png" | "docx";
|
|
28
|
+
tab_folder: string;
|
|
29
|
+
sheet_index: number;
|
|
30
|
+
account_name: string;
|
|
31
|
+
ragicCustomPrintTemplateId: number;
|
|
32
|
+
server?: string | undefined;
|
|
33
|
+
fileNameRefDomainId?: number | undefined;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { ragicGetCustomPrintReport };
|
|
9
37
|
//# sourceMappingURL=get-custom-print-report.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-custom-print-report.d.mts","names":[],"sources":["../../src/actions/get-custom-print-report.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-custom-print-report.d.mts","names":[],"sources":["../../src/actions/get-custom-print-report.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -16,16 +16,16 @@ const RagicGetCustomPrintReportInput = z.object({
|
|
|
16
16
|
ragicCustomPrintTemplateId: z.number().int().describe("The custom print template ID to use for generating the report.")
|
|
17
17
|
});
|
|
18
18
|
const RagicGetCustomPrintReport_FileDownloadableSchema = z.object({
|
|
19
|
-
name: z.string().describe("Name of the file"),
|
|
20
|
-
s3url: z.string().describe("S3 URL of the downloaded file."),
|
|
21
|
-
mimetype: z.string().describe("Mime type of the file.")
|
|
22
|
-
});
|
|
19
|
+
name: z.string().describe("Name of the file").nullable(),
|
|
20
|
+
s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
21
|
+
mimetype: z.string().describe("Mime type of the file.").nullable()
|
|
22
|
+
}).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 };
|