@keystrokehq/procfu 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/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/array-diff-del.cjs +1 -1
- package/dist/actions/array-diff-del.cjs.map +1 -1
- package/dist/actions/array-diff-del.d.cts +11 -3
- package/dist/actions/array-diff-del.d.cts.map +1 -1
- package/dist/actions/array-diff-del.d.mts +11 -3
- package/dist/actions/array-diff-del.d.mts.map +1 -1
- package/dist/actions/array-diff-del.mjs +1 -1
- package/dist/actions/array-diff-del.mjs.map +1 -1
- package/dist/actions/array-diff-new.cjs +1 -1
- package/dist/actions/array-diff-new.cjs.map +1 -1
- package/dist/actions/array-diff-new.d.cts +11 -3
- package/dist/actions/array-diff-new.d.cts.map +1 -1
- package/dist/actions/array-diff-new.d.mts +11 -3
- package/dist/actions/array-diff-new.d.mts.map +1 -1
- package/dist/actions/array-diff-new.mjs +1 -1
- package/dist/actions/array-diff-new.mjs.map +1 -1
- package/dist/actions/array-diff-same.cjs +1 -1
- package/dist/actions/array-diff-same.cjs.map +1 -1
- package/dist/actions/array-diff-same.d.cts +11 -3
- package/dist/actions/array-diff-same.d.cts.map +1 -1
- package/dist/actions/array-diff-same.d.mts +11 -3
- package/dist/actions/array-diff-same.d.mts.map +1 -1
- package/dist/actions/array-diff-same.mjs +1 -1
- package/dist/actions/array-diff-same.mjs.map +1 -1
- package/dist/actions/array-sort.cjs.map +1 -1
- package/dist/actions/array-sort.d.cts +9 -3
- package/dist/actions/array-sort.d.cts.map +1 -1
- package/dist/actions/array-sort.d.mts +9 -3
- package/dist/actions/array-sort.d.mts.map +1 -1
- package/dist/actions/array-sort.mjs.map +1 -1
- package/dist/actions/copy-podio-files-to-ftp.cjs +1 -1
- package/dist/actions/copy-podio-files-to-ftp.cjs.map +1 -1
- package/dist/actions/copy-podio-files-to-ftp.d.cts +15 -3
- package/dist/actions/copy-podio-files-to-ftp.d.cts.map +1 -1
- package/dist/actions/copy-podio-files-to-ftp.d.mts +15 -3
- package/dist/actions/copy-podio-files-to-ftp.d.mts.map +1 -1
- package/dist/actions/copy-podio-files-to-ftp.mjs +1 -1
- package/dist/actions/copy-podio-files-to-ftp.mjs.map +1 -1
- package/dist/actions/dummy-data.cjs +1 -1
- package/dist/actions/dummy-data.cjs.map +1 -1
- package/dist/actions/dummy-data.d.cts +57 -3
- package/dist/actions/dummy-data.d.cts.map +1 -1
- package/dist/actions/dummy-data.d.mts +57 -3
- package/dist/actions/dummy-data.d.mts.map +1 -1
- package/dist/actions/dummy-data.mjs +1 -1
- package/dist/actions/dummy-data.mjs.map +1 -1
- package/dist/actions/google-drive-delete.cjs +1 -1
- package/dist/actions/google-drive-delete.cjs.map +1 -1
- package/dist/actions/google-drive-delete.d.cts +9 -3
- package/dist/actions/google-drive-delete.d.cts.map +1 -1
- package/dist/actions/google-drive-delete.d.mts +9 -3
- package/dist/actions/google-drive-delete.d.mts.map +1 -1
- package/dist/actions/google-drive-delete.mjs +1 -1
- package/dist/actions/google-drive-delete.mjs.map +1 -1
- package/dist/actions/open-ai-gpt.cjs +1 -1
- package/dist/actions/open-ai-gpt.cjs.map +1 -1
- package/dist/actions/open-ai-gpt.d.cts +11 -3
- package/dist/actions/open-ai-gpt.d.cts.map +1 -1
- package/dist/actions/open-ai-gpt.d.mts +11 -3
- package/dist/actions/open-ai-gpt.d.mts.map +1 -1
- package/dist/actions/open-ai-gpt.mjs +1 -1
- package/dist/actions/open-ai-gpt.mjs.map +1 -1
- package/dist/actions/open-ai-image.cjs +1 -1
- package/dist/actions/open-ai-image.cjs.map +1 -1
- package/dist/actions/open-ai-image.d.cts +15 -3
- package/dist/actions/open-ai-image.d.cts.map +1 -1
- package/dist/actions/open-ai-image.d.mts +15 -3
- package/dist/actions/open-ai-image.d.mts.map +1 -1
- package/dist/actions/open-ai-image.mjs +1 -1
- package/dist/actions/open-ai-image.mjs.map +1 -1
- package/dist/actions/sheets-get-metadata.cjs +3 -3
- package/dist/actions/sheets-get-metadata.cjs.map +1 -1
- package/dist/actions/sheets-get-metadata.d.cts +18 -3
- package/dist/actions/sheets-get-metadata.d.cts.map +1 -1
- package/dist/actions/sheets-get-metadata.d.mts +18 -3
- package/dist/actions/sheets-get-metadata.d.mts.map +1 -1
- package/dist/actions/sheets-get-metadata.mjs +3 -3
- package/dist/actions/sheets-get-metadata.mjs.map +1 -1
- package/dist/actions/sheets-get.cjs +1 -1
- package/dist/actions/sheets-get.cjs.map +1 -1
- package/dist/actions/sheets-get.d.cts +11 -3
- package/dist/actions/sheets-get.d.cts.map +1 -1
- package/dist/actions/sheets-get.d.mts +11 -3
- package/dist/actions/sheets-get.d.mts.map +1 -1
- package/dist/actions/sheets-get.mjs +1 -1
- package/dist/actions/sheets-get.mjs.map +1 -1
- package/dist/actions/upload-podio-item-image.cjs +1 -1
- package/dist/actions/upload-podio-item-image.cjs.map +1 -1
- package/dist/actions/upload-podio-item-image.d.cts +19 -3
- package/dist/actions/upload-podio-item-image.d.cts.map +1 -1
- package/dist/actions/upload-podio-item-image.d.mts +19 -3
- package/dist/actions/upload-podio-item-image.d.mts.map +1 -1
- package/dist/actions/upload-podio-item-image.mjs +1 -1
- package/dist/actions/upload-podio-item-image.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["procfu","executeProcfuTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { procfu } from \"./app\";\nimport { executeProcfuTool } 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":["procfu","executeProcfuTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { procfu } from \"./app\";\nimport { executeProcfuTool } 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 procfu.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 executeProcfuTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,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,kBAAkB,MAAM,KAAgC,CAAC;EACzF;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 { procfu } from \"./app\";\nimport { executeProcfuTool } 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 { procfu } from \"./app\";\nimport { executeProcfuTool } 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 procfu.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 executeProcfuTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
|
@@ -23,7 +23,7 @@ const ProcfuArrayDiffDelOutput = zod.z.object({ removed_items: zod.z.array(zod.z
|
|
|
23
23
|
zod.z.number(),
|
|
24
24
|
zod.z.boolean(),
|
|
25
25
|
zod.z.record(zod.z.string(), zod.z.unknown())
|
|
26
|
-
])).describe("Elements present in the first array that were removed in the second") });
|
|
26
|
+
])).describe("Elements present in the first array that were removed in the second") }).passthrough();
|
|
27
27
|
const procfuArrayDiffDel = require_action.action("PROCFU_ARRAY_DIFF_DEL", {
|
|
28
28
|
slug: "procfu-array-diff-del",
|
|
29
29
|
name: "Array Difference Deletions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-diff-del.cjs","names":["z","action"],"sources":["../../src/actions/array-diff-del.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArrayDiffDelInput
|
|
1
|
+
{"version":3,"file":"array-diff-del.cjs","names":["z","action"],"sources":["../../src/actions/array-diff-del.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArrayDiffDelInput = z.object({\n json_array_a: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"First JSON array to compare against the second array\"),\n json_array_b: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"Second JSON array to compare against the first array\"),\n});\nexport const ProcfuArrayDiffDelOutput = z.object({\n removed_items: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"Elements present in the first array that were removed in the second\"),\n}).passthrough();\n\nexport const procfuArrayDiffDel = action(\"PROCFU_ARRAY_DIFF_DEL\", {\n slug: \"procfu-array-diff-del\",\n name: \"Array Difference Deletions\",\n description: \"Tool to return items removed when comparing two JSON arrays. Use when you have two arrays and need to know which elements were deleted.\",\n input: ProcfuArrayDiffDelInput,\n output: ProcfuArrayDiffDelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;CAC1L,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAC5L,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;CAAGA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,QAAQ;CAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;AAAC,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,EAC5M,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/array-diff-del.d.ts
|
|
4
|
-
declare const ProcfuArrayDiffDelInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProcfuArrayDiffDelInput: z.ZodObject<{
|
|
5
|
+
json_array_a: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
6
|
+
json_array_b: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ProcfuArrayDiffDelOutput: z.ZodObject<{
|
|
9
|
+
removed_items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const procfuArrayDiffDel: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
json_array_a: (string | number | boolean | Record<string, unknown>)[];
|
|
13
|
+
json_array_b: (string | number | boolean | Record<string, unknown>)[];
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { procfuArrayDiffDel };
|
|
9
17
|
//# sourceMappingURL=array-diff-del.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-diff-del.d.cts","names":[],"sources":["../../src/actions/array-diff-del.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"array-diff-del.d.cts","names":[],"sources":["../../src/actions/array-diff-del.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA;6CAM7B,MAAA;6CAAA,MAAA;AAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/array-diff-del.d.ts
|
|
4
|
-
declare const ProcfuArrayDiffDelInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProcfuArrayDiffDelInput: z.ZodObject<{
|
|
5
|
+
json_array_a: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
6
|
+
json_array_b: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ProcfuArrayDiffDelOutput: z.ZodObject<{
|
|
9
|
+
removed_items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const procfuArrayDiffDel: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
json_array_a: (string | number | boolean | Record<string, unknown>)[];
|
|
13
|
+
json_array_b: (string | number | boolean | Record<string, unknown>)[];
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { procfuArrayDiffDel };
|
|
9
17
|
//# sourceMappingURL=array-diff-del.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-diff-del.d.mts","names":[],"sources":["../../src/actions/array-diff-del.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"array-diff-del.d.mts","names":[],"sources":["../../src/actions/array-diff-del.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA;6CAM7B,MAAA;6CAAA,MAAA;AAAA"}
|
|
@@ -26,7 +26,7 @@ const procfuArrayDiffDel = action("PROCFU_ARRAY_DIFF_DEL", {
|
|
|
26
26
|
z.number(),
|
|
27
27
|
z.boolean(),
|
|
28
28
|
z.record(z.string(), z.unknown())
|
|
29
|
-
])).describe("Elements present in the first array that were removed in the second") })
|
|
29
|
+
])).describe("Elements present in the first array that were removed in the second") }).passthrough()
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { procfuArrayDiffDel };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-diff-del.mjs","names":[],"sources":["../../src/actions/array-diff-del.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArrayDiffDelInput
|
|
1
|
+
{"version":3,"file":"array-diff-del.mjs","names":[],"sources":["../../src/actions/array-diff-del.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArrayDiffDelInput = z.object({\n json_array_a: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"First JSON array to compare against the second array\"),\n json_array_b: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"Second JSON array to compare against the first array\"),\n});\nexport const ProcfuArrayDiffDelOutput = z.object({\n removed_items: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"Elements present in the first array that were removed in the second\"),\n}).passthrough();\n\nexport const procfuArrayDiffDel = action(\"PROCFU_ARRAY_DIFF_DEL\", {\n slug: \"procfu-array-diff-del\",\n name: \"Array Difference Deletions\",\n description: \"Tool to return items removed when comparing two JSON arrays. Use when you have two arrays and need to know which elements were deleted.\",\n input: ProcfuArrayDiffDelInput,\n output: ProcfuArrayDiffDelOutput,\n});\n"],"mappings":";;AAYA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqC,EAAE,OAAO;EAC9C,cAAc,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;EAC1L,cAAc,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;CAC5L,CASS;CACP,QATsC,EAAE,OAAO,EAC/C,eAAe,EAAE,MAAM,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,EAC5M,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ const ProcfuArrayDiffNewOutput = zod.z.object({ items: zod.z.array(zod.z.union([
|
|
|
23
23
|
zod.z.number(),
|
|
24
24
|
zod.z.boolean(),
|
|
25
25
|
zod.z.record(zod.z.string(), zod.z.unknown())
|
|
26
|
-
])).describe("List of items present in the second array but not in the first.") }).describe("Response model for ARRAY_DIFF_NEW.");
|
|
26
|
+
])).describe("List of items present in the second array but not in the first.") }).passthrough().describe("Response model for ARRAY_DIFF_NEW.");
|
|
27
27
|
const procfuArrayDiffNew = require_action.action("PROCFU_ARRAY_DIFF_NEW", {
|
|
28
28
|
slug: "procfu-array-diff-new",
|
|
29
29
|
name: "Array Diff New",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-diff-new.cjs","names":["z","action"],"sources":["../../src/actions/array-diff-new.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArrayDiffNewInput
|
|
1
|
+
{"version":3,"file":"array-diff-new.cjs","names":["z","action"],"sources":["../../src/actions/array-diff-new.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArrayDiffNewInput = z.object({\n json_array_a: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"First JSON array to compare against the second.\"),\n json_array_b: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"Second JSON array. Items present here but not in the first will be returned.\"),\n}).describe(\"Request model for ARRAY_DIFF_NEW.\");\nexport const ProcfuArrayDiffNewOutput = z.object({\n items: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"List of items present in the second array but not in the first.\"),\n}).passthrough().describe(\"Response model for ARRAY_DIFF_NEW.\");\n\nexport const procfuArrayDiffNew = action(\"PROCFU_ARRAY_DIFF_NEW\", {\n slug: \"procfu-array-diff-new\",\n name: \"Array Diff New\",\n description: \"Tool to return items added in the second JSON array. Use when you need to identify new elements between two list versions. Example: Compare [1,3,4] vs [1,3,6] to get [6].\",\n input: ProcfuArrayDiffNewInput,\n output: ProcfuArrayDiffNewOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACrL,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACpN,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;CAAGA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,QAAQ;CAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;AAAC,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,EAChM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/array-diff-new.d.ts
|
|
4
|
-
declare const ProcfuArrayDiffNewInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProcfuArrayDiffNewInput: z.ZodObject<{
|
|
5
|
+
json_array_a: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
6
|
+
json_array_b: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ProcfuArrayDiffNewOutput: z.ZodObject<{
|
|
9
|
+
items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const procfuArrayDiffNew: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
json_array_a: (string | number | boolean | Record<string, unknown>)[];
|
|
13
|
+
json_array_b: (string | number | boolean | Record<string, unknown>)[];
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { procfuArrayDiffNew };
|
|
9
17
|
//# sourceMappingURL=array-diff-new.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-diff-new.d.cts","names":[],"sources":["../../src/actions/array-diff-new.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"array-diff-new.d.cts","names":[],"sources":["../../src/actions/array-diff-new.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA;6CAM7B,MAAA;6CAAA,MAAA;AAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/array-diff-new.d.ts
|
|
4
|
-
declare const ProcfuArrayDiffNewInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProcfuArrayDiffNewInput: z.ZodObject<{
|
|
5
|
+
json_array_a: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
6
|
+
json_array_b: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ProcfuArrayDiffNewOutput: z.ZodObject<{
|
|
9
|
+
items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const procfuArrayDiffNew: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
json_array_a: (string | number | boolean | Record<string, unknown>)[];
|
|
13
|
+
json_array_b: (string | number | boolean | Record<string, unknown>)[];
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { procfuArrayDiffNew };
|
|
9
17
|
//# sourceMappingURL=array-diff-new.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-diff-new.d.mts","names":[],"sources":["../../src/actions/array-diff-new.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"array-diff-new.d.mts","names":[],"sources":["../../src/actions/array-diff-new.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA;6CAM7B,MAAA;6CAAA,MAAA;AAAA"}
|
|
@@ -26,7 +26,7 @@ const procfuArrayDiffNew = action("PROCFU_ARRAY_DIFF_NEW", {
|
|
|
26
26
|
z.number(),
|
|
27
27
|
z.boolean(),
|
|
28
28
|
z.record(z.string(), z.unknown())
|
|
29
|
-
])).describe("List of items present in the second array but not in the first.") }).describe("Response model for ARRAY_DIFF_NEW.")
|
|
29
|
+
])).describe("List of items present in the second array but not in the first.") }).passthrough().describe("Response model for ARRAY_DIFF_NEW.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { procfuArrayDiffNew };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-diff-new.mjs","names":[],"sources":["../../src/actions/array-diff-new.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArrayDiffNewInput
|
|
1
|
+
{"version":3,"file":"array-diff-new.mjs","names":[],"sources":["../../src/actions/array-diff-new.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArrayDiffNewInput = z.object({\n json_array_a: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"First JSON array to compare against the second.\"),\n json_array_b: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"Second JSON array. Items present here but not in the first will be returned.\"),\n}).describe(\"Request model for ARRAY_DIFF_NEW.\");\nexport const ProcfuArrayDiffNewOutput = z.object({\n items: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"List of items present in the second array but not in the first.\"),\n}).passthrough().describe(\"Response model for ARRAY_DIFF_NEW.\");\n\nexport const procfuArrayDiffNew = action(\"PROCFU_ARRAY_DIFF_NEW\", {\n slug: \"procfu-array-diff-new\",\n name: \"Array Diff New\",\n description: \"Tool to return items added in the second JSON array. Use when you need to identify new elements between two list versions. Example: Compare [1,3,4] vs [1,3,6] to get [6].\",\n input: ProcfuArrayDiffNewInput,\n output: ProcfuArrayDiffNewOutput,\n});\n"],"mappings":";;AAYA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqC,EAAE,OAAO;EAC9C,cAAc,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;EACrL,cAAc,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;CACpN,CAAC,CAAC,CAAC,SAAS,mCASH;CACP,QATsC,EAAE,OAAO,EAC/C,OAAO,EAAE,MAAM,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,EAChM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ const ProcfuArrayDiffSameOutput = zod.z.object({ items: zod.z.array(zod.z.union(
|
|
|
23
23
|
zod.z.number(),
|
|
24
24
|
zod.z.boolean(),
|
|
25
25
|
zod.z.record(zod.z.string(), zod.z.unknown())
|
|
26
|
-
])).describe("Items present in both arrays") }).describe("Intersection of both input arrays.");
|
|
26
|
+
])).describe("Items present in both arrays") }).passthrough().describe("Intersection of both input arrays.");
|
|
27
27
|
const procfuArrayDiffSame = require_action.action("PROCFU_ARRAY_DIFF_SAME", {
|
|
28
28
|
slug: "procfu-array-diff-same",
|
|
29
29
|
name: "Array Diff Same",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-diff-same.cjs","names":["z","action"],"sources":["../../src/actions/array-diff-same.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArrayDiffSameInput
|
|
1
|
+
{"version":3,"file":"array-diff-same.cjs","names":["z","action"],"sources":["../../src/actions/array-diff-same.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArrayDiffSameInput = z.object({\n json_array_a: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"First JSON array\"),\n json_array_b: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"Second JSON array\"),\n}).describe(\"Request parameters for ARRAY_DIFF_SAME action.\");\nexport const ProcfuArrayDiffSameOutput = z.object({\n items: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"Items present in both arrays\"),\n}).passthrough().describe(\"Intersection of both input arrays.\");\n\nexport const procfuArrayDiffSame = action(\"PROCFU_ARRAY_DIFF_SAME\", {\n slug: \"procfu-array-diff-same\",\n name: \"Array Diff Same\",\n description: \"Tool to get items present in both JSON arrays. Computes the intersection locally to avoid external API dependency. Rules: - Two items are considered equal if their JSON representations match (with sorted keys for objects). - The result contains unique items present in both arrays, preserving the order they appear in json_array_b.\",\n input: ProcfuArrayDiffSameInput,\n output: ProcfuArrayDiffSameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kBAAkB;CACtJ,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,mBAAmB;AACzJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;CAAGA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,QAAQ;CAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;AAAC,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B,EAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/array-diff-same.d.ts
|
|
4
|
-
declare const ProcfuArrayDiffSameInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProcfuArrayDiffSameInput: z.ZodObject<{
|
|
5
|
+
json_array_a: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
6
|
+
json_array_b: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ProcfuArrayDiffSameOutput: z.ZodObject<{
|
|
9
|
+
items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const procfuArrayDiffSame: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
json_array_a: (string | number | boolean | Record<string, unknown>)[];
|
|
13
|
+
json_array_b: (string | number | boolean | Record<string, unknown>)[];
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { procfuArrayDiffSame };
|
|
9
17
|
//# sourceMappingURL=array-diff-same.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-diff-same.d.cts","names":[],"sources":["../../src/actions/array-diff-same.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"array-diff-same.d.cts","names":[],"sources":["../../src/actions/array-diff-same.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,gCAAmB,wBAAA;6CAM9B,MAAA;6CAAA,MAAA;AAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/array-diff-same.d.ts
|
|
4
|
-
declare const ProcfuArrayDiffSameInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProcfuArrayDiffSameInput: z.ZodObject<{
|
|
5
|
+
json_array_a: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
6
|
+
json_array_b: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ProcfuArrayDiffSameOutput: z.ZodObject<{
|
|
9
|
+
items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const procfuArrayDiffSame: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
json_array_a: (string | number | boolean | Record<string, unknown>)[];
|
|
13
|
+
json_array_b: (string | number | boolean | Record<string, unknown>)[];
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { procfuArrayDiffSame };
|
|
9
17
|
//# sourceMappingURL=array-diff-same.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-diff-same.d.mts","names":[],"sources":["../../src/actions/array-diff-same.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"array-diff-same.d.mts","names":[],"sources":["../../src/actions/array-diff-same.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,gCAAmB,wBAAA;6CAM9B,MAAA;6CAAA,MAAA;AAAA"}
|
|
@@ -26,7 +26,7 @@ const procfuArrayDiffSame = action("PROCFU_ARRAY_DIFF_SAME", {
|
|
|
26
26
|
z.number(),
|
|
27
27
|
z.boolean(),
|
|
28
28
|
z.record(z.string(), z.unknown())
|
|
29
|
-
])).describe("Items present in both arrays") }).describe("Intersection of both input arrays.")
|
|
29
|
+
])).describe("Items present in both arrays") }).passthrough().describe("Intersection of both input arrays.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { procfuArrayDiffSame };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-diff-same.mjs","names":[],"sources":["../../src/actions/array-diff-same.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArrayDiffSameInput
|
|
1
|
+
{"version":3,"file":"array-diff-same.mjs","names":[],"sources":["../../src/actions/array-diff-same.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArrayDiffSameInput = z.object({\n json_array_a: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"First JSON array\"),\n json_array_b: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"Second JSON array\"),\n}).describe(\"Request parameters for ARRAY_DIFF_SAME action.\");\nexport const ProcfuArrayDiffSameOutput = z.object({\n items: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"Items present in both arrays\"),\n}).passthrough().describe(\"Intersection of both input arrays.\");\n\nexport const procfuArrayDiffSame = action(\"PROCFU_ARRAY_DIFF_SAME\", {\n slug: \"procfu-array-diff-same\",\n name: \"Array Diff Same\",\n description: \"Tool to get items present in both JSON arrays. Computes the intersection locally to avoid external API dependency. Rules: - Two items are considered equal if their JSON representations match (with sorted keys for objects). - The result contains unique items present in both arrays, preserving the order they appear in json_array_b.\",\n input: ProcfuArrayDiffSameInput,\n output: ProcfuArrayDiffSameOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsC,EAAE,OAAO;EAC/C,cAAc,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kBAAkB;EACtJ,cAAc,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,CAAC,SAAS,mBAAmB;CACzJ,CAAC,CAAC,CAAC,SAAS,gDASH;CACP,QATuC,EAAE,OAAO,EAChD,OAAO,EAAE,MAAM,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B,EAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-sort.cjs","names":["z","action"],"sources":["../../src/actions/array-sort.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArraySortInput
|
|
1
|
+
{"version":3,"file":"array-sort.cjs","names":["z","action"],"sources":["../../src/actions/array-sort.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArraySortInput = z.object({\n reverse: z.boolean().default(false).describe(\"True for descending order; defaults to ascending order.\").optional(),\n json_array: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"JSON array to sort (e.g., [3, 1, 2]).\"),\n}).describe(\"Request parameters for ARRAY_SORT action.\");\nexport const ProcfuArraySortOutput = z.unknown();\n\nexport const procfuArraySort = action(\"PROCFU_ARRAY_SORT\", {\n slug: \"procfu-array-sort\",\n name: \"Array Sort\",\n description: \"Tool to sort a JSON array of values. Use when you need to order elements ascending or descending.\",\n input: ProcfuArraySortInput,\n output: ProcfuArraySortOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAC3K,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,wBAAwBA,IAAAA,EAAE,QAAQ;AAE/C,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/array-sort.d.ts
|
|
4
|
-
declare const ProcfuArraySortInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProcfuArraySortInput: z.ZodObject<{
|
|
5
|
+
reverse: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
6
|
+
json_array: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ProcfuArraySortOutput: z.ZodUnknown;
|
|
9
|
+
declare const procfuArraySort: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
json_array: (string | number | boolean | Record<string, unknown>)[];
|
|
11
|
+
reverse?: boolean | undefined;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { procfuArraySort };
|
|
9
15
|
//# sourceMappingURL=array-sort.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-sort.d.cts","names":[],"sources":["../../src/actions/array-sort.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"array-sort.d.cts","names":[],"sources":["../../src/actions/array-sort.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,UAAc;AAAA,cAEnC,eAAA,gCAAe,wBAAA;2CAM1B,MAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/array-sort.d.ts
|
|
4
|
-
declare const ProcfuArraySortInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProcfuArraySortInput: z.ZodObject<{
|
|
5
|
+
reverse: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
6
|
+
json_array: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ProcfuArraySortOutput: z.ZodUnknown;
|
|
9
|
+
declare const procfuArraySort: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
json_array: (string | number | boolean | Record<string, unknown>)[];
|
|
11
|
+
reverse?: boolean | undefined;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { procfuArraySort };
|
|
9
15
|
//# sourceMappingURL=array-sort.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-sort.d.mts","names":[],"sources":["../../src/actions/array-sort.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"array-sort.d.mts","names":[],"sources":["../../src/actions/array-sort.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,UAAc;AAAA,cAEnC,eAAA,gCAAe,wBAAA;2CAM1B,MAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array-sort.mjs","names":[],"sources":["../../src/actions/array-sort.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArraySortInput
|
|
1
|
+
{"version":3,"file":"array-sort.mjs","names":[],"sources":["../../src/actions/array-sort.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuArraySortInput = z.object({\n reverse: z.boolean().default(false).describe(\"True for descending order; defaults to ascending order.\").optional(),\n json_array: z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())])).describe(\"JSON array to sort (e.g., [3, 1, 2]).\"),\n}).describe(\"Request parameters for ARRAY_SORT action.\");\nexport const ProcfuArraySortOutput = z.unknown();\n\nexport const procfuArraySort = action(\"PROCFU_ARRAY_SORT\", {\n slug: \"procfu-array-sort\",\n name: \"Array Sort\",\n description: \"Tool to sort a JSON array of values. Use when you need to order elements ascending or descending.\",\n input: ProcfuArraySortInput,\n output: ProcfuArraySortOutput,\n});\n"],"mappings":";;AAUA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVkC,EAAE,OAAO;EAC3C,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC3K,CAAC,CAAC,CAAC,SAAS,2CAOH;CACP,QAPmC,EAAE,QAO7B;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const ProcfuCopyPodioFilesToFtpInput = zod.z.object({
|
|
|
7
7
|
directory: zod.z.string().describe("Target directory path on the FTP server where files should be copied (e.g., '/uploads', '/documents/invoices')."),
|
|
8
8
|
podio_item_id: zod.z.number().int().describe("The ID of the Podio item containing the files to copy.")
|
|
9
9
|
}).describe("Request parameters for PROCFU_PODIO_FILES_TO_FTP action.");
|
|
10
|
-
const ProcfuCopyPodioFilesToFtpOutput = zod.z.object({ files_copied: zod.z.array(zod.z.string()).describe("List of file names that were successfully copied to the FTP server.") }).describe("Response from PROCFU_PODIO_FILES_TO_FTP action.");
|
|
10
|
+
const ProcfuCopyPodioFilesToFtpOutput = zod.z.object({ files_copied: zod.z.array(zod.z.string()).describe("List of file names that were successfully copied to the FTP server.") }).passthrough().describe("Response from PROCFU_PODIO_FILES_TO_FTP action.");
|
|
11
11
|
const procfuCopyPodioFilesToFtp = require_action.action("PROCFU_COPY_PODIO_FILES_TO_FTP", {
|
|
12
12
|
slug: "procfu-copy-podio-files-to-ftp",
|
|
13
13
|
name: "Copy Podio files to FTP",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-podio-files-to-ftp.cjs","names":["z","action"],"sources":["../../src/actions/copy-podio-files-to-ftp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuCopyPodioFilesToFtpInput
|
|
1
|
+
{"version":3,"file":"copy-podio-files-to-ftp.cjs","names":["z","action"],"sources":["../../src/actions/copy-podio-files-to-ftp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuCopyPodioFilesToFtpInput = z.object({\n pattern: z.string().describe(\"File pattern to match (e.g., '*.pdf' for all PDF files, '*.png' for PNG images). Use wildcards to specify which files to copy.\"),\n conn_name: z.string().describe(\"Name of the (S)FTP connection configured in ProcFu to use for the file transfer.\"),\n directory: z.string().describe(\"Target directory path on the FTP server where files should be copied (e.g., '/uploads', '/documents/invoices').\"),\n podio_item_id: z.number().int().describe(\"The ID of the Podio item containing the files to copy.\"),\n}).describe(\"Request parameters for PROCFU_PODIO_FILES_TO_FTP action.\");\nexport const ProcfuCopyPodioFilesToFtpOutput = z.object({\n files_copied: z.array(z.string()).describe(\"List of file names that were successfully copied to the FTP server.\"),\n}).passthrough().describe(\"Response from PROCFU_PODIO_FILES_TO_FTP action.\");\n\nexport const procfuCopyPodioFilesToFtp = action(\"PROCFU_COPY_PODIO_FILES_TO_FTP\", {\n slug: \"procfu-copy-podio-files-to-ftp\",\n name: \"Copy Podio files to FTP\",\n description: \"Tool to copy files matching a pattern from a Podio item to an FTP server. Use when you need to transfer specific files from Podio to an external FTP/SFTP location based on file name patterns.\",\n input: ProcfuCopyPodioFilesToFtpInput,\n output: ProcfuCopyPodioFilesToFtpOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;CAC7J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CAChJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;AACnG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/copy-podio-files-to-ftp.d.ts
|
|
4
|
-
declare const ProcfuCopyPodioFilesToFtpInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProcfuCopyPodioFilesToFtpInput: z.ZodObject<{
|
|
5
|
+
pattern: z.ZodString;
|
|
6
|
+
conn_name: z.ZodString;
|
|
7
|
+
directory: z.ZodString;
|
|
8
|
+
podio_item_id: z.ZodNumber;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const ProcfuCopyPodioFilesToFtpOutput: z.ZodObject<{
|
|
11
|
+
files_copied: z.ZodArray<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const procfuCopyPodioFilesToFtp: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
pattern: string;
|
|
15
|
+
conn_name: string;
|
|
16
|
+
directory: string;
|
|
17
|
+
podio_item_id: number;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { procfuCopyPodioFilesToFtp };
|
|
9
21
|
//# sourceMappingURL=copy-podio-files-to-ftp.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-podio-files-to-ftp.d.cts","names":[],"sources":["../../src/actions/copy-podio-files-to-ftp.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"copy-podio-files-to-ftp.d.cts","names":[],"sources":["../../src/actions/copy-podio-files-to-ftp.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/copy-podio-files-to-ftp.d.ts
|
|
4
|
-
declare const ProcfuCopyPodioFilesToFtpInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ProcfuCopyPodioFilesToFtpInput: z.ZodObject<{
|
|
5
|
+
pattern: z.ZodString;
|
|
6
|
+
conn_name: z.ZodString;
|
|
7
|
+
directory: z.ZodString;
|
|
8
|
+
podio_item_id: z.ZodNumber;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const ProcfuCopyPodioFilesToFtpOutput: z.ZodObject<{
|
|
11
|
+
files_copied: z.ZodArray<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const procfuCopyPodioFilesToFtp: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
pattern: string;
|
|
15
|
+
conn_name: string;
|
|
16
|
+
directory: string;
|
|
17
|
+
podio_item_id: number;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { procfuCopyPodioFilesToFtp };
|
|
9
21
|
//# sourceMappingURL=copy-podio-files-to-ftp.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-podio-files-to-ftp.d.mts","names":[],"sources":["../../src/actions/copy-podio-files-to-ftp.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"copy-podio-files-to-ftp.d.mts","names":[],"sources":["../../src/actions/copy-podio-files-to-ftp.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -10,7 +10,7 @@ const procfuCopyPodioFilesToFtp = action("PROCFU_COPY_PODIO_FILES_TO_FTP", {
|
|
|
10
10
|
directory: z.string().describe("Target directory path on the FTP server where files should be copied (e.g., '/uploads', '/documents/invoices')."),
|
|
11
11
|
podio_item_id: z.number().int().describe("The ID of the Podio item containing the files to copy.")
|
|
12
12
|
}).describe("Request parameters for PROCFU_PODIO_FILES_TO_FTP action."),
|
|
13
|
-
output: z.object({ files_copied: z.array(z.string()).describe("List of file names that were successfully copied to the FTP server.") }).describe("Response from PROCFU_PODIO_FILES_TO_FTP action.")
|
|
13
|
+
output: z.object({ files_copied: z.array(z.string()).describe("List of file names that were successfully copied to the FTP server.") }).passthrough().describe("Response from PROCFU_PODIO_FILES_TO_FTP action.")
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { procfuCopyPodioFilesToFtp };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-podio-files-to-ftp.mjs","names":[],"sources":["../../src/actions/copy-podio-files-to-ftp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuCopyPodioFilesToFtpInput
|
|
1
|
+
{"version":3,"file":"copy-podio-files-to-ftp.mjs","names":[],"sources":["../../src/actions/copy-podio-files-to-ftp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuCopyPodioFilesToFtpInput = z.object({\n pattern: z.string().describe(\"File pattern to match (e.g., '*.pdf' for all PDF files, '*.png' for PNG images). Use wildcards to specify which files to copy.\"),\n conn_name: z.string().describe(\"Name of the (S)FTP connection configured in ProcFu to use for the file transfer.\"),\n directory: z.string().describe(\"Target directory path on the FTP server where files should be copied (e.g., '/uploads', '/documents/invoices').\"),\n podio_item_id: z.number().int().describe(\"The ID of the Podio item containing the files to copy.\"),\n}).describe(\"Request parameters for PROCFU_PODIO_FILES_TO_FTP action.\");\nexport const ProcfuCopyPodioFilesToFtpOutput = z.object({\n files_copied: z.array(z.string()).describe(\"List of file names that were successfully copied to the FTP server.\"),\n}).passthrough().describe(\"Response from PROCFU_PODIO_FILES_TO_FTP action.\");\n\nexport const procfuCopyPodioFilesToFtp = action(\"PROCFU_COPY_PODIO_FILES_TO_FTP\", {\n slug: \"procfu-copy-podio-files-to-ftp\",\n name: \"Copy Podio files to FTP\",\n description: \"Tool to copy files matching a pattern from a Podio item to an FTP server. Use when you need to transfer specific files from Podio to an external FTP/SFTP location based on file name patterns.\",\n input: ProcfuCopyPodioFilesToFtpInput,\n output: ProcfuCopyPodioFilesToFtpOutput,\n});\n"],"mappings":";;AAcA,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;EAC7J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;EAChJ,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CACnG,CAAC,CAAC,CAAC,SAAS,0DASH;CACP,QAT6C,EAAE,OAAO,EACtD,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -54,7 +54,7 @@ const ProcfuDummyDataOutput = zod.z.object({ result: zod.z.union([
|
|
|
54
54
|
zod.z.string(),
|
|
55
55
|
zod.z.number().int(),
|
|
56
56
|
zod.z.number()
|
|
57
|
-
]) }).describe("Response from DUMMY_DATA action.");
|
|
57
|
+
]) }).passthrough().describe("Response from DUMMY_DATA action.");
|
|
58
58
|
const procfuDummyData = require_action.action("PROCFU_DUMMY_DATA", {
|
|
59
59
|
slug: "procfu-dummy-data",
|
|
60
60
|
name: "Generate dummy data",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dummy-data.cjs","names":["z","action"],"sources":["../../src/actions/dummy-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuDummyDataInput
|
|
1
|
+
{"version":3,"file":"dummy-data.cjs","names":["z","action"],"sources":["../../src/actions/dummy-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuDummyDataInput = z.object({\n type: z.enum([\"int\", \"price\", \"decimal2\", \"date\", \"dateTime\", \"word\", \"title\", \"sentence\", \"paragraph\", \"text\", \"loremText\", \"html\", \"loremHtml\", \"name\", \"firstName\", \"lastName\", \"company\", \"jobTitle\", \"catchPhrase\", \"bullShit\", \"phoneNumber\", \"tollFree\", \"address\", \"streetAddress\", \"city\", \"state\", \"zip\", \"country\", \"lat\", \"long\", \"email\", \"username\", \"password\", \"domain\", \"url\", \"ipv4\", \"ipv6\", \"cardNumber\", \"cardExp\", \"iban\", \"swift\", \"image\", \"portrait\", \"landscape\", \"smallImage\", \"avatar\", \"userFace\"]).describe(\"Type of dummy data to generate. Choose one of the supported types for numbers, text, people, addresses, etc.\"),\n}).describe(\"Parameters for DUMMY_DATA action.\");\nexport const ProcfuDummyDataOutput = z.object({\n result: z.union([z.string(), z.number().int(), z.number()]),\n}).passthrough().describe(\"Response from DUMMY_DATA action.\");\n\nexport const procfuDummyData = action(\"PROCFU_DUMMY_DATA\", {\n slug: \"procfu-dummy-data\",\n name: \"Generate dummy data\",\n description: \"Tool to generate dummy data. Use when you need random emails, text, numbers, dates, people, addresses, or images for testing or placeholder data.\",\n input: ProcfuDummyDataInput,\n output: ProcfuDummyDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,KAAK;CAAC;CAAO;CAAS;CAAY;CAAQ;CAAY;CAAQ;CAAS;CAAY;CAAa;CAAQ;CAAa;CAAQ;CAAa;CAAQ;CAAa;CAAY;CAAW;CAAY;CAAe;CAAY;CAAe;CAAY;CAAW;CAAiB;CAAQ;CAAS;CAAO;CAAW;CAAO;CAAQ;CAAS;CAAY;CAAY;CAAU;CAAO;CAAQ;CAAQ;CAAc;CAAW;CAAQ;CAAS;CAAS;CAAY;CAAa;CAAc;CAAU;AAAU,CAAC,CAAC,CAAC,SAAS,8GAA8G,EAC1nB,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,QAAQA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;CAAGA,IAAAA,EAAE,OAAO;AAAC,CAAC,EAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|